diff --git a/dist/client.js b/dist/client.js new file mode 100644 index 0000000..23454c1 --- /dev/null +++ b/dist/client.js @@ -0,0 +1,40737 @@ +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ "./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js": +/*!*********************************************************************!*\ + !*** ./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(arr, len) { + if (len == null || len > arr.length) len = arr.length; + + for (var i = 0, arr2 = new Array(len); i < len; i++) { + arr2[i] = arr[i]; + } + + return arr2; +} + +/***/ }), + +/***/ "./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js": +/*!**********************************************************************!*\ + !*** ./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/@babel/runtime/helpers/esm/arrayLikeToArray.js"); + +function _arrayWithoutHoles(arr) { + if (Array.isArray(arr)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__.default)(arr); +} + +/***/ }), + +/***/ "./node_modules/@babel/runtime/helpers/esm/classCallCheck.js": +/*!*******************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***! + \*******************************************************************/ +/***/ ((__unused_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 */ _classCallCheck) +/* harmony export */ }); +function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } +} + +/***/ }), + +/***/ "./node_modules/@babel/runtime/helpers/esm/createClass.js": +/*!****************************************************************!*\ + !*** ./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 */ }); +function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } +} + +function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; +} + +/***/ }), + +/***/ "./node_modules/@babel/runtime/helpers/esm/defineProperty.js": +/*!*******************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/esm/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": () => (/* binding */ _defineProperty) +/* harmony export */ }); +function _defineProperty(obj, key, value) { + if (key in obj) { + Object.defineProperty(obj, key, { + value: value, + enumerable: true, + configurable: true, + writable: true + }); + } else { + obj[key] = value; + } + + return obj; +} + +/***/ }), + +/***/ "./node_modules/@babel/runtime/helpers/esm/extends.js": +/*!************************************************************!*\ + !*** ./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() { + _extends = Object.assign || function (target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i]; + + for (var key in source) { + if (Object.prototype.hasOwnProperty.call(source, key)) { + target[key] = source[key]; + } + } + } + + return target; + }; + + return _extends.apply(this, arguments); +} + +/***/ }), + +/***/ "./node_modules/@babel/runtime/helpers/esm/inherits.js": +/*!*************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/esm/inherits.js ***! + \*************************************************************/ +/***/ ((__unused_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 */ _inherits) +/* harmony export */ }); +/* harmony import */ var _setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./setPrototypeOf.js */ "./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js"); + +function _inherits(subClass, superClass) { + if (typeof superClass !== "function" && superClass !== null) { + throw new TypeError("Super expression must either be null or a function"); + } + + subClass.prototype = Object.create(superClass && superClass.prototype, { + constructor: { + value: subClass, + writable: true, + configurable: true + } + }); + if (superClass) (0,_setPrototypeOf_js__WEBPACK_IMPORTED_MODULE_0__.default)(subClass, superClass); +} + +/***/ }), + +/***/ "./node_modules/@babel/runtime/helpers/esm/iterableToArray.js": +/*!********************************************************************!*\ + !*** ./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(iter) { + if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); +} + +/***/ }), + +/***/ "./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js": +/*!**********************************************************************!*\ + !*** ./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/@babel/runtime/helpers/esm/objectWithoutProperties.js": +/*!****************************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js ***! + \****************************************************************************/ +/***/ ((__unused_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 */ _objectWithoutProperties) +/* harmony export */ }); +/* harmony import */ var _objectWithoutPropertiesLoose_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./objectWithoutPropertiesLoose.js */ "./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"); + +function _objectWithoutProperties(source, excluded) { + if (source == null) return {}; + var target = (0,_objectWithoutPropertiesLoose_js__WEBPACK_IMPORTED_MODULE_0__.default)(source, excluded); + var key, i; + + if (Object.getOwnPropertySymbols) { + var sourceSymbolKeys = Object.getOwnPropertySymbols(source); + + for (i = 0; i < sourceSymbolKeys.length; i++) { + key = sourceSymbolKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; + target[key] = source[key]; + } + } + + return target; +} + +/***/ }), + +/***/ "./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js": +/*!*********************************************************************************!*\ + !*** ./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(source, excluded) { + if (source == null) return {}; + var target = {}; + var sourceKeys = Object.keys(source); + var key, i; + + for (i = 0; i < sourceKeys.length; i++) { + key = sourceKeys[i]; + if (excluded.indexOf(key) >= 0) continue; + target[key] = source[key]; + } + + return target; +} + +/***/ }), + +/***/ "./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js": +/*!*******************************************************************!*\ + !*** ./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(o, p) { + _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { + o.__proto__ = p; + return o; + }; + + return _setPrototypeOf(o, p); +} + +/***/ }), + +/***/ "./node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js": +/*!**************************************************************************!*\ + !*** ./node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js ***! + \**************************************************************************/ +/***/ ((__unused_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 */ _taggedTemplateLiteral) +/* harmony export */ }); +function _taggedTemplateLiteral(strings, raw) { + if (!raw) { + raw = strings.slice(0); + } + + return Object.freeze(Object.defineProperties(strings, { + raw: { + value: Object.freeze(raw) + } + })); +} + +/***/ }), + +/***/ "./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js": +/*!**********************************************************************!*\ + !*** ./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/@babel/runtime/helpers/esm/arrayWithoutHoles.js"); +/* harmony import */ var _iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./iterableToArray.js */ "./node_modules/@babel/runtime/helpers/esm/iterableToArray.js"); +/* harmony import */ var _unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./unsupportedIterableToArray.js */ "./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js"); +/* harmony import */ var _nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./nonIterableSpread.js */ "./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js"); + + + + +function _toConsumableArray(arr) { + return (0,_arrayWithoutHoles_js__WEBPACK_IMPORTED_MODULE_0__.default)(arr) || (0,_iterableToArray_js__WEBPACK_IMPORTED_MODULE_1__.default)(arr) || (0,_unsupportedIterableToArray_js__WEBPACK_IMPORTED_MODULE_2__.default)(arr) || (0,_nonIterableSpread_js__WEBPACK_IMPORTED_MODULE_3__.default)(); +} + +/***/ }), + +/***/ "./node_modules/@babel/runtime/helpers/esm/typeof.js": +/*!***********************************************************!*\ + !*** ./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(obj) { + "@babel/helpers - typeof"; + + if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { + _typeof = function _typeof(obj) { + return typeof obj; + }; + } else { + _typeof = function _typeof(obj) { + return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; + }; + } + + return _typeof(obj); +} + +/***/ }), + +/***/ "./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js": +/*!*******************************************************************************!*\ + !*** ./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/@babel/runtime/helpers/esm/arrayLikeToArray.js"); + +function _unsupportedIterableToArray(o, minLen) { + if (!o) return; + if (typeof o === "string") return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__.default)(o, minLen); + var n = Object.prototype.toString.call(o).slice(8, -1); + if (n === "Object" && o.constructor) n = o.constructor.name; + if (n === "Map" || n === "Set") return Array.from(o); + if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return (0,_arrayLikeToArray_js__WEBPACK_IMPORTED_MODULE_0__.default)(o, minLen); +} + +/***/ }), + +/***/ "./node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js": +/*!***********************************************************************!*\ + !*** ./node_modules/@emotion/cache/dist/emotion-cache.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 */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _emotion_sheet__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @emotion/sheet */ "./node_modules/@emotion/sheet/dist/emotion-sheet.browser.esm.js"); +/* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! stylis */ "./node_modules/stylis/src/Tokenizer.js"); +/* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! stylis */ "./node_modules/stylis/src/Utility.js"); +/* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! stylis */ "./node_modules/stylis/src/Middleware.js"); +/* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! stylis */ "./node_modules/stylis/src/Serializer.js"); +/* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! stylis */ "./node_modules/stylis/src/Enum.js"); +/* harmony import */ var stylis__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! stylis */ "./node_modules/stylis/src/Parser.js"); +/* harmony import */ var _emotion_weak_memoize__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @emotion/weak-memoize */ "./node_modules/@emotion/weak-memoize/dist/weak-memoize.browser.esm.js"); +/* harmony import */ var _emotion_memoize__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @emotion/memoize */ "./node_modules/@emotion/memoize/dist/emotion-memoize.browser.esm.js"); + + + + + +var last = function last(arr) { + return arr.length ? arr[arr.length - 1] : null; +}; + +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_3__.token)(character)) { + case 0: + // &\f + if (character === 38 && (0,stylis__WEBPACK_IMPORTED_MODULE_3__.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] += (0,stylis__WEBPACK_IMPORTED_MODULE_3__.identifier)(stylis__WEBPACK_IMPORTED_MODULE_3__.position - 1); + break; + + case 2: + parsed[index] += (0,stylis__WEBPACK_IMPORTED_MODULE_3__.delimit)(character); + break; + + case 4: + // comma + if (character === 44) { + // colon + parsed[++index] = (0,stylis__WEBPACK_IMPORTED_MODULE_3__.peek)() === 58 ? '&\f' : ''; + points[index] = parsed[index].length; + break; + } + + // fallthrough + + default: + parsed[index] += (0,stylis__WEBPACK_IMPORTED_MODULE_4__.from)(character); + } + } while (character = (0,stylis__WEBPACK_IMPORTED_MODULE_3__.next)()); + + return parsed; +}; + +var getRules = function getRules(value, points) { + return (0,stylis__WEBPACK_IMPORTED_MODULE_3__.dealloc)(toRules((0,stylis__WEBPACK_IMPORTED_MODULE_3__.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 || // .length indicates if this rule contains pseudo or not + !element.length) { + return; + } + + var value = element.value, + 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 && element.type === 'comm' && element.children.indexOf(ignoreFlag) > -1; +}; + +var createUnsafeSelectorsAlarm = function createUnsafeSelectorsAlarm(cache) { + return function (element, index, children) { + if (element.type !== 'rule') return; + var unsafePseudoClasses = element.value.match(/(:first|:nth|:nth-last)-child/g); + + if (unsafePseudoClasses && cache.compat !== true) { + var prevElement = index > 0 ? children[index - 1] : null; + + if (prevElement && isIgnoringComment(last(prevElement.children))) { + return; + } + + 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); + } +}; + +var defaultStylisPlugins = [stylis__WEBPACK_IMPORTED_MODULE_5__.prefixer]; + +var createCache = function createCache(options) { + var key = options.key; + + if ( true && !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 (true) { + // $FlowFixMe + if (/[^a-z-]/.test(key)) { + throw new Error("Emotion key must only contain lower case alphabetical characters and - but \"" + key + "\" was passed"); + } + } + + var inserted = {}; // $FlowFixMe + + 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(' '); // $FlowFixMe + + for (var i = 1; i < attrib.length; i++) { + inserted[attrib[i]] = true; + } + + nodesToHydrate.push(node); + }); + } + + var _insert; + + var omnipresentPlugins = [compat, removeLabel]; + + if (true) { + omnipresentPlugins.push(createUnsafeSelectorsAlarm({ + get compat() { + return cache.compat; + } + + }), incorrectImportAlarm); + } + + { + var currentSheet; + var finalizingPlugins = [stylis__WEBPACK_IMPORTED_MODULE_6__.stringify, true ? function (element) { + if (!element.root) { + if (element["return"]) { + currentSheet.insert(element["return"]); + } else if (element.value && element.type !== stylis__WEBPACK_IMPORTED_MODULE_7__.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 + "{}"); + } + } + } : 0]; + var serializer = (0,stylis__WEBPACK_IMPORTED_MODULE_5__.middleware)(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins)); + + var stylis = function stylis(styles) { + return (0,stylis__WEBPACK_IMPORTED_MODULE_6__.serialize)((0,stylis__WEBPACK_IMPORTED_MODULE_8__.compile)(styles), serializer); + }; + + _insert = function insert(selector, serialized, sheet, shouldCache) { + currentSheet = sheet; + + if ( true && serialized.map !== undefined) { + currentSheet = { + insert: function insert(rule) { + sheet.insert(rule + serialized.map); + } + }; + } + + 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 + }), + nonce: options.nonce, + inserted: inserted, + registered: {}, + insert: _insert + }; + cache.sheet.hydrate(nodesToHydrate); + return cache; +}; + +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (createCache); + + +/***/ }), + +/***/ "./node_modules/@emotion/hash/dist/hash.browser.esm.js": +/*!*************************************************************!*\ + !*** ./node_modules/@emotion/hash/dist/hash.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 */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* 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); +} + +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (murmur2); + + +/***/ }), + +/***/ "./node_modules/@emotion/memoize/dist/emotion-memoize.browser.esm.js": +/*!***************************************************************************!*\ + !*** ./node_modules/@emotion/memoize/dist/emotion-memoize.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 */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +function memoize(fn) { + var cache = Object.create(null); + return function (arg) { + if (cache[arg] === undefined) cache[arg] = fn(arg); + return cache[arg]; + }; +} + +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (memoize); + + +/***/ }), + +/***/ "./node_modules/@emotion/react/dist/emotion-element-a8309070.browser.esm.js": +/*!**********************************************************************************!*\ + !*** ./node_modules/@emotion/react/dist/emotion-element-a8309070.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 */ "C": () => (/* binding */ CacheProvider), +/* harmony export */ "E": () => (/* binding */ Emotion), +/* harmony export */ "T": () => (/* binding */ ThemeContext), +/* harmony export */ "a": () => (/* binding */ ThemeProvider), +/* harmony export */ "b": () => (/* binding */ withTheme), +/* harmony export */ "c": () => (/* binding */ createEmotionProps), +/* harmony export */ "h": () => (/* binding */ hasOwnProperty), +/* 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/camunda-modeler-plugin-helpers/react.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/@emotion/cache/dist/emotion-cache.browser.esm.js"); +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "./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/@emotion/weak-memoize/dist/weak-memoize.browser.esm.js"); +/* harmony import */ var _isolated_hoist_non_react_statics_do_not_use_this_in_your_code_dist_emotion_react_isolated_hoist_non_react_statics_do_not_use_this_in_your_code_browser_esm_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../isolated-hoist-non-react-statics-do-not-use-this-in-your-code/dist/emotion-react-isolated-hoist-non-react-statics-do-not-use-this-in-your-code.browser.esm.js */ "./node_modules/@emotion/react/isolated-hoist-non-react-statics-do-not-use-this-in-your-code/dist/emotion-react-isolated-hoist-non-react-statics-do-not-use-this-in-your-code.browser.esm.js"); +/* harmony import */ var _emotion_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @emotion/utils */ "./node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js"); +/* harmony import */ var _emotion_serialize__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @emotion/serialize */ "./node_modules/@emotion/serialize/dist/emotion-serialize.browser.esm.js"); + + + + + + + + +var hasOwnProperty = Object.prototype.hasOwnProperty; + +var EmotionCacheContext = /* #__PURE__ */(0,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); +var CacheProvider = EmotionCacheContext.Provider; + +var withEmotionCache = function withEmotionCache(func) { + // $FlowFixMe + 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__ */(0,react__WEBPACK_IMPORTED_MODULE_0__.createContext)({}); +var useTheme = function useTheme() { + return (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(ThemeContext); +}; + +var getTheme = function getTheme(outerTheme, theme) { + if (typeof theme === 'function') { + var mergedTheme = theme(outerTheme); + + if ( true && (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 ( true && (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 = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(ThemeContext); + + if (props.theme !== theme) { + theme = createCacheWithTheme(theme)(props.theme); + } + + return /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(ThemeContext.Provider, { + value: theme + }, props.children); +}; +function withTheme(Component) { + var componentName = Component.displayName || Component.name || 'Component'; + + var render = function render(props, ref) { + var theme = (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(ThemeContext); + return /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(Component, (0,_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_2__.default)({ + theme: theme, + ref: ref + }, props)); + }; // $FlowFixMe + + + var WithTheme = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(render); + WithTheme.displayName = "WithTheme(" + componentName + ")"; + return (0,_isolated_hoist_non_react_statics_do_not_use_this_in_your_code_dist_emotion_react_isolated_hoist_non_react_statics_do_not_use_this_in_your_code_browser_esm_js__WEBPACK_IMPORTED_MODULE_6__.default)(WithTheme, Component); +} + +// 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 typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__'; +var labelPropName = '__EMOTION_LABEL_PLEASE_DO_NOT_USE__'; +var createEmotionProps = function createEmotionProps(type, props) { + if ( true && 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 (hasOwnProperty.call(props, key)) { + newProps[key] = props[key]; + } + } + + newProps[typePropName] = type; + + if (true) { + var error = new Error(); + + if (error.stack) { + // chrome + var match = error.stack.match(/at (?:Object\.|Module\.|)(?:jsx|createEmotionProps).*\n\s+at (?:Object\.|)([A-Z][A-Za-z0-9$]+) /); + + if (!match) { + // safari and firefox + match = error.stack.match(/.*\n([A-Z][A-Za-z0-9$]+)@/); + } + + if (match) { + newProps[labelPropName] = sanitizeIdentifier(match[1]); + } + } + } + + return newProps; +}; +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 type = props[typePropName]; + var registeredStyles = [cssProp]; + var className = ''; + + if (typeof props.className === 'string') { + className = (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_4__.getRegisteredStyles)(cache.registered, registeredStyles, props.className); + } else if (props.className != null) { + className = props.className + " "; + } + + var serialized = (0,_emotion_serialize__WEBPACK_IMPORTED_MODULE_5__.serializeStyles)(registeredStyles, undefined, typeof cssProp === 'function' || Array.isArray(cssProp) ? (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(ThemeContext) : undefined); + + if ( true && serialized.name.indexOf('-') === -1) { + var labelFromStack = props[labelPropName]; + + if (labelFromStack) { + serialized = (0,_emotion_serialize__WEBPACK_IMPORTED_MODULE_5__.serializeStyles)([serialized, 'label:' + labelFromStack + ';']); + } + } + + var rules = (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_4__.insertStyles)(cache, serialized, typeof type === 'string'); + className += cache.key + "-" + serialized.name; + var newProps = {}; + + for (var key in props) { + if (hasOwnProperty.call(props, key) && key !== 'css' && key !== typePropName && ( false || key !== labelPropName)) { + newProps[key] = props[key]; + } + } + + newProps.ref = ref; + newProps.className = className; + var ele = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_0__.createElement)(type, newProps); + + return ele; +}); + +if (true) { + Emotion.displayName = 'EmotionCssPropInternal'; +} + + + + +/***/ }), + +/***/ "./node_modules/@emotion/react/dist/emotion-react.browser.esm.js": +/*!***********************************************************************!*\ + !*** ./node_modules/@emotion/react/dist/emotion-react.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 */ "CacheProvider": () => (/* reexport safe */ _emotion_element_a8309070_browser_esm_js__WEBPACK_IMPORTED_MODULE_2__.C), +/* harmony export */ "ThemeContext": () => (/* reexport safe */ _emotion_element_a8309070_browser_esm_js__WEBPACK_IMPORTED_MODULE_2__.T), +/* harmony export */ "ThemeProvider": () => (/* reexport safe */ _emotion_element_a8309070_browser_esm_js__WEBPACK_IMPORTED_MODULE_2__.a), +/* harmony export */ "useTheme": () => (/* reexport safe */ _emotion_element_a8309070_browser_esm_js__WEBPACK_IMPORTED_MODULE_2__.u), +/* harmony export */ "withEmotionCache": () => (/* reexport safe */ _emotion_element_a8309070_browser_esm_js__WEBPACK_IMPORTED_MODULE_2__.w), +/* harmony export */ "withTheme": () => (/* reexport safe */ _emotion_element_a8309070_browser_esm_js__WEBPACK_IMPORTED_MODULE_2__.b), +/* harmony export */ "ClassNames": () => (/* binding */ ClassNames), +/* harmony export */ "Global": () => (/* binding */ Global), +/* harmony export */ "createElement": () => (/* binding */ jsx), +/* harmony export */ "css": () => (/* binding */ css), +/* harmony export */ "jsx": () => (/* binding */ jsx), +/* harmony export */ "keyframes": () => (/* binding */ keyframes) +/* harmony export */ }); +/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ "./node_modules/camunda-modeler-plugin-helpers/react.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/@emotion/cache/dist/emotion-cache.browser.esm.js"); +/* harmony import */ var _emotion_element_a8309070_browser_esm_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./emotion-element-a8309070.browser.esm.js */ "./node_modules/@emotion/react/dist/emotion-element-a8309070.browser.esm.js"); +/* harmony import */ var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @babel/runtime/helpers/extends */ "./node_modules/@babel/runtime/helpers/esm/extends.js"); +/* harmony import */ var _emotion_weak_memoize__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @emotion/weak-memoize */ "./node_modules/@emotion/weak-memoize/dist/weak-memoize.browser.esm.js"); +/* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! hoist-non-react-statics */ "./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"); +/* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_5__); +/* harmony import */ var _emotion_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @emotion/utils */ "./node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js"); +/* harmony import */ var _emotion_serialize__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @emotion/serialize */ "./node_modules/@emotion/serialize/dist/emotion-serialize.browser.esm.js"); +/* harmony import */ var _emotion_sheet__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @emotion/sheet */ "./node_modules/@emotion/sheet/dist/emotion-sheet.browser.esm.js"); + + + + + + + + + + + + +var pkg = { + name: "@emotion/react", + version: "11.4.0", + main: "dist/emotion-react.cjs.js", + module: "dist/emotion-react.esm.js", + browser: { + "./dist/emotion-react.cjs.js": "./dist/emotion-react.browser.cjs.js", + "./dist/emotion-react.esm.js": "./dist/emotion-react.browser.esm.js" + }, + types: "types/index.d.ts", + files: [ + "src", + "dist", + "jsx-runtime", + "jsx-dev-runtime", + "isolated-hoist-non-react-statics-do-not-use-this-in-your-code", + "types/*.d.ts", + "macro.js", + "macro.d.ts", + "macro.js.flow" + ], + sideEffects: false, + author: "mitchellhamilton ", + license: "MIT", + scripts: { + "test:typescript": "dtslint types" + }, + dependencies: { + "@babel/runtime": "^7.13.10", + "@emotion/cache": "^11.4.0", + "@emotion/serialize": "^1.0.2", + "@emotion/sheet": "^1.0.1", + "@emotion/utils": "^1.0.0", + "@emotion/weak-memoize": "^0.2.5", + "hoist-non-react-statics": "^3.3.1" + }, + peerDependencies: { + "@babel/core": "^7.0.0", + react: ">=16.8.0" + }, + peerDependenciesMeta: { + "@babel/core": { + optional: true + }, + "@types/react": { + optional: true + } + }, + devDependencies: { + "@babel/core": "^7.13.10", + "@emotion/css": "11.1.3", + "@emotion/css-prettifier": "1.0.0", + "@emotion/server": "11.4.0", + "@emotion/styled": "11.3.0", + "@types/react": "^16.9.11", + dtslint: "^0.3.0", + "html-tag-names": "^1.1.2", + react: "16.14.0", + "svg-tag-names": "^1.1.1" + }, + 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.js", + "./jsx-runtime.js", + "./jsx-dev-runtime.js", + "./isolated-hoist-non-react-statics-do-not-use-this-in-your-code.js" + ], + umdName: "emotionReact" + } +}; + +var jsx = function jsx(type, props) { + var args = arguments; + + if (props == null || !_emotion_element_a8309070_browser_esm_js__WEBPACK_IMPORTED_MODULE_2__.h.call(props, 'css')) { + // $FlowFixMe + return react__WEBPACK_IMPORTED_MODULE_0__.createElement.apply(undefined, args); + } + + var argsLength = args.length; + var createElementArgArray = new Array(argsLength); + createElementArgArray[0] = _emotion_element_a8309070_browser_esm_js__WEBPACK_IMPORTED_MODULE_2__.E; + createElementArgArray[1] = (0,_emotion_element_a8309070_browser_esm_js__WEBPACK_IMPORTED_MODULE_2__.c)(type, props); + + for (var i = 2; i < argsLength; i++) { + createElementArgArray[i] = args[i]; + } // $FlowFixMe + + + return react__WEBPACK_IMPORTED_MODULE_0__.createElement.apply(null, createElementArgArray); +}; + +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_a8309070_browser_esm_js__WEBPACK_IMPORTED_MODULE_2__.w)(function (props, cache) { + if ( true && !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 + // $FlowFixMe I don't really want to add it to the type since it shouldn't be used + props.className || 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_7__.serializeStyles)([styles], undefined, typeof styles === 'function' || Array.isArray(styles) ? (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_emotion_element_a8309070_browser_esm_js__WEBPACK_IMPORTED_MODULE_2__.T) : undefined); + // 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 = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(); + (0,react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect)(function () { + var key = cache.key + "-global"; + var sheet = new _emotion_sheet__WEBPACK_IMPORTED_MODULE_8__.StyleSheet({ + key: key, + nonce: cache.sheet.nonce, + container: cache.sheet.container, + speedy: cache.sheet.isSpeedy + }); + var rehydrating = false; // $FlowFixMe + + 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 s + + node.setAttribute('data-emotion', key); + sheet.hydrate([node]); + } + + sheetRef.current = [sheet, rehydrating]; + return function () { + sheet.flush(); + }; + }, [cache]); + (0,react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect)(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_6__.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; +}); + +if (true) { + 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_7__.serializeStyles)(args); +} + +var keyframes = function keyframes() { + var insertable = css.apply(void 0, arguments); + var name = "animation-" + insertable.name; // $FlowFixMe + + 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 ( true && 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 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_6__.getRegisteredStyles)(registered, registeredStyles, className); + + if (registeredStyles.length < 2) { + return className; + } + + return rawClassName + css(registeredStyles); +} + +var ClassNames = /* #__PURE__ */(0,_emotion_element_a8309070_browser_esm_js__WEBPACK_IMPORTED_MODULE_2__.w)(function (props, cache) { + var hasRendered = false; + + var css = function css() { + if (hasRendered && "development" !== 'production') { + 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_7__.serializeStyles)(args, cache.registered); + + { + (0,_emotion_utils__WEBPACK_IMPORTED_MODULE_6__.insertStyles)(cache, serialized, false); + } + + return cache.key + "-" + serialized.name; + }; + + var cx = function cx() { + if (hasRendered && "development" !== 'production') { + 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: (0,react__WEBPACK_IMPORTED_MODULE_0__.useContext)(_emotion_element_a8309070_browser_esm_js__WEBPACK_IMPORTED_MODULE_2__.T) + }; + var ele = props.children(content); + hasRendered = true; + + return ele; +}); + +if (true) { + ClassNames.displayName = 'EmotionClassNames'; +} + +if (true) { + var isBrowser = "object" !== 'undefined'; // #1727 for some reason Jest evaluates modules twice if some consuming module gets mocked with jest.mock + + var isJest = typeof jest !== 'undefined'; + + if (isBrowser && !isJest) { + var globalContext = 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/@emotion/react/isolated-hoist-non-react-statics-do-not-use-this-in-your-code/dist/emotion-react-isolated-hoist-non-react-statics-do-not-use-this-in-your-code.browser.esm.js": +/*!***************************************************************************************************************************************************************************************************!*\ + !*** ./node_modules/@emotion/react/isolated-hoist-non-react-statics-do-not-use-this-in-your-code/dist/emotion-react-isolated-hoist-non-react-statics-do-not-use-this-in-your-code.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 */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var hoist_non_react_statics__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! hoist-non-react-statics */ "./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); +}); + +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (hoistNonReactStatics); + + +/***/ }), + +/***/ "./node_modules/@emotion/serialize/dist/emotion-serialize.browser.esm.js": +/*!*******************************************************************************!*\ + !*** ./node_modules/@emotion/serialize/dist/emotion-serialize.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 */ "serializeStyles": () => (/* binding */ serializeStyles) +/* harmony export */ }); +/* harmony import */ var _emotion_hash__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @emotion/hash */ "./node_modules/@emotion/hash/dist/hash.browser.esm.js"); +/* harmony import */ var _emotion_unitless__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @emotion/unitless */ "./node_modules/@emotion/unitless/dist/unitless.browser.esm.js"); +/* harmony import */ var _emotion_memoize__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @emotion/memoize */ "./node_modules/@emotion/memoize/dist/emotion-memoize.browser.esm.js"); + + + + +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; +}; + +if (true) { + var contentValuePattern = /(attr|counters?|url|(((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; + }; +} + +function handleInterpolation(mergedProps, registered, interpolation) { + if (interpolation == null) { + return ''; + } + + if (interpolation.__emotion_styles !== undefined) { + if ( true && interpolation.toString() === 'NO_COMPONENT_SELECTOR') { + throw new Error('Component selectors can only be used in conjunction with @emotion/babel-plugin.'); + } + + return interpolation; + } + + switch (typeof interpolation) { + case 'boolean': + { + return ''; + } + + case 'object': + { + if (interpolation.anim === 1) { + cursor = { + name: interpolation.name, + styles: interpolation.styles, + next: cursor + }; + return interpolation.name; + } + + if (interpolation.styles !== undefined) { + var next = interpolation.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 = interpolation.styles + ";"; + + if ( true && interpolation.map !== undefined) { + styles += interpolation.map; + } + + 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 if (true) { + 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': + if (true) { + 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\n' + 'Instead of doing this:\n\n' + [].concat(matched, ["`" + replaced + "`"]).join('\n') + '\n\nYou should wrap it with `css` like this:\n\n' + ("css`" + replaced + "`")); + } + } + + break; + } // finalize string values (regular strings and functions interpolated into css calls) + + + if (registered == null) { + return interpolation; + } + + var cached = registered[interpolation]; + return cached !== undefined ? cached : interpolation; +} + +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') { + if (registered != null && registered[value] !== undefined) { + string += _key + "{" + registered[value] + "}"; + } else if (isProcessableValue(value)) { + string += processStyleName(_key) + ":" + processStyleValue(_key, value) + ";"; + } + } else { + if (_key === 'NO_COMPONENT_SELECTOR' && "development" !== 'production') { + throw new Error('Component selectors can only be used in conjunction with @emotion/babel-plugin.'); + } + + 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 ( true && _key === 'undefined') { + console.error(UNDEFINED_AS_OBJECT_KEY_ERROR); + } + + string += _key + "{" + interpolated + "}"; + } + } + } + } + } + } + + return string; +} + +var labelPattern = /label:\s*([^\s;\n{]+)\s*(;|$)/g; +var sourceMapPattern; + +if (true) { + sourceMapPattern = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g; +} // this is the cursor for keyframes +// keyframes are stored on the SerializedStyles object as a linked list + + +var cursor; +var serializeStyles = 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 { + if ( true && strings[0] === undefined) { + console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR); + } + + styles += strings[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) { + if ( true && strings[i] === undefined) { + console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR); + } + + styles += strings[i]; + } + } + + var sourceMap; + + if (true) { + styles = styles.replace(sourceMapPattern, function (match) { + sourceMap = match; + return ''; + }); + } // 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 += '-' + // $FlowFixMe we know it's not null + match[1]; + } + + var name = (0,_emotion_hash__WEBPACK_IMPORTED_MODULE_0__.default)(styles) + identifierName; + + if (true) { + // $FlowFixMe SerializedStyles type doesn't have toString property (and we don't want to add it) + return { + name: name, + styles: styles, + map: sourceMap, + 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 { + name: name, + styles: styles, + next: cursor + }; +}; + + + + +/***/ }), + +/***/ "./node_modules/@emotion/sheet/dist/emotion-sheet.browser.esm.js": +/*!***********************************************************************!*\ + !*** ./node_modules/@emotion/sheet/dist/emotion-sheet.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 */ "StyleSheet": () => (/* binding */ StyleSheet) +/* harmony export */ }); +/* + +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 + +*/ +// $FlowFixMe +function sheetForTag(tag) { + if (tag.sheet) { + // $FlowFixMe + 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) { + // $FlowFixMe + return document.styleSheets[i]; + } + } +} + +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 () { + function StyleSheet(options) { + var _this = this; + + this._insertTag = function (tag) { + var before; + + if (_this.tags.length === 0) { + before = _this.prepend ? _this.container.firstChild : _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 ? "development" === 'production' : 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.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]; + + if (true) { + 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 ( true && !/:(-moz-placeholder|-ms-input-placeholder|-moz-read-write|-moz-read-only){/.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() { + // $FlowFixMe + this.tags.forEach(function (tag) { + return tag.parentNode.removeChild(tag); + }); + this.tags = []; + this.ctr = 0; + + if (true) { + this._alreadyInsertedOrderInsensitiveRule = false; + } + }; + + return StyleSheet; +}(); + + + + +/***/ }), + +/***/ "./node_modules/@emotion/unitless/dist/unitless.browser.esm.js": +/*!*********************************************************************!*\ + !*** ./node_modules/@emotion/unitless/dist/unitless.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 */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +var unitlessKeys = { + animationIterationCount: 1, + borderImageOutset: 1, + borderImageSlice: 1, + borderImageWidth: 1, + boxFlex: 1, + boxFlexGroup: 1, + boxOrdinalGroup: 1, + columnCount: 1, + columns: 1, + flex: 1, + flexGrow: 1, + flexPositive: 1, + flexShrink: 1, + flexNegative: 1, + flexOrder: 1, + gridRow: 1, + gridRowEnd: 1, + gridRowSpan: 1, + gridRowStart: 1, + gridColumn: 1, + gridColumnEnd: 1, + gridColumnSpan: 1, + gridColumnStart: 1, + msGridRow: 1, + msGridRowSpan: 1, + msGridColumn: 1, + msGridColumnSpan: 1, + fontWeight: 1, + lineHeight: 1, + opacity: 1, + order: 1, + orphans: 1, + tabSize: 1, + widows: 1, + zIndex: 1, + zoom: 1, + WebkitLineClamp: 1, + // SVG-related properties + fillOpacity: 1, + floodOpacity: 1, + stopOpacity: 1, + strokeDasharray: 1, + strokeDashoffset: 1, + strokeMiterlimit: 1, + strokeOpacity: 1, + strokeWidth: 1 +}; + +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (unitlessKeys); + + +/***/ }), + +/***/ "./node_modules/@emotion/utils/dist/emotion-utils.browser.esm.js": +/*!***********************************************************************!*\ + !*** ./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 */ }); +var isBrowser = "object" !== 'undefined'; +function getRegisteredStyles(registered, registeredStyles, classNames) { + var rawClassName = ''; + classNames.split(' ').forEach(function (className) { + if (registered[className] !== undefined) { + registeredStyles.push(registered[className] + ";"); + } else { + rawClassName += className + " "; + } + }); + return rawClassName; +} +var insertStyles = function insertStyles(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; + } + + if (cache.inserted[serialized.name] === undefined) { + var current = serialized; + + do { + var maybeStyles = cache.insert(serialized === current ? "." + className : '', current, cache.sheet, true); + + current = current.next; + } while (current !== undefined); + } +}; + + + + +/***/ }), + +/***/ "./node_modules/@emotion/weak-memoize/dist/weak-memoize.browser.esm.js": +/*!*****************************************************************************!*\ + !*** ./node_modules/@emotion/weak-memoize/dist/weak-memoize.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 */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +var weakMemoize = function weakMemoize(func) { + // $FlowFixMe flow doesn't include all non-primitive types as allowed for weakmaps + var cache = new WeakMap(); + return function (arg) { + if (cache.has(arg)) { + // $FlowFixMe + return cache.get(arg); + } + + var ret = func(arg); + cache.set(arg, ret); + return ret; + }; +}; + +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (weakMemoize); + + +/***/ }), + +/***/ "./client/bpmnjs-i18n-extension/index.js": +/*!***********************************************!*\ + !*** ./client/bpmnjs-i18n-extension/index.js ***! + \***********************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _translate__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./translate */ "./client/bpmnjs-i18n-extension/translate.js"); +/** + * Copyright 2021 FlowSquad GmbH + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * Creates the plugin structure and tells the modeler, how to initialize it. + */ + +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ + translateModule: _translate__WEBPACK_IMPORTED_MODULE_0__.default, + __init__: ['translate'], + translate: ['type', _translate__WEBPACK_IMPORTED_MODULE_0__.default] +}); + +/***/ }), + +/***/ "./client/bpmnjs-i18n-extension/languages/de.js": +/*!******************************************************!*\ + !*** ./client/bpmnjs-i18n-extension/languages/de.js ***! + \******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _de_bpmn_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./de/bpmn-js */ "./client/bpmnjs-i18n-extension/languages/de/bpmn-js.js"); +/* harmony import */ var _de_dmn_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./de/dmn-js */ "./client/bpmnjs-i18n-extension/languages/de/dmn-js.js"); +/* harmony import */ var _de_properties_panel__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./de/properties-panel */ "./client/bpmnjs-i18n-extension/languages/de/properties-panel.js"); +/* harmony import */ var _de_other__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./de/other */ "./client/bpmnjs-i18n-extension/languages/de/other.js"); +/** + * Copyright 2021 FlowSquad GmbH + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + + + +/** + * Joins and exports the translated strings. + */ + +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ ..._de_bpmn_js__WEBPACK_IMPORTED_MODULE_0__.default, + ..._de_dmn_js__WEBPACK_IMPORTED_MODULE_1__.default, + ..._de_properties_panel__WEBPACK_IMPORTED_MODULE_2__.default, + ..._de_other__WEBPACK_IMPORTED_MODULE_3__.default +}); + +/***/ }), + +/***/ "./client/bpmnjs-i18n-extension/languages/de/bpmn-js.js": +/*!**************************************************************!*\ + !*** ./client/bpmnjs-i18n-extension/languages/de/bpmn-js.js ***! + \**************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/** + * Copyright 2021 FlowSquad GmbH + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * This file contains the strings used in the bpmn-js module. + */ +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ + 'Append {type}': '{type} anfügen', + 'Add Lane above': 'Lane darüber einfügen', + 'Divide into two Lanes': 'In zwei Lanes aufteilen', + 'Divide into three Lanes': 'In drei Lanes aufteilen', + 'Add Lane below': 'Lane darunter einfügen', + 'Append ReceiveTask': 'Receive-Task anfügen', + 'Append MessageIntermediateCatchEvent': 'Message-Intermediate-Catch-Event anfügen', + 'Append TimerIntermediateCatchEvent': 'Timer-Intermediate-Catch-Event anfügen', + 'Append ConditionIntermediateCatchEvent': 'Condition-Intermediate-Catch-Event anfügen', + 'Append SignalIntermediateCatchEvent': 'Signal-Intermediate-Catch-Event anfügen', + 'Append compensation activity': 'Compensation-Aktivität anfügen', + 'Append EndEvent': 'End-Event anfügen', + 'Append Gateway': 'Gateway anfügen', + 'Append Task': 'Task anfügen', + 'Append Intermediate/Boundary Event': 'Intermediate/Boundary-Event anfügen', + 'Change type': 'Typ ändern', + 'Connect using Association': 'Mit Assoziation verbinden', + 'Connect using Sequence/MessageFlow or Association': 'Mit Sequenz-/Nachrichtenfluss oder Assoziation verbinden', + 'Connect using DataInputAssociation': 'Mit DataInputAssociation verbinden', + 'Remove': 'Entfernen', + 'no shape type specified': 'Kein Formtyp angegeben', + 'out of bounds release': 'Außerhalb der Grenzen losgelassen', + 'more than {count} child lanes': 'mehr als {count} Kind-Lanes', + 'element required': 'Element benötigt', + 'no parent for {element} in {parent}': 'Kein Elternelement für {element} in {parent}', + 'Create {type}': '{type} erzeugen', + 'Activate the hand tool': 'Hand-Tool aktivieren', + 'Activate the lasso tool': 'Lasso-Tool aktivieren', + 'Activate the create/remove space tool': 'Space-hinzufügen/entfernen-Tool aktivieren', + 'Activate the global connect tool': 'Globales Verbindungstool aktivieren', + 'Create StartEvent': 'Start-Event erzeugen', + 'Create Intermediate/Boundary Event': 'Intermediate/Boundary-Event erzeugen', + 'Create EndEvent': 'End-Event erzeugen', + 'Create Gateway': 'Gateway erzeugen', + 'Create Task': 'Task erzeugen', + 'Create DataObjectReference': 'Data-Object-Reference erzeugen', + 'Create DataStoreReference': 'Data-Store-Reference erzeugen', + 'Create expanded SubProcess': 'Subprozess erzeugen', + 'Create Pool/Participant': 'Pool/Participant erzeugen', + 'Create Group': 'Gruppe erzeugen', + 'Parallel Multi Instance': 'Parallele Multiinstanz', + 'Sequential Multi Instance': 'Sequenzielle Multiinstanz', + 'Loop': 'Schleife', + 'Ad-hoc': 'Ad-hoc', + 'element {element} referenced by {referenced}#{property} not yet drawn': 'Element {element}, referenziert durch {referenced}#{property}, wurde noch nicht gezeichnet', + 'unknown di {di} for element {semantic}': 'Unbekannter DI {di} für Element {semantic}', + 'missing {semantic}#attachedToRef': '{semantic}#attachedToRef fehlt', + '{semantic}#{side} Ref not specified': '{semantic}#{side} Ref nicht angegeben', + 'already rendered {element}': '{element} wurde bereits gerendert', + 'failed to import {element}': 'Import von {element} fehlgeschlagen', + 'multiple DI elements defined for {element}': 'Mehrere DI-Elemente für {element} definiert', + 'no bpmnElement referenced in {element}': 'Kein bpmnElement in {element} referenziert', + 'diagram not part of bpmn:Definitions': 'Das Diagramm ist nicht Teil von bpmn:Definitions', + 'no diagram to display': 'Kein Diagramm zum Anzeigen', + 'no process or collaboration to display': 'Kein Prozess oder Collaboration zum Anzeigen', + 'correcting missing bpmnElement on {plane} to {rootElement}': 'Korrigiere fehlendes bpmnElement auf {plane} zu {rootElement}', + 'unsupported bpmnElement for {plane}: {rootElement}': 'Nicht unterstütztes bpmnElement für {plane}: {rootElement}', + 'unrecognized flowElement {element} in context {context}': 'FlowElement {element} im Context {context} nicht erkannt', + 'HELLO {you}!': 'HALLO {you}!' +}); + +/***/ }), + +/***/ "./client/bpmnjs-i18n-extension/languages/de/dmn-js.js": +/*!*************************************************************!*\ + !*** ./client/bpmnjs-i18n-extension/languages/de/dmn-js.js ***! + \*************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/** + * Copyright 2021 FlowSquad GmbH + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * This file contains the translated strings used in the dmn-js component. + * However, notice that these strings are currently not working. We are + * still investigating how to apply them. + */ +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ + 'Activate the lasso tool': 'Lasso-Tool aktivieren', + 'Add Cell Description': 'Zellenbeschreibung hinzufügen', + 'Add Input': 'Input hinzufügen', + 'Add Input Column Left': 'Input-Spalte links hinzufügen', + 'Add Input Column Right': 'Input-Spalte rechts hinzufügen', + 'Add Output': 'Output hinzufügen', + 'Add Output Column Left': 'Output-Spalte links hinzufügen', + 'Add Output Column Right': 'Output-Spalte rechts hinzufügen', + 'Add Predefined Values': 'Vordefinierte Werte hinzufügen', + 'Add Rule Above': 'Regel darüber hinzufügen', + 'Add Rule Below': 'Regel darunter hinzufügen', + 'Add Values': 'Werte hinzufügen', + 'And': 'Und', + 'Annotations': 'Annotationen', + 'Append {type}': '{type} anfügen', + 'cellInput': 'Zellen-Input', + 'Change Cell Expression Language': 'Expression-Language für Zelle ändern', + 'Change type': 'Typ ändern', + 'Clear predefined values.': 'Vordefinierte Werte löschen', + 'Copy Input Column': 'Input-Spalte kopieren', + 'Copy Output Column': 'Output-Spalte kopieren', + 'Copy Rule': 'Regel kopieren', + 'Create Decision': 'Decision erstellen', + 'Create Input Data': 'Input-Daten erstellen', + 'Create Knowledge Model': 'Knowledge-Model erstellen', + 'Create Knowledge Source': 'Knowledge-Source erstellen', + 'Cut Input Column': 'Input-Spalte ausschneiden', + 'Cut Output Column': 'Output-Spalte ausschneiden', + 'Cut Rule': 'Regel ausschneiden', + 'Edit String': 'String bearbeiten', + 'Expression': 'Expression', + 'Expression Language': 'Expression-Language', + 'Input': 'Input', + 'Input Expression': 'Input-Expression', + 'Input Label': 'Input-Label', + 'Input Type': 'Input-Type', + 'Input Values': 'Input-Werte', + 'Input Variable': 'Input-Variable', + 'No values': 'Keine Werte', + 'Output Label': 'Output-Label', + 'Output Name': 'Output-Name', + 'Output Type': 'Output-Type', + 'Output Values': 'Output-Werte', + 'Paste Input Column Left': 'Input-Spalte links einfügen', + 'Paste Input Column Right': 'Input-Spalte rechts einfügen', + 'Paste Output Column Left': 'Output-Spalte links einfügen', + 'Paste Output Column Right': 'Output-Spalte rechts einfügen', + 'Paste Rule Above': 'Regel darüber einfügen', + 'Paste Rule Below': 'Regel darunter einfügen', + 'Predefined Values': 'Vordefinierte Werte', + 'Remove': 'Entfernen', + 'Remove Cell Description': 'Zellenbeschreibung entfernen', + 'Remove Input Column': 'Input-Spalte entfernen', + 'Remove Output Column': 'Output-Spalte entfernen', + 'Remove Rule': 'Regel entfernen', + 'Set Value': 'Wert setzen', + 'Strings must be in double quotes.': 'Strings müssen von doppelten Anführungszeichen umschlossen werden', + 'Type': 'Typ' +}); + +/***/ }), + +/***/ "./client/bpmnjs-i18n-extension/languages/de/other.js": +/*!************************************************************!*\ + !*** ./client/bpmnjs-i18n-extension/languages/de/other.js ***! + \************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/** + * Copyright 2021 FlowSquad GmbH + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * This file contains translations that were used in other components. + */ +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ + 'Open minimap': 'Minimap öffnen', + 'This maps to the process definition key.': 'Angabe wird zum Prozess-Definition-Key gemappt.', + 'Key': 'Key', + 'Intermediate Throw Event': 'Intermediate-Throw-Event', + 'End Event': 'End-Event', + 'Message Start Event': 'Message-Start-Event', + 'Timer Start Event': 'Timer-Start-Event', + 'Conditional Start Event': 'Conditional-Start-Event', + 'Signal Start Event': 'Signal-Start-Event', + 'Expand (not reversible)': 'Aufklappen (kann nicht rückgängig gemacht werden)', + 'ID': 'ID', + 'Start Event': 'Start-Event', + 'Message End Event': 'Message-End-Event', + 'Escalation End Event': 'Escalation-End-Event', + 'Error End Event': 'Error-End-Event', + 'Compensation End Event': 'Compensation-End-Event', + 'Signal End Event': 'Signal-End-Event', + 'Terminate End Event': 'Terminate-End-Event', + 'Transaction': 'Transaktion', + 'Event Sub Process': 'Event-Subprozess', + 'Sub Process (collapsed)': 'Subprozess (eingeklappt)', + 'Close minimap': 'Minimap schließen', + 'Message Intermediate Catch Event': 'Message-Intermediate-Catch-Event', + 'Message Intermediate Throw Event': 'Message-Intermediate-Throw-Event', + 'Timer Intermediate Catch Event': 'Timer-Intermediate-Catch-Event', + 'Escalation Intermediate Throw Event': 'Escalation-Intermediate-Throw-Event', + 'Conditional Intermediate Catch Event': 'Conditional-Intermediate-Catch-Event', + 'Link Intermediate Catch Event': 'Link-Intermediate-Catch-Event', + 'Link Intermediate Throw Event': 'Link-Intermediate-Throw-Event', + 'Compensation Intermediate Throw Event': 'Compensation-Intermediate-Throw-Event', + 'Signal Intermediate Catch Event': 'Signal-Intermediate-Catch-Event', + 'Signal Intermediate Throw Event': 'Signal-Intermediate-Throw-Event', + 'Parallel Gateway': 'Paralleles Gateway', + 'Inclusive Gateway': 'Inklusives Gateway', + 'Complex Gateway': 'Komplexes Gateway', + 'Event based Gateway': 'Eventbasiertes Gateway', + 'Exclusive Gateway': 'Exklusives Gateway', + 'Send Task': 'Send-Task', + 'Receive Task': 'Receive-Task', + 'User Task': 'User-Task', + 'Manual Task': 'Manueller Task', + 'Business Rule Task': 'Business-Rule-Task', + 'Service Task': 'Services-Task', + 'Script Task': 'Skript-Task', + 'Call Activity': 'Call-Activity', + 'Sub Process (expanded)': 'Subprozess (ausgeklappt)', + 'Sub Process': 'Subprozess', + 'Task': 'Task', + 'This maps to the task definition key.': 'Angabe wird zum Task-Definition-Key gemappt.', + 'Collapsed Pool': 'Zusammengeklappter Pool', + 'Expanded Pool': 'Ausgeklappter Pool', + 'flow elements must be children of pools/participants': 'Flow-Elemente müssen innerhalb von Pools/Participants platziert werden', + 'The follow up date as an EL expression (e.g. ${someDate} or an ISO date (e.g. 2015-06-26T09:54:00)': 'Das Wiedervorlagedatum als EL-Expression (z.B. ${someDate}) oder als ISO-Datum (z.B. 2015-06-26T09:54:00)', + 'Message Boundary Event': 'Message-Boundary-Event', + 'Timer Boundary Event': 'Timer-Boundary-Event', + 'Escalation Boundary Event': 'Escalation-Boundary-Event', + 'Conditional Boundary Event': 'Conditional-Boundary-Event', + 'Error Boundary Event': 'Error-Boundary-Event', + 'Cancel Boundary Event': 'Cancel-Boundary-Event', + 'Signal Boundary Event': 'Signal-Boundary-Event', + 'Compensation Boundary Event': 'Compensation-Boundary-Event', + 'Message Boundary Event (non-interrupting)': 'Message-Boundary-Event (nicht unterbrechend)', + 'Timer Boundary Event (non-interrupting)': 'Timer-Boundary-Event (nicht unterbrechend)', + 'Escalation Boundary Event (non-interrupting)': 'Escalation-Boundary-Event (nicht unterbrechend)', + 'Conditional Boundary Event (non-interrupting)': 'Conditional-Boundary-Event (nicht unterbrechend)', + 'Signal Boundary Event (non-interrupting)': 'Signal-Boundary-Event (nicht unterbrechend)', + 'Connect using Information/Knowledge/Authority Requirement or Association': 'Mit Information/Knowledge/Authority Requirement oder Assoziation verbinden', + 'Empty': 'Leer', + 'Literal Expression': 'Literaler Ausdruck', + 'This maps to the decision definition key.': 'Angabe wird zum Decision-Definition-Key gemappt.', + 'Decision Table': 'Decision-Table', + 'Output': 'Output', + 'Annotation': 'Annotation', + 'Output Expression': 'Output-Expression', + 'Data Type': 'Datentyp' +}); + +/***/ }), + +/***/ "./client/bpmnjs-i18n-extension/languages/de/properties-panel.js": +/*!***********************************************************************!*\ + !*** ./client/bpmnjs-i18n-extension/languages/de/properties-panel.js ***! + \***********************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/** + * Copyright 2021 FlowSquad GmbH + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * This file contains the translations used by the bpmn-js-properties-panel component. + */ +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ + 'Activity Ref': 'Activity-Referenz', + 'Add Constraint': 'Constraint hinzufügen', + 'Add Entry': 'Eintrag hinzufügen', + 'Add Property': 'Property hinzufügen', + 'Add Value': 'Wert hinzufügen', + 'All': 'Alle', + 'Assignee': 'Bearbeiter', + 'assignment': 'Aufgabe', + 'Asynchronous After': 'Asynchronous After', + // TODO + 'Asynchronous Before': 'Asynchronous Before', + // TODO + 'Asynchronous Continuations': 'Asynchronous Continuations', + // TODO + 'Binding': 'Binding', + 'Business Key': 'Business-Key', + 'Business Key Expression': 'Business-Key-Expression', + 'CallActivity Type': 'Call-Activity-Typ', + 'Called Element': 'Aufgerufenes Element', + 'Candidate Groups': 'Mögliche Bearbeiter-Gruppen', + 'Candidate Starter Configuration': 'Candidate Starter Configuration', + // TODO + 'Candidate Starter Groups': 'Candidate Starter Groups', + // TODO + 'Candidate Starter Users': 'Candidate Starter Users', + // TODO + 'Candidate Users': 'Mögliche Bearbeiter', + 'Case Ref': 'Case-Referenz', + 'Category Value': 'Kategorie-Wert', + 'Class': 'Klasse', + 'Collection': 'Collection', + 'complete': 'abschließen', + // TODO + 'Completion Condition': 'Abschlussbedingung', + 'Condition': 'Bedingung', + 'Condition Type': 'Bedingungstyp', + 'Config': 'Konfiguration', + 'Configure Connector': 'Connector konfigurieren', + 'Connector': 'Connector', + 'Connector Id': 'Connector-ID', + 'create': 'erstellen', + 'Custom Fields': 'Benutzerdefinierte Felder', + 'Custom Fields for scope: ': 'Benutzerdefinierte Felder für Scope', + // TODO + 'Cycle': 'Zyklus', + 'Date': 'Datum', + 'Decision Ref': 'Decision-Referenz', + 'Default Value': 'Standard-Wert', + 'Delegate Expression': 'Delegate-Expression', + 'Delegate Variable Mapping': 'Delegate-Variablenmapping', + 'delete': 'löschen', + 'deployment': 'Deployment', + 'Details': 'Details', + 'DMN': 'DMN', + 'Documentation': 'Dokumentation', + 'Due Date': 'Fälligkeitsdatum', + 'Duration': 'Dauer', + 'Element Documentation': 'Elementdokumentation', + 'Element must have an unique id.': 'Element benötigt eine eindeutige ID', + 'Element Template': 'Element-Template', + 'Element Variable': 'Element-Variable', + 'end': 'beenden', + // TODO + 'Error': 'Fehler', + 'Error Code': 'Fehler-Code', + 'Error Code Variable': 'Fehler-Code-Variable', + 'Error Message': 'Fehlermeldung', + 'Error Message Variable': 'Fehlermeldung-Variable', + 'Error Name': 'Fehlername', + 'Escalation': 'Eskalation', + 'Escalation Code': 'Eskalationscode', + 'Escalation Code Variable': 'Eskalationscode-Variable', + 'Escalation Name': 'Eskalationsname', + 'Event Type': 'Eventtyp', + 'Exclusive': 'Exklusiv', + 'Executable': 'Ausführbar', + 'Execution Listener': 'Execution-Listener', + 'Expression': 'Expression', + 'Extensions': 'Erweiterungen', + 'External': 'Extern', + 'External Resource': 'Externe Ressource', + 'External Task Configuration': 'Externe Task-Konfiguration', + 'Field Injection': 'Feld-Injection', + 'Field Injections': 'Feld-Injections', + 'Fields': 'Felder', + 'Follow Up Date': 'Wiedervorlagedatum', + 'Form Field': 'Formularfeld', + 'Form Fields': 'Formularfelder', + 'Form Key': 'Formular-Key', + 'Forms': 'Formulare', + 'General': 'Allgemein', + 'History Configuration': 'History-Konfiguration', + 'History Time To Live': 'History-Aufbewahrungszeitraum', + 'Id': 'ID', + 'ID (process variable name)': 'ID (Prozessvariablen-Name)', + 'Id must be a valid QName.': 'ID muss ein gültiger QName sein', + 'Id must not contain prefix.': 'ID darf kein Prefix enthalten', + 'Id must not contain spaces.': 'ID darf keine Leerzeichen enthalten', + 'Implementation': 'Implementierung', + 'Initiator': 'Auslöser', + // TODO + 'Inline Script': 'Inline-Skript', + 'In Mapping': 'In-Mapping', + 'Input/Output': 'Input/Output', + 'Input Parameter': 'Input-Parameter', + 'Input Parameters': 'Input-Parameter', + 'Java Class': 'Java-Klasse', + 'Job Configuration': 'Job-Konfiguration', + 'Job Priority': 'Job-Priorität', + 'Label': 'Label', + 'latest': 'Neueste', + // TODO + 'Link Name': 'Link-Name', + 'List': 'Liste', + 'Listener Id': 'Listener-ID', + 'Listeners': 'Listener', + 'Listener Type': 'Listener-Typ', + 'Local': 'Lokal', + 'Loop Cardinality': 'Schleifen-Kardinalität', + 'Map': 'Map', + // TODO + 'Map Decision Result': 'Decision-Ergebnis mappen', + // TODO + 'Mapping must have a target': 'Mapping benötigt ein Ziel', + 'Mapping must have a value': 'Mapping benötigt einen Wert', + 'Mapping must have a {value}': 'Mapping benötigt ein {value}', + 'Message': 'Nachricht', + 'Message Name': 'Nachrichtenname', + 'Multi Instance ': 'Mehrfachinstanz ', + 'Multi Instance': 'Mehrfachinstanz', + 'Must configure Connector': 'Muss Connector konfigurieren', + 'Must have max length {length}': 'Darf nicht länger sein als {length}', + 'Must have min length {length}': 'Darf nicht kürzer sein als {length}', + 'Must match pattern {pattern}': 'Muss dem Pattern {pattern} entsprechen', + 'Must not be empty': 'Darf nicht leer sein', + 'Must provide a value': 'Muss einen Wert enthalten', + 'Must provide a value for timeout task listener': 'Muss einen Wert für den Timeout-Task-Listener enthalten', + 'Must provide either loop cardinality or collection': 'Muss entweder Schleifen-Kardinalität oder Collection enthalten', + 'Name': 'Name', + 'Name must not contain spaces': 'Name darf keine Leerzeichen enthalten', + 'Out Mapping': 'Out-Mapping', + 'Output Parameter': 'Output-Parameter', + 'Output Parameters': 'Output-Parameter', + 'Parameter must have a name': 'Parameter muss einen Namen haben', + 'Parameters': 'Parameter', + 'Priority': 'Priorität', + 'Process Documentation': 'Prozessdokumentation', + 'Process Id': 'Prozess-ID', + 'Process Name': 'Prozessname', + 'Properties': 'Eigenschaften', + 'Resource': 'Ressource', + 'Result Variable': 'Ergebnisvariable', + 'Retry Time Cycle': 'Retry-Zyklus', + 'Script': 'Skript', + 'Script Format': 'Skriptformat', + 'Script Type': 'Skripttyp', + 'Signal': 'Signal', + 'Signal Name': 'Signalname', + 'Source': 'Quelle', + 'Source Expression': 'Quellen-Expression', + 'Specify more than one group as a comma separated list.': 'Geben Sie mehr als eine Gruppe kommagetrennt an.', + 'Specify more than one user as a comma separated list.': 'Geben Sie mehr als einen Nutzer kommagetrennt an.', + 'Specify more than one variable change event as a comma separated list.': 'Geben Sie mehr als ein Variablen-Change-Event kommagetrennt an.', + 'start': 'starten', + // TODO + 'Startable': 'Startbar', + 'String': 'String', + 'take': 'nehmen', + // TODO + 'Target': 'Ziel', + 'Target must not contain whitespace': 'Ziel darf keine Leerzeichen enthalten', + 'Tasklist Configuration': 'Tasklisten-Konfiguration', + 'Task Listener': 'Task-Listener', + 'Task Priority': 'Task-Priorität', + 'Tenant Id': 'Tenant-ID', + 'Text': 'Text', + 'The due date as an EL expression (e.g. ${someDate} or an ISO date (e.g. 2015-06-26T09:54:00)': 'Das Fälligkeitsdatum als EL-Expression (z.B. ${someDate}) oder als ISO-Datum (z.B. 2015-06-26T09:54:00)', + 'timeout': 'Zeitüberschreitung', + // TODO + 'Timer Definition': 'Timer-Definition', + 'Timer Definition Type': 'Timer-Definition-Typ', + 'Topic': 'Topic', + // TODO + 'Type': 'Typ', + 'update': 'aktualisieren', + // TODO + 'Validation': 'Validierung', + 'Value': 'Wert', + 'Values': 'Werte', + 'Variable Event': 'Variablen-Event', + 'Variable Name': 'Variablenname', + 'Variables': 'Variablen', + 'version': 'Version', + 'Version': 'Version', + 'versionTag': 'Version-Tag', + 'Version Tag': 'Version-Tag', + 'Wait for Completion': 'Auf Abschluss warten', + '[unknown template: {templateId}]': '[Unbekanntes Template: {templateId}]', + '{label} must not contain whitespace': '{label} darf keine Leerzeichen enthalten' +}); + +/***/ }), + +/***/ "./client/bpmnjs-i18n-extension/languages/en.js": +/*!******************************************************!*\ + !*** ./client/bpmnjs-i18n-extension/languages/en.js ***! + \******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _en_bpmn_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./en/bpmn-js */ "./client/bpmnjs-i18n-extension/languages/en/bpmn-js.js"); +/* harmony import */ var _en_dmn_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./en/dmn-js */ "./client/bpmnjs-i18n-extension/languages/en/dmn-js.js"); +/* harmony import */ var _en_properties_panel__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./en/properties-panel */ "./client/bpmnjs-i18n-extension/languages/en/properties-panel.js"); +/* harmony import */ var _en_other__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./en/other */ "./client/bpmnjs-i18n-extension/languages/en/other.js"); +/** + * Copyright 2021 FlowSquad GmbH + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + + + +/** + * Joins and exports the translated strings. + */ + +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ ..._en_bpmn_js__WEBPACK_IMPORTED_MODULE_0__.default, + ..._en_dmn_js__WEBPACK_IMPORTED_MODULE_1__.default, + ..._en_properties_panel__WEBPACK_IMPORTED_MODULE_2__.default, + ..._en_other__WEBPACK_IMPORTED_MODULE_3__.default +}); + +/***/ }), + +/***/ "./client/bpmnjs-i18n-extension/languages/en/bpmn-js.js": +/*!**************************************************************!*\ + !*** ./client/bpmnjs-i18n-extension/languages/en/bpmn-js.js ***! + \**************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/** + * Copyright 2021 FlowSquad GmbH + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * This file contains the strings used in the bpmn-js module. + */ +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ + 'Append {type}': 'Append {type}', + 'Add Lane above': 'Add Lane above', + 'Divide into two Lanes': 'Divide into two Lanes', + 'Divide into three Lanes': 'Divide into three Lanes', + 'Add Lane below': 'Add Lane below', + 'Append ReceiveTask': 'Append ReceiveTask', + 'Append MessageIntermediateCatchEvent': 'Append MessageIntermediateCatchEvent', + 'Append TimerIntermediateCatchEvent': 'Append TimerIntermediateCatchEvent', + 'Append ConditionIntermediateCatchEvent': 'Append ConditionIntermediateCatchEvent', + 'Append SignalIntermediateCatchEvent': 'Append SignalIntermediateCatchEvent', + 'Append compensation activity': 'Append compensation activity', + 'Append EndEvent': 'Append EndEvent', + 'Append Gateway': 'Append Gateway', + 'Append Task': 'Append Task', + 'Append Intermediate/Boundary Event': 'Append Intermediate/Boundary Event', + 'Change type': 'Change type', + 'Connect using Association': 'Connect using Association', + 'Connect using Sequence/MessageFlow or Association': 'Connect using Sequence/MessageFlow or Association', + 'Connect using DataInputAssociation': 'Connect using DataInputAssociation', + 'Remove': 'Remove', + 'no shape type specified': 'no shape type specified', + 'out of bounds release': 'out of bounds release', + 'more than {count} child lanes': 'more than {count} child lanes', + 'element required': 'element required', + 'no parent for {element} in {parent}': 'no parent for {element} in {parent}', + 'Create {type}': 'Create {type}', + 'Activate the hand tool': 'Activate the hand tool', + 'Activate the lasso tool': 'Activate the lasso tool', + 'Activate the create/remove space tool': 'Activate the create/remove space tool', + 'Activate the global connect tool': 'Activate the global connect tool', + 'Create StartEvent': 'Create StartEvent', + 'Create Intermediate/Boundary Event': 'Create Intermediate/Boundary Event', + 'Create EndEvent': 'Create EndEvent', + 'Create Gateway': 'Create Gateway', + 'Create Task': 'Create Task', + 'Create DataObjectReference': 'Create DataObjectReference', + 'Create DataStoreReference': 'Create DataStoreReference', + 'Create expanded SubProcess': 'Create expanded SubProcess', + 'Create Pool/Participant': 'Create Pool/Participant', + 'Create Group': 'Create Group', + 'Parallel Multi Instance': 'Parallel Multi Instance', + 'Sequential Multi Instance': 'Sequential Multi Instance', + 'Loop': 'Loop', + 'Ad-hoc': 'Ad-hoc', + 'element {element} referenced by {referenced}#{property} not yet drawn': 'element {element} referenced by {referenced}#{property} not yet drawn', + 'unknown di {di} for element {semantic}': 'unknown di {di} for element {semantic}', + 'missing {semantic}#attachedToRef': 'missing {semantic}#attachedToRef', + '{semantic}#{side} Ref not specified': '{semantic}#{side} Ref not specified', + 'already rendered {element}': 'already rendered {element}', + 'failed to import {element}': 'failed to import {element}', + 'multiple DI elements defined for {element}': 'multiple DI elements defined for {element}', + 'no bpmnElement referenced in {element}': 'no bpmnElement referenced in {element}', + 'diagram not part of bpmn:Definitions': 'diagram not part of bpmn:Definitions', + 'no diagram to display': 'no diagram to display', + 'no process or collaboration to display': 'no process or collaboration to display', + 'correcting missing bpmnElement on {plane} to {rootElement}': 'correcting missing bpmnElement on {plane} to {rootElement}', + 'unsupported bpmnElement for {plane}: {rootElement}': 'unsupported bpmnElement for {plane}: {rootElement}', + 'unrecognized flowElement {element} in context {context}': 'unrecognized flowElement {element} in context {context}', + 'HELLO {you}!': 'HALLO {you}!' +}); + +/***/ }), + +/***/ "./client/bpmnjs-i18n-extension/languages/en/dmn-js.js": +/*!*************************************************************!*\ + !*** ./client/bpmnjs-i18n-extension/languages/en/dmn-js.js ***! + \*************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/** + * Copyright 2021 FlowSquad GmbH + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * This file contains the translated strings used in the dmn-js component. + * However, notice that these strings are currently not working. We are + * still investigating how to apply them. + */ +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ + 'Activate the lasso tool': 'Activate the lasso tool', + 'Add Cell Description': 'Add Cell Description', + 'Add Input': 'Add Input', + 'Add Input Column Left': 'Add Input Column Left', + 'Add Input Column Right': 'Add Input Column Right', + 'Add Output': 'Add Output', + 'Add Output Column Left': 'Add Output Column Left', + 'Add Output Column Right': 'Add Output Column Right', + 'Add Predefined Values': 'Add Predefined Values', + 'Add Rule Above': 'Add Rule Above', + 'Add Rule Below': 'Add Rule Below', + 'Add Values': 'Add Values', + 'And': 'And', + 'Annotations': 'Annotations', + 'Append {type}': 'Append {type}', + 'cellInput': 'cellInput', + 'Change Cell Expression Language': 'Change Cell Expression Language', + 'Change type': 'Change type', + 'Clear predefined values.': 'Clear predefined values.', + 'Copy Input Column': 'Copy Input Column', + 'Copy Output Column': 'Copy Output Column', + 'Copy Rule': 'Copy Rule', + 'Create Decision': 'Create Decision', + 'Create Input Data': 'Create Input Data', + 'Create Knowledge Model': 'Create Knowledge Model', + 'Create Knowledge Source': 'Create Knowledge Source', + 'Cut Input Column': 'Cut Input Column', + 'Cut Output Column': 'Cut Output Column', + 'Cut Rule': 'Cut Rule', + 'Edit String': 'Edit String', + 'Expression': 'Expression', + 'Expression Language': 'Expression Language', + 'Input': 'Input', + 'Input Expression': 'Input Expression', + 'Input Label': 'Input Label', + 'Input Type': 'Input Type', + 'Input Values': 'Input Values', + 'Input Variable': 'Input Variable', + 'No values': 'No values', + 'Output Label': 'Output Label', + 'Output Name': 'Output Name', + 'Output Type': 'Output Type', + 'Output Values': 'Output Values', + 'Paste Input Column Left': 'Paste Input Column Left', + 'Paste Input Column Right': 'Paste Input Column Right', + 'Paste Output Column Left': 'Paste Output Column Left', + 'Paste Output Column Right': 'Paste Output Column Right', + 'Paste Rule Above': 'Paste Rule Above', + 'Paste Rule Below': 'Paste Rule Below', + 'Predefined Values': 'Predefined Values', + 'Remove': 'Remove', + 'Remove Cell Description': 'Remove Cell Description', + 'Remove Input Column': 'Remove Input Column', + 'Remove Output Column': 'Remove Output Column', + 'Remove Rule': 'Remove Rule', + 'Set Value': 'Set Value', + 'Strings must be in double quotes.': 'Strings must be in double quotes.', + 'Type': 'Type' +}); + +/***/ }), + +/***/ "./client/bpmnjs-i18n-extension/languages/en/other.js": +/*!************************************************************!*\ + !*** ./client/bpmnjs-i18n-extension/languages/en/other.js ***! + \************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/** + * Copyright 2021 FlowSquad GmbH + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * This file contains translations that were used in other components. + */ +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ + 'Open minimap': 'Open minimap', + 'This maps to the process definition key.': 'This maps to the process definition key.', + 'Key': 'Key', + 'Intermediate Throw Event': 'Intermediate Throw Event', + 'End Event': 'End Event', + 'Message Start Event': 'Message Start Event', + 'Timer Start Event': 'Timer Start Event', + 'Conditional Start Event': 'Conditional Start Event', + 'Signal Start Event': 'Signal Start Event', + 'Expand (not reversible)': 'Expand (not reversible)', + 'ID': 'ID', + 'Start Event': 'Start Event', + 'Message End Event': 'Message End Event', + 'Escalation End Event': 'Escalation End Event', + 'Error End Event': 'Error End Event', + 'Compensation End Event': 'Compensation End Event', + 'Signal End Event': 'Signal End Event', + 'Terminate End Event': 'Terminate End Event', + 'Transaction': 'Transaction', + 'Event Sub Process': 'Event Sub Process', + 'Sub Process (collapsed)': 'Sub Process (collapsed)', + 'Close minimap': 'Close minimap', + 'Message Intermediate Catch Event': 'Message Intermediate Catch Event', + 'Message Intermediate Throw Event': 'Message Intermediate Throw Event', + 'Timer Intermediate Catch Event': 'Timer Intermediate Catch Event', + 'Escalation Intermediate Throw Event': 'Escalation Intermediate Throw Event', + 'Conditional Intermediate Catch Event': 'Conditional Intermediate Catch Event', + 'Link Intermediate Catch Event': 'Link Intermediate Catch Event', + 'Link Intermediate Throw Event': 'Link Intermediate Throw Event', + 'Compensation Intermediate Throw Event': 'Compensation Intermediate Throw Event', + 'Signal Intermediate Catch Event': 'Signal Intermediate Catch Event', + 'Signal Intermediate Throw Event': 'Signal Intermediate Throw Event', + 'Parallel Gateway': 'Parallel Gateway', + 'Inclusive Gateway': 'Inclusive Gateway', + 'Complex Gateway': 'Complex Gateway', + 'Event based Gateway': 'Event based Gateway', + 'Exclusive Gateway': 'Exclusive Gateway', + 'Send Task': 'Send Task', + 'Receive Task': 'Receive Task', + 'User Task': 'User Task', + 'Manual Task': 'Manual Task', + 'Business Rule Task': 'Business Rule Task', + 'Service Task': 'Service Task', + 'Script Task': 'Script Task', + 'Call Activity': 'Call Activity', + 'Sub Process (expanded)': 'Sub Process (expanded)', + 'Sub Process': 'Sub Process', + 'Task': 'Task', + 'This maps to the task definition key.': 'This maps to the task definition key.', + 'Collapsed Pool': 'Collapsed Pool', + 'Expanded Pool': 'Expanded Pool', + 'flow elements must be children of pools/participants': 'flow elements must be children of pools/participants', + 'The follow up date as an EL expression (e.g. ${someDate} or an ISO date (e.g. 2015-06-26T09:54:00)': 'The follow up date as an EL expression (e.g. ${someDate} or an ISO date (e.g. 2015-06-26T09:54:00)', + 'Message Boundary Event': 'Message Boundary Event', + 'Timer Boundary Event': 'Timer Boundary Event', + 'Escalation Boundary Event': 'Escalation Boundary Event', + 'Conditional Boundary Event': 'Conditional Boundary Event', + 'Error Boundary Event': 'Error Boundary Event', + 'Cancel Boundary Event': 'Cancel Boundary Event', + 'Signal Boundary Event': 'Signal Boundary Event', + 'Compensation Boundary Event': 'Compensation Boundary Event', + 'Message Boundary Event (non-interrupting)': 'Message Boundary Event (non-interrupting)', + 'Timer Boundary Event (non-interrupting)': 'Timer Boundary Event (non-interrupting)', + 'Escalation Boundary Event (non-interrupting)': 'Escalation Boundary Event (non-interrupting)', + 'Conditional Boundary Event (non-interrupting)': 'Conditional Boundary Event (non-interrupting)', + 'Signal Boundary Event (non-interrupting)': 'Signal Boundary Event (non-interrupting)', + 'Connect using Information/Knowledge/Authority Requirement or Association': 'Connect using Information/Knowledge/Authority Requirement or Association', + 'Empty': 'Empty', + 'Literal Expression': 'Literal Expression', + 'This maps to the decision definition key.': 'This maps to the decision definition key.', + 'Decision Table': 'Decision Table', + 'Output': 'Output', + 'Annotation': 'Annotation', + 'Output Expression': 'Output Expression', + 'Data Type': 'Data Type' +}); + +/***/ }), + +/***/ "./client/bpmnjs-i18n-extension/languages/en/properties-panel.js": +/*!***********************************************************************!*\ + !*** ./client/bpmnjs-i18n-extension/languages/en/properties-panel.js ***! + \***********************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/** + * Copyright 2021 FlowSquad GmbH + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * This file contains the translations used by the bpmn-js-properties-panel component. + */ +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ + 'Activity Ref': 'Activity Ref', + 'Add Constraint': 'Add Constraint', + 'Add Entry': 'Add Entry', + 'Add Property': 'Add Property', + 'Add Value': 'Add Value', + 'All': 'All', + 'Assignee': 'Assignee', + 'assignment': 'assignment', + 'Asynchronous After': 'Asynchronous After', + 'Asynchronous Before': 'Asynchronous Before', + 'Asynchronous Continuations': 'Asynchronous Continuations', + 'Binding': 'Binding', + 'Business Key': 'Business Key', + 'Business Key Expression': 'Business Key Expression', + 'CallActivity Type': 'CallActivity Type', + 'Called Element': 'Called Element', + 'Candidate Groups': 'Candidate Groups', + 'Candidate Starter Configuration': 'Candidate Starter Configuration', + 'Candidate Starter Groups': 'Candidate Starter Groups', + 'Candidate Starter Users': 'Candidate Starter Users', + 'Candidate Users': 'Candidate Users', + 'Case Ref': 'Case Ref', + 'Category Value': 'Category Value', + 'Class': 'Class', + 'Collection': 'Collection', + 'complete': 'complete', + 'Completion Condition': 'Completion Condition', + 'Condition': 'Condition', + 'Condition Type': 'Condition Type', + 'Config': 'Config', + 'Configure Connector': 'Configure Connector', + 'Connector': 'Connector', + 'Connector Id': 'Connector Id', + 'create': 'create', + 'Custom Fields': 'Custom Fields', + 'Custom Fields for scope: ': 'Custom Fields for scope: ', + 'Cycle': 'Cycle', + 'Date': 'Date', + 'Decision Ref': 'Decision Ref', + 'Default Value': 'Default Value', + 'Delegate Expression': 'Delegate Expression', + 'Delegate Variable Mapping': 'Delegate Variable Mapping', + 'delete': 'delete', + 'deployment': 'deployment', + 'Details': 'Details', + 'DMN': 'DMN', + 'Documentation': 'Documentation', + 'Due Date': 'Due Date', + 'Duration': 'Duration', + 'Element Documentation': 'Element Documentation', + 'Element must have an unique id.': 'Element must have an unique id.', + 'Element Template': 'Element Template', + 'Element Variable': 'Element Variable', + 'end': 'end', + 'Error': 'Error', + 'Error Code': 'Error Code', + 'Error Code Variable': 'Error Code Variable', + 'Error Message': 'Error Message', + 'Error Message Variable': 'Error Message Variable', + 'Error Name': 'Error Name', + 'Escalation': 'Escalation', + 'Escalation Code': 'Escalation Code', + 'Escalation Code Variable': 'Escalation Code Variable', + 'Escalation Name': 'Escalation Name', + 'Event Type': 'Event Type', + 'Exclusive': 'Exclusive', + 'Executable': 'Executable', + 'Execution Listener': 'Execution Listener', + 'Expression': 'Expression', + 'Extensions': 'Extensions', + 'External': 'External', + 'External Resource': 'External Resource', + 'External Task Configuration': 'External Task Configuration', + 'Field Injection': 'Field Injection', + 'Field Injections': 'Field Injections', + 'Fields': 'Fields', + 'Follow Up Date': 'Follow Up Date', + 'Form Field': 'Form Field', + 'Form Fields': 'Form Fields', + 'Form Key': 'Form Key', + 'Forms': 'Forms', + 'General': 'General', + 'History Configuration': 'History Configuration', + 'History Time To Live': 'History Time To Live', + 'Id': 'Id', + 'ID (process variable name)': 'ID (process variable name)', + 'Id must be a valid QName.': 'Id must be a valid QName.', + 'Id must not contain prefix.': 'Id must not contain prefix.', + 'Id must not contain spaces.': 'Id must not contain spaces.', + 'Implementation': 'Implementation', + 'Initiator': 'Initiator', + 'Inline Script': 'Inline Script', + 'In Mapping': 'In Mapping', + 'Input/Output': 'Input/Output', + 'Input Parameter': 'Input Parameter', + 'Input Parameters': 'Input Parameters', + 'Java Class': 'Java Class', + 'Job Configuration': 'Job Configuration', + 'Job Priority': 'Job Priority', + 'Label': 'Label', + 'latest': 'latest', + 'Link Name': 'Link Name', + 'List': 'List', + 'Listener Id': 'Listener Id', + 'Listeners': 'Listeners', + 'Listener Type': 'Listener Type', + 'Local': 'Local', + 'Loop Cardinality': 'Loop Cardinality', + 'Map': 'Map', + 'Map Decision Result': 'Map Decision Result', + 'Mapping must have a target': 'Mapping must have a target', + 'Mapping must have a value': 'Mapping must have a value', + 'Mapping must have a {value}': 'Mapping must have a {value}', + 'Message': 'Message', + 'Message Name': 'Message Name', + 'Multi Instance ': 'Multi Instance ', + 'Multi Instance': 'Multi Instance', + 'Must configure Connector': 'Must configure Connector', + 'Must have max length {length}': 'Must have max length {length}', + 'Must have min length {length}': 'Must have min length {length}', + 'Must match pattern {pattern}': 'Must match pattern {pattern}', + 'Must not be empty': 'Must not be empty', + 'Must provide a value': 'Must provide a value', + 'Must provide a value for timeout task listener': 'Must provide a value for timeout task listener', + 'Must provide either loop cardinality or collection': 'Must provide either loop cardinality or collection', + 'Name': 'Name', + 'Name must not contain spaces': 'Name must not contain spaces', + 'Out Mapping': 'Out Mapping', + 'Output Parameter': 'Output Parameter', + 'Output Parameters': 'Output Parameters', + 'Parameter must have a name': 'Parameter must have a name', + 'Parameters': 'Parameters', + 'Priority': 'Priority', + 'Process Documentation': 'Process Documentation', + 'Process Id': 'Process Id', + 'Process Name': 'Process Name', + 'Properties': 'Properties', + 'Resource': 'Resource', + 'Result Variable': 'Result Variable', + 'Retry Time Cycle': 'Retry Time Cycle', + 'Script': 'Script', + 'Script Format': 'Script Format', + 'Script Type': 'Script Type', + 'Signal': 'Signal', + 'Signal Name': 'Signal Name', + 'Source': 'Source', + 'Source Expression': 'Source Expression', + 'Specify more than one group as a comma separated list.': 'Specify more than one group as a comma separated list.', + 'Specify more than one user as a comma separated list.': 'Specify more than one user as a comma separated list.', + 'Specify more than one variable change event as a comma separated list.': 'Specify more than one variable change event as a comma separated list.', + 'start': 'start', + 'Startable': 'Startable', + 'String': 'String', + 'take': 'take', + 'Target': 'Target', + 'Target must not contain whitespace': 'Target must not contain whitespace', + 'Tasklist Configuration': 'Tasklist Configuration', + 'Task Listener': 'Task Listener', + 'Task Priority': 'Task Priority', + 'Tenant Id': 'Tenant Id', + 'Text': 'Text', + 'The due date as an EL expression (e.g. ${someDate} or an ISO date (e.g. 2015-06-26T09:54:00)': 'The due date as an EL expression (e.g. ${someDate} or an ISO date (e.g. 2015-06-26T09:54:00)', + 'timeout': 'timeout', + 'Timer Definition': 'Timer Definition', + 'Timer Definition Type': 'Timer Definition Type', + 'Topic': 'Topic', + 'Type': 'Type', + 'update': 'update', + 'Validation': 'Validation', + 'Value': 'Value', + 'Values': 'Values', + 'Variable Event': 'Variable Event', + 'Variable Name': 'Variable Name', + 'Variables': 'Variables', + 'version': 'version', + 'Version': 'Version', + 'versionTag': 'versionTag', + 'Version Tag': 'Version Tag', + 'Wait for Completion': 'Wait for Completion', + '[unknown template: {templateId}]': '[unknown template: {templateId}]', + '{label} must not contain whitespace': '{label} darf keine Leerzeichen enthalten' +}); + +/***/ }), + +/***/ "./client/bpmnjs-i18n-extension/languages/pt-br.js": +/*!*********************************************************!*\ + !*** ./client/bpmnjs-i18n-extension/languages/pt-br.js ***! + \*********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _pt_br_bpmn_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./pt-br/bpmn-js */ "./client/bpmnjs-i18n-extension/languages/pt-br/bpmn-js.js"); +/* harmony import */ var _pt_br_dmn_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./pt-br/dmn-js */ "./client/bpmnjs-i18n-extension/languages/pt-br/dmn-js.js"); +/* harmony import */ var _pt_br_properties_panel__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./pt-br/properties-panel */ "./client/bpmnjs-i18n-extension/languages/pt-br/properties-panel.js"); +/* harmony import */ var _pt_br_other__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./pt-br/other */ "./client/bpmnjs-i18n-extension/languages/pt-br/other.js"); +/** + * Copyright 2021 FlowSquad GmbH + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + + + +/** + * Joins and exports the translated strings. + */ + +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ ..._pt_br_bpmn_js__WEBPACK_IMPORTED_MODULE_0__.default, + ..._pt_br_dmn_js__WEBPACK_IMPORTED_MODULE_1__.default, + ..._pt_br_properties_panel__WEBPACK_IMPORTED_MODULE_2__.default, + ..._pt_br_other__WEBPACK_IMPORTED_MODULE_3__.default +}); + +/***/ }), + +/***/ "./client/bpmnjs-i18n-extension/languages/pt-br/bpmn-js.js": +/*!*****************************************************************!*\ + !*** ./client/bpmnjs-i18n-extension/languages/pt-br/bpmn-js.js ***! + \*****************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/** + * Copyright 2021 FlowSquad GmbH + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * This file contains the strings used in the bpmn-js module. + */ +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ + 'Append {type}': 'Adicionar {type}', + 'Add Lane above': 'Adicionar Raia acima', + 'Divide into two Lanes': 'Dividir em duas Raias', + 'Divide into three Lanes': 'Dividir em três Raias', + 'Add Lane below': 'Adicionar Raia abaixo', + 'Append ReceiveTask': 'Adicionar Atividade de Recebimento', + 'Append MessageIntermediateCatchEvent': 'Adicionar Evento Intermediário de Captura de Mensagem', + 'Append TimerIntermediateCatchEvent': 'Adicionar Evento Intermediário de Captura de Tempo', + 'Append ConditionIntermediateCatchEvent': 'Adicionar Evento Intermediário de Captura de Condição', + 'Append SignalIntermediateCatchEvent': 'Adicionar Evento Intermediário de Captura de Sinal', + 'Append compensation activity': 'Adicionar atividade de compensação', + 'Append EndEvent': 'Adicionar Evento Final', + 'Append Gateway': 'Adicionar Gateway', + 'Append Task': 'Adicionar Atividade', + 'Append Intermediate/Boundary Event': 'Adicionar Evento Intermediário ou de Borda', + 'Change type': 'Mudar tipo', + 'Connect using Association': 'Conectar usando Associação', + 'Connect using Sequence/MessageFlow or Association': 'Conectar usando Sequência/Fluxo de Mensagem, ou Associação', + 'Connect using DataInputAssociation': 'Conectar usando Associacao de Entrada de Dados', + 'Remove': 'Remover', + 'no shape type specified': 'nenhum tipo de forma especificado', + 'out of bounds release': 'solto fora da região delimitada', + 'more than {count} child lanes': 'mais que {count} raias filhas', + 'element required': 'elemento necessário', + 'no parent for {element} in {parent}': 'sem elemento pai para {element} em {parent}', + 'Create {type}': 'Criar {type}', + 'Activate the hand tool': 'Ativar ferramenta mão', + 'Activate the lasso tool': 'Ativar ferramenta laço', + 'Activate the create/remove space tool': 'Ativar ferramenta para criar/remover espaço', + 'Activate the global connect tool': 'Ativar ferramenta de conexão global', + 'Create StartEvent': 'Criar Evento de Início', + 'Create Intermediate/Boundary Event': 'Criar Evento Intermediário ou de Borda', + 'Create EndEvent': 'Criar Evento Final', + 'Create Gateway': 'Criar Gateway', + 'Create Task': 'Criar Atividade', + 'Create DataObjectReference': 'Criar Referência à Objeto de Dados', + 'Create DataStoreReference': 'Criar Referência à Armazenamento de Dados', + 'Create expanded SubProcess': 'Criar SubProcesso expandido', + 'Create Pool/Participant': 'Criar Piscina/Participante', + 'Create Group': 'Criar Grupo', + 'Parallel Multi Instance': 'Múltiplas Instâncias em Paralelo', + 'Sequential Multi Instance': 'Múltiplas Instâncias em Sequência', + 'Loop': 'Loop', + 'Ad-hoc': 'Ad-hoc', + 'element {element} referenced by {referenced}#{property} not yet drawn': 'elemento {element} referenciado por {referenced}#{property} ainda não renderizado', + 'unknown di {di} for element {semantic}': 'di desconhecido {di} para elemento {semantic}', + 'missing {semantic}#attachedToRef': 'faltando {semantic}#attachedToRef', + '{semantic}#{side} Ref not specified': '{semantic}#{side} Ref não especificada', + 'already rendered {element}': 'já renderizado {element}', + 'failed to import {element}': 'falha ao importar {element}', + 'multiple DI elements defined for {element}': 'múltiplos elementos DI definidos para {element}', + 'no bpmnElement referenced in {element}': 'nenhum bpmnElement referenciado em {element}', + 'diagram not part of bpmn:Definitions': 'diagrama não faz parte de bpmn:Definitions', + 'no diagram to display': 'nenhum diagrama para exibir', + 'no process or collaboration to display': 'nenhum processo ou colaboração para exibir', + 'correcting missing bpmnElement on {plane} to {rootElement}': 'corrigindo bpmnElement faltando no {plane} para {rootElement}', + 'unsupported bpmnElement for {plane}: {rootElement}': 'bpmnElement não suportado para {plane}: {rootElement}', + 'unrecognized flowElement {element} in context {context}': 'flowElement não reconhecido {element} no contexto {context}', + 'HELLO {you}!': 'OLÁ {you}!' +}); + +/***/ }), + +/***/ "./client/bpmnjs-i18n-extension/languages/pt-br/dmn-js.js": +/*!****************************************************************!*\ + !*** ./client/bpmnjs-i18n-extension/languages/pt-br/dmn-js.js ***! + \****************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/** + * Copyright 2021 FlowSquad GmbH + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * This file contains the translated strings used in the dmn-js component. + * However, notice that these strings are currently not working. We are + * still investigating how to apply them. + */ +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ + 'Activate the lasso tool': 'Ativar ferramenta laço', + 'Add Cell Description': 'Adicionar Descrição da Célula', + 'Add Input': 'Adicionar Entrada', + 'Add Input Column Left': 'Adicionar Coluna de Entrada à Esquerda', + 'Add Input Column Right': 'Adicionar Coluna de Entrada à Direita', + 'Add Output': 'Adicionar Saída', + 'Add Output Column Left': 'Adicionar Coluna de Saída à Esquerda', + 'Add Output Column Right': 'Adicionar Coluna de Saída à Direita', + 'Add Predefined Values': 'Adicionar Valores Pré-Definidos', + 'Add Rule Above': 'Adicionar Regra Acima', + 'Add Rule Below': 'Adicionar Regra Abaixo', + 'Add Values': 'Adicionar Valores', + 'And': 'E', + 'Annotations': 'Anotações', + 'Append {type}': 'Adicionar {type}', + 'cellInput': 'célula de Entrada', + 'Change Cell Expression Language': 'Mudar Lingugem de Expressão da Célula', + 'Change type': 'Mudar tipo', + 'Clear predefined values.': 'Limpar valores pré-definidos.', + 'Copy Input Column': 'Copiar Coluna de Entrada', + 'Copy Output Column': 'Copiar Coluna de Saída', + 'Copy Rule': 'Copiar Regra', + 'Create Decision': 'Criar Decisão', + 'Create Input Data': 'Criar Dado de Entrada', + 'Create Knowledge Model': 'Criar Modelo de Conhecimento', + 'Create Knowledge Source': 'Criar Origem de Conhecimento', + 'Cut Input Column': 'Recortar Coluna de Entrada', + 'Cut Output Column': 'Recortar Coluna de Saída', + 'Cut Rule': 'Recortar Regra', + 'Edit String': 'Editar String', + 'Expression': 'Expressão', + 'Expression Language': 'Linguagem de Expressão', + 'Input': 'Entrada', + 'Input Expression': 'Expressão de Entrada', + 'Input Label': 'Rótulo de Entrada', + 'Input Type': 'Tipo de Entrada', + 'Input Values': 'Valores de Entrada', + 'Input Variable': 'Variável de Entrada', + 'No values': 'Sem valores', + 'Output Label': 'Rótulo de Saída', + 'Output Name': 'Nome de Saída', + 'Output Type': 'Tipo de Saída', + 'Output Values': 'Valores de Saída', + 'Paste Input Column Left': 'Colar Coluna de Entrada à Esquerda', + 'Paste Input Column Right': 'Colar Coluna de Entrada à Direita', + 'Paste Output Column Left': 'Colar Coluna de Saída à Esquerda', + 'Paste Output Column Right': 'Colar Coluna de Saída à Direita', + 'Paste Rule Above': 'Colar Regra Acima', + 'Paste Rule Below': 'Colar Regra Abaixo', + 'Predefined Values': 'Valores Pré-Definidos', + 'Remove': 'Remover', + 'Remove Cell Description': 'Remover Descrição da Célula', + 'Remove Input Column': 'Remover Coluna de Entrada', + 'Remove Output Column': 'Remover Coluna de Saída', + 'Remove Rule': 'Remover Regra', + 'Set Value': 'Definir Valor', + 'Strings must be in double quotes.': 'Strings devem estar em aspas duplas.', + 'Type': 'Tipo' +}); + +/***/ }), + +/***/ "./client/bpmnjs-i18n-extension/languages/pt-br/other.js": +/*!***************************************************************!*\ + !*** ./client/bpmnjs-i18n-extension/languages/pt-br/other.js ***! + \***************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/** + * Copyright 2021 FlowSquad GmbH + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * This file contains translations that were used in other components. + */ +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ + 'Open minimap': 'Abrir mini-mapa', + 'This maps to the process definition key.': 'Aponta para a chave de definição do processo.', + 'Key': 'Chave', + 'Intermediate Throw Event': 'Evento Intermediário de Lançamento', + 'End Event': 'Evento Final', + 'Message Start Event': 'Evento de Início de Mensagem', + 'Timer Start Event': 'Evento de Início de Tempo', + 'Conditional Start Event': 'Evento de Início Condicional', + 'Signal Start Event': 'Evento de Início de Sinal', + 'Expand (not reversible)': 'Expandir (não reversível)', + 'ID': 'ID', + 'Start Event': 'Evento de Início', + 'Message End Event': 'Evento Final de Mensagem', + 'Escalation End Event': 'Evento Final de Escalação', + 'Error End Event': 'Evento Final de Erro', + 'Compensation End Event': 'Evento Final de Compensação', + 'Signal End Event': 'Evento Final de Sinal', + 'Terminate End Event': 'Evento Final de Terminação', + 'Transaction': 'Transação', + 'Event Sub Process': 'Evento de SubProcesso', + 'Sub Process (collapsed)': 'SubProcesso (colapsado)', + 'Close minimap': 'Fechar mini-mapa', + 'Message Intermediate Catch Event': 'Evento Intermediário de Captura de Mensagem', + 'Message Intermediate Throw Event': 'Evento Intermediário de Lançamento de Mensagem', + 'Timer Intermediate Catch Event': 'Evento Intermediário de Captura de Tempo', + 'Escalation Intermediate Throw Event': 'Evento Intermediário de Lançamento de Escalação', + 'Conditional Intermediate Catch Event': 'Evento Intermediário de Captura de Condição', + 'Link Intermediate Catch Event': 'Evento Intermediário de Captura de Link', + 'Link Intermediate Throw Event': 'Evento Intermediário de Lançamento de Línk', + 'Compensation Intermediate Throw Event': 'Evento Intermediário de Lançamento de Compensação', + 'Signal Intermediate Catch Event': 'Evento Intermediário de Captura de Sinal', + 'Signal Intermediate Throw Event': 'Evento Intermediário de Lançamento de Sinal', + 'Parallel Gateway': 'Gateway Paralelo', + 'Inclusive Gateway': 'Gateway Inclusivo', + 'Complex Gateway': 'Gateway Complexo', + 'Event based Gateway': 'Gateway de Evento', + 'Exclusive Gateway': 'Gateway Exclusivo', + 'Send Task': 'Atividade de Envio de Mensagem', + 'Receive Task': 'Atividade de Recebimento de Mensagem', + 'User Task': 'Atividade de Usuário', + 'Manual Task': 'Atividade Manual', + 'Business Rule Task': 'Atividade de Regra de Negócios', + 'Service Task': 'Atividade de Serviço', + 'Script Task': 'Atividade de Script', + 'Call Activity': 'Atividade de Chamada', + 'Sub Process (expanded)': 'Sub Processo (expandido)', + 'Sub Process': 'Sub Processo', + 'Task': 'Atividade', + 'This maps to the task definition key.': 'Aponta para a chave de definição da atividade.', + 'Collapsed Pool': 'Piscina Colapsada', + 'Expanded Pool': 'Piscina Expandida', + 'flow elements must be children of pools/participants': 'elementos do fluxo devem ser filhos de piscina/participante', + 'The follow up date as an EL expression (e.g. ${someDate} or an ISO date (e.g. 2015-06-26T09:54:00)': 'A data de acompanhamento é uma expressão EL (por exemplo: ${someDate} ou uma data ISO (por exemplo: 2015-06-26T09:54:00)', + 'Message Boundary Event': 'Evento de Borda de Mensagem', + 'Timer Boundary Event': 'Evento de Borda de Tempo', + 'Escalation Boundary Event': 'Evento de Borda de Escalação', + 'Conditional Boundary Event': 'Evento de Borda Condicional', + 'Error Boundary Event': 'Evento de Borda de Erro', + 'Cancel Boundary Event': 'Evento de Borda de Cancelamento', + 'Signal Boundary Event': 'Evento de Borda de Sinal', + 'Compensation Boundary Event': 'Evento de Borda de Compensação', + 'Message Boundary Event (non-interrupting)': 'Evento de Borda de Mensagem (sem interrupção)', + 'Timer Boundary Event (non-interrupting)': 'Evento de Borda de Tempo (sem interrupção)', + 'Escalation Boundary Event (non-interrupting)': 'Evento de Borda de Escalação (sem interrupção)', + 'Conditional Boundary Event (non-interrupting)': 'Evento de Borda Condicional (sem interrupção)', + 'Signal Boundary Event (non-interrupting)': 'Evento de Borda de Sinal (sem interrupção)', + 'Connect using Information/Knowledge/Authority Requirement or Association': 'Conecte usando Requerimento de Informação/Conhecimento/Autoridade ou Associação', + 'Empty': 'Vazio', + 'Literal Expression': 'Expressão Literal', + 'This maps to the decision definition key.': 'Aponta para a chave de definicão da decisão.', + 'Decision Table': 'Tabela de Decisão', + 'Output': 'Saída', + 'Annotation': 'Anotação', + 'Output Expression': 'Expressão de Saída', + 'Data Type': 'Tipo de Dado' +}); + +/***/ }), + +/***/ "./client/bpmnjs-i18n-extension/languages/pt-br/properties-panel.js": +/*!**************************************************************************!*\ + !*** ./client/bpmnjs-i18n-extension/languages/pt-br/properties-panel.js ***! + \**************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/** + * Copyright 2021 FlowSquad GmbH + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * This file contains the translations used by the bpmn-js-properties-panel component. + */ +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ + 'Activity Ref': 'Ref Atividade', + 'Add Constraint': 'Adicionar Restrição', + 'Add Entry': 'Adicionar Registro', + 'Add Property': 'Adicionar Propriedade', + 'Add Value': 'Adicionar Valor', + 'All': 'Tudo', + 'Assignee': 'Usuário Atribuído', + 'assignment': 'atribuição de usuário', + 'Asynchronous After': 'Assíncrono Após', + 'Asynchronous Before': 'Assíncrono Antes', + 'Asynchronous Continuations': 'Continuação Assíncrona', + 'Binding': 'Vínculo', + 'Business Key': 'Chave de Negócios', + 'Business Key Expression': 'Expressão da Chave de Negócios', + 'CallActivity Type': 'Tipo de Chamada de Atividade', + 'Called Element': 'Elemento Chamado', + 'Candidate Groups': 'Grupos Candidatos', + 'Candidate Starter Configuration': 'Configuração de Candidatos de Início', + 'Candidate Starter Groups': 'Grupos Candidatos de Início', + 'Candidate Starter Users': 'Usuários Candidatos de Início', + 'Candidate Users': 'Usuários Candidatos', + 'Case Ref': 'Ref Caso', + 'Category Value': 'Valor de Categoria', + 'Class': 'Classe', + 'Collection': 'Coleção', + 'complete': 'concluído', + 'Completion Condition': 'Condição de Conclusão', + 'Condition': 'Condição', + 'Condition Type': 'Tipo de Condição', + 'Config': 'Configuração', + 'Configure Connector': 'Configuração de Conector', + 'Connector': 'Conector', + 'Connector Id': 'Id Conector', + 'create': 'criar', + 'Custom Fields': 'Campos Customizados', + 'Custom Fields for scope: ': 'Campos Customizados para escopo: ', + 'Cycle': 'Ciclo', + 'Date': 'Data', + 'Decision Ref': 'Ref Decisão', + 'Default Value': 'Valor Padrão', + 'Delegate Expression': 'Expressão Delegada', + 'Delegate Variable Mapping': 'Mapeamento de Variáveis Delegadas', + 'delete': 'apagar', + 'deployment': 'implantação', + 'Details': 'Detalhes', + 'DMN': 'DMN', + 'Documentation': 'Documentação', + 'Due Date': 'Data de Vencimento', + 'Duration': 'Duração', + 'Element Documentation': 'Documentação do Elemento', + 'Element must have an unique id.': 'Elemento deve ter um id único.', + 'Element Template': 'Modelo de Elemento', + 'Element Variable': 'Variável de Elemento', + 'end': 'fim', + 'Error': 'Erro', + 'Error Code': 'Código do Erro', + 'Error Code Variable': 'Variável do Código de Erro', + 'Error Message': 'Mensagem de Erro', + 'Error Message Variable': 'Variável da Mensagem de Erro', + 'Error Name': 'Nome do Erro', + 'Escalation': 'Escalação', + 'Escalation Code': 'Código da Escalação', + 'Escalation Code Variable': 'Variável do Código de Escalação', + 'Escalation Name': 'Nome da Escalação', + 'Event Type': 'Tipo de Evento', + 'Exclusive': 'Exclusivo', + 'Executable': 'Executável', + 'Execution Listener': 'Listener de Execução', + 'Expression': 'Expressão', + 'Extensions': 'Extensões', + 'External': 'Externo', + 'External Resource': 'Recurso Externo', + 'External Task Configuration': 'Configuração de Tarefas Externas', + 'Field Injection': 'Injeção de Campo', + 'Field Injections': 'Injeção de Campos', + 'Fields': 'Campos', + 'Follow Up Date': 'Data de Acompanhamento', + 'Form Field': 'Campo de Formulário', + 'Form Fields': 'Campos de Formulário', + 'Form Key': 'Chave do Formulário', + 'Forms': 'Formulários', + 'General': 'Geral', + 'History Configuration': 'Configuração de Histórico', + 'History Time To Live': 'Tempo de Expiração do Histórico', + 'Id': 'Id', + 'ID (process variable name)': 'ID (nome da variável de processo)', + 'Id must be a valid QName.': 'Id deve ser um QName válido.', + 'Id must not contain prefix.': 'Id não deve conter prefixo.', + 'Id must not contain spaces.': 'Id não deve conter espaços.', + 'Implementation': 'Implementação', + 'Initiator': 'Iniciador', + 'Inline Script': 'Script Inline', + 'In Mapping': 'Mapeamento de Entrada', + 'Input/Output': 'Entrada/Saída', + 'Input Parameter': 'Parâmetro de Entrada', + 'Input Parameters': 'Parâmetros de Entrada', + 'Java Class': 'Classe Java', + 'Job Configuration': 'Configuração de Execução de Tarefa', + 'Job Priority': 'Prioridade de Execução de Tarefa', + 'Label': 'Rótulo', + 'latest': 'mais recente', + 'Link Name': 'Nome do Link', + 'List': 'Lista', + 'Listener Id': 'Id do Listener', + 'Listeners': 'Listeners', + 'Listener Type': 'Tipo do Listener', + 'Local': 'Local', + 'Loop Cardinality': 'Cardinalidade do Loop', + 'Map': 'Mapa', + 'Map Decision Result': 'Mapa de Resultado de Decisão', + 'Mapping must have a target': 'Mapeamento deve ter um destino', + 'Mapping must have a value': 'Mapeamento deve ter um valor', + 'Mapping must have a {value}': 'Mapeamento deve ter um {value}', + 'Message': 'Mensagem', + 'Message Name': 'Nome da Mensagem', + 'Multi Instance ': 'Múltiplas Instâncias ', + 'Multi Instance': 'Múltiplas Instâncias', + 'Must configure Connector': 'É necessário configurar o Conector', + 'Must have max length {length}': 'Deve ter tamanho máximo {length}', + 'Must have min length {length}': 'Deve ter tamanho mínimo {length}', + 'Must match pattern {pattern}': 'Deve ser match com padrão {pattern}', + 'Must not be empty': 'Não pode ser vazio', + 'Must provide a value': 'É necessário fornecer um valor', + 'Must provide a value for timeout task listener': 'É necessário fornecer um valor de timeout para o listener de atividade', + 'Must provide either loop cardinality or collection': 'É necessário fornecer a cardinalidade do loop ou coleção', + 'Name': 'Nome', + 'Name must not contain spaces': 'Nome não deve conter espaços', + 'Out Mapping': 'Mapeamento de Saída', + 'Output Parameter': 'Parâmetro de Saída', + 'Output Parameters': 'Parâmetros de Saída', + 'Parameter must have a name': 'Parâmetro deve ter um nome', + 'Parameters': 'Parâmetros', + 'Priority': 'Prioridade', + 'Process Documentation': 'Documentação do Processo', + 'Process Id': 'Id do Processo', + 'Process Name': 'Nome do Processo', + 'Properties': 'Propriedades', + 'Resource': 'Recurso', + 'Result Variable': 'Variável de Resultado', + 'Retry Time Cycle': 'Tempo para Tentar Novamente', + 'Script': 'Script', + 'Script Format': 'Formato do Script', + 'Script Type': 'Tipo do Script', + 'Signal': 'Sinal', + 'Signal Name': 'Nome do Sinal', + 'Source': 'Origem', + 'Source Expression': 'Expressão da Origem', + 'Specify more than one group as a comma separated list.': 'Especifique mais de um grupo numa lista separada por vírgulas.', + 'Specify more than one user as a comma separated list.': 'Especifique mais de um usuário numa lista separada por vírgulas.', + 'Specify more than one variable change event as a comma separated list.': 'Especifique mais de um evento de mudança de variável numa lista separada por vírgulas.', + 'start': 'início', + 'Startable': 'Iniciável', + 'String': 'String', + 'take': 'escolher', + 'Target': 'Destino', + 'Target must not contain whitespace': 'Destino não pode conter espaços', + 'Tasklist Configuration': 'Configuração de Lista de Tarefas', + 'Task Listener': 'Listener da Atividade', + 'Task Priority': 'Prioridade da Atividade', + 'Tenant Id': 'Id do Tenant', + 'Text': 'Texto', + 'The due date as an EL expression (e.g. ${someDate} or an ISO date (e.g. 2015-06-26T09:54:00)': 'A data de vencimento é uma expressão EL (por exemplo: ${someDate} ou uma data ISO (por exemplo: 2015-06-26T09:54:00)', + 'timeout': 'tempo de expiração', + 'Timer Definition': 'Definição de Tempo', + 'Timer Definition Type': 'Tipo de Definição de Tempo', + 'Topic': 'Tópico', + 'Type': 'Tipo', + 'update': 'atualizar', + 'Validation': 'Validação', + 'Value': 'Valor', + 'Values': 'Valores', + 'Variable Event': 'Evento Variável', + 'Variable Name': 'Nome Variável', + 'Variables': 'Variáveis', + 'version': 'versão', + 'Version': 'Versão', + 'versionTag': 'rótulo de versão', + 'Version Tag': 'Rótulo de Versão', + 'Wait for Completion': 'Esperar por Conclusão', + '[unknown template: {templateId}]': '[modelo desconhecido: {templateId}]', + '{label} must not contain whitespace': '{label} não deve conter espaços' +}); + +/***/ }), + +/***/ "./client/bpmnjs-i18n-extension/languages/ru.js": +/*!******************************************************!*\ + !*** ./client/bpmnjs-i18n-extension/languages/ru.js ***! + \******************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _ru_bpmn_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ru/bpmn-js */ "./client/bpmnjs-i18n-extension/languages/ru/bpmn-js.js"); +/* harmony import */ var _ru_dmn_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ru/dmn-js */ "./client/bpmnjs-i18n-extension/languages/ru/dmn-js.js"); +/* harmony import */ var _ru_properties_panel__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./ru/properties-panel */ "./client/bpmnjs-i18n-extension/languages/ru/properties-panel.js"); +/* harmony import */ var _ru_other__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ru/other */ "./client/bpmnjs-i18n-extension/languages/ru/other.js"); +/** + * Copyright 2021 FlowSquad GmbH + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + + + +/** + * Joins and exports the translated strings. + */ + +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ ..._ru_bpmn_js__WEBPACK_IMPORTED_MODULE_0__.default, + ..._ru_dmn_js__WEBPACK_IMPORTED_MODULE_1__.default, + ..._ru_properties_panel__WEBPACK_IMPORTED_MODULE_2__.default, + ..._ru_other__WEBPACK_IMPORTED_MODULE_3__.default +}); + +/***/ }), + +/***/ "./client/bpmnjs-i18n-extension/languages/ru/bpmn-js.js": +/*!**************************************************************!*\ + !*** ./client/bpmnjs-i18n-extension/languages/ru/bpmn-js.js ***! + \**************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/** + * Copyright 2021 FlowSquad GmbH + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * This file contains the strings used in the bpmn-js module. + */ +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ + 'Append {type}': 'Добавить {type}', + 'Add Lane above': 'Добавить дорожку выше', + 'Divide into two Lanes': 'Разделить на две дорожки', + 'Divide into three Lanes': 'Разделить на три дорожки', + 'Add Lane below': 'Добавить дорожку ниже', + 'Append ReceiveTask': 'Добавить задачу приема сообщения', + 'Append MessageIntermediateCatchEvent': 'Добавить промежуточное событие приема сообщения', + 'Append TimerIntermediateCatchEvent': 'Добавить промежуточное событие таймер', + 'Append ConditionIntermediateCatchEvent': 'Добавить промежуточное событие условие', + 'Append SignalIntermediateCatchEvent': 'Добавить промежуточное событие приема сигнала', + 'Append compensation activity': 'Добавить событийный подпроцесс', + 'Append EndEvent': 'Добавить конечное событие', + 'Append Gateway': 'Добавить шлюз', + 'Append Task': 'Добавить задачу', + 'Append Intermediate/Boundary Event': 'Добавить промежуточное/граничащее событие', + 'Append TextAnnotation': 'Добавить текстовую аннотацию', + 'Change type': 'Изменить тип', + 'Connect using Association': 'Соединить с помощью ассоциации', + 'Connect using Sequence/MessageFlow or Association': 'Соединить с помощью потока управления/сообщений или ассоциации', + 'Connect using DataInputAssociation': 'Соединить с помощью ассоциации', + 'Remove': 'Удалить', + 'no shape type specified': 'не указан тип фигуры', + 'out of bounds release': 'выход за пределы', + 'more than {count} child lanes': 'более {count} дочерних дорожек', + 'element required': 'обязательный элемент', + 'no parent for {element} in {parent}': 'нет родительского элемента для {element} в {parent}', + 'Create {type}': 'Создать {type}', + 'Activate the hand tool': 'Активировать инструмент свободного перемещения', + 'Activate the lasso tool': 'Активировать интрумент лассо', + 'Activate the create/remove space tool': 'Активировать инструмент создания/удаления пространства', + 'Activate the global connect tool': 'Активировать инструмент соединения', + 'Create StartEvent': 'Создать стартовое событие', + 'Create Intermediate/Boundary Event': 'Создать промежуточное/граничащее событие', + 'Create EndEvent': 'Создать конечное событие', + 'Create Gateway': 'Создать шлюз', + 'Create Task': 'Создать задачу', + 'Create DataObjectReference': 'Создать объект данных', + 'Create DataStoreReference': 'Создать хранилище данных', + 'Create expanded SubProcess': 'Создать встроенные подпроцесс', + 'Create Pool/Participant': 'Создать пул', + 'Create Group': 'Создать группу', + 'Parallel Multi Instance': 'Параллельный мультипроцесс', + 'Sequential Multi Instance': 'Последовательный мультипроцесс', + 'Loop': 'Цикл', + 'Ad-hoc': 'Ad-hoc', + 'element {element} referenced by {referenced}#{property} not yet drawn': 'элемент {element}, на который ссылается {referenced}#{property} еще не создан', + 'unknown di {di} for element {semantic}': 'неизвестная директория {di} для элемента {semantic}', + 'missing {semantic}#attachedToRef': 'потерянный {semantic}#attachedToRef', + '{semantic}#{side} Ref not specified': '{semantic}#{side} Ссылка не указана', + 'already rendered {element}': 'уже используемый {element}', + 'failed to import {element}': 'не удалось импортировать {element}', + 'multiple DI elements defined for {element}': 'несколько элементов DI, определенных для {element}', + 'no bpmnElement referenced in {element}': 'нет ссылки на элемент BPMN в {element}', + 'diagram not part of bpmn:Definitions': 'диаграмма не является частью bpmn:Definitions', + 'no diagram to display': 'нет диаграммы для отображения', + 'no process or collaboration to display': 'нет процесса или совместной процесса для отображения', + 'correcting missing bpmnElement on {plane} to {rootElement}': 'исправление отсутствующего элемента BPMN в {plane} для {rootElement}', + 'unsupported bpmnElement for {plane}: {rootElement}': 'неподдреживаемый элемент BPMN для {plane}: {rootElement}', + 'unrecognized flowElement {element} in context {context}': 'нераспознанный поток {element} в контексте {context}', + 'HELLO {you}!': 'ПРИВЕТ {you}!' +}); + +/***/ }), + +/***/ "./client/bpmnjs-i18n-extension/languages/ru/dmn-js.js": +/*!*************************************************************!*\ + !*** ./client/bpmnjs-i18n-extension/languages/ru/dmn-js.js ***! + \*************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/** + * Copyright 2021 FlowSquad GmbH + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * This file contains the translated strings used in the dmn-js component. + * However, notice that these strings are currently not working. We are + * still investigating how to apply them. + */ +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ + 'Activate the lasso tool': 'Активировать инструмент лассо', + 'Add Cell Description': 'Добавить описание ячейки', + 'Add Input': 'Добавить Ввод', + 'Add Input Column Left': 'Добавить столбец ввода слева', + 'Add Input Column Right': 'Добавить столбец ввода справа', + 'Add Output': 'Добавить Вывод', + 'Add Output Column Left': 'Добавить столбец вывода слева', + 'Add Output Column Right': 'Добавить столбец вывода справа', + 'Add Predefined Values': 'Добавить предопределённые значения', + 'Add Rule Above': 'Добавить правило выше', + 'Add Rule Below': 'Добавить правило ниже', + 'Add Values': 'Добавить значения', + 'And': 'И', + 'Annotations': 'Аннотации', + 'Append {type}': 'Добавить {type}', + 'cellInput': 'Ввод ячейки', + 'Change Cell Expression Language': 'Изменить язык выражения ячеек', + 'Change type': 'Изменить тип', + 'Clear predefined values.': 'Очистить предопределённые значения.', + 'Copy Input Column': 'Копировать столбец ввода', + 'Copy Output Column': 'Копировать столбец вывода', + 'Copy Rule': 'Копирвоать правило', + 'Create Decision': 'Создать решение', + 'Create Input Data': 'Создать входные данные', + 'Create Knowledge Model': 'Создать модель знаний', + 'Create Knowledge Source': 'Создать источник знаний', + 'Cut Input Column': 'Вырезать столбец ввода', + 'Cut Output Column': 'Вырезать столбец вывода', + 'Cut Rule': 'Вырезать правило', + 'Edit String': 'Изменить строку', + 'Expression': 'Выражение', + 'Expression Language': 'Язык выражений', + 'Input': 'Ввод', + 'Input Expression': 'Выражение ввода', + 'Input Label': 'Заголовок ввода', + 'Input Type': 'Тип ввода', + 'Input Values': 'Значения ввода', + 'Input Variable': 'Перменные ввода', + 'No values': 'Нет значений', + 'Output Label': 'Заголовок вывода', + 'Output Name': 'Наименование вывода', + 'Output Type': 'Тип вывода', + 'Output Values': 'Значения вывода', + 'Paste Input Column Left': 'Вставить столбец ввода слева', + 'Paste Input Column Right': 'Вставить столбец ввода справа', + 'Paste Output Column Left': 'Вставить столбец вывода слева', + 'Paste Output Column Right': 'Вставить столбец вывода справа', + 'Paste Rule Above': 'Вставить правило выше', + 'Paste Rule Below': 'Вставить правило ниже', + 'Predefined Values': 'Предопределённые значения', + 'Remove': 'Удалить', + 'Remove Cell Description': 'Удалить описание ячейки', + 'Remove Input Column': 'Удалить столбец ввода', + 'Remove Output Column': 'Удалить столбец вывода', + 'Remove Rule': 'Удалить правило', + 'Set Value': 'Установить значение', + 'Strings must be in double quotes.': 'Строки должны быть в двойных кавыках.', + 'Type': 'Тип' +}); + +/***/ }), + +/***/ "./client/bpmnjs-i18n-extension/languages/ru/other.js": +/*!************************************************************!*\ + !*** ./client/bpmnjs-i18n-extension/languages/ru/other.js ***! + \************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/** + * Copyright 2021 FlowSquad GmbH + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * This file contains translations that were used in other components. + */ +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ + 'Open minimap': 'Открыть миникарту', + 'This maps to the process definition key.': 'Это соответствует ключу процесса.', + 'Key': 'Ключ', + 'Intermediate Throw Event': 'Промежуточное событие отправления', + 'End Event': 'Конечное событие', + 'Message Start Event': 'Начально событие сообщение', + 'Timer Start Event': 'Начальное событие таймер', + 'Conditional Start Event': 'Начальное событие условие', + 'Signal Start Event': 'Начальное событие сигнал', + 'Expand (not reversible)': 'Расширение (необратимо)', + 'ID': 'ID', + 'Start Event': 'Начальное событие', + 'Message End Event': 'Конечное событие сообщение', + 'Escalation End Event': 'Конечнеое событие эскалация', + 'Error End Event': 'Конечное событие ошибка', + 'Compensation End Event': 'Конечное событие компенсация', + 'Signal End Event': 'конченое событие сигнал', + 'Terminate End Event': 'Конечное событие останов', + 'Transaction': 'Транзакция', + 'Event Sub Process': 'Событийный подпроцесс', + 'Sub Process (collapsed)': 'Подпроцесс (разрушеный)', + 'Close minimap': 'Закрыть миникарту', + 'Message Intermediate Catch Event': 'Промежуточное событие приема сообщения', + 'Message Intermediate Throw Event': 'Промежуточное событие отправки сообщения', + 'Timer Intermediate Catch Event': 'Промежуточное событие таймер', + 'Escalation Intermediate Throw Event': 'Промежуточное событие экалация', + 'Conditional Intermediate Catch Event': 'Промежуточное событие условие', + 'Link Intermediate Catch Event': 'Промежуточное событие приема ссылки', + 'Link Intermediate Throw Event': 'Промежуточное событие отправки ссылки', + 'Compensation Intermediate Throw Event': 'Промежуточное событие компенсация', + 'Signal Intermediate Catch Event': 'Промежуточное событие приема сигнала', + 'Signal Intermediate Throw Event': 'Промежуточное событие отправки сигнала', + 'Parallel Gateway': 'Параллельный шлюз', + 'Inclusive Gateway': 'Шлюз ИЛИ', + 'Complex Gateway': 'Сложный шлюз', + 'Event based Gateway': 'Событийный исключающий шлюз', + 'Exclusive Gateway': 'Исключающий шлюз', + 'Send Task': 'Задача отправки сообщения', + 'Receive Task': 'Задача приема сообщения', + 'User Task': 'Пользовательская задача', + 'Manual Task': 'Ручная операция', + 'Business Rule Task': 'Задача бизнес-правил', + 'Service Task': 'Сервисная задача', + 'Script Task': 'Задача-сценарий (скрипт)', + 'Call Activity': 'Вызывающее действие', + 'Sub Process (expanded)': 'Подпроцесс (расширенный)', + 'Sub Process': 'Подпроцесс', + 'Task': 'Задача', + 'This maps to the task definition key.': 'Это соответствует ключу задачи.', + 'Collapsed Pool': 'Разрушенный пул', + 'Expanded Pool': 'Расширенный пул', + 'flow elements must be children of pools/participants': 'элементы потока должны быть дочерними элементами пулов', + 'The follow up date as an EL expression (e.g. ${someDate} or an ISO date (e.g. 2015-06-26T09:54:00)': 'Дата последующего обновления в виде выражения EL (например, ${someDate} или дата в формате ISO (например, 2015-06-26T09:54:00)', + 'Message Boundary Event': 'Граничащее событие сообщение', + 'Timer Boundary Event': 'Граничащее событие таймер', + 'Escalation Boundary Event': 'Граничащее событие эскалация', + 'Conditional Boundary Event': 'Граничащее событие условие', + 'Error Boundary Event': 'Граничащее событие ошибка', + 'Cancel Boundary Event': 'Граничащее событие отмена', + 'Signal Boundary Event': 'Граничащее событие сигнал', + 'Compensation Boundary Event': 'Граничащее событие компенсация', + 'Message Boundary Event (non-interrupting)': 'Граничащее событие сообщение (непрерывное)', + 'Timer Boundary Event (non-interrupting)': 'Граничащее событие таймер (непрерывное)', + 'Escalation Boundary Event (non-interrupting)': 'Граничащее событие эскалация (непрерывное)', + 'Conditional Boundary Event (non-interrupting)': 'Граничащее событие компенсация (непрерывное)', + 'Signal Boundary Event (non-interrupting)': 'Граничащее событие сигнал (непрерывное)', + 'Connect using Information/Knowledge/Authority Requirement or Association': 'Подключение с использованием Информации/Знаний/Авторитетных требований или Ассоциации', + 'Empty': 'Пусто', + 'Literal Expression': 'Буквенное выражение', + 'This maps to the decision definition key.': 'Это соответствует ключу решение.', + 'Decision Table': 'Таблица решений', + 'Output': 'Выход', + 'Annotation': 'Аннотация', + 'Output Expression': 'Выходное выражение', + 'Data Type': 'Тип данных', + 'Create new BPMN Diagram (Camunda Platform)': 'Создать новую BPMN диграмму (Camunda Platform)' +}); + +/***/ }), + +/***/ "./client/bpmnjs-i18n-extension/languages/ru/properties-panel.js": +/*!***********************************************************************!*\ + !*** ./client/bpmnjs-i18n-extension/languages/ru/properties-panel.js ***! + \***********************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/** + * Copyright 2021 FlowSquad GmbH + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * This file contains the translations used by the bpmn-js-properties-panel component. + */ +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ + 'Activity Ref': 'Ссылка на активность', + 'Add Constraint': 'Добавить ограничения', + 'Add Entry': 'Добавить запись', + 'Add Property': 'Добавить свойство', + 'Add Value': 'Добавить значение', + 'All': 'Все', + 'Assignee': 'Представитель', + 'assignment': 'назначение', + 'Asynchronous After': 'Асинхронный после', + 'Asynchronous Before': 'Асинхронный до', + 'Asynchronous Continuations': 'Асинхронные возобновления', + 'Binding': 'Связь', + 'Business Key': 'Бизнес-ключ', + 'Business Key Expression': 'Выражение бизнес-ключа', + 'CallActivity Type': 'Тип действия вызова', + 'Called Element': 'Вызванный элемент', + 'Candidate Groups': 'Кандидат групп', + 'Candidate Starter Configuration': 'Начальная конфигурация кандидата', + 'Candidate Starter Groups': 'Начальные группы кандидата', + 'Candidate Starter Users': 'Начальные пользователи кандидата', + 'Candidate Users': 'Кандидат пользователей', + 'Case Ref': 'Ссылка на кейс', + 'Category Value': 'Категория значения', + 'Class': 'Класс', + 'Collection': 'Коллекция', + 'complete': 'выполнить', + 'Completion Condition': 'Условие завершения', + 'Condition': 'Условие', + 'Condition Type': 'Тип условия', + 'Config': 'Конфигурация', + 'Configure Connector': 'Настроить соединитель', + 'Connector': 'Соединитель', + 'Connector Id': 'Соединитель Id', + 'create': 'создать', + 'Custom Fields': 'Пользовательские поля', + 'Custom Fields for scope: ': 'Пользовательские поля для области действия: ', + 'Cycle': 'Цикл', + 'Date': 'Дата', + 'Decision Ref': 'Ссылка на решение', + 'Default Value': 'Значение по умолчанию', + 'Delegate Expression': 'Выражение делегата', + 'Delegate Variable Mapping': 'Делегация сопоставляемых перменных', + 'delete': 'удалить', + 'deployment': 'развёртывание', + 'Details': 'Детали', + 'DMN': 'DMN', + 'Documentation': 'Документация', + 'Due Date': 'Срок сдачи', + 'Duration': 'Длительность', + 'Element Documentation': 'Элемент документации', + 'Element must have an unique id.': 'Элемент должен иметь уникальный ID.', + 'Element Template': 'Элемент шаблона', + 'Element Variable': 'Элемент переменной', + 'end': 'конец', + 'Error': 'Ошибка', + 'Error Code': 'Код ошибки', + 'Error Code Variable': 'Код ошибки перменной', + 'Error Message': 'Сообщение об ошибке', + 'Error Message Variable': 'Сообщение об ошибке переменной', + 'Error Name': 'Название ошибки', + 'Escalation': 'Эскалация', + 'Escalation Code': 'Код эскалации', + 'Escalation Code Variable': 'Код эскалации переменной', + 'Escalation Name': 'Название эскалации', + 'Event Type': 'Тип события', + 'Exclusive': 'Эксклюзивный', + 'Executable': 'Исполняемый', + 'Execution Listener': 'Слушатель выполнения', + 'Expression': 'Выражение', + 'Extensions': 'Расширения', + 'External': 'Внешний', + 'External Resource': 'Внешний ресурс', + 'External Task Configuration': 'Конфигурация внешней задачи', + 'Field Injection': 'Поля для вставки', + 'Field Injections': 'Поля для вставки', + 'Fields': 'Поля', + 'Follow Up Date': 'Дата обновления', + 'Form Field': 'Поле формы', + 'Form Fields': 'Поля формы', + 'Form Key': 'Ключ формы', + 'Forms': 'Формы', + 'General': 'Общий', + 'History Configuration': 'История конфигурации', + 'History Time To Live': 'Время жизни истории', + 'Id': 'Id', + 'ID (process variable name)': 'ID (название переменной процесса)', + 'Id must be a valid QName.': 'Id должен быть QName.', + 'Id must not contain prefix.': 'Id не должен содеражть префикс.', + 'Id must not contain spaces.': 'Id не должен содеражть пробелов.', + 'Implementation': 'Реализация', + 'Initiator': 'Инициатор', + 'Inline Script': 'Встроенный скрипт', + 'In Mapping': 'Соответствие на вход', + 'Input/Output': 'Ввод/Вывод', + 'Input Parameter': 'Входной параметр', + 'Input Parameters': 'Входные параметры', + 'Java Class': 'Класс Java', + 'Job Configuration': 'Конфигурация задания', + 'Job Priority': 'Очерёдность задания', + 'Label': 'Заголовок', + 'latest': 'последний', + 'Link Name': 'Link Name', + 'List': 'List', + 'Listener Id': 'Слушатель Id', + 'Listeners': 'Слушатели', + 'Listener Type': 'Тип слушателя', + 'Local': 'Локальный', + 'Loop Cardinality': 'Количество повторений цикла', + 'Map': 'Map', + 'Map Decision Result': 'Результат решения Map', + 'Mapping must have a target': 'Соответствие должно иметь цель', + 'Mapping must have a value': 'Соответствие должно иметь значение', + 'Mapping must have a {value}': 'Соответствие должно иметь {value}', + 'Message': 'Сообщение', + 'Message Name': 'Название сообщения', + 'Multi Instance ': 'Мультиэкземпляр ', + 'Multi Instance': 'Мультиэкземпляр', + 'Must configure Connector': 'Необходимо настроить коннектор', + 'Must have max length {length}': 'Должно иметь максимальную длину {length}', + 'Must have min length {length}': 'Должно иметь минимальную длину {length}', + 'Must match pattern {pattern}': 'Должно соответствовать образцу {pattern}', + 'Must not be empty': 'Не должно быть пустым', + 'Must provide a value': 'Должно быть указано значение', + 'Must provide a value for timeout task listener': 'Необходимо указать значение для тайм-аута слушиателя задачи.', + 'Must provide either loop cardinality or collection': 'Должен обеспечивать либо кардинальность цикла, либо коллекцию.', + 'Name': 'Имя', + 'Name must not contain spaces': 'Имя не должно содержать пробелов', + 'Out Mapping': 'Соответствие на выход', + 'Output Parameter': 'Выходной параметр', + 'Output Parameters': 'Выходные параметры', + 'Parameter must have a name': 'У параметра должно быть имя', + 'Parameters': 'Параметры', + 'Priority': 'Очередность', + 'Process Documentation': 'Документация процесса', + 'Process Id': 'Id процесса', + 'Process Name': 'Имя процесса', + 'Properties': 'Характеристики', + 'Resource': 'Ресурс', + 'Result Variable': 'Переменная результата', + 'Retry Time Cycle': 'Цикл времени повтора', + 'Script': 'Скрипт', + 'Script Format': 'Формат скрипта', + 'Script Type': 'Тип скрипта', + 'Signal': 'Сигнал', + 'Signal Name': 'Имя сигнала', + 'Source': 'Источник', + 'Source Expression': 'Исходное выражение', + 'Specify more than one group as a comma separated list.': 'Укажите несколько групп в виде списка, разделенного запятыми.', + 'Specify more than one user as a comma separated list.': 'Укажите более одного пользователя в виде списка, разделенного запятыми.', + 'Specify more than one variable change event as a comma separated list.': 'Укажите более одного события изменения переменной в виде списка, разделенного запятыми.', + 'start': 'старт', + 'Startable': 'Запускаемый', + 'String': 'String', + 'take': 'взятие', + 'Target': 'Цель', + 'Target must not contain whitespace': 'Цель не должна задержать пробелы', + 'Tasklist Configuration': 'Конфигурация списка задач', + 'Task Listener': 'Слушатель задач', + 'Task Priority': 'Очередность задачи', + 'Tenant Id': 'Tenant Id', + 'Text': 'Текст', + 'The due date as an EL expression (e.g. ${someDate} or an ISO date (e.g. 2015-06-26T09:54:00)': 'Срок выполнения в виде выражения EL (например, ${someDate} или дата в формате ISO (например, 2015-06-26T09:54:00)', + 'timeout': 'тайм-аут', + 'Timer Definition': 'Определение таймера', + 'Timer Definition Type': 'Тип определения таймера', + 'Topic': 'Тема', + 'Type': 'Тип', + 'update': 'обновление', + 'Validation': 'Проверка', + 'Value': 'Значение', + 'Values': 'Значения', + 'Variable Event': 'Переменное событие', + 'Variable Name': 'Имя переменной', + 'Variables': 'Переменные', + 'version': 'версия', + 'Version': 'Версия', + 'versionTag': 'тегВерсии', + 'Version Tag': 'Тег версии', + 'Wait for Completion': 'Дождитесь завершения', + '[unknown template: {templateId}]': '[неизвествный шаблон: {templateId}]', + '{label} must not contain whitespace': '{label} должен быть без пробелов', + 'Camunda Forms': 'Формы Camunda', + 'Form Ref': 'Ссылка на форму', + 'Embedded or External Task Forms': 'Встроенные или внешние формы задач', + 'Local Variable Name': 'Имя локальной переменной', + 'Variable Assignment Type': 'Тип переменной', + 'Variable Assignment Value': 'Значение переменной', + 'Process Variable Name': 'Имя переменной процесса', + 'Start typing "${}" to create an expression.': 'Начните вводить «${}», чтобы создать выражение.', + 'String or Expression': 'String или выражение', + 'No variables defined.': 'Переменные не определены.', + 'Available process variables, identified in the diagram.': 'Доступные переменные процесса, указанные на диаграмме.', + 'No variables found.': 'Переменные не найдены.' +}); + +/***/ }), + +/***/ "./client/bpmnjs-i18n-extension/languages/zh-Hans.js": +/*!***********************************************************!*\ + !*** ./client/bpmnjs-i18n-extension/languages/zh-Hans.js ***! + \***********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _zh_Hans_bpmn_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./zh-Hans/bpmn-js */ "./client/bpmnjs-i18n-extension/languages/zh-Hans/bpmn-js.js"); +/* harmony import */ var _zh_Hans_dmn_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./zh-Hans/dmn-js */ "./client/bpmnjs-i18n-extension/languages/zh-Hans/dmn-js.js"); +/* harmony import */ var _zh_Hans_properties_panel__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./zh-Hans/properties-panel */ "./client/bpmnjs-i18n-extension/languages/zh-Hans/properties-panel.js"); +/* harmony import */ var _zh_Hans_other__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./zh-Hans/other */ "./client/bpmnjs-i18n-extension/languages/zh-Hans/other.js"); +/** + * Copyright 2021 FlowSquad GmbH + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + + + +/** + * Joins and exports the translated strings. + */ + +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ ..._zh_Hans_bpmn_js__WEBPACK_IMPORTED_MODULE_0__.default, + ..._zh_Hans_dmn_js__WEBPACK_IMPORTED_MODULE_1__.default, + ..._zh_Hans_properties_panel__WEBPACK_IMPORTED_MODULE_2__.default, + ..._zh_Hans_other__WEBPACK_IMPORTED_MODULE_3__.default +}); + +/***/ }), + +/***/ "./client/bpmnjs-i18n-extension/languages/zh-Hans/bpmn-js.js": +/*!*******************************************************************!*\ + !*** ./client/bpmnjs-i18n-extension/languages/zh-Hans/bpmn-js.js ***! + \*******************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/** + * Copyright 2021 FlowSquad GmbH + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * This file contains the strings used in the bpmn-js module. + */ +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ + 'Append {type}': '追加 {type}', + 'Add Lane above': '在上方添加泳道', + 'Divide into two Lanes': '拆分成两条泳道', + 'Divide into three Lanes': '拆分成三条泳道', + 'Add Lane below': '在下方添加泳道', + 'Append ReceiveTask': '追加接收任务', + 'Append MessageIntermediateCatchEvent': '追加消息中间捕获事件', + 'Append TimerIntermediateCatchEvent': '追加时间中间捕获事件', + 'Append ConditionIntermediateCatchEvent': '追加条件中间捕获事件', + 'Append SignalIntermediateCatchEvent': '追加信号中间捕获事件', + 'Append compensation activity': '追加补偿活动', + 'Append EndEvent': '追加结束事件', + 'Append Gateway': '追加网关', + 'Append Task': '追加任务', + 'Append TextAnnotation': '追加文本描述', + 'TextAnnotation': '文本描述', + 'Append Intermediate/Boundary Event': '追加中间/边界事件', + 'Change type': '改变类型', + 'Default Flow': '默认连线', + 'Connect using Association': '使用关联连接', + 'Connect using Sequence/MessageFlow or Association': '使用序列/消息流或关联进行连接', + 'Connect using DataInputAssociation': '使用数据输入关联进行连接', + 'Remove': '删除', + 'no shape type specified': '未指定形状类型', + 'out of bounds release': '越界释放', + 'more than {count} child lanes': '超过 {count} 个子泳道', + 'element required': '所需元素', + 'no parent for {element} in {parent}': '{parent}中的{element}没有父元素', + 'Create {type}': '创建{type}', + 'Activate the hand tool': '激活手动工具', + 'Activate the lasso tool': '激活套索工具', + 'Activate the create/remove space tool': '激活创建/删除空间工具', + 'Activate the global connect tool': '激活全局连接工具', + 'Create StartEvent': '创建开始事件', + 'Create Intermediate/Boundary Event': '创建中间/边界事件', + 'Create EndEvent': '创建结束事件', + 'Create Gateway': '创建网关', + 'Create Task': '创建任务', + 'Create DataObjectReference': '创建数据对象引用', + 'Create DataStoreReference': '创建数据存储引用', + 'Create expanded SubProcess': '创建展开子流程', + 'Create Pool/Participant': '创建泳池/参与者', + 'Create Group': '创建组', + 'Parallel Multi Instance': '并行多实例', + 'Sequential Multi Instance': '串行多实例', + 'Loop': '循环', + 'Ad-hoc': '临时的', + 'element {element} referenced by {referenced}#{property} not yet drawn': '由{referenced}{property}引用的元素{element}尚未绘制', + 'unknown di {di} for element {semantic}': '元素{semantic}的未知di{di}', + 'missing {semantic}#attachedToRef': '缺少{semantic}的附加到引用', + '{semantic}#{side} Ref not specified': '未指定{semantic}的{side}引用', + 'already rendered {element}': '已呈现 {element}', + 'failed to import {element}': '无法导入 {element}', + 'multiple DI elements defined for {element}': '{element}定义了多个DI元素', + 'no bpmnElement referenced in {element}': '{element}中没有引用bpmn元素', + 'diagram not part of bpmn:Definitions': '流程图不属于bpmn:Definitions', + 'no diagram to display': '没有要显示的流程图', + 'no process or collaboration to display': '没有要显示的流程或协作', + 'correcting missing bpmnElement on {plane} to {rootElement}': '正在将{plane}上缺少的bpmn元素更正为{rootElement}', + 'unsupported bpmnElement for {plane}: {rootElement}': '{plane}:{rootElement}的bpmn元素不受支持', + 'unrecognized flowElement {element} in context {context}': '上下文{context}中无法识别的流程元素{element}', + 'HELLO {you}!': '你好 {you}!' +}); + +/***/ }), + +/***/ "./client/bpmnjs-i18n-extension/languages/zh-Hans/dmn-js.js": +/*!******************************************************************!*\ + !*** ./client/bpmnjs-i18n-extension/languages/zh-Hans/dmn-js.js ***! + \******************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/** + * Copyright 2021 FlowSquad GmbH + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * This file contains the translated strings used in the dmn-js component. + * However, notice that these strings are currently not working. We are + * still investigating how to apply them. + */ +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ + /*'Activate the lasso tool': '激活套索工具',*/ + 'Add Cell Description': '添加单元格描述', + 'Add Input': '添加输入', + 'Add Input Column Left': '向左添加输入列', + 'Add Input Column Right': '向右添加输入列', + 'Add Output': '添加输出', + 'Add Output Column Left': '向左添加输出列', + 'Add Output Column Right': '向右添加输出列', + 'Add Predefined Values': '添加预定义值', + 'Add Rule': '添加规则', + 'Add Rule Above': '在上方添加规则', + 'Add Rule Below': '在下方添加规则', + 'Add Values': '添加值', + 'Append Decision': '追加决策', + 'Append Knowledge Source': '追加知识源', + 'Append Business Knowledge Model': '追加知识模型', + 'Append Input Data': '追加输入数据', + 'And': '并且', + 'Annotations': '注释', + + /*'Append {type}': '追加 {type}',*/ + 'cellInput': '输入单元格', + 'Change Cell Expression Language': '更改单元格表达式语言', + + /*'Change type': '修改类型',*/ + 'Clear predefined values.': '清除预定义值。', + 'Copy Input Column': '复制输入列', + 'Copy Output Column': '复制输出列', + 'Copy Rule': '复制规则', + 'Create Decision': '创建决策', + 'Create Input Data': '创建输入数据', + 'Create Knowledge Model': '创建知识模型', + 'Create Knowledge Source': '创建知识源', + 'Cut Input Column': '剪切输入列', + 'Cut Output Column': '剪切输出列', + 'Cut Rule': '剪切规则', + 'Edit String': '编辑字符串', + 'Expression': '表达式', + 'Expression Language': '表达式语言', + 'Input': '输入', + 'input': '输入', + 'Input Expression': '输入表达式', + 'Input Label': '输入标签', + 'Input Type': '输入类型', + 'Input Values': '输入值', + 'Input Variable': '输入变量', + 'No values': '没有值', + 'Output Label': '输出标签', + 'Output Name': '输出名称', + 'Output Type': '输出类型', + 'Output Values': '输出值', + 'Paste Input Column Left': '向左粘贴输入列', + 'Paste Input Column Right': '向右粘贴输入列', + 'Paste Output Column Left': '向左粘贴输出列', + 'Paste Output Column Right': '向右粘贴输出列', + 'Paste Rule Above': '在上方粘贴规则', + 'Paste Rule Below': '在下方粘贴规则', + 'Predefined Values': '预定义值', + + /*'Remove': '删除',*/ + 'Remove Cell Description': '删除单元格描述', + 'Remove Input Column': '删除输入列', + 'Remove Output Column': '删除输出列', + 'Remove Rule': '删除规则', + 'Set Value': '设定值', + 'Strings must be in double quotes.': '字符串必须使用双引号。', + + /*'Type': '类型',*/ + 'Edit DRD': "编辑DRD", + "Close OverView": "关闭预览", + "Open OverView": "打开预览", + "Hit Policy": "命中策略", + "When": "当", + "Then": "然后", + "enterExpression": "请输入表达式", + "Move Input": "移动输入", + "Move Output": "移动输出" +}); + +/***/ }), + +/***/ "./client/bpmnjs-i18n-extension/languages/zh-Hans/other.js": +/*!*****************************************************************!*\ + !*** ./client/bpmnjs-i18n-extension/languages/zh-Hans/other.js ***! + \*****************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/** + * Copyright 2021 FlowSquad GmbH + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * This file contains translations that were used in other components. + */ +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ + 'Open minimap': '打开缩略图', + 'This maps to the process definition key.': '映射为流程定义Key.', + 'Key': 'Key', + 'Intermediate Throw Event': '中间抛出事件', + 'End Event': '结束事件', + 'Message Start Event': '消息开始事件', + 'Timer Start Event': '时间开始事件', + 'Conditional Start Event': '条件开始事件', + 'Signal Start Event': '信号开始事件', + 'Expand (not reversible)': '展开 (不可逆)', + 'ID': 'ID', + 'Start Event': '开始事件', + 'Message End Event': '消息结束事件', + 'Escalation End Event': '升级结束事件', + 'Error End Event': '错误结束事件', + 'Compensation End Event': '补偿结束事件', + 'Signal End Event': '信号结束时间', + 'Terminate End Event': '终止结束事件', + 'Transaction': '事务', + 'Event Sub Process': '事件子流程', + 'Sub Process (collapsed)': '子流程 (折叠)', + 'Close minimap': '收起缩略图', + 'Message Intermediate Catch Event': '消息中间捕获事件', + 'Message Intermediate Throw Event': '消息中间抛出事件', + 'Timer Intermediate Catch Event': '时间中间捕获事件', + 'Escalation Intermediate Throw Event': '升级中间抛出事件', + 'Conditional Intermediate Catch Event': '条件中间捕获事件', + 'Link Intermediate Catch Event': '链接中间捕获事件', + 'Link Intermediate Throw Event': '链接中间抛出事件', + 'Compensation Intermediate Throw Event': '补偿中间抛出事件', + 'Signal Intermediate Catch Event': '信号中间捕获事件', + 'Signal Intermediate Throw Event': '信号中间抛出事件', + 'Parallel Gateway': '并行网关', + 'Inclusive Gateway': '包容网关', + 'Complex Gateway': '复杂网关', + 'Event based Gateway': '事件网关', + 'Exclusive Gateway': '排它网关', + 'Send Task': '发送任务', + 'Receive Task': '接收任务', + 'User Task': '人工任务', + 'Manual Task': '手工任务', + 'Business Rule Task': '业务规则任务', + 'Service Task': '服务任务', + 'Script Task': '脚本任务', + 'Call Activity': '调用活动', + 'Sub Process (expanded)': '子流程 (展开)', + 'Sub Process': '子流程', + 'Task': '任务', + 'This maps to the task definition key.': '映射为任务定义Key.', + 'Collapsed Pool': '折叠泳道', + 'Expanded Pool': '展开泳道', + 'flow elements must be children of pools/participants': '流程元素必须是泳池/参与者的子元素', + 'The follow up date as an EL expression (e.g. ${someDate} or an ISO date (e.g. 2015-06-26T09:54:00)': '跟进日期可为EL表达式(例如${someDate}或ISO日期(例如2015-06-26T09:54:00)', + 'Message Boundary Event': '消息边界事件', + 'Timer Boundary Event': '时间边界事件', + 'Escalation Boundary Event': '升级边界事件', + 'Conditional Boundary Event': '条件边界事件', + 'Error Boundary Event': '错误边界事件', + 'Cancel Boundary Event': '取消边界事件', + 'Signal Boundary Event': '信号边界事件', + 'Compensation Boundary Event': '补偿边界事件', + 'Message Boundary Event (non-interrupting)': '消息边界事件(非中断)', + 'Timer Boundary Event (non-interrupting)': '时间边界事件(非中断)', + 'Escalation Boundary Event (non-interrupting)': '升级边界事件 (非中断)', + 'Conditional Boundary Event (non-interrupting)': '条件边界事件 (非中断)', + 'Signal Boundary Event (non-interrupting)': '信号边界事件 (非中断)', + 'Connect using Information/Knowledge/Authority Requirement or Association': '使用信息/知识/权限要求或关联进行连接', + 'Empty': '空', + 'Literal Expression': '文字表达式', + 'This maps to the decision definition key.': '映射为决策定义Key。', + 'Decision Table': '决策表', + 'Output': '输出', + 'Annotation': '注释', + 'Output Expression': '输出表达式', + 'Data Type': '数据类型', + 'Copy': '复制', + 'Paste': '粘贴', + 'Template': '模版', + 'Errors': '错误', + 'No errors defined.': '没有定义错误。' +}); + +/***/ }), + +/***/ "./client/bpmnjs-i18n-extension/languages/zh-Hans/properties-panel.js": +/*!****************************************************************************!*\ + !*** ./client/bpmnjs-i18n-extension/languages/zh-Hans/properties-panel.js ***! + \****************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/** + * Copyright 2021 FlowSquad GmbH + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * This file contains the translations used by the bpmn-js-properties-panel component. + */ +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ + 'Activity Ref': '活动参考', + 'Add Constraint': '添加约束', + 'Add Entry': '添加条目', + 'Add Property': '添加属性', + 'Add Value': '添加值', + 'All': '所有', + 'Available process variables, identified in the diagram.': '图中标识的可用流程变量。', + 'Assignee': '处理人', + 'assignment': '分配', + 'Asynchronous After': '异步后', + 'Asynchronous Before': '异步前', + 'Asynchronous Continuations': '异步延续', + 'Binding': '绑定', + 'Business Key': '业务主键', + 'Business Key Expression': '业务主键表达式', + 'CallActivity Type': '调用活动类型', + 'Called Element': '被调元素', + 'Candidate Groups': '候选组', + 'Candidate Starter Configuration': '候选发起配置', + 'Candidate Starter Groups': '候选发起用户组', + 'Candidate Starter Users': '候选发起用户', + 'Candidate Users': '候选人', + 'Case Ref': '案例参考', + 'Category Value': '类别值', + 'Class': '类', + 'Collection': '集合', + 'complete': '完成', + 'Completion Condition': '完成条件', + 'Condition': '条件', + 'Condition Type': '条件类型', + 'Config': '配置', + 'Configure Connector': '配置连接器', + 'Connector': '连接器', + 'Connector Id': '连接器Id', + 'create': '创建', + 'Custom Fields': '自定义字段', + 'Custom Fields for scope: ': '自定义字段范围: ', + 'Cycle': '循环', + 'Date': '日期', + 'Decision Ref': '决策参考', + 'Default Value': '默认值', + 'Delegate Expression': '委托表达式', + 'Delegate Variable Mapping': '委托变量映射', + 'delete': '删除', + 'deployment': '部署', + 'Details': '详情', + 'DMN': 'DMN', + 'Documentation': '文档', + 'Due Date': '截止日期', + 'Duration': '持续时间', + 'Element Documentation': '元素文档', + 'Element must have an unique id.': '元素Id必须唯一.', + 'Element Template': '元素模版', + 'Element Variable': '元素变量', + 'end': '结束', + 'Error': '错误', + 'Error Code': '错误代码', + 'Error Code Variable': '错误代码变量', + 'Error Message': '错误消息', + 'Error Message Variable': '错误消息变量', + 'Error Name': '错误名称', + 'Escalation': '升级', + 'Escalation Code': '升级代码', + 'Escalation Code Variable': '升级代码变量', + 'Escalation Name': '升级名称', + 'Event Type': '事件类型', + 'Exclusive': '排它', + 'Executable': '可执行', + 'Execution Listener': '执行监听器', + 'Expression': '表达式', + 'Extensions': '扩展', + 'External': '外部', + 'External Resource': '外部资源', + 'External Task Configuration': '外部任务配置', + 'Field Injection': '字段注入', + 'Field Injections': '字段注入', + 'Fields': '字段', + 'Follow Up Date': '跟进日期', + 'Form Field': '表单字段', + 'Form Fields': '表单字段', + 'Form Key': '表单键值', + 'Forms': '表单', + 'Form Ref': '绑定表单', + 'General': '常规', + 'Global Message referenced': '引用的全局消息', + 'History Configuration': '历史配置', + 'History Time To Live': '历史存活时间', + 'Id': 'ID', + 'ID (process variable name)': 'ID (流程变量名)', + 'Id must be a valid QName.': 'Id必须是有效的命名.', + 'Id must not contain prefix.': 'Id不能包含前缀.', + 'Id must not contain spaces.': 'Id不能包含空格.', + 'Implementation': '实现', + 'Initiator': '发起人', + 'Inline Script': '内联脚本', + 'In Mapping': '输入映射', + 'Input/Output': '输入/输出', + 'Input Parameter': '输入参数', + 'Input Parameters': '输入参数', + 'Java Class': 'Java类', + 'Job Configuration': '调度配置', + 'Job Priority': '调度优先级', + 'Label': '标签', + 'latest': '最新版', + 'Link Name': '链接名称', + 'List': '列表', + 'Listener Id': '监听器Id', + 'Listeners': '监听器', + 'Listener Type': '监听器类型', + 'Local': '本地', + 'Loop Cardinality': '循环基数', + 'Map': 'Map对象', + 'Map Decision Result': '映射决策结果', + 'Mapping must have a target': '映射必须有一个目标', + 'Mapping must have a value': '映射必须有一个值', + 'Mapping must have a {value}': '映射必须有{value}值', + 'Message': '消息', + 'Message Name': '消息名称', + 'Multi Instance ': '多实例 ', + 'Multi Instance': '多实例', + 'Must configure Connector': '必须配置连接器', + 'Must have max length {length}': '必须有最大长度 {length}', + 'Must have min length {length}': '必须有最小长度 {length}', + 'Must match pattern {pattern}': '必须匹配模式 {pattern}', + 'Must not be empty': '不能为空', + 'Must provide a value': '必须提供一个值', + 'Must provide a value for timeout task listener': '必须为超时任务监听器提供一个值', + 'Must provide either loop cardinality or collection': '必须提供循环基数或集合', + 'Name': '名称', + 'Name must not contain spaces': '名称不能包含空格', + 'No variables found.': '未找到任何变量。', + 'No variables defined.': '没有定义变量。', + 'Out Mapping': '输出映射', + 'Output Parameter': '输出参数', + 'Output Parameters': '输出参数', + 'Parameter must have a name': '参数必须有一个名称', + 'Parameters': '参数', + 'Priority': '优先级', + 'Process Documentation': '流程文档', + 'Process Id': '流程定义Id', + 'Process Name': '流程定义名称', + 'Properties': '属性', + 'Properties Panel': '属性面板', + 'Resource': '资源', + 'Result Variable': '结果变量', + 'Retry Time Cycle': '重试时间周期', + 'Script': '脚本', + 'Script Format': '脚本格式', + 'Script Type': '脚本类型', + 'Signal': '信号', + 'Signal Name': '信号名称', + 'Source': '来源', + 'Source Expression': '来源表达式', + 'Specify more than one group as a comma separated list.': '若有多个组请用逗号分隔。', + 'Specify more than one user as a comma separated list.': '若有多个用户请用逗号分隔。', + 'Specify more than one variable change event as a comma separated list.': '若有多个变量更改事件请用逗号分隔。', + 'start': '启动', + 'Startable': '可启动', + 'String': '字符串', + 'take': '获取', + 'Target': '目标', + 'Target must not contain whitespace': '目标不能包含空格', + 'Tasklist Configuration': '任务列表配置', + 'Task Listener': '任务监听器', + 'Task Priority': '任务优先级', + 'Tenant Id': '租户Id', + 'Text': '文本', + 'The due date as an EL expression (e.g. ${someDate} or an ISO date (e.g. 2015-06-26T09:54:00)': '截止日期可为EL表达式(例如${someDate}或ISO日期(例如2015-06-26T09:54:00)', + 'timeout': '超时', + 'Timer Definition': '定时器定义', + 'Timer Definition Type': '定时器定义类型', + 'Topic': '主题', + 'Type': '类型', + 'update': '更新', + 'Validation': '验证', + 'Value': '值', + 'Values': '值', + 'Variable Event': '变量事件', + 'Variable Name': '变量名', + 'Variables': '流程变量', + 'version': '指定版本', + 'Version': '版本', + 'versionTag': '版本号', + 'Version Tag': '版本号', + 'Wait for Completion': '等待完成', + '[unknown template: {templateId}]': '[未知模版: {templateId}]', + '{label} must not contain whitespace': '{label} 不能包含空格', + '': '无', + 'Embedded or External Task Forms': '嵌入式或外部任务表单', + 'Camunda Forms': 'Camunda表单' +}); + +/***/ }), + +/***/ "./client/bpmnjs-i18n-extension/languages/zh-Hant.js": +/*!***********************************************************!*\ + !*** ./client/bpmnjs-i18n-extension/languages/zh-Hant.js ***! + \***********************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _zh_Hant_bpmn_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./zh-Hant/bpmn-js */ "./client/bpmnjs-i18n-extension/languages/zh-Hant/bpmn-js.js"); +/* harmony import */ var _zh_Hant_dmn_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./zh-Hant/dmn-js */ "./client/bpmnjs-i18n-extension/languages/zh-Hant/dmn-js.js"); +/* harmony import */ var _zh_Hant_properties_panel__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./zh-Hant/properties-panel */ "./client/bpmnjs-i18n-extension/languages/zh-Hant/properties-panel.js"); +/* harmony import */ var _zh_Hant_other__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./zh-Hant/other */ "./client/bpmnjs-i18n-extension/languages/zh-Hant/other.js"); +/** + * Copyright 2021 FlowSquad GmbH + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + + + +/** + * Joins and exports the translated strings. + */ + +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ ..._zh_Hant_bpmn_js__WEBPACK_IMPORTED_MODULE_0__.default, + ..._zh_Hant_dmn_js__WEBPACK_IMPORTED_MODULE_1__.default, + ..._zh_Hant_properties_panel__WEBPACK_IMPORTED_MODULE_2__.default, + ..._zh_Hant_other__WEBPACK_IMPORTED_MODULE_3__.default +}); + +/***/ }), + +/***/ "./client/bpmnjs-i18n-extension/languages/zh-Hant/bpmn-js.js": +/*!*******************************************************************!*\ + !*** ./client/bpmnjs-i18n-extension/languages/zh-Hant/bpmn-js.js ***! + \*******************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/** + * Copyright 2021 FlowSquad GmbH + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * This file contains the strings used in the bpmn-js module. + */ +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ + 'Append TextAnnotation': '追加文本注釋', + 'Append {type}': '追加 {type}', + 'Add Lane above': '在上方添加泳道', + 'Divide into two Lanes': '拆分成兩條泳道', + 'Divide into three Lanes': '拆分成三條泳道', + 'Add Lane below': '在下发添加泳道', + 'Append ReceiveTask': '追加接收任务', + 'Append MessageIntermediateCatchEvent': '追加消息中間捕獲事件', + 'Append TimerIntermediateCatchEvent': '追加中間捕獲事件', + 'Append ConditionIntermediateCatchEvent': '追加条件間捕獲事件', + 'Append SignalIntermediateCatchEvent': '追加信号間捕獲事件', + 'Append compensation activity': '追加補償活動', + 'Append EndEvent': '追加結束事件', + 'Append Gateway': '追加網關', + 'Append Task': '追加任務', + 'TextAnnotation': '文本注釋', + 'Append Intermediate/Boundary Event': '追加中間/邊界事件', + 'Change type': '改變类型', + 'Default Flow': '默認連綫', + 'Connect using Association': '使用關聯鏈接', + 'Connect using Sequence/MessageFlow or Association': '使用序列/消息流或關聯進行鏈接', + 'Connect using DataInputAssociation': '使用数据输入關聯進行鏈接', + 'Remove': '删除', + 'no shape type specified': '未指定形狀類型', + 'out of bounds release': '越界釋放', + 'more than {count} child lanes': '超過 {count} 個子泳道', + 'element required': '所需元素', + 'no parent for {element} in {parent}': '{parent}中的{element}沒有父元素', + 'Create {type}': '創建{type}', + 'Activate the hand tool': '激活手動工具', + 'Activate the lasso tool': '激活套索工具', + 'Activate the create/remove space tool': '激活創建/刪除空間工具', + 'Activate the global connect tool': '激活全局鏈接工具', + 'Create StartEvent': '創建開始事件', + 'Create Intermediate/Boundary Event': '創建中間/邊界事件', + 'Create EndEvent': '創建結束事件', + 'Create Gateway': '創建網關', + 'Create Task': '創建任務', + 'Create DataObjectReference': '創建數據對象引用', + 'Create DataStoreReference': '創建數據存儲引用', + 'Create expanded SubProcess': '創建展開子流程', + 'Create Pool/Participant': '創建泳池/參與者', + 'Create Group': '創建組', + 'Parallel Multi Instance': '并行多實例', + 'Sequential Multi Instance': '串行多實例', + 'Loop': '循環', + 'Ad-hoc': '臨時的', + 'element {element} referenced by {referenced}#{property} not yet drawn': '由{referenced}{property}引用的元素{element}尚未繪製', + 'unknown di {di} for element {semantic}': '元素{semantic}的未知di{di}', + 'missing {semantic}#attachedToRef': '缺少{semantic}的附加的引用', + '{semantic}#{side} Ref not specified': '未指定{semantic}的{side}引用', + 'already rendered {element}': '已呈現 {element}', + 'failed to import {element}': '無法導入 {element}', + 'multiple DI elements defined for {element}': '{element}定义了多个DI元素', + 'no bpmnElement referenced in {element}': '{element}中没有引用bpmn元素', + 'diagram not part of bpmn:Definitions': '流程圖不屬於bpmn:Definitions', + 'no diagram to display': '沒有要顯示的流程图', + 'no process or collaboration to display': '没有要顯示的流程或協作', + 'correcting missing bpmnElement on {plane} to {rootElement}': '正在將{plane}上缺少的bpmn元素更正為{rootElement}', + 'unsupported bpmnElement for {plane}: {rootElement}': '{plane}:{rootElement}的bpmn元素不受支持', + 'unrecognized flowElement {element} in context {context}': '上下文{context}中无法識別的流程元素{element}', + 'HELLO {you}!': '你好 {you}!' +}); + +/***/ }), + +/***/ "./client/bpmnjs-i18n-extension/languages/zh-Hant/dmn-js.js": +/*!******************************************************************!*\ + !*** ./client/bpmnjs-i18n-extension/languages/zh-Hant/dmn-js.js ***! + \******************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/** + * Copyright 2021 FlowSquad GmbH + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * This file contains the translated strings used in the dmn-js component. + * However, notice that these strings are currently not working. We are + * still investigating how to apply them. + */ +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ + /*'Activate the lasso tool': '激活套索工具',*/ + 'Add Cell Description': '添加单元格描述', + 'Add Input': '添加输入', + 'Add Input Column Left': '向左添加输入列', + 'Add Input Column Right': '向右添加输入列', + 'Add Output': '添加输出', + 'Add Output Column Left': '向左添加输出列', + 'Add Output Column Right': '向右添加输出列', + 'Add Predefined Values': '添加预定义值', + 'Add Rule': '添加规则', + 'Add Rule Above': '在上方添加规则', + 'Add Rule Below': '在下方添加规则', + 'Add Values': '添加值', + 'Append Decision': '追加决策', + 'Append Knowledge Source': '追加知识源', + 'Append Business Knowledge Model': '追加知识模型', + 'Append Input Data': '追加输入数据', + 'And': '并且', + 'Annotations': '注释', + + /*'Append {type}': '追加 {type}',*/ + 'cellInput': '输入单元格', + 'Change Cell Expression Language': '更改单元格表达式语言', + + /*'Change type': '修改类型',*/ + 'Clear predefined values.': '清除预定义值。', + 'Copy Input Column': '复制输入列', + 'Copy Output Column': '复制输出列', + 'Copy Rule': '复制规则', + 'Create Decision': '创建决策', + 'Create Input Data': '创建输入数据', + 'Create Knowledge Model': '创建知识模型', + 'Create Knowledge Source': '创建知识源', + 'Cut Input Column': '剪切输入列', + 'Cut Output Column': '剪切输出列', + 'Cut Rule': '剪切规则', + 'Edit String': '编辑字符串', + 'Expression': '表达式', + 'Expression Language': '表达式语言', + 'Input': '输入', + 'input': '输入', + 'Input Expression': '输入表达式', + 'Input Label': '输入标签', + 'Input Type': '输入类型', + 'Input Values': '输入值', + 'Input Variable': '输入变量', + 'No values': '没有值', + 'Output Label': '输出标签', + 'Output Name': '输出名称', + 'Output Type': '输出类型', + 'Output Values': '输出值', + 'Paste Input Column Left': '向左粘贴输入列', + 'Paste Input Column Right': '向右粘贴输入列', + 'Paste Output Column Left': '向左粘贴输出列', + 'Paste Output Column Right': '向右粘贴输出列', + 'Paste Rule Above': '在上方粘贴规则', + 'Paste Rule Below': '在下方粘贴规则', + 'Predefined Values': '预定义值', + + /*'Remove': '删除',*/ + 'Remove Cell Description': '删除单元格描述', + 'Remove Input Column': '删除输入列', + 'Remove Output Column': '删除输出列', + 'Remove Rule': '删除规则', + 'Set Value': '设定值', + 'Strings must be in double quotes.': '字符串必须使用双引号。', + + /*'Type': '类型',*/ + 'Edit DRD': "编辑DRD", + "Close OverView": "关闭预览", + "Open OverView": "打开预览", + "Hit Policy": "命中策略", + "When": "当", + "Then": "然后", + "enterExpression": "请输入表达式", + "Move Input": "移动输入", + "Move Output": "移动输出" +}); + +/***/ }), + +/***/ "./client/bpmnjs-i18n-extension/languages/zh-Hant/other.js": +/*!*****************************************************************!*\ + !*** ./client/bpmnjs-i18n-extension/languages/zh-Hant/other.js ***! + \*****************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/** + * Copyright 2021 FlowSquad GmbH + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * This file contains translations that were used in other components. + */ +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ + 'Open minimap': '打開縮略圖', + 'This maps to the process definition key.': '映射為流程定義Key.', + 'Key': 'Key', + 'Intermediate Throw Event': '中間抛出事件', + 'End Event': '結束事件', + 'Message Start Event': '消息開始事件', + 'Timer Start Event': '時間開始事件', + 'Conditional Start Event': '條件開始事件', + 'Signal Start Event': '信號開始事件', + 'Expand (not reversible)': '展開 (不可逆)', + 'ID': 'ID', + 'Start Event': '開始事件', + 'Message End Event': '消息結束事件', + 'Escalation End Event': '升級結束事件', + 'Error End Event': '错误結束事件', + 'Compensation End Event': '補償結束事件', + 'Signal End Event': '信號結束時間', + 'Terminate End Event': '终止結束事件', + 'Transaction': 'Transaction', + 'Event Sub Process': '事件子流程', + 'Sub Process (collapsed)': '子流程 (摺叠)', + 'Close minimap': '收起縮略圖', + 'Message Intermediate Catch Event': '消息中間捕获事件', + 'Message Intermediate Throw Event': '消息中間抛出事件', + 'Timer Intermediate Catch Event': '時間中間捕获事件', + 'Escalation Intermediate Throw Event': '升級中間抛出事件', + 'Conditional Intermediate Catch Event': '條件中間捕获事件', + 'Link Intermediate Catch Event': '鏈接中間捕获事件', + 'Link Intermediate Throw Event': '鏈接中間抛出事件', + 'Compensation Intermediate Throw Event': '補償中間抛出事件', + 'Signal Intermediate Catch Event': '信號中間捕获事件', + 'Signal Intermediate Throw Event': '信號中間抛出事件', + 'Parallel Gateway': '并行網關', + 'Inclusive Gateway': '包容網關', + 'Complex Gateway': '复杂網關', + 'Event based Gateway': '事件網關', + 'Exclusive Gateway': '排它網關', + 'Send Task': '發送任務', + 'Receive Task': '接收任務', + 'User Task': '人工任務', + 'Manual Task': '手工任務', + 'Business Rule Task': '業務規則任務', + 'Service Task': '服務任務', + 'Script Task': '脚本任務', + 'Call Activity': '調用活動', + 'Sub Process (expanded)': '子流程 (展開)', + 'Sub Process': '子流程', + 'Task': '任務', + 'This maps to the task definition key.': '映射為任務定义Key.', + 'Collapsed Pool': '折叠泳道', + 'Expanded Pool': '展開泳道', + 'flow elements must be children of pools/participants': '流程元素必須是泳池/參與者的子元素', + 'The follow up date as an EL expression (e.g. ${someDate} or an ISO date (e.g. 2015-06-26T09:54:00)': '跟進日期可為EL表達式(例如${someDate}或ISO日期(例如2015-06-26T09:54:00)', + 'Message Boundary Event': '消息邊界事件', + 'Timer Boundary Event': '時間邊界事件', + 'Escalation Boundary Event': '升級邊界事件', + 'Conditional Boundary Event': '條件邊界事件', + 'Error Boundary Event': '错误邊界事件', + 'Cancel Boundary Event': '取消邊界事件', + 'Signal Boundary Event': '信號邊界事件', + 'Compensation Boundary Event': '補償邊界事件', + 'Message Boundary Event (non-interrupting)': '消息邊界事件(非中斷)', + 'Timer Boundary Event (non-interrupting)': '時間邊界事件(非中斷)', + 'Escalation Boundary Event (non-interrupting)': '升級邊界事件 (非中斷)', + 'Conditional Boundary Event (non-interrupting)': '條件邊界事件 (非中斷)', + 'Signal Boundary Event (non-interrupting)': '信號邊界事件 (非中斷)', + 'Connect using Information/Knowledge/Authority Requirement or Association': '使用信息/知識/權限要求或關聯進行鏈接', + 'Empty': '空', + 'Literal Expression': '文字表達式', + 'This maps to the decision definition key.': '映射為決策定義Key。', + 'Decision Table': '決策錶', + 'Output': '輸出', + 'Annotation': '注釋', + 'Output Expression': '輸出表達式', + 'Data Type': '數據類型', + 'Copy': '複製', + 'Paste': '粘貼', + 'Template': '模板', + 'Errors': '錯誤', + 'No errors defined.': '沒有定義錯誤。' +}); + +/***/ }), + +/***/ "./client/bpmnjs-i18n-extension/languages/zh-Hant/properties-panel.js": +/*!****************************************************************************!*\ + !*** ./client/bpmnjs-i18n-extension/languages/zh-Hant/properties-panel.js ***! + \****************************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/** + * Copyright 2021 FlowSquad GmbH + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * This file contains the translations used by the bpmn-js-properties-panel component. + */ +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ({ + 'Activity Ref': '活動參考', + 'Add Constraint': '添加約束', + 'Add Entry': '添加條目', + 'Add Property': '添加屬性', + 'Add Value': '添加值', + 'All': '所有', + 'Available process variables, identified in the diagram.': '圖中標識的可用流程變量。', + 'Assignee': '處理人', + 'assignment': '分配', + 'Asynchronous After': '異步后', + 'Asynchronous Before': '異步前', + 'Asynchronous Continuations': '異步延續', + 'Binding': '綁定', + 'Business Key': '業務主键', + 'Business Key Expression': '業務主键表達式', + 'CallActivity Type': '調用活動類型', + 'Called Element': '被调元素', + 'Candidate Groups': '候选組', + 'Candidate Starter Configuration': '候选发起配置', + 'Candidate Starter Groups': '候选发起用戶組', + 'Candidate Starter Users': '候选发起用戶', + 'Candidate Users': '候选人', + 'Case Ref': '案例參考', + 'Category Value': '類别值', + 'Class': '類', + 'Collection': '集合', + 'complete': '完成', + 'Completion Condition': '完成條件', + 'Condition': '條件', + 'Condition Type': '條件類型', + 'Config': '配置', + 'Configure Connector': '配置連接器', + 'Connector': '連接器', + 'Connector Id': '連接器Id', + 'create': '創建', + 'Custom Fields': '自定義字段', + 'Custom Fields for scope: ': '自定義字段範圍: ', + 'Cycle': '循環', + 'Date': '日期', + 'Decision Ref': '決策參考', + 'Default Value': '默認值', + 'Delegate Expression': '委托表達式', + 'Delegate Variable Mapping': '委托變量映射', + 'delete': '刪除', + 'deployment': '部署', + 'Details': '詳情', + 'DMN': 'DMN', + 'Documentation': '文檔', + 'Due Date': '截止日期', + 'Duration': '持續時間', + 'Element Documentation': '元素文檔', + 'Element must have an unique id.': '元素Id必須唯一.', + 'Element Template': '元素模版', + 'Element Variable': '元素變量', + 'end': '結束', + 'Error': '錯誤', + 'Error Code': '錯誤代碼', + 'Error Code Variable': '錯誤代碼變量', + 'Error Message': '錯誤消息', + 'Error Message Variable': '錯誤消息變量', + 'Error Name': '錯誤名稱', + 'Escalation': '升级', + 'Escalation Code': '升级代碼', + 'Escalation Code Variable': '升级代碼變量', + 'Escalation Name': '升级名稱', + 'Event Type': '事件類型', + 'Exclusive': '排它', + 'Executable': '可执行', + 'Execution Listener': '执行監聽器', + 'Expression': '表達式', + 'Extensions': '扩展', + 'External': '外部', + 'External Resource': '外部資源', + 'External Task Configuration': '外部任務配置', + 'Field Injection': '字段注入', + 'Field Injections': '字段注入', + 'Fields': '字段', + 'Follow Up Date': '跟进日期', + 'Form Field': '表单字段', + 'Form Fields': '表单字段', + 'Form Key': '表单键值', + 'Forms': '表单', + 'Form Ref': '綁定表单', + 'General': '常规', + 'Global Message referenced': '引用的全局消息', + 'History Configuration': '历史配置', + 'History Time To Live': '历史存活時間', + 'Id': 'ID', + 'ID (process variable name)': 'ID (流程變量名)', + 'Id must be a valid QName.': 'Id必須是有效的命名.', + 'Id must not contain prefix.': 'Id不能包含前缀.', + 'Id must not contain spaces.': 'Id不能包含空格.', + 'Implementation': '实现', + 'Initiator': '发起人', + 'Inline Script': '内联脚本', + 'In Mapping': '输入映射', + 'Input/Output': '输入/输出', + 'Input Parameter': '输入参数', + 'Input Parameters': '输入参数', + 'Java Class': 'Java類', + 'Job Configuration': '调度配置', + 'Job Priority': '调度優先級', + 'Label': '标签', + 'latest': '最新版', + 'Link Name': '链接名稱', + 'List': '列表', + 'Listener Id': '監聽器Id', + 'Listeners': '監聽器', + 'Listener Type': '監聽器類型', + 'Local': '本地', + 'Loop Cardinality': '循環基数', + 'Map': 'Map對象', + 'Map Decision Result': '映射決策結果', + 'Mapping must have a target': '映射必須有一個目標', + 'Mapping must have a value': '映射必須有一個值', + 'Mapping must have a {value}': '映射必須有{value}值', + 'Message': '消息', + 'Message Name': '消息名稱', + 'Multi Instance ': '多實例 ', + 'Multi Instance': '多實例', + 'Must configure Connector': '必須配置連接器', + 'Must have max length {length}': '必須有最大长度 {length}', + 'Must have min length {length}': '必須有最小长度 {length}', + 'Must match pattern {pattern}': '必須匹配模式 {pattern}', + 'Must not be empty': '不能為空', + 'Must provide a value': '必須提供一个值', + 'Must provide a value for timeout task listener': '必須为超時任務監聽器提供一个值', + 'Must provide either loop cardinality or collection': '必須提供循環基数或集合', + 'Name': '名稱', + 'Name must not contain spaces': '名稱不能包含空格', + 'No variables found.': '未找到任何變量。', + 'No variables defined.': '没有定義變量。', + 'Out Mapping': '输出映射', + 'Output Parameter': '输出参数', + 'Output Parameters': '输出参数', + 'Parameter must have a name': '參數必須有一個名稱', + 'Parameters': '參數', + 'Priority': '優先級', + 'Process Documentation': '流程文檔', + 'Process Id': '流程定義Id', + 'Process Name': '流程定義名稱', + 'Properties': '屬性', + 'Properties Panel': '屬性面板', + 'Resource': '資源', + 'Result Variable': '結果變量', + 'Retry Time Cycle': '重试時間周期', + 'Script': '脚本', + 'Script Format': '脚本格式', + 'Script Type': '脚本類型', + 'Signal': '信號', + 'Signal Name': '信號名稱', + 'Source': '來源', + 'Source Expression': '來源表達式', + 'Specify more than one group as a comma separated list.': '若有多個組請用逗號分隔。', + 'Specify more than one user as a comma separated list.': '若有多個用戶請用逗號分隔。', + 'Specify more than one variable change event as a comma separated list.': '若有多個變量更改事件請用逗號分隔。', + 'start': '啓動', + 'Startable': '可啓動', + 'String': '字符串', + 'take': '獲取', + 'Target': '目標', + 'Target must not contain whitespace': '目標不能包含空格', + 'Tasklist Configuration': '任務列表配置', + 'Task Listener': '任務監聽器', + 'Task Priority': '任務優先級', + 'Tenant Id': '租戶Id', + 'Text': '文本', + 'The due date as an EL expression (e.g. ${someDate} or an ISO date (e.g. 2015-06-26T09:54:00)': '截止日期可为EL表達式(例如${someDate}或ISO日期(例如2015-06-26T09:54:00)', + 'timeout': '超時', + 'Timer Definition': '定時器定義', + 'Timer Definition Type': '定時器定義類型', + 'Topic': '主題', + 'Type': '類型', + 'update': '更新', + 'Validation': '驗證', + 'Value': '值', + 'Values': '值', + 'Variable Event': '變量事件', + 'Variable Name': '變量名', + 'Variables': '流程變量', + 'version': '指定版本', + 'Version': '版本', + 'versionTag': '版本號', + 'Version Tag': '版本號', + 'Wait for Completion': '等待完成', + '[unknown template: {templateId}]': '[未知模板: {templateId}]', + '{label} must not contain whitespace': '{label} 不能包含空格', + '': '無', + 'Embedded or External Task Forms': '嵌入式或外部任務表单', + 'Camunda Forms': 'Camunda表单' +}); + +/***/ }), + +/***/ "./client/bpmnjs-i18n-extension/translate.js": +/*!***************************************************!*\ + !*** ./client/bpmnjs-i18n-extension/translate.js ***! + \***************************************************/ +/***/ ((__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 */ Translator) +/* harmony export */ }); +/* harmony import */ var _languages_de_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./languages/de.js */ "./client/bpmnjs-i18n-extension/languages/de.js"); +/* harmony import */ var _languages_en_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./languages/en.js */ "./client/bpmnjs-i18n-extension/languages/en.js"); +/* harmony import */ var _languages_pt_br_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./languages/pt-br.js */ "./client/bpmnjs-i18n-extension/languages/pt-br.js"); +/* harmony import */ var _languages_zh_Hans_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./languages/zh-Hans.js */ "./client/bpmnjs-i18n-extension/languages/zh-Hans.js"); +/* harmony import */ var _languages_zh_Hant_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./languages/zh-Hant.js */ "./client/bpmnjs-i18n-extension/languages/zh-Hant.js"); +/* harmony import */ var _languages_ru_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./languages/ru.js */ "./client/bpmnjs-i18n-extension/languages/ru.js"); +/** + * Copyright 2021 FlowSquad GmbH + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + + + + + +/** + * All available languages. + */ + +const languages = { + de: _languages_de_js__WEBPACK_IMPORTED_MODULE_0__.default, + en: _languages_en_js__WEBPACK_IMPORTED_MODULE_1__.default, + pt_br: _languages_pt_br_js__WEBPACK_IMPORTED_MODULE_2__.default, + zh_Hans: _languages_zh_Hans_js__WEBPACK_IMPORTED_MODULE_3__.default, + zh_Hant: _languages_zh_Hant_js__WEBPACK_IMPORTED_MODULE_4__.default, + ru: _languages_ru_js__WEBPACK_IMPORTED_MODULE_5__.default +}; // The default language to use if none is specified in the configuration + +const defaultLanguage = "en"; // Contains all missing translations discovered to prevent logging them +// multiple times. + +const missing = []; +console.log("Please help us translate by creating a pull request!"); +/** + * This function initializes the translation plugin. + */ + +function Translator() { + let currentLanguage = languages[this.currentLanguage()]; // Return the translation function. It takes the template string and the parameters, + // translates it and returns it. + + return (template, parameters) => { + // If the requested string is not available in the current language + if (!currentLanguage[template]) { + // Check if it was already printed to the console + if (missing.indexOf(template) === -1) { + // Print the missing translation to the console ´ + console.log(`Missing translation: ${template}`); + missing.push(template); + } + } // Use the translated string or the original template string as fallback + + + const translation = currentLanguage[template] || template; // Replace all parameters in the template string with the provided values + + return translation.replace(/{([^}]+)}/g, function (_, key) { + return (parameters || {})[key] || '{' + key + '}'; + }); + }; +} +; + +Translator.prototype.currentLanguage = function () { + return defaultLanguage; +}; // Specify what values should be injected into the function above + + +Translator.$inject = []; + +/***/ }), + +/***/ "./client/config/ConfigModal.js": +/*!**************************************!*\ + !*** ./client/config/ConfigModal.js ***! + \**************************************/ +/***/ ((__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 */ ConfigModal) +/* harmony export */ }); +/* harmony import */ var camunda_modeler_plugin_helpers_react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! camunda-modeler-plugin-helpers/react */ "./node_modules/camunda-modeler-plugin-helpers/react.js"); +/* harmony import */ var camunda_modeler_plugin_helpers_react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(camunda_modeler_plugin_helpers_react__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var camunda_modeler_plugin_helpers_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! camunda-modeler-plugin-helpers/components */ "./node_modules/camunda-modeler-plugin-helpers/components.js"); +/** + * Copyright 2021 FlowSquad GmbH + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + + +const Title = camunda_modeler_plugin_helpers_components__WEBPACK_IMPORTED_MODULE_1__.Modal.Title || (({ + children +}) => /*#__PURE__*/camunda_modeler_plugin_helpers_react__WEBPACK_IMPORTED_MODULE_0___default().createElement("h2", null, children)); + +const Body = camunda_modeler_plugin_helpers_components__WEBPACK_IMPORTED_MODULE_1__.Modal.Body || (({ + children +}) => /*#__PURE__*/camunda_modeler_plugin_helpers_react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", null, children)); + +const Footer = camunda_modeler_plugin_helpers_components__WEBPACK_IMPORTED_MODULE_1__.Modal.Footer || (({ + children +}) => /*#__PURE__*/camunda_modeler_plugin_helpers_react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", null, children)); + +function ConfigModal({ + onClose +}) { + return /*#__PURE__*/camunda_modeler_plugin_helpers_react__WEBPACK_IMPORTED_MODULE_0___default().createElement(camunda_modeler_plugin_helpers_components__WEBPACK_IMPORTED_MODULE_1__.Modal, { + onClose: onClose + }, /*#__PURE__*/camunda_modeler_plugin_helpers_react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Title, null, "Language changed"), /*#__PURE__*/camunda_modeler_plugin_helpers_react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Body, null, /*#__PURE__*/camunda_modeler_plugin_helpers_react__WEBPACK_IMPORTED_MODULE_0___default().createElement("p", null, "Restart the modeler to apply the configuration.")), /*#__PURE__*/camunda_modeler_plugin_helpers_react__WEBPACK_IMPORTED_MODULE_0___default().createElement(Footer, null, /*#__PURE__*/camunda_modeler_plugin_helpers_react__WEBPACK_IMPORTED_MODULE_0___default().createElement("div", { + id: "languageChangeButton" + }, /*#__PURE__*/camunda_modeler_plugin_helpers_react__WEBPACK_IMPORTED_MODULE_0___default().createElement("button", { + type: "button", + class: "btn btn-primary", + onClick: () => onClose() + }, "Ok")))); +} + +/***/ }), + +/***/ "./client/config/I18nPlugin.js": +/*!*************************************!*\ + !*** ./client/config/I18nPlugin.js ***! + \*************************************/ +/***/ ((__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 */ I18nPlugin) +/* harmony export */ }); +/* harmony import */ var camunda_modeler_plugin_helpers_react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! camunda-modeler-plugin-helpers/react */ "./node_modules/camunda-modeler-plugin-helpers/react.js"); +/* harmony import */ var camunda_modeler_plugin_helpers_react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(camunda_modeler_plugin_helpers_react__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var camunda_modeler_plugin_helpers_components__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! camunda-modeler-plugin-helpers/components */ "./node_modules/camunda-modeler-plugin-helpers/components.js"); +/* harmony import */ var react_select__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react-select */ "./node_modules/react-select/dist/react-select.esm.js"); +/* harmony import */ var _bpmnjs_i18n_extension__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../bpmnjs-i18n-extension */ "./client/bpmnjs-i18n-extension/index.js"); +/* harmony import */ var _ConfigModal__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./ConfigModal */ "./client/config/ConfigModal.js"); +/** + * Copyright 2021 FlowSquad GmbH + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + + + + // The default language + +const defaultLanguage = "en"; //config key + +const configKey = "i18n"; +const defaultState = { + currentLanguage: defaultLanguage, + modalOpen: false +}; +const options = [{ + value: 'de', + label: 'Deutsch' +}, { + value: 'en', + label: 'English' +}, { + value: 'pt_br', + label: 'Português (Brasil)' +}, { + value: 'zh_Hans', + label: '简体中文' +}, { + value: 'zh_Hant', + label: '繁体中文' +}, { + value: 'ru', + label: 'Русский' +}]; +/** + * An example client extension plugin to enable auto saving functionality + * into the Camunda Modeler + */ + +class I18nPlugin extends camunda_modeler_plugin_helpers_react__WEBPACK_IMPORTED_MODULE_0__.PureComponent { + constructor(props) { + super(props); + this.state = defaultState; + this.handleLanguageChanged = this.handleLanguageChanged.bind(this); + this.handleClosed = this.handleClosed.bind(this); + } + + componentDidMount() { + const { + config, + subscribe + } = this.props; // retrieve plugin related information from the application configuration + + config.getForPlugin(configKey, 'config').then(config => { + if (config) { + this.setState(config); + + _bpmnjs_i18n_extension__WEBPACK_IMPORTED_MODULE_2__.default.translateModule.prototype.currentLanguage = function () { + return config.currentLanguage.value; + }; + + subscribe('bpmn.modeler.configure', event => { + const { + middlewares + } = event; + middlewares.push(this.addModule(_bpmnjs_i18n_extension__WEBPACK_IMPORTED_MODULE_2__.default)); + }); + subscribe('dmn.modeler.configure', event => { + const { + middlewares + } = event; + middlewares.push(this.addDmdModule(_bpmnjs_i18n_extension__WEBPACK_IMPORTED_MODULE_2__.default)); + }); + } + }); + } + /** + * Returns a bpmn.modeler.configure middleware + * that adds the specific module. + * + * @param {didi.Module} extensionModule + * + * @return {Function} + */ + + + addModule(extensionModule) { + return config => { + const additionalModules = config.additionalModules || []; + return { ...config, + additionalModules: [...additionalModules, extensionModule] + }; + }; + } + /** + * Returns a bpmn.modeler.configure middleware + * that adds the specific module. + * + * @param {didi.Module} extensionModule + * + * @return {Function} + */ + + + addDmdModule(extensionModule) { + return config => { + const additionalModules = config.additionalModules || []; + return { ...config, + drd: { + additionalModules: [...additionalModules, extensionModule] + }, + decisionTable: { + additionalModules: [...additionalModules, extensionModule] + }, + literalExpression: { + additionalModules: [...additionalModules, extensionModule] + } + }; + }; + } + + handleLanguageChanged(language) { + this.props.config.setForPlugin(configKey, 'config', { + currentLanguage: language + }).catch(console.error); + this.setState({ + currentLanguage: language, + modalOpen: true + }); + } + + handleClosed() { + this.setState({ ...this.state, + modalOpen: false + }); + } + + render() { + return /*#__PURE__*/camunda_modeler_plugin_helpers_react__WEBPACK_IMPORTED_MODULE_0___default().createElement(camunda_modeler_plugin_helpers_react__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, /*#__PURE__*/camunda_modeler_plugin_helpers_react__WEBPACK_IMPORTED_MODULE_0___default().createElement(camunda_modeler_plugin_helpers_components__WEBPACK_IMPORTED_MODULE_1__.Fill, { + slot: "toolbar", + group: "9_language" + }, /*#__PURE__*/camunda_modeler_plugin_helpers_react__WEBPACK_IMPORTED_MODULE_0___default().createElement(react_select__WEBPACK_IMPORTED_MODULE_4__.default, { + styles: { + control: provided => ({ ...provided, + width: 125, + minHeight: 24, + "&>div:first-of-type": { + padding: "0px 4px" + }, + "&>div:last-child>div": { + padding: "0px 8px" + }, + "&>div>span": { + display: "none" + } + }), + menu: provided => ({ ...provided, + zIndex: 101, + marginTop: 0 + }) + }, + name: "language_selection", + options: options, + onChange: this.handleLanguageChanged, + value: this.state.currentLanguage + })), this.state.modalOpen && /*#__PURE__*/camunda_modeler_plugin_helpers_react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_ConfigModal__WEBPACK_IMPORTED_MODULE_3__.default, { + onClose: this.handleClosed + })); + } + +} + +/***/ }), + +/***/ "./node_modules/camunda-modeler-plugin-helpers/components.js": +/*!*******************************************************************!*\ + !*** ./node_modules/camunda-modeler-plugin-helpers/components.js ***! + \*******************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "Fill": () => (/* binding */ Fill), +/* harmony export */ "Modal": () => (/* binding */ Modal) +/* harmony export */ }); +if (!window.components) { + throw new Error('Not compatible with Camunda Modeler < 3.4'); +} + +/** + * Fill component. + * + * @type {import('react').ComponentType<{ group: string, name: string }>} + */ +const Fill = window.components.Fill; + +/** + * Modal component. + * + * @type {import('react').ComponentType<{ onClose: Function }>} + */ +const Modal = window.components.Modal; + +/***/ }), + +/***/ "./node_modules/camunda-modeler-plugin-helpers/index.js": +/*!**************************************************************!*\ + !*** ./node_modules/camunda-modeler-plugin-helpers/index.js ***! + \**************************************************************/ +/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "registerClientPlugin": () => (/* binding */ registerClientPlugin), +/* harmony export */ "registerClientExtension": () => (/* binding */ registerClientExtension), +/* harmony export */ "registerBpmnJSPlugin": () => (/* binding */ registerBpmnJSPlugin), +/* harmony export */ "registerBpmnJSModdleExtension": () => (/* binding */ registerBpmnJSModdleExtension), +/* harmony export */ "registerDmnJSModdleExtension": () => (/* binding */ registerDmnJSModdleExtension), +/* harmony export */ "registerDmnJSPlugin": () => (/* binding */ registerDmnJSPlugin), +/* harmony export */ "getModelerDirectory": () => (/* binding */ getModelerDirectory), +/* harmony export */ "getPluginsDirectory": () => (/* binding */ getPluginsDirectory) +/* harmony export */ }); +/** + * Validate and register a client plugin. + * + * @param {Object} plugin + * @param {String} type + */ +function registerClientPlugin(plugin, type) { + var plugins = window.plugins || []; + window.plugins = plugins; + + if (!plugin) { + throw new Error('plugin not specified'); + } + + if (!type) { + throw new Error('type not specified'); + } + + plugins.push({ + plugin: plugin, + type: type + }); +} + +/** + * Validate and register a client plugin. + * + * @param {import('react').ComponentType} extension + * + * @example + * + * import MyExtensionComponent from './MyExtensionComponent'; + * + * registerClientExtension(MyExtensionComponent); + */ +function registerClientExtension(component) { + registerClientPlugin(component, 'client'); +} + +/** + * Validate and register a bpmn-js plugin. + * + * @param {Object} module + * + * @example + * + * import { + * registerBpmnJSPlugin + * } from 'camunda-modeler-plugin-helpers'; + * + * const BpmnJSModule = { + * __init__: [ 'myService' ], + * myService: [ 'type', ... ] + * }; + * + * registerBpmnJSPlugin(BpmnJSModule); + */ +function registerBpmnJSPlugin(module) { + registerClientPlugin(module, 'bpmn.modeler.additionalModules'); +} + +/** + * Validate and register a bpmn-moddle extension plugin. + * + * @param {Object} descriptor + * + * @example + * import { + * registerBpmnJSModdleExtension + * } from 'camunda-modeler-plugin-helpers'; + * + * var moddleDescriptor = { + * name: 'my descriptor', + * uri: 'http://example.my.company.localhost/schema/my-descriptor/1.0', + * prefix: 'mydesc', + * + * ... + * }; + * + * registerBpmnJSModdleExtension(moddleDescriptor); + */ +function registerBpmnJSModdleExtension(descriptor) { + registerClientPlugin(descriptor, 'bpmn.modeler.moddleExtension'); +} + +/** + * Validate and register a dmn-moddle extension plugin. + * + * @param {Object} descriptor + * + * @example + * import { + * registerDmnJSModdleExtension + * } from 'camunda-modeler-plugin-helpers'; + * + * var moddleDescriptor = { + * name: 'my descriptor', + * uri: 'http://example.my.company.localhost/schema/my-descriptor/1.0', + * prefix: 'mydesc', + * + * ... + * }; + * + * registerDmnJSModdleExtension(moddleDescriptor); + */ +function registerDmnJSModdleExtension(descriptor) { + registerClientPlugin(descriptor, 'dmn.modeler.moddleExtension'); +} + +/** + * Validate and register a dmn-js plugin. + * + * @param {Object} module + * + * @example + * + * import { + * registerDmnJSPlugin + * } from 'camunda-modeler-plugin-helpers'; + * + * const DmnJSModule = { + * __init__: [ 'myService' ], + * myService: [ 'type', ... ] + * }; + * + * registerDmnJSPlugin(DmnJSModule, [ 'drd', 'literalExpression' ]); + * registerDmnJSPlugin(DmnJSModule, 'drd') + */ +function registerDmnJSPlugin(module, components) { + + if (!Array.isArray(components)) { + components = [ components ] + } + + components.forEach(c => registerClientPlugin(module, `dmn.modeler.${c}.additionalModules`)); +} + +/** + * Return the modeler directory, as a string. + * + * @deprecated Will be removed in future Camunda Modeler versions without replacement. + * + * @return {String} + */ +function getModelerDirectory() { + return window.getModelerDirectory(); +} + +/** + * Return the modeler plugin directory, as a string. + * + * @deprecated Will be removed in future Camunda Modeler versions without replacement. + * + * @return {String} + */ +function getPluginsDirectory() { + return window.getPluginsDirectory(); +} + +/***/ }), + +/***/ "./node_modules/camunda-modeler-plugin-helpers/react.js": +/*!**************************************************************!*\ + !*** ./node_modules/camunda-modeler-plugin-helpers/react.js ***! + \**************************************************************/ +/***/ ((module) => { + +if (!window.react) { + throw new Error('Not compatible with Camunda Modeler < 3.4'); +} + +/** + * React object used by Camunda Modeler. Use it to create UI extension. + * + * @type {import('react')} + */ +module.exports = window.react; + +/***/ }), + +/***/ "./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js": +/*!**********************************************************************************!*\ + !*** ./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/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/memoize-one/dist/memoize-one.esm.js": +/*!**********************************************************!*\ + !*** ./node_modules/memoize-one/dist/memoize-one.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 safeIsNaN = Number.isNaN || + function ponyfill(value) { + return typeof value === 'number' && value !== value; + }; +function isEqual(first, second) { + if (first === second) { + return true; + } + if (safeIsNaN(first) && safeIsNaN(second)) { + return true; + } + return false; +} +function areInputsEqual(newInputs, lastInputs) { + if (newInputs.length !== lastInputs.length) { + return false; + } + for (var i = 0; i < newInputs.length; i++) { + if (!isEqual(newInputs[i], lastInputs[i])) { + return false; + } + } + return true; +} + +function memoizeOne(resultFn, isEqual) { + if (isEqual === void 0) { isEqual = areInputsEqual; } + var lastThis; + var lastArgs = []; + var lastResult; + var calledOnce = false; + function memoized() { + var newArgs = []; + for (var _i = 0; _i < arguments.length; _i++) { + newArgs[_i] = arguments[_i]; + } + if (calledOnce && lastThis === this && isEqual(newArgs, lastArgs)) { + return lastResult; + } + lastResult = resultFn.apply(this, newArgs); + calledOnce = true; + lastThis = this; + lastArgs = newArgs; + return lastResult; + } + return memoized; +} + +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (memoizeOne); + + +/***/ }), + +/***/ "./node_modules/object-assign/index.js": +/*!*********************************************!*\ + !*** ./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/prop-types/checkPropTypes.js": +/*!***************************************************!*\ + !*** ./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/prop-types/lib/ReactPropTypesSecret.js"); + var loggedTypeFailures = {}; + var has = Function.call.bind(Object.prototype.hasOwnProperty); + + 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] + '`.' + ); + 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/prop-types/factoryWithTypeCheckers.js": +/*!************************************************************!*\ + !*** ./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/react-is/index.js"); +var assign = __webpack_require__(/*! object-assign */ "./node_modules/object-assign/index.js"); + +var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ "./node_modules/prop-types/lib/ReactPropTypesSecret.js"); +var checkPropTypes = __webpack_require__(/*! ./checkPropTypes */ "./node_modules/prop-types/checkPropTypes.js"); + +var has = Function.call.bind(Object.prototype.hasOwnProperty); +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 = '<>'; + + // Important! + // Keep this list in sync with production version in `./factoryWithThrowingShims.js`. + var ReactPropTypes = { + array: createPrimitiveTypeChecker('array'), + 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) { + this.message = message; + 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 + '`.')); + } + 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) { + for (var i = 0; i < arrayOfTypeCheckers.length; i++) { + var checker = arrayOfTypeCheckers[i]; + if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret) == null) { + return null; + } + } + + return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.')); + } + 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 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 (!checker) { + continue; + } + 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 (!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/prop-types/index.js": +/*!******************************************!*\ + !*** ./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/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/prop-types/factoryWithTypeCheckers.js")(ReactIs.isElement, throwOnDirectAccess); +} else {} + + +/***/ }), + +/***/ "./node_modules/prop-types/lib/ReactPropTypesSecret.js": +/*!*************************************************************!*\ + !*** ./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/react-dom/cjs/react-dom.development.js": +/*!*************************************************************!*\ + !*** ./node_modules/react-dom/cjs/react-dom.development.js ***! + \*************************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + +"use strict"; +/** @license React v17.0.2 + * 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'; + +var React = __webpack_require__(/*! react */ "./node_modules/camunda-modeler-plugin-helpers/react.js"); +var _assign = __webpack_require__(/*! object-assign */ "./node_modules/object-assign/index.js"); +var Scheduler = __webpack_require__(/*! scheduler */ "./node_modules/scheduler/index.js"); +var tracing = __webpack_require__(/*! scheduler/tracing */ "./node_modules/scheduler/tracing.js"); + +var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; + +// 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]); + } + + var argsWithFormat = args.map(function (item) { + return '' + 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); + } +} + +if (!React) { + { + throw Error( "ReactDOM was loaded before React. Make sure you load the React package before loading ReactDOM." ); + } +} + +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 FundamentalComponent = 20; +var ScopeComponent = 21; +var Block = 22; +var OffscreenComponent = 23; +var LegacyHiddenComponent = 24; + +// Filter certain DOM attributes (e.g. src, href) if their values are empty strings. + +var enableProfilerTimer = true; // Record durations for commit and passive effects phases. + +var enableFundamentalAPI = false; // Experimental Scope support. +var enableNewReconciler = false; // Errors that are thrown while unmounting (or after in the case of passive effects) +var warnAboutStringRefs = false; + +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'); + +// 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 ROOT_ATTRIBUTE_NAME = 'data-reactroot'; +var VALID_ATTRIBUTE_NAME_REGEX = new RegExp('^[' + ATTRIBUTE_NAME_START_CHAR + '][' + ATTRIBUTE_NAME_CHAR + ']*$'); +var hasOwnProperty = Object.prototype.hasOwnProperty; +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 { + 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. + 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; + } + + 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; + } 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) { + { + if (!isAttributeNameSafe(name)) { + return; + } // If the object is an opaque reference ID, it's expected that + // the next prop is different than the server value, so just return + // expected + + + if (isOpaqueHydratingObject(expected)) { + return expected; + } + + if (!node.hasAttribute(name)) { + return expected === undefined ? undefined : null; + } + + var value = node.getAttribute(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 the prop isn't in the special list, treat it as a simple attribute. + + + if (isCustomComponentTag || propertyInfo === null) { + if (isAttributeNameSafe(name)) { + var _attributeName = name; + + if (value === null) { + node.removeAttribute(_attributeName); + } else { + 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. + { + 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. If there is no native Symbol +// nor polyfill, then a plain number is used for performance. +var REACT_ELEMENT_TYPE = 0xeac7; +var REACT_PORTAL_TYPE = 0xeaca; +var REACT_FRAGMENT_TYPE = 0xeacb; +var REACT_STRICT_MODE_TYPE = 0xeacc; +var REACT_PROFILER_TYPE = 0xead2; +var REACT_PROVIDER_TYPE = 0xeacd; +var REACT_CONTEXT_TYPE = 0xeace; +var REACT_FORWARD_REF_TYPE = 0xead0; +var REACT_SUSPENSE_TYPE = 0xead1; +var REACT_SUSPENSE_LIST_TYPE = 0xead8; +var REACT_MEMO_TYPE = 0xead3; +var REACT_LAZY_TYPE = 0xead4; +var REACT_BLOCK_TYPE = 0xead9; +var REACT_SERVER_BLOCK_TYPE = 0xeada; +var REACT_FUNDAMENTAL_TYPE = 0xead5; +var REACT_SCOPE_TYPE = 0xead7; +var REACT_OPAQUE_ID_TYPE = 0xeae0; +var REACT_DEBUG_TRACING_MODE_TYPE = 0xeae1; +var REACT_OFFSCREEN_TYPE = 0xeae2; +var REACT_LEGACY_HIDDEN_TYPE = 0xeae3; + +if (typeof Symbol === 'function' && Symbol.for) { + var symbolFor = Symbol.for; + REACT_ELEMENT_TYPE = symbolFor('react.element'); + REACT_PORTAL_TYPE = symbolFor('react.portal'); + REACT_FRAGMENT_TYPE = symbolFor('react.fragment'); + REACT_STRICT_MODE_TYPE = symbolFor('react.strict_mode'); + REACT_PROFILER_TYPE = symbolFor('react.profiler'); + REACT_PROVIDER_TYPE = symbolFor('react.provider'); + REACT_CONTEXT_TYPE = symbolFor('react.context'); + REACT_FORWARD_REF_TYPE = symbolFor('react.forward_ref'); + REACT_SUSPENSE_TYPE = symbolFor('react.suspense'); + REACT_SUSPENSE_LIST_TYPE = symbolFor('react.suspense_list'); + REACT_MEMO_TYPE = symbolFor('react.memo'); + REACT_LAZY_TYPE = symbolFor('react.lazy'); + REACT_BLOCK_TYPE = symbolFor('react.block'); + REACT_SERVER_BLOCK_TYPE = symbolFor('react.server.block'); + REACT_FUNDAMENTAL_TYPE = symbolFor('react.fundamental'); + REACT_SCOPE_TYPE = symbolFor('react.scope'); + REACT_OPAQUE_ID_TYPE = symbolFor('react.opaque.id'); + REACT_DEBUG_TRACING_MODE_TYPE = symbolFor('react.debug_trace_mode'); + REACT_OFFSCREEN_TYPE = symbolFor('react.offscreen'); + REACT_LEGACY_HIDDEN_TYPE = symbolFor('react.legacy_hidden'); +} + +var MAYBE_ITERATOR_SYMBOL = typeof Symbol === 'function' && 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; +} + +// 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 (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_BLOCK_TYPE: + return describeFunctionComponentFrame(type._render); + + 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 Block: + 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 functionName = innerType.displayName || innerType.name || ''; + return outerType.displayName || (functionName !== '' ? wrapperName + "(" + functionName + ")" : wrapperName); +} + +function getContextName(type) { + return type.displayName || 'Context'; +} + +function getComponentName(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 getComponentName(). ' + '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: + return getComponentName(type.type); + + case REACT_BLOCK_TYPE: + return getComponentName(type._render); + + case REACT_LAZY_TYPE: + { + var lazyComponent = type; + var payload = lazyComponent._payload; + var init = lazyComponent._init; + + try { + return getComponentName(init(payload)); + } catch (x) { + return null; + } + } + } + } + + 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 getComponentName(owner.type); + } + } + + 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 = getCurrentFiberStackInDev; + current = fiber; + isRendering = false; + } +} +function setIsRendering(rendering) { + { + isRendering = rendering; + } +} +function getIsRendering() { + { + return isRendering; + } +} + +// 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) { + return '' + value; +} +function getToStringValue(value) { + switch (typeof value) { + case 'boolean': + case 'number': + case 'object': + case 'string': + case 'undefined': + 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); + 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) { + 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) { + 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 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. + + + 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 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 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; + +function flattenChildren(children) { + var content = ''; // Flatten children. We'll warn if they are invalid + // during validateProps() which runs for hydration too. + // Note that this would throw on non-element objects. + // Elements are stringified (which is normally irrelevant + // but matters for ). + + React.Children.forEach(children, function (child) { + if (child == null) { + return; + } + + content += child; // Note: we don't warn about invalid children here. + // Instead, this is done separately below so that + // it happens during the hydration code path too. + }); + return content; +} +/** + * Implements an