@rive-app/canvas-lite 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-lite",
3
- "version": "2.46.0",
3
+ "version": "2.47.0",
4
4
  "description": "A lite version of 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__)
@@ -458,14 +541,22 @@ Cc=await (async function(){function b(c){c=Cc=c.exports;kb=c.free;Ac=c.malloc;jb
458
541
 
459
542
  /***/ }),
460
543
  /* 5 */
461
- /***/ ((module) => {
544
+ /***/ (() => {
462
545
 
463
- module.exports = /*#__PURE__*/JSON.parse('{"name":"@rive-app/canvas-lite","version":"2.46.0","description":"A lite version of 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}}');
546
+ /* (ignored) */
464
547
 
465
548
  /***/ }),
466
549
  /* 6 */
550
+ /***/ ((module) => {
551
+
552
+ "use strict";
553
+ module.exports = /*#__PURE__*/JSON.parse('{"name":"@rive-app/canvas-lite","version":"2.47.0","description":"A lite version of 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}}');
554
+
555
+ /***/ }),
556
+ /* 7 */
467
557
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
468
558
 
559
+ "use strict";
469
560
  __webpack_require__.r(__webpack_exports__);
470
561
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
471
562
  /* harmony export */ AccessibilityOverlay: () => (/* reexport safe */ _accessibilityOverlay__WEBPACK_IMPORTED_MODULE_1__.AccessibilityOverlay),
@@ -485,23 +576,24 @@ __webpack_require__.r(__webpack_exports__);
485
576
  /* harmony export */ stateNames: () => (/* reexport safe */ _types__WEBPACK_IMPORTED_MODULE_2__.stateNames),
486
577
  /* harmony export */ traitNames: () => (/* reexport safe */ _types__WEBPACK_IMPORTED_MODULE_2__.traitNames)
487
578
  /* harmony export */ });
488
- /* harmony import */ var _semanticTreeModel__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7);
489
- /* harmony import */ var _accessibilityOverlay__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9);
490
- /* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8);
579
+ /* harmony import */ var _semanticTreeModel__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8);
580
+ /* harmony import */ var _accessibilityOverlay__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(10);
581
+ /* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9);
491
582
 
492
583
 
493
584
 
494
585
 
495
586
 
496
587
  /***/ }),
497
- /* 7 */
588
+ /* 8 */
498
589
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
499
590
 
591
+ "use strict";
500
592
  __webpack_require__.r(__webpack_exports__);
501
593
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
502
594
  /* harmony export */ SemanticTreeModel: () => (/* binding */ SemanticTreeModel)
503
595
  /* harmony export */ });
504
- /* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8);
596
+ /* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9);
505
597
  var __spreadArray = (undefined && undefined.__spreadArray) || function (to, from, pack) {
506
598
  if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
507
599
  if (ar || !(i in from)) {
@@ -949,9 +1041,10 @@ function applyGeometry(target, src) {
949
1041
 
950
1042
 
951
1043
  /***/ }),
952
- /* 8 */
1044
+ /* 9 */
953
1045
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
954
1046
 
1047
+ "use strict";
955
1048
  __webpack_require__.r(__webpack_exports__);
956
1049
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
957
1050
  /* harmony export */ CHECK_STATE_MASK: () => (/* binding */ CHECK_STATE_MASK),
@@ -1137,16 +1230,17 @@ function traitNames(flags) {
1137
1230
 
1138
1231
 
1139
1232
  /***/ }),
1140
- /* 9 */
1233
+ /* 10 */
1141
1234
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
1142
1235
 
1236
+ "use strict";
1143
1237
  __webpack_require__.r(__webpack_exports__);
1144
1238
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1145
1239
  /* harmony export */ AccessibilityOverlay: () => (/* binding */ AccessibilityOverlay)
1146
1240
  /* harmony export */ });
1147
- /* harmony import */ var _claimedKeyEvents__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(10);
1148
- /* harmony import */ var _utils_canvasOffset__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(11);
1149
- /* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(8);
1241
+ /* harmony import */ var _claimedKeyEvents__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(11);
1242
+ /* harmony import */ var _utils_canvasOffset__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(12);
1243
+ /* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(9);
1150
1244
 
1151
1245
 
1152
1246
 
@@ -2537,9 +2631,10 @@ function ariaRoleForSemantic(role) {
2537
2631
 
2538
2632
 
2539
2633
  /***/ }),
2540
- /* 10 */
2634
+ /* 11 */
2541
2635
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2542
2636
 
