@feedmepos/mf-connect 0.1.129-prod → 0.1.130-prod
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-CgtQ9UIg.js → App-zU8FWeI6.js} +9 -9
- package/dist/{Bin-DMgRFBtT.js → Bin-CMMlyqmx.js} +8 -8
- package/dist/{Broadcast-BBoLXcAt.js → Broadcast-DpHJsDqm.js} +11 -11
- package/dist/{CampaignAnalytic-7id6XGu5.js → CampaignAnalytic-Dj1JPG_p.js} +6 -6
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-6QxiK0J7.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BBdLqp9g.js} +10 -10
- package/dist/{Card-BfqTdIhC.js → Card-BspujUYw.js} +23 -23
- package/dist/{Collections-Ca5iBZQN.js → Collections-BZ8bpo9X.js} +9 -9
- package/dist/{Credit-DM-hrq47.js → Credit-DUq8gK9b.js} +11 -11
- package/dist/{DateRangeChip.vue_vue_type_script_setup_true_lang-CuWzYh0T.js → DateRangeChip.vue_vue_type_script_setup_true_lang-C2_h-SBm.js} +1 -1
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-fch7sWPv.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-B-vB4im8.js} +39 -39
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-COGdYitL.js → EffectSheet.vue_vue_type_style_index_0_lang-D7tIHUur.js} +6 -6
- package/dist/{Experience-Esl5jJIv.js → Experience-DMj_Vl48.js} +12 -12
- package/dist/{FileSaver.min-COdUgnCD.js → FileSaver.min-CAMn_Fae.js} +1 -1
- package/dist/{Game-CUayhiK9.js → Game-B1omnJs1.js} +12 -12
- package/dist/{GiftCardSetup-BFnYVo6x.js → GiftCardSetup-C93QZcXR.js} +10 -10
- package/dist/{GoalPickerPanel.vue_vue_type_script_setup_true_lang-BwVSP2tE.js → GoalPickerPanel.vue_vue_type_script_setup_true_lang-D5DzL2Kt.js} +129 -117
- package/dist/{Goals-F7WJ5oYC.js → Goals-Ccu-DYGD.js} +4 -4
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-CqDz9E6H.js → ImageInput.vue_vue_type_script_setup_true_lang-7xeTs82-.js} +1 -1
- package/dist/{Index-DVu2x3VY.js → Index-DXrM_EGT.js} +10 -10
- package/dist/{LocationPicker.vue_vue_type_script_setup_true_lang-CrF5V3bJ.js → LocationPicker.vue_vue_type_script_setup_true_lang-Cco0AuRi.js} +1 -1
- package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-CBLORz65.js → LottieAnimation.vue_vue_type_script_setup_true_lang-ByCo8R__.js} +1 -1
- package/dist/{LoyaltyDashboard-BXtAIIwE.js → LoyaltyDashboard-EFddP8cQ.js} +14 -14
- package/dist/{MainLayout-BoQpqLPT.js → MainLayout-BE1b6uwx.js} +1 -1
- package/dist/{MainLayout.vue_vue_type_script_setup_true_lang-CoDtG7GL.js → MainLayout.vue_vue_type_script_setup_true_lang-D6qselvd.js} +3 -3
- package/dist/{Marketing-CSFifAsA.js → Marketing-qS4pSUSm.js} +4 -4
- package/dist/{MarketingMaterialEdit-2UgbFmpl.js → MarketingMaterialEdit--jE2XhRP.js} +6 -6
- package/dist/{Member-BP_B3BvA.js → Member-CVTt0N38.js} +7 -7
- package/dist/{MemberDetailSheet.vue_vue_type_script_setup_true_lang-CjllSBjR.js → MemberDetailSheet.vue_vue_type_script_setup_true_lang-DfuIkezA.js} +25 -25
- package/dist/{MemberImportHistory-B3d0xGVj.js → MemberImportHistory-DHYurZcB.js} +7 -7
- package/dist/{MemberList-CmRijOUZ.js → MemberList-B0SiHbLX.js} +14 -14
- package/dist/{MemberTransactions-9gxO0FZF.js → MemberTransactions-BeKV8lri.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-TrfCfwiu.js → MessageInput.vue_vue_type_script_setup_true_lang-Dlo_V4os.js} +10 -10
- package/dist/{MetricInfoTooltip.vue_vue_type_script_setup_true_lang-DsKAiGQG.js → MetricInfoTooltip.vue_vue_type_script_setup_true_lang-RTelxb3u.js} +1 -1
- package/dist/{Mission-YZoqUj_8.js → Mission-Dod7cFQs.js} +13 -13
- package/dist/{Overview-Cm4UvReJ.js → Overview-9d2Zj2xn.js} +4 -4
- package/dist/{Overview-D5W62m_5.js → Overview-Bx639zeZ.js} +21 -21
- package/dist/{Point-B6PYl0Av.js → Point-DUgV-6KZ.js} +13 -13
- package/dist/{Promotion-D6IVdgP9.js → Promotion-B1CNH54T.js} +13 -13
- package/dist/{Queue-CrAJB-NQ.js → Queue-D55CbRMA.js} +13 -13
- package/dist/{Record-BxBSeGCs.js → Record-Dz2Y3gFp.js} +9 -9
- package/dist/{Review-CpewMLNi.js → Review-CSmPaqcE.js} +2 -2
- package/dist/{ReviewFacebookCallback-BUwvOweo.js → ReviewFacebookCallback-DNvuqqJS.js} +5 -5
- package/dist/{ReviewGoogleCallback-DgR17qMj.js → ReviewGoogleCallback-LQPcc5Hz.js} +5 -5
- package/dist/{Reward-FQA-iBCK.js → Reward-BbvmqIr8.js} +16 -16
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-DPUuepSH.js → RewardGroup.vue_vue_type_script_setup_true_lang-0AkbOzFV.js} +14 -14
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-B9mhQFnd.js → RuleGroup.vue_vue_type_script_setup_true_lang-6S3Imig7.js} +16 -16
- package/dist/{Segment-CUlSXXCp.js → Segment-D5Csb392.js} +28 -28
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-BBx4Vsad.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-aufXQION.js} +15 -15
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-DNQwB2po.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-jcFI6Agx.js} +4 -4
- package/dist/{Setting-4m9maYGQ.js → Setting-CWkHCxlk.js} +15 -15
- package/dist/{SettingAdvertisements-B2TVVGk_.js → SettingAdvertisements-DRZrKHp2.js} +12 -12
- package/dist/{Settings-DnYKPpMT.js → Settings-DXorqpv2.js} +5 -5
- package/dist/{Store-CiNooWmM.js → Store-CbJCDWAD.js} +27 -27
- package/dist/{StoreRewards-Do7Y0tmg.js → StoreRewards-DlpL3pUD.js} +15 -15
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-BNnXXDOX.js → StoreTransactions.vue_vue_type_script_setup_true_lang-DDEX1uxq.js} +25 -25
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-Tx5gxGgN.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-QMZkmuE-.js} +2 -2
- package/dist/{Tier-C51gzsGE.js → Tier-BClbm8gj.js} +26 -26
- package/dist/{Title-Dz1_3FI-.js → Title-keb2hF8J.js} +24 -24
- package/dist/{Transaction-Uow2MU3k.js → Transaction-pN-hFQ8W.js} +2 -2
- package/dist/{Upselling-ljPWgZm_.js → Upselling-WiQfb9tg.js} +3 -3
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-Dk082NOB.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-DeblnB5Z.js} +6 -6
- package/dist/{Voucher-BahN-_B8.js → Voucher-FdkJucB2.js} +18 -18
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-C5YJIrEQ.js → VoucherEditor.vue_vue_type_script_setup_true_lang-DqC3IRMd.js} +12 -12
- package/dist/{WhatsappAccount-BsJfi4aQ.js → WhatsappAccount-B7a8fcKy.js} +6 -6
- package/dist/{WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-D6Q2lt81.js → WhatsappAccountStatusLabel.vue_vue_type_script_setup_true_lang-KHPY0Ivi.js} +1 -1
- package/dist/{WhatsappBot-DsETxGDb.js → WhatsappBot-Bjwd8FTs.js} +7 -7
- package/dist/{WhatsappBotLogs-rxhWcCic.js → WhatsappBotLogs-DBN1SoAp.js} +5 -5
- package/dist/{WhatsappBotSettings-BVVqPUuB.js → WhatsappBotSettings-CX50J6dt.js} +5 -5
- package/dist/{WhatsappLayout-ww0HSVET.js → WhatsappLayout-6aJme-ox.js} +3 -3
- package/dist/{WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-PRbvIqZI.js → WhatsappNotificationGroupDialog.vue_vue_type_script_setup_true_lang-zO9Azway.js} +3 -3
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-B3kaDL4W.js → ZodTextField.vue_vue_type_script_setup_true_lang-D2aiRWCF.js} +2 -2
- package/dist/{app-DRy3Qq-e.js → app-Cd0GgIt1.js} +1374 -1364
- package/dist/app.js +1 -1
- package/dist/{base.export-CjcYq9u_.js → base.export-PhjkR3pb.js} +2 -2
- package/dist/{business-DyQFxLGA.js → business-C9vFvKRb.js} +1 -1
- package/dist/{campaign-Diyxk6-K.js → campaign-CTANbB8x.js} +2 -2
- package/dist/{campaign-CWGgZxbn.js → campaign-D6JB8fVN.js} +9 -9
- package/dist/{campaign.enum-CkIW-mae.js → campaign.enum-DdPxbQiC.js} +1 -1
- package/dist/{campaign.fn-DmM_bev0.js → campaign.fn-D58Ao8DU.js} +201 -201
- package/dist/{collectible.enum-BXcUSpN2.js → collectible.enum-CBriqsBl.js} +1 -1
- package/dist/{collection.fn-BZuMGmeM.js → collection.fn-Bd3g3MDe.js} +2 -2
- package/dist/{currency-B0CeepgW.js → currency-BhG900mn.js} +1 -1
- package/dist/{effect-C3tRo5Vc.js → effect-BZr-dPlC.js} +1 -1
- package/dist/{email-addresses-CPm5eBoR.js → email-addresses-CmN94Hne.js} +2 -2
- package/dist/{feature-flag-COBMyDEn.js → feature-flag-DHPWi_Y-.js} +1 -1
- package/dist/{helper-scL87EvT.js → helper-C91bDPoq.js} +1 -1
- package/dist/{index-CpO-jDv5.js → index-76awmYBU.js} +4 -4
- package/dist/{index-Dc4-mMaE.js → index-B4xq24z8.js} +1 -1
- package/dist/{index-tn-XNvX5.js → index-BbEwfNJ1.js} +1 -1
- package/dist/{index-OMMh3tr2.js → index-BkG6ozwq.js} +1 -1
- package/dist/{index-koWxgq3V.js → index-BpifgbLr.js} +1 -1
- package/dist/{index-CHzG8fUk.js → index-BsDvNmKI.js} +2 -2
- package/dist/{index-BexTIIOc.js → index-C1j6SFv1.js} +6 -6
- package/dist/{index-CLwEr_8O.js → index-C3p13xwn.js} +1 -1
- package/dist/{index-CW-lY5-3.js → index-CLRd9xnn.js} +4 -4
- package/dist/{index-BaqeaRIe.js → index-CdR5IOsN.js} +2 -2
- package/dist/{index-BWu5WNw5.js → index-Cqq0_Zv4.js} +609 -609
- package/dist/{index-4D44dKUi.js → index-Cv7b3y7y.js} +9 -9
- package/dist/{index-VR97zHF5.js → index-DSSXkIT9.js} +9 -9
- package/dist/{index-CWAhvR-e.js → index-DgBgCeDJ.js} +6 -6
- package/dist/{index-DcDRRNH6.js → index-DjtlBcSg.js} +26 -19
- package/dist/{index-BefX1Cnk.js → index-DnQ9_ch9.js} +2 -2
- package/dist/{index-40lptiZw.js → index-DpWlphmW.js} +1 -1
- package/dist/{index-BUGWEUx9.js → index-EurRocbT.js} +1 -1
- package/dist/{index-DsP7OUWn.js → index-IfBbHWzh.js} +4 -4
- package/dist/{index-xopF1dSo.js → index-Un0vfXF_.js} +2 -2
- package/dist/{index-CsnGMcHq.js → index-XZcn1Orq.js} +2 -2
- package/dist/{index-C55j-xHV.js → index-q8nenoSx.js} +1 -1
- package/dist/{index.esm2017-T25AMY_y.js → index.esm2017-CCIyWq4Y.js} +1 -1
- package/dist/{loading-BYmbcfaQ.js → loading-CO09ve00.js} +1 -1
- package/dist/{lodash-7z2rsw4O.js → lodash-D4xBWdIG.js} +1 -1
- package/dist/{member-import-BI7Pvj61.js → member-import-DK83O1dl.js} +2 -2
- package/dist/{membership-BrZIRGS0.js → membership-zNjFA3rf.js} +3 -3
- package/dist/{money-DdNo8GRv.js → money-BX90FRAX.js} +1 -1
- package/dist/{number-Gfw2iUoP.js → number-B-Zp8JF1.js} +1 -1
- package/dist/objectid-HoBYt9Dv.js +145 -0
- package/dist/{onboarding-CUqT7rpt.js → onboarding-C4Hec-9w.js} +3 -3
- package/dist/{onboardingSetup-BC5HuwKA.js → onboardingSetup-BUaFpmdS.js} +2 -2
- package/dist/{plugins-DlLEAHTq.js → plugins-B37ubeqQ.js} +3 -3
- package/dist/{reward-D038cMaw.js → reward-Cus9z_ml.js} +1 -1
- package/dist/{rule-BVpbZ7F8.js → rule-CeRvl5lQ.js} +3 -3
- package/dist/{rule-builder-DA9K7mBN.js → rule-builder-C5GP9i3a.js} +1 -1
- package/dist/{template-CgJvGx2j.js → template-SIfyeAtc.js} +7 -7
- package/dist/{transaction.fn-PmR-QOML.js → transaction.fn-BMaVQxcz.js} +2 -2
- package/dist/{trigger-DjOMEcv_.js → trigger-BDIXJNtB.js} +5 -5
- package/dist/{useMarketingMaterialActions-D2fkr1yK.js → useMarketingMaterialActions-CXnbZOa0.js} +4 -4
- package/dist/{usePagination-oq_rR3Lp.js → usePagination-CkyqZTr_.js} +1 -1
- package/dist/{user-CkwZIW3i.js → user-DyISNQ9F.js} +1 -1
- package/dist/{vue-i18n-1lTcxtBS.js → vue-i18n-BtBl1dEX.js} +500 -500
- package/dist/{xlsx-BtcfpQDU.js → xlsx-BtgfJ33p.js} +647 -647
- package/dist/{zod-CUrnHp4O.js → zod-CzBhJ5mL.js} +1 -1
- package/package.json +1 -1
- package/dist/objectid-D-yjbqcO.js +0 -145
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z as U } from "./index-
|
|
2
|
-
import { d as _n, c as ve, b as qu } from "./app-
|
|
1
|
+
import { z as U } from "./index-B4xq24z8.js";
|
|
2
|
+
import { d as _n, c as ve, b as qu } from "./app-Cd0GgIt1.js";
|
|
3
3
|
var el = {}, fn = {}, Vt = {}, Yr;
|
|
4
4
|
const Xu = /* @__PURE__ */ new Map([
|
|
5
5
|
[0, 65533],
|
|
@@ -31,7 +31,7 @@ const Xu = /* @__PURE__ */ new Map([
|
|
|
31
31
|
[156, 339],
|
|
32
32
|
[158, 382],
|
|
33
33
|
[159, 376]
|
|
34
|
-
]),
|
|
34
|
+
]), mn = (
|
|
35
35
|
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, n/no-unsupported-features/es-builtins
|
|
36
36
|
(Yr = String.fromCodePoint) !== null && Yr !== void 0 ? Yr : (t) => {
|
|
37
37
|
let e = "";
|
|
@@ -43,7 +43,7 @@ function ss(t) {
|
|
|
43
43
|
return t >= 55296 && t <= 57343 || t > 1114111 ? 65533 : (e = Xu.get(t)) !== null && e !== void 0 ? e : t;
|
|
44
44
|
}
|
|
45
45
|
function eh(t) {
|
|
46
|
-
return
|
|
46
|
+
return mn(ss(t));
|
|
47
47
|
}
|
|
48
48
|
function tl(t) {
|
|
49
49
|
const e = (
|
|
@@ -305,7 +305,7 @@ class ls {
|
|
|
305
305
|
}
|
|
306
306
|
function nl(t) {
|
|
307
307
|
let e = "";
|
|
308
|
-
const n = new ls(t, (r) => e +=
|
|
308
|
+
const n = new ls(t, (r) => e += mn(r));
|
|
309
309
|
return function(i, s) {
|
|
310
310
|
let o = 0, l = 0;
|
|
311
311
|
for (; (l = i.indexOf("&", l)) >= 0; ) {
|
|
@@ -371,7 +371,7 @@ const ch = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
371
371
|
decodeHTMLStrict: ah,
|
|
372
372
|
decodeXML: lh,
|
|
373
373
|
determineBranch: rl,
|
|
374
|
-
fromCodePoint:
|
|
374
|
+
fromCodePoint: mn,
|
|
375
375
|
htmlDecodeTree: os,
|
|
376
376
|
replaceCodePoint: ss,
|
|
377
377
|
xmlDecodeTree: as
|
|
@@ -848,7 +848,7 @@ const Nn = Ah(Vt), ro = il, Nt = /* @__PURE__ */ new Set([
|
|
|
848
848
|
["rp", oo],
|
|
849
849
|
["tbody", io],
|
|
850
850
|
["tfoot", io]
|
|
851
|
-
]),
|
|
851
|
+
]), mh = /* @__PURE__ */ new Set([
|
|
852
852
|
"area",
|
|
853
853
|
"base",
|
|
854
854
|
"basefont",
|
|
@@ -878,7 +878,7 @@ const Nn = Ah(Vt), ro = il, Nt = /* @__PURE__ */ new Set([
|
|
|
878
878
|
"foreignobject",
|
|
879
879
|
"desc",
|
|
880
880
|
"title"
|
|
881
|
-
]),
|
|
881
|
+
]), gh = /\s|\//;
|
|
882
882
|
let bh = class {
|
|
883
883
|
constructor(e, n = {}) {
|
|
884
884
|
var r, i, s, o, l, a;
|
|
@@ -901,7 +901,7 @@ let bh = class {
|
|
|
901
901
|
* to specify your own additional void elements.
|
|
902
902
|
*/
|
|
903
903
|
isVoidElement(e) {
|
|
904
|
-
return this.htmlMode &&
|
|
904
|
+
return this.htmlMode && mh.has(e);
|
|
905
905
|
}
|
|
906
906
|
/** @internal */
|
|
907
907
|
onopentagname(e, n) {
|
|
@@ -975,7 +975,7 @@ let bh = class {
|
|
|
975
975
|
this.endIndex = n, (i = (r = this.cbs).onattribute) === null || i === void 0 || i.call(r, this.attribname, this.attribvalue, e === Nn.QuoteType.Double ? '"' : e === Nn.QuoteType.Single ? "'" : e === Nn.QuoteType.NoValue ? void 0 : null), this.attribs && !Object.prototype.hasOwnProperty.call(this.attribs, this.attribname) && (this.attribs[this.attribname] = this.attribvalue), this.attribvalue = "";
|
|
976
976
|
}
|
|
977
977
|
getInstructionName(e) {
|
|
978
|
-
const n = e.search(
|
|
978
|
+
const n = e.search(gh);
|
|
979
979
|
let r = n < 0 ? e : e.substr(0, n);
|
|
980
980
|
return this.lowerCaseTagNames && (r = r.toLowerCase()), r;
|
|
981
981
|
}
|
|
@@ -1173,7 +1173,7 @@ let us = class {
|
|
|
1173
1173
|
* @returns A clone of the node.
|
|
1174
1174
|
*/
|
|
1175
1175
|
cloneNode(e = !1) {
|
|
1176
|
-
return
|
|
1176
|
+
return ms(this, e);
|
|
1177
1177
|
}
|
|
1178
1178
|
};
|
|
1179
1179
|
class Cr extends us {
|
|
@@ -1318,7 +1318,7 @@ function fs(t) {
|
|
|
1318
1318
|
function We(t) {
|
|
1319
1319
|
return Object.prototype.hasOwnProperty.call(t, "children");
|
|
1320
1320
|
}
|
|
1321
|
-
function
|
|
1321
|
+
function ms(t, e = !1) {
|
|
1322
1322
|
let n;
|
|
1323
1323
|
if (kt(t))
|
|
1324
1324
|
n = new ar(t.data);
|
|
@@ -1341,7 +1341,7 @@ function gs(t, e = !1) {
|
|
|
1341
1341
|
return n.startIndex = t.startIndex, n.endIndex = t.endIndex, t.sourceCodeLocation != null && (n.sourceCodeLocation = t.sourceCodeLocation), n;
|
|
1342
1342
|
}
|
|
1343
1343
|
function jr(t) {
|
|
1344
|
-
const e = t.map((n) =>
|
|
1344
|
+
const e = t.map((n) => ms(n, !0));
|
|
1345
1345
|
for (let n = 1; n < e.length; n++)
|
|
1346
1346
|
e[n].prev = e[n - 1], e[n - 1].next = e[n];
|
|
1347
1347
|
return e;
|
|
@@ -1437,7 +1437,7 @@ const wh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1437
1437
|
NodeWithChildren: Er,
|
|
1438
1438
|
ProcessingInstruction: ds,
|
|
1439
1439
|
Text: ar,
|
|
1440
|
-
cloneNode:
|
|
1440
|
+
cloneNode: ms,
|
|
1441
1441
|
default: uo,
|
|
1442
1442
|
hasChildren: We,
|
|
1443
1443
|
isCDATA: vn,
|
|
@@ -1459,7 +1459,7 @@ const wh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1459
1459
|
(t, e) => (t.charCodeAt(e) & 64512) === 55296 ? (t.charCodeAt(e) - 55296) * 1024 + t.charCodeAt(e + 1) - 56320 + 65536 : t.charCodeAt(e)
|
|
1460
1460
|
)
|
|
1461
1461
|
);
|
|
1462
|
-
function
|
|
1462
|
+
function ml(t) {
|
|
1463
1463
|
let e = "", n = 0, r;
|
|
1464
1464
|
for (; (r = po.exec(t)) !== null; ) {
|
|
1465
1465
|
const i = r.index, s = t.charCodeAt(i), o = xh.get(s);
|
|
@@ -1467,7 +1467,7 @@ function gl(t) {
|
|
|
1467
1467
|
}
|
|
1468
1468
|
return e + t.substr(n);
|
|
1469
1469
|
}
|
|
1470
|
-
function
|
|
1470
|
+
function gl(t, e) {
|
|
1471
1471
|
return function(r) {
|
|
1472
1472
|
let i, s = 0, o = "";
|
|
1473
1473
|
for (; i = t.exec(r); )
|
|
@@ -1475,11 +1475,11 @@ function ml(t, e) {
|
|
|
1475
1475
|
return o + r.substring(s);
|
|
1476
1476
|
};
|
|
1477
1477
|
}
|
|
1478
|
-
const Ih =
|
|
1478
|
+
const Ih = gl(/["&\u00A0]/g, /* @__PURE__ */ new Map([
|
|
1479
1479
|
[34, """],
|
|
1480
1480
|
[38, "&"],
|
|
1481
1481
|
[160, " "]
|
|
1482
|
-
])), _h =
|
|
1482
|
+
])), _h = gl(/[&<>\u00A0]/g, /* @__PURE__ */ new Map([
|
|
1483
1483
|
[38, "&"],
|
|
1484
1484
|
[60, "<"],
|
|
1485
1485
|
[62, ">"],
|
|
@@ -1599,7 +1599,7 @@ function Th(t, e) {
|
|
|
1599
1599
|
var n;
|
|
1600
1600
|
if (!t)
|
|
1601
1601
|
return;
|
|
1602
|
-
const r = ((n = e.encodeEntities) !== null && n !== void 0 ? n : e.decodeEntities) === !1 ? Bh : e.xmlMode || e.encodeEntities !== "utf8" ?
|
|
1602
|
+
const r = ((n = e.encodeEntities) !== null && n !== void 0 ? n : e.decodeEntities) === !1 ? Bh : e.xmlMode || e.encodeEntities !== "utf8" ? ml : Ih;
|
|
1603
1603
|
return Object.keys(t).map((i) => {
|
|
1604
1604
|
var s, o;
|
|
1605
1605
|
const l = (s = t[i]) !== null && s !== void 0 ? s : "";
|
|
@@ -1627,7 +1627,7 @@ const Ao = /* @__PURE__ */ new Set([
|
|
|
1627
1627
|
"track",
|
|
1628
1628
|
"wbr"
|
|
1629
1629
|
]);
|
|
1630
|
-
function
|
|
1630
|
+
function gs(t, e = {}) {
|
|
1631
1631
|
const n = "length" in t ? t : [t];
|
|
1632
1632
|
let r = "";
|
|
1633
1633
|
for (let i = 0; i < n.length; i++)
|
|
@@ -1637,7 +1637,7 @@ function ms(t, e = {}) {
|
|
|
1637
1637
|
function Dh(t, e) {
|
|
1638
1638
|
switch (t.type) {
|
|
1639
1639
|
case ol:
|
|
1640
|
-
return
|
|
1640
|
+
return gs(t.children, e);
|
|
1641
1641
|
case Al:
|
|
1642
1642
|
case ll:
|
|
1643
1643
|
return Fh(t);
|
|
@@ -1675,7 +1675,7 @@ function Rh(t, e) {
|
|
|
1675
1675
|
) : (
|
|
1676
1676
|
// User explicitly asked for self-closing tags, even in HTML mode
|
|
1677
1677
|
e.selfClosingTags && Ao.has(t.name)
|
|
1678
|
-
)) ? (e.xmlMode || (r += " "), r += "/>") : (r += ">", t.children.length > 0 && (r +=
|
|
1678
|
+
)) ? (e.xmlMode || (r += " "), r += "/>") : (r += ">", t.children.length > 0 && (r += gs(t.children, e)), (e.xmlMode || !Ao.has(t.name)) && (r += `</${t.name}>`)), r;
|
|
1679
1679
|
}
|
|
1680
1680
|
function Fh(t) {
|
|
1681
1681
|
return `<${t.data}>`;
|
|
@@ -1683,7 +1683,7 @@ function Fh(t) {
|
|
|
1683
1683
|
function Mh(t, e) {
|
|
1684
1684
|
var n;
|
|
1685
1685
|
let r = t.data || "";
|
|
1686
|
-
return ((n = e.encodeEntities) !== null && n !== void 0 ? n : e.decodeEntities) !== !1 && !(!e.xmlMode && t.parent && Eh.has(t.parent.name)) && (r = e.xmlMode || e.encodeEntities !== "utf8" ?
|
|
1686
|
+
return ((n = e.encodeEntities) !== null && n !== void 0 ? n : e.decodeEntities) !== !1 && !(!e.xmlMode && t.parent && Eh.has(t.parent.name)) && (r = e.xmlMode || e.encodeEntities !== "utf8" ? ml(r) : _h(r)), r;
|
|
1687
1687
|
}
|
|
1688
1688
|
function Lh(t) {
|
|
1689
1689
|
return `<![CDATA[${t.children[0].data}]]>`;
|
|
@@ -1692,7 +1692,7 @@ function Gh(t) {
|
|
|
1692
1692
|
return `<!--${t.data}-->`;
|
|
1693
1693
|
}
|
|
1694
1694
|
function bl(t, e) {
|
|
1695
|
-
return
|
|
1695
|
+
return gs(t, e);
|
|
1696
1696
|
}
|
|
1697
1697
|
function Uh(t, e) {
|
|
1698
1698
|
return We(t) ? t.children.map((n) => bl(n, e)).join("") : "";
|
|
@@ -2156,10 +2156,10 @@ function fd(t) {
|
|
|
2156
2156
|
return fo(t) === !1 ? !1 : (e = t.constructor, e === void 0 ? !0 : (n = e.prototype, !(fo(n) === !1 || n.hasOwnProperty("isPrototypeOf") === !1)));
|
|
2157
2157
|
}
|
|
2158
2158
|
vl.isPlainObject = fd;
|
|
2159
|
-
var
|
|
2160
|
-
return
|
|
2159
|
+
var md = function(e) {
|
|
2160
|
+
return gd(e) && !bd(e);
|
|
2161
2161
|
};
|
|
2162
|
-
function
|
|
2162
|
+
function gd(t) {
|
|
2163
2163
|
return !!t && typeof t == "object";
|
|
2164
2164
|
}
|
|
2165
2165
|
function bd(t) {
|
|
@@ -2173,12 +2173,12 @@ function kd(t) {
|
|
|
2173
2173
|
function xd(t) {
|
|
2174
2174
|
return Array.isArray(t) ? [] : {};
|
|
2175
2175
|
}
|
|
2176
|
-
function
|
|
2176
|
+
function gn(t, e) {
|
|
2177
2177
|
return e.clone !== !1 && e.isMergeableObject(t) ? zt(xd(t), t, e) : t;
|
|
2178
2178
|
}
|
|
2179
2179
|
function Sd(t, e, n) {
|
|
2180
2180
|
return t.concat(e).map(function(r) {
|
|
2181
|
-
return
|
|
2181
|
+
return gn(r, n);
|
|
2182
2182
|
});
|
|
2183
2183
|
}
|
|
2184
2184
|
function Id(t, e) {
|
|
@@ -2192,7 +2192,7 @@ function _d(t) {
|
|
|
2192
2192
|
return Object.propertyIsEnumerable.call(t, e);
|
|
2193
2193
|
}) : [];
|
|
2194
2194
|
}
|
|
2195
|
-
function
|
|
2195
|
+
function mo(t) {
|
|
2196
2196
|
return Object.keys(t).concat(_d(t));
|
|
2197
2197
|
}
|
|
2198
2198
|
function Cl(t, e) {
|
|
@@ -2207,16 +2207,16 @@ function vd(t, e) {
|
|
|
2207
2207
|
}
|
|
2208
2208
|
function Cd(t, e, n) {
|
|
2209
2209
|
var r = {};
|
|
2210
|
-
return n.isMergeableObject(t) &&
|
|
2211
|
-
r[i] =
|
|
2212
|
-
}),
|
|
2213
|
-
vd(t, i) || (Cl(t, i) && n.isMergeableObject(e[i]) ? r[i] = Id(i, n)(t[i], e[i], n) : r[i] =
|
|
2210
|
+
return n.isMergeableObject(t) && mo(t).forEach(function(i) {
|
|
2211
|
+
r[i] = gn(t[i], n);
|
|
2212
|
+
}), mo(e).forEach(function(i) {
|
|
2213
|
+
vd(t, i) || (Cl(t, i) && n.isMergeableObject(e[i]) ? r[i] = Id(i, n)(t[i], e[i], n) : r[i] = gn(e[i], n));
|
|
2214
2214
|
}), r;
|
|
2215
2215
|
}
|
|
2216
2216
|
function zt(t, e, n) {
|
|
2217
|
-
n = n || {}, n.arrayMerge = n.arrayMerge || Sd, n.isMergeableObject = n.isMergeableObject ||
|
|
2217
|
+
n = n || {}, n.arrayMerge = n.arrayMerge || Sd, n.isMergeableObject = n.isMergeableObject || md, n.cloneUnlessOtherwiseSpecified = gn;
|
|
2218
2218
|
var r = Array.isArray(e), i = Array.isArray(t), s = r === i;
|
|
2219
|
-
return s ? r ? n.arrayMerge(t, e, n) : Cd(t, e, n) :
|
|
2219
|
+
return s ? r ? n.arrayMerge(t, e, n) : Cd(t, e, n) : gn(e, n);
|
|
2220
2220
|
}
|
|
2221
2221
|
zt.all = function(e, n) {
|
|
2222
2222
|
if (!Array.isArray(e))
|
|
@@ -2300,7 +2300,7 @@ const Od = {}, Nd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2300
2300
|
__proto__: null,
|
|
2301
2301
|
default: Od
|
|
2302
2302
|
}, Symbol.toStringTag, { value: "Module" })), et = /* @__PURE__ */ _n(Nd);
|
|
2303
|
-
let
|
|
2303
|
+
let go = Dd, bo = et, vi = class Tl extends Error {
|
|
2304
2304
|
constructor(e, n, r, i, s, o) {
|
|
2305
2305
|
super(e), this.name = "CssSyntaxError", this.reason = e, s && (this.file = s), i && (this.source = i), o && (this.plugin = o), typeof n < "u" && typeof r < "u" && (typeof n == "number" ? (this.line = n, this.column = r) : (this.line = n.line, this.column = n.column, this.endLine = r.line, this.endColumn = r.column)), this.setMessage(), Error.captureStackTrace && Error.captureStackTrace(this, Tl);
|
|
2306
2306
|
}
|
|
@@ -2310,10 +2310,10 @@ let mo = Dd, bo = et, vi = class Tl extends Error {
|
|
|
2310
2310
|
showSourceCode(e) {
|
|
2311
2311
|
if (!this.source) return "";
|
|
2312
2312
|
let n = this.source;
|
|
2313
|
-
e == null && (e =
|
|
2313
|
+
e == null && (e = go.isColorSupported);
|
|
2314
2314
|
let r = (u) => u, i = (u) => u, s = (u) => u;
|
|
2315
2315
|
if (e) {
|
|
2316
|
-
let { bold: u, gray: h, red: d } =
|
|
2316
|
+
let { bold: u, gray: h, red: d } = go.createColors(!0);
|
|
2317
2317
|
i = (A) => u(d(A)), r = (A) => h(A), bo && (s = (A) => bo(A));
|
|
2318
2318
|
}
|
|
2319
2319
|
let o = n.split(/\r?\n/), l = Math.max(this.line - 3, 0), a = Math.min(this.line + 2, o.length), c = String(a).length;
|
|
@@ -3504,10 +3504,10 @@ let $l = It, pp = jl, Ar = class extends $l {
|
|
|
3504
3504
|
var vs = Ar;
|
|
3505
3505
|
Ar.default = Ar;
|
|
3506
3506
|
$l.registerRule(Ar);
|
|
3507
|
-
let Ap = Is, fp = Or,
|
|
3507
|
+
let Ap = Is, fp = Or, mp = Nr, gp = Rr, bp = Wl, yp = Bn, wp = vs;
|
|
3508
3508
|
function To(t, e) {
|
|
3509
3509
|
return t.inputs ? t.inputs.map((n) => {
|
|
3510
|
-
let r = { ...n, __proto__:
|
|
3510
|
+
let r = { ...n, __proto__: gp.prototype };
|
|
3511
3511
|
return r.map && (r.map = {
|
|
3512
3512
|
...r.map,
|
|
3513
3513
|
__proto__: bp.prototype
|
|
@@ -3524,7 +3524,7 @@ function kp(t, e, n) {
|
|
|
3524
3524
|
if (r.type === "root")
|
|
3525
3525
|
i = new yp(r);
|
|
3526
3526
|
else if (r.type === "decl")
|
|
3527
|
-
i = new
|
|
3527
|
+
i = new mp(r);
|
|
3528
3528
|
else if (r.type === "rule")
|
|
3529
3529
|
i = new wp(r);
|
|
3530
3530
|
else if (r.type === "comment")
|
|
@@ -4162,7 +4162,7 @@ let zp = class {
|
|
|
4162
4162
|
};
|
|
4163
4163
|
var Yp = zp;
|
|
4164
4164
|
let jp = It, $p = Rr, Jp = Yp;
|
|
4165
|
-
function
|
|
4165
|
+
function mr(t, e) {
|
|
4166
4166
|
let n = new $p(t, e), r = new Jp(n);
|
|
4167
4167
|
try {
|
|
4168
4168
|
r.parse();
|
|
@@ -4171,9 +4171,9 @@ function gr(t, e) {
|
|
|
4171
4171
|
}
|
|
4172
4172
|
return r.root;
|
|
4173
4173
|
}
|
|
4174
|
-
var Cs =
|
|
4175
|
-
|
|
4176
|
-
jp.registerParse(
|
|
4174
|
+
var Cs = mr;
|
|
4175
|
+
mr.default = mr;
|
|
4176
|
+
jp.registerParse(mr);
|
|
4177
4177
|
let Zp = It, { my: Vp } = Xt, Li = class {
|
|
4178
4178
|
constructor(e, n = {}) {
|
|
4179
4179
|
if (this.type = "warning", this.text = e, n.node && n.node.source) {
|
|
@@ -4214,7 +4214,7 @@ let qp = ec, Gi = class {
|
|
|
4214
4214
|
};
|
|
4215
4215
|
var Es = Gi;
|
|
4216
4216
|
Gi.default = Gi;
|
|
4217
|
-
var Xp = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_32f63a9a-f36b-4480-9b89-a35a008e9704", npm_package_dependencies_zod: "3.22.4", npm_package_devDependencies__types_node: "^18.19.41", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", npm_package_dependencies_vite_plugin_vue_devtools: "^7.6.4", npm_package_devDependencies_vitest: "^2.1.9", USER: "runner", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v20.20.2 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.13", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_32f63a9a-f36b-4480-9b89-a35a008e9704", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.3.4", npm_node_execpath: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", SHLVL: "1", HCA_CLOUD_PROVIDER: "azure", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_dependencies_moment_timezone: "^0.6.0", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_build_mf_dev: "vite build --mode fmmf", npm_package_dependencies__types_qrcode: "^1.5.5", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=8096", GRADLE_HOME: "/usr/share/gradle-9.8.2", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/30.0.16248370", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_dependencies__feedmepos_mf_common: "1.29.31", npm_package_dependencies_fabric: "^6.4.2", npm_package_dependencies_zod_i18n_map: "2.27.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.7", SYSTEMD_EXEC_PID: "1859", ACTIONS_ORCHESTRATION_ID: "5dbdb02a-8aef-4d70-be01-23d8e9e336f0.deploy.__default", npm_package_dependencies__feedmepos_ui_library: "1.10.13", npm_package_dependencies_dayjs: "^1.11.12", npm_package_dependencies_dotenv: "^16.4.5", npm_package_dependencies_moment: "^2.30.1", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "pnpm build:mf:dev", npm_package_dependencies__tailwindcss_typography: "^0.5.16", npm_package_dependencies_i18next: "24.2.1", npm_package_devDependencies_tailwindcss: "^3.4.6", npm_package_devDependencies_typescript: "^5.5.3", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode development", npm_package_scripts_build_only_prod: "pnpm build:mf:prod", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.26", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20261101.186.1", npm_package_scripts_dev: "vite", npm_package_scripts_build_prod: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode production", npm_package_dependencies_unplugin_auto_import: "^0.17.8", npm_package_devDependencies__playwright_test: "^1.62.1", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_32f63a9a-f36b-4480-9b89-a35a008e9704", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "10:14510", GITHUB_WORKFLOW: "Publish mf-connect - production", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_dependencies_css_tree: "3.2.1", npm_package_devDependencies_autoprefixer: "^10.4.19", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_dependencies_sanitize_html: "2.17.4", npm_package_devDependencies__types_uuid: "^9.0.8", npm_package_devDependencies_unlayer_types: "^1.157.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.14/x64", GITHUB_RUN_ID: "42780361303", npm_package_dependencies_bson_objectid: "^2.0.4", npm_package_devDependencies__types_lodash: "^4.17.7", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "766adc48c22fe99f2abb1082b444d552559d142d", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.10/x64", GITHUB_BASE_REF: "", ImageOS: "ubuntu26", npm_package_exports___import: "./dist/app.js", npm_package_dependencies__ckeditor_ckeditor5_vue: "^7.3.0", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.5", GITHUB_WORKFLOW_REF: "feedmepos/marketing-services/.github/workflows/[PROD] publish-mf-connect.yml@refs/heads/release/upselling-ghp-prod-0129", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^1.7.2", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.20.2/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_0dbb0107-5aa7-41b4-b1e4-3953a1527f30", INVOCATION_ID: "a158a694910240f9baf9270c713c62ed", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", npm_package_name: "@feedmepos/mf-connect", npm_package_scripts_deploy_dev: "pnpm run build-only:dev && pnpm publish --no-git-checks .", npm_package_dependencies_cross_env: "^7.0.3", npm_package_dependencies_file_saver: "^2.0.5", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "65", GITHUB_TRIGGERING_ACTOR: "Tanwyhang", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_test_e2e: "playwright test", npm_package_scripts_deploy_prod: "pnpm run build-only:prod && pnpm publish --no-git-checks .", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_dependencies__feedmepos_mf_core_ui: "1.0.30", RUNNER_NAME: "GitHub Actions 1000270731", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "release/upselling-ghp-prod-0129", GITHUB_REPOSITORY: "feedmepos/marketing-services", npm_package_scripts_build_dts: "vue-tsc --declaration --noEmit false --emitDeclarationOnly -p tsconfig.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.json --outDir dist --composite false", npm_package_dependencies__feedmepos_core: "2.15.47", npm_lifecycle_script: "vite build --mode fmmf:prod", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest run", npm_package_dependencies_rrule: "^2.8.1", npm_package_dependencies_vue3_lottie: "^3.3.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "615151795", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/bin/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.1.129-prod", npm_package_dependencies__feedmepos_hrm_permission: "1.0.14", npm_package_dependencies_ckeditor5: "^44.3.0", npm_package_dependencies_htmlparser2: "10.1.0", npm_package_dependencies__feedmepos_mf_upselling: "0.3.3", npm_lifecycle_event: "build:mf:prod", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: "vue-tsc && vite build", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", GITHUB_WORKSPACE: "/home/runner/work/marketing-services/marketing-services", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "766adc48c22fe99f2abb1082b444d552559d142d", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies__ckeditor_ckeditor5_build_classic: "^44.3.0", npm_package_dependencies_vue_router: "^4.4.0", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/release/upselling-ghp-prod-0129", GITHUB_ACTOR: "Tanwyhang", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_dependencies_email_addresses: "^5.0.0", npm_package_scripts_test_watch: "vitest", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_qrcode: "^1.5.3", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_32f63a9a-f36b-4480-9b89-a35a008e9704", JAVA_HOME: "/usr/lib/jvm/temurin-25-jdk-amd64", PWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", GITHUB_ACTOR_ID: "72087988", RUNNER_WORKSPACE: "/home/runner/work/marketing-services", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_32f63a9a-f36b-4480-9b89-a35a008e9704", npm_package_exports___types: "./dist/packages/connect/src/app.d.ts", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_devDependencies_postcss: "^8.4.39", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ARTIFACTS_LIST: "/home/runner/work/_temp/_runner_file_commands/artifacts_list_32f63a9a-f36b-4480-9b89-a35a008e9704", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_15.6.1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", npm_package_dependencies__feedmepos_menu: "1.0.34", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_32f63a9a-f36b-4480-9b89-a35a008e9704", INIT_CWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_dependencies__feedmepos_mf_remy_panel: "0.15.0", NODE_ENV: "production", FEEDME_NAMESPACE: "prod", FIREBASE_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", FIREBASE_AUTH_DOMAIN: "feedme-253402.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-253402.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-253402", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MESSAGING_SENDER_ID: "128512026847", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", ASSET_STORAGE_BUCKET: "static.feedme.cc", IMPORT_FILES_STORAGE_BUCKET: "feedme-253402.appspot.com", AUTH_URL: "https://portal-v2.feedmeapi.com/", SLACK_WEBHOOK_URL: "https://hooks.slack.com/services/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", MEMBER_APP_URL: "member.feedme.cc", CRM_APP_URL: "crm.feedme.cc", MARKETING_V1_PORTAL: "https://marketing-v1.feedme.cc", CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", PAYMENT_PORTAL_URL: "https://portal.feedme.cc/payment/payout-account", LICENSE_PORTAL_URL: "https://license.feedme.cc/", VOUCHER_APP_URL: "https://voucher.feedme.cc/", FEATURE_FLAG_API_KEY: "6GhcttsJ9Rj9cTevcdrpin" } };
|
|
4217
|
+
var Xp = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_21d00d1f-47dd-457f-a9cc-6da3e0c14024", npm_package_dependencies_zod: "3.22.4", npm_package_devDependencies__types_node: "^18.19.41", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", npm_package_dependencies_vite_plugin_vue_devtools: "^7.6.4", npm_package_devDependencies_vitest: "^2.1.9", USER: "runner", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v20.20.2 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.13", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_21d00d1f-47dd-457f-a9cc-6da3e0c14024", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.3.4", npm_node_execpath: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", SHLVL: "1", HCA_CLOUD_PROVIDER: "azure", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_dependencies_moment_timezone: "^0.6.0", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_build_mf_dev: "vite build --mode fmmf", npm_package_dependencies__types_qrcode: "^1.5.5", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=8096", GRADLE_HOME: "/usr/share/gradle-9.8.2", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/30.0.16248370", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_dependencies__feedmepos_mf_common: "1.29.31", npm_package_dependencies_fabric: "^6.4.2", npm_package_dependencies_zod_i18n_map: "2.27.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.7", SYSTEMD_EXEC_PID: "2407", ACTIONS_ORCHESTRATION_ID: "e0ba1b1e-19fd-8494-a520-5bdb5bcdf2e3.deploy.__default", npm_package_dependencies__feedmepos_ui_library: "1.10.13", npm_package_dependencies_dayjs: "^1.11.12", npm_package_dependencies_dotenv: "^16.4.5", npm_package_dependencies_moment: "^2.30.1", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "pnpm build:mf:dev", npm_package_dependencies__tailwindcss_typography: "^0.5.16", npm_package_dependencies_i18next: "24.2.1", npm_package_devDependencies_tailwindcss: "^3.4.6", npm_package_devDependencies_typescript: "^5.5.3", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode development", npm_package_scripts_build_only_prod: "pnpm build:mf:prod", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.26", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20261101.186.1", npm_package_scripts_dev: "vite", npm_package_scripts_build_prod: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode production", npm_package_dependencies_unplugin_auto_import: "^0.17.8", npm_package_devDependencies__playwright_test: "^1.62.1", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_21d00d1f-47dd-457f-a9cc-6da3e0c14024", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "10:14828", GITHUB_WORKFLOW: "[CD:prod] connect-portal (mf-connect)", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_dependencies_css_tree: "3.2.1", npm_package_devDependencies_autoprefixer: "^10.4.19", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_dependencies_sanitize_html: "2.17.4", npm_package_devDependencies__types_uuid: "^9.0.8", npm_package_devDependencies_unlayer_types: "^1.157.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.14/x64", GITHUB_RUN_ID: "43254562971", npm_package_dependencies_bson_objectid: "^2.0.4", npm_package_devDependencies__types_lodash: "^4.17.7", GITHUB_REF_TYPE: "tag", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "dc031239c300c62e9d1ab6df0e8680e79f1cff7c", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.10/x64", GITHUB_BASE_REF: "", ImageOS: "ubuntu26", npm_package_exports___import: "./dist/app.js", npm_package_dependencies__ckeditor_ckeditor5_vue: "^7.3.0", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.5", GITHUB_WORKFLOW_REF: "feedmepos/marketing-services/.github/workflows/[PROD] deploy-mf-connect.yml@refs/tags/mf-connect-0.1.130-prod", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^1.7.2", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.20.2/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_befa7f60-dcb7-447a-b540-3c99ba4f35f1", INVOCATION_ID: "6fda4f3edfa2488b88d3d0e0a09cbd32", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", npm_package_name: "@feedmepos/mf-connect", npm_package_scripts_deploy_dev: "pnpm run build-only:dev && pnpm publish --no-git-checks .", npm_package_dependencies_cross_env: "^7.0.3", npm_package_dependencies_file_saver: "^2.0.5", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "114", GITHUB_TRIGGERING_ACTOR: "qaijunse", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_test_e2e: "playwright test", npm_package_scripts_deploy_prod: "pnpm run build-only:prod && pnpm publish --no-git-checks .", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_dependencies__feedmepos_mf_core_ui: "1.0.30", RUNNER_NAME: "GitHub Actions 1000279910", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "mf-connect-0.1.130-prod", GITHUB_REPOSITORY: "feedmepos/marketing-services", npm_package_scripts_build_dts: "vue-tsc --declaration --noEmit false --emitDeclarationOnly -p tsconfig.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.json --outDir dist --composite false", npm_package_dependencies__feedmepos_core: "2.15.47", npm_lifecycle_script: "vite build --mode fmmf:prod", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest run", npm_package_dependencies_rrule: "^2.8.1", npm_package_dependencies_vue3_lottie: "^3.3.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "615151795", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/bin/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.1.130-prod", npm_package_dependencies__feedmepos_hrm_permission: "1.0.14", npm_package_dependencies_ckeditor5: "^44.3.0", npm_package_dependencies_htmlparser2: "10.1.0", npm_package_dependencies__feedmepos_mf_upselling: "0.3.3", npm_lifecycle_event: "build:mf:prod", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: "vue-tsc && vite build", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", GITHUB_WORKSPACE: "/home/runner/work/marketing-services/marketing-services", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "dc031239c300c62e9d1ab6df0e8680e79f1cff7c", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies__ckeditor_ckeditor5_build_classic: "^44.3.0", npm_package_dependencies_vue_router: "^4.4.0", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/tags/mf-connect-0.1.130-prod", GITHUB_ACTOR: "qaijunse", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_dependencies_email_addresses: "^5.0.0", npm_package_scripts_test_watch: "vitest", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_qrcode: "^1.5.3", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_21d00d1f-47dd-457f-a9cc-6da3e0c14024", JAVA_HOME: "/usr/lib/jvm/temurin-25-jdk-amd64", PWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", GITHUB_ACTOR_ID: "39590157", RUNNER_WORKSPACE: "/home/runner/work/marketing-services", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_21d00d1f-47dd-457f-a9cc-6da3e0c14024", npm_package_exports___types: "./dist/packages/connect/src/app.d.ts", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_devDependencies_postcss: "^8.4.39", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ARTIFACTS_LIST: "/home/runner/work/_temp/_runner_file_commands/artifacts_list_21d00d1f-47dd-457f-a9cc-6da3e0c14024", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_15.6.1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", npm_package_dependencies__feedmepos_menu: "1.0.34", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_21d00d1f-47dd-457f-a9cc-6da3e0c14024", INIT_CWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_dependencies__feedmepos_mf_remy_panel: "0.15.0", NODE_ENV: "production", FEEDME_NAMESPACE: "prod", FIREBASE_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", FIREBASE_AUTH_DOMAIN: "feedme-253402.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-253402.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-253402", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MESSAGING_SENDER_ID: "128512026847", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", ASSET_STORAGE_BUCKET: "static.feedme.cc", IMPORT_FILES_STORAGE_BUCKET: "feedme-253402.appspot.com", AUTH_URL: "https://portal-v2.feedmeapi.com/", SLACK_WEBHOOK_URL: "https://hooks.slack.com/services/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", MEMBER_APP_URL: "member.feedme.cc", CRM_APP_URL: "crm.feedme.cc", MARKETING_V1_PORTAL: "https://marketing-v1.feedme.cc", CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", PAYMENT_PORTAL_URL: "https://portal.feedme.cc/payment/payout-account", LICENSE_PORTAL_URL: "https://license.feedme.cc/", VOUCHER_APP_URL: "https://voucher.feedme.cc/", FEATURE_FLAG_API_KEY: "6GhcttsJ9Rj9cTevcdrpin" } };
|
|
4218
4218
|
let eA = It, tA = _s, nA = Xl, rA = Cs, Lo = Es, iA = Bn, sA = Tr, { isClean: $e, my: oA } = Xt;
|
|
4219
4219
|
const aA = {
|
|
4220
4220
|
atrule: "AtRule",
|
|
@@ -4655,7 +4655,7 @@ let uA = Xl, hA = Cs, dA = Es, pA = Tr, Qi = class {
|
|
|
4655
4655
|
};
|
|
4656
4656
|
var AA = Qi;
|
|
4657
4657
|
Qi.default = Qi;
|
|
4658
|
-
let fA = _s,
|
|
4658
|
+
let fA = _s, mA = nc, gA = AA, bA = Bn, wn = class {
|
|
4659
4659
|
constructor(e = []) {
|
|
4660
4660
|
this.version = "8.5.28", this.plugins = this.normalize(e);
|
|
4661
4661
|
}
|
|
@@ -4672,7 +4672,7 @@ let fA = _s, gA = nc, mA = AA, bA = Bn, wn = class {
|
|
|
4672
4672
|
return n;
|
|
4673
4673
|
}
|
|
4674
4674
|
process(e, n = {}) {
|
|
4675
|
-
return !this.plugins.length && !n.parser && !n.stringifier && !n.syntax ? new
|
|
4675
|
+
return !this.plugins.length && !n.parser && !n.stringifier && !n.syntax ? new gA(this, e, n) : new mA(this, e, n);
|
|
4676
4676
|
}
|
|
4677
4677
|
use(e) {
|
|
4678
4678
|
return this.plugins = this.plugins.concat(this.normalize([e])), this;
|
|
@@ -4682,7 +4682,7 @@ var yA = wn;
|
|
|
4682
4682
|
wn.default = wn;
|
|
4683
4683
|
bA.registerProcessor(wn);
|
|
4684
4684
|
fA.registerProcessor(wn);
|
|
4685
|
-
var wA = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_32f63a9a-f36b-4480-9b89-a35a008e9704", npm_package_dependencies_zod: "3.22.4", npm_package_devDependencies__types_node: "^18.19.41", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", npm_package_dependencies_vite_plugin_vue_devtools: "^7.6.4", npm_package_devDependencies_vitest: "^2.1.9", USER: "runner", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v20.20.2 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.13", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_32f63a9a-f36b-4480-9b89-a35a008e9704", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.3.4", npm_node_execpath: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", SHLVL: "1", HCA_CLOUD_PROVIDER: "azure", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_dependencies_moment_timezone: "^0.6.0", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_build_mf_dev: "vite build --mode fmmf", npm_package_dependencies__types_qrcode: "^1.5.5", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=8096", GRADLE_HOME: "/usr/share/gradle-9.8.2", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/30.0.16248370", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_dependencies__feedmepos_mf_common: "1.29.31", npm_package_dependencies_fabric: "^6.4.2", npm_package_dependencies_zod_i18n_map: "2.27.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.7", SYSTEMD_EXEC_PID: "1859", ACTIONS_ORCHESTRATION_ID: "5dbdb02a-8aef-4d70-be01-23d8e9e336f0.deploy.__default", npm_package_dependencies__feedmepos_ui_library: "1.10.13", npm_package_dependencies_dayjs: "^1.11.12", npm_package_dependencies_dotenv: "^16.4.5", npm_package_dependencies_moment: "^2.30.1", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "pnpm build:mf:dev", npm_package_dependencies__tailwindcss_typography: "^0.5.16", npm_package_dependencies_i18next: "24.2.1", npm_package_devDependencies_tailwindcss: "^3.4.6", npm_package_devDependencies_typescript: "^5.5.3", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode development", npm_package_scripts_build_only_prod: "pnpm build:mf:prod", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.26", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20261101.186.1", npm_package_scripts_dev: "vite", npm_package_scripts_build_prod: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode production", npm_package_dependencies_unplugin_auto_import: "^0.17.8", npm_package_devDependencies__playwright_test: "^1.62.1", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_32f63a9a-f36b-4480-9b89-a35a008e9704", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "10:14510", GITHUB_WORKFLOW: "Publish mf-connect - production", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_dependencies_css_tree: "3.2.1", npm_package_devDependencies_autoprefixer: "^10.4.19", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_dependencies_sanitize_html: "2.17.4", npm_package_devDependencies__types_uuid: "^9.0.8", npm_package_devDependencies_unlayer_types: "^1.157.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.14/x64", GITHUB_RUN_ID: "42780361303", npm_package_dependencies_bson_objectid: "^2.0.4", npm_package_devDependencies__types_lodash: "^4.17.7", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "766adc48c22fe99f2abb1082b444d552559d142d", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.10/x64", GITHUB_BASE_REF: "", ImageOS: "ubuntu26", npm_package_exports___import: "./dist/app.js", npm_package_dependencies__ckeditor_ckeditor5_vue: "^7.3.0", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.5", GITHUB_WORKFLOW_REF: "feedmepos/marketing-services/.github/workflows/[PROD] publish-mf-connect.yml@refs/heads/release/upselling-ghp-prod-0129", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^1.7.2", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.20.2/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_0dbb0107-5aa7-41b4-b1e4-3953a1527f30", INVOCATION_ID: "a158a694910240f9baf9270c713c62ed", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", npm_package_name: "@feedmepos/mf-connect", npm_package_scripts_deploy_dev: "pnpm run build-only:dev && pnpm publish --no-git-checks .", npm_package_dependencies_cross_env: "^7.0.3", npm_package_dependencies_file_saver: "^2.0.5", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "65", GITHUB_TRIGGERING_ACTOR: "Tanwyhang", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_test_e2e: "playwright test", npm_package_scripts_deploy_prod: "pnpm run build-only:prod && pnpm publish --no-git-checks .", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_dependencies__feedmepos_mf_core_ui: "1.0.30", RUNNER_NAME: "GitHub Actions 1000270731", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "release/upselling-ghp-prod-0129", GITHUB_REPOSITORY: "feedmepos/marketing-services", npm_package_scripts_build_dts: "vue-tsc --declaration --noEmit false --emitDeclarationOnly -p tsconfig.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.json --outDir dist --composite false", npm_package_dependencies__feedmepos_core: "2.15.47", npm_lifecycle_script: "vite build --mode fmmf:prod", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest run", npm_package_dependencies_rrule: "^2.8.1", npm_package_dependencies_vue3_lottie: "^3.3.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "615151795", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/bin/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.1.129-prod", npm_package_dependencies__feedmepos_hrm_permission: "1.0.14", npm_package_dependencies_ckeditor5: "^44.3.0", npm_package_dependencies_htmlparser2: "10.1.0", npm_package_dependencies__feedmepos_mf_upselling: "0.3.3", npm_lifecycle_event: "build:mf:prod", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: "vue-tsc && vite build", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", GITHUB_WORKSPACE: "/home/runner/work/marketing-services/marketing-services", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "766adc48c22fe99f2abb1082b444d552559d142d", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies__ckeditor_ckeditor5_build_classic: "^44.3.0", npm_package_dependencies_vue_router: "^4.4.0", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/release/upselling-ghp-prod-0129", GITHUB_ACTOR: "Tanwyhang", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_dependencies_email_addresses: "^5.0.0", npm_package_scripts_test_watch: "vitest", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_qrcode: "^1.5.3", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_32f63a9a-f36b-4480-9b89-a35a008e9704", JAVA_HOME: "/usr/lib/jvm/temurin-25-jdk-amd64", PWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", GITHUB_ACTOR_ID: "72087988", RUNNER_WORKSPACE: "/home/runner/work/marketing-services", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_32f63a9a-f36b-4480-9b89-a35a008e9704", npm_package_exports___types: "./dist/packages/connect/src/app.d.ts", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_devDependencies_postcss: "^8.4.39", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ARTIFACTS_LIST: "/home/runner/work/_temp/_runner_file_commands/artifacts_list_32f63a9a-f36b-4480-9b89-a35a008e9704", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_15.6.1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", npm_package_dependencies__feedmepos_menu: "1.0.34", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_32f63a9a-f36b-4480-9b89-a35a008e9704", INIT_CWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_dependencies__feedmepos_mf_remy_panel: "0.15.0", NODE_ENV: "production", FEEDME_NAMESPACE: "prod", FIREBASE_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", FIREBASE_AUTH_DOMAIN: "feedme-253402.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-253402.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-253402", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MESSAGING_SENDER_ID: "128512026847", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", ASSET_STORAGE_BUCKET: "static.feedme.cc", IMPORT_FILES_STORAGE_BUCKET: "feedme-253402.appspot.com", AUTH_URL: "https://portal-v2.feedmeapi.com/", SLACK_WEBHOOK_URL: "https://hooks.slack.com/services/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", MEMBER_APP_URL: "member.feedme.cc", CRM_APP_URL: "crm.feedme.cc", MARKETING_V1_PORTAL: "https://marketing-v1.feedme.cc", CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", PAYMENT_PORTAL_URL: "https://portal.feedme.cc/payment/payout-account", LICENSE_PORTAL_URL: "https://license.feedme.cc/", VOUCHER_APP_URL: "https://voucher.feedme.cc/", FEATURE_FLAG_API_KEY: "6GhcttsJ9Rj9cTevcdrpin" } };
|
|
4685
|
+
var wA = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_21d00d1f-47dd-457f-a9cc-6da3e0c14024", npm_package_dependencies_zod: "3.22.4", npm_package_devDependencies__types_node: "^18.19.41", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", npm_package_dependencies_vite_plugin_vue_devtools: "^7.6.4", npm_package_devDependencies_vitest: "^2.1.9", USER: "runner", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v20.20.2 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.13", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_21d00d1f-47dd-457f-a9cc-6da3e0c14024", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.3.4", npm_node_execpath: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", SHLVL: "1", HCA_CLOUD_PROVIDER: "azure", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_dependencies_moment_timezone: "^0.6.0", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_build_mf_dev: "vite build --mode fmmf", npm_package_dependencies__types_qrcode: "^1.5.5", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=8096", GRADLE_HOME: "/usr/share/gradle-9.8.2", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/30.0.16248370", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_dependencies__feedmepos_mf_common: "1.29.31", npm_package_dependencies_fabric: "^6.4.2", npm_package_dependencies_zod_i18n_map: "2.27.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.7", SYSTEMD_EXEC_PID: "2407", ACTIONS_ORCHESTRATION_ID: "e0ba1b1e-19fd-8494-a520-5bdb5bcdf2e3.deploy.__default", npm_package_dependencies__feedmepos_ui_library: "1.10.13", npm_package_dependencies_dayjs: "^1.11.12", npm_package_dependencies_dotenv: "^16.4.5", npm_package_dependencies_moment: "^2.30.1", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "pnpm build:mf:dev", npm_package_dependencies__tailwindcss_typography: "^0.5.16", npm_package_dependencies_i18next: "24.2.1", npm_package_devDependencies_tailwindcss: "^3.4.6", npm_package_devDependencies_typescript: "^5.5.3", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode development", npm_package_scripts_build_only_prod: "pnpm build:mf:prod", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.26", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20261101.186.1", npm_package_scripts_dev: "vite", npm_package_scripts_build_prod: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode production", npm_package_dependencies_unplugin_auto_import: "^0.17.8", npm_package_devDependencies__playwright_test: "^1.62.1", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_21d00d1f-47dd-457f-a9cc-6da3e0c14024", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "10:14828", GITHUB_WORKFLOW: "[CD:prod] connect-portal (mf-connect)", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_dependencies_css_tree: "3.2.1", npm_package_devDependencies_autoprefixer: "^10.4.19", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_dependencies_sanitize_html: "2.17.4", npm_package_devDependencies__types_uuid: "^9.0.8", npm_package_devDependencies_unlayer_types: "^1.157.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.14/x64", GITHUB_RUN_ID: "43254562971", npm_package_dependencies_bson_objectid: "^2.0.4", npm_package_devDependencies__types_lodash: "^4.17.7", GITHUB_REF_TYPE: "tag", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "dc031239c300c62e9d1ab6df0e8680e79f1cff7c", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.10/x64", GITHUB_BASE_REF: "", ImageOS: "ubuntu26", npm_package_exports___import: "./dist/app.js", npm_package_dependencies__ckeditor_ckeditor5_vue: "^7.3.0", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.5", GITHUB_WORKFLOW_REF: "feedmepos/marketing-services/.github/workflows/[PROD] deploy-mf-connect.yml@refs/tags/mf-connect-0.1.130-prod", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^1.7.2", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.20.2/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_befa7f60-dcb7-447a-b540-3c99ba4f35f1", INVOCATION_ID: "6fda4f3edfa2488b88d3d0e0a09cbd32", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", npm_package_name: "@feedmepos/mf-connect", npm_package_scripts_deploy_dev: "pnpm run build-only:dev && pnpm publish --no-git-checks .", npm_package_dependencies_cross_env: "^7.0.3", npm_package_dependencies_file_saver: "^2.0.5", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "114", GITHUB_TRIGGERING_ACTOR: "qaijunse", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_test_e2e: "playwright test", npm_package_scripts_deploy_prod: "pnpm run build-only:prod && pnpm publish --no-git-checks .", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_dependencies__feedmepos_mf_core_ui: "1.0.30", RUNNER_NAME: "GitHub Actions 1000279910", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "mf-connect-0.1.130-prod", GITHUB_REPOSITORY: "feedmepos/marketing-services", npm_package_scripts_build_dts: "vue-tsc --declaration --noEmit false --emitDeclarationOnly -p tsconfig.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.json --outDir dist --composite false", npm_package_dependencies__feedmepos_core: "2.15.47", npm_lifecycle_script: "vite build --mode fmmf:prod", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest run", npm_package_dependencies_rrule: "^2.8.1", npm_package_dependencies_vue3_lottie: "^3.3.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "615151795", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/bin/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.1.130-prod", npm_package_dependencies__feedmepos_hrm_permission: "1.0.14", npm_package_dependencies_ckeditor5: "^44.3.0", npm_package_dependencies_htmlparser2: "10.1.0", npm_package_dependencies__feedmepos_mf_upselling: "0.3.3", npm_lifecycle_event: "build:mf:prod", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: "vue-tsc && vite build", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", GITHUB_WORKSPACE: "/home/runner/work/marketing-services/marketing-services", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "dc031239c300c62e9d1ab6df0e8680e79f1cff7c", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies__ckeditor_ckeditor5_build_classic: "^44.3.0", npm_package_dependencies_vue_router: "^4.4.0", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/tags/mf-connect-0.1.130-prod", GITHUB_ACTOR: "qaijunse", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_dependencies_email_addresses: "^5.0.0", npm_package_scripts_test_watch: "vitest", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_qrcode: "^1.5.3", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_21d00d1f-47dd-457f-a9cc-6da3e0c14024", JAVA_HOME: "/usr/lib/jvm/temurin-25-jdk-amd64", PWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", GITHUB_ACTOR_ID: "39590157", RUNNER_WORKSPACE: "/home/runner/work/marketing-services", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_21d00d1f-47dd-457f-a9cc-6da3e0c14024", npm_package_exports___types: "./dist/packages/connect/src/app.d.ts", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_devDependencies_postcss: "^8.4.39", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ARTIFACTS_LIST: "/home/runner/work/_temp/_runner_file_commands/artifacts_list_21d00d1f-47dd-457f-a9cc-6da3e0c14024", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_15.6.1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", npm_package_dependencies__feedmepos_menu: "1.0.34", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_21d00d1f-47dd-457f-a9cc-6da3e0c14024", INIT_CWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_dependencies__feedmepos_mf_remy_panel: "0.15.0", NODE_ENV: "production", FEEDME_NAMESPACE: "prod", FIREBASE_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", FIREBASE_AUTH_DOMAIN: "feedme-253402.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-253402.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-253402", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MESSAGING_SENDER_ID: "128512026847", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", ASSET_STORAGE_BUCKET: "static.feedme.cc", IMPORT_FILES_STORAGE_BUCKET: "feedme-253402.appspot.com", AUTH_URL: "https://portal-v2.feedmeapi.com/", SLACK_WEBHOOK_URL: "https://hooks.slack.com/services/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", MEMBER_APP_URL: "member.feedme.cc", CRM_APP_URL: "crm.feedme.cc", MARKETING_V1_PORTAL: "https://marketing-v1.feedme.cc", CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", PAYMENT_PORTAL_URL: "https://portal.feedme.cc/payment/payout-account", LICENSE_PORTAL_URL: "https://license.feedme.cc/", VOUCHER_APP_URL: "https://voucher.feedme.cc/", FEATURE_FLAG_API_KEY: "6GhcttsJ9Rj9cTevcdrpin" } };
|
|
4686
4686
|
let rc = Is, ic = Or, kA = It, xA = ks, sc = Nr, oc = _s, SA = xp, IA = Rr, _A = nc, vA = jl, CA = Dr, EA = Cs, Bs = yA, BA = Es, ac = Bn, lc = vs, TA = Tr, DA = ec;
|
|
4687
4687
|
function ee(...t) {
|
|
4688
4688
|
return t.length === 1 && Array.isArray(t[0]) && (t = t[0]), new Bs(t);
|
|
@@ -4741,18 +4741,18 @@ var Ts = { exports: {} }, cc = { exports: {} };
|
|
|
4741
4741
|
t.exports = r();
|
|
4742
4742
|
})(ve, function() {
|
|
4743
4743
|
var n = 1e3, r = 6e4, i = 36e5, s = "millisecond", o = "second", l = "minute", a = "hour", c = "day", u = "week", h = "month", d = "quarter", A = "year", w = "date", T = "Invalid Date", x = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, O = /\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, E = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(N) {
|
|
4744
|
-
var p = ["th", "st", "nd", "rd"],
|
|
4745
|
-
return "[" + N + (p[(
|
|
4746
|
-
} }, B = function(N, p,
|
|
4747
|
-
var
|
|
4748
|
-
return !
|
|
4744
|
+
var p = ["th", "st", "nd", "rd"], g = N % 100;
|
|
4745
|
+
return "[" + N + (p[(g - 20) % 10] || p[g] || p[0]) + "]";
|
|
4746
|
+
} }, B = function(N, p, g) {
|
|
4747
|
+
var m = String(N);
|
|
4748
|
+
return !m || m.length >= p ? N : "" + Array(p + 1 - m.length).join(g) + N;
|
|
4749
4749
|
}, v = { s: B, z: function(N) {
|
|
4750
|
-
var p = -N.utcOffset(),
|
|
4751
|
-
return (p <= 0 ? "+" : "-") + B(
|
|
4752
|
-
}, m: function N(p,
|
|
4753
|
-
if (p.date() <
|
|
4754
|
-
var
|
|
4755
|
-
return +(-(
|
|
4750
|
+
var p = -N.utcOffset(), g = Math.abs(p), m = Math.floor(g / 60), k = g % 60;
|
|
4751
|
+
return (p <= 0 ? "+" : "-") + B(m, 2, "0") + ":" + B(k, 2, "0");
|
|
4752
|
+
}, m: function N(p, g) {
|
|
4753
|
+
if (p.date() < g.date()) return -N(g, p);
|
|
4754
|
+
var m = 12 * (g.year() - p.year()) + (g.month() - p.month()), k = p.clone().add(m, h), R = g - k < 0, F = p.clone().add(m + (R ? -1 : 1), h);
|
|
4755
|
+
return +(-(m + (g - k) / (R ? k - F : F - k)) || 0);
|
|
4756
4756
|
}, a: function(N) {
|
|
4757
4757
|
return N < 0 ? Math.ceil(N) || 0 : Math.floor(N);
|
|
4758
4758
|
}, p: function(N) {
|
|
@@ -4763,35 +4763,35 @@ var Ts = { exports: {} }, cc = { exports: {} };
|
|
|
4763
4763
|
M[D] = E;
|
|
4764
4764
|
var Z = "$isDayjsObject", f = function(N) {
|
|
4765
4765
|
return N instanceof le || !(!N || !N[Z]);
|
|
4766
|
-
}, y = function N(p,
|
|
4766
|
+
}, y = function N(p, g, m) {
|
|
4767
4767
|
var k;
|
|
4768
4768
|
if (!p) return D;
|
|
4769
4769
|
if (typeof p == "string") {
|
|
4770
4770
|
var R = p.toLowerCase();
|
|
4771
|
-
M[R] && (k = R),
|
|
4771
|
+
M[R] && (k = R), g && (M[R] = g, k = R);
|
|
4772
4772
|
var F = p.split("-");
|
|
4773
4773
|
if (!k && F.length > 1) return N(F[0]);
|
|
4774
4774
|
} else {
|
|
4775
4775
|
var ie = p.name;
|
|
4776
4776
|
M[ie] = p, k = ie;
|
|
4777
4777
|
}
|
|
4778
|
-
return !
|
|
4778
|
+
return !m && k && (D = k), k || !m && D;
|
|
4779
4779
|
}, _ = function(N, p) {
|
|
4780
4780
|
if (f(N)) return N.clone();
|
|
4781
|
-
var
|
|
4782
|
-
return
|
|
4781
|
+
var g = typeof p == "object" ? p : {};
|
|
4782
|
+
return g.date = N, g.args = arguments, new le(g);
|
|
4783
4783
|
}, b = v;
|
|
4784
4784
|
b.l = y, b.i = f, b.w = function(N, p) {
|
|
4785
4785
|
return _(N, { locale: p.$L, utc: p.$u, x: p.$x, $offset: p.$offset });
|
|
4786
4786
|
};
|
|
4787
4787
|
var le = function() {
|
|
4788
|
-
function N(
|
|
4789
|
-
this.$L = y(
|
|
4788
|
+
function N(g) {
|
|
4789
|
+
this.$L = y(g.locale, null, !0), this.parse(g), this.$x = this.$x || g.x || {}, this[Z] = !0;
|
|
4790
4790
|
}
|
|
4791
4791
|
var p = N.prototype;
|
|
4792
|
-
return p.parse = function(
|
|
4793
|
-
this.$d = function(
|
|
4794
|
-
var k =
|
|
4792
|
+
return p.parse = function(g) {
|
|
4793
|
+
this.$d = function(m) {
|
|
4794
|
+
var k = m.date, R = m.utc;
|
|
4795
4795
|
if (k === null) return /* @__PURE__ */ new Date(NaN);
|
|
4796
4796
|
if (b.u(k)) return /* @__PURE__ */ new Date();
|
|
4797
4797
|
if (k instanceof Date) return new Date(k);
|
|
@@ -4803,29 +4803,29 @@ var Ts = { exports: {} }, cc = { exports: {} };
|
|
|
4803
4803
|
}
|
|
4804
4804
|
}
|
|
4805
4805
|
return new Date(k);
|
|
4806
|
-
}(
|
|
4806
|
+
}(g), this.init();
|
|
4807
4807
|
}, p.init = function() {
|
|
4808
|
-
var
|
|
4809
|
-
this.$y =
|
|
4808
|
+
var g = this.$d;
|
|
4809
|
+
this.$y = g.getFullYear(), this.$M = g.getMonth(), this.$D = g.getDate(), this.$W = g.getDay(), this.$H = g.getHours(), this.$m = g.getMinutes(), this.$s = g.getSeconds(), this.$ms = g.getMilliseconds();
|
|
4810
4810
|
}, p.$utils = function() {
|
|
4811
4811
|
return b;
|
|
4812
4812
|
}, p.isValid = function() {
|
|
4813
4813
|
return this.$d.toString() !== T;
|
|
4814
|
-
}, p.isSame = function(
|
|
4815
|
-
var k = _(
|
|
4816
|
-
return this.startOf(
|
|
4817
|
-
}, p.isAfter = function(
|
|
4818
|
-
return _(
|
|
4819
|
-
}, p.isBefore = function(
|
|
4820
|
-
return this.endOf(
|
|
4821
|
-
}, p.$g = function(
|
|
4822
|
-
return b.u(
|
|
4814
|
+
}, p.isSame = function(g, m) {
|
|
4815
|
+
var k = _(g);
|
|
4816
|
+
return this.startOf(m) <= k && k <= this.endOf(m);
|
|
4817
|
+
}, p.isAfter = function(g, m) {
|
|
4818
|
+
return _(g) < this.startOf(m);
|
|
4819
|
+
}, p.isBefore = function(g, m) {
|
|
4820
|
+
return this.endOf(m) < _(g);
|
|
4821
|
+
}, p.$g = function(g, m, k) {
|
|
4822
|
+
return b.u(g) ? this[m] : this.set(k, g);
|
|
4823
4823
|
}, p.unix = function() {
|
|
4824
4824
|
return Math.floor(this.valueOf() / 1e3);
|
|
4825
4825
|
}, p.valueOf = function() {
|
|
4826
4826
|
return this.$d.getTime();
|
|
4827
|
-
}, p.startOf = function(
|
|
4828
|
-
var k = this, R = !!b.u(
|
|
4827
|
+
}, p.startOf = function(g, m) {
|
|
4828
|
+
var k = this, R = !!b.u(m) || m, F = b.p(g), ie = function(ke, se) {
|
|
4829
4829
|
var nt = b.w(k.$u ? Date.UTC(k.$y, se, ke) : new Date(k.$y, se, ke), k);
|
|
4830
4830
|
return R ? nt : nt.endOf(c);
|
|
4831
4831
|
}, pe = function(ke, se) {
|
|
@@ -4851,39 +4851,39 @@ var Ts = { exports: {} }, cc = { exports: {} };
|
|
|
4851
4851
|
default:
|
|
4852
4852
|
return this.clone();
|
|
4853
4853
|
}
|
|
4854
|
-
}, p.endOf = function(
|
|
4855
|
-
return this.startOf(
|
|
4856
|
-
}, p.$set = function(
|
|
4857
|
-
var k, R = b.p(
|
|
4854
|
+
}, p.endOf = function(g) {
|
|
4855
|
+
return this.startOf(g, !1);
|
|
4856
|
+
}, p.$set = function(g, m) {
|
|
4857
|
+
var k, R = b.p(g), F = "set" + (this.$u ? "UTC" : ""), ie = (k = {}, k[c] = F + "Date", k[w] = F + "Date", k[h] = F + "Month", k[A] = F + "FullYear", k[a] = F + "Hours", k[l] = F + "Minutes", k[o] = F + "Seconds", k[s] = F + "Milliseconds", k)[R], pe = R === c ? this.$D + (m - this.$W) : m;
|
|
4858
4858
|
if (R === h || R === A) {
|
|
4859
4859
|
var Q = this.clone().set(w, 1);
|
|
4860
4860
|
Q.$d[ie](pe), Q.init(), this.$d = Q.set(w, Math.min(this.$D, Q.daysInMonth())).$d;
|
|
4861
4861
|
} else ie && this.$d[ie](pe);
|
|
4862
4862
|
return this.init(), this;
|
|
4863
|
-
}, p.set = function(
|
|
4864
|
-
return this.clone().$set(
|
|
4865
|
-
}, p.get = function(
|
|
4866
|
-
return this[b.p(
|
|
4867
|
-
}, p.add = function(
|
|
4863
|
+
}, p.set = function(g, m) {
|
|
4864
|
+
return this.clone().$set(g, m);
|
|
4865
|
+
}, p.get = function(g) {
|
|
4866
|
+
return this[b.p(g)]();
|
|
4867
|
+
}, p.add = function(g, m) {
|
|
4868
4868
|
var k, R = this;
|
|
4869
|
-
|
|
4870
|
-
var F = b.p(
|
|
4869
|
+
g = Number(g);
|
|
4870
|
+
var F = b.p(m), ie = function(H) {
|
|
4871
4871
|
var Ie = _(R);
|
|
4872
|
-
return b.w(Ie.date(Ie.date() + Math.round(H *
|
|
4872
|
+
return b.w(Ie.date(Ie.date() + Math.round(H * g)), R);
|
|
4873
4873
|
};
|
|
4874
|
-
if (F === h) return this.set(h, this.$M +
|
|
4875
|
-
if (F === A) return this.set(A, this.$y +
|
|
4874
|
+
if (F === h) return this.set(h, this.$M + g);
|
|
4875
|
+
if (F === A) return this.set(A, this.$y + g);
|
|
4876
4876
|
if (F === c) return ie(1);
|
|
4877
4877
|
if (F === u) return ie(7);
|
|
4878
|
-
var pe = (k = {}, k[l] = r, k[a] = i, k[o] = n, k)[F] || 1, Q = this.$d.getTime() +
|
|
4878
|
+
var pe = (k = {}, k[l] = r, k[a] = i, k[o] = n, k)[F] || 1, Q = this.$d.getTime() + g * pe;
|
|
4879
4879
|
return b.w(Q, this);
|
|
4880
|
-
}, p.subtract = function(
|
|
4881
|
-
return this.add(-1 *
|
|
4882
|
-
}, p.format = function(
|
|
4883
|
-
var
|
|
4880
|
+
}, p.subtract = function(g, m) {
|
|
4881
|
+
return this.add(-1 * g, m);
|
|
4882
|
+
}, p.format = function(g) {
|
|
4883
|
+
var m = this, k = this.$locale();
|
|
4884
4884
|
if (!this.isValid()) return k.invalidDate || T;
|
|
4885
|
-
var R =
|
|
4886
|
-
return se && (se[nt] || se(
|
|
4885
|
+
var R = g || "YYYY-MM-DDTHH:mm:ssZ", F = b.z(this), ie = this.$H, pe = this.$m, Q = this.$M, H = k.weekdays, Ie = k.months, j = k.meridiem, Y = function(se, nt, At, Dt) {
|
|
4886
|
+
return se && (se[nt] || se(m, R)) || At[nt].slice(0, Dt);
|
|
4887
4887
|
}, Le = function(se) {
|
|
4888
4888
|
return b.s(ie % 12 || 12, se, "0");
|
|
4889
4889
|
}, ke = j || function(se, nt, At) {
|
|
@@ -4894,9 +4894,9 @@ var Ts = { exports: {} }, cc = { exports: {} };
|
|
|
4894
4894
|
return nt || function(At) {
|
|
4895
4895
|
switch (At) {
|
|
4896
4896
|
case "YY":
|
|
4897
|
-
return String(
|
|
4897
|
+
return String(m.$y).slice(-2);
|
|
4898
4898
|
case "YYYY":
|
|
4899
|
-
return b.s(
|
|
4899
|
+
return b.s(m.$y, 4, "0");
|
|
4900
4900
|
case "M":
|
|
4901
4901
|
return Q + 1;
|
|
4902
4902
|
case "MM":
|
|
@@ -4906,17 +4906,17 @@ var Ts = { exports: {} }, cc = { exports: {} };
|
|
|
4906
4906
|
case "MMMM":
|
|
4907
4907
|
return Y(Ie, Q);
|
|
4908
4908
|
case "D":
|
|
4909
|
-
return
|
|
4909
|
+
return m.$D;
|
|
4910
4910
|
case "DD":
|
|
4911
|
-
return b.s(
|
|
4911
|
+
return b.s(m.$D, 2, "0");
|
|
4912
4912
|
case "d":
|
|
4913
|
-
return String(
|
|
4913
|
+
return String(m.$W);
|
|
4914
4914
|
case "dd":
|
|
4915
|
-
return Y(k.weekdaysMin,
|
|
4915
|
+
return Y(k.weekdaysMin, m.$W, H, 2);
|
|
4916
4916
|
case "ddd":
|
|
4917
|
-
return Y(k.weekdaysShort,
|
|
4917
|
+
return Y(k.weekdaysShort, m.$W, H, 3);
|
|
4918
4918
|
case "dddd":
|
|
4919
|
-
return H[
|
|
4919
|
+
return H[m.$W];
|
|
4920
4920
|
case "H":
|
|
4921
4921
|
return String(ie);
|
|
4922
4922
|
case "HH":
|
|
@@ -4934,11 +4934,11 @@ var Ts = { exports: {} }, cc = { exports: {} };
|
|
|
4934
4934
|
case "mm":
|
|
4935
4935
|
return b.s(pe, 2, "0");
|
|
4936
4936
|
case "s":
|
|
4937
|
-
return String(
|
|
4937
|
+
return String(m.$s);
|
|
4938
4938
|
case "ss":
|
|
4939
|
-
return b.s(
|
|
4939
|
+
return b.s(m.$s, 2, "0");
|
|
4940
4940
|
case "SSS":
|
|
4941
|
-
return b.s(
|
|
4941
|
+
return b.s(m.$ms, 3, "0");
|
|
4942
4942
|
case "Z":
|
|
4943
4943
|
return F;
|
|
4944
4944
|
}
|
|
@@ -4947,8 +4947,8 @@ var Ts = { exports: {} }, cc = { exports: {} };
|
|
|
4947
4947
|
});
|
|
4948
4948
|
}, p.utcOffset = function() {
|
|
4949
4949
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
4950
|
-
}, p.diff = function(
|
|
4951
|
-
var R, F = this, ie = b.p(
|
|
4950
|
+
}, p.diff = function(g, m, k) {
|
|
4951
|
+
var R, F = this, ie = b.p(m), pe = _(g), Q = (pe.utcOffset() - this.utcOffset()) * r, H = this - pe, Ie = function() {
|
|
4952
4952
|
return b.m(F, pe);
|
|
4953
4953
|
};
|
|
4954
4954
|
switch (ie) {
|
|
@@ -4984,9 +4984,9 @@ var Ts = { exports: {} }, cc = { exports: {} };
|
|
|
4984
4984
|
return this.endOf(h).$D;
|
|
4985
4985
|
}, p.$locale = function() {
|
|
4986
4986
|
return M[this.$L];
|
|
4987
|
-
}, p.locale = function(
|
|
4988
|
-
if (!
|
|
4989
|
-
var k = this.clone(), R = y(
|
|
4987
|
+
}, p.locale = function(g, m) {
|
|
4988
|
+
if (!g) return this.$L;
|
|
4989
|
+
var k = this.clone(), R = y(g, m, !0);
|
|
4990
4990
|
return R && (k.$L = R), k;
|
|
4991
4991
|
}, p.clone = function() {
|
|
4992
4992
|
return b.w(this.$d, this);
|
|
@@ -5194,12 +5194,12 @@ function kn(t, e, n) {
|
|
|
5194
5194
|
return "";
|
|
5195
5195
|
typeof t == "number" && (t = t.toString());
|
|
5196
5196
|
let r = "", i = "";
|
|
5197
|
-
function s(p,
|
|
5198
|
-
const
|
|
5199
|
-
this.tag = p, this.attribs =
|
|
5197
|
+
function s(p, g) {
|
|
5198
|
+
const m = this;
|
|
5199
|
+
this.tag = p, this.attribs = g || {}, this.tagPosition = r.length, this.text = "", this.openingTagLength = 0, this.mediaChildren = [], this.updateParentNodeText = function() {
|
|
5200
5200
|
if (x.length) {
|
|
5201
5201
|
const k = x[x.length - 1];
|
|
5202
|
-
k.text +=
|
|
5202
|
+
k.text += m.text;
|
|
5203
5203
|
}
|
|
5204
5204
|
}, this.updateParentNodeMediaChildren = function() {
|
|
5205
5205
|
x.length && PA.includes(this.tag) && x[x.length - 1].mediaChildren.push(this.tag);
|
|
@@ -5227,60 +5227,60 @@ and ensure you are accounting for this risk.
|
|
|
5227
5227
|
"xmp"
|
|
5228
5228
|
];
|
|
5229
5229
|
let a, c;
|
|
5230
|
-
e.allowedAttributes && (a = {}, c = {}, Pt(e.allowedAttributes, function(p,
|
|
5231
|
-
a[
|
|
5232
|
-
const
|
|
5230
|
+
e.allowedAttributes && (a = {}, c = {}, Pt(e.allowedAttributes, function(p, g) {
|
|
5231
|
+
a[g] = [];
|
|
5232
|
+
const m = [];
|
|
5233
5233
|
p.forEach(function(k) {
|
|
5234
|
-
typeof k == "string" && k.indexOf("*") >= 0 ?
|
|
5235
|
-
}),
|
|
5234
|
+
typeof k == "string" && k.indexOf("*") >= 0 ? m.push(Po(k).replace(/\\\*/g, ".*")) : a[g].push(k);
|
|
5235
|
+
}), m.length && (c[g] = new RegExp("^(" + m.join("|") + ")$"));
|
|
5236
5236
|
}));
|
|
5237
5237
|
const u = {}, h = {}, d = {};
|
|
5238
|
-
Pt(e.allowedClasses, function(p,
|
|
5239
|
-
if (a && (ut(a,
|
|
5240
|
-
const
|
|
5241
|
-
u[
|
|
5242
|
-
typeof k == "string" && k.indexOf("*") >= 0 ?
|
|
5243
|
-
}),
|
|
5238
|
+
Pt(e.allowedClasses, function(p, g) {
|
|
5239
|
+
if (a && (ut(a, g) || (a[g] = []), a[g].push("class")), u[g] = p, Array.isArray(p)) {
|
|
5240
|
+
const m = [];
|
|
5241
|
+
u[g] = [], d[g] = [], p.forEach(function(k) {
|
|
5242
|
+
typeof k == "string" && k.indexOf("*") >= 0 ? m.push(Po(k).replace(/\\\*/g, ".*")) : k instanceof RegExp ? d[g].push(k) : u[g].push(k);
|
|
5243
|
+
}), m.length && (h[g] = new RegExp("^(" + m.join("|") + ")$"));
|
|
5244
5244
|
}
|
|
5245
5245
|
});
|
|
5246
5246
|
const A = {};
|
|
5247
5247
|
let w;
|
|
5248
|
-
Pt(e.transformTags, function(p,
|
|
5249
|
-
let
|
|
5250
|
-
typeof p == "function" ?
|
|
5248
|
+
Pt(e.transformTags, function(p, g) {
|
|
5249
|
+
let m;
|
|
5250
|
+
typeof p == "function" ? m = p : typeof p == "string" && (m = kn.simpleTransform(p)), g === "*" ? w = m : A[g] = m;
|
|
5251
5251
|
});
|
|
5252
5252
|
let T, x, O, E, B, v, D = !1;
|
|
5253
5253
|
Z();
|
|
5254
5254
|
const M = new FA.Parser({
|
|
5255
|
-
onopentag: function(p,
|
|
5256
|
-
if (e.onOpenTag && e.onOpenTag(p,
|
|
5255
|
+
onopentag: function(p, g) {
|
|
5256
|
+
if (e.onOpenTag && e.onOpenTag(p, g), e.enforceHtmlBoundary && p === "html" && Z(), B) {
|
|
5257
5257
|
v++;
|
|
5258
5258
|
return;
|
|
5259
5259
|
}
|
|
5260
|
-
const
|
|
5261
|
-
x.push(
|
|
5260
|
+
const m = new s(p, g);
|
|
5261
|
+
x.push(m);
|
|
5262
5262
|
let k = !1;
|
|
5263
|
-
const R = !!
|
|
5263
|
+
const R = !!m.text;
|
|
5264
5264
|
let F;
|
|
5265
|
-
if (ut(A, p) && (F = A[p](p,
|
|
5265
|
+
if (ut(A, p) && (F = A[p](p, g), m.attribs = g = F.attribs, F.text !== void 0 && (m.innerText = F.text), p !== F.tagName && (m.name = p = F.tagName, E[T] = F.tagName)), w && (F = w(p, g), m.attribs = g = F.attribs, p !== F.tagName && (m.name = p = F.tagName, E[T] = F.tagName)), (!o(p) || e.disallowedTagsMode === "recursiveEscape" && !HA(O) || e.nestingLimit != null && T >= e.nestingLimit) && (k = !0, O[T] = !0, (e.disallowedTagsMode === "discard" || e.disallowedTagsMode === "completelyDiscard") && l.indexOf(p) !== -1 && (B = !0, v = 1)), T++, k) {
|
|
5266
5266
|
if (e.disallowedTagsMode === "discard" || e.disallowedTagsMode === "completelyDiscard") {
|
|
5267
|
-
if (
|
|
5268
|
-
const Q = f(
|
|
5267
|
+
if (m.innerText && !R) {
|
|
5268
|
+
const Q = f(m.innerText);
|
|
5269
5269
|
e.textFilter ? r += e.textFilter(Q, p) : r += Q, D = !0;
|
|
5270
5270
|
}
|
|
5271
5271
|
return;
|
|
5272
5272
|
}
|
|
5273
5273
|
i = r, r = "";
|
|
5274
5274
|
}
|
|
5275
|
-
r += "<" + p, p === "script" && (e.allowedScriptHostnames || e.allowedScriptDomains) && (
|
|
5275
|
+
r += "<" + p, p === "script" && (e.allowedScriptHostnames || e.allowedScriptDomains) && (m.innerText = ""), k && (e.disallowedTagsMode === "escape" || e.disallowedTagsMode === "recursiveEscape") && e.preserveEscapedAttributes ? Pt(g, function(Q, H) {
|
|
5276
5276
|
r += " " + H + '="' + f(Q || "", !0) + '"';
|
|
5277
|
-
}) : (!a || ut(a, p) || a["*"]) && Pt(
|
|
5277
|
+
}) : (!a || ut(a, p) || a["*"]) && Pt(g, function(Q, H) {
|
|
5278
5278
|
if (!zA.test(H)) {
|
|
5279
|
-
delete
|
|
5279
|
+
delete m.attribs[H];
|
|
5280
5280
|
return;
|
|
5281
5281
|
}
|
|
5282
5282
|
if (Q === "" && !e.allowedEmptyAttributes.includes(H) && (e.nonBooleanAttributes.includes(H) || e.nonBooleanAttributes.includes("*"))) {
|
|
5283
|
-
delete
|
|
5283
|
+
delete m.attribs[H];
|
|
5284
5284
|
return;
|
|
5285
5285
|
}
|
|
5286
5286
|
let Ie = !1;
|
|
@@ -5301,7 +5301,7 @@ and ensure you are accounting for this risk.
|
|
|
5301
5301
|
}
|
|
5302
5302
|
if (Ie) {
|
|
5303
5303
|
if (e.allowedSchemesAppliedToAttributes.indexOf(H) !== -1 && y(p, Q)) {
|
|
5304
|
-
delete
|
|
5304
|
+
delete m.attribs[H];
|
|
5305
5305
|
return;
|
|
5306
5306
|
}
|
|
5307
5307
|
if (p === "script" && H === "src") {
|
|
@@ -5320,7 +5320,7 @@ and ensure you are accounting for this risk.
|
|
|
5320
5320
|
j = !1;
|
|
5321
5321
|
}
|
|
5322
5322
|
if (!j) {
|
|
5323
|
-
delete
|
|
5323
|
+
delete m.attribs[H];
|
|
5324
5324
|
return;
|
|
5325
5325
|
}
|
|
5326
5326
|
}
|
|
@@ -5342,7 +5342,7 @@ and ensure you are accounting for this risk.
|
|
|
5342
5342
|
j = !1;
|
|
5343
5343
|
}
|
|
5344
5344
|
if (!j) {
|
|
5345
|
-
delete
|
|
5345
|
+
delete m.attribs[H];
|
|
5346
5346
|
return;
|
|
5347
5347
|
}
|
|
5348
5348
|
}
|
|
@@ -5356,13 +5356,13 @@ and ensure you are accounting for this risk.
|
|
|
5356
5356
|
}), j.length)
|
|
5357
5357
|
Q = WA(Ho(j, function(Y) {
|
|
5358
5358
|
return !Y.evil;
|
|
5359
|
-
})),
|
|
5359
|
+
})), m.attribs[H] = Q;
|
|
5360
5360
|
else {
|
|
5361
|
-
delete
|
|
5361
|
+
delete m.attribs[H];
|
|
5362
5362
|
return;
|
|
5363
5363
|
}
|
|
5364
5364
|
} catch {
|
|
5365
|
-
delete
|
|
5365
|
+
delete m.attribs[H];
|
|
5366
5366
|
return;
|
|
5367
5367
|
}
|
|
5368
5368
|
if (H === "class") {
|
|
@@ -5381,7 +5381,7 @@ and ensure you are accounting for this risk.
|
|
|
5381
5381
|
j || Y,
|
|
5382
5382
|
At
|
|
5383
5383
|
), !Q.length) {
|
|
5384
|
-
delete
|
|
5384
|
+
delete m.attribs[H];
|
|
5385
5385
|
return;
|
|
5386
5386
|
}
|
|
5387
5387
|
}
|
|
@@ -5393,11 +5393,11 @@ and ensure you are accounting for this risk.
|
|
|
5393
5393
|
e.allowedStyles
|
|
5394
5394
|
);
|
|
5395
5395
|
if (Q = le(Y), Q.length === 0) {
|
|
5396
|
-
delete
|
|
5396
|
+
delete m.attribs[H];
|
|
5397
5397
|
return;
|
|
5398
5398
|
}
|
|
5399
5399
|
} catch {
|
|
5400
|
-
typeof window < "u" && console.warn('Failed to parse "' + p + " {" + Q + `}", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547`), delete
|
|
5400
|
+
typeof window < "u" && console.warn('Failed to parse "' + p + " {" + Q + `}", If you're running this in a browser, we recommend to disable style parsing: options.parseStyleAttributes: false, since this only works in a node environment due to a postcss dependency, More info: https://github.com/apostrophecms/sanitize-html/issues/547`), delete m.attribs[H];
|
|
5401
5401
|
return;
|
|
5402
5402
|
}
|
|
5403
5403
|
else if (e.allowedStyles)
|
|
@@ -5405,64 +5405,64 @@ and ensure you are accounting for this risk.
|
|
|
5405
5405
|
}
|
|
5406
5406
|
r += " " + H, Q && Q.length ? r += '="' + f(Q, !0) + '"' : e.allowedEmptyAttributes.includes(H) && (r += '=""');
|
|
5407
5407
|
} else
|
|
5408
|
-
delete
|
|
5409
|
-
}), e.selfClosing.indexOf(p) !== -1 ? r += " />" : (r += ">",
|
|
5408
|
+
delete m.attribs[H];
|
|
5409
|
+
}), e.selfClosing.indexOf(p) !== -1 ? r += " />" : (r += ">", m.innerText && !R && !e.textFilter && (r += f(m.innerText), D = !0)), k && (r = i + f(r), i = ""), m.openingTagLength = r.length - m.tagPosition;
|
|
5410
5410
|
},
|
|
5411
5411
|
ontext: function(p) {
|
|
5412
5412
|
if (B)
|
|
5413
5413
|
return;
|
|
5414
|
-
const
|
|
5415
|
-
let
|
|
5416
|
-
if (
|
|
5414
|
+
const g = x[x.length - 1];
|
|
5415
|
+
let m;
|
|
5416
|
+
if (g && (m = g.tag, p = g.innerText !== void 0 ? g.innerText : p), e.disallowedTagsMode === "completelyDiscard" && !o(m))
|
|
5417
5417
|
p = "";
|
|
5418
|
-
else if ((e.disallowedTagsMode === "discard" || e.disallowedTagsMode === "completelyDiscard") && (
|
|
5418
|
+
else if ((e.disallowedTagsMode === "discard" || e.disallowedTagsMode === "completelyDiscard") && (m === "script" || m === "style"))
|
|
5419
5419
|
r += p;
|
|
5420
|
-
else if ((e.disallowedTagsMode === "discard" || e.disallowedTagsMode === "completelyDiscard") && (
|
|
5420
|
+
else if ((e.disallowedTagsMode === "discard" || e.disallowedTagsMode === "completelyDiscard") && (m === "textarea" || m === "xmp"))
|
|
5421
5421
|
r += p;
|
|
5422
5422
|
else if (!D) {
|
|
5423
5423
|
const k = f(p, !1);
|
|
5424
|
-
e.textFilter ? r += e.textFilter(k,
|
|
5424
|
+
e.textFilter ? r += e.textFilter(k, m) : r += k;
|
|
5425
5425
|
}
|
|
5426
5426
|
if (x.length) {
|
|
5427
5427
|
const k = x[x.length - 1];
|
|
5428
5428
|
k.text += p;
|
|
5429
5429
|
}
|
|
5430
5430
|
},
|
|
5431
|
-
onclosetag: function(p,
|
|
5432
|
-
if (e.onCloseTag && e.onCloseTag(p,
|
|
5431
|
+
onclosetag: function(p, g) {
|
|
5432
|
+
if (e.onCloseTag && e.onCloseTag(p, g), B)
|
|
5433
5433
|
if (v--, !v)
|
|
5434
5434
|
B = !1;
|
|
5435
5435
|
else
|
|
5436
5436
|
return;
|
|
5437
|
-
const
|
|
5438
|
-
if (!
|
|
5437
|
+
const m = x.pop();
|
|
5438
|
+
if (!m)
|
|
5439
5439
|
return;
|
|
5440
|
-
if (
|
|
5441
|
-
x.push(
|
|
5440
|
+
if (m.tag !== p) {
|
|
5441
|
+
x.push(m);
|
|
5442
5442
|
return;
|
|
5443
5443
|
}
|
|
5444
5444
|
B = e.enforceHtmlBoundary ? p === "html" : !1, T--;
|
|
5445
5445
|
const k = O[T];
|
|
5446
5446
|
if (k) {
|
|
5447
5447
|
if (delete O[T], e.disallowedTagsMode === "discard" || e.disallowedTagsMode === "completelyDiscard") {
|
|
5448
|
-
|
|
5448
|
+
m.updateParentNodeText();
|
|
5449
5449
|
return;
|
|
5450
5450
|
}
|
|
5451
5451
|
i = r, r = "";
|
|
5452
5452
|
}
|
|
5453
5453
|
if (E[T] && (p = E[T], delete E[T]), e.exclusiveFilter) {
|
|
5454
|
-
const R = e.exclusiveFilter(
|
|
5454
|
+
const R = e.exclusiveFilter(m);
|
|
5455
5455
|
if (R === "excludeTag") {
|
|
5456
|
-
k && (r = i, i = ""), r = r.substring(0,
|
|
5456
|
+
k && (r = i, i = ""), r = r.substring(0, m.tagPosition) + r.substring(m.tagPosition + m.openingTagLength);
|
|
5457
5457
|
return;
|
|
5458
5458
|
} else if (R) {
|
|
5459
|
-
r = r.substring(0,
|
|
5459
|
+
r = r.substring(0, m.tagPosition);
|
|
5460
5460
|
return;
|
|
5461
5461
|
}
|
|
5462
5462
|
}
|
|
5463
|
-
if (
|
|
5463
|
+
if (m.updateParentNodeMediaChildren(), m.updateParentNodeText(), // Already output />
|
|
5464
5464
|
e.selfClosing.indexOf(p) !== -1 || // Escaped tag, closing tag is implied
|
|
5465
|
-
|
|
5465
|
+
g && !o(p) && ["escape", "recursiveEscape"].indexOf(e.disallowedTagsMode) >= 0) {
|
|
5466
5466
|
k && (r = i, i = "");
|
|
5467
5467
|
return;
|
|
5468
5468
|
}
|
|
@@ -5472,63 +5472,63 @@ and ensure you are accounting for this risk.
|
|
|
5472
5472
|
if (M.write(t), M.end(), e.disallowedTagsMode === "escape" || e.disallowedTagsMode === "recursiveEscape") {
|
|
5473
5473
|
const p = M.endIndex;
|
|
5474
5474
|
if (p != null && p >= 0 && p < t.length) {
|
|
5475
|
-
const
|
|
5476
|
-
r += f(
|
|
5475
|
+
const g = t.substring(p);
|
|
5476
|
+
r += f(g);
|
|
5477
5477
|
} else (p == null || p < 0) && t.length > 0 && r === "" && (r = f(t));
|
|
5478
5478
|
}
|
|
5479
5479
|
return r;
|
|
5480
5480
|
function Z() {
|
|
5481
5481
|
r = "", T = 0, x = [], O = {}, E = {}, B = !1, v = 0;
|
|
5482
5482
|
}
|
|
5483
|
-
function f(p,
|
|
5484
|
-
return typeof p != "string" && (p = p + ""), e.parser.decodeEntities && (p = p.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">"),
|
|
5483
|
+
function f(p, g) {
|
|
5484
|
+
return typeof p != "string" && (p = p + ""), e.parser.decodeEntities && (p = p.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">"), g && (p = p.replace(/"/g, """))), p = p.replace(/&(?![a-zA-Z0-9#]{1,20};)/g, "&").replace(/</g, "<").replace(/>/g, ">"), g && (p = p.replace(/"/g, """)), p;
|
|
5485
5485
|
}
|
|
5486
|
-
function y(p,
|
|
5487
|
-
const
|
|
5488
|
-
return UA(
|
|
5489
|
-
allowedSchemes:
|
|
5486
|
+
function y(p, g) {
|
|
5487
|
+
const m = ut(e.allowedSchemesByTag, p) ? e.allowedSchemesByTag[p] : e.allowedSchemes || [];
|
|
5488
|
+
return UA(g, {
|
|
5489
|
+
allowedSchemes: m,
|
|
5490
5490
|
allowProtocolRelative: e.allowProtocolRelative
|
|
5491
5491
|
});
|
|
5492
5492
|
}
|
|
5493
5493
|
function _(p) {
|
|
5494
5494
|
if (p = p.replace(/^(\w+:)?\s*[\\/]\s*[\\/]/, "$1//"), p.startsWith("relative:"))
|
|
5495
5495
|
throw new Error("relative: exploit attempt");
|
|
5496
|
-
let
|
|
5496
|
+
let g = "relative://relative-site";
|
|
5497
5497
|
for (let R = 0; R < 100; R++)
|
|
5498
|
-
|
|
5499
|
-
const
|
|
5498
|
+
g += `/${R}`;
|
|
5499
|
+
const m = new URL(p, g);
|
|
5500
5500
|
return {
|
|
5501
|
-
isRelativeUrl:
|
|
5502
|
-
url:
|
|
5501
|
+
isRelativeUrl: m && m.hostname === "relative-site" && m.protocol === "relative:",
|
|
5502
|
+
url: m
|
|
5503
5503
|
};
|
|
5504
5504
|
}
|
|
5505
|
-
function b(p,
|
|
5506
|
-
if (!
|
|
5505
|
+
function b(p, g) {
|
|
5506
|
+
if (!g)
|
|
5507
5507
|
return p;
|
|
5508
|
-
const
|
|
5508
|
+
const m = p.nodes[0];
|
|
5509
5509
|
let k;
|
|
5510
|
-
return m
|
|
5511
|
-
m
|
|
5512
|
-
|
|
5513
|
-
) : k = m
|
|
5510
|
+
return g[m.selector] && g["*"] ? k = Qo(
|
|
5511
|
+
g[m.selector],
|
|
5512
|
+
g["*"]
|
|
5513
|
+
) : k = g[m.selector] || g["*"], k && (p.nodes[0].nodes = m.nodes.reduce(de(k), [])), p;
|
|
5514
5514
|
}
|
|
5515
5515
|
function le(p) {
|
|
5516
|
-
return p.nodes[0].nodes.reduce(function(
|
|
5517
|
-
return
|
|
5518
|
-
`${
|
|
5519
|
-
),
|
|
5516
|
+
return p.nodes[0].nodes.reduce(function(g, m) {
|
|
5517
|
+
return g.push(
|
|
5518
|
+
`${m.prop}:${m.value}${m.important ? " !important" : ""}`
|
|
5519
|
+
), g;
|
|
5520
5520
|
}, []).join(";");
|
|
5521
5521
|
}
|
|
5522
5522
|
function de(p) {
|
|
5523
|
-
return function(
|
|
5524
|
-
return ut(p,
|
|
5525
|
-
return R.test(
|
|
5526
|
-
}) &&
|
|
5523
|
+
return function(g, m) {
|
|
5524
|
+
return ut(p, m.prop) && p[m.prop].some(function(R) {
|
|
5525
|
+
return R.test(m.value);
|
|
5526
|
+
}) && g.push(m), g;
|
|
5527
5527
|
};
|
|
5528
5528
|
}
|
|
5529
|
-
function N(p,
|
|
5530
|
-
return
|
|
5531
|
-
return
|
|
5529
|
+
function N(p, g, m) {
|
|
5530
|
+
return g ? (p = p.split(/\s+/), p.filter(function(k) {
|
|
5531
|
+
return g.indexOf(k) !== -1 || m.some(function(R) {
|
|
5532
5532
|
return R.test(k);
|
|
5533
5533
|
});
|
|
5534
5534
|
}).join(" ")) : p;
|
|
@@ -5868,7 +5868,7 @@ var st;
|
|
|
5868
5868
|
(function(t) {
|
|
5869
5869
|
t[t.NoValue = 0] = "NoValue", t[t.Unquoted = 1] = "Unquoted", t[t.Single = 2] = "Single", t[t.Double = 3] = "Double";
|
|
5870
5870
|
})(st || (st = {}));
|
|
5871
|
-
const
|
|
5871
|
+
const me = {
|
|
5872
5872
|
Cdata: new Uint8Array([67, 68, 65, 84, 65, 91]),
|
|
5873
5873
|
// CDATA[
|
|
5874
5874
|
CdataEnd: new Uint8Array([93, 93, 62]),
|
|
@@ -5949,10 +5949,10 @@ class $A {
|
|
|
5949
5949
|
}
|
|
5950
5950
|
this.sequenceIndex = 0;
|
|
5951
5951
|
}
|
|
5952
|
-
(e | 32) === this.currentSequence[this.sequenceIndex] ? this.sequenceIndex += 1 : this.sequenceIndex === 0 ? this.currentSequence ===
|
|
5952
|
+
(e | 32) === this.currentSequence[this.sequenceIndex] ? this.sequenceIndex += 1 : this.sequenceIndex === 0 ? this.currentSequence === me.TitleEnd ? this.decodeEntities && e === G.Amp && this.startEntity() : this.fastForwardTo(G.Lt) && (this.sequenceIndex = 1) : this.sequenceIndex = +(e === G.Lt);
|
|
5953
5953
|
}
|
|
5954
5954
|
stateCDATASequence(e) {
|
|
5955
|
-
e ===
|
|
5955
|
+
e === me.Cdata[this.sequenceIndex] ? ++this.sequenceIndex === me.Cdata.length && (this.state = I.InCommentLike, this.currentSequence = me.CdataEnd, this.sequenceIndex = 0, this.sectionStart = this.index + 1) : (this.sequenceIndex = 0, this.state = I.InDeclaration, this.stateInDeclaration(e));
|
|
5956
5956
|
}
|
|
5957
5957
|
/**
|
|
5958
5958
|
* When we wait for one specific character, we can speed things up
|
|
@@ -5975,7 +5975,7 @@ class $A {
|
|
|
5975
5975
|
* - All characters but the start character of the sequence can be skipped.
|
|
5976
5976
|
*/
|
|
5977
5977
|
stateInCommentLike(e) {
|
|
5978
|
-
e === this.currentSequence[this.sequenceIndex] ? ++this.sequenceIndex === this.currentSequence.length && (this.currentSequence ===
|
|
5978
|
+
e === this.currentSequence[this.sequenceIndex] ? ++this.sequenceIndex === this.currentSequence.length && (this.currentSequence === me.CdataEnd ? this.cbs.oncdata(this.sectionStart, this.index, 2) : this.cbs.oncomment(this.sectionStart, this.index, 2), this.sequenceIndex = 0, this.sectionStart = this.index + 1, this.state = I.Text) : this.sequenceIndex === 0 ? this.fastForwardTo(this.currentSequence[0]) && (this.sequenceIndex = 1) : e !== this.currentSequence[this.sequenceIndex - 1] && (this.sequenceIndex = 0);
|
|
5979
5979
|
}
|
|
5980
5980
|
/**
|
|
5981
5981
|
* HTML only allows ASCII alpha characters (a-z and A-Z) at the beginning of a tag name.
|
|
@@ -5996,7 +5996,7 @@ class $A {
|
|
|
5996
5996
|
this.state = I.InProcessingInstruction, this.sectionStart = this.index + 1;
|
|
5997
5997
|
else if (this.isTagStartChar(e)) {
|
|
5998
5998
|
const n = e | 32;
|
|
5999
|
-
this.sectionStart = this.index, this.xmlMode ? this.state = I.InTagName : n ===
|
|
5999
|
+
this.sectionStart = this.index, this.xmlMode ? this.state = I.InTagName : n === me.ScriptEnd[2] ? this.state = I.BeforeSpecialS : n === me.TitleEnd[2] || n === me.XmpEnd[2] ? this.state = I.BeforeSpecialT : this.state = I.InTagName;
|
|
6000
6000
|
} else e === G.Slash ? this.state = I.BeforeClosingTagName : (this.state = I.Text, this.stateText(e));
|
|
6001
6001
|
}
|
|
6002
6002
|
stateInTagName(e) {
|
|
@@ -6048,27 +6048,27 @@ class $A {
|
|
|
6048
6048
|
(e === G.Gt || this.fastForwardTo(G.Gt)) && (this.cbs.onprocessinginstruction(this.sectionStart, this.index), this.state = I.Text, this.sectionStart = this.index + 1);
|
|
6049
6049
|
}
|
|
6050
6050
|
stateBeforeComment(e) {
|
|
6051
|
-
e === G.Dash ? (this.state = I.InCommentLike, this.currentSequence =
|
|
6051
|
+
e === G.Dash ? (this.state = I.InCommentLike, this.currentSequence = me.CommentEnd, this.sequenceIndex = 2, this.sectionStart = this.index + 1) : this.state = I.InDeclaration;
|
|
6052
6052
|
}
|
|
6053
6053
|
stateInSpecialComment(e) {
|
|
6054
6054
|
(e === G.Gt || this.fastForwardTo(G.Gt)) && (this.cbs.oncomment(this.sectionStart, this.index, 0), this.state = I.Text, this.sectionStart = this.index + 1);
|
|
6055
6055
|
}
|
|
6056
6056
|
stateBeforeSpecialS(e) {
|
|
6057
6057
|
const n = e | 32;
|
|
6058
|
-
n ===
|
|
6058
|
+
n === me.ScriptEnd[3] ? this.startSpecial(me.ScriptEnd, 4) : n === me.StyleEnd[3] ? this.startSpecial(me.StyleEnd, 4) : (this.state = I.InTagName, this.stateInTagName(e));
|
|
6059
6059
|
}
|
|
6060
6060
|
stateBeforeSpecialT(e) {
|
|
6061
6061
|
switch (e | 32) {
|
|
6062
|
-
case
|
|
6063
|
-
this.startSpecial(
|
|
6062
|
+
case me.TitleEnd[3]: {
|
|
6063
|
+
this.startSpecial(me.TitleEnd, 4);
|
|
6064
6064
|
break;
|
|
6065
6065
|
}
|
|
6066
|
-
case
|
|
6067
|
-
this.startSpecial(
|
|
6066
|
+
case me.TextareaEnd[3]: {
|
|
6067
|
+
this.startSpecial(me.TextareaEnd, 4);
|
|
6068
6068
|
break;
|
|
6069
6069
|
}
|
|
6070
|
-
case
|
|
6071
|
-
this.startSpecial(
|
|
6070
|
+
case me.XmpEnd[3]: {
|
|
6071
|
+
this.startSpecial(me.XmpEnd, 4);
|
|
6072
6072
|
break;
|
|
6073
6073
|
}
|
|
6074
6074
|
default:
|
|
@@ -6223,7 +6223,7 @@ class $A {
|
|
|
6223
6223
|
/** Handle any trailing data. */
|
|
6224
6224
|
handleTrailingData() {
|
|
6225
6225
|
const e = this.buffer.length + this.offset;
|
|
6226
|
-
this.sectionStart >= e || (this.state === I.InCommentLike ? this.currentSequence ===
|
|
6226
|
+
this.sectionStart >= e || (this.state === I.InCommentLike ? this.currentSequence === me.CdataEnd ? this.cbs.oncdata(this.sectionStart, e, 0) : this.cbs.oncomment(this.sectionStart, e, 0) : this.state === I.InTagName || this.state === I.BeforeAttributeName || this.state === I.BeforeAttributeValue || this.state === I.AfterAttributeName || this.state === I.InAttributeName || this.state === I.InAttributeValueSq || this.state === I.InAttributeValueDq || this.state === I.InAttributeValueNq || this.state === I.InClosingTagName || this.cbs.ontext(this.sectionStart, e));
|
|
6227
6227
|
}
|
|
6228
6228
|
emitCodePoint(e, n) {
|
|
6229
6229
|
this.baseState !== I.Text && this.baseState !== I.InSpecialTag ? (this.sectionStart < this.entityStart && this.cbs.onattribdata(this.sectionStart, this.entityStart), this.sectionStart = this.entityStart + n, this.index = this.sectionStart - 1, this.cbs.onattribentity(e)) : (this.sectionStart < this.entityStart && this.cbs.ontext(this.sectionStart, this.entityStart), this.sectionStart = this.entityStart + n, this.index = this.sectionStart - 1, this.cbs.ontextentity(e, this.sectionStart));
|
|
@@ -6331,7 +6331,7 @@ class qA {
|
|
|
6331
6331
|
/** @internal */
|
|
6332
6332
|
ontextentity(e, n) {
|
|
6333
6333
|
var r, i;
|
|
6334
|
-
this.endIndex = n - 1, (i = (r = this.cbs).ontext) === null || i === void 0 || i.call(r,
|
|
6334
|
+
this.endIndex = n - 1, (i = (r = this.cbs).ontext) === null || i === void 0 || i.call(r, mn(e)), this.startIndex = n;
|
|
6335
6335
|
}
|
|
6336
6336
|
/**
|
|
6337
6337
|
* Checks if the current tag is a void element. Override this if you want
|
|
@@ -6404,7 +6404,7 @@ class qA {
|
|
|
6404
6404
|
}
|
|
6405
6405
|
/** @internal */
|
|
6406
6406
|
onattribentity(e) {
|
|
6407
|
-
this.attribvalue +=
|
|
6407
|
+
this.attribvalue += mn(e);
|
|
6408
6408
|
}
|
|
6409
6409
|
/** @internal */
|
|
6410
6410
|
onattribend(e, n) {
|
|
@@ -6544,7 +6544,7 @@ class qA {
|
|
|
6544
6544
|
this.end(e);
|
|
6545
6545
|
}
|
|
6546
6546
|
}
|
|
6547
|
-
const bt = 0, C = 1, K = 2,
|
|
6547
|
+
const bt = 0, C = 1, K = 2, ge = 3, ae = 4, tt = 5, Fr = 6, Ce = 7, Ne = 8, J = 9, W = 10, ue = 11, $ = 12, he = 13, Tn = 14, Re = 15, Ee = 16, Be = 17, Me = 18, Pe = 19, Ke = 20, q = 21, P = 22, we = 23, Ue = 24, Se = 25, XA = 0;
|
|
6548
6548
|
function xe(t) {
|
|
6549
6549
|
return t >= 48 && t <= 57;
|
|
6550
6550
|
}
|
|
@@ -6565,11 +6565,11 @@ function tf(t) {
|
|
|
6565
6565
|
function nf(t) {
|
|
6566
6566
|
return t >= 128;
|
|
6567
6567
|
}
|
|
6568
|
-
function
|
|
6568
|
+
function gr(t) {
|
|
6569
6569
|
return tf(t) || nf(t) || t === 95;
|
|
6570
6570
|
}
|
|
6571
6571
|
function hc(t) {
|
|
6572
|
-
return
|
|
6572
|
+
return gr(t) || xe(t) || t === 45;
|
|
6573
6573
|
}
|
|
6574
6574
|
function rf(t) {
|
|
6575
6575
|
return t >= 0 && t <= 8 || t === 11 || t >= 14 && t <= 31 || t === 127;
|
|
@@ -6584,7 +6584,7 @@ function Ve(t, e) {
|
|
|
6584
6584
|
return !(t !== 92 || br(e) || e === XA);
|
|
6585
6585
|
}
|
|
6586
6586
|
function nr(t, e, n) {
|
|
6587
|
-
return t === 45 ?
|
|
6587
|
+
return t === 45 ? gr(e) || e === 45 || Ve(e, n) : gr(t) ? !0 : t === 92 ? Ve(t, e) : !1;
|
|
6588
6588
|
}
|
|
6589
6589
|
function ei(t, e, n) {
|
|
6590
6590
|
return t === 43 || t === 45 ? xe(e) ? 2 : e === 46 && xe(n) ? 3 : 0 : t === 46 ? xe(e) ? 2 : 0 : xe(t) ? 1 : 0;
|
|
@@ -6594,7 +6594,7 @@ function dc(t) {
|
|
|
6594
6594
|
}
|
|
6595
6595
|
const Wi = new Array(128), sf = 128, rr = 130, pc = 131, Os = 132, Ac = 133;
|
|
6596
6596
|
for (let t = 0; t < Wi.length; t++)
|
|
6597
|
-
Wi[t] = Bt(t) && rr || xe(t) && pc ||
|
|
6597
|
+
Wi[t] = Bt(t) && rr || xe(t) && pc || gr(t) && Os || rf(t) && Ac || t || sf;
|
|
6598
6598
|
function ti(t) {
|
|
6599
6599
|
return t < 128 ? Wi[t] : Os;
|
|
6600
6600
|
}
|
|
@@ -7049,7 +7049,7 @@ function Gr(t, e) {
|
|
|
7049
7049
|
n(c + 1) === 33 && n(c + 2) === 45 && n(c + 3) === 45 ? (u = Tn, c = c + 4) : (u = J, c++);
|
|
7050
7050
|
break;
|
|
7051
7051
|
case 64:
|
|
7052
|
-
nr(n(c + 1), n(c + 2), n(c + 3)) ? (u =
|
|
7052
|
+
nr(n(c + 1), n(c + 2), n(c + 3)) ? (u = ge, c = Yn(t, c + 1)) : (u = J, c++);
|
|
7053
7053
|
break;
|
|
7054
7054
|
case 91:
|
|
7055
7055
|
u = Pe, c++;
|
|
@@ -7392,7 +7392,7 @@ const Mt = () => {
|
|
|
7392
7392
|
return t && t.last;
|
|
7393
7393
|
}
|
|
7394
7394
|
};
|
|
7395
|
-
function
|
|
7395
|
+
function mf(t) {
|
|
7396
7396
|
return function() {
|
|
7397
7397
|
return this[t]();
|
|
7398
7398
|
};
|
|
@@ -7405,7 +7405,7 @@ function oi(t) {
|
|
|
7405
7405
|
}
|
|
7406
7406
|
return e;
|
|
7407
7407
|
}
|
|
7408
|
-
function
|
|
7408
|
+
function gf(t) {
|
|
7409
7409
|
const e = {
|
|
7410
7410
|
context: /* @__PURE__ */ Object.create(null),
|
|
7411
7411
|
features: Object.assign(/* @__PURE__ */ Object.create(null), t.features),
|
|
@@ -7420,7 +7420,7 @@ function mf(t) {
|
|
|
7420
7420
|
e.context[n] = r;
|
|
7421
7421
|
break;
|
|
7422
7422
|
case "string":
|
|
7423
|
-
e.context[n] =
|
|
7423
|
+
e.context[n] = mf(r);
|
|
7424
7424
|
break;
|
|
7425
7425
|
}
|
|
7426
7426
|
return {
|
|
@@ -7431,7 +7431,7 @@ function mf(t) {
|
|
|
7431
7431
|
}
|
|
7432
7432
|
function bf(t) {
|
|
7433
7433
|
let e = "", n = "<unknown>", r = !1, i = Mt, s = !1;
|
|
7434
|
-
const o = new cf(), l = Object.assign(new uf(),
|
|
7434
|
+
const o = new cf(), l = Object.assign(new uf(), gf(t || {}), {
|
|
7435
7435
|
parseAtrulePrelude: !0,
|
|
7436
7436
|
parseRulePrelude: !0,
|
|
7437
7437
|
parseValue: !0,
|
|
@@ -7608,7 +7608,7 @@ Fs.decode = function(t) {
|
|
|
7608
7608
|
var e = 65, n = 90, r = 97, i = 122, s = 48, o = 57, l = 43, a = 47, c = 26, u = 52;
|
|
7609
7609
|
return e <= t && t <= n ? t - e : r <= t && t <= i ? t - r + c : s <= t && t <= o ? t - s + u : t == l ? 62 : t == a ? 63 : -1;
|
|
7610
7610
|
};
|
|
7611
|
-
var fc = Fs, Ms = 5,
|
|
7611
|
+
var fc = Fs, Ms = 5, mc = 1 << Ms, gc = mc - 1, bc = mc;
|
|
7612
7612
|
function yf(t) {
|
|
7613
7613
|
return t < 0 ? (-t << 1) + 1 : (t << 1) + 0;
|
|
7614
7614
|
}
|
|
@@ -7619,7 +7619,7 @@ function wf(t) {
|
|
|
7619
7619
|
Rs.encode = function(e) {
|
|
7620
7620
|
var n = "", r, i = yf(e);
|
|
7621
7621
|
do
|
|
7622
|
-
r = i &
|
|
7622
|
+
r = i & gc, i >>>= Ms, i > 0 && (r |= bc), n += fc.encode(r);
|
|
7623
7623
|
while (i > 0);
|
|
7624
7624
|
return n;
|
|
7625
7625
|
};
|
|
@@ -7630,7 +7630,7 @@ Rs.decode = function(e, n, r) {
|
|
|
7630
7630
|
throw new Error("Expected more digits in base 64 VLQ value.");
|
|
7631
7631
|
if (a = fc.decode(e.charCodeAt(n++)), a === -1)
|
|
7632
7632
|
throw new Error("Invalid base64 digit: " + e.charAt(n - 1));
|
|
7633
|
-
l = !!(a & bc), a &=
|
|
7633
|
+
l = !!(a & bc), a &= gc, s = s + (a << o), o += Ms;
|
|
7634
7634
|
} while (l);
|
|
7635
7635
|
r.value = wf(s), r.rest = n;
|
|
7636
7636
|
};
|
|
@@ -7691,8 +7691,8 @@ var Pr = {};
|
|
|
7691
7691
|
} else
|
|
7692
7692
|
for (de.push(_.slice(N, p)); p < _.length && _[p] === "/"; )
|
|
7693
7693
|
p++;
|
|
7694
|
-
for (var
|
|
7695
|
-
|
|
7694
|
+
for (var g, m = 0, p = de.length - 1; p >= 0; p--)
|
|
7695
|
+
g = de[p], g === "." ? de.splice(p, 1) : g === ".." ? m++ : m > 0 && (g === "" ? (de.splice(p + 1, m), m = 0) : (de.splice(p, 2), m--));
|
|
7696
7696
|
return _ = de.join("/"), _ === "" && (_ = le ? "/" : "."), b ? (b.path = _, s(b)) : _;
|
|
7697
7697
|
});
|
|
7698
7698
|
t.normalize = a;
|
|
@@ -8038,15 +8038,15 @@ const _f = 43, vf = 45, ai = (t, e) => (t === J && (t = e), typeof t == "string"
|
|
|
8038
8038
|
[C, $],
|
|
8039
8039
|
[C, Re],
|
|
8040
8040
|
[C, q],
|
|
8041
|
-
[
|
|
8042
|
-
[
|
|
8043
|
-
[
|
|
8044
|
-
[
|
|
8045
|
-
[
|
|
8046
|
-
[
|
|
8047
|
-
[
|
|
8048
|
-
[
|
|
8049
|
-
[
|
|
8041
|
+
[ge, C],
|
|
8042
|
+
[ge, K],
|
|
8043
|
+
[ge, Ce],
|
|
8044
|
+
[ge, Ne],
|
|
8045
|
+
[ge, "-"],
|
|
8046
|
+
[ge, W],
|
|
8047
|
+
[ge, ue],
|
|
8048
|
+
[ge, $],
|
|
8049
|
+
[ge, Re],
|
|
8050
8050
|
[ae, C],
|
|
8051
8051
|
[ae, K],
|
|
8052
8052
|
[ae, Ce],
|
|
@@ -8113,9 +8113,9 @@ const _f = 43, vf = 45, ai = (t, e) => (t === J && (t = e), typeof t == "string"
|
|
|
8113
8113
|
[C, ae],
|
|
8114
8114
|
[$, ae],
|
|
8115
8115
|
[ae, ae],
|
|
8116
|
-
[
|
|
8117
|
-
[
|
|
8118
|
-
[
|
|
8116
|
+
[ge, q],
|
|
8117
|
+
[ge, tt],
|
|
8118
|
+
[ge, Ee],
|
|
8119
8119
|
[ue, ue],
|
|
8120
8120
|
[ue, $],
|
|
8121
8121
|
[ue, K],
|
|
@@ -8536,7 +8536,7 @@ function dn(t, e, n) {
|
|
|
8536
8536
|
t = n(++e);
|
|
8537
8537
|
return e;
|
|
8538
8538
|
}
|
|
8539
|
-
function
|
|
8539
|
+
function gt(t, e, n, r) {
|
|
8540
8540
|
if (!t)
|
|
8541
8541
|
return 0;
|
|
8542
8542
|
const i = t.value.charCodeAt(e);
|
|
@@ -8565,14 +8565,14 @@ function ui(t, e, n) {
|
|
|
8565
8565
|
if (s !== Sn && s !== it)
|
|
8566
8566
|
return 0;
|
|
8567
8567
|
}
|
|
8568
|
-
return
|
|
8568
|
+
return gt(t, r ? 0 : 1, r, i);
|
|
8569
8569
|
}
|
|
8570
8570
|
function zf(t, e) {
|
|
8571
8571
|
let n = 0;
|
|
8572
8572
|
if (!t)
|
|
8573
8573
|
return 0;
|
|
8574
8574
|
if (t.type === W)
|
|
8575
|
-
return
|
|
8575
|
+
return gt(t, 0, Kf, n);
|
|
8576
8576
|
if (t.type === C && t.value.charCodeAt(0) === it) {
|
|
8577
8577
|
if (!Kt(t.value, 1, ci))
|
|
8578
8578
|
return 0;
|
|
@@ -8580,9 +8580,9 @@ function zf(t, e) {
|
|
|
8580
8580
|
case 2:
|
|
8581
8581
|
return ui(e(++n), n, e);
|
|
8582
8582
|
case 3:
|
|
8583
|
-
return t.value.charCodeAt(2) !== it ? 0 : (n = dn(e(++n), n, e), t = e(n),
|
|
8583
|
+
return t.value.charCodeAt(2) !== it ? 0 : (n = dn(e(++n), n, e), t = e(n), gt(t, 0, Gt, n));
|
|
8584
8584
|
default:
|
|
8585
|
-
return t.value.charCodeAt(2) !== it ? 0 :
|
|
8585
|
+
return t.value.charCodeAt(2) !== it ? 0 : gt(t, 3, Gt, n);
|
|
8586
8586
|
}
|
|
8587
8587
|
} else if (t.type === C || Yi(t, Sn) && e(n + 1).type === C) {
|
|
8588
8588
|
if (t.type !== C && (t = e(++n)), t === null || !Kt(t.value, 0, ci))
|
|
@@ -8591,15 +8591,15 @@ function zf(t, e) {
|
|
|
8591
8591
|
case 1:
|
|
8592
8592
|
return ui(e(++n), n, e);
|
|
8593
8593
|
case 2:
|
|
8594
|
-
return t.value.charCodeAt(1) !== it ? 0 : (n = dn(e(++n), n, e), t = e(n),
|
|
8594
|
+
return t.value.charCodeAt(1) !== it ? 0 : (n = dn(e(++n), n, e), t = e(n), gt(t, 0, Gt, n));
|
|
8595
8595
|
default:
|
|
8596
|
-
return t.value.charCodeAt(1) !== it ? 0 :
|
|
8596
|
+
return t.value.charCodeAt(1) !== it ? 0 : gt(t, 2, Gt, n);
|
|
8597
8597
|
}
|
|
8598
8598
|
} else if (t.type === $) {
|
|
8599
8599
|
let r = t.value.charCodeAt(0), i = r === Sn || r === it ? 1 : 0, s = i;
|
|
8600
8600
|
for (; s < t.value.length && xe(t.value.charCodeAt(s)); s++)
|
|
8601
8601
|
;
|
|
8602
|
-
return s === i || !Kt(t.value, s, ci) ? 0 : s + 1 === t.value.length ? ui(e(++n), n, e) : t.value.charCodeAt(s + 1) !== it ? 0 : s + 2 === t.value.length ? (n = dn(e(++n), n, e), t = e(n),
|
|
8602
|
+
return s === i || !Kt(t.value, s, ci) ? 0 : s + 1 === t.value.length ? ui(e(++n), n, e) : t.value.charCodeAt(s + 1) !== it ? 0 : s + 2 === t.value.length ? (n = dn(e(++n), n, e), t = e(n), gt(t, 0, Gt, n)) : gt(t, s + 2, Gt, n);
|
|
8603
8603
|
}
|
|
8604
8604
|
return 0;
|
|
8605
8605
|
}
|
|
@@ -8727,7 +8727,7 @@ function Hr(t, e, n) {
|
|
|
8727
8727
|
}
|
|
8728
8728
|
return !1;
|
|
8729
8729
|
}
|
|
8730
|
-
function
|
|
8730
|
+
function em(t, e) {
|
|
8731
8731
|
let n = 0, r = [], i = 0;
|
|
8732
8732
|
e:
|
|
8733
8733
|
do {
|
|
@@ -8755,7 +8755,7 @@ function eg(t, e) {
|
|
|
8755
8755
|
}
|
|
8756
8756
|
function Qe(t, e) {
|
|
8757
8757
|
return function(n, r, i) {
|
|
8758
|
-
return n === null ? 0 : n.type === K && Bc(n.value, e) ?
|
|
8758
|
+
return n === null ? 0 : n.type === K && Bc(n.value, e) ? em(n, r) : t(n, r, i);
|
|
8759
8759
|
};
|
|
8760
8760
|
}
|
|
8761
8761
|
function oe(t) {
|
|
@@ -8763,7 +8763,7 @@ function oe(t) {
|
|
|
8763
8763
|
return e === null || e.type !== t ? 0 : 1;
|
|
8764
8764
|
};
|
|
8765
8765
|
}
|
|
8766
|
-
function
|
|
8766
|
+
function tm(t) {
|
|
8767
8767
|
if (t === null || t.type !== C)
|
|
8768
8768
|
return 0;
|
|
8769
8769
|
const e = t.value.toLowerCase();
|
|
@@ -8772,10 +8772,10 @@ function tg(t) {
|
|
|
8772
8772
|
function Dc(t) {
|
|
8773
8773
|
return t === null || t.type !== C || Xe(t.value, 0) !== 45 || Xe(t.value, 1) !== 45 ? 0 : 1;
|
|
8774
8774
|
}
|
|
8775
|
-
function
|
|
8775
|
+
function nm(t) {
|
|
8776
8776
|
return !Dc(t) || t.value === "--" ? 0 : 1;
|
|
8777
8777
|
}
|
|
8778
|
-
function
|
|
8778
|
+
function rm(t) {
|
|
8779
8779
|
if (t === null || t.type !== ae)
|
|
8780
8780
|
return 0;
|
|
8781
8781
|
const e = t.value.length;
|
|
@@ -8786,10 +8786,10 @@ function rg(t) {
|
|
|
8786
8786
|
return 0;
|
|
8787
8787
|
return 1;
|
|
8788
8788
|
}
|
|
8789
|
-
function
|
|
8789
|
+
function im(t) {
|
|
8790
8790
|
return t === null || t.type !== ae || !nr(Xe(t.value, 1), Xe(t.value, 2), Xe(t.value, 3)) ? 0 : 1;
|
|
8791
8791
|
}
|
|
8792
|
-
function
|
|
8792
|
+
function sm(t, e) {
|
|
8793
8793
|
if (!t)
|
|
8794
8794
|
return 0;
|
|
8795
8795
|
let n = 0, r = [], i = 0;
|
|
@@ -8825,7 +8825,7 @@ function sg(t, e) {
|
|
|
8825
8825
|
} while (t = e(i));
|
|
8826
8826
|
return i;
|
|
8827
8827
|
}
|
|
8828
|
-
function
|
|
8828
|
+
function om(t, e) {
|
|
8829
8829
|
if (!t)
|
|
8830
8830
|
return 0;
|
|
8831
8831
|
let n = 0, r = [], i = 0;
|
|
@@ -8866,7 +8866,7 @@ function lt(t) {
|
|
|
8866
8866
|
return Hr(r, e.value, i) ? 0 : 1;
|
|
8867
8867
|
};
|
|
8868
8868
|
}
|
|
8869
|
-
function
|
|
8869
|
+
function am(t, e, n) {
|
|
8870
8870
|
return t === null || t.type !== ue || Hr(n, t.value, t.value.length - 1) ? 0 : 1;
|
|
8871
8871
|
}
|
|
8872
8872
|
function Oc(t) {
|
|
@@ -8876,13 +8876,13 @@ function Oc(t) {
|
|
|
8876
8876
|
return e !== null && e.type === W && Number(e.value) === 0 ? 1 : t(e, n, r);
|
|
8877
8877
|
};
|
|
8878
8878
|
}
|
|
8879
|
-
function
|
|
8879
|
+
function lm(t, e, n) {
|
|
8880
8880
|
if (t === null)
|
|
8881
8881
|
return 0;
|
|
8882
8882
|
const r = Mr(t.value, 0);
|
|
8883
8883
|
return !(r === t.value.length) && !Tc(t.value, r) || Hr(n, t.value, r) ? 0 : 1;
|
|
8884
8884
|
}
|
|
8885
|
-
function
|
|
8885
|
+
function cm(t, e, n) {
|
|
8886
8886
|
if (t === null || t.type !== W)
|
|
8887
8887
|
return 0;
|
|
8888
8888
|
let r = Xe(t.value, 0) === 43 || // U+002B PLUS SIGN (+)
|
|
@@ -8892,10 +8892,10 @@ function cg(t, e, n) {
|
|
|
8892
8892
|
return 0;
|
|
8893
8893
|
return Hr(n, t.value, r) ? 0 : 1;
|
|
8894
8894
|
}
|
|
8895
|
-
const
|
|
8895
|
+
const um = {
|
|
8896
8896
|
"ident-token": oe(C),
|
|
8897
8897
|
"function-token": oe(K),
|
|
8898
|
-
"at-keyword-token": oe(
|
|
8898
|
+
"at-keyword-token": oe(ge),
|
|
8899
8899
|
"hash-token": oe(ae),
|
|
8900
8900
|
"string-token": oe(tt),
|
|
8901
8901
|
"bad-string-token": oe(Fr),
|
|
@@ -8917,28 +8917,28 @@ const ug = {
|
|
|
8917
8917
|
")-token": oe(P),
|
|
8918
8918
|
"{-token": oe(we),
|
|
8919
8919
|
"}-token": oe(Ue)
|
|
8920
|
-
},
|
|
8920
|
+
}, hm = {
|
|
8921
8921
|
// token type aliases
|
|
8922
8922
|
string: oe(tt),
|
|
8923
8923
|
ident: oe(C),
|
|
8924
8924
|
// percentage
|
|
8925
|
-
percentage: Qe(
|
|
8925
|
+
percentage: Qe(am, Xf),
|
|
8926
8926
|
// numeric
|
|
8927
8927
|
zero: Oc(),
|
|
8928
|
-
number: Qe(
|
|
8929
|
-
integer: Qe(
|
|
8928
|
+
number: Qe(lm, pa),
|
|
8929
|
+
integer: Qe(cm, pa),
|
|
8930
8930
|
// complex types
|
|
8931
|
-
"custom-ident":
|
|
8931
|
+
"custom-ident": tm,
|
|
8932
8932
|
"dashed-ident": Dc,
|
|
8933
|
-
"custom-property-name":
|
|
8934
|
-
"hex-color":
|
|
8935
|
-
"id-selector":
|
|
8933
|
+
"custom-property-name": nm,
|
|
8934
|
+
"hex-color": rm,
|
|
8935
|
+
"id-selector": im,
|
|
8936
8936
|
// element( <id-selector> )
|
|
8937
8937
|
"an-plus-b": zf,
|
|
8938
8938
|
urange: Jf,
|
|
8939
|
-
"declaration-value":
|
|
8940
|
-
"any-value":
|
|
8941
|
-
},
|
|
8939
|
+
"declaration-value": sm,
|
|
8940
|
+
"any-value": om
|
|
8941
|
+
}, dm = [
|
|
8942
8942
|
"length",
|
|
8943
8943
|
"angle",
|
|
8944
8944
|
"time",
|
|
@@ -8948,7 +8948,7 @@ const ug = {
|
|
|
8948
8948
|
"decibel",
|
|
8949
8949
|
"semitones"
|
|
8950
8950
|
];
|
|
8951
|
-
function
|
|
8951
|
+
function pm(t) {
|
|
8952
8952
|
const {
|
|
8953
8953
|
angle: e,
|
|
8954
8954
|
decibel: n,
|
|
@@ -8971,9 +8971,9 @@ function pg(t) {
|
|
|
8971
8971
|
time: Qe(lt(a), at)
|
|
8972
8972
|
};
|
|
8973
8973
|
}
|
|
8974
|
-
function
|
|
8974
|
+
function Am(t) {
|
|
8975
8975
|
const e = /* @__PURE__ */ new Set();
|
|
8976
|
-
for (const n of
|
|
8976
|
+
for (const n of dm)
|
|
8977
8977
|
if (Array.isArray(t[n]))
|
|
8978
8978
|
for (const r of t[n])
|
|
8979
8979
|
e.add(r.toLowerCase());
|
|
@@ -8981,15 +8981,15 @@ function Ag(t) {
|
|
|
8981
8981
|
return r === null ? 0 : r.type === J && r.value === "%" || r.type === C && e.has(r.value.toLowerCase()) ? 1 : 0;
|
|
8982
8982
|
};
|
|
8983
8983
|
}
|
|
8984
|
-
function
|
|
8984
|
+
function fm(t) {
|
|
8985
8985
|
return {
|
|
8986
|
-
...
|
|
8987
|
-
...
|
|
8988
|
-
...
|
|
8989
|
-
"attr-unit":
|
|
8986
|
+
...um,
|
|
8987
|
+
...hm,
|
|
8988
|
+
...pm(t),
|
|
8989
|
+
"attr-unit": Am(t)
|
|
8990
8990
|
};
|
|
8991
8991
|
}
|
|
8992
|
-
const
|
|
8992
|
+
const mm = [
|
|
8993
8993
|
// absolute length units https://www.w3.org/TR/css-values-3/#lengths
|
|
8994
8994
|
"cm",
|
|
8995
8995
|
"mm",
|
|
@@ -9043,18 +9043,18 @@ const gg = [
|
|
|
9043
9043
|
"cqb",
|
|
9044
9044
|
"cqmin",
|
|
9045
9045
|
"cqmax"
|
|
9046
|
-
],
|
|
9046
|
+
], gm = ["deg", "grad", "rad", "turn"], bm = ["s", "ms"], ym = ["hz", "khz"], wm = ["dpi", "dpcm", "dppx", "x"], km = ["fr"], xm = ["db"], Sm = ["st"], Aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9047
9047
|
__proto__: null,
|
|
9048
|
-
angle:
|
|
9049
|
-
decibel:
|
|
9050
|
-
flex:
|
|
9051
|
-
frequency:
|
|
9052
|
-
length:
|
|
9053
|
-
resolution:
|
|
9054
|
-
semitones:
|
|
9055
|
-
time:
|
|
9048
|
+
angle: gm,
|
|
9049
|
+
decibel: xm,
|
|
9050
|
+
flex: km,
|
|
9051
|
+
frequency: ym,
|
|
9052
|
+
length: mm,
|
|
9053
|
+
resolution: wm,
|
|
9054
|
+
semitones: Sm,
|
|
9055
|
+
time: bm
|
|
9056
9056
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
9057
|
-
function
|
|
9057
|
+
function Im(t, e, n) {
|
|
9058
9058
|
return Object.assign(Ur("SyntaxError", t), {
|
|
9059
9059
|
input: e,
|
|
9060
9060
|
offset: n,
|
|
@@ -9064,10 +9064,10 @@ function Ig(t, e, n) {
|
|
|
9064
9064
|
--` + new Array((n || e.length) + 1).join("-") + "^"
|
|
9065
9065
|
});
|
|
9066
9066
|
}
|
|
9067
|
-
const
|
|
9067
|
+
const _m = 9, vm = 10, Cm = 12, Em = 13, Bm = 32, fa = new Uint8Array(128).map(
|
|
9068
9068
|
(t, e) => /[a-zA-Z0-9\-]/.test(String.fromCharCode(e)) ? 1 : 0
|
|
9069
9069
|
);
|
|
9070
|
-
class
|
|
9070
|
+
class Tm {
|
|
9071
9071
|
constructor(e) {
|
|
9072
9072
|
this.str = e, this.pos = 0;
|
|
9073
9073
|
}
|
|
@@ -9092,7 +9092,7 @@ class Tg {
|
|
|
9092
9092
|
findWsEnd(e) {
|
|
9093
9093
|
for (; e < this.str.length; e++) {
|
|
9094
9094
|
const n = this.str.charCodeAt(e);
|
|
9095
|
-
if (n !==
|
|
9095
|
+
if (n !== Em && n !== vm && n !== Cm && n !== Bm && n !== _m)
|
|
9096
9096
|
break;
|
|
9097
9097
|
}
|
|
9098
9098
|
return e;
|
|
@@ -9107,7 +9107,7 @@ class Tg {
|
|
|
9107
9107
|
return this.pos < this.str.length ? this.str.charAt(this.pos++) : "";
|
|
9108
9108
|
}
|
|
9109
9109
|
error(e) {
|
|
9110
|
-
throw new
|
|
9110
|
+
throw new Im(e, this.str, this.pos);
|
|
9111
9111
|
}
|
|
9112
9112
|
scanSpaces() {
|
|
9113
9113
|
return this.substringToPos(this.findWsEnd(this.pos));
|
|
@@ -9135,7 +9135,7 @@ class Tg {
|
|
|
9135
9135
|
return e === -1 && (this.pos = this.str.length, this.error("Expect an apostrophe")), this.substringToPos(e + 1);
|
|
9136
9136
|
}
|
|
9137
9137
|
}
|
|
9138
|
-
const
|
|
9138
|
+
const Dm = 9, Om = 10, Nm = 12, Rm = 13, Fm = 32, Nc = 33, Js = 35, ma = 38, Sr = 39, Rc = 40, Fc = 41, Mc = 42, Zs = 43, Vs = 44, ga = 45, qs = 60, $i = 62, Ir = 63, Mm = 64, In = 91, Jt = 93, _r = 123, ba = 124, Ji = 125, ya = 8734, wa = {
|
|
9139
9139
|
" ": 1,
|
|
9140
9140
|
"&&": 2,
|
|
9141
9141
|
"||": 3,
|
|
@@ -9148,7 +9148,7 @@ function ka(t) {
|
|
|
9148
9148
|
max: n ? Number(n) : 0
|
|
9149
9149
|
};
|
|
9150
9150
|
}
|
|
9151
|
-
function
|
|
9151
|
+
function Lm(t) {
|
|
9152
9152
|
let e = null, n = !1;
|
|
9153
9153
|
switch (t.charCode()) {
|
|
9154
9154
|
case Mc:
|
|
@@ -9193,7 +9193,7 @@ function Lg(t) {
|
|
|
9193
9193
|
};
|
|
9194
9194
|
}
|
|
9195
9195
|
function pt(t, e) {
|
|
9196
|
-
const n =
|
|
9196
|
+
const n = Lm(t);
|
|
9197
9197
|
return n !== null ? (n.term = e, t.charCode() === Js && t.charCodeAt(t.pos - 1) === Zs || t.charCode() === Ir && t.charCodeAt(t.pos - 1) === Ji ? pt(t, n) : n) : e;
|
|
9198
9198
|
}
|
|
9199
9199
|
function hi(t) {
|
|
@@ -9203,22 +9203,22 @@ function hi(t) {
|
|
|
9203
9203
|
value: e
|
|
9204
9204
|
});
|
|
9205
9205
|
}
|
|
9206
|
-
function
|
|
9206
|
+
function Gm(t) {
|
|
9207
9207
|
let e;
|
|
9208
9208
|
return t.eat(qs), t.eat(Sr), e = t.scanWord(), t.eat(Sr), t.eat($i), pt(t, {
|
|
9209
9209
|
type: "Property",
|
|
9210
9210
|
name: e
|
|
9211
9211
|
});
|
|
9212
9212
|
}
|
|
9213
|
-
function
|
|
9213
|
+
function Um(t) {
|
|
9214
9214
|
let e = null, n = null, r = 1;
|
|
9215
|
-
return t.eat(In), t.charCode() ===
|
|
9215
|
+
return t.eat(In), t.charCode() === ga && (t.peek(), r = -1), r == -1 && t.charCode() === ya ? t.peek() : (e = r * Number(t.scanNumber(t)), t.isNameCharCode() && (e += t.scanWord())), t.skipWs(), t.eat(Vs), t.skipWs(), t.charCode() === ya ? t.peek() : (r = 1, t.charCode() === ga && (t.peek(), r = -1), n = r * Number(t.scanNumber(t)), t.isNameCharCode() && (n += t.scanWord())), t.eat(Jt), {
|
|
9216
9216
|
type: "Range",
|
|
9217
9217
|
min: e,
|
|
9218
9218
|
max: n
|
|
9219
9219
|
};
|
|
9220
9220
|
}
|
|
9221
|
-
function
|
|
9221
|
+
function Pm(t) {
|
|
9222
9222
|
let e, n = null;
|
|
9223
9223
|
if (t.eat(qs), e = t.scanWord(), e === "boolean-expr") {
|
|
9224
9224
|
t.eat(In);
|
|
@@ -9228,13 +9228,13 @@ function Pg(t) {
|
|
|
9228
9228
|
term: r.terms.length === 1 ? r.terms[0] : r
|
|
9229
9229
|
});
|
|
9230
9230
|
}
|
|
9231
|
-
return t.charCode() === Rc && t.nextCharCode() === Fc && (t.pos += 2, e += "()"), t.charCodeAt(t.findWsEnd(t.pos)) === In && (t.skipWs(), n =
|
|
9231
|
+
return t.charCode() === Rc && t.nextCharCode() === Fc && (t.pos += 2, e += "()"), t.charCodeAt(t.findWsEnd(t.pos)) === In && (t.skipWs(), n = Um(t)), t.eat($i), pt(t, {
|
|
9232
9232
|
type: "Type",
|
|
9233
9233
|
name: e,
|
|
9234
9234
|
opts: n
|
|
9235
9235
|
});
|
|
9236
9236
|
}
|
|
9237
|
-
function
|
|
9237
|
+
function Qm(t) {
|
|
9238
9238
|
const e = t.scanWord();
|
|
9239
9239
|
return t.charCode() === Rc ? (t.pos++, {
|
|
9240
9240
|
type: "Function",
|
|
@@ -9244,7 +9244,7 @@ function Qg(t) {
|
|
|
9244
9244
|
name: e
|
|
9245
9245
|
});
|
|
9246
9246
|
}
|
|
9247
|
-
function
|
|
9247
|
+
function Hm(t, e) {
|
|
9248
9248
|
function n(i, s) {
|
|
9249
9249
|
return {
|
|
9250
9250
|
type: "Group",
|
|
@@ -9278,7 +9278,7 @@ function Wr(t, e = -1) {
|
|
|
9278
9278
|
const n = /* @__PURE__ */ Object.create(null), r = [];
|
|
9279
9279
|
let i = null, s = t.pos, o = !1;
|
|
9280
9280
|
for (; t.charCode() !== e; ) {
|
|
9281
|
-
let l = o ? Wr(t, Fc) :
|
|
9281
|
+
let l = o ? Wr(t, Fc) : Km(t);
|
|
9282
9282
|
if (!l)
|
|
9283
9283
|
break;
|
|
9284
9284
|
if (l.type !== "Spaces") {
|
|
@@ -9305,24 +9305,24 @@ function Wr(t, e = -1) {
|
|
|
9305
9305
|
return i !== null && i.type === "Combinator" && (t.pos -= s, t.error("Unexpected combinator")), {
|
|
9306
9306
|
type: "Group",
|
|
9307
9307
|
terms: r,
|
|
9308
|
-
combinator:
|
|
9308
|
+
combinator: Hm(r, n) || " ",
|
|
9309
9309
|
disallowEmpty: !1,
|
|
9310
9310
|
explicit: !1
|
|
9311
9311
|
};
|
|
9312
9312
|
}
|
|
9313
|
-
function
|
|
9313
|
+
function Wm(t) {
|
|
9314
9314
|
let e;
|
|
9315
9315
|
return t.eat(In), e = Wr(t, Jt), t.eat(Jt), e.explicit = !0, t.charCode() === Nc && (t.pos++, e.disallowEmpty = !0), e;
|
|
9316
9316
|
}
|
|
9317
|
-
function
|
|
9317
|
+
function Km(t) {
|
|
9318
9318
|
let e = t.charCode();
|
|
9319
9319
|
switch (e) {
|
|
9320
9320
|
case Jt:
|
|
9321
9321
|
break;
|
|
9322
9322
|
case In:
|
|
9323
|
-
return pt(t,
|
|
9323
|
+
return pt(t, Wm(t));
|
|
9324
9324
|
case qs:
|
|
9325
|
-
return t.nextCharCode() === Sr ?
|
|
9325
|
+
return t.nextCharCode() === Sr ? Gm(t) : Pm(t);
|
|
9326
9326
|
case ba:
|
|
9327
9327
|
return {
|
|
9328
9328
|
type: "Combinator",
|
|
@@ -9330,8 +9330,8 @@ function Kg(t) {
|
|
|
9330
9330
|
t.pos + (t.nextCharCode() === ba ? 2 : 1)
|
|
9331
9331
|
)
|
|
9332
9332
|
};
|
|
9333
|
-
case
|
|
9334
|
-
return t.pos++, t.eat(
|
|
9333
|
+
case ma:
|
|
9334
|
+
return t.pos++, t.eat(ma), {
|
|
9335
9335
|
type: "Combinator",
|
|
9336
9336
|
value: "&&"
|
|
9337
9337
|
};
|
|
@@ -9344,16 +9344,16 @@ function Kg(t) {
|
|
|
9344
9344
|
type: "String",
|
|
9345
9345
|
value: t.scanString()
|
|
9346
9346
|
});
|
|
9347
|
-
case
|
|
9348
|
-
case
|
|
9349
|
-
case
|
|
9350
|
-
case
|
|
9351
|
-
case
|
|
9347
|
+
case Fm:
|
|
9348
|
+
case Dm:
|
|
9349
|
+
case Om:
|
|
9350
|
+
case Rm:
|
|
9351
|
+
case Nm:
|
|
9352
9352
|
return {
|
|
9353
9353
|
type: "Spaces",
|
|
9354
9354
|
value: t.scanSpaces()
|
|
9355
9355
|
};
|
|
9356
|
-
case
|
|
9356
|
+
case Mm:
|
|
9357
9357
|
return e = t.nextCharCode(), t.isNameCharCode(e) ? (t.pos++, {
|
|
9358
9358
|
type: "AtKeyword",
|
|
9359
9359
|
name: t.scanWord()
|
|
@@ -9369,11 +9369,11 @@ function Kg(t) {
|
|
|
9369
9369
|
return hi(t);
|
|
9370
9370
|
break;
|
|
9371
9371
|
default:
|
|
9372
|
-
return t.isNameCharCode(e) ?
|
|
9372
|
+
return t.isNameCharCode(e) ? Qm(t) : hi(t);
|
|
9373
9373
|
}
|
|
9374
9374
|
}
|
|
9375
9375
|
function Lc(t) {
|
|
9376
|
-
const e = new
|
|
9376
|
+
const e = new Tm(t), n = Wr(e);
|
|
9377
9377
|
return e.pos !== t.length && e.error("Unexpected input"), n.terms.length === 1 && n.terms[0].type === "Group" ? n.terms[0] : n;
|
|
9378
9378
|
}
|
|
9379
9379
|
const un = function() {
|
|
@@ -9381,7 +9381,7 @@ const un = function() {
|
|
|
9381
9381
|
function xa(t) {
|
|
9382
9382
|
return typeof t == "function" ? t : un;
|
|
9383
9383
|
}
|
|
9384
|
-
function
|
|
9384
|
+
function zm(t, e, n) {
|
|
9385
9385
|
function r(o) {
|
|
9386
9386
|
switch (i.call(n, o), o.type) {
|
|
9387
9387
|
case "Group":
|
|
@@ -9410,7 +9410,7 @@ function zg(t, e, n) {
|
|
|
9410
9410
|
throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");
|
|
9411
9411
|
r(t);
|
|
9412
9412
|
}
|
|
9413
|
-
const
|
|
9413
|
+
const Ym = {
|
|
9414
9414
|
decorator(t) {
|
|
9415
9415
|
const e = [];
|
|
9416
9416
|
let n = null;
|
|
@@ -9433,7 +9433,7 @@ const Yg = {
|
|
|
9433
9433
|
};
|
|
9434
9434
|
}
|
|
9435
9435
|
};
|
|
9436
|
-
function
|
|
9436
|
+
function jm(t) {
|
|
9437
9437
|
const e = [];
|
|
9438
9438
|
return Gr(
|
|
9439
9439
|
t,
|
|
@@ -9444,10 +9444,10 @@ function jg(t) {
|
|
|
9444
9444
|
})
|
|
9445
9445
|
), e;
|
|
9446
9446
|
}
|
|
9447
|
-
function $
|
|
9448
|
-
return typeof t == "string" ?
|
|
9447
|
+
function $m(t, e) {
|
|
9448
|
+
return typeof t == "string" ? jm(t) : e.generate(t, Ym);
|
|
9449
9449
|
}
|
|
9450
|
-
const X = { type: "Match" }, re = { type: "Mismatch" }, Xs = { type: "DisallowEmpty" },
|
|
9450
|
+
const X = { type: "Match" }, re = { type: "Mismatch" }, Xs = { type: "DisallowEmpty" }, Jm = 40, Zm = 41;
|
|
9451
9451
|
function _e(t, e, n) {
|
|
9452
9452
|
return e === X && n === re || t === X && e === X && n === X ? t : (t.type === "If" && t.else === re && e === X && (e = t.then, t = t.match), {
|
|
9453
9453
|
type: "If",
|
|
@@ -9457,7 +9457,7 @@ function _e(t, e, n) {
|
|
|
9457
9457
|
});
|
|
9458
9458
|
}
|
|
9459
9459
|
function Gc(t) {
|
|
9460
|
-
return t.length > 2 && t.charCodeAt(t.length - 2) ===
|
|
9460
|
+
return t.length > 2 && t.charCodeAt(t.length - 2) === Jm && t.charCodeAt(t.length - 1) === Zm;
|
|
9461
9461
|
}
|
|
9462
9462
|
function Sa(t) {
|
|
9463
9463
|
return t.type === "Keyword" || t.type === "AtKeyword" || t.type === "Function" || t.type === "Type" && Gc(t.name);
|
|
@@ -9574,7 +9574,7 @@ function Zi(t, e, n) {
|
|
|
9574
9574
|
}
|
|
9575
9575
|
}
|
|
9576
9576
|
}
|
|
9577
|
-
function
|
|
9577
|
+
function Vm(t) {
|
|
9578
9578
|
let e = X, n = Qt(t.term);
|
|
9579
9579
|
if (t.max === 0)
|
|
9580
9580
|
n = _e(
|
|
@@ -9650,7 +9650,7 @@ function Qt(t) {
|
|
|
9650
9650
|
)), e;
|
|
9651
9651
|
}
|
|
9652
9652
|
case "Multiplier":
|
|
9653
|
-
return
|
|
9653
|
+
return Vm(t);
|
|
9654
9654
|
case "Boolean": {
|
|
9655
9655
|
const e = Qt(t.term), n = Qt(ft([
|
|
9656
9656
|
ft([
|
|
@@ -9741,8 +9741,8 @@ function Zn(t, e) {
|
|
|
9741
9741
|
source: t
|
|
9742
9742
|
};
|
|
9743
9743
|
}
|
|
9744
|
-
const { hasOwnProperty: Ia } = Object.prototype,
|
|
9745
|
-
function
|
|
9744
|
+
const { hasOwnProperty: Ia } = Object.prototype, qm = 0, Xm = 1, Vi = 2, Uc = 3, _a = "Match", eg = "Mismatch", tg = "Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)", va = 15e3;
|
|
9745
|
+
function ng(t) {
|
|
9746
9746
|
let e = null, n = null, r = t;
|
|
9747
9747
|
for (; r !== null; )
|
|
9748
9748
|
n = r.prev, r.prev = e, e = r, r = n;
|
|
@@ -9759,16 +9759,16 @@ function di(t, e) {
|
|
|
9759
9759
|
}
|
|
9760
9760
|
return !0;
|
|
9761
9761
|
}
|
|
9762
|
-
function
|
|
9762
|
+
function rg(t) {
|
|
9763
9763
|
return t.type !== J ? !1 : t.value !== "?";
|
|
9764
9764
|
}
|
|
9765
9765
|
function Ca(t) {
|
|
9766
|
-
return t === null ? !0 : t.type === Me || t.type === K || t.type === q || t.type === Pe || t.type === we ||
|
|
9766
|
+
return t === null ? !0 : t.type === Me || t.type === K || t.type === q || t.type === Pe || t.type === we || rg(t);
|
|
9767
9767
|
}
|
|
9768
9768
|
function Ea(t) {
|
|
9769
9769
|
return t === null ? !0 : t.type === P || t.type === Ke || t.type === Ue || t.type === J && t.value === "/";
|
|
9770
9770
|
}
|
|
9771
|
-
function
|
|
9771
|
+
function ig(t, e, n) {
|
|
9772
9772
|
function r() {
|
|
9773
9773
|
do
|
|
9774
9774
|
E++, O = E < t.length ? t[E] : null;
|
|
@@ -9801,7 +9801,7 @@ function im(t, e, n) {
|
|
|
9801
9801
|
}
|
|
9802
9802
|
function a() {
|
|
9803
9803
|
v = {
|
|
9804
|
-
type:
|
|
9804
|
+
type: Xm,
|
|
9805
9805
|
syntax: e.syntax,
|
|
9806
9806
|
token: O,
|
|
9807
9807
|
prev: v
|
|
@@ -9828,7 +9828,7 @@ function im(t, e, n) {
|
|
|
9828
9828
|
}, h = h.prev;
|
|
9829
9829
|
}
|
|
9830
9830
|
let h = null, d = null, A = null, w = null, T = 0, x = null, O = null, E = -1, B = 0, v = {
|
|
9831
|
-
type:
|
|
9831
|
+
type: qm,
|
|
9832
9832
|
syntax: null,
|
|
9833
9833
|
token: null,
|
|
9834
9834
|
prev: null
|
|
@@ -9858,7 +9858,7 @@ function im(t, e, n) {
|
|
|
9858
9858
|
if (w !== null && w !== !1)
|
|
9859
9859
|
(A === null || E > A.tokenIndex) && (A = w, w = !1);
|
|
9860
9860
|
else if (A === null) {
|
|
9861
|
-
x =
|
|
9861
|
+
x = eg;
|
|
9862
9862
|
break;
|
|
9863
9863
|
}
|
|
9864
9864
|
e = A.nextState, d = A.thenStack, h = A.syntaxStack, v = A.matchStack, E = A.tokenIndex, O = E < t.length ? t[E] : null, A = A.prev;
|
|
@@ -9998,7 +9998,7 @@ function im(t, e, n) {
|
|
|
9998
9998
|
}
|
|
9999
9999
|
switch (x) {
|
|
10000
10000
|
case null:
|
|
10001
|
-
console.warn("[csstree-match] BREAK after " + va + " iterations"), x =
|
|
10001
|
+
console.warn("[csstree-match] BREAK after " + va + " iterations"), x = tg, v = null;
|
|
10002
10002
|
break;
|
|
10003
10003
|
case _a:
|
|
10004
10004
|
for (; h !== null; )
|
|
@@ -10016,7 +10016,7 @@ function im(t, e, n) {
|
|
|
10016
10016
|
};
|
|
10017
10017
|
}
|
|
10018
10018
|
function Ba(t, e, n) {
|
|
10019
|
-
const r =
|
|
10019
|
+
const r = ig(t, e, n || {});
|
|
10020
10020
|
if (r.match === null)
|
|
10021
10021
|
return r;
|
|
10022
10022
|
let i = r.match, s = r.match = {
|
|
@@ -10024,7 +10024,7 @@ function Ba(t, e, n) {
|
|
|
10024
10024
|
match: []
|
|
10025
10025
|
};
|
|
10026
10026
|
const o = [s];
|
|
10027
|
-
for (i =
|
|
10027
|
+
for (i = ng(i).prev; i !== null; ) {
|
|
10028
10028
|
switch (i.type) {
|
|
10029
10029
|
case Vi:
|
|
10030
10030
|
s.match.push(s = {
|
|
@@ -10062,25 +10062,25 @@ function Pc(t) {
|
|
|
10062
10062
|
let r = null;
|
|
10063
10063
|
return this.matched !== null && n(this.matched), r;
|
|
10064
10064
|
}
|
|
10065
|
-
function
|
|
10065
|
+
function sg(t, e) {
|
|
10066
10066
|
return eo(this, t, (n) => n.type === "Type" && n.name === e);
|
|
10067
10067
|
}
|
|
10068
|
-
function
|
|
10068
|
+
function og(t, e) {
|
|
10069
10069
|
return eo(this, t, (n) => n.type === "Property" && n.name === e);
|
|
10070
10070
|
}
|
|
10071
|
-
function
|
|
10071
|
+
function ag(t) {
|
|
10072
10072
|
return eo(this, t, (e) => e.type === "Keyword");
|
|
10073
10073
|
}
|
|
10074
10074
|
function eo(t, e, n) {
|
|
10075
10075
|
const r = Pc.call(t, e);
|
|
10076
10076
|
return r === null ? !1 : r.some(n);
|
|
10077
10077
|
}
|
|
10078
|
-
const
|
|
10078
|
+
const lg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10079
10079
|
__proto__: null,
|
|
10080
10080
|
getTrace: Pc,
|
|
10081
|
-
isKeyword:
|
|
10082
|
-
isProperty:
|
|
10083
|
-
isType:
|
|
10081
|
+
isKeyword: ag,
|
|
10082
|
+
isProperty: og,
|
|
10083
|
+
isType: sg
|
|
10084
10084
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
10085
10085
|
function Qc(t) {
|
|
10086
10086
|
return "node" in t ? t.node : Qc(t.match[0]);
|
|
@@ -10119,7 +10119,7 @@ function pi(t) {
|
|
|
10119
10119
|
function Da(t) {
|
|
10120
10120
|
return !!t && pi(t.offset) && pi(t.line) && pi(t.column);
|
|
10121
10121
|
}
|
|
10122
|
-
function
|
|
10122
|
+
function cg(t, e) {
|
|
10123
10123
|
return function(r, i) {
|
|
10124
10124
|
if (!r || r.constructor !== Object)
|
|
10125
10125
|
return i(r, "Type of node should be an Object");
|
|
@@ -10185,7 +10185,7 @@ function Wc(t, e) {
|
|
|
10185
10185
|
}
|
|
10186
10186
|
return n.join(" | ");
|
|
10187
10187
|
}
|
|
10188
|
-
function
|
|
10188
|
+
function ug(t, e) {
|
|
10189
10189
|
const n = e.structure, r = {
|
|
10190
10190
|
type: String,
|
|
10191
10191
|
loc: !0
|
|
@@ -10200,17 +10200,17 @@ function um(t, e) {
|
|
|
10200
10200
|
}
|
|
10201
10201
|
return {
|
|
10202
10202
|
docs: i,
|
|
10203
|
-
check:
|
|
10203
|
+
check: cg(t, r)
|
|
10204
10204
|
};
|
|
10205
10205
|
}
|
|
10206
|
-
function
|
|
10206
|
+
function hg(t) {
|
|
10207
10207
|
const e = {};
|
|
10208
10208
|
if (t.node) {
|
|
10209
10209
|
for (const n in t.node)
|
|
10210
10210
|
if (An.call(t.node, n)) {
|
|
10211
10211
|
const r = t.node[n];
|
|
10212
10212
|
if (r.structure)
|
|
10213
|
-
e[n] =
|
|
10213
|
+
e[n] = ug(n, r);
|
|
10214
10214
|
else
|
|
10215
10215
|
throw new Error("Missed `structure` field in `" + n + "` node type definition");
|
|
10216
10216
|
}
|
|
@@ -10223,7 +10223,7 @@ function qi(t, e, n) {
|
|
|
10223
10223
|
t[i].syntax && (r[i] = n ? t[i].syntax : Ps(t[i].syntax, { compact: e }));
|
|
10224
10224
|
return r;
|
|
10225
10225
|
}
|
|
10226
|
-
function
|
|
10226
|
+
function dg(t, e, n) {
|
|
10227
10227
|
const r = {};
|
|
10228
10228
|
for (const [i, s] of Object.entries(t))
|
|
10229
10229
|
r[i] = {
|
|
@@ -10232,13 +10232,13 @@ function dm(t, e, n) {
|
|
|
10232
10232
|
};
|
|
10233
10233
|
return r;
|
|
10234
10234
|
}
|
|
10235
|
-
function
|
|
10235
|
+
function pg(t) {
|
|
10236
10236
|
for (let e = 0; e < t.length; e++)
|
|
10237
10237
|
if (t[e].value.toLowerCase() === "var(")
|
|
10238
10238
|
return !0;
|
|
10239
10239
|
return !1;
|
|
10240
10240
|
}
|
|
10241
|
-
function
|
|
10241
|
+
function Ag(t) {
|
|
10242
10242
|
const e = t.terms[0];
|
|
10243
10243
|
return t.explicit === !1 && t.terms.length === 1 && e.type === "Multiplier" && e.comma === !0;
|
|
10244
10244
|
}
|
|
@@ -10247,13 +10247,13 @@ function Ze(t, e, n) {
|
|
|
10247
10247
|
matched: t,
|
|
10248
10248
|
iterations: n,
|
|
10249
10249
|
error: e,
|
|
10250
|
-
...
|
|
10250
|
+
...lg
|
|
10251
10251
|
};
|
|
10252
10252
|
}
|
|
10253
10253
|
function Ut(t, e, n, r) {
|
|
10254
|
-
const i = $
|
|
10254
|
+
const i = $m(n, t.syntax);
|
|
10255
10255
|
let s;
|
|
10256
|
-
return
|
|
10256
|
+
return pg(i) ? Ze(null, new Error("Matching for a tree with var() is not supported")) : (r && (s = Ba(i, t.cssWideKeywordsSyntax, t)), (!r || !s.match) && (s = Ba(i, e.match, t), !s.match) ? Ze(
|
|
10257
10257
|
null,
|
|
10258
10258
|
new Qf(s.reason, e.syntax, n, s),
|
|
10259
10259
|
s.iterations
|
|
@@ -10261,7 +10261,7 @@ function Ut(t, e, n, r) {
|
|
|
10261
10261
|
}
|
|
10262
10262
|
class Oa {
|
|
10263
10263
|
constructor(e, n, r) {
|
|
10264
|
-
if (this.cssWideKeywords = Hs, this.syntax = n, this.generic = !1, this.units = { ...Aa }, this.atrules = /* @__PURE__ */ Object.create(null), this.properties = /* @__PURE__ */ Object.create(null), this.types = /* @__PURE__ */ Object.create(null), this.structure = r ||
|
|
10264
|
+
if (this.cssWideKeywords = Hs, this.syntax = n, this.generic = !1, this.units = { ...Aa }, this.atrules = /* @__PURE__ */ Object.create(null), this.properties = /* @__PURE__ */ Object.create(null), this.types = /* @__PURE__ */ Object.create(null), this.structure = r || hg(e), e) {
|
|
10265
10265
|
if (e.cssWideKeywords && (this.cssWideKeywords = e.cssWideKeywords), e.units)
|
|
10266
10266
|
for (const i of Object.keys(Aa))
|
|
10267
10267
|
Array.isArray(e.units[i]) && (this.units[i] = e.units[i]);
|
|
@@ -10270,7 +10270,7 @@ class Oa {
|
|
|
10270
10270
|
this.addType_(i, s);
|
|
10271
10271
|
if (e.generic) {
|
|
10272
10272
|
this.generic = !0;
|
|
10273
|
-
for (const [i, s] of Object.entries(
|
|
10273
|
+
for (const [i, s] of Object.entries(fm(this.units)))
|
|
10274
10274
|
this.addType_(i, s);
|
|
10275
10275
|
}
|
|
10276
10276
|
if (e.atrules)
|
|
@@ -10319,7 +10319,7 @@ class Oa {
|
|
|
10319
10319
|
}
|
|
10320
10320
|
}), n === "Property" && Object.defineProperty(o, "matchRef", {
|
|
10321
10321
|
get() {
|
|
10322
|
-
const l = o.syntax, a =
|
|
10322
|
+
const l = o.syntax, a = Ag(l) ? Zn({
|
|
10323
10323
|
...l,
|
|
10324
10324
|
terms: [l.terms[0].term]
|
|
10325
10325
|
}, s) : null;
|
|
@@ -10444,7 +10444,7 @@ class Oa {
|
|
|
10444
10444
|
function n(a, c, u, h) {
|
|
10445
10445
|
if (u.has(c))
|
|
10446
10446
|
return u.get(c);
|
|
10447
|
-
u.set(c, !1), h.syntax !== null &&
|
|
10447
|
+
u.set(c, !1), h.syntax !== null && zm(h.syntax, function(d) {
|
|
10448
10448
|
if (d.type !== "Type" && d.type !== "Property")
|
|
10449
10449
|
return;
|
|
10450
10450
|
const A = d.type === "Type" ? a.types : a.properties, w = d.type === "Type" ? i : s;
|
|
@@ -10471,7 +10471,7 @@ class Oa {
|
|
|
10471
10471
|
units: this.units,
|
|
10472
10472
|
types: qi(this.types, !n, e),
|
|
10473
10473
|
properties: qi(this.properties, !n, e),
|
|
10474
|
-
atrules:
|
|
10474
|
+
atrules: dg(this.atrules, !n, e)
|
|
10475
10475
|
};
|
|
10476
10476
|
}
|
|
10477
10477
|
toString() {
|
|
@@ -10481,7 +10481,7 @@ class Oa {
|
|
|
10481
10481
|
function Ai(t, e) {
|
|
10482
10482
|
return typeof e == "string" && /^\s*\|/.test(e) ? typeof t == "string" ? t + e : e.replace(/^\s*\|\s*/, "") : e || null;
|
|
10483
10483
|
}
|
|
10484
|
-
function
|
|
10484
|
+
function fg(t, e) {
|
|
10485
10485
|
const n = /* @__PURE__ */ Object.create(null);
|
|
10486
10486
|
for (const r of Object.keys(t))
|
|
10487
10487
|
e.includes(r) && (n[r] = t[r]);
|
|
@@ -10492,7 +10492,7 @@ function fi(t, e, n) {
|
|
|
10492
10492
|
for (const [i, s] of Object.entries(e))
|
|
10493
10493
|
r[i] = {
|
|
10494
10494
|
...r[i],
|
|
10495
|
-
...n ?
|
|
10495
|
+
...n ? fg(s, n) : s
|
|
10496
10496
|
};
|
|
10497
10497
|
return r;
|
|
10498
10498
|
}
|
|
@@ -10584,7 +10584,7 @@ function Kc(t) {
|
|
|
10584
10584
|
node: t.node
|
|
10585
10585
|
}, o), o;
|
|
10586
10586
|
}
|
|
10587
|
-
const
|
|
10587
|
+
const mg = (t) => Kc(Xi({}, t)), gg = {
|
|
10588
10588
|
generic: !0,
|
|
10589
10589
|
cssWideKeywords: [
|
|
10590
10590
|
"initial",
|
|
@@ -11995,7 +11995,7 @@ const gm = (t) => Kc(Xi({}, t)), mm = {
|
|
|
11995
11995
|
}
|
|
11996
11996
|
}
|
|
11997
11997
|
}
|
|
11998
|
-
}, ot = 43, Ge = 45, ir = 110, vt = !0,
|
|
11998
|
+
}, ot = 43, Ge = 45, ir = 110, vt = !0, bg = !1;
|
|
11999
11999
|
function sr(t, e) {
|
|
12000
12000
|
let n = this.tokenStart + t;
|
|
12001
12001
|
const r = this.charCodeAt(n);
|
|
@@ -12005,7 +12005,7 @@ function sr(t, e) {
|
|
|
12005
12005
|
function Ht(t) {
|
|
12006
12006
|
return sr.call(this, 0, t);
|
|
12007
12007
|
}
|
|
12008
|
-
function
|
|
12008
|
+
function mt(t, e) {
|
|
12009
12009
|
if (!this.cmpChar(this.tokenStart + t, e)) {
|
|
12010
12010
|
let n = "";
|
|
12011
12011
|
switch (e) {
|
|
@@ -12019,7 +12019,7 @@ function gt(t, e) {
|
|
|
12019
12019
|
this.error(n, this.tokenStart + t);
|
|
12020
12020
|
}
|
|
12021
12021
|
}
|
|
12022
|
-
function
|
|
12022
|
+
function mi() {
|
|
12023
12023
|
let t = 0, e = 0, n = this.tokenType;
|
|
12024
12024
|
for (; n === he || n === Se; )
|
|
12025
12025
|
n = this.lookupType(++t);
|
|
@@ -12034,7 +12034,7 @@ function gi() {
|
|
|
12034
12034
|
return null;
|
|
12035
12035
|
return t > 0 && this.skip(t), e === 0 && (n = this.charCodeAt(this.tokenStart), n !== ot && n !== Ge && this.error("Number sign is expected")), Ht.call(this, e !== 0), e === Ge ? "-" + this.consume(W) : this.consume(W);
|
|
12036
12036
|
}
|
|
12037
|
-
const
|
|
12037
|
+
const yg = "AnPlusB", wg = {
|
|
12038
12038
|
a: [String, null],
|
|
12039
12039
|
b: [String, null]
|
|
12040
12040
|
};
|
|
@@ -12042,36 +12042,36 @@ function zc() {
|
|
|
12042
12042
|
const t = this.tokenStart;
|
|
12043
12043
|
let e = null, n = null;
|
|
12044
12044
|
if (this.tokenType === W)
|
|
12045
|
-
Ht.call(this,
|
|
12045
|
+
Ht.call(this, bg), n = this.consume(W);
|
|
12046
12046
|
else if (this.tokenType === C && this.cmpChar(this.tokenStart, Ge))
|
|
12047
|
-
switch (e = "-1",
|
|
12047
|
+
switch (e = "-1", mt.call(this, 1, ir), this.tokenEnd - this.tokenStart) {
|
|
12048
12048
|
case 2:
|
|
12049
|
-
this.next(), n =
|
|
12049
|
+
this.next(), n = mi.call(this);
|
|
12050
12050
|
break;
|
|
12051
12051
|
case 3:
|
|
12052
|
-
|
|
12052
|
+
mt.call(this, 2, Ge), this.next(), this.skipSC(), Ht.call(this, vt), n = "-" + this.consume(W);
|
|
12053
12053
|
break;
|
|
12054
12054
|
default:
|
|
12055
|
-
|
|
12055
|
+
mt.call(this, 2, Ge), sr.call(this, 3, vt), this.next(), n = this.substrToCursor(t + 2);
|
|
12056
12056
|
}
|
|
12057
12057
|
else if (this.tokenType === C || this.isDelim(ot) && this.lookupType(1) === C) {
|
|
12058
12058
|
let r = 0;
|
|
12059
|
-
switch (e = "1", this.isDelim(ot) && (r = 1, this.next()),
|
|
12059
|
+
switch (e = "1", this.isDelim(ot) && (r = 1, this.next()), mt.call(this, 0, ir), this.tokenEnd - this.tokenStart) {
|
|
12060
12060
|
case 1:
|
|
12061
|
-
this.next(), n =
|
|
12061
|
+
this.next(), n = mi.call(this);
|
|
12062
12062
|
break;
|
|
12063
12063
|
case 2:
|
|
12064
|
-
|
|
12064
|
+
mt.call(this, 1, Ge), this.next(), this.skipSC(), Ht.call(this, vt), n = "-" + this.consume(W);
|
|
12065
12065
|
break;
|
|
12066
12066
|
default:
|
|
12067
|
-
|
|
12067
|
+
mt.call(this, 1, Ge), sr.call(this, 2, vt), this.next(), n = this.substrToCursor(t + r + 1);
|
|
12068
12068
|
}
|
|
12069
12069
|
} else if (this.tokenType === $) {
|
|
12070
12070
|
const r = this.charCodeAt(this.tokenStart), i = r === ot || r === Ge;
|
|
12071
12071
|
let s = this.tokenStart + i;
|
|
12072
12072
|
for (; s < this.tokenEnd && xe(this.charCodeAt(s)); s++)
|
|
12073
12073
|
;
|
|
12074
|
-
s === this.tokenStart + i && this.error("Integer is expected", this.tokenStart + i),
|
|
12074
|
+
s === this.tokenStart + i && this.error("Integer is expected", this.tokenStart + i), mt.call(this, s - this.tokenStart, ir), e = this.substring(t, s), s + 1 === this.tokenEnd ? (this.next(), n = mi.call(this)) : (mt.call(this, s - this.tokenStart + 1, Ge), s + 2 === this.tokenEnd ? (this.next(), this.skipSC(), Ht.call(this, vt), n = "-" + this.consume(W)) : (sr.call(this, s - this.tokenStart + 2, vt), this.next(), n = this.substrToCursor(s + 1)));
|
|
12075
12075
|
} else
|
|
12076
12076
|
this.error();
|
|
12077
12077
|
return e !== null && e.charCodeAt(0) === ot && (e = e.substr(1)), n !== null && n.charCodeAt(0) === ot && (n = n.substr(1)), {
|
|
@@ -12081,7 +12081,7 @@ function zc() {
|
|
|
12081
12081
|
b: n
|
|
12082
12082
|
};
|
|
12083
12083
|
}
|
|
12084
|
-
function
|
|
12084
|
+
function kg(t) {
|
|
12085
12085
|
if (t.a) {
|
|
12086
12086
|
const e = t.a === "+1" && "n" || t.a === "1" && "n" || t.a === "-1" && "-n" || t.a + "n";
|
|
12087
12087
|
if (t.b) {
|
|
@@ -12092,26 +12092,26 @@ function km(t) {
|
|
|
12092
12092
|
} else
|
|
12093
12093
|
this.tokenize(t.b);
|
|
12094
12094
|
}
|
|
12095
|
-
const
|
|
12095
|
+
const xg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12096
12096
|
__proto__: null,
|
|
12097
|
-
generate:
|
|
12098
|
-
name:
|
|
12097
|
+
generate: kg,
|
|
12098
|
+
name: yg,
|
|
12099
12099
|
parse: zc,
|
|
12100
|
-
structure:
|
|
12100
|
+
structure: wg
|
|
12101
12101
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
12102
12102
|
function Na() {
|
|
12103
12103
|
return this.Raw(this.consumeUntilLeftCurlyBracketOrSemicolon, !0);
|
|
12104
12104
|
}
|
|
12105
|
-
function
|
|
12105
|
+
function Sg() {
|
|
12106
12106
|
for (let t = 1, e; e = this.lookupType(t); t++) {
|
|
12107
12107
|
if (e === Ue)
|
|
12108
12108
|
return !0;
|
|
12109
|
-
if (e === we || e ===
|
|
12109
|
+
if (e === we || e === ge)
|
|
12110
12110
|
return !1;
|
|
12111
12111
|
}
|
|
12112
12112
|
return !1;
|
|
12113
12113
|
}
|
|
12114
|
-
const
|
|
12114
|
+
const Ig = "Atrule", _g = "atrule", vg = {
|
|
12115
12115
|
name: String,
|
|
12116
12116
|
prelude: ["AtrulePrelude", "Raw", null],
|
|
12117
12117
|
block: ["Block", null]
|
|
@@ -12119,12 +12119,12 @@ const Im = "Atrule", _m = "atrule", vm = {
|
|
|
12119
12119
|
function Yc(t = !1) {
|
|
12120
12120
|
const e = this.tokenStart;
|
|
12121
12121
|
let n, r, i = null, s = null;
|
|
12122
|
-
switch (this.eat(
|
|
12122
|
+
switch (this.eat(ge), n = this.substrToCursor(e + 1), r = n.toLowerCase(), this.skipSC(), this.eof === !1 && this.tokenType !== we && this.tokenType !== Be && (this.parseAtrulePrelude ? i = this.parseWithFallback(this.AtrulePrelude.bind(this, n, t), Na) : i = Na.call(this, this.tokenIndex), this.skipSC()), this.tokenType) {
|
|
12123
12123
|
case Be:
|
|
12124
12124
|
this.next();
|
|
12125
12125
|
break;
|
|
12126
12126
|
case we:
|
|
12127
|
-
hasOwnProperty.call(this.atrule, r) && typeof this.atrule[r].block == "function" ? s = this.atrule[r].block.call(this, t) : s = this.Block(
|
|
12127
|
+
hasOwnProperty.call(this.atrule, r) && typeof this.atrule[r].block == "function" ? s = this.atrule[r].block.call(this, t) : s = this.Block(Sg.call(this));
|
|
12128
12128
|
break;
|
|
12129
12129
|
}
|
|
12130
12130
|
return {
|
|
@@ -12135,17 +12135,17 @@ function Yc(t = !1) {
|
|
|
12135
12135
|
block: s
|
|
12136
12136
|
};
|
|
12137
12137
|
}
|
|
12138
|
-
function
|
|
12139
|
-
this.token(
|
|
12138
|
+
function Cg(t) {
|
|
12139
|
+
this.token(ge, "@" + t.name), t.prelude !== null && this.node(t.prelude), t.block ? this.node(t.block) : this.token(Be, ";");
|
|
12140
12140
|
}
|
|
12141
|
-
const
|
|
12141
|
+
const Eg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12142
12142
|
__proto__: null,
|
|
12143
|
-
generate:
|
|
12144
|
-
name:
|
|
12143
|
+
generate: Cg,
|
|
12144
|
+
name: Ig,
|
|
12145
12145
|
parse: Yc,
|
|
12146
|
-
structure:
|
|
12147
|
-
walkContext:
|
|
12148
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
12146
|
+
structure: vg,
|
|
12147
|
+
walkContext: _g
|
|
12148
|
+
}, Symbol.toStringTag, { value: "Module" })), Bg = "AtrulePrelude", Tg = "atrulePrelude", Dg = {
|
|
12149
12149
|
children: [[]]
|
|
12150
12150
|
};
|
|
12151
12151
|
function jc(t) {
|
|
@@ -12156,18 +12156,18 @@ function jc(t) {
|
|
|
12156
12156
|
children: e
|
|
12157
12157
|
};
|
|
12158
12158
|
}
|
|
12159
|
-
function
|
|
12159
|
+
function Og(t) {
|
|
12160
12160
|
this.children(t);
|
|
12161
12161
|
}
|
|
12162
|
-
const
|
|
12162
|
+
const Ng = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12163
12163
|
__proto__: null,
|
|
12164
|
-
generate:
|
|
12165
|
-
name:
|
|
12164
|
+
generate: Og,
|
|
12165
|
+
name: Bg,
|
|
12166
12166
|
parse: jc,
|
|
12167
|
-
structure:
|
|
12168
|
-
walkContext:
|
|
12169
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
12170
|
-
function
|
|
12167
|
+
structure: Dg,
|
|
12168
|
+
walkContext: Tg
|
|
12169
|
+
}, Symbol.toStringTag, { value: "Module" })), Rg = 36, $c = 42, or = 61, Fg = 94, es = 124, Mg = 126;
|
|
12170
|
+
function Lg() {
|
|
12171
12171
|
this.eof && this.error("Unexpected end of input");
|
|
12172
12172
|
const t = this.tokenStart;
|
|
12173
12173
|
let e = !1;
|
|
@@ -12177,16 +12177,16 @@ function Lm() {
|
|
|
12177
12177
|
name: this.substrToCursor(t)
|
|
12178
12178
|
};
|
|
12179
12179
|
}
|
|
12180
|
-
function
|
|
12180
|
+
function Gg() {
|
|
12181
12181
|
const t = this.tokenStart, e = this.charCodeAt(t);
|
|
12182
12182
|
return e !== or && // =
|
|
12183
|
-
e !==
|
|
12184
|
-
e !==
|
|
12185
|
-
e !==
|
|
12183
|
+
e !== Mg && // ~=
|
|
12184
|
+
e !== Fg && // ^=
|
|
12185
|
+
e !== Rg && // $=
|
|
12186
12186
|
e !== $c && // *=
|
|
12187
12187
|
e !== es && this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"), this.next(), e !== or && (this.isDelim(or) || this.error("Equal sign is expected"), this.next()), this.substrToCursor(t);
|
|
12188
12188
|
}
|
|
12189
|
-
const
|
|
12189
|
+
const Ug = "AttributeSelector", Pg = {
|
|
12190
12190
|
name: "Identifier",
|
|
12191
12191
|
matcher: [String, null],
|
|
12192
12192
|
value: ["String", "Identifier", null],
|
|
@@ -12195,7 +12195,7 @@ const Um = "AttributeSelector", Pm = {
|
|
|
12195
12195
|
function Jc() {
|
|
12196
12196
|
const t = this.tokenStart;
|
|
12197
12197
|
let e, n = null, r = null, i = null;
|
|
12198
|
-
return this.eat(Pe), this.skipSC(), e =
|
|
12198
|
+
return this.eat(Pe), this.skipSC(), e = Lg.call(this), this.skipSC(), this.tokenType !== Ke && (this.tokenType !== C && (n = Gg.call(this), this.skipSC(), r = this.tokenType === tt ? this.String() : this.Identifier(), this.skipSC()), this.tokenType === C && (i = this.consume(C), this.skipSC())), this.eat(Ke), {
|
|
12199
12199
|
type: "AttributeSelector",
|
|
12200
12200
|
loc: this.getLocation(t, this.tokenStart),
|
|
12201
12201
|
name: e,
|
|
@@ -12204,16 +12204,16 @@ function Jc() {
|
|
|
12204
12204
|
flags: i
|
|
12205
12205
|
};
|
|
12206
12206
|
}
|
|
12207
|
-
function
|
|
12207
|
+
function Qg(t) {
|
|
12208
12208
|
this.token(J, "["), this.node(t.name), t.matcher !== null && (this.tokenize(t.matcher), this.node(t.value)), t.flags !== null && this.token(C, t.flags), this.token(J, "]");
|
|
12209
12209
|
}
|
|
12210
|
-
const
|
|
12210
|
+
const Hg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12211
12211
|
__proto__: null,
|
|
12212
|
-
generate:
|
|
12213
|
-
name:
|
|
12212
|
+
generate: Qg,
|
|
12213
|
+
name: Ug,
|
|
12214
12214
|
parse: Jc,
|
|
12215
|
-
structure:
|
|
12216
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
12215
|
+
structure: Pg
|
|
12216
|
+
}, Symbol.toStringTag, { value: "Module" })), Wg = 38;
|
|
12217
12217
|
function Zc() {
|
|
12218
12218
|
return this.Raw(null, !0);
|
|
12219
12219
|
}
|
|
@@ -12223,13 +12223,13 @@ function Ra() {
|
|
|
12223
12223
|
function Fa() {
|
|
12224
12224
|
return this.Raw(this.consumeUntilSemicolonIncluded, !0);
|
|
12225
12225
|
}
|
|
12226
|
-
function
|
|
12226
|
+
function Kg() {
|
|
12227
12227
|
if (this.tokenType === Be)
|
|
12228
12228
|
return Fa.call(this, this.tokenIndex);
|
|
12229
12229
|
const t = this.parseWithFallback(this.Declaration, Fa);
|
|
12230
12230
|
return this.tokenType === Be && this.next(), t;
|
|
12231
12231
|
}
|
|
12232
|
-
const
|
|
12232
|
+
const zg = "Block", Yg = "block", jg = {
|
|
12233
12233
|
children: [[
|
|
12234
12234
|
"Atrule",
|
|
12235
12235
|
"Rule",
|
|
@@ -12237,7 +12237,7 @@ const zm = "Block", Ym = "block", jm = {
|
|
|
12237
12237
|
]]
|
|
12238
12238
|
};
|
|
12239
12239
|
function Vc(t) {
|
|
12240
|
-
const e = t ?
|
|
12240
|
+
const e = t ? Kg : Ra, n = this.tokenStart;
|
|
12241
12241
|
let r = this.createList();
|
|
12242
12242
|
this.eat(we);
|
|
12243
12243
|
e:
|
|
@@ -12249,11 +12249,11 @@ function Vc(t) {
|
|
|
12249
12249
|
case Se:
|
|
12250
12250
|
this.next();
|
|
12251
12251
|
break;
|
|
12252
|
-
case
|
|
12252
|
+
case ge:
|
|
12253
12253
|
r.push(this.parseWithFallback(this.Atrule.bind(this, t), Zc));
|
|
12254
12254
|
break;
|
|
12255
12255
|
default:
|
|
12256
|
-
t && this.isDelim(
|
|
12256
|
+
t && this.isDelim(Wg) ? r.push(Ra.call(this)) : r.push(e.call(this));
|
|
12257
12257
|
}
|
|
12258
12258
|
return this.eof || this.eat(Ue), {
|
|
12259
12259
|
type: "Block",
|
|
@@ -12261,19 +12261,19 @@ function Vc(t) {
|
|
|
12261
12261
|
children: r
|
|
12262
12262
|
};
|
|
12263
12263
|
}
|
|
12264
|
-
function $
|
|
12264
|
+
function $g(t) {
|
|
12265
12265
|
this.token(we, "{"), this.children(t, (e) => {
|
|
12266
12266
|
e.type === "Declaration" && this.token(Be, ";");
|
|
12267
12267
|
}), this.token(Ue, "}");
|
|
12268
12268
|
}
|
|
12269
|
-
const
|
|
12269
|
+
const Jg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12270
12270
|
__proto__: null,
|
|
12271
|
-
generate: $
|
|
12272
|
-
name:
|
|
12271
|
+
generate: $g,
|
|
12272
|
+
name: zg,
|
|
12273
12273
|
parse: Vc,
|
|
12274
|
-
structure:
|
|
12275
|
-
walkContext:
|
|
12276
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
12274
|
+
structure: jg,
|
|
12275
|
+
walkContext: Yg
|
|
12276
|
+
}, Symbol.toStringTag, { value: "Module" })), Zg = "Brackets", Vg = {
|
|
12277
12277
|
children: [[]]
|
|
12278
12278
|
};
|
|
12279
12279
|
function qc(t, e) {
|
|
@@ -12285,15 +12285,15 @@ function qc(t, e) {
|
|
|
12285
12285
|
children: r
|
|
12286
12286
|
};
|
|
12287
12287
|
}
|
|
12288
|
-
function
|
|
12288
|
+
function qg(t) {
|
|
12289
12289
|
this.token(J, "["), this.children(t), this.token(J, "]");
|
|
12290
12290
|
}
|
|
12291
|
-
const
|
|
12291
|
+
const Xg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12292
12292
|
__proto__: null,
|
|
12293
|
-
generate:
|
|
12294
|
-
name:
|
|
12293
|
+
generate: qg,
|
|
12294
|
+
name: Zg,
|
|
12295
12295
|
parse: qc,
|
|
12296
|
-
structure:
|
|
12296
|
+
structure: Vg
|
|
12297
12297
|
}, Symbol.toStringTag, { value: "Module" })), eb = "CDC", tb = [];
|
|
12298
12298
|
function Xc() {
|
|
12299
12299
|
const t = this.tokenStart;
|
|
@@ -12347,7 +12347,7 @@ const db = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
12347
12347
|
name: cb,
|
|
12348
12348
|
parse: tu,
|
|
12349
12349
|
structure: ub
|
|
12350
|
-
}, Symbol.toStringTag, { value: "Module" })), pb = 43, Ma = 47, Ab = 62, fb = 126,
|
|
12350
|
+
}, Symbol.toStringTag, { value: "Module" })), pb = 43, Ma = 47, Ab = 62, fb = 126, mb = "Combinator", gb = {
|
|
12351
12351
|
name: String
|
|
12352
12352
|
};
|
|
12353
12353
|
function nu() {
|
|
@@ -12385,9 +12385,9 @@ function bb(t) {
|
|
|
12385
12385
|
const yb = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12386
12386
|
__proto__: null,
|
|
12387
12387
|
generate: bb,
|
|
12388
|
-
name:
|
|
12388
|
+
name: mb,
|
|
12389
12389
|
parse: nu,
|
|
12390
|
-
structure:
|
|
12390
|
+
structure: gb
|
|
12391
12391
|
}, Symbol.toStringTag, { value: "Module" })), wb = 42, kb = 47, xb = "Comment", Sb = {
|
|
12392
12392
|
value: String
|
|
12393
12393
|
};
|
|
@@ -12557,7 +12557,7 @@ const Yb = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
12557
12557
|
structure: Hb,
|
|
12558
12558
|
walkContext: Qb
|
|
12559
12559
|
}, Symbol.toStringTag, { value: "Module" })), jb = 38;
|
|
12560
|
-
function
|
|
12560
|
+
function gi() {
|
|
12561
12561
|
return this.Raw(this.consumeUntilSemicolonIncluded, !0);
|
|
12562
12562
|
}
|
|
12563
12563
|
const $b = "DeclarationList", Jb = {
|
|
@@ -12576,11 +12576,11 @@ function au() {
|
|
|
12576
12576
|
case Be:
|
|
12577
12577
|
this.next();
|
|
12578
12578
|
break;
|
|
12579
|
-
case
|
|
12580
|
-
t.push(this.parseWithFallback(this.Atrule.bind(this, !0),
|
|
12579
|
+
case ge:
|
|
12580
|
+
t.push(this.parseWithFallback(this.Atrule.bind(this, !0), gi));
|
|
12581
12581
|
break;
|
|
12582
12582
|
default:
|
|
12583
|
-
this.isDelim(jb) ? t.push(this.parseWithFallback(this.Rule,
|
|
12583
|
+
this.isDelim(jb) ? t.push(this.parseWithFallback(this.Rule, gi)) : t.push(this.parseWithFallback(this.Declaration, gi));
|
|
12584
12584
|
}
|
|
12585
12585
|
return {
|
|
12586
12586
|
type: "DeclarationList",
|
|
@@ -12760,12 +12760,12 @@ function hu(t = "unknown") {
|
|
|
12760
12760
|
right: o
|
|
12761
12761
|
};
|
|
12762
12762
|
}
|
|
12763
|
-
function
|
|
12763
|
+
function my(t) {
|
|
12764
12764
|
this.token(q, "("), this.node(t.left), this.tokenize(t.leftComparison), this.node(t.middle), t.right && (this.tokenize(t.rightComparison), this.node(t.right)), this.token(P, ")");
|
|
12765
12765
|
}
|
|
12766
|
-
const
|
|
12766
|
+
const gy = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12767
12767
|
__proto__: null,
|
|
12768
|
-
generate:
|
|
12768
|
+
generate: my,
|
|
12769
12769
|
name: Ay,
|
|
12770
12770
|
parse: hu,
|
|
12771
12771
|
structure: fy
|
|
@@ -12871,7 +12871,7 @@ const Fy = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
12871
12871
|
}, Symbol.toStringTag, { value: "Module" })), My = "IdSelector", Ly = {
|
|
12872
12872
|
name: String
|
|
12873
12873
|
};
|
|
12874
|
-
function
|
|
12874
|
+
function mu() {
|
|
12875
12875
|
const t = this.tokenStart;
|
|
12876
12876
|
return this.eat(ae), {
|
|
12877
12877
|
type: "IdSelector",
|
|
@@ -12886,12 +12886,12 @@ const Uy = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
12886
12886
|
__proto__: null,
|
|
12887
12887
|
generate: Gy,
|
|
12888
12888
|
name: My,
|
|
12889
|
-
parse:
|
|
12889
|
+
parse: mu,
|
|
12890
12890
|
structure: Ly
|
|
12891
12891
|
}, Symbol.toStringTag, { value: "Module" })), Py = 46, Qy = "Layer", Hy = {
|
|
12892
12892
|
name: String
|
|
12893
12893
|
};
|
|
12894
|
-
function
|
|
12894
|
+
function gu() {
|
|
12895
12895
|
let t = this.tokenStart, e = this.consume(C);
|
|
12896
12896
|
for (; this.isDelim(Py); )
|
|
12897
12897
|
this.eat(J), e += "." + this.consume(C);
|
|
@@ -12908,7 +12908,7 @@ const Ky = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
12908
12908
|
__proto__: null,
|
|
12909
12909
|
generate: Wy,
|
|
12910
12910
|
name: Qy,
|
|
12911
|
-
parse:
|
|
12911
|
+
parse: gu,
|
|
12912
12912
|
structure: Hy
|
|
12913
12913
|
}, Symbol.toStringTag, { value: "Module" })), zy = "LayerList", Yy = {
|
|
12914
12914
|
children: [[
|
|
@@ -13073,7 +13073,7 @@ const fw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13073
13073
|
name: dw,
|
|
13074
13074
|
parse: Su,
|
|
13075
13075
|
structure: pw
|
|
13076
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
13076
|
+
}, Symbol.toStringTag, { value: "Module" })), mw = "Operator", gw = {
|
|
13077
13077
|
value: String
|
|
13078
13078
|
};
|
|
13079
13079
|
function Iu() {
|
|
@@ -13090,9 +13090,9 @@ function bw(t) {
|
|
|
13090
13090
|
const yw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
13091
13091
|
__proto__: null,
|
|
13092
13092
|
generate: bw,
|
|
13093
|
-
name:
|
|
13093
|
+
name: mw,
|
|
13094
13094
|
parse: Iu,
|
|
13095
|
-
structure:
|
|
13095
|
+
structure: gw
|
|
13096
13096
|
}, Symbol.toStringTag, { value: "Module" })), ww = "Parentheses", kw = {
|
|
13097
13097
|
children: [[]]
|
|
13098
13098
|
};
|
|
@@ -13413,12 +13413,12 @@ function Lu() {
|
|
|
13413
13413
|
value: Mu(this.consume(tt))
|
|
13414
13414
|
};
|
|
13415
13415
|
}
|
|
13416
|
-
function
|
|
13416
|
+
function mk(t) {
|
|
13417
13417
|
this.token(tt, pk(t.value));
|
|
13418
13418
|
}
|
|
13419
|
-
const
|
|
13419
|
+
const gk = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
13420
13420
|
__proto__: null,
|
|
13421
|
-
generate:
|
|
13421
|
+
generate: mk,
|
|
13422
13422
|
name: Ak,
|
|
13423
13423
|
parse: Lu,
|
|
13424
13424
|
structure: fk
|
|
@@ -13457,7 +13457,7 @@ function Gu() {
|
|
|
13457
13457
|
case Re:
|
|
13458
13458
|
n = this.CDC();
|
|
13459
13459
|
break;
|
|
13460
|
-
case
|
|
13460
|
+
case ge:
|
|
13461
13461
|
n = this.parseWithFallback(this.Atrule, za);
|
|
13462
13462
|
break;
|
|
13463
13463
|
default:
|
|
@@ -13693,29 +13693,29 @@ const qk = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13693
13693
|
type: "WhiteSpace",
|
|
13694
13694
|
loc: null,
|
|
13695
13695
|
value: " "
|
|
13696
|
-
}),
|
|
13696
|
+
}), e0 = "WhiteSpace", t0 = {
|
|
13697
13697
|
value: String
|
|
13698
13698
|
};
|
|
13699
13699
|
function ju() {
|
|
13700
13700
|
return this.eat(he), Xk;
|
|
13701
13701
|
}
|
|
13702
|
-
function
|
|
13702
|
+
function n0(t) {
|
|
13703
13703
|
this.token(he, t.value);
|
|
13704
13704
|
}
|
|
13705
|
-
const
|
|
13705
|
+
const r0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
13706
13706
|
__proto__: null,
|
|
13707
|
-
generate:
|
|
13708
|
-
name:
|
|
13707
|
+
generate: n0,
|
|
13708
|
+
name: e0,
|
|
13709
13709
|
parse: ju,
|
|
13710
|
-
structure:
|
|
13710
|
+
structure: t0
|
|
13711
13711
|
}, Symbol.toStringTag, { value: "Module" })), $u = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
13712
13712
|
__proto__: null,
|
|
13713
|
-
AnPlusB:
|
|
13714
|
-
Atrule:
|
|
13715
|
-
AtrulePrelude:
|
|
13716
|
-
AttributeSelector:
|
|
13717
|
-
Block:
|
|
13718
|
-
Brackets:
|
|
13713
|
+
AnPlusB: xg,
|
|
13714
|
+
Atrule: Eg,
|
|
13715
|
+
AtrulePrelude: Ng,
|
|
13716
|
+
AttributeSelector: Hg,
|
|
13717
|
+
Block: Jg,
|
|
13718
|
+
Brackets: Xg,
|
|
13719
13719
|
CDC: rb,
|
|
13720
13720
|
CDO: ab,
|
|
13721
13721
|
ClassSelector: db,
|
|
@@ -13727,7 +13727,7 @@ const rx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13727
13727
|
Dimension: ty,
|
|
13728
13728
|
Feature: oy,
|
|
13729
13729
|
FeatureFunction: hy,
|
|
13730
|
-
FeatureRange:
|
|
13730
|
+
FeatureRange: gy,
|
|
13731
13731
|
Function: xy,
|
|
13732
13732
|
GeneralEnclosed: vy,
|
|
13733
13733
|
Hash: Dy,
|
|
@@ -13751,20 +13751,20 @@ const rx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13751
13751
|
Scope: nk,
|
|
13752
13752
|
Selector: ok,
|
|
13753
13753
|
SelectorList: hk,
|
|
13754
|
-
String:
|
|
13754
|
+
String: gk,
|
|
13755
13755
|
StyleSheet: Sk,
|
|
13756
13756
|
SupportsDeclaration: Ck,
|
|
13757
13757
|
TypeSelector: Ok,
|
|
13758
13758
|
UnicodeRange: Gk,
|
|
13759
13759
|
Url: $k,
|
|
13760
13760
|
Value: qk,
|
|
13761
|
-
WhiteSpace:
|
|
13762
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
13761
|
+
WhiteSpace: r0
|
|
13762
|
+
}, Symbol.toStringTag, { value: "Module" })), i0 = {
|
|
13763
13763
|
generic: !0,
|
|
13764
13764
|
cssWideKeywords: Hs,
|
|
13765
|
-
...
|
|
13765
|
+
...gg,
|
|
13766
13766
|
node: $u
|
|
13767
|
-
},
|
|
13767
|
+
}, s0 = 35, o0 = 42, ja = 43, a0 = 45, l0 = 47, c0 = 117;
|
|
13768
13768
|
function Ju(t) {
|
|
13769
13769
|
switch (this.tokenType) {
|
|
13770
13770
|
case ae:
|
|
@@ -13788,20 +13788,20 @@ function Ju(t) {
|
|
|
13788
13788
|
case Ce:
|
|
13789
13789
|
return this.Url();
|
|
13790
13790
|
case C:
|
|
13791
|
-
return this.cmpChar(this.tokenStart,
|
|
13791
|
+
return this.cmpChar(this.tokenStart, c0) && this.cmpChar(this.tokenStart + 1, ja) ? this.UnicodeRange() : this.Identifier();
|
|
13792
13792
|
case J: {
|
|
13793
13793
|
const e = this.charCodeAt(this.tokenStart);
|
|
13794
|
-
if (e ===
|
|
13794
|
+
if (e === l0 || e === o0 || e === ja || e === a0)
|
|
13795
13795
|
return this.Operator();
|
|
13796
|
-
e ===
|
|
13796
|
+
e === s0 && this.error("Hex or identifier is expected", this.tokenStart + 1);
|
|
13797
13797
|
break;
|
|
13798
13798
|
}
|
|
13799
13799
|
}
|
|
13800
13800
|
}
|
|
13801
|
-
const
|
|
13801
|
+
const u0 = {
|
|
13802
13802
|
getNode: Ju
|
|
13803
|
-
},
|
|
13804
|
-
function
|
|
13803
|
+
}, h0 = 35, d0 = 38, p0 = 42, A0 = 43, f0 = 47, $a = 46, m0 = 62, g0 = 124, b0 = 126;
|
|
13804
|
+
function y0(t, e) {
|
|
13805
13805
|
e.last !== null && e.last.type !== "Combinator" && t !== null && t.type !== "Combinator" && e.push({
|
|
13806
13806
|
// FIXME: this.Combinator() should be used instead
|
|
13807
13807
|
type: "Combinator",
|
|
@@ -13809,7 +13809,7 @@ function yx(t, e) {
|
|
|
13809
13809
|
name: " "
|
|
13810
13810
|
});
|
|
13811
13811
|
}
|
|
13812
|
-
function
|
|
13812
|
+
function w0() {
|
|
13813
13813
|
switch (this.tokenType) {
|
|
13814
13814
|
case Pe:
|
|
13815
13815
|
return this.AttributeSelector();
|
|
@@ -13827,35 +13827,35 @@ function wx() {
|
|
|
13827
13827
|
break;
|
|
13828
13828
|
case J: {
|
|
13829
13829
|
switch (this.charCodeAt(this.tokenStart)) {
|
|
13830
|
-
case
|
|
13831
|
-
case
|
|
13832
|
-
case
|
|
13833
|
-
case
|
|
13830
|
+
case A0:
|
|
13831
|
+
case m0:
|
|
13832
|
+
case b0:
|
|
13833
|
+
case f0:
|
|
13834
13834
|
return this.Combinator();
|
|
13835
13835
|
case $a:
|
|
13836
13836
|
return this.ClassSelector();
|
|
13837
|
-
case
|
|
13838
|
-
case
|
|
13837
|
+
case p0:
|
|
13838
|
+
case g0:
|
|
13839
13839
|
return this.TypeSelector();
|
|
13840
|
-
case
|
|
13840
|
+
case h0:
|
|
13841
13841
|
return this.IdSelector();
|
|
13842
|
-
case
|
|
13842
|
+
case d0:
|
|
13843
13843
|
return this.NestingSelector();
|
|
13844
13844
|
}
|
|
13845
13845
|
break;
|
|
13846
13846
|
}
|
|
13847
13847
|
}
|
|
13848
13848
|
}
|
|
13849
|
-
const
|
|
13850
|
-
onWhiteSpace:
|
|
13851
|
-
getNode:
|
|
13849
|
+
const k0 = {
|
|
13850
|
+
onWhiteSpace: y0,
|
|
13851
|
+
getNode: w0
|
|
13852
13852
|
};
|
|
13853
|
-
function
|
|
13853
|
+
function x0() {
|
|
13854
13854
|
return this.createSingleNodeList(
|
|
13855
13855
|
this.Raw(null, !1)
|
|
13856
13856
|
);
|
|
13857
13857
|
}
|
|
13858
|
-
function
|
|
13858
|
+
function S0() {
|
|
13859
13859
|
const t = this.createList();
|
|
13860
13860
|
if (this.skipSC(), t.push(this.Identifier()), this.skipSC(), this.tokenType === Me) {
|
|
13861
13861
|
t.push(this.Operator());
|
|
@@ -13878,25 +13878,25 @@ function Sx() {
|
|
|
13878
13878
|
function Ja(t) {
|
|
13879
13879
|
return t !== null && t.type === "Operator" && (t.value[t.value.length - 1] === "-" || t.value[t.value.length - 1] === "+");
|
|
13880
13880
|
}
|
|
13881
|
-
const
|
|
13881
|
+
const I0 = {
|
|
13882
13882
|
getNode: Ju,
|
|
13883
13883
|
onWhiteSpace(t, e) {
|
|
13884
13884
|
Ja(t) && (t.value = " " + t.value), Ja(e.last) && (e.last.value += " ");
|
|
13885
13885
|
},
|
|
13886
|
-
expression:
|
|
13887
|
-
var:
|
|
13888
|
-
},
|
|
13886
|
+
expression: x0,
|
|
13887
|
+
var: S0
|
|
13888
|
+
}, _0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
13889
13889
|
__proto__: null,
|
|
13890
|
-
AtrulePrelude:
|
|
13891
|
-
Selector:
|
|
13892
|
-
Value:
|
|
13893
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
13890
|
+
AtrulePrelude: u0,
|
|
13891
|
+
Selector: k0,
|
|
13892
|
+
Value: I0
|
|
13893
|
+
}, Symbol.toStringTag, { value: "Module" })), v0 = /* @__PURE__ */ new Set(["none", "and", "not", "or"]), C0 = {
|
|
13894
13894
|
parse: {
|
|
13895
13895
|
prelude() {
|
|
13896
13896
|
const t = this.createList();
|
|
13897
13897
|
if (this.tokenType === C) {
|
|
13898
13898
|
const e = this.substring(this.tokenStart, this.tokenEnd);
|
|
13899
|
-
|
|
13899
|
+
v0.has(e.toLowerCase()) || t.push(this.Identifier());
|
|
13900
13900
|
}
|
|
13901
13901
|
return t.push(this.Condition("container")), t;
|
|
13902
13902
|
},
|
|
@@ -13904,7 +13904,7 @@ const Ix = {
|
|
|
13904
13904
|
return this.Block(t);
|
|
13905
13905
|
}
|
|
13906
13906
|
}
|
|
13907
|
-
},
|
|
13907
|
+
}, E0 = {
|
|
13908
13908
|
parse: {
|
|
13909
13909
|
prelude: null,
|
|
13910
13910
|
block() {
|
|
@@ -13939,7 +13939,7 @@ const Za = {
|
|
|
13939
13939
|
);
|
|
13940
13940
|
return (e.type !== "Raw" || e.value !== "") && t.push(e), t;
|
|
13941
13941
|
}
|
|
13942
|
-
},
|
|
13942
|
+
}, B0 = {
|
|
13943
13943
|
parse: {
|
|
13944
13944
|
prelude() {
|
|
13945
13945
|
const t = this.createList();
|
|
@@ -13958,7 +13958,7 @@ const Za = {
|
|
|
13958
13958
|
},
|
|
13959
13959
|
block: null
|
|
13960
13960
|
}
|
|
13961
|
-
},
|
|
13961
|
+
}, T0 = {
|
|
13962
13962
|
parse: {
|
|
13963
13963
|
prelude() {
|
|
13964
13964
|
return this.createSingleNodeList(
|
|
@@ -13969,7 +13969,7 @@ const Za = {
|
|
|
13969
13969
|
return this.Block(!1);
|
|
13970
13970
|
}
|
|
13971
13971
|
}
|
|
13972
|
-
},
|
|
13972
|
+
}, D0 = {
|
|
13973
13973
|
parse: {
|
|
13974
13974
|
prelude() {
|
|
13975
13975
|
return this.createSingleNodeList(
|
|
@@ -13980,7 +13980,7 @@ const Za = {
|
|
|
13980
13980
|
return this.Block(t);
|
|
13981
13981
|
}
|
|
13982
13982
|
}
|
|
13983
|
-
},
|
|
13983
|
+
}, O0 = {
|
|
13984
13984
|
parse: {
|
|
13985
13985
|
prelude() {
|
|
13986
13986
|
return this.createSingleNodeList(
|
|
@@ -13991,7 +13991,7 @@ const Za = {
|
|
|
13991
13991
|
return this.Block(!0);
|
|
13992
13992
|
}
|
|
13993
13993
|
}
|
|
13994
|
-
},
|
|
13994
|
+
}, N0 = {
|
|
13995
13995
|
parse: {
|
|
13996
13996
|
prelude() {
|
|
13997
13997
|
return this.createSingleNodeList(
|
|
@@ -14002,7 +14002,7 @@ const Za = {
|
|
|
14002
14002
|
return this.Block(!0);
|
|
14003
14003
|
}
|
|
14004
14004
|
}
|
|
14005
|
-
},
|
|
14005
|
+
}, R0 = {
|
|
14006
14006
|
parse: {
|
|
14007
14007
|
prelude() {
|
|
14008
14008
|
return this.createSingleNodeList(
|
|
@@ -14013,14 +14013,14 @@ const Za = {
|
|
|
14013
14013
|
return this.Block(t);
|
|
14014
14014
|
}
|
|
14015
14015
|
}
|
|
14016
|
-
},
|
|
14016
|
+
}, F0 = {
|
|
14017
14017
|
parse: {
|
|
14018
14018
|
prelude: null,
|
|
14019
14019
|
block(t = !1) {
|
|
14020
14020
|
return this.Block(t);
|
|
14021
14021
|
}
|
|
14022
14022
|
}
|
|
14023
|
-
},
|
|
14023
|
+
}, M0 = {
|
|
14024
14024
|
parse: {
|
|
14025
14025
|
prelude() {
|
|
14026
14026
|
return this.createSingleNodeList(
|
|
@@ -14031,19 +14031,19 @@ const Za = {
|
|
|
14031
14031
|
return this.Block(t);
|
|
14032
14032
|
}
|
|
14033
14033
|
}
|
|
14034
|
-
},
|
|
14035
|
-
container:
|
|
14036
|
-
"font-face":
|
|
14037
|
-
import:
|
|
14038
|
-
layer:
|
|
14039
|
-
media:
|
|
14040
|
-
nest:
|
|
14041
|
-
page:
|
|
14042
|
-
scope:
|
|
14043
|
-
"starting-style":
|
|
14044
|
-
supports:
|
|
14034
|
+
}, L0 = {
|
|
14035
|
+
container: C0,
|
|
14036
|
+
"font-face": E0,
|
|
14037
|
+
import: B0,
|
|
14038
|
+
layer: T0,
|
|
14039
|
+
media: D0,
|
|
14040
|
+
nest: O0,
|
|
14041
|
+
page: N0,
|
|
14042
|
+
scope: R0,
|
|
14043
|
+
"starting-style": F0,
|
|
14044
|
+
supports: M0
|
|
14045
14045
|
};
|
|
14046
|
-
function
|
|
14046
|
+
function G0() {
|
|
14047
14047
|
const t = this.createList();
|
|
14048
14048
|
this.skipSC();
|
|
14049
14049
|
e: for (; !this.eof; ) {
|
|
@@ -14078,24 +14078,24 @@ const _t = {
|
|
|
14078
14078
|
this.Selector()
|
|
14079
14079
|
);
|
|
14080
14080
|
}
|
|
14081
|
-
},
|
|
14081
|
+
}, U0 = {
|
|
14082
14082
|
parse() {
|
|
14083
14083
|
return this.createSingleNodeList(
|
|
14084
14084
|
this.Identifier()
|
|
14085
14085
|
);
|
|
14086
14086
|
}
|
|
14087
|
-
},
|
|
14088
|
-
parse:
|
|
14087
|
+
}, P0 = {
|
|
14088
|
+
parse: G0
|
|
14089
14089
|
}, qn = {
|
|
14090
14090
|
parse() {
|
|
14091
14091
|
return this.createSingleNodeList(
|
|
14092
14092
|
this.Nth()
|
|
14093
14093
|
);
|
|
14094
14094
|
}
|
|
14095
|
-
},
|
|
14096
|
-
dir:
|
|
14095
|
+
}, Q0 = {
|
|
14096
|
+
dir: U0,
|
|
14097
14097
|
has: _t,
|
|
14098
|
-
lang:
|
|
14098
|
+
lang: P0,
|
|
14099
14099
|
matches: _t,
|
|
14100
14100
|
is: _t,
|
|
14101
14101
|
"-moz-any": _t,
|
|
@@ -14109,7 +14109,7 @@ const _t = {
|
|
|
14109
14109
|
slotted: ki,
|
|
14110
14110
|
host: ki,
|
|
14111
14111
|
"host-context": ki
|
|
14112
|
-
},
|
|
14112
|
+
}, H0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14113
14113
|
__proto__: null,
|
|
14114
14114
|
AnPlusB: zc,
|
|
14115
14115
|
Atrule: Yc,
|
|
@@ -14132,9 +14132,9 @@ const _t = {
|
|
|
14132
14132
|
Function: du,
|
|
14133
14133
|
GeneralEnclosed: pu,
|
|
14134
14134
|
Hash: Au,
|
|
14135
|
-
IdSelector:
|
|
14135
|
+
IdSelector: mu,
|
|
14136
14136
|
Identifier: fu,
|
|
14137
|
-
Layer:
|
|
14137
|
+
Layer: gu,
|
|
14138
14138
|
LayerList: bu,
|
|
14139
14139
|
MediaQuery: yu,
|
|
14140
14140
|
MediaQueryList: wu,
|
|
@@ -14160,7 +14160,7 @@ const _t = {
|
|
|
14160
14160
|
Url: zu,
|
|
14161
14161
|
Value: Yu,
|
|
14162
14162
|
WhiteSpace: ju
|
|
14163
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
14163
|
+
}, Symbol.toStringTag, { value: "Module" })), W0 = {
|
|
14164
14164
|
parseContext: {
|
|
14165
14165
|
default: "StyleSheet",
|
|
14166
14166
|
stylesheet: "StyleSheet",
|
|
@@ -14195,16 +14195,16 @@ const _t = {
|
|
|
14195
14195
|
}
|
|
14196
14196
|
}
|
|
14197
14197
|
},
|
|
14198
|
-
scope:
|
|
14199
|
-
atrule:
|
|
14200
|
-
pseudo:
|
|
14201
|
-
node:
|
|
14202
|
-
},
|
|
14198
|
+
scope: _0,
|
|
14199
|
+
atrule: L0,
|
|
14200
|
+
pseudo: Q0,
|
|
14201
|
+
node: H0
|
|
14202
|
+
}, K0 = {
|
|
14203
14203
|
node: $u
|
|
14204
|
-
},
|
|
14205
|
-
...
|
|
14206
|
-
...
|
|
14207
|
-
...
|
|
14204
|
+
}, z0 = mg({
|
|
14205
|
+
...i0,
|
|
14206
|
+
...W0,
|
|
14207
|
+
...K0
|
|
14208
14208
|
}), Va = 92;
|
|
14209
14209
|
function xi(t) {
|
|
14210
14210
|
const e = t.length - 1;
|
|
@@ -14225,19 +14225,19 @@ function xi(t) {
|
|
|
14225
14225
|
return n;
|
|
14226
14226
|
}
|
|
14227
14227
|
const {
|
|
14228
|
-
tokenize:
|
|
14229
|
-
parse:
|
|
14230
|
-
generate:
|
|
14231
|
-
lexer:
|
|
14232
|
-
createLexer:
|
|
14233
|
-
walk:
|
|
14234
|
-
find:
|
|
14235
|
-
findLast:
|
|
14236
|
-
findAll:
|
|
14237
|
-
toPlainObject:
|
|
14238
|
-
fromPlainObject:
|
|
14239
|
-
fork:
|
|
14240
|
-
} =
|
|
14228
|
+
tokenize: _x,
|
|
14229
|
+
parse: Y0,
|
|
14230
|
+
generate: vx,
|
|
14231
|
+
lexer: Cx,
|
|
14232
|
+
createLexer: Ex,
|
|
14233
|
+
walk: j0,
|
|
14234
|
+
find: Bx,
|
|
14235
|
+
findLast: Tx,
|
|
14236
|
+
findAll: Dx,
|
|
14237
|
+
toPlainObject: Ox,
|
|
14238
|
+
fromPlainObject: Nx,
|
|
14239
|
+
fork: Rx
|
|
14240
|
+
} = z0;
|
|
14241
14241
|
function Zt(t) {
|
|
14242
14242
|
try {
|
|
14243
14243
|
const e = new URL(t);
|
|
@@ -14261,13 +14261,13 @@ const Kr = U.string().refine(Zt, {
|
|
|
14261
14261
|
function qa(t, e) {
|
|
14262
14262
|
try {
|
|
14263
14263
|
let n = !0;
|
|
14264
|
-
const r =
|
|
14264
|
+
const r = Y0(t, {
|
|
14265
14265
|
context: e,
|
|
14266
14266
|
onParseError: () => {
|
|
14267
14267
|
n = !1;
|
|
14268
14268
|
}
|
|
14269
14269
|
});
|
|
14270
|
-
return
|
|
14270
|
+
return j0(r, (i) => {
|
|
14271
14271
|
i.type === "Raw" && (n = !1), i.type === "Url" && !Zt(i.value) && (n = !1), i.type === "Atrule" && !["media", "supports", "font-face"].includes(
|
|
14272
14272
|
xi(i.name).toLowerCase()
|
|
14273
14273
|
) && (n = !1), i.type === "Declaration" && /^(?:behavior|-moz-binding|--)/i.test(xi(i.property)) && (n = !1), i.type === "Function" && ![
|
|
@@ -14409,22 +14409,22 @@ function is(t, e, n) {
|
|
|
14409
14409
|
(r) => is(r, e, n + 1)
|
|
14410
14410
|
) : t && typeof t == "object" ? Object.entries(t).every(([r, i]) => ["__proto__", "constructor", "prototype"].includes(r) ? !1 : is(i, r, n + 1)) : !0;
|
|
14411
14411
|
}
|
|
14412
|
-
function $
|
|
14412
|
+
function $0(t) {
|
|
14413
14413
|
return is(t, "", 0);
|
|
14414
14414
|
}
|
|
14415
|
-
const
|
|
14415
|
+
const J0 = U.string().refine(zr, {
|
|
14416
14416
|
message: "Unsafe HTML or embedded images are not allowed. Upload images and use their HTTP or HTTPS URLs."
|
|
14417
|
-
}),
|
|
14417
|
+
}), Z0 = U.enum([
|
|
14418
14418
|
"SMS",
|
|
14419
14419
|
"WHATSAPP",
|
|
14420
14420
|
"EMAIL",
|
|
14421
14421
|
"APP_INBOX",
|
|
14422
14422
|
"PUSH"
|
|
14423
|
-
]), Vu = U.enum(["SMS", "WHATSAPP", "EMAIL"]),
|
|
14423
|
+
]), Vu = U.enum(["SMS", "WHATSAPP", "EMAIL"]), V0 = U.enum(["fallback", "all"]), on = U.object({
|
|
14424
14424
|
amount: U.number(),
|
|
14425
14425
|
precision: U.number().int().nonnegative(),
|
|
14426
14426
|
currency: U.string()
|
|
14427
|
-
}),
|
|
14427
|
+
}), Fx = U.object({
|
|
14428
14428
|
balance: U.object({
|
|
14429
14429
|
amount: U.number(),
|
|
14430
14430
|
currency: U.string()
|
|
@@ -14438,7 +14438,7 @@ const Jx = U.string().refine(zr, {
|
|
|
14438
14438
|
APP_INBOX: on,
|
|
14439
14439
|
PUSH: on
|
|
14440
14440
|
}).partial()
|
|
14441
|
-
}),
|
|
14441
|
+
}), Mx = U.object({
|
|
14442
14442
|
SMS: U.boolean(),
|
|
14443
14443
|
WHATSAPP: U.boolean(),
|
|
14444
14444
|
EMAIL: U.boolean()
|
|
@@ -14446,7 +14446,7 @@ const Jx = U.string().refine(zr, {
|
|
|
14446
14446
|
channel: Vu,
|
|
14447
14447
|
variables: U.array(U.string()),
|
|
14448
14448
|
title: U.string().nullish(),
|
|
14449
|
-
design: U.unknown().refine($
|
|
14449
|
+
design: U.unknown().refine($0, {
|
|
14450
14450
|
message: "Design contains unsafe HTML or embedded images. Use hosted image URLs."
|
|
14451
14451
|
}),
|
|
14452
14452
|
content: U.string(),
|
|
@@ -14466,13 +14466,13 @@ const Jx = U.string().refine(zr, {
|
|
|
14466
14466
|
code: U.ZodIssueCode.custom,
|
|
14467
14467
|
message: "Invalid variable(s): " + o.join(", ")
|
|
14468
14468
|
});
|
|
14469
|
-
}),
|
|
14469
|
+
}), q0 = U.object({
|
|
14470
14470
|
label: U.string().min(1).max(20),
|
|
14471
14471
|
url: Kr
|
|
14472
|
-
}),
|
|
14472
|
+
}), X0 = U.enum(["NONE", "EXTERNAL"]), ex = U.object({
|
|
14473
14473
|
title: U.string().max(40),
|
|
14474
14474
|
body: U.string().max(120),
|
|
14475
|
-
destination:
|
|
14475
|
+
destination: X0.nullish(),
|
|
14476
14476
|
url: Kr.nullish(),
|
|
14477
14477
|
variables: U.array(U.string()).default([])
|
|
14478
14478
|
}).superRefine((t, e) => {
|
|
@@ -14481,33 +14481,33 @@ const Jx = U.string().refine(zr, {
|
|
|
14481
14481
|
path: ["url"],
|
|
14482
14482
|
message: "Enter the link to open"
|
|
14483
14483
|
});
|
|
14484
|
-
}), Xa = 2e3,
|
|
14484
|
+
}), Xa = 2e3, tx = U.object({
|
|
14485
14485
|
title: U.string().max(40),
|
|
14486
14486
|
previewText: U.string().max(120),
|
|
14487
|
-
content:
|
|
14487
|
+
content: J0.refine(
|
|
14488
14488
|
(t) => t.length <= Xa,
|
|
14489
14489
|
{ message: `Content must be at most ${Xa} characters` }
|
|
14490
14490
|
),
|
|
14491
14491
|
imageUrl: Kr.nullish(),
|
|
14492
|
-
buttons: U.array(
|
|
14492
|
+
buttons: U.array(q0).max(2).default([]),
|
|
14493
14493
|
variables: U.array(U.string()).default([])
|
|
14494
|
-
}),
|
|
14494
|
+
}), nx = U.object({
|
|
14495
14495
|
SMS: Si,
|
|
14496
14496
|
WHATSAPP: Si,
|
|
14497
14497
|
EMAIL: Si,
|
|
14498
|
-
APP_INBOX:
|
|
14499
|
-
PUSH:
|
|
14498
|
+
APP_INBOX: tx,
|
|
14499
|
+
PUSH: ex
|
|
14500
14500
|
}).partial(), vr = 8 * 1024 * 1024;
|
|
14501
|
-
function
|
|
14501
|
+
function rx(t) {
|
|
14502
14502
|
const e = JSON.stringify(t ?? {});
|
|
14503
14503
|
return e.length > vr || e.length * 4 <= vr ? e.length : new TextEncoder().encode(e).length;
|
|
14504
14504
|
}
|
|
14505
|
-
const
|
|
14506
|
-
mode:
|
|
14505
|
+
const Lx = U.object({
|
|
14506
|
+
mode: V0,
|
|
14507
14507
|
// Order is authoritative: in `fallback` mode channels are tried in this
|
|
14508
14508
|
// order, and channels[0] is the primary channel.
|
|
14509
|
-
channels: U.array(
|
|
14510
|
-
content:
|
|
14509
|
+
channels: U.array(Z0).min(1, "Select at least one channel"),
|
|
14510
|
+
content: nx.default({})
|
|
14511
14511
|
}).superRefine((t, e) => {
|
|
14512
14512
|
new Set(t.channels).size !== t.channels.length && e.addIssue({
|
|
14513
14513
|
code: U.ZodIssueCode.custom,
|
|
@@ -14520,7 +14520,7 @@ const L0 = U.object({
|
|
|
14520
14520
|
path: ["content", r],
|
|
14521
14521
|
message: `Content is required for ${r}`
|
|
14522
14522
|
});
|
|
14523
|
-
const n =
|
|
14523
|
+
const n = rx(t);
|
|
14524
14524
|
n > vr && e.addIssue({
|
|
14525
14525
|
code: U.ZodIssueCode.custom,
|
|
14526
14526
|
path: ["content"],
|
|
@@ -14531,7 +14531,7 @@ const L0 = U.object({
|
|
|
14531
14531
|
)}KB). Reduce images or shorten the message.`
|
|
14532
14532
|
});
|
|
14533
14533
|
});
|
|
14534
|
-
function
|
|
14534
|
+
function Gx(t) {
|
|
14535
14535
|
if (t.delivery) return t.delivery;
|
|
14536
14536
|
const e = t.message;
|
|
14537
14537
|
return e ? {
|
|
@@ -14540,13 +14540,13 @@ function G0(t) {
|
|
|
14540
14540
|
content: { [e.channel]: e }
|
|
14541
14541
|
} : { mode: "all", channels: [], content: {} };
|
|
14542
14542
|
}
|
|
14543
|
-
function
|
|
14543
|
+
function Ux(t) {
|
|
14544
14544
|
const e = t.channels.find(
|
|
14545
14545
|
(n) => Vu.safeParse(n).success
|
|
14546
14546
|
);
|
|
14547
14547
|
return e ? t.content[e] : void 0;
|
|
14548
14548
|
}
|
|
14549
|
-
function
|
|
14549
|
+
function Px(t, e) {
|
|
14550
14550
|
return t.replace(/{{(.*?)}}/g, (n, r) => {
|
|
14551
14551
|
const s = r.trim().split(".").reduce((o, l) => (o != null ? o[l] : null) ?? null, e);
|
|
14552
14552
|
return s !== null ? s : n;
|
|
@@ -14554,18 +14554,18 @@ function P0(t, e) {
|
|
|
14554
14554
|
}
|
|
14555
14555
|
export {
|
|
14556
14556
|
Xa as A,
|
|
14557
|
-
|
|
14558
|
-
|
|
14559
|
-
|
|
14557
|
+
Fx as F,
|
|
14558
|
+
Mx as a,
|
|
14559
|
+
Z0 as b,
|
|
14560
14560
|
Si as c,
|
|
14561
|
-
|
|
14562
|
-
|
|
14561
|
+
Lx as d,
|
|
14562
|
+
V0 as e,
|
|
14563
14563
|
on as f,
|
|
14564
14564
|
Kr as g,
|
|
14565
|
-
|
|
14566
|
-
|
|
14565
|
+
X0 as h,
|
|
14566
|
+
Ux as i,
|
|
14567
14567
|
zr as j,
|
|
14568
|
-
$
|
|
14569
|
-
|
|
14570
|
-
|
|
14568
|
+
$0 as k,
|
|
14569
|
+
Px as r,
|
|
14570
|
+
Gx as t
|
|
14571
14571
|
};
|