@drincs/pixi-vn 0.8.10 → 0.8.12

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.
Files changed (123) hide show
  1. package/dist/{chunk-CLEM5JSO.js → chunk-4DSUOOJZ.js} +12 -7
  2. package/dist/{chunk-BFSELN5O.js → chunk-DQ7DMCVN.js} +3 -3
  3. package/dist/{chunk-5P5R45GS.js → chunk-DVJXMGA7.js} +1 -1
  4. package/dist/{chunk-YKXFB57A.js → chunk-F6D4XKYB.js} +2 -2
  5. package/dist/{chunk-JJULPP72.js → chunk-KM3IPVQB.js} +2 -2
  6. package/dist/{chunk-XU6KNMA5.js → chunk-LWSY76DB.js} +2 -2
  7. package/dist/{chunk-PW4JD64H.js → chunk-P54QY4M5.js} +11 -11
  8. package/dist/{chunk-4WZTHGRS.js → chunk-QB7U4YO7.js} +2 -2
  9. package/dist/{chunk-U7PHXY6O.js → chunk-T2UGU2KC.js} +2 -2
  10. package/dist/{chunk-YYINIEYS.js → chunk-TH7TO24U.js} +1 -1
  11. package/dist/{chunk-EVI7CSSD.js → chunk-XJFTKOZN.js} +3 -3
  12. package/dist/{chunk-M5UWSLZX.js → chunk-ZJEPA6IC.js} +2 -2
  13. package/dist/classes/CharacterBaseModel.cjs +10 -5
  14. package/dist/classes/CharacterBaseModel.js +2 -2
  15. package/dist/classes/CharacterStoredClass.cjs +10 -5
  16. package/dist/classes/CharacterStoredClass.js +2 -2
  17. package/dist/classes/ChoiceMenuOption.cjs +10 -5
  18. package/dist/classes/ChoiceMenuOption.js +2 -2
  19. package/dist/classes/Sound.cjs +10 -5
  20. package/dist/classes/Sound.js +2 -2
  21. package/dist/classes/StoredClassModel.cjs +10 -5
  22. package/dist/classes/StoredClassModel.js +2 -2
  23. package/dist/classes/canvas/CanvasAVideo.cjs +10 -5
  24. package/dist/classes/canvas/CanvasAVideo.js +2 -2
  25. package/dist/classes/canvas/CanvasContainer.cjs +10 -5
  26. package/dist/classes/canvas/CanvasContainer.js +2 -2
  27. package/dist/classes/canvas/CanvasImage.cjs +10 -5
  28. package/dist/classes/canvas/CanvasImage.js +2 -2
  29. package/dist/classes/canvas/CanvasSprite.cjs +10 -5
  30. package/dist/classes/canvas/CanvasSprite.js +2 -2
  31. package/dist/classes/canvas/CanvasText.cjs +10 -5
  32. package/dist/classes/canvas/CanvasText.js +2 -2
  33. package/dist/classes/index.cjs +11 -6
  34. package/dist/classes/index.js +2 -2
  35. package/dist/classes/ticker/FadeAlphaTicker.cjs +10 -5
  36. package/dist/classes/ticker/FadeAlphaTicker.js +2 -2
  37. package/dist/classes/ticker/MoveTicker.cjs +10 -5
  38. package/dist/classes/ticker/MoveTicker.js +2 -2
  39. package/dist/classes/ticker/RotateTicker.cjs +10 -5
  40. package/dist/classes/ticker/RotateTicker.js +2 -2
  41. package/dist/classes/ticker/TickerBase.cjs +10 -5
  42. package/dist/classes/ticker/TickerBase.d.cts +1 -1
  43. package/dist/classes/ticker/TickerBase.d.ts +1 -1
  44. package/dist/classes/ticker/TickerBase.js +2 -2
  45. package/dist/classes/ticker/ZoomTicker.cjs +10 -5
  46. package/dist/classes/ticker/ZoomTicker.js +2 -2
  47. package/dist/classes/ticker/index.cjs +10 -5
  48. package/dist/classes/ticker/index.js +2 -2
  49. package/dist/constants.cjs +1 -1
  50. package/dist/constants.d.cts +1 -1
  51. package/dist/constants.d.ts +1 -1
  52. package/dist/constants.js +1 -1
  53. package/dist/decorators/canvas-element-decorator.cjs +10 -5
  54. package/dist/decorators/canvas-element-decorator.js +2 -2
  55. package/dist/decorators/index.cjs +10 -5
  56. package/dist/decorators/index.js +2 -2
  57. package/dist/decorators/label-decorator.cjs +10 -5
  58. package/dist/decorators/label-decorator.js +2 -2
  59. package/dist/functions/canvas/canvas-effect.cjs +10 -5
  60. package/dist/functions/canvas/canvas-effect.js +2 -2
  61. package/dist/functions/canvas/canvas-memory-utility.cjs +10 -5
  62. package/dist/functions/canvas/canvas-memory-utility.js +2 -2
  63. package/dist/functions/canvas/canvas-transition.cjs +10 -5
  64. package/dist/functions/canvas/canvas-transition.js +2 -2
  65. package/dist/functions/canvas/canvas-utility.cjs +10 -5
  66. package/dist/functions/canvas/canvas-utility.js +2 -2
  67. package/dist/functions/canvas/image-utility.cjs +10 -5
  68. package/dist/functions/canvas/image-utility.js +2 -2
  69. package/dist/functions/canvas/video-utility.cjs +10 -5
  70. package/dist/functions/canvas/video-utility.js +2 -2
  71. package/dist/functions/dialogue-utility.cjs +10 -5
  72. package/dist/functions/dialogue-utility.js +2 -2
  73. package/dist/functions/flags-utility.cjs +10 -5
  74. package/dist/functions/flags-utility.js +2 -2
  75. package/dist/functions/game-utility.cjs +10 -5
  76. package/dist/functions/game-utility.js +2 -2
  77. package/dist/functions/index.cjs +11 -6
  78. package/dist/functions/index.js +2 -2
  79. package/dist/functions/saves-utility.cjs +11 -6
  80. package/dist/functions/saves-utility.js +2 -2
  81. package/dist/index.cjs +12 -7
  82. package/dist/index.js +12 -12
  83. package/dist/interface/TickerArgs.d.cts +0 -1
  84. package/dist/interface/TickerArgs.d.ts +0 -1
  85. package/dist/labels/BaseCanvasElementTestLabel.cjs +10 -5
  86. package/dist/labels/BaseCanvasElementTestLabel.js +4 -4
  87. package/dist/labels/CanvasEventsTestLabel.cjs +10 -5
  88. package/dist/labels/CanvasEventsTestLabel.js +4 -4
  89. package/dist/labels/CustomTickerCanvasElementTestLabel.cjs +11 -6
  90. package/dist/labels/CustomTickerCanvasElementTestLabel.js +12 -12
  91. package/dist/labels/ImagesAnimationsTestLabel.cjs +10 -5
  92. package/dist/labels/ImagesAnimationsTestLabel.js +4 -4
  93. package/dist/labels/InputTestLabel.cjs +10 -5
  94. package/dist/labels/InputTestLabel.js +4 -4
  95. package/dist/labels/MarkdownTest.cjs +10 -5
  96. package/dist/labels/MarkdownTest.js +4 -4
  97. package/dist/labels/SoundTestLabel.cjs +10 -5
  98. package/dist/labels/SoundTestLabel.js +4 -4
  99. package/dist/labels/StartLabel.cjs +11 -6
  100. package/dist/labels/StartLabel.js +12 -12
  101. package/dist/labels/StepLabelTest.cjs +10 -5
  102. package/dist/labels/StepLabelTest.js +4 -4
  103. package/dist/labels/TestConstant.cjs +10 -5
  104. package/dist/labels/TestConstant.js +3 -3
  105. package/dist/labels/VideoTestLabel.cjs +10 -5
  106. package/dist/labels/VideoTestLabel.js +4 -4
  107. package/dist/labels/index.cjs +11 -6
  108. package/dist/labels/index.js +12 -12
  109. package/dist/managers/CanvasManager.cjs +10 -5
  110. package/dist/managers/CanvasManager.js +2 -2
  111. package/dist/managers/NarrationManager.cjs +10 -5
  112. package/dist/managers/NarrationManager.d.cts +3 -2
  113. package/dist/managers/NarrationManager.d.ts +3 -2
  114. package/dist/managers/NarrationManager.js +2 -2
  115. package/dist/managers/NarrationManagerStatic.cjs +10 -5
  116. package/dist/managers/NarrationManagerStatic.js +2 -2
  117. package/dist/managers/SoundManager.cjs +10 -5
  118. package/dist/managers/SoundManager.js +2 -2
  119. package/dist/managers/StorageManager.cjs +10 -5
  120. package/dist/managers/StorageManager.js +2 -2
  121. package/dist/managers/index.cjs +10 -5
  122. package/dist/managers/index.js +2 -2
  123. package/package.json +1 -1
