Merge branch 'dev_local_v9_hjjxinchuang' of https://bdgit.educoder.net/pu428f3pz/pfjnqt4br into dev_local_v9_hjjxinchuang

dev_local_v9_hjjxinchuang
鲁誉程 10 months ago
commit a14515c5ab

@ -16,6 +16,7 @@
0;
}(this, (function () { 'use strict';
<<<<<<< HEAD
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
@ -104,6 +105,96 @@
}
}
return to.concat(ar || from);
=======
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
/* global Reflect, Promise */
var extendStatics = function(d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
function __extends(d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
}
var __assign = function() {
__assign = Object.assign || function __assign(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};
function __awaiter(thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
}
function __generator(thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f) throw new TypeError("Generator is already executing.");
while (_) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {
case 0: case 1: t = op; break;
case 4: _.label++; return { value: op[1], done: false };
case 5: _.label++; y = op[1]; op = [0]; continue;
case 7: op = _.ops.pop(); _.trys.pop(); continue;
default:
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
if (t[2]) _.ops.pop();
_.trys.pop(); continue;
}
op = body.call(thisArg, _);
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
}
}
function __spreadArray(to, from, pack) {
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
if (ar || !(i in from)) {
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
ar[i] = from[i];
}
}
return to.concat(ar || from);
>>>>>>> 1a6f7a1e95335ae6e6785d01f49cb2749e924e00
}
var Bounds = /** @class */ (function () {

@ -371,6 +371,7 @@ var initStateUpdates = function initStateUpdates() {
};
function connectAdvanced(
<<<<<<< HEAD
/*
selectorFactory is a func that is responsible for returning the selector function used to
compute new props from state, props, and dispatch. For example:
@ -384,6 +385,21 @@ function connectAdvanced(
Note that selectorFactory is responsible for all caching/memoization of inbound and outbound
props. Do not use connectAdvanced directly without memoizing results between calls to your
selector, otherwise the Connect component will re-render on every state or props change.
=======
/*
selectorFactory is a func that is responsible for returning the selector function used to
compute new props from state, props, and dispatch. For example:
export default connectAdvanced((dispatch, options) => (state, props) => ({
thing: state.things[props.thingId],
saveThing: fields => dispatch(actionCreators.saveThing(props.thingId, fields)),
}))(YourComponent)
Access to dispatch is provided to the factory so selectorFactories can bind actionCreators
outside of their selector as an optimization. Options passed to connectAdvanced are passed to
the selectorFactory, along with displayName and WrappedComponent, as the second argument.
Note that selectorFactory is responsible for all caching/memoization of inbound and outbound
props. Do not use connectAdvanced directly without memoizing results between calls to your
selector, otherwise the Connect component will re-render on every state or props change.
>>>>>>> 1a6f7a1e95335ae6e6785d01f49cb2749e924e00
*/
selectorFactory, // options object:
_ref) {
@ -879,6 +895,7 @@ var connect_excluded = ["pure", "areStatesEqual", "areOwnPropsEqual", "areStateP
<<<<<<< HEAD
/*
connect is a facade over connectAdvanced. It turns its args into a compatible
selectorFactory, which has the signature:
@ -894,6 +911,23 @@ var connect_excluded = ["pure", "areStatesEqual", "areOwnPropsEqual", "areStateP
The resulting final props selector is called by the Connect component instance whenever
it receives new props or store state.
=======
/*
connect is a facade over connectAdvanced. It turns its args into a compatible
selectorFactory, which has the signature:
(dispatch, options) => (nextState, nextOwnProps) => nextFinalProps
connect passes its args to connectAdvanced as options, which will in turn pass them to
selectorFactory each time a Connect component instance is instantiated or hot reloaded.
selectorFactory returns a final props selector from its mapStateToProps,
mapStateToPropsFactories, mapDispatchToProps, mapDispatchToPropsFactories, mergeProps,
mergePropsFactories, and pure args.
The resulting final props selector is called by the Connect component instance whenever
it receives new props or store state.
>>>>>>> 1a6f7a1e95335ae6e6785d01f49cb2749e924e00
*/
function match(arg, factories, name) {
@ -972,6 +1006,7 @@ function createConnect(_temp) {
;// CONCATENATED MODULE: ./node_modules/_react-redux@7.2.9@react-redux/es/hooks/useReduxContext.js
<<<<<<< HEAD
/**
* A hook to access the value of the `ReactReduxContext`. This is a low-level
* hook that you should usually not need to call directly.
@ -987,6 +1022,23 @@ function createConnect(_temp) {
* const { store } = useReduxContext()
* return <div>{store.getState()}</div>
* }
=======
/**
* A hook to access the value of the `ReactReduxContext`. This is a low-level
* hook that you should usually not need to call directly.
*
* @returns {any} the value of the `ReactReduxContext`
*
* @example
*
* import React from 'react'
* import { useReduxContext } from 'react-redux'
*
* export const CounterComponent = ({ value }) => {
* const { store } = useReduxContext()
* return <div>{store.getState()}</div>
* }
>>>>>>> 1a6f7a1e95335ae6e6785d01f49cb2749e924e00
*/
function useReduxContext() {
@ -1000,11 +1052,19 @@ function useReduxContext() {
<<<<<<< HEAD
/**
* Hook factory, which creates a `useStore` hook bound to a given context.
*
* @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
* @returns {Function} A `useStore` hook bound to the specified context.
=======
/**
* Hook factory, which creates a `useStore` hook bound to a given context.
*
* @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
* @returns {Function} A `useStore` hook bound to the specified context.
>>>>>>> 1a6f7a1e95335ae6e6785d01f49cb2749e924e00
*/
function useStore_createStoreHook(context) {
@ -1022,6 +1082,22 @@ function useStore_createStoreHook(context) {
return store;
};
}
<<<<<<< HEAD
/**
* A hook to access the redux store.
*
* @returns {any} the redux store
*
* @example
*
* import React from 'react'
* import { useStore } from 'react-redux'
*
* export const ExampleComponent = () => {
* const store = useStore()
* return <div>{store.getState()}</div>
* }
=======
/**
* A hook to access the redux store.
*
@ -1036,17 +1112,26 @@ function useStore_createStoreHook(context) {
* const store = useStore()
* return <div>{store.getState()}</div>
* }
>>>>>>> 1a6f7a1e95335ae6e6785d01f49cb2749e924e00
*/
var useStore = /*#__PURE__*/(/* unused pure expression or super */ null && (useStore_createStoreHook()));
;// CONCATENATED MODULE: ./node_modules/_react-redux@7.2.9@react-redux/es/hooks/useDispatch.js
<<<<<<< HEAD
/**
* Hook factory, which creates a `useDispatch` hook bound to a given context.
*
* @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
* @returns {Function} A `useDispatch` hook bound to the specified context.
=======
/**
* Hook factory, which creates a `useDispatch` hook bound to a given context.
*
* @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
* @returns {Function} A `useDispatch` hook bound to the specified context.
>>>>>>> 1a6f7a1e95335ae6e6785d01f49cb2749e924e00
*/
function createDispatchHook(context) {
@ -1060,6 +1145,7 @@ function createDispatchHook(context) {
return store.dispatch;
};
}
<<<<<<< HEAD
/**
* A hook to access the redux `dispatch` function.
*
@ -1080,6 +1166,28 @@ function createDispatchHook(context) {
* </div>
* )
* }
=======
/**
* A hook to access the redux `dispatch` function.
*
* @returns {any|function} redux store's `dispatch` function
*
* @example
*
* import React, { useCallback } from 'react'
* import { useDispatch } from 'react-redux'
*
* export const CounterComponent = ({ value }) => {
* const dispatch = useDispatch()
* const increaseCounter = useCallback(() => dispatch({ type: 'increase-counter' }), [])
* return (
* <div>
* <span>{value}</span>
* <button onClick={increaseCounter}>Increase counter</button>
* </div>
* )
* }
>>>>>>> 1a6f7a1e95335ae6e6785d01f49cb2749e924e00
*/
var useDispatch = /*#__PURE__*/(/* unused pure expression or super */ null && (createDispatchHook()));
@ -1173,11 +1281,19 @@ function useSelectorWithStoreAndSubscription(selector, equalityFn, store, contex
}, [store, subscription]);
return selectedState;
}
<<<<<<< HEAD
/**
* Hook factory, which creates a `useSelector` hook bound to a given context.
*
* @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
* @returns {Function} A `useSelector` hook bound to the specified context.
=======
/**
* Hook factory, which creates a `useSelector` hook bound to a given context.
*
* @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
* @returns {Function} A `useSelector` hook bound to the specified context.
>>>>>>> 1a6f7a1e95335ae6e6785d01f49cb2749e924e00
*/
@ -1205,6 +1321,30 @@ function createSelectorHook(context) {
return selectedState;
};
}
<<<<<<< HEAD
/**
* A hook to access the redux store's state. This hook takes a selector function
* as an argument. The selector is called with the store state.
*
* This hook takes an optional equality comparison function as the second parameter
* that allows you to customize the way the selected state is compared to determine
* whether the component needs to be re-rendered.
*
* @param {Function} selector the selector function
* @param {Function=} equalityFn the function that will be used to determine equality
*
* @returns {any} the selected state
*
* @example
*
* import React from 'react'
* import { useSelector } from 'react-redux'
*
* export const CounterComponent = () => {
* const counter = useSelector(state => state.counter)
* return <div>{counter}</div>
* }
=======
/**
* A hook to access the redux store's state. This hook takes a selector function
* as an argument. The selector is called with the store state.
@ -1227,6 +1367,7 @@ function createSelectorHook(context) {
* const counter = useSelector(state => state.counter)
* return <div>{counter}</div>
* }
>>>>>>> 1a6f7a1e95335ae6e6785d01f49cb2749e924e00
*/
var useSelector = /*#__PURE__*/(/* unused pure expression or super */ null && (createSelectorHook()));

File diff suppressed because one or more lines are too long

@ -10292,6 +10292,7 @@ var _typeof3 = _interopRequireDefault(_typeof2);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
<<<<<<< HEAD
/*
* Date Format 1.2.3
* (c) 2007-2009 Steven Levithan <stevenlevithan.com>
@ -10304,6 +10305,20 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
* Returns a formatted version of the given date.
* The date defaults to the current date/time.
* The mask defaults to dateFormat.masks.default.
=======
/*
* Date Format 1.2.3
* (c) 2007-2009 Steven Levithan <stevenlevithan.com>
* MIT license
*
* Includes enhancements by Scott Trenda <scott.trenda.net>
* and Kris Kowal <cixar.com/~kris.kowal/>
*
* Accepts a date, a mask, or a date and a mask.
* Returns a formatted version of the given date.
* The date defaults to the current date/time.
* The mask defaults to dateFormat.masks.default.
>>>>>>> 1a6f7a1e95335ae6e6785d01f49cb2749e924e00
*/
(function (global) {
@ -10429,6 +10444,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
return val;
}
<<<<<<< HEAD
/**
* Get the ISO 8601 week number
* Based on comments from
@ -10436,6 +10452,15 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
*
* @param {Object} `date`
* @return {Number}
=======
/**
* Get the ISO 8601 week number
* Based on comments from
* http://techblog.procurios.nl/k/n618/news/view/33796/14863/Calculate-ISO-8601-week-and-year-in-javascript.html
*
* @param {Object} `date`
* @return {Number}
>>>>>>> 1a6f7a1e95335ae6e6785d01f49cb2749e924e00
*/
function getWeek(date) {
// Remove time components of date
@ -10459,12 +10484,21 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
return 1 + Math.floor(weekDiff);
}
<<<<<<< HEAD
/**
* Get ISO-8601 numeric representation of the day of the week
* 1 (for Monday) through 7 (for Sunday)
*
* @param {Object} `date`
* @return {Number}
=======
/**
* Get ISO-8601 numeric representation of the day of the week
* 1 (for Monday) through 7 (for Sunday)
*
* @param {Object} `date`
* @return {Number}
>>>>>>> 1a6f7a1e95335ae6e6785d01f49cb2749e924e00
*/
function getDayOfWeek(date) {
var dow = date.getDay();
@ -10474,10 +10508,17 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
return dow;
}
<<<<<<< HEAD
/**
* kind-of shortcut
* @param {*} val
* @return {String}
=======
/**
* kind-of shortcut
* @param {*} val
* @return {String}
>>>>>>> 1a6f7a1e95335ae6e6785d01f49cb2749e924e00
*/
function kindOf(val) {
if (val === null) {
@ -26894,6 +26935,15 @@ module.exports = { hash: hash };
},{"buffer":73}],286:[function(require,module,exports){
"use strict";
<<<<<<< HEAD
/*
* A JavaScript implementation of the RSA Data Security, Inc. MD5 Message
* Digest Algorithm, as defined in RFC 1321.
* Version 2.1 Copyright (C) Paul Johnston 1999 - 2002.
* Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
* Distributed under the BSD License
* See http://pajhome.org.uk/crypt/md5 for more info.
=======
/*
* A JavaScript implementation of the RSA Data Security, Inc. MD5 Message
* Digest Algorithm, as defined in RFC 1321.
@ -26901,19 +26951,30 @@ module.exports = { hash: hash };
* Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
* Distributed under the BSD License
* See http://pajhome.org.uk/crypt/md5 for more info.
>>>>>>> 1a6f7a1e95335ae6e6785d01f49cb2749e924e00
*/
var helpers = require('./helpers');
<<<<<<< HEAD
/*
* Perform a simple self-test to see if the VM is working
=======
/*
* Perform a simple self-test to see if the VM is working
>>>>>>> 1a6f7a1e95335ae6e6785d01f49cb2749e924e00
*/
function md5_vm_test() {
return hex_md5("abc") == "900150983cd24fb0d6963f7d28e17f72";
}
<<<<<<< HEAD
/*
* Calculate the MD5 of an array of little-endian words, and a bit length
=======
/*
* Calculate the MD5 of an array of little-endian words, and a bit length
>>>>>>> 1a6f7a1e95335ae6e6785d01f49cb2749e924e00
*/
function core_md5(x, len) {
/* append padding */
@ -27007,8 +27068,13 @@ function core_md5(x, len) {
return Array(a, b, c, d);
}
<<<<<<< HEAD
/*
* These functions implement the four basic operations the algorithm uses.
=======
/*
* These functions implement the four basic operations the algorithm uses.
>>>>>>> 1a6f7a1e95335ae6e6785d01f49cb2749e924e00
*/
function md5_cmn(q, a, b, x, s, t) {
return safe_add(bit_rol(safe_add(safe_add(a, q), safe_add(x, t)), s), b);
@ -27026,9 +27092,15 @@ function md5_ii(a, b, c, d, x, s, t) {
return md5_cmn(c ^ (b | ~d), a, b, x, s, t);
}
<<<<<<< HEAD
/*
* Add integers, wrapping at 2^32. This uses 16-bit operations internally
* to work around bugs in some JS interpreters.
=======
/*
* Add integers, wrapping at 2^32. This uses 16-bit operations internally
* to work around bugs in some JS interpreters.
>>>>>>> 1a6f7a1e95335ae6e6785d01f49cb2749e924e00
*/
function safe_add(x, y) {
var lsw = (x & 0xFFFF) + (y & 0xFFFF);
@ -27036,8 +27108,13 @@ function safe_add(x, y) {
return msw << 16 | lsw & 0xFFFF;
}
<<<<<<< HEAD
/*
* Bitwise rotate a 32-bit number to the left.
=======
/*
* Bitwise rotate a 32-bit number to the left.
>>>>>>> 1a6f7a1e95335ae6e6785d01f49cb2749e924e00
*/
function bit_rol(num, cnt) {
return num << cnt | num >>> 32 - cnt;

File diff suppressed because it is too large Load Diff

@ -1881,6 +1881,7 @@ module.exports = ByteData
\*****************************************************************************/
/***/ (function(__unused_webpack_module, exports, __webpack_require__) {
<<<<<<< HEAD
var ECLevel = __webpack_require__(/*! ./error-correction-level */ 40785)
var EC_BLOCKS_TABLE = [
@ -2016,6 +2017,143 @@ exports.getTotalCodewordsCount = function getTotalCodewordsCount (version, error
return undefined
}
}
=======
var ECLevel = __webpack_require__(/*! ./error-correction-level */ 40785)
var EC_BLOCKS_TABLE = [
// L M Q H
1, 1, 1, 1,
1, 1, 1, 1,
1, 1, 2, 2,
1, 2, 2, 4,
1, 2, 4, 4,
2, 4, 4, 4,
2, 4, 6, 5,
2, 4, 6, 6,
2, 5, 8, 8,
4, 5, 8, 8,
4, 5, 8, 11,
4, 8, 10, 11,
4, 9, 12, 16,
4, 9, 16, 16,
6, 10, 12, 18,
6, 10, 17, 16,
6, 11, 16, 19,
6, 13, 18, 21,
7, 14, 21, 25,
8, 16, 20, 25,
8, 17, 23, 25,
9, 17, 23, 34,
9, 18, 25, 30,
10, 20, 27, 32,
12, 21, 29, 35,
12, 23, 34, 37,
12, 25, 34, 40,
13, 26, 35, 42,
14, 28, 38, 45,
15, 29, 40, 48,
16, 31, 43, 51,
17, 33, 45, 54,
18, 35, 48, 57,
19, 37, 51, 60,
19, 38, 53, 63,
20, 40, 56, 66,
21, 43, 59, 70,
22, 45, 62, 74,
24, 47, 65, 77,
25, 49, 68, 81
]
var EC_CODEWORDS_TABLE = [
// L M Q H
7, 10, 13, 17,
10, 16, 22, 28,
15, 26, 36, 44,
20, 36, 52, 64,
26, 48, 72, 88,
36, 64, 96, 112,
40, 72, 108, 130,
48, 88, 132, 156,
60, 110, 160, 192,
72, 130, 192, 224,
80, 150, 224, 264,
96, 176, 260, 308,
104, 198, 288, 352,
120, 216, 320, 384,
132, 240, 360, 432,
144, 280, 408, 480,
168, 308, 448, 532,
180, 338, 504, 588,
196, 364, 546, 650,
224, 416, 600, 700,
224, 442, 644, 750,
252, 476, 690, 816,
270, 504, 750, 900,
300, 560, 810, 960,
312, 588, 870, 1050,
336, 644, 952, 1110,
360, 700, 1020, 1200,
390, 728, 1050, 1260,
420, 784, 1140, 1350,
450, 812, 1200, 1440,
480, 868, 1290, 1530,
510, 924, 1350, 1620,
540, 980, 1440, 1710,
570, 1036, 1530, 1800,
570, 1064, 1590, 1890,
600, 1120, 1680, 1980,
630, 1204, 1770, 2100,
660, 1260, 1860, 2220,
720, 1316, 1950, 2310,
750, 1372, 2040, 2430
]
/**
* Returns the number of error correction block that the QR Code should contain
* for the specified version and error correction level.
*
* @param {Number} version QR Code version
* @param {Number} errorCorrectionLevel Error correction level
* @return {Number} Number of error correction blocks
*/
exports.getBlocksCount = function getBlocksCount (version, errorCorrectionLevel) {
switch (errorCorrectionLevel) {
case ECLevel.L:
return EC_BLOCKS_TABLE[(version - 1) * 4 + 0]
case ECLevel.M:
return EC_BLOCKS_TABLE[(version - 1) * 4 + 1]
case ECLevel.Q:
return EC_BLOCKS_TABLE[(version - 1) * 4 + 2]
case ECLevel.H:
return EC_BLOCKS_TABLE[(version - 1) * 4 + 3]
default:
return undefined
}
}
/**
* Returns the number of error correction codewords to use for the specified
* version and error correction level.
*
* @param {Number} version QR Code version
* @param {Number} errorCorrectionLevel Error correction level
* @return {Number} Number of error correction codewords
*/
exports.getTotalCodewordsCount = function getTotalCodewordsCount (version, errorCorrectionLevel) {
switch (errorCorrectionLevel) {
case ECLevel.L:
return EC_CODEWORDS_TABLE[(version - 1) * 4 + 0]
case ECLevel.M:
return EC_CODEWORDS_TABLE[(version - 1) * 4 + 1]
case ECLevel.Q:
return EC_CODEWORDS_TABLE[(version - 1) * 4 + 2]
case ECLevel.H:
return EC_CODEWORDS_TABLE[(version - 1) * 4 + 3]
default:
return undefined
}
}
>>>>>>> 1a6f7a1e95335ae6e6785d01f49cb2749e924e00
/***/ }),

@ -348,6 +348,7 @@ var _react_17_0_2_react = __webpack_require__(59301);
<<<<<<< HEAD
var ReactDiagram = (function (_super) {
__extends(ReactDiagram, _super);
function ReactDiagram(props) {
@ -581,6 +582,241 @@ var ReactPalette = (function (_super) {
return (_react_17_0_2_react.createElement("div", { ref: this.divRef, className: this.props.divClassName, style: this.props.style }));
};
return ReactPalette;
=======
var ReactDiagram = (function (_super) {
__extends(ReactDiagram, _super);
function ReactDiagram(props) {
var _this = _super.call(this, props) || this;
_this.wasCleared = false;
_this.modelChangedListener = null;
_this.divRef = _react_17_0_2_react.createRef();
return _this;
}
ReactDiagram.prototype.getDiagram = function () {
if (this.divRef.current === null)
return null;
return go_module/* Diagram */.S0.fromDiv(this.divRef.current);
};
ReactDiagram.prototype.clear = function () {
var diagram = this.getDiagram();
if (diagram !== null) {
diagram.clear();
this.wasCleared = true;
}
};
ReactDiagram.prototype.componentDidMount = function () {
var _this = this;
if (this.divRef.current === null)
return;
var diagram = this.props.initDiagram();
diagram.div = this.divRef.current;
this.modelChangedListener = function (e) {
if (e.isTransactionFinished && e.model && !e.model.isReadOnly && _this.props.onModelChange) {
var dataChanges = e.model.toIncrementalData(e);
if (dataChanges !== null)
_this.props.onModelChange(dataChanges, e);
}
};
diagram.addModelChangedListener(this.modelChangedListener);
diagram.delayInitialization(function () {
_this.mergeData(diagram, true);
});
};
ReactDiagram.prototype.componentWillUnmount = function () {
var diagram = this.getDiagram();
if (diagram !== null) {
diagram.div = null;
if (this.modelChangedListener !== null) {
diagram.removeModelChangedListener(this.modelChangedListener);
this.modelChangedListener = null;
}
}
};
ReactDiagram.prototype.shouldComponentUpdate = function (nextProps, nextState) {
if (nextProps.divClassName !== this.props.divClassName || nextProps.style !== this.props.style)
return true;
if (nextProps.skipsDiagramUpdate)
return false;
if (nextProps.nodeDataArray === this.props.nodeDataArray &&
nextProps.linkDataArray === this.props.linkDataArray &&
nextProps.modelData === this.props.modelData)
return false;
return true;
};
ReactDiagram.prototype.componentDidUpdate = function (prevProps, prevState) {
var _this = this;
if (prevProps.nodeDataArray === this.props.nodeDataArray &&
prevProps.linkDataArray === this.props.linkDataArray &&
prevProps.modelData === this.props.modelData)
return;
var diagram = this.getDiagram();
if (diagram !== null) {
if (this.wasCleared) {
diagram.delayInitialization(function () {
_this.mergeData(diagram, true);
_this.wasCleared = false;
});
}
else {
this.mergeData(diagram, false);
}
}
};
ReactDiagram.prototype.mergeData = function (diagram, isInit) {
var _this = this;
var model = diagram.model;
model.commit(function (m) {
if (_this.props.modelData !== undefined) {
m.assignAllDataProperties(m.modelData, _this.props.modelData);
}
m.mergeNodeDataArray(_this.props.nodeDataArray);
if (_this.props.linkDataArray !== undefined && m instanceof go_module/* GraphLinksModel */.FJ) {
m.mergeLinkDataArray(_this.props.linkDataArray);
}
}, isInit ? 'initial merge' : 'merge data');
};
ReactDiagram.prototype.render = function () {
return (_react_17_0_2_react.createElement("div", { ref: this.divRef, className: this.props.divClassName, style: this.props.style }));
};
return ReactDiagram;
}(_react_17_0_2_react.Component));
var ReactOverview = (function (_super) {
__extends(ReactOverview, _super);
function ReactOverview(props) {
var _this = _super.call(this, props) || this;
_this.divRef = _react_17_0_2_react.createRef();
return _this;
}
ReactOverview.prototype.getOverview = function () {
if (this.divRef.current === null)
return null;
return go_module/* Diagram */.S0.fromDiv(this.divRef.current);
};
ReactOverview.prototype.componentDidMount = function () {
if (this.divRef.current === null)
return;
var overview;
if (this.props.initOverview !== undefined) {
overview = this.props.initOverview();
}
else {
overview = new go_module/* Overview */.g2();
overview.contentAlignment = go_module/* Spot */.z6.Center;
}
overview.div = this.divRef.current;
overview.observed = this.props.observedDiagram;
};
ReactOverview.prototype.componentWillUnmount = function () {
var overview = this.getOverview();
if (overview !== null) {
overview.div = null;
overview.observed = null;
}
};
ReactOverview.prototype.shouldComponentUpdate = function (nextProps, nextState) {
if (nextProps.divClassName !== this.props.divClassName || nextProps.style !== this.props.style)
return true;
if (nextProps.observedDiagram === this.props.observedDiagram)
return false;
return true;
};
ReactOverview.prototype.componentDidUpdate = function (prevProps, prevState) {
if (prevProps.observedDiagram === this.props.observedDiagram)
return;
var overview = this.getOverview();
if (overview !== null) {
overview.observed = this.props.observedDiagram;
}
};
ReactOverview.prototype.render = function () {
return (_react_17_0_2_react.createElement("div", { ref: this.divRef, className: this.props.divClassName, style: this.props.style }));
};
return ReactOverview;
}(_react_17_0_2_react.Component));
var ReactPalette = (function (_super) {
__extends(ReactPalette, _super);
function ReactPalette(props) {
var _this = _super.call(this, props) || this;
_this.wasCleared = false;
_this.divRef = _react_17_0_2_react.createRef();
return _this;
}
ReactPalette.prototype.getPalette = function () {
if (this.divRef.current === null)
return null;
return go_module/* Diagram */.S0.fromDiv(this.divRef.current);
};
ReactPalette.prototype.clear = function () {
var palette = this.getPalette();
if (palette !== null) {
palette.clear();
this.wasCleared = true;
}
};
ReactPalette.prototype.componentDidMount = function () {
var _this = this;
if (this.divRef.current === null)
return;
var palette = this.props.initPalette();
palette.div = this.divRef.current;
palette.delayInitialization(function () {
_this.mergeData(palette, true);
});
};
ReactPalette.prototype.componentWillUnmount = function () {
var palette = this.getPalette();
if (palette !== null) {
palette.div = null;
}
};
ReactPalette.prototype.shouldComponentUpdate = function (nextProps, nextState) {
if (nextProps.divClassName !== this.props.divClassName || nextProps.style !== this.props.style)
return true;
if (nextProps.nodeDataArray === this.props.nodeDataArray &&
nextProps.linkDataArray === this.props.linkDataArray &&
nextProps.modelData === this.props.modelData)
return false;
return true;
};
ReactPalette.prototype.componentDidUpdate = function (prevProps, prevState) {
var _this = this;
if (prevProps.nodeDataArray === this.props.nodeDataArray &&
prevProps.linkDataArray === this.props.linkDataArray &&
prevProps.modelData === this.props.modelData)
return;
var palette = this.getPalette();
if (palette !== null) {
if (this.wasCleared) {
palette.delayInitialization(function () {
_this.mergeData(palette, true);
_this.wasCleared = false;
});
}
else {
this.mergeData(palette, false);
}
}
};
ReactPalette.prototype.mergeData = function (diagram, isInit) {
var _this = this;
var model = diagram.model;
model.commit(function (m) {
if (_this.props.modelData !== undefined) {
m.assignAllDataProperties(m.modelData, _this.props.modelData);
}
m.mergeNodeDataArray(_this.props.nodeDataArray);
if (_this.props.linkDataArray !== undefined && m instanceof go_module/* GraphLinksModel */.FJ) {
m.mergeLinkDataArray(_this.props.linkDataArray);
}
}, isInit ? 'initial merge' : 'merge data');
};
ReactPalette.prototype.render = function () {
return (_react_17_0_2_react.createElement("div", { ref: this.divRef, className: this.props.divClassName, style: this.props.style }));
};
return ReactPalette;
>>>>>>> 1a6f7a1e95335ae6e6785d01f49cb2749e924e00
}(_react_17_0_2_react.Component));

@ -26,7 +26,11 @@
display: block !important;
}
</style><script>if(document.domain !== "www.educoder.net") document.title = '';</script>
<<<<<<< HEAD
<script src="/react/build/umi.5bb439b2.js"></script>
=======
<script src="/react/build/umi.074b14dd.js"></script>
>>>>>>> 1a6f7a1e95335ae6e6785d01f49cb2749e924e00
<script src="/react/build/js/public.js"></script>
</body>
</html>

@ -0,0 +1,304 @@
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.11@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.11@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/components/image-preview/index.less ***!
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.image-preview-container {
display: flex;
flex-flow: column nowrap;
position: fixed;
align-items: center;
justify-content: center;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 99999;
background: rgba(0, 0, 0, 0.8);
}
.image-preview-container .image-preview {
transition: transform 0.4s linear;
max-width: 86%;
}
.image-preview-container .button-group {
display: flex;
flex-flow: row nowrap;
align-items: center;
justify-content: flex-end;
position: absolute;
z-index: 101;
right: 10px;
top: 10px;
}
.image-preview-container .button-group a,
.image-preview-container .button-group button {
color: rgba(0, 0, 0, 0.65);
margin-right: 10px;
display: flex;
flex-flow: row nowrap;
align-items: center;
}
.preview-wrp-group {
overflow: auto;
width: 100%;
text-align: center;
}
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.11@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.11@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Shixuns/Detail/Challenges/components/Jupyter/index.less?modules ***!
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.allTaskWrap___5OgCm {
background-color: #fff;
display: flex;
flex-direction: row;
justify-content: space-between;
padding: 20px;
}
.titleTip___ygfdn {
font-size: 14px;
color: #888;
}
.loading___QpGaQ {
display: flex;
justify-content: center;
align-items: center;
min-height: 300px;
background-color: #fff;
}
.failWrap____s8of {
display: flex;
flex-direction: column;
}
.failIcon___f9OxH {
font-size: 100px;
color: #f5f5f5;
text-align: center;
}
.failReload___q6MdJ {
color: #1e8ffd;
font-size: 12px;
cursor: pointer;
margin-right: 18px;
}
.timeWrap___FKccg {
width: 1px;
height: 1px;
overflow: hidden;
display: block;
}
.actionWrap___Ud1IQ {
display: flex;
flex-direction: row;
align-items: center;
}
.zoom___wkYch {
width: 100%;
position: fixed;
top: 0px;
left: 0px;
bottom: 0;
background: white;
z-index: 1009;
right: 0px;
overflow: auto;
}
.iframeZoom___H5Nxp {
height: 100%;
width: 100%;
position: fixed;
top: 0px;
margin-top: 63px;
bottom: 0px;
left: 0px;
z-index: 1009;
right: 0px;
}
.iframeZoom___H5Nxp iframe {
height: 100%;
}
.previewWrapper___WYNMf {
background-color: #fff;
padding: 25px 0 25px 15px;
}
.uploadWrapper___IIOXt {
display: block !important;
}
.uploadWrapper___IIOXt [class~='ant-upload'] {
display: block !important;
}
.uploadWrapper___IIOXt span {
display: block !important;
}
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.4.11@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.4.11@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Shixuns/Detail/Challenges/index.less?modules ***!
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.flex_box_center___x_Daw {
justify-content: center;
align-items: center;
-webkit-justify-content: center;
box-align: center;
}
.flex_space_between___kdxlI {
justify-content: space-between;
-webkit-box-pack: justify;
}
.flex_box_vertical_center___gKJIW {
align-items: center;
box-align: center;
}
.flex_box_center_end___LrVET {
justify-content: flex-end;
align-items: center;
-webkit-justify-content: flex-end;
-webkit-align-items: center;
-webkit-box-align: center;
-webkit-box-pack: end;
box-align: center;
box-pack: end;
}
.flex_box_column___VnHmN {
flex-direction: column;
box-orient: block-axis;
}
.challenges___vQ9Jp {
margin: 0 auto;
display: box;
display: flex;
justify-content: space-between;
}
.challenges___vQ9Jp .leftWrap___h8un5 {
width: 100%;
}
.challenges___vQ9Jp .leftWrap___h8un5 .introWrap___pR_HR {
margin-bottom: 20px;
border-radius: 4px;
}
.challenges___vQ9Jp .leftWrap___h8un5 .introWrap___pR_HR .introContentWrap___xoLzf {
padding: 20px;
}
.challenges___vQ9Jp .leftWrap___h8un5 .introWrap___pR_HR .introContentWrap___xoLzf .introContent___DMssT {
text-align: justify;
}
.challenges___vQ9Jp .leftWrap___h8un5 .introWrap___pR_HR .introContentWrap___xoLzf .introContentMaxHeight___MNBoT {
max-height: 385px;
overflow: hidden;
}
.nodataImg___eTL2A {
width: 362px;
margin: 50px 0px 20px;
display: block;
margin-left: 41%;
}
.nodataImgWidth128___m8SK4 {
width: 128px;
}
.nodataText___idqrT {
font-size: 20px;
text-align: center;
color: #999;
}
.pass___PMMP0 {
border-radius: 4px;
overflow: hidden;
margin-top: 20px;
}
.pass___PMMP0 .wrapPassTitle___LkBME {
color: #2C3A58;
height: 28px;
line-height: 28px;
padding-left: 20px;
font-weight: 600;
font-size: 16px;
}
.pass___PMMP0 .wrapPassContent___Vojq9 {
padding: 20px;
padding-top: 0;
}
.pass___PMMP0 .wrapPassContent___Vojq9 .passList___r1FtD {
display: flex;
justify-content: space-between;
align-items: flex-start;
padding: 20px;
background: #fff;
border-radius: 8px;
margin-bottom: 15px;
}
.pass___PMMP0 .wrapPassContent___Vojq9 .passList___r1FtD .subject___n0KNm i {
font-size: 24px;
}
.pass___PMMP0 .wrapPassContent___Vojq9 .passList___r1FtD .info___dz1CA {
flex: 1 1;
margin-left: 20px;
}
.pass___PMMP0 .wrapPassContent___Vojq9 .passList___r1FtD .info___dz1CA .infoTitle___fGbqo {
font-size: 16px;
color: #333;
}
.pass___PMMP0 .wrapPassContent___Vojq9 .passList___r1FtD .info___dz1CA .infoTitle___fGbqo span {
margin-left: 20px;
}
.pass___PMMP0 .wrapPassContent___Vojq9 .passList___r1FtD .info___dz1CA .infoScare___UpwjI {
font-size: 12px;
color: #999;
margin-top: 10px;
}
.pass___PMMP0 .wrapPassContent___Vojq9 .passList___r1FtD .info___dz1CA .infoScare___UpwjI span {
margin-right: 30px;
}
.pass___PMMP0 .wrapPassContent___Vojq9 .passList___r1FtD .info___dz1CA .infoScare___UpwjI span b {
color: #333;
margin-left: 8px;
font-weight: 400;
}
.pass___PMMP0 .wrapPassContent___Vojq9 .passList___r1FtD .editIcon___r2urB {
margin-top: 3px;
cursor: pointer;
}
.pass___PMMP0 .wrapPassContent___Vojq9 .passList___r1FtD .editIcon___r2urB i {
color: #1890ff;
font-size: 20px;
}
.pass___PMMP0 .wrapPassContent___Vojq9 .passList___r1FtD .status___dqblY {
display: inline-block;
min-width: 54px;
height: 22px;
border-radius: 13px;
border: 1px solid #B3F4D1;
font-size: 12px;
padding: 0 8px;
margin-left: 10px !important;
}
.pass___PMMP0 .wrapPassContent___Vojq9 .passList___r1FtD .status___dqblY span {
width: 36px;
height: 20px;
font-weight: 400;
font-size: 12px;
color: #37D4A1;
line-height: 20px;
margin-left: 0 !important;
}
.preparePageWrapper___e_RMO {
padding: 20px;
}
.preparePageWrapper___e_RMO .preparePageTitle___o72v4 {
margin-bottom: 60px;
}
.preparePageWrapper___e_RMO .preparePageContent___BobxE {
text-align: center;
}
.preparePageWrapper___e_RMO .preparePageContent___BobxE img {
height: 180px;
margin-bottom: 30px;
}
.preparePageWrapper___e_RMO .preparePageText___CriF6 {
font-size: 14px;
font-weight: 400;
color: #989ca0;
margin-bottom: 30px;
}
.preparePageWrapper___e_RMO .startBtn___KGHjl {
width: 116px;
height: 32px;
border-radius: 16px;
margin-bottom: 40px;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save