@feedmepos/mf-inventory-portal 1.7.3-dev.1 → 1.7.3-dev.2
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-DK0-LWWu.js → App-B5qnwEvd.js} +4 -4
- package/dist/{ApprovalView-BxV4_keX.js → ApprovalView-C_bCdqCE.js} +8 -8
- package/dist/{BindingsDialog-DYVL00NY.js → BindingsDialog-NoD35amZ.js} +2 -2
- package/dist/{BindingsPicker-Bi1EcW62.js → BindingsPicker-CPjrsA7g.js} +2 -2
- package/dist/{BindingsTable-CvtOCAkc.js → BindingsTable-lSM6Qvc1.js} +3 -3
- package/dist/{BulkReceiveRequestView-Dgp3EWOn.js → BulkReceiveRequestView-H97Vm5RQ.js} +19 -19
- package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-DX3Ug_dN.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-Ysx4_aKb.js} +1 -1
- package/dist/{ClosingDraftView-D2uvIKY5.js → ClosingDraftView-D1qzcxyc.js} +19 -19
- package/dist/{ClosingHistoryView-CIb7Ch4L.js → ClosingHistoryView-COVLEUJE.js} +5 -5
- package/dist/{ClosingTemplateView-XVSVYB2y.js → ClosingTemplateView-CCjWKW4A.js} +16 -16
- package/dist/{DefaultView-BJets42n.js → DefaultView-8JanBwi1.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-DaQHEkqA.js → DeliveryOrderPrintPreview-jmYbNNQS.js} +2 -2
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-CBL0xqFW.js → EmailDialog.vue_vue_type_script_setup_true_lang-HSlddJKT.js} +23 -23
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-DbQxJtrd.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-D7i1SzCt.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BgCS24jN.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-GZFKLCed.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Dc6xTcD8.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-C-A4ytBi.js} +2 -2
- package/dist/{FmMultiselectDialog-CxsksooH.js → FmMultiselectDialog-DIm-TBkv.js} +1 -1
- package/dist/{FmMultiselectDialog-Bq_Na17d.js → FmMultiselectDialog-DNqQOM8Z.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DkftHtJN.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CGpxstv1.js} +5 -5
- package/dist/{ImportView-BzNfHFEx.js → ImportView-Czlfd6fQ.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-Hat27Ar4.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CVq7-2qs.js} +1 -1
- package/dist/{IngredientGroupView-ClG1OM4D.js → IngredientGroupView-D5iO0K_A.js} +5 -5
- package/dist/{IngredientsView-BYE1xoOE.js → IngredientsView-BLpExZxR.js} +15 -15
- package/dist/{IntegrationExplorerView-DwvsbHfd.js → IntegrationExplorerView-Dc9GHMqa.js} +4 -4
- package/dist/{IntegrationView-ikLaCdnl.js → IntegrationView-FnMv7ETs.js} +14 -14
- package/dist/{InventoryBindingForm-C6P0ZuXJ.js → InventoryBindingForm-Cyzr1Bst.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-DzLxq3uM.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-C3AYygQH.js} +5 -5
- package/dist/{InventoryBindingSummary-CMSSSTdo.js → InventoryBindingSummary-B5XtTUoM.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-COXmn2a8.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-D0pmO2lT.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BvrpIpql.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BfqfE-MH.js} +1 -1
- package/dist/{ProductionView-DI3JxiFg.js → ProductionView-vt5M7OFl.js} +7 -7
- package/dist/{PublishView-BoyEuUAu.js → PublishView-B93jBpMw.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-D60kdiQU.js → PurchaseOrderPrintPreview-CHRnWgEH.js} +2 -2
- package/dist/{ReceiveRequestView-DhpS9JLx.js → ReceiveRequestView-DsykNduj.js} +13 -13
- package/dist/{RecipeView-Cz-Q0aio.js → RecipeView-C1KRJwD_.js} +17 -17
- package/dist/{SettingsView-BNDr4ez-.js → SettingsView-5uoZvtor.js} +226 -224
- package/dist/{StockView-bpRLYtw0.js → StockView-CFjw8sTV.js} +21 -21
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-B0wulwNM.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-EkuTLEsr.js} +1 -1
- package/dist/{SupplierView-CDHpZdob.js → SupplierView-Cz0RMHV1.js} +12 -12
- package/dist/{SurchargeView-BQ1O-fAr.js → SurchargeView-BXD2yfHT.js} +6 -6
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-DicFDlas.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-CVyTmnnl.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-D0NGjAyr.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-uaHJlzzd.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-SHMiHC5F.js → TransferDetails.vue_vue_type_script_setup_true_lang-DShpMILM.js} +1167 -1164
- package/dist/{TransferTemplateView-BRYAJdlG.js → TransferTemplateView-DzNLq8-A.js} +20 -20
- package/dist/{UnitCostHistoryView-DLLPBU9n.js → UnitCostHistoryView-AHCSzXg6.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-DTJBsfEj.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-CuLDwpz_.js} +4 -4
- package/dist/{UnitView-DwZMbt4A.js → UnitView-CQuXzism.js} +7 -7
- package/dist/{WarehouseView-DyKR9b4c.js → WarehouseView-CwtDpf_J.js} +5 -5
- package/dist/{WastageTemplateView-CZhQ7MKe.js → WastageTemplateView-CE28O1gZ.js} +14 -14
- package/dist/{app-CPHh8dJ8.js → app-BuoXiggC.js} +15 -15
- package/dist/app.js +1 -1
- package/dist/{closing-template-DV8hM9mR.js → closing-template-C1qVUaYB.js} +1 -1
- package/dist/{date2-CMYcYkVI.js → date2-BQpsoOPQ.js} +1 -1
- package/dist/{dayjs.min-Crreg1xX.js → dayjs.min-C-6FhQxs.js} +1 -1
- package/dist/{decimal-DhFDmEjW.js → decimal-bQrHKApj.js} +2 -2
- package/dist/{defineDeepModel-DSzyuBIx.js → defineDeepModel-nEhqHuqN.js} +1 -1
- package/dist/{duplicate-template-qbIou3kX.js → duplicate-template-E9mFjnug.js} +1 -1
- package/dist/{feature-Do5dZj8x.js → feature-B0AS1EQ6.js} +2 -2
- package/dist/{format-time-from-id-BbguyEMG.js → format-time-from-id-DIMT-bqD.js} +1 -1
- package/dist/{format-unit-display-C-RAKWPU.js → format-unit-display-B-mLM6e4.js} +12 -12
- package/dist/{import-export.helper-Duq-vfeY.js → import-export.helper-CbwYpiCV.js} +6 -6
- package/dist/{index-Ctrxj7cE.js → index-B35IG4Yk.js} +3 -3
- package/dist/{index-D73SJ6zk.js → index-_tt7s1OE.js} +1 -1
- package/dist/{index-75GfRz2O.js → index-dlW6ARAr.js} +1 -1
- package/dist/{inventory-core-dart.default-toC4Oswn.js → inventory-core-dart.default-LjwypePL.js} +1 -1
- package/dist/{jszip.min-DCDx15Lo.js → jszip.min-D5T4A7Ll.js} +251 -251
- package/dist/{lz-string-DIrw_osP.js → lz-string-BS_s7ZIl.js} +1 -1
- package/dist/modules/print-template/types/print-data.d.ts +1 -0
- package/dist/{netsuite-BCPPfv5q.js → netsuite-CJCV-Xun.js} +2 -2
- package/dist/{number-Dj-zUn93.js → number-Dzy12OlH.js} +3 -3
- package/dist/{predefined-templates-CkZwybVN.js → predefined-templates-DHykkVzD.js} +572 -562
- package/dist/{purchase-order-template-B96No_lH.js → purchase-order-template-BaSnDkW4.js} +1 -1
- package/dist/{recalculationUtils-lkExVizR.js → recalculationUtils-DzajZbBh.js} +1 -1
- package/dist/{rules-DjI-FPha.js → rules-CMwZOiOr.js} +2 -2
- package/dist/{stock-BLL3aLEQ.js → stock-CeOgNPCZ.js} +3 -3
- package/dist/{stock-KNrrUQF1.js → stock-CuO-Hg1Q.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{supplier-CosSdx6_.js → supplier-CNPExTUb.js} +2 -2
- package/dist/{surcharge-DFnSG3ka.js → surcharge-JxVEnWL9.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-MbRvuo5s.js → uom-rules-71IIkmUk.js} +1 -1
- package/dist/{use-ingredient-select-dialog-HqatzFkQ.js → use-ingredient-select-dialog-DNcSzjv1.js} +2 -2
- package/dist/{use-inventory-binding-dialog-CHIrX4O3.js → use-inventory-binding-dialog-BFeTdXTG.js} +2 -2
- package/dist/{use-template-enabled-locations-CZDQcsEJ.js → use-template-enabled-locations-BmRiYSuz.js} +2 -2
- package/dist/{use-transfer-locations-BRCrX_-r.js → use-transfer-locations-BlQTXhOJ.js} +2 -2
- package/dist/{useHrmPermission-B9vfKTf-.js → useHrmPermission-CgIdm6P7.js} +1 -1
- package/dist/{useNavigationMenu-DPD_pWDz.js → useNavigationMenu-hX7eAxQm.js} +2 -2
- package/dist/{useSseClient-CuljyleL.js → useSseClient-D-5Wi7LQ.js} +1 -1
- package/dist/{vue-i18n-CyoeLXfI.js → vue-i18n-D_0CiHw_.js} +1 -1
- package/dist/{xlsx.util-C6g7kacG.js → xlsx.util-DDV-UHBt.js} +2 -2
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { m as qn, i as Wn, y as zn } from "./app-
|
|
1
|
+
import { m as qn, i as Wn, y as zn } from "./app-BuoXiggC.js";
|
|
2
2
|
import { defineStore as Vn } from "pinia";
|
|
3
3
|
import { ref as mt, computed as Kn } from "vue";
|
|
4
4
|
import { useCoreStore as Yn } from "@feedmepos/mf-common";
|
|
@@ -44,7 +44,7 @@ const Jn = qn((t, e) => {
|
|
|
44
44
|
function Br(t) {
|
|
45
45
|
return Object.fromEntries(t.map((e) => [e.key, e.value]));
|
|
46
46
|
}
|
|
47
|
-
const
|
|
47
|
+
const ar = {
|
|
48
48
|
header: {
|
|
49
49
|
tag: "header",
|
|
50
50
|
label: "Header",
|
|
@@ -173,7 +173,9 @@ const sr = {
|
|
|
173
173
|
{ key: "showUnitCost", label: "Show Unit Cost Column", type: "toggle", value: !0 },
|
|
174
174
|
{ key: "unitCostLabel", label: "Unit Cost Column Label", type: "text", value: "Unit Cost" },
|
|
175
175
|
{ key: "showCost", label: "Show Cost Column", type: "toggle", value: !0 },
|
|
176
|
-
{ key: "costLabel", label: "Cost Column Label", type: "text", value: "Cost" }
|
|
176
|
+
{ key: "costLabel", label: "Cost Column Label", type: "text", value: "Cost" },
|
|
177
|
+
{ key: "showGrandTotal", label: "Show Grand Total Row", type: "toggle", value: !1 },
|
|
178
|
+
{ key: "grandTotalLabel", label: "Grand Total Label", type: "text", value: "Grand Total" }
|
|
177
179
|
],
|
|
178
180
|
template: `
|
|
179
181
|
<div style="margin-top:30px;">
|
|
@@ -200,6 +202,13 @@ const sr = {
|
|
|
200
202
|
</tr>
|
|
201
203
|
{{/each}}
|
|
202
204
|
</tbody>
|
|
205
|
+
{{#if config.showGrandTotal}}
|
|
206
|
+
<tfoot>
|
|
207
|
+
<tr>
|
|
208
|
+
<td colspan="100" style="text-align:right;padding:6px 5px;font-weight:600;color:#333;border-top:2px solid #ccc;">{{config.grandTotalLabel}}: {{costOrNA grandTotal}}</td>
|
|
209
|
+
</tr>
|
|
210
|
+
</tfoot>
|
|
211
|
+
{{/if}}
|
|
203
212
|
</table>
|
|
204
213
|
</div>`
|
|
205
214
|
},
|
|
@@ -287,11 +296,11 @@ const sr = {
|
|
|
287
296
|
}
|
|
288
297
|
};
|
|
289
298
|
function Qn(t, e) {
|
|
290
|
-
const i =
|
|
299
|
+
const i = ar[t];
|
|
291
300
|
return i ? i.template : "";
|
|
292
301
|
}
|
|
293
302
|
function pe(t) {
|
|
294
|
-
const i =
|
|
303
|
+
const i = ar[t].initialConfigFields(), c = Qn(t);
|
|
295
304
|
return { configFields: i, templateHtml: c };
|
|
296
305
|
}
|
|
297
306
|
function Ke() {
|
|
@@ -305,10 +314,10 @@ function Ke() {
|
|
|
305
314
|
{ id: "block_7", tag: "deliveryHistory", config: pe("deliveryHistory") }
|
|
306
315
|
];
|
|
307
316
|
}
|
|
308
|
-
function
|
|
317
|
+
function xa() {
|
|
309
318
|
return `block_${Date.now()}_${Math.random().toString(36).substring(2, 7)}`;
|
|
310
319
|
}
|
|
311
|
-
function
|
|
320
|
+
function Pa(t) {
|
|
312
321
|
return {
|
|
313
322
|
title: {
|
|
314
323
|
purchaseOrder: "Purchase Order",
|
|
@@ -361,6 +370,7 @@ function Ps(t) {
|
|
|
361
370
|
},
|
|
362
371
|
{ code: "SKU003", description: "Salt (1kg)", quantity: "20", unit: "pkt", received: "0" }
|
|
363
372
|
],
|
|
373
|
+
grandTotal: "MYR 225.00",
|
|
364
374
|
status: "RECEIVING",
|
|
365
375
|
deliveryOrders: [
|
|
366
376
|
{
|
|
@@ -464,7 +474,7 @@ function xe(t, e) {
|
|
|
464
474
|
}
|
|
465
475
|
return i;
|
|
466
476
|
}
|
|
467
|
-
const Ur = W(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), yt = W(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), St = W(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]),
|
|
477
|
+
const Ur = W(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), yt = W(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), St = W(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), ai = W(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), bt = W(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), si = W(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Gr = W(["#text"]), qr = W(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), Et = W(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Wr = W(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Xe = W(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), li = K(/\{\{[\w\W]*|[\w\W]*\}\}/gm), ui = K(/<%[\w\W]*|[\w\W]*%>/gm), ci = K(/\$\{[\w\W]*/gm), pi = K(/^data-[\-\w.\u00B7-\uFFFF]+$/), hi = K(/^aria-[\-\w]+$/), pn = K(
|
|
468
478
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
469
479
|
// eslint-disable-line no-useless-escape
|
|
470
480
|
), fi = K(/^(?:\w+script|data):/i), di = K(
|
|
@@ -539,10 +549,10 @@ function fn() {
|
|
|
539
549
|
Node: l,
|
|
540
550
|
Element: o,
|
|
541
551
|
NodeFilter: u,
|
|
542
|
-
NamedNodeMap:
|
|
552
|
+
NamedNodeMap: a = t.NamedNodeMap || t.MozNamedAttrMap,
|
|
543
553
|
HTMLFormElement: d,
|
|
544
554
|
DOMParser: r,
|
|
545
|
-
trustedTypes:
|
|
555
|
+
trustedTypes: s
|
|
546
556
|
} = t, n = o.prototype, v = xe(n, "cloneNode"), _ = xe(n, "remove"), b = xe(n, "nextSibling"), y = xe(n, "childNodes"), E = xe(n, "parentNode");
|
|
547
557
|
if (typeof p == "function") {
|
|
548
558
|
const L = i.createElement("template");
|
|
@@ -609,7 +619,7 @@ function fn() {
|
|
|
609
619
|
value: null
|
|
610
620
|
}
|
|
611
621
|
}));
|
|
612
|
-
let vr = !0, ot = !0, _r = !1, yr = !0, ge = !1, Fe = !0, ue = !1,
|
|
622
|
+
let vr = !0, ot = !0, _r = !1, yr = !0, ge = !1, Fe = !0, ue = !1, at = !1, st = !1, me = !1, Ue = !1, Ge = !1, Sr = !0, br = !1;
|
|
613
623
|
const Rn = "user-content-";
|
|
614
624
|
let lt = !0, ke = !1, ve = {}, $ = null;
|
|
615
625
|
const ut = P({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
@@ -630,17 +640,17 @@ function fn() {
|
|
|
630
640
|
let m = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
631
641
|
if (!(ye && ye === m)) {
|
|
632
642
|
if ((!m || typeof m != "object") && (m = {}), m = te(m), Ce = // eslint-disable-next-line unicorn/prefer-includes
|
|
633
|
-
Bn.indexOf(m.PARSER_MEDIA_TYPE) === -1 ? Hn : m.PARSER_MEDIA_TYPE, B = Ce === "application/xhtml+xml" ? vt : Ze, H = J(m, "ALLOWED_TAGS") ? P({}, m.ALLOWED_TAGS, B) : gr, F = J(m, "ALLOWED_ATTR") ? P({}, m.ALLOWED_ATTR, B) : mr, ht = J(m, "ALLOWED_NAMESPACES") ? P({}, m.ALLOWED_NAMESPACES, vt) : In, ct = J(m, "ADD_URI_SAFE_ATTR") ? P(te(Cr), m.ADD_URI_SAFE_ATTR, B) : Cr, Er = J(m, "ADD_DATA_URI_TAGS") ? P(te(kr), m.ADD_DATA_URI_TAGS, B) : kr, $ = J(m, "FORBID_CONTENTS") ? P({}, m.FORBID_CONTENTS, B) : ut, Ee = J(m, "FORBID_TAGS") ? P({}, m.FORBID_TAGS, B) : te({}), it = J(m, "FORBID_ATTR") ? P({}, m.FORBID_ATTR, B) : te({}), ve = J(m, "USE_PROFILES") ? m.USE_PROFILES : !1, vr = m.ALLOW_ARIA_ATTR !== !1, ot = m.ALLOW_DATA_ATTR !== !1, _r = m.ALLOW_UNKNOWN_PROTOCOLS || !1, yr = m.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ge = m.SAFE_FOR_TEMPLATES || !1, Fe = m.SAFE_FOR_XML !== !1, ue = m.WHOLE_DOCUMENT || !1, me = m.RETURN_DOM || !1, Ue = m.RETURN_DOM_FRAGMENT || !1, Ge = m.RETURN_TRUSTED_TYPE || !1,
|
|
643
|
+
Bn.indexOf(m.PARSER_MEDIA_TYPE) === -1 ? Hn : m.PARSER_MEDIA_TYPE, B = Ce === "application/xhtml+xml" ? vt : Ze, H = J(m, "ALLOWED_TAGS") ? P({}, m.ALLOWED_TAGS, B) : gr, F = J(m, "ALLOWED_ATTR") ? P({}, m.ALLOWED_ATTR, B) : mr, ht = J(m, "ALLOWED_NAMESPACES") ? P({}, m.ALLOWED_NAMESPACES, vt) : In, ct = J(m, "ADD_URI_SAFE_ATTR") ? P(te(Cr), m.ADD_URI_SAFE_ATTR, B) : Cr, Er = J(m, "ADD_DATA_URI_TAGS") ? P(te(kr), m.ADD_DATA_URI_TAGS, B) : kr, $ = J(m, "FORBID_CONTENTS") ? P({}, m.FORBID_CONTENTS, B) : ut, Ee = J(m, "FORBID_TAGS") ? P({}, m.FORBID_TAGS, B) : te({}), it = J(m, "FORBID_ATTR") ? P({}, m.FORBID_ATTR, B) : te({}), ve = J(m, "USE_PROFILES") ? m.USE_PROFILES : !1, vr = m.ALLOW_ARIA_ATTR !== !1, ot = m.ALLOW_DATA_ATTR !== !1, _r = m.ALLOW_UNKNOWN_PROTOCOLS || !1, yr = m.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ge = m.SAFE_FOR_TEMPLATES || !1, Fe = m.SAFE_FOR_XML !== !1, ue = m.WHOLE_DOCUMENT || !1, me = m.RETURN_DOM || !1, Ue = m.RETURN_DOM_FRAGMENT || !1, Ge = m.RETURN_TRUSTED_TYPE || !1, st = m.FORCE_BODY || !1, Sr = m.SANITIZE_DOM !== !1, br = m.SANITIZE_NAMED_PROPS || !1, lt = m.KEEP_CONTENT !== !1, ke = m.IN_PLACE || !1, dr = m.ALLOWED_URI_REGEXP || pn, _e = m.NAMESPACE || re, ze = m.MATHML_TEXT_INTEGRATION_POINTS || ze, Ve = m.HTML_INTEGRATION_POINTS || Ve, I = m.CUSTOM_ELEMENT_HANDLING || {}, m.CUSTOM_ELEMENT_HANDLING && Ar(m.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (I.tagNameCheck = m.CUSTOM_ELEMENT_HANDLING.tagNameCheck), m.CUSTOM_ELEMENT_HANDLING && Ar(m.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (I.attributeNameCheck = m.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), m.CUSTOM_ELEMENT_HANDLING && typeof m.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (I.allowCustomizedBuiltInElements = m.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ge && (ot = !1), Ue && (me = !0), ve && (H = P({}, Gr), F = [], ve.html === !0 && (P(H, Ur), P(F, qr)), ve.svg === !0 && (P(H, yt), P(F, Et), P(F, Xe)), ve.svgFilters === !0 && (P(H, St), P(F, Et), P(F, Xe)), ve.mathMl === !0 && (P(H, bt), P(F, Wr), P(F, Xe))), m.ADD_TAGS && (typeof m.ADD_TAGS == "function" ? de.tagCheck = m.ADD_TAGS : (H === gr && (H = te(H)), P(H, m.ADD_TAGS, B))), m.ADD_ATTR && (typeof m.ADD_ATTR == "function" ? de.attributeCheck = m.ADD_ATTR : (F === mr && (F = te(F)), P(F, m.ADD_ATTR, B))), m.ADD_URI_SAFE_ATTR && P(ct, m.ADD_URI_SAFE_ATTR, B), m.FORBID_CONTENTS && ($ === ut && ($ = te($)), P($, m.FORBID_CONTENTS, B)), m.ADD_FORBID_CONTENTS && ($ === ut && ($ = te($)), P($, m.ADD_FORBID_CONTENTS, B)), lt && (H["#text"] = !0), ue && P(H, ["html", "head", "body"]), H.table && (P(H, ["tbody"]), delete Ee.tbody), m.TRUSTED_TYPES_POLICY) {
|
|
634
644
|
if (typeof m.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
635
645
|
throw Le('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
636
646
|
if (typeof m.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
637
647
|
throw Le('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
638
648
|
g = m.TRUSTED_TYPES_POLICY, S = g.createHTML("");
|
|
639
649
|
} else
|
|
640
|
-
g === void 0 && (g = vi(
|
|
650
|
+
g === void 0 && (g = vi(s, h)), g !== null && typeof S == "string" && (S = g.createHTML(""));
|
|
641
651
|
W && W(m), ye = m;
|
|
642
652
|
}
|
|
643
|
-
}, wr = P({}, [...yt, ...St, ...
|
|
653
|
+
}, wr = P({}, [...yt, ...St, ...ai]), Lr = P({}, [...bt, ...si]), Un = function(m) {
|
|
644
654
|
let C = E(m);
|
|
645
655
|
(!C || !C.tagName) && (C = {
|
|
646
656
|
namespaceURI: _e,
|
|
@@ -682,7 +692,7 @@ function fn() {
|
|
|
682
692
|
}
|
|
683
693
|
}, xr = function(m) {
|
|
684
694
|
let C = null, w = null;
|
|
685
|
-
if (
|
|
695
|
+
if (st)
|
|
686
696
|
m = "<remove></remove>" + m;
|
|
687
697
|
else {
|
|
688
698
|
const D = _t(m, /^[\r\n\t ]+/);
|
|
@@ -713,7 +723,7 @@ function fn() {
|
|
|
713
723
|
null
|
|
714
724
|
);
|
|
715
725
|
}, dt = function(m) {
|
|
716
|
-
return m instanceof d && (typeof m.nodeName != "string" || typeof m.textContent != "string" || typeof m.removeChild != "function" || !(m.attributes instanceof
|
|
726
|
+
return m instanceof d && (typeof m.nodeName != "string" || typeof m.textContent != "string" || typeof m.removeChild != "function" || !(m.attributes instanceof a) || typeof m.removeAttribute != "function" || typeof m.setAttribute != "function" || typeof m.namespaceURI != "string" || typeof m.insertBefore != "function" || typeof m.hasChildNodes != "function");
|
|
717
727
|
}, Tr = function(m) {
|
|
718
728
|
return typeof l == "function" && m instanceof l;
|
|
719
729
|
};
|
|
@@ -831,8 +841,8 @@ function fn() {
|
|
|
831
841
|
ce(D, m);
|
|
832
842
|
continue;
|
|
833
843
|
}
|
|
834
|
-
if (g && typeof
|
|
835
|
-
switch (
|
|
844
|
+
if (g && typeof s == "object" && typeof s.getAttributeType == "function" && !V)
|
|
845
|
+
switch (s.getAttributeType(Ir, Se)) {
|
|
836
846
|
case "TrustedHTML": {
|
|
837
847
|
U = g.createHTML(U);
|
|
838
848
|
break;
|
|
@@ -867,7 +877,7 @@ function fn() {
|
|
|
867
877
|
throw Le("toString is not a function");
|
|
868
878
|
if (!e.isSupported)
|
|
869
879
|
return L;
|
|
870
|
-
if (
|
|
880
|
+
if (at || ft(m), e.removed = [], typeof L == "string" && (ke = !1), ke) {
|
|
871
881
|
if (L.nodeName) {
|
|
872
882
|
const ie = B(L.nodeName);
|
|
873
883
|
if (!H[ie] || Ee[ie])
|
|
@@ -882,7 +892,7 @@ function fn() {
|
|
|
882
892
|
if (C = xr(L), !C)
|
|
883
893
|
return me ? null : Ge ? S : "";
|
|
884
894
|
}
|
|
885
|
-
C &&
|
|
895
|
+
C && st && ee(C.firstChild);
|
|
886
896
|
const D = Pr(ke ? L : C);
|
|
887
897
|
for (; R = D.nextNode(); )
|
|
888
898
|
Or(R), Rr(R), R.content instanceof f && Gn(R.content);
|
|
@@ -903,9 +913,9 @@ function fn() {
|
|
|
903
913
|
}), g && Ge ? g.createHTML(V) : V;
|
|
904
914
|
}, e.setConfig = function() {
|
|
905
915
|
let L = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
906
|
-
ft(L),
|
|
916
|
+
ft(L), at = !0;
|
|
907
917
|
}, e.clearConfig = function() {
|
|
908
|
-
ye = null,
|
|
918
|
+
ye = null, at = !1;
|
|
909
919
|
}, e.isValidAttribute = function(L, m, C) {
|
|
910
920
|
ye || ft({});
|
|
911
921
|
const w = B(L), R = B(m);
|
|
@@ -1026,7 +1036,7 @@ function yi(t, e) {
|
|
|
1026
1036
|
value: je(i.value)
|
|
1027
1037
|
} : i);
|
|
1028
1038
|
}
|
|
1029
|
-
function
|
|
1039
|
+
function Ta(t) {
|
|
1030
1040
|
return t.map((e) => e.config ? {
|
|
1031
1041
|
...e,
|
|
1032
1042
|
config: {
|
|
@@ -1063,17 +1073,17 @@ function dn(t) {
|
|
|
1063
1073
|
Object.prototype.hasOwnProperty.call(arguments[e], i) && (t[i] = arguments[e][i]);
|
|
1064
1074
|
return t;
|
|
1065
1075
|
}
|
|
1066
|
-
var
|
|
1067
|
-
M.toString =
|
|
1076
|
+
var sr = Object.prototype.toString;
|
|
1077
|
+
M.toString = sr;
|
|
1068
1078
|
var Bt = function(e) {
|
|
1069
1079
|
return typeof e == "function";
|
|
1070
1080
|
};
|
|
1071
1081
|
Bt(/x/) && (M.isFunction = Bt = function(t) {
|
|
1072
|
-
return typeof t == "function" &&
|
|
1082
|
+
return typeof t == "function" && sr.call(t) === "[object Function]";
|
|
1073
1083
|
});
|
|
1074
1084
|
M.isFunction = Bt;
|
|
1075
1085
|
var gn = Array.isArray || function(t) {
|
|
1076
|
-
return t && typeof t == "object" ?
|
|
1086
|
+
return t && typeof t == "object" ? sr.call(t) === "[object Array]" : !1;
|
|
1077
1087
|
};
|
|
1078
1088
|
M.isArray = gn;
|
|
1079
1089
|
function Ci(t, e) {
|
|
@@ -1112,8 +1122,8 @@ var Ht = { exports: {} };
|
|
|
1112
1122
|
e.__esModule = !0;
|
|
1113
1123
|
var i = ["description", "fileName", "lineNumber", "endLineNumber", "message", "name", "number", "stack"];
|
|
1114
1124
|
function c(h, f) {
|
|
1115
|
-
var p = f && f.loc, l = void 0, o = void 0, u = void 0,
|
|
1116
|
-
p && (l = p.start.line, o = p.end.line, u = p.start.column,
|
|
1125
|
+
var p = f && f.loc, l = void 0, o = void 0, u = void 0, a = void 0;
|
|
1126
|
+
p && (l = p.start.line, o = p.end.line, u = p.start.column, a = p.end.column, h += " - " + l + ":" + u);
|
|
1117
1127
|
for (var d = Error.prototype.constructor.call(this, h), r = 0; r < i.length; r++)
|
|
1118
1128
|
this[i[r]] = d[i[r]];
|
|
1119
1129
|
Error.captureStackTrace && Error.captureStackTrace(this, c);
|
|
@@ -1122,9 +1132,9 @@ var Ht = { exports: {} };
|
|
|
1122
1132
|
value: u,
|
|
1123
1133
|
enumerable: !0
|
|
1124
1134
|
}), Object.defineProperty(this, "endColumn", {
|
|
1125
|
-
value:
|
|
1135
|
+
value: a,
|
|
1126
1136
|
enumerable: !0
|
|
1127
|
-
})) : (this.column = u, this.endColumn =
|
|
1137
|
+
})) : (this.column = u, this.endColumn = a));
|
|
1128
1138
|
} catch {
|
|
1129
1139
|
}
|
|
1130
1140
|
}
|
|
@@ -1162,11 +1172,11 @@ var Ti = Ft.exports, Ut = { exports: {} };
|
|
|
1162
1172
|
p.registerHelper("each", function(l, o) {
|
|
1163
1173
|
if (!o)
|
|
1164
1174
|
throw new f.default("Must pass iterator to #each");
|
|
1165
|
-
var u = o.fn,
|
|
1166
|
-
o.data && o.ids && (n = c.appendContextPath(o.data.contextPath, o.ids[0]) + "."), c.isFunction(l) && (l = l.call(this)), o.data && (
|
|
1175
|
+
var u = o.fn, a = o.inverse, d = 0, r = "", s = void 0, n = void 0;
|
|
1176
|
+
o.data && o.ids && (n = c.appendContextPath(o.data.contextPath, o.ids[0]) + "."), c.isFunction(l) && (l = l.call(this)), o.data && (s = c.createFrame(o.data));
|
|
1167
1177
|
function v(g, S, A) {
|
|
1168
|
-
|
|
1169
|
-
data:
|
|
1178
|
+
s && (s.key = g, s.index = S, s.first = S === 0, s.last = !!A, n && (s.contextPath = n + g)), r = r + u(l[g], {
|
|
1179
|
+
data: s,
|
|
1170
1180
|
blockParams: c.blockParams([l[g], g], [n + g, null])
|
|
1171
1181
|
});
|
|
1172
1182
|
}
|
|
@@ -1187,7 +1197,7 @@ var Ti = Ft.exports, Ut = { exports: {} };
|
|
|
1187
1197
|
g !== void 0 && v(g, d - 1), g = S, d++;
|
|
1188
1198
|
}), g !== void 0 && v(g, d - 1, !0);
|
|
1189
1199
|
})();
|
|
1190
|
-
return d === 0 && (r =
|
|
1200
|
+
return d === 0 && (r = a(this)), r;
|
|
1191
1201
|
});
|
|
1192
1202
|
}, t.exports = e.default;
|
|
1193
1203
|
})(Ut, Ut.exports);
|
|
@@ -1262,10 +1272,10 @@ var Ii = zt.exports, Vt = { exports: {} };
|
|
|
1262
1272
|
var u = o.fn;
|
|
1263
1273
|
if (c.isEmpty(l))
|
|
1264
1274
|
return o.inverse(this);
|
|
1265
|
-
var
|
|
1266
|
-
return o.data && o.ids && (
|
|
1267
|
-
data:
|
|
1268
|
-
blockParams: c.blockParams([l], [
|
|
1275
|
+
var a = o.data;
|
|
1276
|
+
return o.data && o.ids && (a = c.createFrame(o.data), a.contextPath = c.appendContextPath(o.data.contextPath, o.ids[0])), u(l, {
|
|
1277
|
+
data: a,
|
|
1278
|
+
blockParams: c.blockParams([l], [a && a.contextPath])
|
|
1269
1279
|
});
|
|
1270
1280
|
});
|
|
1271
1281
|
}, t.exports = e.default;
|
|
@@ -1291,10 +1301,10 @@ var lr = {}, Kt = { exports: {} };
|
|
|
1291
1301
|
e.default = function(c) {
|
|
1292
1302
|
c.registerDecorator("inline", function(h, f, p, l) {
|
|
1293
1303
|
var o = h;
|
|
1294
|
-
return f.partials || (f.partials = {}, o = function(u,
|
|
1304
|
+
return f.partials || (f.partials = {}, o = function(u, a) {
|
|
1295
1305
|
var d = p.partials;
|
|
1296
1306
|
p.partials = i.extend({}, d, f.partials);
|
|
1297
|
-
var r = h(u,
|
|
1307
|
+
var r = h(u, a);
|
|
1298
1308
|
return p.partials = d, r;
|
|
1299
1309
|
}), f.partials[l.args[0]] = l.fn, o;
|
|
1300
1310
|
});
|
|
@@ -1350,10 +1360,10 @@ be.__esModule = !0;
|
|
|
1350
1360
|
be.createProtoAccessControl = uo;
|
|
1351
1361
|
be.resultIsAllowed = co;
|
|
1352
1362
|
be.resetLoggedProperties = ho;
|
|
1353
|
-
function
|
|
1363
|
+
function ao(t) {
|
|
1354
1364
|
return t && t.__esModule ? t : { default: t };
|
|
1355
1365
|
}
|
|
1356
|
-
var Kr = ur,
|
|
1366
|
+
var Kr = ur, so = mn, lo = ao(so), tt = /* @__PURE__ */ Object.create(null);
|
|
1357
1367
|
function uo(t) {
|
|
1358
1368
|
var e = /* @__PURE__ */ Object.create(null);
|
|
1359
1369
|
e.constructor = !1, e.__defineGetter__ = !1, e.__defineSetter__ = !1, e.__lookupGetter__ = !1;
|
|
@@ -1503,21 +1513,21 @@ function Lo(t) {
|
|
|
1503
1513
|
Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
|
|
1504
1514
|
return e.default = t, e;
|
|
1505
1515
|
}
|
|
1506
|
-
var xo = M, oe = Lo(xo), Po = Q,
|
|
1516
|
+
var xo = M, oe = Lo(xo), Po = Q, ae = wo(Po), se = Y, Xr = Ie, To = cr, Jr = be;
|
|
1507
1517
|
function Oo(t) {
|
|
1508
|
-
var e = t && t[0] || 1, i =
|
|
1509
|
-
if (!(e >=
|
|
1510
|
-
if (e <
|
|
1511
|
-
var c =
|
|
1512
|
-
throw new
|
|
1518
|
+
var e = t && t[0] || 1, i = se.COMPILER_REVISION;
|
|
1519
|
+
if (!(e >= se.LAST_COMPATIBLE_COMPILER_REVISION && e <= se.COMPILER_REVISION))
|
|
1520
|
+
if (e < se.LAST_COMPATIBLE_COMPILER_REVISION) {
|
|
1521
|
+
var c = se.REVISION_CHANGES[i], h = se.REVISION_CHANGES[e];
|
|
1522
|
+
throw new ae.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version (" + c + ") or downgrade your runtime to an older version (" + h + ").");
|
|
1513
1523
|
} else
|
|
1514
|
-
throw new
|
|
1524
|
+
throw new ae.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version (" + t[1] + ").");
|
|
1515
1525
|
}
|
|
1516
1526
|
function Mo(t, e) {
|
|
1517
1527
|
if (!e)
|
|
1518
|
-
throw new
|
|
1528
|
+
throw new ae.default("No environment passed to template");
|
|
1519
1529
|
if (!t || !t.main)
|
|
1520
|
-
throw new
|
|
1530
|
+
throw new ae.default("Unknown template object: " + typeof t);
|
|
1521
1531
|
t.main.decorator = t.main_d, e.VM.checkRevision(t.compiler);
|
|
1522
1532
|
var i = t.compiler && t.compiler[0] === 7;
|
|
1523
1533
|
function c(p, l, o) {
|
|
@@ -1525,23 +1535,23 @@ function Mo(t, e) {
|
|
|
1525
1535
|
var u = oe.extend({}, o, {
|
|
1526
1536
|
hooks: this.hooks,
|
|
1527
1537
|
protoAccessControl: this.protoAccessControl
|
|
1528
|
-
}),
|
|
1529
|
-
if (
|
|
1538
|
+
}), a = e.VM.invokePartial.call(this, p, l, u);
|
|
1539
|
+
if (a == null && e.compile && (o.partials[o.name] = e.compile(p, t.compilerOptions, e), a = o.partials[o.name](l, u)), a != null) {
|
|
1530
1540
|
if (o.indent) {
|
|
1531
|
-
for (var d =
|
|
1532
|
-
`), r = 0,
|
|
1541
|
+
for (var d = a.split(`
|
|
1542
|
+
`), r = 0, s = d.length; r < s && !(!d[r] && r + 1 === s); r++)
|
|
1533
1543
|
d[r] = o.indent + d[r];
|
|
1534
|
-
|
|
1544
|
+
a = d.join(`
|
|
1535
1545
|
`);
|
|
1536
1546
|
}
|
|
1537
|
-
return
|
|
1547
|
+
return a;
|
|
1538
1548
|
} else
|
|
1539
|
-
throw new
|
|
1549
|
+
throw new ae.default("The partial " + o.name + " could not be compiled when running in runtime-only mode");
|
|
1540
1550
|
}
|
|
1541
1551
|
var h = {
|
|
1542
1552
|
strict: function(l, o, u) {
|
|
1543
1553
|
if (!l || !(o in l))
|
|
1544
|
-
throw new
|
|
1554
|
+
throw new ae.default('"' + o + '" not defined in ' + l, {
|
|
1545
1555
|
loc: u
|
|
1546
1556
|
});
|
|
1547
1557
|
return h.lookupProperty(l, o);
|
|
@@ -1552,10 +1562,10 @@ function Mo(t, e) {
|
|
|
1552
1562
|
return u;
|
|
1553
1563
|
},
|
|
1554
1564
|
lookup: function(l, o) {
|
|
1555
|
-
for (var u = l.length,
|
|
1556
|
-
var d = l[
|
|
1565
|
+
for (var u = l.length, a = 0; a < u; a++) {
|
|
1566
|
+
var d = l[a] && h.lookupProperty(l[a], o);
|
|
1557
1567
|
if (d != null)
|
|
1558
|
-
return l[
|
|
1568
|
+
return l[a][o];
|
|
1559
1569
|
}
|
|
1560
1570
|
},
|
|
1561
1571
|
lambda: function(l, o) {
|
|
@@ -1568,9 +1578,9 @@ function Mo(t, e) {
|
|
|
1568
1578
|
return o.decorator = t[l + "_d"], o;
|
|
1569
1579
|
},
|
|
1570
1580
|
programs: [],
|
|
1571
|
-
program: function(l, o, u,
|
|
1572
|
-
var r = this.programs[l],
|
|
1573
|
-
return o || d ||
|
|
1581
|
+
program: function(l, o, u, a, d) {
|
|
1582
|
+
var r = this.programs[l], s = this.fn(l);
|
|
1583
|
+
return o || d || a || u ? r = $e(this, l, s, o, u, a, d) : r || (r = this.programs[l] = $e(this, l, s)), r;
|
|
1574
1584
|
},
|
|
1575
1585
|
data: function(l, o) {
|
|
1576
1586
|
for (; l && o--; )
|
|
@@ -1589,12 +1599,12 @@ function Mo(t, e) {
|
|
|
1589
1599
|
function f(p) {
|
|
1590
1600
|
var l = arguments.length <= 1 || arguments[1] === void 0 ? {} : arguments[1], o = l.data;
|
|
1591
1601
|
f._setup(l), !l.partial && t.useData && (o = Io(p, o));
|
|
1592
|
-
var u = void 0,
|
|
1602
|
+
var u = void 0, a = t.useBlockParams ? [] : void 0;
|
|
1593
1603
|
t.useDepths && (l.depths ? u = p != l.depths[0] ? [p].concat(l.depths) : l.depths : u = [p]);
|
|
1594
1604
|
function d(r) {
|
|
1595
|
-
return "" + t.main(h, r, h.helpers, h.partials, o,
|
|
1605
|
+
return "" + t.main(h, r, h.helpers, h.partials, o, a, u);
|
|
1596
1606
|
}
|
|
1597
|
-
return d = yn(t.main, d, h, l.depths || [], o,
|
|
1607
|
+
return d = yn(t.main, d, h, l.depths || [], o, a), d(p, l);
|
|
1598
1608
|
}
|
|
1599
1609
|
return f.isTop = !0, f._setup = function(p) {
|
|
1600
1610
|
if (p.partial)
|
|
@@ -1607,16 +1617,16 @@ function Mo(t, e) {
|
|
|
1607
1617
|
}
|
|
1608
1618
|
}, f._child = function(p, l, o, u) {
|
|
1609
1619
|
if (t.useBlockParams && !o)
|
|
1610
|
-
throw new
|
|
1620
|
+
throw new ae.default("must pass block params");
|
|
1611
1621
|
if (t.useDepths && !u)
|
|
1612
|
-
throw new
|
|
1622
|
+
throw new ae.default("must pass parent depths");
|
|
1613
1623
|
return $e(h, p, t[p], l, 0, o, u);
|
|
1614
1624
|
}, f;
|
|
1615
1625
|
}
|
|
1616
1626
|
function $e(t, e, i, c, h, f, p) {
|
|
1617
1627
|
function l(o) {
|
|
1618
|
-
var u = arguments.length <= 1 || arguments[1] === void 0 ? {} : arguments[1],
|
|
1619
|
-
return p && o != p[0] && !(o === t.nullContext && p[0] === null) && (
|
|
1628
|
+
var u = arguments.length <= 1 || arguments[1] === void 0 ? {} : arguments[1], a = p;
|
|
1629
|
+
return p && o != p[0] && !(o === t.nullContext && p[0] === null) && (a = [o].concat(p)), i(t, o, t.helpers, t.partials, u.data || c, f && [u.blockParams].concat(f), a);
|
|
1620
1630
|
}
|
|
1621
1631
|
return l = yn(i, l, t, p, c, f), l.program = e, l.depth = p ? p.length : 0, l.blockParams = h || 0, l;
|
|
1622
1632
|
}
|
|
@@ -1628,14 +1638,14 @@ function Ro(t, e, i) {
|
|
|
1628
1638
|
i.partial = !0, i.ids && (i.data.contextPath = i.ids[0] || i.data.contextPath);
|
|
1629
1639
|
var h = void 0;
|
|
1630
1640
|
if (i.fn && i.fn !== _n && function() {
|
|
1631
|
-
i.data =
|
|
1641
|
+
i.data = se.createFrame(i.data);
|
|
1632
1642
|
var f = i.fn;
|
|
1633
1643
|
h = i.data["partial-block"] = function(l) {
|
|
1634
1644
|
var o = arguments.length <= 1 || arguments[1] === void 0 ? {} : arguments[1];
|
|
1635
|
-
return o.data =
|
|
1645
|
+
return o.data = se.createFrame(o.data), o.data["partial-block"] = c, f(l, o);
|
|
1636
1646
|
}, f.partials && (i.partials = oe.extend({}, i.partials, f.partials));
|
|
1637
1647
|
}(), t === void 0 && h && (t = h), t === void 0)
|
|
1638
|
-
throw new
|
|
1648
|
+
throw new ae.default("The partial " + i.name + " could not be found");
|
|
1639
1649
|
if (t instanceof Function)
|
|
1640
1650
|
return t(e, i);
|
|
1641
1651
|
}
|
|
@@ -1643,7 +1653,7 @@ function _n() {
|
|
|
1643
1653
|
return "";
|
|
1644
1654
|
}
|
|
1645
1655
|
function Io(t, e) {
|
|
1646
|
-
return (!e || !("root" in e)) && (e = e ?
|
|
1656
|
+
return (!e || !("root" in e)) && (e = e ? se.createFrame(e) : {}, e.root = t), e;
|
|
1647
1657
|
}
|
|
1648
1658
|
function yn(t, e, i, c, h, f) {
|
|
1649
1659
|
if (t.decorator) {
|
|
@@ -1693,11 +1703,11 @@ var Sn = Qt.exports;
|
|
|
1693
1703
|
Object.prototype.hasOwnProperty.call(y, g) && (E[g] = y[g]);
|
|
1694
1704
|
return E.default = y, E;
|
|
1695
1705
|
}
|
|
1696
|
-
var h = Y, f = c(h), p = Co, l = i(p), o = Q, u = i(o),
|
|
1706
|
+
var h = Y, f = c(h), p = Co, l = i(p), o = Q, u = i(o), a = M, d = c(a), r = le, s = c(r), n = Sn, v = i(n);
|
|
1697
1707
|
function _() {
|
|
1698
1708
|
var y = new f.HandlebarsEnvironment();
|
|
1699
|
-
return d.extend(y, f), y.SafeString = l.default, y.Exception = u.default, y.Utils = d, y.escapeExpression = d.escapeExpression, y.VM =
|
|
1700
|
-
return
|
|
1709
|
+
return d.extend(y, f), y.SafeString = l.default, y.Exception = u.default, y.Utils = d, y.escapeExpression = d.escapeExpression, y.VM = s, y.template = function(E) {
|
|
1710
|
+
return s.template(E, y);
|
|
1701
1711
|
}, y;
|
|
1702
1712
|
}
|
|
1703
1713
|
var b = _();
|
|
@@ -1738,13 +1748,13 @@ var bn = Zt.exports, De = {}, jt = { exports: {} };
|
|
|
1738
1748
|
symbols_: { error: 2, root: 3, program: 4, EOF: 5, program_repetition0: 6, statement: 7, mustache: 8, block: 9, rawBlock: 10, partial: 11, partialBlock: 12, content: 13, COMMENT: 14, CONTENT: 15, openRawBlock: 16, rawBlock_repetition0: 17, END_RAW_BLOCK: 18, OPEN_RAW_BLOCK: 19, helperName: 20, openRawBlock_repetition0: 21, openRawBlock_option0: 22, CLOSE_RAW_BLOCK: 23, openBlock: 24, block_option0: 25, closeBlock: 26, openInverse: 27, block_option1: 28, OPEN_BLOCK: 29, openBlock_repetition0: 30, openBlock_option0: 31, openBlock_option1: 32, CLOSE: 33, OPEN_INVERSE: 34, openInverse_repetition0: 35, openInverse_option0: 36, openInverse_option1: 37, openInverseChain: 38, OPEN_INVERSE_CHAIN: 39, openInverseChain_repetition0: 40, openInverseChain_option0: 41, openInverseChain_option1: 42, inverseAndProgram: 43, INVERSE: 44, inverseChain: 45, inverseChain_option0: 46, OPEN_ENDBLOCK: 47, OPEN: 48, mustache_repetition0: 49, mustache_option0: 50, OPEN_UNESCAPED: 51, mustache_repetition1: 52, mustache_option1: 53, CLOSE_UNESCAPED: 54, OPEN_PARTIAL: 55, partialName: 56, partial_repetition0: 57, partial_option0: 58, openPartialBlock: 59, OPEN_PARTIAL_BLOCK: 60, openPartialBlock_repetition0: 61, openPartialBlock_option0: 62, param: 63, sexpr: 64, OPEN_SEXPR: 65, sexpr_repetition0: 66, sexpr_option0: 67, CLOSE_SEXPR: 68, hash: 69, hash_repetition_plus0: 70, hashSegment: 71, ID: 72, EQUALS: 73, blockParams: 74, OPEN_BLOCK_PARAMS: 75, blockParams_repetition_plus0: 76, CLOSE_BLOCK_PARAMS: 77, path: 78, dataName: 79, STRING: 80, NUMBER: 81, BOOLEAN: 82, UNDEFINED: 83, NULL: 84, DATA: 85, pathSegments: 86, SEP: 87, $accept: 0, $end: 1 },
|
|
1739
1749
|
terminals_: { 2: "error", 5: "EOF", 14: "COMMENT", 15: "CONTENT", 18: "END_RAW_BLOCK", 19: "OPEN_RAW_BLOCK", 23: "CLOSE_RAW_BLOCK", 29: "OPEN_BLOCK", 33: "CLOSE", 34: "OPEN_INVERSE", 39: "OPEN_INVERSE_CHAIN", 44: "INVERSE", 47: "OPEN_ENDBLOCK", 48: "OPEN", 51: "OPEN_UNESCAPED", 54: "CLOSE_UNESCAPED", 55: "OPEN_PARTIAL", 60: "OPEN_PARTIAL_BLOCK", 65: "OPEN_SEXPR", 68: "CLOSE_SEXPR", 72: "ID", 73: "EQUALS", 75: "OPEN_BLOCK_PARAMS", 77: "CLOSE_BLOCK_PARAMS", 80: "STRING", 81: "NUMBER", 82: "BOOLEAN", 83: "UNDEFINED", 84: "NULL", 85: "DATA", 87: "SEP" },
|
|
1740
1750
|
productions_: [0, [3, 2], [4, 1], [7, 1], [7, 1], [7, 1], [7, 1], [7, 1], [7, 1], [7, 1], [13, 1], [10, 3], [16, 5], [9, 4], [9, 4], [24, 6], [27, 6], [38, 6], [43, 2], [45, 3], [45, 1], [26, 3], [8, 5], [8, 5], [11, 5], [12, 3], [59, 5], [63, 1], [63, 1], [64, 5], [69, 1], [71, 3], [74, 3], [20, 1], [20, 1], [20, 1], [20, 1], [20, 1], [20, 1], [20, 1], [56, 1], [56, 1], [79, 2], [78, 1], [86, 3], [86, 1], [6, 0], [6, 2], [17, 0], [17, 2], [21, 0], [21, 2], [22, 0], [22, 1], [25, 0], [25, 1], [28, 0], [28, 1], [30, 0], [30, 2], [31, 0], [31, 1], [32, 0], [32, 1], [35, 0], [35, 2], [36, 0], [36, 1], [37, 0], [37, 1], [40, 0], [40, 2], [41, 0], [41, 1], [42, 0], [42, 1], [46, 0], [46, 1], [49, 0], [49, 2], [50, 0], [50, 1], [52, 0], [52, 2], [53, 0], [53, 1], [57, 0], [57, 2], [58, 0], [58, 1], [61, 0], [61, 2], [62, 0], [62, 1], [66, 0], [66, 2], [67, 0], [67, 1], [70, 1], [70, 2], [76, 1], [76, 2]],
|
|
1741
|
-
performAction: function(l, o, u,
|
|
1751
|
+
performAction: function(l, o, u, a, d, r, s) {
|
|
1742
1752
|
var n = r.length - 1;
|
|
1743
1753
|
switch (d) {
|
|
1744
1754
|
case 1:
|
|
1745
1755
|
return r[n - 1];
|
|
1746
1756
|
case 2:
|
|
1747
|
-
this.$ =
|
|
1757
|
+
this.$ = a.prepareProgram(r[n]);
|
|
1748
1758
|
break;
|
|
1749
1759
|
case 3:
|
|
1750
1760
|
this.$ = r[n];
|
|
@@ -1767,9 +1777,9 @@ var bn = Zt.exports, De = {}, jt = { exports: {} };
|
|
|
1767
1777
|
case 9:
|
|
1768
1778
|
this.$ = {
|
|
1769
1779
|
type: "CommentStatement",
|
|
1770
|
-
value:
|
|
1771
|
-
strip:
|
|
1772
|
-
loc:
|
|
1780
|
+
value: a.stripComment(r[n]),
|
|
1781
|
+
strip: a.stripFlags(r[n], r[n]),
|
|
1782
|
+
loc: a.locInfo(this._$)
|
|
1773
1783
|
};
|
|
1774
1784
|
break;
|
|
1775
1785
|
case 10:
|
|
@@ -1777,48 +1787,48 @@ var bn = Zt.exports, De = {}, jt = { exports: {} };
|
|
|
1777
1787
|
type: "ContentStatement",
|
|
1778
1788
|
original: r[n],
|
|
1779
1789
|
value: r[n],
|
|
1780
|
-
loc:
|
|
1790
|
+
loc: a.locInfo(this._$)
|
|
1781
1791
|
};
|
|
1782
1792
|
break;
|
|
1783
1793
|
case 11:
|
|
1784
|
-
this.$ =
|
|
1794
|
+
this.$ = a.prepareRawBlock(r[n - 2], r[n - 1], r[n], this._$);
|
|
1785
1795
|
break;
|
|
1786
1796
|
case 12:
|
|
1787
1797
|
this.$ = { path: r[n - 3], params: r[n - 2], hash: r[n - 1] };
|
|
1788
1798
|
break;
|
|
1789
1799
|
case 13:
|
|
1790
|
-
this.$ =
|
|
1800
|
+
this.$ = a.prepareBlock(r[n - 3], r[n - 2], r[n - 1], r[n], !1, this._$);
|
|
1791
1801
|
break;
|
|
1792
1802
|
case 14:
|
|
1793
|
-
this.$ =
|
|
1803
|
+
this.$ = a.prepareBlock(r[n - 3], r[n - 2], r[n - 1], r[n], !0, this._$);
|
|
1794
1804
|
break;
|
|
1795
1805
|
case 15:
|
|
1796
|
-
this.$ = { open: r[n - 5], path: r[n - 4], params: r[n - 3], hash: r[n - 2], blockParams: r[n - 1], strip:
|
|
1806
|
+
this.$ = { open: r[n - 5], path: r[n - 4], params: r[n - 3], hash: r[n - 2], blockParams: r[n - 1], strip: a.stripFlags(r[n - 5], r[n]) };
|
|
1797
1807
|
break;
|
|
1798
1808
|
case 16:
|
|
1799
|
-
this.$ = { path: r[n - 4], params: r[n - 3], hash: r[n - 2], blockParams: r[n - 1], strip:
|
|
1809
|
+
this.$ = { path: r[n - 4], params: r[n - 3], hash: r[n - 2], blockParams: r[n - 1], strip: a.stripFlags(r[n - 5], r[n]) };
|
|
1800
1810
|
break;
|
|
1801
1811
|
case 17:
|
|
1802
|
-
this.$ = { path: r[n - 4], params: r[n - 3], hash: r[n - 2], blockParams: r[n - 1], strip:
|
|
1812
|
+
this.$ = { path: r[n - 4], params: r[n - 3], hash: r[n - 2], blockParams: r[n - 1], strip: a.stripFlags(r[n - 5], r[n]) };
|
|
1803
1813
|
break;
|
|
1804
1814
|
case 18:
|
|
1805
|
-
this.$ = { strip:
|
|
1815
|
+
this.$ = { strip: a.stripFlags(r[n - 1], r[n - 1]), program: r[n] };
|
|
1806
1816
|
break;
|
|
1807
1817
|
case 19:
|
|
1808
|
-
var v =
|
|
1818
|
+
var v = a.prepareBlock(r[n - 2], r[n - 1], r[n], r[n], !1, this._$), _ = a.prepareProgram([v], r[n - 1].loc);
|
|
1809
1819
|
_.chained = !0, this.$ = { strip: r[n - 2].strip, program: _, chain: !0 };
|
|
1810
1820
|
break;
|
|
1811
1821
|
case 20:
|
|
1812
1822
|
this.$ = r[n];
|
|
1813
1823
|
break;
|
|
1814
1824
|
case 21:
|
|
1815
|
-
this.$ = { path: r[n - 1], strip:
|
|
1825
|
+
this.$ = { path: r[n - 1], strip: a.stripFlags(r[n - 2], r[n]) };
|
|
1816
1826
|
break;
|
|
1817
1827
|
case 22:
|
|
1818
|
-
this.$ =
|
|
1828
|
+
this.$ = a.prepareMustache(r[n - 3], r[n - 2], r[n - 1], r[n - 4], a.stripFlags(r[n - 4], r[n]), this._$);
|
|
1819
1829
|
break;
|
|
1820
1830
|
case 23:
|
|
1821
|
-
this.$ =
|
|
1831
|
+
this.$ = a.prepareMustache(r[n - 3], r[n - 2], r[n - 1], r[n - 4], a.stripFlags(r[n - 4], r[n]), this._$);
|
|
1822
1832
|
break;
|
|
1823
1833
|
case 24:
|
|
1824
1834
|
this.$ = {
|
|
@@ -1827,15 +1837,15 @@ var bn = Zt.exports, De = {}, jt = { exports: {} };
|
|
|
1827
1837
|
params: r[n - 2],
|
|
1828
1838
|
hash: r[n - 1],
|
|
1829
1839
|
indent: "",
|
|
1830
|
-
strip:
|
|
1831
|
-
loc:
|
|
1840
|
+
strip: a.stripFlags(r[n - 4], r[n]),
|
|
1841
|
+
loc: a.locInfo(this._$)
|
|
1832
1842
|
};
|
|
1833
1843
|
break;
|
|
1834
1844
|
case 25:
|
|
1835
|
-
this.$ =
|
|
1845
|
+
this.$ = a.preparePartialBlock(r[n - 2], r[n - 1], r[n], this._$);
|
|
1836
1846
|
break;
|
|
1837
1847
|
case 26:
|
|
1838
|
-
this.$ = { path: r[n - 3], params: r[n - 2], hash: r[n - 1], strip:
|
|
1848
|
+
this.$ = { path: r[n - 3], params: r[n - 2], hash: r[n - 1], strip: a.stripFlags(r[n - 4], r[n]) };
|
|
1839
1849
|
break;
|
|
1840
1850
|
case 27:
|
|
1841
1851
|
this.$ = r[n];
|
|
@@ -1849,17 +1859,17 @@ var bn = Zt.exports, De = {}, jt = { exports: {} };
|
|
|
1849
1859
|
path: r[n - 3],
|
|
1850
1860
|
params: r[n - 2],
|
|
1851
1861
|
hash: r[n - 1],
|
|
1852
|
-
loc:
|
|
1862
|
+
loc: a.locInfo(this._$)
|
|
1853
1863
|
};
|
|
1854
1864
|
break;
|
|
1855
1865
|
case 30:
|
|
1856
|
-
this.$ = { type: "Hash", pairs: r[n], loc:
|
|
1866
|
+
this.$ = { type: "Hash", pairs: r[n], loc: a.locInfo(this._$) };
|
|
1857
1867
|
break;
|
|
1858
1868
|
case 31:
|
|
1859
|
-
this.$ = { type: "HashPair", key:
|
|
1869
|
+
this.$ = { type: "HashPair", key: a.id(r[n - 2]), value: r[n], loc: a.locInfo(this._$) };
|
|
1860
1870
|
break;
|
|
1861
1871
|
case 32:
|
|
1862
|
-
this.$ =
|
|
1872
|
+
this.$ = a.id(r[n - 1]);
|
|
1863
1873
|
break;
|
|
1864
1874
|
case 33:
|
|
1865
1875
|
this.$ = r[n];
|
|
@@ -1868,19 +1878,19 @@ var bn = Zt.exports, De = {}, jt = { exports: {} };
|
|
|
1868
1878
|
this.$ = r[n];
|
|
1869
1879
|
break;
|
|
1870
1880
|
case 35:
|
|
1871
|
-
this.$ = { type: "StringLiteral", value: r[n], original: r[n], loc:
|
|
1881
|
+
this.$ = { type: "StringLiteral", value: r[n], original: r[n], loc: a.locInfo(this._$) };
|
|
1872
1882
|
break;
|
|
1873
1883
|
case 36:
|
|
1874
|
-
this.$ = { type: "NumberLiteral", value: Number(r[n]), original: Number(r[n]), loc:
|
|
1884
|
+
this.$ = { type: "NumberLiteral", value: Number(r[n]), original: Number(r[n]), loc: a.locInfo(this._$) };
|
|
1875
1885
|
break;
|
|
1876
1886
|
case 37:
|
|
1877
|
-
this.$ = { type: "BooleanLiteral", value: r[n] === "true", original: r[n] === "true", loc:
|
|
1887
|
+
this.$ = { type: "BooleanLiteral", value: r[n] === "true", original: r[n] === "true", loc: a.locInfo(this._$) };
|
|
1878
1888
|
break;
|
|
1879
1889
|
case 38:
|
|
1880
|
-
this.$ = { type: "UndefinedLiteral", original: void 0, value: void 0, loc:
|
|
1890
|
+
this.$ = { type: "UndefinedLiteral", original: void 0, value: void 0, loc: a.locInfo(this._$) };
|
|
1881
1891
|
break;
|
|
1882
1892
|
case 39:
|
|
1883
|
-
this.$ = { type: "NullLiteral", original: null, value: null, loc:
|
|
1893
|
+
this.$ = { type: "NullLiteral", original: null, value: null, loc: a.locInfo(this._$) };
|
|
1884
1894
|
break;
|
|
1885
1895
|
case 40:
|
|
1886
1896
|
this.$ = r[n];
|
|
@@ -1889,16 +1899,16 @@ var bn = Zt.exports, De = {}, jt = { exports: {} };
|
|
|
1889
1899
|
this.$ = r[n];
|
|
1890
1900
|
break;
|
|
1891
1901
|
case 42:
|
|
1892
|
-
this.$ =
|
|
1902
|
+
this.$ = a.preparePath(!0, r[n], this._$);
|
|
1893
1903
|
break;
|
|
1894
1904
|
case 43:
|
|
1895
|
-
this.$ =
|
|
1905
|
+
this.$ = a.preparePath(!1, r[n], this._$);
|
|
1896
1906
|
break;
|
|
1897
1907
|
case 44:
|
|
1898
|
-
r[n - 2].push({ part:
|
|
1908
|
+
r[n - 2].push({ part: a.id(r[n]), original: r[n], separator: r[n - 1] }), this.$ = r[n - 2];
|
|
1899
1909
|
break;
|
|
1900
1910
|
case 45:
|
|
1901
|
-
this.$ = [{ part:
|
|
1911
|
+
this.$ = [{ part: a.id(r[n]), original: r[n] }];
|
|
1902
1912
|
break;
|
|
1903
1913
|
case 46:
|
|
1904
1914
|
this.$ = [];
|
|
@@ -1986,7 +1996,7 @@ var bn = Zt.exports, De = {}, jt = { exports: {} };
|
|
|
1986
1996
|
throw new Error(l);
|
|
1987
1997
|
},
|
|
1988
1998
|
parse: function(l) {
|
|
1989
|
-
var o = this, u = [0],
|
|
1999
|
+
var o = this, u = [0], a = [null], d = [], r = this.table, s = "", n = 0, v = 0;
|
|
1990
2000
|
this.lexer.setInput(l), this.lexer.yy = this.yy, this.yy.lexer = this.lexer, this.yy.parser = this, typeof this.lexer.yylloc > "u" && (this.lexer.yylloc = {});
|
|
1991
2001
|
var _ = this.lexer.yylloc;
|
|
1992
2002
|
d.push(_);
|
|
@@ -2011,12 +2021,12 @@ Expecting ` + T.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : Z = "
|
|
|
2011
2021
|
throw new Error("Parse Error: multiple actions possible at state: " + g + ", token: " + E);
|
|
2012
2022
|
switch (S[0]) {
|
|
2013
2023
|
case 1:
|
|
2014
|
-
u.push(E),
|
|
2024
|
+
u.push(E), a.push(this.lexer.yytext), d.push(this.lexer.yylloc), u.push(S[1]), E = null, v = this.lexer.yyleng, s = this.lexer.yytext, n = this.lexer.yylineno, _ = this.lexer.yylloc;
|
|
2015
2025
|
break;
|
|
2016
2026
|
case 2:
|
|
2017
|
-
if (N = this.productions_[S[1]][1], k.$ =
|
|
2027
|
+
if (N = this.productions_[S[1]][1], k.$ = a[a.length - N], k._$ = { first_line: d[d.length - (N || 1)].first_line, last_line: d[d.length - 1].last_line, first_column: d[d.length - (N || 1)].first_column, last_column: d[d.length - 1].last_column }, b && (k._$.range = [d[d.length - (N || 1)].range[0], d[d.length - 1].range[1]]), A = this.performAction.call(k, s, v, n, this.yy, S[1], a, d), typeof A < "u")
|
|
2018
2028
|
return A;
|
|
2019
|
-
N && (u = u.slice(0, -1 * N * 2),
|
|
2029
|
+
N && (u = u.slice(0, -1 * N * 2), a = a.slice(0, -1 * N), d = d.slice(0, -1 * N)), u.push(this.productions_[S[1]][0]), a.push(k.$), d.push(k._$), O = r[u[u.length - 2]][u[u.length - 1]], u.push(O);
|
|
2020
2030
|
break;
|
|
2021
2031
|
case 3:
|
|
2022
2032
|
return !0;
|
|
@@ -2043,16 +2053,16 @@ Expecting ` + T.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : Z = "
|
|
|
2043
2053
|
return u ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), o;
|
|
2044
2054
|
},
|
|
2045
2055
|
unput: function(o) {
|
|
2046
|
-
var u = o.length,
|
|
2056
|
+
var u = o.length, a = o.split(/(?:\r\n?|\n)/g);
|
|
2047
2057
|
this._input = o + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - u - 1), this.offset -= u;
|
|
2048
2058
|
var d = this.match.split(/(?:\r\n?|\n)/g);
|
|
2049
|
-
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1),
|
|
2059
|
+
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), a.length - 1 && (this.yylineno -= a.length - 1);
|
|
2050
2060
|
var r = this.yylloc.range;
|
|
2051
2061
|
return this.yylloc = {
|
|
2052
2062
|
first_line: this.yylloc.first_line,
|
|
2053
2063
|
last_line: this.yylineno + 1,
|
|
2054
2064
|
first_column: this.yylloc.first_column,
|
|
2055
|
-
last_column:
|
|
2065
|
+
last_column: a ? (a.length === d.length ? this.yylloc.first_column : 0) + d[d.length - a.length].length - a[0].length : this.yylloc.first_column - u
|
|
2056
2066
|
}, this.options.ranges && (this.yylloc.range = [r[0], r[0] + this.yyleng - u]), this;
|
|
2057
2067
|
},
|
|
2058
2068
|
more: function() {
|
|
@@ -2078,16 +2088,16 @@ Expecting ` + T.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : Z = "
|
|
|
2078
2088
|
if (this.done)
|
|
2079
2089
|
return this.EOF;
|
|
2080
2090
|
this._input || (this.done = !0);
|
|
2081
|
-
var o, u,
|
|
2091
|
+
var o, u, a, d, r;
|
|
2082
2092
|
this._more || (this.yytext = "", this.match = "");
|
|
2083
|
-
for (var
|
|
2093
|
+
for (var s = this._currentRules(), n = 0; n < s.length && (a = this._input.match(this.rules[s[n]]), !(a && (!u || a[0].length > u[0].length) && (u = a, d = n, !this.options.flex))); n++)
|
|
2084
2094
|
;
|
|
2085
2095
|
return u ? (r = u[0].match(/(?:\r\n?|\n).*/g), r && (this.yylineno += r.length), this.yylloc = {
|
|
2086
2096
|
first_line: this.yylloc.last_line,
|
|
2087
2097
|
last_line: this.yylineno + 1,
|
|
2088
2098
|
first_column: this.yylloc.last_column,
|
|
2089
2099
|
last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + u[0].length
|
|
2090
|
-
}, this.yytext += u[0], this.match += u[0], this.matches = u, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._input = this._input.slice(u[0].length), this.matched += u[0], o = this.performAction.call(this, this.yy, this,
|
|
2100
|
+
}, this.yytext += u[0], this.match += u[0], this.matches = u, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._input = this._input.slice(u[0].length), this.matched += u[0], o = this.performAction.call(this, this.yy, this, s[d], this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), o || void 0) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
|
|
2091
2101
|
` + this.showPosition(), { text: "", token: null, line: this.yylineno });
|
|
2092
2102
|
},
|
|
2093
2103
|
lex: function() {
|
|
@@ -2110,11 +2120,11 @@ Expecting ` + T.join(", ") + ", got '" + (this.terminals_[E] || E) + "'" : Z = "
|
|
|
2110
2120
|
this.begin(o);
|
|
2111
2121
|
}
|
|
2112
2122
|
};
|
|
2113
|
-
return p.options = {}, p.performAction = function(o, u,
|
|
2114
|
-
function r(
|
|
2115
|
-
return u.yytext = u.yytext.substring(
|
|
2123
|
+
return p.options = {}, p.performAction = function(o, u, a, d) {
|
|
2124
|
+
function r(s, n) {
|
|
2125
|
+
return u.yytext = u.yytext.substring(s, u.yyleng - n + s);
|
|
2116
2126
|
}
|
|
2117
|
-
switch (
|
|
2127
|
+
switch (a) {
|
|
2118
2128
|
case 0:
|
|
2119
2129
|
if (u.yytext.slice(-2) === "\\\\" ? (r(0, 1), this.begin("mu")) : u.yytext.slice(-1) === "\\" ? (r(0, 1), this.begin("emu")) : this.begin("mu"), u.yytext) return 15;
|
|
2120
2130
|
break;
|
|
@@ -2232,48 +2242,48 @@ var Fo = jt.exports, $t = { exports: {} }, er = { exports: {} };
|
|
|
2232
2242
|
constructor: f,
|
|
2233
2243
|
mutating: !1,
|
|
2234
2244
|
// Visits a given value. If mutating, will replace the value if necessary.
|
|
2235
|
-
acceptKey: function(
|
|
2236
|
-
var r = this.accept(
|
|
2245
|
+
acceptKey: function(a, d) {
|
|
2246
|
+
var r = this.accept(a[d]);
|
|
2237
2247
|
if (this.mutating) {
|
|
2238
2248
|
if (r && !f.prototype[r.type])
|
|
2239
|
-
throw new h.default('Unexpected node type "' + r.type + '" found when accepting ' + d + " on " +
|
|
2240
|
-
|
|
2249
|
+
throw new h.default('Unexpected node type "' + r.type + '" found when accepting ' + d + " on " + a.type);
|
|
2250
|
+
a[d] = r;
|
|
2241
2251
|
}
|
|
2242
2252
|
},
|
|
2243
2253
|
// Performs an accept operation with added sanity check to ensure
|
|
2244
2254
|
// required keys are not removed.
|
|
2245
|
-
acceptRequired: function(
|
|
2246
|
-
if (this.acceptKey(
|
|
2247
|
-
throw new h.default(
|
|
2255
|
+
acceptRequired: function(a, d) {
|
|
2256
|
+
if (this.acceptKey(a, d), !a[d])
|
|
2257
|
+
throw new h.default(a.type + " requires " + d);
|
|
2248
2258
|
},
|
|
2249
2259
|
// Traverses a given array. If mutating, empty respnses will be removed
|
|
2250
2260
|
// for child elements.
|
|
2251
|
-
acceptArray: function(
|
|
2252
|
-
for (var d = 0, r =
|
|
2253
|
-
this.acceptKey(
|
|
2261
|
+
acceptArray: function(a) {
|
|
2262
|
+
for (var d = 0, r = a.length; d < r; d++)
|
|
2263
|
+
this.acceptKey(a, d), a[d] || (a.splice(d, 1), d--, r--);
|
|
2254
2264
|
},
|
|
2255
|
-
accept: function(
|
|
2256
|
-
if (
|
|
2257
|
-
if (!this[
|
|
2258
|
-
throw new h.default("Unknown type: " +
|
|
2259
|
-
this.current && this.parents.unshift(this.current), this.current =
|
|
2260
|
-
var d = this[
|
|
2265
|
+
accept: function(a) {
|
|
2266
|
+
if (a) {
|
|
2267
|
+
if (!this[a.type])
|
|
2268
|
+
throw new h.default("Unknown type: " + a.type, a);
|
|
2269
|
+
this.current && this.parents.unshift(this.current), this.current = a;
|
|
2270
|
+
var d = this[a.type](a);
|
|
2261
2271
|
if (this.current = this.parents.shift(), !this.mutating || d)
|
|
2262
2272
|
return d;
|
|
2263
2273
|
if (d !== !1)
|
|
2264
|
-
return
|
|
2274
|
+
return a;
|
|
2265
2275
|
}
|
|
2266
2276
|
},
|
|
2267
|
-
Program: function(
|
|
2268
|
-
this.acceptArray(
|
|
2277
|
+
Program: function(a) {
|
|
2278
|
+
this.acceptArray(a.body);
|
|
2269
2279
|
},
|
|
2270
2280
|
MustacheStatement: p,
|
|
2271
2281
|
Decorator: p,
|
|
2272
2282
|
BlockStatement: l,
|
|
2273
2283
|
DecoratorBlock: l,
|
|
2274
2284
|
PartialStatement: o,
|
|
2275
|
-
PartialBlockStatement: function(
|
|
2276
|
-
o.call(this,
|
|
2285
|
+
PartialBlockStatement: function(a) {
|
|
2286
|
+
o.call(this, a), this.acceptKey(a, "program");
|
|
2277
2287
|
},
|
|
2278
2288
|
ContentStatement: function() {
|
|
2279
2289
|
},
|
|
@@ -2292,11 +2302,11 @@ var Fo = jt.exports, $t = { exports: {} }, er = { exports: {} };
|
|
|
2292
2302
|
},
|
|
2293
2303
|
NullLiteral: function() {
|
|
2294
2304
|
},
|
|
2295
|
-
Hash: function(
|
|
2296
|
-
this.acceptArray(
|
|
2305
|
+
Hash: function(a) {
|
|
2306
|
+
this.acceptArray(a.pairs);
|
|
2297
2307
|
},
|
|
2298
|
-
HashPair: function(
|
|
2299
|
-
this.acceptRequired(
|
|
2308
|
+
HashPair: function(a) {
|
|
2309
|
+
this.acceptRequired(a, "value");
|
|
2300
2310
|
}
|
|
2301
2311
|
};
|
|
2302
2312
|
function p(u) {
|
|
@@ -2313,82 +2323,82 @@ var Fo = jt.exports, $t = { exports: {} }, er = { exports: {} };
|
|
|
2313
2323
|
var En = er.exports;
|
|
2314
2324
|
(function(t, e) {
|
|
2315
2325
|
e.__esModule = !0;
|
|
2316
|
-
function i(
|
|
2317
|
-
return
|
|
2326
|
+
function i(a) {
|
|
2327
|
+
return a && a.__esModule ? a : { default: a };
|
|
2318
2328
|
}
|
|
2319
2329
|
var c = En, h = i(c);
|
|
2320
2330
|
function f() {
|
|
2321
|
-
var
|
|
2322
|
-
this.options =
|
|
2331
|
+
var a = arguments.length <= 0 || arguments[0] === void 0 ? {} : arguments[0];
|
|
2332
|
+
this.options = a;
|
|
2323
2333
|
}
|
|
2324
|
-
f.prototype = new h.default(), f.prototype.Program = function(
|
|
2334
|
+
f.prototype = new h.default(), f.prototype.Program = function(a) {
|
|
2325
2335
|
var d = !this.options.ignoreStandalone, r = !this.isRootSeen;
|
|
2326
2336
|
this.isRootSeen = !0;
|
|
2327
|
-
for (var
|
|
2328
|
-
var _ =
|
|
2337
|
+
for (var s = a.body, n = 0, v = s.length; n < v; n++) {
|
|
2338
|
+
var _ = s[n], b = this.accept(_);
|
|
2329
2339
|
if (b) {
|
|
2330
|
-
var y = p(
|
|
2331
|
-
b.close && o(
|
|
2340
|
+
var y = p(s, n, r), E = l(s, n, r), g = b.openStandalone && y, S = b.closeStandalone && E, A = b.inlineStandalone && y && E;
|
|
2341
|
+
b.close && o(s, n, !0), b.open && u(s, n, !0), d && A && (o(s, n), u(s, n) && _.type === "PartialStatement" && (_.indent = /([ \t]+$)/.exec(s[n - 1].original)[1])), d && g && (o((_.program || _.inverse).body), u(s, n)), d && S && (o(s, n), u((_.inverse || _.program).body));
|
|
2332
2342
|
}
|
|
2333
2343
|
}
|
|
2334
|
-
return
|
|
2335
|
-
}, f.prototype.BlockStatement = f.prototype.DecoratorBlock = f.prototype.PartialBlockStatement = function(
|
|
2336
|
-
this.accept(
|
|
2337
|
-
var d =
|
|
2344
|
+
return a;
|
|
2345
|
+
}, f.prototype.BlockStatement = f.prototype.DecoratorBlock = f.prototype.PartialBlockStatement = function(a) {
|
|
2346
|
+
this.accept(a.program), this.accept(a.inverse);
|
|
2347
|
+
var d = a.program || a.inverse, r = a.program && a.inverse, s = r, n = r;
|
|
2338
2348
|
if (r && r.chained)
|
|
2339
|
-
for (
|
|
2349
|
+
for (s = r.body[0].program; n.chained; )
|
|
2340
2350
|
n = n.body[n.body.length - 1].program;
|
|
2341
2351
|
var v = {
|
|
2342
|
-
open:
|
|
2343
|
-
close:
|
|
2352
|
+
open: a.openStrip.open,
|
|
2353
|
+
close: a.closeStrip.close,
|
|
2344
2354
|
// Determine the standalone candiacy. Basically flag our content as being possibly standalone
|
|
2345
2355
|
// so our parent can determine if we actually are standalone
|
|
2346
2356
|
openStandalone: l(d.body),
|
|
2347
|
-
closeStandalone: p((
|
|
2357
|
+
closeStandalone: p((s || d).body)
|
|
2348
2358
|
};
|
|
2349
|
-
if (
|
|
2350
|
-
var _ =
|
|
2351
|
-
_.open && u(d.body, null, !0), _.close && o(
|
|
2352
|
-
} else
|
|
2359
|
+
if (a.openStrip.close && o(d.body, null, !0), r) {
|
|
2360
|
+
var _ = a.inverseStrip;
|
|
2361
|
+
_.open && u(d.body, null, !0), _.close && o(s.body, null, !0), a.closeStrip.open && u(n.body, null, !0), !this.options.ignoreStandalone && p(d.body) && l(s.body) && (u(d.body), o(s.body));
|
|
2362
|
+
} else a.closeStrip.open && u(d.body, null, !0);
|
|
2353
2363
|
return v;
|
|
2354
|
-
}, f.prototype.Decorator = f.prototype.MustacheStatement = function(
|
|
2355
|
-
return
|
|
2356
|
-
}, f.prototype.PartialStatement = f.prototype.CommentStatement = function(
|
|
2357
|
-
var d =
|
|
2364
|
+
}, f.prototype.Decorator = f.prototype.MustacheStatement = function(a) {
|
|
2365
|
+
return a.strip;
|
|
2366
|
+
}, f.prototype.PartialStatement = f.prototype.CommentStatement = function(a) {
|
|
2367
|
+
var d = a.strip || {};
|
|
2358
2368
|
return {
|
|
2359
2369
|
inlineStandalone: !0,
|
|
2360
2370
|
open: d.open,
|
|
2361
2371
|
close: d.close
|
|
2362
2372
|
};
|
|
2363
2373
|
};
|
|
2364
|
-
function p(
|
|
2365
|
-
d === void 0 && (d =
|
|
2366
|
-
var
|
|
2367
|
-
if (!
|
|
2374
|
+
function p(a, d, r) {
|
|
2375
|
+
d === void 0 && (d = a.length);
|
|
2376
|
+
var s = a[d - 1], n = a[d - 2];
|
|
2377
|
+
if (!s)
|
|
2368
2378
|
return r;
|
|
2369
|
-
if (
|
|
2370
|
-
return (n || !r ? /\r?\n\s*?$/ : /(^|\r?\n)\s*?$/).test(
|
|
2379
|
+
if (s.type === "ContentStatement")
|
|
2380
|
+
return (n || !r ? /\r?\n\s*?$/ : /(^|\r?\n)\s*?$/).test(s.original);
|
|
2371
2381
|
}
|
|
2372
|
-
function l(
|
|
2382
|
+
function l(a, d, r) {
|
|
2373
2383
|
d === void 0 && (d = -1);
|
|
2374
|
-
var
|
|
2375
|
-
if (!
|
|
2384
|
+
var s = a[d + 1], n = a[d + 2];
|
|
2385
|
+
if (!s)
|
|
2376
2386
|
return r;
|
|
2377
|
-
if (
|
|
2378
|
-
return (n || !r ? /^\s*?\r?\n/ : /^\s*?(\r?\n|$)/).test(
|
|
2387
|
+
if (s.type === "ContentStatement")
|
|
2388
|
+
return (n || !r ? /^\s*?\r?\n/ : /^\s*?(\r?\n|$)/).test(s.original);
|
|
2379
2389
|
}
|
|
2380
|
-
function o(
|
|
2381
|
-
var
|
|
2382
|
-
if (!(!
|
|
2383
|
-
var n =
|
|
2384
|
-
|
|
2390
|
+
function o(a, d, r) {
|
|
2391
|
+
var s = a[d == null ? 0 : d + 1];
|
|
2392
|
+
if (!(!s || s.type !== "ContentStatement" || !r && s.rightStripped)) {
|
|
2393
|
+
var n = s.value;
|
|
2394
|
+
s.value = s.value.replace(r ? /^\s+/ : /^[ \t]*\r?\n?/, ""), s.rightStripped = s.value !== n;
|
|
2385
2395
|
}
|
|
2386
2396
|
}
|
|
2387
|
-
function u(
|
|
2388
|
-
var
|
|
2389
|
-
if (!(!
|
|
2390
|
-
var n =
|
|
2391
|
-
return
|
|
2397
|
+
function u(a, d, r) {
|
|
2398
|
+
var s = a[d == null ? a.length - 1 : d - 1];
|
|
2399
|
+
if (!(!s || s.type !== "ContentStatement" || !r && s.leftStripped)) {
|
|
2400
|
+
var n = s.value;
|
|
2401
|
+
return s.value = s.value.replace(r ? /\s+$/ : /[ \t]+$/, ""), s.leftStripped = s.value !== n, s.leftStripped;
|
|
2392
2402
|
}
|
|
2393
2403
|
}
|
|
2394
2404
|
e.default = f, t.exports = e.default;
|
|
@@ -2547,7 +2557,7 @@ function jo(t, e, i, c) {
|
|
|
2547
2557
|
}
|
|
2548
2558
|
De.__esModule = !0;
|
|
2549
2559
|
De.parseWithoutProcessing = Cn;
|
|
2550
|
-
De.parse =
|
|
2560
|
+
De.parse = aa;
|
|
2551
2561
|
function $o(t) {
|
|
2552
2562
|
if (t && t.__esModule)
|
|
2553
2563
|
return t;
|
|
@@ -2560,10 +2570,10 @@ function $o(t) {
|
|
|
2560
2570
|
function kn(t) {
|
|
2561
2571
|
return t && t.__esModule ? t : { default: t };
|
|
2562
2572
|
}
|
|
2563
|
-
var
|
|
2573
|
+
var ea = Fo, tr = kn(ea), ta = Uo, ra = kn(ta), na = X, ia = $o(na), oa = M;
|
|
2564
2574
|
De.parser = tr.default;
|
|
2565
2575
|
var et = {};
|
|
2566
|
-
|
|
2576
|
+
oa.extend(et, ia);
|
|
2567
2577
|
function Cn(t, e) {
|
|
2568
2578
|
if (t.type === "Program")
|
|
2569
2579
|
return t;
|
|
@@ -2573,19 +2583,19 @@ function Cn(t, e) {
|
|
|
2573
2583
|
var i = tr.default.parse(t);
|
|
2574
2584
|
return i;
|
|
2575
2585
|
}
|
|
2576
|
-
function
|
|
2577
|
-
var i = Cn(t, e), c = new
|
|
2586
|
+
function aa(t, e) {
|
|
2587
|
+
var i = Cn(t, e), c = new ra.default(e);
|
|
2578
2588
|
return c.accept(i);
|
|
2579
2589
|
}
|
|
2580
2590
|
var Be = {};
|
|
2581
2591
|
Be.__esModule = !0;
|
|
2582
2592
|
Be.Compiler = rr;
|
|
2583
|
-
Be.precompile =
|
|
2584
|
-
Be.compile =
|
|
2593
|
+
Be.precompile = ca;
|
|
2594
|
+
Be.compile = pa;
|
|
2585
2595
|
function An(t) {
|
|
2586
2596
|
return t && t.__esModule ? t : { default: t };
|
|
2587
2597
|
}
|
|
2588
|
-
var
|
|
2598
|
+
var sa = Q, Ne = An(sa), Re = M, la = bn, Te = An(la), ua = [].slice;
|
|
2589
2599
|
function rr() {
|
|
2590
2600
|
}
|
|
2591
2601
|
rr.prototype = {
|
|
@@ -2728,7 +2738,7 @@ rr.prototype = {
|
|
|
2728
2738
|
opcode: function(e) {
|
|
2729
2739
|
this.opcodes.push({
|
|
2730
2740
|
opcode: e,
|
|
2731
|
-
args:
|
|
2741
|
+
args: ua.call(arguments, 1),
|
|
2732
2742
|
loc: this.sourceNode[0].loc
|
|
2733
2743
|
});
|
|
2734
2744
|
},
|
|
@@ -2775,14 +2785,14 @@ rr.prototype = {
|
|
|
2775
2785
|
}
|
|
2776
2786
|
}
|
|
2777
2787
|
};
|
|
2778
|
-
function
|
|
2788
|
+
function ca(t, e, i) {
|
|
2779
2789
|
if (t == null || typeof t != "string" && t.type !== "Program")
|
|
2780
2790
|
throw new Ne.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed " + t);
|
|
2781
2791
|
e = e || {}, "data" in e || (e.data = !0), e.compat && (e.useDepths = !0);
|
|
2782
2792
|
var c = i.parse(t, e), h = new i.Compiler().compile(c, e);
|
|
2783
2793
|
return new i.JavaScriptCompiler().compile(h, e);
|
|
2784
2794
|
}
|
|
2785
|
-
function
|
|
2795
|
+
function pa(t, e, i) {
|
|
2786
2796
|
if (e === void 0 && (e = {}), t == null || typeof t != "string" && t.type !== "Program")
|
|
2787
2797
|
throw new Ne.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed " + t);
|
|
2788
2798
|
e = Re.extend({}, e), "data" in e || (e.data = !0), e.compat && (e.useDepths = !0);
|
|
@@ -2824,7 +2834,7 @@ function Qr(t) {
|
|
|
2824
2834
|
}
|
|
2825
2835
|
}
|
|
2826
2836
|
var nr = { exports: {} }, ir = { exports: {} }, Oe = {}, At = {}, Je = {}, Qe = {}, Zr;
|
|
2827
|
-
function
|
|
2837
|
+
function ha() {
|
|
2828
2838
|
if (Zr) return Qe;
|
|
2829
2839
|
Zr = 1;
|
|
2830
2840
|
var t = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");
|
|
@@ -2833,15 +2843,15 @@ function hs() {
|
|
|
2833
2843
|
return t[e];
|
|
2834
2844
|
throw new TypeError("Must be between 0 and 63: " + e);
|
|
2835
2845
|
}, Qe.decode = function(e) {
|
|
2836
|
-
var i = 65, c = 90, h = 97, f = 122, p = 48, l = 57, o = 43, u = 47,
|
|
2837
|
-
return i <= e && e <= c ? e - i : h <= e && e <= f ? e - h +
|
|
2846
|
+
var i = 65, c = 90, h = 97, f = 122, p = 48, l = 57, o = 43, u = 47, a = 26, d = 52;
|
|
2847
|
+
return i <= e && e <= c ? e - i : h <= e && e <= f ? e - h + a : p <= e && e <= l ? e - p + d : e == o ? 62 : e == u ? 63 : -1;
|
|
2838
2848
|
}, Qe;
|
|
2839
2849
|
}
|
|
2840
2850
|
var jr;
|
|
2841
2851
|
function Ln() {
|
|
2842
2852
|
if (jr) return Je;
|
|
2843
2853
|
jr = 1;
|
|
2844
|
-
var t =
|
|
2854
|
+
var t = ha(), e = 5, i = 1 << e, c = i - 1, h = i;
|
|
2845
2855
|
function f(l) {
|
|
2846
2856
|
return l < 0 ? (-l << 1) + 1 : (l << 1) + 0;
|
|
2847
2857
|
}
|
|
@@ -2850,21 +2860,21 @@ function Ln() {
|
|
|
2850
2860
|
return o ? -u : u;
|
|
2851
2861
|
}
|
|
2852
2862
|
return Je.encode = function(o) {
|
|
2853
|
-
var u = "",
|
|
2863
|
+
var u = "", a, d = f(o);
|
|
2854
2864
|
do
|
|
2855
|
-
|
|
2865
|
+
a = d & c, d >>>= e, d > 0 && (a |= h), u += t.encode(a);
|
|
2856
2866
|
while (d > 0);
|
|
2857
2867
|
return u;
|
|
2858
|
-
}, Je.decode = function(o, u,
|
|
2859
|
-
var d = o.length, r = 0,
|
|
2868
|
+
}, Je.decode = function(o, u, a) {
|
|
2869
|
+
var d = o.length, r = 0, s = 0, n, v;
|
|
2860
2870
|
do {
|
|
2861
2871
|
if (u >= d)
|
|
2862
2872
|
throw new Error("Expected more digits in base 64 VLQ value.");
|
|
2863
2873
|
if (v = t.decode(o.charCodeAt(u++)), v === -1)
|
|
2864
2874
|
throw new Error("Invalid base64 digit: " + o.charAt(u - 1));
|
|
2865
|
-
n = !!(v & h), v &= c, r = r + (v <<
|
|
2875
|
+
n = !!(v & h), v &= c, r = r + (v << s), s += e;
|
|
2866
2876
|
} while (n);
|
|
2867
|
-
|
|
2877
|
+
a.value = p(r), a.rest = u;
|
|
2868
2878
|
}, Je;
|
|
2869
2879
|
}
|
|
2870
2880
|
var wt = {}, $r;
|
|
@@ -2937,18 +2947,18 @@ function He() {
|
|
|
2937
2947
|
var g = /* @__PURE__ */ Object.create(null);
|
|
2938
2948
|
return !("__proto__" in g);
|
|
2939
2949
|
}();
|
|
2940
|
-
function
|
|
2950
|
+
function a(g) {
|
|
2941
2951
|
return g;
|
|
2942
2952
|
}
|
|
2943
2953
|
function d(g) {
|
|
2944
|
-
return
|
|
2954
|
+
return s(g) ? "$" + g : g;
|
|
2945
2955
|
}
|
|
2946
|
-
t.toSetString = u ?
|
|
2956
|
+
t.toSetString = u ? a : d;
|
|
2947
2957
|
function r(g) {
|
|
2948
|
-
return
|
|
2958
|
+
return s(g) ? g.slice(1) : g;
|
|
2949
2959
|
}
|
|
2950
|
-
t.fromSetString = u ?
|
|
2951
|
-
function
|
|
2960
|
+
t.fromSetString = u ? a : r;
|
|
2961
|
+
function s(g) {
|
|
2952
2962
|
if (!g)
|
|
2953
2963
|
return !1;
|
|
2954
2964
|
var S = g.length;
|
|
@@ -3039,7 +3049,7 @@ function xn() {
|
|
|
3039
3049
|
}, Lt.ArraySet = c, Lt;
|
|
3040
3050
|
}
|
|
3041
3051
|
var xt = {}, tn;
|
|
3042
|
-
function
|
|
3052
|
+
function fa() {
|
|
3043
3053
|
if (tn) return xt;
|
|
3044
3054
|
tn = 1;
|
|
3045
3055
|
var t = He();
|
|
@@ -3062,7 +3072,7 @@ var rn;
|
|
|
3062
3072
|
function Pn() {
|
|
3063
3073
|
if (rn) return At;
|
|
3064
3074
|
rn = 1;
|
|
3065
|
-
var t = Ln(), e = He(), i = xn().ArraySet, c =
|
|
3075
|
+
var t = Ln(), e = He(), i = xn().ArraySet, c = fa().MappingList;
|
|
3066
3076
|
function h(f) {
|
|
3067
3077
|
f || (f = {}), this._file = e.getArg(f, "file", null), this._sourceRoot = e.getArg(f, "sourceRoot", null), this._skipValidation = e.getArg(f, "skipValidation", !1), this._sources = new i(), this._names = new i(), this._mappings = new c(), this._sourcesContents = null;
|
|
3068
3078
|
}
|
|
@@ -3072,31 +3082,31 @@ function Pn() {
|
|
|
3072
3082
|
sourceRoot: l
|
|
3073
3083
|
});
|
|
3074
3084
|
return p.eachMapping(function(u) {
|
|
3075
|
-
var
|
|
3085
|
+
var a = {
|
|
3076
3086
|
generated: {
|
|
3077
3087
|
line: u.generatedLine,
|
|
3078
3088
|
column: u.generatedColumn
|
|
3079
3089
|
}
|
|
3080
3090
|
};
|
|
3081
|
-
u.source != null && (
|
|
3091
|
+
u.source != null && (a.source = u.source, l != null && (a.source = e.relative(l, a.source)), a.original = {
|
|
3082
3092
|
line: u.originalLine,
|
|
3083
3093
|
column: u.originalColumn
|
|
3084
|
-
}, u.name != null && (
|
|
3094
|
+
}, u.name != null && (a.name = u.name)), o.addMapping(a);
|
|
3085
3095
|
}), p.sources.forEach(function(u) {
|
|
3086
|
-
var
|
|
3087
|
-
l !== null && (
|
|
3096
|
+
var a = u;
|
|
3097
|
+
l !== null && (a = e.relative(l, u)), o._sources.has(a) || o._sources.add(a);
|
|
3088
3098
|
var d = p.sourceContentFor(u);
|
|
3089
3099
|
d != null && o.setSourceContent(u, d);
|
|
3090
3100
|
}), o;
|
|
3091
3101
|
}, h.prototype.addMapping = function(p) {
|
|
3092
|
-
var l = e.getArg(p, "generated"), o = e.getArg(p, "original", null), u = e.getArg(p, "source", null),
|
|
3093
|
-
this._skipValidation || this._validateMapping(l, o, u,
|
|
3102
|
+
var l = e.getArg(p, "generated"), o = e.getArg(p, "original", null), u = e.getArg(p, "source", null), a = e.getArg(p, "name", null);
|
|
3103
|
+
this._skipValidation || this._validateMapping(l, o, u, a), u != null && (u = String(u), this._sources.has(u) || this._sources.add(u)), a != null && (a = String(a), this._names.has(a) || this._names.add(a)), this._mappings.add({
|
|
3094
3104
|
generatedLine: l.line,
|
|
3095
3105
|
generatedColumn: l.column,
|
|
3096
3106
|
originalLine: o != null && o.line,
|
|
3097
3107
|
originalColumn: o != null && o.column,
|
|
3098
3108
|
source: u,
|
|
3099
|
-
name:
|
|
3109
|
+
name: a
|
|
3100
3110
|
});
|
|
3101
3111
|
}, h.prototype.setSourceContent = function(p, l) {
|
|
3102
3112
|
var o = p;
|
|
@@ -3110,24 +3120,24 @@ function Pn() {
|
|
|
3110
3120
|
);
|
|
3111
3121
|
u = p.file;
|
|
3112
3122
|
}
|
|
3113
|
-
var
|
|
3114
|
-
|
|
3123
|
+
var a = this._sourceRoot;
|
|
3124
|
+
a != null && (u = e.relative(a, u));
|
|
3115
3125
|
var d = new i(), r = new i();
|
|
3116
|
-
this._mappings.unsortedForEach(function(
|
|
3117
|
-
if (
|
|
3126
|
+
this._mappings.unsortedForEach(function(s) {
|
|
3127
|
+
if (s.source === u && s.originalLine != null) {
|
|
3118
3128
|
var n = p.originalPositionFor({
|
|
3119
|
-
line:
|
|
3120
|
-
column:
|
|
3129
|
+
line: s.originalLine,
|
|
3130
|
+
column: s.originalColumn
|
|
3121
3131
|
});
|
|
3122
|
-
n.source != null && (
|
|
3132
|
+
n.source != null && (s.source = n.source, o != null && (s.source = e.join(o, s.source)), a != null && (s.source = e.relative(a, s.source)), s.originalLine = n.line, s.originalColumn = n.column, n.name != null && (s.name = n.name));
|
|
3123
3133
|
}
|
|
3124
|
-
var v =
|
|
3134
|
+
var v = s.source;
|
|
3125
3135
|
v != null && !d.has(v) && d.add(v);
|
|
3126
|
-
var _ =
|
|
3136
|
+
var _ = s.name;
|
|
3127
3137
|
_ != null && !r.has(_) && r.add(_);
|
|
3128
|
-
}, this), this._sources = d, this._names = r, p.sources.forEach(function(
|
|
3129
|
-
var n = p.sourceContentFor(
|
|
3130
|
-
n != null && (o != null && (
|
|
3138
|
+
}, this), this._sources = d, this._names = r, p.sources.forEach(function(s) {
|
|
3139
|
+
var n = p.sourceContentFor(s);
|
|
3140
|
+
n != null && (o != null && (s = e.join(o, s)), a != null && (s = e.relative(a, s)), this.setSourceContent(s, n));
|
|
3131
3141
|
}, this);
|
|
3132
3142
|
}, h.prototype._validateMapping = function(p, l, o, u) {
|
|
3133
3143
|
if (l && typeof l.line != "number" && typeof l.column != "number")
|
|
@@ -3145,16 +3155,16 @@ function Pn() {
|
|
|
3145
3155
|
}));
|
|
3146
3156
|
}
|
|
3147
3157
|
}, h.prototype._serializeMappings = function() {
|
|
3148
|
-
for (var p = 0, l = 1, o = 0, u = 0,
|
|
3149
|
-
if (n = b[y],
|
|
3158
|
+
for (var p = 0, l = 1, o = 0, u = 0, a = 0, d = 0, r = "", s, n, v, _, b = this._mappings.toArray(), y = 0, E = b.length; y < E; y++) {
|
|
3159
|
+
if (n = b[y], s = "", n.generatedLine !== l)
|
|
3150
3160
|
for (p = 0; n.generatedLine !== l; )
|
|
3151
|
-
|
|
3161
|
+
s += ";", l++;
|
|
3152
3162
|
else if (y > 0) {
|
|
3153
3163
|
if (!e.compareByGeneratedPositionsInflated(n, b[y - 1]))
|
|
3154
3164
|
continue;
|
|
3155
|
-
|
|
3165
|
+
s += ",";
|
|
3156
3166
|
}
|
|
3157
|
-
|
|
3167
|
+
s += t.encode(n.generatedColumn - p), p = n.generatedColumn, n.source != null && (_ = this._sources.indexOf(n.source), s += t.encode(_ - d), d = _, s += t.encode(n.originalLine - 1 - u), u = n.originalLine - 1, s += t.encode(n.originalColumn - o), o = n.originalColumn, n.name != null && (v = this._names.indexOf(n.name), s += t.encode(v - a), a = v)), r += s;
|
|
3158
3168
|
}
|
|
3159
3169
|
return r;
|
|
3160
3170
|
}, h.prototype._generateSourcesContent = function(p, l) {
|
|
@@ -3178,7 +3188,7 @@ function Pn() {
|
|
|
3178
3188
|
}, At.SourceMapGenerator = h, At;
|
|
3179
3189
|
}
|
|
3180
3190
|
var Me = {}, Pt = {}, nn;
|
|
3181
|
-
function
|
|
3191
|
+
function da() {
|
|
3182
3192
|
return nn || (nn = 1, function(t) {
|
|
3183
3193
|
t.GREATEST_LOWER_BOUND = 1, t.LEAST_UPPER_BOUND = 2;
|
|
3184
3194
|
function e(i, c, h, f, p, l) {
|
|
@@ -3205,7 +3215,7 @@ function ds() {
|
|
|
3205
3215
|
}(Pt)), Pt;
|
|
3206
3216
|
}
|
|
3207
3217
|
var Tt = {}, on;
|
|
3208
|
-
function
|
|
3218
|
+
function ga() {
|
|
3209
3219
|
if (on) return Tt;
|
|
3210
3220
|
on = 1;
|
|
3211
3221
|
function t(c, h, f) {
|
|
@@ -3219,9 +3229,9 @@ function gs() {
|
|
|
3219
3229
|
if (f < p) {
|
|
3220
3230
|
var l = e(f, p), o = f - 1;
|
|
3221
3231
|
t(c, l, p);
|
|
3222
|
-
for (var u = c[p],
|
|
3223
|
-
h(c[
|
|
3224
|
-
t(c, o + 1,
|
|
3232
|
+
for (var u = c[p], a = f; a < p; a++)
|
|
3233
|
+
h(c[a], u) <= 0 && (o += 1, t(c, o, a));
|
|
3234
|
+
t(c, o + 1, a);
|
|
3225
3235
|
var d = o + 1;
|
|
3226
3236
|
i(c, h, f, d - 1), i(c, h, d + 1, p);
|
|
3227
3237
|
}
|
|
@@ -3230,17 +3240,17 @@ function gs() {
|
|
|
3230
3240
|
i(c, h, 0, c.length - 1);
|
|
3231
3241
|
}, Tt;
|
|
3232
3242
|
}
|
|
3233
|
-
var
|
|
3234
|
-
function
|
|
3235
|
-
if (
|
|
3236
|
-
|
|
3237
|
-
var t = He(), e =
|
|
3238
|
-
function f(u,
|
|
3243
|
+
var an;
|
|
3244
|
+
function ma() {
|
|
3245
|
+
if (an) return Me;
|
|
3246
|
+
an = 1;
|
|
3247
|
+
var t = He(), e = da(), i = xn().ArraySet, c = Ln(), h = ga().quickSort;
|
|
3248
|
+
function f(u, a) {
|
|
3239
3249
|
var d = u;
|
|
3240
|
-
return typeof u == "string" && (d = t.parseSourceMapInput(u)), d.sections != null ? new o(d,
|
|
3250
|
+
return typeof u == "string" && (d = t.parseSourceMapInput(u)), d.sections != null ? new o(d, a) : new p(d, a);
|
|
3241
3251
|
}
|
|
3242
|
-
f.fromSourceMap = function(u,
|
|
3243
|
-
return p.fromSourceMap(u,
|
|
3252
|
+
f.fromSourceMap = function(u, a) {
|
|
3253
|
+
return p.fromSourceMap(u, a);
|
|
3244
3254
|
}, f.prototype._version = 3, f.prototype.__generatedMappings = null, Object.defineProperty(f.prototype, "_generatedMappings", {
|
|
3245
3255
|
configurable: !0,
|
|
3246
3256
|
enumerable: !0,
|
|
@@ -3253,13 +3263,13 @@ function ms() {
|
|
|
3253
3263
|
get: function() {
|
|
3254
3264
|
return this.__originalMappings || this._parseMappings(this._mappings, this.sourceRoot), this.__originalMappings;
|
|
3255
3265
|
}
|
|
3256
|
-
}), f.prototype._charIsMappingSeparator = function(
|
|
3257
|
-
var r =
|
|
3266
|
+
}), f.prototype._charIsMappingSeparator = function(a, d) {
|
|
3267
|
+
var r = a.charAt(d);
|
|
3258
3268
|
return r === ";" || r === ",";
|
|
3259
|
-
}, f.prototype._parseMappings = function(
|
|
3269
|
+
}, f.prototype._parseMappings = function(a, d) {
|
|
3260
3270
|
throw new Error("Subclasses must implement _parseMappings");
|
|
3261
|
-
}, f.GENERATED_ORDER = 1, f.ORIGINAL_ORDER = 2, f.GREATEST_LOWER_BOUND = 1, f.LEAST_UPPER_BOUND = 2, f.prototype.eachMapping = function(
|
|
3262
|
-
var
|
|
3271
|
+
}, f.GENERATED_ORDER = 1, f.ORIGINAL_ORDER = 2, f.GREATEST_LOWER_BOUND = 1, f.LEAST_UPPER_BOUND = 2, f.prototype.eachMapping = function(a, d, r) {
|
|
3272
|
+
var s = d || null, n = r || f.GENERATED_ORDER, v;
|
|
3263
3273
|
switch (n) {
|
|
3264
3274
|
case f.GENERATED_ORDER:
|
|
3265
3275
|
v = this._generatedMappings;
|
|
@@ -3281,16 +3291,16 @@ function ms() {
|
|
|
3281
3291
|
originalColumn: b.originalColumn,
|
|
3282
3292
|
name: b.name === null ? null : this._names.at(b.name)
|
|
3283
3293
|
};
|
|
3284
|
-
}, this).forEach(
|
|
3285
|
-
}, f.prototype.allGeneratedPositionsFor = function(
|
|
3286
|
-
var d = t.getArg(
|
|
3287
|
-
source: t.getArg(
|
|
3294
|
+
}, this).forEach(a, s);
|
|
3295
|
+
}, f.prototype.allGeneratedPositionsFor = function(a) {
|
|
3296
|
+
var d = t.getArg(a, "line"), r = {
|
|
3297
|
+
source: t.getArg(a, "source"),
|
|
3288
3298
|
originalLine: d,
|
|
3289
|
-
originalColumn: t.getArg(
|
|
3299
|
+
originalColumn: t.getArg(a, "column", 0)
|
|
3290
3300
|
};
|
|
3291
3301
|
if (r.source = this._findSourceIndex(r.source), r.source < 0)
|
|
3292
3302
|
return [];
|
|
3293
|
-
var
|
|
3303
|
+
var s = [], n = this._findMapping(
|
|
3294
3304
|
r,
|
|
3295
3305
|
this._originalMappings,
|
|
3296
3306
|
"originalLine",
|
|
@@ -3300,55 +3310,55 @@ function ms() {
|
|
|
3300
3310
|
);
|
|
3301
3311
|
if (n >= 0) {
|
|
3302
3312
|
var v = this._originalMappings[n];
|
|
3303
|
-
if (
|
|
3313
|
+
if (a.column === void 0)
|
|
3304
3314
|
for (var _ = v.originalLine; v && v.originalLine === _; )
|
|
3305
|
-
|
|
3315
|
+
s.push({
|
|
3306
3316
|
line: t.getArg(v, "generatedLine", null),
|
|
3307
3317
|
column: t.getArg(v, "generatedColumn", null),
|
|
3308
3318
|
lastColumn: t.getArg(v, "lastGeneratedColumn", null)
|
|
3309
3319
|
}), v = this._originalMappings[++n];
|
|
3310
3320
|
else
|
|
3311
3321
|
for (var b = v.originalColumn; v && v.originalLine === d && v.originalColumn == b; )
|
|
3312
|
-
|
|
3322
|
+
s.push({
|
|
3313
3323
|
line: t.getArg(v, "generatedLine", null),
|
|
3314
3324
|
column: t.getArg(v, "generatedColumn", null),
|
|
3315
3325
|
lastColumn: t.getArg(v, "lastGeneratedColumn", null)
|
|
3316
3326
|
}), v = this._originalMappings[++n];
|
|
3317
3327
|
}
|
|
3318
|
-
return
|
|
3328
|
+
return s;
|
|
3319
3329
|
}, Me.SourceMapConsumer = f;
|
|
3320
|
-
function p(u,
|
|
3330
|
+
function p(u, a) {
|
|
3321
3331
|
var d = u;
|
|
3322
3332
|
typeof u == "string" && (d = t.parseSourceMapInput(u));
|
|
3323
|
-
var r = t.getArg(d, "version"),
|
|
3333
|
+
var r = t.getArg(d, "version"), s = t.getArg(d, "sources"), n = t.getArg(d, "names", []), v = t.getArg(d, "sourceRoot", null), _ = t.getArg(d, "sourcesContent", null), b = t.getArg(d, "mappings"), y = t.getArg(d, "file", null);
|
|
3324
3334
|
if (r != this._version)
|
|
3325
3335
|
throw new Error("Unsupported version: " + r);
|
|
3326
|
-
v && (v = t.normalize(v)),
|
|
3336
|
+
v && (v = t.normalize(v)), s = s.map(String).map(t.normalize).map(function(E) {
|
|
3327
3337
|
return v && t.isAbsolute(v) && t.isAbsolute(E) ? t.relative(v, E) : E;
|
|
3328
|
-
}), this._names = i.fromArray(n.map(String), !0), this._sources = i.fromArray(
|
|
3329
|
-
return t.computeSourceURL(v, E,
|
|
3330
|
-
}), this.sourceRoot = v, this.sourcesContent = _, this._mappings = b, this._sourceMapURL =
|
|
3338
|
+
}), this._names = i.fromArray(n.map(String), !0), this._sources = i.fromArray(s, !0), this._absoluteSources = this._sources.toArray().map(function(E) {
|
|
3339
|
+
return t.computeSourceURL(v, E, a);
|
|
3340
|
+
}), this.sourceRoot = v, this.sourcesContent = _, this._mappings = b, this._sourceMapURL = a, this.file = y;
|
|
3331
3341
|
}
|
|
3332
3342
|
p.prototype = Object.create(f.prototype), p.prototype.consumer = f, p.prototype._findSourceIndex = function(u) {
|
|
3333
|
-
var
|
|
3334
|
-
if (this.sourceRoot != null && (
|
|
3335
|
-
return this._sources.indexOf(
|
|
3343
|
+
var a = u;
|
|
3344
|
+
if (this.sourceRoot != null && (a = t.relative(this.sourceRoot, a)), this._sources.has(a))
|
|
3345
|
+
return this._sources.indexOf(a);
|
|
3336
3346
|
var d;
|
|
3337
3347
|
for (d = 0; d < this._absoluteSources.length; ++d)
|
|
3338
3348
|
if (this._absoluteSources[d] == u)
|
|
3339
3349
|
return d;
|
|
3340
3350
|
return -1;
|
|
3341
|
-
}, p.fromSourceMap = function(
|
|
3342
|
-
var r = Object.create(p.prototype),
|
|
3343
|
-
r.sourceRoot =
|
|
3351
|
+
}, p.fromSourceMap = function(a, d) {
|
|
3352
|
+
var r = Object.create(p.prototype), s = r._names = i.fromArray(a._names.toArray(), !0), n = r._sources = i.fromArray(a._sources.toArray(), !0);
|
|
3353
|
+
r.sourceRoot = a._sourceRoot, r.sourcesContent = a._generateSourcesContent(
|
|
3344
3354
|
r._sources.toArray(),
|
|
3345
3355
|
r.sourceRoot
|
|
3346
|
-
), r.file =
|
|
3356
|
+
), r.file = a._file, r._sourceMapURL = d, r._absoluteSources = r._sources.toArray().map(function(A) {
|
|
3347
3357
|
return t.computeSourceURL(r.sourceRoot, A, d);
|
|
3348
3358
|
});
|
|
3349
|
-
for (var v =
|
|
3359
|
+
for (var v = a._mappings.toArray().slice(), _ = r.__generatedMappings = [], b = r.__originalMappings = [], y = 0, E = v.length; y < E; y++) {
|
|
3350
3360
|
var g = v[y], S = new l();
|
|
3351
|
-
S.generatedLine = g.generatedLine, S.generatedColumn = g.generatedColumn, g.source && (S.source = n.indexOf(g.source), S.originalLine = g.originalLine, S.originalColumn = g.originalColumn, g.name && (S.name =
|
|
3361
|
+
S.generatedLine = g.generatedLine, S.generatedColumn = g.generatedColumn, g.source && (S.source = n.indexOf(g.source), S.originalLine = g.originalLine, S.originalColumn = g.originalColumn, g.name && (S.name = s.indexOf(g.name)), b.push(S)), _.push(S);
|
|
3352
3362
|
}
|
|
3353
3363
|
return h(r.__originalMappings, t.compareByOriginalPositions), r;
|
|
3354
3364
|
}, p.prototype._version = 3, Object.defineProperty(p.prototype, "sources", {
|
|
@@ -3359,40 +3369,40 @@ function ms() {
|
|
|
3359
3369
|
function l() {
|
|
3360
3370
|
this.generatedLine = 0, this.generatedColumn = 0, this.source = null, this.originalLine = null, this.originalColumn = null, this.name = null;
|
|
3361
3371
|
}
|
|
3362
|
-
p.prototype._parseMappings = function(
|
|
3363
|
-
for (var r = 1,
|
|
3364
|
-
if (
|
|
3365
|
-
r++, E++,
|
|
3366
|
-
else if (
|
|
3372
|
+
p.prototype._parseMappings = function(a, d) {
|
|
3373
|
+
for (var r = 1, s = 0, n = 0, v = 0, _ = 0, b = 0, y = a.length, E = 0, g = {}, S = {}, A = [], k = [], x, N, O, T, Z; E < y; )
|
|
3374
|
+
if (a.charAt(E) === ";")
|
|
3375
|
+
r++, E++, s = 0;
|
|
3376
|
+
else if (a.charAt(E) === ",")
|
|
3367
3377
|
E++;
|
|
3368
3378
|
else {
|
|
3369
|
-
for (x = new l(), x.generatedLine = r, T = E; T < y && !this._charIsMappingSeparator(
|
|
3379
|
+
for (x = new l(), x.generatedLine = r, T = E; T < y && !this._charIsMappingSeparator(a, T); T++)
|
|
3370
3380
|
;
|
|
3371
|
-
if (N =
|
|
3381
|
+
if (N = a.slice(E, T), O = g[N], O)
|
|
3372
3382
|
E += N.length;
|
|
3373
3383
|
else {
|
|
3374
3384
|
for (O = []; E < T; )
|
|
3375
|
-
c.decode(
|
|
3385
|
+
c.decode(a, E, S), Z = S.value, E = S.rest, O.push(Z);
|
|
3376
3386
|
if (O.length === 2)
|
|
3377
3387
|
throw new Error("Found a source, but no line and column");
|
|
3378
3388
|
if (O.length === 3)
|
|
3379
3389
|
throw new Error("Found a source and line, but no column");
|
|
3380
3390
|
g[N] = O;
|
|
3381
3391
|
}
|
|
3382
|
-
x.generatedColumn =
|
|
3392
|
+
x.generatedColumn = s + O[0], s = x.generatedColumn, O.length > 1 && (x.source = _ + O[1], _ += O[1], x.originalLine = n + O[2], n = x.originalLine, x.originalLine += 1, x.originalColumn = v + O[3], v = x.originalColumn, O.length > 4 && (x.name = b + O[4], b += O[4])), k.push(x), typeof x.originalLine == "number" && A.push(x);
|
|
3383
3393
|
}
|
|
3384
3394
|
h(k, t.compareByGeneratedPositionsDeflated), this.__generatedMappings = k, h(A, t.compareByOriginalPositions), this.__originalMappings = A;
|
|
3385
|
-
}, p.prototype._findMapping = function(
|
|
3386
|
-
if (
|
|
3387
|
-
throw new TypeError("Line must be greater than or equal to 1, got " +
|
|
3388
|
-
if (s
|
|
3389
|
-
throw new TypeError("Column must be greater than or equal to 0, got " + s
|
|
3390
|
-
return e.search(
|
|
3395
|
+
}, p.prototype._findMapping = function(a, d, r, s, n, v) {
|
|
3396
|
+
if (a[r] <= 0)
|
|
3397
|
+
throw new TypeError("Line must be greater than or equal to 1, got " + a[r]);
|
|
3398
|
+
if (a[s] < 0)
|
|
3399
|
+
throw new TypeError("Column must be greater than or equal to 0, got " + a[s]);
|
|
3400
|
+
return e.search(a, d, n, v);
|
|
3391
3401
|
}, p.prototype.computeColumnSpans = function() {
|
|
3392
|
-
for (var
|
|
3393
|
-
var d = this._generatedMappings[
|
|
3394
|
-
if (
|
|
3395
|
-
var r = this._generatedMappings[
|
|
3402
|
+
for (var a = 0; a < this._generatedMappings.length; ++a) {
|
|
3403
|
+
var d = this._generatedMappings[a];
|
|
3404
|
+
if (a + 1 < this._generatedMappings.length) {
|
|
3405
|
+
var r = this._generatedMappings[a + 1];
|
|
3396
3406
|
if (d.generatedLine === r.generatedLine) {
|
|
3397
3407
|
d.lastGeneratedColumn = r.generatedColumn - 1;
|
|
3398
3408
|
continue;
|
|
@@ -3400,28 +3410,28 @@ function ms() {
|
|
|
3400
3410
|
}
|
|
3401
3411
|
d.lastGeneratedColumn = 1 / 0;
|
|
3402
3412
|
}
|
|
3403
|
-
}, p.prototype.originalPositionFor = function(
|
|
3413
|
+
}, p.prototype.originalPositionFor = function(a) {
|
|
3404
3414
|
var d = {
|
|
3405
|
-
generatedLine: t.getArg(
|
|
3406
|
-
generatedColumn: t.getArg(
|
|
3415
|
+
generatedLine: t.getArg(a, "line"),
|
|
3416
|
+
generatedColumn: t.getArg(a, "column")
|
|
3407
3417
|
}, r = this._findMapping(
|
|
3408
3418
|
d,
|
|
3409
3419
|
this._generatedMappings,
|
|
3410
3420
|
"generatedLine",
|
|
3411
3421
|
"generatedColumn",
|
|
3412
3422
|
t.compareByGeneratedPositionsDeflated,
|
|
3413
|
-
t.getArg(
|
|
3423
|
+
t.getArg(a, "bias", f.GREATEST_LOWER_BOUND)
|
|
3414
3424
|
);
|
|
3415
3425
|
if (r >= 0) {
|
|
3416
|
-
var
|
|
3417
|
-
if (
|
|
3418
|
-
var n = t.getArg(
|
|
3426
|
+
var s = this._generatedMappings[r];
|
|
3427
|
+
if (s.generatedLine === d.generatedLine) {
|
|
3428
|
+
var n = t.getArg(s, "source", null);
|
|
3419
3429
|
n !== null && (n = this._sources.at(n), n = t.computeSourceURL(this.sourceRoot, n, this._sourceMapURL));
|
|
3420
|
-
var v = t.getArg(
|
|
3430
|
+
var v = t.getArg(s, "name", null);
|
|
3421
3431
|
return v !== null && (v = this._names.at(v)), {
|
|
3422
3432
|
source: n,
|
|
3423
|
-
line: t.getArg(
|
|
3424
|
-
column: t.getArg(
|
|
3433
|
+
line: t.getArg(s, "originalLine", null),
|
|
3434
|
+
column: t.getArg(s, "originalColumn", null),
|
|
3425
3435
|
name: v
|
|
3426
3436
|
};
|
|
3427
3437
|
}
|
|
@@ -3433,30 +3443,30 @@ function ms() {
|
|
|
3433
3443
|
name: null
|
|
3434
3444
|
};
|
|
3435
3445
|
}, p.prototype.hasContentsOfAllSources = function() {
|
|
3436
|
-
return this.sourcesContent ? this.sourcesContent.length >= this._sources.size() && !this.sourcesContent.some(function(
|
|
3437
|
-
return
|
|
3446
|
+
return this.sourcesContent ? this.sourcesContent.length >= this._sources.size() && !this.sourcesContent.some(function(a) {
|
|
3447
|
+
return a == null;
|
|
3438
3448
|
}) : !1;
|
|
3439
|
-
}, p.prototype.sourceContentFor = function(
|
|
3449
|
+
}, p.prototype.sourceContentFor = function(a, d) {
|
|
3440
3450
|
if (!this.sourcesContent)
|
|
3441
3451
|
return null;
|
|
3442
|
-
var r = this._findSourceIndex(
|
|
3452
|
+
var r = this._findSourceIndex(a);
|
|
3443
3453
|
if (r >= 0)
|
|
3444
3454
|
return this.sourcesContent[r];
|
|
3445
|
-
var
|
|
3446
|
-
this.sourceRoot != null && (
|
|
3455
|
+
var s = a;
|
|
3456
|
+
this.sourceRoot != null && (s = t.relative(this.sourceRoot, s));
|
|
3447
3457
|
var n;
|
|
3448
3458
|
if (this.sourceRoot != null && (n = t.urlParse(this.sourceRoot))) {
|
|
3449
|
-
var v =
|
|
3459
|
+
var v = s.replace(/^file:\/\//, "");
|
|
3450
3460
|
if (n.scheme == "file" && this._sources.has(v))
|
|
3451
3461
|
return this.sourcesContent[this._sources.indexOf(v)];
|
|
3452
|
-
if ((!n.path || n.path == "/") && this._sources.has("/" +
|
|
3453
|
-
return this.sourcesContent[this._sources.indexOf("/" +
|
|
3462
|
+
if ((!n.path || n.path == "/") && this._sources.has("/" + s))
|
|
3463
|
+
return this.sourcesContent[this._sources.indexOf("/" + s)];
|
|
3454
3464
|
}
|
|
3455
3465
|
if (d)
|
|
3456
3466
|
return null;
|
|
3457
|
-
throw new Error('"' +
|
|
3458
|
-
}, p.prototype.generatedPositionFor = function(
|
|
3459
|
-
var d = t.getArg(
|
|
3467
|
+
throw new Error('"' + s + '" is not in the SourceMap.');
|
|
3468
|
+
}, p.prototype.generatedPositionFor = function(a) {
|
|
3469
|
+
var d = t.getArg(a, "source");
|
|
3460
3470
|
if (d = this._findSourceIndex(d), d < 0)
|
|
3461
3471
|
return {
|
|
3462
3472
|
line: null,
|
|
@@ -3465,18 +3475,18 @@ function ms() {
|
|
|
3465
3475
|
};
|
|
3466
3476
|
var r = {
|
|
3467
3477
|
source: d,
|
|
3468
|
-
originalLine: t.getArg(
|
|
3469
|
-
originalColumn: t.getArg(
|
|
3470
|
-
},
|
|
3478
|
+
originalLine: t.getArg(a, "line"),
|
|
3479
|
+
originalColumn: t.getArg(a, "column")
|
|
3480
|
+
}, s = this._findMapping(
|
|
3471
3481
|
r,
|
|
3472
3482
|
this._originalMappings,
|
|
3473
3483
|
"originalLine",
|
|
3474
3484
|
"originalColumn",
|
|
3475
3485
|
t.compareByOriginalPositions,
|
|
3476
|
-
t.getArg(
|
|
3486
|
+
t.getArg(a, "bias", f.GREATEST_LOWER_BOUND)
|
|
3477
3487
|
);
|
|
3478
|
-
if (
|
|
3479
|
-
var n = this._originalMappings[
|
|
3488
|
+
if (s >= 0) {
|
|
3489
|
+
var n = this._originalMappings[s];
|
|
3480
3490
|
if (n.source === r.source)
|
|
3481
3491
|
return {
|
|
3482
3492
|
line: t.getArg(n, "generatedLine", null),
|
|
@@ -3490,10 +3500,10 @@ function ms() {
|
|
|
3490
3500
|
lastColumn: null
|
|
3491
3501
|
};
|
|
3492
3502
|
}, Me.BasicSourceMapConsumer = p;
|
|
3493
|
-
function o(u,
|
|
3503
|
+
function o(u, a) {
|
|
3494
3504
|
var d = u;
|
|
3495
3505
|
typeof u == "string" && (d = t.parseSourceMapInput(u));
|
|
3496
|
-
var r = t.getArg(d, "version"),
|
|
3506
|
+
var r = t.getArg(d, "version"), s = t.getArg(d, "sections");
|
|
3497
3507
|
if (r != this._version)
|
|
3498
3508
|
throw new Error("Unsupported version: " + r);
|
|
3499
3509
|
this._sources = new i(), this._names = new i();
|
|
@@ -3501,7 +3511,7 @@ function ms() {
|
|
|
3501
3511
|
line: -1,
|
|
3502
3512
|
column: 0
|
|
3503
3513
|
};
|
|
3504
|
-
this._sections =
|
|
3514
|
+
this._sections = s.map(function(v) {
|
|
3505
3515
|
if (v.url)
|
|
3506
3516
|
throw new Error("Support for url field in sections not implemented.");
|
|
3507
3517
|
var _ = t.getArg(v, "offset"), b = t.getArg(_, "line"), y = t.getArg(_, "column");
|
|
@@ -3514,21 +3524,21 @@ function ms() {
|
|
|
3514
3524
|
generatedLine: b + 1,
|
|
3515
3525
|
generatedColumn: y + 1
|
|
3516
3526
|
},
|
|
3517
|
-
consumer: new f(t.getArg(v, "map"),
|
|
3527
|
+
consumer: new f(t.getArg(v, "map"), a)
|
|
3518
3528
|
};
|
|
3519
3529
|
});
|
|
3520
3530
|
}
|
|
3521
3531
|
return o.prototype = Object.create(f.prototype), o.prototype.constructor = f, o.prototype._version = 3, Object.defineProperty(o.prototype, "sources", {
|
|
3522
3532
|
get: function() {
|
|
3523
|
-
for (var u = [],
|
|
3524
|
-
for (var d = 0; d < this._sections[
|
|
3525
|
-
u.push(this._sections[
|
|
3533
|
+
for (var u = [], a = 0; a < this._sections.length; a++)
|
|
3534
|
+
for (var d = 0; d < this._sections[a].consumer.sources.length; d++)
|
|
3535
|
+
u.push(this._sections[a].consumer.sources[d]);
|
|
3526
3536
|
return u;
|
|
3527
3537
|
}
|
|
3528
|
-
}), o.prototype.originalPositionFor = function(
|
|
3538
|
+
}), o.prototype.originalPositionFor = function(a) {
|
|
3529
3539
|
var d = {
|
|
3530
|
-
generatedLine: t.getArg(
|
|
3531
|
-
generatedColumn: t.getArg(
|
|
3540
|
+
generatedLine: t.getArg(a, "line"),
|
|
3541
|
+
generatedColumn: t.getArg(a, "column")
|
|
3532
3542
|
}, r = e.search(
|
|
3533
3543
|
d,
|
|
3534
3544
|
this._sections,
|
|
@@ -3536,11 +3546,11 @@ function ms() {
|
|
|
3536
3546
|
var _ = n.generatedLine - v.generatedOffset.generatedLine;
|
|
3537
3547
|
return _ || n.generatedColumn - v.generatedOffset.generatedColumn;
|
|
3538
3548
|
}
|
|
3539
|
-
),
|
|
3540
|
-
return
|
|
3541
|
-
line: d.generatedLine - (
|
|
3542
|
-
column: d.generatedColumn - (
|
|
3543
|
-
bias:
|
|
3549
|
+
), s = this._sections[r];
|
|
3550
|
+
return s ? s.consumer.originalPositionFor({
|
|
3551
|
+
line: d.generatedLine - (s.generatedOffset.generatedLine - 1),
|
|
3552
|
+
column: d.generatedColumn - (s.generatedOffset.generatedLine === d.generatedLine ? s.generatedOffset.generatedColumn - 1 : 0),
|
|
3553
|
+
bias: a.bias
|
|
3544
3554
|
}) : {
|
|
3545
3555
|
source: null,
|
|
3546
3556
|
line: null,
|
|
@@ -3548,27 +3558,27 @@ function ms() {
|
|
|
3548
3558
|
name: null
|
|
3549
3559
|
};
|
|
3550
3560
|
}, o.prototype.hasContentsOfAllSources = function() {
|
|
3551
|
-
return this._sections.every(function(
|
|
3552
|
-
return
|
|
3561
|
+
return this._sections.every(function(a) {
|
|
3562
|
+
return a.consumer.hasContentsOfAllSources();
|
|
3553
3563
|
});
|
|
3554
|
-
}, o.prototype.sourceContentFor = function(
|
|
3564
|
+
}, o.prototype.sourceContentFor = function(a, d) {
|
|
3555
3565
|
for (var r = 0; r < this._sections.length; r++) {
|
|
3556
|
-
var
|
|
3566
|
+
var s = this._sections[r], n = s.consumer.sourceContentFor(a, !0);
|
|
3557
3567
|
if (n)
|
|
3558
3568
|
return n;
|
|
3559
3569
|
}
|
|
3560
3570
|
if (d)
|
|
3561
3571
|
return null;
|
|
3562
|
-
throw new Error('"' +
|
|
3563
|
-
}, o.prototype.generatedPositionFor = function(
|
|
3572
|
+
throw new Error('"' + a + '" is not in the SourceMap.');
|
|
3573
|
+
}, o.prototype.generatedPositionFor = function(a) {
|
|
3564
3574
|
for (var d = 0; d < this._sections.length; d++) {
|
|
3565
3575
|
var r = this._sections[d];
|
|
3566
|
-
if (r.consumer._findSourceIndex(t.getArg(
|
|
3567
|
-
var
|
|
3568
|
-
if (
|
|
3576
|
+
if (r.consumer._findSourceIndex(t.getArg(a, "source")) !== -1) {
|
|
3577
|
+
var s = r.consumer.generatedPositionFor(a);
|
|
3578
|
+
if (s) {
|
|
3569
3579
|
var n = {
|
|
3570
|
-
line:
|
|
3571
|
-
column:
|
|
3580
|
+
line: s.line + (r.generatedOffset.generatedLine - 1),
|
|
3581
|
+
column: s.column + (r.generatedOffset.generatedLine === s.line ? r.generatedOffset.generatedColumn - 1 : 0)
|
|
3572
3582
|
};
|
|
3573
3583
|
return n;
|
|
3574
3584
|
}
|
|
@@ -3578,18 +3588,18 @@ function ms() {
|
|
|
3578
3588
|
line: null,
|
|
3579
3589
|
column: null
|
|
3580
3590
|
};
|
|
3581
|
-
}, o.prototype._parseMappings = function(
|
|
3591
|
+
}, o.prototype._parseMappings = function(a, d) {
|
|
3582
3592
|
this.__generatedMappings = [], this.__originalMappings = [];
|
|
3583
3593
|
for (var r = 0; r < this._sections.length; r++)
|
|
3584
|
-
for (var
|
|
3585
|
-
var _ = n[v], b =
|
|
3586
|
-
b = t.computeSourceURL(
|
|
3594
|
+
for (var s = this._sections[r], n = s.consumer._generatedMappings, v = 0; v < n.length; v++) {
|
|
3595
|
+
var _ = n[v], b = s.consumer._sources.at(_.source);
|
|
3596
|
+
b = t.computeSourceURL(s.consumer.sourceRoot, b, this._sourceMapURL), this._sources.add(b), b = this._sources.indexOf(b);
|
|
3587
3597
|
var y = null;
|
|
3588
|
-
_.name && (y =
|
|
3598
|
+
_.name && (y = s.consumer._names.at(_.name), this._names.add(y), y = this._names.indexOf(y));
|
|
3589
3599
|
var E = {
|
|
3590
3600
|
source: b,
|
|
3591
|
-
generatedLine: _.generatedLine + (
|
|
3592
|
-
generatedColumn: _.generatedColumn + (
|
|
3601
|
+
generatedLine: _.generatedLine + (s.generatedOffset.generatedLine - 1),
|
|
3602
|
+
generatedColumn: _.generatedColumn + (s.generatedOffset.generatedLine === _.generatedLine ? s.generatedOffset.generatedColumn - 1 : 0),
|
|
3593
3603
|
originalLine: _.originalLine,
|
|
3594
3604
|
originalColumn: _.originalColumn,
|
|
3595
3605
|
name: y
|
|
@@ -3599,16 +3609,16 @@ function ms() {
|
|
|
3599
3609
|
h(this.__generatedMappings, t.compareByGeneratedPositionsDeflated), h(this.__originalMappings, t.compareByOriginalPositions);
|
|
3600
3610
|
}, Me.IndexedSourceMapConsumer = o, Me;
|
|
3601
3611
|
}
|
|
3602
|
-
var Ot = {},
|
|
3603
|
-
function
|
|
3604
|
-
if (
|
|
3605
|
-
|
|
3612
|
+
var Ot = {}, sn;
|
|
3613
|
+
function va() {
|
|
3614
|
+
if (sn) return Ot;
|
|
3615
|
+
sn = 1;
|
|
3606
3616
|
var t = Pn().SourceMapGenerator, e = He(), i = /(\r?\n)/, c = 10, h = "$$$isSourceNode$$$";
|
|
3607
|
-
function f(p, l, o, u,
|
|
3608
|
-
this.children = [], this.sourceContents = {}, this.line = p ?? null, this.column = l ?? null, this.source = o ?? null, this.name =
|
|
3617
|
+
function f(p, l, o, u, a) {
|
|
3618
|
+
this.children = [], this.sourceContents = {}, this.line = p ?? null, this.column = l ?? null, this.source = o ?? null, this.name = a ?? null, this[h] = !0, u != null && this.add(u);
|
|
3609
3619
|
}
|
|
3610
3620
|
return f.fromStringWithSourceMap = function(l, o, u) {
|
|
3611
|
-
var
|
|
3621
|
+
var a = new f(), d = l.split(i), r = 0, s = function() {
|
|
3612
3622
|
var y = g(), E = g() || "";
|
|
3613
3623
|
return y + E;
|
|
3614
3624
|
function g() {
|
|
@@ -3618,29 +3628,29 @@ function vs() {
|
|
|
3618
3628
|
return o.eachMapping(function(y) {
|
|
3619
3629
|
if (_ !== null)
|
|
3620
3630
|
if (n < y.generatedLine)
|
|
3621
|
-
b(_,
|
|
3631
|
+
b(_, s()), n++, v = 0;
|
|
3622
3632
|
else {
|
|
3623
3633
|
var E = d[r] || "", g = E.substr(0, y.generatedColumn - v);
|
|
3624
3634
|
d[r] = E.substr(y.generatedColumn - v), v = y.generatedColumn, b(_, g), _ = y;
|
|
3625
3635
|
return;
|
|
3626
3636
|
}
|
|
3627
3637
|
for (; n < y.generatedLine; )
|
|
3628
|
-
|
|
3638
|
+
a.add(s()), n++;
|
|
3629
3639
|
if (v < y.generatedColumn) {
|
|
3630
3640
|
var E = d[r] || "";
|
|
3631
|
-
|
|
3641
|
+
a.add(E.substr(0, y.generatedColumn)), d[r] = E.substr(y.generatedColumn), v = y.generatedColumn;
|
|
3632
3642
|
}
|
|
3633
3643
|
_ = y;
|
|
3634
|
-
}, this), r < d.length && (_ && b(_,
|
|
3644
|
+
}, this), r < d.length && (_ && b(_, s()), a.add(d.splice(r).join(""))), o.sources.forEach(function(y) {
|
|
3635
3645
|
var E = o.sourceContentFor(y);
|
|
3636
|
-
E != null && (u != null && (y = e.join(u, y)),
|
|
3637
|
-
}),
|
|
3646
|
+
E != null && (u != null && (y = e.join(u, y)), a.setSourceContent(y, E));
|
|
3647
|
+
}), a;
|
|
3638
3648
|
function b(y, E) {
|
|
3639
3649
|
if (y === null || y.source === void 0)
|
|
3640
|
-
|
|
3650
|
+
a.add(E);
|
|
3641
3651
|
else {
|
|
3642
3652
|
var g = u ? e.join(u, y.source) : y.source;
|
|
3643
|
-
|
|
3653
|
+
a.add(new f(
|
|
3644
3654
|
y.originalLine,
|
|
3645
3655
|
y.originalColumn,
|
|
3646
3656
|
g,
|
|
@@ -3673,7 +3683,7 @@ function vs() {
|
|
|
3673
3683
|
);
|
|
3674
3684
|
return this;
|
|
3675
3685
|
}, f.prototype.walk = function(l) {
|
|
3676
|
-
for (var o, u = 0,
|
|
3686
|
+
for (var o, u = 0, a = this.children.length; u < a; u++)
|
|
3677
3687
|
o = this.children[u], o[h] ? o.walk(l) : o !== "" && l(o, {
|
|
3678
3688
|
source: this.source,
|
|
3679
3689
|
line: this.line,
|
|
@@ -3681,9 +3691,9 @@ function vs() {
|
|
|
3681
3691
|
name: this.name
|
|
3682
3692
|
});
|
|
3683
3693
|
}, f.prototype.join = function(l) {
|
|
3684
|
-
var o, u,
|
|
3685
|
-
if (
|
|
3686
|
-
for (o = [], u = 0; u <
|
|
3694
|
+
var o, u, a = this.children.length;
|
|
3695
|
+
if (a > 0) {
|
|
3696
|
+
for (o = [], u = 0; u < a - 1; u++)
|
|
3687
3697
|
o.push(this.children[u]), o.push(l);
|
|
3688
3698
|
o.push(this.children[u]), this.children = o;
|
|
3689
3699
|
}
|
|
@@ -3696,8 +3706,8 @@ function vs() {
|
|
|
3696
3706
|
}, f.prototype.walkSourceContents = function(l) {
|
|
3697
3707
|
for (var o = 0, u = this.children.length; o < u; o++)
|
|
3698
3708
|
this.children[o][h] && this.children[o].walkSourceContents(l);
|
|
3699
|
-
for (var
|
|
3700
|
-
l(e.fromSetString(
|
|
3709
|
+
for (var a = Object.keys(this.sourceContents), o = 0, u = a.length; o < u; o++)
|
|
3710
|
+
l(e.fromSetString(a[o]), this.sourceContents[a[o]]);
|
|
3701
3711
|
}, f.prototype.toString = function() {
|
|
3702
3712
|
var l = "";
|
|
3703
3713
|
return this.walk(function(o) {
|
|
@@ -3708,9 +3718,9 @@ function vs() {
|
|
|
3708
3718
|
code: "",
|
|
3709
3719
|
line: 1,
|
|
3710
3720
|
column: 0
|
|
3711
|
-
}, u = new t(l),
|
|
3721
|
+
}, u = new t(l), a = !1, d = null, r = null, s = null, n = null;
|
|
3712
3722
|
return this.walk(function(v, _) {
|
|
3713
|
-
o.code += v, _.source !== null && _.line !== null && _.column !== null ? ((d !== _.source || r !== _.line ||
|
|
3723
|
+
o.code += v, _.source !== null && _.line !== null && _.column !== null ? ((d !== _.source || r !== _.line || s !== _.column || n !== _.name) && u.addMapping({
|
|
3714
3724
|
source: _.source,
|
|
3715
3725
|
original: {
|
|
3716
3726
|
line: _.line,
|
|
@@ -3721,14 +3731,14 @@ function vs() {
|
|
|
3721
3731
|
column: o.column
|
|
3722
3732
|
},
|
|
3723
3733
|
name: _.name
|
|
3724
|
-
}), d = _.source, r = _.line,
|
|
3734
|
+
}), d = _.source, r = _.line, s = _.column, n = _.name, a = !0) : a && (u.addMapping({
|
|
3725
3735
|
generated: {
|
|
3726
3736
|
line: o.line,
|
|
3727
3737
|
column: o.column
|
|
3728
3738
|
}
|
|
3729
|
-
}), d = null,
|
|
3739
|
+
}), d = null, a = !1);
|
|
3730
3740
|
for (var b = 0, y = v.length; b < y; b++)
|
|
3731
|
-
v.charCodeAt(b) === c ? (o.line++, o.column = 0, b + 1 === y ? (d = null,
|
|
3741
|
+
v.charCodeAt(b) === c ? (o.line++, o.column = 0, b + 1 === y ? (d = null, a = !1) : a && u.addMapping({
|
|
3732
3742
|
source: _.source,
|
|
3733
3743
|
original: {
|
|
3734
3744
|
line: _.line,
|
|
@@ -3746,19 +3756,19 @@ function vs() {
|
|
|
3746
3756
|
}, Ot.SourceNode = f, Ot;
|
|
3747
3757
|
}
|
|
3748
3758
|
var ln;
|
|
3749
|
-
function
|
|
3750
|
-
return ln || (ln = 1, Oe.SourceMapGenerator = Pn().SourceMapGenerator, Oe.SourceMapConsumer =
|
|
3759
|
+
function _a() {
|
|
3760
|
+
return ln || (ln = 1, Oe.SourceMapGenerator = Pn().SourceMapGenerator, Oe.SourceMapConsumer = ma().SourceMapConsumer, Oe.SourceNode = va().SourceNode), Oe;
|
|
3751
3761
|
}
|
|
3752
3762
|
(function(t, e) {
|
|
3753
3763
|
e.__esModule = !0;
|
|
3754
3764
|
var i = M, c = void 0;
|
|
3755
3765
|
try {
|
|
3756
|
-
var h =
|
|
3766
|
+
var h = _a();
|
|
3757
3767
|
c = h.SourceNode;
|
|
3758
3768
|
} catch {
|
|
3759
3769
|
}
|
|
3760
|
-
c || (c = function(l, o, u,
|
|
3761
|
-
this.src = "",
|
|
3770
|
+
c || (c = function(l, o, u, a) {
|
|
3771
|
+
this.src = "", a && this.add(a);
|
|
3762
3772
|
}, c.prototype = {
|
|
3763
3773
|
add: function(o) {
|
|
3764
3774
|
i.isArray(o) && (o = o.join("")), this.src += o;
|
|
@@ -3775,9 +3785,9 @@ function _s() {
|
|
|
3775
3785
|
});
|
|
3776
3786
|
function f(l, o, u) {
|
|
3777
3787
|
if (i.isArray(l)) {
|
|
3778
|
-
for (var
|
|
3779
|
-
|
|
3780
|
-
return
|
|
3788
|
+
for (var a = [], d = 0, r = l.length; d < r; d++)
|
|
3789
|
+
a.push(o.wrap(l[d], u));
|
|
3790
|
+
return a;
|
|
3781
3791
|
} else if (typeof l == "boolean" || typeof l == "number")
|
|
3782
3792
|
return l + "";
|
|
3783
3793
|
return l;
|
|
@@ -3803,7 +3813,7 @@ function _s() {
|
|
|
3803
3813
|
}), o;
|
|
3804
3814
|
},
|
|
3805
3815
|
each: function(o) {
|
|
3806
|
-
for (var u = 0,
|
|
3816
|
+
for (var u = 0, a = this.source.length; u < a; u++)
|
|
3807
3817
|
o(this.source[u]);
|
|
3808
3818
|
},
|
|
3809
3819
|
empty: function() {
|
|
@@ -3814,24 +3824,24 @@ function _s() {
|
|
|
3814
3824
|
var u = arguments.length <= 1 || arguments[1] === void 0 ? this.currentLocation || { start: {} } : arguments[1];
|
|
3815
3825
|
return o instanceof c ? o : (o = f(o, this, u), new c(u.start.line, u.start.column, this.srcFile, o));
|
|
3816
3826
|
},
|
|
3817
|
-
functionCall: function(o, u,
|
|
3818
|
-
return
|
|
3827
|
+
functionCall: function(o, u, a) {
|
|
3828
|
+
return a = this.generateList(a), this.wrap([o, u ? "." + u + "(" : "(", a, ")"]);
|
|
3819
3829
|
},
|
|
3820
3830
|
quotedString: function(o) {
|
|
3821
3831
|
return '"' + (o + "").replace(/\\/g, "\\\\").replace(/"/g, '\\"').replace(/\n/g, "\\n").replace(/\r/g, "\\r").replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029") + '"';
|
|
3822
3832
|
},
|
|
3823
3833
|
objectLiteral: function(o) {
|
|
3824
|
-
var u = this,
|
|
3834
|
+
var u = this, a = [];
|
|
3825
3835
|
Object.keys(o).forEach(function(r) {
|
|
3826
|
-
var
|
|
3827
|
-
|
|
3836
|
+
var s = f(o[r], u);
|
|
3837
|
+
s !== "undefined" && a.push([u.quotedString(r), ":", s]);
|
|
3828
3838
|
});
|
|
3829
|
-
var d = this.generateList(
|
|
3839
|
+
var d = this.generateList(a);
|
|
3830
3840
|
return d.prepend("{"), d.add("}"), d;
|
|
3831
3841
|
},
|
|
3832
3842
|
generateList: function(o) {
|
|
3833
|
-
for (var u = this.empty(),
|
|
3834
|
-
|
|
3843
|
+
for (var u = this.empty(), a = 0, d = o.length; a < d; a++)
|
|
3844
|
+
a && u.add(","), u.add(f(o[a], this));
|
|
3835
3845
|
return u;
|
|
3836
3846
|
},
|
|
3837
3847
|
generateArray: function(o) {
|
|
@@ -3840,49 +3850,49 @@ function _s() {
|
|
|
3840
3850
|
}
|
|
3841
3851
|
}, e.default = p, t.exports = e.default;
|
|
3842
3852
|
})(ir, ir.exports);
|
|
3843
|
-
var
|
|
3853
|
+
var ya = ir.exports;
|
|
3844
3854
|
(function(t, e) {
|
|
3845
3855
|
e.__esModule = !0;
|
|
3846
3856
|
function i(r) {
|
|
3847
3857
|
return r && r.__esModule ? r : { default: r };
|
|
3848
3858
|
}
|
|
3849
|
-
var c = Y, h = Q, f = i(h), p = M, l =
|
|
3859
|
+
var c = Y, h = Q, f = i(h), p = M, l = ya, o = i(l);
|
|
3850
3860
|
function u(r) {
|
|
3851
3861
|
this.value = r;
|
|
3852
3862
|
}
|
|
3853
|
-
function
|
|
3863
|
+
function a() {
|
|
3854
3864
|
}
|
|
3855
|
-
|
|
3865
|
+
a.prototype = {
|
|
3856
3866
|
// PUBLIC API: You can override these methods in a subclass to provide
|
|
3857
3867
|
// alternative compiled forms for name lookup and buffering semantics
|
|
3858
|
-
nameLookup: function(
|
|
3859
|
-
return this.internalNameLookup(
|
|
3868
|
+
nameLookup: function(s, n) {
|
|
3869
|
+
return this.internalNameLookup(s, n);
|
|
3860
3870
|
},
|
|
3861
|
-
depthedLookup: function(
|
|
3862
|
-
return [this.aliasable("container.lookup"), "(depths, ", JSON.stringify(
|
|
3871
|
+
depthedLookup: function(s) {
|
|
3872
|
+
return [this.aliasable("container.lookup"), "(depths, ", JSON.stringify(s), ")"];
|
|
3863
3873
|
},
|
|
3864
3874
|
compilerInfo: function() {
|
|
3865
|
-
var
|
|
3866
|
-
return [
|
|
3875
|
+
var s = c.COMPILER_REVISION, n = c.REVISION_CHANGES[s];
|
|
3876
|
+
return [s, n];
|
|
3867
3877
|
},
|
|
3868
|
-
appendToBuffer: function(
|
|
3869
|
-
return p.isArray(
|
|
3878
|
+
appendToBuffer: function(s, n, v) {
|
|
3879
|
+
return p.isArray(s) || (s = [s]), s = this.source.wrap(s, n), this.environment.isSimple ? ["return ", s, ";"] : v ? ["buffer += ", s, ";"] : (s.appendToBuffer = !0, s);
|
|
3870
3880
|
},
|
|
3871
3881
|
initializeBuffer: function() {
|
|
3872
3882
|
return this.quotedString("");
|
|
3873
3883
|
},
|
|
3874
3884
|
// END PUBLIC API
|
|
3875
|
-
internalNameLookup: function(
|
|
3876
|
-
return this.lookupPropertyFunctionIsUsed = !0, ["lookupProperty(",
|
|
3885
|
+
internalNameLookup: function(s, n) {
|
|
3886
|
+
return this.lookupPropertyFunctionIsUsed = !0, ["lookupProperty(", s, ",", JSON.stringify(n), ")"];
|
|
3877
3887
|
},
|
|
3878
3888
|
lookupPropertyFunctionIsUsed: !1,
|
|
3879
|
-
compile: function(
|
|
3880
|
-
this.environment =
|
|
3889
|
+
compile: function(s, n, v, _) {
|
|
3890
|
+
this.environment = s, this.options = n, this.stringParams = this.options.stringParams, this.trackIds = this.options.trackIds, this.precompile = !_, this.name = this.environment.name, this.isChild = !!v, this.context = v || {
|
|
3881
3891
|
decorators: [],
|
|
3882
3892
|
programs: [],
|
|
3883
3893
|
environments: []
|
|
3884
|
-
}, this.preamble(), this.stackSlot = 0, this.stackVars = [], this.aliases = {}, this.registers = { list: [] }, this.hashes = [], this.compileStack = [], this.inlineStack = [], this.blockParams = [], this.compileChildren(
|
|
3885
|
-
var b =
|
|
3894
|
+
}, this.preamble(), this.stackSlot = 0, this.stackVars = [], this.aliases = {}, this.registers = { list: [] }, this.hashes = [], this.compileStack = [], this.inlineStack = [], this.blockParams = [], this.compileChildren(s, n), this.useDepths = this.useDepths || s.useDepths || s.useDecorators || this.options.compat, this.useBlockParams = this.useBlockParams || s.useBlockParams;
|
|
3895
|
+
var b = s.opcodes, y = void 0, E = void 0, g = void 0, S = void 0;
|
|
3886
3896
|
for (g = 0, S = b.length; g < S; g++)
|
|
3887
3897
|
y = b[g], this.source.currentLocation = y.loc, E = E || y.loc, this[y.opcode].apply(this, y.args);
|
|
3888
3898
|
if (this.source.currentLocation = E, this.pushSource(""), this.stackSlot || this.inlineStack.length || this.compileStack.length)
|
|
@@ -3907,7 +3917,7 @@ var ys = ir.exports;
|
|
|
3907
3917
|
preamble: function() {
|
|
3908
3918
|
this.lastContext = 0, this.source = new o.default(this.options.srcName), this.decorators = new o.default(this.options.srcName);
|
|
3909
3919
|
},
|
|
3910
|
-
createFunctionContext: function(
|
|
3920
|
+
createFunctionContext: function(s) {
|
|
3911
3921
|
var n = this, v = "", _ = this.stackVars.concat(this.registers.list);
|
|
3912
3922
|
_.length > 0 && (v += ", " + _.join(", "));
|
|
3913
3923
|
var b = 0;
|
|
@@ -3918,14 +3928,14 @@ var ys = ir.exports;
|
|
|
3918
3928
|
var y = ["container", "depth0", "helpers", "partials", "data"];
|
|
3919
3929
|
(this.useBlockParams || this.useDepths) && y.push("blockParams"), this.useDepths && y.push("depths");
|
|
3920
3930
|
var E = this.mergeSource(v);
|
|
3921
|
-
return
|
|
3931
|
+
return s ? (y.push(E), Function.apply(this, y)) : this.source.wrap(["function(", y.join(","), `) {
|
|
3922
3932
|
`, E, "}"]);
|
|
3923
3933
|
},
|
|
3924
|
-
mergeSource: function(
|
|
3934
|
+
mergeSource: function(s) {
|
|
3925
3935
|
var n = this.environment.isSimple, v = !this.forceBuffer, _ = void 0, b = void 0, y = void 0, E = void 0;
|
|
3926
3936
|
return this.source.each(function(g) {
|
|
3927
3937
|
g.appendToBuffer ? (y ? g.prepend(" + ") : y = g, E = g) : (y && (b ? y.prepend("buffer += ") : _ = !0, E.add(";"), y = E = void 0), b = !0, n || (v = !1));
|
|
3928
|
-
}), v ? y ? (y.prepend("return "), E.add(";")) : b || this.source.push('return "";') : (
|
|
3938
|
+
}), v ? y ? (y.prepend("return "), E.add(";")) : b || this.source.push('return "";') : (s += ", buffer = " + (_ ? "" : this.initializeBuffer()), y ? (y.prepend("return buffer + "), E.add(";")) : this.source.push("return buffer;")), s && this.source.prepend("var " + s.substring(2) + (_ ? "" : `;
|
|
3929
3939
|
`)), this.source.merge();
|
|
3930
3940
|
},
|
|
3931
3941
|
lookupPropertyFunctionVarDeclaration: function() {
|
|
@@ -3947,9 +3957,9 @@ var ys = ir.exports;
|
|
|
3947
3957
|
// `{{#this.foo}}...{{/this.foo}}`, resolve the value of `foo`, and
|
|
3948
3958
|
// replace it on the stack with the result of properly
|
|
3949
3959
|
// invoking blockHelperMissing.
|
|
3950
|
-
blockValue: function(
|
|
3960
|
+
blockValue: function(s) {
|
|
3951
3961
|
var n = this.aliasable("container.hooks.blockHelperMissing"), v = [this.contextName(0)];
|
|
3952
|
-
this.setupHelperArgs(
|
|
3962
|
+
this.setupHelperArgs(s, 0, v);
|
|
3953
3963
|
var _ = this.popStack();
|
|
3954
3964
|
v.splice(1, 0, _), this.push(this.source.functionCall(n, "call", v));
|
|
3955
3965
|
},
|
|
@@ -3960,10 +3970,10 @@ var ys = ir.exports;
|
|
|
3960
3970
|
// On stack, after, if no lastHelper: same as [blockValue]
|
|
3961
3971
|
// On stack, after, if lastHelper: value
|
|
3962
3972
|
ambiguousBlockValue: function() {
|
|
3963
|
-
var
|
|
3973
|
+
var s = this.aliasable("container.hooks.blockHelperMissing"), n = [this.contextName(0)];
|
|
3964
3974
|
this.setupHelperArgs("", 0, n, !0), this.flushInline();
|
|
3965
3975
|
var v = this.topStack();
|
|
3966
|
-
n.splice(1, 0, v), this.pushSource(["if (!", this.lastHelper, ") { ", v, " = ", this.source.functionCall(
|
|
3976
|
+
n.splice(1, 0, v), this.pushSource(["if (!", this.lastHelper, ") { ", v, " = ", this.source.functionCall(s, "call", n), "}"]);
|
|
3967
3977
|
},
|
|
3968
3978
|
// [appendContent]
|
|
3969
3979
|
//
|
|
@@ -3971,8 +3981,8 @@ var ys = ir.exports;
|
|
|
3971
3981
|
// On stack, after: ...
|
|
3972
3982
|
//
|
|
3973
3983
|
// Appends the string value of `content` to the current buffer
|
|
3974
|
-
appendContent: function(
|
|
3975
|
-
this.pendingContent ?
|
|
3984
|
+
appendContent: function(s) {
|
|
3985
|
+
this.pendingContent ? s = this.pendingContent + s : this.pendingLocation = this.source.currentLocation, this.pendingContent = s;
|
|
3976
3986
|
},
|
|
3977
3987
|
// [append]
|
|
3978
3988
|
//
|
|
@@ -3989,8 +3999,8 @@ var ys = ir.exports;
|
|
|
3989
3999
|
return [" != null ? ", n, ' : ""'];
|
|
3990
4000
|
}), this.pushSource(this.appendToBuffer(this.popStack()));
|
|
3991
4001
|
else {
|
|
3992
|
-
var
|
|
3993
|
-
this.pushSource(["if (",
|
|
4002
|
+
var s = this.popStack();
|
|
4003
|
+
this.pushSource(["if (", s, " != null) { ", this.appendToBuffer(s, void 0, !0), " }"]), this.environment.isSimple && this.pushSource(["else { ", this.appendToBuffer("''", void 0, !0), " }"]);
|
|
3994
4004
|
}
|
|
3995
4005
|
},
|
|
3996
4006
|
// [appendEscaped]
|
|
@@ -4009,8 +4019,8 @@ var ys = ir.exports;
|
|
|
4009
4019
|
// Compiler value, after: lastContext=depth
|
|
4010
4020
|
//
|
|
4011
4021
|
// Set the value of the `lastContext` compiler value to the depth
|
|
4012
|
-
getContext: function(
|
|
4013
|
-
this.lastContext =
|
|
4022
|
+
getContext: function(s) {
|
|
4023
|
+
this.lastContext = s;
|
|
4014
4024
|
},
|
|
4015
4025
|
// [pushContext]
|
|
4016
4026
|
//
|
|
@@ -4028,9 +4038,9 @@ var ys = ir.exports;
|
|
|
4028
4038
|
//
|
|
4029
4039
|
// Looks up the value of `name` on the current context and pushes
|
|
4030
4040
|
// it onto the stack.
|
|
4031
|
-
lookupOnContext: function(
|
|
4041
|
+
lookupOnContext: function(s, n, v, _) {
|
|
4032
4042
|
var b = 0;
|
|
4033
|
-
!_ && this.options.compat && !this.lastContext ? this.push(this.depthedLookup(
|
|
4043
|
+
!_ && this.options.compat && !this.lastContext ? this.push(this.depthedLookup(s[b++])) : this.pushContext(), this.resolvePath("context", s, b, n, v);
|
|
4034
4044
|
},
|
|
4035
4045
|
// [lookupBlockParam]
|
|
4036
4046
|
//
|
|
@@ -4039,8 +4049,8 @@ var ys = ir.exports;
|
|
|
4039
4049
|
//
|
|
4040
4050
|
// Looks up the value of `parts` on the given block param and pushes
|
|
4041
4051
|
// it onto the stack.
|
|
4042
|
-
lookupBlockParam: function(
|
|
4043
|
-
this.useBlockParams = !0, this.push(["blockParams[",
|
|
4052
|
+
lookupBlockParam: function(s, n) {
|
|
4053
|
+
this.useBlockParams = !0, this.push(["blockParams[", s[0], "][", s[1], "]"]), this.resolvePath("context", n, 1);
|
|
4044
4054
|
},
|
|
4045
4055
|
// [lookupData]
|
|
4046
4056
|
//
|
|
@@ -4048,18 +4058,18 @@ var ys = ir.exports;
|
|
|
4048
4058
|
// On stack, after: data, ...
|
|
4049
4059
|
//
|
|
4050
4060
|
// Push the data lookup operator
|
|
4051
|
-
lookupData: function(
|
|
4052
|
-
|
|
4061
|
+
lookupData: function(s, n, v) {
|
|
4062
|
+
s ? this.pushStackLiteral("container.data(data, " + s + ")") : this.pushStackLiteral("data"), this.resolvePath("data", n, 0, !0, v);
|
|
4053
4063
|
},
|
|
4054
|
-
resolvePath: function(
|
|
4064
|
+
resolvePath: function(s, n, v, _, b) {
|
|
4055
4065
|
var y = this;
|
|
4056
4066
|
if (this.options.strict || this.options.assumeObjects) {
|
|
4057
|
-
this.push(d(this.options.strict && b, this, n, v,
|
|
4067
|
+
this.push(d(this.options.strict && b, this, n, v, s));
|
|
4058
4068
|
return;
|
|
4059
4069
|
}
|
|
4060
4070
|
for (var E = n.length; v < E; v++)
|
|
4061
4071
|
this.replaceStack(function(g) {
|
|
4062
|
-
var S = y.nameLookup(g, n[v],
|
|
4072
|
+
var S = y.nameLookup(g, n[v], s);
|
|
4063
4073
|
return _ ? [" && ", S] : [" != null ? ", S, " : ", g];
|
|
4064
4074
|
});
|
|
4065
4075
|
},
|
|
@@ -4081,18 +4091,18 @@ var ys = ir.exports;
|
|
|
4081
4091
|
// This opcode is designed for use in string mode, which
|
|
4082
4092
|
// provides the string value of a parameter along with its
|
|
4083
4093
|
// depth rather than resolving it immediately.
|
|
4084
|
-
pushStringParam: function(
|
|
4085
|
-
this.pushContext(), this.pushString(n), n !== "SubExpression" && (typeof
|
|
4094
|
+
pushStringParam: function(s, n) {
|
|
4095
|
+
this.pushContext(), this.pushString(n), n !== "SubExpression" && (typeof s == "string" ? this.pushString(s) : this.pushStackLiteral(s));
|
|
4086
4096
|
},
|
|
4087
|
-
emptyHash: function(
|
|
4088
|
-
this.trackIds && this.push("{}"), this.stringParams && (this.push("{}"), this.push("{}")), this.pushStackLiteral(
|
|
4097
|
+
emptyHash: function(s) {
|
|
4098
|
+
this.trackIds && this.push("{}"), this.stringParams && (this.push("{}"), this.push("{}")), this.pushStackLiteral(s ? "undefined" : "{}");
|
|
4089
4099
|
},
|
|
4090
4100
|
pushHash: function() {
|
|
4091
4101
|
this.hash && this.hashes.push(this.hash), this.hash = { values: {}, types: [], contexts: [], ids: [] };
|
|
4092
4102
|
},
|
|
4093
4103
|
popHash: function() {
|
|
4094
|
-
var
|
|
4095
|
-
this.hash = this.hashes.pop(), this.trackIds && this.push(this.objectLiteral(
|
|
4104
|
+
var s = this.hash;
|
|
4105
|
+
this.hash = this.hashes.pop(), this.trackIds && this.push(this.objectLiteral(s.ids)), this.stringParams && (this.push(this.objectLiteral(s.contexts)), this.push(this.objectLiteral(s.types))), this.push(this.objectLiteral(s.values));
|
|
4096
4106
|
},
|
|
4097
4107
|
// [pushString]
|
|
4098
4108
|
//
|
|
@@ -4100,8 +4110,8 @@ var ys = ir.exports;
|
|
|
4100
4110
|
// On stack, after: quotedString(string), ...
|
|
4101
4111
|
//
|
|
4102
4112
|
// Push a quoted version of `string` onto the stack
|
|
4103
|
-
pushString: function(
|
|
4104
|
-
this.pushStackLiteral(this.quotedString(
|
|
4113
|
+
pushString: function(s) {
|
|
4114
|
+
this.pushStackLiteral(this.quotedString(s));
|
|
4105
4115
|
},
|
|
4106
4116
|
// [pushLiteral]
|
|
4107
4117
|
//
|
|
@@ -4111,8 +4121,8 @@ var ys = ir.exports;
|
|
|
4111
4121
|
// Pushes a value onto the stack. This operation prevents
|
|
4112
4122
|
// the compiler from creating a temporary variable to hold
|
|
4113
4123
|
// it.
|
|
4114
|
-
pushLiteral: function(
|
|
4115
|
-
this.pushStackLiteral(
|
|
4124
|
+
pushLiteral: function(s) {
|
|
4125
|
+
this.pushStackLiteral(s);
|
|
4116
4126
|
},
|
|
4117
4127
|
// [pushProgram]
|
|
4118
4128
|
//
|
|
@@ -4122,8 +4132,8 @@ var ys = ir.exports;
|
|
|
4122
4132
|
// Push a program expression onto the stack. This takes
|
|
4123
4133
|
// a compile-time guid and converts it into a runtime-accessible
|
|
4124
4134
|
// expression.
|
|
4125
|
-
pushProgram: function(
|
|
4126
|
-
|
|
4135
|
+
pushProgram: function(s) {
|
|
4136
|
+
s != null ? this.pushStackLiteral(this.programExpression(s)) : this.pushStackLiteral(null);
|
|
4127
4137
|
},
|
|
4128
4138
|
// [registerDecorator]
|
|
4129
4139
|
//
|
|
@@ -4132,8 +4142,8 @@ var ys = ir.exports;
|
|
|
4132
4142
|
//
|
|
4133
4143
|
// Pops off the decorator's parameters, invokes the decorator,
|
|
4134
4144
|
// and inserts the decorator into the decorators list.
|
|
4135
|
-
registerDecorator: function(
|
|
4136
|
-
var v = this.nameLookup("decorators", n, "decorator"), _ = this.setupHelperArgs(n,
|
|
4145
|
+
registerDecorator: function(s, n) {
|
|
4146
|
+
var v = this.nameLookup("decorators", n, "decorator"), _ = this.setupHelperArgs(n, s);
|
|
4137
4147
|
this.decorators.push(["fn = ", this.decorators.functionCall(v, "", ["fn", "props", "container", _]), " || fn;"]);
|
|
4138
4148
|
},
|
|
4139
4149
|
// [invokeHelper]
|
|
@@ -4145,17 +4155,17 @@ var ys = ir.exports;
|
|
|
4145
4155
|
// and pushes the helper's return value onto the stack.
|
|
4146
4156
|
//
|
|
4147
4157
|
// If the helper is not found, `helperMissing` is called.
|
|
4148
|
-
invokeHelper: function(
|
|
4149
|
-
var _ = this.popStack(), b = this.setupHelper(
|
|
4158
|
+
invokeHelper: function(s, n, v) {
|
|
4159
|
+
var _ = this.popStack(), b = this.setupHelper(s, n), y = [];
|
|
4150
4160
|
v && y.push(b.name), y.push(_), this.options.strict || y.push(this.aliasable("container.hooks.helperMissing"));
|
|
4151
4161
|
var E = ["(", this.itemsSeparatedBy(y, "||"), ")"], g = this.source.functionCall(E, "call", b.callParams);
|
|
4152
4162
|
this.push(g);
|
|
4153
4163
|
},
|
|
4154
|
-
itemsSeparatedBy: function(
|
|
4164
|
+
itemsSeparatedBy: function(s, n) {
|
|
4155
4165
|
var v = [];
|
|
4156
|
-
v.push(
|
|
4157
|
-
for (var _ = 1; _ <
|
|
4158
|
-
v.push(n,
|
|
4166
|
+
v.push(s[0]);
|
|
4167
|
+
for (var _ = 1; _ < s.length; _++)
|
|
4168
|
+
v.push(n, s[_]);
|
|
4159
4169
|
return v;
|
|
4160
4170
|
},
|
|
4161
4171
|
// [invokeKnownHelper]
|
|
@@ -4165,8 +4175,8 @@ var ys = ir.exports;
|
|
|
4165
4175
|
//
|
|
4166
4176
|
// This operation is used when the helper is known to exist,
|
|
4167
4177
|
// so a `helperMissing` fallback is not required.
|
|
4168
|
-
invokeKnownHelper: function(
|
|
4169
|
-
var v = this.setupHelper(
|
|
4178
|
+
invokeKnownHelper: function(s, n) {
|
|
4179
|
+
var v = this.setupHelper(s, n);
|
|
4170
4180
|
this.push(this.source.functionCall(v.name, "call", v.callParams));
|
|
4171
4181
|
},
|
|
4172
4182
|
// [invokeAmbiguous]
|
|
@@ -4181,11 +4191,11 @@ var ys = ir.exports;
|
|
|
4181
4191
|
// This operation emits more code than the other options,
|
|
4182
4192
|
// and can be avoided by passing the `knownHelpers` and
|
|
4183
4193
|
// `knownHelpersOnly` flags at compile-time.
|
|
4184
|
-
invokeAmbiguous: function(
|
|
4194
|
+
invokeAmbiguous: function(s, n) {
|
|
4185
4195
|
this.useRegister("helper");
|
|
4186
4196
|
var v = this.popStack();
|
|
4187
4197
|
this.emptyHash();
|
|
4188
|
-
var _ = this.setupHelper(0,
|
|
4198
|
+
var _ = this.setupHelper(0, s, n), b = this.lastHelper = this.nameLookup("helpers", s, "helper"), y = ["(", "(helper = ", b, " || ", v, ")"];
|
|
4189
4199
|
this.options.strict || (y[0] = "(helper = ", y.push(" != null ? helper : ", this.aliasable("container.hooks.helperMissing"))), this.push(["(", y, _.paramsInit ? ["),(", _.paramsInit] : [], "),", "(typeof helper === ", this.aliasable('"function"'), " ? ", this.source.functionCall("helper", "call", _.callParams), " : helper))"]);
|
|
4190
4200
|
},
|
|
4191
4201
|
// [invokePartial]
|
|
@@ -4195,9 +4205,9 @@ var ys = ir.exports;
|
|
|
4195
4205
|
//
|
|
4196
4206
|
// This operation pops off a context, invokes a partial with that context,
|
|
4197
4207
|
// and pushes the result of the invocation back.
|
|
4198
|
-
invokePartial: function(
|
|
4208
|
+
invokePartial: function(s, n, v) {
|
|
4199
4209
|
var _ = [], b = this.setupParams(n, 1, _);
|
|
4200
|
-
|
|
4210
|
+
s && (n = this.popStack(), delete b.name), v && (b.indent = JSON.stringify(v)), b.helpers = "helpers", b.partials = "partials", b.decorators = "container.decorators", s ? _.unshift(n) : _.unshift(this.nameLookup("partials", n, "partial")), this.options.compat && (b.depths = "depths"), b = this.objectLiteral(b), _.push(b), this.push(this.source.functionCall("container.invokePartial", "", _));
|
|
4201
4211
|
},
|
|
4202
4212
|
// [assignToHash]
|
|
4203
4213
|
//
|
|
@@ -4205,19 +4215,19 @@ var ys = ir.exports;
|
|
|
4205
4215
|
// On stack, after: ..., hash, ...
|
|
4206
4216
|
//
|
|
4207
4217
|
// Pops a value off the stack and assigns it to the current hash
|
|
4208
|
-
assignToHash: function(
|
|
4218
|
+
assignToHash: function(s) {
|
|
4209
4219
|
var n = this.popStack(), v = void 0, _ = void 0, b = void 0;
|
|
4210
4220
|
this.trackIds && (b = this.popStack()), this.stringParams && (_ = this.popStack(), v = this.popStack());
|
|
4211
4221
|
var y = this.hash;
|
|
4212
|
-
v && (y.contexts[
|
|
4222
|
+
v && (y.contexts[s] = v), _ && (y.types[s] = _), b && (y.ids[s] = b), y.values[s] = n;
|
|
4213
4223
|
},
|
|
4214
|
-
pushId: function(
|
|
4215
|
-
|
|
4224
|
+
pushId: function(s, n, v) {
|
|
4225
|
+
s === "BlockParam" ? this.pushStackLiteral("blockParams[" + n[0] + "].path[" + n[1] + "]" + (v ? " + " + JSON.stringify("." + v) : "")) : s === "PathExpression" ? this.pushString(n) : s === "SubExpression" ? this.pushStackLiteral("true") : this.pushStackLiteral("null");
|
|
4216
4226
|
},
|
|
4217
4227
|
// HELPERS
|
|
4218
|
-
compiler:
|
|
4219
|
-
compileChildren: function(
|
|
4220
|
-
for (var v =
|
|
4228
|
+
compiler: a,
|
|
4229
|
+
compileChildren: function(s, n) {
|
|
4230
|
+
for (var v = s.children, _ = void 0, b = void 0, y = 0, E = v.length; y < E; y++) {
|
|
4221
4231
|
_ = v[y], b = new this.compiler();
|
|
4222
4232
|
var g = this.matchExistingProgram(_);
|
|
4223
4233
|
if (g == null) {
|
|
@@ -4228,30 +4238,30 @@ var ys = ir.exports;
|
|
|
4228
4238
|
_.index = g.index, _.name = "program" + g.index, this.useDepths = this.useDepths || g.useDepths, this.useBlockParams = this.useBlockParams || g.useBlockParams;
|
|
4229
4239
|
}
|
|
4230
4240
|
},
|
|
4231
|
-
matchExistingProgram: function(
|
|
4241
|
+
matchExistingProgram: function(s) {
|
|
4232
4242
|
for (var n = 0, v = this.context.environments.length; n < v; n++) {
|
|
4233
4243
|
var _ = this.context.environments[n];
|
|
4234
|
-
if (_ && _.equals(
|
|
4244
|
+
if (_ && _.equals(s))
|
|
4235
4245
|
return _;
|
|
4236
4246
|
}
|
|
4237
4247
|
},
|
|
4238
|
-
programExpression: function(
|
|
4239
|
-
var n = this.environment.children[
|
|
4248
|
+
programExpression: function(s) {
|
|
4249
|
+
var n = this.environment.children[s], v = [n.index, "data", n.blockParams];
|
|
4240
4250
|
return (this.useBlockParams || this.useDepths) && v.push("blockParams"), this.useDepths && v.push("depths"), "container.program(" + v.join(", ") + ")";
|
|
4241
4251
|
},
|
|
4242
|
-
useRegister: function(
|
|
4243
|
-
this.registers[
|
|
4252
|
+
useRegister: function(s) {
|
|
4253
|
+
this.registers[s] || (this.registers[s] = !0, this.registers.list.push(s));
|
|
4244
4254
|
},
|
|
4245
|
-
push: function(
|
|
4246
|
-
return
|
|
4255
|
+
push: function(s) {
|
|
4256
|
+
return s instanceof u || (s = this.source.wrap(s)), this.inlineStack.push(s), s;
|
|
4247
4257
|
},
|
|
4248
|
-
pushStackLiteral: function(
|
|
4249
|
-
this.push(new u(
|
|
4258
|
+
pushStackLiteral: function(s) {
|
|
4259
|
+
this.push(new u(s));
|
|
4250
4260
|
},
|
|
4251
|
-
pushSource: function(
|
|
4252
|
-
this.pendingContent && (this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent), this.pendingLocation)), this.pendingContent = void 0),
|
|
4261
|
+
pushSource: function(s) {
|
|
4262
|
+
this.pendingContent && (this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent), this.pendingLocation)), this.pendingContent = void 0), s && this.source.push(s);
|
|
4253
4263
|
},
|
|
4254
|
-
replaceStack: function(
|
|
4264
|
+
replaceStack: function(s) {
|
|
4255
4265
|
var n = ["("], v = void 0, _ = void 0, b = void 0;
|
|
4256
4266
|
if (!this.isInline())
|
|
4257
4267
|
throw new f.default("replaceStack on non-inline");
|
|
@@ -4263,7 +4273,7 @@ var ys = ir.exports;
|
|
|
4263
4273
|
var E = this.incrStack();
|
|
4264
4274
|
n = ["((", this.push(E), " = ", y, ")"], v = this.topStack();
|
|
4265
4275
|
}
|
|
4266
|
-
var g =
|
|
4276
|
+
var g = s.call(this, v);
|
|
4267
4277
|
b || this.popStack(), _ && this.stackSlot--, this.push(n.concat(g, ")"));
|
|
4268
4278
|
},
|
|
4269
4279
|
incrStack: function() {
|
|
@@ -4273,10 +4283,10 @@ var ys = ir.exports;
|
|
|
4273
4283
|
return "stack" + this.stackSlot;
|
|
4274
4284
|
},
|
|
4275
4285
|
flushInline: function() {
|
|
4276
|
-
var
|
|
4286
|
+
var s = this.inlineStack;
|
|
4277
4287
|
this.inlineStack = [];
|
|
4278
|
-
for (var n = 0, v =
|
|
4279
|
-
var _ =
|
|
4288
|
+
for (var n = 0, v = s.length; n < v; n++) {
|
|
4289
|
+
var _ = s[n];
|
|
4280
4290
|
if (_ instanceof u)
|
|
4281
4291
|
this.compileStack.push(_);
|
|
4282
4292
|
else {
|
|
@@ -4288,9 +4298,9 @@ var ys = ir.exports;
|
|
|
4288
4298
|
isInline: function() {
|
|
4289
4299
|
return this.inlineStack.length;
|
|
4290
4300
|
},
|
|
4291
|
-
popStack: function(
|
|
4301
|
+
popStack: function(s) {
|
|
4292
4302
|
var n = this.isInline(), v = (n ? this.inlineStack : this.compileStack).pop();
|
|
4293
|
-
if (!
|
|
4303
|
+
if (!s && v instanceof u)
|
|
4294
4304
|
return v.value;
|
|
4295
4305
|
if (!n) {
|
|
4296
4306
|
if (!this.stackSlot)
|
|
@@ -4300,24 +4310,24 @@ var ys = ir.exports;
|
|
|
4300
4310
|
return v;
|
|
4301
4311
|
},
|
|
4302
4312
|
topStack: function() {
|
|
4303
|
-
var
|
|
4313
|
+
var s = this.isInline() ? this.inlineStack : this.compileStack, n = s[s.length - 1];
|
|
4304
4314
|
return n instanceof u ? n.value : n;
|
|
4305
4315
|
},
|
|
4306
|
-
contextName: function(
|
|
4307
|
-
return this.useDepths &&
|
|
4316
|
+
contextName: function(s) {
|
|
4317
|
+
return this.useDepths && s ? "depths[" + s + "]" : "depth" + s;
|
|
4308
4318
|
},
|
|
4309
|
-
quotedString: function(
|
|
4310
|
-
return this.source.quotedString(
|
|
4319
|
+
quotedString: function(s) {
|
|
4320
|
+
return this.source.quotedString(s);
|
|
4311
4321
|
},
|
|
4312
|
-
objectLiteral: function(
|
|
4313
|
-
return this.source.objectLiteral(
|
|
4322
|
+
objectLiteral: function(s) {
|
|
4323
|
+
return this.source.objectLiteral(s);
|
|
4314
4324
|
},
|
|
4315
|
-
aliasable: function(
|
|
4316
|
-
var n = this.aliases[
|
|
4317
|
-
return n ? (n.referenceCount++, n) : (n = this.aliases[
|
|
4325
|
+
aliasable: function(s) {
|
|
4326
|
+
var n = this.aliases[s];
|
|
4327
|
+
return n ? (n.referenceCount++, n) : (n = this.aliases[s] = this.source.wrap(s), n.aliasable = !0, n.referenceCount = 1, n);
|
|
4318
4328
|
},
|
|
4319
|
-
setupHelper: function(
|
|
4320
|
-
var _ = [], b = this.setupHelperArgs(n,
|
|
4329
|
+
setupHelper: function(s, n, v) {
|
|
4330
|
+
var _ = [], b = this.setupHelperArgs(n, s, _, v), y = this.nameLookup("helpers", n, "helper"), E = this.aliasable(this.contextName(0) + " != null ? " + this.contextName(0) + " : (container.nullContext || {})");
|
|
4321
4331
|
return {
|
|
4322
4332
|
params: _,
|
|
4323
4333
|
paramsInit: b,
|
|
@@ -4325,53 +4335,53 @@ var ys = ir.exports;
|
|
|
4325
4335
|
callParams: [E].concat(_)
|
|
4326
4336
|
};
|
|
4327
4337
|
},
|
|
4328
|
-
setupParams: function(
|
|
4338
|
+
setupParams: function(s, n, v) {
|
|
4329
4339
|
var _ = {}, b = [], y = [], E = [], g = !v, S = void 0;
|
|
4330
|
-
g && (v = []), _.name = this.quotedString(
|
|
4340
|
+
g && (v = []), _.name = this.quotedString(s), _.hash = this.popStack(), this.trackIds && (_.hashIds = this.popStack()), this.stringParams && (_.hashTypes = this.popStack(), _.hashContexts = this.popStack());
|
|
4331
4341
|
var A = this.popStack(), k = this.popStack();
|
|
4332
4342
|
(k || A) && (_.fn = k || "container.noop", _.inverse = A || "container.noop");
|
|
4333
4343
|
for (var x = n; x--; )
|
|
4334
4344
|
S = this.popStack(), v[x] = S, this.trackIds && (E[x] = this.popStack()), this.stringParams && (y[x] = this.popStack(), b[x] = this.popStack());
|
|
4335
4345
|
return g && (_.args = this.source.generateArray(v)), this.trackIds && (_.ids = this.source.generateArray(E)), this.stringParams && (_.types = this.source.generateArray(y), _.contexts = this.source.generateArray(b)), this.options.data && (_.data = "data"), this.useBlockParams && (_.blockParams = "blockParams"), _;
|
|
4336
4346
|
},
|
|
4337
|
-
setupHelperArgs: function(
|
|
4338
|
-
var b = this.setupParams(
|
|
4347
|
+
setupHelperArgs: function(s, n, v, _) {
|
|
4348
|
+
var b = this.setupParams(s, n, v);
|
|
4339
4349
|
return b.loc = JSON.stringify(this.source.currentLocation), b = this.objectLiteral(b), _ ? (this.useRegister("options"), v.push("options"), ["options=", b]) : v ? (v.push(b), "") : b;
|
|
4340
4350
|
}
|
|
4341
4351
|
}, function() {
|
|
4342
|
-
for (var r = "break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),
|
|
4343
|
-
|
|
4344
|
-
}(),
|
|
4345
|
-
return !
|
|
4352
|
+
for (var r = "break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "), s = a.RESERVED_WORDS = {}, n = 0, v = r.length; n < v; n++)
|
|
4353
|
+
s[r[n]] = !0;
|
|
4354
|
+
}(), a.isValidJavaScriptVariableName = function(r) {
|
|
4355
|
+
return !a.RESERVED_WORDS[r] && /^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(r);
|
|
4346
4356
|
};
|
|
4347
|
-
function d(r,
|
|
4348
|
-
var b =
|
|
4357
|
+
function d(r, s, n, v, _) {
|
|
4358
|
+
var b = s.popStack(), y = n.length;
|
|
4349
4359
|
for (r && y--; v < y; v++)
|
|
4350
|
-
b =
|
|
4351
|
-
return r ? [
|
|
4360
|
+
b = s.nameLookup(b, n[v], _);
|
|
4361
|
+
return r ? [s.aliasable("container.strict"), "(", b, ", ", s.quotedString(n[v]), ", ", JSON.stringify(s.source.currentLocation), " )"] : b;
|
|
4352
4362
|
}
|
|
4353
|
-
e.default =
|
|
4363
|
+
e.default = a, t.exports = e.default;
|
|
4354
4364
|
})(nr, nr.exports);
|
|
4355
|
-
var
|
|
4365
|
+
var Sa = nr.exports;
|
|
4356
4366
|
(function(t, e) {
|
|
4357
4367
|
e.__esModule = !0;
|
|
4358
4368
|
function i(y) {
|
|
4359
4369
|
return y && y.__esModule ? y : { default: y };
|
|
4360
4370
|
}
|
|
4361
|
-
var c = Ho, h = i(c), f = bn, p = i(f), l = De, o = Be, u =
|
|
4371
|
+
var c = Ho, h = i(c), f = bn, p = i(f), l = De, o = Be, u = Sa, a = i(u), d = En, r = i(d), s = Sn, n = i(s), v = h.default.create;
|
|
4362
4372
|
function _() {
|
|
4363
4373
|
var y = v();
|
|
4364
4374
|
return y.compile = function(E, g) {
|
|
4365
4375
|
return o.compile(E, g, y);
|
|
4366
4376
|
}, y.precompile = function(E, g) {
|
|
4367
4377
|
return o.precompile(E, g, y);
|
|
4368
|
-
}, y.AST = p.default, y.Compiler = o.Compiler, y.JavaScriptCompiler =
|
|
4378
|
+
}, y.AST = p.default, y.Compiler = o.Compiler, y.JavaScriptCompiler = a.default, y.Parser = l.parser, y.parse = l.parse, y.parseWithoutProcessing = l.parseWithoutProcessing, y;
|
|
4369
4379
|
}
|
|
4370
4380
|
var b = _();
|
|
4371
4381
|
b.create = _, n.default(b), b.Visitor = r.default, b.default = b, e.default = b, t.exports = e.default;
|
|
4372
4382
|
})(It, It.exports);
|
|
4373
|
-
var
|
|
4374
|
-
const or = /* @__PURE__ */ zn(
|
|
4383
|
+
var ba = It.exports;
|
|
4384
|
+
const or = /* @__PURE__ */ zn(ba);
|
|
4375
4385
|
or.registerHelper("costOrNA", (t) => t || "N/A");
|
|
4376
4386
|
function un(t) {
|
|
4377
4387
|
switch (t) {
|
|
@@ -4383,20 +4393,20 @@ function un(t) {
|
|
|
4383
4393
|
return "#7A7A7A";
|
|
4384
4394
|
}
|
|
4385
4395
|
}
|
|
4386
|
-
function
|
|
4396
|
+
function Oa(t, e) {
|
|
4387
4397
|
const i = t.map((h) => {
|
|
4388
4398
|
var f;
|
|
4389
4399
|
try {
|
|
4390
4400
|
let p, l;
|
|
4391
4401
|
if ((f = h.config) != null && f.templateHtml) {
|
|
4392
4402
|
p = h.config.templateHtml;
|
|
4393
|
-
const
|
|
4394
|
-
l = Br(
|
|
4403
|
+
const a = h.config.configFields || [];
|
|
4404
|
+
l = Br(a);
|
|
4395
4405
|
} else {
|
|
4396
|
-
const
|
|
4397
|
-
if (!
|
|
4398
|
-
p =
|
|
4399
|
-
const d =
|
|
4406
|
+
const a = ar[h.tag];
|
|
4407
|
+
if (!a) return "";
|
|
4408
|
+
p = a.template;
|
|
4409
|
+
const d = a.initialConfigFields();
|
|
4400
4410
|
l = { ...Br(d), ...h.config || {} };
|
|
4401
4411
|
}
|
|
4402
4412
|
if (h.tag === "customText" && l.content)
|
|
@@ -4445,7 +4455,7 @@ function Os(t, e) {
|
|
|
4445
4455
|
}
|
|
4446
4456
|
</style>`;
|
|
4447
4457
|
}
|
|
4448
|
-
const
|
|
4458
|
+
const Ma = Vn("printTemplate", () => {
|
|
4449
4459
|
const t = mt([]), e = mt(!1), i = mt(!1), c = Kn(() => {
|
|
4450
4460
|
const l = {};
|
|
4451
4461
|
for (const o of t.value)
|
|
@@ -4480,7 +4490,7 @@ const Ms = Vn("printTemplate", () => {
|
|
|
4480
4490
|
getTemplateByType: f,
|
|
4481
4491
|
invalidate: p
|
|
4482
4492
|
};
|
|
4483
|
-
}),
|
|
4493
|
+
}), Ea = {
|
|
4484
4494
|
purchaseOrder: [
|
|
4485
4495
|
{
|
|
4486
4496
|
id: "standard-po",
|
|
@@ -4514,20 +4524,20 @@ const Ms = Vn("printTemplate", () => {
|
|
|
4514
4524
|
}
|
|
4515
4525
|
]
|
|
4516
4526
|
};
|
|
4517
|
-
function
|
|
4518
|
-
return
|
|
4527
|
+
function Na(t) {
|
|
4528
|
+
return Ea[t][0];
|
|
4519
4529
|
}
|
|
4520
4530
|
export {
|
|
4521
|
-
|
|
4531
|
+
ar as B,
|
|
4522
4532
|
Ke as a,
|
|
4523
4533
|
pe as b,
|
|
4524
|
-
|
|
4534
|
+
xa as c,
|
|
4525
4535
|
Qn as d,
|
|
4526
|
-
|
|
4527
|
-
|
|
4528
|
-
|
|
4529
|
-
|
|
4530
|
-
|
|
4536
|
+
Ta as e,
|
|
4537
|
+
Ma as f,
|
|
4538
|
+
Pa as g,
|
|
4539
|
+
Na as h,
|
|
4540
|
+
Oa as r,
|
|
4531
4541
|
je as s,
|
|
4532
4542
|
Jn as u
|
|
4533
4543
|
};
|