/
home
/
techb158
/
balavpn.abdallabala.com
/
.next
/
standalone
/
node_modules
/
next
/
dist
/
server
/
/home/techb158/balavpn.abdallabala.com/.next/standalone/node_modules/next/dist/server
mkdir
upload
Name
Size
Mode
Actions
after/
-
0777
rm
api-utils/
-
0777
rm
app-render/
-
0777
rm
async-storage/
-
0777
rm
base-http/
-
0777
rm
dev/
-
0777
rm
instrumentation/
-
0777
rm
lib/
-
0777
rm
node-environment-extensions/
-
0777
rm
normalizers/
-
0777
rm
response-cache/
-
0777
rm
resume-data-cache/
-
0777
rm
route-definitions/
-
0777
rm
route-matcher-managers/
-
0777
rm
route-matcher-providers/
-
0777
rm
route-matchers/
-
0777
rm
route-matches/
-
0777
rm
route-modules/
-
0777
rm
stream-utils/
-
0777
rm
typescript/
-
0777
rm
use-cache/
-
0777
rm
web/
-
0777
rm
accept-header.js
4062
0666
edit
dl
rm
base-server.js
102491
0666
edit
dl
rm
body-streams.js
3655
0666
edit
dl
rm
cache-dir.js
757
0666
edit
dl
rm
capsize-font-metrics.json
4301622
0666
edit
dl
rm
ci-info.js
1142
0666
edit
dl
rm
client-component-renderer-logger.js
2287
0666
edit
dl
rm
config-schema.js
30336
0666
edit
dl
rm
config-shared.js
7278
0666
edit
dl
rm
config-utils.js
5888
0666
edit
dl
rm
config.js
74313
0666
edit
dl
rm
crypto-utils.js
3026
0666
edit
dl
rm
dynamic-rendering-utils.js
3388
0666
edit
dl
rm
font-utils.js
1776
0666
edit
dl
rm
get-app-route-from-entrypoint.js
832
0666
edit
dl
rm
get-route-from-entrypoint.js
1245
0666
edit
dl
rm
image-optimizer.js
38046
0666
edit
dl
rm
internal-utils.js
1127
0666
edit
dl
rm
load-components.js
7016
0666
edit
dl
rm
load-default-error-components.js
1887
0666
edit
dl
rm
load-manifest.external.js
3051
0666
edit
dl
rm
match-bundle.js
686
0666
edit
dl
rm
next-server.js
70038
0666
edit
dl
rm
next-typescript.js
318
0666
edit
dl
rm
next.js
15707
0666
edit
dl
rm
node-environment-baseline.js
890
0666
edit
dl
rm
node-environment.js
648
0666
edit
dl
rm
node-polyfill-crypto.js
558
0666
edit
dl
rm
optimize-amp.js
549
0666
edit
dl
rm
patch-error-inspect.js
19653
0666
edit
dl
rm
pipe-readable.js
5598
0666
edit
dl
rm
post-process.js
2006
0666
edit
dl
rm
ReactDOMServerPages.js
598
0666
edit
dl
rm
render-result.js
7555
0666
edit
dl
rm
render.js
55784
0666
edit
dl
rm
request-meta.js
1465
0666
edit
dl
rm
require-hook.js
2840
0666
edit
dl
rm
require.js
3922
0666
edit
dl
rm
revalidation-utils.js
3341
0666
edit
dl
rm
route-kind.js
1029
0666
edit
dl
rm
send-payload.js
2849
0666
edit
dl
rm
send-response.js
3065
0666
edit
dl
rm
serve-static.js
2110
0666
edit
dl
rm
server-route-utils.js
1130
0666
edit
dl
rm
server-utils.js
16542
0666
edit
dl
rm
setup-http-agent-env.js
1050
0666
edit
dl
rm
utils.js
3208
0666
edit
dl
rm
Edit:
/home/techb158/balavpn.abdallabala.com/.next/standalone/node_modules/next/dist/server/utils.js
(3208B)
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); 0 && (module.exports = { cleanAmpPath: null, debounce: null, isBlockedPage: null }); function _export(target, all) { for(var name in all)Object.defineProperty(target, name, { enumerable: true, get: all[name] }); } _export(exports, { cleanAmpPath: function() { return cleanAmpPath; }, debounce: function() { return debounce; }, isBlockedPage: function() { return isBlockedPage; } }); const _constants = require("../shared/lib/constants"); function isBlockedPage(page) { return _constants.BLOCKED_PAGES.includes(page); } function cleanAmpPath(pathname) { if (pathname.match(/\?amp=(y|yes|true|1)/)) { pathname = pathname.replace(/\?amp=(y|yes|true|1)&?/, '?'); } if (pathname.match(/&=(y|yes|true|1)/)) { pathname = pathname.replace(/&=(y|yes|true|1)/, ''); } pathname = pathname.replace(/\?$/, ''); return pathname; } function debounce(fn, ms, maxWait = Infinity) { let timeoutId; // The time the debouncing function was first called during this debounce queue. let startTime = 0; // The time the debouncing function was last called. let lastCall = 0; // The arguments and this context of the last call to the debouncing function. let args, context; // A helper used to that either invokes the debounced function, or // reschedules the timer if a more recent call was made. function run() { const now = Date.now(); const diff = lastCall + ms - now; // If the diff is non-positive, then we've waited at least `ms` // milliseconds since the last call. Or if we've waited for longer than the // max wait time, we must call the debounced function. if (diff <= 0 || startTime + maxWait >= now) { // It's important to clear the timeout id before invoking the debounced // function, in case the function calls the debouncing function again. timeoutId = undefined; fn.apply(context, args); } else { // Else, a new call was made after the original timer was scheduled. We // didn't clear the timeout (doing so is very slow), so now we need to // reschedule the timer for the time difference. timeoutId = setTimeout(run, diff); } } return function(...passedArgs) { // The arguments and this context of the most recent call are saved so the // debounced function can be invoked with them later. args = passedArgs; context = this; // Instead of constantly clearing and scheduling a timer, we record the // time of the last call. If a second call comes in before the timer fires, // then we'll reschedule in the run function. Doing this is considerably // faster. lastCall = Date.now(); // Only schedule a new timer if we're not currently waiting. if (timeoutId === undefined) { startTime = lastCall; timeoutId = setTimeout(run, ms); } }; } //# sourceMappingURL=utils.js.map
Save
cmd:
run