@rive-app/canvas 2.46.0 → 2.47.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rive-app/canvas",
3
- "version": "2.46.0",
3
+ "version": "2.47.0",
4
4
  "description": "Rive's canvas based web api.",
5
5
  "main": "rive.js",
6
6
  "homepage": "https://rive.app",
package/rive.js CHANGED
@@ -9,12 +9,12 @@
9
9
  root["rive"] = factory();
10
10
  })(this, () => {
11
11
  return /******/ (() => { // webpackBootstrap
12
- /******/ "use strict";
13
12
  /******/ var __webpack_modules__ = ([
14
13
  /* 0 */,
15
14
  /* 1 */
16
15
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
17
16
 
17
+ "use strict";
18
18
  __webpack_require__.r(__webpack_exports__);
19
19
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
20
20
  /* harmony export */ Animation: () => (/* reexport safe */ _Animation__WEBPACK_IMPORTED_MODULE_0__.Animation)
@@ -27,6 +27,7 @@ __webpack_require__.r(__webpack_exports__);
27
27
  /* 2 */
28
28
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
29
29
 
30
+ "use strict";
30
31
  __webpack_require__.r(__webpack_exports__);
31
32
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
32
33
  /* harmony export */ Animation: () => (/* binding */ Animation)
@@ -149,12 +150,15 @@ var Animation = /** @class */ (function () {
149
150
  /* 3 */
150
151
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
151
152
 
153
+ "use strict";
152
154
  __webpack_require__.r(__webpack_exports__);
153
155
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
154
156
  /* harmony export */ RuntimeLoader: () => (/* binding */ RuntimeLoader)
155
157
  /* harmony export */ });
156
158
  /* harmony import */ var _rive_advanced_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(4);
157
- /* harmony import */ var package_json__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5);
159
+ /* harmony import */ var _rive_threads_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(5);
160
+ /* harmony import */ var _rive_threads_mjs__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_rive_threads_mjs__WEBPACK_IMPORTED_MODULE_1__);
161
+ /* harmony import */ var package_json__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(6);
158
162
  var __assign = (undefined && undefined.__assign) || function () {
159
163
  __assign = Object.assign || function(t) {
160
164
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -168,6 +172,32 @@ var __assign = (undefined && undefined.__assign) || function () {
168
172
  };
169
173
 
170
174
 
175
+
176
+ // A module with a shared memory, an atomic load and a SIMD constant.
177
+ var threadsProbe = new Uint8Array([
178
+ 0x00, 0x61, 0x73, 0x6d, 0x01, 0x00, 0x00, 0x00, 0x01, 0x09, 0x02, 0x60, 0x00,
179
+ 0x01, 0x7f, 0x60, 0x00, 0x01, 0x7b, 0x03, 0x03, 0x02, 0x00, 0x01, 0x05, 0x04,
180
+ 0x01, 0x03, 0x01, 0x01, 0x0a, 0x1f, 0x02, 0x08, 0x00, 0x41, 0x00, 0xfe, 0x10,
181
+ 0x02, 0x00, 0x0b, 0x14, 0x00, 0xfd, 0x0c, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
182
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0b,
183
+ ]);
184
+ // Null when this page can run the threaded build, else why not. A page that
185
+ // is not isolated gets no shared memory, and the threaded build never loads.
186
+ function threadsRefusal() {
187
+ if (globalThis.crossOriginIsolated !== true) {
188
+ return "the page is not cross origin isolated";
189
+ }
190
+ try {
191
+ new MessageChannel().port1.postMessage(new SharedArrayBuffer(1));
192
+ }
193
+ catch (_a) {
194
+ return "the page cannot share memory with workers";
195
+ }
196
+ if (!WebAssembly.validate(threadsProbe)) {
197
+ return "the browser cannot run wasm threads with SIMD";
198
+ }
199
+ return null;
200
+ }
171
201
  // Runtime singleton; use getInstance to provide a callback that returns the
172
202
  // Rive runtime
173
203
  var RuntimeLoader = /** @class */ (function () {
@@ -184,8 +214,51 @@ var RuntimeLoader = /** @class */ (function () {
184
214
  }
185
215
  RuntimeLoader.callBackQueue = [];
186
216
  };
187
- // Loads the runtime
217
+ RuntimeLoader.loaded = function (rive) {
218
+ var _a;
219
+ if (RuntimeLoader.enablePerfMarks) {
220
+ performance.mark('rive:wasm-init:end');
221
+ performance.measure('rive:wasm-init', 'rive:wasm-init:start', 'rive:wasm-init:end');
222
+ }
223
+ RuntimeLoader.runtime = rive;
224
+ RuntimeLoader.errorCallbackQueue = [];
225
+ // Fire all the callbacks
226
+ while (RuntimeLoader.callBackQueue.length > 0) {
227
+ (_a = RuntimeLoader.callBackQueue.shift()) === null || _a === void 0 ? void 0 : _a(RuntimeLoader.runtime);
228
+ }
229
+ };
230
+ // Loads the runtime, threaded once per page where it can be, and otherwise
231
+ // without threads.
188
232
  RuntimeLoader.loadRuntime = function () {
233
+ // Other packages bundle an empty module here, which webpack's interop
234
+ // hands over as an object rather than undefined.
235
+ var threaded = (_rive_threads_mjs__WEBPACK_IMPORTED_MODULE_1___default());
236
+ var threadsUrl = RuntimeLoader.wasmThreadsURL;
237
+ // A host's own binary is a build without threads.
238
+ if (typeof threaded !== "function" ||
239
+ threadsUrl === null ||
240
+ RuntimeLoader.wasmBinary !== null ||
241
+ RuntimeLoader.triedThreads) {
242
+ RuntimeLoader.loadUnthreaded();
243
+ return;
244
+ }
245
+ RuntimeLoader.triedThreads = true;
246
+ var refusal = threadsRefusal();
247
+ if (refusal !== null) {
248
+ console.warn("Rive is running without threads: ".concat(refusal, "."));
249
+ RuntimeLoader.loadUnthreaded();
250
+ return;
251
+ }
252
+ if (RuntimeLoader.enablePerfMarks)
253
+ performance.mark('rive:wasm-init:start');
254
+ // Not a catch, which would also take a throw from a callback.
255
+ threaded({ locateFile: function () { return threadsUrl; } }).then(RuntimeLoader.loaded, function (error) {
256
+ var _a;
257
+ console.warn("Rive is running without threads: the threaded build failed to load (".concat((_a = error === null || error === void 0 ? void 0 : error.message) !== null && _a !== void 0 ? _a : error, ")."));
258
+ RuntimeLoader.loadUnthreaded();
259
+ });
260
+ };
261
+ RuntimeLoader.loadUnthreaded = function () {
189
262
  // Capture the URL at call time so the catch closure always refers to the
190
263
  // URL this particular attempt used, even if wasmURL is mutated for a retry.
191
264
  var attemptedUrl = RuntimeLoader.wasmURL;
@@ -195,19 +268,7 @@ var RuntimeLoader = /** @class */ (function () {
195
268
  _rive_advanced_mjs__WEBPACK_IMPORTED_MODULE_0__["default"](__assign({
196
269
  // Loads Wasm bundle
197
270
  locateFile: function () { return attemptedUrl; } }, (wasmBinary ? { wasmBinary: wasmBinary } : {})))
198
- .then(function (rive) {
199
- var _a;
200
- if (RuntimeLoader.enablePerfMarks) {
201
- performance.mark('rive:wasm-init:end');
202
- performance.measure('rive:wasm-init', 'rive:wasm-init:start', 'rive:wasm-init:end');
203
- }
204
- RuntimeLoader.runtime = rive;
205
- RuntimeLoader.errorCallbackQueue = [];
206
- // Fire all the callbacks
207
- while (RuntimeLoader.callBackQueue.length > 0) {
208
- (_a = RuntimeLoader.callBackQueue.shift()) === null || _a === void 0 ? void 0 : _a(RuntimeLoader.runtime);
209
- }
210
- })
271
+ .then(RuntimeLoader.loaded)
211
272
  .catch(function (error) {
212
273
  // Capture specific error details
213
274
  var errorDetails = {
@@ -233,7 +294,7 @@ var RuntimeLoader = /** @class */ (function () {
233
294
  // instead of re-using the same (failing) in-memory binary.
234
295
  RuntimeLoader.wasmBinary = null;
235
296
  RuntimeLoader.setWasmUrl(fallbackUrl);
236
- RuntimeLoader.loadRuntime();
297
+ RuntimeLoader.loadUnthreaded();
237
298
  }
238
299
  else {
239
300
  // When alreadyOnFallback is true, wasmURL has already been overwritten
@@ -306,6 +367,21 @@ var RuntimeLoader = /** @class */ (function () {
306
367
  RuntimeLoader.getWasmFallbackUrl = function () {
307
368
  return RuntimeLoader.wasmFallbackURL;
308
369
  };
370
+ /**
371
+ * Sets the URL of the threaded build's wasm, which
372
+ * `@rive-app/webgl2-threads` loads on a cross origin isolated page. Pass
373
+ * `null` to always load the build without threads. Other packages have no
374
+ * threaded build and ignore it.
375
+ *
376
+ * Defaults to pulling from the unpkg CDN.
377
+ */
378
+ RuntimeLoader.setWasmThreadsUrl = function (url) {
379
+ RuntimeLoader.wasmThreadsURL = url;
380
+ };
381
+ // Gets the threaded build's wasm url (null means threads are off)
382
+ RuntimeLoader.getWasmThreadsUrl = function () {
383
+ return RuntimeLoader.wasmThreadsURL;
384
+ };
309
385
  // Manually sets the wasm binary or clears it with null
310
386
  RuntimeLoader.setWasmBinary = function (value) {
311
387
  if ((value instanceof ArrayBuffer) || value === null) {
@@ -324,11 +400,17 @@ var RuntimeLoader = /** @class */ (function () {
324
400
  RuntimeLoader.callBackQueue = [];
325
401
  // Path to the Wasm file; default path works for testing only;
326
402
  // if embedded wasm is used then this is never used.
327
- RuntimeLoader.wasmURL = "https://unpkg.com/".concat(package_json__WEBPACK_IMPORTED_MODULE_1__.name, "@").concat(package_json__WEBPACK_IMPORTED_MODULE_1__.version, "/rive.wasm");
403
+ RuntimeLoader.wasmURL = "https://unpkg.com/".concat(package_json__WEBPACK_IMPORTED_MODULE_2__.name, "@").concat(package_json__WEBPACK_IMPORTED_MODULE_2__.version, "/rive.wasm");
328
404
  // Fallback WASM URL tried when the primary URL fails. Set to null to disable
329
405
  // the fallback entirely. Defaults to pulling from the jsdelivr CDN.
330
- RuntimeLoader.wasmFallbackURL = "https://cdn.jsdelivr.net/npm/".concat(package_json__WEBPACK_IMPORTED_MODULE_1__.name, "@").concat(package_json__WEBPACK_IMPORTED_MODULE_1__.version, "/rive_fallback.wasm");
406
+ RuntimeLoader.wasmFallbackURL = "https://cdn.jsdelivr.net/npm/".concat(package_json__WEBPACK_IMPORTED_MODULE_2__.name, "@").concat(package_json__WEBPACK_IMPORTED_MODULE_2__.version, "/rive_fallback.wasm");
331
407
  RuntimeLoader.wasmBinary = null;
408
+ // The threaded build's wasm, tried first on a page that can run it. Null
409
+ // in packages without one, or to stay on the build without threads.
410
+ RuntimeLoader.wasmThreadsURL = typeof (_rive_threads_mjs__WEBPACK_IMPORTED_MODULE_1___default()) === "function"
411
+ ? "https://unpkg.com/".concat(package_json__WEBPACK_IMPORTED_MODULE_2__.name, "@").concat(package_json__WEBPACK_IMPORTED_MODULE_2__.version, "/rive_threads.wasm")
412
+ : null;
413
+ RuntimeLoader.triedThreads = false;
332
414
  // Error callbacks enqueued from .getInstance()
333
415
  RuntimeLoader.errorCallbackQueue = [];
334
416
  /**
@@ -345,6 +427,7 @@ var RuntimeLoader = /** @class */ (function () {
345
427
  /* 4 */
346
428
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
347
429
 
430
+ "use strict";
348
431
  __webpack_require__.r(__webpack_exports__);
349
432
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
350
433
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
@@ -704,14 +787,22 @@ l.dynCall_iiiji;jd.iiji=l.dynCall_iiji;jd.jii=l.dynCall_jii;jd.vijj=l.dynCall_vi
704
787
 
705
788
  /***/ }),
706
789
  /* 5 */
707
- /***/ ((module) => {
790
+ /***/ (() => {
708
791
 
709
- module.exports = /*#__PURE__*/JSON.parse('{"name":"@rive-app/canvas","version":"2.46.0","description":"Rive\'s canvas based web api.","main":"rive.js","homepage":"https://rive.app","repository":{"type":"git","url":"https://github.com/rive-app/rive-wasm/tree/master/js"},"keywords":["rive","animation"],"author":"Rive","contributors":["Luigi Rosso <luigi@rive.app> (https://rive.app)","Maxwell Talbot <max@rive.app> (https://rive.app)","Arthur Vivian <arthur@rive.app> (https://rive.app)","Umberto Sonnino <umberto@rive.app> (https://rive.app)","Matthew Sullivan <matt.j.sullivan@gmail.com> (mailto:matt.j.sullivan@gmail.com)"],"license":"MIT","files":["rive.js","rive.js.map","rive.wasm","rive_fallback.wasm","rive.d.ts","rive_advanced.mjs.d.ts","runtimeLoader.d.ts","utils","semantics"],"typings":"rive.d.ts","dependencies":{},"browser":{"fs":false,"path":false}}');
792
+ /* (ignored) */
710
793
 
711
794
  /***/ }),
712
795
  /* 6 */
796
+ /***/ ((module) => {
797
+
798
+ "use strict";
799
+ module.exports = /*#__PURE__*/JSON.parse('{"name":"@rive-app/canvas","version":"2.47.0","description":"Rive\'s canvas based web api.","main":"rive.js","homepage":"https://rive.app","repository":{"type":"git","url":"https://github.com/rive-app/rive-wasm/tree/master/js"},"keywords":["rive","animation"],"author":"Rive","contributors":["Luigi Rosso <luigi@rive.app> (https://rive.app)","Maxwell Talbot <max@rive.app> (https://rive.app)","Arthur Vivian <arthur@rive.app> (https://rive.app)","Umberto Sonnino <umberto@rive.app> (https://rive.app)","Matthew Sullivan <matt.j.sullivan@gmail.com> (mailto:matt.j.sullivan@gmail.com)"],"license":"MIT","files":["rive.js","rive.js.map","rive.wasm","rive_fallback.wasm","rive.d.ts","rive_advanced.mjs.d.ts","runtimeLoader.d.ts","utils","semantics"],"typings":"rive.d.ts","dependencies":{},"browser":{"fs":false,"path":false}}');
800
+
801
+ /***/ }),
802
+ /* 7 */
713
803
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
714
804
 
805
+ "use strict";
715
806
  __webpack_require__.r(__webpack_exports__);
716
807
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
717
808
  /* harmony export */ AccessibilityOverlay: () => (/* reexport safe */ _accessibilityOverlay__WEBPACK_IMPORTED_MODULE_1__.AccessibilityOverlay),
@@ -731,23 +822,24 @@ __webpack_require__.r(__webpack_exports__);
731
822
  /* harmony export */ stateNames: () => (/* reexport safe */ _types__WEBPACK_IMPORTED_MODULE_2__.stateNames),
732
823
  /* harmony export */ traitNames: () => (/* reexport safe */ _types__WEBPACK_IMPORTED_MODULE_2__.traitNames)
733
824
  /* harmony export */ });
734
- /* harmony import */ var _semanticTreeModel__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7);
735
- /* harmony import */ var _accessibilityOverlay__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9);
736
- /* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8);
825
+ /* harmony import */ var _semanticTreeModel__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8);
826
+ /* harmony import */ var _accessibilityOverlay__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(10);
827
+ /* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9);
737
828
 
738
829
 
739
830
 
740
831
 
741
832
 
742
833
  /***/ }),
743
- /* 7 */
834
+ /* 8 */
744
835
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
745
836
 
837
+ "use strict";
746
838
  __webpack_require__.r(__webpack_exports__);
747
839
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
748
840
  /* harmony export */ SemanticTreeModel: () => (/* binding */ SemanticTreeModel)
749
841
  /* harmony export */ });
750
- /* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8);
842
+ /* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9);
751
843
  var __spreadArray = (undefined && undefined.__spreadArray) || function (to, from, pack) {
752
844
  if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
753
845
  if (ar || !(i in from)) {
@@ -1195,9 +1287,10 @@ function applyGeometry(target, src) {
1195
1287
 
1196
1288
 
1197
1289
  /***/ }),
1198
- /* 8 */
1290
+ /* 9 */
1199
1291
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1200
1292
 
1293
+ "use strict";
1201
1294
  __webpack_require__.r(__webpack_exports__);
1202
1295
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1203
1296
  /* harmony export */ CHECK_STATE_MASK: () => (/* binding */ CHECK_STATE_MASK),
@@ -1383,16 +1476,17 @@ function traitNames(flags) {
1383
1476
 
1384
1477
 
1385
1478
  /***/ }),
1386
- /* 9 */
1479
+ /* 10 */
1387
1480
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1388
1481
 
1482
+ "use strict";
1389
1483
  __webpack_require__.r(__webpack_exports__);
1390
1484
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1391
1485
  /* harmony export */ AccessibilityOverlay: () => (/* binding */ AccessibilityOverlay)
1392
1486
  /* harmony export */ });
1393
- /* harmony import */ var _claimedKeyEvents__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(10);
1394
- /* harmony import */ var _utils_canvasOffset__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(11);
1395
- /* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8);
1487
+ /* harmony import */ var _claimedKeyEvents__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(11);
1488
+ /* harmony import */ var _utils_canvasOffset__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(12);
1489
+ /* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9);
1396
1490
 
1397
1491
 
1398
1492
 
@@ -2783,9 +2877,10 @@ function ariaRoleForSemantic(role) {
2783
2877
 
2784
2878
 
2785
2879
  /***/ }),
2786
- /* 10 */
2880
+ /* 11 */
2787
2881
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2788
2882
 
2883
+ "use strict";
2789
2884
  __webpack_require__.r(__webpack_exports__);
2790
2885
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2791
2886
  /* harmony export */ claimKeyEvent: () => (/* binding */ claimKeyEvent),
@@ -2807,9 +2902,10 @@ function isKeyEventClaimed(event) {
2807
2902
 
2808
2903
 
2809
2904
  /***/ }),
2810
- /* 11 */
2905
+ /* 12 */
2811
2906
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2812
2907
 
2908
+ "use strict";
2813
2909
  __webpack_require__.r(__webpack_exports__);
2814
2910
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2815
2911
  /* harmony export */ canvasOffset: () => (/* binding */ canvasOffset)
@@ -2833,9 +2929,10 @@ function canvasOffset(canvas) {
2833
2929
 
2834
2930
 
2835
2931
  /***/ }),
2836
- /* 12 */
2932
+ /* 13 */
2837
2933
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2838
2934
 
2935
+ "use strict";
2839
2936
  __webpack_require__.r(__webpack_exports__);
2840
2937
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2841
2938
  /* harmony export */ AudioAssetWrapper: () => (/* reexport safe */ _finalizationRegistry__WEBPACK_IMPORTED_MODULE_3__.AudioAssetWrapper),
@@ -2856,11 +2953,11 @@ __webpack_require__.r(__webpack_exports__);
2856
2953
  /* harmony export */ registerTouchInteractions: () => (/* reexport safe */ _registerTouchInteractions__WEBPACK_IMPORTED_MODULE_0__.registerTouchInteractions),
2857
2954
  /* harmony export */ sanitizeUrl: () => (/* reexport safe */ _sanitizeUrl__WEBPACK_IMPORTED_MODULE_2__.sanitizeUrl)
2858
2955
  /* harmony export */ });
2859
- /* harmony import */ var _registerTouchInteractions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(13);
2860
- /* harmony import */ var _registerKeyboardInteractions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(14);
2861
- /* harmony import */ var _sanitizeUrl__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(17);
2862
- /* harmony import */ var _finalizationRegistry__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(18);
2863
- /* harmony import */ var _riveFont__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(19);
2956
+ /* harmony import */ var _registerTouchInteractions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(14);
2957
+ /* harmony import */ var _registerKeyboardInteractions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(15);
2958
+ /* harmony import */ var _sanitizeUrl__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(18);
2959
+ /* harmony import */ var _finalizationRegistry__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(19);
2960
+ /* harmony import */ var _riveFont__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(20);
2864
2961
 
2865
2962
 
2866
2963
 
@@ -2869,9 +2966,10 @@ __webpack_require__.r(__webpack_exports__);
2869
2966
 
2870
2967
 
2871
2968
  /***/ }),
2872
- /* 13 */
2969
+ /* 14 */
2873
2970
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2874
2971
 
2972
+ "use strict";
2875
2973
  __webpack_require__.r(__webpack_exports__);
2876
2974
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2877
2975
  /* harmony export */ registerTouchInteractions: () => (/* binding */ registerTouchInteractions)
@@ -3388,17 +3486,18 @@ var registerTouchInteractions = function (_a) {
3388
3486
 
3389
3487
 
3390
3488
  /***/ }),
3391
- /* 14 */
3489
+ /* 15 */
3392
3490
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
3393
3491
 
3492
+ "use strict";
3394
3493
  __webpack_require__.r(__webpack_exports__);
3395
3494
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3396
3495
  /* harmony export */ FocusSessionState: () => (/* binding */ FocusSessionState),
3397
3496
  /* harmony export */ KeyboardInteractions: () => (/* binding */ KeyboardInteractions)
3398
3497
  /* harmony export */ });
