@feedmepos/mf-menu 0.32.50-dev.1 → 0.32.52-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{App-fvdXsBmD.js → App-COGal-TD.js} +497 -506
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-DH4-Olmt.js → ApplyProduct.vue_vue_type_script_setup_true_lang-DzisSpvQ.js} +3 -3
- package/dist/{ApplyProductDialog.vue_vue_type_script_setup_true_lang-DzROC59N.js → ApplyProductDialog.vue_vue_type_script_setup_true_lang-eqJDqaPZ.js} +2 -2
- package/dist/{Catalog-jkEr63nT.js → Catalog-BJ8-NdAC.js} +8 -9
- package/dist/{Category-DrwaNYcu.js → Category-BkU2y10v.js} +5 -5
- package/dist/{Category-B_gO4xPF.js → Category-CFaPOouQ.js} +4 -4
- package/dist/{CookingGuide-C33Z5hUV.js → CookingGuide-BDDCmfeL.js} +5 -5
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-Be7Z3I_Q.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-BcJYQo_p.js} +1 -1
- package/dist/{Group-BugcY3vS.js → Group-DBrJ4Rin.js} +1 -1
- package/dist/{Group-B5T6WfRm.js → Group-Sk7Qd6G3.js} +4 -4
- package/dist/{Group.vue_vue_type_script_setup_true_lang-BAIexmig.js → Group.vue_vue_type_script_setup_true_lang-BWpIG76a.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BOQahWyN.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-DzeAE7Oj.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-YS1YynNn.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-DWScWkMg.js} +10 -10
- package/dist/{Ingredient-DJVD7ZRE.js → Ingredient-CA0qoRc1.js} +4 -4
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-CXFhzaMf.js → InventoryBinding.vue_vue_type_script_setup_true_lang-BzLcfi4f.js} +2 -2
- package/dist/{LinkProductSideSheet-CzpnAdjg.js → LinkProductSideSheet-TTj7qiWm.js} +3 -3
- package/dist/{MenuSetting-CkzrUn-g.js → MenuSetting-DwfE7v0B.js} +9 -9
- package/dist/{OrderPacing-E25vzd0i.js → OrderPacing-cT1Vs3OD.js} +6 -6
- package/dist/{PageLayout.vue_vue_type_script_setup_true_lang-BFxSjqqP.js → PageLayout.vue_vue_type_script_setup_true_lang-BVmHMvKD.js} +2 -2
- package/dist/{PrintRoute-D_E6EFdK.js → PrintRoute-D8pc6M31.js} +5 -5
- package/dist/{Product-B65o3iNI.js → Product-CW1oQzS-.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-DPzs_gu_.js → Product.vue_vue_type_script_setup_true_lang-lqXctN9S.js} +12 -12
- package/dist/{ProductInternalTools-CK-PGnNo.js → ProductInternalTools-DAIu8IhO.js} +6 -6
- package/dist/{Products-Dg1hvUwW.js → Products-nVL6Qsuw.js} +131 -128
- package/dist/Publish-DHEzIG_J.js +1434 -0
- package/dist/{Recipe-DIF_OoVX.js → Recipe-BLcLaekI.js} +5 -5
- package/dist/{RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-845QukTh.js → RestaurantAttributesSelector.vue_vue_type_script_setup_true_lang-BCHurASV.js} +1 -1
- package/dist/{RuleView.vue_vue_type_script_setup_true_lang-DjKbPdjk.js → RuleView.vue_vue_type_script_setup_true_lang-Dwi3pOl9.js} +2 -2
- package/dist/{Scheduler-Cp16XDHA.js → Scheduler-C4e5hO7Z.js} +4 -4
- package/dist/{ServingSequence-HG1Uq8jR.js → ServingSequence-C12Ny_nR.js} +4 -4
- package/dist/{Setting-BjmlJwG0.js → Setting-BscTehhJ.js} +5 -5
- package/dist/{Subcategory-COSfYpK6.js → Subcategory-C5FGoPot.js} +6 -6
- package/dist/{Takeaway-xH6lMjQI.js → Takeaway-CDSKNUhc.js} +1 -1
- package/dist/{Takeaway-8UTX6xY6.js → Takeaway-Dr6WQVE1.js} +5 -5
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-DEnn6Uhy.js → Takeaway.vue_vue_type_script_setup_true_lang-C6eREsQp.js} +5 -5
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-C12J-MHi.js → Thumbnail.vue_vue_type_script_setup_true_lang-CkETUziX.js} +4 -4
- package/dist/{TranslationFieldSection.vue_vue_type_script_setup_true_lang-CyAvat5t.js → TranslationFieldSection.vue_vue_type_script_setup_true_lang-CcD-TGhd.js} +1 -1
- package/dist/{TranslationSideSheet.vue_vue_type_script_setup_true_lang-DUfRksjD.js → TranslationSideSheet.vue_vue_type_script_setup_true_lang-DccUYmCx.js} +2 -2
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-C8RYs2oh.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-D1ov0odP.js} +937 -940
- package/dist/{Unit-B0LxjfWX.js → Unit-U3pz6pPm.js} +3 -3
- package/dist/{Variant-CPBzZOv3.js → Variant-D-nC4Dy6.js} +26 -30
- package/dist/{_id_-CM7JtSii.js → _id_-DHI7NeZ5.js} +10 -10
- package/dist/{app-DtexRwSb.js → app-Brq8nN4D.js} +1 -1
- package/dist/{app-yVJIrlSz.js → app-dIGG83GF.js} +185 -185
- package/dist/app.js +1 -1
- package/dist/apps/mf-menu/src/app.d.ts +7 -0
- package/dist/apps/mf-menu/src/components/member_price/MemberPriceToolTip.vue.d.ts +2 -0
- package/dist/apps/mf-menu/src/helper/setting/catalogSetting.d.ts +2 -1
- package/dist/apps/mf-menu/src/manager/menu/memberPricing.d.ts +4 -1
- package/dist/apps/mf-menu/src/stores/menu.d.ts +1 -1
- package/dist/apps/mf-menu/tsconfig.app.tsbuildinfo +1 -1
- package/dist/assets/{linked-status-CbCxRkaM.js → linked-status-C-sgTOx9.js} +2 -2
- package/dist/assets/{menu-export-BrLAkWSp.js → menu-export-Nt98HUsd.js} +4 -4
- package/dist/assets/{override-menu-BrLa8Jm9.js → override-menu-Ako9Ghu_.js} +2 -2
- package/dist/assets/{validate-menu-CsSkhovY.js → validate-menu-CVJ4sdGa.js} +2 -2
- package/dist/{catalog-vPinxddm.js → catalog-BDfp-HKs.js} +1 -1
- package/dist/{catalogSetting-h7qqtQIw.js → catalogSetting-BjZWlJux.js} +26 -14
- package/dist/{currency-CcNf-QTk.js → currency-BMM0v_C-.js} +1 -1
- package/dist/{dayjs.min-Cocgeu87.js → dayjs.min-qRo56ggi.js} +2 -2
- package/dist/{index-H48-bCoT.js → index-Dnr_KMtS.js} +25 -25
- package/dist/{index-CCBv0ODD.js → index-DwsAtSPy.js} +4 -4
- package/dist/{index.vue_vue_type_script_setup_true_lang-BUccfB8b.js → index.vue_vue_type_script_setup_true_lang-BLHrxcy_.js} +4638 -4642
- package/dist/{item-BsZG_f4A.js → item-hYgXuH-R.js} +1178 -1177
- package/dist/{jszip.min-BnMXGnPr.js → jszip.min-BqsNpcIL.js} +3 -3
- package/dist/memberPricing-CXI5GqbJ.js +107 -0
- package/dist/{menu-Bw4tAzfN.js → menu-Okh_Q4gK.js} +1 -1
- package/dist/{menuV2-DI1Os0Vq.js → menuV2-DbTc7yw0.js} +26 -26
- package/dist/mf-menu.css +1 -1
- package/dist/{order_pacing-EeEkEnwJ.js → order_pacing-CBkQIrp3.js} +5 -5
- package/dist/{priceTier-BkoZvNui.js → priceTier-BxWXhfDh.js} +1 -1
- package/dist/{rules-Ou7rW1c3.js → rules-CsoPQCO5.js} +3 -3
- package/dist/{scheduler-DXQsrkEf.js → scheduler-BfvHQAuo.js} +4 -4
- package/dist/{toExcel-Dngn6umb.js → toExcel-DZMykkCy.js} +2 -2
- package/dist/{unit-BQ4FpCT5.js → unit-ro6UkV3c.js} +2 -2
- package/package.json +1 -1
- package/dist/Publish-DOZPb_5N.js +0 -1417
- package/dist/memberPricing-OCuDHRxA.js +0 -89
|
@@ -2,12 +2,12 @@ var tt = Object.defineProperty;
|
|
|
2
2
|
var At = (t, e, A) => e in t ? tt(t, e, { enumerable: !0, configurable: !0, writable: !0, value: A }) : t[e] = A;
|
|
3
3
|
var Te = (t, e, A) => At(t, typeof e != "symbol" ? e + "" : e, A);
|
|
4
4
|
import { readonly, ref, defineComponent, watchEffect, computed, watch, createElementBlock, openBlock, normalizeStyle, onBeforeUnmount, createBlock, unref, onUnmounted, resolveComponent, onMounted, Fragment, createVNode, createCommentVNode, createElementVNode, normalizeClass } from "vue";
|
|
5
|
-
import { u as useMenuStore, c as coreDartExports, r as registerVersion, g as getApp, _ as _getProvider, a as getExperimentalSetting, b as getDefaultEmulatorHost, d as _isFirebaseServerApp, e as deepEqual, f as getModularInstance, h as getUA, E as ErrorFactory, i as isIE, j as isEmpty, S as SDK_VERSION, q as querystring, F as FirebaseError, k as isMobileCordova, l as isReactNative, m as base64Decode, L as Logger, n as LogLevel, o as isBrowserExtension, p as isCloudflareWorker, s as _registerComponent, C as Component, t as createSubscribe, v as getApps, w as initializeApp, x as getStorage, y as F_MENU_VERSION, z as coreExports, A as menuExports } from "./index.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { c as commonjsGlobal, g as getDefaultExportFromCjs, r as routers, u as useMenuNavigatorStatus } from "./app-
|
|
5
|
+
import { u as useMenuStore, c as coreDartExports, r as registerVersion, g as getApp, _ as _getProvider, a as getExperimentalSetting, b as getDefaultEmulatorHost, d as _isFirebaseServerApp, e as deepEqual, f as getModularInstance, h as getUA, E as ErrorFactory, i as isIE, j as isEmpty, S as SDK_VERSION, q as querystring, F as FirebaseError, k as isMobileCordova, l as isReactNative, m as base64Decode, L as Logger, n as LogLevel, o as isBrowserExtension, p as isCloudflareWorker, s as _registerComponent, C as Component, t as createSubscribe, v as getApps, w as initializeApp, x as getStorage, y as F_MENU_VERSION, z as coreExports, A as menuExports } from "./index.vue_vue_type_script_setup_true_lang-BLHrxcy_.js";
|
|
6
|
+
import { c as commonjsGlobal, g as getDefaultExportFromCjs, r as routers, u as useMenuNavigatorStatus } from "./app-dIGG83GF.js";
|
|
7
7
|
import { installBusinessQueryStatePlugin, useI18n, FeedMeAuth, useCoreStore, useLocale } from "@feedmepos/mf-common";
|
|
8
8
|
import { createRouter, createWebHistory, useRouter } from "vue-router";
|
|
9
|
-
import { _ as _sfc_main$5 } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { u as useAppStore } from "./app-
|
|
9
|
+
import { _ as _sfc_main$5 } from "./TreeEditorOpenner.vue_vue_type_script_setup_true_lang-D1ov0odP.js";
|
|
10
|
+
import { u as useAppStore } from "./app-Brq8nN4D.js";
|
|
11
11
|
var flagsmith$1 = { exports: {} }, flagsmith = flagsmith$1.exports, hasRequiredFlagsmith;
|
|
12
12
|
function requireFlagsmith() {
|
|
13
13
|
return hasRequiredFlagsmith || (hasRequiredFlagsmith = 1, function(t, e) {
|
|
@@ -184,7 +184,7 @@ function requireFlagsmith() {
|
|
|
184
184
|
(function(V) {
|
|
185
185
|
V.NONE = "NONE", V.DEFAULT_FLAGS = "DEFAULT_FLAGS", V.CACHE = "CACHE", V.SERVER = "SERVER";
|
|
186
186
|
})(p || (p = {}));
|
|
187
|
-
var
|
|
187
|
+
var P, u = null, d = "FLAGSMITH_EVENT", c = d, g = "https://edge.api.flagsmith.com/api/v1/", b = "flagsmith_value_", I = "flagsmith_enabled_", T = "flagsmith_trait_", L = function() {
|
|
188
188
|
function V(x) {
|
|
189
189
|
var y = this;
|
|
190
190
|
this._trigger = null, this._triggerLoadingState = null, this.timestamp = null, this.isLoading = !1, this.eventSource = null, this.getFlags = function() {
|
|
@@ -217,7 +217,7 @@ function requireFlagsmith() {
|
|
|
217
217
|
if (y.dtrum) try {
|
|
218
218
|
var ee = { javaDouble: {}, date: {}, shortString: {}, javaLongOrObject: {} };
|
|
219
219
|
Object.keys(y.flags).map(function(X) {
|
|
220
|
-
f(ee, b + X, y.getValue(X, { skipAnalytics: !0 })), f(ee,
|
|
220
|
+
f(ee, b + X, y.getValue(X, { skipAnalytics: !0 })), f(ee, I + X, y.hasFeature(X, { skipAnalytics: !0 }));
|
|
221
221
|
}), Object.keys(((Z = y.evaluationContext.identity) === null || Z === void 0 ? void 0 : Z.traits) || {}).map(function(X) {
|
|
222
222
|
f(ee, T + X, y.getTrait(X));
|
|
223
223
|
}), y.log("Sending javaLongOrObject traits to dynatrace", ee.javaLongOrObject), y.log("Sending date traits to dynatrace", ee.date), y.log("Sending shortString traits to dynatrace", ee.shortString), y.log("Sending javaDouble to dynatrace", ee.javaDouble), y.dtrum.sendSessionProperties(ee.javaLongOrObject, ee.date, ee.shortString, ee.javaDouble);
|
|
@@ -319,7 +319,7 @@ function requireFlagsmith() {
|
|
|
319
319
|
y.log("Received response with identity mismatch, ignoring response. Requested: ".concat(j, ", Current: ").concat(Y));
|
|
320
320
|
});
|
|
321
321
|
}, this.evaluateFlag = function(F, M) {
|
|
322
|
-
if (y.datadogRum && (y.datadogRum.client.addFeatureFlagEvaluation ? M === "VALUE" ? y.datadogRum.client.addFeatureFlagEvaluation(b + F, y.getValue(F, {}, !0)) : y.datadogRum.client.addFeatureFlagEvaluation(
|
|
322
|
+
if (y.datadogRum && (y.datadogRum.client.addFeatureFlagEvaluation ? M === "VALUE" ? y.datadogRum.client.addFeatureFlagEvaluation(b + F, y.getValue(F, {}, !0)) : y.datadogRum.client.addFeatureFlagEvaluation(I + F, y.hasFeature(F, !0)) : console.error("Flagsmith: Your datadog RUM client does not support the function addFeatureFlagEvaluation, please update it.")), y.enableAnalytics) {
|
|
323
323
|
if (!y.evaluationEvent || !y.evaluationContext.environment) return;
|
|
324
324
|
y.evaluationEvent[y.evaluationContext.environment.apiKey] || (y.evaluationEvent[y.evaluationContext.environment.apiKey] = {}), y.evaluationEvent[y.evaluationContext.environment.apiKey][F] === void 0 && (y.evaluationEvent[y.evaluationContext.environment.apiKey][F] = 0), y.evaluationEvent[y.evaluationContext.environment.apiKey][F] += 1;
|
|
325
325
|
}
|
|
@@ -327,7 +327,7 @@ function requireFlagsmith() {
|
|
|
327
327
|
}, this._onChange = function(F, M, R) {
|
|
328
328
|
var N, U;
|
|
329
329
|
y.setLoadingState(R), (N = y.onChange) === null || N === void 0 || N.call(y, F, M, y.loadingState), (U = y._trigger) === null || U === void 0 || U.call(y);
|
|
330
|
-
}, S = x.fetch ? x.fetch : typeof fetch < "u" ? fetch : commonjsGlobal === null || commonjsGlobal === void 0 ? void 0 : commonjsGlobal.fetch, this.canUseStorage = typeof window < "u" || !!x.browserlessStorage, this.log("Constructing flagsmith instance " + x), x.eventSource && (
|
|
330
|
+
}, S = x.fetch ? x.fetch : typeof fetch < "u" ? fetch : commonjsGlobal === null || commonjsGlobal === void 0 ? void 0 : commonjsGlobal.fetch, this.canUseStorage = typeof window < "u" || !!x.browserlessStorage, this.log("Constructing flagsmith instance " + x), x.eventSource && (P = x.eventSource), x.AsyncStorage && (u = x.AsyncStorage);
|
|
331
331
|
}
|
|
332
332
|
return V.prototype.init = function(x) {
|
|
333
333
|
var y, F, M;
|
|
@@ -491,7 +491,7 @@ function requireFlagsmith() {
|
|
|
491
491
|
a(x, this.loadingState) || (this.loadingState = i({}, x), this.log("Loading state changed", x), (y = this._triggerLoadingState) === null || y === void 0 || y.call(this));
|
|
492
492
|
}, V.prototype.setupRealtime = function(x, y) {
|
|
493
493
|
var F = this, M = x + "sse/environments/" + y + "/stream";
|
|
494
|
-
|
|
494
|
+
P ? this.eventSource || (this.log("Creating event source with url " + M), this.eventSource = new P(M), this.eventSource.addEventListener("environment_updated", function(R) {
|
|
495
495
|
var N;
|
|
496
496
|
try {
|
|
497
497
|
N = JSON.parse(R.data).updated_at;
|
|
@@ -550,7 +550,7 @@ function requireFlagsmith() {
|
|
|
550
550
|
Consider loading an EventSource polyfill and making it available globally as EventSource, or passing one in as eventSourceClass to the ReconnectingEventSource constructor.`) || this;
|
|
551
551
|
}
|
|
552
552
|
return G(x, V), x;
|
|
553
|
-
}(Error),
|
|
553
|
+
}(Error), k = function() {
|
|
554
554
|
function V(x, y) {
|
|
555
555
|
var F = this;
|
|
556
556
|
if (this.CONNECTING = 0, this.OPEN = 1, this.CLOSED = 2, this._configuration = y != null ? Object.assign({}, y) : void 0, this.withCredentials = !1, this._eventSource = null, this._lastEventId = null, this._timer = null, this._listeners = { open: [], error: [], message: [] }, this.url = x.toString(), this.readyState = this.CONNECTING, this.max_retry_time = 3e3, this.eventSourceClass = globalThis.FlagsmithEventSource, this._configuration != null && (this._configuration.lastEventId && (this._lastEventId = this._configuration.lastEventId, delete this._configuration.lastEventId), this._configuration.max_retry_time && (this.max_retry_time = this._configuration.max_retry_time, delete this._configuration.max_retry_time), this._configuration.eventSourceClass && (this.eventSourceClass = this._configuration.eventSourceClass, delete this._configuration.eventSourceClass)), this.eventSourceClass == null || typeof this.eventSourceClass != "function") throw new D();
|
|
@@ -654,9 +654,9 @@ Consider loading an EventSource polyfill and making it available globally as Eve
|
|
|
654
654
|
}, M.onerror = F, M.withCredentials = x.credentials == "include", x.headers) M.setRequestHeader(K, x.headers[K]);
|
|
655
655
|
M.send(x.body || null);
|
|
656
656
|
});
|
|
657
|
-
}, C = O({ AsyncStorage: r, fetch: B, eventSource:
|
|
657
|
+
}, C = O({ AsyncStorage: r, fetch: B, eventSource: k });
|
|
658
658
|
typeof window < "u" && (window.flagsmith = C), A.createFlagsmithInstance = function() {
|
|
659
|
-
return O({ AsyncStorage: r, fetch: B, eventSource:
|
|
659
|
+
return O({ AsyncStorage: r, fetch: B, eventSource: k });
|
|
660
660
|
}, A.default = C, Object.defineProperty(A, "__esModule", { value: !0 });
|
|
661
661
|
});
|
|
662
662
|
}(flagsmith$1, flagsmith$1.exports)), flagsmith$1.exports;
|
|
@@ -1141,7 +1141,7 @@ function requireLottie() {
|
|
|
1141
1141
|
function o() {
|
|
1142
1142
|
r || (r = n(function(_) {
|
|
1143
1143
|
function E() {
|
|
1144
|
-
function
|
|
1144
|
+
function P(D, k) {
|
|
1145
1145
|
var B, C, V = D.length, x, y, F, M;
|
|
1146
1146
|
for (C = 0; C < V; C += 1)
|
|
1147
1147
|
if (B = D[C], "ks" in B && !B.completed) {
|
|
@@ -1154,51 +1154,51 @@ function requireLottie() {
|
|
|
1154
1154
|
for (M = R[x].pt.k.length, F = 0; F < M; F += 1)
|
|
1155
1155
|
R[x].pt.k[F].s && b(R[x].pt.k[F].s[0]), R[x].pt.k[F].e && b(R[x].pt.k[F].e[0]);
|
|
1156
1156
|
}
|
|
1157
|
-
B.ty === 0 ? (B.layers = c(B.refId,
|
|
1157
|
+
B.ty === 0 ? (B.layers = c(B.refId, k), P(B.layers, k)) : B.ty === 4 ? g(B.shapes) : B.ty === 5 && H(B);
|
|
1158
1158
|
}
|
|
1159
1159
|
}
|
|
1160
|
-
function u(D,
|
|
1160
|
+
function u(D, k) {
|
|
1161
1161
|
if (D) {
|
|
1162
1162
|
var B = 0, C = D.length;
|
|
1163
1163
|
for (B = 0; B < C; B += 1)
|
|
1164
|
-
D[B].t === 1 && (D[B].data.layers = c(D[B].data.refId,
|
|
1164
|
+
D[B].t === 1 && (D[B].data.layers = c(D[B].data.refId, k), P(D[B].data.layers, k));
|
|
1165
1165
|
}
|
|
1166
1166
|
}
|
|
1167
|
-
function d(D,
|
|
1168
|
-
for (var B = 0, C =
|
|
1169
|
-
if (
|
|
1170
|
-
return
|
|
1167
|
+
function d(D, k) {
|
|
1168
|
+
for (var B = 0, C = k.length; B < C; ) {
|
|
1169
|
+
if (k[B].id === D)
|
|
1170
|
+
return k[B];
|
|
1171
1171
|
B += 1;
|
|
1172
1172
|
}
|
|
1173
1173
|
return null;
|
|
1174
1174
|
}
|
|
1175
|
-
function c(D,
|
|
1176
|
-
var B = d(D,
|
|
1175
|
+
function c(D, k) {
|
|
1176
|
+
var B = d(D, k);
|
|
1177
1177
|
return B ? B.layers.__used ? JSON.parse(JSON.stringify(B.layers)) : (B.layers.__used = !0, B.layers) : null;
|
|
1178
1178
|
}
|
|
1179
1179
|
function g(D) {
|
|
1180
|
-
var
|
|
1181
|
-
for (
|
|
1182
|
-
if (D[
|
|
1183
|
-
if (D[
|
|
1184
|
-
b(D[
|
|
1180
|
+
var k, B = D.length, C, V;
|
|
1181
|
+
for (k = B - 1; k >= 0; k -= 1)
|
|
1182
|
+
if (D[k].ty === "sh")
|
|
1183
|
+
if (D[k].ks.k.i)
|
|
1184
|
+
b(D[k].ks.k);
|
|
1185
1185
|
else
|
|
1186
|
-
for (V = D[
|
|
1187
|
-
D[
|
|
1188
|
-
else D[
|
|
1186
|
+
for (V = D[k].ks.k.length, C = 0; C < V; C += 1)
|
|
1187
|
+
D[k].ks.k[C].s && b(D[k].ks.k[C].s[0]), D[k].ks.k[C].e && b(D[k].ks.k[C].e[0]);
|
|
1188
|
+
else D[k].ty === "gr" && g(D[k].it);
|
|
1189
1189
|
}
|
|
1190
1190
|
function b(D) {
|
|
1191
|
-
var
|
|
1192
|
-
for (
|
|
1193
|
-
D.i[
|
|
1191
|
+
var k, B = D.i.length;
|
|
1192
|
+
for (k = 0; k < B; k += 1)
|
|
1193
|
+
D.i[k][0] += D.v[k][0], D.i[k][1] += D.v[k][1], D.o[k][0] += D.v[k][0], D.o[k][1] += D.v[k][1];
|
|
1194
1194
|
}
|
|
1195
|
-
function
|
|
1196
|
-
var B =
|
|
1195
|
+
function I(D, k) {
|
|
1196
|
+
var B = k ? k.split(".") : [100, 100, 100];
|
|
1197
1197
|
return D[0] > B[0] ? !0 : B[0] > D[0] ? !1 : D[1] > B[1] ? !0 : B[1] > D[1] ? !1 : D[2] > B[2] ? !0 : B[2] > D[2] ? !1 : null;
|
|
1198
1198
|
}
|
|
1199
1199
|
var T = /* @__PURE__ */ function() {
|
|
1200
1200
|
var D = [4, 4, 14];
|
|
1201
|
-
function
|
|
1201
|
+
function k(C) {
|
|
1202
1202
|
var V = C.t.d;
|
|
1203
1203
|
C.t.d = {
|
|
1204
1204
|
k: [{
|
|
@@ -1210,10 +1210,10 @@ function requireLottie() {
|
|
|
1210
1210
|
function B(C) {
|
|
1211
1211
|
var V, x = C.length;
|
|
1212
1212
|
for (V = 0; V < x; V += 1)
|
|
1213
|
-
C[V].ty === 5 &&
|
|
1213
|
+
C[V].ty === 5 && k(C[V]);
|
|
1214
1214
|
}
|
|
1215
1215
|
return function(C) {
|
|
1216
|
-
if (
|
|
1216
|
+
if (I(D, C.v) && (B(C.layers), C.assets)) {
|
|
1217
1217
|
var V, x = C.assets.length;
|
|
1218
1218
|
for (V = 0; V < x; V += 1)
|
|
1219
1219
|
C.assets[V].layers && B(C.assets[V].layers);
|
|
@@ -1221,11 +1221,11 @@ function requireLottie() {
|
|
|
1221
1221
|
};
|
|
1222
1222
|
}(), L = /* @__PURE__ */ function() {
|
|
1223
1223
|
var D = [4, 7, 99];
|
|
1224
|
-
return function(
|
|
1225
|
-
if (
|
|
1226
|
-
var B, C =
|
|
1224
|
+
return function(k) {
|
|
1225
|
+
if (k.chars && !I(D, k.v)) {
|
|
1226
|
+
var B, C = k.chars.length;
|
|
1227
1227
|
for (B = 0; B < C; B += 1) {
|
|
1228
|
-
var V =
|
|
1228
|
+
var V = k.chars[B];
|
|
1229
1229
|
V.data && V.data.shapes && (g(V.data.shapes), V.data.ip = 0, V.data.op = 99999, V.data.st = 0, V.data.sr = 1, V.data.ks = {
|
|
1230
1230
|
p: {
|
|
1231
1231
|
k: [0, 0],
|
|
@@ -1247,7 +1247,7 @@ function requireLottie() {
|
|
|
1247
1247
|
k: 100,
|
|
1248
1248
|
a: 0
|
|
1249
1249
|
}
|
|
1250
|
-
},
|
|
1250
|
+
}, k.chars[B].t || (V.data.shapes.push({
|
|
1251
1251
|
ty: "no"
|
|
1252
1252
|
}), V.data.shapes[0].it.push({
|
|
1253
1253
|
p: {
|
|
@@ -1285,7 +1285,7 @@ function requireLottie() {
|
|
|
1285
1285
|
};
|
|
1286
1286
|
}(), O = /* @__PURE__ */ function() {
|
|
1287
1287
|
var D = [5, 7, 15];
|
|
1288
|
-
function
|
|
1288
|
+
function k(C) {
|
|
1289
1289
|
var V = C.t.p;
|
|
1290
1290
|
typeof V.a == "number" && (V.a = {
|
|
1291
1291
|
a: 0,
|
|
@@ -1301,10 +1301,10 @@ function requireLottie() {
|
|
|
1301
1301
|
function B(C) {
|
|
1302
1302
|
var V, x = C.length;
|
|
1303
1303
|
for (V = 0; V < x; V += 1)
|
|
1304
|
-
C[V].ty === 5 &&
|
|
1304
|
+
C[V].ty === 5 && k(C[V]);
|
|
1305
1305
|
}
|
|
1306
1306
|
return function(C) {
|
|
1307
|
-
if (
|
|
1307
|
+
if (I(D, C.v) && (B(C.layers), C.assets)) {
|
|
1308
1308
|
var V, x = C.assets.length;
|
|
1309
1309
|
for (V = 0; V < x; V += 1)
|
|
1310
1310
|
C.assets[V].layers && B(C.assets[V].layers);
|
|
@@ -1312,11 +1312,11 @@ function requireLottie() {
|
|
|
1312
1312
|
};
|
|
1313
1313
|
}(), W = /* @__PURE__ */ function() {
|
|
1314
1314
|
var D = [4, 1, 9];
|
|
1315
|
-
function
|
|
1315
|
+
function k(C) {
|
|
1316
1316
|
var V, x = C.length, y, F;
|
|
1317
1317
|
for (V = 0; V < x; V += 1)
|
|
1318
1318
|
if (C[V].ty === "gr")
|
|
1319
|
-
|
|
1319
|
+
k(C[V].it);
|
|
1320
1320
|
else if (C[V].ty === "fl" || C[V].ty === "st")
|
|
1321
1321
|
if (C[V].c.k && C[V].c.k[0].i)
|
|
1322
1322
|
for (F = C[V].c.k.length, y = 0; y < F; y += 1)
|
|
@@ -1327,10 +1327,10 @@ function requireLottie() {
|
|
|
1327
1327
|
function B(C) {
|
|
1328
1328
|
var V, x = C.length;
|
|
1329
1329
|
for (V = 0; V < x; V += 1)
|
|
1330
|
-
C[V].ty === 4 &&
|
|
1330
|
+
C[V].ty === 4 && k(C[V].shapes);
|
|
1331
1331
|
}
|
|
1332
1332
|
return function(C) {
|
|
1333
|
-
if (
|
|
1333
|
+
if (I(D, C.v) && (B(C.layers), C.assets)) {
|
|
1334
1334
|
var V, x = C.assets.length;
|
|
1335
1335
|
for (V = 0; V < x; V += 1)
|
|
1336
1336
|
C.assets[V].layers && B(C.assets[V].layers);
|
|
@@ -1338,7 +1338,7 @@ function requireLottie() {
|
|
|
1338
1338
|
};
|
|
1339
1339
|
}(), G = /* @__PURE__ */ function() {
|
|
1340
1340
|
var D = [4, 4, 18];
|
|
1341
|
-
function
|
|
1341
|
+
function k(C) {
|
|
1342
1342
|
var V, x = C.length, y, F;
|
|
1343
1343
|
for (V = x - 1; V >= 0; V -= 1)
|
|
1344
1344
|
if (C[V].ty === "sh")
|
|
@@ -1347,7 +1347,7 @@ function requireLottie() {
|
|
|
1347
1347
|
else
|
|
1348
1348
|
for (F = C[V].ks.k.length, y = 0; y < F; y += 1)
|
|
1349
1349
|
C[V].ks.k[y].s && (C[V].ks.k[y].s[0].c = C[V].closed), C[V].ks.k[y].e && (C[V].ks.k[y].e[0].c = C[V].closed);
|
|
1350
|
-
else C[V].ty === "gr" &&
|
|
1350
|
+
else C[V].ty === "gr" && k(C[V].it);
|
|
1351
1351
|
}
|
|
1352
1352
|
function B(C) {
|
|
1353
1353
|
var V, x, y = C.length, F, M, R, N;
|
|
@@ -1361,11 +1361,11 @@ function requireLottie() {
|
|
|
1361
1361
|
for (N = U[F].pt.k.length, R = 0; R < N; R += 1)
|
|
1362
1362
|
U[F].pt.k[R].s && (U[F].pt.k[R].s[0].c = U[F].cl), U[F].pt.k[R].e && (U[F].pt.k[R].e[0].c = U[F].cl);
|
|
1363
1363
|
}
|
|
1364
|
-
V.ty === 4 &&
|
|
1364
|
+
V.ty === 4 && k(V.shapes);
|
|
1365
1365
|
}
|
|
1366
1366
|
}
|
|
1367
1367
|
return function(C) {
|
|
1368
|
-
if (
|
|
1368
|
+
if (I(D, C.v) && (B(C.layers), C.assets)) {
|
|
1369
1369
|
var V, x = C.assets.length;
|
|
1370
1370
|
for (V = 0; V < x; V += 1)
|
|
1371
1371
|
C.assets[V].layers && B(C.assets[V].layers);
|
|
@@ -1373,21 +1373,21 @@ function requireLottie() {
|
|
|
1373
1373
|
};
|
|
1374
1374
|
}();
|
|
1375
1375
|
function Q(D) {
|
|
1376
|
-
D.__complete || (W(D), T(D), L(D), O(D), G(D),
|
|
1376
|
+
D.__complete || (W(D), T(D), L(D), O(D), G(D), P(D.layers, D.assets), u(D.chars, D.assets), D.__complete = !0);
|
|
1377
1377
|
}
|
|
1378
1378
|
function H(D) {
|
|
1379
1379
|
D.t.a.length === 0 && "m" in D.t.p;
|
|
1380
1380
|
}
|
|
1381
1381
|
var J = {};
|
|
1382
|
-
return J.completeData = Q, J.checkColors = W, J.checkChars = L, J.checkPathProperties = O, J.checkShapes = G, J.completeLayers =
|
|
1382
|
+
return J.completeData = Q, J.checkColors = W, J.checkChars = L, J.checkPathProperties = O, J.checkShapes = G, J.completeLayers = P, J;
|
|
1383
1383
|
}
|
|
1384
1384
|
if (s.dataManager || (s.dataManager = E()), s.assetLoader || (s.assetLoader = /* @__PURE__ */ function() {
|
|
1385
|
-
function
|
|
1385
|
+
function P(d) {
|
|
1386
1386
|
var c = d.getResponseHeader("content-type");
|
|
1387
1387
|
return c && d.responseType === "json" && c.indexOf("json") !== -1 || d.response && _typeof$5(d.response) === "object" ? d.response : d.response && typeof d.response == "string" ? JSON.parse(d.response) : d.responseText ? JSON.parse(d.responseText) : null;
|
|
1388
1388
|
}
|
|
1389
1389
|
function u(d, c, g, b) {
|
|
1390
|
-
var
|
|
1390
|
+
var I, T = new XMLHttpRequest();
|
|
1391
1391
|
try {
|
|
1392
1392
|
T.responseType = "json";
|
|
1393
1393
|
} catch {
|
|
@@ -1395,10 +1395,10 @@ function requireLottie() {
|
|
|
1395
1395
|
T.onreadystatechange = function() {
|
|
1396
1396
|
if (T.readyState === 4)
|
|
1397
1397
|
if (T.status === 200)
|
|
1398
|
-
|
|
1398
|
+
I = P(T), g(I);
|
|
1399
1399
|
else
|
|
1400
1400
|
try {
|
|
1401
|
-
|
|
1401
|
+
I = P(T), g(I);
|
|
1402
1402
|
} catch (L) {
|
|
1403
1403
|
b && b(L);
|
|
1404
1404
|
}
|
|
@@ -1414,10 +1414,10 @@ function requireLottie() {
|
|
|
1414
1414
|
load: u
|
|
1415
1415
|
};
|
|
1416
1416
|
}()), _.data.type === "loadAnimation")
|
|
1417
|
-
s.assetLoader.load(_.data.path, _.data.fullPath, function(
|
|
1418
|
-
s.dataManager.completeData(
|
|
1417
|
+
s.assetLoader.load(_.data.path, _.data.fullPath, function(P) {
|
|
1418
|
+
s.dataManager.completeData(P), s.postMessage({
|
|
1419
1419
|
id: _.data.id,
|
|
1420
|
-
payload:
|
|
1420
|
+
payload: P,
|
|
1421
1421
|
status: "success"
|
|
1422
1422
|
});
|
|
1423
1423
|
}, function() {
|
|
@@ -1433,10 +1433,10 @@ function requireLottie() {
|
|
|
1433
1433
|
payload: m,
|
|
1434
1434
|
status: "success"
|
|
1435
1435
|
});
|
|
1436
|
-
} else _.data.type === "loadData" && s.assetLoader.load(_.data.path, _.data.fullPath, function(
|
|
1436
|
+
} else _.data.type === "loadData" && s.assetLoader.load(_.data.path, _.data.fullPath, function(P) {
|
|
1437
1437
|
s.postMessage({
|
|
1438
1438
|
id: _.data.id,
|
|
1439
|
-
payload:
|
|
1439
|
+
payload: P,
|
|
1440
1440
|
status: "success"
|
|
1441
1441
|
});
|
|
1442
1442
|
}, function() {
|
|
@@ -1586,10 +1586,10 @@ function requireLottie() {
|
|
|
1586
1586
|
function m(u, d) {
|
|
1587
1587
|
u === "svg" ? (this._elementHelper = d, this._createImageData = this.createImageData.bind(this)) : this._createImageData = this.createImgData.bind(this);
|
|
1588
1588
|
}
|
|
1589
|
-
function
|
|
1589
|
+
function P() {
|
|
1590
1590
|
this._imageLoaded = e.bind(this), this._footageLoaded = A.bind(this), this.testImageLoaded = i.bind(this), this.createFootageData = o.bind(this), this.assetsPath = "", this.path = "", this.totalImages = 0, this.totalFootages = 0, this.loadedAssets = 0, this.loadedFootagesCount = 0, this.imagesLoadedCb = null, this.images = [];
|
|
1591
1591
|
}
|
|
1592
|
-
return
|
|
1592
|
+
return P.prototype = {
|
|
1593
1593
|
loadAssets: a,
|
|
1594
1594
|
setAssetsPath: p,
|
|
1595
1595
|
setPath: l,
|
|
@@ -1602,7 +1602,7 @@ function requireLottie() {
|
|
|
1602
1602
|
imageLoaded: e,
|
|
1603
1603
|
footageLoaded: A,
|
|
1604
1604
|
setCacheType: m
|
|
1605
|
-
},
|
|
1605
|
+
}, P;
|
|
1606
1606
|
}();
|
|
1607
1607
|
function BaseEvent() {
|
|
1608
1608
|
}
|
|
@@ -1928,25 +1928,25 @@ function requireLottie() {
|
|
|
1928
1928
|
};
|
|
1929
1929
|
var animationManager = function() {
|
|
1930
1930
|
var t = {}, e = [], A = 0, r = 0, i = 0, s = !0, n = !1;
|
|
1931
|
-
function o(
|
|
1932
|
-
for (var B = 0, C =
|
|
1931
|
+
function o(k) {
|
|
1932
|
+
for (var B = 0, C = k.target; B < r; )
|
|
1933
1933
|
e[B].animation === C && (e.splice(B, 1), B -= 1, r -= 1, C.isPaused || S()), B += 1;
|
|
1934
1934
|
}
|
|
1935
|
-
function a(
|
|
1936
|
-
if (!
|
|
1935
|
+
function a(k, B) {
|
|
1936
|
+
if (!k)
|
|
1937
1937
|
return null;
|
|
1938
1938
|
for (var C = 0; C < r; ) {
|
|
1939
|
-
if (e[C].elem ===
|
|
1939
|
+
if (e[C].elem === k && e[C].elem !== null)
|
|
1940
1940
|
return e[C].animation;
|
|
1941
1941
|
C += 1;
|
|
1942
1942
|
}
|
|
1943
1943
|
var V = new AnimationItem();
|
|
1944
|
-
return f(V,
|
|
1944
|
+
return f(V, k), V.setData(k, B), V;
|
|
1945
1945
|
}
|
|
1946
1946
|
function l() {
|
|
1947
|
-
var
|
|
1948
|
-
for (
|
|
1949
|
-
C.push(e[
|
|
1947
|
+
var k, B = e.length, C = [];
|
|
1948
|
+
for (k = 0; k < B; k += 1)
|
|
1949
|
+
C.push(e[k].animation);
|
|
1950
1950
|
return C;
|
|
1951
1951
|
}
|
|
1952
1952
|
function p() {
|
|
@@ -1955,81 +1955,81 @@ function requireLottie() {
|
|
|
1955
1955
|
function S() {
|
|
1956
1956
|
i -= 1;
|
|
1957
1957
|
}
|
|
1958
|
-
function f(
|
|
1959
|
-
|
|
1958
|
+
function f(k, B) {
|
|
1959
|
+
k.addEventListener("destroy", o), k.addEventListener("_active", p), k.addEventListener("_idle", S), e.push({
|
|
1960
1960
|
elem: B,
|
|
1961
|
-
animation:
|
|
1961
|
+
animation: k
|
|
1962
1962
|
}), r += 1;
|
|
1963
1963
|
}
|
|
1964
|
-
function _(
|
|
1964
|
+
function _(k) {
|
|
1965
1965
|
var B = new AnimationItem();
|
|
1966
|
-
return f(B, null), B.setParams(
|
|
1966
|
+
return f(B, null), B.setParams(k), B;
|
|
1967
1967
|
}
|
|
1968
|
-
function E(
|
|
1968
|
+
function E(k, B) {
|
|
1969
1969
|
var C;
|
|
1970
1970
|
for (C = 0; C < r; C += 1)
|
|
1971
|
-
e[C].animation.setSpeed(
|
|
1971
|
+
e[C].animation.setSpeed(k, B);
|
|
1972
1972
|
}
|
|
1973
|
-
function m(
|
|
1973
|
+
function m(k, B) {
|
|
1974
1974
|
var C;
|
|
1975
1975
|
for (C = 0; C < r; C += 1)
|
|
1976
|
-
e[C].animation.setDirection(
|
|
1976
|
+
e[C].animation.setDirection(k, B);
|
|
1977
1977
|
}
|
|
1978
|
-
function
|
|
1978
|
+
function P(k) {
|
|
1979
1979
|
var B;
|
|
1980
1980
|
for (B = 0; B < r; B += 1)
|
|
1981
|
-
e[B].animation.play(
|
|
1981
|
+
e[B].animation.play(k);
|
|
1982
1982
|
}
|
|
1983
|
-
function u(
|
|
1984
|
-
var B =
|
|
1983
|
+
function u(k) {
|
|
1984
|
+
var B = k - A, C;
|
|
1985
1985
|
for (C = 0; C < r; C += 1)
|
|
1986
1986
|
e[C].animation.advanceTime(B);
|
|
1987
|
-
A =
|
|
1987
|
+
A = k, i && !n ? window.requestAnimationFrame(u) : s = !0;
|
|
1988
1988
|
}
|
|
1989
|
-
function d(
|
|
1990
|
-
A =
|
|
1989
|
+
function d(k) {
|
|
1990
|
+
A = k, window.requestAnimationFrame(u);
|
|
1991
1991
|
}
|
|
1992
|
-
function c(
|
|
1992
|
+
function c(k) {
|
|
1993
1993
|
var B;
|
|
1994
1994
|
for (B = 0; B < r; B += 1)
|
|
1995
|
-
e[B].animation.pause(
|
|
1995
|
+
e[B].animation.pause(k);
|
|
1996
1996
|
}
|
|
1997
|
-
function g(
|
|
1997
|
+
function g(k, B, C) {
|
|
1998
1998
|
var V;
|
|
1999
1999
|
for (V = 0; V < r; V += 1)
|
|
2000
|
-
e[V].animation.goToAndStop(
|
|
2000
|
+
e[V].animation.goToAndStop(k, B, C);
|
|
2001
2001
|
}
|
|
2002
|
-
function b(
|
|
2002
|
+
function b(k) {
|
|
2003
2003
|
var B;
|
|
2004
2004
|
for (B = 0; B < r; B += 1)
|
|
2005
|
-
e[B].animation.stop(
|
|
2005
|
+
e[B].animation.stop(k);
|
|
2006
2006
|
}
|
|
2007
|
-
function k
|
|
2007
|
+
function I(k) {
|
|
2008
2008
|
var B;
|
|
2009
2009
|
for (B = 0; B < r; B += 1)
|
|
2010
|
-
e[B].animation.togglePause(
|
|
2010
|
+
e[B].animation.togglePause(k);
|
|
2011
2011
|
}
|
|
2012
|
-
function T(
|
|
2012
|
+
function T(k) {
|
|
2013
2013
|
var B;
|
|
2014
2014
|
for (B = r - 1; B >= 0; B -= 1)
|
|
2015
|
-
e[B].animation.destroy(
|
|
2015
|
+
e[B].animation.destroy(k);
|
|
2016
2016
|
}
|
|
2017
|
-
function L(
|
|
2017
|
+
function L(k, B, C) {
|
|
2018
2018
|
var V = [].concat([].slice.call(document.getElementsByClassName("lottie")), [].slice.call(document.getElementsByClassName("bodymovin"))), x, y = V.length;
|
|
2019
2019
|
for (x = 0; x < y; x += 1)
|
|
2020
|
-
C && V[x].setAttribute("data-bm-type", C), a(V[x],
|
|
2020
|
+
C && V[x].setAttribute("data-bm-type", C), a(V[x], k);
|
|
2021
2021
|
if (B && y === 0) {
|
|
2022
2022
|
C || (C = "svg");
|
|
2023
2023
|
var F = document.getElementsByTagName("body")[0];
|
|
2024
2024
|
F.innerText = "";
|
|
2025
2025
|
var M = createTag("div");
|
|
2026
|
-
M.style.width = "100%", M.style.height = "100%", M.setAttribute("data-bm-type", C), F.appendChild(M), a(M,
|
|
2026
|
+
M.style.width = "100%", M.style.height = "100%", M.setAttribute("data-bm-type", C), F.appendChild(M), a(M, k);
|
|
2027
2027
|
}
|
|
2028
2028
|
}
|
|
2029
2029
|
function O() {
|
|
2030
|
-
var
|
|
2031
|
-
for (
|
|
2032
|
-
e[
|
|
2030
|
+
var k;
|
|
2031
|
+
for (k = 0; k < r; k += 1)
|
|
2032
|
+
e[k].animation.resize();
|
|
2033
2033
|
}
|
|
2034
2034
|
function W() {
|
|
2035
2035
|
!n && i && s && (window.requestAnimationFrame(d), s = !1);
|
|
@@ -2040,28 +2040,28 @@ function requireLottie() {
|
|
|
2040
2040
|
function Q() {
|
|
2041
2041
|
n = !1, W();
|
|
2042
2042
|
}
|
|
2043
|
-
function H(
|
|
2043
|
+
function H(k, B) {
|
|
2044
2044
|
var C;
|
|
2045
2045
|
for (C = 0; C < r; C += 1)
|
|
2046
|
-
e[C].animation.setVolume(
|
|
2046
|
+
e[C].animation.setVolume(k, B);
|
|
2047
2047
|
}
|
|
2048
|
-
function J(
|
|
2048
|
+
function J(k) {
|
|
2049
2049
|
var B;
|
|
2050
2050
|
for (B = 0; B < r; B += 1)
|
|
2051
|
-
e[B].animation.mute(
|
|
2051
|
+
e[B].animation.mute(k);
|
|
2052
2052
|
}
|
|
2053
|
-
function D(
|
|
2053
|
+
function D(k) {
|
|
2054
2054
|
var B;
|
|
2055
2055
|
for (B = 0; B < r; B += 1)
|
|
2056
|
-
e[B].animation.unmute(
|
|
2056
|
+
e[B].animation.unmute(k);
|
|
2057
2057
|
}
|
|
2058
|
-
return t.registerAnimation = a, t.loadAnimation = _, t.setSpeed = E, t.setDirection = m, t.play =
|
|
2058
|
+
return t.registerAnimation = a, t.loadAnimation = _, t.setSpeed = E, t.setDirection = m, t.play = P, t.pause = c, t.stop = b, t.togglePause = I, t.searchAnimations = L, t.resize = O, t.goToAndStop = g, t.destroy = T, t.freeze = G, t.unfreeze = Q, t.setVolume = H, t.mute = J, t.unmute = D, t.getRegisteredAnimations = l, t;
|
|
2059
2059
|
}(), BezierFactory = function() {
|
|
2060
2060
|
var t = {};
|
|
2061
2061
|
t.getBezierEasing = A;
|
|
2062
2062
|
var e = {};
|
|
2063
|
-
function A(d, c, g, b,
|
|
2064
|
-
var T =
|
|
2063
|
+
function A(d, c, g, b, I) {
|
|
2064
|
+
var T = I || ("bez_" + d + "_" + c + "_" + g + "_" + b).replace(/\./g, "p");
|
|
2065
2065
|
if (e[T])
|
|
2066
2066
|
return e[T];
|
|
2067
2067
|
var L = new u([d, c, g, b]);
|
|
@@ -2083,15 +2083,15 @@ function requireLottie() {
|
|
|
2083
2083
|
function E(d, c, g) {
|
|
2084
2084
|
return 3 * p(c, g) * d * d + 2 * S(c, g) * d + f(c);
|
|
2085
2085
|
}
|
|
2086
|
-
function m(d, c, g, b,
|
|
2086
|
+
function m(d, c, g, b, I) {
|
|
2087
2087
|
var T, L, O = 0;
|
|
2088
2088
|
do
|
|
2089
|
-
L = c + (g - c) / 2, T = _(L, b,
|
|
2089
|
+
L = c + (g - c) / 2, T = _(L, b, I) - d, T > 0 ? g = L : c = L;
|
|
2090
2090
|
while (Math.abs(T) > s && ++O < n);
|
|
2091
2091
|
return L;
|
|
2092
2092
|
}
|
|
2093
|
-
function
|
|
2094
|
-
for (var
|
|
2093
|
+
function P(d, c, g, b) {
|
|
2094
|
+
for (var I = 0; I < r; ++I) {
|
|
2095
2095
|
var T = E(c, g, b);
|
|
2096
2096
|
if (T === 0) return c;
|
|
2097
2097
|
var L = _(c, g, b) - d;
|
|
@@ -2104,13 +2104,13 @@ function requireLottie() {
|
|
|
2104
2104
|
}
|
|
2105
2105
|
return u.prototype = {
|
|
2106
2106
|
get: function(c) {
|
|
2107
|
-
var g = this._p[0], b = this._p[1],
|
|
2108
|
-
return this._precomputed || this._precompute(), g === b &&
|
|
2107
|
+
var g = this._p[0], b = this._p[1], I = this._p[2], T = this._p[3];
|
|
2108
|
+
return this._precomputed || this._precompute(), g === b && I === T ? c : c === 0 ? 0 : c === 1 ? 1 : _(this._getTForX(c), b, T);
|
|
2109
2109
|
},
|
|
2110
2110
|
// Private part
|
|
2111
2111
|
_precompute: function() {
|
|
2112
|
-
var c = this._p[0], g = this._p[1], b = this._p[2],
|
|
2113
|
-
this._precomputed = !0, (c !== g || b !==
|
|
2112
|
+
var c = this._p[0], g = this._p[1], b = this._p[2], I = this._p[3];
|
|
2113
|
+
this._precomputed = !0, (c !== g || b !== I) && this._calcSampleValues();
|
|
2114
2114
|
},
|
|
2115
2115
|
_calcSampleValues: function() {
|
|
2116
2116
|
for (var c = this._p[0], g = this._p[2], b = 0; b < o; ++b)
|
|
@@ -2120,11 +2120,11 @@ function requireLottie() {
|
|
|
2120
2120
|
* getTForX chose the fastest heuristic to determine the percentage value precisely from a given X projection.
|
|
2121
2121
|
*/
|
|
2122
2122
|
_getTForX: function(c) {
|
|
2123
|
-
for (var g = this._p[0], b = this._p[2],
|
|
2123
|
+
for (var g = this._p[0], b = this._p[2], I = this._mSampleValues, T = 0, L = 1, O = o - 1; L !== O && I[L] <= c; ++L)
|
|
2124
2124
|
T += a;
|
|
2125
2125
|
--L;
|
|
2126
|
-
var W = (c -
|
|
2127
|
-
return Q >= i ?
|
|
2126
|
+
var W = (c - I[L]) / (I[L + 1] - I[L]), G = T + W * a, Q = E(G, g, b);
|
|
2127
|
+
return Q >= i ? P(c, G, g, b) : Q === 0 ? G : m(c, T, T + a, g, b);
|
|
2128
2128
|
}
|
|
2129
2129
|
}, t;
|
|
2130
2130
|
}(), pooling = /* @__PURE__ */ function() {
|
|
@@ -2175,32 +2175,32 @@ function requireLottie() {
|
|
|
2175
2175
|
}();
|
|
2176
2176
|
function bezFunction() {
|
|
2177
2177
|
var t = Math;
|
|
2178
|
-
function e(f, _, E, m,
|
|
2179
|
-
var d = f * m + _ *
|
|
2178
|
+
function e(f, _, E, m, P, u) {
|
|
2179
|
+
var d = f * m + _ * P + E * u - P * m - u * f - E * _;
|
|
2180
2180
|
return d > -1e-3 && d < 1e-3;
|
|
2181
2181
|
}
|
|
2182
|
-
function A(f, _, E, m,
|
|
2182
|
+
function A(f, _, E, m, P, u, d, c, g) {
|
|
2183
2183
|
if (E === 0 && u === 0 && g === 0)
|
|
2184
|
-
return e(f, _, m,
|
|
2185
|
-
var b = t.sqrt(t.pow(m - f, 2) + t.pow(
|
|
2186
|
-
return b >
|
|
2184
|
+
return e(f, _, m, P, d, c);
|
|
2185
|
+
var b = t.sqrt(t.pow(m - f, 2) + t.pow(P - _, 2) + t.pow(u - E, 2)), I = t.sqrt(t.pow(d - f, 2) + t.pow(c - _, 2) + t.pow(g - E, 2)), T = t.sqrt(t.pow(d - m, 2) + t.pow(c - P, 2) + t.pow(g - u, 2)), L;
|
|
2186
|
+
return b > I ? b > T ? L = b - I - T : L = T - I - b : T > I ? L = T - I - b : L = I - b - T, L > -1e-4 && L < 1e-4;
|
|
2187
2187
|
}
|
|
2188
2188
|
var r = /* @__PURE__ */ function() {
|
|
2189
2189
|
return function(f, _, E, m) {
|
|
2190
|
-
var
|
|
2191
|
-
for (c = E.length, u = 0; u <
|
|
2192
|
-
for (b = u / (
|
|
2190
|
+
var P = getDefaultCurveSegments(), u, d, c, g, b, I = 0, T, L = [], O = [], W = bezierLengthPool.newElement();
|
|
2191
|
+
for (c = E.length, u = 0; u < P; u += 1) {
|
|
2192
|
+
for (b = u / (P - 1), T = 0, d = 0; d < c; d += 1)
|
|
2193
2193
|
g = bmPow(1 - b, 3) * f[d] + 3 * bmPow(1 - b, 2) * b * E[d] + 3 * (1 - b) * bmPow(b, 2) * m[d] + bmPow(b, 3) * _[d], L[d] = g, O[d] !== null && (T += bmPow(L[d] - O[d], 2)), O[d] = L[d];
|
|
2194
|
-
T && (T = bmSqrt(T),
|
|
2194
|
+
T && (T = bmSqrt(T), I += T), W.percents[u] = b, W.lengths[u] = I;
|
|
2195
2195
|
}
|
|
2196
|
-
return W.addedLength =
|
|
2196
|
+
return W.addedLength = I, W;
|
|
2197
2197
|
};
|
|
2198
2198
|
}();
|
|
2199
2199
|
function i(f) {
|
|
2200
|
-
var _ = segmentsLengthPool.newElement(), E = f.c, m = f.v,
|
|
2200
|
+
var _ = segmentsLengthPool.newElement(), E = f.c, m = f.v, P = f.o, u = f.i, d, c = f._length, g = _.lengths, b = 0;
|
|
2201
2201
|
for (d = 0; d < c - 1; d += 1)
|
|
2202
|
-
g[d] = r(m[d], m[d + 1],
|
|
2203
|
-
return E && c && (g[d] = r(m[d], m[0],
|
|
2202
|
+
g[d] = r(m[d], m[d + 1], P[d], u[d + 1]), b += g[d].addedLength;
|
|
2203
|
+
return E && c && (g[d] = r(m[d], m[0], P[d], u[0]), b += g[d].addedLength), _.totalLength = b, _;
|
|
2204
2204
|
}
|
|
2205
2205
|
function s(f) {
|
|
2206
2206
|
this.segmentLength = 0, this.points = new Array(f);
|
|
@@ -2210,15 +2210,15 @@ function requireLottie() {
|
|
|
2210
2210
|
}
|
|
2211
2211
|
var o = /* @__PURE__ */ function() {
|
|
2212
2212
|
var f = {};
|
|
2213
|
-
return function(_, E, m,
|
|
2214
|
-
var u = (_[0] + "_" + _[1] + "_" + E[0] + "_" + E[1] + "_" + m[0] + "_" + m[1] + "_" +
|
|
2213
|
+
return function(_, E, m, P) {
|
|
2214
|
+
var u = (_[0] + "_" + _[1] + "_" + E[0] + "_" + E[1] + "_" + m[0] + "_" + m[1] + "_" + P[0] + "_" + P[1]).replace(/\./g, "p");
|
|
2215
2215
|
if (!f[u]) {
|
|
2216
|
-
var d = getDefaultCurveSegments(), c, g, b,
|
|
2217
|
-
_.length === 2 && (_[0] !== E[0] || _[1] !== E[1]) && e(_[0], _[1], E[0], E[1], _[0] + m[0], _[1] + m[1]) && e(_[0], _[1], E[0], E[1], E[0] +
|
|
2216
|
+
var d = getDefaultCurveSegments(), c, g, b, I, T, L = 0, O, W, G = null;
|
|
2217
|
+
_.length === 2 && (_[0] !== E[0] || _[1] !== E[1]) && e(_[0], _[1], E[0], E[1], _[0] + m[0], _[1] + m[1]) && e(_[0], _[1], E[0], E[1], E[0] + P[0], E[1] + P[1]) && (d = 2);
|
|
2218
2218
|
var Q = new s(d);
|
|
2219
2219
|
for (b = m.length, c = 0; c < d; c += 1) {
|
|
2220
2220
|
for (W = createSizedArray(b), T = c / (d - 1), O = 0, g = 0; g < b; g += 1)
|
|
2221
|
-
|
|
2221
|
+
I = bmPow(1 - T, 3) * _[g] + 3 * bmPow(1 - T, 2) * T * (_[g] + m[g]) + 3 * (1 - T) * bmPow(T, 2) * (E[g] + P[g]) + bmPow(T, 3) * E[g], W[g] = I, G !== null && (O += bmPow(W[g] - G[g], 2));
|
|
2222
2222
|
O = bmSqrt(O), L += O, Q.points[c] = new n(O, W), G = W;
|
|
2223
2223
|
}
|
|
2224
2224
|
Q.segmentLength = L, f[u] = Q;
|
|
@@ -2227,29 +2227,29 @@ function requireLottie() {
|
|
|
2227
2227
|
};
|
|
2228
2228
|
}();
|
|
2229
2229
|
function a(f, _) {
|
|
2230
|
-
var E = _.percents, m = _.lengths,
|
|
2231
|
-
if (u ===
|
|
2230
|
+
var E = _.percents, m = _.lengths, P = E.length, u = bmFloor((P - 1) * f), d = f * _.addedLength, c = 0;
|
|
2231
|
+
if (u === P - 1 || u === 0 || d === m[u])
|
|
2232
2232
|
return E[u];
|
|
2233
2233
|
for (var g = m[u] > d ? -1 : 1, b = !0; b; )
|
|
2234
|
-
if (m[u] <= d && m[u + 1] > d ? (c = (d - m[u]) / (m[u + 1] - m[u]), b = !1) : u += g, u < 0 || u >=
|
|
2235
|
-
if (u ===
|
|
2234
|
+
if (m[u] <= d && m[u + 1] > d ? (c = (d - m[u]) / (m[u + 1] - m[u]), b = !1) : u += g, u < 0 || u >= P - 1) {
|
|
2235
|
+
if (u === P - 1)
|
|
2236
2236
|
return E[u];
|
|
2237
2237
|
b = !1;
|
|
2238
2238
|
}
|
|
2239
2239
|
return E[u] + (E[u + 1] - E[u]) * c;
|
|
2240
2240
|
}
|
|
2241
|
-
function l(f, _, E, m,
|
|
2242
|
-
var d = a(
|
|
2241
|
+
function l(f, _, E, m, P, u) {
|
|
2242
|
+
var d = a(P, u), c = 1 - d, g = t.round((c * c * c * f[0] + (d * c * c + c * d * c + c * c * d) * E[0] + (d * d * c + c * d * d + d * c * d) * m[0] + d * d * d * _[0]) * 1e3) / 1e3, b = t.round((c * c * c * f[1] + (d * c * c + c * d * c + c * c * d) * E[1] + (d * d * c + c * d * d + d * c * d) * m[1] + d * d * d * _[1]) * 1e3) / 1e3;
|
|
2243
2243
|
return [g, b];
|
|
2244
2244
|
}
|
|
2245
2245
|
var p = createTypedArray("float32", 8);
|
|
2246
|
-
function S(f, _, E, m,
|
|
2247
|
-
|
|
2248
|
-
var c = a(
|
|
2246
|
+
function S(f, _, E, m, P, u, d) {
|
|
2247
|
+
P < 0 ? P = 0 : P > 1 && (P = 1);
|
|
2248
|
+
var c = a(P, d);
|
|
2249
2249
|
u = u > 1 ? 1 : u;
|
|
2250
|
-
var g = a(u, d), b,
|
|
2251
|
-
for (b = 0; b <
|
|
2252
|
-
p[b * 4] = t.round((O * f[b] + W * E[b] + G * m[b] + Q * _[b]) * 1e3) / 1e3, p[b * 4 + 1] = t.round((H * f[b] + J * E[b] + D * m[b] +
|
|
2250
|
+
var g = a(u, d), b, I = f.length, T = 1 - c, L = 1 - g, O = T * T * T, W = c * T * T * 3, G = c * c * T * 3, Q = c * c * c, H = T * T * L, J = c * T * L + T * c * L + T * T * g, D = c * c * L + T * c * g + c * T * g, k = c * c * g, B = T * L * L, C = c * L * L + T * g * L + T * L * g, V = c * g * L + T * g * g + c * L * g, x = c * g * g, y = L * L * L, F = g * L * L + L * g * L + L * L * g, M = g * g * L + L * g * g + g * L * g, R = g * g * g;
|
|
2251
|
+
for (b = 0; b < I; b += 1)
|
|
2252
|
+
p[b * 4] = t.round((O * f[b] + W * E[b] + G * m[b] + Q * _[b]) * 1e3) / 1e3, p[b * 4 + 1] = t.round((H * f[b] + J * E[b] + D * m[b] + k * _[b]) * 1e3) / 1e3, p[b * 4 + 2] = t.round((B * f[b] + C * E[b] + V * m[b] + x * _[b]) * 1e3) / 1e3, p[b * 4 + 3] = t.round((y * f[b] + F * E[b] + M * m[b] + R * _[b]) * 1e3) / 1e3;
|
|
2253
2253
|
return p;
|
|
2254
2254
|
}
|
|
2255
2255
|
return {
|
|
@@ -2277,7 +2277,7 @@ function requireLottie() {
|
|
|
2277
2277
|
s < n - 1 ? s += 1 : (i = 0, o = !1);
|
|
2278
2278
|
}
|
|
2279
2279
|
p = this.keyframesMetadata[s] || {};
|
|
2280
|
-
var S, f, _, E, m,
|
|
2280
|
+
var S, f, _, E, m, P, u = l.t - A, d = a.t - A, c;
|
|
2281
2281
|
if (a.to) {
|
|
2282
2282
|
p.bezierData || (p.bezierData = bez.buildBezierData(a.s, l.s || a.e, a.to, a.ti));
|
|
2283
2283
|
var g = p.bezierData;
|
|
@@ -2286,15 +2286,15 @@ function requireLottie() {
|
|
|
2286
2286
|
for (f = g.points[b].point.length, S = 0; S < f; S += 1)
|
|
2287
2287
|
r[S] = g.points[b].point[S];
|
|
2288
2288
|
} else {
|
|
2289
|
-
p.__fnct ?
|
|
2290
|
-
var
|
|
2289
|
+
p.__fnct ? P = p.__fnct : (P = BezierFactory.getBezierEasing(a.o.x, a.o.y, a.i.x, a.i.y, a.n).get, p.__fnct = P), _ = P((t - d) / (u - d));
|
|
2290
|
+
var I = g.segmentLength * _, T, L = e.lastFrame < t && e._lastKeyframeIndex === s ? e._lastAddedLength : 0;
|
|
2291
2291
|
for (m = e.lastFrame < t && e._lastKeyframeIndex === s ? e._lastPoint : 0, o = !0, E = g.points.length; o; ) {
|
|
2292
|
-
if (L += g.points[m].partialLength,
|
|
2292
|
+
if (L += g.points[m].partialLength, I === 0 || _ === 0 || m === g.points.length - 1) {
|
|
2293
2293
|
for (f = g.points[m].point.length, S = 0; S < f; S += 1)
|
|
2294
2294
|
r[S] = g.points[m].point[S];
|
|
2295
2295
|
break;
|
|
2296
|
-
} else if (
|
|
2297
|
-
for (T = (
|
|
2296
|
+
} else if (I >= L && I < L + g.points[m + 1].partialLength) {
|
|
2297
|
+
for (T = (I - L) / g.points[m + 1].partialLength, f = g.points[m].point.length, S = 0; S < f; S += 1)
|
|
2298
2298
|
r[S] = g.points[m].point[S] + (g.points[m + 1].point[S] - g.points[m].point[S]) * T;
|
|
2299
2299
|
break;
|
|
2300
2300
|
}
|
|
@@ -2310,18 +2310,18 @@ function requireLottie() {
|
|
|
2310
2310
|
else if (t <= d)
|
|
2311
2311
|
r[0] = a.s[0], r[1] = a.s[1], r[2] = a.s[2];
|
|
2312
2312
|
else {
|
|
2313
|
-
var J = createQuaternion(a.s), D = createQuaternion(c),
|
|
2314
|
-
quaternionToEuler(r, slerp(J, D,
|
|
2313
|
+
var J = createQuaternion(a.s), D = createQuaternion(c), k = (t - d) / (u - d);
|
|
2314
|
+
quaternionToEuler(r, slerp(J, D, k));
|
|
2315
2315
|
}
|
|
2316
2316
|
else
|
|
2317
2317
|
for (s = 0; s < n; s += 1)
|
|
2318
|
-
a.h !== 1 && (t >= u ? _ = 1 : t < d ? _ = 0 : (a.o.x.constructor === Array ? (p.__fnct || (p.__fnct = []), p.__fnct[s] ?
|
|
2318
|
+
a.h !== 1 && (t >= u ? _ = 1 : t < d ? _ = 0 : (a.o.x.constructor === Array ? (p.__fnct || (p.__fnct = []), p.__fnct[s] ? P = p.__fnct[s] : (O = a.o.x[s] === void 0 ? a.o.x[0] : a.o.x[s], W = a.o.y[s] === void 0 ? a.o.y[0] : a.o.y[s], G = a.i.x[s] === void 0 ? a.i.x[0] : a.i.x[s], Q = a.i.y[s] === void 0 ? a.i.y[0] : a.i.y[s], P = BezierFactory.getBezierEasing(O, W, G, Q).get, p.__fnct[s] = P)) : p.__fnct ? P = p.__fnct : (O = a.o.x, W = a.o.y, G = a.i.x, Q = a.i.y, P = BezierFactory.getBezierEasing(O, W, G, Q).get, a.keyframeMetadata = P), _ = P((t - d) / (u - d)))), c = l.s || a.e, H = a.h === 1 ? a.s[s] : a.s[s] + (c[s] - a.s[s]) * _, this.propType === "multidimensional" ? r[s] = H : r = H;
|
|
2319
2319
|
}
|
|
2320
2320
|
return e.lastIndex = i, r;
|
|
2321
2321
|
}
|
|
2322
2322
|
function slerp(t, e, A) {
|
|
2323
|
-
var r = [], i = t[0], s = t[1], n = t[2], o = t[3], a = e[0], l = e[1], p = e[2], S = e[3], f, _, E, m,
|
|
2324
|
-
return _ = i * a + s * l + n * p + o * S, _ < 0 && (_ = -_, a = -a, l = -l, p = -p, S = -S), 1 - _ > 1e-6 ? (f = Math.acos(_), E = Math.sin(f), m = Math.sin((1 - A) * f) / E,
|
|
2323
|
+
var r = [], i = t[0], s = t[1], n = t[2], o = t[3], a = e[0], l = e[1], p = e[2], S = e[3], f, _, E, m, P;
|
|
2324
|
+
return _ = i * a + s * l + n * p + o * S, _ < 0 && (_ = -_, a = -a, l = -l, p = -p, S = -S), 1 - _ > 1e-6 ? (f = Math.acos(_), E = Math.sin(f), m = Math.sin((1 - A) * f) / E, P = Math.sin(A * f) / E) : (m = 1 - A, P = A), r[0] = m * i + P * a, r[1] = m * s + P * l, r[2] = m * n + P * p, r[3] = m * o + P * S, r;
|
|
2325
2325
|
}
|
|
2326
2326
|
function quaternionToEuler(t, e) {
|
|
2327
2327
|
var A = e[0], r = e[1], i = e[2], s = e[3], n = Math.atan2(2 * r * s - 2 * A * i, 1 - 2 * r * r - 2 * i * i), o = Math.asin(2 * A * r + 2 * i * s), a = Math.atan2(2 * A * s - 2 * r * i, 1 - 2 * A * A - 2 * i * i);
|
|
@@ -2536,14 +2536,14 @@ function requireLottie() {
|
|
|
2536
2536
|
}(), ShapePropertyFactory = function() {
|
|
2537
2537
|
var t = -999999;
|
|
2538
2538
|
function e(u, d, c) {
|
|
2539
|
-
var g = c.lastIndex, b,
|
|
2539
|
+
var g = c.lastIndex, b, I, T, L, O, W, G, Q, H, J = this.keyframes;
|
|
2540
2540
|
if (u < J[0].t - this.offsetTime)
|
|
2541
2541
|
b = J[0].s[0], T = !0, g = 0;
|
|
2542
2542
|
else if (u >= J[J.length - 1].t - this.offsetTime)
|
|
2543
2543
|
b = J[J.length - 1].s ? J[J.length - 1].s[0] : J[J.length - 2].e[0], T = !0;
|
|
2544
2544
|
else {
|
|
2545
|
-
for (var D = g,
|
|
2546
|
-
D <
|
|
2545
|
+
for (var D = g, k = J.length - 1, B = !0, C, V, x; B && (C = J[D], V = J[D + 1], !(V.t - this.offsetTime > u)); )
|
|
2546
|
+
D < k - 1 ? D += 1 : B = !1;
|
|
2547
2547
|
if (x = this.keyframesMetadata[D] || {}, T = C.h === 1, g = D, !T) {
|
|
2548
2548
|
if (u >= V.t - this.offsetTime)
|
|
2549
2549
|
Q = 1;
|
|
@@ -2553,13 +2553,13 @@ function requireLottie() {
|
|
|
2553
2553
|
var y;
|
|
2554
2554
|
x.__fnct ? y = x.__fnct : (y = BezierFactory.getBezierEasing(C.o.x, C.o.y, C.i.x, C.i.y).get, x.__fnct = y), Q = y((u - (C.t - this.offsetTime)) / (V.t - this.offsetTime - (C.t - this.offsetTime)));
|
|
2555
2555
|
}
|
|
2556
|
-
|
|
2556
|
+
I = V.s ? V.s[0] : C.e[0];
|
|
2557
2557
|
}
|
|
2558
2558
|
b = C.s[0];
|
|
2559
2559
|
}
|
|
2560
2560
|
for (W = d._length, G = b.i[0].length, c.lastIndex = g, L = 0; L < W; L += 1)
|
|
2561
2561
|
for (O = 0; O < G; O += 1)
|
|
2562
|
-
H = T ? b.i[L][O] : b.i[L][O] + (
|
|
2562
|
+
H = T ? b.i[L][O] : b.i[L][O] + (I.i[L][O] - b.i[L][O]) * Q, d.i[L][O] = H, H = T ? b.o[L][O] : b.o[L][O] + (I.o[L][O] - b.o[L][O]) * Q, d.o[L][O] = H, H = T ? b.v[L][O] : b.v[L][O] + (I.v[L][O] - b.v[L][O]) * Q, d.v[L][O] = H;
|
|
2563
2563
|
}
|
|
2564
2564
|
function A() {
|
|
2565
2565
|
var u = this.comp.renderedFrame - this.offsetTime, d = this.keyframes[0].t - this.offsetTime, c = this.keyframes[this.keyframes.length - 1].t - this.offsetTime, g = this._caching.lastFrame;
|
|
@@ -2628,8 +2628,8 @@ function requireLottie() {
|
|
|
2628
2628
|
this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertEllToPath());
|
|
2629
2629
|
},
|
|
2630
2630
|
convertEllToPath: function() {
|
|
2631
|
-
var g = this.p.v[0], b = this.p.v[1],
|
|
2632
|
-
O.v[0][0] = g, O.v[0][1] = b - T, O.v[1][0] = L ? g +
|
|
2631
|
+
var g = this.p.v[0], b = this.p.v[1], I = this.s.v[0] / 2, T = this.s.v[1] / 2, L = this.d !== 3, O = this.v;
|
|
2632
|
+
O.v[0][0] = g, O.v[0][1] = b - T, O.v[1][0] = L ? g + I : g - I, O.v[1][1] = b, O.v[2][0] = g, O.v[2][1] = b + T, O.v[3][0] = L ? g - I : g + I, O.v[3][1] = b, O.i[0][0] = L ? g - I * u : g + I * u, O.i[0][1] = b - T, O.i[1][0] = L ? g + I : g - I, O.i[1][1] = b - T * u, O.i[2][0] = L ? g + I * u : g - I * u, O.i[2][1] = b + T, O.i[3][0] = L ? g - I : g + I, O.i[3][1] = b + T * u, O.o[0][0] = L ? g + I * u : g - I * u, O.o[0][1] = b - T, O.o[1][0] = L ? g + I : g - I, O.o[1][1] = b + T * u, O.o[2][0] = L ? g - I * u : g + I * u, O.o[2][1] = b + T, O.o[3][0] = L ? g - I : g + I, O.o[3][1] = b - T * u;
|
|
2633
2633
|
}
|
|
2634
2634
|
}, extendPrototype([DynamicPropertyContainer], d), d;
|
|
2635
2635
|
}(), S = function() {
|
|
@@ -2642,20 +2642,20 @@ function requireLottie() {
|
|
|
2642
2642
|
this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertToPath());
|
|
2643
2643
|
},
|
|
2644
2644
|
convertStarToPath: function() {
|
|
2645
|
-
var c = Math.floor(this.pt.v) * 2, g = Math.PI * 2 / c, b = !0,
|
|
2646
|
-
|
|
2645
|
+
var c = Math.floor(this.pt.v) * 2, g = Math.PI * 2 / c, b = !0, I = this.or.v, T = this.ir.v, L = this.os.v, O = this.is.v, W = 2 * Math.PI * I / (c * 2), G = 2 * Math.PI * T / (c * 2), Q, H, J, D, k = -Math.PI / 2;
|
|
2646
|
+
k += this.r.v;
|
|
2647
2647
|
var B = this.data.d === 3 ? -1 : 1;
|
|
2648
2648
|
for (this.v._length = 0, Q = 0; Q < c; Q += 1) {
|
|
2649
|
-
H = b ?
|
|
2650
|
-
var C = H * Math.cos(
|
|
2651
|
-
C += +this.p.v[0], V += +this.p.v[1], this.v.setTripleAt(C, V, C - x * D * J * B, V - y * D * J * B, C + x * D * J * B, V + y * D * J * B, Q, !0), b = !b,
|
|
2649
|
+
H = b ? I : T, J = b ? L : O, D = b ? W : G;
|
|
2650
|
+
var C = H * Math.cos(k), V = H * Math.sin(k), x = C === 0 && V === 0 ? 0 : V / Math.sqrt(C * C + V * V), y = C === 0 && V === 0 ? 0 : -C / Math.sqrt(C * C + V * V);
|
|
2651
|
+
C += +this.p.v[0], V += +this.p.v[1], this.v.setTripleAt(C, V, C - x * D * J * B, V - y * D * J * B, C + x * D * J * B, V + y * D * J * B, Q, !0), b = !b, k += g * B;
|
|
2652
2652
|
}
|
|
2653
2653
|
},
|
|
2654
2654
|
convertPolygonToPath: function() {
|
|
2655
|
-
var c = Math.floor(this.pt.v), g = Math.PI * 2 / c, b = this.or.v,
|
|
2655
|
+
var c = Math.floor(this.pt.v), g = Math.PI * 2 / c, b = this.or.v, I = this.os.v, T = 2 * Math.PI * b / (c * 4), L, O = -Math.PI * 0.5, W = this.data.d === 3 ? -1 : 1;
|
|
2656
2656
|
for (O += this.r.v, this.v._length = 0, L = 0; L < c; L += 1) {
|
|
2657
2657
|
var G = b * Math.cos(O), Q = b * Math.sin(O), H = G === 0 && Q === 0 ? 0 : Q / Math.sqrt(G * G + Q * Q), J = G === 0 && Q === 0 ? 0 : -G / Math.sqrt(G * G + Q * Q);
|
|
2658
|
-
G += +this.p.v[0], Q += +this.p.v[1], this.v.setTripleAt(G, Q, G - H * T *
|
|
2658
|
+
G += +this.p.v[0], Q += +this.p.v[1], this.v.setTripleAt(G, Q, G - H * T * I * W, Q - J * T * I * W, G + H * T * I * W, Q + J * T * I * W, L, !0), O += g * W;
|
|
2659
2659
|
}
|
|
2660
2660
|
this.paths.length = 0, this.paths[0] = this.v;
|
|
2661
2661
|
}
|
|
@@ -2666,8 +2666,8 @@ function requireLottie() {
|
|
|
2666
2666
|
}
|
|
2667
2667
|
return u.prototype = {
|
|
2668
2668
|
convertRectToPath: function() {
|
|
2669
|
-
var c = this.p.v[0], g = this.p.v[1], b = this.s.v[0] / 2,
|
|
2670
|
-
this.v._length = 0, this.d === 2 || this.d === 1 ? (this.v.setTripleAt(c + b, g -
|
|
2669
|
+
var c = this.p.v[0], g = this.p.v[1], b = this.s.v[0] / 2, I = this.s.v[1] / 2, T = bmMin(b, I, this.r.v), L = T * (1 - roundCorner);
|
|
2670
|
+
this.v._length = 0, this.d === 2 || this.d === 1 ? (this.v.setTripleAt(c + b, g - I + T, c + b, g - I + T, c + b, g - I + L, 0, !0), this.v.setTripleAt(c + b, g + I - T, c + b, g + I - L, c + b, g + I - T, 1, !0), T !== 0 ? (this.v.setTripleAt(c + b - T, g + I, c + b - T, g + I, c + b - L, g + I, 2, !0), this.v.setTripleAt(c - b + T, g + I, c - b + L, g + I, c - b + T, g + I, 3, !0), this.v.setTripleAt(c - b, g + I - T, c - b, g + I - T, c - b, g + I - L, 4, !0), this.v.setTripleAt(c - b, g - I + T, c - b, g - I + L, c - b, g - I + T, 5, !0), this.v.setTripleAt(c - b + T, g - I, c - b + T, g - I, c - b + L, g - I, 6, !0), this.v.setTripleAt(c + b - T, g - I, c + b - L, g - I, c + b - T, g - I, 7, !0)) : (this.v.setTripleAt(c - b, g + I, c - b + L, g + I, c - b, g + I, 2), this.v.setTripleAt(c - b, g - I, c - b, g - I + L, c - b, g - I, 3))) : (this.v.setTripleAt(c + b, g - I + T, c + b, g - I + L, c + b, g - I + T, 0, !0), T !== 0 ? (this.v.setTripleAt(c + b - T, g - I, c + b - T, g - I, c + b - L, g - I, 1, !0), this.v.setTripleAt(c - b + T, g - I, c - b + L, g - I, c - b + T, g - I, 2, !0), this.v.setTripleAt(c - b, g - I + T, c - b, g - I + T, c - b, g - I + L, 3, !0), this.v.setTripleAt(c - b, g + I - T, c - b, g + I - L, c - b, g + I - T, 4, !0), this.v.setTripleAt(c - b + T, g + I, c - b + T, g + I, c - b + L, g + I, 5, !0), this.v.setTripleAt(c + b - T, g + I, c + b - L, g + I, c + b - T, g + I, 6, !0), this.v.setTripleAt(c + b, g + I - T, c + b, g + I - T, c + b, g + I - L, 7, !0)) : (this.v.setTripleAt(c - b, g - I, c - b + L, g - I, c - b, g - I, 1, !0), this.v.setTripleAt(c - b, g + I, c - b, g + I - L, c - b, g + I, 2, !0), this.v.setTripleAt(c + b, g + I, c + b - L, g + I, c + b, g + I, 3, !0)));
|
|
2671
2671
|
},
|
|
2672
2672
|
getValue: function() {
|
|
2673
2673
|
this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertRectToPath());
|
|
@@ -2678,8 +2678,8 @@ function requireLottie() {
|
|
|
2678
2678
|
function _(u, d, c) {
|
|
2679
2679
|
var g;
|
|
2680
2680
|
if (c === 3 || c === 4) {
|
|
2681
|
-
var b = c === 3 ? d.pt : d.ks,
|
|
2682
|
-
|
|
2681
|
+
var b = c === 3 ? d.pt : d.ks, I = b.k;
|
|
2682
|
+
I.length ? g = new l(u, d, c) : g = new o(u, d, c);
|
|
2683
2683
|
} else c === 5 ? g = new f(u, d) : c === 6 ? g = new p(u, d) : c === 7 && (g = new S(u, d));
|
|
2684
2684
|
return g.k && u.addDynamicProperty(g), g;
|
|
2685
2685
|
}
|
|
@@ -2689,8 +2689,8 @@ function requireLottie() {
|
|
|
2689
2689
|
function m() {
|
|
2690
2690
|
return l;
|
|
2691
2691
|
}
|
|
2692
|
-
var
|
|
2693
|
-
return
|
|
2692
|
+
var P = {};
|
|
2693
|
+
return P.getShapeProp = _, P.getConstructorFunction = E, P.getKeyframedConstructorFunction = m, P;
|
|
2694
2694
|
}();
|
|
2695
2695
|
/*!
|
|
2696
2696
|
Transformation Matrix v2.0
|
|
@@ -2755,7 +2755,7 @@ function requireLottie() {
|
|
|
2755
2755
|
var re = z[0], ie = z[1], se = z[2], oe = z[3], he = z[4], le = z[5], ee = z[6], X = z[7], ce = z[8], ae = z[9], pe = z[10], ne = z[11], de = z[12], Se = z[13], xe = z[14], Ee = z[15];
|
|
2756
2756
|
return z[0] = re * C + ie * F + se * U + oe * $, z[1] = re * V + ie * M + se * q + oe * Z, z[2] = re * x + ie * R + se * K + oe * te, z[3] = re * y + ie * N + se * j + oe * Y, z[4] = he * C + le * F + ee * U + X * $, z[5] = he * V + le * M + ee * q + X * Z, z[6] = he * x + le * R + ee * K + X * te, z[7] = he * y + le * N + ee * j + X * Y, z[8] = ce * C + ae * F + pe * U + ne * $, z[9] = ce * V + ae * M + pe * q + ne * Z, z[10] = ce * x + ae * R + pe * K + ne * te, z[11] = ce * y + ae * N + pe * j + ne * Y, z[12] = de * C + Se * F + xe * U + Ee * $, z[13] = de * V + Se * M + xe * q + Ee * Z, z[14] = de * x + Se * R + xe * K + Ee * te, z[15] = de * y + Se * N + xe * j + Ee * Y, this._identityCalculated = !1, this;
|
|
2757
2757
|
}
|
|
2758
|
-
function
|
|
2758
|
+
function P(C) {
|
|
2759
2759
|
var V = C.props;
|
|
2760
2760
|
return this.transform(V[0], V[1], V[2], V[3], V[4], V[5], V[6], V[7], V[8], V[9], V[10], V[11], V[12], V[13], V[14], V[15]);
|
|
2761
2761
|
}
|
|
@@ -2788,7 +2788,7 @@ function requireLottie() {
|
|
|
2788
2788
|
z: C * this.props[2] + V * this.props[6] + x * this.props[10] + this.props[14]
|
|
2789
2789
|
};
|
|
2790
2790
|
}
|
|
2791
|
-
function
|
|
2791
|
+
function I(C, V, x) {
|
|
2792
2792
|
return C * this.props[0] + V * this.props[4] + x * this.props[8] + this.props[12];
|
|
2793
2793
|
}
|
|
2794
2794
|
function T(C, V, x) {
|
|
@@ -2836,16 +2836,16 @@ function requireLottie() {
|
|
|
2836
2836
|
x += r(V[C] * y) / y, x += C === 15 ? ")" : ",", C += 1;
|
|
2837
2837
|
return x;
|
|
2838
2838
|
}
|
|
2839
|
-
function
|
|
2839
|
+
function k(C) {
|
|
2840
2840
|
var V = 1e4;
|
|
2841
2841
|
return C < 1e-6 && C > 0 || C > -1e-6 && C < 0 ? r(C * V) / V : C;
|
|
2842
2842
|
}
|
|
2843
2843
|
function B() {
|
|
2844
|
-
var C = this.props, V =
|
|
2844
|
+
var C = this.props, V = k(C[0]), x = k(C[1]), y = k(C[4]), F = k(C[5]), M = k(C[12]), R = k(C[13]);
|
|
2845
2845
|
return "matrix(" + V + "," + x + "," + y + "," + F + "," + M + "," + R + ")";
|
|
2846
2846
|
}
|
|
2847
2847
|
return function() {
|
|
2848
|
-
this.reset = i, this.rotate = s, this.rotateX = n, this.rotateY = o, this.rotateZ = a, this.skew = p, this.skewFromAxis = S, this.shear = l, this.scale = f, this.setTransform = _, this.translate = E, this.transform = m, this.multiply =
|
|
2848
|
+
this.reset = i, this.rotate = s, this.rotateX = n, this.rotateY = o, this.rotateZ = a, this.skew = p, this.skewFromAxis = S, this.shear = l, this.scale = f, this.setTransform = _, this.translate = E, this.transform = m, this.multiply = P, this.applyToPoint = b, this.applyToX = I, this.applyToY = T, this.applyToZ = L, this.applyToPointArray = H, this.applyToTriplePoints = Q, this.applyToPointStringified = J, this.toCSS = D, this.to2dCSS = B, this.clone = c, this.cloneFromProps = g, this.equals = d, this.inversePoints = G, this.inversePoint = W, this.getInverseMatrix = O, this._t = this.transform, this.isIdentity = u, this._identity = !0, this._identityCalculated = !1, this.props = createTypedArray("float32", 16), this.reset();
|
|
2849
2849
|
};
|
|
2850
2850
|
}();
|
|
2851
2851
|
function _typeof$3(t) {
|
|
@@ -3013,7 +3013,7 @@ function requireLottie() {
|
|
|
3013
3013
|
for (n = 0; n < o; n += 1)
|
|
3014
3014
|
this.shapes[n].pathsData.length = 0, this.shapes[n].shape._mdf = !0;
|
|
3015
3015
|
} else {
|
|
3016
|
-
var E = [], m,
|
|
3016
|
+
var E = [], m, P;
|
|
3017
3017
|
for (n = 0; n < o; n += 1)
|
|
3018
3018
|
if (m = this.shapes[n], !m.shape._mdf && !this._mdf && !t && this.m !== 2)
|
|
3019
3019
|
m.shape.paths = m.localShapeCollection;
|
|
@@ -3030,7 +3030,7 @@ function requireLottie() {
|
|
|
3030
3030
|
var u = e, d = A, c = 0, g;
|
|
3031
3031
|
for (n = o - 1; n >= 0; n -= 1)
|
|
3032
3032
|
if (m = this.shapes[n], m.shape._mdf) {
|
|
3033
|
-
for (
|
|
3033
|
+
for (P = m.localShapeCollection, P.releaseShapes(), this.m === 2 && o > 1 ? (g = this.calculateShapeEdges(e, A, m.totalShapeLength, c, _), c += m.totalShapeLength) : g = [[u, d]], l = g.length, a = 0; a < l; a += 1) {
|
|
3034
3034
|
u = g[a][0], d = g[a][1], E.length = 0, d <= 1 ? E.push({
|
|
3035
3035
|
s: m.totalShapeLength * u,
|
|
3036
3036
|
e: m.totalShapeLength * d
|
|
@@ -3047,17 +3047,17 @@ function requireLottie() {
|
|
|
3047
3047
|
var b = this.addShapes(m, E[0]);
|
|
3048
3048
|
if (E[0].s !== E[0].e) {
|
|
3049
3049
|
if (E.length > 1) {
|
|
3050
|
-
var
|
|
3051
|
-
if (
|
|
3050
|
+
var I = m.shape.paths.shapes[m.shape.paths._length - 1];
|
|
3051
|
+
if (I.c) {
|
|
3052
3052
|
var T = b.pop();
|
|
3053
|
-
this.addPaths(b,
|
|
3053
|
+
this.addPaths(b, P), b = this.addShapes(m, E[1], T);
|
|
3054
3054
|
} else
|
|
3055
|
-
this.addPaths(b,
|
|
3055
|
+
this.addPaths(b, P), b = this.addShapes(m, E[1]);
|
|
3056
3056
|
}
|
|
3057
|
-
this.addPaths(b,
|
|
3057
|
+
this.addPaths(b, P);
|
|
3058
3058
|
}
|
|
3059
3059
|
}
|
|
3060
|
-
m.shape.paths =
|
|
3060
|
+
m.shape.paths = P;
|
|
3061
3061
|
}
|
|
3062
3062
|
}
|
|
3063
3063
|
}, TrimModifier.prototype.addPaths = function(t, e) {
|
|
@@ -3069,7 +3069,7 @@ function requireLottie() {
|
|
|
3069
3069
|
}, TrimModifier.prototype.addSegmentFromArray = function(t, e, A, r) {
|
|
3070
3070
|
e.setXYAt(t[1], t[5], "o", A), e.setXYAt(t[2], t[6], "i", A + 1), r && e.setXYAt(t[0], t[4], "v", A), e.setXYAt(t[3], t[7], "v", A + 1);
|
|
3071
3071
|
}, TrimModifier.prototype.addShapes = function(t, e, A) {
|
|
3072
|
-
var r = t.pathsData, i = t.shape.paths.shapes, s, n = t.shape.paths._length, o, a, l = 0, p, S, f, _, E = [], m,
|
|
3072
|
+
var r = t.pathsData, i = t.shape.paths.shapes, s, n = t.shape.paths._length, o, a, l = 0, p, S, f, _, E = [], m, P = !0;
|
|
3073
3073
|
for (A ? (S = A._length, m = A._length) : (A = shapePool.newElement(), S = 0, m = 0), E.push(A), s = 0; s < n; s += 1) {
|
|
3074
3074
|
for (f = r[s].lengths, A.c = i[s].c, a = i[s].c ? f.length : f.length + 1, o = 1; o < a; o += 1)
|
|
3075
3075
|
if (p = f[o - 1], l + p.addedLength < e.s)
|
|
@@ -3078,18 +3078,18 @@ function requireLottie() {
|
|
|
3078
3078
|
A.c = !1;
|
|
3079
3079
|
break;
|
|
3080
3080
|
} else
|
|
3081
|
-
e.s <= l && e.e >= l + p.addedLength ? (this.addSegment(i[s].v[o - 1], i[s].o[o - 1], i[s].i[o], i[s].v[o], A, S,
|
|
3081
|
+
e.s <= l && e.e >= l + p.addedLength ? (this.addSegment(i[s].v[o - 1], i[s].o[o - 1], i[s].i[o], i[s].v[o], A, S, P), P = !1) : (_ = bez.getNewSegment(i[s].v[o - 1], i[s].v[o], i[s].o[o - 1], i[s].i[o], (e.s - l) / p.addedLength, (e.e - l) / p.addedLength, f[o - 1]), this.addSegmentFromArray(_, A, S, P), P = !1, A.c = !1), l += p.addedLength, S += 1;
|
|
3082
3082
|
if (i[s].c && f.length) {
|
|
3083
3083
|
if (p = f[o - 1], l <= e.e) {
|
|
3084
3084
|
var u = f[o - 1].addedLength;
|
|
3085
|
-
e.s <= l && e.e >= l + u ? (this.addSegment(i[s].v[o - 1], i[s].o[o - 1], i[s].i[0], i[s].v[0], A, S,
|
|
3085
|
+
e.s <= l && e.e >= l + u ? (this.addSegment(i[s].v[o - 1], i[s].o[o - 1], i[s].i[0], i[s].v[0], A, S, P), P = !1) : (_ = bez.getNewSegment(i[s].v[o - 1], i[s].v[0], i[s].o[o - 1], i[s].i[0], (e.s - l) / u, (e.e - l) / u, f[o - 1]), this.addSegmentFromArray(_, A, S, P), P = !1, A.c = !1);
|
|
3086
3086
|
} else
|
|
3087
3087
|
A.c = !1;
|
|
3088
3088
|
l += p.addedLength, S += 1;
|
|
3089
3089
|
}
|
|
3090
3090
|
if (A._length && (A.setXYAt(A.v[m][0], A.v[m][1], "i", m), A.setXYAt(A.v[A._length - 1][0], A.v[A._length - 1][1], "o", A._length - 1)), l > e.e)
|
|
3091
3091
|
break;
|
|
3092
|
-
s < n - 1 && (A = shapePool.newElement(),
|
|
3092
|
+
s < n - 1 && (A = shapePool.newElement(), P = !0, E.push(A), S = 0);
|
|
3093
3093
|
}
|
|
3094
3094
|
return E;
|
|
3095
3095
|
};
|
|
@@ -3297,7 +3297,7 @@ function requireLottie() {
|
|
|
3297
3297
|
s += 1;
|
|
3298
3298
|
}
|
|
3299
3299
|
this._currentCopies = o;
|
|
3300
|
-
var f = this.o.v, _ = f % 1, E = f > 0 ? Math.floor(f) : Math.ceil(f), m = this.pMatrix.props,
|
|
3300
|
+
var f = this.o.v, _ = f % 1, E = f > 0 ? Math.floor(f) : Math.ceil(f), m = this.pMatrix.props, P = this.rMatrix.props, u = this.sMatrix.props;
|
|
3301
3301
|
this.pMatrix.reset(), this.rMatrix.reset(), this.sMatrix.reset(), this.tMatrix.reset(), this.matrix.reset();
|
|
3302
3302
|
var d = 0;
|
|
3303
3303
|
if (f > 0) {
|
|
@@ -3312,7 +3312,7 @@ function requireLottie() {
|
|
|
3312
3312
|
r = this.data.m === 1 ? 0 : this._currentCopies - 1, i = this.data.m === 1 ? 1 : -1, s = this._currentCopies;
|
|
3313
3313
|
for (var c, g; s; ) {
|
|
3314
3314
|
if (e = this.elemsData[r].it, A = e[e.length - 1].transform.mProps.v.props, g = A.length, e[e.length - 1].transform.mProps._mdf = !0, e[e.length - 1].transform.op._mdf = !0, e[e.length - 1].transform.op.v = this._currentCopies === 1 ? this.so.v : this.so.v + (this.eo.v - this.so.v) * (r / (this._currentCopies - 1)), d !== 0) {
|
|
3315
|
-
for ((r !== 0 && i === 1 || r !== this._currentCopies - 1 && i === -1) && this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, 1, !1), this.matrix.transform(
|
|
3315
|
+
for ((r !== 0 && i === 1 || r !== this._currentCopies - 1 && i === -1) && this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, 1, !1), this.matrix.transform(P[0], P[1], P[2], P[3], P[4], P[5], P[6], P[7], P[8], P[9], P[10], P[11], P[12], P[13], P[14], P[15]), this.matrix.transform(u[0], u[1], u[2], u[3], u[4], u[5], u[6], u[7], u[8], u[9], u[10], u[11], u[12], u[13], u[14], u[15]), this.matrix.transform(m[0], m[1], m[2], m[3], m[4], m[5], m[6], m[7], m[8], m[9], m[10], m[11], m[12], m[13], m[14], m[15]), c = 0; c < g; c += 1)
|
|
3316
3316
|
A[c] = this.matrix.props[c];
|
|
3317
3317
|
this.matrix.reset();
|
|
3318
3318
|
} else
|
|
@@ -3333,9 +3333,9 @@ function requireLottie() {
|
|
|
3333
3333
|
}, RoundCornersModifier.prototype.processPath = function(t, e) {
|
|
3334
3334
|
var A = shapePool.newElement();
|
|
3335
3335
|
A.c = t.c;
|
|
3336
|
-
var r, i = t._length, s, n, o, a, l, p, S = 0, f, _, E, m,
|
|
3336
|
+
var r, i = t._length, s, n, o, a, l, p, S = 0, f, _, E, m, P, u;
|
|
3337
3337
|
for (r = 0; r < i; r += 1)
|
|
3338
|
-
s = t.v[r], o = t.o[r], n = t.i[r], s[0] === o[0] && s[1] === o[1] && s[0] === n[0] && s[1] === n[1] ? (r === 0 || r === i - 1) && !t.c ? (A.setTripleAt(s[0], s[1], o[0], o[1], n[0], n[1], S), S += 1) : (r === 0 ? a = t.v[i - 1] : a = t.v[r - 1], l = Math.sqrt(Math.pow(s[0] - a[0], 2) + Math.pow(s[1] - a[1], 2)), p = l ? Math.min(l / 2, e) / l : 0,
|
|
3338
|
+
s = t.v[r], o = t.o[r], n = t.i[r], s[0] === o[0] && s[1] === o[1] && s[0] === n[0] && s[1] === n[1] ? (r === 0 || r === i - 1) && !t.c ? (A.setTripleAt(s[0], s[1], o[0], o[1], n[0], n[1], S), S += 1) : (r === 0 ? a = t.v[i - 1] : a = t.v[r - 1], l = Math.sqrt(Math.pow(s[0] - a[0], 2) + Math.pow(s[1] - a[1], 2)), p = l ? Math.min(l / 2, e) / l : 0, P = s[0] + (a[0] - s[0]) * p, f = P, u = s[1] - (s[1] - a[1]) * p, _ = u, E = f - (f - s[0]) * roundCorner, m = _ - (_ - s[1]) * roundCorner, A.setTripleAt(f, _, E, m, P, u, S), S += 1, r === i - 1 ? a = t.v[0] : a = t.v[r + 1], l = Math.sqrt(Math.pow(s[0] - a[0], 2) + Math.pow(s[1] - a[1], 2)), p = l ? Math.min(l / 2, e) / l : 0, E = s[0] + (a[0] - s[0]) * p, f = E, m = s[1] + (a[1] - s[1]) * p, _ = m, P = f - (f - s[0]) * roundCorner, u = _ - (_ - s[1]) * roundCorner, A.setTripleAt(f, _, E, m, P, u, S), S += 1) : (A.setTripleAt(t.v[r][0], t.v[r][1], t.o[r][0], t.o[r][1], t.i[r][0], t.i[r][1], S), S += 1);
|
|
3339
3339
|
return A;
|
|
3340
3340
|
}, RoundCornersModifier.prototype.processShapes = function(t) {
|
|
3341
3341
|
var e, A, r = this.shapes.length, i, s, n = this.rd.v;
|
|
@@ -3668,38 +3668,38 @@ function requireLottie() {
|
|
|
3668
3668
|
}, A = [];
|
|
3669
3669
|
A = A.concat([2304, 2305, 2306, 2307, 2362, 2363, 2364, 2364, 2366, 2367, 2368, 2369, 2370, 2371, 2372, 2373, 2374, 2375, 2376, 2377, 2378, 2379, 2380, 2381, 2382, 2383, 2387, 2388, 2389, 2390, 2391, 2402, 2403]);
|
|
3670
3670
|
var r = 127988, i = 917631, s = 917601, n = 917626, o = 65039, a = 8205, l = 127462, p = 127487, S = ["d83cdffb", "d83cdffc", "d83cdffd", "d83cdffe", "d83cdfff"];
|
|
3671
|
-
function f(
|
|
3672
|
-
var B =
|
|
3671
|
+
function f(k) {
|
|
3672
|
+
var B = k.split(","), C, V = B.length, x = [];
|
|
3673
3673
|
for (C = 0; C < V; C += 1)
|
|
3674
3674
|
B[C] !== "sans-serif" && B[C] !== "monospace" && x.push(B[C]);
|
|
3675
3675
|
return x.join(",");
|
|
3676
3676
|
}
|
|
3677
|
-
function _(
|
|
3677
|
+
function _(k, B) {
|
|
3678
3678
|
var C = createTag("span");
|
|
3679
3679
|
C.setAttribute("aria-hidden", !0), C.style.fontFamily = B;
|
|
3680
3680
|
var V = createTag("span");
|
|
3681
3681
|
V.innerText = "giItT1WQy@!-/#", C.style.position = "absolute", C.style.left = "-10000px", C.style.top = "-10000px", C.style.fontSize = "300px", C.style.fontVariant = "normal", C.style.fontStyle = "normal", C.style.fontWeight = "normal", C.style.letterSpacing = "0", C.appendChild(V), document.body.appendChild(C);
|
|
3682
3682
|
var x = V.offsetWidth;
|
|
3683
|
-
return V.style.fontFamily = f(
|
|
3683
|
+
return V.style.fontFamily = f(k) + ", " + B, {
|
|
3684
3684
|
node: V,
|
|
3685
3685
|
w: x,
|
|
3686
3686
|
parent: C
|
|
3687
3687
|
};
|
|
3688
3688
|
}
|
|
3689
3689
|
function E() {
|
|
3690
|
-
var
|
|
3691
|
-
for (
|
|
3692
|
-
this.fonts[
|
|
3690
|
+
var k, B = this.fonts.length, C, V, x = B;
|
|
3691
|
+
for (k = 0; k < B; k += 1)
|
|
3692
|
+
this.fonts[k].loaded ? x -= 1 : this.fonts[k].fOrigin === "n" || this.fonts[k].origin === 0 ? this.fonts[k].loaded = !0 : (C = this.fonts[k].monoCase.node, V = this.fonts[k].monoCase.w, C.offsetWidth !== V ? (x -= 1, this.fonts[k].loaded = !0) : (C = this.fonts[k].sansCase.node, V = this.fonts[k].sansCase.w, C.offsetWidth !== V && (x -= 1, this.fonts[k].loaded = !0)), this.fonts[k].loaded && (this.fonts[k].sansCase.parent.parentNode.removeChild(this.fonts[k].sansCase.parent), this.fonts[k].monoCase.parent.parentNode.removeChild(this.fonts[k].monoCase.parent)));
|
|
3693
3693
|
x !== 0 && Date.now() - this.initTime < t ? setTimeout(this.checkLoadedFontsBinded, 20) : setTimeout(this.setIsLoadedBinded, 10);
|
|
3694
3694
|
}
|
|
3695
|
-
function m(
|
|
3696
|
-
var C = document.body && B ? "svg" : "canvas", V, x = getFontProperties(
|
|
3695
|
+
function m(k, B) {
|
|
3696
|
+
var C = document.body && B ? "svg" : "canvas", V, x = getFontProperties(k);
|
|
3697
3697
|
if (C === "svg") {
|
|
3698
3698
|
var y = createNS("text");
|
|
3699
|
-
y.style.fontSize = "100px", y.setAttribute("font-family",
|
|
3699
|
+
y.style.fontSize = "100px", y.setAttribute("font-family", k.fFamily), y.setAttribute("font-style", x.style), y.setAttribute("font-weight", x.weight), y.textContent = "1", k.fClass ? (y.style.fontFamily = "inherit", y.setAttribute("class", k.fClass)) : y.style.fontFamily = k.fFamily, B.appendChild(y), V = y;
|
|
3700
3700
|
} else {
|
|
3701
3701
|
var F = new OffscreenCanvas(500, 500).getContext("2d");
|
|
3702
|
-
F.font = x.style + " " + x.weight + " 100px " +
|
|
3702
|
+
F.font = x.style + " " + x.weight + " 100px " + k.fFamily, V = F;
|
|
3703
3703
|
}
|
|
3704
3704
|
function M(R) {
|
|
3705
3705
|
return C === "svg" ? (V.textContent = R, V.getComputedTextLength()) : V.measureText(R).width;
|
|
@@ -3708,22 +3708,22 @@ function requireLottie() {
|
|
|
3708
3708
|
measureText: M
|
|
3709
3709
|
};
|
|
3710
3710
|
}
|
|
3711
|
-
function
|
|
3712
|
-
if (!
|
|
3711
|
+
function P(k, B) {
|
|
3712
|
+
if (!k) {
|
|
3713
3713
|
this.isLoaded = !0;
|
|
3714
3714
|
return;
|
|
3715
3715
|
}
|
|
3716
3716
|
if (this.chars) {
|
|
3717
|
-
this.isLoaded = !0, this.fonts =
|
|
3717
|
+
this.isLoaded = !0, this.fonts = k.list;
|
|
3718
3718
|
return;
|
|
3719
3719
|
}
|
|
3720
3720
|
if (!document.body) {
|
|
3721
|
-
this.isLoaded = !0,
|
|
3721
|
+
this.isLoaded = !0, k.list.forEach(function(K) {
|
|
3722
3722
|
K.helper = m(K), K.cache = {};
|
|
3723
|
-
}), this.fonts =
|
|
3723
|
+
}), this.fonts = k.list;
|
|
3724
3724
|
return;
|
|
3725
3725
|
}
|
|
3726
|
-
var C =
|
|
3726
|
+
var C = k.list, V, x = C.length, y = x;
|
|
3727
3727
|
for (V = 0; V < x; V += 1) {
|
|
3728
3728
|
var F = !0, M, R;
|
|
3729
3729
|
if (C[V].loaded = !1, C[V].monoCase = _(C[V].fFamily, "monospace"), C[V].sansCase = _(C[V].fFamily, "sans-serif"), !C[V].fPath)
|
|
@@ -3752,84 +3752,84 @@ function requireLottie() {
|
|
|
3752
3752
|
}
|
|
3753
3753
|
y === 0 ? this.isLoaded = !0 : setTimeout(this.checkLoadedFonts.bind(this), 100);
|
|
3754
3754
|
}
|
|
3755
|
-
function u(
|
|
3756
|
-
if (
|
|
3755
|
+
function u(k) {
|
|
3756
|
+
if (k) {
|
|
3757
3757
|
this.chars || (this.chars = []);
|
|
3758
|
-
var B, C =
|
|
3758
|
+
var B, C = k.length, V, x = this.chars.length, y;
|
|
3759
3759
|
for (B = 0; B < C; B += 1) {
|
|
3760
3760
|
for (V = 0, y = !1; V < x; )
|
|
3761
|
-
this.chars[V].style ===
|
|
3762
|
-
y || (this.chars.push(
|
|
3761
|
+
this.chars[V].style === k[B].style && this.chars[V].fFamily === k[B].fFamily && this.chars[V].ch === k[B].ch && (y = !0), V += 1;
|
|
3762
|
+
y || (this.chars.push(k[B]), x += 1);
|
|
3763
3763
|
}
|
|
3764
3764
|
}
|
|
3765
3765
|
}
|
|
3766
|
-
function d(
|
|
3766
|
+
function d(k, B, C) {
|
|
3767
3767
|
for (var V = 0, x = this.chars.length; V < x; ) {
|
|
3768
|
-
if (this.chars[V].ch ===
|
|
3768
|
+
if (this.chars[V].ch === k && this.chars[V].style === B && this.chars[V].fFamily === C)
|
|
3769
3769
|
return this.chars[V];
|
|
3770
3770
|
V += 1;
|
|
3771
3771
|
}
|
|
3772
|
-
return (typeof
|
|
3772
|
+
return (typeof k == "string" && k.charCodeAt(0) !== 13 || !k) && console && console.warn && !this._warned && (this._warned = !0, console.warn("Missing character from exported characters list: ", k, B, C)), e;
|
|
3773
3773
|
}
|
|
3774
|
-
function c(
|
|
3775
|
-
var V = this.getFontByName(B), x =
|
|
3774
|
+
function c(k, B, C) {
|
|
3775
|
+
var V = this.getFontByName(B), x = k;
|
|
3776
3776
|
if (!V.cache[x]) {
|
|
3777
3777
|
var y = V.helper;
|
|
3778
|
-
if (
|
|
3779
|
-
var F = y.measureText("|" +
|
|
3778
|
+
if (k === " ") {
|
|
3779
|
+
var F = y.measureText("|" + k + "|"), M = y.measureText("||");
|
|
3780
3780
|
V.cache[x] = (F - M) / 100;
|
|
3781
3781
|
} else
|
|
3782
|
-
V.cache[x] = y.measureText(
|
|
3782
|
+
V.cache[x] = y.measureText(k) / 100;
|
|
3783
3783
|
}
|
|
3784
3784
|
return V.cache[x] * C;
|
|
3785
3785
|
}
|
|
3786
|
-
function g(
|
|
3786
|
+
function g(k) {
|
|
3787
3787
|
for (var B = 0, C = this.fonts.length; B < C; ) {
|
|
3788
|
-
if (this.fonts[B].fName ===
|
|
3788
|
+
if (this.fonts[B].fName === k)
|
|
3789
3789
|
return this.fonts[B];
|
|
3790
3790
|
B += 1;
|
|
3791
3791
|
}
|
|
3792
3792
|
return this.fonts[0];
|
|
3793
3793
|
}
|
|
3794
|
-
function b(
|
|
3795
|
-
var B = 0, C =
|
|
3794
|
+
function b(k) {
|
|
3795
|
+
var B = 0, C = k.charCodeAt(0);
|
|
3796
3796
|
if (C >= 55296 && C <= 56319) {
|
|
3797
|
-
var V =
|
|
3797
|
+
var V = k.charCodeAt(1);
|
|
3798
3798
|
V >= 56320 && V <= 57343 && (B = (C - 55296) * 1024 + V - 56320 + 65536);
|
|
3799
3799
|
}
|
|
3800
3800
|
return B;
|
|
3801
3801
|
}
|
|
3802
|
-
function k
|
|
3803
|
-
var C =
|
|
3802
|
+
function I(k, B) {
|
|
3803
|
+
var C = k.toString(16) + B.toString(16);
|
|
3804
3804
|
return S.indexOf(C) !== -1;
|
|
3805
3805
|
}
|
|
3806
|
-
function T(
|
|
3807
|
-
return
|
|
3806
|
+
function T(k) {
|
|
3807
|
+
return k === a;
|
|
3808
3808
|
}
|
|
3809
|
-
function L(
|
|
3810
|
-
return
|
|
3809
|
+
function L(k) {
|
|
3810
|
+
return k === o;
|
|
3811
3811
|
}
|
|
3812
|
-
function O(
|
|
3813
|
-
var B = b(
|
|
3812
|
+
function O(k) {
|
|
3813
|
+
var B = b(k);
|
|
3814
3814
|
return B >= l && B <= p;
|
|
3815
3815
|
}
|
|
3816
|
-
function W(
|
|
3817
|
-
return O(
|
|
3816
|
+
function W(k) {
|
|
3817
|
+
return O(k.substr(0, 2)) && O(k.substr(2, 2));
|
|
3818
3818
|
}
|
|
3819
|
-
function G(
|
|
3820
|
-
return A.indexOf(
|
|
3819
|
+
function G(k) {
|
|
3820
|
+
return A.indexOf(k) !== -1;
|
|
3821
3821
|
}
|
|
3822
|
-
function Q(
|
|
3823
|
-
var C = b(
|
|
3822
|
+
function Q(k, B) {
|
|
3823
|
+
var C = b(k.substr(B, 2));
|
|
3824
3824
|
if (C !== r)
|
|
3825
3825
|
return !1;
|
|
3826
3826
|
var V = 0;
|
|
3827
3827
|
for (B += 2; V < 5; ) {
|
|
3828
|
-
if (C = b(
|
|
3828
|
+
if (C = b(k.substr(B, 2)), C < s || C > n)
|
|
3829
3829
|
return !1;
|
|
3830
3830
|
V += 1, B += 2;
|
|
3831
3831
|
}
|
|
3832
|
-
return b(
|
|
3832
|
+
return b(k.substr(B, 2)) === i;
|
|
3833
3833
|
}
|
|
3834
3834
|
function H() {
|
|
3835
3835
|
this.isLoaded = !0;
|
|
@@ -3837,10 +3837,10 @@ function requireLottie() {
|
|
|
3837
3837
|
var J = function() {
|
|
3838
3838
|
this.fonts = [], this.chars = null, this.typekitLoaded = 0, this.isLoaded = !1, this._warned = !1, this.initTime = Date.now(), this.setIsLoadedBinded = this.setIsLoaded.bind(this), this.checkLoadedFontsBinded = this.checkLoadedFonts.bind(this);
|
|
3839
3839
|
};
|
|
3840
|
-
J.isModifier =
|
|
3840
|
+
J.isModifier = I, J.isZeroWidthJoiner = T, J.isFlagEmoji = W, J.isRegionalCode = O, J.isCombinedCharacter = G, J.isRegionalFlag = Q, J.isVariationSelector = L, J.BLACK_FLAG_CODE_POINT = r;
|
|
3841
3841
|
var D = {
|
|
3842
3842
|
addChars: u,
|
|
3843
|
-
addFonts:
|
|
3843
|
+
addFonts: P,
|
|
3844
3844
|
getCharData: d,
|
|
3845
3845
|
getFontByName: g,
|
|
3846
3846
|
measureText: c,
|
|
@@ -4304,7 +4304,7 @@ function requireLottie() {
|
|
|
4304
4304
|
this.data = t, this.element = e, this.globalData = A, this.storedData = [], this.masksProperties = this.data.masksProperties || [], this.maskElement = null;
|
|
4305
4305
|
var r = this.globalData.defs, i, s = this.masksProperties ? this.masksProperties.length : 0;
|
|
4306
4306
|
this.viewData = createSizedArray(s), this.solidPath = "";
|
|
4307
|
-
var n, o = this.masksProperties, a = 0, l = [], p, S, f = createElementID(), _, E, m,
|
|
4307
|
+
var n, o = this.masksProperties, a = 0, l = [], p, S, f = createElementID(), _, E, m, P, u = "clipPath", d = "clip-path";
|
|
4308
4308
|
for (i = 0; i < s; i += 1)
|
|
4309
4309
|
if ((o[i].mode !== "a" && o[i].mode !== "n" || o[i].inv || o[i].o.k !== 100 || o[i].o.x) && (u = "mask", d = "mask"), (o[i].mode === "s" || o[i].mode === "i") && a === 0 ? (_ = createNS("rect"), _.setAttribute("fill", "#ffffff"), _.setAttribute("width", this.element.comp.data.w || 0), _.setAttribute("height", this.element.comp.data.h || 0), l.push(_)) : _ = null, n = createNS("path"), o[i].mode === "n")
|
|
4310
4310
|
this.viewData[i] = {
|
|
@@ -4316,9 +4316,9 @@ function requireLottie() {
|
|
|
4316
4316
|
else {
|
|
4317
4317
|
a += 1, n.setAttribute("fill", o[i].mode === "s" ? "#000000" : "#ffffff"), n.setAttribute("clip-rule", "nonzero");
|
|
4318
4318
|
var c;
|
|
4319
|
-
if (o[i].x.k !== 0 ? (u = "mask", d = "mask",
|
|
4319
|
+
if (o[i].x.k !== 0 ? (u = "mask", d = "mask", P = PropertyFactory.getProp(this.element, o[i].x, 0, null, this.element), c = createElementID(), E = createNS("filter"), E.setAttribute("id", c), m = createNS("feMorphology"), m.setAttribute("operator", "erode"), m.setAttribute("in", "SourceGraphic"), m.setAttribute("radius", "0"), E.appendChild(m), r.appendChild(E), n.setAttribute("stroke", o[i].mode === "s" ? "#000000" : "#ffffff")) : (m = null, P = null), this.storedData[i] = {
|
|
4320
4320
|
elem: n,
|
|
4321
|
-
x:
|
|
4321
|
+
x: P,
|
|
4322
4322
|
expan: m,
|
|
4323
4323
|
lastPath: "",
|
|
4324
4324
|
lastOperator: "",
|
|
@@ -4797,7 +4797,7 @@ function requireLottie() {
|
|
|
4797
4797
|
function s() {
|
|
4798
4798
|
}
|
|
4799
4799
|
function n(S, f, _) {
|
|
4800
|
-
var E, m,
|
|
4800
|
+
var E, m, P, u, d, c, g = f.styles.length, b = f.lvl, I, T, L, O;
|
|
4801
4801
|
for (c = 0; c < g; c += 1) {
|
|
4802
4802
|
if (u = f.sh._mdf || _, f.styles[c].lvl < b) {
|
|
4803
4803
|
for (T = e.reset(), L = b - f.styles[c].lvl, O = f.transformers.length - 1; !u && L > 0; )
|
|
@@ -4807,13 +4807,13 @@ function requireLottie() {
|
|
|
4807
4807
|
T.multiply(f.transformers[O].mProps.v), L -= 1, O -= 1;
|
|
4808
4808
|
} else
|
|
4809
4809
|
T = t;
|
|
4810
|
-
if (
|
|
4811
|
-
for (
|
|
4812
|
-
d =
|
|
4813
|
-
f.caches[c] =
|
|
4810
|
+
if (I = f.sh.paths, m = I._length, u) {
|
|
4811
|
+
for (P = "", E = 0; E < m; E += 1)
|
|
4812
|
+
d = I.shapes[E], d && d._length && (P += buildShapeString(d, d._length, d.c, T));
|
|
4813
|
+
f.caches[c] = P;
|
|
4814
4814
|
} else
|
|
4815
|
-
|
|
4816
|
-
f.styles[c].d += S.hd === !0 ? "" :
|
|
4815
|
+
P = f.caches[c];
|
|
4816
|
+
f.styles[c].d += S.hd === !0 ? "" : P, f.styles[c]._mdf = u || f.styles[c]._mdf;
|
|
4817
4817
|
}
|
|
4818
4818
|
}
|
|
4819
4819
|
function o(S, f, _) {
|
|
@@ -4824,37 +4824,37 @@ function requireLottie() {
|
|
|
4824
4824
|
l(S, f, _), p(S, f, _);
|
|
4825
4825
|
}
|
|
4826
4826
|
function l(S, f, _) {
|
|
4827
|
-
var E = f.gf, m = f.g._hasOpacity,
|
|
4827
|
+
var E = f.gf, m = f.g._hasOpacity, P = f.s.v, u = f.e.v;
|
|
4828
4828
|
if (f.o._mdf || _) {
|
|
4829
4829
|
var d = S.ty === "gf" ? "fill-opacity" : "stroke-opacity";
|
|
4830
4830
|
f.style.pElem.setAttribute(d, f.o.v);
|
|
4831
4831
|
}
|
|
4832
4832
|
if (f.s._mdf || _) {
|
|
4833
4833
|
var c = S.t === 1 ? "x1" : "cx", g = c === "x1" ? "y1" : "cy";
|
|
4834
|
-
E.setAttribute(c,
|
|
4834
|
+
E.setAttribute(c, P[0]), E.setAttribute(g, P[1]), m && !f.g._collapsable && (f.of.setAttribute(c, P[0]), f.of.setAttribute(g, P[1]));
|
|
4835
4835
|
}
|
|
4836
|
-
var b,
|
|
4836
|
+
var b, I, T, L;
|
|
4837
4837
|
if (f.g._cmdf || _) {
|
|
4838
4838
|
b = f.cst;
|
|
4839
4839
|
var O = f.g.c;
|
|
4840
|
-
for (T = b.length,
|
|
4841
|
-
L = b[
|
|
4840
|
+
for (T = b.length, I = 0; I < T; I += 1)
|
|
4841
|
+
L = b[I], L.setAttribute("offset", O[I * 4] + "%"), L.setAttribute("stop-color", "rgb(" + O[I * 4 + 1] + "," + O[I * 4 + 2] + "," + O[I * 4 + 3] + ")");
|
|
4842
4842
|
}
|
|
4843
4843
|
if (m && (f.g._omdf || _)) {
|
|
4844
4844
|
var W = f.g.o;
|
|
4845
|
-
for (f.g._collapsable ? b = f.cst : b = f.ost, T = b.length,
|
|
4846
|
-
L = b[
|
|
4845
|
+
for (f.g._collapsable ? b = f.cst : b = f.ost, T = b.length, I = 0; I < T; I += 1)
|
|
4846
|
+
L = b[I], f.g._collapsable || L.setAttribute("offset", W[I * 2] + "%"), L.setAttribute("stop-opacity", W[I * 2 + 1]);
|
|
4847
4847
|
}
|
|
4848
4848
|
if (S.t === 1)
|
|
4849
4849
|
(f.e._mdf || _) && (E.setAttribute("x2", u[0]), E.setAttribute("y2", u[1]), m && !f.g._collapsable && (f.of.setAttribute("x2", u[0]), f.of.setAttribute("y2", u[1])));
|
|
4850
4850
|
else {
|
|
4851
4851
|
var G;
|
|
4852
|
-
if ((f.s._mdf || f.e._mdf || _) && (G = Math.sqrt(Math.pow(
|
|
4853
|
-
G || (G = Math.sqrt(Math.pow(
|
|
4854
|
-
var Q = Math.atan2(u[1] -
|
|
4852
|
+
if ((f.s._mdf || f.e._mdf || _) && (G = Math.sqrt(Math.pow(P[0] - u[0], 2) + Math.pow(P[1] - u[1], 2)), E.setAttribute("r", G), m && !f.g._collapsable && f.of.setAttribute("r", G)), f.e._mdf || f.h._mdf || f.a._mdf || _) {
|
|
4853
|
+
G || (G = Math.sqrt(Math.pow(P[0] - u[0], 2) + Math.pow(P[1] - u[1], 2)));
|
|
4854
|
+
var Q = Math.atan2(u[1] - P[1], u[0] - P[0]), H = f.h.v;
|
|
4855
4855
|
H >= 1 ? H = 0.99 : H <= -1 && (H = -0.99);
|
|
4856
|
-
var J = G * H, D = Math.cos(Q + f.a.v) * J +
|
|
4857
|
-
E.setAttribute("fx", D), E.setAttribute("fy",
|
|
4856
|
+
var J = G * H, D = Math.cos(Q + f.a.v) * J + P[0], k = Math.sin(Q + f.a.v) * J + P[1];
|
|
4857
|
+
E.setAttribute("fx", D), E.setAttribute("fy", k), m && !f.g._collapsable && (f.of.setAttribute("fx", D), f.of.setAttribute("fy", k));
|
|
4858
4858
|
}
|
|
4859
4859
|
}
|
|
4860
4860
|
}
|
|
@@ -4928,18 +4928,18 @@ function requireLottie() {
|
|
|
4928
4928
|
this.dynamicProperties[t].getValue();
|
|
4929
4929
|
this.renderModifiers();
|
|
4930
4930
|
}, SVGShapeElement.prototype.searchShapes = function(t, e, A, r, i, s, n) {
|
|
4931
|
-
var o = [].concat(s), a, l = t.length - 1, p, S, f = [], _ = [], E, m,
|
|
4931
|
+
var o = [].concat(s), a, l = t.length - 1, p, S, f = [], _ = [], E, m, P;
|
|
4932
4932
|
for (a = l; a >= 0; a -= 1) {
|
|
4933
|
-
if (
|
|
4934
|
-
|
|
4933
|
+
if (P = this.searchProcessedElement(t[a]), P ? e[a] = A[P - 1] : t[a]._render = n, t[a].ty === "fl" || t[a].ty === "st" || t[a].ty === "gf" || t[a].ty === "gs" || t[a].ty === "no")
|
|
4934
|
+
P ? e[a].style.closed = !1 : e[a] = this.createStyleElement(t[a], i), t[a]._render && e[a].style.pElem.parentNode !== r && r.appendChild(e[a].style.pElem), f.push(e[a].style);
|
|
4935
4935
|
else if (t[a].ty === "gr") {
|
|
4936
|
-
if (!
|
|
4936
|
+
if (!P)
|
|
4937
4937
|
e[a] = this.createGroupElement(t[a]);
|
|
4938
4938
|
else
|
|
4939
4939
|
for (S = e[a].it.length, p = 0; p < S; p += 1)
|
|
4940
4940
|
e[a].prevViewData[p] = e[a].it[p];
|
|
4941
4941
|
this.searchShapes(t[a].it, e[a].it, e[a].prevViewData, e[a].gr, i + 1, o, n), t[a]._render && e[a].gr.parentNode !== r && r.appendChild(e[a].gr);
|
|
4942
|
-
} else t[a].ty === "tr" ? (
|
|
4942
|
+
} else t[a].ty === "tr" ? (P || (e[a] = this.createTransformElement(t[a], r)), E = e[a].transform, o.push(E)) : t[a].ty === "sh" || t[a].ty === "rc" || t[a].ty === "el" || t[a].ty === "sr" ? (P || (e[a] = this.createShapeElement(t[a], o, i)), this.setElementStyles(e[a])) : t[a].ty === "tm" || t[a].ty === "rd" || t[a].ty === "ms" || t[a].ty === "pb" || t[a].ty === "zz" || t[a].ty === "op" ? (P ? (m = e[a], m.closed = !1) : (m = ShapeModifiers.getModifier(t[a].ty), m.init(this, t[a]), e[a] = m, this.shapeModifiers.push(m)), _.push(m)) : t[a].ty === "rp" && (P ? (m = e[a], m.closed = !0) : (m = ShapeModifiers.getModifier(t[a].ty), e[a] = m, m.init(this, t, a, e), this.shapeModifiers.push(m), n = !1), _.push(m));
|
|
4943
4943
|
this.addProcessedElement(t[a], a + 1);
|
|
4944
4944
|
}
|
|
4945
4945
|
for (l = f.length, a = 0; a < l; a += 1)
|
|
@@ -5043,21 +5043,21 @@ function requireLottie() {
|
|
|
5043
5043
|
return e;
|
|
5044
5044
|
}, TextProperty.prototype.completeTextData = function(t) {
|
|
5045
5045
|
t.__complete = !0;
|
|
5046
|
-
var e = this.elem.globalData.fontManager, A = this.data, r = [], i, s, n, o = 0, a, l = A.m.g, p = 0, S = 0, f = 0, _ = [], E = 0, m = 0,
|
|
5046
|
+
var e = this.elem.globalData.fontManager, A = this.data, r = [], i, s, n, o = 0, a, l = A.m.g, p = 0, S = 0, f = 0, _ = [], E = 0, m = 0, P, u, d = e.getFontByName(t.f), c, g = 0, b = getFontProperties(d);
|
|
5047
5047
|
t.fWeight = b.weight, t.fStyle = b.style, t.finalSize = t.s, t.finalText = this.buildFinalText(t.t), s = t.finalText.length, t.finalLineHeight = t.lh;
|
|
5048
|
-
var
|
|
5048
|
+
var I = t.tr / 1e3 * t.finalSize, T;
|
|
5049
5049
|
if (t.sz)
|
|
5050
5050
|
for (var L = !0, O = t.sz[0], W = t.sz[1], G, Q; L; ) {
|
|
5051
|
-
Q = this.buildFinalText(t.t), G = 0, E = 0, s = Q.length,
|
|
5051
|
+
Q = this.buildFinalText(t.t), G = 0, E = 0, s = Q.length, I = t.tr / 1e3 * t.finalSize;
|
|
5052
5052
|
var H = -1;
|
|
5053
5053
|
for (i = 0; i < s; i += 1)
|
|
5054
|
-
T = Q[i].charCodeAt(0), n = !1, Q[i] === " " ? H = i : (T === 13 || T === 3) && (E = 0, n = !0, G += t.finalLineHeight || t.finalSize * 1.2), e.chars ? (c = e.getCharData(Q[i], d.fStyle, d.fFamily), g = n ? 0 : c.w * t.finalSize / 100) : g = e.measureText(Q[i], t.f, t.finalSize), E + g > O && Q[i] !== " " ? (H === -1 ? s += 1 : i = H, G += t.finalLineHeight || t.finalSize * 1.2, Q.splice(i, H === i ? 1 : 0, "\r"), H = -1, E = 0) : (E += g, E +=
|
|
5054
|
+
T = Q[i].charCodeAt(0), n = !1, Q[i] === " " ? H = i : (T === 13 || T === 3) && (E = 0, n = !0, G += t.finalLineHeight || t.finalSize * 1.2), e.chars ? (c = e.getCharData(Q[i], d.fStyle, d.fFamily), g = n ? 0 : c.w * t.finalSize / 100) : g = e.measureText(Q[i], t.f, t.finalSize), E + g > O && Q[i] !== " " ? (H === -1 ? s += 1 : i = H, G += t.finalLineHeight || t.finalSize * 1.2, Q.splice(i, H === i ? 1 : 0, "\r"), H = -1, E = 0) : (E += g, E += I);
|
|
5055
5055
|
G += d.ascent * t.finalSize / 100, this.canResize && t.finalSize > this.minimumFontSize && W < G ? (t.finalSize -= 1, t.finalLineHeight = t.finalSize * t.lh / t.s) : (t.finalText = Q, s = t.finalText.length, L = !1);
|
|
5056
5056
|
}
|
|
5057
|
-
E = -
|
|
5057
|
+
E = -I, g = 0;
|
|
5058
5058
|
var J = 0, D;
|
|
5059
5059
|
for (i = 0; i < s; i += 1)
|
|
5060
|
-
if (n = !1, D = t.finalText[i], T = D.charCodeAt(0), T === 13 || T === 3 ? (J = 0, _.push(E), m = E > m ? E : m, E = -2 *
|
|
5060
|
+
if (n = !1, D = t.finalText[i], T = D.charCodeAt(0), T === 13 || T === 3 ? (J = 0, _.push(E), m = E > m ? E : m, E = -2 * I, a = "", n = !0, f += 1) : a = D, e.chars ? (c = e.getCharData(D, d.fStyle, e.getFontByName(t.f).fFamily), g = n ? 0 : c.w * t.finalSize / 100) : g = e.measureText(a, t.f, t.finalSize), D === " " ? J += g + I : (E += g + I + J, J = 0), r.push({
|
|
5061
5061
|
l: g,
|
|
5062
5062
|
an: g,
|
|
5063
5063
|
add: p,
|
|
@@ -5094,17 +5094,17 @@ function requireLottie() {
|
|
|
5094
5094
|
t.justifyOffset = 0;
|
|
5095
5095
|
}
|
|
5096
5096
|
t.lineWidths = _;
|
|
5097
|
-
var
|
|
5098
|
-
u =
|
|
5097
|
+
var k = A.a, B, C;
|
|
5098
|
+
u = k.length;
|
|
5099
5099
|
var V, x, y = [];
|
|
5100
|
-
for (
|
|
5101
|
-
for (B = P
|
|
5102
|
-
C = r[i], C.anIndexes[
|
|
5103
|
-
A.a[
|
|
5100
|
+
for (P = 0; P < u; P += 1) {
|
|
5101
|
+
for (B = k[P], B.a.sc && (t.strokeColorAnim = !0), B.a.sw && (t.strokeWidthAnim = !0), (B.a.fc || B.a.fh || B.a.fs || B.a.fb) && (t.fillColorAnim = !0), x = 0, V = B.s.b, i = 0; i < s; i += 1)
|
|
5102
|
+
C = r[i], C.anIndexes[P] = x, (V == 1 && C.val !== "" || V == 2 && C.val !== "" && C.val !== " " || V == 3 && (C.n || C.val == " " || i == s - 1) || V == 4 && (C.n || i == s - 1)) && (B.s.rn === 1 && y.push(x), x += 1);
|
|
5103
|
+
A.a[P].s.totalChars = x;
|
|
5104
5104
|
var F = -1, M;
|
|
5105
5105
|
if (B.s.rn === 1)
|
|
5106
5106
|
for (i = 0; i < s; i += 1)
|
|
5107
|
-
C = r[i], F != C.anIndexes[
|
|
5107
|
+
C = r[i], F != C.anIndexes[P] && (F = C.anIndexes[P], M = y.splice(Math.floor(Math.random() * y.length), 1)[0]), C.anIndexes[P] = M;
|
|
5108
5108
|
}
|
|
5109
5109
|
t.yOffset = t.finalLineHeight || t.finalSize * 1.2, t.ls = t.ls || 0, t.ascent = d.ascent * t.finalSize / 100;
|
|
5110
5110
|
}, TextProperty.prototype.updateDocumentData = function(t, e) {
|
|
@@ -5152,9 +5152,9 @@ function requireLottie() {
|
|
|
5152
5152
|
if (E === _)
|
|
5153
5153
|
f = 0;
|
|
5154
5154
|
else {
|
|
5155
|
-
var
|
|
5155
|
+
var P = E - _;
|
|
5156
5156
|
n = e(t(0, n + 0.5 - _), E - _);
|
|
5157
|
-
var u = -
|
|
5157
|
+
var u = -P / 2 + n, d = P / 2;
|
|
5158
5158
|
f = Math.sqrt(1 - u * u / (d * d));
|
|
5159
5159
|
}
|
|
5160
5160
|
f = S(f);
|
|
@@ -5227,7 +5227,7 @@ function requireLottie() {
|
|
|
5227
5227
|
}, TextAnimatorProperty.prototype.getMeasures = function(t, e) {
|
|
5228
5228
|
if (this.lettersChangedFlag = e, !(!this._mdf && !this._isFirstFrame && !e && (!this._hasMaskedPath || !this._pathData.m._mdf))) {
|
|
5229
5229
|
this._isFirstFrame = !1;
|
|
5230
|
-
var A = this._moreOptions.alignment.v, r = this._animatorsData, i = this._textData, s = this.mHelper, n = this._renderType, o = this.renderedLetters.length, a, l, p, S, f = t.l, _, E, m,
|
|
5230
|
+
var A = this._moreOptions.alignment.v, r = this._animatorsData, i = this._textData, s = this.mHelper, n = this._renderType, o = this.renderedLetters.length, a, l, p, S, f = t.l, _, E, m, P, u, d, c, g, b, I, T, L, O, W, G;
|
|
5231
5231
|
if (this._hasMaskedPath) {
|
|
5232
5232
|
if (G = this._pathData.m, !this._pathData.n || this._pathData._mdf) {
|
|
5233
5233
|
var Q = G.v;
|
|
@@ -5240,13 +5240,13 @@ function requireLottie() {
|
|
|
5240
5240
|
H = bez.buildBezierData(Q.v[p], Q.v[p + 1], [Q.o[p][0] - Q.v[p][0], Q.o[p][1] - Q.v[p][1]], [Q.i[p + 1][0] - Q.v[p + 1][0], Q.i[p + 1][1] - Q.v[p + 1][1]]), _.tLength += H.segmentLength, _.segments.push(H), L += H.segmentLength;
|
|
5241
5241
|
p = S, G.v.c && (H = bez.buildBezierData(Q.v[p], Q.v[0], [Q.o[p][0] - Q.v[p][0], Q.o[p][1] - Q.v[p][1]], [Q.i[0][0] - Q.v[0][0], Q.i[0][1] - Q.v[0][1]]), _.tLength += H.segmentLength, _.segments.push(H), L += H.segmentLength), this._pathData.pi = _;
|
|
5242
5242
|
}
|
|
5243
|
-
if (_ = this._pathData.pi, E = this._pathData.f.v, c = 0, d = 1,
|
|
5244
|
-
for (_.tLength < Math.abs(E) && (E = -Math.abs(E) % _.tLength), c =
|
|
5245
|
-
E += b[d].partialLength, d -= 1, d < 0 && (c -= 1, b =
|
|
5246
|
-
b =
|
|
5243
|
+
if (_ = this._pathData.pi, E = this._pathData.f.v, c = 0, d = 1, P = 0, u = !0, I = _.segments, E < 0 && G.v.c)
|
|
5244
|
+
for (_.tLength < Math.abs(E) && (E = -Math.abs(E) % _.tLength), c = I.length - 1, b = I[c].points, d = b.length - 1; E < 0; )
|
|
5245
|
+
E += b[d].partialLength, d -= 1, d < 0 && (c -= 1, b = I[c].points, d = b.length - 1);
|
|
5246
|
+
b = I[c].points, g = b[d - 1], m = b[d], T = m.partialLength;
|
|
5247
5247
|
}
|
|
5248
5248
|
S = f.length, a = 0, l = 0;
|
|
5249
|
-
var J = t.finalSize * 1.2 * 0.714, D = !0,
|
|
5249
|
+
var J = t.finalSize * 1.2 * 0.714, D = !0, k, B, C, V, x;
|
|
5250
5250
|
V = r.length;
|
|
5251
5251
|
var y, F = -1, M, R, N, U = E, q = c, K = d, j = -1, $, Z, te, Y, z, re, ie, se, oe = "", he = this.defaultPropsArray, le;
|
|
5252
5252
|
if (t.j === 2 || t.j === 1) {
|
|
@@ -5258,7 +5258,7 @@ function requireLottie() {
|
|
|
5258
5258
|
ee = 0, pe = !0;
|
|
5259
5259
|
} else {
|
|
5260
5260
|
for (C = 0; C < V; C += 1)
|
|
5261
|
-
|
|
5261
|
+
k = r[C].a, k.t.propType && (pe && t.j === 2 && (X += k.t.v * ce), B = r[C].s, y = B.getMult(f[p].anIndexes[C], i.a[C].s.totalChars), y.length ? ee += k.t.v * y[0] * ce : ee += k.t.v * y * ce);
|
|
5262
5262
|
pe = !1;
|
|
5263
5263
|
}
|
|
5264
5264
|
for (ee && (ee += X); ae < p; )
|
|
@@ -5266,7 +5266,7 @@ function requireLottie() {
|
|
|
5266
5266
|
}
|
|
5267
5267
|
for (p = 0; p < S; p += 1) {
|
|
5268
5268
|
if (s.reset(), $ = 1, f[p].n)
|
|
5269
|
-
a = 0, l += t.yOffset, l += D ? 1 : 0, E = U, D = !1, this._hasMaskedPath && (c = q, d = K, b =
|
|
5269
|
+
a = 0, l += t.yOffset, l += D ? 1 : 0, E = U, D = !1, this._hasMaskedPath && (c = q, d = K, b = I[c].points, g = b[d - 1], m = b[d], T = m.partialLength, P = 0), oe = "", se = "", re = "", le = "", he = this.defaultPropsArray;
|
|
5270
5270
|
else {
|
|
5271
5271
|
if (this._hasMaskedPath) {
|
|
5272
5272
|
if (j !== f[p].line) {
|
|
@@ -5283,31 +5283,31 @@ function requireLottie() {
|
|
|
5283
5283
|
F !== f[p].ind && (f[F] && (E += f[F].extra), E += f[p].an / 2, F = f[p].ind), E += A[0] * f[p].an * 5e-3;
|
|
5284
5284
|
var ne = 0;
|
|
5285
5285
|
for (C = 0; C < V; C += 1)
|
|
5286
|
-
|
|
5286
|
+
k = r[C].a, k.p.propType && (B = r[C].s, y = B.getMult(f[p].anIndexes[C], i.a[C].s.totalChars), y.length ? ne += k.p.v[0] * y[0] : ne += k.p.v[0] * y), k.a.propType && (B = r[C].s, y = B.getMult(f[p].anIndexes[C], i.a[C].s.totalChars), y.length ? ne += k.a.v[0] * y[0] : ne += k.a.v[0] * y);
|
|
5287
5287
|
for (u = !0, this._pathData.a.v && (E = f[0].an * 0.5 + (L - this._pathData.f.v - f[0].an * 0.5 - f[f.length - 1].an * 0.5) * F / (S - 1), E += this._pathData.f.v); u; )
|
|
5288
|
-
|
|
5288
|
+
P + T >= E + ne || !b ? (O = (E + ne - P) / m.partialLength, R = g.point[0] + (m.point[0] - g.point[0]) * O, N = g.point[1] + (m.point[1] - g.point[1]) * O, s.translate(-A[0] * f[p].an * 5e-3, -(A[1] * J) * 0.01), u = !1) : b && (P += m.partialLength, d += 1, d >= b.length && (d = 0, c += 1, I[c] ? b = I[c].points : G.v.c ? (d = 0, c = 0, b = I[c].points) : (P -= m.partialLength, b = null)), b && (g = m, m = b[d], T = m.partialLength));
|
|
5289
5289
|
M = f[p].an / 2 - f[p].add, s.translate(-M, 0, 0);
|
|
5290
5290
|
} else
|
|
5291
5291
|
M = f[p].an / 2 - f[p].add, s.translate(-M, 0, 0), s.translate(-A[0] * f[p].an * 5e-3, -A[1] * J * 0.01, 0);
|
|
5292
5292
|
for (C = 0; C < V; C += 1)
|
|
5293
|
-
|
|
5293
|
+
k = r[C].a, k.t.propType && (B = r[C].s, y = B.getMult(f[p].anIndexes[C], i.a[C].s.totalChars), (a !== 0 || t.j !== 0) && (this._hasMaskedPath ? y.length ? E += k.t.v * y[0] : E += k.t.v * y : y.length ? a += k.t.v * y[0] : a += k.t.v * y));
|
|
5294
5294
|
for (t.strokeWidthAnim && (te = t.sw || 0), t.strokeColorAnim && (t.sc ? Z = [t.sc[0], t.sc[1], t.sc[2]] : Z = [0, 0, 0]), t.fillColorAnim && t.fc && (Y = [t.fc[0], t.fc[1], t.fc[2]]), C = 0; C < V; C += 1)
|
|
5295
|
-
|
|
5295
|
+
k = r[C].a, k.a.propType && (B = r[C].s, y = B.getMult(f[p].anIndexes[C], i.a[C].s.totalChars), y.length ? s.translate(-k.a.v[0] * y[0], -k.a.v[1] * y[1], k.a.v[2] * y[2]) : s.translate(-k.a.v[0] * y, -k.a.v[1] * y, k.a.v[2] * y));
|
|
5296
5296
|
for (C = 0; C < V; C += 1)
|
|
5297
|
-
|
|
5297
|
+
k = r[C].a, k.s.propType && (B = r[C].s, y = B.getMult(f[p].anIndexes[C], i.a[C].s.totalChars), y.length ? s.scale(1 + (k.s.v[0] - 1) * y[0], 1 + (k.s.v[1] - 1) * y[1], 1) : s.scale(1 + (k.s.v[0] - 1) * y, 1 + (k.s.v[1] - 1) * y, 1));
|
|
5298
5298
|
for (C = 0; C < V; C += 1) {
|
|
5299
|
-
if (
|
|
5299
|
+
if (k = r[C].a, B = r[C].s, y = B.getMult(f[p].anIndexes[C], i.a[C].s.totalChars), k.sk.propType && (y.length ? s.skewFromAxis(-k.sk.v * y[0], k.sa.v * y[1]) : s.skewFromAxis(-k.sk.v * y, k.sa.v * y)), k.r.propType && (y.length ? s.rotateZ(-k.r.v * y[2]) : s.rotateZ(-k.r.v * y)), k.ry.propType && (y.length ? s.rotateY(k.ry.v * y[1]) : s.rotateY(k.ry.v * y)), k.rx.propType && (y.length ? s.rotateX(k.rx.v * y[0]) : s.rotateX(k.rx.v * y)), k.o.propType && (y.length ? $ += (k.o.v * y[0] - $) * y[0] : $ += (k.o.v * y - $) * y), t.strokeWidthAnim && k.sw.propType && (y.length ? te += k.sw.v * y[0] : te += k.sw.v * y), t.strokeColorAnim && k.sc.propType)
|
|
5300
5300
|
for (z = 0; z < 3; z += 1)
|
|
5301
|
-
y.length ? Z[z] += (
|
|
5301
|
+
y.length ? Z[z] += (k.sc.v[z] - Z[z]) * y[0] : Z[z] += (k.sc.v[z] - Z[z]) * y;
|
|
5302
5302
|
if (t.fillColorAnim && t.fc) {
|
|
5303
|
-
if (
|
|
5303
|
+
if (k.fc.propType)
|
|
5304
5304
|
for (z = 0; z < 3; z += 1)
|
|
5305
|
-
y.length ? Y[z] += (
|
|
5306
|
-
|
|
5305
|
+
y.length ? Y[z] += (k.fc.v[z] - Y[z]) * y[0] : Y[z] += (k.fc.v[z] - Y[z]) * y;
|
|
5306
|
+
k.fh.propType && (y.length ? Y = addHueToRGB(Y, k.fh.v * y[0]) : Y = addHueToRGB(Y, k.fh.v * y)), k.fs.propType && (y.length ? Y = addSaturationToRGB(Y, k.fs.v * y[0]) : Y = addSaturationToRGB(Y, k.fs.v * y)), k.fb.propType && (y.length ? Y = addBrightnessToRGB(Y, k.fb.v * y[0]) : Y = addBrightnessToRGB(Y, k.fb.v * y));
|
|
5307
5307
|
}
|
|
5308
5308
|
}
|
|
5309
5309
|
for (C = 0; C < V; C += 1)
|
|
5310
|
-
|
|
5310
|
+
k = r[C].a, k.p.propType && (B = r[C].s, y = B.getMult(f[p].anIndexes[C], i.a[C].s.totalChars), this._hasMaskedPath ? y.length ? s.translate(0, k.p.v[1] * y[0], -k.p.v[2] * y[1]) : s.translate(0, k.p.v[1] * y, -k.p.v[2] * y) : y.length ? s.translate(k.p.v[0] * y[0], k.p.v[1] * y[1], -k.p.v[2] * y[2]) : s.translate(k.p.v[0] * y, k.p.v[1] * y, -k.p.v[2] * y));
|
|
5311
5311
|
if (t.strokeWidthAnim && (re = te < 0 ? 0 : te), t.strokeColorAnim && (ie = "rgb(" + Math.round(Z[0] * 255) + "," + Math.round(Z[1] * 255) + "," + Math.round(Z[2] * 255) + ")"), t.fillColorAnim && t.fc && (se = "rgb(" + Math.round(Y[0] * 255) + "," + Math.round(Y[1] * 255) + "," + Math.round(Y[2] * 255) + ")"), this._hasMaskedPath) {
|
|
5312
5312
|
if (s.translate(0, -t.ls), s.translate(0, A[1] * J * 0.01 + l, 0), this._pathData.p.v) {
|
|
5313
5313
|
W = (m.point[1] - g.point[1]) / (m.point[0] - g.point[0]);
|
|
@@ -5405,7 +5405,7 @@ function requireLottie() {
|
|
|
5405
5405
|
e = n.length;
|
|
5406
5406
|
var a, l = this.mHelper, p = "", S = this.data.singleShape, f = 0, _ = 0, E = !0, m = A.tr * 1e-3 * A.finalSize;
|
|
5407
5407
|
if (S && !o && !A.sz) {
|
|
5408
|
-
var
|
|
5408
|
+
var P = this.textContainer, u = "start";
|
|
5409
5409
|
switch (A.j) {
|
|
5410
5410
|
case 1:
|
|
5411
5411
|
u = "end";
|
|
@@ -5417,14 +5417,14 @@ function requireLottie() {
|
|
|
5417
5417
|
u = "start";
|
|
5418
5418
|
break;
|
|
5419
5419
|
}
|
|
5420
|
-
|
|
5420
|
+
P.setAttribute("text-anchor", u), P.setAttribute("letter-spacing", m);
|
|
5421
5421
|
var d = this.buildTextContents(A.finalText);
|
|
5422
5422
|
for (e = d.length, _ = A.ps ? A.ps[1] + A.ascent : 0, t = 0; t < e; t += 1)
|
|
5423
|
-
a = this.textSpans[t].span || createNS("tspan"), a.textContent = d[t], a.setAttribute("x", 0), a.setAttribute("y", _), a.style.display = "inherit",
|
|
5423
|
+
a = this.textSpans[t].span || createNS("tspan"), a.textContent = d[t], a.setAttribute("x", 0), a.setAttribute("y", _), a.style.display = "inherit", P.appendChild(a), this.textSpans[t] || (this.textSpans[t] = {
|
|
5424
5424
|
span: null,
|
|
5425
5425
|
glyph: null
|
|
5426
5426
|
}), this.textSpans[t].span = a, _ += A.finalLineHeight;
|
|
5427
|
-
this.layerElement.appendChild(
|
|
5427
|
+
this.layerElement.appendChild(P);
|
|
5428
5428
|
} else {
|
|
5429
5429
|
var c = this.textSpans.length, g;
|
|
5430
5430
|
for (t = 0; t < e; t += 1) {
|
|
@@ -5444,18 +5444,18 @@ function requireLottie() {
|
|
|
5444
5444
|
}
|
|
5445
5445
|
if (l.reset(), S && (n[t].n && (f = -m, _ += A.yOffset, _ += E ? 1 : 0, E = !1), this.applyTextPropertiesToMatrix(A, l, n[t].line, f, _), f += n[t].l || 0, f += m), o) {
|
|
5446
5446
|
g = this.globalData.fontManager.getCharData(A.finalText[t], r.fStyle, this.globalData.fontManager.getFontByName(A.f).fFamily);
|
|
5447
|
-
var
|
|
5447
|
+
var I;
|
|
5448
5448
|
if (g.t === 1)
|
|
5449
|
-
|
|
5449
|
+
I = new SVGCompElement(g.data, this.globalData, this);
|
|
5450
5450
|
else {
|
|
5451
5451
|
var T = emptyShapeData;
|
|
5452
|
-
g.data && g.data.shapes && (T = this.buildShapeData(g.data, A.finalSize)),
|
|
5452
|
+
g.data && g.data.shapes && (T = this.buildShapeData(g.data, A.finalSize)), I = new SVGShapeElement(T, this.globalData, this);
|
|
5453
5453
|
}
|
|
5454
5454
|
if (this.textSpans[t].glyph) {
|
|
5455
5455
|
var L = this.textSpans[t].glyph;
|
|
5456
5456
|
this.textSpans[t].childSpan.removeChild(L.layerElement), L.destroy();
|
|
5457
5457
|
}
|
|
5458
|
-
this.textSpans[t].glyph =
|
|
5458
|
+
this.textSpans[t].glyph = I, I._debug = !0, I.prepareFrame(0), I.renderFrame(), this.textSpans[t].childSpan.appendChild(I.layerElement), g.t === 1 && this.textSpans[t].childSpan.setAttribute("transform", "scale(" + A.finalSize / 100 + "," + A.finalSize / 100 + ")");
|
|
5459
5459
|
} else
|
|
5460
5460
|
S && a.setAttribute("transform", "translate(" + l.props[12] + "," + l.props[13] + ")"), a.textContent = n[t].val, a.setAttributeNS("http://www.w3.org/XML/1998/namespace", "xml:space", "preserve");
|
|
5461
5461
|
}
|
|
@@ -6041,9 +6041,9 @@ function requireLottie() {
|
|
|
6041
6041
|
var S = a * p, f = Math.cos(l + e.a.v) * S + n[0], _ = Math.sin(l + e.a.v) * S + n[1];
|
|
6042
6042
|
i = s.createRadialGradient(f, _, 0, n[0], n[1], a);
|
|
6043
6043
|
}
|
|
6044
|
-
var E, m = t.g.p,
|
|
6044
|
+
var E, m = t.g.p, P = e.g.c, u = 1;
|
|
6045
6045
|
for (E = 0; E < m; E += 1)
|
|
6046
|
-
e.g._hasOpacity && e.g._collapsable && (u = e.g.o[E * 2 + 1]), i.addColorStop(
|
|
6046
|
+
e.g._hasOpacity && e.g._collapsable && (u = e.g.o[E * 2 + 1]), i.addColorStop(P[E * 4] / 100, "rgba(" + P[E * 4 + 1] + "," + P[E * 4 + 2] + "," + P[E * 4 + 3] + "," + u + ")");
|
|
6047
6047
|
r.grd = i;
|
|
6048
6048
|
}
|
|
6049
6049
|
r.coOp = e.o.v * A.opacity;
|
|
@@ -6070,18 +6070,18 @@ function requireLottie() {
|
|
|
6070
6070
|
t.sc && (A = !0, this.values.stroke = this.buildColor(t.sc), this.values.sWidth = t.sw);
|
|
6071
6071
|
var r = this.globalData.fontManager.getFontByName(t.f), i, s, n = t.l, o = this.mHelper;
|
|
6072
6072
|
this.stroke = A, this.values.fValue = t.finalSize + "px " + this.globalData.fontManager.getFontByName(t.f).fFamily, s = t.finalText.length;
|
|
6073
|
-
var a, l, p, S, f, _, E, m,
|
|
6073
|
+
var a, l, p, S, f, _, E, m, P, u, d = this.data.singleShape, c = t.tr * 1e-3 * t.finalSize, g = 0, b = 0, I = !0, T = 0;
|
|
6074
6074
|
for (i = 0; i < s; i += 1) {
|
|
6075
|
-
a = this.globalData.fontManager.getCharData(t.finalText[i], r.fStyle, this.globalData.fontManager.getFontByName(t.f).fFamily), l = a && a.data || {}, o.reset(), d && n[i].n && (g = -c, b += t.yOffset, b +=
|
|
6075
|
+
a = this.globalData.fontManager.getCharData(t.finalText[i], r.fStyle, this.globalData.fontManager.getFontByName(t.f).fFamily), l = a && a.data || {}, o.reset(), d && n[i].n && (g = -c, b += t.yOffset, b += I ? 1 : 0, I = !1), f = l.shapes ? l.shapes[0].it : [], E = f.length, o.scale(t.finalSize / 100, t.finalSize / 100), d && this.applyTextPropertiesToMatrix(t, o, n[i].line, g, b), P = createSizedArray(E - 1);
|
|
6076
6076
|
var L = 0;
|
|
6077
6077
|
for (_ = 0; _ < E; _ += 1)
|
|
6078
6078
|
if (f[_].ty === "sh") {
|
|
6079
6079
|
for (S = f[_].ks.k.i.length, m = f[_].ks.k, u = [], p = 1; p < S; p += 1)
|
|
6080
6080
|
p === 1 && u.push(o.applyToX(m.v[0][0], m.v[0][1], 0), o.applyToY(m.v[0][0], m.v[0][1], 0)), u.push(o.applyToX(m.o[p - 1][0], m.o[p - 1][1], 0), o.applyToY(m.o[p - 1][0], m.o[p - 1][1], 0), o.applyToX(m.i[p][0], m.i[p][1], 0), o.applyToY(m.i[p][0], m.i[p][1], 0), o.applyToX(m.v[p][0], m.v[p][1], 0), o.applyToY(m.v[p][0], m.v[p][1], 0));
|
|
6081
|
-
u.push(o.applyToX(m.o[p - 1][0], m.o[p - 1][1], 0), o.applyToY(m.o[p - 1][0], m.o[p - 1][1], 0), o.applyToX(m.i[0][0], m.i[0][1], 0), o.applyToY(m.i[0][0], m.i[0][1], 0), o.applyToX(m.v[0][0], m.v[0][1], 0), o.applyToY(m.v[0][0], m.v[0][1], 0)),
|
|
6081
|
+
u.push(o.applyToX(m.o[p - 1][0], m.o[p - 1][1], 0), o.applyToY(m.o[p - 1][0], m.o[p - 1][1], 0), o.applyToX(m.i[0][0], m.i[0][1], 0), o.applyToY(m.i[0][0], m.i[0][1], 0), o.applyToX(m.v[0][0], m.v[0][1], 0), o.applyToY(m.v[0][0], m.v[0][1], 0)), P[L] = u, L += 1;
|
|
6082
6082
|
}
|
|
6083
|
-
d && (g += n[i].l, g += c), this.textSpans[T] ? this.textSpans[T].elem =
|
|
6084
|
-
elem:
|
|
6083
|
+
d && (g += n[i].l, g += c), this.textSpans[T] ? this.textSpans[T].elem = P : this.textSpans[T] = {
|
|
6084
|
+
elem: P
|
|
6085
6085
|
}, T += 1;
|
|
6086
6086
|
}
|
|
6087
6087
|
}, CVTextElement.prototype.renderInnerContent = function() {
|
|
@@ -6505,8 +6505,8 @@ function requireLottie() {
|
|
|
6505
6505
|
var l, p, S, f = this.mHelper, _, E = "", m = 0;
|
|
6506
6506
|
for (n = 0; n < o; n += 1) {
|
|
6507
6507
|
if (this.globalData.fontManager.chars ? (this.textPaths[m] ? l = this.textPaths[m] : (l = createNS("path"), l.setAttribute("stroke-linecap", lineCapEnum[1]), l.setAttribute("stroke-linejoin", lineJoinEnum[2]), l.setAttribute("stroke-miterlimit", "4")), this.isMasked || (this.textSpans[m] ? (p = this.textSpans[m], S = p.children[0]) : (p = createTag("div"), p.style.lineHeight = 0, S = createNS("svg"), S.appendChild(l), styleDiv(p)))) : this.isMasked ? l = this.textPaths[m] ? this.textPaths[m] : createNS("text") : this.textSpans[m] ? (p = this.textSpans[m], l = this.textPaths[m]) : (p = createTag("span"), styleDiv(p), l = createTag("span"), styleDiv(l), p.appendChild(l)), this.globalData.fontManager.chars) {
|
|
6508
|
-
var
|
|
6509
|
-
if (
|
|
6508
|
+
var P = this.globalData.fontManager.getCharData(t.finalText[n], r.fStyle, this.globalData.fontManager.getFontByName(t.f).fFamily), u;
|
|
6509
|
+
if (P ? u = P.data : u = null, f.reset(), u && u.shapes && u.shapes.length && (_ = u.shapes[0].it, f.scale(t.finalSize / 100, t.finalSize / 100), E = this.createPathShape(f, _), l.setAttribute("d", E)), this.isMasked)
|
|
6510
6510
|
this.innerElem.appendChild(l);
|
|
6511
6511
|
else {
|
|
6512
6512
|
if (this.innerElem.appendChild(p), u && u.shapes) {
|
|
@@ -6523,8 +6523,8 @@ function requireLottie() {
|
|
|
6523
6523
|
this.innerElem.appendChild(l);
|
|
6524
6524
|
else {
|
|
6525
6525
|
this.innerElem.appendChild(p);
|
|
6526
|
-
var b = l.style,
|
|
6527
|
-
b.transform =
|
|
6526
|
+
var b = l.style, I = "translate3d(0," + -t.finalSize / 1.2 + "px,0)";
|
|
6527
|
+
b.transform = I, b.webkitTransform = I;
|
|
6528
6528
|
}
|
|
6529
6529
|
this.isMasked ? this.textSpans[m] = l : this.textSpans[m] = p, this.textSpans[m].style.display = "block", this.textPaths[m] = l, m += 1;
|
|
6530
6530
|
}
|
|
@@ -6820,11 +6820,11 @@ function requireLottie() {
|
|
|
6820
6820
|
function seedRandom(t, e) {
|
|
6821
6821
|
var A = this, r = 256, i = 6, s = 52, n = "random", o = e.pow(r, i), a = e.pow(2, s), l = a * 2, p = r - 1, S;
|
|
6822
6822
|
function f(c, g, b) {
|
|
6823
|
-
var
|
|
6823
|
+
var I = [];
|
|
6824
6824
|
g = g === !0 ? {
|
|
6825
6825
|
entropy: !0
|
|
6826
6826
|
} : g || {};
|
|
6827
|
-
var T =
|
|
6827
|
+
var T = P(m(g.entropy ? [c, d(t)] : c === null ? u() : c, 3), I), L = new _(I), O = function() {
|
|
6828
6828
|
for (var G = L.g(i), Q = o, H = 0; G < a; )
|
|
6829
6829
|
G = (G + H) * r, Q *= r, H = L.g(1);
|
|
6830
6830
|
for (; G >= l; )
|
|
@@ -6835,7 +6835,7 @@ function requireLottie() {
|
|
|
6835
6835
|
return L.g(4) | 0;
|
|
6836
6836
|
}, O.quick = function() {
|
|
6837
6837
|
return L.g(4) / 4294967296;
|
|
6838
|
-
}, O.double = O,
|
|
6838
|
+
}, O.double = O, P(d(L.S), t), (g.pass || b || function(W, G, Q, H) {
|
|
6839
6839
|
return H && (H.S && E(H, L), W.state = function() {
|
|
6840
6840
|
return E(L, {});
|
|
6841
6841
|
}), Q ? (e[n] = W, G) : W;
|
|
@@ -6843,33 +6843,33 @@ function requireLottie() {
|
|
|
6843
6843
|
}
|
|
6844
6844
|
e["seed" + n] = f;
|
|
6845
6845
|
function _(c) {
|
|
6846
|
-
var g, b = c.length,
|
|
6846
|
+
var g, b = c.length, I = this, T = 0, L = I.i = I.j = 0, O = I.S = [];
|
|
6847
6847
|
for (b || (c = [b++]); T < r; )
|
|
6848
6848
|
O[T] = T++;
|
|
6849
6849
|
for (T = 0; T < r; T++)
|
|
6850
6850
|
O[T] = O[L = p & L + c[T % b] + (g = O[T])], O[L] = g;
|
|
6851
|
-
|
|
6852
|
-
for (var G, Q = 0, H =
|
|
6851
|
+
I.g = function(W) {
|
|
6852
|
+
for (var G, Q = 0, H = I.i, J = I.j, D = I.S; W--; )
|
|
6853
6853
|
G = D[H = p & H + 1], Q = Q * r + D[p & (D[H] = D[J = p & J + G]) + (D[J] = G)];
|
|
6854
|
-
return
|
|
6854
|
+
return I.i = H, I.j = J, Q;
|
|
6855
6855
|
};
|
|
6856
6856
|
}
|
|
6857
6857
|
function E(c, g) {
|
|
6858
6858
|
return g.i = c.i, g.j = c.j, g.S = c.S.slice(), g;
|
|
6859
6859
|
}
|
|
6860
6860
|
function m(c, g) {
|
|
6861
|
-
var b = [],
|
|
6862
|
-
if (g &&
|
|
6861
|
+
var b = [], I = _typeof$2(c), T;
|
|
6862
|
+
if (g && I == "object")
|
|
6863
6863
|
for (T in c)
|
|
6864
6864
|
try {
|
|
6865
6865
|
b.push(m(c[T], g - 1));
|
|
6866
6866
|
} catch {
|
|
6867
6867
|
}
|
|
6868
|
-
return b.length ? b :
|
|
6868
|
+
return b.length ? b : I == "string" ? c : c + "\0";
|
|
6869
6869
|
}
|
|
6870
|
-
function
|
|
6871
|
-
for (var b = c + "",
|
|
6872
|
-
g[p & T] = p & (
|
|
6870
|
+
function P(c, g) {
|
|
6871
|
+
for (var b = c + "", I, T = 0; T < b.length; )
|
|
6872
|
+
g[p & T] = p & (I ^= g[p & T] * 19) + b.charCodeAt(T++);
|
|
6873
6873
|
return d(g);
|
|
6874
6874
|
}
|
|
6875
6875
|
function u() {
|
|
@@ -6884,7 +6884,7 @@ function requireLottie() {
|
|
|
6884
6884
|
function d(c) {
|
|
6885
6885
|
return String.fromCharCode.apply(0, c);
|
|
6886
6886
|
}
|
|
6887
|
-
|
|
6887
|
+
P(e.random(), t);
|
|
6888
6888
|
}
|
|
6889
6889
|
function initialize$2(t) {
|
|
6890
6890
|
seedRandom([], t);
|
|
@@ -7554,7 +7554,7 @@ function requireLottie() {
|
|
|
7554
7554
|
}
|
|
7555
7555
|
function A(i, s, n, o) {
|
|
7556
7556
|
function a(_) {
|
|
7557
|
-
for (var E = i.ef, m = 0,
|
|
7557
|
+
for (var E = i.ef, m = 0, P = E.length; m < P; ) {
|
|
7558
7558
|
if (_ === E[m].nm || _ === E[m].mn || _ === E[m].ix)
|
|
7559
7559
|
return E[m].ty === 5 ? p[m] : p[m]();
|
|
7560
7560
|
m += 1;
|
|
@@ -7626,26 +7626,26 @@ function requireLottie() {
|
|
|
7626
7626
|
}), s;
|
|
7627
7627
|
};
|
|
7628
7628
|
}(), ShapeExpressionInterface = /* @__PURE__ */ function() {
|
|
7629
|
-
function t(E, m,
|
|
7629
|
+
function t(E, m, P) {
|
|
7630
7630
|
var u = [], d, c = E ? E.length : 0;
|
|
7631
7631
|
for (d = 0; d < c; d += 1)
|
|
7632
|
-
E[d].ty === "gr" ? u.push(A(E[d], m[d],
|
|
7632
|
+
E[d].ty === "gr" ? u.push(A(E[d], m[d], P)) : E[d].ty === "fl" ? u.push(r(E[d], m[d], P)) : E[d].ty === "st" ? u.push(n(E[d], m[d], P)) : E[d].ty === "tm" ? u.push(o(E[d], m[d], P)) : E[d].ty === "tr" || (E[d].ty === "el" ? u.push(l(E[d], m[d], P)) : E[d].ty === "sr" ? u.push(p(E[d], m[d], P)) : E[d].ty === "sh" ? u.push(ShapePathInterface(E[d], m[d], P)) : E[d].ty === "rc" ? u.push(S(E[d], m[d], P)) : E[d].ty === "rd" ? u.push(f(E[d], m[d], P)) : E[d].ty === "rp" ? u.push(_(E[d], m[d], P)) : E[d].ty === "gf" ? u.push(i(E[d], m[d], P)) : u.push(s(E[d], m[d])));
|
|
7633
7633
|
return u;
|
|
7634
7634
|
}
|
|
7635
|
-
function e(E, m,
|
|
7635
|
+
function e(E, m, P) {
|
|
7636
7636
|
var u, d = function(b) {
|
|
7637
|
-
for (var
|
|
7638
|
-
if (u[
|
|
7639
|
-
return u[
|
|
7640
|
-
|
|
7637
|
+
for (var I = 0, T = u.length; I < T; ) {
|
|
7638
|
+
if (u[I]._name === b || u[I].mn === b || u[I].propertyIndex === b || u[I].ix === b || u[I].ind === b)
|
|
7639
|
+
return u[I];
|
|
7640
|
+
I += 1;
|
|
7641
7641
|
}
|
|
7642
7642
|
return typeof b == "number" ? u[b - 1] : null;
|
|
7643
7643
|
};
|
|
7644
|
-
d.propertyGroup = propertyGroupFactory(d,
|
|
7644
|
+
d.propertyGroup = propertyGroupFactory(d, P), u = t(E.it, m.it, d.propertyGroup), d.numProperties = u.length;
|
|
7645
7645
|
var c = a(E.it[E.it.length - 1], m.it[m.it.length - 1], d.propertyGroup);
|
|
7646
7646
|
return d.transform = c, d.propertyIndex = E.cix, d._name = E.nm, d;
|
|
7647
7647
|
}
|
|
7648
|
-
function A(E, m,
|
|
7648
|
+
function A(E, m, P) {
|
|
7649
7649
|
var u = function(b) {
|
|
7650
7650
|
switch (b) {
|
|
7651
7651
|
case "ADBE Vectors Group":
|
|
@@ -7659,7 +7659,7 @@ function requireLottie() {
|
|
|
7659
7659
|
return u.transform;
|
|
7660
7660
|
}
|
|
7661
7661
|
};
|
|
7662
|
-
u.propertyGroup = propertyGroupFactory(u,
|
|
7662
|
+
u.propertyGroup = propertyGroupFactory(u, P);
|
|
7663
7663
|
var d = e(E, m, u.propertyGroup), c = a(E.it[E.it.length - 1], m.it[m.it.length - 1], u.propertyGroup);
|
|
7664
7664
|
return u.content = d, u.transform = c, Object.defineProperty(u, "_name", {
|
|
7665
7665
|
get: function() {
|
|
@@ -7667,7 +7667,7 @@ function requireLottie() {
|
|
|
7667
7667
|
}
|
|
7668
7668
|
}), u.numProperties = E.np, u.propertyIndex = E.ix, u.nm = E.nm, u.mn = E.mn, u;
|
|
7669
7669
|
}
|
|
7670
|
-
function r(E, m,
|
|
7670
|
+
function r(E, m, P) {
|
|
7671
7671
|
function u(d) {
|
|
7672
7672
|
return d === "Color" || d === "color" ? u.color : d === "Opacity" || d === "opacity" ? u.opacity : null;
|
|
7673
7673
|
}
|
|
@@ -7684,9 +7684,9 @@ function requireLottie() {
|
|
|
7684
7684
|
mn: {
|
|
7685
7685
|
value: E.mn
|
|
7686
7686
|
}
|
|
7687
|
-
}), m.c.setGroupProperty(PropertyInterface("Color",
|
|
7687
|
+
}), m.c.setGroupProperty(PropertyInterface("Color", P)), m.o.setGroupProperty(PropertyInterface("Opacity", P)), u;
|
|
7688
7688
|
}
|
|
7689
|
-
function i(E, m,
|
|
7689
|
+
function i(E, m, P) {
|
|
7690
7690
|
function u(d) {
|
|
7691
7691
|
return d === "Start Point" || d === "start point" ? u.startPoint : d === "End Point" || d === "end point" ? u.endPoint : d === "Opacity" || d === "opacity" ? u.opacity : null;
|
|
7692
7692
|
}
|
|
@@ -7711,7 +7711,7 @@ function requireLottie() {
|
|
|
7711
7711
|
mn: {
|
|
7712
7712
|
value: E.mn
|
|
7713
7713
|
}
|
|
7714
|
-
}), m.s.setGroupProperty(PropertyInterface("Start Point",
|
|
7714
|
+
}), m.s.setGroupProperty(PropertyInterface("Start Point", P)), m.e.setGroupProperty(PropertyInterface("End Point", P)), m.o.setGroupProperty(PropertyInterface("Opacity", P)), u;
|
|
7715
7715
|
}
|
|
7716
7716
|
function s() {
|
|
7717
7717
|
function E() {
|
|
@@ -7719,14 +7719,14 @@ function requireLottie() {
|
|
|
7719
7719
|
}
|
|
7720
7720
|
return E;
|
|
7721
7721
|
}
|
|
7722
|
-
function n(E, m,
|
|
7723
|
-
var u = propertyGroupFactory(T,
|
|
7722
|
+
function n(E, m, P) {
|
|
7723
|
+
var u = propertyGroupFactory(T, P), d = propertyGroupFactory(I, u);
|
|
7724
7724
|
function c(L) {
|
|
7725
|
-
Object.defineProperty(
|
|
7725
|
+
Object.defineProperty(I, E.d[L].nm, {
|
|
7726
7726
|
get: ExpressionPropertyInterface(m.d.dataProps[L].p)
|
|
7727
7727
|
});
|
|
7728
7728
|
}
|
|
7729
|
-
var g, b = E.d ? E.d.length : 0,
|
|
7729
|
+
var g, b = E.d ? E.d.length : 0, I = {};
|
|
7730
7730
|
for (g = 0; g < b; g += 1)
|
|
7731
7731
|
c(g), m.d.dataProps[g].p.setGroupProperty(d);
|
|
7732
7732
|
function T(L) {
|
|
@@ -7744,7 +7744,7 @@ function requireLottie() {
|
|
|
7744
7744
|
},
|
|
7745
7745
|
dash: {
|
|
7746
7746
|
get: function() {
|
|
7747
|
-
return
|
|
7747
|
+
return I;
|
|
7748
7748
|
}
|
|
7749
7749
|
},
|
|
7750
7750
|
_name: {
|
|
@@ -7755,12 +7755,12 @@ function requireLottie() {
|
|
|
7755
7755
|
}
|
|
7756
7756
|
}), m.c.setGroupProperty(PropertyInterface("Color", u)), m.o.setGroupProperty(PropertyInterface("Opacity", u)), m.w.setGroupProperty(PropertyInterface("Stroke Width", u)), T;
|
|
7757
7757
|
}
|
|
7758
|
-
function o(E, m,
|
|
7758
|
+
function o(E, m, P) {
|
|
7759
7759
|
function u(c) {
|
|
7760
7760
|
return c === E.e.ix || c === "End" || c === "end" ? u.end : c === E.s.ix ? u.start : c === E.o.ix ? u.offset : null;
|
|
7761
7761
|
}
|
|
7762
|
-
var d = propertyGroupFactory(u,
|
|
7763
|
-
return u.propertyIndex = E.ix, m.s.setGroupProperty(PropertyInterface("Start", d)), m.e.setGroupProperty(PropertyInterface("End", d)), m.o.setGroupProperty(PropertyInterface("Offset", d)), u.propertyIndex = E.ix, u.propertyGroup =
|
|
7762
|
+
var d = propertyGroupFactory(u, P);
|
|
7763
|
+
return u.propertyIndex = E.ix, m.s.setGroupProperty(PropertyInterface("Start", d)), m.e.setGroupProperty(PropertyInterface("End", d)), m.o.setGroupProperty(PropertyInterface("Offset", d)), u.propertyIndex = E.ix, u.propertyGroup = P, Object.defineProperties(u, {
|
|
7764
7764
|
start: {
|
|
7765
7765
|
get: ExpressionPropertyInterface(m.s)
|
|
7766
7766
|
},
|
|
@@ -7775,11 +7775,11 @@ function requireLottie() {
|
|
|
7775
7775
|
}
|
|
7776
7776
|
}), u.mn = E.mn, u;
|
|
7777
7777
|
}
|
|
7778
|
-
function a(E, m,
|
|
7778
|
+
function a(E, m, P) {
|
|
7779
7779
|
function u(c) {
|
|
7780
7780
|
return E.a.ix === c || c === "Anchor Point" ? u.anchorPoint : E.o.ix === c || c === "Opacity" ? u.opacity : E.p.ix === c || c === "Position" ? u.position : E.r.ix === c || c === "Rotation" || c === "ADBE Vector Rotation" ? u.rotation : E.s.ix === c || c === "Scale" ? u.scale : E.sk && E.sk.ix === c || c === "Skew" ? u.skew : E.sa && E.sa.ix === c || c === "Skew Axis" ? u.skewAxis : null;
|
|
7781
7781
|
}
|
|
7782
|
-
var d = propertyGroupFactory(u,
|
|
7782
|
+
var d = propertyGroupFactory(u, P);
|
|
7783
7783
|
return m.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity", d)), m.transform.mProps.p.setGroupProperty(PropertyInterface("Position", d)), m.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point", d)), m.transform.mProps.s.setGroupProperty(PropertyInterface("Scale", d)), m.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation", d)), m.transform.mProps.sk && (m.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew", d)), m.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle", d))), m.transform.op.setGroupProperty(PropertyInterface("Opacity", d)), Object.defineProperties(u, {
|
|
7784
7784
|
opacity: {
|
|
7785
7785
|
get: ExpressionPropertyInterface(m.transform.mProps.o)
|
|
@@ -7805,13 +7805,13 @@ function requireLottie() {
|
|
|
7805
7805
|
_name: {
|
|
7806
7806
|
value: E.nm
|
|
7807
7807
|
}
|
|
7808
|
-
}), u.ty = "tr", u.mn = E.mn, u.propertyGroup =
|
|
7808
|
+
}), u.ty = "tr", u.mn = E.mn, u.propertyGroup = P, u;
|
|
7809
7809
|
}
|
|
7810
|
-
function l(E, m,
|
|
7810
|
+
function l(E, m, P) {
|
|
7811
7811
|
function u(g) {
|
|
7812
7812
|
return E.p.ix === g ? u.position : E.s.ix === g ? u.size : null;
|
|
7813
7813
|
}
|
|
7814
|
-
var d = propertyGroupFactory(u,
|
|
7814
|
+
var d = propertyGroupFactory(u, P);
|
|
7815
7815
|
u.propertyIndex = E.ix;
|
|
7816
7816
|
var c = m.sh.ty === "tm" ? m.sh.prop : m.sh;
|
|
7817
7817
|
return c.s.setGroupProperty(PropertyInterface("Size", d)), c.p.setGroupProperty(PropertyInterface("Position", d)), Object.defineProperties(u, {
|
|
@@ -7826,11 +7826,11 @@ function requireLottie() {
|
|
|
7826
7826
|
}
|
|
7827
7827
|
}), u.mn = E.mn, u;
|
|
7828
7828
|
}
|
|
7829
|
-
function p(E, m,
|
|
7829
|
+
function p(E, m, P) {
|
|
7830
7830
|
function u(g) {
|
|
7831
7831
|
return E.p.ix === g ? u.position : E.r.ix === g ? u.rotation : E.pt.ix === g ? u.points : E.or.ix === g || g === "ADBE Vector Star Outer Radius" ? u.outerRadius : E.os.ix === g ? u.outerRoundness : E.ir && (E.ir.ix === g || g === "ADBE Vector Star Inner Radius") ? u.innerRadius : E.is && E.is.ix === g ? u.innerRoundness : null;
|
|
7832
7832
|
}
|
|
7833
|
-
var d = propertyGroupFactory(u,
|
|
7833
|
+
var d = propertyGroupFactory(u, P), c = m.sh.ty === "tm" ? m.sh.prop : m.sh;
|
|
7834
7834
|
return u.propertyIndex = E.ix, c.or.setGroupProperty(PropertyInterface("Outer Radius", d)), c.os.setGroupProperty(PropertyInterface("Outer Roundness", d)), c.pt.setGroupProperty(PropertyInterface("Points", d)), c.p.setGroupProperty(PropertyInterface("Position", d)), c.r.setGroupProperty(PropertyInterface("Rotation", d)), E.ir && (c.ir.setGroupProperty(PropertyInterface("Inner Radius", d)), c.is.setGroupProperty(PropertyInterface("Inner Roundness", d))), Object.defineProperties(u, {
|
|
7835
7835
|
position: {
|
|
7836
7836
|
get: ExpressionPropertyInterface(c.p)
|
|
@@ -7858,11 +7858,11 @@ function requireLottie() {
|
|
|
7858
7858
|
}
|
|
7859
7859
|
}), u.mn = E.mn, u;
|
|
7860
7860
|
}
|
|
7861
|
-
function S(E, m,
|
|
7861
|
+
function S(E, m, P) {
|
|
7862
7862
|
function u(g) {
|
|
7863
7863
|
return E.p.ix === g ? u.position : E.r.ix === g ? u.roundness : E.s.ix === g || g === "Size" || g === "ADBE Vector Rect Size" ? u.size : null;
|
|
7864
7864
|
}
|
|
7865
|
-
var d = propertyGroupFactory(u,
|
|
7865
|
+
var d = propertyGroupFactory(u, P), c = m.sh.ty === "tm" ? m.sh.prop : m.sh;
|
|
7866
7866
|
return u.propertyIndex = E.ix, c.p.setGroupProperty(PropertyInterface("Position", d)), c.s.setGroupProperty(PropertyInterface("Size", d)), c.r.setGroupProperty(PropertyInterface("Rotation", d)), Object.defineProperties(u, {
|
|
7867
7867
|
position: {
|
|
7868
7868
|
get: ExpressionPropertyInterface(c.p)
|
|
@@ -7878,11 +7878,11 @@ function requireLottie() {
|
|
|
7878
7878
|
}
|
|
7879
7879
|
}), u.mn = E.mn, u;
|
|
7880
7880
|
}
|
|
7881
|
-
function f(E, m,
|
|
7881
|
+
function f(E, m, P) {
|
|
7882
7882
|
function u(g) {
|
|
7883
7883
|
return E.r.ix === g || g === "Round Corners 1" ? u.radius : null;
|
|
7884
7884
|
}
|
|
7885
|
-
var d = propertyGroupFactory(u,
|
|
7885
|
+
var d = propertyGroupFactory(u, P), c = m;
|
|
7886
7886
|
return u.propertyIndex = E.ix, c.rd.setGroupProperty(PropertyInterface("Radius", d)), Object.defineProperties(u, {
|
|
7887
7887
|
radius: {
|
|
7888
7888
|
get: ExpressionPropertyInterface(c.rd)
|
|
@@ -7892,11 +7892,11 @@ function requireLottie() {
|
|
|
7892
7892
|
}
|
|
7893
7893
|
}), u.mn = E.mn, u;
|
|
7894
7894
|
}
|
|
7895
|
-
function _(E, m,
|
|
7895
|
+
function _(E, m, P) {
|
|
7896
7896
|
function u(g) {
|
|
7897
7897
|
return E.c.ix === g || g === "Copies" ? u.copies : E.o.ix === g || g === "Offset" ? u.offset : null;
|
|
7898
7898
|
}
|
|
7899
|
-
var d = propertyGroupFactory(u,
|
|
7899
|
+
var d = propertyGroupFactory(u, P), c = m;
|
|
7900
7900
|
return u.propertyIndex = E.ix, c.c.setGroupProperty(PropertyInterface("Copies", d)), c.o.setGroupProperty(PropertyInterface("Offset", d)), Object.defineProperties(u, {
|
|
7901
7901
|
copies: {
|
|
7902
7902
|
get: ExpressionPropertyInterface(c.c)
|
|
@@ -7909,12 +7909,12 @@ function requireLottie() {
|
|
|
7909
7909
|
}
|
|
7910
7910
|
}), u.mn = E.mn, u;
|
|
7911
7911
|
}
|
|
7912
|
-
return function(E, m,
|
|
7912
|
+
return function(E, m, P) {
|
|
7913
7913
|
var u;
|
|
7914
7914
|
function d(g) {
|
|
7915
7915
|
if (typeof g == "number")
|
|
7916
|
-
return g = g === void 0 ? 1 : g, g === 0 ?
|
|
7917
|
-
for (var b = 0,
|
|
7916
|
+
return g = g === void 0 ? 1 : g, g === 0 ? P : u[g - 1];
|
|
7917
|
+
for (var b = 0, I = u.length; b < I; ) {
|
|
7918
7918
|
if (u[b]._name === g)
|
|
7919
7919
|
return u[b];
|
|
7920
7920
|
b += 1;
|
|
@@ -7922,7 +7922,7 @@ function requireLottie() {
|
|
|
7922
7922
|
return null;
|
|
7923
7923
|
}
|
|
7924
7924
|
function c() {
|
|
7925
|
-
return
|
|
7925
|
+
return P;
|
|
7926
7926
|
}
|
|
7927
7927
|
return d.propertyGroup = propertyGroupFactory(d, c), u = t(E, m, d.propertyGroup), d.numProperties = u.length, d._name = "Contents", d;
|
|
7928
7928
|
};
|
|
@@ -8051,12 +8051,12 @@ function requireLottie() {
|
|
|
8051
8051
|
if (!this.k || !this.keyframes)
|
|
8052
8052
|
return this.pv;
|
|
8053
8053
|
f = f ? f.toLowerCase() : "";
|
|
8054
|
-
var m = this.comp.renderedFrame,
|
|
8054
|
+
var m = this.comp.renderedFrame, P = this.keyframes, u = P[P.length - 1].t;
|
|
8055
8055
|
if (m <= u)
|
|
8056
8056
|
return this.pv;
|
|
8057
8057
|
var d, c;
|
|
8058
|
-
E ? (_ ? d = Math.abs(u - this.elem.comp.globalData.frameRate * _) : d = Math.max(0, u - this.elem.data.ip), c = u - d) : ((!_ || _ >
|
|
8059
|
-
var g, b,
|
|
8058
|
+
E ? (_ ? d = Math.abs(u - this.elem.comp.globalData.frameRate * _) : d = Math.max(0, u - this.elem.data.ip), c = u - d) : ((!_ || _ > P.length - 1) && (_ = P.length - 1), c = P[P.length - 1 - _].t, d = u - c);
|
|
8059
|
+
var g, b, I;
|
|
8060
8060
|
if (f === "pingpong") {
|
|
8061
8061
|
var T = Math.floor((m - c) / d);
|
|
8062
8062
|
if (T % 2 !== 0)
|
|
@@ -8064,17 +8064,17 @@ function requireLottie() {
|
|
|
8064
8064
|
} else if (f === "offset") {
|
|
8065
8065
|
var L = this.getValueAtTime(c / this.comp.globalData.frameRate, 0), O = this.getValueAtTime(u / this.comp.globalData.frameRate, 0), W = this.getValueAtTime(((m - c) % d + c) / this.comp.globalData.frameRate, 0), G = Math.floor((m - c) / d);
|
|
8066
8066
|
if (this.pv.length) {
|
|
8067
|
-
for (
|
|
8068
|
-
|
|
8069
|
-
return
|
|
8067
|
+
for (I = new Array(L.length), b = I.length, g = 0; g < b; g += 1)
|
|
8068
|
+
I[g] = (O[g] - L[g]) * G + W[g];
|
|
8069
|
+
return I;
|
|
8070
8070
|
}
|
|
8071
8071
|
return (O - L) * G + W;
|
|
8072
8072
|
} else if (f === "continue") {
|
|
8073
8073
|
var Q = this.getValueAtTime(u / this.comp.globalData.frameRate, 0), H = this.getValueAtTime((u - 1e-3) / this.comp.globalData.frameRate, 0);
|
|
8074
8074
|
if (this.pv.length) {
|
|
8075
|
-
for (
|
|
8076
|
-
|
|
8077
|
-
return
|
|
8075
|
+
for (I = new Array(Q.length), b = I.length, g = 0; g < b; g += 1)
|
|
8076
|
+
I[g] = Q[g] + (Q[g] - H[g]) * ((m - u) / this.comp.globalData.frameRate) / 5e-4;
|
|
8077
|
+
return I;
|
|
8078
8078
|
}
|
|
8079
8079
|
return Q + (Q - H) * ((m - u) / 1e-3);
|
|
8080
8080
|
}
|
|
@@ -8084,12 +8084,12 @@ function requireLottie() {
|
|
|
8084
8084
|
if (!this.k)
|
|
8085
8085
|
return this.pv;
|
|
8086
8086
|
f = f ? f.toLowerCase() : "";
|
|
8087
|
-
var m = this.comp.renderedFrame,
|
|
8087
|
+
var m = this.comp.renderedFrame, P = this.keyframes, u = P[0].t;
|
|
8088
8088
|
if (m >= u)
|
|
8089
8089
|
return this.pv;
|
|
8090
8090
|
var d, c;
|
|
8091
|
-
E ? (_ ? d = Math.abs(this.elem.comp.globalData.frameRate * _) : d = Math.max(0, this.elem.data.op - u), c = u + d) : ((!_ || _ >
|
|
8092
|
-
var g, b,
|
|
8091
|
+
E ? (_ ? d = Math.abs(this.elem.comp.globalData.frameRate * _) : d = Math.max(0, this.elem.data.op - u), c = u + d) : ((!_ || _ > P.length - 1) && (_ = P.length - 1), c = P[_].t, d = c - u);
|
|
8092
|
+
var g, b, I;
|
|
8093
8093
|
if (f === "pingpong") {
|
|
8094
8094
|
var T = Math.floor((u - m) / d);
|
|
8095
8095
|
if (T % 2 === 0)
|
|
@@ -8097,17 +8097,17 @@ function requireLottie() {
|
|
|
8097
8097
|
} else if (f === "offset") {
|
|
8098
8098
|
var L = this.getValueAtTime(u / this.comp.globalData.frameRate, 0), O = this.getValueAtTime(c / this.comp.globalData.frameRate, 0), W = this.getValueAtTime((d - (u - m) % d + u) / this.comp.globalData.frameRate, 0), G = Math.floor((u - m) / d) + 1;
|
|
8099
8099
|
if (this.pv.length) {
|
|
8100
|
-
for (
|
|
8101
|
-
|
|
8102
|
-
return
|
|
8100
|
+
for (I = new Array(L.length), b = I.length, g = 0; g < b; g += 1)
|
|
8101
|
+
I[g] = W[g] - (O[g] - L[g]) * G;
|
|
8102
|
+
return I;
|
|
8103
8103
|
}
|
|
8104
8104
|
return W - (O - L) * G;
|
|
8105
8105
|
} else if (f === "continue") {
|
|
8106
8106
|
var Q = this.getValueAtTime(u / this.comp.globalData.frameRate, 0), H = this.getValueAtTime((u + 1e-3) / this.comp.globalData.frameRate, 0);
|
|
8107
8107
|
if (this.pv.length) {
|
|
8108
|
-
for (
|
|
8109
|
-
|
|
8110
|
-
return
|
|
8108
|
+
for (I = new Array(Q.length), b = I.length, g = 0; g < b; g += 1)
|
|
8109
|
+
I[g] = Q[g] + (Q[g] - H[g]) * (u - m) / 1e-3;
|
|
8110
|
+
return I;
|
|
8111
8111
|
}
|
|
8112
8112
|
return Q + (Q - H) * (u - m) / 1e-3;
|
|
8113
8113
|
}
|
|
@@ -8118,7 +8118,7 @@ function requireLottie() {
|
|
|
8118
8118
|
return this.pv;
|
|
8119
8119
|
if (f = (f || 0.4) * 0.5, _ = Math.floor(_ || 5), _ <= 1)
|
|
8120
8120
|
return this.pv;
|
|
8121
|
-
var E = this.comp.renderedFrame / this.comp.globalData.frameRate, m = E - f,
|
|
8121
|
+
var E = this.comp.renderedFrame / this.comp.globalData.frameRate, m = E - f, P = E + f, u = _ > 1 ? (P - m) / (_ - 1) : 1, d = 0, c = 0, g;
|
|
8122
8122
|
this.pv.length ? g = createTypedArray("float32", this.pv.length) : g = 0;
|
|
8123
8123
|
for (var b; d < _; ) {
|
|
8124
8124
|
if (b = this.getValueAtTime(m + d * u), this.pv.length)
|
|
@@ -8149,15 +8149,15 @@ function requireLottie() {
|
|
|
8149
8149
|
_.scale(m[0] * this.s.mult, m[1] * this.s.mult, m[2] * this.s.mult);
|
|
8150
8150
|
}
|
|
8151
8151
|
if (this.sk && this.appliedTransformations < 3) {
|
|
8152
|
-
var
|
|
8153
|
-
_.skewFromAxis(-
|
|
8152
|
+
var P = this.sk.getValueAtTime(f), u = this.sa.getValueAtTime(f);
|
|
8153
|
+
_.skewFromAxis(-P * this.sk.mult, u * this.sa.mult);
|
|
8154
8154
|
}
|
|
8155
8155
|
if (this.r && this.appliedTransformations < 4) {
|
|
8156
8156
|
var d = this.r.getValueAtTime(f);
|
|
8157
8157
|
_.rotate(-d * this.r.mult);
|
|
8158
8158
|
} else if (!this.r && this.appliedTransformations < 4) {
|
|
8159
|
-
var c = this.rz.getValueAtTime(f), g = this.ry.getValueAtTime(f), b = this.rx.getValueAtTime(f),
|
|
8160
|
-
_.rotateZ(-c * this.rz.mult).rotateY(g * this.ry.mult).rotateX(b * this.rx.mult).rotateZ(-
|
|
8159
|
+
var c = this.rz.getValueAtTime(f), g = this.ry.getValueAtTime(f), b = this.rx.getValueAtTime(f), I = this.or.getValueAtTime(f);
|
|
8160
|
+
_.rotateZ(-c * this.rz.mult).rotateY(g * this.ry.mult).rotateX(b * this.rx.mult).rotateZ(-I[2] * this.or.mult).rotateY(I[1] * this.or.mult).rotateX(I[0] * this.or.mult);
|
|
8161
8161
|
}
|
|
8162
8162
|
if (this.data.p && this.data.p.s) {
|
|
8163
8163
|
var T = this.px.getValueAtTime(f), L = this.py.getValueAtTime(f);
|
|
@@ -8181,15 +8181,15 @@ function requireLottie() {
|
|
|
8181
8181
|
return m.dynamicProperties.length ? m.getValueAtTime = r.bind(m) : m.getValueAtTime = i.bind(m), m.setGroupProperty = expressionHelpers.setGroupProperty, m;
|
|
8182
8182
|
};
|
|
8183
8183
|
var n = PropertyFactory.getProp;
|
|
8184
|
-
PropertyFactory.getProp = function(f, _, E, m,
|
|
8185
|
-
var u = n(f, _, E, m,
|
|
8184
|
+
PropertyFactory.getProp = function(f, _, E, m, P) {
|
|
8185
|
+
var u = n(f, _, E, m, P);
|
|
8186
8186
|
u.kf ? u.getValueAtTime = expressionHelpers.getValueAtTime.bind(u) : u.getValueAtTime = expressionHelpers.getStaticValueAtTime.bind(u), u.setGroupProperty = expressionHelpers.setGroupProperty, u.loopOut = t, u.loopIn = e, u.smooth = A, u.getVelocityAtTime = expressionHelpers.getVelocityAtTime.bind(u), u.getSpeedAtTime = expressionHelpers.getSpeedAtTime.bind(u), u.numKeys = _.a === 1 ? _.k.length : 0, u.propertyIndex = _.ix;
|
|
8187
8187
|
var d = 0;
|
|
8188
8188
|
return E !== 0 && (d = createTypedArray("float32", _.a === 1 ? _.k[0].s.length : _.k.length)), u._cachingAtTime = {
|
|
8189
8189
|
lastFrame: initialDefaultFrame,
|
|
8190
8190
|
lastIndex: 0,
|
|
8191
8191
|
value: d
|
|
8192
|
-
}, expressionHelpers.searchExpressions(f, _, u), u.k &&
|
|
8192
|
+
}, expressionHelpers.searchExpressions(f, _, u), u.k && P.addDynamicProperty(u), u;
|
|
8193
8193
|
};
|
|
8194
8194
|
function o(f) {
|
|
8195
8195
|
return this._cachingAtTime || (this._cachingAtTime = {
|
|
@@ -8206,9 +8206,9 @@ function requireLottie() {
|
|
|
8206
8206
|
this.k && this.getValue();
|
|
8207
8207
|
var m = this.v;
|
|
8208
8208
|
E !== void 0 && (m = this.getValueAtTime(E, 0));
|
|
8209
|
-
var
|
|
8210
|
-
for (
|
|
8211
|
-
_ === "i" || _ === "o" ? g[
|
|
8209
|
+
var P, u = m._length, d = m[_], c = m.v, g = createSizedArray(u);
|
|
8210
|
+
for (P = 0; P < u; P += 1)
|
|
8211
|
+
_ === "i" || _ === "o" ? g[P] = [d[P][0] - c[P][0], d[P][1] - c[P][1]] : g[P] = [d[P][0], d[P][1]];
|
|
8212
8212
|
return g;
|
|
8213
8213
|
},
|
|
8214
8214
|
points: function(_) {
|
|
@@ -8226,20 +8226,20 @@ function requireLottie() {
|
|
|
8226
8226
|
pointOnPath: function(_, E) {
|
|
8227
8227
|
var m = this.v;
|
|
8228
8228
|
E !== void 0 && (m = this.getValueAtTime(E, 0)), this._segmentsLength || (this._segmentsLength = bez.getSegmentsLength(m));
|
|
8229
|
-
for (var
|
|
8229
|
+
for (var P = this._segmentsLength, u = P.lengths, d = P.totalLength * _, c = 0, g = u.length, b = 0, I; c < g; ) {
|
|
8230
8230
|
if (b + u[c].addedLength > d) {
|
|
8231
8231
|
var T = c, L = m.c && c === g - 1 ? 0 : c + 1, O = (d - b) / u[c].addedLength;
|
|
8232
|
-
|
|
8232
|
+
I = bez.getPointInSegment(m.v[T], m.v[L], m.o[T], m.i[L], O, u[c]);
|
|
8233
8233
|
break;
|
|
8234
8234
|
} else
|
|
8235
8235
|
b += u[c].addedLength;
|
|
8236
8236
|
c += 1;
|
|
8237
8237
|
}
|
|
8238
|
-
return
|
|
8238
|
+
return I || (I = m.c ? [m.v[0][0], m.v[0][1]] : [m.v[m._length - 1][0], m.v[m._length - 1][1]]), I;
|
|
8239
8239
|
},
|
|
8240
8240
|
vectorOnPath: function(_, E, m) {
|
|
8241
8241
|
_ == 1 ? _ = this.v.c : _ == 0 && (_ = 0.999);
|
|
8242
|
-
var
|
|
8242
|
+
var P = this.pointOnPath(_, E), u = this.pointOnPath(_ + 1e-3, E), d = u[0] - P[0], c = u[1] - P[1], g = Math.sqrt(Math.pow(d, 2) + Math.pow(c, 2));
|
|
8243
8243
|
if (g === 0)
|
|
8244
8244
|
return [0, 0];
|
|
8245
8245
|
var b = m === "tangent" ? [d / g, c / g] : [-c / g, d / g];
|
|
@@ -8255,8 +8255,8 @@ function requireLottie() {
|
|
|
8255
8255
|
getValueAtTime: expressionHelpers.getStaticValueAtTime
|
|
8256
8256
|
}, extendPrototype([p], a), extendPrototype([p], l), l.prototype.getValueAtTime = o, l.prototype.initiateExpression = ExpressionManager.initiateExpression;
|
|
8257
8257
|
var S = ShapePropertyFactory.getShapeProp;
|
|
8258
|
-
ShapePropertyFactory.getShapeProp = function(f, _, E, m,
|
|
8259
|
-
var u = S(f, _, E, m,
|
|
8258
|
+
ShapePropertyFactory.getShapeProp = function(f, _, E, m, P) {
|
|
8259
|
+
var u = S(f, _, E, m, P);
|
|
8260
8260
|
return u.propertyIndex = _.ix, u.lock = !1, E === 3 ? expressionHelpers.searchExpressions(f, _.pt, u) : E === 4 && expressionHelpers.searchExpressions(f, _.ks, u), u.k && f.addDynamicProperty(u), u;
|
|
8261
8261
|
};
|
|
8262
8262
|
}
|
|
@@ -8701,8 +8701,8 @@ const _sfc_main$4 = defineComponent({
|
|
|
8701
8701
|
if (t.animationLink != "")
|
|
8702
8702
|
try {
|
|
8703
8703
|
r = await (await fetch(t.animationLink)).json();
|
|
8704
|
-
} catch (
|
|
8705
|
-
console.error(
|
|
8704
|
+
} catch (I) {
|
|
8705
|
+
console.error(I);
|
|
8706
8706
|
return;
|
|
8707
8707
|
}
|
|
8708
8708
|
else if (es6(t.animationData, {}) === !1)
|
|
@@ -8716,20 +8716,20 @@ const _sfc_main$4 = defineComponent({
|
|
|
8716
8716
|
if (!A.value || !r)
|
|
8717
8717
|
return;
|
|
8718
8718
|
i == null || i.destroy(), i = null;
|
|
8719
|
-
let
|
|
8720
|
-
t.playOnHover && (
|
|
8719
|
+
let I = t.autoPlay, T = t.loop;
|
|
8720
|
+
t.playOnHover && (I = !1), typeof T == "number" && T > 0 && (T = T - 1), t.delay > 0 && (I = !1);
|
|
8721
8721
|
const L = {
|
|
8722
8722
|
container: A.value,
|
|
8723
8723
|
renderer: t.renderer,
|
|
8724
8724
|
loop: T,
|
|
8725
|
-
autoplay:
|
|
8725
|
+
autoplay: I,
|
|
8726
8726
|
animationData: r,
|
|
8727
8727
|
assetsPath: t.assetsPath
|
|
8728
8728
|
};
|
|
8729
8729
|
es6(t.rendererSettings, {}) === !1 && (L.rendererSettings = t.rendererSettings), t.scale !== 1 && (L.rendererSettings = __spreadProps(__spreadValues({}, L.rendererSettings), {
|
|
8730
8730
|
viewBoxOnly: !0
|
|
8731
8731
|
})), i = Lottie.loadAnimation(L), setTimeout(() => {
|
|
8732
|
-
|
|
8732
|
+
I = t.autoPlay, t.playOnHover ? i == null || i.pause() : I ? i == null || i.play() : i == null || i.pause(), e("onAnimationLoaded");
|
|
8733
8733
|
}, t.delay), i.setSpeed(t.speed), t.direction === "reverse" && i.setDirection(-1), t.direction === "normal" && i.setDirection(1), (t.pauseAnimation || t.playOnHover) && i.pause(), i.addEventListener("loopComplete", () => {
|
|
8734
8734
|
t.direction === "alternate" && (i == null || i.stop(), s = s === -1 ? 1 : -1, i == null || i.setDirection(s), i == null || i.play()), e("onLoopComplete");
|
|
8735
8735
|
}), i.addEventListener("complete", () => {
|
|
@@ -8740,9 +8740,9 @@ const _sfc_main$4 = defineComponent({
|
|
|
8740
8740
|
e("onSegmentStart");
|
|
8741
8741
|
});
|
|
8742
8742
|
}, o = computed(() => {
|
|
8743
|
-
let
|
|
8744
|
-
return typeof t.width == "number" && (
|
|
8745
|
-
"--lottie-animation-container-width":
|
|
8743
|
+
let I = t.width, T = t.height;
|
|
8744
|
+
return typeof t.width == "number" && (I = `${t.width}px`), typeof t.height == "number" && (T = `${t.height}px`), {
|
|
8745
|
+
"--lottie-animation-container-width": I,
|
|
8746
8746
|
"--lottie-animation-container-height": T,
|
|
8747
8747
|
"--lottie-animation-container-background-color": t.backgroundColor,
|
|
8748
8748
|
"--lottie-animation-margin": t.noMargin ? "0" : "0 auto",
|
|
@@ -8776,32 +8776,32 @@ const _sfc_main$4 = defineComponent({
|
|
|
8776
8776
|
destroy: () => {
|
|
8777
8777
|
i && i.destroy();
|
|
8778
8778
|
},
|
|
8779
|
-
setSpeed: (
|
|
8780
|
-
if (
|
|
8779
|
+
setSpeed: (I = 1) => {
|
|
8780
|
+
if (I <= 0)
|
|
8781
8781
|
throw new Error("Speed must be greater than 0");
|
|
8782
|
-
i && i.setSpeed(
|
|
8782
|
+
i && i.setSpeed(I);
|
|
8783
8783
|
},
|
|
8784
|
-
setDirection: (
|
|
8785
|
-
i && (
|
|
8784
|
+
setDirection: (I) => {
|
|
8785
|
+
i && (I === "forward" ? i.setDirection(1) : I === "reverse" && i.setDirection(-1));
|
|
8786
8786
|
},
|
|
8787
|
-
goToAndStop: (
|
|
8788
|
-
i && i.goToAndStop(
|
|
8787
|
+
goToAndStop: (I, T = !0) => {
|
|
8788
|
+
i && i.goToAndStop(I, T);
|
|
8789
8789
|
},
|
|
8790
|
-
goToAndPlay: (
|
|
8791
|
-
i && i.goToAndPlay(
|
|
8790
|
+
goToAndPlay: (I, T = !0) => {
|
|
8791
|
+
i && i.goToAndPlay(I, T);
|
|
8792
8792
|
},
|
|
8793
|
-
playSegments: (
|
|
8794
|
-
i && i.playSegments(
|
|
8793
|
+
playSegments: (I, T = !1) => {
|
|
8794
|
+
i && i.playSegments(I, T);
|
|
8795
8795
|
},
|
|
8796
|
-
setSubFrame: (
|
|
8797
|
-
i && i.setSubframe(
|
|
8796
|
+
setSubFrame: (I = !0) => {
|
|
8797
|
+
i && i.setSubframe(I);
|
|
8798
8798
|
},
|
|
8799
|
-
getDuration: (
|
|
8799
|
+
getDuration: (I = !0) => {
|
|
8800
8800
|
if (i)
|
|
8801
|
-
return i.getDuration(
|
|
8801
|
+
return i.getDuration(I);
|
|
8802
8802
|
},
|
|
8803
|
-
updateDocumentData: (
|
|
8804
|
-
i && i.renderer.elements[T].updateDocumentData(
|
|
8803
|
+
updateDocumentData: (I, T = 0) => {
|
|
8804
|
+
i && i.renderer.elements[T].updateDocumentData(I);
|
|
8805
8805
|
}
|
|
8806
8806
|
};
|
|
8807
8807
|
}
|
|
@@ -9942,7 +9942,7 @@ class UserImpl {
|
|
|
9942
9942
|
}
|
|
9943
9943
|
static _fromJSON(e, A) {
|
|
9944
9944
|
var r, i, s, n, o, a, l, p;
|
|
9945
|
-
const S = (r = A.displayName) !== null && r !== void 0 ? r : void 0, f = (i = A.email) !== null && i !== void 0 ? i : void 0, _ = (s = A.phoneNumber) !== null && s !== void 0 ? s : void 0, E = (n = A.photoURL) !== null && n !== void 0 ? n : void 0, m = (o = A.tenantId) !== null && o !== void 0 ? o : void 0,
|
|
9945
|
+
const S = (r = A.displayName) !== null && r !== void 0 ? r : void 0, f = (i = A.email) !== null && i !== void 0 ? i : void 0, _ = (s = A.phoneNumber) !== null && s !== void 0 ? s : void 0, E = (n = A.photoURL) !== null && n !== void 0 ? n : void 0, m = (o = A.tenantId) !== null && o !== void 0 ? o : void 0, P = (a = A._redirectEventId) !== null && a !== void 0 ? a : void 0, u = (l = A.createdAt) !== null && l !== void 0 ? l : void 0, d = (p = A.lastLoginAt) !== null && p !== void 0 ? p : void 0, { uid: c, emailVerified: g, isAnonymous: b, providerData: I, stsTokenManager: T } = A;
|
|
9946
9946
|
_assert(
|
|
9947
9947
|
c && T,
|
|
9948
9948
|
e,
|
|
@@ -9965,7 +9965,7 @@ class UserImpl {
|
|
|
9965
9965
|
e,
|
|
9966
9966
|
"internal-error"
|
|
9967
9967
|
/* AuthErrorCode.INTERNAL_ERROR */
|
|
9968
|
-
), assertStringOrUndefined(_, e.name), assertStringOrUndefined(E, e.name), assertStringOrUndefined(m, e.name), assertStringOrUndefined(
|
|
9968
|
+
), assertStringOrUndefined(_, e.name), assertStringOrUndefined(E, e.name), assertStringOrUndefined(m, e.name), assertStringOrUndefined(P, e.name), assertStringOrUndefined(u, e.name), assertStringOrUndefined(d, e.name);
|
|
9969
9969
|
const O = new UserImpl({
|
|
9970
9970
|
uid: c,
|
|
9971
9971
|
auth: e,
|
|
@@ -9980,7 +9980,7 @@ class UserImpl {
|
|
|
9980
9980
|
createdAt: u,
|
|
9981
9981
|
lastLoginAt: d
|
|
9982
9982
|
});
|
|
9983
|
-
return
|
|
9983
|
+
return I && Array.isArray(I) && (O.providerData = I.map((W) => Object.assign({}, W))), P && (O._redirectEventId = P), O;
|
|
9984
9984
|
}
|
|
9985
9985
|
/**
|
|
9986
9986
|
* Initialize a User from an idToken server response
|
|
@@ -13392,56 +13392,47 @@ const _hoisted_1 = {
|
|
|
13392
13392
|
}, _hoisted_2 = { class: "flex-1 overflow-auto" }, _sfc_main = /* @__PURE__ */ defineComponent({
|
|
13393
13393
|
__name: "App",
|
|
13394
13394
|
setup(t) {
|
|
13395
|
-
const e = useCoreStore(), A = useMenuStore(), r = useAppStore(), i = ref(!1), { localeList: s } = useLocale(), { init: n,
|
|
13395
|
+
const e = useCoreStore(), A = useMenuStore(), r = useAppStore(), i = ref(!1), { localeList: s } = useLocale(), { init: n, isInitialized: o, setBusiness: a, flags: l } = useFeatureFlag();
|
|
13396
13396
|
async function p(S) {
|
|
13397
13397
|
try {
|
|
13398
|
-
if (!
|
|
13399
|
-
const
|
|
13400
|
-
console.log(`Initialize feature flag with key *${
|
|
13401
|
-
}
|
|
13402
|
-
|
|
13403
|
-
|
|
13404
|
-
"menu_unique_product_code",
|
|
13405
|
-
!1,
|
|
13406
|
-
(I) => typeof I == "boolean" ? I : I === "true"
|
|
13407
|
-
), _ = await o(
|
|
13408
|
-
S,
|
|
13409
|
-
"portal_menu_schedule_publish_menu",
|
|
13410
|
-
!1,
|
|
13411
|
-
(I) => typeof I == "boolean" ? I : I === "true"
|
|
13412
|
-
), E = a(
|
|
13413
|
-
"portal_menu_configurable_takeaway_config",
|
|
13414
|
-
(I) => {
|
|
13415
|
-
try {
|
|
13416
|
-
return JSON.parse(I);
|
|
13417
|
-
} catch (u) {
|
|
13418
|
-
return console.error(
|
|
13419
|
-
"Failed to parse portal_menu_configurable_takeaway_config feature flag:",
|
|
13420
|
-
u
|
|
13421
|
-
), { app: !1, pos: !1 };
|
|
13422
|
-
}
|
|
13423
|
-
}
|
|
13424
|
-
) ?? {
|
|
13398
|
+
if (!o.value) {
|
|
13399
|
+
const u = "MaGoXrEWuEJNpWgKTqseee";
|
|
13400
|
+
console.log(`Initialize feature flag with key *${u.slice(u.length - 4)}`), await n({ apiKey: u });
|
|
13401
|
+
}
|
|
13402
|
+
await a(S);
|
|
13403
|
+
let f = !1, _ = !1, E = !1, m = {
|
|
13425
13404
|
app: !1,
|
|
13426
13405
|
pos: !1
|
|
13427
|
-
},
|
|
13428
|
-
|
|
13429
|
-
|
|
13430
|
-
unref(s).map((I) => I.code),
|
|
13431
|
-
(I) => {
|
|
13406
|
+
}, P = unref(s).map((u) => u.code);
|
|
13407
|
+
l.value.forEach(({ enabled: u, value: d, feature: c }) => {
|
|
13408
|
+
if (u)
|
|
13432
13409
|
try {
|
|
13433
|
-
|
|
13434
|
-
|
|
13435
|
-
|
|
13436
|
-
|
|
13410
|
+
switch (c.name) {
|
|
13411
|
+
case "menu_unique_product_code":
|
|
13412
|
+
f = d === "true";
|
|
13413
|
+
break;
|
|
13414
|
+
case "portal_menu_schedule_publish_menu":
|
|
13415
|
+
_ = d === "true";
|
|
13416
|
+
break;
|
|
13417
|
+
case "portal_menu_configurable_takeaway_config":
|
|
13418
|
+
m = JSON.parse(d || "{}");
|
|
13419
|
+
break;
|
|
13420
|
+
case "portal_menu_supported_locales":
|
|
13421
|
+
P = Array.isArray(d) ? d : JSON.parse(d || "[]");
|
|
13422
|
+
break;
|
|
13423
|
+
case "portal_menu_configurable_member_price":
|
|
13424
|
+
E = d === "true";
|
|
13425
|
+
break;
|
|
13426
|
+
}
|
|
13427
|
+
} catch {
|
|
13428
|
+
console.error(`[FeatureFlag] Failed to cast value ${c.name}: ${d}`);
|
|
13437
13429
|
}
|
|
13438
|
-
|
|
13439
|
-
);
|
|
13440
|
-
A.updateFeatureFlags({
|
|
13430
|
+
}), A.updateFeatureFlags({
|
|
13441
13431
|
uniqueProductCode: f || !1,
|
|
13442
13432
|
schedulerPublish: _ || !1,
|
|
13443
|
-
supportedLocales:
|
|
13444
|
-
showTakeawayAvailability:
|
|
13433
|
+
supportedLocales: P,
|
|
13434
|
+
showTakeawayAvailability: m,
|
|
13435
|
+
showMemberPriceSettings: E
|
|
13445
13436
|
});
|
|
13446
13437
|
} catch (f) {
|
|
13447
13438
|
console.error("Retrieve menu_unique_product_code failed", f);
|
|
@@ -13456,7 +13447,7 @@ const _hoisted_1 = {
|
|
|
13456
13447
|
S && S === F_MENU_VERSION.enum.v4 && router.addRoute({
|
|
13457
13448
|
path: "/serving-sequence",
|
|
13458
13449
|
name: "serving-sequence",
|
|
13459
|
-
component: () => import("./ServingSequence-
|
|
13450
|
+
component: () => import("./ServingSequence-C12Ny_nR.js")
|
|
13460
13451
|
});
|
|
13461
13452
|
}
|
|
13462
13453
|
), watch(
|