From 744247aab731f8cc4594839aeac97e5e74e43b89 Mon Sep 17 00:00:00 2001 From: "vy.boyko" Date: Sat, 17 Feb 2024 22:37:45 +0300 Subject: [PATCH 1/3] added disc survey --- docs/app/index.css.map | 2 +- docs/app/index.js | 6769 ++++--------------------------------- docs/app/index.js.map | 8 +- docs/q/DISC.json | 551 +++ survey/public/q/DISC.json | 551 +++ yarn.lock | 4 + 6 files changed, 1824 insertions(+), 6061 deletions(-) create mode 100644 docs/q/DISC.json create mode 100644 survey/public/q/DISC.json create mode 100644 yarn.lock diff --git a/docs/app/index.css.map b/docs/app/index.css.map index 6c71ee0..9f76b0e 100644 --- a/docs/app/index.css.map +++ b/docs/app/index.css.map @@ -2,6 +2,6 @@ "version": 3, "sources": ["../../survey/src/index.css"], "sourcesContent": ["body {\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',\n 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',\n sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n background-color: rgb(250 250 250);\n}\n\ncode {\n font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',\n monospace;\n}\n"], - "mappings": ";AAAA;AACI;AACA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA;AACA;AACA;AAAA;AAGJ;AACI;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;", + "mappings": ";AAAA;AACI,UAAQ;AACR;AAAA,IAAa,aAAa;AAAA,IAAE,kBAAkB;AAAA,IAAE,UAAU;AAAA,IAAE,QAAQ;AAAA,IAAE,QAAQ;AAAA,IAC9E,QAAQ;AAAA,IAAE,WAAW;AAAA,IAAE,WAAW;AAAA,IAAE,YAAY;AAAA,IAAE,gBAAgB;AAAA,IAClE;AACA,0BAAwB;AACxB,2BAAyB;AACzB,oBAAkB,IAAI,IAAI,IAAI;AAClC;AAEA;AACI;AAAA,IAAa,eAAe;AAAA,IAAE,KAAK;AAAA,IAAE,MAAM;AAAA,IAAE,QAAQ;AAAA,IAAE,aAAa;AAAA,IACpE;AACJ;", "names": [] } diff --git a/docs/app/index.js b/docs/app/index.js index 92f2d7d..b8f8317 100644 --- a/docs/app/index.js +++ b/docs/app/index.js @@ -297,7 +297,7 @@ return refObject; } var isArrayImpl = Array.isArray; - function isArray(a3) { + function isArray2(a3) { return isArrayImpl(a3); } function typeName(value) { @@ -398,7 +398,7 @@ } return null; } - var hasOwnProperty2 = Object.prototype.hasOwnProperty; + var hasOwnProperty4 = Object.prototype.hasOwnProperty; var RESERVED_PROPS = { key: true, ref: true, @@ -411,7 +411,7 @@ } function hasValidRef(config) { { - if (hasOwnProperty2.call(config, "ref")) { + if (hasOwnProperty4.call(config, "ref")) { var getter = Object.getOwnPropertyDescriptor(config, "ref").get; if (getter && getter.isReactWarning) { return false; @@ -422,7 +422,7 @@ } function hasValidKey(config) { { - if (hasOwnProperty2.call(config, "key")) { + if (hasOwnProperty4.call(config, "key")) { var getter = Object.getOwnPropertyDescriptor(config, "key").get; if (getter && getter.isReactWarning) { return false; @@ -534,7 +534,7 @@ self2 = config.__self === void 0 ? null : config.__self; source = config.__source === void 0 ? null : config.__source; for (propName in config) { - if (hasOwnProperty2.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) { + if (hasOwnProperty4.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) { props[propName] = config[propName]; } } @@ -606,7 +606,7 @@ defaultProps2 = element.type.defaultProps; } for (propName in config) { - if (hasOwnProperty2.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) { + if (hasOwnProperty4.call(config, propName) && !RESERVED_PROPS.hasOwnProperty(propName)) { if (config[propName] === void 0 && defaultProps2 !== void 0) { props[propName] = defaultProps2[propName]; } else { @@ -683,7 +683,7 @@ var _child = children; var mappedChild = callback(_child); var childKey = nameSoFar === "" ? SEPARATOR + getElementKey(_child, 0) : nameSoFar; - if (isArray(mappedChild)) { + if (isArray2(mappedChild)) { var escapedChildKey = ""; if (childKey != null) { escapedChildKey = escapeUserProvidedKey(childKey) + "/"; @@ -718,7 +718,7 @@ var nextName; var subtreeCount = 0; var nextNamePrefix = nameSoFar === "" ? SEPARATOR : nameSoFar + SUBSEPARATOR; - if (isArray(children)) { + if (isArray2(children)) { for (var i3 = 0; i3 < children.length; i3++) { child = children[i3]; nextName = nextNamePrefix + getElementKey(child, i3); @@ -1406,7 +1406,7 @@ } function checkPropTypes(typeSpecs, values3, location, componentName, element) { { - var has = Function.call.bind(hasOwnProperty2); + var has = Function.call.bind(hasOwnProperty4); for (var typeSpecName in typeSpecs) { if (has(typeSpecs, typeSpecName)) { var error$1 = void 0; @@ -1508,7 +1508,7 @@ if (typeof node2 !== "object") { return; } - if (isArray(node2)) { + if (isArray2(node2)) { for (var i3 = 0; i3 < node2.length; i3++) { var child = node2[i3]; if (isValidElement4(child)) { @@ -1598,7 +1598,7 @@ var typeString; if (type === null) { typeString = "null"; - } else if (isArray(type)) { + } else if (isArray2(type)) { typeString = "array"; } else if (type !== void 0 && type.$$typeof === REACT_ELEMENT_TYPE) { typeString = "<" + (getComponentNameFromType(type.type) || "Unknown") + " />"; @@ -1680,7 +1680,7 @@ } var didWarnAboutMessageChannel = false; var enqueueTaskImpl = null; - function enqueueTask(task2) { + function enqueueTask(task) { if (enqueueTaskImpl === null) { try { var requireString = ("require" + Math.random()).slice(0, 7); @@ -1702,7 +1702,7 @@ }; } } - return enqueueTaskImpl(task2); + return enqueueTaskImpl(task); } var actScopeDepth = 0; var didWarnNoAwaitAct = false; @@ -1995,7 +1995,7 @@ var NormalPriority = 3; var LowPriority = 4; var IdlePriority = 5; - function markTaskErrored(task2, ms) { + function markTaskErrored(task, ms) { } var hasPerformanceNow = typeof performance === "object" && typeof performance.now === "function"; if (hasPerformanceNow) { @@ -2249,8 +2249,8 @@ function unstable_getFirstCallbackNode() { return peek2(taskQueue); } - function unstable_cancelCallback(task2) { - task2.callback = null; + function unstable_cancelCallback(task) { + task.callback = null; } function unstable_getCurrentPriorityLevel() { return currentPriorityLevel; @@ -2489,7 +2489,7 @@ } } var canUseDOM2 = !!(typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined"); - var hasOwnProperty2 = Object.prototype.hasOwnProperty; + var hasOwnProperty4 = Object.prototype.hasOwnProperty; function typeName(value) { { var hasToStringTag = typeof Symbol === "function" && Symbol.toStringTag; @@ -2571,10 +2571,10 @@ var illegalAttributeNameCache = {}; var validatedAttributeNameCache = {}; function isAttributeNameSafe(attributeName) { - if (hasOwnProperty2.call(validatedAttributeNameCache, attributeName)) { + if (hasOwnProperty4.call(validatedAttributeNameCache, attributeName)) { return true; } - if (hasOwnProperty2.call(illegalAttributeNameCache, attributeName)) { + if (hasOwnProperty4.call(illegalAttributeNameCache, attributeName)) { return false; } if (VALID_ATTRIBUTE_NAME_REGEX.test(attributeName)) { @@ -4021,7 +4021,7 @@ } } var isArrayImpl = Array.isArray; - function isArray(a3) { + function isArray2(a3) { return isArrayImpl(a3); } var didWarnValueDefaultValue$1; @@ -4044,7 +4044,7 @@ if (props[propName] == null) { continue; } - var propNameIsArray = isArray(props[propName]); + var propNameIsArray = isArray2(props[propName]); if (props.multiple && !propNameIsArray) { error("The `%s` prop supplied to