Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /var/www/html/wincloud_gateway/node_modules/intl-format-cache/ drwxr-xr-x | |
| Viewing file: Select action/file-type: "use strict";
/*
Copyright (c) 2014, Yahoo! Inc. All rights reserved.
Copyrights licensed under the New BSD License.
See the accompanying LICENSE file for terms.
*/
var __spreadArrays = (this && this.__spreadArrays) || function () {
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
for (var r = Array(s), k = 0, i = 0; i < il; i++)
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
r[k] = a[j];
return r;
};
Object.defineProperty(exports, "__esModule", { value: true });
// -- Utilities ----------------------------------------------------------------
function getCacheId(inputs) {
return JSON.stringify(inputs.map(function (input) {
return input && typeof input === 'object' ? orderedProps(input) : input;
}));
}
function orderedProps(obj) {
return Object.keys(obj)
.sort()
.map(function (k) {
var _a;
return (_a = {}, _a[k] = obj[k], _a);
});
}
var memoizeFormatConstructor = function (FormatConstructor, cache) {
if (cache === void 0) { cache = {}; }
return function () {
var _a;
var args = [];
for (var _i = 0; _i < arguments.length; _i++) {
args[_i] = arguments[_i];
}
var cacheId = getCacheId(args);
var format = cacheId && cache[cacheId];
if (!format) {
format = new ((_a = FormatConstructor).bind.apply(_a, __spreadArrays([void 0], args)))();
if (cacheId) {
cache[cacheId] = format;
}
}
return format;
};
};
exports.default = memoizeFormatConstructor;
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0045 ]-- |