UNPKG

@wix/cli

Version:

CLI tool for building Wix sites and applications

291 lines (287 loc) 7.8 kB
import { createRequire as _createRequire } from 'node:module'; const require = _createRequire(import.meta.url); import { __commonJS, init_esm_shims } from "./chunk-EXLZF52D.js"; // ../../node_modules/scheduler/cjs/scheduler.production.min.js var require_scheduler_production_min = __commonJS({ "../../node_modules/scheduler/cjs/scheduler.production.min.js"(exports) { "use strict"; init_esm_shims(); function f(a, b) { var c = a.length; a.push(b); a: for (; 0 < c; ) { var d = c - 1 >>> 1, e = a[d]; if (0 < g(e, b)) a[d] = b, a[c] = e, c = d; else break a; } } function h(a) { return 0 === a.length ? null : a[0]; } function k(a) { if (0 === a.length) return null; var b = a[0], c = a.pop(); if (c !== b) { a[0] = c; a: for (var d = 0, e = a.length, w = e >>> 1; d < w; ) { var m = 2 * (d + 1) - 1, C = a[m], n = m + 1, x = a[n]; if (0 > g(C, c)) n < e && 0 > g(x, C) ? (a[d] = x, a[n] = c, d = n) : (a[d] = C, a[m] = c, d = m); else if (n < e && 0 > g(x, c)) a[d] = x, a[n] = c, d = n; else break a; } } return b; } function g(a, b) { var c = a.sortIndex - b.sortIndex; return 0 !== c ? c : a.id - b.id; } if ("object" === typeof performance && "function" === typeof performance.now) { l = performance; exports.unstable_now = function() { return l.now(); }; } else { p = Date, q = p.now(); exports.unstable_now = function() { return p.now() - q; }; } var l; var p; var q; var r = []; var t = []; var u = 1; var v = null; var y = 3; var z = false; var A = false; var B = false; var D = "function" === typeof setTimeout ? setTimeout : null; var E = "function" === typeof clearTimeout ? clearTimeout : null; var F = "undefined" !== typeof setImmediate ? setImmediate : null; "undefined" !== typeof navigator && void 0 !== navigator.scheduling && void 0 !== navigator.scheduling.isInputPending && navigator.scheduling.isInputPending.bind(navigator.scheduling); function G(a) { for (var b = h(t); null !== b; ) { if (null === b.callback) k(t); else if (b.startTime <= a) k(t), b.sortIndex = b.expirationTime, f(r, b); else break; b = h(t); } } function H(a) { B = false; G(a); if (!A) if (null !== h(r)) A = true, I(J); else { var b = h(t); null !== b && K(H, b.startTime - a); } } function J(a, b) { A = false; B && (B = false, E(L), L = -1); z = true; var c = y; try { G(b); for (v = h(r); null !== v && (!(v.expirationTime > b) || a && !M()); ) { var d = v.callback; if ("function" === typeof d) { v.callback = null; y = v.priorityLevel; var e = d(v.expirationTime <= b); b = exports.unstable_now(); "function" === typeof e ? v.callback = e : v === h(r) && k(r); G(b); } else k(r); v = h(r); } if (null !== v) var w = true; else { var m = h(t); null !== m && K(H, m.startTime - b); w = false; } return w; } finally { v = null, y = c, z = false; } } var N = false; var O = null; var L = -1; var P = 5; var Q = -1; function M() { return exports.unstable_now() - Q < P ? false : true; } function R() { if (null !== O) { var a = exports.unstable_now(); Q = a; var b = true; try { b = O(true, a); } finally { b ? S() : (N = false, O = null); } } else N = false; } var S; if ("function" === typeof F) S = function() { F(R); }; else if ("undefined" !== typeof MessageChannel) { T = new MessageChannel(), U = T.port2; T.port1.onmessage = R; S = function() { U.postMessage(null); }; } else S = function() { D(R, 0); }; var T; var U; function I(a) { O = a; N || (N = true, S()); } function K(a, b) { L = D(function() { a(exports.unstable_now()); }, b); } exports.unstable_IdlePriority = 5; exports.unstable_ImmediatePriority = 1; exports.unstable_LowPriority = 4; exports.unstable_NormalPriority = 3; exports.unstable_Profiling = null; exports.unstable_UserBlockingPriority = 2; exports.unstable_cancelCallback = function(a) { a.callback = null; }; exports.unstable_continueExecution = function() { A || z || (A = true, I(J)); }; exports.unstable_forceFrameRate = function(a) { 0 > a || 125 < a ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : P = 0 < a ? Math.floor(1e3 / a) : 5; }; exports.unstable_getCurrentPriorityLevel = function() { return y; }; exports.unstable_getFirstCallbackNode = function() { return h(r); }; exports.unstable_next = function(a) { switch (y) { case 1: case 2: case 3: var b = 3; break; default: b = y; } var c = y; y = b; try { return a(); } finally { y = c; } }; exports.unstable_pauseExecution = function() { }; exports.unstable_requestPaint = function() { }; exports.unstable_runWithPriority = function(a, b) { switch (a) { case 1: case 2: case 3: case 4: case 5: break; default: a = 3; } var c = y; y = a; try { return b(); } finally { y = c; } }; exports.unstable_scheduleCallback = function(a, b, c) { var d = exports.unstable_now(); "object" === typeof c && null !== c ? (c = c.delay, c = "number" === typeof c && 0 < c ? d + c : d) : c = d; switch (a) { case 1: var e = -1; break; case 2: e = 250; break; case 5: e = 1073741823; break; case 4: e = 1e4; break; default: e = 5e3; } e = c + e; a = { id: u++, callback: b, priorityLevel: a, startTime: c, expirationTime: e, sortIndex: -1 }; c > d ? (a.sortIndex = c, f(t, a), null === h(r) && a === h(t) && (B ? (E(L), L = -1) : B = true, K(H, c - d))) : (a.sortIndex = e, f(r, a), A || z || (A = true, I(J))); return a; }; exports.unstable_shouldYield = M; exports.unstable_wrapCallback = function(a) { var b = y; return function() { var c = y; y = b; try { return a.apply(this, arguments); } finally { y = c; } }; }; } }); // ../../node_modules/scheduler/index.js var require_scheduler = __commonJS({ "../../node_modules/scheduler/index.js"(exports, module) { "use strict"; init_esm_shims(); if (true) { module.exports = require_scheduler_production_min(); } else { module.exports = null; } } }); export { require_scheduler }; /*! Bundled license information: scheduler/cjs/scheduler.production.min.js: (** * @license React * scheduler.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) */ //# sourceMappingURL=chunk-MZDJNQLB.js.map