@@ -47,7 +47,7 @@ import {
47
47
  Repeat,
48
48
  version,
49
49
  videoFormats
50
- } from "./chunk-5P5R45GS.js";
50
+ } from "./chunk-DVJXMGA7.js";
51
51
  import {
52
52
  Sound,
53
53
  SoundLibrary,
@@ -3690,12 +3690,17 @@ var NarrationManager = class {
3690
3690
  }
3691
3691
  /**
3692
3692
  * Request input from the player.
3693
- * @param value The input value to be inserted by the player.
3694
- */
3695
- requestInput(value) {
3696
- value.isRequired = true;
3697
- storage.setVariable(storage.keysSystem.CURRENT_INPUT_INFO_MEMORY_KEY, value);
3698
- storage.removeVariable(storage.keysSystem.CURRENT_INPUT_VALUE_MEMORY_KEY);
3693
+ * @param info The input value to be inserted by the player.
3694
+ * @param defaultValue The default value to be inserted.
3695
+ */
3696
+ requestInput(info, defaultValue) {
3697
+ info.isRequired = true;
3698
+ storage.setVariable(storage.keysSystem.CURRENT_INPUT_INFO_MEMORY_KEY, info);
3699
+ if (defaultValue !== void 0) {
3700
+ this.inputValue = defaultValue;
3701
+ } else {
3702
+ storage.removeVariable(storage.keysSystem.CURRENT_INPUT_VALUE_MEMORY_KEY);
3703
+ }
3699
3704
  }
3700
3705
  /**
3701
3706
  * Remove the input request.
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  juliette,
3
3
  musicalAudio
4
- } from "./chunk-YYINIEYS.js";
4
+ } from "./chunk-TH7TO24U.js";
5
5
  import {
6
6
  narration,
7
7
  newLabel,
8
8
  sound
9
- } from "./chunk-CLEM5JSO.js";
9
+ } from "./chunk-4DSUOOJZ.js";
10
10
  import {
11
11
  filters
12
- } from "./chunk-5P5R45GS.js";
12
+ } from "./chunk-DVJXMGA7.js";
13
13
 
14
14
  // src/labels/SoundTestLabel.ts
15
15
  var SOUND_TEST_LABEL = "___pixi_vn_sound_test___";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-RATGPKD3.js";
4
4
 
5
5
  // package.json
6
- var version = "0.8.10";
6
+ var version = "0.8.12";
7
7
 
8
8
  // src/constants.ts
9
9
  var Repeat = "repeat";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  bunnyImage,
3
3
  juliette
4
- } from "./chunk-YYINIEYS.js";
4
+ } from "./chunk-TH7TO24U.js";
5
5
  import {
6
6
  CanvasContainer,
7
7
  CanvasSprite,
@@ -10,7 +10,7 @@ import {
10
10
  canvas,
11
11
  narration,
12
12
  newLabel
13
- } from "./chunk-CLEM5JSO.js";
13
+ } from "./chunk-4DSUOOJZ.js";
14
14
  import {
15
15
  Assets
16
16
  } from "./chunk-2PXN34ON.js";
@@ -2,13 +2,13 @@ import {
2
2
  bunnyImage,
3
3
  bunnyName,
4
4
  juliette
5
- } from "./chunk-YYINIEYS.js";
5
+ } from "./chunk-TH7TO24U.js";
6
6
  import {
7
7
  CanvasSprite,
8
8
  canvas,
9
9
  narration,
10
10
  newLabel
11
- } from "./chunk-CLEM5JSO.js";
11
+ } from "./chunk-4DSUOOJZ.js";
12
12
  import {
13
13
  eventDecorator
14
14
  } from "./chunk-LEMOIFSV.js";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  juliette
3
- } from "./chunk-YYINIEYS.js";
3
+ } from "./chunk-TH7TO24U.js";
4
4
  import {
5
5
  narration,
6
6
  newLabel
7
- } from "./chunk-CLEM5JSO.js";
7
+ } from "./chunk-4DSUOOJZ.js";
8
8
 
9
9
  // src/labels/StepLabelTest.ts
10
10
  var STEP_LABEL_TEST_LABEL = "___pixi_vn_step_label_test___";
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  videoTest
3
- } from "./chunk-4WZTHGRS.js";
3
+ } from "./chunk-QB7U4YO7.js";
4
4
  import {
5
5
  imagesAnimationsTest
6
- } from "./chunk-EVI7CSSD.js";
6
+ } from "./chunk-XJFTKOZN.js";
7
7
  import {
8
8
  inputTestLabel
9
- } from "./chunk-M5UWSLZX.js";
9
+ } from "./chunk-ZJEPA6IC.js";
10
10
  import {
11
11
  markdownTest
12
- } from "./chunk-U7PHXY6O.js";
12
+ } from "./chunk-T2UGU2KC.js";
13
13
  import {
14
14
  soundTestLabel
15
- } from "./chunk-BFSELN5O.js";
15
+ } from "./chunk-DQ7DMCVN.js";
16
16
  import {
17
17
  stepLabelTestLAbel
18
- } from "./chunk-XU6KNMA5.js";
18
+ } from "./chunk-LWSY76DB.js";
19
19
  import {
20
20
  baseCanvasElementTestLabel
21
- } from "./chunk-YKXFB57A.js";
21
+ } from "./chunk-F6D4XKYB.js";
22
22
  import {
23
23
  canvasEventsTestLabel
24
- } from "./chunk-JJULPP72.js";
24
+ } from "./chunk-KM3IPVQB.js";
25
25
  import {
26
26
  eggHeadImage,
27
27
  eggHeadName,
28
28
  juliette
29
- } from "./chunk-YYINIEYS.js";
29
+ } from "./chunk-TH7TO24U.js";
30
30
  import {
31
31
  CanvasSprite,
32
32
  ChoiceMenuOption,
@@ -35,13 +35,13 @@ import {
35
35
  canvasElementDecorator,
36
36
  narration,
37
37
  newLabel
38
- } from "./chunk-CLEM5JSO.js";
38
+ } from "./chunk-4DSUOOJZ.js";
39
39
  import {
40
40
  tickerDecorator
41
41
  } from "./chunk-JTQGULTR.js";
42
42
  import {
43
43
  version
44
- } from "./chunk-5P5R45GS.js";
44
+ } from "./chunk-DVJXMGA7.js";
45
45
  import {
46
46
  Assets
47
47
  } from "./chunk-2PXN34ON.js";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  juliette,
3
3
  videoLink
4
- } from "./chunk-YYINIEYS.js";
4
+ } from "./chunk-TH7TO24U.js";
5
5
  import {
6
6
  canvas,
7
7
  narration,
8
8
  newLabel,
9
9
  showWithDissolveTransition
10
- } from "./chunk-CLEM5JSO.js";
10
+ } from "./chunk-4DSUOOJZ.js";
11
11
 
12
12
  // src/labels/VideoTestLabel.ts
13
13
  var VIDEO_TEST_LABEL = "___pixi_vn_video_test___";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  juliette
3
- } from "./chunk-YYINIEYS.js";
3
+ } from "./chunk-TH7TO24U.js";
4
4
  import {
5
5
  narration,
6
6
  newLabel
7
- } from "./chunk-CLEM5JSO.js";
7
+ } from "./chunk-4DSUOOJZ.js";
8
8
 
9
9
  // src/labels/MarkdownTest.ts
10
10
  var MARKDOWN_TEST_LABEL = "___pixi_vn_markdown_test___";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  CharacterBaseModel
3
- } from "./chunk-CLEM5JSO.js";
3
+ } from "./chunk-4DSUOOJZ.js";
4
4
  import {
5
5
  saveCharacter
6
6
  } from "./chunk-WX267JP2.js";
@@ -8,7 +8,7 @@ import {
8
8
  juliette,
9
9
  skullyImage,
10
10
  skullyName
11
- } from "./chunk-YYINIEYS.js";
11
+ } from "./chunk-TH7TO24U.js";
12
12
  import {
13
13
  CanvasImage,
14
14
  ChoiceMenuOption,
@@ -34,12 +34,12 @@ import {
34
34
  showWithFadeTransition,
35
35
  zoomIn,
36
36
  zoomOut
37
- } from "./chunk-CLEM5JSO.js";
37
+ } from "./chunk-4DSUOOJZ.js";
38
38
  import {
39
39
  CANVAS_APP_STAGE_ALIAS,
40
40
  Pause,
41
41
  Repeat
42
- } from "./chunk-5P5R45GS.js";
42
+ } from "./chunk-DVJXMGA7.js";
43
43
 
44
44
  // src/labels/ImagesAnimationsTestLabel.ts
45
45
  var IMAGE_ANIMAIONS_TEST_LABEL = "___pixi_vn_images_animations_test___";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  juliette
3
- } from "./chunk-YYINIEYS.js";
3
+ } from "./chunk-TH7TO24U.js";
4
4
  import {
5
5
  narration,
6
6
  newLabel
7
- } from "./chunk-CLEM5JSO.js";
7
+ } from "./chunk-4DSUOOJZ.js";
8
8
 
9
9
  // src/labels/InputTestLabel.ts
10
10
  var INPUT_TEST_LABEL = "___pixi_vn_input_test___";
@@ -61237,12 +61237,17 @@ var NarrationManager = class {
61237
61237
  }
61238
61238
  /**
61239
61239
  * Request input from the player.
61240
- * @param value The input value to be inserted by the player.
61240
+ * @param info The input value to be inserted by the player.
61241
+ * @param defaultValue The default value to be inserted.
61241
61242
  */
61242
- requestInput(value) {
61243
- value.isRequired = true;
61244
- storage.setVariable(storage.keysSystem.CURRENT_INPUT_INFO_MEMORY_KEY, value);
61245
- storage.removeVariable(storage.keysSystem.CURRENT_INPUT_VALUE_MEMORY_KEY);
61243
+ requestInput(info, defaultValue2) {
61244
+ info.isRequired = true;
61245
+ storage.setVariable(storage.keysSystem.CURRENT_INPUT_INFO_MEMORY_KEY, info);
61246
+ if (defaultValue2 !== void 0) {
61247
+ this.inputValue = defaultValue2;
61248
+ } else {
61249
+ storage.removeVariable(storage.keysSystem.CURRENT_INPUT_VALUE_MEMORY_KEY);
61250
+ }
61246
61251
  }
61247
61252
  /**
61248
61253
  * Remove the input request.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  CharacterBaseModel
3
- } from "../chunk-CLEM5JSO.js";
3
+ } from "../chunk-4DSUOOJZ.js";
4
4
  import "../chunk-OMPJ74CO.js";
5
5
  import "../chunk-2BUPSB7O.js";
6
6
  import "../chunk-CZKJI26F.js";
@@ -18,7 +18,7 @@ import "../chunk-ZBUW3MBH.js";
18
18
  import "../chunk-PIYIZHZL.js";
19
19
  import "../chunk-WX267JP2.js";
20
20
  import "../chunk-LEMOIFSV.js";
21
- import "../chunk-5P5R45GS.js";
21
+ import "../chunk-DVJXMGA7.js";
22
22
  import "../chunk-RATGPKD3.js";
23
23
  import "../chunk-2PXN34ON.js";
24
24
  import "../chunk-TAJJZPEH.js";
@@ -61237,12 +61237,17 @@ var NarrationManager = class {
61237
61237
  }
61238
61238
  /**
61239
61239
  * Request input from the player.
61240
- * @param value The input value to be inserted by the player.
61240
+ * @param info The input value to be inserted by the player.
61241
+ * @param defaultValue The default value to be inserted.
61241
61242
  */
61242
- requestInput(value) {
61243
- value.isRequired = true;
61244
- storage.setVariable(storage.keysSystem.CURRENT_INPUT_INFO_MEMORY_KEY, value);
61245
- storage.removeVariable(storage.keysSystem.CURRENT_INPUT_VALUE_MEMORY_KEY);
61243
+ requestInput(info, defaultValue2) {
61244
+ info.isRequired = true;
61245
+ storage.setVariable(storage.keysSystem.CURRENT_INPUT_INFO_MEMORY_KEY, info);
61246
+ if (defaultValue2 !== void 0) {
61247
+ this.inputValue = defaultValue2;
61248
+ } else {
61249
+ storage.removeVariable(storage.keysSystem.CURRENT_INPUT_VALUE_MEMORY_KEY);
61250
+ }
61246
61251
  }
61247
61252
  /**
61248
61253
  * Remove the input request.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  CharacterStoredClass
3
- } from "../chunk-CLEM5JSO.js";
3
+ } from "../chunk-4DSUOOJZ.js";
4
4
  import "../chunk-OMPJ74CO.js";
5
5
  import "../chunk-2BUPSB7O.js";
6
6
  import "../chunk-CZKJI26F.js";
@@ -18,7 +18,7 @@ import "../chunk-ZBUW3MBH.js";
18
18
  import "../chunk-PIYIZHZL.js";
19
19
  import "../chunk-WX267JP2.js";
20
20
  import "../chunk-LEMOIFSV.js";
21
- import "../chunk-5P5R45GS.js";
21
+ import "../chunk-DVJXMGA7.js";
22
22
  import "../chunk-RATGPKD3.js";
23
23
  import "../chunk-2PXN34ON.js";
24
24
  import "../chunk-TAJJZPEH.js";
@@ -60588,12 +60588,17 @@ var NarrationManager = class {
60588
60588
  }
60589
60589
  /**
60590
60590
  * Request input from the player.
60591
- * @param value The input value to be inserted by the player.
60591
+ * @param info The input value to be inserted by the player.
60592
+ * @param defaultValue The default value to be inserted.
60592
60593
  */
60593
- requestInput(value) {
60594
- value.isRequired = true;
60595
- storage.setVariable(storage.keysSystem.CURRENT_INPUT_INFO_MEMORY_KEY, value);
60596
- storage.removeVariable(storage.keysSystem.CURRENT_INPUT_VALUE_MEMORY_KEY);
60594
+ requestInput(info, defaultValue2) {
60595
+ info.isRequired = true;
60596
+ storage.setVariable(storage.keysSystem.CURRENT_INPUT_INFO_MEMORY_KEY, info);
60597
+ if (defaultValue2 !== void 0) {
60598
+ this.inputValue = defaultValue2;
60599
+ } else {
60600
+ storage.removeVariable(storage.keysSystem.CURRENT_INPUT_VALUE_MEMORY_KEY);
60601
+ }
60597
60602
  }
60598
60603
  /**
60599
60604
  * Remove the input request.
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ChoiceMenuOption,
3
3
  ChoiceMenuOptionClose
4
- } from "../chunk-CLEM5JSO.js";
4
+ } from "../chunk-4DSUOOJZ.js";
5
5
  import "../chunk-OMPJ74CO.js";
6
6
  import "../chunk-2BUPSB7O.js";
7
7
  import "../chunk-CZKJI26F.js";
@@ -19,7 +19,7 @@ import "../chunk-ZBUW3MBH.js";
19
19
  import "../chunk-PIYIZHZL.js";
20
20
  import "../chunk-WX267JP2.js";
21
21
  import "../chunk-LEMOIFSV.js";
22
- import "../chunk-5P5R45GS.js";
22
+ import "../chunk-DVJXMGA7.js";
23
23
  import "../chunk-RATGPKD3.js";
24
24
  import "../chunk-2PXN34ON.js";
25
25
  import "../chunk-TAJJZPEH.js";
@@ -61102,12 +61102,17 @@ var NarrationManager = class {
61102
61102
  }
61103
61103
  /**
61104
61104
  * Request input from the player.
61105
- * @param value The input value to be inserted by the player.
61105
+ * @param info The input value to be inserted by the player.
61106
+ * @param defaultValue The default value to be inserted.
61106
61107
  */
61107
- requestInput(value) {
61108
- value.isRequired = true;
61109
- storage.setVariable(storage.keysSystem.CURRENT_INPUT_INFO_MEMORY_KEY, value);
61110
- storage.removeVariable(storage.keysSystem.CURRENT_INPUT_VALUE_MEMORY_KEY);
61108
+ requestInput(info, defaultValue2) {
61109
+ info.isRequired = true;
61110
+ storage.setVariable(storage.keysSystem.CURRENT_INPUT_INFO_MEMORY_KEY, info);
61111
+ if (defaultValue2 !== void 0) {
61112
+ this.inputValue = defaultValue2;
61113
+ } else {
61114
+ storage.removeVariable(storage.keysSystem.CURRENT_INPUT_VALUE_MEMORY_KEY);
61115
+ }
61111
61116
  }
61112
61117
  /**
61113
61118
  * Remove the input request.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Sound
3
- } from "../chunk-CLEM5JSO.js";
3
+ } from "../chunk-4DSUOOJZ.js";
4
4
  import "../chunk-OMPJ74CO.js";
5
5
  import "../chunk-2BUPSB7O.js";
6
6
  import "../chunk-CZKJI26F.js";
@@ -18,7 +18,7 @@ import "../chunk-ZBUW3MBH.js";
18
18
  import "../chunk-PIYIZHZL.js";
19
19
  import "../chunk-WX267JP2.js";
20
20
  import "../chunk-LEMOIFSV.js";
21
- import "../chunk-5P5R45GS.js";
21
+ import "../chunk-DVJXMGA7.js";
22
22
  import "../chunk-RATGPKD3.js";
23
23
  import "../chunk-2PXN34ON.js";
24
24
  import "../chunk-TAJJZPEH.js";
@@ -61179,12 +61179,17 @@ var NarrationManager = class {
61179
61179
  }
61180
61180
  /**
61181
61181
  * Request input from the player.
61182
- * @param value The input value to be inserted by the player.
61182
+ * @param info The input value to be inserted by the player.
61183
+ * @param defaultValue The default value to be inserted.
61183
61184
  */
61184
- requestInput(value) {
61185
- value.isRequired = true;
61186
- storage.setVariable(storage.keysSystem.CURRENT_INPUT_INFO_MEMORY_KEY, value);
61187
- storage.removeVariable(storage.keysSystem.CURRENT_INPUT_VALUE_MEMORY_KEY);
61185
+ requestInput(info, defaultValue2) {
61186
+ info.isRequired = true;
61187
+ storage.setVariable(storage.keysSystem.CURRENT_INPUT_INFO_MEMORY_KEY, info);
61188
+ if (defaultValue2 !== void 0) {
61189
+ this.inputValue = defaultValue2;
61190
+ } else {
61191
+ storage.removeVariable(storage.keysSystem.CURRENT_INPUT_VALUE_MEMORY_KEY);
61192
+ }
61188
61193
  }
61189
61194
  /**
61190
61195
  * Remove the input request.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  StoredClassModel
3
- } from "../chunk-CLEM5JSO.js";
3
+ } from "../chunk-4DSUOOJZ.js";
4
4
  import "../chunk-OMPJ74CO.js";
5
5
  import "../chunk-2BUPSB7O.js";
6
6
  import "../chunk-CZKJI26F.js";
@@ -18,7 +18,7 @@ import "../chunk-ZBUW3MBH.js";
18
18
  import "../chunk-PIYIZHZL.js";
19
19
  import "../chunk-WX267JP2.js";
20
20
  import "../chunk-LEMOIFSV.js";
21
- import "../chunk-5P5R45GS.js";
21
+ import "../chunk-DVJXMGA7.js";
22
22
  import "../chunk-RATGPKD3.js";
23
23
  import "../chunk-2PXN34ON.js";
24
24
  import "../chunk-TAJJZPEH.js";
@@ -60893,12 +60893,17 @@ var NarrationManager = class {
60893
60893
  }
60894
60894
  /**
60895
60895
  * Request input from the player.
60896
- * @param value The input value to be inserted by the player.
60896
+ * @param info The input value to be inserted by the player.
60897
+ * @param defaultValue The default value to be inserted.
60897
60898
  */
60898
- requestInput(value) {
60899
- value.isRequired = true;
60900
- storage.setVariable(storage.keysSystem.CURRENT_INPUT_INFO_MEMORY_KEY, value);
60901
- storage.removeVariable(storage.keysSystem.CURRENT_INPUT_VALUE_MEMORY_KEY);
60899
+ requestInput(info, defaultValue2) {
60900
+ info.isRequired = true;
60901
+ storage.setVariable(storage.keysSystem.CURRENT_INPUT_INFO_MEMORY_KEY, info);
60902
+ if (defaultValue2 !== void 0) {
60903
+ this.inputValue = defaultValue2;
60904
+ } else {
60905
+ storage.removeVariable(storage.keysSystem.CURRENT_INPUT_VALUE_MEMORY_KEY);
60906
+ }
60902
60907
  }
60903
60908
  /**
60904
60909
  * Remove the input request.
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  CANVAS_VIDEO_ID,
3
3
  CanvasVideo
4
- } from "../../chunk-CLEM5JSO.js";
4
+ } from "../../chunk-4DSUOOJZ.js";
5
5
  import "../../chunk-OMPJ74CO.js";
6
6
  import "../../chunk-2BUPSB7O.js";
7
7
  import "../../chunk-CZKJI26F.js";
@@ -19,7 +19,7 @@ import "../../chunk-ZBUW3MBH.js";
19
19
  import "../../chunk-PIYIZHZL.js";
20
20
  import "../../chunk-WX267JP2.js";
21
21
  import "../../chunk-LEMOIFSV.js";
22
- import "../../chunk-5P5R45GS.js";
22
+ import "../../chunk-DVJXMGA7.js";
23
23
  import "../../chunk-RATGPKD3.js";
24
24
  import "../../chunk-2PXN34ON.js";
25
25
  import "../../chunk-TAJJZPEH.js";
@@ -60630,12 +60630,17 @@ var NarrationManager = class {
60630
60630
  }
60631
60631
  /**
60632
60632
  * Request input from the player.
60633
- * @param value The input value to be inserted by the player.
60633
+ * @param info The input value to be inserted by the player.
60634
+ * @param defaultValue The default value to be inserted.
60634
60635
  */
60635
- requestInput(value) {
60636
- value.isRequired = true;
60637
- storage.setVariable(storage.keysSystem.CURRENT_INPUT_INFO_MEMORY_KEY, value);
60638
- storage.removeVariable(storage.keysSystem.CURRENT_INPUT_VALUE_MEMORY_KEY);
60636
+ requestInput(info, defaultValue2) {
60637
+ info.isRequired = true;
60638
+ storage.setVariable(storage.keysSystem.CURRENT_INPUT_INFO_MEMORY_KEY, info);
60639
+ if (defaultValue2 !== void 0) {
60640
+ this.inputValue = defaultValue2;
60641
+ } else {
60642
+ storage.removeVariable(storage.keysSystem.CURRENT_INPUT_VALUE_MEMORY_KEY);
60643
+ }
60639
60644
  }
60640
60645
  /**
60641
60646
  * Remove the input request.
@@ -3,7 +3,7 @@ import {
3
3
  CanvasContainer,
4
4
  getMemoryContainer,
5
5
  setMemoryContainer
6
- } from "../../chunk-CLEM5JSO.js";
6
+ } from "../../chunk-4DSUOOJZ.js";
7
7
  import "../../chunk-OMPJ74CO.js";
8
8
  import "../../chunk-2BUPSB7O.js";
9
9
  import "../../chunk-CZKJI26F.js";
@@ -21,7 +21,7 @@ import "../../chunk-ZBUW3MBH.js";
21
21
  import "../../chunk-PIYIZHZL.js";
22
22
  import "../../chunk-WX267JP2.js";
23
23
  import "../../chunk-LEMOIFSV.js";
24
- import "../../chunk-5P5R45GS.js";
24
+ import "../../chunk-DVJXMGA7.js";
25
25
  import "../../chunk-RATGPKD3.js";
26
26
  import "../../chunk-2PXN34ON.js";
27
27
  import "../../chunk-TAJJZPEH.js";
@@ -61007,12 +61007,17 @@ var NarrationManager = class {
61007
61007
  }
61008
61008
  /**
61009
61009
  * Request input from the player.
61010
- * @param value The input value to be inserted by the player.
61010
+ * @param info The input value to be inserted by the player.
61011
+ * @param defaultValue The default value to be inserted.
61011
61012
  */
61012
- requestInput(value) {
61013
- value.isRequired = true;
61014
- storage.setVariable(storage.keysSystem.CURRENT_INPUT_INFO_MEMORY_KEY, value);
61015
- storage.removeVariable(storage.keysSystem.CURRENT_INPUT_VALUE_MEMORY_KEY);
61013
+ requestInput(info, defaultValue2) {
61014
+ info.isRequired = true;
61015
+ storage.setVariable(storage.keysSystem.CURRENT_INPUT_INFO_MEMORY_KEY, info);
61016
+ if (defaultValue2 !== void 0) {
61017
+ this.inputValue = defaultValue2;
61018
+ } else {
61019
+ storage.removeVariable(storage.keysSystem.CURRENT_INPUT_VALUE_MEMORY_KEY);
61020
+ }
61016
61021
  }
61017
61022
  /**
61018
61023
  * Remove the input request.
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  CANVAS_IMAGE_ID,
3
3
  CanvasImage
4
- } from "../../chunk-CLEM5JSO.js";
4
+ } from "../../chunk-4DSUOOJZ.js";
5
5
  import "../../chunk-OMPJ74CO.js";
6
6
  import "../../chunk-2BUPSB7O.js";
7
7
  import "../../chunk-CZKJI26F.js";
@@ -19,7 +19,7 @@ import "../../chunk-ZBUW3MBH.js";
19
19
  import "../../chunk-PIYIZHZL.js";
20
20
  import "../../chunk-WX267JP2.js";
21
21
  import "../../chunk-LEMOIFSV.js";
22
- import "../../chunk-5P5R45GS.js";
22
+ import "../../chunk-DVJXMGA7.js";
23
23
  import "../../chunk-RATGPKD3.js";
24
24
  import "../../chunk-2PXN34ON.js";
25
25
  import "../../chunk-TAJJZPEH.js";
@@ -61058,12 +61058,17 @@ var NarrationManager = class {
61058
61058
  }
61059
61059
  /**
61060
61060
  * Request input from the player.
61061
- * @param value The input value to be inserted by the player.
61061
+ * @param info The input value to be inserted by the player.
61062
+ * @param defaultValue The default value to be inserted.
61062
61063
  */
61063
- requestInput(value) {
61064
- value.isRequired = true;
61065
- storage.setVariable(storage.keysSystem.CURRENT_INPUT_INFO_MEMORY_KEY, value);
61066
- storage.removeVariable(storage.keysSystem.CURRENT_INPUT_VALUE_MEMORY_KEY);
61064
+ requestInput(info, defaultValue2) {
61065
+ info.isRequired = true;
61066
+ storage.setVariable(storage.keysSystem.CURRENT_INPUT_INFO_MEMORY_KEY, info);
61067
+ if (defaultValue2 !== void 0) {
61068
+ this.inputValue = defaultValue2;
61069
+ } else {
61070
+ storage.removeVariable(storage.keysSystem.CURRENT_INPUT_VALUE_MEMORY_KEY);
61071
+ }
61067
61072
  }
61068
61073
  /**
61069
61074
  * Remove the input request.
@@ -3,7 +3,7 @@ import {
3
3
  CanvasSprite,
4
4
  getMemorySprite,
5
5
  setMemorySprite
6
- } from "../../chunk-CLEM5JSO.js";
6
+ } from "../../chunk-4DSUOOJZ.js";
7
7
  import "../../chunk-OMPJ74CO.js";
8
8
  import "../../chunk-2BUPSB7O.js";
9
9
  import "../../chunk-CZKJI26F.js";
@@ -21,7 +21,7 @@ import "../../chunk-ZBUW3MBH.js";
21
21
  import "../../chunk-PIYIZHZL.js";
22
22
  import "../../chunk-WX267JP2.js";
23
23
  import "../../chunk-LEMOIFSV.js";
24
- import "../../chunk-5P5R45GS.js";
24
+ import "../../chunk-DVJXMGA7.js";
25
25
  import "../../chunk-RATGPKD3.js";
26
26
  import "../../chunk-2PXN34ON.js";
27
27
  import "../../chunk-TAJJZPEH.js";
@@ -60525,12 +60525,17 @@ var NarrationManager = class {
60525
60525
  }
60526
60526
  /**
60527
60527
  * Request input from the player.
60528
- * @param value The input value to be inserted by the player.
60528
+ * @param info The input value to be inserted by the player.
60529
+ * @param defaultValue The default value to be inserted.
60529
60530
  */
60530
- requestInput(value) {
60531
- value.isRequired = true;
60532
- storage.setVariable(storage.keysSystem.CURRENT_INPUT_INFO_MEMORY_KEY, value);
60533
- storage.removeVariable(storage.keysSystem.CURRENT_INPUT_VALUE_MEMORY_KEY);
60531
+ requestInput(info, defaultValue2) {
60532
+ info.isRequired = true;
60533
+ storage.setVariable(storage.keysSystem.CURRENT_INPUT_INFO_MEMORY_KEY, info);
60534
+ if (defaultValue2 !== void 0) {
60535
+ this.inputValue = defaultValue2;
60536
+ } else {
60537
+ storage.removeVariable(storage.keysSystem.CURRENT_INPUT_VALUE_MEMORY_KEY);
60538
+ }
60534
60539
  }
60535
60540
  /**
60536
60541
  * Remove the input request.