1import { 2 require_jsx_runtime 3} from "/admin/node_modules/.strapi/vite/deps/chunk-P5ARCO6G.js?v=d15f9e09"; 4import { 5 require_react_dom 6} from "/admin/node_modules/.strapi/vite/deps/chunk-2VJDPHGP.js?v=d15f9e09"; 7import { 8 require_react 9} from "/admin/node_modules/.strapi/vite/deps/chunk-VB5JOH6R.js?v=d15f9e09"; 10import { 11 __commonJS, 12 __toESM 13} from "/admin/node_modules/.strapi/vite/deps/chunk-X6GFWOGJ.js?v=d15f9e09"; 14
vendor: 7,141 bytes, lines 15-267
15// node_modules/.pnpm/[email protected]/node_modules/scheduler/cjs/scheduler.production.min.js 16var require_scheduler_production_min = __commonJS({ 17 "node_modules/.pnpm/[email protected]/node_modules/scheduler/cjs/scheduler.production.min.js"(exports) { 18 "use strict"; 19 function f2(a2, b) { 20 var c2 = a2.length; 21 a2.push(b); 22 a: for (; 0 < c2; ) { 23 var d2 = c2 - 1 >>> 1, e2 = a2[d2]; 24 if (0 < g(e2, b)) a2[d2] = b, a2[c2] = e2, c2 = d2; 25 else break a; 26 } 27 } 28 function h2(a2) { 29 return 0 === a2.length ? null : a2[0]; 30 } 31 function k(a2) { 32 if (0 === a2.length) return null; 33 var b = a2[0], c2 = a2.pop(); 34 if (c2 !== b) { 35 a2[0] = c2; 36 a: for (var d2 = 0, e2 = a2.length, w = e2 >>> 1; d2 < w; ) { 37 var m = 2 * (d2 + 1) - 1, C = a2[m], n2 = m + 1, x = a2[n2]; 38 if (0 > g(C, c2)) n2 < e2 && 0 > g(x, C) ? (a2[d2] = x, a2[n2] = c2, d2 = n2) : (a2[d2] = C, a2[m] = c2, d2 = m); 39 else if (n2 < e2 && 0 > g(x, c2)) a2[d2] = x, a2[n2] = c2, d2 = n2; 40 else break a; 41 } 42 } 43 return b; 44 } 45 function g(a2, b) { 46 var c2 = a2.sortIndex - b.sortIndex; 47 return 0 !== c2 ? c2 : a2.id - b.id; 48 } 49 if ("object" === typeof performance && "function" === typeof performance.now) { 50 l2 = performance; 51 exports.unstable_now = function() { 52 return l2.now(); 53 }; 54 } else { 55 p2 = Date, q = p2.now(); 56 exports.unstable_now = function() { 57 return p2.now() - q; 58 }; 59 } 60 var l2; 61 var p2; 62 var q; 63 var r2 = []; 64 var t2 = []; 65 var u2 = 1; 66 var v2 = null; 67 var y = 3; 68 var z = false; 69 var A = false; 70 var B = false; 71 var D = "function" === typeof setTimeout ? setTimeout : null; 72 var E2 = "function" === typeof clearTimeout ? clearTimeout : null; 73 var F = "undefined" !== typeof setImmediate ? setImmediate : null; 74 "undefined" !== typeof navigator && void 0 !== navigator.scheduling && void 0 !== navigator.scheduling.isInputPending && navigator.scheduling.isInputPending.bind(navigator.scheduling); 75 function G(a2) { 76 for (var b = h2(t2); null !== b; ) { 77 if (null === b.callback) k(t2); 78 else if (b.startTime <= a2) k(t2), b.sortIndex = b.expirationTime, f2(r2, b); 79 else break; 80 b = h2(t2); 81 } 82 } 83 function H(a2) { 84 B = false; 85 G(a2); 86 if (!A) if (null !== h2(r2)) A = true, I(J); 87 else { 88 var b = h2(t2); 89 null !== b && K(H, b.startTime - a2); 90 } 91 } 92 function J(a2, b) { 93 A = false; 94 B && (B = false, E2(L), L = -1); 95 z = true; 96 var c2 = y; 97 try { 98 G(b); 99 for (v2 = h2(r2); null !== v2 && (!(v2.expirationTime > b) || a2 && !M()); ) { 100 var d2 = v2.callback; 101 if ("function" === typeof d2) { 102 v2.callback = null; 103 y = v2.priorityLevel; 104 var e2 = d2(v2.expirationTime <= b); 105 b = exports.unstable_now(); 106 "function" === typeof e2 ? v2.callback = e2 : v2 === h2(r2) && k(r2); 107 G(b); 108 } else k(r2); 109 v2 = h2(r2); 110 } 111 if (null !== v2) var w = true; 112 else { 113 var m = h2(t2); 114 null !== m && K(H, m.startTime - b); 115 w = false; 116 } 117 return w; 118 } finally { 119 v2 = null, y = c2, z = false; 120 } 121 } 122 var N = false; 123 var O = null; 124 var L = -1; 125 var P = 5; 126 var Q = -1; 127 function M() { 128 return exports.unstable_now() - Q < P ? false : true; 129 } 130 function R() { 131 if (null !== O) { 132 var a2 = exports.unstable_now(); 133 Q = a2; 134 var b = true; 135 try { 136 b = O(true, a2); 137 } finally { 138 b ? S() : (N = false, O = null); 139 } 140 } else N = false; 141 } 142 var S; 143 if ("function" === typeof F) S = function() { 144 F(R); 145 }; 146 else if ("undefined" !== typeof MessageChannel) { 147 T = new MessageChannel(), U = T.port2; 148 T.port1.onmessage = R; 149 S = function() { 150 U.postMessage(null); 151 }; 152 } else S = function() { 153 D(R, 0); 154 }; 155 var T; 156 var U; 157 function I(a2) { 158 O = a2; 159 N || (N = true, S()); 160 } 161 function K(a2, b) { 162 L = D(function() { 163 a2(exports.unstable_now()); 164 }, b); 165 } 166 exports.unstable_IdlePriority = 5; 167 exports.unstable_ImmediatePriority = 1; 168 exports.unstable_LowPriority = 4; 169 exports.unstable_NormalPriority = 3; 170 exports.unstable_Profiling = null; 171 exports.unstable_UserBlockingPriority = 2; 172 exports.unstable_cancelCallback = function(a2) { 173 a2.callback = null; 174 }; 175 exports.unstable_continueExecution = function() { 176 A || z || (A = true, I(J)); 177 }; 178 exports.unstable_forceFrameRate = function(a2) { 179 0 > a2 || 125 < a2 ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : P = 0 < a2 ? Math.floor(1e3 / a2) : 5; 180 }; 181 exports.unstable_getCurrentPriorityLevel = function() { 182 return y; 183 }; 184 exports.unstable_getFirstCallbackNode = function() { 185 return h2(r2); 186 }; 187 exports.unstable_next = function(a2) { 188 switch (y) { 189 case 1: 190 case 2: 191 case 3: 192 var b = 3; 193 break; 194 default: 195 b = y; 196 } 197 var c2 = y; 198 y = b; 199 try { 200 return a2(); 201 } finally { 202 y = c2; 203 } 204 }; 205 exports.unstable_pauseExecution = function() { 206 }; 207 exports.unstable_requestPaint = function() { 208 }; 209 exports.unstable_runWithPriority = function(a2, b) { 210 switch (a2) { 211 case 1: 212 case 2: 213 case 3: 214 case 4: 215 case 5: 216 break; 217 default: 218 a2 = 3; 219 } 220 var c2 = y; 221 y = a2; 222 try { 223 return b(); 224 } finally { 225 y = c2; 226 } 227 }; 228 exports.unstable_scheduleCallback = function(a2, b, c2) { 229 var d2 = exports.unstable_now(); 230 "object" === typeof c2 && null !== c2 ? (c2 = c2.delay, c2 = "number" === typeof c2 && 0 < c2 ? d2 + c2 : d2) : c2 = d2; 231 switch (a2) { 232 case 1: 233 var e2 = -1; 234 break; 235 case 2: 236 e2 = 250; 237 break; 238 case 5: 239 e2 = 1073741823; 240 break; 241 case 4: 242 e2 = 1e4; 243 break; 244 default: 245 e2 = 5e3; 246 } 247 e2 = c2 + e2; 248 a2 = { id: u2++, callback: b, priorityLevel: a2, startTime: c2, expirationTime: e2, sortIndex: -1 }; 249 c2 > d2 ? (a2.sortIndex = c2, f2(t2, a2), null === h2(r2) && a2 === h2(t2) && (B ? (E2(L), L = -1) : B = true, K(H, c2 - d2))) : (a2.sortIndex = e2, f2(r2, a2), A || z || (A = true, I(J))); 250 return a2; 251 }; 252 exports.unstable_shouldYield = M; 253 exports.unstable_wrapCallback = function(a2) { 254 var b = y; 255 return function() { 256 var c2 = y; 257 y = b; 258 try { 259 return a2.apply(this, arguments); 260 } finally { 261 y = c2; 262 } 263 }; 264 }; 265 } 266}); 267
vendor: 349 bytes, lines 268-279
268// node_modules/.pnpm/[email protected]/node_modules/scheduler/index.js 269var require_scheduler = __commonJS({ 270 "node_modules/.pnpm/[email protected]/node_modules/scheduler/index.js"(exports, module) { 271 "use strict"; 272 if (true) { 273 module.exports = require_scheduler_production_min(); 274 } else { 275 module.exports = null; 276 } 277 } 278}); 279
vendor: 316 bytes, lines 280-283
280// node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]_@codemirror+langua_q7p5l5qq6toq5swdfaay2akjmi/node_modules/@strapi/admin/dist/admin/admin/src/components/Context.mjs 281var import_jsx_runtime = __toESM(require_jsx_runtime(), 1); 282var React = __toESM(require_react(), 1); 283
vendor: 2,750 bytes, lines 284-343
284// node_modules/.pnpm/[email protected][email protected][email protected][email protected][email protected]/node_modules/use-context-selector/dist/index.modern.js 285var import_react = __toESM(require_react()); 286var import_scheduler = __toESM(require_scheduler()); 287var import_react_dom = __toESM(require_react_dom()); 288var d = Symbol(); 289var f = Symbol(); 290var v = "undefined" == typeof window || /ServerSideRendering/.test(window.navigator && window.navigator.userAgent) ? import_react.useEffect : import_react.useLayoutEffect; 291var a = import_scheduler.unstable_runWithPriority ? (e2) => (0, import_scheduler.unstable_runWithPriority)(import_scheduler.unstable_NormalPriority, e2) : (e2) => e2(); 292function E(r2) { 293 const t2 = (0, import_react.createContext)({ [d]: { v: { current: r2 }, n: { current: -1 }, l: /* @__PURE__ */ new Set(), u: (e2) => e2() } }); 294 var o2; 295 return t2[f] = t2.Provider, t2.Provider = (o2 = t2.Provider, ({ value: e2, children: r3 }) => { 296 const t3 = (0, import_react.useRef)(e2), c2 = (0, import_react.useRef)(0), [i2, p2] = (0, import_react.useState)(null); 297 i2 && (i2(e2), p2(null)); 298 const f2 = (0, import_react.useRef)(); 299 if (!f2.current) { 300 const e3 = /* @__PURE__ */ new Set(), r4 = (r5, t4) => { 301 (0, import_react_dom.unstable_batchedUpdates)(() => { 302 c2.current += 1; 303 const n2 = { n: c2.current }; 304 null != t4 && t4.suspense && (n2.n *= -1, n2.p = new Promise((e4) => { 305 p2(() => (r6) => { 306 n2.v = r6, delete n2.p, e4(r6); 307 }); 308 })), e3.forEach((e4) => e4(n2)), r5(); 309 }); 310 }; 311 f2.current = { [d]: { v: t3, n: c2, l: e3, u: r4 } }; 312 } 313 return v(() => { 314 t3.current = e2, c2.current += 1, a(() => { 315 f2.current[d].l.forEach((r4) => { 316 r4({ n: c2.current, v: e2 }); 317 }); 318 }); 319 }, [e2]), (0, import_react.createElement)(o2, { value: f2.current }, r3); 320 }), delete t2.Consumer, t2; 321} 322function h(e2, n2) { 323 const o2 = (0, import_react.useContext)(e2)[d]; 324 if ("object" == typeof process && false) throw new Error("useContextSelector requires special context"); 325 const { v: { current: c2 }, n: { current: u2 }, l: s2 } = o2, i2 = n2(c2), [p2, l2] = (0, import_react.useReducer)((e3, r2) => { 326 if (!r2) return [c2, i2]; 327 if ("p" in r2) throw r2.p; 328 if (r2.n === u2) return Object.is(e3[1], i2) ? e3 : [c2, i2]; 329 try { 330 if ("v" in r2) { 331 if (Object.is(e3[0], r2.v)) return e3; 332 const t2 = n2(r2.v); 333 return Object.is(e3[1], t2) ? e3 : [r2.v, t2]; 334 } 335 } catch (e4) { 336 } 337 return [...e3]; 338 }, [c2, i2]); 339 return Object.is(p2[1], i2) || l2(), v(() => (s2.add(l2), () => { 340 s2.delete(l2); 341 }), [s2]), p2[1]; 342} 343
vendor: 1,396 bytes, lines 344-387
344// node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]_@codemirror+langua_q7p5l5qq6toq5swdfaay2akjmi/node_modules/@strapi/admin/dist/admin/admin/src/components/Context.mjs 345function createContext(rootComponentName, defaultContext) { 346 const Context = E(defaultContext); 347 const Provider = (props) => { 348 const { children, ...context } = props; 349 const value = React.useMemo(() => context, Object.values(context)); 350 return (0, import_jsx_runtime.jsx)(Context.Provider, { 351 value, 352 children 353 }); 354 }; 355 function useContext(consumerName, selector, shouldThrowOnMissingContext) { 356 return h(Context, (ctx) => { 357 if (ctx) return selector(ctx); 358 if (shouldThrowOnMissingContext) { 359 throw new Error(`\`${consumerName}\` must be used within \`${rootComponentName}\``); 360 } 361 return void 0; 362 }); 363 } 364 Provider.displayName = rootComponentName + "Provider"; 365 return [ 366 Provider, 367 useContext 368 ]; 369} 370 371export { 372 createContext 373}; 374/*! Bundled license information: 375 376scheduler/cjs/scheduler.production.min.js: 377 (** 378 * @license React 379 * scheduler.production.min.js 380 * 381 * Copyright (c) Facebook, Inc. and its affiliates. 382 * 383 * This source code is licensed under the MIT license found in the 384 * LICENSE file in the root directory of this source tree. 385 *) 386*/ 387//# sourceMappingURL=chunk-RQGS6WDE.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.