3399
- /* harmony import */ var _keyMap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(15);
3400
- /* harmony import */ var _semantics_claimedKeyEvents__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(10);
3401
- /* harmony import */ var _textInputProxy__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(16);
3498
+ /* harmony import */ var _keyMap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(16);
3499
+ /* harmony import */ var _semantics_claimedKeyEvents__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(11);
3500
+ /* harmony import */ var _textInputProxy__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(17);
3402
3501
 
3403
3502
 
3404
3503
 
@@ -3888,9 +3987,10 @@ var KeyboardInteractions = /** @class */ (function () {
3888
3987
 
3889
3988
 
3890
3989
  /***/ }),
3891
- /* 15 */
3990
+ /* 16 */
3892
3991
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
3893
3992
 
3993
+ "use strict";
3894
3994
  __webpack_require__.r(__webpack_exports__);
3895
3995
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3896
3996
  /* harmony export */ Key: () => (/* binding */ Key),
@@ -4251,14 +4351,15 @@ function modifiersFromEvent(event) {
4251
4351
 
4252
4352
 
4253
4353
  /***/ }),
4254
- /* 16 */
4354
+ /* 17 */
4255
4355
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
4256
4356
 
4357
+ "use strict";
4257
4358
  __webpack_require__.r(__webpack_exports__);