2637
+ "use strict";
2543
2638
  __webpack_require__.r(__webpack_exports__);
2544
2639
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2545
2640
  /* harmony export */ claimKeyEvent: () => (/* binding */ claimKeyEvent),
@@ -2561,9 +2656,10 @@ function isKeyEventClaimed(event) {
2561
2656
 
2562
2657
 
2563
2658
  /***/ }),
2564
- /* 11 */
2659
+ /* 12 */
2565
2660
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2566
2661
 
2662
+ "use strict";
2567
2663
  __webpack_require__.r(__webpack_exports__);
2568
2664
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2569
2665
  /* harmony export */ canvasOffset: () => (/* binding */ canvasOffset)
@@ -2587,9 +2683,10 @@ function canvasOffset(canvas) {
2587
2683
 
2588
2684
 
2589
2685
  /***/ }),
2590
- /* 12 */
2686
+ /* 13 */
2591
2687
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2592
2688
 
2689
+ "use strict";
2593
2690
  __webpack_require__.r(__webpack_exports__);
2594
2691
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2595
2692
  /* harmony export */ AudioAssetWrapper: () => (/* reexport safe */ _finalizationRegistry__WEBPACK_IMPORTED_MODULE_3__.AudioAssetWrapper),
@@ -2610,11 +2707,11 @@ __webpack_require__.r(__webpack_exports__);
2610
2707
  /* harmony export */ registerTouchInteractions: () => (/* reexport safe */ _registerTouchInteractions__WEBPACK_IMPORTED_MODULE_0__.registerTouchInteractions),
2611
2708
  /* harmony export */ sanitizeUrl: () => (/* reexport safe */ _sanitizeUrl__WEBPACK_IMPORTED_MODULE_2__.sanitizeUrl)
2612
2709
  /* harmony export */ });
2613
- /* harmony import */ var _registerTouchInteractions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(13);
2614
- /* harmony import */ var _registerKeyboardInteractions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(14);
2615
- /* harmony import */ var _sanitizeUrl__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(17);
2616
- /* harmony import */ var _finalizationRegistry__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(18);
2617
- /* harmony import */ var _riveFont__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(19);
2710
+ /* harmony import */ var _registerTouchInteractions__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(14);
2711
+ /* harmony import */ var _registerKeyboardInteractions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(15);
2712
+ /* harmony import */ var _sanitizeUrl__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(18);
2713
+ /* harmony import */ var _finalizationRegistry__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(19);
2714
+ /* harmony import */ var _riveFont__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(20);
2618
2715
 
2619
2716
 
2620
2717
 
@@ -2623,9 +2720,10 @@ __webpack_require__.r(__webpack_exports__);
2623
2720
 
2624
2721
 
2625
2722
  /***/ }),
2626
- /* 13 */
2723
+ /* 14 */
2627
2724
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
2628
2725
 
2726
+ "use strict";
2629
2727
  __webpack_require__.r(__webpack_exports__);
2630
2728
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2631
2729
  /* harmony export */ registerTouchInteractions: () => (/* binding */ registerTouchInteractions)
@@ -3142,17 +3240,18 @@ var registerTouchInteractions = function (_a) {
3142
3240
 
3143
3241
 
3144
3242
  /***/ }),
3145
- /* 14 */
3243
+ /* 15 */
3146
3244
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
3147
3245
 
3246
+ "use strict";
3148
3247
  __webpack_require__.r(__webpack_exports__);
3149
3248
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3150
3249
  /* harmony export */ FocusSessionState: () => (/* binding */ FocusSessionState),
3151
3250
  /* harmony export */ KeyboardInteractions: () => (/* binding */ KeyboardInteractions)
3152
3251
  /* harmony export */ });
3153
- /* harmony import */ var _keyMap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(15);
3154
- /* harmony import */ var _semantics_claimedKeyEvents__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(10);
3155
- /* harmony import */ var _textInputProxy__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(16);
3252
+ /* harmony import */ var _keyMap__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(16);
3253
+ /* harmony import */ var _semantics_claimedKeyEvents__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(11);
3254
+ /* harmony import */ var _textInputProxy__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(17);
3156
3255
 
3157
3256
 
3158
3257
 
@@ -3642,9 +3741,10 @@ var KeyboardInteractions = /** @class */ (function () {
3642
3741
 
3643
3742
 
3644
3743
  /***/ }),
3645
- /* 15 */
3744
+ /* 16 */
3646
3745
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
3647
3746
 
3747
+ "use strict";
3648
3748
  __webpack_require__.r(__webpack_exports__);
