narrat 3.3.4 → 3.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/narrat.es.js +232 -228
- package/dist/narrat.es.js.map +1 -1
- package/dist/narrat.umd.js +32 -32
- package/dist/narrat.umd.js.map +1 -1
- package/dist/plugins/godot-plugin.d.ts +20 -1
- package/package.json +1 -1
package/dist/narrat.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var bV = Object.defineProperty;
|
|
2
2
|
var wV = (e, t, n) => t in e ? bV(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
|
-
var
|
|
4
|
-
import { defineComponent as fn, openBlock as Te, createBlock as an, Transition as _h, withCtx as
|
|
3
|
+
var yr = (e, t, n) => (wV(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
4
|
+
import { defineComponent as fn, openBlock as Te, createBlock as an, Transition as _h, withCtx as wr, createElementVNode as Ie, normalizeClass as xr, createElementBlock as Je, createCommentVNode as hn, renderSlot as Zd, createTextVNode as Of, effectScope as z6, ref as xt, markRaw as ql, hasInjectionContext as kV, inject as xV, getCurrentInstance as _V, toRaw as Xg, watch as Ss, reactive as Hc, isRef as jh, isReactive as lk, toRef as oy, nextTick as Sh, computed as Re, unref as kr, getCurrentScope as jV, onScopeDispose as SV, toRefs as uj, onMounted as fi, onUnmounted as wi, withDirectives as Hu, vModelText as Ef, Fragment as er, renderList as fr, normalizeStyle as sr, toDisplayString as Ut, resolveComponent as Af, createStaticVNode as CV, TransitionGroup as eh, onBeforeMount as V6, createVNode as ti, Teleport as ck, resolveDynamicComponent as fk, resolveDirective as $V, useSlots as TV, normalizeProps as OV, mergeProps as U6, vModelCheckbox as EV, pushScopeId as AV, popScopeId as MV, createApp as PV } from "vue";
|
|
5
5
|
var Zs = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
6
6
|
function q6(e) {
|
|
7
7
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -332,8 +332,8 @@ var NV = H6.exports;
|
|
|
332
332
|
NV.polyfill();
|
|
333
333
|
class dk {
|
|
334
334
|
constructor() {
|
|
335
|
-
|
|
336
|
-
|
|
335
|
+
yr(this, "debug");
|
|
336
|
+
yr(this, "logger", {
|
|
337
337
|
log: () => {
|
|
338
338
|
}
|
|
339
339
|
});
|
|
@@ -373,13 +373,13 @@ const Us = (e, t) => {
|
|
|
373
373
|
}, RV = { class: "modal-header" }, DV = { class: "modal-body" }, FV = { class: "modal-footer" };
|
|
374
374
|
function BV(e, t, n, r, i, o) {
|
|
375
375
|
return Te(), an(_h, { name: "fade" }, {
|
|
376
|
-
default:
|
|
376
|
+
default: wr(() => [
|
|
377
377
|
Ie("div", {
|
|
378
378
|
class: "modal-mask",
|
|
379
379
|
onClick: t[2] || (t[2] = (...a) => e.close && e.close(...a))
|
|
380
380
|
}, [
|
|
381
381
|
Ie("div", {
|
|
382
|
-
class:
|
|
382
|
+
class: xr(["modal-container bg-gray-800 card-4", e.containerCssClass]),
|
|
383
383
|
onClick: t[1] || (t[1] = (a) => a.stopPropagation())
|
|
384
384
|
}, [
|
|
385
385
|
Ie("div", RV, [
|
|
@@ -2607,7 +2607,7 @@ function Pk(e) {
|
|
|
2607
2607
|
return wq.test(e);
|
|
2608
2608
|
}
|
|
2609
2609
|
var wq = /^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$/;
|
|
2610
|
-
function
|
|
2610
|
+
function Cr(e) {
|
|
2611
2611
|
return St(e) === "object" && e !== null && e.constructor === Object;
|
|
2612
2612
|
}
|
|
2613
2613
|
function Pr(e) {
|
|
@@ -2642,7 +2642,7 @@ function Ik(e, t) {
|
|
|
2642
2642
|
return "null";
|
|
2643
2643
|
if (Array.isArray(e))
|
|
2644
2644
|
return "array";
|
|
2645
|
-
if (
|
|
2645
|
+
if (Cr(e))
|
|
2646
2646
|
return "object";
|
|
2647
2647
|
var n = t.stringify(e);
|
|
2648
2648
|
return n && Pk(n) ? "number" : n === "true" || n === "false" ? "boolean" : n === "null" ? "null" : "unknown";
|
|
@@ -2879,12 +2879,12 @@ var iH = 4294967295;
|
|
|
2879
2879
|
function Kn(e) {
|
|
2880
2880
|
this.__wrapped__ = e, this.__actions__ = [], this.__dir__ = 1, this.__filtered__ = !1, this.__iteratees__ = [], this.__takeCount__ = iH, this.__views__ = [];
|
|
2881
2881
|
}
|
|
2882
|
-
function
|
|
2882
|
+
function Sr() {
|
|
2883
2883
|
}
|
|
2884
2884
|
Kn.prototype = sd(r0.prototype), Kn.prototype.constructor = Kn;
|
|
2885
2885
|
var oH = Dm ? function(e) {
|
|
2886
2886
|
return Dm.get(e);
|
|
2887
|
-
} :
|
|
2887
|
+
} : Sr, Nk = oH, Gc = {}, aH = Object.prototype.hasOwnProperty;
|
|
2888
2888
|
function am(e) {
|
|
2889
2889
|
for (var t = e.name + "", n = Gc[t], r = aH.call(Gc, t) ? n.length : 0; r--; ) {
|
|
2890
2890
|
var i = n[r], o = i.func;
|
|
@@ -5583,7 +5583,7 @@ function IZ(e) {
|
|
|
5583
5583
|
}
|
|
5584
5584
|
var NZ = cf && 1 / u0(new cf([, -0]))[1] == 1 / 0 ? function(e) {
|
|
5585
5585
|
return new cf(e);
|
|
5586
|
-
} :
|
|
5586
|
+
} : Sr, LZ = NZ, RZ = 200;
|
|
5587
5587
|
function il(e, t, n) {
|
|
5588
5588
|
var r = -1, i = o0, o = e.length, a = !0, s = [], u = s;
|
|
5589
5589
|
if (n)
|
|
@@ -5728,7 +5728,7 @@ function dee(e, t) {
|
|
|
5728
5728
|
var hee = Bn(function(e) {
|
|
5729
5729
|
var t = e.length, n = t > 1 ? e[t - 1] : void 0;
|
|
5730
5730
|
return n = typeof n == "function" ? (e.pop(), n) : void 0, UL(e, n);
|
|
5731
|
-
}), pee = hee, zt = { chunk: KW, compact: NK, concat: LK, difference: AG, differenceBy: PG, differenceWith: NG, drop: RG, dropRight: DG, dropRightWhile: FG, dropWhile: BG, fill: QG, findIndex: nL, findLastIndex: iL, first: qi, flatten: JI, flattenDeep: uJ, flattenDepth: lJ, fromPairs: yJ, head: qi, indexOf: NJ, initial: Nn, intersection: RJ, intersectionBy: FJ, intersectionWith: BJ, join: xQ, last: Dt, lastIndexOf: OQ, nth: tY, pull: DY, pullAll: $L, pullAllBy: FY, pullAllWith: BY, pullAt: UY, remove: oX, reverse: fb, slice: _X, sortedIndex: PX, sortedIndexBy: IX, sortedIndexOf: NX, sortedLastIndex: LX, sortedLastIndexBy: RX, sortedLastIndexOf: DX, sortedUniq: FX, sortedUniqBy: BX, tail: ZX, take: eZ, takeRight: tZ, takeRightWhile: nZ, takeWhile: rZ, union: DZ, unionBy: BZ, unionWith: zZ, uniq: VZ, uniqBy: UZ, uniqWith: qZ, unzip: Sx, unzipWith: UL, without: eee, xor: aee, xorBy: uee, xorWith: lee, zip: cee, zipObject: fee, zipObjectDeep: dee, zipWith: pee },
|
|
5731
|
+
}), pee = hee, zt = { chunk: KW, compact: NK, concat: LK, difference: AG, differenceBy: PG, differenceWith: NG, drop: RG, dropRight: DG, dropRightWhile: FG, dropWhile: BG, fill: QG, findIndex: nL, findLastIndex: iL, first: qi, flatten: JI, flattenDeep: uJ, flattenDepth: lJ, fromPairs: yJ, head: qi, indexOf: NJ, initial: Nn, intersection: RJ, intersectionBy: FJ, intersectionWith: BJ, join: xQ, last: Dt, lastIndexOf: OQ, nth: tY, pull: DY, pullAll: $L, pullAllBy: FY, pullAllWith: BY, pullAt: UY, remove: oX, reverse: fb, slice: _X, sortedIndex: PX, sortedIndexBy: IX, sortedIndexOf: NX, sortedLastIndex: LX, sortedLastIndexBy: RX, sortedLastIndexOf: DX, sortedUniq: FX, sortedUniqBy: BX, tail: ZX, take: eZ, takeRight: tZ, takeRightWhile: nZ, takeWhile: rZ, union: DZ, unionBy: BZ, unionWith: zZ, uniq: VZ, uniqBy: UZ, uniqWith: qZ, unzip: Sx, unzipWith: UL, without: eee, xor: aee, xorBy: uee, xorWith: lee, zip: cee, zipObject: fee, zipObjectDeep: dee, zipWith: pee }, br = { countBy: pG, each: z3, eachRight: sb, every: GG, filter: YG, find: ZG, findLast: rJ, flatMap: oJ, flatMapDeep: aJ, flatMapDepth: sJ, forEach: z3, forEachRight: sb, groupBy: wp, includes: PJ, invokeMap: QJ, keyBy: CQ, map: bp, orderBy: uY, partition: CL, reduce: tX, reduceRight: rX, reject: iX, sample: hX, sampleSize: mX, shuffle: kX, size: xX, some: $X, sortBy: PL }, vee = { now: sm }, Zr = { after: zq, ary: zI, before: XI, bind: ZI, bindKey: xW, curry: sx, curryRight: ux, debounce: gp, defer: CG, delay: TG, flip: cJ, memoize: pp, negate: Ph, once: sY, overArgs: hY, partial: SL, partialRight: AY, rearg: eX, rest: uX, spread: UX, throttle: RL, unary: AZ, wrap: tee }, ln = { castArray: zW, clone: OK, cloneDeep: EK, cloneDeepWith: AN, cloneWith: PK, conformsTo: lG, eq: is, gt: _J, gte: jJ, isArguments: sc, isArray: Cn, isArrayBuffer: YJ, isArrayLike: Ro, isArrayLikeObject: ci, isBoolean: XJ, isBuffer: rl, isDate: ZJ, isElement: eQ, isEmpty: Tn, isEqual: Dn, isEqualWith: iQ, isError: qk, isFinite: aQ, isFunction: bu, isInteger: cL, isLength: a0, isMap: CN, isMatch: sQ, isMatchWith: uQ, isNaN: cQ, isNative: dQ, isNil: hQ, isNull: pQ, isNumber: fL, isObject: qr, isObjectLike: ri, isPlainObject: vp, isRegExp: vx, isSafeInteger: mQ, isSet: $N, isString: p0, isSymbol: Jo, isTypedArray: fd, isUndefined: gQ, isWeakMap: yQ, isWeakSet: bQ, lt: PQ, lte: IQ, toArray: vL, toFinite: su, toInteger: Mn, toLength: ZN, toNumber: ma, toPlainObject: VN, toSafeInteger: xZ, toString: hr }, lo = { add: Pq, ceil: qW, divide: LG, floor: fJ, max: DQ, maxBy: FQ, mean: zQ, meanBy: VQ, min: JQ, minBy: Ud, multiply: QQ, round: fX, subtract: QX, sum: YX, sumBy: XX }, mee = GW, gee = EJ, yee = JY, bn = { assign: WH, assignIn: h3, assignInWith: zm, assignWith: XH, at: cW, create: vG, defaults: xG, defaultsDeep: jG, entries: V3, entriesIn: U3, extend: h3, extendWith: zm, findKey: eJ, findLastKey: iJ, forIn: pJ, forInRight: vJ, forOwn: mJ, forOwnRight: gJ, functions: bJ, functionsIn: wJ, get: Vk, has: $J, hasIn: ix, invert: UJ, invertBy: KJ, invoke: GJ, keys: Si, keysIn: Po, mapKeys: NQ, mapValues: dL, merge: qQ, mergeWith: qN, omit: oY, omitBy: aY, pick: IY, pickBy: yL, result: lX, set: gX, setWith: yX, toPairs: V3, toPairsIn: U3, transform: jZ, unset: WZ, update: GZ, updateWith: JZ, values: pd, valuesIn: XZ }, us = { at: ree, chain: yN, commit: IK, lodash: ne, next: eY, plant: NY, reverse: oee, tap: iZ, thru: Ih, toIterator: yZ, toJSON: Sy, value: Sy, valueOf: Sy, wrapperChain: iee }, ar = { camelCase: BW, capitalize: oN, deburr: aN, endsWith: VG, escape: QN, escapeRegExp: WG, kebabCase: jQ, lowerCase: AQ, lowerFirst: MQ, pad: SY, padEnd: CY, padStart: $Y, parseInt: EY, repeat: aX, replace: sX, snakeCase: SX, split: zX, startCase: HX, startsWith: WX, template: pZ, templateSettings: db, toLower: bZ, toUpper: _Z, trim: SZ, trimEnd: CZ, trimStart: TZ, truncate: EZ, unescape: IZ, upperCase: YZ, upperFirst: Kk, words: gN }, ur = { attempt: YI, bindAll: kW, cond: sG, conforms: uG, constant: Lk, defaultTo: bG, flow: dJ, flowRight: hJ, identity: mo, iteratee: wQ, matches: LQ, matchesProperty: RQ, method: WQ, methodOf: GQ, mixin: pL, noop: Sr, nthArg: nY, over: lY, overEvery: pY, overSome: vY, property: RN, propertyOf: LY, range: EL, rangeRight: XY, stubArray: Yk, stubFalse: Fk, stubObject: KX, stubString: GX, stubTrue: JX, times: DL, toPath: wZ, uniqueId: uc }, bee = Math.max, wee = Math.min, kee = Math.min;
|
|
5732
5732
|
/**
|
|
5733
5733
|
* @license
|
|
5734
5734
|
* Lodash (Custom Build) <https://lodash.com/>
|
|
@@ -5747,7 +5747,7 @@ var Cy, Z3 = 4294967295, xee = Array.prototype, eE = Object.prototype.hasOwnProp
|
|
|
5747
5747
|
return e(t, n, r);
|
|
5748
5748
|
};
|
|
5749
5749
|
}(pL);
|
|
5750
|
-
ne.after = Zr.after, ne.ary = Zr.ary, ne.assign = bn.assign, ne.assignIn = bn.assignIn, ne.assignInWith = bn.assignInWith, ne.assignWith = bn.assignWith, ne.at = bn.at, ne.before = Zr.before, ne.bind = Zr.bind, ne.bindAll = ur.bindAll, ne.bindKey = Zr.bindKey, ne.castArray = ln.castArray, ne.chain = us.chain, ne.chunk = zt.chunk, ne.compact = zt.compact, ne.concat = zt.concat, ne.cond = ur.cond, ne.conforms = ur.conforms, ne.constant = ur.constant, ne.countBy =
|
|
5750
|
+
ne.after = Zr.after, ne.ary = Zr.ary, ne.assign = bn.assign, ne.assignIn = bn.assignIn, ne.assignInWith = bn.assignInWith, ne.assignWith = bn.assignWith, ne.at = bn.at, ne.before = Zr.before, ne.bind = Zr.bind, ne.bindAll = ur.bindAll, ne.bindKey = Zr.bindKey, ne.castArray = ln.castArray, ne.chain = us.chain, ne.chunk = zt.chunk, ne.compact = zt.compact, ne.concat = zt.concat, ne.cond = ur.cond, ne.conforms = ur.conforms, ne.constant = ur.constant, ne.countBy = br.countBy, ne.create = bn.create, ne.curry = Zr.curry, ne.curryRight = Zr.curryRight, ne.debounce = Zr.debounce, ne.defaults = bn.defaults, ne.defaultsDeep = bn.defaultsDeep, ne.defer = Zr.defer, ne.delay = Zr.delay, ne.difference = zt.difference, ne.differenceBy = zt.differenceBy, ne.differenceWith = zt.differenceWith, ne.drop = zt.drop, ne.dropRight = zt.dropRight, ne.dropRightWhile = zt.dropRightWhile, ne.dropWhile = zt.dropWhile, ne.fill = zt.fill, ne.filter = br.filter, ne.flatMap = br.flatMap, ne.flatMapDeep = br.flatMapDeep, ne.flatMapDepth = br.flatMapDepth, ne.flatten = zt.flatten, ne.flattenDeep = zt.flattenDeep, ne.flattenDepth = zt.flattenDepth, ne.flip = Zr.flip, ne.flow = ur.flow, ne.flowRight = ur.flowRight, ne.fromPairs = zt.fromPairs, ne.functions = bn.functions, ne.functionsIn = bn.functionsIn, ne.groupBy = br.groupBy, ne.initial = zt.initial, ne.intersection = zt.intersection, ne.intersectionBy = zt.intersectionBy, ne.intersectionWith = zt.intersectionWith, ne.invert = bn.invert, ne.invertBy = bn.invertBy, ne.invokeMap = br.invokeMap, ne.iteratee = ur.iteratee, ne.keyBy = br.keyBy, ne.keys = Si, ne.keysIn = bn.keysIn, ne.map = br.map, ne.mapKeys = bn.mapKeys, ne.mapValues = bn.mapValues, ne.matches = ur.matches, ne.matchesProperty = ur.matchesProperty, ne.memoize = Zr.memoize, ne.merge = bn.merge, ne.mergeWith = bn.mergeWith, ne.method = ur.method, ne.methodOf = ur.methodOf, ne.mixin = $y, ne.negate = Ph, ne.nthArg = ur.nthArg, ne.omit = bn.omit, ne.omitBy = bn.omitBy, ne.once = Zr.once, ne.orderBy = br.orderBy, ne.over = ur.over, ne.overArgs = Zr.overArgs, ne.overEvery = ur.overEvery, ne.overSome = ur.overSome, ne.partial = Zr.partial, ne.partialRight = Zr.partialRight, ne.partition = br.partition, ne.pick = bn.pick, ne.pickBy = bn.pickBy, ne.property = ur.property, ne.propertyOf = ur.propertyOf, ne.pull = zt.pull, ne.pullAll = zt.pullAll, ne.pullAllBy = zt.pullAllBy, ne.pullAllWith = zt.pullAllWith, ne.pullAt = zt.pullAt, ne.range = ur.range, ne.rangeRight = ur.rangeRight, ne.rearg = Zr.rearg, ne.reject = br.reject, ne.remove = zt.remove, ne.rest = Zr.rest, ne.reverse = zt.reverse, ne.sampleSize = br.sampleSize, ne.set = bn.set, ne.setWith = bn.setWith, ne.shuffle = br.shuffle, ne.slice = zt.slice, ne.sortBy = br.sortBy, ne.sortedUniq = zt.sortedUniq, ne.sortedUniqBy = zt.sortedUniqBy, ne.split = ar.split, ne.spread = Zr.spread, ne.tail = zt.tail, ne.take = zt.take, ne.takeRight = zt.takeRight, ne.takeRightWhile = zt.takeRightWhile, ne.takeWhile = zt.takeWhile, ne.tap = us.tap, ne.throttle = Zr.throttle, ne.thru = Ih, ne.toArray = ln.toArray, ne.toPairs = bn.toPairs, ne.toPairsIn = bn.toPairsIn, ne.toPath = ur.toPath, ne.toPlainObject = ln.toPlainObject, ne.transform = bn.transform, ne.unary = Zr.unary, ne.union = zt.union, ne.unionBy = zt.unionBy, ne.unionWith = zt.unionWith, ne.uniq = zt.uniq, ne.uniqBy = zt.uniqBy, ne.uniqWith = zt.uniqWith, ne.unset = bn.unset, ne.unzip = zt.unzip, ne.unzipWith = zt.unzipWith, ne.update = bn.update, ne.updateWith = bn.updateWith, ne.values = bn.values, ne.valuesIn = bn.valuesIn, ne.without = zt.without, ne.words = ar.words, ne.wrap = Zr.wrap, ne.xor = zt.xor, ne.xorBy = zt.xorBy, ne.xorWith = zt.xorWith, ne.zip = zt.zip, ne.zipObject = zt.zipObject, ne.zipObjectDeep = zt.zipObjectDeep, ne.zipWith = zt.zipWith, ne.entries = bn.toPairs, ne.entriesIn = bn.toPairsIn, ne.extend = bn.assignIn, ne.extendWith = bn.assignInWith, $y(ne, ne), ne.add = lo.add, ne.attempt = ur.attempt, ne.camelCase = ar.camelCase, ne.capitalize = ar.capitalize, ne.ceil = lo.ceil, ne.clamp = mee, ne.clone = ln.clone, ne.cloneDeep = ln.cloneDeep, ne.cloneDeepWith = ln.cloneDeepWith, ne.cloneWith = ln.cloneWith, ne.conformsTo = ln.conformsTo, ne.deburr = ar.deburr, ne.defaultTo = ur.defaultTo, ne.divide = lo.divide, ne.endsWith = ar.endsWith, ne.eq = ln.eq, ne.escape = ar.escape, ne.escapeRegExp = ar.escapeRegExp, ne.every = br.every, ne.find = br.find, ne.findIndex = zt.findIndex, ne.findKey = bn.findKey, ne.findLast = br.findLast, ne.findLastIndex = zt.findLastIndex, ne.findLastKey = bn.findLastKey, ne.floor = lo.floor, ne.forEach = br.forEach, ne.forEachRight = br.forEachRight, ne.forIn = bn.forIn, ne.forInRight = bn.forInRight, ne.forOwn = bn.forOwn, ne.forOwnRight = bn.forOwnRight, ne.get = bn.get, ne.gt = ln.gt, ne.gte = ln.gte, ne.has = bn.has, ne.hasIn = bn.hasIn, ne.head = zt.head, ne.identity = mo, ne.includes = br.includes, ne.indexOf = zt.indexOf, ne.inRange = gee, ne.invoke = bn.invoke, ne.isArguments = ln.isArguments, ne.isArray = Cn, ne.isArrayBuffer = ln.isArrayBuffer, ne.isArrayLike = ln.isArrayLike, ne.isArrayLikeObject = ln.isArrayLikeObject, ne.isBoolean = ln.isBoolean, ne.isBuffer = ln.isBuffer, ne.isDate = ln.isDate, ne.isElement = ln.isElement, ne.isEmpty = ln.isEmpty, ne.isEqual = ln.isEqual, ne.isEqualWith = ln.isEqualWith, ne.isError = ln.isError, ne.isFinite = ln.isFinite, ne.isFunction = ln.isFunction, ne.isInteger = ln.isInteger, ne.isLength = ln.isLength, ne.isMap = ln.isMap, ne.isMatch = ln.isMatch, ne.isMatchWith = ln.isMatchWith, ne.isNaN = ln.isNaN, ne.isNative = ln.isNative, ne.isNil = ln.isNil, ne.isNull = ln.isNull, ne.isNumber = ln.isNumber, ne.isObject = qr, ne.isObjectLike = ln.isObjectLike, ne.isPlainObject = ln.isPlainObject, ne.isRegExp = ln.isRegExp, ne.isSafeInteger = ln.isSafeInteger, ne.isSet = ln.isSet, ne.isString = ln.isString, ne.isSymbol = ln.isSymbol, ne.isTypedArray = ln.isTypedArray, ne.isUndefined = ln.isUndefined, ne.isWeakMap = ln.isWeakMap, ne.isWeakSet = ln.isWeakSet, ne.join = zt.join, ne.kebabCase = ar.kebabCase, ne.last = Dt, ne.lastIndexOf = zt.lastIndexOf, ne.lowerCase = ar.lowerCase, ne.lowerFirst = ar.lowerFirst, ne.lt = ln.lt, ne.lte = ln.lte, ne.max = lo.max, ne.maxBy = lo.maxBy, ne.mean = lo.mean, ne.meanBy = lo.meanBy, ne.min = lo.min, ne.minBy = lo.minBy, ne.stubArray = ur.stubArray, ne.stubFalse = ur.stubFalse, ne.stubObject = ur.stubObject, ne.stubString = ur.stubString, ne.stubTrue = ur.stubTrue, ne.multiply = lo.multiply, ne.nth = zt.nth, ne.noop = ur.noop, ne.now = vee.now, ne.pad = ar.pad, ne.padEnd = ar.padEnd, ne.padStart = ar.padStart, ne.parseInt = ar.parseInt, ne.random = yee, ne.reduce = br.reduce, ne.reduceRight = br.reduceRight, ne.repeat = ar.repeat, ne.replace = ar.replace, ne.result = bn.result, ne.round = lo.round, ne.sample = br.sample, ne.size = br.size, ne.snakeCase = ar.snakeCase, ne.some = br.some, ne.sortedIndex = zt.sortedIndex, ne.sortedIndexBy = zt.sortedIndexBy, ne.sortedIndexOf = zt.sortedIndexOf, ne.sortedLastIndex = zt.sortedLastIndex, ne.sortedLastIndexBy = zt.sortedLastIndexBy, ne.sortedLastIndexOf = zt.sortedLastIndexOf, ne.startCase = ar.startCase, ne.startsWith = ar.startsWith, ne.subtract = lo.subtract, ne.sum = lo.sum, ne.sumBy = lo.sumBy, ne.template = ar.template, ne.times = ur.times, ne.toFinite = ln.toFinite, ne.toInteger = Mn, ne.toLength = ln.toLength, ne.toLower = ar.toLower, ne.toNumber = ln.toNumber, ne.toSafeInteger = ln.toSafeInteger, ne.toString = ln.toString, ne.toUpper = ar.toUpper, ne.trim = ar.trim, ne.trimEnd = ar.trimEnd, ne.trimStart = ar.trimStart, ne.truncate = ar.truncate, ne.unescape = ar.unescape, ne.uniqueId = ur.uniqueId, ne.upperCase = ar.upperCase, ne.upperFirst = ar.upperFirst, ne.each = br.forEach, ne.eachRight = br.forEachRight, ne.first = zt.head, $y(ne, (Cy = {}, Os(ne, function(e, t) {
|
|
5751
5751
|
eE.call(ne.prototype, t) || (Cy[t] = e);
|
|
5752
5752
|
}), Cy), { chain: !1 }), ne.VERSION = "4.17.21", (ne.templateSettings = ar.templateSettings).imports._ = ne, aa(["bind", "bindKey", "curry", "curryRight", "partial", "partialRight"], function(e) {
|
|
5753
5753
|
ne[e].placeholder = ne;
|
|
@@ -5884,7 +5884,7 @@ function hb(e) {
|
|
|
5884
5884
|
if (!Array.isArray(e))
|
|
5885
5885
|
throw new TypeError("Array expected");
|
|
5886
5886
|
function r(a, s) {
|
|
5887
|
-
(!Array.isArray(a) && !
|
|
5887
|
+
(!Array.isArray(a) && !Cr(a) || t && s.length > 0) && (n[yt(s)] = !0), Cr(a) && Object.keys(a).forEach(function(u) {
|
|
5888
5888
|
r(a[u], s.concat(u));
|
|
5889
5889
|
});
|
|
5890
5890
|
}
|
|
@@ -5983,13 +5983,13 @@ function Nf(e, t) {
|
|
|
5983
5983
|
return { position: d, line: u, column: c, message: t.replace(/^JSON.parse: /, "").replace(/ of the JSON data$/, "") };
|
|
5984
5984
|
}
|
|
5985
5985
|
function Ty(e) {
|
|
5986
|
-
return
|
|
5986
|
+
return Cr(e) ? e.json !== void 0 ? e.text !== void 0 ? 'Content must contain either a property "json" or a property "text" but not both' : null : e.text === void 0 ? 'Content must contain either a property "json" or a property "text"' : typeof e.text != "string" ? 'Content "text" property must be a string containing a JSON document. Did you mean to use the "json" property instead?' : null : "Content must be an object";
|
|
5987
5987
|
}
|
|
5988
5988
|
function Lf(e) {
|
|
5989
|
-
return
|
|
5989
|
+
return Cr(e) && typeof e.text == "string";
|
|
5990
5990
|
}
|
|
5991
5991
|
function Tx(e) {
|
|
5992
|
-
return
|
|
5992
|
+
return Cr(e) && e.json !== void 0 && !Lf(e);
|
|
5993
5993
|
}
|
|
5994
5994
|
function Cee(e) {
|
|
5995
5995
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : void 0, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : JSON;
|
|
@@ -6017,7 +6017,7 @@ function $ee(e) {
|
|
|
6017
6017
|
for (var a = 0; a < o.length; a++)
|
|
6018
6018
|
if (i(o[a]), r > t)
|
|
6019
6019
|
return r;
|
|
6020
|
-
} else if (
|
|
6020
|
+
} else if (Cr(o)) {
|
|
6021
6021
|
var s = Object.keys(o);
|
|
6022
6022
|
r += 2 + s.length + (s.length - 1);
|
|
6023
6023
|
for (var u = 0; u < s.length; u++) {
|
|
@@ -7045,7 +7045,7 @@ function sa(e, t, n, r) {
|
|
|
7045
7045
|
}), o.pop();
|
|
7046
7046
|
}
|
|
7047
7047
|
}
|
|
7048
|
-
} else if (
|
|
7048
|
+
} else if (Cr(u) && r(o)) {
|
|
7049
7049
|
i[yt(o)] = !0;
|
|
7050
7050
|
var d = Object.keys(u);
|
|
7051
7051
|
if (d.length > 0) {
|
|
@@ -7508,7 +7508,7 @@ function xte(e) {
|
|
|
7508
7508
|
} };
|
|
7509
7509
|
}
|
|
7510
7510
|
function _te(e, t, n) {
|
|
7511
|
-
var r, i = Mi("jsoneditor:EditableDiv"), o = t.value, a = t.shortText, s = a !== void 0 && a, u = t.onChange, l = t.onCancel, f = t.onFind, c = t.onPaste, d = c === void 0 ?
|
|
7511
|
+
var r, i = Mi("jsoneditor:EditableDiv"), o = t.value, a = t.shortText, s = a !== void 0 && a, u = t.onChange, l = t.onCancel, f = t.onFind, c = t.onPaste, d = c === void 0 ? Sr : c, h = t.onValueClass, p = h === void 0 ? function() {
|
|
7512
7512
|
return "";
|
|
7513
7513
|
} : h, v = p(o), m = !1;
|
|
7514
7514
|
function g() {
|
|
@@ -7758,9 +7758,9 @@ function Ly(e, t) {
|
|
|
7758
7758
|
var n = /^\s*{/.test(e), r = /^\s*\[/.test(e), i = KL(e, t), o = i !== void 0 ? i : y0(e, function(a) {
|
|
7759
7759
|
return $x(a, t);
|
|
7760
7760
|
});
|
|
7761
|
-
return n &&
|
|
7761
|
+
return n && Cr(o) || r && Array.isArray(o) ? [{ key: "New item", value: o }] : Array.isArray(o) ? o.map(function(a, s) {
|
|
7762
7762
|
return { key: "New item " + s, value: a };
|
|
7763
|
-
}) :
|
|
7763
|
+
}) : Cr(o) ? Object.keys(o).map(function(a) {
|
|
7764
7764
|
return { key: a, value: o[a] };
|
|
7765
7765
|
}) : [{ key: "New item", value: o }];
|
|
7766
7766
|
}
|
|
@@ -9536,7 +9536,7 @@ function rre(e, t, n) {
|
|
|
9536
9536
|
}
|
|
9537
9537
|
function Wr() {
|
|
9538
9538
|
var ke = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : 0, Ht = arguments.length > 1 ? arguments[1] : void 0;
|
|
9539
|
-
n(7, Ot = ke < 0 ? 0 : ke), !Ht && He && l[Ot] && !l[Ot].selectable &&
|
|
9539
|
+
n(7, Ot = ke < 0 ? 0 : ke), !Ht && He && l[Ot] && !l[Ot].selectable && jr(1);
|
|
9540
9540
|
}
|
|
9541
9541
|
function so() {
|
|
9542
9542
|
var ke = !0;
|
|
@@ -9578,7 +9578,7 @@ function rre(e, t, n) {
|
|
|
9578
9578
|
var Ht;
|
|
9579
9579
|
be && P === ((Ht = document) === null || Ht === void 0 ? void 0 : Ht.activeElement) || (ke && O("focus", ke), P.focus(), n(2, be = !0));
|
|
9580
9580
|
}
|
|
9581
|
-
function
|
|
9581
|
+
function _r(ke) {
|
|
9582
9582
|
return Ji.apply(this, arguments);
|
|
9583
9583
|
}
|
|
9584
9584
|
function Ji() {
|
|
@@ -9658,14 +9658,14 @@ function rre(e, t, n) {
|
|
|
9658
9658
|
return di.groupHeader && di.selectable || di.selectable || !di.hasOwnProperty("selectable");
|
|
9659
9659
|
}(Ht) && (n(7, Ot = Pn), gr(Ht)));
|
|
9660
9660
|
}
|
|
9661
|
-
function
|
|
9661
|
+
function jr(ke) {
|
|
9662
9662
|
if (l.filter(function(Pn) {
|
|
9663
9663
|
return !Object.hasOwn(Pn, "selectable") || Pn.selectable === !0;
|
|
9664
9664
|
}).length === 0)
|
|
9665
9665
|
return n(7, Ot = 0);
|
|
9666
9666
|
ke > 0 && Ot === l.length - 1 ? n(7, Ot = 0) : n(7, ke < 0 && Ot === 0 ? Ot = l.length - 1 : Ot += ke);
|
|
9667
9667
|
var Ht = l[Ot];
|
|
9668
|
-
Ht && Ht.selectable === !1 && (ke !== 1 && ke !== -1 ||
|
|
9668
|
+
Ht && Ht.selectable === !1 && (ke !== 1 && ke !== -1 || jr(ke));
|
|
9669
9669
|
}
|
|
9670
9670
|
var uo = Sa, ss = Sa;
|
|
9671
9671
|
function Sa(ke) {
|
|
@@ -9757,10 +9757,10 @@ function rre(e, t, n) {
|
|
|
9757
9757
|
}
|
|
9758
9758
|
break;
|
|
9759
9759
|
case "ArrowDown":
|
|
9760
|
-
ke.preventDefault(), G ?
|
|
9760
|
+
ke.preventDefault(), G ? jr(1) : (n(6, G = !0), n(26, h = void 0));
|
|
9761
9761
|
break;
|
|
9762
9762
|
case "ArrowUp":
|
|
9763
|
-
ke.preventDefault(), G ?
|
|
9763
|
+
ke.preventDefault(), G ? jr(-1) : (n(6, G = !0), n(26, h = void 0));
|
|
9764
9764
|
break;
|
|
9765
9765
|
case "Tab":
|
|
9766
9766
|
if (G && be) {
|
|
@@ -9788,11 +9788,11 @@ function rre(e, t, n) {
|
|
|
9788
9788
|
return;
|
|
9789
9789
|
h === ye.length - 1 ? n(26, h = void 0) : h < ye.length - 1 && n(26, h += 1);
|
|
9790
9790
|
}
|
|
9791
|
-
}, Zo,
|
|
9791
|
+
}, Zo, _r, function() {
|
|
9792
9792
|
ee || n(6, G = !G);
|
|
9793
9793
|
}, Xt, function(ke) {
|
|
9794
9794
|
var Ht;
|
|
9795
|
-
G || be || !I || I.contains(ke.target) || (Ht = Rt) !== null && Ht !== void 0 && Ht.contains(ke.target) ||
|
|
9795
|
+
G || be || !I || I.contains(ke.target) || (Ht = Rt) !== null && Ht !== void 0 && Ht.contains(ke.target) || _r();
|
|
9796
9796
|
}, ai, Lr, function(ke, Ht, Pn) {
|
|
9797
9797
|
if (!j)
|
|
9798
9798
|
return Ht && Ht[Pn] === ke[Pn];
|
|
@@ -10698,10 +10698,10 @@ function zx(e) {
|
|
|
10698
10698
|
return !!e && e.type === "dropdown-button" && $p(e.main) && Array.isArray(e.items);
|
|
10699
10699
|
}
|
|
10700
10700
|
function PA(e) {
|
|
10701
|
-
return
|
|
10701
|
+
return Cr(e) && Cr(e.parseError);
|
|
10702
10702
|
}
|
|
10703
10703
|
function Lre(e) {
|
|
10704
|
-
return
|
|
10704
|
+
return Cr(e) && Array.isArray(e.validationErrors);
|
|
10705
10705
|
}
|
|
10706
10706
|
function Rre(e) {
|
|
10707
10707
|
un(e, "svelte-497ud4", ".jse-menu.svelte-497ud4.svelte-497ud4{background:var(--jse-theme-color);border-bottom:1px solid var(--jse-theme-color);color:var(--jse-menu-color);display:flex;flex-wrap:wrap;align-items:center;position:relative}.jse-menu.svelte-497ud4 .jse-button.svelte-497ud4{width:var(--jse-menu-button-size);height:var(--jse-menu-button-size);border:none;background:transparent;color:inherit;cursor:pointer;padding:calc(0.5 * var(--jse-padding));margin:0;border-radius:0}.jse-menu.svelte-497ud4 .jse-button.svelte-497ud4:hover,.jse-menu.svelte-497ud4 .jse-button.svelte-497ud4:focus{background:var(--jse-theme-color-highlight)}.jse-menu.svelte-497ud4 .jse-button.svelte-497ud4:disabled{color:var(--jse-menu-color);opacity:0.5;background:transparent}.jse-menu.svelte-497ud4 .jse-button.jse-group-button.svelte-497ud4{border:1px solid var(--jse-menu-color);padding:0 calc(0.5 * var(--jse-padding));margin:calc(0.5 * var(--jse-padding)) 0;height:calc(var(--jse-menu-button-size) - var(--jse-padding));width:auto}.jse-menu.svelte-497ud4 .jse-button.jse-group-button.svelte-497ud4:not(.jse-last){border-right:none}.jse-menu.svelte-497ud4 .jse-button.jse-group-button.jse-first.svelte-497ud4{margin-left:calc(0.5 * var(--jse-padding))}.jse-menu.svelte-497ud4 .jse-button.jse-group-button.jse-last.svelte-497ud4{margin-right:calc(0.5 * var(--jse-padding))}.jse-menu.svelte-497ud4 .jse-button.jse-group-button.svelte-497ud4:hover,.jse-menu.svelte-497ud4 .jse-button.jse-group-button.svelte-497ud4:focus{background:var(--jse-theme-color-highlight)}.jse-menu.svelte-497ud4 .jse-button.jse-group-button.jse-selected.svelte-497ud4{background:var(--jse-menu-color);color:var(--jse-theme-color)}.jse-menu.svelte-497ud4 .jse-space.svelte-497ud4{flex:1}.jse-menu.svelte-497ud4 .jse-separator.svelte-497ud4{background:var(--jse-menu-color);opacity:0.3;box-sizing:border-box;width:1px;height:calc(var(--jse-menu-button-size) - 6px);margin:3px}");
|
|
@@ -11877,7 +11877,7 @@ function Pie(e, t, n) {
|
|
|
11877
11877
|
return e.$$set = function(he) {
|
|
11878
11878
|
"json" in he && n(2, O = he.json), "documentState" in he && n(3, R = he.documentState), "parser" in he && n(4, T = he.parser), "showTip" in he && n(0, x = he.showTip), "onCloseContextMenu" in he && n(5, S = he.onCloseContextMenu), "onEditKey" in he && n(6, A = he.onEditKey), "onEditValue" in he && n(7, D = he.onEditValue), "onToggleEnforceString" in he && n(8, $ = he.onToggleEnforceString), "onCut" in he && n(9, L = he.onCut), "onCopy" in he && n(10, q = he.onCopy), "onPaste" in he && n(11, z = he.onPaste), "onRemove" in he && n(12, B = he.onRemove), "onDuplicate" in he && n(13, I = he.onDuplicate), "onExtract" in he && n(14, M = he.onExtract), "onInsertBefore" in he && n(15, P = he.onInsertBefore), "onInsert" in he && n(16, N = he.onInsert), "onConvert" in he && n(17, j = he.onConvert), "onInsertAfter" in he && n(18, E = he.onInsertAfter), "onSort" in he && n(19, F = he.onSort), "onTransform" in he && n(20, J = he.onTransform);
|
|
11879
11879
|
}, e.$$.update = function() {
|
|
11880
|
-
8 & e.$$.dirty[0] && n(37, r = R.selection), 4 & e.$$.dirty[0] && n(39, i = O !== void 0), 64 & e.$$.dirty[1] && n(31, o = r != null), 65 & e.$$.dirty[1] && n(21, a = o && Tn(r.focusPath)), 4 & e.$$.dirty[0] | 65 & e.$$.dirty[1] && n(38, s = o ? At(O, r.focusPath) : void 0), 128 & e.$$.dirty[1] && n(35, u = Array.isArray(s) ? "Edit array" :
|
|
11880
|
+
8 & e.$$.dirty[0] && n(37, r = R.selection), 4 & e.$$.dirty[0] && n(39, i = O !== void 0), 64 & e.$$.dirty[1] && n(31, o = r != null), 65 & e.$$.dirty[1] && n(21, a = o && Tn(r.focusPath)), 4 & e.$$.dirty[0] | 65 & e.$$.dirty[1] && n(38, s = o ? At(O, r.focusPath) : void 0), 128 & e.$$.dirty[1] && n(35, u = Array.isArray(s) ? "Edit array" : Cr(s) ? "Edit object" : "Edit value"), 320 & e.$$.dirty[1] && n(22, l = i && (Qn(r) || ni(r) || An(r))), 6291456 & e.$$.dirty[0] | 256 & e.$$.dirty[1] && n(30, f = i && l && !a), 2097152 & e.$$.dirty[0] | 320 & e.$$.dirty[1] && n(29, c = i && r != null && (Qn(r) || An(r)) && !a), 2097156 & e.$$.dirty[0] | 320 & e.$$.dirty[1] && n(36, d = i && r != null && Rh(r) && !a && !Array.isArray(At(O, Nn(r.focusPath)))), 320 & e.$$.dirty[1] && n(34, h = i && r != null && Rh(r)), 136 & e.$$.dirty[1] && n(32, p = h && !Pr(s)), 4194304 & e.$$.dirty[0] && n(25, v = l), 33554432 & e.$$.dirty[0] && n(24, m = v ? "Convert to:" : "Insert:"), 33554432 & e.$$.dirty[0] | 1 & e.$$.dirty[1] && n(28, g = !v && o), 33554432 & e.$$.dirty[0] | 193 & e.$$.dirty[1] && n(27, y = v ? Xl(r) && !Cr(s) : o), 33554432 & e.$$.dirty[0] | 193 & e.$$.dirty[1] && n(26, b = v ? Xl(r) && !Array.isArray(s) : o), 33554432 & e.$$.dirty[0] | 193 & e.$$.dirty[1] && n(23, w = v ? Xl(r) && Pr(s) : o), 24 & e.$$.dirty[0] | 192 & e.$$.dirty[1] && n(33, C = r != null && pu(s, R.enforceStringMap, yt(r.focusPath), T)), 2145386496 & e.$$.dirty[0] | 63 & e.$$.dirty[1] && n(1, k = [{ type: "row", items: [{ type: "button", onClick: ee, icon: pf, text: "Edit key", title: "Edit the key (Double-click on the key)", disabled: !d }, { type: "dropdown-button", main: { type: "button", onClick: fe, icon: pf, text: u, title: "Edit the value (Double-click on the value)", disabled: !h }, width: "11em", items: [{ type: "button", icon: pf, text: u, title: "Edit the value (Double-click on the value)", onClick: fe, disabled: !h }, { type: "button", icon: C ? Nh : Lh, text: "Enforce string", title: "Enforce keeping the value as string when it contains a numeric value", onClick: be, disabled: !p }] }] }, { type: "separator" }, { type: "row", items: [{ type: "dropdown-button", main: { type: "button", onClick: Oe, icon: hf, text: "Cut", title: "Cut selected contents, formatted with indentation (Ctrl+X)", disabled: !l }, width: "10em", items: [{ type: "button", icon: hf, text: "Cut formatted", title: "Cut selected contents, formatted with indentation (Ctrl+X)", onClick: Oe, disabled: !l }, { type: "button", icon: hf, text: "Cut compacted", title: "Cut selected contents, without indentation (Ctrl+Shift+X)", onClick: ye, disabled: !l }] }, { type: "dropdown-button", main: { type: "button", onClick: Se, icon: Ku, text: "Copy", title: "Copy selected contents, formatted with indentation (Ctrl+C)", disabled: !l }, width: "12em", items: [{ type: "button", icon: Ku, text: "Copy formatted", title: "Copy selected contents, formatted with indentation (Ctrl+C)", onClick: Se, disabled: !l }, { type: "button", icon: Ku, text: "Copy compacted", title: "Copy selected contents, without indentation (Ctrl+Shift+C)", onClick: Z, disabled: !l }] }, { type: "button", onClick: Pe, icon: CR, text: "Paste", title: "Paste clipboard contents (Ctrl+V)", disabled: !o }] }, { type: "separator" }, { type: "row", items: [{ type: "column", items: [{ type: "button", onClick: _e, icon: ER, text: "Duplicate", title: "Duplicate selected contents (Ctrl+D)", disabled: !f }, { type: "button", onClick: Q, icon: ine, text: "Extract", title: "Extract selected contents", disabled: !c }, { type: "button", onClick: ge, icon: _0, text: "Sort", title: "Sort array or object contents", disabled: !l }, { type: "button", onClick: Me, icon: k0, text: "Transform", title: "Transform array or object contents (filter, sort, project)", disabled: !l }, { type: "button", onClick: ze, icon: bb, text: "Remove", title: "Remove selected contents (Delete)", disabled: !l }] }, { type: "column", items: [{ type: "label", text: m }, { type: "button", onClick: function() {
|
|
11881
11881
|
return te("structure");
|
|
11882
11882
|
}, icon: v ? rv : Yc, text: "Structure", title: m + " structure", disabled: !g }, { type: "button", onClick: function() {
|
|
11883
11883
|
return te("object");
|
|
@@ -13067,7 +13067,7 @@ function I4(e) {
|
|
|
13067
13067
|
function Soe(e) {
|
|
13068
13068
|
var t, n, r, i, o, a, s, u, l, f, c, d = !e[8].readOnly && (e[10] === Oh || e[16] && qa(e[7])), h = [coe, loe, uoe], p = [];
|
|
13069
13069
|
function v(g, y) {
|
|
13070
|
-
return 1 & y[0] && (n = null), 1 & y[0] && (r = null), n == null && (n = !!Array.isArray(g[0])), n ? 0 : (r == null && (r = !!
|
|
13070
|
+
return 1 & y[0] && (n = null), 1 & y[0] && (r = null), n == null && (n = !!Array.isArray(g[0])), n ? 0 : (r == null && (r = !!Cr(g[0])), r ? 1 : 2);
|
|
13071
13071
|
}
|
|
13072
13072
|
i = v(e, [-1, -1]), o = p[i] = h[i](e);
|
|
13073
13073
|
var m = d && I4(e);
|
|
@@ -13375,7 +13375,7 @@ function GR(e) {
|
|
|
13375
13375
|
return [{ op: "replace", path: yt(o), value: l.slice(0).sort(u) }];
|
|
13376
13376
|
}(e, t, n, r);
|
|
13377
13377
|
}
|
|
13378
|
-
if (
|
|
13378
|
+
if (Cr(e))
|
|
13379
13379
|
return function(i) {
|
|
13380
13380
|
var o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 1, s = At(i, o), u = Object.keys(s), l = u.slice();
|
|
13381
13381
|
l.sort(function(p, v) {
|
|
@@ -13793,7 +13793,7 @@ function eae(e, t, n) {
|
|
|
13793
13793
|
var g = At(u, m);
|
|
13794
13794
|
if (Array.isArray(g))
|
|
13795
13795
|
return EL(0, g.length).map(String);
|
|
13796
|
-
if (
|
|
13796
|
+
if (Cr(g)) {
|
|
13797
13797
|
var y = Object.keys(g).slice(0);
|
|
13798
13798
|
return y.sort(Cb), y;
|
|
13799
13799
|
}
|
|
@@ -13933,7 +13933,7 @@ function aae(e) {
|
|
|
13933
13933
|
e.select();
|
|
13934
13934
|
}
|
|
13935
13935
|
function sae(e, t, n) {
|
|
13936
|
-
var r, i, o = t.show, a = o !== void 0 && o, s = t.searching, u = t.resultCount, l = u === void 0 ? 0 : u, f = t.activeIndex, c = f === void 0 ? 0 : f, d = t.showReplace, h = d !== void 0 && d, p = t.readOnly, v = p !== void 0 && p, m = t.onChange, g = m === void 0 ?
|
|
13936
|
+
var r, i, o = t.show, a = o !== void 0 && o, s = t.searching, u = t.resultCount, l = u === void 0 ? 0 : u, f = t.activeIndex, c = f === void 0 ? 0 : f, d = t.showReplace, h = d !== void 0 && d, p = t.readOnly, v = p !== void 0 && p, m = t.onChange, g = m === void 0 ? Sr : m, y = t.onPrevious, b = y === void 0 ? Sr : y, w = t.onNext, C = w === void 0 ? Sr : w, k = t.onReplace, O = k === void 0 ? Sr : k, R = t.onReplaceAll, T = R === void 0 ? Sr : R, x = t.onClose, S = x === void 0 ? Sr : x, A = "", D = "", $ = "";
|
|
13937
13937
|
function L() {
|
|
13938
13938
|
n(0, h = !h && !v);
|
|
13939
13939
|
}
|
|
@@ -14011,7 +14011,7 @@ function cae(e, t) {
|
|
|
14011
14011
|
s(o[f], f, o);
|
|
14012
14012
|
}
|
|
14013
14013
|
}(e, n, function(o) {
|
|
14014
|
-
|
|
14014
|
+
Cr(o) ? QR(o, r, t) : r[Vh] = !0;
|
|
14015
14015
|
});
|
|
14016
14016
|
var i = [];
|
|
14017
14017
|
return Vh in r && i.push([]), YR(r, [], i, t), i;
|
|
@@ -14019,7 +14019,7 @@ function cae(e, t) {
|
|
|
14019
14019
|
function QR(e, t, n) {
|
|
14020
14020
|
for (var r in e) {
|
|
14021
14021
|
var i = e[r], o = t[r] || (t[r] = {});
|
|
14022
|
-
|
|
14022
|
+
Cr(i) && n ? QR(i, o, n) : o[Vh] === void 0 && (o[Vh] = !0);
|
|
14023
14023
|
}
|
|
14024
14024
|
}
|
|
14025
14025
|
function YR(e, t, n, r) {
|
|
@@ -14259,7 +14259,7 @@ function eg(e) {
|
|
|
14259
14259
|
if (Array.isArray(y) && !Tn(y)) {
|
|
14260
14260
|
var b = qi(y);
|
|
14261
14261
|
return Pr(b) ? AN(b, function(w) {
|
|
14262
|
-
return Array.isArray(w) ? [] :
|
|
14262
|
+
return Array.isArray(w) ? [] : Cr(w) ? void 0 : "";
|
|
14263
14263
|
}) : "";
|
|
14264
14264
|
}
|
|
14265
14265
|
}
|
|
@@ -14278,7 +14278,7 @@ function eg(e) {
|
|
|
14278
14278
|
return { state: xe(xe({}, sa(v, m, g, sh)), {}, { selection: n ? ol(g) : m.selection }) };
|
|
14279
14279
|
if (f === "") {
|
|
14280
14280
|
var y = Tn(g) ? null : At(v, Nn(g));
|
|
14281
|
-
return { state: vb(v, xe(xe({}, o), {}, { selection:
|
|
14281
|
+
return { state: vb(v, xe(xe({}, o), {}, { selection: Cr(y) ? ba(g, !0) : Rn(g, !0) }), g) };
|
|
14282
14282
|
}
|
|
14283
14283
|
}
|
|
14284
14284
|
}), ro("after patch"), h && f === "" && tg(function() {
|
|
@@ -14489,7 +14489,7 @@ function Cae(e) {
|
|
|
14489
14489
|
}
|
|
14490
14490
|
function $ae(e) {
|
|
14491
14491
|
var t, n, r, i, o, a, s, u, l, f, c, d, h, p;
|
|
14492
|
-
a = new uae({ props: { show: e[20], resultCount: ((t = e[18]) === null || t === void 0 || (n = t.items) === null || n === void 0 ? void 0 : n.length) || 0, activeIndex: ((r = e[18]) === null || r === void 0 ? void 0 : r.activeIndex) || 0, showReplace: e[21], searching: e[22], readOnly: e[0], onChange: e[27], onNext: e[28], onPrevious: e[29], onReplace: e[30], onReplaceAll: e[31], onClose: e[32] } }), l = new $oe({ props: { value: e[11], path: [], expandedMap: e[17].expandedMap, enforceStringMap: e[17].enforceStringMap, visibleSectionsMap: e[17].visibleSectionsMap, validationErrorsMap: e[25], searchResultItemsMap: (i = e[18]) === null || i === void 0 ? void 0 : i.itemsMap, selection: e[17].selection, context: e[14], onDragSelectionStart:
|
|
14492
|
+
a = new uae({ props: { show: e[20], resultCount: ((t = e[18]) === null || t === void 0 || (n = t.items) === null || n === void 0 ? void 0 : n.length) || 0, activeIndex: ((r = e[18]) === null || r === void 0 ? void 0 : r.activeIndex) || 0, showReplace: e[21], searching: e[22], readOnly: e[0], onChange: e[27], onNext: e[28], onPrevious: e[29], onReplace: e[30], onReplaceAll: e[31], onClose: e[32] } }), l = new $oe({ props: { value: e[11], path: [], expandedMap: e[17].expandedMap, enforceStringMap: e[17].enforceStringMap, visibleSectionsMap: e[17].visibleSectionsMap, validationErrorsMap: e[25], searchResultItemsMap: (i = e[18]) === null || i === void 0 ? void 0 : i.itemsMap, selection: e[17].selection, context: e[14], onDragSelectionStart: Sr } });
|
|
14493
14493
|
var v = e[19] && Z4(e), m = e[24] && eM(e);
|
|
14494
14494
|
return h = new Fx({ props: { validationErrors: e[13], selectError: e[33] } }), { c: function() {
|
|
14495
14495
|
o = ie("div"), Be(a.$$.fragment), s = je(), u = ie("div"), Be(l.$$.fragment), f = je(), v && v.c(), c = je(), m && m.c(), d = je(), Be(h.$$.fragment), V(o, "class", "jse-search-box-container svelte-1n5yill"), V(u, "class", "jse-contents svelte-1n5yill"), V(u, "data-jsoneditor-scrollable-contents", !0);
|
|
@@ -14774,8 +14774,8 @@ function Mae(e, t, n) {
|
|
|
14774
14774
|
n(18, be = function(st, ft, gt) {
|
|
14775
14775
|
var Rt = gt != null && gt.activeItem ? ME(gt.activeItem) : void 0, Xt = ft.findIndex(function(Lr) {
|
|
14776
14776
|
return Dn(Rt, ME(Lr));
|
|
14777
|
-
}), Yt = Xt !== -1 ? Xt : (gt == null ? void 0 : gt.activeIndex) !== void 0 && (gt == null ? void 0 : gt.activeIndex) < ft.length ? gt == null ? void 0 : gt.activeIndex : ft.length > 0 ? 0 : -1, gr = ft.map(function(Lr,
|
|
14778
|
-
return xe(xe({}, Lr), {}, { active:
|
|
14777
|
+
}), Yt = Xt !== -1 ? Xt : (gt == null ? void 0 : gt.activeIndex) !== void 0 && (gt == null ? void 0 : gt.activeIndex) < ft.length ? gt == null ? void 0 : gt.activeIndex : ft.length > 0 ? 0 : -1, gr = ft.map(function(Lr, jr) {
|
|
14778
|
+
return xe(xe({}, Lr), {}, { active: jr === Yt });
|
|
14779
14779
|
}), ai = gr[Yt];
|
|
14780
14780
|
return { items: gr, itemsMap: wp(gr, function(Lr) {
|
|
14781
14781
|
return yt(Lr.path);
|
|
@@ -14854,8 +14854,8 @@ function Mae(e, t, n) {
|
|
|
14854
14854
|
i("patch updatedSelection", gr);
|
|
14855
14855
|
var Lr = typeof $e == "function" ? $e(Yt.json, ai) : void 0;
|
|
14856
14856
|
n(11, l = Lr && Lr.json !== void 0 ? Lr.json : Yt.json);
|
|
14857
|
-
var
|
|
14858
|
-
n(17, Z =
|
|
14857
|
+
var jr = Lr && Lr.state !== void 0 ? Lr.state : ai;
|
|
14858
|
+
n(17, Z = jr), n(12, f = void 0), n(24, bt = !1), n(19, ye = void 0), ee = void 0, gn(l), et.add({ undo: { patch: Xt, json: void 0, text: gt, state: Xi(ft), textIsRepaired: Rt }, redo: { patch: ae, json: void 0, state: Xi(jr), text: f, textIsRepaired: bt } });
|
|
14859
14859
|
var uo = { json: l, previousJson: st, undo: Xt, redo: ae };
|
|
14860
14860
|
return $t(Xe, uo), uo;
|
|
14861
14861
|
}
|
|
@@ -14867,7 +14867,7 @@ function Mae(e, t, n) {
|
|
|
14867
14867
|
var ae = Z.selection.focusPath, $e = At(l, ae);
|
|
14868
14868
|
Pr($e) ? function(Xe, st) {
|
|
14869
14869
|
i("openJSONEditorModal", { path: Xe, value: st }), J = !0, F({ content: { json: st }, path: Xe, onPatch: pt.onPatch, onClose: function() {
|
|
14870
|
-
J = !1,
|
|
14870
|
+
J = !1, _r();
|
|
14871
14871
|
} });
|
|
14872
14872
|
}(ae, $e) : fe(Rn(ae, !0));
|
|
14873
14873
|
}
|
|
@@ -14924,12 +14924,12 @@ function Mae(e, t, n) {
|
|
|
14924
14924
|
}
|
|
14925
14925
|
function Hr() {
|
|
14926
14926
|
c(UR, {}, xe(xe({}, ac), {}, { styleWindow: { width: "450px" } }), { onClose: function() {
|
|
14927
|
-
return
|
|
14927
|
+
return _r();
|
|
14928
14928
|
} });
|
|
14929
14929
|
}
|
|
14930
14930
|
function re(ae, $e) {
|
|
14931
14931
|
c(HR, { text: ae, onParse: y0, onRepair: GL, onApply: $e }, xe(xe({}, ac), {}, { styleWindow: { width: "600px", height: "500px" }, styleContent: { padding: 0, height: "100%" } }), { onClose: function() {
|
|
14932
|
-
return
|
|
14932
|
+
return _r();
|
|
14933
14933
|
} });
|
|
14934
14934
|
}
|
|
14935
14935
|
function me() {
|
|
@@ -14981,14 +14981,14 @@ function Mae(e, t, n) {
|
|
|
14981
14981
|
if (Rt === "array") {
|
|
14982
14982
|
if (Array.isArray(gt))
|
|
14983
14983
|
return gt;
|
|
14984
|
-
if (
|
|
14984
|
+
if (Cr(gt))
|
|
14985
14985
|
return iE(gt);
|
|
14986
14986
|
if (typeof gt == "string")
|
|
14987
14987
|
try {
|
|
14988
14988
|
var Yt = Xt.parse(gt);
|
|
14989
14989
|
if (Array.isArray(Yt))
|
|
14990
14990
|
return Yt;
|
|
14991
|
-
if (
|
|
14991
|
+
if (Cr(Yt))
|
|
14992
14992
|
return iE(Yt);
|
|
14993
14993
|
} catch {
|
|
14994
14994
|
return [gt];
|
|
@@ -14998,12 +14998,12 @@ function Mae(e, t, n) {
|
|
|
14998
14998
|
if (Rt === "object") {
|
|
14999
14999
|
if (Array.isArray(gt))
|
|
15000
15000
|
return rE(gt);
|
|
15001
|
-
if (
|
|
15001
|
+
if (Cr(gt))
|
|
15002
15002
|
return gt;
|
|
15003
15003
|
if (typeof gt == "string")
|
|
15004
15004
|
try {
|
|
15005
15005
|
var gr = Xt.parse(gt);
|
|
15006
|
-
if (
|
|
15006
|
+
if (Cr(gr))
|
|
15007
15007
|
return gr;
|
|
15008
15008
|
if (Array.isArray(gr))
|
|
15009
15009
|
return rE(gr);
|
|
@@ -15058,7 +15058,7 @@ function Mae(e, t, n) {
|
|
|
15058
15058
|
var ae = et.undo();
|
|
15059
15059
|
if (ae) {
|
|
15060
15060
|
var $e = { json: l, text: f };
|
|
15061
|
-
n(11, l = ae.undo.patch ? Ja(l, ae.undo.patch) : ae.undo.json), n(17, Z = ae.undo.state), n(12, f = ae.undo.text), n(24, bt = ae.undo.textIsRepaired), ee = void 0, i("undo", { item: ae, json: l, documentState: Z }), $t($e, { json: l, previousJson: $e.json, redo: ae.undo.patch, undo: ae.redo.patch }),
|
|
15061
|
+
n(11, l = ae.undo.patch ? Ja(l, ae.undo.patch) : ae.undo.json), n(17, Z = ae.undo.state), n(12, f = ae.undo.text), n(24, bt = ae.undo.textIsRepaired), ee = void 0, i("undo", { item: ae, json: l, documentState: Z }), $t($e, { json: l, previousJson: $e.json, redo: ae.undo.patch, undo: ae.redo.patch }), _r(), Z.selection && ut(Z.selection.focusPath, !1);
|
|
15062
15062
|
}
|
|
15063
15063
|
}
|
|
15064
15064
|
}
|
|
@@ -15067,7 +15067,7 @@ function Mae(e, t, n) {
|
|
|
15067
15067
|
var ae = et.redo();
|
|
15068
15068
|
if (ae) {
|
|
15069
15069
|
var $e = { json: l, text: f };
|
|
15070
|
-
n(11, l = ae.redo.patch ? Ja(l, ae.redo.patch) : ae.redo.json), n(17, Z = ae.redo.state), n(12, f = ae.redo.text), n(24, bt = ae.redo.textIsRepaired), ee = void 0, i("redo", { item: ae, json: l, documentState: Z }), $t($e, { json: l, previousJson: $e.json, redo: ae.redo.patch, undo: ae.undo.patch }),
|
|
15070
|
+
n(11, l = ae.redo.patch ? Ja(l, ae.redo.patch) : ae.redo.json), n(17, Z = ae.redo.state), n(12, f = ae.redo.text), n(24, bt = ae.redo.textIsRepaired), ee = void 0, i("redo", { item: ae, json: l, documentState: Z }), $t($e, { json: l, previousJson: $e.json, redo: ae.redo.patch, undo: ae.undo.patch }), _r(), Z.selection && ut(Z.selection.focusPath, !1);
|
|
15071
15071
|
}
|
|
15072
15072
|
}
|
|
15073
15073
|
}
|
|
@@ -15090,7 +15090,7 @@ function Mae(e, t, n) {
|
|
|
15090
15090
|
})), function(Xe) {
|
|
15091
15091
|
return $e.apply(this, arguments);
|
|
15092
15092
|
}), onClose: function() {
|
|
15093
|
-
J = !1,
|
|
15093
|
+
J = !1, _r();
|
|
15094
15094
|
} }));
|
|
15095
15095
|
}
|
|
15096
15096
|
function Ne() {
|
|
@@ -15104,7 +15104,7 @@ function Mae(e, t, n) {
|
|
|
15104
15104
|
return { state: xe(xe({}, Nu(Rt, Xt, ft)), {}, { selection: Rn(ft, !1) }) };
|
|
15105
15105
|
}));
|
|
15106
15106
|
}, onClose: function() {
|
|
15107
|
-
J = !1,
|
|
15107
|
+
J = !1, _r(), st && st();
|
|
15108
15108
|
} });
|
|
15109
15109
|
}
|
|
15110
15110
|
}
|
|
@@ -15197,7 +15197,7 @@ function Mae(e, t, n) {
|
|
|
15197
15197
|
}(Z, ae) : kE(Z, ae)), Z.selection && !$e && function(st, ft) {
|
|
15198
15198
|
return Ff(st.focusPath, ft) && (st.focusPath.length > ft.length || bi(st));
|
|
15199
15199
|
}(Z.selection, ae) && fe(void 0), setTimeout(function() {
|
|
15200
|
-
Km(u) ||
|
|
15200
|
+
Km(u) || _r();
|
|
15201
15201
|
});
|
|
15202
15202
|
}
|
|
15203
15203
|
function Wr(ae) {
|
|
@@ -15219,9 +15219,9 @@ function Mae(e, t, n) {
|
|
|
15219
15219
|
var $e = ae.anchor, Xe = ae.left, st = ae.top, ft = ae.width, gt = ae.height, Rt = ae.offsetTop, Xt = ae.offsetLeft, Yt = ae.showTip;
|
|
15220
15220
|
J = !0;
|
|
15221
15221
|
var gr = v(Iie, { json: l, documentState: Z, parser: T, showTip: Yt, onEditKey: Pt, onEditValue: H, onToggleEnforceString: We, onCut: ct, onCopy: Jn, onPaste: Hr, onRemove: me, onDuplicate: U, onExtract: _, onInsertBefore: Ce, onInsert: se, onConvert: we, onInsertAfter: at, onSort: Ne, onTransform: Ye, onCloseContextMenu: function() {
|
|
15222
|
-
m(gr),
|
|
15222
|
+
m(gr), _r();
|
|
15223
15223
|
} }, { left: Xe, top: st, offsetTop: Rt, offsetLeft: Xt, width: ft, height: gt, anchor: $e, closeOnOuterClick: !0, onClose: function() {
|
|
15224
|
-
J = !1,
|
|
15224
|
+
J = !1, _r();
|
|
15225
15225
|
} });
|
|
15226
15226
|
}
|
|
15227
15227
|
function Gi(ae) {
|
|
@@ -15259,7 +15259,7 @@ function Mae(e, t, n) {
|
|
|
15259
15259
|
}, ae);
|
|
15260
15260
|
}))).apply(this, arguments);
|
|
15261
15261
|
}
|
|
15262
|
-
function
|
|
15262
|
+
function _r() {
|
|
15263
15263
|
i("focus"), s && (s.focus(), s.select());
|
|
15264
15264
|
}
|
|
15265
15265
|
function Ji(ae) {
|
|
@@ -15312,11 +15312,11 @@ function Mae(e, t, n) {
|
|
|
15312
15312
|
}, onDragEnd: function() {
|
|
15313
15313
|
Rt();
|
|
15314
15314
|
} };
|
|
15315
|
-
}(a) : void 0), 9 & e.$$.dirty[0] | 805306368 & e.$$.dirty[1] | 2048 & e.$$.dirty[2] && n(14, pt = { readOnly: b, parser: T, normalization: Oe, getJson: tr, getDocumentState: In, findElement: Lt, findNextInside: Ji, focus:
|
|
15315
|
+
}(a) : void 0), 9 & e.$$.dirty[0] | 805306368 & e.$$.dirty[1] | 2048 & e.$$.dirty[2] && n(14, pt = { readOnly: b, parser: T, normalization: Oe, getJson: tr, getDocumentState: In, findElement: Lt, findNextInside: Ji, focus: _r, onPatch: Et, onInsert: G, onExpand: Yn, onSelect: fe, onFind: Wr, onExpandSection: so, onPasteJson: xi, onRenderValue: B, onContextMenu: oi, onClassName: M || function() {
|
|
15316
15316
|
}, onDrag: Qi, onDragEnd: Sl }), 16384 & e.$$.dirty[0] && i("context changed", pt);
|
|
15317
15317
|
}, [b, C, k, T, D, $, L, I, function() {
|
|
15318
15318
|
return bt && l !== void 0 && On(l), { json: l, text: f };
|
|
15319
|
-
},
|
|
15319
|
+
}, _r, a, l, f, kn, pt, s, u, Z, be, ye, Pe, ze, _e, Ge, bt, lt, o, te, function() {
|
|
15320
15320
|
return Me.apply(this, arguments);
|
|
15321
15321
|
}, function() {
|
|
15322
15322
|
return Ee.apply(this, arguments);
|
|
@@ -15325,7 +15325,7 @@ function Mae(e, t, n) {
|
|
|
15325
15325
|
}, function(ae, $e) {
|
|
15326
15326
|
return he.apply(this, arguments);
|
|
15327
15327
|
}, function() {
|
|
15328
|
-
n(20, Pe = !1), n(21, ze = !1), te(""),
|
|
15328
|
+
n(20, Pe = !1), n(21, ze = !1), te(""), _r();
|
|
15329
15329
|
}, function(ae) {
|
|
15330
15330
|
i("select validation error", ae), fe(Rn(ae.path, !1)), ut(ae.path);
|
|
15331
15331
|
}, Jn, function(ae) {
|
|
@@ -15347,49 +15347,49 @@ function Mae(e, t, n) {
|
|
|
15347
15347
|
}
|
|
15348
15348
|
if ($e === "ArrowDown" || $e === "Shift+ArrowDown") {
|
|
15349
15349
|
ae.preventDefault();
|
|
15350
|
-
var ft = Z.selection ? function(
|
|
15350
|
+
var ft = Z.selection ? function(jr, uo) {
|
|
15351
15351
|
var ss = arguments.length > 2 && arguments[2] !== void 0 && arguments[2], Sa = arguments.length > 3 && arguments[3] !== void 0 && arguments[3], Xn = uo.selection;
|
|
15352
15352
|
if (!Xn)
|
|
15353
15353
|
return null;
|
|
15354
|
-
var bo = !Sa && Qn(Xn) ? Dt(Xn.paths) : Xn.focusPath, ea = Ny(
|
|
15354
|
+
var bo = !Sa && Qn(Xn) ? Dt(Xn.paths) : Xn.focusPath, ea = Ny(jr, uo, bo), Ca = ea, $a = ea;
|
|
15355
15355
|
if (ea === null || Ca == null || $a == null)
|
|
15356
15356
|
return null;
|
|
15357
15357
|
if (ss) {
|
|
15358
|
-
var Su = Ny(
|
|
15359
|
-
return Su === null ? null : qa(Xn) ? li(
|
|
15358
|
+
var Su = Ny(jr, Pr(At(jr, bo)) ? kE(uo, bo) : uo, bo);
|
|
15359
|
+
return Su === null ? null : qa(Xn) ? li(jr, Su, Su) : bi(Xn) ? li(jr, Ca, $a) : li(jr, Xn.anchorPath, Su);
|
|
15360
15360
|
}
|
|
15361
15361
|
if (ni(Xn)) {
|
|
15362
|
-
var ke = At(
|
|
15362
|
+
var ke = At(jr, Nn(ea));
|
|
15363
15363
|
return Array.isArray(ke) ? Rn($a, !1) : ba($a, !1);
|
|
15364
15364
|
}
|
|
15365
|
-
return An(Xn) ? Rn($a, !1) : bi(Xn) ? li(
|
|
15365
|
+
return An(Xn) ? Rn($a, !1) : bi(Xn) ? li(jr, Ca, $a) : li(jr, ea, ea);
|
|
15366
15366
|
}(l, Z, Xe, !0) || Z.selection : Rc(l, Z);
|
|
15367
15367
|
fe(ft), Ot(ft.focusPath);
|
|
15368
15368
|
}
|
|
15369
15369
|
if ($e === "ArrowLeft" || $e === "Shift+ArrowLeft") {
|
|
15370
15370
|
ae.preventDefault();
|
|
15371
|
-
var gt = Z.selection ? function(
|
|
15371
|
+
var gt = Z.selection ? function(jr, uo) {
|
|
15372
15372
|
var ss = arguments.length > 2 && arguments[2] !== void 0 && arguments[2], Sa = !(arguments.length > 3 && arguments[3] !== void 0) || arguments[3], Xn = uo.selection;
|
|
15373
15373
|
if (!Xn)
|
|
15374
15374
|
return null;
|
|
15375
|
-
var bo = SE(
|
|
15375
|
+
var bo = SE(jr, uo, Sa), ea = bo.caret, Ca = bo.previous;
|
|
15376
15376
|
if (ss)
|
|
15377
|
-
return Qn(Xn) ? null : li(
|
|
15377
|
+
return Qn(Xn) ? null : li(jr, Xn.anchorPath, Xn.focusPath);
|
|
15378
15378
|
if (ea && Ca)
|
|
15379
15379
|
return mb(Ca);
|
|
15380
|
-
var $a = At(
|
|
15381
|
-
return An(Xn) && Array.isArray($a) ? li(
|
|
15380
|
+
var $a = At(jr, Nn(Xn.focusPath));
|
|
15381
|
+
return An(Xn) && Array.isArray($a) ? li(jr, Xn.focusPath, Xn.focusPath) : Qn(Xn) && !Array.isArray($a) ? ba(Xn.focusPath, !1) : null;
|
|
15382
15382
|
}(l, Z, Xe, !b) || Z.selection : Rc(l, Z);
|
|
15383
15383
|
fe(gt), Ot(gt.focusPath);
|
|
15384
15384
|
}
|
|
15385
15385
|
if ($e === "ArrowRight" || $e === "Shift+ArrowRight") {
|
|
15386
15386
|
ae.preventDefault();
|
|
15387
|
-
var Rt = Z.selection && l !== void 0 ? function(
|
|
15387
|
+
var Rt = Z.selection && l !== void 0 ? function(jr, uo) {
|
|
15388
15388
|
var ss = arguments.length > 2 && arguments[2] !== void 0 && arguments[2], Sa = !(arguments.length > 3 && arguments[3] !== void 0) || arguments[3], Xn = uo.selection;
|
|
15389
15389
|
if (!Xn)
|
|
15390
15390
|
return null;
|
|
15391
|
-
var bo = SE(
|
|
15392
|
-
return ss ? Qn(Xn) ? null : li(
|
|
15391
|
+
var bo = SE(jr, uo, Sa), ea = bo.caret, Ca = bo.next;
|
|
15392
|
+
return ss ? Qn(Xn) ? null : li(jr, Xn.anchorPath, Xn.focusPath) : ea && Ca ? mb(Ca) : Qn(Xn) ? Rn(Xn.focusPath, !1) : null;
|
|
15393
15393
|
}(l, Z, Xe, !b) || Z.selection : Rc(l, Z);
|
|
15394
15394
|
fe(Rt), Ot(Rt.focusPath);
|
|
15395
15395
|
}
|
|
@@ -15429,7 +15429,7 @@ function Mae(e, t, n) {
|
|
|
15429
15429
|
}, function(ae) {
|
|
15430
15430
|
i("handleMouseDown", ae), setTimeout(function() {
|
|
15431
15431
|
setTimeout(function() {
|
|
15432
|
-
g || nR(ae.target, "BUTTON") || (
|
|
15432
|
+
g || nR(ae.target, "BUTTON") || (_r(), Z.selection || l !== void 0 || f !== "" && f !== void 0 || (i("createDefaultSelection"), n(17, Z = xe(xe({}, Z), {}, { selection: li(l || {}, [], []) }))));
|
|
15433
15433
|
});
|
|
15434
15434
|
});
|
|
15435
15435
|
}, Gi, function(ae) {
|
|
@@ -15441,7 +15441,7 @@ function Mae(e, t, n) {
|
|
|
15441
15441
|
}, function() {
|
|
15442
15442
|
z(Fi.text);
|
|
15443
15443
|
}, function(ae) {
|
|
15444
|
-
fe(ae),
|
|
15444
|
+
fe(ae), _r(), ut(ae.focusPath);
|
|
15445
15445
|
}, function(ae) {
|
|
15446
15446
|
var $e = !_p(ae.target, function(Xe) {
|
|
15447
15447
|
return Xe === u;
|
|
@@ -15469,7 +15469,7 @@ function Mae(e, t, n) {
|
|
|
15469
15469
|
n(10, a = ae);
|
|
15470
15470
|
});
|
|
15471
15471
|
}, function() {
|
|
15472
|
-
setTimeout(
|
|
15472
|
+
setTimeout(_r);
|
|
15473
15473
|
}, function(ae) {
|
|
15474
15474
|
Sn[ae ? "unshift" : "push"](function() {
|
|
15475
15475
|
n(16, u = ae);
|
|
@@ -15557,7 +15557,7 @@ function Nae(e) {
|
|
|
15557
15557
|
}
|
|
15558
15558
|
function nM(e) {
|
|
15559
15559
|
var t, n;
|
|
15560
|
-
return t = new Wx({ props: { externalContent: e[19], readOnly: !0, mainMenuBar: !1, navigationBar: !1, indentation: e[2], escapeControlCharacters: e[3], escapeUnicodeCharacters: e[4], parser: e[5], parseMemoizeOne: e[6], onRenderValue: e[10], onRenderMenu:
|
|
15560
|
+
return t = new Wx({ props: { externalContent: e[19], readOnly: !0, mainMenuBar: !1, navigationBar: !1, indentation: e[2], escapeControlCharacters: e[3], escapeUnicodeCharacters: e[4], parser: e[5], parseMemoizeOne: e[6], onRenderValue: e[10], onRenderMenu: Sr, onError: console.error, onChange: Sr, onChangeMode: Sr, onFocus: Sr, onBlur: Sr, onSortModal: Sr, onTransformModal: Sr, onJSONEditorModal: Sr, onClassName: e[11], validator: null, validationParser: e[7], pathParser: e[8] } }), { c: function() {
|
|
15561
15561
|
Be(t.$$.fragment);
|
|
15562
15562
|
}, m: function(r, i) {
|
|
15563
15563
|
De(t, r, i), n = !0;
|
|
@@ -15586,7 +15586,7 @@ function Lae(e) {
|
|
|
15586
15586
|
}
|
|
15587
15587
|
function Rae(e) {
|
|
15588
15588
|
var t, n;
|
|
15589
|
-
return t = new Wx({ props: { externalContent: e[18], readOnly: !0, mainMenuBar: !1, navigationBar: !1, indentation: e[2], escapeControlCharacters: e[3], escapeUnicodeCharacters: e[4], parser: e[5], parseMemoizeOne: e[6], onRenderValue: e[10], onRenderMenu:
|
|
15589
|
+
return t = new Wx({ props: { externalContent: e[18], readOnly: !0, mainMenuBar: !1, navigationBar: !1, indentation: e[2], escapeControlCharacters: e[3], escapeUnicodeCharacters: e[4], parser: e[5], parseMemoizeOne: e[6], onRenderValue: e[10], onRenderMenu: Sr, onError: console.error, onChange: Sr, onChangeMode: Sr, onFocus: Sr, onBlur: Sr, onSortModal: Sr, onTransformModal: Sr, onJSONEditorModal: Sr, onClassName: e[11], validator: null, validationParser: e[7], pathParser: e[8] } }), { c: function() {
|
|
15590
15590
|
Be(t.$$.fragment);
|
|
15591
15591
|
}, m: function(r, i) {
|
|
15592
15592
|
De(t, r, i), n = !0;
|
|
@@ -30420,7 +30420,7 @@ function Nfe(e, t, n) {
|
|
|
30420
30420
|
return e.$$set = function(ee) {
|
|
30421
30421
|
"json" in ee && n(2, p = ee.json), "documentState" in ee && n(3, v = ee.documentState), "parser" in ee && n(4, m = ee.parser), "showTip" in ee && n(0, g = ee.showTip), "onCloseContextMenu" in ee && n(5, y = ee.onCloseContextMenu), "onEditValue" in ee && n(6, b = ee.onEditValue), "onEditRow" in ee && n(7, w = ee.onEditRow), "onToggleEnforceString" in ee && n(8, C = ee.onToggleEnforceString), "onCut" in ee && n(9, k = ee.onCut), "onCopy" in ee && n(10, O = ee.onCopy), "onPaste" in ee && n(11, R = ee.onPaste), "onRemove" in ee && n(12, T = ee.onRemove), "onDuplicateRow" in ee && n(13, x = ee.onDuplicateRow), "onInsertBeforeRow" in ee && n(14, S = ee.onInsertBeforeRow), "onInsertAfterRow" in ee && n(15, A = ee.onInsertAfterRow), "onRemoveRow" in ee && n(16, D = ee.onRemoveRow);
|
|
30422
30422
|
}, e.$$.update = function() {
|
|
30423
|
-
8 & e.$$.dirty[0] && n(22, r = v.selection), 4 & e.$$.dirty[0] && n(25, i = p !== void 0), 4194304 & e.$$.dirty[0] && n(17, o = r != null), 4194304 & e.$$.dirty[0] && n(26, a = r != null && Tn(r.focusPath)), 4194308 & e.$$.dirty[0] && n(23, s = p !== void 0 && r != null ? At(p, r.focusPath) : void 0), 37748736 & e.$$.dirty[0] && n(18, u = i && (Qn(r) || ni(r) || An(r))), e.$$.dirty[0], 104857600 & e.$$.dirty[0] && i && r != null && (Qn(r) || An(r)), 71303172 & e.$$.dirty[0] && p !== void 0 && r != null && Rh(r) && !a && Array.isArray(At(p, Nn(r.focusPath))), 37748736 & e.$$.dirty[0] && n(21, l = i && r != null && Rh(r)), 10485760 & e.$$.dirty[0] && n(19, f = l && !Pr(s)), 262144 & e.$$.dirty[0] && n(24, c = u), e.$$.dirty[0], e.$$.dirty[0], 29491200 & e.$$.dirty[0] && c && Xl(r) &&
|
|
30423
|
+
8 & e.$$.dirty[0] && n(22, r = v.selection), 4 & e.$$.dirty[0] && n(25, i = p !== void 0), 4194304 & e.$$.dirty[0] && n(17, o = r != null), 4194304 & e.$$.dirty[0] && n(26, a = r != null && Tn(r.focusPath)), 4194308 & e.$$.dirty[0] && n(23, s = p !== void 0 && r != null ? At(p, r.focusPath) : void 0), 37748736 & e.$$.dirty[0] && n(18, u = i && (Qn(r) || ni(r) || An(r))), e.$$.dirty[0], 104857600 & e.$$.dirty[0] && i && r != null && (Qn(r) || An(r)), 71303172 & e.$$.dirty[0] && p !== void 0 && r != null && Rh(r) && !a && Array.isArray(At(p, Nn(r.focusPath))), 37748736 & e.$$.dirty[0] && n(21, l = i && r != null && Rh(r)), 10485760 & e.$$.dirty[0] && n(19, f = l && !Pr(s)), 262144 & e.$$.dirty[0] && n(24, c = u), e.$$.dirty[0], e.$$.dirty[0], 29491200 & e.$$.dirty[0] && c && Xl(r) && Cr(s), 29491200 & e.$$.dirty[0] && c && Xl(r) && Array.isArray(s), 29491200 & e.$$.dirty[0] && c && Xl(r) && Pr(s), 12582936 & e.$$.dirty[0] && n(20, d = r != null && pu(s, v.enforceStringMap, yt(r.focusPath), m)), 4063232 & e.$$.dirty[0] && n(1, h = [{ type: "separator" }, { type: "row", items: [{ type: "column", items: [{ type: "label", text: "Table cell:" }, { type: "dropdown-button", main: { type: "button", onClick: $, icon: pf, text: "Edit", title: "Edit the value (Double-click on the value)", disabled: !l }, width: "11em", items: [{ type: "button", icon: pf, text: "Edit", title: "Edit the value (Double-click on the value)", onClick: $, disabled: !l }, { type: "button", icon: d ? Nh : Lh, text: "Enforce string", title: "Enforce keeping the value as string when it contains a numeric value", onClick: q, disabled: !f }] }, { type: "dropdown-button", main: { type: "button", onClick: z, icon: hf, text: "Cut", title: "Cut selected contents, formatted with indentation (Ctrl+X)", disabled: !u }, width: "10em", items: [{ type: "button", icon: hf, text: "Cut formatted", title: "Cut selected contents, formatted with indentation (Ctrl+X)", onClick: z, disabled: !u }, { type: "button", icon: hf, text: "Cut compacted", title: "Cut selected contents, without indentation (Ctrl+Shift+X)", onClick: B, disabled: !u }] }, { type: "dropdown-button", main: { type: "button", onClick: I, icon: Ku, text: "Copy", title: "Copy selected contents, formatted with indentation (Ctrl+C)", disabled: !u }, width: "12em", items: [{ type: "button", icon: Ku, text: "Copy formatted", title: "Copy selected contents, formatted with indentation (Ctrl+C)", onClick: I, disabled: !u }, { type: "button", icon: Ku, text: "Copy compacted", title: "Copy selected contents, without indentation (Ctrl+Shift+C)", onClick: M, disabled: !u }] }, { type: "button", onClick: P, icon: CR, text: "Paste", title: "Paste clipboard contents (Ctrl+V)", disabled: !o }, { type: "button", onClick: N, icon: bb, text: "Remove", title: "Remove selected contents (Delete)", disabled: !u }] }, { type: "column", items: [{ type: "label", text: "Table row:" }, { type: "button", onClick: L, icon: pf, text: "Edit row", title: "Edit the current row", disabled: !u }, { type: "button", onClick: j, icon: ER, text: "Duplicate row", title: "Duplicate the current row", disabled: !o }, { type: "button", onClick: E, icon: Yc, text: "Insert before", title: "Insert a row before the current row", disabled: !o }, { type: "button", onClick: F, icon: Yc, text: "Insert after", title: "Insert a row after the current row", disabled: !o }, { type: "button", onClick: J, icon: bb, text: "Remove row", title: "Remove current row", disabled: !o }] }] }]);
|
|
30424
30424
|
}, [g, h, p, v, m, y, b, w, C, k, O, R, T, x, S, A, D, o, u, f, d, l, r, s, c, i, a];
|
|
30425
30425
|
}
|
|
30426
30426
|
var Lfe = function(e) {
|
|
@@ -34615,8 +34615,8 @@ var Vde = { $id: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib
|
|
|
34615
34615
|
var Gi = oi <= se ? p : oi >= se + v ? v : oi - se;
|
|
34616
34616
|
if (xi < Gi)
|
|
34617
34617
|
break;
|
|
34618
|
-
var Zo = xi - Gi,
|
|
34619
|
-
me.push(S(B(Gi + Zo %
|
|
34618
|
+
var Zo = xi - Gi, _r = h - Gi;
|
|
34619
|
+
me.push(S(B(Gi + Zo % _r, 0))), xi = x(Zo / _r);
|
|
34620
34620
|
}
|
|
34621
34621
|
me.push(S(B(xi, 0))), se = I(G, $t, oe == Jt), G = 0, ++oe;
|
|
34622
34622
|
}
|
|
@@ -39170,7 +39170,7 @@ function rve(e, t) {
|
|
|
39170
39170
|
});
|
|
39171
39171
|
});
|
|
39172
39172
|
}, !0), t._customProperties.forEach((a) => {
|
|
39173
|
-
Ss(() =>
|
|
39173
|
+
Ss(() => kr(t[a]), (s, u) => {
|
|
39174
39174
|
n.notifyComponentUpdate(), n.sendInspectorState(eo), rf && n.addTimelineEvent({
|
|
39175
39175
|
layerId: Il,
|
|
39176
39176
|
event: {
|
|
@@ -41640,7 +41640,7 @@ const ZF = K.Type.Object({
|
|
|
41640
41640
|
function Yve(e) {
|
|
41641
41641
|
return e === Ig || e === o2 || e === Qve || e === Ng;
|
|
41642
41642
|
}
|
|
41643
|
-
const Xve = "3.3.
|
|
41643
|
+
const Xve = "3.3.5", Zve = /* @__PURE__ */ new Date("2023-09-25T15:49:29.169Z"), eme = 400, Lg = 20, a2 = "@empty", K5 = {
|
|
41644
41644
|
background: a2
|
|
41645
41645
|
}, tme = K.Type.Object({
|
|
41646
41646
|
color: K.Type.Optional(K.Type.String()),
|
|
@@ -44430,11 +44430,11 @@ function cye(e, t) {
|
|
|
44430
44430
|
}
|
|
44431
44431
|
class fye {
|
|
44432
44432
|
constructor() {
|
|
44433
|
-
|
|
44434
|
-
|
|
44435
|
-
|
|
44436
|
-
|
|
44437
|
-
|
|
44433
|
+
yr(this, "plugins", []);
|
|
44434
|
+
yr(this, "pinia");
|
|
44435
|
+
yr(this, "script", {});
|
|
44436
|
+
yr(this, "scripts", []);
|
|
44437
|
+
yr(this, "commands", {});
|
|
44438
44438
|
}
|
|
44439
44439
|
addCommand(t) {
|
|
44440
44440
|
this.commands[t.keyword] = t;
|
|
@@ -44744,7 +44744,7 @@ const Ao = Ci("rendering", {
|
|
|
44744
44744
|
});
|
|
44745
44745
|
class m2 {
|
|
44746
44746
|
constructor() {
|
|
44747
|
-
|
|
44747
|
+
yr(this, "listeners", {});
|
|
44748
44748
|
}
|
|
44749
44749
|
on(t, n) {
|
|
44750
44750
|
return this.listeners[t] || this.addEventToMap(t), this.listeners[t].add(n), n;
|
|
@@ -47816,18 +47816,18 @@ var _2 = {}, Yw = { exports: {} };
|
|
|
47816
47816
|
var Zo = Gi.value;
|
|
47817
47817
|
if (Zo < Ce && ++at > p && $("overflow"), Zo == Ce) {
|
|
47818
47818
|
for (
|
|
47819
|
-
var
|
|
47819
|
+
var _r = at, Ji = v;
|
|
47820
47820
|
;
|
|
47821
47821
|
/* no condition */
|
|
47822
47822
|
Ji += v
|
|
47823
47823
|
) {
|
|
47824
47824
|
var Qi = Ji <= mt ? m : Ji >= mt + g ? g : Ji - mt;
|
|
47825
|
-
if (
|
|
47825
|
+
if (_r < Qi)
|
|
47826
47826
|
break;
|
|
47827
|
-
var Sl =
|
|
47828
|
-
se.push(D(M(Qi + Sl % ae, 0))),
|
|
47827
|
+
var Sl = _r - Qi, ae = v - Qi;
|
|
47828
|
+
se.push(D(M(Qi + Sl % ae, 0))), _r = A(Sl / ae);
|
|
47829
47829
|
}
|
|
47830
|
-
se.push(D(M(
|
|
47830
|
+
se.push(D(M(_r, 0))), mt = P(at, Yn, ut == Ye), at = 0, ++ut;
|
|
47831
47831
|
}
|
|
47832
47832
|
}
|
|
47833
47833
|
} catch ($e) {
|
|
@@ -51523,10 +51523,10 @@ var Tf;
|
|
|
51523
51523
|
})(Tf || (Tf = {}));
|
|
51524
51524
|
class Sxe {
|
|
51525
51525
|
constructor() {
|
|
51526
|
-
|
|
51527
|
-
|
|
51528
|
-
|
|
51529
|
-
|
|
51526
|
+
yr(this, "gameActions", {});
|
|
51527
|
+
yr(this, "keyboardState", {});
|
|
51528
|
+
yr(this, "actions", {});
|
|
51529
|
+
yr(this, "gamepad", null);
|
|
51530
51530
|
}
|
|
51531
51531
|
getGamepad() {
|
|
51532
51532
|
const t = navigator.getGamepads().filter((n) => n !== null);
|
|
@@ -51930,10 +51930,10 @@ const tm = new Sxe(), Cxe = [
|
|
|
51930
51930
|
onClose: d[1] || (d[1] = (h) => c.$emit("close")),
|
|
51931
51931
|
containerCssClass: "jump-menu-container"
|
|
51932
51932
|
}, {
|
|
51933
|
-
header:
|
|
51933
|
+
header: wr(() => [
|
|
51934
51934
|
$xe
|
|
51935
51935
|
]),
|
|
51936
|
-
body:
|
|
51936
|
+
body: wr(() => [
|
|
51937
51937
|
Hu(Ie("input", {
|
|
51938
51938
|
type: "text",
|
|
51939
51939
|
class: "label-input input",
|
|
@@ -52132,15 +52132,15 @@ function Zxe(e, t, n, r, i, o) {
|
|
|
52132
52132
|
onClose: e.closeErrors,
|
|
52133
52133
|
containerCssClass: "debug-menu-container"
|
|
52134
52134
|
}, {
|
|
52135
|
-
header:
|
|
52135
|
+
header: wr(() => [
|
|
52136
52136
|
Dxe
|
|
52137
52137
|
]),
|
|
52138
|
-
body:
|
|
52138
|
+
body: wr(() => [
|
|
52139
52139
|
Of(" There are errors in your dialogue scripts. Open the developer console for more details. "),
|
|
52140
52140
|
Ie("ul", null, [
|
|
52141
52141
|
(Te(!0), Je(er, null, fr(e.errors, (u, l) => (Te(), Je("li", {
|
|
52142
52142
|
key: l,
|
|
52143
|
-
class:
|
|
52143
|
+
class: xr(["error-message list-disc", u.type === "error" ? "error" : "warning"]),
|
|
52144
52144
|
innerHTML: u.text
|
|
52145
52145
|
}, null, 10, Fxe))), 128))
|
|
52146
52146
|
])
|
|
@@ -52152,10 +52152,10 @@ function Zxe(e, t, n, r, i, o) {
|
|
|
52152
52152
|
onClose: e.close,
|
|
52153
52153
|
containerCssClass: "debug-menu-container"
|
|
52154
52154
|
}, {
|
|
52155
|
-
header:
|
|
52155
|
+
header: wr(() => [
|
|
52156
52156
|
Bxe
|
|
52157
52157
|
]),
|
|
52158
|
-
body:
|
|
52158
|
+
body: wr(() => [
|
|
52159
52159
|
Ie("div", zxe, [
|
|
52160
52160
|
Of(" Hello this is the debug menu. "),
|
|
52161
52161
|
Ie("select", {
|
|
@@ -52225,14 +52225,14 @@ const e_e = /* @__PURE__ */ Us(Pxe, [["render", Zxe]]), t_e = ["src"], n_e = ["i
|
|
|
52225
52225
|
tag: "div",
|
|
52226
52226
|
class: "notifications-holder"
|
|
52227
52227
|
}, {
|
|
52228
|
-
default:
|
|
52228
|
+
default: wr(() => [
|
|
52229
52229
|
(Te(!0), Je(er, null, fr(n.value, (a, s) => (Te(), Je("div", {
|
|
52230
52230
|
class: "notification tile",
|
|
52231
52231
|
key: s
|
|
52232
52232
|
}, [
|
|
52233
52233
|
a.icon ? (Te(), Je("img", {
|
|
52234
52234
|
key: 0,
|
|
52235
|
-
src:
|
|
52235
|
+
src: kr(Lo)(a.icon),
|
|
52236
52236
|
class: "notification-icon",
|
|
52237
52237
|
style: sr(r(a))
|
|
52238
52238
|
}, null, 12, t_e)) : hn("", !0),
|
|
@@ -52501,7 +52501,7 @@ const o_e = { class: "used-save-slot flex flex-row justify-between items-center
|
|
|
52501
52501
|
ref: o
|
|
52502
52502
|
}, [
|
|
52503
52503
|
(Te(!0), Je(er, null, fr(w.actions, (k, O) => (Te(), Je("button", {
|
|
52504
|
-
class:
|
|
52504
|
+
class: xr(["button", { selected: w.selected && O === u.value }]),
|
|
52505
52505
|
onClick: () => h(O),
|
|
52506
52506
|
key: O
|
|
52507
52507
|
}, [
|
|
@@ -52562,10 +52562,10 @@ const v_e = /* @__PURE__ */ Ie("h3", { class: "title" }, "Confirmation", -1), Yg
|
|
|
52562
52562
|
onClose: s[2] || (s[2] = () => o(!1)),
|
|
52563
52563
|
containerCssClass: "yes-no-modal"
|
|
52564
52564
|
}, {
|
|
52565
|
-
header:
|
|
52565
|
+
header: wr(() => [
|
|
52566
52566
|
v_e
|
|
52567
52567
|
]),
|
|
52568
|
-
body:
|
|
52568
|
+
body: wr(() => [
|
|
52569
52569
|
Ie("h3", null, Ut(e.prompt), 1),
|
|
52570
52570
|
Ie("div", {
|
|
52571
52571
|
class: "flex justify-center",
|
|
@@ -52704,10 +52704,10 @@ const m_e = { class: "title" }, g_e = { key: 0 }, y_e = { class: "saves-section"
|
|
|
52704
52704
|
containerCssClass: "save-modal",
|
|
52705
52705
|
cantClose: !1
|
|
52706
52706
|
}, {
|
|
52707
|
-
header:
|
|
52707
|
+
header: wr(() => [
|
|
52708
52708
|
Ie("h3", m_e, Ut(x.mode === "load" ? "Choose a save to load" : "Pick a slot to save the game"), 1)
|
|
52709
52709
|
]),
|
|
52710
|
-
body:
|
|
52710
|
+
body: wr(() => [
|
|
52711
52711
|
m.value === "manual" ? (Te(), Je("div", g_e, [
|
|
52712
52712
|
Ie("div", y_e, [
|
|
52713
52713
|
b_e,
|
|
@@ -52715,7 +52715,7 @@ const m_e = { class: "title" }, g_e = { key: 0 }, y_e = { class: "saves-section"
|
|
|
52715
52715
|
name: "list",
|
|
52716
52716
|
tag: "div"
|
|
52717
52717
|
}, {
|
|
52718
|
-
default:
|
|
52718
|
+
default: wr(() => [
|
|
52719
52719
|
(Te(!0), Je(er, null, fr(a.value, (A) => (Te(), an(F1, {
|
|
52720
52720
|
key: A.id,
|
|
52721
52721
|
saveSlot: A,
|
|
@@ -52738,7 +52738,7 @@ const m_e = { class: "title" }, g_e = { key: 0 }, y_e = { class: "saves-section"
|
|
|
52738
52738
|
name: "list",
|
|
52739
52739
|
tag: "div"
|
|
52740
52740
|
}, {
|
|
52741
|
-
default:
|
|
52741
|
+
default: wr(() => [
|
|
52742
52742
|
(Te(!0), Je(er, null, fr(s.value, (A) => (Te(), an(F1, {
|
|
52743
52743
|
key: A.id,
|
|
52744
52744
|
saveSlot: A,
|
|
@@ -52762,7 +52762,7 @@ const m_e = { class: "title" }, g_e = { key: 0 }, y_e = { class: "saves-section"
|
|
|
52762
52762
|
name: "list",
|
|
52763
52763
|
tag: "div"
|
|
52764
52764
|
}, {
|
|
52765
|
-
default:
|
|
52765
|
+
default: wr(() => [
|
|
52766
52766
|
(Te(!0), Je(er, null, fr(o, (A) => (Te(), an(F1, {
|
|
52767
52767
|
key: A.id,
|
|
52768
52768
|
saveSlot: A,
|
|
@@ -52805,7 +52805,7 @@ const S_e = /* @__PURE__ */ fn({
|
|
|
52805
52805
|
emits: ["click"],
|
|
52806
52806
|
setup(e) {
|
|
52807
52807
|
return (t, n) => (Te(), Je("button", {
|
|
52808
|
-
class:
|
|
52808
|
+
class: xr(["button menu-button main-menu-button large override", t.button.cssClass]),
|
|
52809
52809
|
onClick: n[0] || (n[0] = (r) => t.$emit("click"))
|
|
52810
52810
|
}, Ut(t.button.title), 3));
|
|
52811
52811
|
}
|
|
@@ -53036,12 +53036,12 @@ const rs = new fV(), dV = Ci("startMenu", {
|
|
|
53036
53036
|
}, [
|
|
53037
53037
|
ti(vl, {
|
|
53038
53038
|
onClose: w,
|
|
53039
|
-
class:
|
|
53039
|
+
class: xr(`start-menu-popup-${d.value.id}`)
|
|
53040
53040
|
}, {
|
|
53041
|
-
header:
|
|
53041
|
+
header: wr(() => [
|
|
53042
53042
|
Ie("h3", E_e, Ut(d.value.text), 1)
|
|
53043
53043
|
]),
|
|
53044
|
-
body:
|
|
53044
|
+
body: wr(() => [
|
|
53045
53045
|
d.value.popupComponent ? (Te(), an(fk(d.value.popupComponent.component), {
|
|
53046
53046
|
key: 0,
|
|
53047
53047
|
onClose: w
|
|
@@ -53095,10 +53095,10 @@ const M_e = { class: "title" }, P_e = /* @__PURE__ */ fn({
|
|
|
53095
53095
|
onClose: n,
|
|
53096
53096
|
containerCssClass: "yes-no-modal"
|
|
53097
53097
|
}, {
|
|
53098
|
-
header:
|
|
53098
|
+
header: wr(() => [
|
|
53099
53099
|
Ie("h3", M_e, Ut(e.title ?? "Alert"), 1)
|
|
53100
53100
|
]),
|
|
53101
|
-
body:
|
|
53101
|
+
body: wr(() => [
|
|
53102
53102
|
Ie("h3", null, Ut(e.text), 1)
|
|
53103
53103
|
]),
|
|
53104
53104
|
_: 1
|
|
@@ -53169,7 +53169,7 @@ const R_e = ["src"], D_e = ["autoplay", "loop", "muted"], F_e = ["src"], B_e = /
|
|
|
53169
53169
|
}, [
|
|
53170
53170
|
o.picture ? (Te(), Je("img", {
|
|
53171
53171
|
key: 0,
|
|
53172
|
-
src:
|
|
53172
|
+
src: kr(Lo)(kr(F6)((s = o.picture) == null ? void 0 : s.image)),
|
|
53173
53173
|
class: "picture override"
|
|
53174
53174
|
}, null, 8, R_e)) : hn("", !0),
|
|
53175
53175
|
n.value ? (Te(), Je("video", {
|
|
@@ -53180,7 +53180,7 @@ const R_e = ["src"], D_e = ["autoplay", "loop", "muted"], F_e = ["src"], B_e = /
|
|
|
53180
53180
|
muted: !!n.value.muted
|
|
53181
53181
|
}, [
|
|
53182
53182
|
Ie("source", {
|
|
53183
|
-
src:
|
|
53183
|
+
src: kr(Lo)(kr(F6)(n.value.video))
|
|
53184
53184
|
}, null, 8, F_e)
|
|
53185
53185
|
], 8, D_e)) : hn("", !0)
|
|
53186
53186
|
], 4);
|
|
@@ -53399,7 +53399,7 @@ const z_e = ["innerHTML"], V_e = ["innerHTML"], U_e = ["innerHTML"], q_e = { key
|
|
|
53399
53399
|
}), (Se, Z) => {
|
|
53400
53400
|
const Pe = $V("visible");
|
|
53401
53401
|
return Te(), Je("div", {
|
|
53402
|
-
class:
|
|
53402
|
+
class: xr(["dialog-box w-full override", N.value]),
|
|
53403
53403
|
style: sr(M.value)
|
|
53404
53404
|
}, [
|
|
53405
53405
|
Ie("div", {
|
|
@@ -53418,7 +53418,7 @@ const z_e = ["innerHTML"], V_e = ["innerHTML"], U_e = ["innerHTML"], q_e = { key
|
|
|
53418
53418
|
innerHTML: I.value
|
|
53419
53419
|
}, null, 12, V_e),
|
|
53420
53420
|
Ie("span", {
|
|
53421
|
-
class:
|
|
53421
|
+
class: xr(["dialog-text override", Se.options.cssClass]),
|
|
53422
53422
|
style: sr(E.value),
|
|
53423
53423
|
innerHTML: F.value
|
|
53424
53424
|
}, null, 14, U_e),
|
|
@@ -53432,7 +53432,7 @@ const z_e = ["innerHTML"], V_e = ["innerHTML"], U_e = ["innerHTML"], q_e = { key
|
|
|
53432
53432
|
(Te(!0), Je(er, null, fr(J.value, (ze, _e) => (Te(), Je("p", {
|
|
53433
53433
|
key: _e,
|
|
53434
53434
|
style: sr(O(ze)),
|
|
53435
|
-
class:
|
|
53435
|
+
class: xr([R(ze), "dialog-choice override"]),
|
|
53436
53436
|
onClick: (Q) => C(ze),
|
|
53437
53437
|
innerHTML: `${_e + 1}. – ${ze.choice}`
|
|
53438
53438
|
}, null, 14, H_e))), 128))
|
|
@@ -53576,8 +53576,8 @@ const J_e = /* @__PURE__ */ Ie("div", { class: "anchor" }, null, -1), Q_e = /* @
|
|
|
53576
53576
|
}
|
|
53577
53577
|
}), (T, x) => (Te(), Je(er, null, [
|
|
53578
53578
|
ti(_h, { name: "fade" }, {
|
|
53579
|
-
default:
|
|
53580
|
-
(m.value || g.value) &&
|
|
53579
|
+
default: wr(() => [
|
|
53580
|
+
(m.value || g.value) && kr(i).showDialog ? (Te(), an(B_e, {
|
|
53581
53581
|
key: 0,
|
|
53582
53582
|
picture: m.value,
|
|
53583
53583
|
video: g.value
|
|
@@ -53586,8 +53586,8 @@ const J_e = /* @__PURE__ */ Ie("div", { class: "anchor" }, null, -1), Q_e = /* @
|
|
|
53586
53586
|
_: 1
|
|
53587
53587
|
}),
|
|
53588
53588
|
ti(_h, { name: "dialog-transition" }, {
|
|
53589
|
-
default:
|
|
53590
|
-
T.inGame &&
|
|
53589
|
+
default: wr(() => [
|
|
53590
|
+
T.inGame && kr(i).showDialog ? (Te(), Je("div", {
|
|
53591
53591
|
key: 0,
|
|
53592
53592
|
class: "dialog override",
|
|
53593
53593
|
ref_key: "dialogRef",
|
|
@@ -53600,7 +53600,7 @@ const J_e = /* @__PURE__ */ Ie("div", { class: "anchor" }, null, -1), Q_e = /* @
|
|
|
53600
53600
|
class: "dialog-container w-full override",
|
|
53601
53601
|
style: sr(d.value)
|
|
53602
53602
|
}, {
|
|
53603
|
-
default:
|
|
53603
|
+
default: wr(() => [
|
|
53604
53604
|
(Te(!0), Je(er, null, fr(u.value, (S, A) => (Te(), an(G_e, {
|
|
53605
53605
|
ref_for: !0,
|
|
53606
53606
|
ref: (D) => f.value = D,
|
|
@@ -53645,12 +53645,12 @@ const Y_e = ["id"], X_e = ["src"], Z_e = { class: "tab-title" }, hV = /* @__PURE
|
|
|
53645
53645
|
t("click");
|
|
53646
53646
|
}
|
|
53647
53647
|
return (o, a) => (Te(), Je("div", {
|
|
53648
|
-
class:
|
|
53648
|
+
class: xr(["tab", r.value]),
|
|
53649
53649
|
id: `tab-${o.tab.id}`,
|
|
53650
53650
|
onClick: i
|
|
53651
53651
|
}, [
|
|
53652
53652
|
Ie("div", {
|
|
53653
|
-
class:
|
|
53653
|
+
class: xr(["tab-title-container", o.active ? "active" : ""])
|
|
53654
53654
|
}, [
|
|
53655
53655
|
o.tab.icon ? (Te(), Je("img", {
|
|
53656
53656
|
key: 0,
|
|
@@ -53780,13 +53780,13 @@ const s2e = { class: "menu-container" }, u2e = ["onClick", "id"], l2e = { class:
|
|
|
53780
53780
|
containerCssClass: { [o.value.cssClass]: !0, "menu-modal": !0 },
|
|
53781
53781
|
onClose: s
|
|
53782
53782
|
}, {
|
|
53783
|
-
header:
|
|
53783
|
+
header: wr(() => {
|
|
53784
53784
|
var d;
|
|
53785
53785
|
return [
|
|
53786
|
-
Ie("h3", l2e, Ut(((d =
|
|
53786
|
+
Ie("h3", l2e, Ut(((d = kr(t).tab) == null ? void 0 : d.text) ?? o.value.label), 1)
|
|
53787
53787
|
];
|
|
53788
53788
|
}),
|
|
53789
|
-
body:
|
|
53789
|
+
body: wr(() => [
|
|
53790
53790
|
ti(a2e, {
|
|
53791
53791
|
onTabChange: u,
|
|
53792
53792
|
onClose: l,
|
|
@@ -53843,13 +53843,13 @@ const f2e = ["id"], d2e = ["innerHTML"], h2e = /* @__PURE__ */ fn({
|
|
|
53843
53843
|
const l = Af("ScreenObject", !0);
|
|
53844
53844
|
return Te(), Je("div", {
|
|
53845
53845
|
tabindex: "-1",
|
|
53846
|
-
class:
|
|
53846
|
+
class: xr(["viewport-object", o.value]),
|
|
53847
53847
|
id: `viewport-object-${t.screenObject.id}`,
|
|
53848
53848
|
onClick: u[0] || (u[0] = (f) => r(s.screenObject)),
|
|
53849
53849
|
style: sr(a.value)
|
|
53850
53850
|
}, [
|
|
53851
53851
|
Ie("span", {
|
|
53852
|
-
innerHTML: t.screenObject.text ?
|
|
53852
|
+
innerHTML: t.screenObject.text ? kr(vu)(t.screenObject.text) : void 0
|
|
53853
53853
|
}, null, 8, d2e),
|
|
53854
53854
|
(Te(!0), Je(er, null, fr(t.screenObject.children, (f) => (Te(), an(l, {
|
|
53855
53855
|
transitioning: s.transitioning,
|
|
@@ -53897,7 +53897,7 @@ const p2e = ["id", "innerHTML"], v2e = /* @__PURE__ */ fn({
|
|
|
53897
53897
|
}
|
|
53898
53898
|
return (d, h) => (Te(), Je("div", {
|
|
53899
53899
|
tabindex: "-1",
|
|
53900
|
-
class:
|
|
53900
|
+
class: xr(["viewport-button", l.value]),
|
|
53901
53901
|
id: `viewport-button-${d.id}`,
|
|
53902
53902
|
onClick: h[0] || (h[0] = (p) => c()),
|
|
53903
53903
|
style: sr(f.value),
|
|
@@ -53955,7 +53955,7 @@ const m2e = ["id"], g2e = ["id", "loop", "muted"], y2e = ["src"], b2e = ["id"],
|
|
|
53955
53955
|
muted: !!d.value.muted
|
|
53956
53956
|
}, [
|
|
53957
53957
|
Ie("source", {
|
|
53958
|
-
src:
|
|
53958
|
+
src: kr(Lo)(l.value.background)
|
|
53959
53959
|
}, null, 8, y2e)
|
|
53960
53960
|
], 12, g2e)) : (Te(), Je("div", {
|
|
53961
53961
|
key: 1,
|
|
@@ -54016,13 +54016,13 @@ const w2e = /* @__PURE__ */ fn({
|
|
|
54016
54016
|
}), (a, s) => (Te(), Je(er, null, [
|
|
54017
54017
|
i.value !== "end" ? (Te(), Je("div", {
|
|
54018
54018
|
key: 0,
|
|
54019
|
-
class:
|
|
54019
|
+
class: xr(["transition-holder", o.oldSlotClasses]),
|
|
54020
54020
|
style: sr(o.oldSlotStyle)
|
|
54021
54021
|
}, [
|
|
54022
54022
|
Zd(a.$slots, "oldElement")
|
|
54023
54023
|
], 6)) : hn("", !0),
|
|
54024
54024
|
Ie("div", {
|
|
54025
|
-
class:
|
|
54025
|
+
class: xr(["transition-holder", o.newSlotClasses]),
|
|
54026
54026
|
style: sr(o.newSlotStyle)
|
|
54027
54027
|
}, [
|
|
54028
54028
|
Zd(a.$slots, "newElement")
|
|
@@ -54126,7 +54126,7 @@ const k2e = /* @__PURE__ */ fn({
|
|
|
54126
54126
|
delay: y.transition.delay,
|
|
54127
54127
|
onComplete: () => p(b)
|
|
54128
54128
|
}, {
|
|
54129
|
-
oldElement:
|
|
54129
|
+
oldElement: wr(() => [
|
|
54130
54130
|
y.transition.oldScreen ? (Te(), an(B1, {
|
|
54131
54131
|
key: 0,
|
|
54132
54132
|
layer: y.transition.oldScreen,
|
|
@@ -54134,7 +54134,7 @@ const k2e = /* @__PURE__ */ fn({
|
|
|
54134
54134
|
transitioning: !0
|
|
54135
54135
|
}, null, 8, ["layer", "layerIndex"])) : hn("", !0)
|
|
54136
54136
|
]),
|
|
54137
|
-
newElement:
|
|
54137
|
+
newElement: wr(() => [
|
|
54138
54138
|
y.screen ? (Te(), an(B1, {
|
|
54139
54139
|
key: 0,
|
|
54140
54140
|
layer: y.screen,
|
|
@@ -54209,7 +54209,7 @@ const C2e = /* @__PURE__ */ Us(x2e, [["render", S2e]]), $2e = {
|
|
|
54209
54209
|
const t = ir(), n = Re(() => t.playMode === "auto"), r = Re(() => t.playMode === "skip"), i = Re(() => n.value ? "auto-play-feedback-auto" : r.value ? "auto-play-feedback-skip" : {}), o = Re(() => n.value ? "Auto Play" : r.value ? "Skip" : "");
|
|
54210
54210
|
return (a, s) => o.value ? (Te(), Je("div", $2e, [
|
|
54211
54211
|
Ie("div", {
|
|
54212
|
-
class:
|
|
54212
|
+
class: xr(["auto-play-feedback", i.value])
|
|
54213
54213
|
}, Ut(o.value), 3)
|
|
54214
54214
|
])) : hn("", !0);
|
|
54215
54215
|
}
|
|
@@ -54264,7 +54264,7 @@ const O2e = /* @__PURE__ */ fn({
|
|
|
54264
54264
|
ti(C2e),
|
|
54265
54265
|
ti(c2e, { class: "menu-toggle" }),
|
|
54266
54266
|
ti(k2e, { inputListener: t.value }, null, 8, ["inputListener"]),
|
|
54267
|
-
|
|
54267
|
+
kr(r).showDialog ? (Te(), an(Q_e, {
|
|
54268
54268
|
key: 0,
|
|
54269
54269
|
inGame: !0,
|
|
54270
54270
|
layoutMode: i.value,
|
|
@@ -54350,7 +54350,7 @@ const I2e = /* @__PURE__ */ Us(E2e, [["render", P2e]]), N2e = "data:image/svg+xm
|
|
|
54350
54350
|
return (d, h) => (Te(), Je("div", L2e, [
|
|
54351
54351
|
Ie("div", {
|
|
54352
54352
|
id: "engine-splash-header",
|
|
54353
|
-
class:
|
|
54353
|
+
class: xr(["flex justify-center flex-col items-center", i.value]),
|
|
54354
54354
|
style: sr(r.value)
|
|
54355
54355
|
}, [
|
|
54356
54356
|
Ie("h1", R2e, Ut(s.value), 1),
|
|
@@ -54360,8 +54360,8 @@ const I2e = /* @__PURE__ */ Us(E2e, [["render", P2e]]), N2e = "data:image/svg+xm
|
|
|
54360
54360
|
id: "engine-splash-logo"
|
|
54361
54361
|
}, null, 8, D2e),
|
|
54362
54362
|
ti(I2e, {
|
|
54363
|
-
percentage:
|
|
54364
|
-
step:
|
|
54363
|
+
percentage: kr(o).loading.percentage,
|
|
54364
|
+
step: kr(o).loading.step
|
|
54365
54365
|
}, null, 8, ["percentage", "step"])
|
|
54366
54366
|
], 6)
|
|
54367
54367
|
]));
|
|
@@ -54442,7 +54442,7 @@ const q2e = {
|
|
|
54442
54442
|
return fi(() => {
|
|
54443
54443
|
r.value && (n.value = r.value.clientHeight);
|
|
54444
54444
|
}), (o, a) => (Te(), an(_h, { name: "fade" }, {
|
|
54445
|
-
default:
|
|
54445
|
+
default: wr(() => [
|
|
54446
54446
|
Ie("div", {
|
|
54447
54447
|
class: "floating-tooltip",
|
|
54448
54448
|
style: sr(i.value),
|
|
@@ -54468,7 +54468,7 @@ const G2e = { class: "tooltips-ui" }, J2e = /* @__PURE__ */ fn({
|
|
|
54468
54468
|
screenMargin: Bp().options.screenEdgesMinimumMargin ?? 5
|
|
54469
54469
|
}));
|
|
54470
54470
|
return (r, i) => (Te(), Je("div", G2e, [
|
|
54471
|
-
|
|
54471
|
+
kr(t) ? (Te(), an(K2e, OV(U6({ key: 0 }, n.value)), null, 16)) : hn("", !0)
|
|
54472
54472
|
]));
|
|
54473
54473
|
}
|
|
54474
54474
|
}), Q2e = /* @__PURE__ */ fn({
|
|
@@ -54513,7 +54513,7 @@ const G2e = { class: "tooltips-ui" }, J2e = /* @__PURE__ */ fn({
|
|
|
54513
54513
|
}, [
|
|
54514
54514
|
Ie("div", {
|
|
54515
54515
|
id: "app",
|
|
54516
|
-
class:
|
|
54516
|
+
class: xr(s.value)
|
|
54517
54517
|
}, [
|
|
54518
54518
|
r.value === "engine-splash" ? (Te(), an(F2e, {
|
|
54519
54519
|
key: 0,
|
|
@@ -54522,7 +54522,7 @@ const G2e = { class: "tooltips-ui" }, J2e = /* @__PURE__ */ fn({
|
|
|
54522
54522
|
key: 1,
|
|
54523
54523
|
name: "screens-fade"
|
|
54524
54524
|
}, {
|
|
54525
|
-
default:
|
|
54525
|
+
default: wr(() => [
|
|
54526
54526
|
r.value === "game-splash" ? (Te(), an(U2e, { key: "1" })) : r.value === "menu" ? (Te(), an(A_e, { key: "2" })) : r.value === "playing" ? (Te(), an(O2e, { key: "3" })) : hn("", !0)
|
|
54527
54527
|
]),
|
|
54528
54528
|
_: 1
|
|
@@ -54551,12 +54551,12 @@ function Y2e(e, ...t) {
|
|
|
54551
54551
|
}
|
|
54552
54552
|
class qe {
|
|
54553
54553
|
constructor(t, n, r, i) {
|
|
54554
|
-
|
|
54555
|
-
|
|
54556
|
-
|
|
54557
|
-
|
|
54558
|
-
|
|
54559
|
-
|
|
54554
|
+
yr(this, "keyword");
|
|
54555
|
+
yr(this, "runner");
|
|
54556
|
+
yr(this, "argTypes");
|
|
54557
|
+
yr(this, "parser");
|
|
54558
|
+
yr(this, "onPlayerAnswered");
|
|
54559
|
+
yr(this, "returnAfterPlayerAnswer");
|
|
54560
54560
|
this.keyword = t, this.runner = r, this.argTypes = n, i ? this.parser = i : this.parser = Up(this.keyword, this.argTypes), this.returnAfterPlayerAnswer = !1;
|
|
54561
54561
|
}
|
|
54562
54562
|
async run(t, n) {
|
|
@@ -56319,7 +56319,7 @@ const DCe = /* @__PURE__ */ Us(MCe, [["render", RCe]]), FCe = { class: "settings
|
|
|
56319
56319
|
class: "setting-label",
|
|
56320
56320
|
id: `setting-label-${s.settingId}`
|
|
56321
56321
|
}, Ut(o.value.name), 9, BCe),
|
|
56322
|
-
|
|
56322
|
+
kr(Nye)(o.value) || kr(p6)(o.value) ? Hu((Te(), Je("input", {
|
|
56323
56323
|
key: 0,
|
|
56324
56324
|
ref: "slider",
|
|
56325
56325
|
class: "number-slider setting-slider",
|
|
@@ -56332,7 +56332,7 @@ const DCe = /* @__PURE__ */ Us(MCe, [["render", RCe]]), FCe = { class: "settings
|
|
|
56332
56332
|
"onUpdate:modelValue": u[0] || (u[0] = (l) => i.value = l)
|
|
56333
56333
|
}, null, 8, zCe)), [
|
|
56334
56334
|
[Ef, i.value]
|
|
56335
|
-
]) :
|
|
56335
|
+
]) : kr(Lye)(o.value) ? Hu((Te(), Je("input", {
|
|
56336
56336
|
key: 1,
|
|
56337
56337
|
type: "checkbox",
|
|
56338
56338
|
class: "setting-checkbox",
|
|
@@ -56341,7 +56341,7 @@ const DCe = /* @__PURE__ */ Us(MCe, [["render", RCe]]), FCe = { class: "settings
|
|
|
56341
56341
|
"onUpdate:modelValue": u[1] || (u[1] = (l) => i.value = l)
|
|
56342
56342
|
}, null, 8, VCe)), [
|
|
56343
56343
|
[EV, i.value]
|
|
56344
|
-
]) :
|
|
56344
|
+
]) : kr(Rye)(o.value) ? Hu((Te(), Je("input", {
|
|
56345
56345
|
key: 2,
|
|
56346
56346
|
type: "text",
|
|
56347
56347
|
class: "setting-text",
|
|
@@ -56517,7 +56517,7 @@ const a$e = ["onClick"], s$e = { class: "item-title" }, u$e = { class: "item-amo
|
|
|
56517
56517
|
}), wi(() => {
|
|
56518
56518
|
i.value && (i.value.disable(), i.value = null);
|
|
56519
56519
|
}), (u, l) => (Te(), Je("div", {
|
|
56520
|
-
class:
|
|
56520
|
+
class: xr(["inventory-section", `section-${n.id}`])
|
|
56521
56521
|
}, [
|
|
56522
56522
|
Ie("h3", null, Ut(u.title), 1),
|
|
56523
56523
|
Ie("div", {
|
|
@@ -56527,7 +56527,7 @@ const a$e = ["onClick"], s$e = { class: "item-title" }, u$e = { class: "item-amo
|
|
|
56527
56527
|
}, [
|
|
56528
56528
|
(Te(!0), Je(er, null, fr(u.items, (f) => (Te(), Je("button", {
|
|
56529
56529
|
onClick: () => o(f.id),
|
|
56530
|
-
class:
|
|
56530
|
+
class: xr(["item-display", `item-${f.id}`]),
|
|
56531
56531
|
style: sr(a(f.id)),
|
|
56532
56532
|
key: f.id
|
|
56533
56533
|
}, [
|
|
@@ -56584,7 +56584,7 @@ const c$e = { class: "flex flex-row item-description-container" }, f$e = { class
|
|
|
56584
56584
|
Ie("p", null, Ut(i.value.description), 1),
|
|
56585
56585
|
Ie("button", {
|
|
56586
56586
|
onClick: s,
|
|
56587
|
-
class:
|
|
56587
|
+
class: xr(["button", a.value ? "" : "disabled"])
|
|
56588
56588
|
}, " Use ", 2)
|
|
56589
56589
|
])
|
|
56590
56590
|
]),
|
|
@@ -56726,7 +56726,7 @@ const C$e = { class: "achievements-section-achievements" }, $$e = /* @__PURE__ *
|
|
|
56726
56726
|
setup(e) {
|
|
56727
56727
|
const t = e;
|
|
56728
56728
|
return (n, r) => (Te(), Je("div", {
|
|
56729
|
-
class:
|
|
56729
|
+
class: xr(["achievements-section", `section-${t.id}`])
|
|
56730
56730
|
}, [
|
|
56731
56731
|
Ie("h3", null, Ut(n.title), 1),
|
|
56732
56732
|
Ie("div", C$e, [
|
|
@@ -56839,7 +56839,7 @@ const I$e = /* @__PURE__ */ Us(T$e, [["render", P$e]]), N$e = { class: "quest-di
|
|
|
56839
56839
|
));
|
|
56840
56840
|
return (s, u) => (Te(), Je("div", N$e, [
|
|
56841
56841
|
Ie("div", {
|
|
56842
|
-
class:
|
|
56842
|
+
class: xr([
|
|
56843
56843
|
"quest-header",
|
|
56844
56844
|
s.quest.state === "completed" ? "quest-completed" : "quest-in-progress"
|
|
56845
56845
|
])
|
|
@@ -56853,7 +56853,7 @@ const I$e = /* @__PURE__ */ Us(T$e, [["render", P$e]]), N$e = { class: "quest-di
|
|
|
56853
56853
|
key: l.id
|
|
56854
56854
|
}, [
|
|
56855
56855
|
Ie("p", {
|
|
56856
|
-
class:
|
|
56856
|
+
class: xr([
|
|
56857
56857
|
"quest-objective-description",
|
|
56858
56858
|
l.state === "completed" ? "quest-objective-completed" : "quest-objctive-in-progress"
|
|
56859
56859
|
])
|
|
@@ -56871,7 +56871,7 @@ const B$e = { class: "quest-list-title" }, z$e = /* @__PURE__ */ fn({
|
|
|
56871
56871
|
setup(e) {
|
|
56872
56872
|
const t = e, n = Re(() => bc(t.quest.id));
|
|
56873
56873
|
return (r, i) => (Te(), Je("div", {
|
|
56874
|
-
class:
|
|
56874
|
+
class: xr([
|
|
56875
56875
|
"quest-list-display",
|
|
56876
56876
|
r.quest.state === "completed" ? "quest-list-completed" : "quest-list-in-progress"
|
|
56877
56877
|
])
|
|
@@ -56906,17 +56906,17 @@ const V$e = { key: 0 }, U$e = { key: 0 }, q$e = { key: 1 }, H$e = /* @__PURE__ *
|
|
|
56906
56906
|
}, o);
|
|
56907
56907
|
});
|
|
56908
56908
|
return (o, a) => (Te(), Je("div", {
|
|
56909
|
-
class:
|
|
56909
|
+
class: xr([`${o.sectionId}-quests-container`, "quests-section"])
|
|
56910
56910
|
}, [
|
|
56911
56911
|
Ie("h3", null, Ut(o.title), 1),
|
|
56912
56912
|
o.quests.length > 0 ? (Te(), Je("div", V$e, [
|
|
56913
56913
|
(Te(!0), Je(er, null, fr(i.value, (s) => (Te(), Je("div", {
|
|
56914
|
-
class:
|
|
56914
|
+
class: xr([`${o.sectionId}-${s.category.id}-category`, "quests-category"]),
|
|
56915
56915
|
key: s.category.id
|
|
56916
56916
|
}, [
|
|
56917
56917
|
r.value.length > 1 ? (Te(), Je("h4", U$e, Ut(s.category.title), 1)) : hn("", !0),
|
|
56918
56918
|
Ie("div", {
|
|
56919
|
-
class:
|
|
56919
|
+
class: xr(`${o.sectionId}-${s.category.id}-quests`)
|
|
56920
56920
|
}, [
|
|
56921
56921
|
(Te(!0), Je(er, null, fr(s.quests, (u) => (Te(), an(z$e, {
|
|
56922
56922
|
key: u.id,
|
|
@@ -56968,7 +56968,7 @@ const K$e = { class: "quests-list-container" }, G$e = { class: "quest-details" }
|
|
|
56968
56968
|
function J$e(e, t, n, r, i, o) {
|
|
56969
56969
|
const a = Af("QuestsListSection"), s = Af("QuestDetails");
|
|
56970
56970
|
return Te(), Je("div", {
|
|
56971
|
-
class:
|
|
56971
|
+
class: xr(["quests-ui", e.questsUiClass])
|
|
56972
56972
|
}, [
|
|
56973
56973
|
Ie("div", K$e, [
|
|
56974
56974
|
ti(a, {
|
|
@@ -57042,14 +57042,14 @@ const Y$e = (e) => (AV("data-v-db9d98bf"), e = e(), MV(), e), X$e = ["id"], Z$e
|
|
|
57042
57042
|
Ie("div", eTe, [
|
|
57043
57043
|
Ie("div", {
|
|
57044
57044
|
class: "skill-display",
|
|
57045
|
-
style: sr(
|
|
57045
|
+
style: sr(kr(a))
|
|
57046
57046
|
}, null, 4)
|
|
57047
57047
|
]),
|
|
57048
57048
|
Ie("div", tTe, [
|
|
57049
|
-
Ie("h2", null, Ut(
|
|
57049
|
+
Ie("h2", null, Ut(kr(s)), 1),
|
|
57050
57050
|
nTe,
|
|
57051
|
-
Ie("h3", null, Ut(
|
|
57052
|
-
Ie("p", { innerHTML:
|
|
57051
|
+
Ie("h3", null, Ut(kr(l)), 1),
|
|
57052
|
+
Ie("p", { innerHTML: kr(u) }, null, 8, rTe)
|
|
57053
57053
|
])
|
|
57054
57054
|
]),
|
|
57055
57055
|
Ie("div", {
|
|
@@ -57087,19 +57087,19 @@ const oTe = /* @__PURE__ */ Us(iTe, [["__scopeId", "data-v-db9d98bf"]]), aTe = {
|
|
|
57087
57087
|
return (c, d) => (Te(), Je("button", {
|
|
57088
57088
|
onClick: o,
|
|
57089
57089
|
class: "skill-grid-element",
|
|
57090
|
-
style: sr(
|
|
57090
|
+
style: sr(kr(a)),
|
|
57091
57091
|
ref_key: "gridElement",
|
|
57092
57092
|
ref: i
|
|
57093
57093
|
}, [
|
|
57094
|
-
Ie("h3", aTe, Ut(
|
|
57094
|
+
Ie("h3", aTe, Ut(kr(s)), 1),
|
|
57095
57095
|
Ie("div", sTe, [
|
|
57096
57096
|
Ie("div", {
|
|
57097
57097
|
class: "skill-xp-bar",
|
|
57098
57098
|
style: sr(f.value)
|
|
57099
57099
|
}, null, 4),
|
|
57100
|
-
Ie("h3", uTe, Ut(
|
|
57100
|
+
Ie("h3", uTe, Ut(kr(u).xp) + " / " + Ut(kr(l)) + " XP", 1)
|
|
57101
57101
|
]),
|
|
57102
|
-
Ie("h3", lTe, Ut(
|
|
57102
|
+
Ie("h3", lTe, Ut(kr(u).level), 1)
|
|
57103
57103
|
], 4));
|
|
57104
57104
|
}
|
|
57105
57105
|
});
|
|
@@ -57274,7 +57274,7 @@ function kTe(e) {
|
|
|
57274
57274
|
}
|
|
57275
57275
|
class gV {
|
|
57276
57276
|
constructor() {
|
|
57277
|
-
|
|
57277
|
+
yr(this, "pluginId", "narrat-plugin");
|
|
57278
57278
|
}
|
|
57279
57279
|
onPageLoaded() {
|
|
57280
57280
|
}
|
|
@@ -57299,24 +57299,39 @@ function xTe(e) {
|
|
|
57299
57299
|
function _Te(e) {
|
|
57300
57300
|
jn.addCommand(e);
|
|
57301
57301
|
}
|
|
57302
|
-
|
|
57302
|
+
const jTe = {
|
|
57303
|
+
args: [],
|
|
57304
|
+
canvasResizePolicy: 0,
|
|
57305
|
+
executable: "",
|
|
57306
|
+
experimentalVK: !1,
|
|
57307
|
+
fileSizes: { "index.pck": 54160, "index.wasm": 52315256 },
|
|
57308
|
+
focusCanvas: !1,
|
|
57309
|
+
gdextensionLibs: []
|
|
57310
|
+
};
|
|
57311
|
+
function STe() {
|
|
57303
57312
|
window.godotReady = !0, window.narratReadyCallback && window.narratReadyCallback(), console.log("godot ready");
|
|
57304
57313
|
}
|
|
57305
|
-
window.godotReadyCallback =
|
|
57306
|
-
class
|
|
57307
|
-
constructor() {
|
|
57314
|
+
window.godotReadyCallback = STe;
|
|
57315
|
+
class CTe extends gV {
|
|
57316
|
+
constructor(n) {
|
|
57308
57317
|
super();
|
|
57309
|
-
|
|
57310
|
-
|
|
57311
|
-
|
|
57312
|
-
|
|
57313
|
-
|
|
57314
|
-
|
|
57315
|
-
this
|
|
57318
|
+
yr(this, "customCommands", []);
|
|
57319
|
+
yr(this, "canvas");
|
|
57320
|
+
yr(this, "app");
|
|
57321
|
+
yr(this, "messageQueue", []);
|
|
57322
|
+
yr(this, "narrat");
|
|
57323
|
+
yr(this, "narratReady", !1);
|
|
57324
|
+
yr(this, "engineConfig");
|
|
57325
|
+
yr(this, "engine");
|
|
57326
|
+
const r = {
|
|
57327
|
+
...jTe,
|
|
57328
|
+
...n.engineConfigOverrides ?? {}
|
|
57329
|
+
};
|
|
57330
|
+
n.godotGamePath && (r.executable = n.godotGamePath), this.engineConfig = r, this.customCommands = [
|
|
57316
57331
|
qe.FromOptions({
|
|
57317
57332
|
keyword: "godot_pause",
|
|
57318
57333
|
argTypes: [],
|
|
57319
|
-
runner: async (
|
|
57334
|
+
runner: async (i) => {
|
|
57320
57335
|
this.addMessageForGodot({
|
|
57321
57336
|
type: "pause",
|
|
57322
57337
|
payload: {}
|
|
@@ -57326,7 +57341,7 @@ class STe extends gV {
|
|
|
57326
57341
|
qe.FromOptions({
|
|
57327
57342
|
keyword: "godot_resume",
|
|
57328
57343
|
argTypes: [],
|
|
57329
|
-
runner: async (
|
|
57344
|
+
runner: async (i) => {
|
|
57330
57345
|
this.addMessageForGodot({
|
|
57331
57346
|
type: "resume",
|
|
57332
57347
|
payload: {}
|
|
@@ -57343,28 +57358,17 @@ class STe extends gV {
|
|
|
57343
57358
|
}
|
|
57344
57359
|
this.narrat = window.narrat;
|
|
57345
57360
|
const r = document.createElement("canvas");
|
|
57346
|
-
this.app = n, this.canvas = r, r.id = "godot-canvas", r.style.position = "absolute", r.style.zIndex = "0", n.appendChild(r), window.addEventListener("keydown", (
|
|
57347
|
-
if (
|
|
57361
|
+
this.app = n, this.canvas = r, r.id = "godot-canvas", r.style.position = "absolute", r.style.zIndex = "0", n.appendChild(r), window.addEventListener("keydown", (o) => {
|
|
57362
|
+
if (o.fakeEvent)
|
|
57348
57363
|
return;
|
|
57349
|
-
const
|
|
57350
|
-
|
|
57351
|
-
}), window.addEventListener("keyup", (
|
|
57352
|
-
if (
|
|
57364
|
+
const a = new KeyboardEvent(o.type, o);
|
|
57365
|
+
a.fakeEvent = !0, this.canvas.dispatchEvent(a);
|
|
57366
|
+
}), window.addEventListener("keyup", (o) => {
|
|
57367
|
+
if (o.fakeEvent)
|
|
57353
57368
|
return;
|
|
57354
|
-
const
|
|
57355
|
-
|
|
57356
|
-
});
|
|
57357
|
-
const i = window.Engine;
|
|
57358
|
-
new i({
|
|
57359
|
-
args: [],
|
|
57360
|
-
canvas: r,
|
|
57361
|
-
canvasResizePolicy: 0,
|
|
57362
|
-
executable: "examples/games/godot/godot-game/export/index",
|
|
57363
|
-
experimentalVK: !1,
|
|
57364
|
-
fileSizes: { "index.pck": 54160, "index.wasm": 52315256 },
|
|
57365
|
-
focusCanvas: !1,
|
|
57366
|
-
gdextensionLibs: []
|
|
57367
|
-
}).startGame(), this.resizeCanvas(), window.godot = this, this.narratReady = !0, window.narratReadyCallback && window.narratReadyCallback();
|
|
57369
|
+
const a = new KeyboardEvent(o.type, o);
|
|
57370
|
+
a.fakeEvent = !0, this.canvas.dispatchEvent(a);
|
|
57371
|
+
}), new window.Engine(this.engineConfig).startGame(), this.resizeCanvas(), window.godot = this, this.narratReady = !0, window.narratReadyCallback && window.narratReadyCallback();
|
|
57368
57372
|
}
|
|
57369
57373
|
getCanvas() {
|
|
57370
57374
|
return document.querySelector("#godot-canvas");
|
|
@@ -57399,11 +57403,11 @@ class STe extends gV {
|
|
|
57399
57403
|
this.canvas.width = r, this.canvas.height = i, this.canvas.style.width = `${r}px`, this.canvas.style.height = `${i}px`, window.requestAnimationFrame(() => this.resizeCanvas());
|
|
57400
57404
|
}
|
|
57401
57405
|
}
|
|
57402
|
-
const
|
|
57406
|
+
const $Te = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
57403
57407
|
__proto__: null,
|
|
57404
57408
|
CommandPlugin: qe,
|
|
57405
57409
|
ConfigInputSchema: cz,
|
|
57406
|
-
GodotPlugin:
|
|
57410
|
+
GodotPlugin: CTe,
|
|
57407
57411
|
InputsListener: fV,
|
|
57408
57412
|
LogManager: dk,
|
|
57409
57413
|
ModalWindow: vl,
|
|
@@ -57475,13 +57479,13 @@ function yV(e) {
|
|
|
57475
57479
|
jump: (n) => dn().jumpToLabel(n),
|
|
57476
57480
|
run: (n, ...r) => dn().runThenGoBackToPreviousDialog(n, ...r),
|
|
57477
57481
|
getSave: () => au(),
|
|
57478
|
-
exports:
|
|
57482
|
+
exports: $Te
|
|
57479
57483
|
};
|
|
57480
57484
|
return window.narrat = t, t;
|
|
57481
57485
|
}
|
|
57482
57486
|
let Au;
|
|
57483
57487
|
jn.callHook("onPageLoaded");
|
|
57484
|
-
async function
|
|
57488
|
+
async function ETe(e) {
|
|
57485
57489
|
ry.setup(), console.log("Starting narrat...");
|
|
57486
57490
|
const t = Object.assign(pye(), e), n = ove();
|
|
57487
57491
|
Au = PV(Q2e, {
|
|
@@ -57493,13 +57497,13 @@ async function OTe(e) {
|
|
|
57493
57497
|
"background: #222; color: #bada55"
|
|
57494
57498
|
), jn.callHook("onNarratSetup"), Au.mount("#game-holder"), Au;
|
|
57495
57499
|
}
|
|
57496
|
-
function
|
|
57500
|
+
function ATe(e, t) {
|
|
57497
57501
|
Au.component(e, t);
|
|
57498
57502
|
}
|
|
57499
57503
|
export {
|
|
57500
57504
|
qe as CommandPlugin,
|
|
57501
57505
|
cz as ConfigInputSchema,
|
|
57502
|
-
|
|
57506
|
+
CTe as GodotPlugin,
|
|
57503
57507
|
fV as InputsListener,
|
|
57504
57508
|
dk as LogManager,
|
|
57505
57509
|
vl as ModalWindow,
|
|
@@ -57536,12 +57540,12 @@ export {
|
|
|
57536
57540
|
vu as processText,
|
|
57537
57541
|
Fp as questsConfig,
|
|
57538
57542
|
Xf as randomId,
|
|
57539
|
-
|
|
57543
|
+
ATe as registerComponent,
|
|
57540
57544
|
mV as registerMenuButton,
|
|
57541
57545
|
xTe as registerPlugin,
|
|
57542
57546
|
tk as screensConfig,
|
|
57543
57547
|
Ls as skillsConfig,
|
|
57544
|
-
|
|
57548
|
+
ETe as startApp,
|
|
57545
57549
|
qo as timeout,
|
|
57546
57550
|
Bp as tooltipsConfig,
|
|
57547
57551
|
Xu as useAchievements,
|