4258
4359
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4259
4360
  /* harmony export */ TextInputProxy: () => (/* binding */ TextInputProxy)
4260
4361
  /* harmony export */ });
4261
- /* harmony import */ var _canvasOffset__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(11);
4362
+ /* harmony import */ var _canvasOffset__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(12);
4262
4363
 
4263
4364
  // 16px: the smallest font size at which iOS Safari doesn't zoom on focus
4264
4365
  var FONT_SIZE_PX = 16;
@@ -4473,9 +4574,10 @@ function clamp(v, min, max) {
4473
4574
 
4474
4575
 
4475
4576
  /***/ }),
4476
- /* 17 */
4577
+ /* 18 */
4477
4578
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
4478
4579
 
4580
+ "use strict";
4479
4581
  __webpack_require__.r(__webpack_exports__);
4480
4582
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4481
4583
  /* harmony export */ BLANK_URL: () => (/* binding */ BLANK_URL),
@@ -4526,9 +4628,10 @@ function sanitizeUrl(url) {
4526
4628
 
4527
4629
 
4528
4630
  /***/ }),
4529
- /* 18 */
4631
+ /* 19 */
4530
4632
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
4531
4633
 
4634
+ "use strict";
4532
4635
  __webpack_require__.r(__webpack_exports__);