3649
3749
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3650
3750
  /* harmony export */ Key: () => (/* binding */ Key),
@@ -4005,14 +4105,15 @@ function modifiersFromEvent(event) {
4005
4105
 
4006
4106
 
4007
4107
  /***/ }),
4008
- /* 16 */
4108
+ /* 17 */
4009
4109
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
4010
4110
 
4111
+ "use strict";
4011
4112
  __webpack_require__.r(__webpack_exports__);
4012
4113
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4013
4114
  /* harmony export */ TextInputProxy: () => (/* binding */ TextInputProxy)
4014
4115
  /* harmony export */ });
4015
- /* harmony import */ var _canvasOffset__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(11);
4116
+ /* harmony import */ var _canvasOffset__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(12);
4016
4117
 
4017
4118
  // 16px: the smallest font size at which iOS Safari doesn't zoom on focus
4018
4119
  var FONT_SIZE_PX = 16;
@@ -4227,9 +4328,10 @@ function clamp(v, min, max) {
4227
4328
 
4228
4329
 
4229
4330
  /***/ }),
4230
- /* 17 */
4331
+ /* 18 */
4231
4332
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
4232
4333
 
4334
+ "use strict";
4233
4335
  __webpack_require__.r(__webpack_exports__);
4234
4336
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4235
4337
  /* harmony export */ BLANK_URL: () => (/* binding */ BLANK_URL),
@@ -4280,9 +4382,10 @@ function sanitizeUrl(url) {
4280
4382
 
4281
4383
 
4282
4384
  /***/ }),
4283
- /* 18 */
4385
+ /* 19 */
4284
4386
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
4285
4387
 
4388
+ "use strict";
4286
4389
  __webpack_require__.r(__webpack_exports__);
4287
4390
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4288
4391
  /* harmony export */ AudioAssetWrapper: () => (/* binding */ AudioAssetWrapper),
@@ -4580,9 +4683,10 @@ var createFinalization = function (target, finalizable) {
4580
4683
 
4581
4684
 
4582
4685
  /***/ }),
4583
- /* 19 */
4686
+ /* 20 */
4584
4687
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
4585
4688
 
4689
+ "use strict";
4586
4690
  __webpack_require__.r(__webpack_exports__);
4587
4691
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4588
4692
  /* harmony export */ RiveFont: () => (/* binding */ RiveFont)
@@ -4680,6 +4784,18 @@ var RiveFont = /** @class */ (function () {
4680
4784
  /******/ }
4681
4785
  /******/
4682
4786
  /************************************************************************/
4787
+ /******/ /* webpack/runtime/compat get default export */
4788
+ /******/ (() => {
4789
+ /******/ // getDefaultExport function for compatibility with non-harmony modules
4790
+ /******/ __webpack_require__.n = (module) => {
4791
+ /******/ var getter = module && module.__esModule ?
4792
+ /******/ () => (module['default']) :
4793
+ /******/ () => (module);
4794
+ /******/ __webpack_require__.d(getter, { a: getter });
4795
+ /******/ return getter;
4796
+ /******/ };
4797
+ /******/ })();
4798
+ /******/
4683
4799
  /******/ /* webpack/runtime/define property getters */
4684
4800
  /******/ (() => {
4685
4801
  /******/ // define getter functions for harmony exports
@@ -4710,8 +4826,9 @@ var RiveFont = /** @class */ (function () {
4710
4826
  /******/
4711
4827
  /************************************************************************/
4712
4828
  var __webpack_exports__ = {};
4713
- // This entry needs to be wrapped in an IIFE because it needs to be isolated against other modules in the chunk.
4829
+ // This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
4714
4830
  (() => {
4831
+ "use strict";
4715
4832
  __webpack_require__.r(__webpack_exports__);
4716
4833
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4717
4834
  /* harmony export */ Alignment: () => (/* binding */ Alignment),
@@ -4751,8 +4868,8 @@ __webpack_require__.r(__webpack_exports__);
4751
4868
  /* harmony export */ });
4752
4869
  /* harmony import */ var _animation__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1);
4753
4870
  /* harmony import */ var _runtimeLoader__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
4754
- /* harmony import */ var _semantics__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(6);
4755
- /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(12);
4871
+ /* harmony import */ var _semantics__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(7);
4872
+ /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(13);
4756
4873
  var __extends = (undefined && undefined.__extends) || (function () {
4757
4874
  var extendStatics = function (d, b) {
4758
4875
  extendStatics = Object.setPrototypeOf ||