Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/clone/wp-inclu.../js/dist
File: block-editor.js
modifiers.push({
[61000] Fix | Delete
type: 'crop',
[61001] Fix | Delete
args: {
[61002] Fix | Delete
left: crop.x,
[61003] Fix | Delete
top: crop.y,
[61004] Fix | Delete
width: crop.width,
[61005] Fix | Delete
height: crop.height
[61006] Fix | Delete
}
[61007] Fix | Delete
});
[61008] Fix | Delete
}
[61009] Fix | Delete
external_wp_apiFetch_default()({
[61010] Fix | Delete
path: `/wp/v2/media/${id}/edit`,
[61011] Fix | Delete
method: 'POST',
[61012] Fix | Delete
data: {
[61013] Fix | Delete
src: url,
[61014] Fix | Delete
modifiers
[61015] Fix | Delete
}
[61016] Fix | Delete
}).then(response => {
[61017] Fix | Delete
onSaveImage({
[61018] Fix | Delete
id: response.id,
[61019] Fix | Delete
url: response.source_url
[61020] Fix | Delete
});
[61021] Fix | Delete
}).catch(error => {
[61022] Fix | Delete
createErrorNotice((0,external_wp_i18n_namespaceObject.sprintf)( /* translators: 1. Error message */
[61023] Fix | Delete
(0,external_wp_i18n_namespaceObject.__)('Could not edit image. %s'), (0,external_wp_dom_namespaceObject.__unstableStripHTML)(error.message)), {
[61024] Fix | Delete
id: 'image-editing-error',
[61025] Fix | Delete
type: 'snackbar'
[61026] Fix | Delete
});
[61027] Fix | Delete
}).finally(() => {
[61028] Fix | Delete
setIsInProgress(false);
[61029] Fix | Delete
onFinishEditing();
[61030] Fix | Delete
});
[61031] Fix | Delete
}, [crop, rotation, id, url, onSaveImage, createErrorNotice, onFinishEditing]);
[61032] Fix | Delete
return (0,external_wp_element_namespaceObject.useMemo)(() => ({
[61033] Fix | Delete
isInProgress,
[61034] Fix | Delete
apply,
[61035] Fix | Delete
cancel
[61036] Fix | Delete
}), [isInProgress, apply, cancel]);
[61037] Fix | Delete
}
[61038] Fix | Delete
[61039] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/image-editor/use-transform-image.js
[61040] Fix | Delete
/**
[61041] Fix | Delete
* WordPress dependencies
[61042] Fix | Delete
*/
[61043] Fix | Delete
[61044] Fix | Delete
[61045] Fix | Delete
function useTransformImage({
[61046] Fix | Delete
url,
[61047] Fix | Delete
naturalWidth,
[61048] Fix | Delete
naturalHeight
[61049] Fix | Delete
}) {
[61050] Fix | Delete
const [editedUrl, setEditedUrl] = (0,external_wp_element_namespaceObject.useState)();
[61051] Fix | Delete
const [crop, setCrop] = (0,external_wp_element_namespaceObject.useState)();
[61052] Fix | Delete
const [position, setPosition] = (0,external_wp_element_namespaceObject.useState)({
[61053] Fix | Delete
x: 0,
[61054] Fix | Delete
y: 0
[61055] Fix | Delete
});
[61056] Fix | Delete
const [zoom, setZoom] = (0,external_wp_element_namespaceObject.useState)(100);
[61057] Fix | Delete
const [rotation, setRotation] = (0,external_wp_element_namespaceObject.useState)(0);
[61058] Fix | Delete
const defaultAspect = naturalWidth / naturalHeight;
[61059] Fix | Delete
const [aspect, setAspect] = (0,external_wp_element_namespaceObject.useState)(defaultAspect);
[61060] Fix | Delete
const rotateClockwise = (0,external_wp_element_namespaceObject.useCallback)(() => {
[61061] Fix | Delete
const angle = (rotation + 90) % 360;
[61062] Fix | Delete
let naturalAspectRatio = defaultAspect;
[61063] Fix | Delete
if (rotation % 180 === 90) {
[61064] Fix | Delete
naturalAspectRatio = 1 / defaultAspect;
[61065] Fix | Delete
}
[61066] Fix | Delete
if (angle === 0) {
[61067] Fix | Delete
setEditedUrl();
[61068] Fix | Delete
setRotation(angle);
[61069] Fix | Delete
setAspect(defaultAspect);
[61070] Fix | Delete
setPosition(prevPosition => ({
[61071] Fix | Delete
x: -(prevPosition.y * naturalAspectRatio),
[61072] Fix | Delete
y: prevPosition.x * naturalAspectRatio
[61073] Fix | Delete
}));
[61074] Fix | Delete
return;
[61075] Fix | Delete
}
[61076] Fix | Delete
function editImage(event) {
[61077] Fix | Delete
const canvas = document.createElement('canvas');
[61078] Fix | Delete
let translateX = 0;
[61079] Fix | Delete
let translateY = 0;
[61080] Fix | Delete
if (angle % 180) {
[61081] Fix | Delete
canvas.width = event.target.height;
[61082] Fix | Delete
canvas.height = event.target.width;
[61083] Fix | Delete
} else {
[61084] Fix | Delete
canvas.width = event.target.width;
[61085] Fix | Delete
canvas.height = event.target.height;
[61086] Fix | Delete
}
[61087] Fix | Delete
if (angle === 90 || angle === 180) {
[61088] Fix | Delete
translateX = canvas.width;
[61089] Fix | Delete
}
[61090] Fix | Delete
if (angle === 270 || angle === 180) {
[61091] Fix | Delete
translateY = canvas.height;
[61092] Fix | Delete
}
[61093] Fix | Delete
const context = canvas.getContext('2d');
[61094] Fix | Delete
context.translate(translateX, translateY);
[61095] Fix | Delete
context.rotate(angle * Math.PI / 180);
[61096] Fix | Delete
context.drawImage(event.target, 0, 0);
[61097] Fix | Delete
canvas.toBlob(blob => {
[61098] Fix | Delete
setEditedUrl(URL.createObjectURL(blob));
[61099] Fix | Delete
setRotation(angle);
[61100] Fix | Delete
setAspect(canvas.width / canvas.height);
[61101] Fix | Delete
setPosition(prevPosition => ({
[61102] Fix | Delete
x: -(prevPosition.y * naturalAspectRatio),
[61103] Fix | Delete
y: prevPosition.x * naturalAspectRatio
[61104] Fix | Delete
}));
[61105] Fix | Delete
});
[61106] Fix | Delete
}
[61107] Fix | Delete
const el = new window.Image();
[61108] Fix | Delete
el.src = url;
[61109] Fix | Delete
el.onload = editImage;
[61110] Fix | Delete
const imgCrossOrigin = (0,external_wp_hooks_namespaceObject.applyFilters)('media.crossOrigin', undefined, url);
[61111] Fix | Delete
if (typeof imgCrossOrigin === 'string') {
[61112] Fix | Delete
el.crossOrigin = imgCrossOrigin;
[61113] Fix | Delete
}
[61114] Fix | Delete
}, [rotation, defaultAspect, url]);
[61115] Fix | Delete
return (0,external_wp_element_namespaceObject.useMemo)(() => ({
[61116] Fix | Delete
editedUrl,
[61117] Fix | Delete
setEditedUrl,
[61118] Fix | Delete
crop,
[61119] Fix | Delete
setCrop,
[61120] Fix | Delete
position,
[61121] Fix | Delete
setPosition,
[61122] Fix | Delete
zoom,
[61123] Fix | Delete
setZoom,
[61124] Fix | Delete
rotation,
[61125] Fix | Delete
setRotation,
[61126] Fix | Delete
rotateClockwise,
[61127] Fix | Delete
aspect,
[61128] Fix | Delete
setAspect,
[61129] Fix | Delete
defaultAspect
[61130] Fix | Delete
}), [editedUrl, crop, position, zoom, rotation, rotateClockwise, aspect, defaultAspect]);
[61131] Fix | Delete
}
[61132] Fix | Delete
[61133] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/image-editor/context.js
[61134] Fix | Delete
/**
[61135] Fix | Delete
* WordPress dependencies
[61136] Fix | Delete
*/
[61137] Fix | Delete
[61138] Fix | Delete
[61139] Fix | Delete
/**
[61140] Fix | Delete
* Internal dependencies
[61141] Fix | Delete
*/
[61142] Fix | Delete
[61143] Fix | Delete
[61144] Fix | Delete
[61145] Fix | Delete
const ImageEditingContext = (0,external_wp_element_namespaceObject.createContext)({});
[61146] Fix | Delete
const useImageEditingContext = () => (0,external_wp_element_namespaceObject.useContext)(ImageEditingContext);
[61147] Fix | Delete
function ImageEditingProvider({
[61148] Fix | Delete
id,
[61149] Fix | Delete
url,
[61150] Fix | Delete
naturalWidth,
[61151] Fix | Delete
naturalHeight,
[61152] Fix | Delete
onFinishEditing,
[61153] Fix | Delete
onSaveImage,
[61154] Fix | Delete
children
[61155] Fix | Delete
}) {
[61156] Fix | Delete
const transformImage = useTransformImage({
[61157] Fix | Delete
url,
[61158] Fix | Delete
naturalWidth,
[61159] Fix | Delete
naturalHeight
[61160] Fix | Delete
});
[61161] Fix | Delete
const saveImage = useSaveImage({
[61162] Fix | Delete
id,
[61163] Fix | Delete
url,
[61164] Fix | Delete
onSaveImage,
[61165] Fix | Delete
onFinishEditing,
[61166] Fix | Delete
...transformImage
[61167] Fix | Delete
});
[61168] Fix | Delete
const providerValue = (0,external_wp_element_namespaceObject.useMemo)(() => ({
[61169] Fix | Delete
...transformImage,
[61170] Fix | Delete
...saveImage
[61171] Fix | Delete
}), [transformImage, saveImage]);
[61172] Fix | Delete
return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(ImageEditingContext.Provider, {
[61173] Fix | Delete
value: providerValue,
[61174] Fix | Delete
children: children
[61175] Fix | Delete
});
[61176] Fix | Delete
}
[61177] Fix | Delete
[61178] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/@wordpress/block-editor/build-module/components/image-editor/aspect-ratio-dropdown.js
[61179] Fix | Delete
/**
[61180] Fix | Delete
* WordPress dependencies
[61181] Fix | Delete
*/
[61182] Fix | Delete
[61183] Fix | Delete
[61184] Fix | Delete
[61185] Fix | Delete
[61186] Fix | Delete
/**
[61187] Fix | Delete
* Internal dependencies
[61188] Fix | Delete
*/
[61189] Fix | Delete
[61190] Fix | Delete
[61191] Fix | Delete
[61192] Fix | Delete
[61193] Fix | Delete
[61194] Fix | Delete
[61195] Fix | Delete
function AspectRatioGroup({
[61196] Fix | Delete
aspectRatios,
[61197] Fix | Delete
isDisabled,
[61198] Fix | Delete
label,
[61199] Fix | Delete
onClick,
[61200] Fix | Delete
value
[61201] Fix | Delete
}) {
[61202] Fix | Delete
return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.MenuGroup, {
[61203] Fix | Delete
label: label,
[61204] Fix | Delete
children: aspectRatios.map(({
[61205] Fix | Delete
name,
[61206] Fix | Delete
slug,
[61207] Fix | Delete
ratio
[61208] Fix | Delete
}) => /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.MenuItem, {
[61209] Fix | Delete
disabled: isDisabled,
[61210] Fix | Delete
onClick: () => {
[61211] Fix | Delete
onClick(ratio);
[61212] Fix | Delete
},
[61213] Fix | Delete
role: "menuitemradio",
[61214] Fix | Delete
isSelected: ratio === value,
[61215] Fix | Delete
icon: ratio === value ? library_check : undefined,
[61216] Fix | Delete
children: name
[61217] Fix | Delete
}, slug))
[61218] Fix | Delete
});
[61219] Fix | Delete
}
[61220] Fix | Delete
function ratioToNumber(str) {
[61221] Fix | Delete
// TODO: support two-value aspect ratio?
[61222] Fix | Delete
// https://css-tricks.com/almanac/properties/a/aspect-ratio/#aa-it-can-take-two-values
[61223] Fix | Delete
const [a, b, ...rest] = str.split('/').map(Number);
[61224] Fix | Delete
if (a <= 0 || b <= 0 || Number.isNaN(a) || Number.isNaN(b) || rest.length) {
[61225] Fix | Delete
return NaN;
[61226] Fix | Delete
}
[61227] Fix | Delete
return b ? a / b : a;
[61228] Fix | Delete
}
[61229] Fix | Delete
function presetRatioAsNumber({
[61230] Fix | Delete
ratio,
[61231] Fix | Delete
...rest
[61232] Fix | Delete
}) {
[61233] Fix | Delete
return {
[61234] Fix | Delete
ratio: ratioToNumber(ratio),
[61235] Fix | Delete
...rest
[61236] Fix | Delete
};
[61237] Fix | Delete
}
[61238] Fix | Delete
function AspectRatioDropdown({
[61239] Fix | Delete
toggleProps
[61240] Fix | Delete
}) {
[61241] Fix | Delete
const {
[61242] Fix | Delete
isInProgress,
[61243] Fix | Delete
aspect,
[61244] Fix | Delete
setAspect,
[61245] Fix | Delete
defaultAspect
[61246] Fix | Delete
} = useImageEditingContext();
[61247] Fix | Delete
const [defaultRatios, themeRatios, showDefaultRatios] = use_settings_useSettings('dimensions.aspectRatios.default', 'dimensions.aspectRatios.theme', 'dimensions.defaultAspectRatios');
[61248] Fix | Delete
return /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(external_wp_components_namespaceObject.DropdownMenu, {
[61249] Fix | Delete
icon: aspect_ratio,
[61250] Fix | Delete
label: (0,external_wp_i18n_namespaceObject.__)('Aspect Ratio'),
[61251] Fix | Delete
popoverProps: constants_POPOVER_PROPS,
[61252] Fix | Delete
toggleProps: toggleProps,
[61253] Fix | Delete
children: ({
[61254] Fix | Delete
onClose
[61255] Fix | Delete
}) => /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsxs)(external_ReactJSXRuntime_namespaceObject.Fragment, {
[61256] Fix | Delete
children: [/*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(AspectRatioGroup, {
[61257] Fix | Delete
isDisabled: isInProgress,
[61258] Fix | Delete
onClick: newAspect => {
[61259] Fix | Delete
setAspect(newAspect);
[61260] Fix | Delete
onClose();
[61261] Fix | Delete
},
[61262] Fix | Delete
value: aspect,
[61263] Fix | Delete
aspectRatios: [
[61264] Fix | Delete
// All ratios should be mirrored in AspectRatioTool in @wordpress/block-editor.
[61265] Fix | Delete
{
[61266] Fix | Delete
slug: 'original',
[61267] Fix | Delete
name: (0,external_wp_i18n_namespaceObject.__)('Original'),
[61268] Fix | Delete
aspect: defaultAspect
[61269] Fix | Delete
}, ...(showDefaultRatios ? defaultRatios.map(presetRatioAsNumber).filter(({
[61270] Fix | Delete
ratio
[61271] Fix | Delete
}) => ratio === 1) : [])]
[61272] Fix | Delete
}), themeRatios?.length > 0 && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(AspectRatioGroup, {
[61273] Fix | Delete
label: (0,external_wp_i18n_namespaceObject.__)('Theme'),
[61274] Fix | Delete
isDisabled: isInProgress,
[61275] Fix | Delete
onClick: newAspect => {
[61276] Fix | Delete
setAspect(newAspect);
[61277] Fix | Delete
onClose();
[61278] Fix | Delete
},
[61279] Fix | Delete
value: aspect,
[61280] Fix | Delete
aspectRatios: themeRatios
[61281] Fix | Delete
}), showDefaultRatios && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(AspectRatioGroup, {
[61282] Fix | Delete
label: (0,external_wp_i18n_namespaceObject.__)('Landscape'),
[61283] Fix | Delete
isDisabled: isInProgress,
[61284] Fix | Delete
onClick: newAspect => {
[61285] Fix | Delete
setAspect(newAspect);
[61286] Fix | Delete
onClose();
[61287] Fix | Delete
},
[61288] Fix | Delete
value: aspect,
[61289] Fix | Delete
aspectRatios: defaultRatios.map(presetRatioAsNumber).filter(({
[61290] Fix | Delete
ratio
[61291] Fix | Delete
}) => ratio > 1)
[61292] Fix | Delete
}), showDefaultRatios && /*#__PURE__*/(0,external_ReactJSXRuntime_namespaceObject.jsx)(AspectRatioGroup, {
[61293] Fix | Delete
label: (0,external_wp_i18n_namespaceObject.__)('Portrait'),
[61294] Fix | Delete
isDisabled: isInProgress,
[61295] Fix | Delete
onClick: newAspect => {
[61296] Fix | Delete
setAspect(newAspect);
[61297] Fix | Delete
onClose();
[61298] Fix | Delete
},
[61299] Fix | Delete
value: aspect,
[61300] Fix | Delete
aspectRatios: defaultRatios.map(presetRatioAsNumber).filter(({
[61301] Fix | Delete
ratio
[61302] Fix | Delete
}) => ratio < 1)
[61303] Fix | Delete
})]
[61304] Fix | Delete
})
[61305] Fix | Delete
});
[61306] Fix | Delete
}
[61307] Fix | Delete
[61308] Fix | Delete
;// CONCATENATED MODULE: ./node_modules/tslib/tslib.es6.mjs
[61309] Fix | Delete
/******************************************************************************
[61310] Fix | Delete
Copyright (c) Microsoft Corporation.
[61311] Fix | Delete
[61312] Fix | Delete
Permission to use, copy, modify, and/or distribute this software for any
[61313] Fix | Delete
purpose with or without fee is hereby granted.
[61314] Fix | Delete
[61315] Fix | Delete
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
[61316] Fix | Delete
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
[61317] Fix | Delete
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
[61318] Fix | Delete
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
[61319] Fix | Delete
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
[61320] Fix | Delete
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
[61321] Fix | Delete
PERFORMANCE OF THIS SOFTWARE.
[61322] Fix | Delete
***************************************************************************** */
[61323] Fix | Delete
/* global Reflect, Promise, SuppressedError, Symbol */
[61324] Fix | Delete
[61325] Fix | Delete
var extendStatics = function(d, b) {
[61326] Fix | Delete
extendStatics = Object.setPrototypeOf ||
[61327] Fix | Delete
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
[61328] Fix | Delete
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
[61329] Fix | Delete
return extendStatics(d, b);
[61330] Fix | Delete
};
[61331] Fix | Delete
[61332] Fix | Delete
function __extends(d, b) {
[61333] Fix | Delete
if (typeof b !== "function" && b !== null)
[61334] Fix | Delete
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
[61335] Fix | Delete
extendStatics(d, b);
[61336] Fix | Delete
function __() { this.constructor = d; }
[61337] Fix | Delete
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
[61338] Fix | Delete
}
[61339] Fix | Delete
[61340] Fix | Delete
var __assign = function() {
[61341] Fix | Delete
__assign = Object.assign || function __assign(t) {
[61342] Fix | Delete
for (var s, i = 1, n = arguments.length; i < n; i++) {
[61343] Fix | Delete
s = arguments[i];
[61344] Fix | Delete
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
[61345] Fix | Delete
}
[61346] Fix | Delete
return t;
[61347] Fix | Delete
}
[61348] Fix | Delete
return __assign.apply(this, arguments);
[61349] Fix | Delete
}
[61350] Fix | Delete
[61351] Fix | Delete
function __rest(s, e) {
[61352] Fix | Delete
var t = {};
[61353] Fix | Delete
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
[61354] Fix | Delete
t[p] = s[p];
[61355] Fix | Delete
if (s != null && typeof Object.getOwnPropertySymbols === "function")
[61356] Fix | Delete
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
[61357] Fix | Delete
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
[61358] Fix | Delete
t[p[i]] = s[p[i]];
[61359] Fix | Delete
}
[61360] Fix | Delete
return t;
[61361] Fix | Delete
}
[61362] Fix | Delete
[61363] Fix | Delete
function __decorate(decorators, target, key, desc) {
[61364] Fix | Delete
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
[61365] Fix | Delete
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
[61366] Fix | Delete
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
[61367] Fix | Delete
return c > 3 && r && Object.defineProperty(target, key, r), r;
[61368] Fix | Delete
}
[61369] Fix | Delete
[61370] Fix | Delete
function __param(paramIndex, decorator) {
[61371] Fix | Delete
return function (target, key) { decorator(target, key, paramIndex); }
[61372] Fix | Delete
}
[61373] Fix | Delete
[61374] Fix | Delete
function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
[61375] Fix | Delete
function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }
[61376] Fix | Delete
var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
[61377] Fix | Delete
var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
[61378] Fix | Delete
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
[61379] Fix | Delete
var _, done = false;
[61380] Fix | Delete
for (var i = decorators.length - 1; i >= 0; i--) {
[61381] Fix | Delete
var context = {};
[61382] Fix | Delete
for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
[61383] Fix | Delete
for (var p in contextIn.access) context.access[p] = contextIn.access[p];
[61384] Fix | Delete
context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
[61385] Fix | Delete
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
[61386] Fix | Delete
if (kind === "accessor") {
[61387] Fix | Delete
if (result === void 0) continue;
[61388] Fix | Delete
if (result === null || typeof result !== "object") throw new TypeError("Object expected");
[61389] Fix | Delete
if (_ = accept(result.get)) descriptor.get = _;
[61390] Fix | Delete
if (_ = accept(result.set)) descriptor.set = _;
[61391] Fix | Delete
if (_ = accept(result.init)) initializers.unshift(_);
[61392] Fix | Delete
}
[61393] Fix | Delete
else if (_ = accept(result)) {
[61394] Fix | Delete
if (kind === "field") initializers.unshift(_);
[61395] Fix | Delete
else descriptor[key] = _;
[61396] Fix | Delete
}
[61397] Fix | Delete
}
[61398] Fix | Delete
if (target) Object.defineProperty(target, contextIn.name, descriptor);
[61399] Fix | Delete
done = true;
[61400] Fix | Delete
};
[61401] Fix | Delete
[61402] Fix | Delete
function __runInitializers(thisArg, initializers, value) {
[61403] Fix | Delete
var useValue = arguments.length > 2;
[61404] Fix | Delete
for (var i = 0; i < initializers.length; i++) {
[61405] Fix | Delete
value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
[61406] Fix | Delete
}
[61407] Fix | Delete
return useValue ? value : void 0;
[61408] Fix | Delete
};
[61409] Fix | Delete
[61410] Fix | Delete
function __propKey(x) {
[61411] Fix | Delete
return typeof x === "symbol" ? x : "".concat(x);
[61412] Fix | Delete
};
[61413] Fix | Delete
[61414] Fix | Delete
function __setFunctionName(f, name, prefix) {
[61415] Fix | Delete
if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
[61416] Fix | Delete
return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
[61417] Fix | Delete
};
[61418] Fix | Delete
[61419] Fix | Delete
function __metadata(metadataKey, metadataValue) {
[61420] Fix | Delete
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
[61421] Fix | Delete
}
[61422] Fix | Delete
[61423] Fix | Delete
function __awaiter(thisArg, _arguments, P, generator) {
[61424] Fix | Delete
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
[61425] Fix | Delete
return new (P || (P = Promise))(function (resolve, reject) {
[61426] Fix | Delete
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
[61427] Fix | Delete
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
[61428] Fix | Delete
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
[61429] Fix | Delete
step((generator = generator.apply(thisArg, _arguments || [])).next());
[61430] Fix | Delete
});
[61431] Fix | Delete
}
[61432] Fix | Delete
[61433] Fix | Delete
function __generator(thisArg, body) {
[61434] Fix | Delete
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
[61435] Fix | Delete
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
[61436] Fix | Delete
function verb(n) { return function (v) { return step([n, v]); }; }
[61437] Fix | Delete
function step(op) {
[61438] Fix | Delete
if (f) throw new TypeError("Generator is already executing.");
[61439] Fix | Delete
while (g && (g = 0, op[0] && (_ = 0)), _) try {
[61440] Fix | Delete
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;
[61441] Fix | Delete
if (y = 0, t) op = [op[0] & 2, t.value];
[61442] Fix | Delete
switch (op[0]) {
[61443] Fix | Delete
case 0: case 1: t = op; break;
[61444] Fix | Delete
case 4: _.label++; return { value: op[1], done: false };
[61445] Fix | Delete
case 5: _.label++; y = op[1]; op = [0]; continue;
[61446] Fix | Delete
case 7: op = _.ops.pop(); _.trys.pop(); continue;
[61447] Fix | Delete
default:
[61448] Fix | Delete
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
[61449] Fix | Delete
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
[61450] Fix | Delete
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
[61451] Fix | Delete
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
[61452] Fix | Delete
if (t[2]) _.ops.pop();
[61453] Fix | Delete
_.trys.pop(); continue;
[61454] Fix | Delete
}
[61455] Fix | Delete
op = body.call(thisArg, _);
[61456] Fix | Delete
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
[61457] Fix | Delete
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
[61458] Fix | Delete
}
[61459] Fix | Delete
}
[61460] Fix | Delete
[61461] Fix | Delete
var __createBinding = Object.create ? (function(o, m, k, k2) {
[61462] Fix | Delete
if (k2 === undefined) k2 = k;
[61463] Fix | Delete
var desc = Object.getOwnPropertyDescriptor(m, k);
[61464] Fix | Delete
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
[61465] Fix | Delete
desc = { enumerable: true, get: function() { return m[k]; } };
[61466] Fix | Delete
}
[61467] Fix | Delete
Object.defineProperty(o, k2, desc);
[61468] Fix | Delete
}) : (function(o, m, k, k2) {
[61469] Fix | Delete
if (k2 === undefined) k2 = k;
[61470] Fix | Delete
o[k2] = m[k];
[61471] Fix | Delete
});
[61472] Fix | Delete
[61473] Fix | Delete
function __exportStar(m, o) {
[61474] Fix | Delete
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
[61475] Fix | Delete
}
[61476] Fix | Delete
[61477] Fix | Delete
function __values(o) {
[61478] Fix | Delete
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
[61479] Fix | Delete
if (m) return m.call(o);
[61480] Fix | Delete
if (o && typeof o.length === "number") return {
[61481] Fix | Delete
next: function () {
[61482] Fix | Delete
if (o && i >= o.length) o = void 0;
[61483] Fix | Delete
return { value: o && o[i++], done: !o };
[61484] Fix | Delete
}
[61485] Fix | Delete
};
[61486] Fix | Delete
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
[61487] Fix | Delete
}
[61488] Fix | Delete
[61489] Fix | Delete
function __read(o, n) {
[61490] Fix | Delete
var m = typeof Symbol === "function" && o[Symbol.iterator];
[61491] Fix | Delete
if (!m) return o;
[61492] Fix | Delete
var i = m.call(o), r, ar = [], e;
[61493] Fix | Delete
try {
[61494] Fix | Delete
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
[61495] Fix | Delete
}
[61496] Fix | Delete
catch (error) { e = { error: error }; }
[61497] Fix | Delete
finally {
[61498] Fix | Delete
try {
[61499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function