4533
4636
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4534
4637
  /* harmony export */ AudioAssetWrapper: () => (/* binding */ AudioAssetWrapper),
@@ -4826,9 +4929,10 @@ var createFinalization = function (target, finalizable) {
4826
4929
 
4827
4930
 
4828
4931
  /***/ }),
4829
- /* 19 */
4932
+ /* 20 */
4830
4933
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
4831
4934
 
4935
+ "use strict";
4832
4936
  __webpack_require__.r(__webpack_exports__);
4833
4937
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4834
4938
  /* harmony export */ RiveFont: () => (/* binding */ RiveFont)
@@ -4926,6 +5030,18 @@ var RiveFont = /** @class */ (function () {
4926
5030
  /******/ }
4927
5031
  /******/
4928
5032
  /************************************************************************/
5033
+ /******/ /* webpack/runtime/compat get default export */
5034
+ /******/ (() => {
5035
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
5036
+ /******/ __webpack_require__.n = (module) => {
5037
+ /******/ var getter = module && module.__esModule ?
5038
+ /******/ () => (module['default']) :
5039
+ /******/ () => (module);
5040
+ /******/ __webpack_require__.d(getter, { a: getter });
5041
+ /******/ return getter;
5042
+ /******/ };
5043
+ /******/ })();
5044
+ /******/
4929
5045
  /******/ /* webpack/runtime/define property getters */
4930
5046
  /******/ (() => {
4931
5047
  /******/ // define getter functions for harmony exports
@@ -4956,8 +5072,9 @@ var RiveFont = /** @class */ (function () {
4956
5072
  /******/
4957
5073
  /************************************************************************/
4958
5074
  var __webpack_exports__ = {};
4959
- // This entry needs to be wrapped in an IIFE because it needs to be isolated against other modules in the chunk.
5075
+ // This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
4960
5076
  (() => {
5077
+ "use strict";
4961
5078
  __webpack_require__.r(__webpack_exports__);
4962
5079
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4963
5080
  /* harmony export */ Alignment: () => (/* binding */ Alignment),
@@ -4997,8 +5114,8 @@ __webpack_require__.r(__webpack_exports__);
4997
5114
  /* harmony export */ });
4998
5115
  /* harmony import */ var _animation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
4999
5116
  /* harmony import */ var _runtimeLoader__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
5000
- /* harmony import */ var _semantics__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(6);
5001
- /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(12);
5117
+ /* harmony import */ var _semantics__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
5118
+ /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(13);
5002
5119
  var __extends = (undefined && undefined.__extends) || (function () {
5003
5120
  var extendStatics = function (d, b) {
5004
5121
  extendStatics = Object.setPrototypeOf ||