@silentstatestudio/perseon 0.1.0 → 0.1.1
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/CHANGELOG.md +31 -4
- package/LICENSE.md +61 -18
- package/README.md +9 -8
- package/dist/authoring/index.cjs +7 -2
- package/dist/authoring/index.d.cts +102 -4
- package/dist/authoring/index.d.ts +102 -4
- package/dist/authoring/index.js +6 -1
- package/dist/authoring/index.js.map +1 -1
- package/dist/{chunk-PT7F7TTB.cjs → chunk-443SQYAB.cjs} +216 -179
- package/dist/{chunk-ON4JV4BI.js → chunk-AVYXWDFD.js} +39 -2
- package/dist/chunk-AVYXWDFD.js.map +1 -0
- package/dist/{chunk-GDXCMDJ6.js → chunk-BEDH7OYG.js} +25 -3
- package/dist/chunk-BEDH7OYG.js.map +1 -0
- package/dist/{chunk-Q2HLLGJ7.cjs → chunk-WEQPSGPS.cjs} +23 -2
- package/dist/chunk-ZIMCQTYK.cjs +5 -0
- package/dist/chunk-ZTG42LPX.js +6 -0
- package/dist/{colors-CUEeQ78V.d.cts → colors-CCeWL9q4.d.cts} +362 -12
- package/dist/{colors-pshUJaKB.d.ts → colors-CGWrMf4V.d.ts} +362 -12
- package/dist/core/index.cjs +8 -3
- package/dist/core/index.d.cts +4 -3
- package/dist/core/index.d.ts +4 -3
- package/dist/core/index.js +8 -3
- package/dist/index.cjs +8 -3
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +8 -3
- package/dist/pixi-v7/index.cjs +79 -5
- package/dist/pixi-v7/index.d.cts +106 -7
- package/dist/pixi-v7/index.d.ts +106 -7
- package/dist/pixi-v7/index.js +77 -3
- package/dist/pixi-v7/index.js.map +1 -1
- package/dist/pixi-v8/index.cjs +78 -7
- package/dist/pixi-v8/index.d.cts +81 -9
- package/dist/pixi-v8/index.d.ts +81 -9
- package/dist/pixi-v8/index.js +76 -5
- package/dist/pixi-v8/index.js.map +1 -1
- package/dist/{rendering-DeUo1BsK.d.cts → rendering-dYQXmGTV.d.cts} +29 -2
- package/dist/{rendering-DeUo1BsK.d.ts → rendering-dYQXmGTV.d.ts} +29 -2
- package/dist/testing/index.cjs +23 -0
- package/dist/testing/index.d.cts +19 -1
- package/dist/testing/index.d.ts +19 -1
- package/dist/testing/index.js +24 -0
- package/dist/testing/index.js.map +1 -1
- package/package.json +145 -148
- package/dist/chunk-GDXCMDJ6.js.map +0 -1
- package/dist/chunk-ON4JV4BI.js.map +0 -1
- package/dist/chunk-SVI6WUOB.js +0 -1
- /package/dist/{chunk-SVI6WUOB.js.map → chunk-ZTG42LPX.js.map} +0 -0
|
@@ -1,8 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { k as CustomParameterSampleScope,
|
|
3
|
-
import { P as ParticleBlendMode } from '../rendering-
|
|
1
|
+
import { S as NumericDomain, aU as TextDomain, az as ProbabilityCurvePresetId, i as CurveDefinition, ay as ProbabilityCurvePreset, ab as ParticleLayerOptions, a1 as ParticleAnimationOptions, av as PointValue } from '../colors-CGWrMf4V.js';
|
|
2
|
+
export { k as CustomParameterSampleScope, aZ as EMITTER_EVENT_TRIGGERS, r as EmitterEventTrigger, w as EventTrigger, a_ as OPTION_PATH_CATALOG, T as OptionNodeKind, a$ as OptionPathEntry, b0 as OptionScope, U as OptionStage, V as OptionStrategy, b1 as PARTICLE_EVENT_TRIGGERS, a4 as ParticleEventTrigger, b2 as findOptionPathEntry, b3 as isEmitterEventTrigger, b4 as isEventTrigger, b5 as isParticleEventTrigger, b6 as isValidEventName } from '../colors-CGWrMf4V.js';
|
|
3
|
+
import { P as ParticleBlendMode } from '../rendering-dYQXmGTV.js';
|
|
4
4
|
|
|
5
|
+
/**
|
|
6
|
+
* The bound most numeric domains are built from (`signedInteger`, `nonNegativeDecimal`…), often divided down.
|
|
7
|
+
* Some domains go past it, such as `uint32` and `COLOR_DOMAIN`.
|
|
8
|
+
*/
|
|
5
9
|
declare const MAX_PARAMETER_VALUE = 1000000;
|
|
10
|
+
/** Lowest value a numeric parameter may take by default (the negative of `MAX_PARAMETER_VALUE`). */
|
|
6
11
|
declare const MIN_PARAMETER_VALUE = -1000000;
|
|
7
12
|
/**
|
|
8
13
|
* Shared upper bound for every user-facing name that travels through a config —
|
|
@@ -13,6 +18,10 @@ declare const MIN_PARAMETER_VALUE = -1000000;
|
|
|
13
18
|
* redeclaring its own.
|
|
14
19
|
*/
|
|
15
20
|
declare const NAME_MAX_LENGTH = 50;
|
|
21
|
+
/**
|
|
22
|
+
* Domains of name-like text values. `name` bounds the length of any user-facing name to `NAME_MAX_LENGTH` characters
|
|
23
|
+
* and trims surrounding whitespace.
|
|
24
|
+
*/
|
|
16
25
|
declare const TEXT_DOMAINS: {
|
|
17
26
|
name: {
|
|
18
27
|
minLength: number;
|
|
@@ -20,6 +29,11 @@ declare const TEXT_DOMAINS: {
|
|
|
20
29
|
trim: true;
|
|
21
30
|
};
|
|
22
31
|
};
|
|
32
|
+
/**
|
|
33
|
+
* Reusable numeric domains the other catalogs are built from: integers, decimals, normalized `0..1` values,
|
|
34
|
+
* a percentage, an angle in radians (a full turn either way) and an unsigned 32-bit integer.
|
|
35
|
+
* Each entry is a numeric domain: `min`, `max`, and optionally the `step` and `decimals` an authoring tool should use for it.
|
|
36
|
+
*/
|
|
23
37
|
declare const COMMON_NUMERIC_DOMAINS: {
|
|
24
38
|
signedInteger: {
|
|
25
39
|
min: number;
|
|
@@ -88,6 +102,11 @@ declare const COMMON_NUMERIC_DOMAINS: {
|
|
|
88
102
|
decimals: number;
|
|
89
103
|
};
|
|
90
104
|
};
|
|
105
|
+
/**
|
|
106
|
+
* Domains for custom parameters declared by the animation: `continuous` (decimal), `discrete` (integer)
|
|
107
|
+
* and `labelIndex` (a non-negative integer).
|
|
108
|
+
* Each entry is a numeric domain: `min`, `max`, and optionally the `step` and `decimals` an authoring tool should use for it.
|
|
109
|
+
*/
|
|
91
110
|
declare const CUSTOM_PARAMETER_DOMAINS: {
|
|
92
111
|
continuous: {
|
|
93
112
|
min: number;
|
|
@@ -108,6 +127,11 @@ declare const CUSTOM_PARAMETER_DOMAINS: {
|
|
|
108
127
|
decimals: number;
|
|
109
128
|
};
|
|
110
129
|
};
|
|
130
|
+
/**
|
|
131
|
+
* Domains of the per-particle parameters: life, position, velocity, acceleration, scale, rotation and alpha,
|
|
132
|
+
* including their rates of change. Keyed by parameter name.
|
|
133
|
+
* Each entry is a numeric domain: `min`, `max`, and optionally the `step` and `decimals` an authoring tool should use for it.
|
|
134
|
+
*/
|
|
111
135
|
declare const PARTICLE_PARAMETER_DOMAINS: {
|
|
112
136
|
lifeProgress: {
|
|
113
137
|
min: number;
|
|
@@ -260,6 +284,10 @@ declare const PARTICLE_PARAMETER_DOMAINS: {
|
|
|
260
284
|
decimals: number;
|
|
261
285
|
};
|
|
262
286
|
};
|
|
287
|
+
/**
|
|
288
|
+
* Domains of the particle options: `lifetime` and the gravity, damping, wind and point-force factors.
|
|
289
|
+
* Each entry is a numeric domain: `min`, `max`, and optionally the `step` and `decimals` an authoring tool should use for it.
|
|
290
|
+
*/
|
|
263
291
|
declare const PARTICLE_OPTION_DOMAINS: {
|
|
264
292
|
lifetime: {
|
|
265
293
|
min: number;
|
|
@@ -292,6 +320,10 @@ declare const PARTICLE_OPTION_DOMAINS: {
|
|
|
292
320
|
decimals: number;
|
|
293
321
|
};
|
|
294
322
|
};
|
|
323
|
+
/**
|
|
324
|
+
* Domains of a point force: `strength`, `radius` and the `positionX` / `positionY` of its center.
|
|
325
|
+
* Each entry is a numeric domain: `min`, `max`, and optionally the `step` and `decimals` an authoring tool should use for it.
|
|
326
|
+
*/
|
|
295
327
|
declare const POINT_FORCE_DOMAINS: {
|
|
296
328
|
strength: {
|
|
297
329
|
min: number;
|
|
@@ -318,6 +350,10 @@ declare const POINT_FORCE_DOMAINS: {
|
|
|
318
350
|
decimals: number;
|
|
319
351
|
};
|
|
320
352
|
};
|
|
353
|
+
/**
|
|
354
|
+
* Domains of the emitter and playback parameters, such as gravity, damping, wind and the spawn values.
|
|
355
|
+
* Each entry is a numeric domain: `min`, `max`, and optionally the `step` and `decimals` an authoring tool should use for it.
|
|
356
|
+
*/
|
|
321
357
|
declare const EMITTER_PARAMETER_DOMAINS: {
|
|
322
358
|
gravity: {
|
|
323
359
|
min: number;
|
|
@@ -380,6 +416,10 @@ declare const EMITTER_PARAMETER_DOMAINS: {
|
|
|
380
416
|
decimals: number;
|
|
381
417
|
};
|
|
382
418
|
};
|
|
419
|
+
/**
|
|
420
|
+
* Domains of the emitter options: pool sizes, alive limits, delays, repeats, the random seed and update limits.
|
|
421
|
+
* Each entry is a numeric domain: `min`, `max`, and optionally the `step` and `decimals` an authoring tool should use for it.
|
|
422
|
+
*/
|
|
383
423
|
declare const EMITTER_OPTION_DOMAINS: {
|
|
384
424
|
maxAlive: {
|
|
385
425
|
min: number;
|
|
@@ -442,6 +482,11 @@ declare const EMITTER_OPTION_DOMAINS: {
|
|
|
442
482
|
decimals: number;
|
|
443
483
|
};
|
|
444
484
|
};
|
|
485
|
+
/**
|
|
486
|
+
* Domains of the numbers inside a parameter definition: random-list weights, curve axes and bends,
|
|
487
|
+
* color stop positions and area coordinates, sizes and rotation.
|
|
488
|
+
* Each entry is a numeric domain: `min`, `max`, and optionally the `step` and `decimals` an authoring tool should use for it.
|
|
489
|
+
*/
|
|
445
490
|
declare const PARAMETER_OPTION_DOMAINS: {
|
|
446
491
|
randomListWeight: {
|
|
447
492
|
min: number;
|
|
@@ -486,6 +531,10 @@ declare const PARAMETER_OPTION_DOMAINS: {
|
|
|
486
531
|
decimals: number;
|
|
487
532
|
};
|
|
488
533
|
};
|
|
534
|
+
/**
|
|
535
|
+
* Domains of the numbers of a modifier. `strength` ranges from -10 to 10.
|
|
536
|
+
* Each entry is a numeric domain: `min`, `max`, and optionally the `step` and `decimals` an authoring tool should use for it.
|
|
537
|
+
*/
|
|
489
538
|
declare const MODIFIER_DOMAINS: {
|
|
490
539
|
strength: {
|
|
491
540
|
min: number;
|
|
@@ -494,6 +543,10 @@ declare const MODIFIER_DOMAINS: {
|
|
|
494
543
|
decimals: number;
|
|
495
544
|
};
|
|
496
545
|
};
|
|
546
|
+
/**
|
|
547
|
+
* Domains of a modulator's numbers: `frequency`, `amplitude`, `offset` and `phase` (a fraction of one cycle).
|
|
548
|
+
* Each entry is a numeric domain: `min`, `max`, and optionally the `step` and `decimals` an authoring tool should use for it.
|
|
549
|
+
*/
|
|
497
550
|
declare const MODULATOR_DOMAINS: {
|
|
498
551
|
frequency: {
|
|
499
552
|
min: number;
|
|
@@ -520,6 +573,11 @@ declare const MODULATOR_DOMAINS: {
|
|
|
520
573
|
decimals: number;
|
|
521
574
|
};
|
|
522
575
|
};
|
|
576
|
+
/**
|
|
577
|
+
* Domains of a sprite animation: `animationFPS` (a positive integer) and `startFrame`,
|
|
578
|
+
* a zero-based frame index where -1 means a random start frame.
|
|
579
|
+
* Each entry is a numeric domain: `min`, `max`, and optionally the `step` and `decimals` an authoring tool should use for it.
|
|
580
|
+
*/
|
|
523
581
|
declare const SPRITE_ANIMATION_DOMAINS: {
|
|
524
582
|
animationFPS: {
|
|
525
583
|
min: number;
|
|
@@ -552,7 +610,14 @@ declare const SPRITE_ANIMATION_DOMAINS: {
|
|
|
552
610
|
* fixed-function on v7, a shader pass on v8. A renderer answers that about
|
|
553
611
|
* itself through `IRendererCapabilities.blendModeSupport`.
|
|
554
612
|
*/
|
|
555
|
-
/**
|
|
613
|
+
/**
|
|
614
|
+
* Ordered catalog. Order is the display order; the cheap, universal modes first.
|
|
615
|
+
* Each entry is an object whose `id` is one blend mode, a valid `ParticleBlendMode`.
|
|
616
|
+
*
|
|
617
|
+
* What a mode costs, and whether a backend can honor it at all, is not part of
|
|
618
|
+
* the catalog: it depends on the renderer, which answers it about itself through
|
|
619
|
+
* `IRendererCapabilities.blendModeSupport`.
|
|
620
|
+
*/
|
|
556
621
|
declare const BLEND_MODE_CATALOG: readonly [{
|
|
557
622
|
readonly id: "normal";
|
|
558
623
|
}, {
|
|
@@ -596,6 +661,7 @@ declare const MODULATOR_TIME_ELAPSED_SOURCE = "timeElapsed";
|
|
|
596
661
|
*/
|
|
597
662
|
declare const ANIMATION_FORMAT_VERSION = 2;
|
|
598
663
|
|
|
664
|
+
/** The range a packed `0xRRGGBB` color number must sit in: `0` to `0xffffff` (24 bits, no alpha). It does not have to be an integer. */
|
|
599
665
|
declare const COLOR_DOMAIN: NumericDomain;
|
|
600
666
|
/**
|
|
601
667
|
* Coerce a name-like string into its `TextDomain`: trim (when the domain asks)
|
|
@@ -612,12 +678,20 @@ declare const sanitizeName: (value: string, domain?: TextDomain) => string;
|
|
|
612
678
|
* scopes. Every path resolves to a number.
|
|
613
679
|
*/
|
|
614
680
|
declare const LINKED_SOURCE_CATALOG: {
|
|
681
|
+
/** Paths of the playback-wide values: gravity, damping and the wind's magnitude and angle. */
|
|
615
682
|
readonly playback: readonly ["gravity", "damping", "windMagnitude", "windAngle"];
|
|
683
|
+
/** Paths of the emitter values: spawn rate, spawn count and spawn duration. */
|
|
616
684
|
readonly emitter: readonly ["spawnRate", "spawnCount", "spawnDuration"];
|
|
685
|
+
/** Paths of the per-particle values: life progress, lifetime, time lived, position, velocity, acceleration, scale, rotation and alpha, plus their rates of change. */
|
|
617
686
|
readonly particle: readonly ["lifeProgress", "lifetime", "lifeElapsed", "positionX", "positionY", "velocityX", "velocityY", "velocityMagnitude", "velocityAngle", "accelerationX", "accelerationY", "accelerationMagnitude", "accelerationAngle", "scaleX", "scaleY", "scaleVelocityX", "scaleVelocityY", "scaleAccelerationX", "scaleAccelerationY", "rotation", "rotationVelocity", "rotationAcceleration", "alpha", "alphaVelocity", "alphaAcceleration"];
|
|
618
687
|
};
|
|
619
688
|
|
|
689
|
+
/** The preset used when none is given: `'uniform'`. */
|
|
620
690
|
declare const DEFAULT_PROBABILITY_CURVE_PRESET_ID: ProbabilityCurvePresetId;
|
|
691
|
+
/**
|
|
692
|
+
* The built-in probability curve presets. Each has an `id`, a `label`, a `description`, an optional `iconKey`
|
|
693
|
+
* and a `curve` defined over x in `0..1` that `createProbabilityCurveFromPreset` can rescale.
|
|
694
|
+
*/
|
|
621
695
|
declare const PROBABILITY_CURVE_PRESETS: readonly [{
|
|
622
696
|
readonly id: "uniform";
|
|
623
697
|
readonly label: "Uniform";
|
|
@@ -748,12 +822,18 @@ declare const PROBABILITY_CURVE_PRESETS: readonly [{
|
|
|
748
822
|
readonly segmentBends: [0.22, 0.18, 0.18, 0.22];
|
|
749
823
|
};
|
|
750
824
|
}];
|
|
825
|
+
/** The presets as `{ value, label, description }` options, ready to fill a selection list. */
|
|
751
826
|
declare const PROBABILITY_CURVE_PRESET_OPTIONS: {
|
|
752
827
|
value: "uniform" | "lowBias" | "highBias" | "centerBias" | "edgeBias" | "bell" | "doublePeak";
|
|
753
828
|
label: "Uniform" | "Low Bias" | "High Bias" | "Center Bias" | "Edge Bias" | "Bell" | "Double Peak";
|
|
754
829
|
description: "Equal probability across the full range." | "Higher probability near the minimum side." | "Higher probability near the maximum side." | "Smooth preference for the middle of the range." | "Higher probability near both edges." | "Gaussian-like central bell curve." | "Two smooth internal probability peaks.";
|
|
755
830
|
}[];
|
|
831
|
+
/** Returns the preset with the given id, or the first preset (`uniform`) if the id is unknown. */
|
|
756
832
|
declare const getProbabilityCurvePreset: (presetId: ProbabilityCurvePresetId) => ProbabilityCurvePreset;
|
|
833
|
+
/**
|
|
834
|
+
* Builds a fresh copy of a preset's curve (the default preset when no id is given). With `xDomain`,
|
|
835
|
+
* the curve's x values are rescaled from `0..1` to that range.
|
|
836
|
+
*/
|
|
757
837
|
declare const createProbabilityCurveFromPreset: (presetId?: ProbabilityCurvePresetId, xDomain?: Pick<NumericDomain, "min" | "max">) => CurveDefinition;
|
|
758
838
|
|
|
759
839
|
/**
|
|
@@ -766,17 +846,29 @@ declare const createProbabilityCurveFromPreset: (presetId?: ProbabilityCurvePres
|
|
|
766
846
|
* same object shape at runtime, since `SpawnNumber` extends `number`.
|
|
767
847
|
*/
|
|
768
848
|
declare class ParameterTypeChecker {
|
|
849
|
+
/** Whether `object` is a non-null object (arrays included). */
|
|
769
850
|
static isObject(object: unknown): boolean;
|
|
851
|
+
/** Whether `object` has exactly the keys `x` and `y`: a point, or the separated form of a number pair. */
|
|
770
852
|
static isPointValue(object: unknown): boolean;
|
|
853
|
+
/** Whether `object` has exactly the keys `angle` and `magnitude`: a vector in polar form. */
|
|
771
854
|
static isVectorValue(object: unknown): boolean;
|
|
855
|
+
/** Whether `object` has `min` and `max` keys (extra keys are allowed): a random range. */
|
|
772
856
|
static isRandomValueRange(object: unknown): boolean;
|
|
857
|
+
/** Whether `object` has `center`, `width` and `height`: a rectangle area. */
|
|
773
858
|
static isRectangleArea(object: unknown): boolean;
|
|
859
|
+
/** Whether `object` has `center` and `radius`. Also true for a capsule, so test `isCapsuleArea` first. */
|
|
774
860
|
static isCircleArea(object: unknown): boolean;
|
|
861
|
+
/** Whether `object` has `center`, `innerRadius` and `outerRadius`: a ring area. */
|
|
775
862
|
static isRingArea(object: unknown): boolean;
|
|
863
|
+
/** Whether `object` has `center`, `radius` and `length`: a capsule area. */
|
|
776
864
|
static isCapsuleArea(object: unknown): boolean;
|
|
865
|
+
/** Whether `object` has a `points` array: a polygon area. */
|
|
777
866
|
static isPolygonArea(object: unknown): boolean;
|
|
867
|
+
/** Whether `object` has a `values` array: a weighted list of values to pick from. */
|
|
778
868
|
static isRandomValueList(object: unknown): boolean;
|
|
869
|
+
/** Whether `object` has `sourceParameterId` and `transferFunction`: a value linked to another parameter. */
|
|
779
870
|
static isParameterLinkRelation(object: unknown): boolean;
|
|
871
|
+
/** Whether `object` has a `stops` array: a color gradient. Also true for a `ColorRandomRange`, so test `isColorRandomRange` first. */
|
|
780
872
|
static isColorGradientDefinition(object: unknown): boolean;
|
|
781
873
|
/**
|
|
782
874
|
* A spawn-time random pick over a gradient: has `stops` but NO
|
|
@@ -791,7 +883,9 @@ declare class ParameterTypeChecker {
|
|
|
791
883
|
* wrapper off and compile the base + stack.
|
|
792
884
|
*/
|
|
793
885
|
static isModulatedValue(object: unknown): boolean;
|
|
886
|
+
/** Whether `value` is a number strictly greater than zero. */
|
|
794
887
|
static isPositiveNumber(value: unknown): boolean;
|
|
888
|
+
/** Whether `object` has a `textures` array: a sprite animation definition. */
|
|
795
889
|
static isSpriteAnimationOptions(object: unknown): boolean;
|
|
796
890
|
/**
|
|
797
891
|
* Recognises any variant of SpawnNumber: plain number, RandomValueRange,
|
|
@@ -853,6 +947,10 @@ type CompiledCurveSegment = {
|
|
|
853
947
|
rightXSpan: number;
|
|
854
948
|
segmentXSpan: number;
|
|
855
949
|
};
|
|
950
|
+
/**
|
|
951
|
+
* Precompiles every segment of `curve` (its points sorted by x), one per pair of consecutive points,
|
|
952
|
+
* with the segment bends applied. An empty array when the curve has fewer than two points.
|
|
953
|
+
*/
|
|
856
954
|
declare const compileCurveSegments: (curve: CurveDefinition) => CompiledCurveSegment[];
|
|
857
955
|
|
|
858
956
|
/**
|
package/dist/authoring/index.js
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* @silentstatestudio/perseon v0.1.1
|
|
3
|
+
* Required Notice: Copyright 2026 Jesús Pérez de Miguel, trading as Silent State Studio (https://perseon.dev)
|
|
4
|
+
* PolyForm Perimeter License 1.0.1 <https://polyformproject.org/licenses/perimeter/1.0.1>
|
|
5
|
+
*/
|
|
1
6
|
import {
|
|
2
7
|
ANIMATION_FORMAT_VERSION,
|
|
3
8
|
BLEND_MODE_CATALOG,
|
|
@@ -37,7 +42,7 @@ import {
|
|
|
37
42
|
isParticleEventTrigger,
|
|
38
43
|
isValidEventName,
|
|
39
44
|
sanitizeName
|
|
40
|
-
} from "../chunk-
|
|
45
|
+
} from "../chunk-BEDH7OYG.js";
|
|
41
46
|
|
|
42
47
|
// src/core/parameters/probabilityCurvePresets.ts
|
|
43
48
|
var DEFAULT_PROBABILITY_CURVE_PRESET_ID = "uniform";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/core/parameters/probabilityCurvePresets.ts"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/core/parameters/probabilityCurvePresets.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGO,IAAM,sCAAgE;AAMtE,IAAM,4BAA4B;AAAA,EACrC;AAAA,IACI,IAAI;AAAA,IACJ,OAAO;AAAA,IACP,aAAa;AAAA,IACb,SAAS;AAAA,IACT,OAAO;AAAA,MACH,QAAQ;AAAA,QACJ,EAAE,GAAG,GAAG,GAAG,EAAE;AAAA,QACb,EAAE,GAAG,GAAG,GAAG,EAAE;AAAA,MACjB;AAAA,MACA,cAAc,CAAC,CAAC;AAAA,IACpB;AAAA,EACJ;AAAA,EACA;AAAA,IACI,IAAI;AAAA,IACJ,OAAO;AAAA,IACP,aAAa;AAAA,IACb,SAAS;AAAA,IACT,OAAO;AAAA,MACH,QAAQ;AAAA,QACJ,EAAE,GAAG,GAAG,GAAG,EAAE;AAAA,QACb,EAAE,GAAG,GAAG,GAAG,KAAK;AAAA,MACpB;AAAA,MACA,cAAc,CAAC,CAAC;AAAA,IACpB;AAAA,EACJ;AAAA,EACA;AAAA,IACI,IAAI;AAAA,IACJ,OAAO;AAAA,IACP,aAAa;AAAA,IACb,SAAS;AAAA,IACT,OAAO;AAAA,MACH,QAAQ;AAAA,QACJ,EAAE,GAAG,GAAG,GAAG,KAAK;AAAA,QAChB,EAAE,GAAG,GAAG,GAAG,EAAE;AAAA,MACjB;AAAA,MACA,cAAc,CAAC,CAAC;AAAA,IACpB;AAAA,EACJ;AAAA,EACA;AAAA,IACI,IAAI;AAAA,IACJ,OAAO;AAAA,IACP,aAAa;AAAA,IACb,SAAS;AAAA,IACT,OAAO;AAAA,MACH,QAAQ;AAAA,QACJ,EAAE,GAAG,GAAG,GAAG,KAAK;AAAA,QAChB,EAAE,GAAG,KAAK,GAAG,EAAE;AAAA,QACf,EAAE,GA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