@teambit/react 1.0.16 → 1.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/artifacts/env-template/public/{75.0afe33f664896d9791cd.js → 588.2f0c577492757630256d.js} +2 -2
- package/artifacts/env-template/public/{613.6affebfe586a49a5d403.js → 613.4340f8e7c25f79ee88d6.js} +5 -5
- package/artifacts/env-template/public/assets-manifest.json +14 -14
- package/artifacts/env-template/public/{compositions.ead5a59972bd4c9f91c0.js → compositions.720f04250cdc4c6fc851.js} +1 -1
- package/artifacts/env-template/public/compositions.html +1 -1
- package/artifacts/env-template/public/{overview.c73ac71c25cbbf0fdeba.js → overview.e269af2031e6d070ac59.js} +1 -1
- package/artifacts/env-template/public/overview.html +1 -1
- package/artifacts/env-template/public/peers.c0287dc466db9c66af8c.js +1 -0
- package/artifacts/env-template/public/{preview-root.1f685a3f5c4fa5e5f560.js → preview-root.de09da2d9ff8ae3e631e.js} +1 -1
- package/artifacts/env-template/public/static/css/{613.78c1361e.css → 613.15e35924.css} +1 -1
- package/dist/{preview-1696389277748.js → preview-1696477088535.js} +2 -2
- package/dist/react.api.transformer.js +3 -5
- package/dist/react.api.transformer.js.map +1 -1
- package/dist/react.schema.d.ts +3 -3
- package/dist/react.schema.js +16 -8
- package/dist/react.schema.js.map +1 -1
- package/package.json +28 -28
- package/artifacts/env-template/public/peers.ae386ca33686c4d67b67.js +0 -1
- /package/{compositions-1696389277748.js → compositions-1696477088535.js} +0 -0
- /package/{overview-1696389277748.js → overview-1696477088535.js} +0 -0
package/dist/react.schema.js
CHANGED
|
@@ -18,6 +18,13 @@ function _chalk() {
|
|
|
18
18
|
};
|
|
19
19
|
return data;
|
|
20
20
|
}
|
|
21
|
+
function _lodash() {
|
|
22
|
+
const data = require("lodash");
|
|
23
|
+
_lodash = function () {
|
|
24
|
+
return data;
|
|
25
|
+
};
|
|
26
|
+
return data;
|
|
27
|
+
}
|
|
21
28
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
22
29
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
23
30
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -28,7 +35,7 @@ function _toPrimitive(input, hint) { if (typeof input !== "object" || input ===
|
|
|
28
35
|
* function-like can be a function, method, arrow-function, variable-function, etc.
|
|
29
36
|
*/
|
|
30
37
|
class ReactSchema extends _semanticsEntities().SchemaNode {
|
|
31
|
-
constructor(location, name,
|
|
38
|
+
constructor(location, name, returnType, props, signature, modifiers = [], doc, typeParams) {
|
|
32
39
|
super();
|
|
33
40
|
this.location = location;
|
|
34
41
|
this.name = name;
|
|
@@ -41,13 +48,14 @@ class ReactSchema extends _semanticsEntities().SchemaNode {
|
|
|
41
48
|
this.props = props;
|
|
42
49
|
this.returnType = returnType;
|
|
43
50
|
this.doc = doc;
|
|
44
|
-
this.signature = signature || _semanticsEntities().FunctionLikeSchema.createSignature(name, [props], returnType);
|
|
51
|
+
this.signature = signature || _semanticsEntities().FunctionLikeSchema.createSignature(name, (0, _lodash().compact)([props]), returnType);
|
|
45
52
|
}
|
|
46
53
|
getNodes() {
|
|
47
|
-
return [this.props, this.returnType];
|
|
54
|
+
return (0, _lodash().compact)([this.props, this.returnType]);
|
|
48
55
|
}
|
|
49
56
|
toString() {
|
|
50
|
-
|
|
57
|
+
var _this$props;
|
|
58
|
+
const paramsStr = (_this$props = this.props) === null || _this$props === void 0 ? void 0 : _this$props.toString();
|
|
51
59
|
const typeParamsStr = this.typeParams ? `<${this.typeParams.join(', ')}>` : '';
|
|
52
60
|
return `${this.modifiersToString()}${typeParamsStr}${_chalk().default.bold(this.name)}(${paramsStr}): ${this.returnType.toString()}`;
|
|
53
61
|
}
|
|
@@ -64,10 +72,10 @@ class ReactSchema extends _semanticsEntities().SchemaNode {
|
|
|
64
72
|
return modifiersToPrint.length ? `${modifiersToPrint.join(' ')} ` : '';
|
|
65
73
|
}
|
|
66
74
|
toObject() {
|
|
67
|
-
var _this$doc3;
|
|
75
|
+
var _this$props2, _this$doc3;
|
|
68
76
|
return _objectSpread(_objectSpread({}, super.toObject()), {}, {
|
|
69
77
|
name: this.name,
|
|
70
|
-
props: this.props.toObject(),
|
|
78
|
+
props: (_this$props2 = this.props) === null || _this$props2 === void 0 ? void 0 : _this$props2.toObject(),
|
|
71
79
|
returnType: this.returnType.toObject(),
|
|
72
80
|
signature: this.signature,
|
|
73
81
|
modifiers: this.modifiers,
|
|
@@ -78,13 +86,13 @@ class ReactSchema extends _semanticsEntities().SchemaNode {
|
|
|
78
86
|
static fromObject(obj) {
|
|
79
87
|
const location = obj.location;
|
|
80
88
|
const name = obj.name;
|
|
81
|
-
const props = _semanticsEntities().ParameterSchema.fromObject(obj.props);
|
|
89
|
+
const props = obj.props ? _semanticsEntities().ParameterSchema.fromObject(obj.props) : undefined;
|
|
82
90
|
const returnType = _semanticsEntities().SchemaRegistry.fromObject(obj.returnType);
|
|
83
91
|
const signature = obj.signature;
|
|
84
92
|
const modifiers = obj.modifiers;
|
|
85
93
|
const doc = obj.doc ? _semanticsEntities().DocSchema.fromObject(obj.doc) : undefined;
|
|
86
94
|
const typeParams = obj.typeParams;
|
|
87
|
-
return new ReactSchema(location, name,
|
|
95
|
+
return new ReactSchema(location, name, returnType, props, signature, modifiers, doc, typeParams);
|
|
88
96
|
}
|
|
89
97
|
}
|
|
90
98
|
exports.ReactSchema = ReactSchema;
|
package/dist/react.schema.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_semanticsEntities","data","require","_chalk","_interopRequireDefault","obj","__esModule","default","ownKeys","e","r","t","Object","keys","getOwnPropertySymbols","o","filter","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","arguments","length","forEach","_defineProperty","getOwnPropertyDescriptors","defineProperties","defineProperty","key","value","_toPropertyKey","configurable","writable","arg","_toPrimitive","String","input","hint","prim","Symbol","toPrimitive","undefined","res","call","TypeError","Number","ReactSchema","SchemaNode","constructor","location","name","
|
|
1
|
+
{"version":3,"names":["_semanticsEntities","data","require","_chalk","_interopRequireDefault","_lodash","obj","__esModule","default","ownKeys","e","r","t","Object","keys","getOwnPropertySymbols","o","filter","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","arguments","length","forEach","_defineProperty","getOwnPropertyDescriptors","defineProperties","defineProperty","key","value","_toPropertyKey","configurable","writable","arg","_toPrimitive","String","input","hint","prim","Symbol","toPrimitive","undefined","res","call","TypeError","Number","ReactSchema","SchemaNode","constructor","location","name","returnType","props","signature","modifiers","doc","typeParams","FunctionLikeSchema","createSignature","compact","getNodes","toString","_this$props","paramsStr","typeParamsStr","join","modifiersToString","chalk","bold","isDeprecated","_this$doc","Boolean","hasTag","TagName","deprecated","isPrivate","_this$doc2","find","m","private","modifiersToPrint","modifier","toObject","_this$props2","_this$doc3","fromObject","ParameterSchema","SchemaRegistry","DocSchema","exports"],"sources":["react.schema.ts"],"sourcesContent":["import {\n DocSchema,\n FunctionLikeSchema,\n Location,\n Modifier,\n ParameterSchema,\n SchemaNode,\n SchemaRegistry,\n TagName,\n TypeRefSchema,\n} from '@teambit/semantics.entities.semantic-schema';\nimport chalk from 'chalk';\nimport { compact } from 'lodash';\n\n/**\n * function-like can be a function, method, arrow-function, variable-function, etc.\n */\nexport class ReactSchema extends SchemaNode {\n readonly returnType: SchemaNode;\n\n readonly props?: ParameterSchema;\n\n readonly doc?: DocSchema;\n\n readonly signature?: string | undefined;\n\n constructor(\n readonly location: Location,\n readonly name: string,\n returnType: TypeRefSchema,\n props?: ParameterSchema<TypeRefSchema>,\n signature?: string,\n readonly modifiers: Modifier[] = [],\n doc?: DocSchema,\n readonly typeParams?: string[]\n ) {\n super();\n this.props = props;\n this.returnType = returnType;\n this.doc = doc;\n this.signature = signature || FunctionLikeSchema.createSignature(name, compact([props]), returnType);\n }\n\n getNodes() {\n return compact([this.props, this.returnType]);\n }\n\n toString() {\n const paramsStr = this.props?.toString();\n const typeParamsStr = this.typeParams ? `<${this.typeParams.join(', ')}>` : '';\n return `${this.modifiersToString()}${typeParamsStr}${chalk.bold(\n this.name\n )}(${paramsStr}): ${this.returnType.toString()}`;\n }\n\n isDeprecated(): boolean {\n return Boolean(this.doc?.hasTag(TagName.deprecated));\n }\n\n isPrivate(): boolean {\n return Boolean(this.modifiers.find((m) => m === 'private') || this.doc?.hasTag(TagName.private));\n }\n\n private modifiersToString() {\n const modifiersToPrint = this.modifiers.filter((modifier) => modifier !== 'export');\n return modifiersToPrint.length ? `${modifiersToPrint.join(' ')} ` : '';\n }\n\n toObject() {\n return {\n ...super.toObject(),\n name: this.name,\n props: this.props?.toObject(),\n returnType: this.returnType.toObject(),\n signature: this.signature,\n modifiers: this.modifiers,\n doc: this.doc?.toObject(),\n typeParams: this.typeParams,\n };\n }\n\n static fromObject(obj: Record<string, any>): ReactSchema {\n const location = obj.location;\n const name = obj.name;\n const props = obj.props ? ParameterSchema.fromObject<TypeRefSchema>(obj.props) : undefined;\n const returnType = SchemaRegistry.fromObject(obj.returnType);\n const signature = obj.signature;\n const modifiers = obj.modifiers;\n const doc = obj.doc ? DocSchema.fromObject(obj.doc) : undefined;\n const typeParams = obj.typeParams;\n return new ReactSchema(location, name, returnType, props, signature, modifiers, doc, typeParams);\n }\n}\n"],"mappings":";;;;;;AAAA,SAAAA,mBAAA;EAAA,MAAAC,IAAA,GAAAC,OAAA;EAAAF,kBAAA,YAAAA,CAAA;IA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CAACgD,KAAK,GAAGkC,oCAAe,CAACD,UAAU,CAAgBjF,GAAG,CAACgD,KAAK,CAAC,GAAGX,SAAS;IAC1F,MAAMU,UAAU,GAAGoC,mCAAc,CAACF,UAAU,CAACjF,GAAG,CAAC+C,UAAU,CAAC;IAC5D,MAAME,SAAS,GAAGjD,GAAG,CAACiD,SAAS;IAC/B,MAAMC,SAAS,GAAGlD,GAAG,CAACkD,SAAS;IAC/B,MAAMC,GAAG,GAAGnD,GAAG,CAACmD,GAAG,GAAGiC,8BAAS,CAACH,UAAU,CAACjF,GAAG,CAACmD,GAAG,CAAC,GAAGd,SAAS;IAC/D,MAAMe,UAAU,GAAGpD,GAAG,CAACoD,UAAU;IACjC,OAAO,IAAIV,WAAW,CAACG,QAAQ,EAAEC,IAAI,EAAEC,UAAU,EAAEC,KAAK,EAAEC,SAAS,EAAEC,SAAS,EAAEC,GAAG,EAAEC,UAAU,CAAC;EAClG;AACF;AAACiC,OAAA,CAAA3C,WAAA,GAAAA,WAAA"}
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teambit/react",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.17",
|
|
4
4
|
"homepage": "https://bit.cloud/teambit/react/react",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"componentId": {
|
|
7
7
|
"scope": "teambit.react",
|
|
8
8
|
"name": "react",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.17"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"fs-extra": "10.0.0",
|
|
@@ -87,44 +87,44 @@
|
|
|
87
87
|
"@teambit/defender.eslint-linter": "1.0.1",
|
|
88
88
|
"@teambit/defender.prettier-formatter": "1.0.0",
|
|
89
89
|
"@teambit/typescript.typescript-compiler": "2.0.1",
|
|
90
|
-
"@teambit/api-reference.renderers.react": "0.0.11",
|
|
91
90
|
"@teambit/react.instructions.react.adding-compositions": "0.0.6",
|
|
92
91
|
"@teambit/react.instructions.react.adding-tests": "0.0.6",
|
|
93
92
|
"@teambit/component-id": "0.0.427",
|
|
94
93
|
"@teambit/react.rendering.ssr": "0.0.3",
|
|
95
94
|
"@teambit/ui-foundation.ui.pages.static-error": "0.0.92",
|
|
96
|
-
"@teambit/typescript": "1.0.
|
|
97
|
-
"@teambit/builder": "1.0.
|
|
98
|
-
"@teambit/bundler": "1.0.
|
|
99
|
-
"@teambit/compiler": "1.0.
|
|
95
|
+
"@teambit/typescript": "1.0.17",
|
|
96
|
+
"@teambit/builder": "1.0.17",
|
|
97
|
+
"@teambit/bundler": "1.0.17",
|
|
98
|
+
"@teambit/compiler": "1.0.17",
|
|
100
99
|
"@teambit/component.modules.component-url": "0.0.153",
|
|
101
|
-
"@teambit/component": "1.0.
|
|
102
|
-
"@teambit/dependency-resolver": "1.0.
|
|
103
|
-
"@teambit/envs": "1.0.
|
|
104
|
-
"@teambit/eslint": "1.0.
|
|
105
|
-
"@teambit/formatter": "1.0.
|
|
106
|
-
"@teambit/jest": "1.0.
|
|
107
|
-
"@teambit/linter": "1.0.
|
|
100
|
+
"@teambit/component": "1.0.17",
|
|
101
|
+
"@teambit/dependency-resolver": "1.0.17",
|
|
102
|
+
"@teambit/envs": "1.0.17",
|
|
103
|
+
"@teambit/eslint": "1.0.17",
|
|
104
|
+
"@teambit/formatter": "1.0.17",
|
|
105
|
+
"@teambit/jest": "1.0.17",
|
|
106
|
+
"@teambit/linter": "1.0.17",
|
|
108
107
|
"@teambit/logger": "0.0.888",
|
|
109
|
-
"@teambit/pkg": "1.0.
|
|
110
|
-
"@teambit/prettier": "1.0.
|
|
111
|
-
"@teambit/preview": "1.0.
|
|
108
|
+
"@teambit/pkg": "1.0.17",
|
|
109
|
+
"@teambit/prettier": "1.0.17",
|
|
110
|
+
"@teambit/preview": "1.0.17",
|
|
112
111
|
"@teambit/react.ui.compositions-app": "0.0.17",
|
|
113
112
|
"@teambit/react.ui.docs-app": "1.0.6",
|
|
114
113
|
"@teambit/react.ui.highlighter.component-metadata.bit-component-meta": "0.0.36",
|
|
115
|
-
"@teambit/schema": "1.0.
|
|
116
|
-
"@teambit/tester": "1.0.
|
|
117
|
-
"@teambit/webpack": "1.0.
|
|
118
|
-
"@teambit/workspace-config-files": "1.0.
|
|
119
|
-
"@teambit/workspace": "1.0.
|
|
120
|
-
"@teambit/application": "1.0.
|
|
114
|
+
"@teambit/schema": "1.0.17",
|
|
115
|
+
"@teambit/tester": "1.0.17",
|
|
116
|
+
"@teambit/webpack": "1.0.17",
|
|
117
|
+
"@teambit/workspace-config-files": "1.0.17",
|
|
118
|
+
"@teambit/workspace": "1.0.17",
|
|
119
|
+
"@teambit/application": "1.0.17",
|
|
121
120
|
"@teambit/cli": "0.0.795",
|
|
122
|
-
"@teambit/generator": "1.0.
|
|
123
|
-
"@teambit/graphql": "1.0.
|
|
121
|
+
"@teambit/generator": "1.0.18",
|
|
122
|
+
"@teambit/graphql": "1.0.17",
|
|
124
123
|
"@teambit/react.ui.highlighter-provider": "0.0.205",
|
|
125
|
-
"@teambit/api-reference": "
|
|
126
|
-
"@teambit/
|
|
127
|
-
"@teambit/
|
|
124
|
+
"@teambit/api-reference.renderers.react": "0.0.12",
|
|
125
|
+
"@teambit/api-reference": "1.0.17",
|
|
126
|
+
"@teambit/compositions": "1.0.17",
|
|
127
|
+
"@teambit/ui": "1.0.17",
|
|
128
128
|
"@teambit/react.eslint-config-bit-react": "1.0.39",
|
|
129
129
|
"@teambit/mdx.modules.mdx-loader": "1.0.7",
|
|
130
130
|
"@teambit/react.babel.bit-react-transformer": "1.0.6",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(()=>{"use strict";var __webpack_modules__={68515:(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__2)=>{var react__WEBPACK_IMPORTED_MODULE_2___namespace_cache,react_dom__WEBPACK_IMPORTED_MODULE_3___namespace_cache,_teambit_mdx_ui_mdx_scope_context__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__2(38168),_mdx_js_react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__2(3905),react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__2(67294),react_dom__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__2(73935);const globalObj=window;guard("TeambitMdxUiMdxScopeContext",_teambit_mdx_ui_mdx_scope_context__WEBPACK_IMPORTED_MODULE_0__),guard("MdxJsReact",_mdx_js_react__WEBPACK_IMPORTED_MODULE_1__),guard("React",react__WEBPACK_IMPORTED_MODULE_2___namespace_cache||(react__WEBPACK_IMPORTED_MODULE_2___namespace_cache=__webpack_require__2.t(react__WEBPACK_IMPORTED_MODULE_2__,2))),guard("ReactDom",react_dom__WEBPACK_IMPORTED_MODULE_3___namespace_cache||(react_dom__WEBPACK_IMPORTED_MODULE_3___namespace_cache=__webpack_require__2.t(react_dom__WEBPACK_IMPORTED_MODULE_3__,2))),globalObj.TeambitMdxUiMdxScopeContext=_teambit_mdx_ui_mdx_scope_context__WEBPACK_IMPORTED_MODULE_0__,globalObj.MdxJsReact=_mdx_js_react__WEBPACK_IMPORTED_MODULE_1__,globalObj.React=react__WEBPACK_IMPORTED_MODULE_2___namespace_cache||(react__WEBPACK_IMPORTED_MODULE_2___namespace_cache=__webpack_require__2.t(react__WEBPACK_IMPORTED_MODULE_2__,2)),globalObj.ReactDom=react_dom__WEBPACK_IMPORTED_MODULE_3___namespace_cache||(react_dom__WEBPACK_IMPORTED_MODULE_3___namespace_cache=__webpack_require__2.t(react_dom__WEBPACK_IMPORTED_MODULE_3__,2));function guard(property,expected){var existing=globalObj[property];if(existing===expected&&expected!==void 0)console.warn('[expose-peers] "'+property+'" already exists in global scope, but with correct value');else if(existing!==void 0)throw new Error('[expose-peers] "'+property+'" already exists in the global scope, cannot overwrite')}}},__webpack_module_cache__={};function __webpack_require__(moduleId){var cachedModule=__webpack_module_cache__[moduleId];if(cachedModule!==void 0)return cachedModule.exports;var module=__webpack_module_cache__[moduleId]={id:moduleId,loaded:!1,exports:{}};return __webpack_modules__[moduleId].call(module.exports,module,module.exports,__webpack_require__),module.loaded=!0,module.exports}__webpack_require__.m=__webpack_modules__,(()=>{var deferred=[];__webpack_require__.O=(result,chunkIds,fn,priority)=>{if(chunkIds){priority=priority||0;for(var i=deferred.length;i>0&&deferred[i-1][2]>priority;i--)deferred[i]=deferred[i-1];deferred[i]=[chunkIds,fn,priority];return}for(var notFulfilled=1/0,i=0;i<deferred.length;i++){for(var[chunkIds,fn,priority]=deferred[i],fulfilled=!0,j=0;j<chunkIds.length;j++)(priority&!1||notFulfilled>=priority)&&Object.keys(__webpack_require__.O).every(key=>__webpack_require__.O[key](chunkIds[j]))?chunkIds.splice(j--,1):(fulfilled=!1,priority<notFulfilled&&(notFulfilled=priority));if(fulfilled){deferred.splice(i--,1);var r=fn();r!==void 0&&(result=r)}}return result}})(),__webpack_require__.n=module=>{var getter=module&&module.__esModule?()=>module.default:()=>module;return __webpack_require__.d(getter,{a:getter}),getter},(()=>{var getProto=Object.getPrototypeOf?obj=>Object.getPrototypeOf(obj):obj=>obj.__proto__,leafPrototypes;__webpack_require__.t=function(value,mode){if(mode&1&&(value=this(value)),mode&8||typeof value=="object"&&value&&(mode&4&&value.__esModule||mode&16&&typeof value.then=="function"))return value;var ns=Object.create(null);__webpack_require__.r(ns);var def={};leafPrototypes=leafPrototypes||[null,getProto({}),getProto([]),getProto(getProto)];for(var current=mode&2&&value;typeof current=="object"&&!~leafPrototypes.indexOf(current);current=getProto(current))Object.getOwnPropertyNames(current).forEach(key=>def[key]=()=>value[key]);return def.default=()=>value,__webpack_require__.d(ns,def),ns}})(),__webpack_require__.d=(exports,definition)=>{for(var key in definition)__webpack_require__.o(definition,key)&&!__webpack_require__.o(exports,key)&&Object.defineProperty(exports,key,{enumerable:!0,get:definition[key]})},__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),__webpack_require__.o=(obj,prop)=>Object.prototype.hasOwnProperty.call(obj,prop),__webpack_require__.r=exports=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(exports,"__esModule",{value:!0})},__webpack_require__.nmd=module=>(module.paths=[],module.children||(module.children=[]),module),(()=>{var installedChunks={703:0};__webpack_require__.O.j=chunkId=>installedChunks[chunkId]===0;var webpackJsonpCallback=(parentChunkLoadingFunction,data)=>{var[chunkIds,moreModules,runtime]=data,moduleId,chunkId,i=0;if(chunkIds.some(id=>installedChunks[id]!==0)){for(moduleId in moreModules)__webpack_require__.o(moreModules,moduleId)&&(__webpack_require__.m[moduleId]=moreModules[moduleId]);if(runtime)var result=runtime(__webpack_require__)}for(parentChunkLoadingFunction&&parentChunkLoadingFunction(data);i<chunkIds.length;i++)chunkId=chunkIds[i],__webpack_require__.o(installedChunks,chunkId)&&installedChunks[chunkId]&&installedChunks[chunkId][0](),installedChunks[chunkId]=0;return __webpack_require__.O(result)},chunkLoadingGlobal=self.__loadChunks_EnvTemplate=self.__loadChunks_EnvTemplate||[];chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null,0)),chunkLoadingGlobal.push=webpackJsonpCallback.bind(null,chunkLoadingGlobal.push.bind(chunkLoadingGlobal))})();var __webpack_exports__=__webpack_require__.O(void 0,[244],()=>__webpack_require__(68515));__webpack_exports__=__webpack_require__.O(__webpack_exports__)})();
|
|
File without changes
|
|
File without changes
|