hlrender 0.0.31 → 0.0.33
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/{affix-widget-30f2ea6c.js → affix-widget-ffc00e67.js} +16 -16
- package/{alert-widget-c04a1725.js → alert-widget-44dc2773.js} +16 -16
- package/{anchor-widget-9d07cd7e.js → anchor-widget-2ee9e1a6.js} +13 -13
- package/{auto-complete-widget-b1f7aa7a.js → auto-complete-widget-68458862.js} +16 -16
- package/{avatar-widget-709f7ee7.js → avatar-widget-c71fb31b.js} +16 -16
- package/{backtop-widget-9ad291ef.js → backtop-widget-a2511867.js} +16 -16
- package/{badge-widget-25f42960.js → badge-widget-c6ed96b0.js} +16 -16
- package/{baseImp-9dc35637.js → baseImp-42b8a74e.js} +7 -7
- package/{breadcrumb-widget-94a9873d.js → breadcrumb-widget-af757a8f.js} +13 -13
- package/{button-widget-8ffb0ecd.js → button-widget-8b5fa025.js} +16 -16
- package/{cache-widget-d581bc9d.js → cache-widget-985ebe1c.js} +15 -15
- package/{card-widget-4e298c77.js → card-widget-b9a32b20.js} +14 -14
- package/{carousel-widget-20f6df18.js → carousel-widget-bf07e80f.js} +14 -14
- package/{cascader-widget-564492f6.js → cascader-widget-9bb52070.js} +15 -15
- package/{chart-widget-7d1e36dc.js → chart-widget-bdbf03e0.js} +13 -13
- package/{checkbox-widget-8f68a90e.js → checkbox-widget-9d024b79.js} +15 -15
- package/{collapse-widget-541ad6d5.js → collapse-widget-b1271c84.js} +14 -14
- package/{color-picker-widget-df756adc.js → color-picker-widget-473d60cc.js} +15 -15
- package/{cont-cell-widget-5c8b3431.js → cont-cell-widget-12817868.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-174b4ab2.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-a8152801.js} +5 -5
- package/{cont-widget-9b88d171.js → cont-widget-b9451de3.js} +5 -5
- package/content-wrapper-f2d6d586.js +14 -0
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-8b6e8053.js → content-wrapper.vue_vue_type_script_setup_true_lang-3561b20b.js} +3 -3
- package/{date-picker-range-widget-d4246a3f.js → date-picker-range-widget-287f7367.js} +15 -15
- package/{date-picker-widget-5d34aa42.js → date-picker-widget-649acead.js} +15 -15
- package/default-slot-widget-2fbf71e0.js +24 -0
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-6ec19694.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-4dcf1673.js} +7 -7
- package/{descriptions-widget-6a91fa34.js → descriptions-widget-347b8505.js} +14 -14
- package/{dialog-f934cab6.js → dialog-1e3ad5e2.js} +2 -2
- package/{dialog-widget-f3a1824d.js → dialog-widget-cfce6d78.js} +15 -15
- package/{divider-widget-4816aab2.js → divider-widget-5e0a01d5.js} +16 -16
- package/{drag-wrapper-dc4fb2cf.js → drag-wrapper-244d66f5.js} +6 -6
- package/{drawer-widget-872f4b90.js → drawer-widget-21f89466.js} +15 -15
- package/{dropdown-widget-5b7a4fd2.js → dropdown-widget-6c6251a1.js} +14 -14
- package/{empty-widget-22dd02bf.js → empty-widget-12ef52cb.js} +16 -16
- package/{enum-type-a8dcfe1b.js → enum-type-40ac9749.js} +1 -1
- package/{enum-type-3ddfb3c0.js → enum-type-f9ec26c7.js} +3 -1
- package/{expression-fca39f89.js → expression-5071e53a.js} +941 -941
- package/feedback-widget-cc475361.js +24 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-05f55615.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-864b78c0.js} +5 -5
- package/{fieldobj-4a037177.js → fieldobj-fd344656.js} +1 -1
- package/{file-upload-widget-5be694b9.js → file-upload-widget-a27e9af3.js} +16 -16
- package/{form-item-wrapper-553d43e5.js → form-item-wrapper-bd1d5bd5.js} +11 -11
- package/{form-widget-2090a045.js → form-widget-1ae9d7f1.js} +11 -11
- package/{grid-col-widget-f7a64f05.js → grid-col-widget-dde9b65f.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-3af5cc0b.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-d9f16be4.js} +5 -5
- package/{grid-widget-49ecc8d6.js → grid-widget-be5c0fa7.js} +5 -5
- package/{html-text-widget-23447632.js → html-text-widget-3145e8ae.js} +14 -14
- package/{iframe-widget-32638539.js → iframe-widget-5a7be52b.js} +13 -13
- package/{image-widget-b51e3a19.js → image-widget-b3d2f3be.js} +13 -13
- package/{index-8fc40e72.js → index-282328c0.js} +1112 -1092
- package/{index-297620ce.js → index-613c262d.js} +4 -4
- package/{index-6ea9df19.js → index-d242151f.js} +1 -1
- package/{input-number-widget-82b3eb71.js → input-number-widget-ec9f2d45.js} +15 -15
- package/{input-widget-9c5eb8ac.js → input-widget-bac4b1e9.js} +16 -16
- package/{label-wrapper-6797d3c9.js → label-wrapper-ce65258e.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-f0b84b56.js → label-wrapper.vue_vue_type_style_index_0_lang-2a561443.js} +3 -3
- package/{link-widget-e25835d2.js → link-widget-58fa2f87.js} +16 -16
- package/{ltable-col-widget-b00ff3b0.js → ltable-col-widget-893d8ee5.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-f71b0e83.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-ac7b45be.js} +10 -10
- package/{ltable-widget-613feacf.js → ltable-widget-334b285e.js} +5 -5
- package/{menu-widget-3c88cb9a.js → menu-widget-1296db28.js} +14 -14
- package/{model-widget-a3a17d60.js → model-widget-3aec6cfb.js} +13 -13
- package/multirow-0a1bfc44.js +223 -0
- package/{multirow-widget-25801739.js → multirow-widget-98dbd159.js} +142 -140
- package/package.json +1 -1
- package/{pagination-widget-b87ed861.js → pagination-widget-68271138.js} +13 -13
- package/{picture-upload-widget-b82f8ab2.js → picture-upload-widget-862cd5c0.js} +16 -16
- package/{progress-widget-00f1ae8d.js → progress-widget-1eda299b.js} +14 -14
- package/{propresult-0e9f8eac.js → propresult-6c3b0080.js} +1 -1
- package/{radio-widget-662bafc5.js → radio-widget-d650bc6d.js} +15 -15
- package/{range-widget-063f3573.js → range-widget-21dc1fb1.js} +16 -16
- package/{rate-widget-ac9b7360.js → rate-widget-481ee500.js} +15 -15
- package/render.es.js +30 -30
- package/render.style.css +1 -1
- package/render.umd.js +306 -306
- package/{result-widget-0c49cc9d.js → result-widget-7d8e0918.js} +14 -14
- package/{rich-editor-widget-5cb28fbb.js → rich-editor-widget-ac434766.js} +15 -15
- package/{router-widget-3b96deb2.js → router-widget-b8f7b366.js} +13 -13
- package/select-widget-ed88218f.js +333 -0
- package/{sfc-f3c94efa.js → sfc-91053601.js} +8 -8
- package/share-field-b61760d2.js +759 -0
- package/{share-file-0e405a6a.js → share-file-62add046.js} +5 -5
- package/{slider-widget-e1f80bfb.js → slider-widget-4c807031.js} +15 -15
- package/{slot-04ed2c7f.js → slot-f3edc854.js} +3 -3
- package/{static-text-widget-4f70cd16.js → static-text-widget-e5086f4d.js} +14 -14
- package/{steps-widget-309ebb8d.js → steps-widget-8bbce365.js} +13 -13
- package/subMenu-widget-4a0d21e4.js +16 -0
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-24c94a78.js → subMenu-widget.vue_vue_type_script_setup_true_lang-91fba867.js} +3 -3
- package/{switch-widget-b43af6e7.js → switch-widget-79294bbc.js} +15 -15
- package/{tab-pane-widget-8c06770f.js → tab-pane-widget-c34bf633.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-1d40f13e.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-ae077790.js} +5 -5
- package/table-col-widget-725a7400.js +20 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-ab34f780.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-90cabdd5.js} +6 -6
- package/{table-widget-a4b48cc0.js → table-widget-57333169.js} +15 -15
- package/{tabs-widget-d69689c4.js → tabs-widget-6b1f6bb3.js} +8 -8
- package/{tag-widget-8aca6042.js → tag-widget-a0aad1ab.js} +16 -16
- package/{text-widget-fa03122f.js → text-widget-9ef3e432.js} +16 -16
- package/{textarea-widget-778c63c8.js → textarea-widget-c2bc700c.js} +15 -15
- package/{time-picker-range-widget-72c58c84.js → time-picker-range-widget-4f5e85d1.js} +15 -15
- package/{time-picker-widget-3f7f0afb.js → time-picker-widget-4119bf94.js} +15 -15
- package/{time-select-widget-3abe8814.js → time-select-widget-c24d2fa4.js} +15 -15
- package/tmpl-widget-f877f91c.js +91 -0
- package/{tree-select-widget-c8a7fb5b.js → tree-select-widget-f3040e96.js} +15 -15
- package/{tree-widget-a358258a.js → tree-widget-408a9f12.js} +13 -13
- package/{uuid-9d29d969.js → uuid-e78dc4f0.js} +1 -1
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-6de179d0.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-f3a5bd3f.js} +7 -7
- package/wrapper-widget-eeb3fd66.js +74 -0
- package/content-wrapper-ac73895d.js +0 -14
- package/default-slot-widget-531d53f5.js +0 -24
- package/feedback-widget-49ab9421.js +0 -24
- package/multirow-bb2e2620.js +0 -226
- package/select-widget-d5b6d368.js +0 -311
- package/share-field-2202d5e4.js +0 -740
- package/subMenu-widget-b3e859bb.js +0 -16
- package/table-col-widget-b6cf0124.js +0 -20
- package/tmpl-widget-1f7a0f5c.js +0 -90
- package/wrapper-widget-8c5a1980.js +0 -71
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
var M4 = Object.defineProperty;
|
|
2
2
|
var O4 = (x, i, h) => i in x ? M4(x, i, { enumerable: !0, configurable: !0, writable: !0, value: h }) : x[i] = h;
|
|
3
3
|
var V0 = (x, i, h) => (O4(x, typeof i != "symbol" ? i + "" : i, h), h);
|
|
4
|
-
import { E as L4, a as k, j as g4, B as S, g as ln, F as R4, l as U4, e as
|
|
5
|
-
import { d as t4, a as Ln, b as s4, e as Rn, f as fx, h as H4, i as En, j as J4, c as c4, k as W4, t as kx } from "./uuid-
|
|
6
|
-
import { c as
|
|
7
|
-
var K4 = /* @__PURE__ */ ((x) => (x.VFormRender = "VFormRender", x.VFormDesigner = "VFormDesigner", x.FieldWidget = "FieldWidget", x.ContainerWidget = "ContainerWidget", x.SettingPanel = "SettingPanel", x.PropertyEditor = "PropertyEditor", x))(K4 || {}), Y4 = /* @__PURE__ */ ((x) => (x.page = "page", x.cssCode = "cssCode", x.functions = "functions", x.pageCssUpdated = "page-css-updated", x.pageJsonImported = "page-json-imported", x[x.pageJsonVersion = 20240724] = "pageJsonVersion", x))(Y4 || {}), V4 = /* @__PURE__ */ ((x) => (x.editHandler = "editHandler", x.tooltipHandler = "tooltipHandler", x.popOverHandler = "popOverHandler", x.drawerHandler = "drawerHandler", x.designFormHandler = "designFormHandler", x.setFormData = "setFormData", x.reloadOptionItems = "reloadOptionItems", x.formChange = "formChange", x.v_form_ref = "v_form_ref", x.renderComplete = "renderComplete", x))(V4 || {}), Q4 = /* @__PURE__ */ ((x) => (x.fieldSelected = "field-selected", x.fieldValueChanged = "field-value-changed", x.fieldChange = "fieldChange", x.fieldRuleChange = "fieldRuleChange", x.fieldValidation = "fieldValidation", x.defaultValue = "defaultValue", x.multiple = "multiple", x.externalArgs = "ctx", x.valueKey = "valueKey", x.labelKey = "labelKey", x.onChange = "change", x.onClick = "click", x.onInput = "input", x.buttonClick = "buttonClick", x.onValidate = "validate", x.validFunc = "func", x.onBeforeUpload = "onBeforeUpload", x.onUploadSuccess = "onUploadSuccess", x.onUploadError = "onUploadError", x.onFileRemove = "onFileRemove", x.popperOptions = "popperOptions", x.shortcuts = "shortcuts", x.fitFetch = "fitFetch", x.errorFetch = "errorFetch", x.didFetch = "didFetch", x.willFetch = "willFetch", x.chartOption = "chartOption", x.lazyLoad = "lazyLoad", x.data = "data", x.formDataLoaded = "formDataLoaded", x.setQueryFn = "setQueryFn", x.afterFetch = "afterFetch", x.beforeFetch = "beforeFetch", x))(Q4 || {}), Z4 = /* @__PURE__ */ ((x) => (x.pageConfig = "pageConfig", x.widgetList = "widgetList", x.allRefList = "allRefList", x.refList = "refList", x.sfRefList = "sfRefList", x.globalModel = "globalModel", x.getPageConfig = "getPageConfig", x.staticDataModel = "staticDataModel", x.getDesignerConfig = "getDesignerConfig", x.getBannedWidgets = "getBannedWidgets", x.getPageTemplates = "getPageTemplates", x.serverFieldList = "serverFieldList", x.urlParams = "urlParams", x.compParams = "compParams", x.globalForm = "globalForm", x.globalPage = "globalPage", x.rowScope = "rowScope", x.globalConfig = "globalConfig", x.isRenderComplete = "isRenderComplete", x))(Z4 || {}), $4 = /* @__PURE__ */ ((x) => (x.optionItems = "optionItems", x.options = "options", x.schema = "schema", x.tabs = "tabs", x.cols = "cols", x.params = "params", x.headers = "headers", x.id = "id", x.name = "name", x.content = "content", x.ctrlWidth = "ctrlWidth", x.ctrlHeight = "ctrlHeight", x.value = "value", x.children = "children", x.option = "option", x.isdefault = "isdefault", x.state = "state", x.slotable = "slotable", x.readonly = "readonly", x.disabled = "disabled", x.isLeaf = "isLeaf", x.class = "class", x.label = "label", x.labelWidth = "labelWidth", x.labelHidden = "labelHidden", x.labelAlign = "labelAlign", x.labelTooltip = "labelTooltip", x.labelIconClass = "labelIconClass", x.labelIconPosition = "labelIconPosition", x.labelSuffix = "labelSuffix", x.requireAsteriskPosition = "requireAsteriskPosition", x.required = "required", x.displayLayout = "displayLayout", x.size = "size", x.customClass = "customClass", x.componentWrapperClass = "componentWrapperClass", x.hidden = "hidden", x.widgetList = "widgetList", x.handlerLayout = "handlerLayout", x.relate = "relate", x.newDataSource = "newDataSource", x.editDataSource = "editDataSource", x.data = "data", x))($4 || {}), n8 = /* @__PURE__ */ ((x) => (x.default = "default", x.tip = "tip", x.header = "header", x))(n8 || {}),
|
|
4
|
+
import { E as L4, a as k, j as g4, B as S, g as ln, F as R4, l as U4, e as s1, h as xx, t as G4, f as u4, x as e4, w as X4 } from "./enum-type-f9ec26c7.js";
|
|
5
|
+
import { d as t4, a as Ln, b as s4, e as Rn, f as fx, h as H4, i as En, j as J4, c as c4, k as W4, t as kx } from "./uuid-e78dc4f0.js";
|
|
6
|
+
import { c as j1 } from "./_commonjsHelpers-e7ea1525.js";
|
|
7
|
+
var K4 = /* @__PURE__ */ ((x) => (x.VFormRender = "VFormRender", x.VFormDesigner = "VFormDesigner", x.FieldWidget = "FieldWidget", x.ContainerWidget = "ContainerWidget", x.SettingPanel = "SettingPanel", x.PropertyEditor = "PropertyEditor", x))(K4 || {}), Y4 = /* @__PURE__ */ ((x) => (x.page = "page", x.cssCode = "cssCode", x.functions = "functions", x.pageCssUpdated = "page-css-updated", x.pageJsonImported = "page-json-imported", x[x.pageJsonVersion = 20240724] = "pageJsonVersion", x))(Y4 || {}), V4 = /* @__PURE__ */ ((x) => (x.editHandler = "editHandler", x.tooltipHandler = "tooltipHandler", x.popOverHandler = "popOverHandler", x.drawerHandler = "drawerHandler", x.designFormHandler = "designFormHandler", x.setFormData = "setFormData", x.reloadOptionItems = "reloadOptionItems", x.formChange = "formChange", x.v_form_ref = "v_form_ref", x.renderComplete = "renderComplete", x))(V4 || {}), Q4 = /* @__PURE__ */ ((x) => (x.fieldSelected = "field-selected", x.fieldValueChanged = "field-value-changed", x.fieldChange = "fieldChange", x.fieldRuleChange = "fieldRuleChange", x.fieldValidation = "fieldValidation", x.defaultValue = "defaultValue", x.multiple = "multiple", x.externalArgs = "ctx", x.valueKey = "valueKey", x.labelKey = "labelKey", x.onChange = "change", x.onClick = "click", x.onInput = "input", x.buttonClick = "buttonClick", x.onValidate = "validate", x.validFunc = "func", x.onBeforeUpload = "onBeforeUpload", x.onUploadSuccess = "onUploadSuccess", x.onUploadError = "onUploadError", x.onFileRemove = "onFileRemove", x.popperOptions = "popperOptions", x.shortcuts = "shortcuts", x.fitFetch = "fitFetch", x.errorFetch = "errorFetch", x.didFetch = "didFetch", x.willFetch = "willFetch", x.chartOption = "chartOption", x.lazyLoad = "lazyLoad", x.data = "data", x.formDataLoaded = "formDataLoaded", x.setQueryFn = "setQueryFn", x.afterFetch = "afterFetch", x.beforeFetch = "beforeFetch", x))(Q4 || {}), Z4 = /* @__PURE__ */ ((x) => (x.pageConfig = "pageConfig", x.widgetList = "widgetList", x.allRefList = "allRefList", x.refList = "refList", x.sfRefList = "sfRefList", x.globalModel = "globalModel", x.getPageConfig = "getPageConfig", x.staticDataModel = "staticDataModel", x.getDesignerConfig = "getDesignerConfig", x.getBannedWidgets = "getBannedWidgets", x.getPageTemplates = "getPageTemplates", x.serverFieldList = "serverFieldList", x.urlParams = "urlParams", x.compParams = "compParams", x.globalForm = "globalForm", x.globalPage = "globalPage", x.rowScope = "rowScope", x.globalConfig = "globalConfig", x.isRenderComplete = "isRenderComplete", x))(Z4 || {}), $4 = /* @__PURE__ */ ((x) => (x.optionItems = "optionItems", x.options = "options", x.schema = "schema", x.tabs = "tabs", x.cols = "cols", x.params = "params", x.headers = "headers", x.id = "id", x.name = "name", x.content = "content", x.ctrlWidth = "ctrlWidth", x.ctrlHeight = "ctrlHeight", x.value = "value", x.children = "children", x.option = "option", x.isdefault = "isdefault", x.state = "state", x.slotable = "slotable", x.readonly = "readonly", x.disabled = "disabled", x.isLeaf = "isLeaf", x.class = "class", x.label = "label", x.labelWidth = "labelWidth", x.labelHidden = "labelHidden", x.labelAlign = "labelAlign", x.labelTooltip = "labelTooltip", x.labelIconClass = "labelIconClass", x.labelIconPosition = "labelIconPosition", x.labelSuffix = "labelSuffix", x.requireAsteriskPosition = "requireAsteriskPosition", x.required = "required", x.displayLayout = "displayLayout", x.size = "size", x.customClass = "customClass", x.componentWrapperClass = "componentWrapperClass", x.hidden = "hidden", x.widgetList = "widgetList", x.handlerLayout = "handlerLayout", x.relate = "relate", x.newDataSource = "newDataSource", x.editDataSource = "editDataSource", x.data = "data", x))($4 || {}), n8 = /* @__PURE__ */ ((x) => (x.default = "default", x.tip = "tip", x.header = "header", x))(n8 || {}), Un = /* @__PURE__ */ ((x) => (x.copyItem = "___copy", x.checkedOptions = "___cked", x.optionText = "_text", x.optionCode = "_code", x.optionLabelName = "_name", x))(Un || {}), x8 = /* @__PURE__ */ ((x) => (x.formItemTarget = "formItemTarget", x))(x8 || {}), i8 = /* @__PURE__ */ ((x) => (x.color1 = "#1976D2", x))(i8 || {});
|
|
8
8
|
const V3 = (x, i, h = ":") => i ? x ? [x, i].join(h) : i : "", Q3 = (x, i = "") => {
|
|
9
9
|
var h = x == null ? void 0 : x.filter((u) => !!u);
|
|
10
10
|
return !h || h.length <= 0 ? "" : h.join(i);
|
|
@@ -23,12 +23,12 @@ const V3 = (x, i, h = ":") => i ? x ? [x, i].join(h) : i : "", Q3 = (x, i = "")
|
|
|
23
23
|
var r = h;
|
|
24
24
|
else
|
|
25
25
|
var r = h.substring(0, c), d = h.substring(c + 1, h.length);
|
|
26
|
-
for (var
|
|
27
|
-
|
|
28
|
-
s != -1 &&
|
|
26
|
+
for (var j = new Array(), z = u.indexOf("#,###"), m = 1, e = r.length, l = e; l > 0; l--)
|
|
27
|
+
j.unshift(r.charAt(l - 1)), z != -1 && m % 3 == 0 && m != e && j.unshift(","), m++;
|
|
28
|
+
s != -1 && j.push(".");
|
|
29
29
|
for (var l = 0; l < f.length; l++)
|
|
30
|
-
f.charAt(l) && d.charAt(l) ?
|
|
31
|
-
return
|
|
30
|
+
f.charAt(l) && d.charAt(l) ? j.push(d.charAt(l)) : j.push("0");
|
|
31
|
+
return j.join("");
|
|
32
32
|
}, h8 = (x) => x == null ? void 0 : x.replace(/[\r\n]+/g, ""), $3 = (x, i, h, u, f) => {
|
|
33
33
|
u || (u = (r) => !!h8(r));
|
|
34
34
|
const s = f ? `
|
|
@@ -54,7 +54,7 @@ var k0 = {}, u8 = {
|
|
|
54
54
|
(function(x, i) {
|
|
55
55
|
(function(u, f) {
|
|
56
56
|
x.exports = f();
|
|
57
|
-
})(
|
|
57
|
+
})(j1, function() {
|
|
58
58
|
return function(h) {
|
|
59
59
|
var u = {};
|
|
60
60
|
function f(s) {
|
|
@@ -78,7 +78,7 @@ var k0 = {}, u8 = {
|
|
|
78
78
|
function(h, u, f) {
|
|
79
79
|
Object.defineProperty(u, "__esModule", { value: !0 });
|
|
80
80
|
var s = f(1), r = f(3), d = f(8), c = f(15);
|
|
81
|
-
function
|
|
81
|
+
function j(a, g, t) {
|
|
82
82
|
var b = null, y = function(U, H) {
|
|
83
83
|
t && t(U, H), b && b.visit(U, H);
|
|
84
84
|
}, A = typeof t == "function" ? y : null, p = !1;
|
|
@@ -94,15 +94,15 @@ var k0 = {}, u8 = {
|
|
|
94
94
|
var B = F ? v.parseModule() : v.parseScript(), R = B;
|
|
95
95
|
return p && b && (R.comments = b.comments), v.config.tokens && (R.tokens = v.tokens), v.config.tolerant && (R.errors = v.errorHandler.errors), R;
|
|
96
96
|
}
|
|
97
|
-
u.parse =
|
|
98
|
-
function
|
|
97
|
+
u.parse = j;
|
|
98
|
+
function z(a, g, t) {
|
|
99
99
|
var b = g || {};
|
|
100
|
-
return b.sourceType = "module",
|
|
100
|
+
return b.sourceType = "module", j(a, b, t);
|
|
101
101
|
}
|
|
102
|
-
u.parseModule =
|
|
102
|
+
u.parseModule = z;
|
|
103
103
|
function m(a, g, t) {
|
|
104
104
|
var b = g || {};
|
|
105
|
-
return b.sourceType = "script",
|
|
105
|
+
return b.sourceType = "script", j(a, b, t);
|
|
106
106
|
}
|
|
107
107
|
u.parseScript = m;
|
|
108
108
|
function e(a, g, t) {
|
|
@@ -132,76 +132,76 @@ var k0 = {}, u8 = {
|
|
|
132
132
|
function d() {
|
|
133
133
|
this.attach = !1, this.comments = [], this.stack = [], this.leading = [], this.trailing = [];
|
|
134
134
|
}
|
|
135
|
-
return d.prototype.insertInnerComments = function(c,
|
|
135
|
+
return d.prototype.insertInnerComments = function(c, j) {
|
|
136
136
|
if (c.type === s.Syntax.BlockStatement && c.body.length === 0) {
|
|
137
|
-
for (var
|
|
137
|
+
for (var z = [], m = this.leading.length - 1; m >= 0; --m) {
|
|
138
138
|
var e = this.leading[m];
|
|
139
|
-
|
|
139
|
+
j.end.offset >= e.start && (z.unshift(e.comment), this.leading.splice(m, 1), this.trailing.splice(m, 1));
|
|
140
140
|
}
|
|
141
|
-
|
|
141
|
+
z.length && (c.innerComments = z);
|
|
142
142
|
}
|
|
143
143
|
}, d.prototype.findTrailingComments = function(c) {
|
|
144
|
-
var
|
|
144
|
+
var j = [];
|
|
145
145
|
if (this.trailing.length > 0) {
|
|
146
|
-
for (var
|
|
147
|
-
var m = this.trailing[
|
|
148
|
-
m.start >= c.end.offset &&
|
|
146
|
+
for (var z = this.trailing.length - 1; z >= 0; --z) {
|
|
147
|
+
var m = this.trailing[z];
|
|
148
|
+
m.start >= c.end.offset && j.unshift(m.comment);
|
|
149
149
|
}
|
|
150
|
-
return this.trailing.length = 0,
|
|
150
|
+
return this.trailing.length = 0, j;
|
|
151
151
|
}
|
|
152
152
|
var e = this.stack[this.stack.length - 1];
|
|
153
153
|
if (e && e.node.trailingComments) {
|
|
154
154
|
var l = e.node.trailingComments[0];
|
|
155
|
-
l && l.range[0] >= c.end.offset && (
|
|
155
|
+
l && l.range[0] >= c.end.offset && (j = e.node.trailingComments, delete e.node.trailingComments);
|
|
156
156
|
}
|
|
157
|
-
return
|
|
157
|
+
return j;
|
|
158
158
|
}, d.prototype.findLeadingComments = function(c) {
|
|
159
|
-
for (var
|
|
159
|
+
for (var j = [], z; this.stack.length > 0; ) {
|
|
160
160
|
var m = this.stack[this.stack.length - 1];
|
|
161
161
|
if (m && m.start >= c.start.offset)
|
|
162
|
-
|
|
162
|
+
z = m.node, this.stack.pop();
|
|
163
163
|
else
|
|
164
164
|
break;
|
|
165
165
|
}
|
|
166
|
-
if (
|
|
167
|
-
for (var e =
|
|
168
|
-
var a =
|
|
169
|
-
a.range[1] <= c.start.offset && (
|
|
166
|
+
if (z) {
|
|
167
|
+
for (var e = z.leadingComments ? z.leadingComments.length : 0, l = e - 1; l >= 0; --l) {
|
|
168
|
+
var a = z.leadingComments[l];
|
|
169
|
+
a.range[1] <= c.start.offset && (j.unshift(a), z.leadingComments.splice(l, 1));
|
|
170
170
|
}
|
|
171
|
-
return
|
|
171
|
+
return z.leadingComments && z.leadingComments.length === 0 && delete z.leadingComments, j;
|
|
172
172
|
}
|
|
173
173
|
for (var l = this.leading.length - 1; l >= 0; --l) {
|
|
174
174
|
var m = this.leading[l];
|
|
175
|
-
m.start <= c.start.offset && (
|
|
175
|
+
m.start <= c.start.offset && (j.unshift(m.comment), this.leading.splice(l, 1));
|
|
176
176
|
}
|
|
177
|
-
return
|
|
178
|
-
}, d.prototype.visitNode = function(c,
|
|
177
|
+
return j;
|
|
178
|
+
}, d.prototype.visitNode = function(c, j) {
|
|
179
179
|
if (!(c.type === s.Syntax.Program && c.body.length > 0)) {
|
|
180
|
-
this.insertInnerComments(c,
|
|
181
|
-
var
|
|
182
|
-
m.length > 0 && (c.leadingComments = m),
|
|
180
|
+
this.insertInnerComments(c, j);
|
|
181
|
+
var z = this.findTrailingComments(j), m = this.findLeadingComments(j);
|
|
182
|
+
m.length > 0 && (c.leadingComments = m), z.length > 0 && (c.trailingComments = z), this.stack.push({
|
|
183
183
|
node: c,
|
|
184
|
-
start:
|
|
184
|
+
start: j.start.offset
|
|
185
185
|
});
|
|
186
186
|
}
|
|
187
|
-
}, d.prototype.visitComment = function(c,
|
|
188
|
-
var
|
|
189
|
-
type:
|
|
187
|
+
}, d.prototype.visitComment = function(c, j) {
|
|
188
|
+
var z = c.type[0] === "L" ? "Line" : "Block", m = {
|
|
189
|
+
type: z,
|
|
190
190
|
value: c.value
|
|
191
191
|
};
|
|
192
192
|
if (c.range && (m.range = c.range), c.loc && (m.loc = c.loc), this.comments.push(m), this.attach) {
|
|
193
193
|
var e = {
|
|
194
194
|
comment: {
|
|
195
|
-
type:
|
|
195
|
+
type: z,
|
|
196
196
|
value: c.value,
|
|
197
|
-
range: [
|
|
197
|
+
range: [j.start.offset, j.end.offset]
|
|
198
198
|
},
|
|
199
|
-
start:
|
|
199
|
+
start: j.start.offset
|
|
200
200
|
};
|
|
201
|
-
c.loc && (e.comment.loc = c.loc), c.type =
|
|
201
|
+
c.loc && (e.comment.loc = c.loc), c.type = z, this.leading.push(e), this.trailing.push(e);
|
|
202
202
|
}
|
|
203
|
-
}, d.prototype.visit = function(c,
|
|
204
|
-
c.type === "LineComment" ? this.visitComment(c,
|
|
203
|
+
}, d.prototype.visit = function(c, j) {
|
|
204
|
+
c.type === "LineComment" ? this.visitComment(c, j) : c.type === "BlockComment" ? this.visitComment(c, j) : this.attach && this.visitNode(c, j);
|
|
205
205
|
}, d;
|
|
206
206
|
}();
|
|
207
207
|
u.CommentHandler = r;
|
|
@@ -297,7 +297,7 @@ var k0 = {}, u8 = {
|
|
|
297
297
|
};
|
|
298
298
|
}();
|
|
299
299
|
Object.defineProperty(u, "__esModule", { value: !0 });
|
|
300
|
-
var r = f(4), d = f(5), c = f(6),
|
|
300
|
+
var r = f(4), d = f(5), c = f(6), j = f(7), z = f(8), m = f(13), e = f(14);
|
|
301
301
|
m.TokenName[
|
|
302
302
|
100
|
|
303
303
|
/* Identifier */
|
|
@@ -508,7 +508,7 @@ var k0 = {}, u8 = {
|
|
|
508
508
|
var b = this.createJSXNode(), y = this.nextJSXToken();
|
|
509
509
|
y.type !== 8 && this.throwUnexpectedToken(y);
|
|
510
510
|
var A = this.getTokenRaw(y);
|
|
511
|
-
return this.finalize(b, new
|
|
511
|
+
return this.finalize(b, new j.Literal(y.value, A));
|
|
512
512
|
}, t.prototype.parseJSXExpressionAttribute = function() {
|
|
513
513
|
var b = this.createJSXNode();
|
|
514
514
|
this.expectJSX("{"), this.finishJSX(), this.match("}") && this.tolerateError("JSX attributes must only be assigned a non-empty expression");
|
|
@@ -603,7 +603,7 @@ var k0 = {}, u8 = {
|
|
|
603
603
|
}, t.prototype.isStartOfExpression = function() {
|
|
604
604
|
return g.prototype.isStartOfExpression.call(this) || this.match("<");
|
|
605
605
|
}, t;
|
|
606
|
-
}(
|
|
606
|
+
}(z.Parser);
|
|
607
607
|
u.JSXParser = a;
|
|
608
608
|
},
|
|
609
609
|
/* 4 */
|
|
@@ -673,20 +673,20 @@ var k0 = {}, u8 = {
|
|
|
673
673
|
return b;
|
|
674
674
|
}();
|
|
675
675
|
u.JSXEmptyExpression = c;
|
|
676
|
-
var
|
|
676
|
+
var j = function() {
|
|
677
677
|
function b(y) {
|
|
678
678
|
this.type = s.JSXSyntax.JSXExpressionContainer, this.expression = y;
|
|
679
679
|
}
|
|
680
680
|
return b;
|
|
681
681
|
}();
|
|
682
|
-
u.JSXExpressionContainer =
|
|
683
|
-
var
|
|
682
|
+
u.JSXExpressionContainer = j;
|
|
683
|
+
var z = function() {
|
|
684
684
|
function b(y) {
|
|
685
685
|
this.type = s.JSXSyntax.JSXIdentifier, this.name = y;
|
|
686
686
|
}
|
|
687
687
|
return b;
|
|
688
688
|
}();
|
|
689
|
-
u.JSXIdentifier =
|
|
689
|
+
u.JSXIdentifier = z;
|
|
690
690
|
var m = function() {
|
|
691
691
|
function b(y, A) {
|
|
692
692
|
this.type = s.JSXSyntax.JSXMemberExpression, this.object = y, this.property = A;
|
|
@@ -772,20 +772,20 @@ var k0 = {}, u8 = {
|
|
|
772
772
|
return P;
|
|
773
773
|
}();
|
|
774
774
|
u.ArrowFunctionExpression = c;
|
|
775
|
-
var
|
|
775
|
+
var j = function() {
|
|
776
776
|
function P(M, o, w) {
|
|
777
777
|
this.type = s.Syntax.AssignmentExpression, this.operator = M, this.left = o, this.right = w;
|
|
778
778
|
}
|
|
779
779
|
return P;
|
|
780
780
|
}();
|
|
781
|
-
u.AssignmentExpression =
|
|
782
|
-
var
|
|
781
|
+
u.AssignmentExpression = j;
|
|
782
|
+
var z = function() {
|
|
783
783
|
function P(M, o) {
|
|
784
784
|
this.type = s.Syntax.AssignmentPattern, this.left = M, this.right = o;
|
|
785
785
|
}
|
|
786
786
|
return P;
|
|
787
787
|
}();
|
|
788
|
-
u.AssignmentPattern =
|
|
788
|
+
u.AssignmentPattern = z;
|
|
789
789
|
var m = function() {
|
|
790
790
|
function P(M, o, w) {
|
|
791
791
|
this.type = s.Syntax.ArrowFunctionExpression, this.id = null, this.params = M, this.body = o, this.generator = !1, this.expression = w, this.async = !0;
|
|
@@ -1249,19 +1249,19 @@ var k0 = {}, u8 = {
|
|
|
1249
1249
|
return P;
|
|
1250
1250
|
}();
|
|
1251
1251
|
u.WithStatement = kn;
|
|
1252
|
-
var
|
|
1252
|
+
var t1 = function() {
|
|
1253
1253
|
function P(M, o) {
|
|
1254
1254
|
this.type = s.Syntax.YieldExpression, this.argument = M, this.delegate = o;
|
|
1255
1255
|
}
|
|
1256
1256
|
return P;
|
|
1257
1257
|
}();
|
|
1258
|
-
u.YieldExpression =
|
|
1258
|
+
u.YieldExpression = t1;
|
|
1259
1259
|
},
|
|
1260
1260
|
/* 8 */
|
|
1261
1261
|
/***/
|
|
1262
1262
|
function(h, u, f) {
|
|
1263
1263
|
Object.defineProperty(u, "__esModule", { value: !0 });
|
|
1264
|
-
var s = f(9), r = f(10), d = f(11), c = f(7),
|
|
1264
|
+
var s = f(9), r = f(10), d = f(11), c = f(7), j = f(12), z = f(2), m = f(13), e = "ArrowParameterPlaceHolder", l = function() {
|
|
1265
1265
|
function a(g, t, b) {
|
|
1266
1266
|
t === void 0 && (t = {}), this.config = {
|
|
1267
1267
|
range: typeof t.range == "boolean" && t.range,
|
|
@@ -1270,7 +1270,7 @@ var k0 = {}, u8 = {
|
|
|
1270
1270
|
tokens: typeof t.tokens == "boolean" && t.tokens,
|
|
1271
1271
|
comment: typeof t.comment == "boolean" && t.comment,
|
|
1272
1272
|
tolerant: typeof t.tolerant == "boolean" && t.tolerant
|
|
1273
|
-
}, this.config.loc && t.source && t.source !== null && (this.config.source = String(t.source)), this.delegate = b, this.errorHandler = new r.ErrorHandler(), this.errorHandler.tolerant = this.config.tolerant, this.scanner = new
|
|
1273
|
+
}, this.config.loc && t.source && t.source !== null && (this.config.source = String(t.source)), this.delegate = b, this.errorHandler = new r.ErrorHandler(), this.errorHandler.tolerant = this.config.tolerant, this.scanner = new j.Scanner(g, this.errorHandler), this.scanner.trackComment = this.config.comment, this.operatorPrecedence = {
|
|
1274
1274
|
")": 0,
|
|
1275
1275
|
";": 0,
|
|
1276
1276
|
",": 0,
|
|
@@ -1587,7 +1587,7 @@ var k0 = {}, u8 = {
|
|
|
1587
1587
|
}
|
|
1588
1588
|
return b;
|
|
1589
1589
|
}, a.prototype.isPropertyKey = function(g, t) {
|
|
1590
|
-
return g.type ===
|
|
1590
|
+
return g.type === z.Syntax.Identifier && g.name === t || g.type === z.Syntax.Literal && g.value === t;
|
|
1591
1591
|
}, a.prototype.parseObjectProperty = function(g) {
|
|
1592
1592
|
var t = this.createNode(), b = this.lookahead, y, A = null, p = null, E = !1, F = !1, v = !1, B = !1;
|
|
1593
1593
|
if (b.type === 3) {
|
|
@@ -1638,26 +1638,26 @@ var k0 = {}, u8 = {
|
|
|
1638
1638
|
return this.finalize(g, new c.TemplateLiteral(b, t));
|
|
1639
1639
|
}, a.prototype.reinterpretExpressionAsPattern = function(g) {
|
|
1640
1640
|
switch (g.type) {
|
|
1641
|
-
case
|
|
1642
|
-
case
|
|
1643
|
-
case
|
|
1644
|
-
case
|
|
1641
|
+
case z.Syntax.Identifier:
|
|
1642
|
+
case z.Syntax.MemberExpression:
|
|
1643
|
+
case z.Syntax.RestElement:
|
|
1644
|
+
case z.Syntax.AssignmentPattern:
|
|
1645
1645
|
break;
|
|
1646
|
-
case
|
|
1647
|
-
g.type =
|
|
1646
|
+
case z.Syntax.SpreadElement:
|
|
1647
|
+
g.type = z.Syntax.RestElement, this.reinterpretExpressionAsPattern(g.argument);
|
|
1648
1648
|
break;
|
|
1649
|
-
case
|
|
1650
|
-
g.type =
|
|
1649
|
+
case z.Syntax.ArrayExpression:
|
|
1650
|
+
g.type = z.Syntax.ArrayPattern;
|
|
1651
1651
|
for (var t = 0; t < g.elements.length; t++)
|
|
1652
1652
|
g.elements[t] !== null && this.reinterpretExpressionAsPattern(g.elements[t]);
|
|
1653
1653
|
break;
|
|
1654
|
-
case
|
|
1655
|
-
g.type =
|
|
1654
|
+
case z.Syntax.ObjectExpression:
|
|
1655
|
+
g.type = z.Syntax.ObjectPattern;
|
|
1656
1656
|
for (var t = 0; t < g.properties.length; t++)
|
|
1657
1657
|
this.reinterpretExpressionAsPattern(g.properties[t].value);
|
|
1658
1658
|
break;
|
|
1659
|
-
case
|
|
1660
|
-
g.type =
|
|
1659
|
+
case z.Syntax.AssignmentExpression:
|
|
1660
|
+
g.type = z.Syntax.AssignmentPattern, delete g.operator, this.reinterpretExpressionAsPattern(g.left);
|
|
1661
1661
|
break;
|
|
1662
1662
|
}
|
|
1663
1663
|
}, a.prototype.parseGroupExpression = function() {
|
|
@@ -1707,17 +1707,17 @@ var k0 = {}, u8 = {
|
|
|
1707
1707
|
y || (g = this.finalize(this.startNode(t), new c.SequenceExpression(A)));
|
|
1708
1708
|
}
|
|
1709
1709
|
if (!y) {
|
|
1710
|
-
if (this.expect(")"), this.match("=>") && (g.type ===
|
|
1710
|
+
if (this.expect(")"), this.match("=>") && (g.type === z.Syntax.Identifier && g.name === "yield" && (y = !0, g = {
|
|
1711
1711
|
type: e,
|
|
1712
1712
|
params: [g],
|
|
1713
1713
|
async: !1
|
|
1714
1714
|
}), !y)) {
|
|
1715
|
-
if (this.context.isBindingElement || this.throwUnexpectedToken(this.lookahead), g.type ===
|
|
1715
|
+
if (this.context.isBindingElement || this.throwUnexpectedToken(this.lookahead), g.type === z.Syntax.SequenceExpression)
|
|
1716
1716
|
for (var p = 0; p < g.expressions.length; p++)
|
|
1717
1717
|
this.reinterpretExpressionAsPattern(g.expressions[p]);
|
|
1718
1718
|
else
|
|
1719
1719
|
this.reinterpretExpressionAsPattern(g);
|
|
1720
|
-
var E = g.type ===
|
|
1720
|
+
var E = g.type === z.Syntax.SequenceExpression ? g.expressions : [g];
|
|
1721
1721
|
g = {
|
|
1722
1722
|
type: e,
|
|
1723
1723
|
params: E,
|
|
@@ -1828,11 +1828,11 @@ var k0 = {}, u8 = {
|
|
|
1828
1828
|
var g, t = this.lookahead;
|
|
1829
1829
|
if (this.match("++") || this.match("--")) {
|
|
1830
1830
|
var b = this.startNode(t), y = this.nextToken();
|
|
1831
|
-
g = this.inheritCoverGrammar(this.parseUnaryExpression), this.context.strict && g.type ===
|
|
1831
|
+
g = this.inheritCoverGrammar(this.parseUnaryExpression), this.context.strict && g.type === z.Syntax.Identifier && this.scanner.isRestrictedWord(g.name) && this.tolerateError(d.Messages.StrictLHSPrefix), this.context.isAssignmentTarget || this.tolerateError(d.Messages.InvalidLHSInAssignment);
|
|
1832
1832
|
var A = !0;
|
|
1833
1833
|
g = this.finalize(b, new c.UpdateExpression(y.value, g, A)), this.context.isAssignmentTarget = !1, this.context.isBindingElement = !1;
|
|
1834
1834
|
} else if (g = this.inheritCoverGrammar(this.parseLeftHandSideExpressionAllowCall), !this.hasLineTerminator && this.lookahead.type === 7 && (this.match("++") || this.match("--"))) {
|
|
1835
|
-
this.context.strict && g.type ===
|
|
1835
|
+
this.context.strict && g.type === z.Syntax.Identifier && this.scanner.isRestrictedWord(g.name) && this.tolerateError(d.Messages.StrictLHSPostfix), this.context.isAssignmentTarget || this.tolerateError(d.Messages.InvalidLHSInAssignment), this.context.isAssignmentTarget = !1, this.context.isBindingElement = !1;
|
|
1836
1836
|
var p = this.nextToken().value, A = !1;
|
|
1837
1837
|
g = this.finalize(this.startNode(t), new c.UpdateExpression(p, g, A));
|
|
1838
1838
|
}
|
|
@@ -1846,13 +1846,13 @@ var k0 = {}, u8 = {
|
|
|
1846
1846
|
var g;
|
|
1847
1847
|
if (this.match("+") || this.match("-") || this.match("~") || this.match("!") || this.matchKeyword("delete") || this.matchKeyword("void") || this.matchKeyword("typeof")) {
|
|
1848
1848
|
var t = this.startNode(this.lookahead), b = this.nextToken();
|
|
1849
|
-
g = this.inheritCoverGrammar(this.parseUnaryExpression), g = this.finalize(t, new c.UnaryExpression(b.value, g)), this.context.strict && g.operator === "delete" && g.argument.type ===
|
|
1849
|
+
g = this.inheritCoverGrammar(this.parseUnaryExpression), g = this.finalize(t, new c.UnaryExpression(b.value, g)), this.context.strict && g.operator === "delete" && g.argument.type === z.Syntax.Identifier && this.tolerateError(d.Messages.StrictDelete), this.context.isAssignmentTarget = !1, this.context.isBindingElement = !1;
|
|
1850
1850
|
} else
|
|
1851
1851
|
this.context.await && this.matchContextualKeyword("await") ? g = this.parseAwaitExpression() : g = this.parseUpdateExpression();
|
|
1852
1852
|
return g;
|
|
1853
1853
|
}, a.prototype.parseExponentiationExpression = function() {
|
|
1854
1854
|
var g = this.lookahead, t = this.inheritCoverGrammar(this.parseUnaryExpression);
|
|
1855
|
-
if (t.type !==
|
|
1855
|
+
if (t.type !== z.Syntax.UnaryExpression && this.match("**")) {
|
|
1856
1856
|
this.nextToken(), this.context.isAssignmentTarget = !1, this.context.isBindingElement = !1;
|
|
1857
1857
|
var b = t, y = this.isolateCoverGrammar(this.parseExponentiationExpression);
|
|
1858
1858
|
t = this.finalize(this.startNode(g), new c.BinaryExpression("**", b, y));
|
|
@@ -1897,20 +1897,20 @@ var k0 = {}, u8 = {
|
|
|
1897
1897
|
return t;
|
|
1898
1898
|
}, a.prototype.checkPatternParam = function(g, t) {
|
|
1899
1899
|
switch (t.type) {
|
|
1900
|
-
case
|
|
1900
|
+
case z.Syntax.Identifier:
|
|
1901
1901
|
this.validateParam(g, t, t.name);
|
|
1902
1902
|
break;
|
|
1903
|
-
case
|
|
1903
|
+
case z.Syntax.RestElement:
|
|
1904
1904
|
this.checkPatternParam(g, t.argument);
|
|
1905
1905
|
break;
|
|
1906
|
-
case
|
|
1906
|
+
case z.Syntax.AssignmentPattern:
|
|
1907
1907
|
this.checkPatternParam(g, t.left);
|
|
1908
1908
|
break;
|
|
1909
|
-
case
|
|
1909
|
+
case z.Syntax.ArrayPattern:
|
|
1910
1910
|
for (var b = 0; b < t.elements.length; b++)
|
|
1911
1911
|
t.elements[b] !== null && this.checkPatternParam(g, t.elements[b]);
|
|
1912
1912
|
break;
|
|
1913
|
-
case
|
|
1913
|
+
case z.Syntax.ObjectPattern:
|
|
1914
1914
|
for (var b = 0; b < t.properties.length; b++)
|
|
1915
1915
|
this.checkPatternParam(g, t.properties[b].value);
|
|
1916
1916
|
break;
|
|
@@ -1919,7 +1919,7 @@ var k0 = {}, u8 = {
|
|
|
1919
1919
|
}, a.prototype.reinterpretAsCoverFormalsList = function(g) {
|
|
1920
1920
|
var t = [g], b, y = !1;
|
|
1921
1921
|
switch (g.type) {
|
|
1922
|
-
case
|
|
1922
|
+
case z.Syntax.Identifier:
|
|
1923
1923
|
break;
|
|
1924
1924
|
case e:
|
|
1925
1925
|
t = g.params, y = g.async;
|
|
@@ -1933,12 +1933,12 @@ var k0 = {}, u8 = {
|
|
|
1933
1933
|
};
|
|
1934
1934
|
for (var A = 0; A < t.length; ++A) {
|
|
1935
1935
|
var p = t[A];
|
|
1936
|
-
p.type ===
|
|
1936
|
+
p.type === z.Syntax.AssignmentPattern ? p.right.type === z.Syntax.YieldExpression && (p.right.argument && this.throwUnexpectedToken(this.lookahead), p.right.type = z.Syntax.Identifier, p.right.name = "yield", delete p.right.argument, delete p.right.delegate) : y && p.type === z.Syntax.Identifier && p.name === "await" && this.throwUnexpectedToken(this.lookahead), this.checkPatternParam(b, p), t[A] = p;
|
|
1937
1937
|
}
|
|
1938
1938
|
if (this.context.strict || !this.context.allowYield)
|
|
1939
1939
|
for (var A = 0; A < t.length; ++A) {
|
|
1940
1940
|
var p = t[A];
|
|
1941
|
-
p.type ===
|
|
1941
|
+
p.type === z.Syntax.YieldExpression && this.throwUnexpectedToken(this.lookahead);
|
|
1942
1942
|
}
|
|
1943
1943
|
if (b.message === d.Messages.StrictParamDupe) {
|
|
1944
1944
|
var E = this.context.strict ? b.stricted : b.firstRestricted;
|
|
@@ -1982,11 +1982,11 @@ var k0 = {}, u8 = {
|
|
|
1982
1982
|
this.context.allowIn = !0, U = this.parseFunctionSourceElements(), this.context.allowIn = H;
|
|
1983
1983
|
} else
|
|
1984
1984
|
U = this.isolateCoverGrammar(this.parseAssignmentExpression);
|
|
1985
|
-
var G = U.type !==
|
|
1985
|
+
var G = U.type !== z.Syntax.BlockStatement;
|
|
1986
1986
|
this.context.strict && p.firstRestricted && this.throwUnexpectedToken(p.firstRestricted, p.message), this.context.strict && p.stricted && this.tolerateUnexpectedToken(p.stricted, p.message), g = A ? this.finalize(R, new c.AsyncArrowFunctionExpression(p.params, U, G)) : this.finalize(R, new c.ArrowFunctionExpression(p.params, U, G)), this.context.strict = E, this.context.allowStrictDirective = F, this.context.allowYield = v, this.context.await = B;
|
|
1987
1987
|
}
|
|
1988
1988
|
} else if (this.matchAssign()) {
|
|
1989
|
-
if (this.context.isAssignmentTarget || this.tolerateError(d.Messages.InvalidLHSInAssignment), this.context.strict && g.type ===
|
|
1989
|
+
if (this.context.isAssignmentTarget || this.tolerateError(d.Messages.InvalidLHSInAssignment), this.context.strict && g.type === z.Syntax.Identifier) {
|
|
1990
1990
|
var J = g;
|
|
1991
1991
|
this.scanner.isRestrictedWord(J.name) && this.tolerateUnexpectedToken(b, d.Messages.StrictLHSAssignment), this.scanner.isStrictModeReservedWord(J.name) && this.tolerateUnexpectedToken(b, d.Messages.StrictReservedWord);
|
|
1992
1992
|
}
|
|
@@ -2042,9 +2042,9 @@ var k0 = {}, u8 = {
|
|
|
2042
2042
|
return this.expect("}"), this.finalize(g, new c.BlockStatement(t));
|
|
2043
2043
|
}, a.prototype.parseLexicalBinding = function(g, t) {
|
|
2044
2044
|
var b = this.createNode(), y = [], A = this.parsePattern(y, g);
|
|
2045
|
-
this.context.strict && A.type ===
|
|
2045
|
+
this.context.strict && A.type === z.Syntax.Identifier && this.scanner.isRestrictedWord(A.name) && this.tolerateError(d.Messages.StrictVarName);
|
|
2046
2046
|
var p = null;
|
|
2047
|
-
return g === "const" ? !this.matchKeyword("in") && !this.matchContextualKeyword("of") && (this.match("=") ? (this.nextToken(), p = this.isolateCoverGrammar(this.parseAssignmentExpression)) : this.throwError(d.Messages.DeclarationMissingInitializer, "const")) : (!t.inFor && A.type !==
|
|
2047
|
+
return g === "const" ? !this.matchKeyword("in") && !this.matchContextualKeyword("of") && (this.match("=") ? (this.nextToken(), p = this.isolateCoverGrammar(this.parseAssignmentExpression)) : this.throwError(d.Messages.DeclarationMissingInitializer, "const")) : (!t.inFor && A.type !== z.Syntax.Identifier || this.match("=")) && (this.expect("="), p = this.isolateCoverGrammar(this.parseAssignmentExpression)), this.finalize(b, new c.VariableDeclarator(A, p));
|
|
2048
2048
|
}, a.prototype.parseBindingList = function(g, t) {
|
|
2049
2049
|
for (var b = [this.parseLexicalBinding(g, t)]; this.match(","); )
|
|
2050
2050
|
this.nextToken(), b.push(this.parseLexicalBinding(g, t));
|
|
@@ -2117,9 +2117,9 @@ var k0 = {}, u8 = {
|
|
|
2117
2117
|
return b.type === 4 && b.value === "yield" ? this.context.strict ? this.tolerateUnexpectedToken(b, d.Messages.StrictReservedWord) : this.context.allowYield || this.throwUnexpectedToken(b) : b.type !== 3 ? this.context.strict && b.type === 4 && this.scanner.isStrictModeReservedWord(b.value) ? this.tolerateUnexpectedToken(b, d.Messages.StrictReservedWord) : (this.context.strict || b.value !== "let" || g !== "var") && this.throwUnexpectedToken(b) : (this.context.isModule || this.context.await) && b.type === 3 && b.value === "await" && this.tolerateUnexpectedToken(b), this.finalize(t, new c.Identifier(b.value));
|
|
2118
2118
|
}, a.prototype.parseVariableDeclaration = function(g) {
|
|
2119
2119
|
var t = this.createNode(), b = [], y = this.parsePattern(b, "var");
|
|
2120
|
-
this.context.strict && y.type ===
|
|
2120
|
+
this.context.strict && y.type === z.Syntax.Identifier && this.scanner.isRestrictedWord(y.name) && this.tolerateError(d.Messages.StrictVarName);
|
|
2121
2121
|
var A = null;
|
|
2122
|
-
return this.match("=") ? (this.nextToken(), A = this.isolateCoverGrammar(this.parseAssignmentExpression)) : y.type !==
|
|
2122
|
+
return this.match("=") ? (this.nextToken(), A = this.isolateCoverGrammar(this.parseAssignmentExpression)) : y.type !== z.Syntax.Identifier && !g.inFor && this.expect("="), this.finalize(t, new c.VariableDeclarator(y, A));
|
|
2123
2123
|
}, a.prototype.parseVariableDeclarationList = function(g) {
|
|
2124
2124
|
var t = { inFor: g.inFor }, b = [];
|
|
2125
2125
|
for (b.push(this.parseVariableDeclaration(t)); this.match(","); )
|
|
@@ -2175,7 +2175,7 @@ var k0 = {}, u8 = {
|
|
|
2175
2175
|
var v = this.parseVariableDeclarationList({ inFor: !0 });
|
|
2176
2176
|
if (this.context.allowIn = F, v.length === 1 && this.matchKeyword("in")) {
|
|
2177
2177
|
var B = v[0];
|
|
2178
|
-
B.init && (B.id.type ===
|
|
2178
|
+
B.init && (B.id.type === z.Syntax.ArrayPattern || B.id.type === z.Syntax.ObjectPattern || this.context.strict) && this.tolerateError(d.Messages.ForInOfLoopInitializer, "for-in"), g = this.finalize(g, new c.VariableDeclaration(v, "var")), this.nextToken(), A = g, p = this.parseExpression(), g = null;
|
|
2179
2179
|
} else
|
|
2180
2180
|
v.length === 1 && v[0].init === null && this.matchContextualKeyword("of") ? (g = this.finalize(g, new c.VariableDeclaration(v, "var")), this.nextToken(), A = g, p = this.parseAssignmentExpression(), g = null, y = !1) : (g = this.finalize(g, new c.VariableDeclaration(v, "var")), this.expect(";"));
|
|
2181
2181
|
} else if (this.matchKeyword("const") || this.matchKeyword("let")) {
|
|
@@ -2192,9 +2192,9 @@ var k0 = {}, u8 = {
|
|
|
2192
2192
|
} else {
|
|
2193
2193
|
var U = this.lookahead, F = this.context.allowIn;
|
|
2194
2194
|
if (this.context.allowIn = !1, g = this.inheritCoverGrammar(this.parseAssignmentExpression), this.context.allowIn = F, this.matchKeyword("in"))
|
|
2195
|
-
(!this.context.isAssignmentTarget || g.type ===
|
|
2195
|
+
(!this.context.isAssignmentTarget || g.type === z.Syntax.AssignmentExpression) && this.tolerateError(d.Messages.InvalidLHSInForIn), this.nextToken(), this.reinterpretExpressionAsPattern(g), A = g, p = this.parseExpression(), g = null;
|
|
2196
2196
|
else if (this.matchContextualKeyword("of"))
|
|
2197
|
-
(!this.context.isAssignmentTarget || g.type ===
|
|
2197
|
+
(!this.context.isAssignmentTarget || g.type === z.Syntax.AssignmentExpression) && this.tolerateError(d.Messages.InvalidLHSInForLoop), this.nextToken(), this.reinterpretExpressionAsPattern(g), A = g, p = this.parseAssignmentExpression(), g = null, y = !1;
|
|
2198
2198
|
else {
|
|
2199
2199
|
if (this.match(",")) {
|
|
2200
2200
|
for (var H = [g]; this.match(","); )
|
|
@@ -2267,7 +2267,7 @@ var k0 = {}, u8 = {
|
|
|
2267
2267
|
return this.expect("}"), this.context.inSwitch = b, this.finalize(g, new c.SwitchStatement(t, y));
|
|
2268
2268
|
}, a.prototype.parseLabelledStatement = function() {
|
|
2269
2269
|
var g = this.createNode(), t = this.parseExpression(), b;
|
|
2270
|
-
if (t.type ===
|
|
2270
|
+
if (t.type === z.Syntax.Identifier && this.match(":")) {
|
|
2271
2271
|
this.nextToken();
|
|
2272
2272
|
var y = t, A = "$" + y.name;
|
|
2273
2273
|
Object.prototype.hasOwnProperty.call(this.context.labelSet, A) && this.throwError(d.Messages.Redeclaration, "Label", y.name), this.context.labelSet[A] = !0;
|
|
@@ -2295,7 +2295,7 @@ var k0 = {}, u8 = {
|
|
|
2295
2295
|
var p = "$" + t[A].value;
|
|
2296
2296
|
Object.prototype.hasOwnProperty.call(y, p) && this.tolerateError(d.Messages.DuplicateBinding, t[A].value), y[p] = !0;
|
|
2297
2297
|
}
|
|
2298
|
-
this.context.strict && b.type ===
|
|
2298
|
+
this.context.strict && b.type === z.Syntax.Identifier && this.scanner.isRestrictedWord(b.name) && this.tolerateError(d.Messages.StrictCatchVariable), this.expect(")");
|
|
2299
2299
|
var E = this.parseBlock();
|
|
2300
2300
|
return this.finalize(g, new c.CatchClause(b, E));
|
|
2301
2301
|
}, a.prototype.parseFinallyClause = function() {
|
|
@@ -2458,7 +2458,7 @@ var k0 = {}, u8 = {
|
|
|
2458
2458
|
var J = this.parseFunctionSourceElements();
|
|
2459
2459
|
return this.context.strict && p && this.throwUnexpectedToken(p, y), this.context.strict && U && this.tolerateUnexpectedToken(U, y), this.context.strict = H, this.context.allowStrictDirective = G, this.context.await = E, this.context.allowYield = F, t ? this.finalize(g, new c.AsyncFunctionExpression(A, R, J)) : this.finalize(g, new c.FunctionExpression(A, R, J, b));
|
|
2460
2460
|
}, a.prototype.parseDirective = function() {
|
|
2461
|
-
var g = this.lookahead, t = this.createNode(), b = this.parseExpression(), y = b.type ===
|
|
2461
|
+
var g = this.lookahead, t = this.createNode(), b = this.parseExpression(), y = b.type === z.Syntax.Literal ? this.getTokenRaw(g).slice(1, -1) : null;
|
|
2462
2462
|
return this.consumeSemicolon(), this.finalize(t, y ? new c.Directive(b, y) : new c.ExpressionStatement(b));
|
|
2463
2463
|
}, a.prototype.parseDirectivePrologues = function() {
|
|
2464
2464
|
for (var g = null, t = []; ; ) {
|
|
@@ -2705,21 +2705,21 @@ var k0 = {}, u8 = {
|
|
|
2705
2705
|
var c = new Error(r);
|
|
2706
2706
|
try {
|
|
2707
2707
|
throw c;
|
|
2708
|
-
} catch (
|
|
2709
|
-
Object.create && Object.defineProperty && (c = Object.create(
|
|
2708
|
+
} catch (j) {
|
|
2709
|
+
Object.create && Object.defineProperty && (c = Object.create(j), Object.defineProperty(c, "column", { value: d }));
|
|
2710
2710
|
}
|
|
2711
2711
|
return c;
|
|
2712
|
-
}, s.prototype.createError = function(r, d, c,
|
|
2713
|
-
var
|
|
2714
|
-
return m.index = r, m.lineNumber = d, m.description =
|
|
2715
|
-
}, s.prototype.throwError = function(r, d, c,
|
|
2716
|
-
throw this.createError(r, d, c,
|
|
2717
|
-
}, s.prototype.tolerateError = function(r, d, c,
|
|
2718
|
-
var
|
|
2712
|
+
}, s.prototype.createError = function(r, d, c, j) {
|
|
2713
|
+
var z = "Line " + d + ": " + j, m = this.constructError(z, c);
|
|
2714
|
+
return m.index = r, m.lineNumber = d, m.description = j, m;
|
|
2715
|
+
}, s.prototype.throwError = function(r, d, c, j) {
|
|
2716
|
+
throw this.createError(r, d, c, j);
|
|
2717
|
+
}, s.prototype.tolerateError = function(r, d, c, j) {
|
|
2718
|
+
var z = this.createError(r, d, c, j);
|
|
2719
2719
|
if (this.tolerant)
|
|
2720
|
-
this.recordError(
|
|
2720
|
+
this.recordError(z);
|
|
2721
2721
|
else
|
|
2722
|
-
throw
|
|
2722
|
+
throw z;
|
|
2723
2723
|
}, s;
|
|
2724
2724
|
}();
|
|
2725
2725
|
u.ErrorHandler = f;
|
|
@@ -2796,10 +2796,10 @@ var k0 = {}, u8 = {
|
|
|
2796
2796
|
function c(m) {
|
|
2797
2797
|
return "0123456789abcdef".indexOf(m.toLowerCase());
|
|
2798
2798
|
}
|
|
2799
|
-
function
|
|
2799
|
+
function j(m) {
|
|
2800
2800
|
return "01234567".indexOf(m);
|
|
2801
2801
|
}
|
|
2802
|
-
var
|
|
2802
|
+
var z = function() {
|
|
2803
2803
|
function m(e, l) {
|
|
2804
2804
|
this.source = e, this.errorHandler = l, this.trackComment = !1, this.isModule = !1, this.length = e.length, this.index = 0, this.lineNumber = e.length > 0 ? 1 : 0, this.lineStart = 0, this.curlyStack = [];
|
|
2805
2805
|
}
|
|
@@ -3034,8 +3034,8 @@ var k0 = {}, u8 = {
|
|
|
3034
3034
|
a = r.Character.fromCodePoint(e), l += a, this.index += a.length, e === 92 && (l = l.substr(0, l.length - 1), this.source.charCodeAt(this.index) !== 117 && this.throwUnexpectedToken(), ++this.index, this.source[this.index] === "{" ? (++this.index, a = this.scanUnicodeCodePointEscape()) : (a = this.scanHexEscape("u"), (a === null || a === "\\" || !r.Character.isIdentifierPart(a.charCodeAt(0))) && this.throwUnexpectedToken()), l += a);
|
|
3035
3035
|
return l;
|
|
3036
3036
|
}, m.prototype.octalToDecimal = function(e) {
|
|
3037
|
-
var l = e !== "0", a =
|
|
3038
|
-
return !this.eof() && r.Character.isOctalDigit(this.source.charCodeAt(this.index)) && (l = !0, a = a * 8 +
|
|
3037
|
+
var l = e !== "0", a = j(e);
|
|
3038
|
+
return !this.eof() && r.Character.isOctalDigit(this.source.charCodeAt(this.index)) && (l = !0, a = a * 8 + j(this.source[this.index++]), "0123".indexOf(e) >= 0 && !this.eof() && r.Character.isOctalDigit(this.source.charCodeAt(this.index)) && (a = a * 8 + j(this.source[this.index++]))), {
|
|
3039
3039
|
code: a,
|
|
3040
3040
|
octal: l
|
|
3041
3041
|
};
|
|
@@ -3391,7 +3391,7 @@ var k0 = {}, u8 = {
|
|
|
3391
3391
|
return r.Character.isIdentifierStart(e) ? this.scanIdentifier() : e === 40 || e === 41 || e === 59 ? this.scanPunctuator() : e === 39 || e === 34 ? this.scanStringLiteral() : e === 46 ? r.Character.isDecimalDigit(this.source.charCodeAt(this.index + 1)) ? this.scanNumericLiteral() : this.scanPunctuator() : r.Character.isDecimalDigit(e) ? this.scanNumericLiteral() : e === 96 || e === 125 && this.curlyStack[this.curlyStack.length - 1] === "${" ? this.scanTemplate() : e >= 55296 && e < 57343 && r.Character.isIdentifierStart(this.codePointAt(this.index)) ? this.scanIdentifier() : this.scanPunctuator();
|
|
3392
3392
|
}, m;
|
|
3393
3393
|
}();
|
|
3394
|
-
u.Scanner =
|
|
3394
|
+
u.Scanner = z;
|
|
3395
3395
|
},
|
|
3396
3396
|
/* 13 */
|
|
3397
3397
|
/***/
|
|
@@ -3691,10 +3691,10 @@ var k0 = {}, u8 = {
|
|
|
3691
3691
|
function(h, u, f) {
|
|
3692
3692
|
Object.defineProperty(u, "__esModule", { value: !0 });
|
|
3693
3693
|
var s = f(10), r = f(12), d = f(13), c = function() {
|
|
3694
|
-
function
|
|
3694
|
+
function z() {
|
|
3695
3695
|
this.values = [], this.curly = this.paren = -1;
|
|
3696
3696
|
}
|
|
3697
|
-
return
|
|
3697
|
+
return z.prototype.beforeFunctionExpression = function(m) {
|
|
3698
3698
|
return [
|
|
3699
3699
|
"(",
|
|
3700
3700
|
"{",
|
|
@@ -3753,7 +3753,7 @@ var k0 = {}, u8 = {
|
|
|
3753
3753
|
"!=",
|
|
3754
3754
|
"!=="
|
|
3755
3755
|
].indexOf(m) >= 0;
|
|
3756
|
-
},
|
|
3756
|
+
}, z.prototype.isRegexStart = function() {
|
|
3757
3757
|
var m = this.values[this.values.length - 1], e = m !== null;
|
|
3758
3758
|
switch (m) {
|
|
3759
3759
|
case "this":
|
|
@@ -3775,16 +3775,16 @@ var k0 = {}, u8 = {
|
|
|
3775
3775
|
break;
|
|
3776
3776
|
}
|
|
3777
3777
|
return e;
|
|
3778
|
-
},
|
|
3778
|
+
}, z.prototype.push = function(m) {
|
|
3779
3779
|
m.type === 7 || m.type === 4 ? (m.value === "{" ? this.curly = this.values.length : m.value === "(" && (this.paren = this.values.length), this.values.push(m.value)) : this.values.push(null);
|
|
3780
|
-
},
|
|
3781
|
-
}(),
|
|
3782
|
-
function
|
|
3780
|
+
}, z;
|
|
3781
|
+
}(), j = function() {
|
|
3782
|
+
function z(m, e) {
|
|
3783
3783
|
this.errorHandler = new s.ErrorHandler(), this.errorHandler.tolerant = e ? typeof e.tolerant == "boolean" && e.tolerant : !1, this.scanner = new r.Scanner(m, this.errorHandler), this.scanner.trackComment = e ? typeof e.comment == "boolean" && e.comment : !1, this.trackRange = e ? typeof e.range == "boolean" && e.range : !1, this.trackLoc = e ? typeof e.loc == "boolean" && e.loc : !1, this.buffer = [], this.reader = new c();
|
|
3784
3784
|
}
|
|
3785
|
-
return
|
|
3785
|
+
return z.prototype.errors = function() {
|
|
3786
3786
|
return this.errorHandler.errors;
|
|
3787
|
-
},
|
|
3787
|
+
}, z.prototype.getNextToken = function() {
|
|
3788
3788
|
if (this.buffer.length === 0) {
|
|
3789
3789
|
var m = this.scanner.scanComments();
|
|
3790
3790
|
if (this.scanner.trackComment)
|
|
@@ -3821,9 +3821,9 @@ var k0 = {}, u8 = {
|
|
|
3821
3821
|
}
|
|
3822
3822
|
}
|
|
3823
3823
|
return this.buffer.shift();
|
|
3824
|
-
},
|
|
3824
|
+
}, z;
|
|
3825
3825
|
}();
|
|
3826
|
-
u.Tokenizer =
|
|
3826
|
+
u.Tokenizer = j;
|
|
3827
3827
|
}
|
|
3828
3828
|
/******/
|
|
3829
3829
|
]);
|
|
@@ -3857,22 +3857,22 @@ function s8(x) {
|
|
|
3857
3857
|
r.type === k0.Syntax.CallExpression && s(r, i);
|
|
3858
3858
|
for (const d in r) {
|
|
3859
3859
|
const c = r[d];
|
|
3860
|
-
Array.isArray(c) ? c.forEach((
|
|
3860
|
+
Array.isArray(c) ? c.forEach((j) => j && u(j)) : c && typeof c == "object" && u(c);
|
|
3861
3861
|
}
|
|
3862
3862
|
}
|
|
3863
3863
|
function f(r, d) {
|
|
3864
|
-
var c = r.object,
|
|
3865
|
-
c.type === k0.Syntax.MemberExpression ? f(c, d) : c.type === k0.Syntax.Identifier && (d.root = c.name),
|
|
3864
|
+
var c = r.object, j = r.property;
|
|
3865
|
+
c.type === k0.Syntax.MemberExpression ? f(c, d) : c.type === k0.Syntax.Identifier && (d.root = c.name), j.type === k0.Syntax.Identifier ? d.properties.push(j.name) : (j.type === k0.Syntax.Literal && typeof j.value == "string" || j.type === k0.Syntax.Literal && typeof j.value == "number") && d.properties.push(j.value);
|
|
3866
3866
|
}
|
|
3867
3867
|
function s(r, d) {
|
|
3868
3868
|
var c;
|
|
3869
|
-
(c = r.arguments) == null || c.forEach((
|
|
3870
|
-
if (
|
|
3871
|
-
const
|
|
3872
|
-
root:
|
|
3869
|
+
(c = r.arguments) == null || c.forEach((j) => {
|
|
3870
|
+
if (j.type === k0.Syntax.Identifier) {
|
|
3871
|
+
const z = {
|
|
3872
|
+
root: j.name,
|
|
3873
3873
|
properties: []
|
|
3874
3874
|
};
|
|
3875
|
-
d.push(
|
|
3875
|
+
d.push(z);
|
|
3876
3876
|
}
|
|
3877
3877
|
});
|
|
3878
3878
|
}
|
|
@@ -3943,8 +3943,8 @@ class d8 {
|
|
|
3943
3943
|
const u = /^(\d{6})(\d{4})(\d{2})(\d{2})(\d{3})([0-9]|X)$/, f = i.match(u), s = parseInt(f[2]), r = parseInt(f[3]), d = parseInt(f[4]), c = new Date(s + "/" + (r < 10 ? "0" + r : r) + "/" + (d < 10 ? "0" + d : d));
|
|
3944
3944
|
if (c.getFullYear() != 0 && (c.getMonth() < 0 || !c.getDate()))
|
|
3945
3945
|
return !1;
|
|
3946
|
-
const
|
|
3947
|
-
return h.birthday = c, h.birthdayText = s + "-" + r + "-" + d, h.age =
|
|
3946
|
+
const j = new Date(), z = t4(c, j);
|
|
3947
|
+
return h.birthday = c, h.birthdayText = s + "-" + r + "-" + d, h.age = z == null ? void 0 : z.years, h.dateDiff = z, c <= j;
|
|
3948
3948
|
}
|
|
3949
3949
|
/**
|
|
3950
3950
|
* 校验性别
|
|
@@ -3971,7 +3971,7 @@ class d8 {
|
|
|
3971
3971
|
return !N0._emptyAndLength(i) || !N0._idCardRule(i) || !N0._checkProvince(i) || !N0._checkCity(i) || !N0._checkBirthday(i) ? !1 : N0._checkCode(i);
|
|
3972
3972
|
}
|
|
3973
3973
|
}
|
|
3974
|
-
class
|
|
3974
|
+
class Hn {
|
|
3975
3975
|
/**
|
|
3976
3976
|
* 将身份证号统一转化为18位身份证号
|
|
3977
3977
|
* @param idCard 15位身份证号码
|
|
@@ -3990,7 +3990,7 @@ class Xn {
|
|
|
3990
3990
|
return h + c[d];
|
|
3991
3991
|
}
|
|
3992
3992
|
isValid(i) {
|
|
3993
|
-
const h =
|
|
3993
|
+
const h = Hn._convertTo18(i);
|
|
3994
3994
|
return N0._overallValid(h);
|
|
3995
3995
|
}
|
|
3996
3996
|
/**
|
|
@@ -3999,28 +3999,28 @@ class Xn {
|
|
|
3999
3999
|
* @returns 18位身份证号码
|
|
4000
4000
|
*/
|
|
4001
4001
|
convertTo18(i) {
|
|
4002
|
-
return
|
|
4002
|
+
return Hn._convertTo18(i);
|
|
4003
4003
|
}
|
|
4004
4004
|
getInfo(i) {
|
|
4005
|
-
const h =
|
|
4005
|
+
const h = Hn._convertTo18(i);
|
|
4006
4006
|
let u = {}, f = {};
|
|
4007
4007
|
return !N0._emptyAndLength(h) || !N0._idCardRule(h) || !N0._checkProvince(h, u) || !N0._checkCity(h, u) || !N0._checkBirthday(h, u) || !N0._checkCode(h) || !N0._checkSexCode(h, u) ? f : u;
|
|
4008
4008
|
}
|
|
4009
4009
|
}
|
|
4010
|
-
const N0 = new d8(), an = new
|
|
4011
|
-
var
|
|
4010
|
+
const N0 = new d8(), an = new Hn();
|
|
4011
|
+
var Kn = {}, r8 = {
|
|
4012
4012
|
get exports() {
|
|
4013
|
-
return
|
|
4013
|
+
return Kn;
|
|
4014
4014
|
},
|
|
4015
4015
|
set exports(x) {
|
|
4016
|
-
|
|
4016
|
+
Kn = x;
|
|
4017
4017
|
}
|
|
4018
|
-
},
|
|
4018
|
+
}, m1 = {}, a8 = {
|
|
4019
4019
|
get exports() {
|
|
4020
|
-
return
|
|
4020
|
+
return m1;
|
|
4021
4021
|
},
|
|
4022
4022
|
set exports(x) {
|
|
4023
|
-
|
|
4023
|
+
m1 = x;
|
|
4024
4024
|
}
|
|
4025
4025
|
}, J0 = {}, z0 = {};
|
|
4026
4026
|
z0.__esModule = !0;
|
|
@@ -4105,30 +4105,30 @@ var P0 = {}, w8 = {
|
|
|
4105
4105
|
i.__esModule = !0;
|
|
4106
4106
|
var h = ["description", "fileName", "lineNumber", "endLineNumber", "message", "name", "number", "stack"];
|
|
4107
4107
|
function u(f, s) {
|
|
4108
|
-
var r = s && s.loc, d = void 0, c = void 0,
|
|
4109
|
-
r && (d = r.start.line, c = r.end.line,
|
|
4108
|
+
var r = s && s.loc, d = void 0, c = void 0, j = void 0, z = void 0;
|
|
4109
|
+
r && (d = r.start.line, c = r.end.line, j = r.start.column, z = r.end.column, f += " - " + d + ":" + j);
|
|
4110
4110
|
for (var m = Error.prototype.constructor.call(this, f), e = 0; e < h.length; e++)
|
|
4111
4111
|
this[h[e]] = m[h[e]];
|
|
4112
4112
|
Error.captureStackTrace && Error.captureStackTrace(this, u);
|
|
4113
4113
|
try {
|
|
4114
4114
|
r && (this.lineNumber = d, this.endLineNumber = c, Object.defineProperty ? (Object.defineProperty(this, "column", {
|
|
4115
|
-
value:
|
|
4115
|
+
value: j,
|
|
4116
4116
|
enumerable: !0
|
|
4117
4117
|
}), Object.defineProperty(this, "endColumn", {
|
|
4118
|
-
value:
|
|
4118
|
+
value: z,
|
|
4119
4119
|
enumerable: !0
|
|
4120
|
-
})) : (this.column =
|
|
4120
|
+
})) : (this.column = j, this.endColumn = z));
|
|
4121
4121
|
} catch {
|
|
4122
4122
|
}
|
|
4123
4123
|
}
|
|
4124
4124
|
u.prototype = new Error(), i.default = u, x.exports = i.default;
|
|
4125
4125
|
})(w8, P0);
|
|
4126
|
-
var
|
|
4126
|
+
var x1 = {}, p1 = {}, k8 = {
|
|
4127
4127
|
get exports() {
|
|
4128
|
-
return
|
|
4128
|
+
return p1;
|
|
4129
4129
|
},
|
|
4130
4130
|
set exports(x) {
|
|
4131
|
-
|
|
4131
|
+
p1 = x;
|
|
4132
4132
|
}
|
|
4133
4133
|
};
|
|
4134
4134
|
(function(x, i) {
|
|
@@ -4150,13 +4150,13 @@ var n1 = {}, m1 = {}, k8 = {
|
|
|
4150
4150
|
return d(f, s);
|
|
4151
4151
|
});
|
|
4152
4152
|
}, x.exports = i.default;
|
|
4153
|
-
})(k8,
|
|
4154
|
-
var
|
|
4153
|
+
})(k8, p1);
|
|
4154
|
+
var q1 = {}, D8 = {
|
|
4155
4155
|
get exports() {
|
|
4156
|
-
return
|
|
4156
|
+
return q1;
|
|
4157
4157
|
},
|
|
4158
4158
|
set exports(x) {
|
|
4159
|
-
|
|
4159
|
+
q1 = x;
|
|
4160
4160
|
}
|
|
4161
4161
|
};
|
|
4162
4162
|
(function(x, i) {
|
|
@@ -4169,10 +4169,10 @@ var p1 = {}, D8 = {
|
|
|
4169
4169
|
r.registerHelper("each", function(d, c) {
|
|
4170
4170
|
if (!c)
|
|
4171
4171
|
throw new s.default("Must pass iterator to #each");
|
|
4172
|
-
var
|
|
4172
|
+
var j = c.fn, z = c.inverse, m = 0, e = "", l = void 0, a = void 0;
|
|
4173
4173
|
c.data && c.ids && (a = u.appendContextPath(c.data.contextPath, c.ids[0]) + "."), u.isFunction(d) && (d = d.call(this)), c.data && (l = u.createFrame(c.data));
|
|
4174
4174
|
function g(p, E, F) {
|
|
4175
|
-
l && (l.key = p, l.index = E, l.first = E === 0, l.last = !!F, a && (l.contextPath = a + p)), e = e +
|
|
4175
|
+
l && (l.key = p, l.index = E, l.first = E === 0, l.last = !!F, a && (l.contextPath = a + p)), e = e + j(d[p], {
|
|
4176
4176
|
data: l,
|
|
4177
4177
|
blockParams: u.blockParams([d[p], p], [a + p, null])
|
|
4178
4178
|
});
|
|
@@ -4194,16 +4194,16 @@ var p1 = {}, D8 = {
|
|
|
4194
4194
|
p !== void 0 && g(p, m - 1), p = E, m++;
|
|
4195
4195
|
}), p !== void 0 && g(p, m - 1, !0);
|
|
4196
4196
|
})();
|
|
4197
|
-
return m === 0 && (e =
|
|
4197
|
+
return m === 0 && (e = z(this)), e;
|
|
4198
4198
|
});
|
|
4199
4199
|
}, x.exports = i.default;
|
|
4200
|
-
})(D8,
|
|
4201
|
-
var
|
|
4200
|
+
})(D8, q1);
|
|
4201
|
+
var w1 = {}, E8 = {
|
|
4202
4202
|
get exports() {
|
|
4203
|
-
return
|
|
4203
|
+
return w1;
|
|
4204
4204
|
},
|
|
4205
4205
|
set exports(x) {
|
|
4206
|
-
|
|
4206
|
+
w1 = x;
|
|
4207
4207
|
}
|
|
4208
4208
|
};
|
|
4209
4209
|
(function(x, i) {
|
|
@@ -4218,13 +4218,13 @@ var q1 = {}, E8 = {
|
|
|
4218
4218
|
throw new f.default('Missing helper: "' + arguments[arguments.length - 1].name + '"');
|
|
4219
4219
|
});
|
|
4220
4220
|
}, x.exports = i.default;
|
|
4221
|
-
})(E8,
|
|
4222
|
-
var
|
|
4221
|
+
})(E8, w1);
|
|
4222
|
+
var k1 = {}, A8 = {
|
|
4223
4223
|
get exports() {
|
|
4224
|
-
return
|
|
4224
|
+
return k1;
|
|
4225
4225
|
},
|
|
4226
4226
|
set exports(x) {
|
|
4227
|
-
|
|
4227
|
+
k1 = x;
|
|
4228
4228
|
}
|
|
4229
4229
|
};
|
|
4230
4230
|
(function(x, i) {
|
|
@@ -4248,13 +4248,13 @@ var w1 = {}, A8 = {
|
|
|
4248
4248
|
});
|
|
4249
4249
|
});
|
|
4250
4250
|
}, x.exports = i.default;
|
|
4251
|
-
})(A8,
|
|
4252
|
-
var
|
|
4251
|
+
})(A8, k1);
|
|
4252
|
+
var D1 = {}, v8 = {
|
|
4253
4253
|
get exports() {
|
|
4254
|
-
return
|
|
4254
|
+
return D1;
|
|
4255
4255
|
},
|
|
4256
4256
|
set exports(x) {
|
|
4257
|
-
|
|
4257
|
+
D1 = x;
|
|
4258
4258
|
}
|
|
4259
4259
|
};
|
|
4260
4260
|
(function(x, i) {
|
|
@@ -4266,13 +4266,13 @@ var k1 = {}, v8 = {
|
|
|
4266
4266
|
f.hash.level != null ? r = f.hash.level : f.data && f.data.level != null && (r = f.data.level), u[0] = r, h.log.apply(h, u);
|
|
4267
4267
|
});
|
|
4268
4268
|
}, x.exports = i.default;
|
|
4269
|
-
})(v8,
|
|
4270
|
-
var
|
|
4269
|
+
})(v8, D1);
|
|
4270
|
+
var E1 = {}, C8 = {
|
|
4271
4271
|
get exports() {
|
|
4272
|
-
return
|
|
4272
|
+
return E1;
|
|
4273
4273
|
},
|
|
4274
4274
|
set exports(x) {
|
|
4275
|
-
|
|
4275
|
+
E1 = x;
|
|
4276
4276
|
}
|
|
4277
4277
|
};
|
|
4278
4278
|
(function(x, i) {
|
|
@@ -4281,13 +4281,13 @@ var D1 = {}, C8 = {
|
|
|
4281
4281
|
return u && s.lookupProperty(u, f);
|
|
4282
4282
|
});
|
|
4283
4283
|
}, x.exports = i.default;
|
|
4284
|
-
})(C8,
|
|
4285
|
-
var
|
|
4284
|
+
})(C8, E1);
|
|
4285
|
+
var A1 = {}, F8 = {
|
|
4286
4286
|
get exports() {
|
|
4287
|
-
return
|
|
4287
|
+
return A1;
|
|
4288
4288
|
},
|
|
4289
4289
|
set exports(x) {
|
|
4290
|
-
|
|
4290
|
+
A1 = x;
|
|
4291
4291
|
}
|
|
4292
4292
|
};
|
|
4293
4293
|
(function(x, i) {
|
|
@@ -4301,36 +4301,36 @@ var E1 = {}, F8 = {
|
|
|
4301
4301
|
if (arguments.length != 2)
|
|
4302
4302
|
throw new s.default("#with requires exactly one argument");
|
|
4303
4303
|
u.isFunction(d) && (d = d.call(this));
|
|
4304
|
-
var
|
|
4304
|
+
var j = c.fn;
|
|
4305
4305
|
if (u.isEmpty(d))
|
|
4306
4306
|
return c.inverse(this);
|
|
4307
|
-
var
|
|
4308
|
-
return c.data && c.ids && (
|
|
4309
|
-
data:
|
|
4310
|
-
blockParams: u.blockParams([d], [
|
|
4307
|
+
var z = c.data;
|
|
4308
|
+
return c.data && c.ids && (z = u.createFrame(c.data), z.contextPath = u.appendContextPath(c.data.contextPath, c.ids[0])), j(d, {
|
|
4309
|
+
data: z,
|
|
4310
|
+
blockParams: u.blockParams([d], [z && z.contextPath])
|
|
4311
4311
|
});
|
|
4312
4312
|
});
|
|
4313
4313
|
}, x.exports = i.default;
|
|
4314
|
-
})(F8,
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4314
|
+
})(F8, A1);
|
|
4315
|
+
x1.__esModule = !0;
|
|
4316
|
+
x1.registerDefaultHelpers = H8;
|
|
4317
|
+
x1.moveHelperToHooks = J8;
|
|
4318
4318
|
function jn(x) {
|
|
4319
4319
|
return x && x.__esModule ? x : { default: x };
|
|
4320
4320
|
}
|
|
4321
|
-
var S8 =
|
|
4321
|
+
var S8 = p1, B8 = jn(S8), _8 = q1, T8 = jn(_8), N8 = w1, P8 = jn(N8), I8 = k1, M8 = jn(I8), O8 = D1, L8 = jn(O8), R8 = E1, U8 = jn(R8), G8 = A1, X8 = jn(G8);
|
|
4322
4322
|
function H8(x) {
|
|
4323
4323
|
B8.default(x), T8.default(x), P8.default(x), M8.default(x), L8.default(x), U8.default(x), X8.default(x);
|
|
4324
4324
|
}
|
|
4325
4325
|
function J8(x, i, h) {
|
|
4326
4326
|
x.helpers[i] && (x.hooks[i] = x.helpers[i], h || delete x.helpers[i]);
|
|
4327
4327
|
}
|
|
4328
|
-
var bx = {},
|
|
4328
|
+
var bx = {}, v1 = {}, W8 = {
|
|
4329
4329
|
get exports() {
|
|
4330
|
-
return
|
|
4330
|
+
return v1;
|
|
4331
4331
|
},
|
|
4332
4332
|
set exports(x) {
|
|
4333
|
-
|
|
4333
|
+
v1 = x;
|
|
4334
4334
|
}
|
|
4335
4335
|
};
|
|
4336
4336
|
(function(x, i) {
|
|
@@ -4339,30 +4339,30 @@ var bx = {}, A1 = {}, W8 = {
|
|
|
4339
4339
|
i.default = function(u) {
|
|
4340
4340
|
u.registerDecorator("inline", function(f, s, r, d) {
|
|
4341
4341
|
var c = f;
|
|
4342
|
-
return s.partials || (s.partials = {}, c = function(
|
|
4342
|
+
return s.partials || (s.partials = {}, c = function(j, z) {
|
|
4343
4343
|
var m = r.partials;
|
|
4344
4344
|
r.partials = h.extend({}, m, s.partials);
|
|
4345
|
-
var e = f(
|
|
4345
|
+
var e = f(j, z);
|
|
4346
4346
|
return r.partials = m, e;
|
|
4347
4347
|
}), s.partials[d.args[0]] = d.fn, c;
|
|
4348
4348
|
});
|
|
4349
4349
|
}, x.exports = i.default;
|
|
4350
|
-
})(W8,
|
|
4350
|
+
})(W8, v1);
|
|
4351
4351
|
bx.__esModule = !0;
|
|
4352
4352
|
bx.registerDefaultDecorators = Q8;
|
|
4353
4353
|
function K8(x) {
|
|
4354
4354
|
return x && x.__esModule ? x : { default: x };
|
|
4355
4355
|
}
|
|
4356
|
-
var Y8 =
|
|
4356
|
+
var Y8 = v1, V8 = K8(Y8);
|
|
4357
4357
|
function Q8(x) {
|
|
4358
4358
|
V8.default(x);
|
|
4359
4359
|
}
|
|
4360
|
-
var
|
|
4360
|
+
var Yn = {}, Z8 = {
|
|
4361
4361
|
get exports() {
|
|
4362
|
-
return
|
|
4362
|
+
return Yn;
|
|
4363
4363
|
},
|
|
4364
4364
|
set exports(x) {
|
|
4365
|
-
|
|
4365
|
+
Yn = x;
|
|
4366
4366
|
}
|
|
4367
4367
|
};
|
|
4368
4368
|
(function(x, i) {
|
|
@@ -4383,14 +4383,14 @@ var Kn = {}, Z8 = {
|
|
|
4383
4383
|
if (s = u.lookupLevel(s), typeof console < "u" && u.lookupLevel(u.level) <= s) {
|
|
4384
4384
|
var r = u.methodMap[s];
|
|
4385
4385
|
console[r] || (r = "log");
|
|
4386
|
-
for (var d = arguments.length, c = Array(d > 1 ? d - 1 : 0),
|
|
4387
|
-
c[
|
|
4386
|
+
for (var d = arguments.length, c = Array(d > 1 ? d - 1 : 0), j = 1; j < d; j++)
|
|
4387
|
+
c[j - 1] = arguments[j];
|
|
4388
4388
|
console[r].apply(console, c);
|
|
4389
4389
|
}
|
|
4390
4390
|
}
|
|
4391
4391
|
};
|
|
4392
4392
|
i.default = u, x.exports = i.default;
|
|
4393
|
-
})(Z8,
|
|
4393
|
+
})(Z8, Yn);
|
|
4394
4394
|
var vn = {}, yx = {};
|
|
4395
4395
|
yx.__esModule = !0;
|
|
4396
4396
|
yx.createNewLookupObject = n2;
|
|
@@ -4407,7 +4407,7 @@ vn.resetLoggedProperties = t2;
|
|
|
4407
4407
|
function x2(x) {
|
|
4408
4408
|
return x && x.__esModule ? x : { default: x };
|
|
4409
4409
|
}
|
|
4410
|
-
var Dx = yx, i2 =
|
|
4410
|
+
var Dx = yx, i2 = Yn, h2 = x2(i2), C1 = /* @__PURE__ */ Object.create(null);
|
|
4411
4411
|
function g2(x) {
|
|
4412
4412
|
var i = /* @__PURE__ */ Object.create(null);
|
|
4413
4413
|
i.constructor = !1, i.__defineGetter__ = !1, i.__defineSetter__ = !1, i.__lookupGetter__ = !1;
|
|
@@ -4430,13 +4430,13 @@ function Ex(x, i) {
|
|
|
4430
4430
|
return x.whitelist[i] !== void 0 ? x.whitelist[i] === !0 : x.defaultValue !== void 0 ? x.defaultValue : (e2(i), !1);
|
|
4431
4431
|
}
|
|
4432
4432
|
function e2(x) {
|
|
4433
|
-
|
|
4433
|
+
C1[x] !== !0 && (C1[x] = !0, h2.default.log("error", 'Handlebars: Access has been denied to resolve the property "' + x + `" because it is not an "own property" of its parent.
|
|
4434
4434
|
You can add a runtime option to disable the check or this warning:
|
|
4435
4435
|
See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`));
|
|
4436
4436
|
}
|
|
4437
4437
|
function t2() {
|
|
4438
|
-
Object.keys(
|
|
4439
|
-
delete
|
|
4438
|
+
Object.keys(C1).forEach(function(x) {
|
|
4439
|
+
delete C1[x];
|
|
4440
4440
|
});
|
|
4441
4441
|
}
|
|
4442
4442
|
J0.__esModule = !0;
|
|
@@ -4444,7 +4444,7 @@ J0.HandlebarsEnvironment = hx;
|
|
|
4444
4444
|
function f4(x) {
|
|
4445
4445
|
return x && x.__esModule ? x : { default: x };
|
|
4446
4446
|
}
|
|
4447
|
-
var on = z0, s2 = P0,
|
|
4447
|
+
var on = z0, s2 = P0, O1 = f4(s2), c2 = x1, d2 = bx, r2 = Yn, F1 = f4(r2), a2 = vn, o2 = "4.7.8";
|
|
4448
4448
|
J0.VERSION = o2;
|
|
4449
4449
|
var f2 = 8;
|
|
4450
4450
|
J0.COMPILER_REVISION = f2;
|
|
@@ -4462,18 +4462,18 @@ var b2 = {
|
|
|
4462
4462
|
8: ">= 4.3.0"
|
|
4463
4463
|
};
|
|
4464
4464
|
J0.REVISION_CHANGES = b2;
|
|
4465
|
-
var
|
|
4465
|
+
var L1 = "[object Object]";
|
|
4466
4466
|
function hx(x, i, h) {
|
|
4467
4467
|
this.helpers = x || {}, this.partials = i || {}, this.decorators = h || {}, c2.registerDefaultHelpers(this), d2.registerDefaultDecorators(this);
|
|
4468
4468
|
}
|
|
4469
4469
|
hx.prototype = {
|
|
4470
4470
|
constructor: hx,
|
|
4471
|
-
logger:
|
|
4472
|
-
log:
|
|
4471
|
+
logger: F1.default,
|
|
4472
|
+
log: F1.default.log,
|
|
4473
4473
|
registerHelper: function(i, h) {
|
|
4474
|
-
if (on.toString.call(i) ===
|
|
4474
|
+
if (on.toString.call(i) === L1) {
|
|
4475
4475
|
if (h)
|
|
4476
|
-
throw new
|
|
4476
|
+
throw new O1.default("Arg not supported with multiple helpers");
|
|
4477
4477
|
on.extend(this.helpers, i);
|
|
4478
4478
|
} else
|
|
4479
4479
|
this.helpers[i] = h;
|
|
@@ -4482,11 +4482,11 @@ hx.prototype = {
|
|
|
4482
4482
|
delete this.helpers[i];
|
|
4483
4483
|
},
|
|
4484
4484
|
registerPartial: function(i, h) {
|
|
4485
|
-
if (on.toString.call(i) ===
|
|
4485
|
+
if (on.toString.call(i) === L1)
|
|
4486
4486
|
on.extend(this.partials, i);
|
|
4487
4487
|
else {
|
|
4488
4488
|
if (typeof h > "u")
|
|
4489
|
-
throw new
|
|
4489
|
+
throw new O1.default('Attempting to register a partial called "' + i + '" as undefined');
|
|
4490
4490
|
this.partials[i] = h;
|
|
4491
4491
|
}
|
|
4492
4492
|
},
|
|
@@ -4494,9 +4494,9 @@ hx.prototype = {
|
|
|
4494
4494
|
delete this.partials[i];
|
|
4495
4495
|
},
|
|
4496
4496
|
registerDecorator: function(i, h) {
|
|
4497
|
-
if (on.toString.call(i) ===
|
|
4497
|
+
if (on.toString.call(i) === L1) {
|
|
4498
4498
|
if (h)
|
|
4499
|
-
throw new
|
|
4499
|
+
throw new O1.default("Arg not supported with multiple decorators");
|
|
4500
4500
|
on.extend(this.decorators, i);
|
|
4501
4501
|
} else
|
|
4502
4502
|
this.decorators[i] = h;
|
|
@@ -4512,16 +4512,16 @@ hx.prototype = {
|
|
|
4512
4512
|
a2.resetLoggedProperties();
|
|
4513
4513
|
}
|
|
4514
4514
|
};
|
|
4515
|
-
var y2 =
|
|
4515
|
+
var y2 = F1.default.log;
|
|
4516
4516
|
J0.log = y2;
|
|
4517
4517
|
J0.createFrame = on.createFrame;
|
|
4518
|
-
J0.logger =
|
|
4519
|
-
var
|
|
4518
|
+
J0.logger = F1.default;
|
|
4519
|
+
var S1 = {}, z2 = {
|
|
4520
4520
|
get exports() {
|
|
4521
|
-
return
|
|
4521
|
+
return S1;
|
|
4522
4522
|
},
|
|
4523
4523
|
set exports(x) {
|
|
4524
|
-
|
|
4524
|
+
S1 = x;
|
|
4525
4525
|
}
|
|
4526
4526
|
};
|
|
4527
4527
|
(function(x, i) {
|
|
@@ -4532,7 +4532,7 @@ var F1 = {}, z2 = {
|
|
|
4532
4532
|
h.prototype.toString = h.prototype.toHTML = function() {
|
|
4533
4533
|
return "" + this.string;
|
|
4534
4534
|
}, i.default = h, x.exports = i.default;
|
|
4535
|
-
})(z2,
|
|
4535
|
+
})(z2, S1);
|
|
4536
4536
|
var en = {}, zx = {};
|
|
4537
4537
|
zx.__esModule = !0;
|
|
4538
4538
|
zx.wrapHelper = j2;
|
|
@@ -4548,7 +4548,7 @@ function j2(x, i) {
|
|
|
4548
4548
|
en.__esModule = !0;
|
|
4549
4549
|
en.checkRevision = D2;
|
|
4550
4550
|
en.template = E2;
|
|
4551
|
-
en.wrapProgram =
|
|
4551
|
+
en.wrapProgram = a1;
|
|
4552
4552
|
en.resolvePartial = A2;
|
|
4553
4553
|
en.invokePartial = v2;
|
|
4554
4554
|
en.noop = l4;
|
|
@@ -4564,7 +4564,7 @@ function p2(x) {
|
|
|
4564
4564
|
Object.prototype.hasOwnProperty.call(x, h) && (i[h] = x[h]);
|
|
4565
4565
|
return i.default = x, i;
|
|
4566
4566
|
}
|
|
4567
|
-
var q2 = z0, Q0 = p2(q2), w2 = P0, Z0 = m2(w2), $0 = J0, Ax =
|
|
4567
|
+
var q2 = z0, Q0 = p2(q2), w2 = P0, Z0 = m2(w2), $0 = J0, Ax = x1, k2 = zx, vx = vn;
|
|
4568
4568
|
function D2(x) {
|
|
4569
4569
|
var i = x && x[0] || 1, h = $0.COMPILER_REVISION;
|
|
4570
4570
|
if (!(i >= $0.LAST_COMPATIBLE_COMPILER_REVISION && i <= $0.COMPILER_REVISION))
|
|
@@ -4583,40 +4583,40 @@ function E2(x, i) {
|
|
|
4583
4583
|
var h = x.compiler && x.compiler[0] === 7;
|
|
4584
4584
|
function u(r, d, c) {
|
|
4585
4585
|
c.hash && (d = Q0.extend({}, d, c.hash), c.ids && (c.ids[0] = !0)), r = i.VM.resolvePartial.call(this, r, d, c);
|
|
4586
|
-
var
|
|
4586
|
+
var j = Q0.extend({}, c, {
|
|
4587
4587
|
hooks: this.hooks,
|
|
4588
4588
|
protoAccessControl: this.protoAccessControl
|
|
4589
|
-
}),
|
|
4590
|
-
if (
|
|
4589
|
+
}), z = i.VM.invokePartial.call(this, r, d, j);
|
|
4590
|
+
if (z == null && i.compile && (c.partials[c.name] = i.compile(r, x.compilerOptions, i), z = c.partials[c.name](d, j)), z != null) {
|
|
4591
4591
|
if (c.indent) {
|
|
4592
|
-
for (var m =
|
|
4592
|
+
for (var m = z.split(`
|
|
4593
4593
|
`), e = 0, l = m.length; e < l && !(!m[e] && e + 1 === l); e++)
|
|
4594
4594
|
m[e] = c.indent + m[e];
|
|
4595
|
-
|
|
4595
|
+
z = m.join(`
|
|
4596
4596
|
`);
|
|
4597
4597
|
}
|
|
4598
|
-
return
|
|
4598
|
+
return z;
|
|
4599
4599
|
} else
|
|
4600
4600
|
throw new Z0.default("The partial " + c.name + " could not be compiled when running in runtime-only mode");
|
|
4601
4601
|
}
|
|
4602
4602
|
var f = {
|
|
4603
|
-
strict: function(d, c,
|
|
4603
|
+
strict: function(d, c, j) {
|
|
4604
4604
|
if (!d || !(c in d))
|
|
4605
4605
|
throw new Z0.default('"' + c + '" not defined in ' + d, {
|
|
4606
|
-
loc:
|
|
4606
|
+
loc: j
|
|
4607
4607
|
});
|
|
4608
4608
|
return f.lookupProperty(d, c);
|
|
4609
4609
|
},
|
|
4610
4610
|
lookupProperty: function(d, c) {
|
|
4611
|
-
var
|
|
4612
|
-
if (
|
|
4613
|
-
return
|
|
4611
|
+
var j = d[c];
|
|
4612
|
+
if (j == null || Object.prototype.hasOwnProperty.call(d, c) || vx.resultIsAllowed(j, f.protoAccessControl, c))
|
|
4613
|
+
return j;
|
|
4614
4614
|
},
|
|
4615
4615
|
lookup: function(d, c) {
|
|
4616
|
-
for (var
|
|
4617
|
-
var m = d[
|
|
4616
|
+
for (var j = d.length, z = 0; z < j; z++) {
|
|
4617
|
+
var m = d[z] && f.lookupProperty(d[z], c);
|
|
4618
4618
|
if (m != null)
|
|
4619
|
-
return d[
|
|
4619
|
+
return d[z][c];
|
|
4620
4620
|
}
|
|
4621
4621
|
},
|
|
4622
4622
|
lambda: function(d, c) {
|
|
@@ -4629,9 +4629,9 @@ function E2(x, i) {
|
|
|
4629
4629
|
return c.decorator = x[d + "_d"], c;
|
|
4630
4630
|
},
|
|
4631
4631
|
programs: [],
|
|
4632
|
-
program: function(d, c,
|
|
4632
|
+
program: function(d, c, j, z, m) {
|
|
4633
4633
|
var e = this.programs[d], l = this.fn(d);
|
|
4634
|
-
return c || m ||
|
|
4634
|
+
return c || m || z || j ? e = a1(this, d, l, c, j, z, m) : e || (e = this.programs[d] = a1(this, d, l)), e;
|
|
4635
4635
|
},
|
|
4636
4636
|
data: function(d, c) {
|
|
4637
4637
|
for (; d && c--; )
|
|
@@ -4639,8 +4639,8 @@ function E2(x, i) {
|
|
|
4639
4639
|
return d;
|
|
4640
4640
|
},
|
|
4641
4641
|
mergeIfNeeded: function(d, c) {
|
|
4642
|
-
var
|
|
4643
|
-
return d && c && d !== c && (
|
|
4642
|
+
var j = d || c;
|
|
4643
|
+
return d && c && d !== c && (j = Q0.extend({}, c, d)), j;
|
|
4644
4644
|
},
|
|
4645
4645
|
// An empty object to use as replacement for null-contexts
|
|
4646
4646
|
nullContext: Object.seal({}),
|
|
@@ -4650,12 +4650,12 @@ function E2(x, i) {
|
|
|
4650
4650
|
function s(r) {
|
|
4651
4651
|
var d = arguments.length <= 1 || arguments[1] === void 0 ? {} : arguments[1], c = d.data;
|
|
4652
4652
|
s._setup(d), !d.partial && x.useData && (c = C2(r, c));
|
|
4653
|
-
var
|
|
4654
|
-
x.useDepths && (d.depths ?
|
|
4653
|
+
var j = void 0, z = x.useBlockParams ? [] : void 0;
|
|
4654
|
+
x.useDepths && (d.depths ? j = r != d.depths[0] ? [r].concat(d.depths) : d.depths : j = [r]);
|
|
4655
4655
|
function m(e) {
|
|
4656
|
-
return "" + x.main(f, e, f.helpers, f.partials, c,
|
|
4656
|
+
return "" + x.main(f, e, f.helpers, f.partials, c, z, j);
|
|
4657
4657
|
}
|
|
4658
|
-
return m = b4(x.main, m, f, d.depths || [], c,
|
|
4658
|
+
return m = b4(x.main, m, f, d.depths || [], c, z), m(r, d);
|
|
4659
4659
|
}
|
|
4660
4660
|
return s.isTop = !0, s._setup = function(r) {
|
|
4661
4661
|
if (r.partial)
|
|
@@ -4666,18 +4666,18 @@ function E2(x, i) {
|
|
|
4666
4666
|
var c = r.allowCallsToHelperMissing || h;
|
|
4667
4667
|
Ax.moveHelperToHooks(f, "helperMissing", c), Ax.moveHelperToHooks(f, "blockHelperMissing", c);
|
|
4668
4668
|
}
|
|
4669
|
-
}, s._child = function(r, d, c,
|
|
4669
|
+
}, s._child = function(r, d, c, j) {
|
|
4670
4670
|
if (x.useBlockParams && !c)
|
|
4671
4671
|
throw new Z0.default("must pass block params");
|
|
4672
|
-
if (x.useDepths && !
|
|
4672
|
+
if (x.useDepths && !j)
|
|
4673
4673
|
throw new Z0.default("must pass parent depths");
|
|
4674
|
-
return
|
|
4674
|
+
return a1(f, r, x[r], d, 0, c, j);
|
|
4675
4675
|
}, s;
|
|
4676
4676
|
}
|
|
4677
|
-
function
|
|
4677
|
+
function a1(x, i, h, u, f, s, r) {
|
|
4678
4678
|
function d(c) {
|
|
4679
|
-
var
|
|
4680
|
-
return r && c != r[0] && !(c === x.nullContext && r[0] === null) && (
|
|
4679
|
+
var j = arguments.length <= 1 || arguments[1] === void 0 ? {} : arguments[1], z = r;
|
|
4680
|
+
return r && c != r[0] && !(c === x.nullContext && r[0] === null) && (z = [c].concat(r)), h(x, c, x.helpers, x.partials, j.data || u, s && [j.blockParams].concat(s), z);
|
|
4681
4681
|
}
|
|
4682
4682
|
return d = b4(h, d, x, r, u, s), d.program = i, d.depth = r ? r.length : 0, d.blockParams = f || 0, d;
|
|
4683
4683
|
}
|
|
@@ -4725,12 +4725,12 @@ function S2(x, i) {
|
|
|
4725
4725
|
return Q0.extend({ lookupProperty: h }, u);
|
|
4726
4726
|
});
|
|
4727
4727
|
}
|
|
4728
|
-
var
|
|
4728
|
+
var Vn = {}, B2 = {
|
|
4729
4729
|
get exports() {
|
|
4730
|
-
return
|
|
4730
|
+
return Vn;
|
|
4731
4731
|
},
|
|
4732
4732
|
set exports(x) {
|
|
4733
|
-
|
|
4733
|
+
Vn = x;
|
|
4734
4734
|
}
|
|
4735
4735
|
};
|
|
4736
4736
|
(function(x, i) {
|
|
@@ -4745,7 +4745,7 @@ var Yn = {}, B2 = {
|
|
|
4745
4745
|
return globalThis.Handlebars === h && (globalThis.Handlebars = u), h;
|
|
4746
4746
|
};
|
|
4747
4747
|
}, x.exports = i.default;
|
|
4748
|
-
})(B2,
|
|
4748
|
+
})(B2, Vn);
|
|
4749
4749
|
(function(x, i) {
|
|
4750
4750
|
i.__esModule = !0;
|
|
4751
4751
|
function h(y) {
|
|
@@ -4760,22 +4760,22 @@ var Yn = {}, B2 = {
|
|
|
4760
4760
|
Object.prototype.hasOwnProperty.call(y, p) && (A[p] = y[p]);
|
|
4761
4761
|
return A.default = y, A;
|
|
4762
4762
|
}
|
|
4763
|
-
var f = J0, s = u(f), r =
|
|
4763
|
+
var f = J0, s = u(f), r = S1, d = h(r), c = P0, j = h(c), z = z0, m = u(z), e = en, l = u(e), a = Vn, g = h(a);
|
|
4764
4764
|
function t() {
|
|
4765
4765
|
var y = new s.HandlebarsEnvironment();
|
|
4766
|
-
return m.extend(y, s), y.SafeString = d.default, y.Exception =
|
|
4766
|
+
return m.extend(y, s), y.SafeString = d.default, y.Exception = j.default, y.Utils = m, y.escapeExpression = m.escapeExpression, y.VM = l, y.template = function(A) {
|
|
4767
4767
|
return l.template(A, y);
|
|
4768
4768
|
}, y;
|
|
4769
4769
|
}
|
|
4770
4770
|
var b = t();
|
|
4771
4771
|
b.create = t, g.default(b), b.default = b, i.default = b, x.exports = i.default;
|
|
4772
|
-
})(a8,
|
|
4773
|
-
var
|
|
4772
|
+
})(a8, m1);
|
|
4773
|
+
var Qn = {}, _2 = {
|
|
4774
4774
|
get exports() {
|
|
4775
|
-
return
|
|
4775
|
+
return Qn;
|
|
4776
4776
|
},
|
|
4777
4777
|
set exports(x) {
|
|
4778
|
-
|
|
4778
|
+
Qn = x;
|
|
4779
4779
|
}
|
|
4780
4780
|
};
|
|
4781
4781
|
(function(x, i) {
|
|
@@ -4800,13 +4800,13 @@ var Vn = {}, _2 = {
|
|
|
4800
4800
|
}
|
|
4801
4801
|
};
|
|
4802
4802
|
i.default = h, x.exports = i.default;
|
|
4803
|
-
})(_2,
|
|
4804
|
-
var
|
|
4803
|
+
})(_2, Qn);
|
|
4804
|
+
var i1 = {}, B1 = {}, T2 = {
|
|
4805
4805
|
get exports() {
|
|
4806
|
-
return
|
|
4806
|
+
return B1;
|
|
4807
4807
|
},
|
|
4808
4808
|
set exports(x) {
|
|
4809
|
-
|
|
4809
|
+
B1 = x;
|
|
4810
4810
|
}
|
|
4811
4811
|
};
|
|
4812
4812
|
(function(x, i) {
|
|
@@ -4819,13 +4819,13 @@ var x1 = {}, S1 = {}, T2 = {
|
|
|
4819
4819
|
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 },
|
|
4820
4820
|
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" },
|
|
4821
4821
|
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]],
|
|
4822
|
-
performAction: function(d, c,
|
|
4822
|
+
performAction: function(d, c, j, z, m, e, l) {
|
|
4823
4823
|
var a = e.length - 1;
|
|
4824
4824
|
switch (m) {
|
|
4825
4825
|
case 1:
|
|
4826
4826
|
return e[a - 1];
|
|
4827
4827
|
case 2:
|
|
4828
|
-
this.$ =
|
|
4828
|
+
this.$ = z.prepareProgram(e[a]);
|
|
4829
4829
|
break;
|
|
4830
4830
|
case 3:
|
|
4831
4831
|
this.$ = e[a];
|
|
@@ -4848,9 +4848,9 @@ var x1 = {}, S1 = {}, T2 = {
|
|
|
4848
4848
|
case 9:
|
|
4849
4849
|
this.$ = {
|
|
4850
4850
|
type: "CommentStatement",
|
|
4851
|
-
value:
|
|
4852
|
-
strip:
|
|
4853
|
-
loc:
|
|
4851
|
+
value: z.stripComment(e[a]),
|
|
4852
|
+
strip: z.stripFlags(e[a], e[a]),
|
|
4853
|
+
loc: z.locInfo(this._$)
|
|
4854
4854
|
};
|
|
4855
4855
|
break;
|
|
4856
4856
|
case 10:
|
|
@@ -4858,48 +4858,48 @@ var x1 = {}, S1 = {}, T2 = {
|
|
|
4858
4858
|
type: "ContentStatement",
|
|
4859
4859
|
original: e[a],
|
|
4860
4860
|
value: e[a],
|
|
4861
|
-
loc:
|
|
4861
|
+
loc: z.locInfo(this._$)
|
|
4862
4862
|
};
|
|
4863
4863
|
break;
|
|
4864
4864
|
case 11:
|
|
4865
|
-
this.$ =
|
|
4865
|
+
this.$ = z.prepareRawBlock(e[a - 2], e[a - 1], e[a], this._$);
|
|
4866
4866
|
break;
|
|
4867
4867
|
case 12:
|
|
4868
4868
|
this.$ = { path: e[a - 3], params: e[a - 2], hash: e[a - 1] };
|
|
4869
4869
|
break;
|
|
4870
4870
|
case 13:
|
|
4871
|
-
this.$ =
|
|
4871
|
+
this.$ = z.prepareBlock(e[a - 3], e[a - 2], e[a - 1], e[a], !1, this._$);
|
|
4872
4872
|
break;
|
|
4873
4873
|
case 14:
|
|
4874
|
-
this.$ =
|
|
4874
|
+
this.$ = z.prepareBlock(e[a - 3], e[a - 2], e[a - 1], e[a], !0, this._$);
|
|
4875
4875
|
break;
|
|
4876
4876
|
case 15:
|
|
4877
|
-
this.$ = { open: e[a - 5], path: e[a - 4], params: e[a - 3], hash: e[a - 2], blockParams: e[a - 1], strip:
|
|
4877
|
+
this.$ = { open: e[a - 5], path: e[a - 4], params: e[a - 3], hash: e[a - 2], blockParams: e[a - 1], strip: z.stripFlags(e[a - 5], e[a]) };
|
|
4878
4878
|
break;
|
|
4879
4879
|
case 16:
|
|
4880
|
-
this.$ = { path: e[a - 4], params: e[a - 3], hash: e[a - 2], blockParams: e[a - 1], strip:
|
|
4880
|
+
this.$ = { path: e[a - 4], params: e[a - 3], hash: e[a - 2], blockParams: e[a - 1], strip: z.stripFlags(e[a - 5], e[a]) };
|
|
4881
4881
|
break;
|
|
4882
4882
|
case 17:
|
|
4883
|
-
this.$ = { path: e[a - 4], params: e[a - 3], hash: e[a - 2], blockParams: e[a - 1], strip:
|
|
4883
|
+
this.$ = { path: e[a - 4], params: e[a - 3], hash: e[a - 2], blockParams: e[a - 1], strip: z.stripFlags(e[a - 5], e[a]) };
|
|
4884
4884
|
break;
|
|
4885
4885
|
case 18:
|
|
4886
|
-
this.$ = { strip:
|
|
4886
|
+
this.$ = { strip: z.stripFlags(e[a - 1], e[a - 1]), program: e[a] };
|
|
4887
4887
|
break;
|
|
4888
4888
|
case 19:
|
|
4889
|
-
var g =
|
|
4889
|
+
var g = z.prepareBlock(e[a - 2], e[a - 1], e[a], e[a], !1, this._$), t = z.prepareProgram([g], e[a - 1].loc);
|
|
4890
4890
|
t.chained = !0, this.$ = { strip: e[a - 2].strip, program: t, chain: !0 };
|
|
4891
4891
|
break;
|
|
4892
4892
|
case 20:
|
|
4893
4893
|
this.$ = e[a];
|
|
4894
4894
|
break;
|
|
4895
4895
|
case 21:
|
|
4896
|
-
this.$ = { path: e[a - 1], strip:
|
|
4896
|
+
this.$ = { path: e[a - 1], strip: z.stripFlags(e[a - 2], e[a]) };
|
|
4897
4897
|
break;
|
|
4898
4898
|
case 22:
|
|
4899
|
-
this.$ =
|
|
4899
|
+
this.$ = z.prepareMustache(e[a - 3], e[a - 2], e[a - 1], e[a - 4], z.stripFlags(e[a - 4], e[a]), this._$);
|
|
4900
4900
|
break;
|
|
4901
4901
|
case 23:
|
|
4902
|
-
this.$ =
|
|
4902
|
+
this.$ = z.prepareMustache(e[a - 3], e[a - 2], e[a - 1], e[a - 4], z.stripFlags(e[a - 4], e[a]), this._$);
|
|
4903
4903
|
break;
|
|
4904
4904
|
case 24:
|
|
4905
4905
|
this.$ = {
|
|
@@ -4908,15 +4908,15 @@ var x1 = {}, S1 = {}, T2 = {
|
|
|
4908
4908
|
params: e[a - 2],
|
|
4909
4909
|
hash: e[a - 1],
|
|
4910
4910
|
indent: "",
|
|
4911
|
-
strip:
|
|
4912
|
-
loc:
|
|
4911
|
+
strip: z.stripFlags(e[a - 4], e[a]),
|
|
4912
|
+
loc: z.locInfo(this._$)
|
|
4913
4913
|
};
|
|
4914
4914
|
break;
|
|
4915
4915
|
case 25:
|
|
4916
|
-
this.$ =
|
|
4916
|
+
this.$ = z.preparePartialBlock(e[a - 2], e[a - 1], e[a], this._$);
|
|
4917
4917
|
break;
|
|
4918
4918
|
case 26:
|
|
4919
|
-
this.$ = { path: e[a - 3], params: e[a - 2], hash: e[a - 1], strip:
|
|
4919
|
+
this.$ = { path: e[a - 3], params: e[a - 2], hash: e[a - 1], strip: z.stripFlags(e[a - 4], e[a]) };
|
|
4920
4920
|
break;
|
|
4921
4921
|
case 27:
|
|
4922
4922
|
this.$ = e[a];
|
|
@@ -4930,17 +4930,17 @@ var x1 = {}, S1 = {}, T2 = {
|
|
|
4930
4930
|
path: e[a - 3],
|
|
4931
4931
|
params: e[a - 2],
|
|
4932
4932
|
hash: e[a - 1],
|
|
4933
|
-
loc:
|
|
4933
|
+
loc: z.locInfo(this._$)
|
|
4934
4934
|
};
|
|
4935
4935
|
break;
|
|
4936
4936
|
case 30:
|
|
4937
|
-
this.$ = { type: "Hash", pairs: e[a], loc:
|
|
4937
|
+
this.$ = { type: "Hash", pairs: e[a], loc: z.locInfo(this._$) };
|
|
4938
4938
|
break;
|
|
4939
4939
|
case 31:
|
|
4940
|
-
this.$ = { type: "HashPair", key:
|
|
4940
|
+
this.$ = { type: "HashPair", key: z.id(e[a - 2]), value: e[a], loc: z.locInfo(this._$) };
|
|
4941
4941
|
break;
|
|
4942
4942
|
case 32:
|
|
4943
|
-
this.$ =
|
|
4943
|
+
this.$ = z.id(e[a - 1]);
|
|
4944
4944
|
break;
|
|
4945
4945
|
case 33:
|
|
4946
4946
|
this.$ = e[a];
|
|
@@ -4949,19 +4949,19 @@ var x1 = {}, S1 = {}, T2 = {
|
|
|
4949
4949
|
this.$ = e[a];
|
|
4950
4950
|
break;
|
|
4951
4951
|
case 35:
|
|
4952
|
-
this.$ = { type: "StringLiteral", value: e[a], original: e[a], loc:
|
|
4952
|
+
this.$ = { type: "StringLiteral", value: e[a], original: e[a], loc: z.locInfo(this._$) };
|
|
4953
4953
|
break;
|
|
4954
4954
|
case 36:
|
|
4955
|
-
this.$ = { type: "NumberLiteral", value: Number(e[a]), original: Number(e[a]), loc:
|
|
4955
|
+
this.$ = { type: "NumberLiteral", value: Number(e[a]), original: Number(e[a]), loc: z.locInfo(this._$) };
|
|
4956
4956
|
break;
|
|
4957
4957
|
case 37:
|
|
4958
|
-
this.$ = { type: "BooleanLiteral", value: e[a] === "true", original: e[a] === "true", loc:
|
|
4958
|
+
this.$ = { type: "BooleanLiteral", value: e[a] === "true", original: e[a] === "true", loc: z.locInfo(this._$) };
|
|
4959
4959
|
break;
|
|
4960
4960
|
case 38:
|
|
4961
|
-
this.$ = { type: "UndefinedLiteral", original: void 0, value: void 0, loc:
|
|
4961
|
+
this.$ = { type: "UndefinedLiteral", original: void 0, value: void 0, loc: z.locInfo(this._$) };
|
|
4962
4962
|
break;
|
|
4963
4963
|
case 39:
|
|
4964
|
-
this.$ = { type: "NullLiteral", original: null, value: null, loc:
|
|
4964
|
+
this.$ = { type: "NullLiteral", original: null, value: null, loc: z.locInfo(this._$) };
|
|
4965
4965
|
break;
|
|
4966
4966
|
case 40:
|
|
4967
4967
|
this.$ = e[a];
|
|
@@ -4970,16 +4970,16 @@ var x1 = {}, S1 = {}, T2 = {
|
|
|
4970
4970
|
this.$ = e[a];
|
|
4971
4971
|
break;
|
|
4972
4972
|
case 42:
|
|
4973
|
-
this.$ =
|
|
4973
|
+
this.$ = z.preparePath(!0, e[a], this._$);
|
|
4974
4974
|
break;
|
|
4975
4975
|
case 43:
|
|
4976
|
-
this.$ =
|
|
4976
|
+
this.$ = z.preparePath(!1, e[a], this._$);
|
|
4977
4977
|
break;
|
|
4978
4978
|
case 44:
|
|
4979
|
-
e[a - 2].push({ part:
|
|
4979
|
+
e[a - 2].push({ part: z.id(e[a]), original: e[a], separator: e[a - 1] }), this.$ = e[a - 2];
|
|
4980
4980
|
break;
|
|
4981
4981
|
case 45:
|
|
4982
|
-
this.$ = [{ part:
|
|
4982
|
+
this.$ = [{ part: z.id(e[a]), original: e[a] }];
|
|
4983
4983
|
break;
|
|
4984
4984
|
case 46:
|
|
4985
4985
|
this.$ = [];
|
|
@@ -5067,7 +5067,7 @@ var x1 = {}, S1 = {}, T2 = {
|
|
|
5067
5067
|
throw new Error(d);
|
|
5068
5068
|
},
|
|
5069
5069
|
parse: function(d) {
|
|
5070
|
-
var c = this,
|
|
5070
|
+
var c = this, j = [0], z = [null], m = [], e = this.table, l = "", a = 0, g = 0;
|
|
5071
5071
|
this.lexer.setInput(d), this.lexer.yy = this.yy, this.yy.lexer = this.lexer, this.yy.parser = this, typeof this.lexer.yylloc > "u" && (this.lexer.yylloc = {});
|
|
5072
5072
|
var t = this.lexer.yylloc;
|
|
5073
5073
|
m.push(t);
|
|
@@ -5078,7 +5078,7 @@ var x1 = {}, S1 = {}, T2 = {
|
|
|
5078
5078
|
return J = c.lexer.lex() || 1, typeof J != "number" && (J = c.symbols_[J] || J), J;
|
|
5079
5079
|
}
|
|
5080
5080
|
for (var A, p, E, F, v = {}, B, R, U, H; ; ) {
|
|
5081
|
-
if (p =
|
|
5081
|
+
if (p = j[j.length - 1], this.defaultActions[p] ? E = this.defaultActions[p] : ((A === null || typeof A > "u") && (A = y()), E = e[p] && e[p][A]), typeof E > "u" || !E.length || !E[0]) {
|
|
5082
5082
|
var G = "";
|
|
5083
5083
|
{
|
|
5084
5084
|
H = [];
|
|
@@ -5093,12 +5093,12 @@ Expecting ` + H.join(", ") + ", got '" + (this.terminals_[A] || A) + "'" : G = "
|
|
|
5093
5093
|
throw new Error("Parse Error: multiple actions possible at state: " + p + ", token: " + A);
|
|
5094
5094
|
switch (E[0]) {
|
|
5095
5095
|
case 1:
|
|
5096
|
-
|
|
5096
|
+
j.push(A), z.push(this.lexer.yytext), m.push(this.lexer.yylloc), j.push(E[1]), A = null, g = this.lexer.yyleng, l = this.lexer.yytext, a = this.lexer.yylineno, t = this.lexer.yylloc;
|
|
5097
5097
|
break;
|
|
5098
5098
|
case 2:
|
|
5099
|
-
if (R = this.productions_[E[1]][1], v.$ =
|
|
5099
|
+
if (R = this.productions_[E[1]][1], v.$ = z[z.length - R], v._$ = { first_line: m[m.length - (R || 1)].first_line, last_line: m[m.length - 1].last_line, first_column: m[m.length - (R || 1)].first_column, last_column: m[m.length - 1].last_column }, b && (v._$.range = [m[m.length - (R || 1)].range[0], m[m.length - 1].range[1]]), F = this.performAction.call(v, l, g, a, this.yy, E[1], z, m), typeof F < "u")
|
|
5100
5100
|
return F;
|
|
5101
|
-
R && (
|
|
5101
|
+
R && (j = j.slice(0, -1 * R * 2), z = z.slice(0, -1 * R), m = m.slice(0, -1 * R)), j.push(this.productions_[E[1]][0]), z.push(v.$), m.push(v._$), U = e[j[j.length - 2]][j[j.length - 1]], j.push(U);
|
|
5102
5102
|
break;
|
|
5103
5103
|
case 3:
|
|
5104
5104
|
return !0;
|
|
@@ -5109,9 +5109,9 @@ Expecting ` + H.join(", ") + ", got '" + (this.terminals_[A] || A) + "'" : G = "
|
|
|
5109
5109
|
}, f = function() {
|
|
5110
5110
|
var r = {
|
|
5111
5111
|
EOF: 1,
|
|
5112
|
-
parseError: function(c,
|
|
5112
|
+
parseError: function(c, j) {
|
|
5113
5113
|
if (this.yy.parser)
|
|
5114
|
-
this.yy.parser.parseError(c,
|
|
5114
|
+
this.yy.parser.parseError(c, j);
|
|
5115
5115
|
else
|
|
5116
5116
|
throw new Error(c);
|
|
5117
5117
|
},
|
|
@@ -5121,21 +5121,21 @@ Expecting ` + H.join(", ") + ", got '" + (this.terminals_[A] || A) + "'" : G = "
|
|
|
5121
5121
|
input: function() {
|
|
5122
5122
|
var c = this._input[0];
|
|
5123
5123
|
this.yytext += c, this.yyleng++, this.offset++, this.match += c, this.matched += c;
|
|
5124
|
-
var
|
|
5125
|
-
return
|
|
5124
|
+
var j = c.match(/(?:\r\n?|\n).*/g);
|
|
5125
|
+
return j ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), c;
|
|
5126
5126
|
},
|
|
5127
5127
|
unput: function(c) {
|
|
5128
|
-
var
|
|
5129
|
-
this._input = c + this._input, this.yytext = this.yytext.substr(0, this.yytext.length -
|
|
5128
|
+
var j = c.length, z = c.split(/(?:\r\n?|\n)/g);
|
|
5129
|
+
this._input = c + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - j - 1), this.offset -= j;
|
|
5130
5130
|
var m = this.match.split(/(?:\r\n?|\n)/g);
|
|
5131
|
-
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1),
|
|
5131
|
+
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), z.length - 1 && (this.yylineno -= z.length - 1);
|
|
5132
5132
|
var e = this.yylloc.range;
|
|
5133
5133
|
return this.yylloc = {
|
|
5134
5134
|
first_line: this.yylloc.first_line,
|
|
5135
5135
|
last_line: this.yylineno + 1,
|
|
5136
5136
|
first_column: this.yylloc.first_column,
|
|
5137
|
-
last_column:
|
|
5138
|
-
}, this.options.ranges && (this.yylloc.range = [e[0], e[0] + this.yyleng -
|
|
5137
|
+
last_column: z ? (z.length === m.length ? this.yylloc.first_column : 0) + m[m.length - z.length].length - z[0].length : this.yylloc.first_column - j
|
|
5138
|
+
}, this.options.ranges && (this.yylloc.range = [e[0], e[0] + this.yyleng - j]), this;
|
|
5139
5139
|
},
|
|
5140
5140
|
more: function() {
|
|
5141
5141
|
return this._more = !0, this;
|
|
@@ -5152,24 +5152,24 @@ Expecting ` + H.join(", ") + ", got '" + (this.terminals_[A] || A) + "'" : G = "
|
|
|
5152
5152
|
return c.length < 20 && (c += this._input.substr(0, 20 - c.length)), (c.substr(0, 20) + (c.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
5153
5153
|
},
|
|
5154
5154
|
showPosition: function() {
|
|
5155
|
-
var c = this.pastInput(),
|
|
5155
|
+
var c = this.pastInput(), j = new Array(c.length + 1).join("-");
|
|
5156
5156
|
return c + this.upcomingInput() + `
|
|
5157
|
-
` +
|
|
5157
|
+
` + j + "^";
|
|
5158
5158
|
},
|
|
5159
5159
|
next: function() {
|
|
5160
5160
|
if (this.done)
|
|
5161
5161
|
return this.EOF;
|
|
5162
5162
|
this._input || (this.done = !0);
|
|
5163
|
-
var c,
|
|
5163
|
+
var c, j, z, m, e;
|
|
5164
5164
|
this._more || (this.yytext = "", this.match = "");
|
|
5165
|
-
for (var l = this._currentRules(), a = 0; a < l.length && (
|
|
5165
|
+
for (var l = this._currentRules(), a = 0; a < l.length && (z = this._input.match(this.rules[l[a]]), !(z && (!j || z[0].length > j[0].length) && (j = z, m = a, !this.options.flex))); a++)
|
|
5166
5166
|
;
|
|
5167
|
-
return
|
|
5167
|
+
return j ? (e = j[0].match(/(?:\r\n?|\n).*/g), e && (this.yylineno += e.length), this.yylloc = {
|
|
5168
5168
|
first_line: this.yylloc.last_line,
|
|
5169
5169
|
last_line: this.yylineno + 1,
|
|
5170
5170
|
first_column: this.yylloc.last_column,
|
|
5171
|
-
last_column: e ? e[e.length - 1].length - e[e.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column +
|
|
5172
|
-
}, this.yytext +=
|
|
5171
|
+
last_column: e ? e[e.length - 1].length - e[e.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + j[0].length
|
|
5172
|
+
}, this.yytext += j[0], this.match += j[0], this.matches = j, 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(j[0].length), this.matched += j[0], c = this.performAction.call(this, this.yy, this, l[m], this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), c || void 0) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
|
|
5173
5173
|
` + this.showPosition(), { text: "", token: null, line: this.yylineno });
|
|
5174
5174
|
},
|
|
5175
5175
|
lex: function() {
|
|
@@ -5192,13 +5192,13 @@ Expecting ` + H.join(", ") + ", got '" + (this.terminals_[A] || A) + "'" : G = "
|
|
|
5192
5192
|
this.begin(c);
|
|
5193
5193
|
}
|
|
5194
5194
|
};
|
|
5195
|
-
return r.options = {}, r.performAction = function(c,
|
|
5195
|
+
return r.options = {}, r.performAction = function(c, j, z, m) {
|
|
5196
5196
|
function e(l, a) {
|
|
5197
|
-
return
|
|
5197
|
+
return j.yytext = j.yytext.substring(l, j.yyleng - a + l);
|
|
5198
5198
|
}
|
|
5199
|
-
switch (
|
|
5199
|
+
switch (z) {
|
|
5200
5200
|
case 0:
|
|
5201
|
-
if (
|
|
5201
|
+
if (j.yytext.slice(-2) === "\\\\" ? (e(0, 1), this.begin("mu")) : j.yytext.slice(-1) === "\\" ? (e(0, 1), this.begin("emu")) : this.begin("mu"), j.yytext)
|
|
5202
5202
|
return 15;
|
|
5203
5203
|
break;
|
|
5204
5204
|
case 1:
|
|
@@ -5242,7 +5242,7 @@ Expecting ` + H.join(", ") + ", got '" + (this.terminals_[A] || A) + "'" : G = "
|
|
|
5242
5242
|
case 20:
|
|
5243
5243
|
return 48;
|
|
5244
5244
|
case 21:
|
|
5245
|
-
this.unput(
|
|
5245
|
+
this.unput(j.yytext), this.popState(), this.begin("com");
|
|
5246
5246
|
break;
|
|
5247
5247
|
case 22:
|
|
5248
5248
|
return this.popState(), 14;
|
|
@@ -5263,9 +5263,9 @@ Expecting ` + H.join(", ") + ", got '" + (this.terminals_[A] || A) + "'" : G = "
|
|
|
5263
5263
|
case 30:
|
|
5264
5264
|
return this.popState(), 33;
|
|
5265
5265
|
case 31:
|
|
5266
|
-
return
|
|
5266
|
+
return j.yytext = e(1, 2).replace(/\\"/g, '"'), 80;
|
|
5267
5267
|
case 32:
|
|
5268
|
-
return
|
|
5268
|
+
return j.yytext = e(1, 2).replace(/\\'/g, "'"), 80;
|
|
5269
5269
|
case 33:
|
|
5270
5270
|
return 85;
|
|
5271
5271
|
case 34:
|
|
@@ -5285,7 +5285,7 @@ Expecting ` + H.join(", ") + ", got '" + (this.terminals_[A] || A) + "'" : G = "
|
|
|
5285
5285
|
case 41:
|
|
5286
5286
|
return 72;
|
|
5287
5287
|
case 42:
|
|
5288
|
-
return
|
|
5288
|
+
return j.yytext = j.yytext.replace(/\\([\\\]])/g, "$1"), 72;
|
|
5289
5289
|
case 43:
|
|
5290
5290
|
return "INVALID";
|
|
5291
5291
|
case 44:
|
|
@@ -5300,26 +5300,26 @@ Expecting ` + H.join(", ") + ", got '" + (this.terminals_[A] || A) + "'" : G = "
|
|
|
5300
5300
|
return s.prototype = u, u.Parser = s, new s();
|
|
5301
5301
|
}();
|
|
5302
5302
|
i.default = h, x.exports = i.default;
|
|
5303
|
-
})(T2,
|
|
5304
|
-
var
|
|
5303
|
+
})(T2, B1);
|
|
5304
|
+
var _1 = {}, N2 = {
|
|
5305
5305
|
get exports() {
|
|
5306
|
-
return
|
|
5306
|
+
return _1;
|
|
5307
5307
|
},
|
|
5308
5308
|
set exports(x) {
|
|
5309
|
-
|
|
5309
|
+
_1 = x;
|
|
5310
5310
|
}
|
|
5311
|
-
},
|
|
5311
|
+
}, Zn = {}, P2 = {
|
|
5312
5312
|
get exports() {
|
|
5313
|
-
return
|
|
5313
|
+
return Zn;
|
|
5314
5314
|
},
|
|
5315
5315
|
set exports(x) {
|
|
5316
|
-
|
|
5316
|
+
Zn = x;
|
|
5317
5317
|
}
|
|
5318
5318
|
};
|
|
5319
5319
|
(function(x, i) {
|
|
5320
5320
|
i.__esModule = !0;
|
|
5321
|
-
function h(
|
|
5322
|
-
return
|
|
5321
|
+
function h(j) {
|
|
5322
|
+
return j && j.__esModule ? j : { default: j };
|
|
5323
5323
|
}
|
|
5324
5324
|
var u = P0, f = h(u);
|
|
5325
5325
|
function s() {
|
|
@@ -5329,48 +5329,48 @@ var B1 = {}, N2 = {
|
|
|
5329
5329
|
constructor: s,
|
|
5330
5330
|
mutating: !1,
|
|
5331
5331
|
// Visits a given value. If mutating, will replace the value if necessary.
|
|
5332
|
-
acceptKey: function(
|
|
5333
|
-
var e = this.accept(
|
|
5332
|
+
acceptKey: function(z, m) {
|
|
5333
|
+
var e = this.accept(z[m]);
|
|
5334
5334
|
if (this.mutating) {
|
|
5335
5335
|
if (e && !s.prototype[e.type])
|
|
5336
|
-
throw new f.default('Unexpected node type "' + e.type + '" found when accepting ' + m + " on " +
|
|
5337
|
-
|
|
5336
|
+
throw new f.default('Unexpected node type "' + e.type + '" found when accepting ' + m + " on " + z.type);
|
|
5337
|
+
z[m] = e;
|
|
5338
5338
|
}
|
|
5339
5339
|
},
|
|
5340
5340
|
// Performs an accept operation with added sanity check to ensure
|
|
5341
5341
|
// required keys are not removed.
|
|
5342
|
-
acceptRequired: function(
|
|
5343
|
-
if (this.acceptKey(
|
|
5344
|
-
throw new f.default(
|
|
5342
|
+
acceptRequired: function(z, m) {
|
|
5343
|
+
if (this.acceptKey(z, m), !z[m])
|
|
5344
|
+
throw new f.default(z.type + " requires " + m);
|
|
5345
5345
|
},
|
|
5346
5346
|
// Traverses a given array. If mutating, empty respnses will be removed
|
|
5347
5347
|
// for child elements.
|
|
5348
|
-
acceptArray: function(
|
|
5349
|
-
for (var m = 0, e =
|
|
5350
|
-
this.acceptKey(
|
|
5348
|
+
acceptArray: function(z) {
|
|
5349
|
+
for (var m = 0, e = z.length; m < e; m++)
|
|
5350
|
+
this.acceptKey(z, m), z[m] || (z.splice(m, 1), m--, e--);
|
|
5351
5351
|
},
|
|
5352
|
-
accept: function(
|
|
5353
|
-
if (
|
|
5354
|
-
if (!this[
|
|
5355
|
-
throw new f.default("Unknown type: " +
|
|
5356
|
-
this.current && this.parents.unshift(this.current), this.current =
|
|
5357
|
-
var m = this[
|
|
5352
|
+
accept: function(z) {
|
|
5353
|
+
if (z) {
|
|
5354
|
+
if (!this[z.type])
|
|
5355
|
+
throw new f.default("Unknown type: " + z.type, z);
|
|
5356
|
+
this.current && this.parents.unshift(this.current), this.current = z;
|
|
5357
|
+
var m = this[z.type](z);
|
|
5358
5358
|
if (this.current = this.parents.shift(), !this.mutating || m)
|
|
5359
5359
|
return m;
|
|
5360
5360
|
if (m !== !1)
|
|
5361
|
-
return
|
|
5361
|
+
return z;
|
|
5362
5362
|
}
|
|
5363
5363
|
},
|
|
5364
|
-
Program: function(
|
|
5365
|
-
this.acceptArray(
|
|
5364
|
+
Program: function(z) {
|
|
5365
|
+
this.acceptArray(z.body);
|
|
5366
5366
|
},
|
|
5367
5367
|
MustacheStatement: r,
|
|
5368
5368
|
Decorator: r,
|
|
5369
5369
|
BlockStatement: d,
|
|
5370
5370
|
DecoratorBlock: d,
|
|
5371
5371
|
PartialStatement: c,
|
|
5372
|
-
PartialBlockStatement: function(
|
|
5373
|
-
c.call(this,
|
|
5372
|
+
PartialBlockStatement: function(z) {
|
|
5373
|
+
c.call(this, z), this.acceptKey(z, "program");
|
|
5374
5374
|
},
|
|
5375
5375
|
ContentStatement: function() {
|
|
5376
5376
|
},
|
|
@@ -5389,107 +5389,107 @@ var B1 = {}, N2 = {
|
|
|
5389
5389
|
},
|
|
5390
5390
|
NullLiteral: function() {
|
|
5391
5391
|
},
|
|
5392
|
-
Hash: function(
|
|
5393
|
-
this.acceptArray(
|
|
5392
|
+
Hash: function(z) {
|
|
5393
|
+
this.acceptArray(z.pairs);
|
|
5394
5394
|
},
|
|
5395
|
-
HashPair: function(
|
|
5396
|
-
this.acceptRequired(
|
|
5395
|
+
HashPair: function(z) {
|
|
5396
|
+
this.acceptRequired(z, "value");
|
|
5397
5397
|
}
|
|
5398
5398
|
};
|
|
5399
|
-
function r(
|
|
5400
|
-
this.acceptRequired(
|
|
5399
|
+
function r(j) {
|
|
5400
|
+
this.acceptRequired(j, "path"), this.acceptArray(j.params), this.acceptKey(j, "hash");
|
|
5401
5401
|
}
|
|
5402
|
-
function d(
|
|
5403
|
-
r.call(this,
|
|
5402
|
+
function d(j) {
|
|
5403
|
+
r.call(this, j), this.acceptKey(j, "program"), this.acceptKey(j, "inverse");
|
|
5404
5404
|
}
|
|
5405
|
-
function c(
|
|
5406
|
-
this.acceptRequired(
|
|
5405
|
+
function c(j) {
|
|
5406
|
+
this.acceptRequired(j, "name"), this.acceptArray(j.params), this.acceptKey(j, "hash");
|
|
5407
5407
|
}
|
|
5408
5408
|
i.default = s, x.exports = i.default;
|
|
5409
|
-
})(P2,
|
|
5409
|
+
})(P2, Zn);
|
|
5410
5410
|
(function(x, i) {
|
|
5411
5411
|
i.__esModule = !0;
|
|
5412
|
-
function h(
|
|
5413
|
-
return
|
|
5412
|
+
function h(z) {
|
|
5413
|
+
return z && z.__esModule ? z : { default: z };
|
|
5414
5414
|
}
|
|
5415
|
-
var u =
|
|
5415
|
+
var u = Zn, f = h(u);
|
|
5416
5416
|
function s() {
|
|
5417
|
-
var
|
|
5418
|
-
this.options =
|
|
5417
|
+
var z = arguments.length <= 0 || arguments[0] === void 0 ? {} : arguments[0];
|
|
5418
|
+
this.options = z;
|
|
5419
5419
|
}
|
|
5420
|
-
s.prototype = new f.default(), s.prototype.Program = function(
|
|
5420
|
+
s.prototype = new f.default(), s.prototype.Program = function(z) {
|
|
5421
5421
|
var m = !this.options.ignoreStandalone, e = !this.isRootSeen;
|
|
5422
5422
|
this.isRootSeen = !0;
|
|
5423
|
-
for (var l =
|
|
5423
|
+
for (var l = z.body, a = 0, g = l.length; a < g; a++) {
|
|
5424
5424
|
var t = l[a], b = this.accept(t);
|
|
5425
5425
|
if (b) {
|
|
5426
5426
|
var y = r(l, a, e), A = d(l, a, e), p = b.openStandalone && y, E = b.closeStandalone && A, F = b.inlineStandalone && y && A;
|
|
5427
|
-
b.close && c(l, a, !0), b.open &&
|
|
5427
|
+
b.close && c(l, a, !0), b.open && j(l, a, !0), m && F && (c(l, a), j(l, a) && t.type === "PartialStatement" && (t.indent = /([ \t]+$)/.exec(l[a - 1].original)[1])), m && p && (c((t.program || t.inverse).body), j(l, a)), m && E && (c(l, a), j((t.inverse || t.program).body));
|
|
5428
5428
|
}
|
|
5429
5429
|
}
|
|
5430
|
-
return
|
|
5431
|
-
}, s.prototype.BlockStatement = s.prototype.DecoratorBlock = s.prototype.PartialBlockStatement = function(
|
|
5432
|
-
this.accept(
|
|
5433
|
-
var m =
|
|
5430
|
+
return z;
|
|
5431
|
+
}, s.prototype.BlockStatement = s.prototype.DecoratorBlock = s.prototype.PartialBlockStatement = function(z) {
|
|
5432
|
+
this.accept(z.program), this.accept(z.inverse);
|
|
5433
|
+
var m = z.program || z.inverse, e = z.program && z.inverse, l = e, a = e;
|
|
5434
5434
|
if (e && e.chained)
|
|
5435
5435
|
for (l = e.body[0].program; a.chained; )
|
|
5436
5436
|
a = a.body[a.body.length - 1].program;
|
|
5437
5437
|
var g = {
|
|
5438
|
-
open:
|
|
5439
|
-
close:
|
|
5438
|
+
open: z.openStrip.open,
|
|
5439
|
+
close: z.closeStrip.close,
|
|
5440
5440
|
// Determine the standalone candiacy. Basically flag our content as being possibly standalone
|
|
5441
5441
|
// so our parent can determine if we actually are standalone
|
|
5442
5442
|
openStandalone: d(m.body),
|
|
5443
5443
|
closeStandalone: r((l || m).body)
|
|
5444
5444
|
};
|
|
5445
|
-
if (
|
|
5446
|
-
var t =
|
|
5447
|
-
t.open &&
|
|
5445
|
+
if (z.openStrip.close && c(m.body, null, !0), e) {
|
|
5446
|
+
var t = z.inverseStrip;
|
|
5447
|
+
t.open && j(m.body, null, !0), t.close && c(l.body, null, !0), z.closeStrip.open && j(a.body, null, !0), !this.options.ignoreStandalone && r(m.body) && d(l.body) && (j(m.body), c(l.body));
|
|
5448
5448
|
} else
|
|
5449
|
-
|
|
5449
|
+
z.closeStrip.open && j(m.body, null, !0);
|
|
5450
5450
|
return g;
|
|
5451
|
-
}, s.prototype.Decorator = s.prototype.MustacheStatement = function(
|
|
5452
|
-
return
|
|
5453
|
-
}, s.prototype.PartialStatement = s.prototype.CommentStatement = function(
|
|
5454
|
-
var m =
|
|
5451
|
+
}, s.prototype.Decorator = s.prototype.MustacheStatement = function(z) {
|
|
5452
|
+
return z.strip;
|
|
5453
|
+
}, s.prototype.PartialStatement = s.prototype.CommentStatement = function(z) {
|
|
5454
|
+
var m = z.strip || {};
|
|
5455
5455
|
return {
|
|
5456
5456
|
inlineStandalone: !0,
|
|
5457
5457
|
open: m.open,
|
|
5458
5458
|
close: m.close
|
|
5459
5459
|
};
|
|
5460
5460
|
};
|
|
5461
|
-
function r(
|
|
5462
|
-
m === void 0 && (m =
|
|
5463
|
-
var l =
|
|
5461
|
+
function r(z, m, e) {
|
|
5462
|
+
m === void 0 && (m = z.length);
|
|
5463
|
+
var l = z[m - 1], a = z[m - 2];
|
|
5464
5464
|
if (!l)
|
|
5465
5465
|
return e;
|
|
5466
5466
|
if (l.type === "ContentStatement")
|
|
5467
5467
|
return (a || !e ? /\r?\n\s*?$/ : /(^|\r?\n)\s*?$/).test(l.original);
|
|
5468
5468
|
}
|
|
5469
|
-
function d(
|
|
5469
|
+
function d(z, m, e) {
|
|
5470
5470
|
m === void 0 && (m = -1);
|
|
5471
|
-
var l =
|
|
5471
|
+
var l = z[m + 1], a = z[m + 2];
|
|
5472
5472
|
if (!l)
|
|
5473
5473
|
return e;
|
|
5474
5474
|
if (l.type === "ContentStatement")
|
|
5475
5475
|
return (a || !e ? /^\s*?\r?\n/ : /^\s*?(\r?\n|$)/).test(l.original);
|
|
5476
5476
|
}
|
|
5477
|
-
function c(
|
|
5478
|
-
var l =
|
|
5477
|
+
function c(z, m, e) {
|
|
5478
|
+
var l = z[m == null ? 0 : m + 1];
|
|
5479
5479
|
if (!(!l || l.type !== "ContentStatement" || !e && l.rightStripped)) {
|
|
5480
5480
|
var a = l.value;
|
|
5481
5481
|
l.value = l.value.replace(e ? /^\s+/ : /^[ \t]*\r?\n?/, ""), l.rightStripped = l.value !== a;
|
|
5482
5482
|
}
|
|
5483
5483
|
}
|
|
5484
|
-
function z
|
|
5485
|
-
var l =
|
|
5484
|
+
function j(z, m, e) {
|
|
5485
|
+
var l = z[m == null ? z.length - 1 : m - 1];
|
|
5486
5486
|
if (!(!l || l.type !== "ContentStatement" || !e && l.leftStripped)) {
|
|
5487
5487
|
var a = l.value;
|
|
5488
5488
|
return l.value = l.value.replace(e ? /\s+$/ : /[ \t]+$/, ""), l.leftStripped = l.value !== a, l.leftStripped;
|
|
5489
5489
|
}
|
|
5490
5490
|
}
|
|
5491
5491
|
i.default = s, x.exports = i.default;
|
|
5492
|
-
})(N2,
|
|
5492
|
+
})(N2, _1);
|
|
5493
5493
|
var W0 = {};
|
|
5494
5494
|
W0.__esModule = !0;
|
|
5495
5495
|
W0.SourceLocation = O2;
|
|
@@ -5536,8 +5536,8 @@ function U2(x) {
|
|
|
5536
5536
|
function G2(x, i, h) {
|
|
5537
5537
|
h = this.locInfo(h);
|
|
5538
5538
|
for (var u = x ? "@" : "", f = [], s = 0, r = 0, d = i.length; r < d; r++) {
|
|
5539
|
-
var c = i[r].part,
|
|
5540
|
-
if (u += (i[r].separator || "") + c, !
|
|
5539
|
+
var c = i[r].part, j = i[r].original !== c;
|
|
5540
|
+
if (u += (i[r].separator || "") + c, !j && (c === ".." || c === "." || c === "this")) {
|
|
5541
5541
|
if (f.length > 0)
|
|
5542
5542
|
throw new jx.default("Invalid path: " + u, { loc: h });
|
|
5543
5543
|
c === ".." && s++;
|
|
@@ -5642,9 +5642,9 @@ function K2(x, i, h, u) {
|
|
|
5642
5642
|
loc: this.locInfo(u)
|
|
5643
5643
|
};
|
|
5644
5644
|
}
|
|
5645
|
-
|
|
5646
|
-
|
|
5647
|
-
|
|
5645
|
+
i1.__esModule = !0;
|
|
5646
|
+
i1.parseWithoutProcessing = z4;
|
|
5647
|
+
i1.parse = i5;
|
|
5648
5648
|
function Y2(x) {
|
|
5649
5649
|
if (x && x.__esModule)
|
|
5650
5650
|
return x;
|
|
@@ -5657,15 +5657,15 @@ function Y2(x) {
|
|
|
5657
5657
|
function y4(x) {
|
|
5658
5658
|
return x && x.__esModule ? x : { default: x };
|
|
5659
5659
|
}
|
|
5660
|
-
var V2 =
|
|
5661
|
-
|
|
5662
|
-
var
|
|
5663
|
-
x5.extend(
|
|
5660
|
+
var V2 = B1, gx = y4(V2), Q2 = _1, Z2 = y4(Q2), $2 = W0, n5 = Y2($2), x5 = z0;
|
|
5661
|
+
i1.parser = gx.default;
|
|
5662
|
+
var o1 = {};
|
|
5663
|
+
x5.extend(o1, n5);
|
|
5664
5664
|
function z4(x, i) {
|
|
5665
5665
|
if (x.type === "Program")
|
|
5666
5666
|
return x;
|
|
5667
|
-
gx.default.yy =
|
|
5668
|
-
return new
|
|
5667
|
+
gx.default.yy = o1, o1.locInfo = function(u) {
|
|
5668
|
+
return new o1.SourceLocation(i && i.srcName, u);
|
|
5669
5669
|
};
|
|
5670
5670
|
var h = gx.default.parse(x);
|
|
5671
5671
|
return h;
|
|
@@ -5674,15 +5674,15 @@ function i5(x, i) {
|
|
|
5674
5674
|
var h = z4(x, i), u = new Z2.default(i);
|
|
5675
5675
|
return u.accept(h);
|
|
5676
5676
|
}
|
|
5677
|
-
var
|
|
5678
|
-
|
|
5679
|
-
|
|
5680
|
-
|
|
5681
|
-
|
|
5677
|
+
var h1 = {};
|
|
5678
|
+
h1.__esModule = !0;
|
|
5679
|
+
h1.Compiler = ux;
|
|
5680
|
+
h1.precompile = e5;
|
|
5681
|
+
h1.compile = t5;
|
|
5682
5682
|
function j4(x) {
|
|
5683
5683
|
return x && x.__esModule ? x : { default: x };
|
|
5684
5684
|
}
|
|
5685
|
-
var h5 = P0,
|
|
5685
|
+
var h5 = P0, Jn = j4(h5), $n = z0, g5 = Qn, Pn = j4(g5), u5 = [].slice;
|
|
5686
5686
|
function ux() {
|
|
5687
5687
|
}
|
|
5688
5688
|
ux.prototype = {
|
|
@@ -5704,7 +5704,7 @@ ux.prototype = {
|
|
|
5704
5704
|
},
|
|
5705
5705
|
guid: 0,
|
|
5706
5706
|
compile: function(i, h) {
|
|
5707
|
-
return this.sourceNode = [], this.opcodes = [], this.children = [], this.options = h, this.stringParams = h.stringParams, this.trackIds = h.trackIds, h.blockParams = h.blockParams || [], h.knownHelpers =
|
|
5707
|
+
return this.sourceNode = [], this.opcodes = [], this.children = [], this.options = h, this.stringParams = h.stringParams, this.trackIds = h.trackIds, h.blockParams = h.blockParams || [], h.knownHelpers = $n.extend(/* @__PURE__ */ Object.create(null), {
|
|
5708
5708
|
helperMissing: !0,
|
|
5709
5709
|
blockHelperMissing: !0,
|
|
5710
5710
|
each: !0,
|
|
@@ -5721,7 +5721,7 @@ ux.prototype = {
|
|
|
5721
5721
|
},
|
|
5722
5722
|
accept: function(i) {
|
|
5723
5723
|
if (!this[i.type])
|
|
5724
|
-
throw new
|
|
5724
|
+
throw new Jn.default("Unknown type: " + i.type, i);
|
|
5725
5725
|
this.sourceNode.unshift(i);
|
|
5726
5726
|
var h = this[i.type](i);
|
|
5727
5727
|
return this.sourceNode.shift(), h;
|
|
@@ -5749,7 +5749,7 @@ ux.prototype = {
|
|
|
5749
5749
|
h && (h = this.compileProgram(i.program));
|
|
5750
5750
|
var u = i.params;
|
|
5751
5751
|
if (u.length > 1)
|
|
5752
|
-
throw new
|
|
5752
|
+
throw new Jn.default("Unsupported number of partial arguments: " + u.length, i);
|
|
5753
5753
|
u.length || (this.options.explicitPartialContext ? this.opcode("pushLiteral", "undefined") : u.push({ type: "PathExpression", parts: [], depth: 0 }));
|
|
5754
5754
|
var f = i.name.original, s = i.name.type === "SubExpression";
|
|
5755
5755
|
s && this.accept(i.name), this.setupFullMustacheParams(i, h, void 0, !0);
|
|
@@ -5789,7 +5789,7 @@ ux.prototype = {
|
|
|
5789
5789
|
this.opcode("invokeKnownHelper", f.length, r);
|
|
5790
5790
|
else {
|
|
5791
5791
|
if (this.options.knownHelpersOnly)
|
|
5792
|
-
throw new
|
|
5792
|
+
throw new Jn.default("You specified knownHelpersOnly, but used the unknown helper " + r, i);
|
|
5793
5793
|
s.strict = !0, s.falsy = !0, this.accept(s), this.opcode("invokeHelper", f.length, s.original, Pn.default.helpers.simpleId(s));
|
|
5794
5794
|
}
|
|
5795
5795
|
},
|
|
@@ -5866,7 +5866,7 @@ ux.prototype = {
|
|
|
5866
5866
|
},
|
|
5867
5867
|
blockParamIndex: function(i) {
|
|
5868
5868
|
for (var h = 0, u = this.options.blockParams.length; h < u; h++) {
|
|
5869
|
-
var f = this.options.blockParams[h], s = f &&
|
|
5869
|
+
var f = this.options.blockParams[h], s = f && $n.indexOf(f, i);
|
|
5870
5870
|
if (f && s >= 0)
|
|
5871
5871
|
return [h, s];
|
|
5872
5872
|
}
|
|
@@ -5874,15 +5874,15 @@ ux.prototype = {
|
|
|
5874
5874
|
};
|
|
5875
5875
|
function e5(x, i, h) {
|
|
5876
5876
|
if (x == null || typeof x != "string" && x.type !== "Program")
|
|
5877
|
-
throw new
|
|
5877
|
+
throw new Jn.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed " + x);
|
|
5878
5878
|
i = i || {}, "data" in i || (i.data = !0), i.compat && (i.useDepths = !0);
|
|
5879
5879
|
var u = h.parse(x, i), f = new h.Compiler().compile(u, i);
|
|
5880
5880
|
return new h.JavaScriptCompiler().compile(f, i);
|
|
5881
5881
|
}
|
|
5882
5882
|
function t5(x, i, h) {
|
|
5883
5883
|
if (i === void 0 && (i = {}), x == null || typeof x != "string" && x.type !== "Program")
|
|
5884
|
-
throw new
|
|
5885
|
-
i =
|
|
5884
|
+
throw new Jn.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed " + x);
|
|
5885
|
+
i = $n.extend({}, i), "data" in i || (i.data = !0), i.compat && (i.useDepths = !0);
|
|
5886
5886
|
var u = void 0;
|
|
5887
5887
|
function f() {
|
|
5888
5888
|
var r = h.parse(x, i), d = new h.Compiler().compile(r, i), c = new h.JavaScriptCompiler().compile(d, i, void 0, !0);
|
|
@@ -5893,14 +5893,14 @@ function t5(x, i, h) {
|
|
|
5893
5893
|
}
|
|
5894
5894
|
return s._setup = function(r) {
|
|
5895
5895
|
return u || (u = f()), u._setup(r);
|
|
5896
|
-
}, s._child = function(r, d, c,
|
|
5897
|
-
return u || (u = f()), u._child(r, d, c,
|
|
5896
|
+
}, s._child = function(r, d, c, j) {
|
|
5897
|
+
return u || (u = f()), u._child(r, d, c, j);
|
|
5898
5898
|
}, s;
|
|
5899
5899
|
}
|
|
5900
5900
|
function m4(x, i) {
|
|
5901
5901
|
if (x === i)
|
|
5902
5902
|
return !0;
|
|
5903
|
-
if (
|
|
5903
|
+
if ($n.isArray(x) && $n.isArray(i) && x.length === i.length) {
|
|
5904
5904
|
for (var h = 0; h < x.length; h++)
|
|
5905
5905
|
if (!m4(x[h], i[h]))
|
|
5906
5906
|
return !1;
|
|
@@ -5920,68 +5920,68 @@ function Cx(x) {
|
|
|
5920
5920
|
};
|
|
5921
5921
|
}
|
|
5922
5922
|
}
|
|
5923
|
-
var
|
|
5923
|
+
var T1 = {}, s5 = {
|
|
5924
5924
|
get exports() {
|
|
5925
|
-
return
|
|
5925
|
+
return T1;
|
|
5926
5926
|
},
|
|
5927
5927
|
set exports(x) {
|
|
5928
|
-
|
|
5928
|
+
T1 = x;
|
|
5929
5929
|
}
|
|
5930
|
-
},
|
|
5930
|
+
}, N1 = {}, c5 = {
|
|
5931
5931
|
get exports() {
|
|
5932
|
-
return
|
|
5932
|
+
return N1;
|
|
5933
5933
|
},
|
|
5934
5934
|
set exports(x) {
|
|
5935
|
-
|
|
5935
|
+
N1 = x;
|
|
5936
5936
|
}
|
|
5937
|
-
}, In = {},
|
|
5937
|
+
}, In = {}, R1 = {}, c1 = {}, d1 = {}, Fx;
|
|
5938
5938
|
function d5() {
|
|
5939
5939
|
if (Fx)
|
|
5940
|
-
return
|
|
5940
|
+
return d1;
|
|
5941
5941
|
Fx = 1;
|
|
5942
5942
|
var x = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");
|
|
5943
|
-
return
|
|
5943
|
+
return d1.encode = function(i) {
|
|
5944
5944
|
if (0 <= i && i < x.length)
|
|
5945
5945
|
return x[i];
|
|
5946
5946
|
throw new TypeError("Must be between 0 and 63: " + i);
|
|
5947
|
-
},
|
|
5948
|
-
var h = 65, u = 90, f = 97, s = 122, r = 48, d = 57, c = 43,
|
|
5949
|
-
return h <= i && i <= u ? i - h : f <= i && i <= s ? i - f +
|
|
5950
|
-
},
|
|
5947
|
+
}, d1.decode = function(i) {
|
|
5948
|
+
var h = 65, u = 90, f = 97, s = 122, r = 48, d = 57, c = 43, j = 47, z = 26, m = 52;
|
|
5949
|
+
return h <= i && i <= u ? i - h : f <= i && i <= s ? i - f + z : r <= i && i <= d ? i - r + m : i == c ? 62 : i == j ? 63 : -1;
|
|
5950
|
+
}, d1;
|
|
5951
5951
|
}
|
|
5952
5952
|
var Sx;
|
|
5953
5953
|
function p4() {
|
|
5954
5954
|
if (Sx)
|
|
5955
|
-
return
|
|
5955
|
+
return c1;
|
|
5956
5956
|
Sx = 1;
|
|
5957
5957
|
var x = d5(), i = 5, h = 1 << i, u = h - 1, f = h;
|
|
5958
5958
|
function s(d) {
|
|
5959
5959
|
return d < 0 ? (-d << 1) + 1 : (d << 1) + 0;
|
|
5960
5960
|
}
|
|
5961
5961
|
function r(d) {
|
|
5962
|
-
var c = (d & 1) === 1,
|
|
5963
|
-
return c ? -
|
|
5962
|
+
var c = (d & 1) === 1, j = d >> 1;
|
|
5963
|
+
return c ? -j : j;
|
|
5964
5964
|
}
|
|
5965
|
-
return
|
|
5966
|
-
var
|
|
5965
|
+
return c1.encode = function(c) {
|
|
5966
|
+
var j = "", z, m = s(c);
|
|
5967
5967
|
do
|
|
5968
|
-
|
|
5968
|
+
z = m & u, m >>>= i, m > 0 && (z |= f), j += x.encode(z);
|
|
5969
5969
|
while (m > 0);
|
|
5970
|
-
return
|
|
5971
|
-
},
|
|
5970
|
+
return j;
|
|
5971
|
+
}, c1.decode = function(c, j, z) {
|
|
5972
5972
|
var m = c.length, e = 0, l = 0, a, g;
|
|
5973
5973
|
do {
|
|
5974
|
-
if (
|
|
5974
|
+
if (j >= m)
|
|
5975
5975
|
throw new Error("Expected more digits in base 64 VLQ value.");
|
|
5976
|
-
if (g = x.decode(c.charCodeAt(
|
|
5977
|
-
throw new Error("Invalid base64 digit: " + c.charAt(
|
|
5976
|
+
if (g = x.decode(c.charCodeAt(j++)), g === -1)
|
|
5977
|
+
throw new Error("Invalid base64 digit: " + c.charAt(j - 1));
|
|
5978
5978
|
a = !!(g & f), g &= u, e = e + (g << l), l += i;
|
|
5979
5979
|
} while (a);
|
|
5980
|
-
|
|
5981
|
-
},
|
|
5980
|
+
z.value = r(e), z.rest = j;
|
|
5981
|
+
}, c1;
|
|
5982
5982
|
}
|
|
5983
|
-
var
|
|
5984
|
-
function
|
|
5983
|
+
var U1 = {}, Bx;
|
|
5984
|
+
function g1() {
|
|
5985
5985
|
return Bx || (Bx = 1, function(x) {
|
|
5986
5986
|
function i(p, E, F) {
|
|
5987
5987
|
if (E in p)
|
|
@@ -6046,21 +6046,21 @@ function h1() {
|
|
|
6046
6046
|
return Array(F + 1).join("../") + E.substr(p.length + 1);
|
|
6047
6047
|
}
|
|
6048
6048
|
x.relative = c;
|
|
6049
|
-
var
|
|
6049
|
+
var j = function() {
|
|
6050
6050
|
var p = /* @__PURE__ */ Object.create(null);
|
|
6051
6051
|
return !("__proto__" in p);
|
|
6052
6052
|
}();
|
|
6053
|
-
function
|
|
6053
|
+
function z(p) {
|
|
6054
6054
|
return p;
|
|
6055
6055
|
}
|
|
6056
6056
|
function m(p) {
|
|
6057
6057
|
return l(p) ? "$" + p : p;
|
|
6058
6058
|
}
|
|
6059
|
-
x.toSetString =
|
|
6059
|
+
x.toSetString = j ? z : m;
|
|
6060
6060
|
function e(p) {
|
|
6061
6061
|
return l(p) ? p.slice(1) : p;
|
|
6062
6062
|
}
|
|
6063
|
-
x.fromSetString =
|
|
6063
|
+
x.fromSetString = j ? z : e;
|
|
6064
6064
|
function l(p) {
|
|
6065
6065
|
if (!p)
|
|
6066
6066
|
return !1;
|
|
@@ -6108,26 +6108,26 @@ function h1() {
|
|
|
6108
6108
|
return r(E);
|
|
6109
6109
|
}
|
|
6110
6110
|
x.computeSourceURL = A;
|
|
6111
|
-
}(
|
|
6111
|
+
}(U1)), U1;
|
|
6112
6112
|
}
|
|
6113
|
-
var
|
|
6113
|
+
var G1 = {}, _x;
|
|
6114
6114
|
function q4() {
|
|
6115
6115
|
if (_x)
|
|
6116
|
-
return
|
|
6116
|
+
return G1;
|
|
6117
6117
|
_x = 1;
|
|
6118
|
-
var x =
|
|
6118
|
+
var x = g1(), i = Object.prototype.hasOwnProperty, h = typeof Map < "u";
|
|
6119
6119
|
function u() {
|
|
6120
6120
|
this._array = [], this._set = h ? /* @__PURE__ */ new Map() : /* @__PURE__ */ Object.create(null);
|
|
6121
6121
|
}
|
|
6122
6122
|
return u.fromArray = function(s, r) {
|
|
6123
|
-
for (var d = new u(), c = 0,
|
|
6123
|
+
for (var d = new u(), c = 0, j = s.length; c < j; c++)
|
|
6124
6124
|
d.add(s[c], r);
|
|
6125
6125
|
return d;
|
|
6126
6126
|
}, u.prototype.size = function() {
|
|
6127
6127
|
return h ? this._set.size : Object.getOwnPropertyNames(this._set).length;
|
|
6128
6128
|
}, u.prototype.add = function(s, r) {
|
|
6129
|
-
var d = h ? s : x.toSetString(s), c = h ? this.has(s) : i.call(this._set, d),
|
|
6130
|
-
(!c || r) && this._array.push(s), c || (h ? this._set.set(s,
|
|
6129
|
+
var d = h ? s : x.toSetString(s), c = h ? this.has(s) : i.call(this._set, d), j = this._array.length;
|
|
6130
|
+
(!c || r) && this._array.push(s), c || (h ? this._set.set(s, j) : this._set[d] = j);
|
|
6131
6131
|
}, u.prototype.has = function(s) {
|
|
6132
6132
|
if (h)
|
|
6133
6133
|
return this._set.has(s);
|
|
@@ -6150,14 +6150,14 @@ function q4() {
|
|
|
6150
6150
|
throw new Error("No element indexed by " + s);
|
|
6151
6151
|
}, u.prototype.toArray = function() {
|
|
6152
6152
|
return this._array.slice();
|
|
6153
|
-
},
|
|
6153
|
+
}, G1.ArraySet = u, G1;
|
|
6154
6154
|
}
|
|
6155
|
-
var
|
|
6155
|
+
var X1 = {}, Tx;
|
|
6156
6156
|
function r5() {
|
|
6157
6157
|
if (Tx)
|
|
6158
|
-
return
|
|
6158
|
+
return X1;
|
|
6159
6159
|
Tx = 1;
|
|
6160
|
-
var x =
|
|
6160
|
+
var x = g1();
|
|
6161
6161
|
function i(u, f) {
|
|
6162
6162
|
var s = u.generatedLine, r = f.generatedLine, d = u.generatedColumn, c = f.generatedColumn;
|
|
6163
6163
|
return r > s || r == s && c >= d || x.compareByGeneratedPositionsInflated(u, f) <= 0;
|
|
@@ -6171,14 +6171,14 @@ function r5() {
|
|
|
6171
6171
|
i(this._last, f) ? (this._last = f, this._array.push(f)) : (this._sorted = !1, this._array.push(f));
|
|
6172
6172
|
}, h.prototype.toArray = function() {
|
|
6173
6173
|
return this._sorted || (this._array.sort(x.compareByGeneratedPositionsInflated), this._sorted = !0), this._array;
|
|
6174
|
-
},
|
|
6174
|
+
}, X1.MappingList = h, X1;
|
|
6175
6175
|
}
|
|
6176
6176
|
var Nx;
|
|
6177
6177
|
function w4() {
|
|
6178
6178
|
if (Nx)
|
|
6179
|
-
return
|
|
6179
|
+
return R1;
|
|
6180
6180
|
Nx = 1;
|
|
6181
|
-
var x = p4(), i =
|
|
6181
|
+
var x = p4(), i = g1(), h = q4().ArraySet, u = r5().MappingList;
|
|
6182
6182
|
function f(s) {
|
|
6183
6183
|
s || (s = {}), this._file = i.getArg(s, "file", null), this._sourceRoot = i.getArg(s, "sourceRoot", null), this._skipValidation = i.getArg(s, "skipValidation", !1), this._sources = new h(), this._names = new h(), this._mappings = new u(), this._sourcesContents = null;
|
|
6184
6184
|
}
|
|
@@ -6187,55 +6187,55 @@ function w4() {
|
|
|
6187
6187
|
file: r.file,
|
|
6188
6188
|
sourceRoot: d
|
|
6189
6189
|
});
|
|
6190
|
-
return r.eachMapping(function(
|
|
6191
|
-
var
|
|
6190
|
+
return r.eachMapping(function(j) {
|
|
6191
|
+
var z = {
|
|
6192
6192
|
generated: {
|
|
6193
|
-
line:
|
|
6194
|
-
column:
|
|
6193
|
+
line: j.generatedLine,
|
|
6194
|
+
column: j.generatedColumn
|
|
6195
6195
|
}
|
|
6196
6196
|
};
|
|
6197
|
-
|
|
6198
|
-
line:
|
|
6199
|
-
column:
|
|
6200
|
-
},
|
|
6201
|
-
}), r.sources.forEach(function(
|
|
6202
|
-
var
|
|
6203
|
-
d !== null && (
|
|
6204
|
-
var m = r.sourceContentFor(
|
|
6205
|
-
m != null && c.setSourceContent(
|
|
6197
|
+
j.source != null && (z.source = j.source, d != null && (z.source = i.relative(d, z.source)), z.original = {
|
|
6198
|
+
line: j.originalLine,
|
|
6199
|
+
column: j.originalColumn
|
|
6200
|
+
}, j.name != null && (z.name = j.name)), c.addMapping(z);
|
|
6201
|
+
}), r.sources.forEach(function(j) {
|
|
6202
|
+
var z = j;
|
|
6203
|
+
d !== null && (z = i.relative(d, j)), c._sources.has(z) || c._sources.add(z);
|
|
6204
|
+
var m = r.sourceContentFor(j);
|
|
6205
|
+
m != null && c.setSourceContent(j, m);
|
|
6206
6206
|
}), c;
|
|
6207
6207
|
}, f.prototype.addMapping = function(r) {
|
|
6208
|
-
var d = i.getArg(r, "generated"), c = i.getArg(r, "original", null),
|
|
6209
|
-
this._skipValidation || this._validateMapping(d, c,
|
|
6208
|
+
var d = i.getArg(r, "generated"), c = i.getArg(r, "original", null), j = i.getArg(r, "source", null), z = i.getArg(r, "name", null);
|
|
6209
|
+
this._skipValidation || this._validateMapping(d, c, j, z), j != null && (j = String(j), this._sources.has(j) || this._sources.add(j)), z != null && (z = String(z), this._names.has(z) || this._names.add(z)), this._mappings.add({
|
|
6210
6210
|
generatedLine: d.line,
|
|
6211
6211
|
generatedColumn: d.column,
|
|
6212
6212
|
originalLine: c != null && c.line,
|
|
6213
6213
|
originalColumn: c != null && c.column,
|
|
6214
|
-
source:
|
|
6215
|
-
name:
|
|
6214
|
+
source: j,
|
|
6215
|
+
name: z
|
|
6216
6216
|
});
|
|
6217
6217
|
}, f.prototype.setSourceContent = function(r, d) {
|
|
6218
6218
|
var c = r;
|
|
6219
6219
|
this._sourceRoot != null && (c = i.relative(this._sourceRoot, c)), d != null ? (this._sourcesContents || (this._sourcesContents = /* @__PURE__ */ Object.create(null)), this._sourcesContents[i.toSetString(c)] = d) : this._sourcesContents && (delete this._sourcesContents[i.toSetString(c)], Object.keys(this._sourcesContents).length === 0 && (this._sourcesContents = null));
|
|
6220
6220
|
}, f.prototype.applySourceMap = function(r, d, c) {
|
|
6221
|
-
var
|
|
6221
|
+
var j = d;
|
|
6222
6222
|
if (d == null) {
|
|
6223
6223
|
if (r.file == null)
|
|
6224
6224
|
throw new Error(
|
|
6225
6225
|
`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`
|
|
6226
6226
|
);
|
|
6227
|
-
|
|
6227
|
+
j = r.file;
|
|
6228
6228
|
}
|
|
6229
|
-
var
|
|
6230
|
-
|
|
6229
|
+
var z = this._sourceRoot;
|
|
6230
|
+
z != null && (j = i.relative(z, j));
|
|
6231
6231
|
var m = new h(), e = new h();
|
|
6232
6232
|
this._mappings.unsortedForEach(function(l) {
|
|
6233
|
-
if (l.source ===
|
|
6233
|
+
if (l.source === j && l.originalLine != null) {
|
|
6234
6234
|
var a = r.originalPositionFor({
|
|
6235
6235
|
line: l.originalLine,
|
|
6236
6236
|
column: l.originalColumn
|
|
6237
6237
|
});
|
|
6238
|
-
a.source != null && (l.source = a.source, c != null && (l.source = i.join(c, l.source)),
|
|
6238
|
+
a.source != null && (l.source = a.source, c != null && (l.source = i.join(c, l.source)), z != null && (l.source = i.relative(z, l.source)), l.originalLine = a.line, l.originalColumn = a.column, a.name != null && (l.name = a.name));
|
|
6239
6239
|
}
|
|
6240
6240
|
var g = l.source;
|
|
6241
6241
|
g != null && !m.has(g) && m.add(g);
|
|
@@ -6243,25 +6243,25 @@ function w4() {
|
|
|
6243
6243
|
t != null && !e.has(t) && e.add(t);
|
|
6244
6244
|
}, this), this._sources = m, this._names = e, r.sources.forEach(function(l) {
|
|
6245
6245
|
var a = r.sourceContentFor(l);
|
|
6246
|
-
a != null && (c != null && (l = i.join(c, l)),
|
|
6246
|
+
a != null && (c != null && (l = i.join(c, l)), z != null && (l = i.relative(z, l)), this.setSourceContent(l, a));
|
|
6247
6247
|
}, this);
|
|
6248
|
-
}, f.prototype._validateMapping = function(r, d, c,
|
|
6248
|
+
}, f.prototype._validateMapping = function(r, d, c, j) {
|
|
6249
6249
|
if (d && typeof d.line != "number" && typeof d.column != "number")
|
|
6250
6250
|
throw new Error(
|
|
6251
6251
|
"original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values."
|
|
6252
6252
|
);
|
|
6253
|
-
if (!(r && "line" in r && "column" in r && r.line > 0 && r.column >= 0 && !d && !c && !
|
|
6253
|
+
if (!(r && "line" in r && "column" in r && r.line > 0 && r.column >= 0 && !d && !c && !j)) {
|
|
6254
6254
|
if (r && "line" in r && "column" in r && d && "line" in d && "column" in d && r.line > 0 && r.column >= 0 && d.line > 0 && d.column >= 0 && c)
|
|
6255
6255
|
return;
|
|
6256
6256
|
throw new Error("Invalid mapping: " + JSON.stringify({
|
|
6257
6257
|
generated: r,
|
|
6258
6258
|
source: c,
|
|
6259
6259
|
original: d,
|
|
6260
|
-
name:
|
|
6260
|
+
name: j
|
|
6261
6261
|
}));
|
|
6262
6262
|
}
|
|
6263
6263
|
}, f.prototype._serializeMappings = function() {
|
|
6264
|
-
for (var r = 0, d = 1, c = 0,
|
|
6264
|
+
for (var r = 0, d = 1, c = 0, j = 0, z = 0, m = 0, e = "", l, a, g, t, b = this._mappings.toArray(), y = 0, A = b.length; y < A; y++) {
|
|
6265
6265
|
if (a = b[y], l = "", a.generatedLine !== d)
|
|
6266
6266
|
for (r = 0; a.generatedLine !== d; )
|
|
6267
6267
|
l += ";", d++;
|
|
@@ -6270,7 +6270,7 @@ function w4() {
|
|
|
6270
6270
|
continue;
|
|
6271
6271
|
l += ",";
|
|
6272
6272
|
}
|
|
6273
|
-
l += x.encode(a.generatedColumn - r), r = a.generatedColumn, a.source != null && (t = this._sources.indexOf(a.source), l += x.encode(t - m), m = t, l += x.encode(a.originalLine - 1 -
|
|
6273
|
+
l += x.encode(a.generatedColumn - r), r = a.generatedColumn, a.source != null && (t = this._sources.indexOf(a.source), l += x.encode(t - m), m = t, l += x.encode(a.originalLine - 1 - j), j = a.originalLine - 1, l += x.encode(a.originalColumn - c), c = a.originalColumn, a.name != null && (g = this._names.indexOf(a.name), l += x.encode(g - z), z = g)), e += l;
|
|
6274
6274
|
}
|
|
6275
6275
|
return e;
|
|
6276
6276
|
}, f.prototype._generateSourcesContent = function(r, d) {
|
|
@@ -6278,8 +6278,8 @@ function w4() {
|
|
|
6278
6278
|
if (!this._sourcesContents)
|
|
6279
6279
|
return null;
|
|
6280
6280
|
d != null && (c = i.relative(d, c));
|
|
6281
|
-
var
|
|
6282
|
-
return Object.prototype.hasOwnProperty.call(this._sourcesContents,
|
|
6281
|
+
var j = i.toSetString(c);
|
|
6282
|
+
return Object.prototype.hasOwnProperty.call(this._sourcesContents, j) ? this._sourcesContents[j] : null;
|
|
6283
6283
|
}, this);
|
|
6284
6284
|
}, f.prototype.toJSON = function() {
|
|
6285
6285
|
var r = {
|
|
@@ -6291,15 +6291,15 @@ function w4() {
|
|
|
6291
6291
|
return this._file != null && (r.file = this._file), this._sourceRoot != null && (r.sourceRoot = this._sourceRoot), this._sourcesContents && (r.sourcesContent = this._generateSourcesContent(r.sources, r.sourceRoot)), r;
|
|
6292
6292
|
}, f.prototype.toString = function() {
|
|
6293
6293
|
return JSON.stringify(this.toJSON());
|
|
6294
|
-
},
|
|
6294
|
+
}, R1.SourceMapGenerator = f, R1;
|
|
6295
6295
|
}
|
|
6296
|
-
var Mn = {},
|
|
6296
|
+
var Mn = {}, H1 = {}, Px;
|
|
6297
6297
|
function a5() {
|
|
6298
6298
|
return Px || (Px = 1, function(x) {
|
|
6299
6299
|
x.GREATEST_LOWER_BOUND = 1, x.LEAST_UPPER_BOUND = 2;
|
|
6300
6300
|
function i(h, u, f, s, r, d) {
|
|
6301
|
-
var c = Math.floor((u - h) / 2) + h,
|
|
6302
|
-
return
|
|
6301
|
+
var c = Math.floor((u - h) / 2) + h, j = r(f, s[c], !0);
|
|
6302
|
+
return j === 0 ? c : j > 0 ? u - c > 1 ? i(c, u, f, s, r, d) : d == x.LEAST_UPPER_BOUND ? u < s.length ? u : -1 : c : c - h > 1 ? i(h, c, f, s, r, d) : d == x.LEAST_UPPER_BOUND ? c : h < 0 ? -1 : h;
|
|
6303
6303
|
}
|
|
6304
6304
|
x.search = function(u, f, s, r) {
|
|
6305
6305
|
if (f.length === 0)
|
|
@@ -6318,12 +6318,12 @@ function a5() {
|
|
|
6318
6318
|
--d;
|
|
6319
6319
|
return d;
|
|
6320
6320
|
};
|
|
6321
|
-
}(
|
|
6321
|
+
}(H1)), H1;
|
|
6322
6322
|
}
|
|
6323
|
-
var
|
|
6323
|
+
var J1 = {}, Ix;
|
|
6324
6324
|
function o5() {
|
|
6325
6325
|
if (Ix)
|
|
6326
|
-
return
|
|
6326
|
+
return J1;
|
|
6327
6327
|
Ix = 1;
|
|
6328
6328
|
function x(u, f, s) {
|
|
6329
6329
|
var r = u[f];
|
|
@@ -6336,29 +6336,29 @@ function o5() {
|
|
|
6336
6336
|
if (s < r) {
|
|
6337
6337
|
var d = i(s, r), c = s - 1;
|
|
6338
6338
|
x(u, d, r);
|
|
6339
|
-
for (var
|
|
6340
|
-
f(u[
|
|
6341
|
-
x(u, c + 1,
|
|
6339
|
+
for (var j = u[r], z = s; z < r; z++)
|
|
6340
|
+
f(u[z], j) <= 0 && (c += 1, x(u, c, z));
|
|
6341
|
+
x(u, c + 1, z);
|
|
6342
6342
|
var m = c + 1;
|
|
6343
6343
|
h(u, f, s, m - 1), h(u, f, m + 1, r);
|
|
6344
6344
|
}
|
|
6345
6345
|
}
|
|
6346
|
-
return
|
|
6346
|
+
return J1.quickSort = function(u, f) {
|
|
6347
6347
|
h(u, f, 0, u.length - 1);
|
|
6348
|
-
},
|
|
6348
|
+
}, J1;
|
|
6349
6349
|
}
|
|
6350
6350
|
var Mx;
|
|
6351
6351
|
function f5() {
|
|
6352
6352
|
if (Mx)
|
|
6353
6353
|
return Mn;
|
|
6354
6354
|
Mx = 1;
|
|
6355
|
-
var x =
|
|
6356
|
-
function s(
|
|
6357
|
-
var m =
|
|
6358
|
-
return typeof
|
|
6355
|
+
var x = g1(), i = a5(), h = q4().ArraySet, u = p4(), f = o5().quickSort;
|
|
6356
|
+
function s(j, z) {
|
|
6357
|
+
var m = j;
|
|
6358
|
+
return typeof j == "string" && (m = x.parseSourceMapInput(j)), m.sections != null ? new c(m, z) : new r(m, z);
|
|
6359
6359
|
}
|
|
6360
|
-
s.fromSourceMap = function(
|
|
6361
|
-
return r.fromSourceMap(
|
|
6360
|
+
s.fromSourceMap = function(j, z) {
|
|
6361
|
+
return r.fromSourceMap(j, z);
|
|
6362
6362
|
}, s.prototype._version = 3, s.prototype.__generatedMappings = null, Object.defineProperty(s.prototype, "_generatedMappings", {
|
|
6363
6363
|
configurable: !0,
|
|
6364
6364
|
enumerable: !0,
|
|
@@ -6371,12 +6371,12 @@ function f5() {
|
|
|
6371
6371
|
get: function() {
|
|
6372
6372
|
return this.__originalMappings || this._parseMappings(this._mappings, this.sourceRoot), this.__originalMappings;
|
|
6373
6373
|
}
|
|
6374
|
-
}), s.prototype._charIsMappingSeparator = function(
|
|
6375
|
-
var e =
|
|
6374
|
+
}), s.prototype._charIsMappingSeparator = function(z, m) {
|
|
6375
|
+
var e = z.charAt(m);
|
|
6376
6376
|
return e === ";" || e === ",";
|
|
6377
|
-
}, s.prototype._parseMappings = function(
|
|
6377
|
+
}, s.prototype._parseMappings = function(z, m) {
|
|
6378
6378
|
throw new Error("Subclasses must implement _parseMappings");
|
|
6379
|
-
}, s.GENERATED_ORDER = 1, s.ORIGINAL_ORDER = 2, s.GREATEST_LOWER_BOUND = 1, s.LEAST_UPPER_BOUND = 2, s.prototype.eachMapping = function(
|
|
6379
|
+
}, s.GENERATED_ORDER = 1, s.ORIGINAL_ORDER = 2, s.GREATEST_LOWER_BOUND = 1, s.LEAST_UPPER_BOUND = 2, s.prototype.eachMapping = function(z, m, e) {
|
|
6380
6380
|
var l = m || null, a = e || s.GENERATED_ORDER, g;
|
|
6381
6381
|
switch (a) {
|
|
6382
6382
|
case s.GENERATED_ORDER:
|
|
@@ -6399,12 +6399,12 @@ function f5() {
|
|
|
6399
6399
|
originalColumn: b.originalColumn,
|
|
6400
6400
|
name: b.name === null ? null : this._names.at(b.name)
|
|
6401
6401
|
};
|
|
6402
|
-
}, this).forEach(
|
|
6403
|
-
}, s.prototype.allGeneratedPositionsFor = function(
|
|
6404
|
-
var m = x.getArg(
|
|
6405
|
-
source: x.getArg(
|
|
6402
|
+
}, this).forEach(z, l);
|
|
6403
|
+
}, s.prototype.allGeneratedPositionsFor = function(z) {
|
|
6404
|
+
var m = x.getArg(z, "line"), e = {
|
|
6405
|
+
source: x.getArg(z, "source"),
|
|
6406
6406
|
originalLine: m,
|
|
6407
|
-
originalColumn: x.getArg(
|
|
6407
|
+
originalColumn: x.getArg(z, "column", 0)
|
|
6408
6408
|
};
|
|
6409
6409
|
if (e.source = this._findSourceIndex(e.source), e.source < 0)
|
|
6410
6410
|
return [];
|
|
@@ -6418,7 +6418,7 @@ function f5() {
|
|
|
6418
6418
|
);
|
|
6419
6419
|
if (a >= 0) {
|
|
6420
6420
|
var g = this._originalMappings[a];
|
|
6421
|
-
if (
|
|
6421
|
+
if (z.column === void 0)
|
|
6422
6422
|
for (var t = g.originalLine; g && g.originalLine === t; )
|
|
6423
6423
|
l.push({
|
|
6424
6424
|
line: x.getArg(g, "generatedLine", null),
|
|
@@ -6435,36 +6435,36 @@ function f5() {
|
|
|
6435
6435
|
}
|
|
6436
6436
|
return l;
|
|
6437
6437
|
}, Mn.SourceMapConsumer = s;
|
|
6438
|
-
function r(
|
|
6439
|
-
var m =
|
|
6440
|
-
typeof
|
|
6438
|
+
function r(j, z) {
|
|
6439
|
+
var m = j;
|
|
6440
|
+
typeof j == "string" && (m = x.parseSourceMapInput(j));
|
|
6441
6441
|
var e = x.getArg(m, "version"), l = x.getArg(m, "sources"), a = x.getArg(m, "names", []), g = x.getArg(m, "sourceRoot", null), t = x.getArg(m, "sourcesContent", null), b = x.getArg(m, "mappings"), y = x.getArg(m, "file", null);
|
|
6442
6442
|
if (e != this._version)
|
|
6443
6443
|
throw new Error("Unsupported version: " + e);
|
|
6444
6444
|
g && (g = x.normalize(g)), l = l.map(String).map(x.normalize).map(function(A) {
|
|
6445
6445
|
return g && x.isAbsolute(g) && x.isAbsolute(A) ? x.relative(g, A) : A;
|
|
6446
6446
|
}), this._names = h.fromArray(a.map(String), !0), this._sources = h.fromArray(l, !0), this._absoluteSources = this._sources.toArray().map(function(A) {
|
|
6447
|
-
return x.computeSourceURL(g, A,
|
|
6448
|
-
}), this.sourceRoot = g, this.sourcesContent = t, this._mappings = b, this._sourceMapURL =
|
|
6447
|
+
return x.computeSourceURL(g, A, z);
|
|
6448
|
+
}), this.sourceRoot = g, this.sourcesContent = t, this._mappings = b, this._sourceMapURL = z, this.file = y;
|
|
6449
6449
|
}
|
|
6450
|
-
r.prototype = Object.create(s.prototype), r.prototype.consumer = s, r.prototype._findSourceIndex = function(
|
|
6451
|
-
var
|
|
6452
|
-
if (this.sourceRoot != null && (
|
|
6453
|
-
return this._sources.indexOf(
|
|
6450
|
+
r.prototype = Object.create(s.prototype), r.prototype.consumer = s, r.prototype._findSourceIndex = function(j) {
|
|
6451
|
+
var z = j;
|
|
6452
|
+
if (this.sourceRoot != null && (z = x.relative(this.sourceRoot, z)), this._sources.has(z))
|
|
6453
|
+
return this._sources.indexOf(z);
|
|
6454
6454
|
var m;
|
|
6455
6455
|
for (m = 0; m < this._absoluteSources.length; ++m)
|
|
6456
|
-
if (this._absoluteSources[m] ==
|
|
6456
|
+
if (this._absoluteSources[m] == j)
|
|
6457
6457
|
return m;
|
|
6458
6458
|
return -1;
|
|
6459
|
-
}, r.fromSourceMap = function(
|
|
6460
|
-
var e = Object.create(r.prototype), l = e._names = h.fromArray(
|
|
6461
|
-
e.sourceRoot =
|
|
6459
|
+
}, r.fromSourceMap = function(z, m) {
|
|
6460
|
+
var e = Object.create(r.prototype), l = e._names = h.fromArray(z._names.toArray(), !0), a = e._sources = h.fromArray(z._sources.toArray(), !0);
|
|
6461
|
+
e.sourceRoot = z._sourceRoot, e.sourcesContent = z._generateSourcesContent(
|
|
6462
6462
|
e._sources.toArray(),
|
|
6463
6463
|
e.sourceRoot
|
|
6464
|
-
), e.file =
|
|
6464
|
+
), e.file = z._file, e._sourceMapURL = m, e._absoluteSources = e._sources.toArray().map(function(F) {
|
|
6465
6465
|
return x.computeSourceURL(e.sourceRoot, F, m);
|
|
6466
6466
|
});
|
|
6467
|
-
for (var g =
|
|
6467
|
+
for (var g = z._mappings.toArray().slice(), t = e.__generatedMappings = [], b = e.__originalMappings = [], y = 0, A = g.length; y < A; y++) {
|
|
6468
6468
|
var p = g[y], E = new d();
|
|
6469
6469
|
E.generatedLine = p.generatedLine, E.generatedColumn = p.generatedColumn, p.source && (E.source = a.indexOf(p.source), E.originalLine = p.originalLine, E.originalColumn = p.originalColumn, p.name && (E.name = l.indexOf(p.name)), b.push(E)), t.push(E);
|
|
6470
6470
|
}
|
|
@@ -6477,20 +6477,20 @@ function f5() {
|
|
|
6477
6477
|
function d() {
|
|
6478
6478
|
this.generatedLine = 0, this.generatedColumn = 0, this.source = null, this.originalLine = null, this.originalColumn = null, this.name = null;
|
|
6479
6479
|
}
|
|
6480
|
-
r.prototype._parseMappings = function(
|
|
6481
|
-
for (var e = 1, l = 0, a = 0, g = 0, t = 0, b = 0, y =
|
|
6482
|
-
if (
|
|
6480
|
+
r.prototype._parseMappings = function(z, m) {
|
|
6481
|
+
for (var e = 1, l = 0, a = 0, g = 0, t = 0, b = 0, y = z.length, A = 0, p = {}, E = {}, F = [], v = [], B, R, U, H, G; A < y; )
|
|
6482
|
+
if (z.charAt(A) === ";")
|
|
6483
6483
|
e++, A++, l = 0;
|
|
6484
|
-
else if (
|
|
6484
|
+
else if (z.charAt(A) === ",")
|
|
6485
6485
|
A++;
|
|
6486
6486
|
else {
|
|
6487
|
-
for (B = new d(), B.generatedLine = e, H = A; H < y && !this._charIsMappingSeparator(
|
|
6487
|
+
for (B = new d(), B.generatedLine = e, H = A; H < y && !this._charIsMappingSeparator(z, H); H++)
|
|
6488
6488
|
;
|
|
6489
|
-
if (R =
|
|
6489
|
+
if (R = z.slice(A, H), U = p[R], U)
|
|
6490
6490
|
A += R.length;
|
|
6491
6491
|
else {
|
|
6492
6492
|
for (U = []; A < H; )
|
|
6493
|
-
u.decode(
|
|
6493
|
+
u.decode(z, A, E), G = E.value, A = E.rest, U.push(G);
|
|
6494
6494
|
if (U.length === 2)
|
|
6495
6495
|
throw new Error("Found a source, but no line and column");
|
|
6496
6496
|
if (U.length === 3)
|
|
@@ -6500,17 +6500,17 @@ function f5() {
|
|
|
6500
6500
|
B.generatedColumn = l + U[0], l = B.generatedColumn, U.length > 1 && (B.source = t + U[1], t += U[1], B.originalLine = a + U[2], a = B.originalLine, B.originalLine += 1, B.originalColumn = g + U[3], g = B.originalColumn, U.length > 4 && (B.name = b + U[4], b += U[4])), v.push(B), typeof B.originalLine == "number" && F.push(B);
|
|
6501
6501
|
}
|
|
6502
6502
|
f(v, x.compareByGeneratedPositionsDeflated), this.__generatedMappings = v, f(F, x.compareByOriginalPositions), this.__originalMappings = F;
|
|
6503
|
-
}, r.prototype._findMapping = function(
|
|
6504
|
-
if (
|
|
6505
|
-
throw new TypeError("Line must be greater than or equal to 1, got " +
|
|
6506
|
-
if (
|
|
6507
|
-
throw new TypeError("Column must be greater than or equal to 0, got " +
|
|
6508
|
-
return i.search(
|
|
6503
|
+
}, r.prototype._findMapping = function(z, m, e, l, a, g) {
|
|
6504
|
+
if (z[e] <= 0)
|
|
6505
|
+
throw new TypeError("Line must be greater than or equal to 1, got " + z[e]);
|
|
6506
|
+
if (z[l] < 0)
|
|
6507
|
+
throw new TypeError("Column must be greater than or equal to 0, got " + z[l]);
|
|
6508
|
+
return i.search(z, m, a, g);
|
|
6509
6509
|
}, r.prototype.computeColumnSpans = function() {
|
|
6510
|
-
for (var
|
|
6511
|
-
var m = this._generatedMappings[
|
|
6512
|
-
if (
|
|
6513
|
-
var e = this._generatedMappings[
|
|
6510
|
+
for (var z = 0; z < this._generatedMappings.length; ++z) {
|
|
6511
|
+
var m = this._generatedMappings[z];
|
|
6512
|
+
if (z + 1 < this._generatedMappings.length) {
|
|
6513
|
+
var e = this._generatedMappings[z + 1];
|
|
6514
6514
|
if (m.generatedLine === e.generatedLine) {
|
|
6515
6515
|
m.lastGeneratedColumn = e.generatedColumn - 1;
|
|
6516
6516
|
continue;
|
|
@@ -6518,17 +6518,17 @@ function f5() {
|
|
|
6518
6518
|
}
|
|
6519
6519
|
m.lastGeneratedColumn = 1 / 0;
|
|
6520
6520
|
}
|
|
6521
|
-
}, r.prototype.originalPositionFor = function(
|
|
6521
|
+
}, r.prototype.originalPositionFor = function(z) {
|
|
6522
6522
|
var m = {
|
|
6523
|
-
generatedLine: x.getArg(
|
|
6524
|
-
generatedColumn: x.getArg(
|
|
6523
|
+
generatedLine: x.getArg(z, "line"),
|
|
6524
|
+
generatedColumn: x.getArg(z, "column")
|
|
6525
6525
|
}, e = this._findMapping(
|
|
6526
6526
|
m,
|
|
6527
6527
|
this._generatedMappings,
|
|
6528
6528
|
"generatedLine",
|
|
6529
6529
|
"generatedColumn",
|
|
6530
6530
|
x.compareByGeneratedPositionsDeflated,
|
|
6531
|
-
x.getArg(
|
|
6531
|
+
x.getArg(z, "bias", s.GREATEST_LOWER_BOUND)
|
|
6532
6532
|
);
|
|
6533
6533
|
if (e >= 0) {
|
|
6534
6534
|
var l = this._generatedMappings[e];
|
|
@@ -6551,16 +6551,16 @@ function f5() {
|
|
|
6551
6551
|
name: null
|
|
6552
6552
|
};
|
|
6553
6553
|
}, r.prototype.hasContentsOfAllSources = function() {
|
|
6554
|
-
return this.sourcesContent ? this.sourcesContent.length >= this._sources.size() && !this.sourcesContent.some(function(
|
|
6555
|
-
return
|
|
6554
|
+
return this.sourcesContent ? this.sourcesContent.length >= this._sources.size() && !this.sourcesContent.some(function(z) {
|
|
6555
|
+
return z == null;
|
|
6556
6556
|
}) : !1;
|
|
6557
|
-
}, r.prototype.sourceContentFor = function(
|
|
6557
|
+
}, r.prototype.sourceContentFor = function(z, m) {
|
|
6558
6558
|
if (!this.sourcesContent)
|
|
6559
6559
|
return null;
|
|
6560
|
-
var e = this._findSourceIndex(
|
|
6560
|
+
var e = this._findSourceIndex(z);
|
|
6561
6561
|
if (e >= 0)
|
|
6562
6562
|
return this.sourcesContent[e];
|
|
6563
|
-
var l =
|
|
6563
|
+
var l = z;
|
|
6564
6564
|
this.sourceRoot != null && (l = x.relative(this.sourceRoot, l));
|
|
6565
6565
|
var a;
|
|
6566
6566
|
if (this.sourceRoot != null && (a = x.urlParse(this.sourceRoot))) {
|
|
@@ -6573,8 +6573,8 @@ function f5() {
|
|
|
6573
6573
|
if (m)
|
|
6574
6574
|
return null;
|
|
6575
6575
|
throw new Error('"' + l + '" is not in the SourceMap.');
|
|
6576
|
-
}, r.prototype.generatedPositionFor = function(
|
|
6577
|
-
var m = x.getArg(
|
|
6576
|
+
}, r.prototype.generatedPositionFor = function(z) {
|
|
6577
|
+
var m = x.getArg(z, "source");
|
|
6578
6578
|
if (m = this._findSourceIndex(m), m < 0)
|
|
6579
6579
|
return {
|
|
6580
6580
|
line: null,
|
|
@@ -6583,15 +6583,15 @@ function f5() {
|
|
|
6583
6583
|
};
|
|
6584
6584
|
var e = {
|
|
6585
6585
|
source: m,
|
|
6586
|
-
originalLine: x.getArg(
|
|
6587
|
-
originalColumn: x.getArg(
|
|
6586
|
+
originalLine: x.getArg(z, "line"),
|
|
6587
|
+
originalColumn: x.getArg(z, "column")
|
|
6588
6588
|
}, l = this._findMapping(
|
|
6589
6589
|
e,
|
|
6590
6590
|
this._originalMappings,
|
|
6591
6591
|
"originalLine",
|
|
6592
6592
|
"originalColumn",
|
|
6593
6593
|
x.compareByOriginalPositions,
|
|
6594
|
-
x.getArg(
|
|
6594
|
+
x.getArg(z, "bias", s.GREATEST_LOWER_BOUND)
|
|
6595
6595
|
);
|
|
6596
6596
|
if (l >= 0) {
|
|
6597
6597
|
var a = this._originalMappings[l];
|
|
@@ -6608,9 +6608,9 @@ function f5() {
|
|
|
6608
6608
|
lastColumn: null
|
|
6609
6609
|
};
|
|
6610
6610
|
}, Mn.BasicSourceMapConsumer = r;
|
|
6611
|
-
function c(
|
|
6612
|
-
var m =
|
|
6613
|
-
typeof
|
|
6611
|
+
function c(j, z) {
|
|
6612
|
+
var m = j;
|
|
6613
|
+
typeof j == "string" && (m = x.parseSourceMapInput(j));
|
|
6614
6614
|
var e = x.getArg(m, "version"), l = x.getArg(m, "sections");
|
|
6615
6615
|
if (e != this._version)
|
|
6616
6616
|
throw new Error("Unsupported version: " + e);
|
|
@@ -6632,21 +6632,21 @@ function f5() {
|
|
|
6632
6632
|
generatedLine: b + 1,
|
|
6633
6633
|
generatedColumn: y + 1
|
|
6634
6634
|
},
|
|
6635
|
-
consumer: new s(x.getArg(g, "map"),
|
|
6635
|
+
consumer: new s(x.getArg(g, "map"), z)
|
|
6636
6636
|
};
|
|
6637
6637
|
});
|
|
6638
6638
|
}
|
|
6639
6639
|
return c.prototype = Object.create(s.prototype), c.prototype.constructor = s, c.prototype._version = 3, Object.defineProperty(c.prototype, "sources", {
|
|
6640
6640
|
get: function() {
|
|
6641
|
-
for (var
|
|
6642
|
-
for (var m = 0; m < this._sections[
|
|
6643
|
-
|
|
6644
|
-
return
|
|
6641
|
+
for (var j = [], z = 0; z < this._sections.length; z++)
|
|
6642
|
+
for (var m = 0; m < this._sections[z].consumer.sources.length; m++)
|
|
6643
|
+
j.push(this._sections[z].consumer.sources[m]);
|
|
6644
|
+
return j;
|
|
6645
6645
|
}
|
|
6646
|
-
}), c.prototype.originalPositionFor = function(
|
|
6646
|
+
}), c.prototype.originalPositionFor = function(z) {
|
|
6647
6647
|
var m = {
|
|
6648
|
-
generatedLine: x.getArg(
|
|
6649
|
-
generatedColumn: x.getArg(
|
|
6648
|
+
generatedLine: x.getArg(z, "line"),
|
|
6649
|
+
generatedColumn: x.getArg(z, "column")
|
|
6650
6650
|
}, e = i.search(
|
|
6651
6651
|
m,
|
|
6652
6652
|
this._sections,
|
|
@@ -6658,7 +6658,7 @@ function f5() {
|
|
|
6658
6658
|
return l ? l.consumer.originalPositionFor({
|
|
6659
6659
|
line: m.generatedLine - (l.generatedOffset.generatedLine - 1),
|
|
6660
6660
|
column: m.generatedColumn - (l.generatedOffset.generatedLine === m.generatedLine ? l.generatedOffset.generatedColumn - 1 : 0),
|
|
6661
|
-
bias:
|
|
6661
|
+
bias: z.bias
|
|
6662
6662
|
}) : {
|
|
6663
6663
|
source: null,
|
|
6664
6664
|
line: null,
|
|
@@ -6666,23 +6666,23 @@ function f5() {
|
|
|
6666
6666
|
name: null
|
|
6667
6667
|
};
|
|
6668
6668
|
}, c.prototype.hasContentsOfAllSources = function() {
|
|
6669
|
-
return this._sections.every(function(
|
|
6670
|
-
return
|
|
6669
|
+
return this._sections.every(function(z) {
|
|
6670
|
+
return z.consumer.hasContentsOfAllSources();
|
|
6671
6671
|
});
|
|
6672
|
-
}, c.prototype.sourceContentFor = function(
|
|
6672
|
+
}, c.prototype.sourceContentFor = function(z, m) {
|
|
6673
6673
|
for (var e = 0; e < this._sections.length; e++) {
|
|
6674
|
-
var l = this._sections[e], a = l.consumer.sourceContentFor(
|
|
6674
|
+
var l = this._sections[e], a = l.consumer.sourceContentFor(z, !0);
|
|
6675
6675
|
if (a)
|
|
6676
6676
|
return a;
|
|
6677
6677
|
}
|
|
6678
6678
|
if (m)
|
|
6679
6679
|
return null;
|
|
6680
|
-
throw new Error('"' +
|
|
6681
|
-
}, c.prototype.generatedPositionFor = function(
|
|
6680
|
+
throw new Error('"' + z + '" is not in the SourceMap.');
|
|
6681
|
+
}, c.prototype.generatedPositionFor = function(z) {
|
|
6682
6682
|
for (var m = 0; m < this._sections.length; m++) {
|
|
6683
6683
|
var e = this._sections[m];
|
|
6684
|
-
if (e.consumer._findSourceIndex(x.getArg(
|
|
6685
|
-
var l = e.consumer.generatedPositionFor(
|
|
6684
|
+
if (e.consumer._findSourceIndex(x.getArg(z, "source")) !== -1) {
|
|
6685
|
+
var l = e.consumer.generatedPositionFor(z);
|
|
6686
6686
|
if (l) {
|
|
6687
6687
|
var a = {
|
|
6688
6688
|
line: l.line + (e.generatedOffset.generatedLine - 1),
|
|
@@ -6696,7 +6696,7 @@ function f5() {
|
|
|
6696
6696
|
line: null,
|
|
6697
6697
|
column: null
|
|
6698
6698
|
};
|
|
6699
|
-
}, c.prototype._parseMappings = function(
|
|
6699
|
+
}, c.prototype._parseMappings = function(z, m) {
|
|
6700
6700
|
this.__generatedMappings = [], this.__originalMappings = [];
|
|
6701
6701
|
for (var e = 0; e < this._sections.length; e++)
|
|
6702
6702
|
for (var l = this._sections[e], a = l.consumer._generatedMappings, g = 0; g < a.length; g++) {
|
|
@@ -6717,17 +6717,17 @@ function f5() {
|
|
|
6717
6717
|
f(this.__generatedMappings, x.compareByGeneratedPositionsDeflated), f(this.__originalMappings, x.compareByOriginalPositions);
|
|
6718
6718
|
}, Mn.IndexedSourceMapConsumer = c, Mn;
|
|
6719
6719
|
}
|
|
6720
|
-
var
|
|
6720
|
+
var W1 = {}, Ox;
|
|
6721
6721
|
function l5() {
|
|
6722
6722
|
if (Ox)
|
|
6723
|
-
return
|
|
6723
|
+
return W1;
|
|
6724
6724
|
Ox = 1;
|
|
6725
|
-
var x = w4().SourceMapGenerator, i =
|
|
6726
|
-
function s(r, d, c,
|
|
6727
|
-
this.children = [], this.sourceContents = {}, this.line = r ?? null, this.column = d ?? null, this.source = c ?? null, this.name =
|
|
6725
|
+
var x = w4().SourceMapGenerator, i = g1(), h = /(\r?\n)/, u = 10, f = "$$$isSourceNode$$$";
|
|
6726
|
+
function s(r, d, c, j, z) {
|
|
6727
|
+
this.children = [], this.sourceContents = {}, this.line = r ?? null, this.column = d ?? null, this.source = c ?? null, this.name = z ?? null, this[f] = !0, j != null && this.add(j);
|
|
6728
6728
|
}
|
|
6729
|
-
return s.fromStringWithSourceMap = function(d, c,
|
|
6730
|
-
var
|
|
6729
|
+
return s.fromStringWithSourceMap = function(d, c, j) {
|
|
6730
|
+
var z = new s(), m = d.split(h), e = 0, l = function() {
|
|
6731
6731
|
var y = p(), A = p() || "";
|
|
6732
6732
|
return y + A;
|
|
6733
6733
|
function p() {
|
|
@@ -6744,22 +6744,22 @@ function l5() {
|
|
|
6744
6744
|
return;
|
|
6745
6745
|
}
|
|
6746
6746
|
for (; a < y.generatedLine; )
|
|
6747
|
-
|
|
6747
|
+
z.add(l()), a++;
|
|
6748
6748
|
if (g < y.generatedColumn) {
|
|
6749
6749
|
var A = m[e] || "";
|
|
6750
|
-
|
|
6750
|
+
z.add(A.substr(0, y.generatedColumn)), m[e] = A.substr(y.generatedColumn), g = y.generatedColumn;
|
|
6751
6751
|
}
|
|
6752
6752
|
t = y;
|
|
6753
|
-
}, this), e < m.length && (t && b(t, l()),
|
|
6753
|
+
}, this), e < m.length && (t && b(t, l()), z.add(m.splice(e).join(""))), c.sources.forEach(function(y) {
|
|
6754
6754
|
var A = c.sourceContentFor(y);
|
|
6755
|
-
A != null && (
|
|
6756
|
-
}),
|
|
6755
|
+
A != null && (j != null && (y = i.join(j, y)), z.setSourceContent(y, A));
|
|
6756
|
+
}), z;
|
|
6757
6757
|
function b(y, A) {
|
|
6758
6758
|
if (y === null || y.source === void 0)
|
|
6759
|
-
|
|
6759
|
+
z.add(A);
|
|
6760
6760
|
else {
|
|
6761
|
-
var p =
|
|
6762
|
-
|
|
6761
|
+
var p = j ? i.join(j, y.source) : y.source;
|
|
6762
|
+
z.add(new s(
|
|
6763
6763
|
y.originalLine,
|
|
6764
6764
|
y.originalColumn,
|
|
6765
6765
|
p,
|
|
@@ -6792,31 +6792,31 @@ function l5() {
|
|
|
6792
6792
|
);
|
|
6793
6793
|
return this;
|
|
6794
6794
|
}, s.prototype.walk = function(d) {
|
|
6795
|
-
for (var c,
|
|
6796
|
-
c = this.children[
|
|
6795
|
+
for (var c, j = 0, z = this.children.length; j < z; j++)
|
|
6796
|
+
c = this.children[j], c[f] ? c.walk(d) : c !== "" && d(c, {
|
|
6797
6797
|
source: this.source,
|
|
6798
6798
|
line: this.line,
|
|
6799
6799
|
column: this.column,
|
|
6800
6800
|
name: this.name
|
|
6801
6801
|
});
|
|
6802
6802
|
}, s.prototype.join = function(d) {
|
|
6803
|
-
var c,
|
|
6804
|
-
if (
|
|
6805
|
-
for (c = [],
|
|
6806
|
-
c.push(this.children[
|
|
6807
|
-
c.push(this.children[
|
|
6803
|
+
var c, j, z = this.children.length;
|
|
6804
|
+
if (z > 0) {
|
|
6805
|
+
for (c = [], j = 0; j < z - 1; j++)
|
|
6806
|
+
c.push(this.children[j]), c.push(d);
|
|
6807
|
+
c.push(this.children[j]), this.children = c;
|
|
6808
6808
|
}
|
|
6809
6809
|
return this;
|
|
6810
6810
|
}, s.prototype.replaceRight = function(d, c) {
|
|
6811
|
-
var
|
|
6812
|
-
return
|
|
6811
|
+
var j = this.children[this.children.length - 1];
|
|
6812
|
+
return j[f] ? j.replaceRight(d, c) : typeof j == "string" ? this.children[this.children.length - 1] = j.replace(d, c) : this.children.push("".replace(d, c)), this;
|
|
6813
6813
|
}, s.prototype.setSourceContent = function(d, c) {
|
|
6814
6814
|
this.sourceContents[i.toSetString(d)] = c;
|
|
6815
6815
|
}, s.prototype.walkSourceContents = function(d) {
|
|
6816
|
-
for (var c = 0,
|
|
6816
|
+
for (var c = 0, j = this.children.length; c < j; c++)
|
|
6817
6817
|
this.children[c][f] && this.children[c].walkSourceContents(d);
|
|
6818
|
-
for (var
|
|
6819
|
-
d(i.fromSetString(
|
|
6818
|
+
for (var z = Object.keys(this.sourceContents), c = 0, j = z.length; c < j; c++)
|
|
6819
|
+
d(i.fromSetString(z[c]), this.sourceContents[z[c]]);
|
|
6820
6820
|
}, s.prototype.toString = function() {
|
|
6821
6821
|
var d = "";
|
|
6822
6822
|
return this.walk(function(c) {
|
|
@@ -6827,9 +6827,9 @@ function l5() {
|
|
|
6827
6827
|
code: "",
|
|
6828
6828
|
line: 1,
|
|
6829
6829
|
column: 0
|
|
6830
|
-
},
|
|
6830
|
+
}, j = new x(d), z = !1, m = null, e = null, l = null, a = null;
|
|
6831
6831
|
return this.walk(function(g, t) {
|
|
6832
|
-
c.code += g, t.source !== null && t.line !== null && t.column !== null ? ((m !== t.source || e !== t.line || l !== t.column || a !== t.name) &&
|
|
6832
|
+
c.code += g, t.source !== null && t.line !== null && t.column !== null ? ((m !== t.source || e !== t.line || l !== t.column || a !== t.name) && j.addMapping({
|
|
6833
6833
|
source: t.source,
|
|
6834
6834
|
original: {
|
|
6835
6835
|
line: t.line,
|
|
@@ -6840,14 +6840,14 @@ function l5() {
|
|
|
6840
6840
|
column: c.column
|
|
6841
6841
|
},
|
|
6842
6842
|
name: t.name
|
|
6843
|
-
}), m = t.source, e = t.line, l = t.column, a = t.name,
|
|
6843
|
+
}), m = t.source, e = t.line, l = t.column, a = t.name, z = !0) : z && (j.addMapping({
|
|
6844
6844
|
generated: {
|
|
6845
6845
|
line: c.line,
|
|
6846
6846
|
column: c.column
|
|
6847
6847
|
}
|
|
6848
|
-
}), m = null,
|
|
6848
|
+
}), m = null, z = !1);
|
|
6849
6849
|
for (var b = 0, y = g.length; b < y; b++)
|
|
6850
|
-
g.charCodeAt(b) === u ? (c.line++, c.column = 0, b + 1 === y ? (m = null,
|
|
6850
|
+
g.charCodeAt(b) === u ? (c.line++, c.column = 0, b + 1 === y ? (m = null, z = !1) : z && j.addMapping({
|
|
6851
6851
|
source: t.source,
|
|
6852
6852
|
original: {
|
|
6853
6853
|
line: t.line,
|
|
@@ -6860,9 +6860,9 @@ function l5() {
|
|
|
6860
6860
|
name: t.name
|
|
6861
6861
|
})) : c.column++;
|
|
6862
6862
|
}), this.walkSourceContents(function(g, t) {
|
|
6863
|
-
|
|
6864
|
-
}), { code: c.code, map:
|
|
6865
|
-
},
|
|
6863
|
+
j.setSourceContent(g, t);
|
|
6864
|
+
}), { code: c.code, map: j };
|
|
6865
|
+
}, W1.SourceNode = s, W1;
|
|
6866
6866
|
}
|
|
6867
6867
|
var Lx;
|
|
6868
6868
|
function k4() {
|
|
@@ -6876,8 +6876,8 @@ function k4() {
|
|
|
6876
6876
|
u = f.SourceNode;
|
|
6877
6877
|
} catch {
|
|
6878
6878
|
}
|
|
6879
|
-
u || (u = function(d, c,
|
|
6880
|
-
this.src = "",
|
|
6879
|
+
u || (u = function(d, c, j, z) {
|
|
6880
|
+
this.src = "", z && this.add(z);
|
|
6881
6881
|
}, u.prototype = {
|
|
6882
6882
|
add: function(c) {
|
|
6883
6883
|
h.isArray(c) && (c = c.join("")), this.src += c;
|
|
@@ -6892,11 +6892,11 @@ function k4() {
|
|
|
6892
6892
|
return this.src;
|
|
6893
6893
|
}
|
|
6894
6894
|
});
|
|
6895
|
-
function s(d, c,
|
|
6895
|
+
function s(d, c, j) {
|
|
6896
6896
|
if (h.isArray(d)) {
|
|
6897
|
-
for (var
|
|
6898
|
-
|
|
6899
|
-
return
|
|
6897
|
+
for (var z = [], m = 0, e = d.length; m < e; m++)
|
|
6898
|
+
z.push(c.wrap(d[m], j));
|
|
6899
|
+
return z;
|
|
6900
6900
|
} else if (typeof d == "boolean" || typeof d == "number")
|
|
6901
6901
|
return d + "";
|
|
6902
6902
|
return d;
|
|
@@ -6908,69 +6908,69 @@ function k4() {
|
|
|
6908
6908
|
isEmpty: function() {
|
|
6909
6909
|
return !this.source.length;
|
|
6910
6910
|
},
|
|
6911
|
-
prepend: function(c,
|
|
6912
|
-
this.source.unshift(this.wrap(c,
|
|
6911
|
+
prepend: function(c, j) {
|
|
6912
|
+
this.source.unshift(this.wrap(c, j));
|
|
6913
6913
|
},
|
|
6914
|
-
push: function(c,
|
|
6915
|
-
this.source.push(this.wrap(c,
|
|
6914
|
+
push: function(c, j) {
|
|
6915
|
+
this.source.push(this.wrap(c, j));
|
|
6916
6916
|
},
|
|
6917
6917
|
merge: function() {
|
|
6918
6918
|
var c = this.empty();
|
|
6919
|
-
return this.each(function(
|
|
6920
|
-
c.add([" ",
|
|
6919
|
+
return this.each(function(j) {
|
|
6920
|
+
c.add([" ", j, `
|
|
6921
6921
|
`]);
|
|
6922
6922
|
}), c;
|
|
6923
6923
|
},
|
|
6924
6924
|
each: function(c) {
|
|
6925
|
-
for (var
|
|
6926
|
-
c(this.source[
|
|
6925
|
+
for (var j = 0, z = this.source.length; j < z; j++)
|
|
6926
|
+
c(this.source[j]);
|
|
6927
6927
|
},
|
|
6928
6928
|
empty: function() {
|
|
6929
6929
|
var c = this.currentLocation || { start: {} };
|
|
6930
6930
|
return new u(c.start.line, c.start.column, this.srcFile);
|
|
6931
6931
|
},
|
|
6932
6932
|
wrap: function(c) {
|
|
6933
|
-
var
|
|
6934
|
-
return c instanceof u ? c : (c = s(c, this,
|
|
6933
|
+
var j = arguments.length <= 1 || arguments[1] === void 0 ? this.currentLocation || { start: {} } : arguments[1];
|
|
6934
|
+
return c instanceof u ? c : (c = s(c, this, j), new u(j.start.line, j.start.column, this.srcFile, c));
|
|
6935
6935
|
},
|
|
6936
|
-
functionCall: function(c,
|
|
6937
|
-
return
|
|
6936
|
+
functionCall: function(c, j, z) {
|
|
6937
|
+
return z = this.generateList(z), this.wrap([c, j ? "." + j + "(" : "(", z, ")"]);
|
|
6938
6938
|
},
|
|
6939
6939
|
quotedString: function(c) {
|
|
6940
6940
|
return '"' + (c + "").replace(/\\/g, "\\\\").replace(/"/g, '\\"').replace(/\n/g, "\\n").replace(/\r/g, "\\r").replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029") + '"';
|
|
6941
6941
|
},
|
|
6942
6942
|
objectLiteral: function(c) {
|
|
6943
|
-
var
|
|
6943
|
+
var j = this, z = [];
|
|
6944
6944
|
Object.keys(c).forEach(function(e) {
|
|
6945
|
-
var l = s(c[e],
|
|
6946
|
-
l !== "undefined" &&
|
|
6945
|
+
var l = s(c[e], j);
|
|
6946
|
+
l !== "undefined" && z.push([j.quotedString(e), ":", l]);
|
|
6947
6947
|
});
|
|
6948
|
-
var m = this.generateList(
|
|
6948
|
+
var m = this.generateList(z);
|
|
6949
6949
|
return m.prepend("{"), m.add("}"), m;
|
|
6950
6950
|
},
|
|
6951
6951
|
generateList: function(c) {
|
|
6952
|
-
for (var
|
|
6953
|
-
|
|
6954
|
-
return
|
|
6952
|
+
for (var j = this.empty(), z = 0, m = c.length; z < m; z++)
|
|
6953
|
+
z && j.add(","), j.add(s(c[z], this));
|
|
6954
|
+
return j;
|
|
6955
6955
|
},
|
|
6956
6956
|
generateArray: function(c) {
|
|
6957
|
-
var
|
|
6958
|
-
return
|
|
6957
|
+
var j = this.generateList(c);
|
|
6958
|
+
return j.prepend("["), j.add("]"), j;
|
|
6959
6959
|
}
|
|
6960
6960
|
}, i.default = r, x.exports = i.default;
|
|
6961
|
-
})(c5,
|
|
6961
|
+
})(c5, N1);
|
|
6962
6962
|
(function(x, i) {
|
|
6963
6963
|
i.__esModule = !0;
|
|
6964
6964
|
function h(e) {
|
|
6965
6965
|
return e && e.__esModule ? e : { default: e };
|
|
6966
6966
|
}
|
|
6967
|
-
var u = J0, f = P0, s = h(f), r = z0, d =
|
|
6968
|
-
function
|
|
6967
|
+
var u = J0, f = P0, s = h(f), r = z0, d = N1, c = h(d);
|
|
6968
|
+
function j(e) {
|
|
6969
6969
|
this.value = e;
|
|
6970
6970
|
}
|
|
6971
|
-
function
|
|
6971
|
+
function z() {
|
|
6972
6972
|
}
|
|
6973
|
-
|
|
6973
|
+
z.prototype = {
|
|
6974
6974
|
// PUBLIC API: You can override these methods in a subclass to provide
|
|
6975
6975
|
// alternative compiled forms for name lookup and buffering semantics
|
|
6976
6976
|
nameLookup: function(l, a) {
|
|
@@ -7333,7 +7333,7 @@ function k4() {
|
|
|
7333
7333
|
l === "BlockParam" ? this.pushStackLiteral("blockParams[" + a[0] + "].path[" + a[1] + "]" + (g ? " + " + JSON.stringify("." + g) : "")) : l === "PathExpression" ? this.pushString(a) : l === "SubExpression" ? this.pushStackLiteral("true") : this.pushStackLiteral("null");
|
|
7334
7334
|
},
|
|
7335
7335
|
// HELPERS
|
|
7336
|
-
compiler:
|
|
7336
|
+
compiler: z,
|
|
7337
7337
|
compileChildren: function(l, a) {
|
|
7338
7338
|
for (var g = l.children, t = void 0, b = void 0, y = 0, A = g.length; y < A; y++) {
|
|
7339
7339
|
t = g[y], b = new this.compiler();
|
|
@@ -7361,10 +7361,10 @@ function k4() {
|
|
|
7361
7361
|
this.registers[l] || (this.registers[l] = !0, this.registers.list.push(l));
|
|
7362
7362
|
},
|
|
7363
7363
|
push: function(l) {
|
|
7364
|
-
return l instanceof
|
|
7364
|
+
return l instanceof j || (l = this.source.wrap(l)), this.inlineStack.push(l), l;
|
|
7365
7365
|
},
|
|
7366
7366
|
pushStackLiteral: function(l) {
|
|
7367
|
-
this.push(new
|
|
7367
|
+
this.push(new j(l));
|
|
7368
7368
|
},
|
|
7369
7369
|
pushSource: function(l) {
|
|
7370
7370
|
this.pendingContent && (this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent), this.pendingLocation)), this.pendingContent = void 0), l && this.source.push(l);
|
|
@@ -7374,7 +7374,7 @@ function k4() {
|
|
|
7374
7374
|
if (!this.isInline())
|
|
7375
7375
|
throw new s.default("replaceStack on non-inline");
|
|
7376
7376
|
var y = this.popStack(!0);
|
|
7377
|
-
if (y instanceof
|
|
7377
|
+
if (y instanceof j)
|
|
7378
7378
|
g = [y.value], a = ["(", g], b = !0;
|
|
7379
7379
|
else {
|
|
7380
7380
|
t = !0;
|
|
@@ -7395,7 +7395,7 @@ function k4() {
|
|
|
7395
7395
|
this.inlineStack = [];
|
|
7396
7396
|
for (var a = 0, g = l.length; a < g; a++) {
|
|
7397
7397
|
var t = l[a];
|
|
7398
|
-
if (t instanceof
|
|
7398
|
+
if (t instanceof j)
|
|
7399
7399
|
this.compileStack.push(t);
|
|
7400
7400
|
else {
|
|
7401
7401
|
var b = this.incrStack();
|
|
@@ -7408,7 +7408,7 @@ function k4() {
|
|
|
7408
7408
|
},
|
|
7409
7409
|
popStack: function(l) {
|
|
7410
7410
|
var a = this.isInline(), g = (a ? this.inlineStack : this.compileStack).pop();
|
|
7411
|
-
if (!l && g instanceof
|
|
7411
|
+
if (!l && g instanceof j)
|
|
7412
7412
|
return g.value;
|
|
7413
7413
|
if (!a) {
|
|
7414
7414
|
if (!this.stackSlot)
|
|
@@ -7419,7 +7419,7 @@ function k4() {
|
|
|
7419
7419
|
},
|
|
7420
7420
|
topStack: function() {
|
|
7421
7421
|
var l = this.isInline() ? this.inlineStack : this.compileStack, a = l[l.length - 1];
|
|
7422
|
-
return a instanceof
|
|
7422
|
+
return a instanceof j ? a.value : a;
|
|
7423
7423
|
},
|
|
7424
7424
|
contextName: function(l) {
|
|
7425
7425
|
return this.useDepths && l ? "depths[" + l + "]" : "depth" + l;
|
|
@@ -7457,10 +7457,10 @@ function k4() {
|
|
|
7457
7457
|
return b.loc = JSON.stringify(this.source.currentLocation), b = this.objectLiteral(b), t ? (this.useRegister("options"), g.push("options"), ["options=", b]) : g ? (g.push(b), "") : b;
|
|
7458
7458
|
}
|
|
7459
7459
|
}, function() {
|
|
7460
|
-
for (var e = "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(" "), l =
|
|
7460
|
+
for (var e = "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(" "), l = z.RESERVED_WORDS = {}, a = 0, g = e.length; a < g; a++)
|
|
7461
7461
|
l[e[a]] = !0;
|
|
7462
|
-
}(),
|
|
7463
|
-
return !
|
|
7462
|
+
}(), z.isValidJavaScriptVariableName = function(e) {
|
|
7463
|
+
return !z.RESERVED_WORDS[e] && /^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(e);
|
|
7464
7464
|
};
|
|
7465
7465
|
function m(e, l, a, g, t) {
|
|
7466
7466
|
var b = l.popStack(), y = a.length;
|
|
@@ -7468,25 +7468,25 @@ function k4() {
|
|
|
7468
7468
|
b = l.nameLookup(b, a[g], t);
|
|
7469
7469
|
return e ? [l.aliasable("container.strict"), "(", b, ", ", l.quotedString(a[g]), ", ", JSON.stringify(l.source.currentLocation), " )"] : b;
|
|
7470
7470
|
}
|
|
7471
|
-
i.default =
|
|
7472
|
-
})(s5,
|
|
7471
|
+
i.default = z, x.exports = i.default;
|
|
7472
|
+
})(s5, T1);
|
|
7473
7473
|
(function(x, i) {
|
|
7474
7474
|
i.__esModule = !0;
|
|
7475
7475
|
function h(y) {
|
|
7476
7476
|
return y && y.__esModule ? y : { default: y };
|
|
7477
7477
|
}
|
|
7478
|
-
var u =
|
|
7478
|
+
var u = m1, f = h(u), s = Qn, r = h(s), d = i1, c = h1, j = T1, z = h(j), m = Zn, e = h(m), l = Vn, a = h(l), g = f.default.create;
|
|
7479
7479
|
function t() {
|
|
7480
7480
|
var y = g();
|
|
7481
7481
|
return y.compile = function(A, p) {
|
|
7482
7482
|
return c.compile(A, p, y);
|
|
7483
7483
|
}, y.precompile = function(A, p) {
|
|
7484
7484
|
return c.precompile(A, p, y);
|
|
7485
|
-
}, y.AST = r.default, y.Compiler = c.Compiler, y.JavaScriptCompiler =
|
|
7485
|
+
}, y.AST = r.default, y.Compiler = c.Compiler, y.JavaScriptCompiler = z.default, y.Parser = d.parser, y.parse = d.parse, y.parseWithoutProcessing = d.parseWithoutProcessing, y;
|
|
7486
7486
|
}
|
|
7487
7487
|
var b = t();
|
|
7488
7488
|
b.create = t, a.default(b), b.Visitor = e.default, b.default = b, i.default = b, x.exports = i.default;
|
|
7489
|
-
})(r8,
|
|
7489
|
+
})(r8, Kn);
|
|
7490
7490
|
/*! *****************************************************************************
|
|
7491
7491
|
Copyright (C) Microsoft. All rights reserved.
|
|
7492
7492
|
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
@@ -7504,7 +7504,7 @@ and limitations under the License.
|
|
|
7504
7504
|
var Rx;
|
|
7505
7505
|
(function(x) {
|
|
7506
7506
|
(function(i) {
|
|
7507
|
-
var h = typeof
|
|
7507
|
+
var h = typeof j1 == "object" ? j1 : typeof self == "object" ? self : typeof this == "object" ? this : Function("return this;")(), u = f(x);
|
|
7508
7508
|
typeof h.Reflect > "u" ? h.Reflect = x : u = f(h.Reflect, u), i(u);
|
|
7509
7509
|
function f(s, r) {
|
|
7510
7510
|
return function(d, c) {
|
|
@@ -7512,7 +7512,7 @@ var Rx;
|
|
|
7512
7512
|
};
|
|
7513
7513
|
}
|
|
7514
7514
|
})(function(i) {
|
|
7515
|
-
var h = Object.prototype.hasOwnProperty, u = typeof Symbol == "function", f = u && typeof Symbol.toPrimitive < "u" ? Symbol.toPrimitive : "@@toPrimitive", s = u && typeof Symbol.iterator < "u" ? Symbol.iterator : "@@iterator", r = typeof Object.create == "function", d = { __proto__: [] } instanceof Array, c = !r && !d,
|
|
7515
|
+
var h = Object.prototype.hasOwnProperty, u = typeof Symbol == "function", f = u && typeof Symbol.toPrimitive < "u" ? Symbol.toPrimitive : "@@toPrimitive", s = u && typeof Symbol.iterator < "u" ? Symbol.iterator : "@@iterator", r = typeof Object.create == "function", d = { __proto__: [] } instanceof Array, c = !r && !d, j = {
|
|
7516
7516
|
// create an object in dictionary mode (a.k.a. "slow" mode in v8)
|
|
7517
7517
|
create: r ? function() {
|
|
7518
7518
|
return gn(/* @__PURE__ */ Object.create(null));
|
|
@@ -7531,7 +7531,7 @@ var Rx;
|
|
|
7531
7531
|
} : function(_, O) {
|
|
7532
7532
|
return _[O];
|
|
7533
7533
|
}
|
|
7534
|
-
},
|
|
7534
|
+
}, z = Object.getPrototypeOf(Function), m = typeof process == "object" && process.env && process.env.REFLECT_METADATA_USE_MAP_POLYFILL === "true", e = !m && typeof Map == "function" && typeof Map.prototype.entries == "function" ? Map : _n(), l = !m && typeof Set == "function" && typeof Set.prototype.entries == "function" ? Set : Tn(), a = !m && typeof WeakMap == "function" ? WeakMap : Nn(), g = new a();
|
|
7535
7535
|
function t(_, O, I, $) {
|
|
7536
7536
|
if (n0(I)) {
|
|
7537
7537
|
if (!tn(_))
|
|
@@ -7895,7 +7895,7 @@ var Rx;
|
|
|
7895
7895
|
}
|
|
7896
7896
|
function cn(_) {
|
|
7897
7897
|
var O = Object.getPrototypeOf(_);
|
|
7898
|
-
if (typeof _ != "function" || _ ===
|
|
7898
|
+
if (typeof _ != "function" || _ === z || O !== z)
|
|
7899
7899
|
return O;
|
|
7900
7900
|
var I = _.prototype, $ = I && Object.getPrototypeOf(I);
|
|
7901
7901
|
if ($ == null || $ === Object.prototype)
|
|
@@ -8026,7 +8026,7 @@ var Rx;
|
|
|
8026
8026
|
}();
|
|
8027
8027
|
}
|
|
8028
8028
|
function Nn() {
|
|
8029
|
-
var _ = 16, O =
|
|
8029
|
+
var _ = 16, O = j.create(), I = $();
|
|
8030
8030
|
return function() {
|
|
8031
8031
|
function g0() {
|
|
8032
8032
|
this._key = $();
|
|
@@ -8037,14 +8037,14 @@ var Rx;
|
|
|
8037
8037
|
/*create*/
|
|
8038
8038
|
!1
|
|
8039
8039
|
);
|
|
8040
|
-
return u0 !== void 0 ?
|
|
8040
|
+
return u0 !== void 0 ? j.has(u0, this._key) : !1;
|
|
8041
8041
|
}, g0.prototype.get = function(a0) {
|
|
8042
8042
|
var u0 = x0(
|
|
8043
8043
|
a0,
|
|
8044
8044
|
/*create*/
|
|
8045
8045
|
!1
|
|
8046
8046
|
);
|
|
8047
|
-
return u0 !== void 0 ?
|
|
8047
|
+
return u0 !== void 0 ? j.get(u0, this._key) : void 0;
|
|
8048
8048
|
}, g0.prototype.set = function(a0, u0) {
|
|
8049
8049
|
var L0 = x0(
|
|
8050
8050
|
a0,
|
|
@@ -8067,14 +8067,14 @@ var Rx;
|
|
|
8067
8067
|
var g0;
|
|
8068
8068
|
do
|
|
8069
8069
|
g0 = "@@WeakMap@@" + e0();
|
|
8070
|
-
while (
|
|
8070
|
+
while (j.has(O, g0));
|
|
8071
8071
|
return O[g0] = !0, g0;
|
|
8072
8072
|
}
|
|
8073
8073
|
function x0(g0, a0) {
|
|
8074
8074
|
if (!h.call(g0, I)) {
|
|
8075
8075
|
if (!a0)
|
|
8076
8076
|
return;
|
|
8077
|
-
Object.defineProperty(g0, I, { value:
|
|
8077
|
+
Object.defineProperty(g0, I, { value: j.create() });
|
|
8078
8078
|
}
|
|
8079
8079
|
return g0[I];
|
|
8080
8080
|
}
|
|
@@ -90675,11 +90675,11 @@ var Xx = {
|
|
|
90675
90675
|
}).forEach(function(d) {
|
|
90676
90676
|
var c = d.split("|");
|
|
90677
90677
|
if (c.length > 2) {
|
|
90678
|
-
var
|
|
90679
|
-
|
|
90678
|
+
var j = c[0].trim(), z = Number(c[1]), m = Number(c[2]);
|
|
90679
|
+
j.length > 0 && (s[j] = {
|
|
90680
90680
|
f: m,
|
|
90681
|
-
p:
|
|
90682
|
-
}, r[
|
|
90681
|
+
p: z
|
|
90682
|
+
}, r[j.length] || (r[j.length] = {}), r[j.length][j] = s[j]);
|
|
90683
90683
|
}
|
|
90684
90684
|
});
|
|
90685
90685
|
}
|
|
@@ -90726,25 +90726,25 @@ var Xx = {
|
|
|
90726
90726
|
u = u || {};
|
|
90727
90727
|
var s = [];
|
|
90728
90728
|
h.replace(/\r/g, `
|
|
90729
|
-
`).split(/\n+/).forEach(function(
|
|
90730
|
-
var
|
|
90731
|
-
if (!(
|
|
90732
|
-
var m = f.tokenizer.split(
|
|
90729
|
+
`).split(/\n+/).forEach(function(z) {
|
|
90730
|
+
var z = z.trim();
|
|
90731
|
+
if (!(z.length < 1)) {
|
|
90732
|
+
var m = f.tokenizer.split(z, f.modules.tokenizer);
|
|
90733
90733
|
m = f.optimizer.doOptimize(m, f.modules.optimizer), m.length > 0 && (s = s.concat(m));
|
|
90734
90734
|
}
|
|
90735
|
-
}), u.stripPunctuation && (s = s.filter(function(
|
|
90736
|
-
return
|
|
90735
|
+
}), u.stripPunctuation && (s = s.filter(function(j) {
|
|
90736
|
+
return j.p !== Xx.D_W;
|
|
90737
90737
|
}));
|
|
90738
|
-
function r(
|
|
90739
|
-
var
|
|
90740
|
-
return
|
|
90741
|
-
return e.w in m ? (
|
|
90738
|
+
function r(j) {
|
|
90739
|
+
var z = 0, m = f.getDict("SYNONYM");
|
|
90740
|
+
return j = j.map(function(e) {
|
|
90741
|
+
return e.w in m ? (z++, {
|
|
90742
90742
|
w: m[e.w],
|
|
90743
90743
|
p: e.p
|
|
90744
90744
|
}) : e;
|
|
90745
90745
|
}), {
|
|
90746
|
-
count:
|
|
90747
|
-
list:
|
|
90746
|
+
count: z,
|
|
90747
|
+
list: j
|
|
90748
90748
|
};
|
|
90749
90749
|
}
|
|
90750
90750
|
if (u.convertSynonym)
|
|
@@ -90754,12 +90754,12 @@ var Xx = {
|
|
|
90754
90754
|
} while (d.count > 0);
|
|
90755
90755
|
if (u.stripStopword) {
|
|
90756
90756
|
var c = f.getDict("STOPWORD");
|
|
90757
|
-
s = s.filter(function(
|
|
90758
|
-
return !(
|
|
90757
|
+
s = s.filter(function(j) {
|
|
90758
|
+
return !(j.w in c);
|
|
90759
90759
|
});
|
|
90760
90760
|
}
|
|
90761
|
-
return u.simple && (s = s.map(function(
|
|
90762
|
-
return
|
|
90761
|
+
return u.simple && (s = s.map(function(j) {
|
|
90762
|
+
return j.w;
|
|
90763
90763
|
})), s;
|
|
90764
90764
|
}), this.POSTAG = Xx, this.DICT = {}, this.modules = {
|
|
90765
90765
|
tokenizer: [],
|
|
@@ -90827,7 +90827,7 @@ var Xx = {
|
|
|
90827
90827
|
return u = G0(this, (h = T0(i)).call.apply(h, [this].concat(s))), nn(px(u), "type", "tokenizer"), u;
|
|
90828
90828
|
}
|
|
90829
90829
|
return i;
|
|
90830
|
-
}(E4),
|
|
90830
|
+
}(E4), u1 = /* @__PURE__ */ function(x) {
|
|
90831
90831
|
U0(i, x);
|
|
90832
90832
|
function i() {
|
|
90833
90833
|
var h, u;
|
|
@@ -90862,14 +90862,14 @@ var Xx = {
|
|
|
90862
90862
|
return u === f.D_N || u === f.A_NT || u === f.A_NX || u === f.A_NZ || u === f.A_NR || u === f.A_NS || u === f.URL;
|
|
90863
90863
|
}
|
|
90864
90864
|
}]), i;
|
|
90865
|
-
}(
|
|
90866
|
-
function
|
|
90865
|
+
}(u1);
|
|
90866
|
+
function e1(x, i) {
|
|
90867
90867
|
var h = {};
|
|
90868
90868
|
return x.forEach(function(u) {
|
|
90869
90869
|
h[u] = i;
|
|
90870
90870
|
}), h;
|
|
90871
90871
|
}
|
|
90872
|
-
var bn =
|
|
90872
|
+
var bn = e1([
|
|
90873
90873
|
// 有明显歧义的姓氏
|
|
90874
90874
|
"王",
|
|
90875
90875
|
"张",
|
|
@@ -91131,7 +91131,7 @@ var bn = u1([
|
|
|
91131
91131
|
"盍",
|
|
91132
91132
|
"单",
|
|
91133
91133
|
"欧"
|
|
91134
|
-
], 1), yn =
|
|
91134
|
+
], 1), yn = e1(["司马", "上官", "欧阳", "夏侯", "诸葛", "闻人", "东方", "赫连", "皇甫", "尉迟", "公羊", "澹台", "公冶", "宗政", "濮阳", "淳于", "单于", "太叔", "申屠", "公孙", "仲孙", "轩辕", "令狐", "徐离", "宇文", "长孙", "慕容", "司徒", "司空", "万俟"], 2), tx = e1(["阿", "建", "小", "晓", "文", "志", "国", "玉", "丽", "永", "海", "春", "金", "明", "新", "德", "秀", "红", "亚", "伟", "雪", "俊", "桂", "爱", "美", "世", "正", "庆", "学", "家", "立", "淑", "振", "云", "华", "光", "惠", "兴", "天", "长", "艳", "慧", "利", "宏", "佳", "瑞", "凤", "荣", "秋", "继", "嘉", "卫", "燕", "思", "维", "少", "福", "忠", "宝", "子", "成", "月", "洪", "东", "一", "泽", "林", "大", "素", "旭", "宇", "智", "锦", "冬", "玲", "雅", "伯", "翠", "传", "启", "剑", "安", "树", "良", "中", "梦", "广", "昌", "元", "万", "清", "静", "友", "宗", "兆", "丹", "克", "彩", "绍", "喜", "远", "朝", "敏", "培", "胜", "祖", "先", "菊", "士", "向", "有", "连", "军", "健", "巧", "耀", "莉", "英", "方", "和", "仁", "孝", "梅", "汉", "兰", "松", "水", "江", "益", "开", "景", "运", "贵", "祥", "青", "芳", "碧", "婷", "龙", "鹏", "自", "顺", "双", "书", "生", "义", "跃", "银", "佩", "雨", "保", "贤", "仲", "鸿", "浩", "加", "定", "炳", "飞", "锡", "柏", "发", "超", "道", "怀", "进", "其", "富", "平", "全", "阳", "吉", "茂", "彦", "诗", "洁", "润", "承", "治", "焕", "如", "君", "增", "善", "希", "根", "应", "勇", "宜", "守", "会", "凯", "育", "湘", "凌", "本", "敬", "博", "延", "乐", "三", "二", "四", "五", "六", "七", "八", "九", "十"], 1), sx = e1(["华", "平", "明", "英", "军", "林", "萍", "芳", "玲", "红", "生", "霞", "梅", "文", "荣", "珍", "兰", "娟", "峰", "琴", "云", "辉", "东", "龙", "敏", "伟", "强", "丽", "春", "杰", "燕", "民", "君", "波", "国", "芬", "清", "祥", "斌", "婷", "飞", "良", "忠", "新", "凤", "锋", "成", "勇", "刚", "玉", "元", "宇", "海", "兵", "安", "庆", "涛", "鹏", "亮", "青", "阳", "艳", "松", "江", "莲", "娜", "兴", "光", "德", "武", "香", "俊", "秀", "慧", "雄", "才", "宏", "群", "琼", "胜", "超", "彬", "莉", "中", "山", "富", "花", "宁", "利", "贵", "福", "发", "义", "蓉", "喜", "娥", "昌", "仁", "志", "全", "宝", "权", "美", "琳", "建", "金", "贤", "星", "丹", "根", "和", "珠", "康", "菊", "琪", "坤", "泉", "秋", "静", "佳", "顺", "源", "珊", "达", "欣", "如", "莹", "章", "浩", "勤", "芹", "容", "友", "芝", "豪", "洁", "鑫", "惠", "洪", "旺", "虎", "远", "妮", "森", "妹", "南", "雯", "奇", "健", "卿", "虹", "娇", "媛", "怡", "铭", "川", "进", "博", "智", "来", "琦", "学", "聪", "洋", "乐", "年", "翔", "然", "栋", "凯", "颖", "鸣", "丰", "瑞", "奎", "立", "堂", "威", "雪", "鸿", "晶", "桂", "凡", "娣", "先", "洲", "毅", "雅", "月", "旭", "田", "晖", "方", "恒", "亚", "泽", "风", "银", "高", "贞", "九", "薇"], 2), P1 = e1(["家", "民", "敏", "伟", "勇", "军", "斌", "静", "丽", "涛", "芳", "杰", "萍", "强", "俊", "明", "燕", "磊", "玲", "华", "平", "鹏", "健", "波", "红", "丹", "辉", "超", "艳", "莉", "刚", "娟", "峰", "婷", "亮", "洁", "颖", "琳", "英", "慧", "飞", "霞", "浩", "凯", "宇", "毅", "林", "佳", "云", "莹", "娜", "晶", "洋", "文", "鑫", "欣", "琴", "宁", "琼", "兵", "青", "琦", "翔", "彬", "锋", "阳", "璐", "旭", "蕾", "剑", "虹", "蓉", "建", "倩", "梅", "宏", "威", "博", "君", "力", "龙", "晨", "薇", "雪", "琪", "欢", "荣", "江", "炜", "成", "庆", "冰", "东", "帆", "雷", "楠", "锐", "进", "海", "凡", "巍", "维", "迪", "媛", "玮", "杨", "群", "瑛", "悦", "春", "瑶", "婧", "兰", "茜", "松", "爽", "立", "瑜", "睿", "晖", "聪", "帅", "瑾", "骏", "雯", "晓", "昊", "勤", "新", "瑞", "岩", "星", "忠", "志", "怡", "坤", "康", "航", "利", "畅", "坚", "雄", "智", "萌", "哲", "岚", "洪", "捷", "珊", "恒", "靖", "清", "扬", "昕", "乐", "武", "玉", "诚", "菲", "锦", "凤", "珍", "晔", "妍", "璇", "胜", "菁", "科", "芬", "露", "越", "彤", "曦", "义", "良", "鸣", "芸", "方", "月", "铭", "光", "震", "冬", "源", "政", "虎", "莎", "彪", "蓓", "钢", "凌", "奇", "卫", "彦", "烨", "可", "黎", "川", "淼", "惠", "祥", "然", "三", "二", "一", "四", "五", "六", "七", "八", "九", "十"], 1), k5 = /* @__PURE__ */ function(x) {
|
|
91135
91135
|
U0(i, x);
|
|
91136
91136
|
function i() {
|
|
91137
91137
|
return F0(this, i), G0(this, T0(i).apply(this, arguments));
|
|
@@ -91149,13 +91149,13 @@ var bn = u1([
|
|
|
91149
91149
|
s.push(d);
|
|
91150
91150
|
continue;
|
|
91151
91151
|
}
|
|
91152
|
-
for (var
|
|
91153
|
-
m.c >
|
|
91154
|
-
w: d.w.substr(
|
|
91152
|
+
for (var j = 0, z = 0, m; m = c[z]; z++)
|
|
91153
|
+
m.c > j && s.push({
|
|
91154
|
+
w: d.w.substr(j, m.c - j)
|
|
91155
91155
|
}), s.push({
|
|
91156
91156
|
w: m.w,
|
|
91157
91157
|
p: f.A_NR
|
|
91158
|
-
}),
|
|
91158
|
+
}), j = m.c + m.w.length;
|
|
91159
91159
|
var e = c[c.length - 1];
|
|
91160
91160
|
e.c + e.w.length < d.w.length && s.push({
|
|
91161
91161
|
w: d.w.substr(e.c + e.w.length)
|
|
@@ -91172,13 +91172,13 @@ var bn = u1([
|
|
|
91172
91172
|
for (var r = []; s < u.length; ) {
|
|
91173
91173
|
var d = !1, c = u.substr(s, 2);
|
|
91174
91174
|
if (c in yn) {
|
|
91175
|
-
var
|
|
91176
|
-
|
|
91175
|
+
var j = u.charAt(s + 2), z = u.charAt(s + 3);
|
|
91176
|
+
j in tx && z in sx ? d = c + j + z : j in P1 && (d = c + j + (j === z ? z : ""));
|
|
91177
91177
|
}
|
|
91178
91178
|
var m = u.charAt(s);
|
|
91179
91179
|
if (d === !1 && m in bn) {
|
|
91180
91180
|
var e = u.charAt(s + 1), l = u.charAt(s + 2);
|
|
91181
|
-
e in tx && l in sx ? d = m + e + l : e in
|
|
91181
|
+
e in tx && l in sx ? d = m + e + l : e in P1 && (d = m + e + (e === l ? l : ""));
|
|
91182
91182
|
}
|
|
91183
91183
|
d === !1 ? s++ : (r.push({
|
|
91184
91184
|
w: d,
|
|
@@ -91205,47 +91205,47 @@ var bn = u1([
|
|
|
91205
91205
|
value: function(u, f) {
|
|
91206
91206
|
typeof f > "u" && (f = !1);
|
|
91207
91207
|
for (var s = this.segment.getDict("TABLE"), r = this.segment.POSTAG, d = 0, c = u.length - 1; d < c; ) {
|
|
91208
|
-
var
|
|
91209
|
-
if (
|
|
91208
|
+
var j = u[d], z = u[d + 1], m = j.w + z.w;
|
|
91209
|
+
if (j.p === z.p && m in s) {
|
|
91210
91210
|
u.splice(d, 2, {
|
|
91211
91211
|
w: m,
|
|
91212
91212
|
p: s[m].p
|
|
91213
91213
|
}), c--;
|
|
91214
91214
|
continue;
|
|
91215
91215
|
}
|
|
91216
|
-
if ((
|
|
91216
|
+
if ((j.p & r.D_A) > 0 && z.p & r.D_U) {
|
|
91217
91217
|
u.splice(d, 2, {
|
|
91218
91218
|
w: m,
|
|
91219
91219
|
p: r.D_A
|
|
91220
91220
|
}), c--;
|
|
91221
91221
|
continue;
|
|
91222
91222
|
}
|
|
91223
|
-
if ((
|
|
91224
|
-
if ((
|
|
91223
|
+
if ((j.p & r.A_M) > 0) {
|
|
91224
|
+
if ((z.p & r.A_M) > 0 || z.w === "%") {
|
|
91225
91225
|
u.splice(d, 2, {
|
|
91226
|
-
w:
|
|
91226
|
+
w: j.w + z.w,
|
|
91227
91227
|
p: r.A_M
|
|
91228
91228
|
}), c--;
|
|
91229
91229
|
continue;
|
|
91230
91230
|
}
|
|
91231
|
-
if ((
|
|
91231
|
+
if ((z.p & r.A_Q) > 0) {
|
|
91232
91232
|
u.splice(d, 2, {
|
|
91233
|
-
w:
|
|
91233
|
+
w: j.w + z.w,
|
|
91234
91234
|
p: r.D_MQ
|
|
91235
91235
|
// 数量词
|
|
91236
91236
|
}), c--;
|
|
91237
91237
|
continue;
|
|
91238
91238
|
}
|
|
91239
91239
|
var e = u[d + 2];
|
|
91240
|
-
if (e && (e.p & r.A_M) > 0 && (
|
|
91240
|
+
if (e && (e.p & r.A_M) > 0 && (z.w === "." || z.w === "点" || z.w === "分之")) {
|
|
91241
91241
|
u.splice(d, 3, {
|
|
91242
|
-
w:
|
|
91242
|
+
w: j.w + z.w + e.w,
|
|
91243
91243
|
p: r.A_M
|
|
91244
91244
|
}), c -= 2;
|
|
91245
91245
|
continue;
|
|
91246
91246
|
}
|
|
91247
91247
|
}
|
|
91248
|
-
if ((
|
|
91248
|
+
if ((j.p & r.D_MQ) > 0 && j.w.substr(-1) === "点" && z.p & r.A_M) {
|
|
91249
91249
|
for (var l = 2, a = "", g = d + l; g < c; g++) {
|
|
91250
91250
|
var e = u[g];
|
|
91251
91251
|
if ((e.p & r.A_M) > 0)
|
|
@@ -91254,7 +91254,7 @@ var bn = u1([
|
|
|
91254
91254
|
break;
|
|
91255
91255
|
}
|
|
91256
91256
|
u.splice(d, l, {
|
|
91257
|
-
w:
|
|
91257
|
+
w: j.w + z.w + a,
|
|
91258
91258
|
p: r.D_MQ
|
|
91259
91259
|
// 数量词
|
|
91260
91260
|
}), c -= l - 1;
|
|
@@ -91265,9 +91265,9 @@ var bn = u1([
|
|
|
91265
91265
|
return f === !0 ? u : this.doOptimize(u, !0);
|
|
91266
91266
|
}
|
|
91267
91267
|
}]), i;
|
|
91268
|
-
}(
|
|
91268
|
+
}(u1), Jx = "!\"#$%&'*+-/0123456789=?@ABCDEFGHIJKLMNOPQRSTUVWXYZ^_`abcdefghijklmnopqrstuvwxyz{|}~.".split(""), f1 = {};
|
|
91269
91269
|
for (var E5 in Jx)
|
|
91270
|
-
|
|
91270
|
+
f1[Jx[E5]] = 1;
|
|
91271
91271
|
var A5 = /* @__PURE__ */ function(x) {
|
|
91272
91272
|
U0(i, x);
|
|
91273
91273
|
function i() {
|
|
@@ -91277,16 +91277,16 @@ var A5 = /* @__PURE__ */ function(x) {
|
|
|
91277
91277
|
key: "doOptimize",
|
|
91278
91278
|
value: function(u) {
|
|
91279
91279
|
for (var f = this.segment.POSTAG, s = 0, r = u.length - 1, d = !1, c = !1; s < r; ) {
|
|
91280
|
-
var
|
|
91281
|
-
if (d === !1 &&
|
|
91280
|
+
var j = u[s], z = j.p === f.A_NX || j.p === f.A_M && j.w.charCodeAt(0) < 128;
|
|
91281
|
+
if (d === !1 && z) {
|
|
91282
91282
|
d = s, s++;
|
|
91283
91283
|
continue;
|
|
91284
91284
|
} else {
|
|
91285
|
-
if (c === !1 &&
|
|
91285
|
+
if (c === !1 && j.w === "@") {
|
|
91286
91286
|
c = !0, s++;
|
|
91287
91287
|
continue;
|
|
91288
91288
|
}
|
|
91289
|
-
if (c !== !1 && u[s - 1].w != "@" &&
|
|
91289
|
+
if (c !== !1 && u[s - 1].w != "@" && z === !1 && !(j.w in f1)) {
|
|
91290
91290
|
var m = u.slice(d, s);
|
|
91291
91291
|
u.splice(d, m.length, {
|
|
91292
91292
|
w: i.toEmailAddress(m),
|
|
@@ -91294,7 +91294,7 @@ var A5 = /* @__PURE__ */ function(x) {
|
|
|
91294
91294
|
}), s = d + 1, r -= m.length - 1, d = !1, c = !1;
|
|
91295
91295
|
continue;
|
|
91296
91296
|
}
|
|
91297
|
-
if (d !== !1 && (
|
|
91297
|
+
if (d !== !1 && (z || j.w in f1)) {
|
|
91298
91298
|
s++;
|
|
91299
91299
|
continue;
|
|
91300
91300
|
}
|
|
@@ -91302,8 +91302,8 @@ var A5 = /* @__PURE__ */ function(x) {
|
|
|
91302
91302
|
d = !1, c = !1, s++;
|
|
91303
91303
|
}
|
|
91304
91304
|
if (d && c && u[r]) {
|
|
91305
|
-
var
|
|
91306
|
-
if (
|
|
91305
|
+
var j = u[r], z = j.p === f.A_NX || j.p === f.A_M && j.w in f1;
|
|
91306
|
+
if (z) {
|
|
91307
91307
|
var m = u.slice(d, u.length);
|
|
91308
91308
|
u.splice(d, m.length, {
|
|
91309
91309
|
w: i.toEmailAddress(m),
|
|
@@ -91327,13 +91327,13 @@ var A5 = /* @__PURE__ */ function(x) {
|
|
|
91327
91327
|
return f;
|
|
91328
91328
|
}
|
|
91329
91329
|
}]), i;
|
|
91330
|
-
}(
|
|
91330
|
+
}(u1), zn = " ,.;+-|/\\'\":?<>[]{}=!@#$%^&*()~`。,、':∶;?‘’“”〝〞ˆˇ﹕︰﹔﹖﹑·¨….¸;!´?!~—ˉ|‖"〃`@﹫¡¿﹏﹋﹌︴々﹟#﹩$﹠&﹪%*﹡﹢﹦﹤‐ ̄¯―﹨ˆ˜﹍﹎+=<__-ˇ~﹉﹊()〈〉‹›﹛﹜『』〖〗[]《》〔〕{}「」【】︵︷︿︹︽_﹁﹃︻︶︸﹀︺︾ˉ﹂﹄︼+-×÷﹢﹣±/=≈≡≠∧∨∑∏∪∩∈⊙⌒⊥∥∠∽≌<>≤≥≮≯∧∨√﹙﹚[]﹛﹜∫∮∝∞⊙∏┌┬┐┏┳┓╒╤╕─│├┼┤┣╋┫╞╪╡━┃└┴┘┗┻┛╘╧╛┄┆┅┇╭─╮┏━┓╔╦╗┈┊│╳│┃┃╠╬╣┉┋╰─╯┗━┛╚╩╝╲╱┞┟┠┡┢┦┧┨┩┪╉╊┭┮┯┰┱┲┵┶┷┸╇╈┹┺┽┾┿╀╁╂╃╄╅╆○◇□△▽☆●◆■▲▼★♠♥♦♣☼☺◘♀√☻◙♂×▁▂▃▄▅▆▇█⊙◎۞卍卐╱╲▁▏↖↗↑←↔◤◥╲╱▔▕↙↘↓→↕◣◢∷▒░℡™";
|
|
91331
91331
|
zn = zn.split("");
|
|
91332
|
-
var v5 = {},
|
|
91333
|
-
for (var
|
|
91334
|
-
if (zn[
|
|
91335
|
-
var On = zn[
|
|
91336
|
-
v5[zn[
|
|
91332
|
+
var v5 = {}, Wn = {};
|
|
91333
|
+
for (var r1 in zn)
|
|
91334
|
+
if (zn[r1] !== "") {
|
|
91335
|
+
var On = zn[r1].length;
|
|
91336
|
+
v5[zn[r1]] = On, Wn[On] || (Wn[On] = {}), Wn[On][zn[r1]] = On;
|
|
91337
91337
|
}
|
|
91338
91338
|
var C5 = /* @__PURE__ */ function(x) {
|
|
91339
91339
|
U0(i, x);
|
|
@@ -91353,13 +91353,13 @@ var C5 = /* @__PURE__ */ function(x) {
|
|
|
91353
91353
|
s.push(d);
|
|
91354
91354
|
continue;
|
|
91355
91355
|
}
|
|
91356
|
-
for (var
|
|
91357
|
-
m.c >
|
|
91358
|
-
w: d.w.substr(
|
|
91356
|
+
for (var j = 0, z = 0, m; m = c[z]; z++)
|
|
91357
|
+
m.c > j && s.push({
|
|
91358
|
+
w: d.w.substr(j, m.c - j)
|
|
91359
91359
|
}), m.w != " " && s.push({
|
|
91360
91360
|
w: m.w,
|
|
91361
91361
|
p: f.D_W
|
|
91362
|
-
}),
|
|
91362
|
+
}), j = m.c + m.w.length;
|
|
91363
91363
|
var e = c[c.length - 1];
|
|
91364
91364
|
e.c + e.w.length < d.w.length && s.push({
|
|
91365
91365
|
w: d.w.substr(e.c + e.w.length)
|
|
@@ -91379,9 +91379,9 @@ var C5 = /* @__PURE__ */ function(x) {
|
|
|
91379
91379
|
value: function(u, f) {
|
|
91380
91380
|
isNaN(f) && (f = 0);
|
|
91381
91381
|
for (var s = [], r = !1; f < u.length; ) {
|
|
91382
|
-
for (var d in
|
|
91382
|
+
for (var d in Wn) {
|
|
91383
91383
|
var c = u.substr(f, d);
|
|
91384
|
-
if (c in
|
|
91384
|
+
if (c in Wn[d]) {
|
|
91385
91385
|
s.push({
|
|
91386
91386
|
w: c,
|
|
91387
91387
|
c: f
|
|
@@ -91394,12 +91394,12 @@ var C5 = /* @__PURE__ */ function(x) {
|
|
|
91394
91394
|
return s;
|
|
91395
91395
|
}
|
|
91396
91396
|
}]), i;
|
|
91397
|
-
}(Cn),
|
|
91398
|
-
for (var
|
|
91399
|
-
|
|
91397
|
+
}(Cn), l1 = ["http://", "https://", "ftp://", "news://", "telnet://"], cx = 100;
|
|
91398
|
+
for (var I1 in l1)
|
|
91399
|
+
l1[I1].length < cx && (cx = l1[I1].length);
|
|
91400
91400
|
var Wx = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "!", "#", "$", "%", "&", "‘", "(", ")", "*", "+", ",", "-", ".", "/", ":", ";", "=", "?", "@", "[", "\\", "]", "^", "_", "`", "|", "~"], A4 = {};
|
|
91401
|
-
for (var
|
|
91402
|
-
A4[Wx[
|
|
91401
|
+
for (var I1 in Wx)
|
|
91402
|
+
A4[Wx[I1]] = 1;
|
|
91403
91403
|
var F5 = /* @__PURE__ */ function(x) {
|
|
91404
91404
|
U0(i, x);
|
|
91405
91405
|
function i() {
|
|
@@ -91418,13 +91418,13 @@ var F5 = /* @__PURE__ */ function(x) {
|
|
|
91418
91418
|
s.push(d);
|
|
91419
91419
|
continue;
|
|
91420
91420
|
}
|
|
91421
|
-
for (var
|
|
91422
|
-
m.c >
|
|
91423
|
-
w: d.w.substr(
|
|
91421
|
+
for (var j = 0, z = 0, m; m = c[z]; z++)
|
|
91422
|
+
m.c > j && s.push({
|
|
91423
|
+
w: d.w.substr(j, m.c - j)
|
|
91424
91424
|
}), s.push({
|
|
91425
91425
|
w: m.w,
|
|
91426
91426
|
p: f.URL
|
|
91427
|
-
}),
|
|
91427
|
+
}), j = m.c + m.w.length;
|
|
91428
91428
|
var e = c[c.length - 1];
|
|
91429
91429
|
e.c + e.w.length < d.w.length && s.push({
|
|
91430
91430
|
w: d.w.substr(e.c + e.w.length)
|
|
@@ -91445,7 +91445,7 @@ var F5 = /* @__PURE__ */ function(x) {
|
|
|
91445
91445
|
isNaN(f) && (f = 0);
|
|
91446
91446
|
for (var s = [], r = !1; f < u.length; ) {
|
|
91447
91447
|
if (r === !1 && f < u.length - cx) {
|
|
91448
|
-
for (var d = 0, c; c =
|
|
91448
|
+
for (var d = 0, c; c = l1[d]; d++)
|
|
91449
91449
|
if (u.substr(f, c.length) === c) {
|
|
91450
91450
|
r = f, f += c.length - 1;
|
|
91451
91451
|
break;
|
|
@@ -91488,7 +91488,7 @@ var F5 = /* @__PURE__ */ function(x) {
|
|
|
91488
91488
|
}), s++;
|
|
91489
91489
|
continue;
|
|
91490
91490
|
}
|
|
91491
|
-
if ((!r.p || !d.p) && (r.w in
|
|
91491
|
+
if ((!r.p || !d.p) && (r.w in P1 && r.w === d.w || r.w in tx && d.w in sx)) {
|
|
91492
91492
|
u.splice(s, 2, {
|
|
91493
91493
|
w: r.w + d.w,
|
|
91494
91494
|
p: f.A_NR
|
|
@@ -91508,10 +91508,10 @@ var F5 = /* @__PURE__ */ function(x) {
|
|
|
91508
91508
|
s++;
|
|
91509
91509
|
}
|
|
91510
91510
|
for (s = 0; s < u.length; ) {
|
|
91511
|
-
var
|
|
91512
|
-
if (
|
|
91511
|
+
var j = u[s], z = u[s + 1];
|
|
91512
|
+
if (z && (j.w in bn || j.w in yn) && z.w in P1) {
|
|
91513
91513
|
u.splice(s, 2, {
|
|
91514
|
-
w:
|
|
91514
|
+
w: j.w + z.w,
|
|
91515
91515
|
p: f.A_NR
|
|
91516
91516
|
}), s++;
|
|
91517
91517
|
continue;
|
|
@@ -91521,9 +91521,9 @@ var F5 = /* @__PURE__ */ function(x) {
|
|
|
91521
91521
|
return u;
|
|
91522
91522
|
}
|
|
91523
91523
|
}]), i;
|
|
91524
|
-
}(
|
|
91525
|
-
for (var Kx in
|
|
91526
|
-
dx[
|
|
91524
|
+
}(u1), K1 = ["世纪", "年", "年份", "年度", "月", "月份", "月度", "日", "号", "时", "点", "点钟", "分", "分钟", "秒", "毫秒"], dx = {};
|
|
91525
|
+
for (var Kx in K1)
|
|
91526
|
+
dx[K1[Kx]] = K1[Kx].length;
|
|
91527
91527
|
var B5 = /* @__PURE__ */ function(x) {
|
|
91528
91528
|
U0(i, x);
|
|
91529
91529
|
function i() {
|
|
@@ -91541,17 +91541,17 @@ var B5 = /* @__PURE__ */ function(x) {
|
|
|
91541
91541
|
value: function(u, f) {
|
|
91542
91542
|
this.segment.getDict("TABLE");
|
|
91543
91543
|
for (var s = this.segment.POSTAG, r = 0, d = u.length - 1; r < d; ) {
|
|
91544
|
-
var c = u[r],
|
|
91545
|
-
if ((c.p & s.A_M) > 0 &&
|
|
91546
|
-
for (var
|
|
91547
|
-
var c = u[r + m],
|
|
91548
|
-
if (c &&
|
|
91549
|
-
m += 2,
|
|
91544
|
+
var c = u[r], j = u[r + 1];
|
|
91545
|
+
if ((c.p & s.A_M) > 0 && j.w in dx) {
|
|
91546
|
+
for (var z = c.w + j.w, m = 2; ; ) {
|
|
91547
|
+
var c = u[r + m], j = u[r + m + 1];
|
|
91548
|
+
if (c && j && (c.p & s.A_M) > 0 && j.w in dx)
|
|
91549
|
+
m += 2, z += c.w + j.w;
|
|
91550
91550
|
else
|
|
91551
91551
|
break;
|
|
91552
91552
|
}
|
|
91553
91553
|
u.splice(r, m, {
|
|
91554
|
-
w:
|
|
91554
|
+
w: z,
|
|
91555
91555
|
p: s.D_T
|
|
91556
91556
|
}), d -= m - 1;
|
|
91557
91557
|
continue;
|
|
@@ -91561,9 +91561,9 @@ var B5 = /* @__PURE__ */ function(x) {
|
|
|
91561
91561
|
return u;
|
|
91562
91562
|
}
|
|
91563
91563
|
}]), i;
|
|
91564
|
-
}(
|
|
91565
|
-
for (var Yx in
|
|
91566
|
-
v4[
|
|
91564
|
+
}(u1), Y1 = ["世纪", "年", "年份", "年度", "月", "月份", "月度", "日", "号", "时", "点", "点钟", "分", "分钟", "秒", "毫秒"], v4 = {};
|
|
91565
|
+
for (var Yx in Y1)
|
|
91566
|
+
v4[Y1[Yx]] = Y1[Yx].length;
|
|
91567
91567
|
var _5 = /* @__PURE__ */ function(x) {
|
|
91568
91568
|
U0(i, x);
|
|
91569
91569
|
function i() {
|
|
@@ -91583,13 +91583,13 @@ var _5 = /* @__PURE__ */ function(x) {
|
|
|
91583
91583
|
s.push(d);
|
|
91584
91584
|
continue;
|
|
91585
91585
|
}
|
|
91586
|
-
for (var
|
|
91587
|
-
m.c >
|
|
91588
|
-
w: d.w.substr(
|
|
91586
|
+
for (var j = 0, z = 0, m; m = c[z]; z++)
|
|
91587
|
+
m.c > j && s.push({
|
|
91588
|
+
w: d.w.substr(j, m.c - j)
|
|
91589
91589
|
}), s.push({
|
|
91590
91590
|
w: m.w,
|
|
91591
91591
|
p: f[m.w].p
|
|
91592
|
-
}),
|
|
91592
|
+
}), j = m.c + m.w.length;
|
|
91593
91593
|
var e = c[c.length - 1];
|
|
91594
91594
|
e.c + e.w.length < d.w.length && s.push({
|
|
91595
91595
|
w: d.w.substr(e.c + e.w.length)
|
|
@@ -91611,11 +91611,11 @@ var _5 = /* @__PURE__ */ function(x) {
|
|
|
91611
91611
|
isNaN(f) && (f = 0);
|
|
91612
91612
|
for (var r = [], d = this.segment.getDict("TABLE2"); f < u.length; ) {
|
|
91613
91613
|
for (var c in d) {
|
|
91614
|
-
var
|
|
91615
|
-
|
|
91616
|
-
w:
|
|
91614
|
+
var j = u.substr(f, c);
|
|
91615
|
+
j in d[c] && r.push({
|
|
91616
|
+
w: j,
|
|
91617
91617
|
c: f,
|
|
91618
|
-
f: d[c][
|
|
91618
|
+
f: d[c][j].f
|
|
91619
91619
|
});
|
|
91620
91620
|
}
|
|
91621
91621
|
f++;
|
|
@@ -91634,7 +91634,7 @@ var _5 = /* @__PURE__ */ function(x) {
|
|
|
91634
91634
|
}, {
|
|
91635
91635
|
key: "filterWord",
|
|
91636
91636
|
value: function(u, f, s) {
|
|
91637
|
-
for (var r = this.segment.POSTAG, d = this.segment.getDict("TABLE"), c = [],
|
|
91637
|
+
for (var r = this.segment.POSTAG, d = this.segment.getDict("TABLE"), c = [], j = i.getPosInfo(u, s), z = i.getChunks(j, 0, s), m = [], e = 0, l; l = z[e]; e++) {
|
|
91638
91638
|
m[e] = {
|
|
91639
91639
|
x: l.length,
|
|
91640
91640
|
a: 0,
|
|
@@ -91664,7 +91664,7 @@ var _5 = /* @__PURE__ */ function(x) {
|
|
|
91664
91664
|
}
|
|
91665
91665
|
g === !1 && (m[e].d -= 0.5), m[e].a = m[e].a / l.length, m[e].b = m[e].b / l.length;
|
|
91666
91666
|
}
|
|
91667
|
-
for (var p = i.getTops(m), E =
|
|
91667
|
+
for (var p = i.getTops(m), E = z[p], e = 0, F; F = E[e]; e++)
|
|
91668
91668
|
F.w in d || E.splice(e--, 1);
|
|
91669
91669
|
return c = E, c;
|
|
91670
91670
|
}
|
|
@@ -91699,12 +91699,12 @@ var _5 = /* @__PURE__ */ function(x) {
|
|
|
91699
91699
|
key: "getChunks",
|
|
91700
91700
|
value: function(u, f, s) {
|
|
91701
91701
|
for (var r = u[f] || [], d = [], c = 0; c < r.length; c++) {
|
|
91702
|
-
var
|
|
91703
|
-
if (!u[
|
|
91704
|
-
d.push([
|
|
91702
|
+
var j = r[c], z = j.c + j.w.length;
|
|
91703
|
+
if (!u[z])
|
|
91704
|
+
d.push([j]);
|
|
91705
91705
|
else
|
|
91706
|
-
for (var m = i.getChunks(u,
|
|
91707
|
-
d.push([
|
|
91706
|
+
for (var m = i.getChunks(u, z), e = 0; e < m.length; e++)
|
|
91707
|
+
d.push([j].concat(m[e]));
|
|
91708
91708
|
}
|
|
91709
91709
|
return d;
|
|
91710
91710
|
}
|
|
@@ -91727,14 +91727,14 @@ var _5 = /* @__PURE__ */ function(x) {
|
|
|
91727
91727
|
r.a > f.a && (f.a = r.a), r.b < f.b && (f.b = r.b), r.c > f.c && (f.c = r.c), r.d < f.d && (f.d = r.d), r.x > f.x && (f.x = r.x);
|
|
91728
91728
|
for (var d = [], s = 0, r; r = u[s]; s++)
|
|
91729
91729
|
d[s] = 0, d[s] += (f.x - r.x) * 1.5, r.a >= f.a && (d[s] += 1), r.b <= f.b && (d[s] += 1), d[s] += f.c - r.c, d[s] += (r.d < 0 ? f.d + r.d : r.d - f.d) * 1;
|
|
91730
|
-
var c = 0,
|
|
91730
|
+
var c = 0, j = d[0];
|
|
91731
91731
|
for (var s in d) {
|
|
91732
|
-
var
|
|
91733
|
-
if (
|
|
91734
|
-
c = s,
|
|
91735
|
-
else if (
|
|
91732
|
+
var z = d[s];
|
|
91733
|
+
if (z > j)
|
|
91734
|
+
c = s, j = z;
|
|
91735
|
+
else if (z === j) {
|
|
91736
91736
|
var m = 0, e = 0;
|
|
91737
|
-
u[s].c < u[c].c ? m++ : e++, u[s].a > u[c].a ? m++ : e++, u[s].x < u[c].x ? m++ : e++, m > e && (c = s,
|
|
91737
|
+
u[s].c < u[c].c ? m++ : e++, u[s].a > u[c].a ? m++ : e++, u[s].x < u[c].x ? m++ : e++, m > e && (c = s, j = z);
|
|
91738
91738
|
}
|
|
91739
91739
|
}
|
|
91740
91740
|
return c;
|
|
@@ -91763,34 +91763,34 @@ var _5 = /* @__PURE__ */ function(x) {
|
|
|
91763
91763
|
}, {
|
|
91764
91764
|
key: "splitForeign",
|
|
91765
91765
|
value: function(u, f) {
|
|
91766
|
-
var s = this.segment.POSTAG, r = [], d = 0, c = 0,
|
|
91767
|
-
|
|
91768
|
-
for (var
|
|
91769
|
-
var
|
|
91770
|
-
if (
|
|
91766
|
+
var s = this.segment.POSTAG, r = [], d = 0, c = 0, j = u.charCodeAt(0);
|
|
91767
|
+
j >= 65296 && j <= 65370 && (j -= 65248), j >= 48 && j <= 57 ? c = s.A_M : j >= 65 && j <= 90 || j >= 97 && j <= 122 ? c = s.A_NX : c = s.UNK;
|
|
91768
|
+
for (var z = 1; z < u.length; z++) {
|
|
91769
|
+
var j = u.charCodeAt(z);
|
|
91770
|
+
if (j >= 65296 && j <= 65370 && (j -= 65248), j >= 48 && j <= 57) {
|
|
91771
91771
|
if (c !== s.A_M) {
|
|
91772
91772
|
var m = {
|
|
91773
|
-
w: u.substr(d,
|
|
91773
|
+
w: u.substr(d, z - d)
|
|
91774
91774
|
};
|
|
91775
|
-
c !== s.UNK && (m.p = c), r.push(m), d =
|
|
91775
|
+
c !== s.UNK && (m.p = c), r.push(m), d = z;
|
|
91776
91776
|
}
|
|
91777
91777
|
c = s.A_M;
|
|
91778
|
-
} else if (
|
|
91778
|
+
} else if (j >= 65 && j <= 90 || j >= 97 && j <= 122) {
|
|
91779
91779
|
if (c !== s.A_NX) {
|
|
91780
91780
|
var m = {
|
|
91781
|
-
w: u.substr(d,
|
|
91781
|
+
w: u.substr(d, z - d)
|
|
91782
91782
|
};
|
|
91783
|
-
c !== s.UNK && (m.p = c), r.push(m), d =
|
|
91783
|
+
c !== s.UNK && (m.p = c), r.push(m), d = z;
|
|
91784
91784
|
}
|
|
91785
91785
|
c = s.A_NX;
|
|
91786
91786
|
} else
|
|
91787
91787
|
c !== s.UNK && (r.push({
|
|
91788
|
-
w: u.substr(d,
|
|
91788
|
+
w: u.substr(d, z - d),
|
|
91789
91789
|
p: [c]
|
|
91790
|
-
}), d =
|
|
91790
|
+
}), d = z), c = s.UNK;
|
|
91791
91791
|
}
|
|
91792
91792
|
var m = {
|
|
91793
|
-
w: u.substr(d,
|
|
91793
|
+
w: u.substr(d, z - d)
|
|
91794
91794
|
};
|
|
91795
91795
|
return c !== s.UNK && (m.p = c), r.push(m), r;
|
|
91796
91796
|
}
|
|
@@ -91814,13 +91814,13 @@ var _5 = /* @__PURE__ */ function(x) {
|
|
|
91814
91814
|
s.push(d);
|
|
91815
91815
|
continue;
|
|
91816
91816
|
}
|
|
91817
|
-
for (var
|
|
91818
|
-
m.c >
|
|
91819
|
-
w: d.w.substr(
|
|
91817
|
+
for (var j = 0, z = 0, m; m = c[z]; z++)
|
|
91818
|
+
m.c > j && s.push({
|
|
91819
|
+
w: d.w.substr(j, m.c - j)
|
|
91820
91820
|
}), s.push({
|
|
91821
91821
|
w: m.w,
|
|
91822
91822
|
p: f[m.w.toLowerCase()].p
|
|
91823
|
-
}),
|
|
91823
|
+
}), j = m.c + m.w.length;
|
|
91824
91824
|
var e = c[c.length - 1];
|
|
91825
91825
|
e.c + e.w.length < d.w.length && s.push({
|
|
91826
91826
|
w: d.w.substr(e.c + e.w.length)
|
|
@@ -91841,9 +91841,9 @@ var _5 = /* @__PURE__ */ function(x) {
|
|
|
91841
91841
|
isNaN(f) && (f = 0);
|
|
91842
91842
|
for (var s = [], r = this.segment.getDict("WILDCARD2"), d = u.toLowerCase(); f < u.length; ) {
|
|
91843
91843
|
var c = !1;
|
|
91844
|
-
for (var
|
|
91845
|
-
d.substr(f,
|
|
91846
|
-
w: u.substr(f,
|
|
91844
|
+
for (var j in r)
|
|
91845
|
+
d.substr(f, j) in r[j] && (c = {
|
|
91846
|
+
w: u.substr(f, j),
|
|
91847
91847
|
c: f
|
|
91848
91848
|
});
|
|
91849
91849
|
c !== !1 ? (s.push(c), f += c.w.length) : f++;
|
|
@@ -249534,9 +249534,9 @@ $
|
|
|
249534
249534
|
function W5(x) {
|
|
249535
249535
|
return x.use(P5), x.loadDict(X5), x.loadSynonymDict(H5), x.loadStopwordDict(J5), x;
|
|
249536
249536
|
}
|
|
249537
|
-
let
|
|
249537
|
+
let V1;
|
|
249538
249538
|
function K5(x, i) {
|
|
249539
|
-
return i === "segmentit" ? (
|
|
249539
|
+
return i === "segmentit" ? (V1 || (V1 = W5(new p5())), V1.doSegment(x, {
|
|
249540
249540
|
simple: !0
|
|
249541
249541
|
})) : [x];
|
|
249542
249542
|
}
|
|
@@ -249582,8 +249582,8 @@ const Y5 = {
|
|
|
249582
249582
|
ń: "n2",
|
|
249583
249583
|
ň: "n3",
|
|
249584
249584
|
"": "m2"
|
|
249585
|
-
},
|
|
249586
|
-
function
|
|
249585
|
+
}, Q1 = "b,p,m,f,d,t,n,l,g,k,h,j,q,x,r,zh,ch,sh,z,c,s".split(",");
|
|
249586
|
+
function Gn(x, i) {
|
|
249587
249587
|
return Object.prototype.hasOwnProperty.call(x, i);
|
|
249588
249588
|
}
|
|
249589
249589
|
const Vx = /* @__PURE__ */ new Map([
|
|
@@ -249673,30 +249673,30 @@ function n4(x) {
|
|
|
249673
249673
|
return i;
|
|
249674
249674
|
}
|
|
249675
249675
|
function n3(x) {
|
|
249676
|
-
for (let i = 0, h =
|
|
249677
|
-
if (x.indexOf(
|
|
249678
|
-
return
|
|
249676
|
+
for (let i = 0, h = Q1.length; i < h; i++)
|
|
249677
|
+
if (x.indexOf(Q1[i]) === 0)
|
|
249678
|
+
return Q1[i];
|
|
249679
249679
|
return "";
|
|
249680
249680
|
}
|
|
249681
|
-
const
|
|
249681
|
+
const Z1 = new RegExp("([" + Object.keys(fn).join("") + "])", "g"), $1 = /([aeoiuvnm])([0-4])$/;
|
|
249682
249682
|
function An(x, i) {
|
|
249683
249683
|
let h = "", u, f;
|
|
249684
249684
|
switch (i) {
|
|
249685
249685
|
case o0.INITIALS:
|
|
249686
249686
|
return n3(x);
|
|
249687
249687
|
case o0.FIRST_LETTER:
|
|
249688
|
-
return u = x.charAt(0),
|
|
249688
|
+
return u = x.charAt(0), Gn(fn, u) && (u = fn[u].charAt(0)), u;
|
|
249689
249689
|
case o0.NORMAL:
|
|
249690
|
-
return x.replace(
|
|
249691
|
-
return fn[r].replace(
|
|
249690
|
+
return x.replace(Z1, function(s, r) {
|
|
249691
|
+
return fn[r].replace($1, "$1");
|
|
249692
249692
|
});
|
|
249693
249693
|
case o0.TO3NE:
|
|
249694
|
-
return x.replace(
|
|
249694
|
+
return x.replace(Z1, function(s, r) {
|
|
249695
249695
|
return fn[r];
|
|
249696
249696
|
});
|
|
249697
249697
|
case o0.TONE2:
|
|
249698
|
-
return f = x.replace(
|
|
249699
|
-
return h = fn[r].replace(
|
|
249698
|
+
return f = x.replace(Z1, function(s, r) {
|
|
249699
|
+
return h = fn[r].replace($1, "$2"), fn[r].replace($1, "$1");
|
|
249700
249700
|
}), f + h;
|
|
249701
249701
|
case o0.TONE:
|
|
249702
249702
|
default:
|
|
@@ -250234,8 +250234,8 @@ class x3 {
|
|
|
250234
250234
|
return [An(f[0], h.style)];
|
|
250235
250235
|
const s = {}, r = [];
|
|
250236
250236
|
for (let d = 0, c = f.length; d < c; d++) {
|
|
250237
|
-
const
|
|
250238
|
-
|
|
250237
|
+
const j = An(f[d], h.style);
|
|
250238
|
+
Gn(s, j) || (s[j] = j, r.push(j));
|
|
250239
250239
|
}
|
|
250240
250240
|
return r;
|
|
250241
250241
|
}
|
|
@@ -250249,11 +250249,11 @@ class x3 {
|
|
|
250249
250249
|
const u = this.segment(i, h.segment);
|
|
250250
250250
|
let f = [], s = "";
|
|
250251
250251
|
for (let r = 0, d = u.length; r < d; r++) {
|
|
250252
|
-
const c = u[r],
|
|
250253
|
-
if (n[
|
|
250252
|
+
const c = u[r], j = c.charCodeAt(0);
|
|
250253
|
+
if (n[j]) {
|
|
250254
250254
|
s.length > 0 && (f.push([s]), s = "");
|
|
250255
|
-
const
|
|
250256
|
-
h.group ? f.push(this.groupPhrases(
|
|
250255
|
+
const z = c.length === 1 ? this.normal_pinyin(c, h) : this.phrases_pinyin(c, h);
|
|
250256
|
+
h.group ? f.push(this.groupPhrases(z)) : f = f.concat(z);
|
|
250257
250257
|
} else
|
|
250258
250258
|
s += c;
|
|
250259
250259
|
}
|
|
@@ -250267,7 +250267,7 @@ class x3 {
|
|
|
250267
250267
|
*/
|
|
250268
250268
|
phrases_pinyin(i, h) {
|
|
250269
250269
|
const u = [];
|
|
250270
|
-
if (
|
|
250270
|
+
if (Gn(Ux, i)) {
|
|
250271
250271
|
//! copy pinyin result.
|
|
250272
250272
|
Ux[i].forEach(function(f, s) {
|
|
250273
250273
|
u[s] = [], h.heteronym ? f.forEach(function(r, d) {
|
|
@@ -250292,9 +250292,9 @@ class x3 {
|
|
|
250292
250292
|
let f = 0, s = [];
|
|
250293
250293
|
for (let r = 0; r < u; r++) {
|
|
250294
250294
|
const d = i.substring(r, r + 2);
|
|
250295
|
-
if (
|
|
250295
|
+
if (Gn(i4, d)) {
|
|
250296
250296
|
f <= r - 1 && (s = s.concat(this.single_surname(i.substring(f, r), h)));
|
|
250297
|
-
const c = i4[d].map((
|
|
250297
|
+
const c = i4[d].map((j) => j.map((z) => An(z, h.style)));
|
|
250298
250298
|
s = s.concat(c), r = r + 2, f = r;
|
|
250299
250299
|
}
|
|
250300
250300
|
}
|
|
@@ -250305,8 +250305,8 @@ class x3 {
|
|
|
250305
250305
|
let u = [];
|
|
250306
250306
|
for (let f = 0, s = i.length; f < s; f++) {
|
|
250307
250307
|
const r = i.charAt(f);
|
|
250308
|
-
if (
|
|
250309
|
-
const d = x4[r].map((c) => c.map((
|
|
250308
|
+
if (Gn(x4, r)) {
|
|
250309
|
+
const d = x4[r].map((c) => c.map((j) => An(j, h.style)));
|
|
250310
250310
|
u = u.concat(d);
|
|
250311
250311
|
} else
|
|
250312
250312
|
u.push(this.single_pinyin(r, h));
|
|
@@ -250334,9 +250334,9 @@ function i3(x) {
|
|
|
250334
250334
|
}
|
|
250335
250335
|
class h3 extends x3 {
|
|
250336
250336
|
}
|
|
250337
|
-
const
|
|
250338
|
-
|
|
250339
|
-
const rx = Symbol("design:className"), C4 = Symbol("design:comment"), F4 = Symbol("design:caller"),
|
|
250337
|
+
const b1 = i3(new h3());
|
|
250338
|
+
b1.compare;
|
|
250339
|
+
const rx = Symbol("design:className"), C4 = Symbol("design:comment"), F4 = Symbol("design:caller"), n1 = Symbol("design:params"), S4 = Symbol("design:returns"), g3 = (x, i) => {
|
|
250340
250340
|
var h = new Array(...x);
|
|
250341
250341
|
if ((x == null ? void 0 : x.length) <= 0)
|
|
250342
250342
|
return h;
|
|
@@ -250359,7 +250359,7 @@ function K(x) {
|
|
|
250359
250359
|
return (i, h, u) => {
|
|
250360
250360
|
var r;
|
|
250361
250361
|
var f = [];
|
|
250362
|
-
const s = Reflect.getMetadata(
|
|
250362
|
+
const s = Reflect.getMetadata(n1, i, h);
|
|
250363
250363
|
f.push(`${k.i18nt("designer.expression.comment")}:${x}`), f.push(`${k.i18nt("designer.expression.useMethod")}:${h}(${((r = s == null ? void 0 : s.toReversed()) == null ? void 0 : r.map((d) => d.comment).join(",")) || ""})`), Reflect.defineMetadata(C4, f.join(`
|
|
250364
250364
|
`), i, h);
|
|
250365
250365
|
};
|
|
@@ -250367,13 +250367,13 @@ function K(x) {
|
|
|
250367
250367
|
function Y() {
|
|
250368
250368
|
return (x, i, h) => {
|
|
250369
250369
|
var s;
|
|
250370
|
-
const u = Reflect.getMetadata(
|
|
250370
|
+
const u = Reflect.getMetadata(n1, x, i), f = `${i}(${((s = u == null ? void 0 : u.toReversed()) == null ? void 0 : s.map((r) => r.name).join(",")) || ""})`;
|
|
250371
250371
|
Reflect.defineMetadata(F4, f, x, i);
|
|
250372
250372
|
};
|
|
250373
250373
|
}
|
|
250374
250374
|
function V() {
|
|
250375
250375
|
return (x, i, h) => {
|
|
250376
|
-
const u = Reflect.getMetadata(
|
|
250376
|
+
const u = Reflect.getMetadata(n1, x, i), f = h.value;
|
|
250377
250377
|
return h.value = function(s) {
|
|
250378
250378
|
var c;
|
|
250379
250379
|
var r = g3(arguments, i), d = u3(r, u);
|
|
@@ -250385,8 +250385,8 @@ function V() {
|
|
|
250385
250385
|
}
|
|
250386
250386
|
function T(x = !1, i = "", h = "", u) {
|
|
250387
250387
|
return (f, s, r) => {
|
|
250388
|
-
var d = Reflect.getMetadata(
|
|
250389
|
-
d.push({ index: r || 0, required: x, comment: i, name: h, dataType: u }), Reflect.defineMetadata(
|
|
250388
|
+
var d = Reflect.getMetadata(n1, f, s + "") || [];
|
|
250389
|
+
d.push({ index: r || 0, required: x, comment: i, name: h, dataType: u }), Reflect.defineMetadata(n1, d, f, s + "");
|
|
250390
250390
|
};
|
|
250391
250391
|
}
|
|
250392
250392
|
function Q(x = "", i) {
|
|
@@ -250401,10 +250401,10 @@ var e3 = Object.defineProperty, t3 = Object.getOwnPropertyDescriptor, W = (x, i,
|
|
|
250401
250401
|
}, N = (x, i) => (h, u) => i(h, u, x);
|
|
250402
250402
|
class K0 {
|
|
250403
250403
|
static _pinyin(i, h) {
|
|
250404
|
-
return
|
|
250404
|
+
return b1(
|
|
250405
250405
|
i,
|
|
250406
250406
|
{
|
|
250407
|
-
style: h === "normal" ?
|
|
250407
|
+
style: h === "normal" ? b1.MODE_NORMAL : b1.STYLE_FIRST_LETTER
|
|
250408
250408
|
}
|
|
250409
250409
|
);
|
|
250410
250410
|
}
|
|
@@ -250988,7 +250988,7 @@ let j0 = class {
|
|
|
250988
250988
|
var f = this.LEN(x);
|
|
250989
250989
|
if (f <= 0)
|
|
250990
250990
|
return "";
|
|
250991
|
-
var s = this.LEFT(x, i), r =
|
|
250991
|
+
var s = this.LEFT(x, i), r = xx(u) ? "" : u, d = this.RIGHT(x, f - i - h);
|
|
250992
250992
|
return [s, r, d].join("");
|
|
250993
250993
|
}
|
|
250994
250994
|
static REPT(x, i) {
|
|
@@ -251017,13 +251017,13 @@ let j0 = class {
|
|
|
251017
251017
|
return H4();
|
|
251018
251018
|
}
|
|
251019
251019
|
static ISNULL(x) {
|
|
251020
|
-
return
|
|
251020
|
+
return s1(x);
|
|
251021
251021
|
}
|
|
251022
251022
|
static ISEMPTY(x) {
|
|
251023
|
-
return
|
|
251023
|
+
return s1(x) || xx(x);
|
|
251024
251024
|
}
|
|
251025
251025
|
static PINYIN(x) {
|
|
251026
|
-
if (
|
|
251026
|
+
if (s1(x))
|
|
251027
251027
|
return "";
|
|
251028
251028
|
var i = K0._pinyin(x, "normal");
|
|
251029
251029
|
if (!i || i.length <= 0)
|
|
@@ -251034,7 +251034,7 @@ let j0 = class {
|
|
|
251034
251034
|
return h;
|
|
251035
251035
|
}
|
|
251036
251036
|
static PINYINHEADCHAR(x) {
|
|
251037
|
-
if (
|
|
251037
|
+
if (s1(x))
|
|
251038
251038
|
return "";
|
|
251039
251039
|
var i = K0._pinyin(x, "first_letter"), h = x;
|
|
251040
251040
|
return i && i.length > 0 && (h = i.map((u) => u.join("").toUpperCase()).join("")), h;
|
|
@@ -251663,7 +251663,7 @@ const c3 = () => {
|
|
|
251663
251663
|
var u, f;
|
|
251664
251664
|
var h = Object.getOwnPropertyNames(i).filter((s) => ["length", "name", "prototype"].indexOf(s) === -1).map((s) => {
|
|
251665
251665
|
var r = Object.getOwnPropertyDescriptor(i, s);
|
|
251666
|
-
return
|
|
251666
|
+
return Kn.registerHelper(s, r == null ? void 0 : r.value), s;
|
|
251667
251667
|
});
|
|
251668
251668
|
x.push({
|
|
251669
251669
|
label: (u = Reflect.getMetadata(rx, i)) == null ? void 0 : u.name,
|
|
@@ -251686,7 +251686,7 @@ const c3 = () => {
|
|
|
251686
251686
|
}), x;
|
|
251687
251687
|
}, d3 = (x, i, h) => {
|
|
251688
251688
|
if (x) {
|
|
251689
|
-
var u =
|
|
251689
|
+
var u = Kn.compile(x);
|
|
251690
251690
|
try {
|
|
251691
251691
|
var f = u(i);
|
|
251692
251692
|
return r3(s3(f), h);
|
|
@@ -251698,7 +251698,7 @@ const c3 = () => {
|
|
|
251698
251698
|
if (!i)
|
|
251699
251699
|
return x;
|
|
251700
251700
|
let h, u;
|
|
251701
|
-
return
|
|
251701
|
+
return nx == null || nx.forEach((f) => {
|
|
251702
251702
|
var s;
|
|
251703
251703
|
(s = Array.from(f == null ? void 0 : f.children)) == null || s.forEach((r) => {
|
|
251704
251704
|
var d;
|
|
@@ -251719,7 +251719,7 @@ const c3 = () => {
|
|
|
251719
251719
|
default:
|
|
251720
251720
|
return x;
|
|
251721
251721
|
}
|
|
251722
|
-
},
|
|
251722
|
+
}, nx = c3();
|
|
251723
251723
|
var _4 = {}, T4 = {};
|
|
251724
251724
|
const o3 = "estraverse", f3 = "ECMAScript JS AST traversal functions", l3 = "https://github.com/estools/estraverse", b3 = "estraverse.js", y3 = "4.3.0", z3 = {
|
|
251725
251725
|
node: ">=4.0"
|
|
@@ -251764,13 +251764,13 @@ const o3 = "estraverse", f3 = "ECMAScript JS AST traversal functions", l3 = "htt
|
|
|
251764
251764
|
(function(x) {
|
|
251765
251765
|
(function i(h) {
|
|
251766
251766
|
var u, f, s, r, d, c;
|
|
251767
|
-
function
|
|
251767
|
+
function j(p) {
|
|
251768
251768
|
var E = {}, F, v;
|
|
251769
251769
|
for (F in p)
|
|
251770
|
-
p.hasOwnProperty(F) && (v = p[F], typeof v == "object" && v !== null ? E[F] =
|
|
251770
|
+
p.hasOwnProperty(F) && (v = p[F], typeof v == "object" && v !== null ? E[F] = j(v) : E[F] = v);
|
|
251771
251771
|
return E;
|
|
251772
251772
|
}
|
|
251773
|
-
function
|
|
251773
|
+
function z(p, E) {
|
|
251774
251774
|
var F, v, B, R;
|
|
251775
251775
|
for (v = p.length, B = 0; v; )
|
|
251776
251776
|
F = v >>> 1, R = B + F, E(p[R]) ? v = F : (B = R + 1, v -= F + 1);
|
|
@@ -252085,7 +252085,7 @@ const o3 = "estraverse", f3 = "ECMAScript JS AST traversal functions", l3 = "htt
|
|
|
252085
252085
|
}
|
|
252086
252086
|
function y(p, E) {
|
|
252087
252087
|
var F;
|
|
252088
|
-
return F =
|
|
252088
|
+
return F = z(E, function(B) {
|
|
252089
252089
|
return B.range[0] > p.range[0];
|
|
252090
252090
|
}), p.extendedRange = [p.range[0], p.range[1]], F !== E.length && (p.extendedRange[1] = E[F].range[0]), F -= 1, F >= 0 && (p.extendedRange[0] = E[F].range[1]), p;
|
|
252091
252091
|
}
|
|
@@ -252096,13 +252096,13 @@ const o3 = "estraverse", f3 = "ECMAScript JS AST traversal functions", l3 = "htt
|
|
|
252096
252096
|
if (!F.length) {
|
|
252097
252097
|
if (E.length) {
|
|
252098
252098
|
for (U = 0, R = E.length; U < R; U += 1)
|
|
252099
|
-
B =
|
|
252099
|
+
B = j(E[U]), B.extendedRange = [0, p.range[0]], v.push(B);
|
|
252100
252100
|
p.leadingComments = v;
|
|
252101
252101
|
}
|
|
252102
252102
|
return p;
|
|
252103
252103
|
}
|
|
252104
252104
|
for (U = 0, R = E.length; U < R; U += 1)
|
|
252105
|
-
v.push(y(
|
|
252105
|
+
v.push(y(j(E[U]), F));
|
|
252106
252106
|
return H = 0, t(p, {
|
|
252107
252107
|
enter: function(G) {
|
|
252108
252108
|
for (var J; H < v.length && (J = v[H], !(J.extendedRange[1] > G.range[0])); )
|
|
@@ -252128,7 +252128,7 @@ const o3 = "estraverse", f3 = "ECMAScript JS AST traversal functions", l3 = "htt
|
|
|
252128
252128
|
}, h;
|
|
252129
252129
|
})(x);
|
|
252130
252130
|
})(T4);
|
|
252131
|
-
var
|
|
252131
|
+
var y1 = {}, ax = {}, D3 = {
|
|
252132
252132
|
get exports() {
|
|
252133
252133
|
return ax;
|
|
252134
252134
|
},
|
|
@@ -252236,12 +252236,12 @@ var b1 = {}, ax = {}, D3 = {
|
|
|
252236
252236
|
trailingStatement: f
|
|
252237
252237
|
};
|
|
252238
252238
|
})();
|
|
252239
|
-
var
|
|
252239
|
+
var M1 = {}, E3 = {
|
|
252240
252240
|
get exports() {
|
|
252241
|
-
return
|
|
252241
|
+
return M1;
|
|
252242
252242
|
},
|
|
252243
252243
|
set exports(x) {
|
|
252244
|
-
|
|
252244
|
+
M1 = x;
|
|
252245
252245
|
}
|
|
252246
252246
|
};
|
|
252247
252247
|
(function() {
|
|
@@ -252286,10 +252286,10 @@ var I1 = {}, E3 = {
|
|
|
252286
252286
|
12288,
|
|
252287
252287
|
65279
|
|
252288
252288
|
];
|
|
252289
|
-
function
|
|
252289
|
+
function j(t) {
|
|
252290
252290
|
return t === 32 || t === 9 || t === 11 || t === 12 || t === 160 || t >= 5760 && h.indexOf(t) >= 0;
|
|
252291
252291
|
}
|
|
252292
|
-
function
|
|
252292
|
+
function z(t) {
|
|
252293
252293
|
return t === 10 || t === 13 || t === 8232 || t === 8233;
|
|
252294
252294
|
}
|
|
252295
252295
|
function m(t) {
|
|
@@ -252323,8 +252323,8 @@ var I1 = {}, E3 = {
|
|
|
252323
252323
|
isDecimalDigit: r,
|
|
252324
252324
|
isHexDigit: d,
|
|
252325
252325
|
isOctalDigit: c,
|
|
252326
|
-
isWhiteSpace:
|
|
252327
|
-
isLineTerminator:
|
|
252326
|
+
isWhiteSpace: j,
|
|
252327
|
+
isLineTerminator: z,
|
|
252328
252328
|
isIdentifierStartES5: e,
|
|
252329
252329
|
isIdentifierPartES5: l,
|
|
252330
252330
|
isIdentifierStartES6: a,
|
|
@@ -252340,7 +252340,7 @@ var ox = {}, A3 = {
|
|
|
252340
252340
|
}
|
|
252341
252341
|
};
|
|
252342
252342
|
(function() {
|
|
252343
|
-
var x =
|
|
252343
|
+
var x = M1;
|
|
252344
252344
|
function i(e) {
|
|
252345
252345
|
switch (e) {
|
|
252346
252346
|
case "implements":
|
|
@@ -252404,7 +252404,7 @@ var ox = {}, A3 = {
|
|
|
252404
252404
|
function c(e, l) {
|
|
252405
252405
|
return (e - 55296) * 1024 + (l - 56320) + 65536;
|
|
252406
252406
|
}
|
|
252407
|
-
function
|
|
252407
|
+
function j(e) {
|
|
252408
252408
|
var l, a, g, t, b;
|
|
252409
252409
|
if (e.length === 0)
|
|
252410
252410
|
return !1;
|
|
@@ -252420,11 +252420,11 @@ var ox = {}, A3 = {
|
|
|
252420
252420
|
}
|
|
252421
252421
|
return !0;
|
|
252422
252422
|
}
|
|
252423
|
-
function
|
|
252423
|
+
function z(e, l) {
|
|
252424
252424
|
return d(e) && !f(e, l);
|
|
252425
252425
|
}
|
|
252426
252426
|
function m(e, l) {
|
|
252427
|
-
return
|
|
252427
|
+
return j(e) && !s(e, l);
|
|
252428
252428
|
}
|
|
252429
252429
|
A3.exports = {
|
|
252430
252430
|
isKeywordES5: h,
|
|
@@ -252433,13 +252433,13 @@ var ox = {}, A3 = {
|
|
|
252433
252433
|
isReservedWordES6: s,
|
|
252434
252434
|
isRestrictedWord: r,
|
|
252435
252435
|
isIdentifierNameES5: d,
|
|
252436
|
-
isIdentifierNameES6:
|
|
252437
|
-
isIdentifierES5:
|
|
252436
|
+
isIdentifierNameES6: j,
|
|
252437
|
+
isIdentifierES5: z,
|
|
252438
252438
|
isIdentifierES6: m
|
|
252439
252439
|
};
|
|
252440
252440
|
})();
|
|
252441
252441
|
(function() {
|
|
252442
|
-
|
|
252442
|
+
y1.ast = ax, y1.code = M1, y1.keyword = ox;
|
|
252443
252443
|
})();
|
|
252444
252444
|
const v3 = "escodegen", C3 = "ECMAScript code generator", F3 = "http://github.com/estools/escodegen", S3 = "escodegen.js", B3 = {
|
|
252445
252445
|
esgenerate: "./bin/esgenerate.js",
|
|
@@ -252504,8 +252504,8 @@ const v3 = "escodegen", C3 = "ECMAScript code generator", F3 = "http://github.co
|
|
|
252504
252504
|
};
|
|
252505
252505
|
(function(x) {
|
|
252506
252506
|
(function() {
|
|
252507
|
-
var i, h, u, f, s, r, d, c,
|
|
252508
|
-
s = T4, r =
|
|
252507
|
+
var i, h, u, f, s, r, d, c, j, z, m, e, l, a, g, t, b, y, A, p, E, F, v, B, R, U;
|
|
252508
|
+
s = T4, r = y1, i = s.Syntax;
|
|
252509
252509
|
function H(o) {
|
|
252510
252510
|
return p0.Expression.hasOwnProperty(o.type);
|
|
252511
252511
|
}
|
|
@@ -252640,10 +252640,10 @@ const v3 = "escodegen", C3 = "ECMAScript code generator", F3 = "http://github.co
|
|
|
252640
252640
|
if (o < 0 || o === 0 && 1 / o < 0)
|
|
252641
252641
|
throw new Error("Numeric literal whose value is negative");
|
|
252642
252642
|
if (o === 1 / 0)
|
|
252643
|
-
return
|
|
252644
|
-
if (w = "" + o, !
|
|
252643
|
+
return j ? "null" : z ? "1e400" : "1e+400";
|
|
252644
|
+
if (w = "" + o, !z || w.length < 3)
|
|
252645
252645
|
return w;
|
|
252646
|
-
for (q = w.indexOf("."), !
|
|
252646
|
+
for (q = w.indexOf("."), !j && w.charCodeAt(0) === 48 && q === 1 && (q = 0, w = w.slice(1)), D = w, w = w.replace("e+", "e"), C = 0, (L = D.indexOf("e")) > 0 && (C = +D.slice(L + 1), D = D.slice(0, L)), q >= 0 && (C -= D.length - q - 1, D = +(D.slice(0, q) + D.slice(q + 1)) + ""), L = 0; D.charCodeAt(D.length + L - 1) === 48; )
|
|
252647
252647
|
--L;
|
|
252648
252648
|
return L !== 0 && (C -= L, D = D.slice(0, L)), C !== 0 && (D += "e" + C), (D.length < w.length || m && o > 1e12 && Math.floor(o) === o && (D = "0x" + o.toString(16)).length < w.length) && +D === o && (w = D), w;
|
|
252649
252649
|
}
|
|
@@ -252663,7 +252663,7 @@ const v3 = "escodegen", C3 = "ECMAScript code generator", F3 = "http://github.co
|
|
|
252663
252663
|
}
|
|
252664
252664
|
function cn(o, w) {
|
|
252665
252665
|
var q;
|
|
252666
|
-
return o === 8 ? "\\b" : o === 12 ? "\\f" : o === 9 ? "\\t" : (q = o.toString(16).toUpperCase(),
|
|
252666
|
+
return o === 8 ? "\\b" : o === 12 ? "\\f" : o === 9 ? "\\t" : (q = o.toString(16).toUpperCase(), j || o > 255 ? "\\u" + "0000".slice(q.length) + q : o === 0 && !r.code.isDecimalDigit(w) ? "\\0" : o === 11 ? "\\x0B" : "\\x" + "00".slice(q.length) + q);
|
|
252667
252667
|
}
|
|
252668
252668
|
function _n(o) {
|
|
252669
252669
|
if (o === 92)
|
|
@@ -252698,12 +252698,12 @@ const v3 = "escodegen", C3 = "ECMAScript code generator", F3 = "http://github.co
|
|
|
252698
252698
|
++L;
|
|
252699
252699
|
else if (C === 34)
|
|
252700
252700
|
++X;
|
|
252701
|
-
else if (C === 47 &&
|
|
252701
|
+
else if (C === 47 && j)
|
|
252702
252702
|
w += "\\";
|
|
252703
252703
|
else if (r.code.isLineTerminator(C) || C === 92) {
|
|
252704
252704
|
w += _n(C);
|
|
252705
252705
|
continue;
|
|
252706
|
-
} else if (!r.code.isIdentifierPartES5(C) && (
|
|
252706
|
+
} else if (!r.code.isIdentifierPartES5(C) && (j && C < 32 || !j && !l && (C < 32 || C > 126))) {
|
|
252707
252707
|
w += cn(C, o.charCodeAt(q + 1));
|
|
252708
252708
|
continue;
|
|
252709
252709
|
}
|
|
@@ -252846,7 +252846,7 @@ const v3 = "escodegen", C3 = "ECMAScript code generator", F3 = "http://github.co
|
|
|
252846
252846
|
var w = o.generator && !p.moz.starlessGenerator;
|
|
252847
252847
|
return w ? "*" + g : "";
|
|
252848
252848
|
}
|
|
252849
|
-
function
|
|
252849
|
+
function t1(o) {
|
|
252850
252850
|
var w = o.value, q = "";
|
|
252851
252851
|
return w.async && (q += dn(w, !o.computed)), w.generator && (q += kn(w) ? "*" : ""), q;
|
|
252852
252852
|
}
|
|
@@ -253280,7 +253280,7 @@ const v3 = "escodegen", C3 = "ECMAScript code generator", F3 = "http://github.co
|
|
|
253280
253280
|
I(o.kind, this.generatePropertyKey(o.key, o.computed)),
|
|
253281
253281
|
this.generateFunctionBody(o.value)
|
|
253282
253282
|
] : C = [
|
|
253283
|
-
|
|
253283
|
+
t1(o),
|
|
253284
253284
|
this.generatePropertyKey(o.key, o.computed),
|
|
253285
253285
|
this.generateFunctionBody(o.value)
|
|
253286
253286
|
], I(D, C);
|
|
@@ -253292,7 +253292,7 @@ const v3 = "escodegen", C3 = "ECMAScript code generator", F3 = "http://github.co
|
|
|
253292
253292
|
this.generatePropertyKey(o.key, o.computed),
|
|
253293
253293
|
this.generateFunctionBody(o.value)
|
|
253294
253294
|
] : o.shorthand ? o.value.type === "AssignmentPattern" ? this.AssignmentPattern(o.value, h.Sequence, n0) : this.generatePropertyKey(o.key, o.computed) : o.method ? [
|
|
253295
|
-
|
|
253295
|
+
t1(o),
|
|
253296
253296
|
this.generatePropertyKey(o.key, o.computed),
|
|
253297
253297
|
this.generateFunctionBody(o.value)
|
|
253298
253298
|
] : [
|
|
@@ -253437,7 +253437,7 @@ const v3 = "escodegen", C3 = "ECMAScript code generator", F3 = "http://github.co
|
|
|
253437
253437
|
}
|
|
253438
253438
|
function M(o, w) {
|
|
253439
253439
|
var q = tn(), D, C;
|
|
253440
|
-
return w != null ? (typeof w.indent == "string" && (q.format.indent.style = w.indent), typeof w.base == "number" && (q.format.indent.base = w.base), w = hn(q, w), c = w.format.indent.style, typeof w.base == "string" ? d = w.base : d = S0(c, w.format.indent.base)) : (w = q, c = w.format.indent.style, d = S0(c, w.format.indent.base)),
|
|
253440
|
+
return w != null ? (typeof w.indent == "string" && (q.format.indent.style = w.indent), typeof w.base == "number" && (q.format.indent.base = w.base), w = hn(q, w), c = w.format.indent.style, typeof w.base == "string" ? d = w.base : d = S0(c, w.format.indent.base)) : (w = q, c = w.format.indent.style, d = S0(c, w.format.indent.base)), j = w.format.json, z = w.format.renumber, m = j ? !1 : w.format.hexadecimal, e = j ? "double" : w.format.quotes, l = w.format.escapeless, a = w.format.newline, g = w.format.space, w.format.compact && (a = g = c = d = ""), t = w.format.parentheses, b = w.format.semicolons, y = w.format.safeConcatenation, A = w.directive, E = j ? null : w.parse, F = w.sourceMap, v = w.sourceCode, B = w.format.preserveBlankLines && v !== null, p = w, F && (x.browser ? f = j1.sourceMap.SourceNode : f = k4().SourceNode), D = P(o), F ? (C = D.toStringWithSourceMap({
|
|
253441
253441
|
file: w.file,
|
|
253442
253442
|
sourceRoot: w.sourceMapRoot
|
|
253443
253443
|
}), w.sourceContent && C.map.setSourceContent(
|
|
@@ -253464,13 +253464,13 @@ var N4 = {};
|
|
|
253464
253464
|
(function(x) {
|
|
253465
253465
|
(function i(h) {
|
|
253466
253466
|
var u, f, s, r, d, c;
|
|
253467
|
-
function
|
|
253467
|
+
function j(E) {
|
|
253468
253468
|
var F = {}, v, B;
|
|
253469
253469
|
for (v in E)
|
|
253470
|
-
E.hasOwnProperty(v) && (B = E[v], typeof B == "object" && B !== null ? F[v] =
|
|
253470
|
+
E.hasOwnProperty(v) && (B = E[v], typeof B == "object" && B !== null ? F[v] = j(B) : F[v] = B);
|
|
253471
253471
|
return F;
|
|
253472
253472
|
}
|
|
253473
|
-
function
|
|
253473
|
+
function z(E, F) {
|
|
253474
253474
|
var v, B, R, U;
|
|
253475
253475
|
for (B = E.length, R = 0; B; )
|
|
253476
253476
|
v = B >>> 1, U = R + v, F(E[U]) ? B = v : (R = U + 1, B -= v + 1);
|
|
@@ -253801,7 +253801,7 @@ var N4 = {};
|
|
|
253801
253801
|
}
|
|
253802
253802
|
function A(E, F) {
|
|
253803
253803
|
var v;
|
|
253804
|
-
return v =
|
|
253804
|
+
return v = z(F, function(R) {
|
|
253805
253805
|
return R.range[0] > E.range[0];
|
|
253806
253806
|
}), E.extendedRange = [E.range[0], E.range[1]], v !== F.length && (E.extendedRange[1] = F[v].range[0]), v -= 1, v >= 0 && (E.extendedRange[0] = F[v].range[1]), E;
|
|
253807
253807
|
}
|
|
@@ -253812,13 +253812,13 @@ var N4 = {};
|
|
|
253812
253812
|
if (!v.length) {
|
|
253813
253813
|
if (F.length) {
|
|
253814
253814
|
for (H = 0, U = F.length; H < U; H += 1)
|
|
253815
|
-
R =
|
|
253815
|
+
R = j(F[H]), R.extendedRange = [0, E.range[0]], B.push(R);
|
|
253816
253816
|
E.leadingComments = B;
|
|
253817
253817
|
}
|
|
253818
253818
|
return E;
|
|
253819
253819
|
}
|
|
253820
253820
|
for (H = 0, U = F.length; H < U; H += 1)
|
|
253821
|
-
B.push(A(
|
|
253821
|
+
B.push(A(j(F[H]), v));
|
|
253822
253822
|
return G = 0, b(E, {
|
|
253823
253823
|
enter: function(J) {
|
|
253824
253824
|
for (var h0; G < B.length && (h0 = B[G], !(h0.extendedRange[1] > J.range[0])); )
|
|
@@ -253844,46 +253844,46 @@ var N4 = {};
|
|
|
253844
253844
|
}, h;
|
|
253845
253845
|
})(x);
|
|
253846
253846
|
})(N4);
|
|
253847
|
-
const
|
|
253847
|
+
const z1 = (x, i = !1, h = " ") => x == null ? void 0 : x.map((u) => Xn(u, i)).join(h), h4 = (x, i) => i ? `(FROMJSON '${x}')` : x, Xn = (x, i = !1) => {
|
|
253848
253848
|
var h;
|
|
253849
|
-
return (x == null ? void 0 : x.type) === k0.Syntax.Literal ? x.raw : (x == null ? void 0 : x.type) === k0.Syntax.Identifier ? x.name : x.type === k0.Syntax.ExpressionStatement ?
|
|
253850
|
-
}, P4 = (x) => {
|
|
253851
|
-
var
|
|
253849
|
+
return (x == null ? void 0 : x.type) === k0.Syntax.Literal ? x.raw : (x == null ? void 0 : x.type) === k0.Syntax.Identifier ? x.name : x.type === k0.Syntax.ExpressionStatement ? Xn(x.expression, void 0) : (x == null ? void 0 : x.type) === k0.Syntax.CallExpression ? `(${(h = x.callee) == null ? void 0 : h.name} ${z1(x.arguments, !0)})` : (x == null ? void 0 : x.type) === k0.Syntax.UnaryExpression ? `${x.operator}${Xn(x == null ? void 0 : x.argument)}` : (x == null ? void 0 : x.type) === k0.Syntax.ObjectExpression ? h4(`{${z1(x == null ? void 0 : x.properties, i, ",")}}`, i) : (x == null ? void 0 : x.type) === k0.Syntax.ArrayExpression ? h4(`[${z1(x.elements, i, ",")}]`, i) : (x == null ? void 0 : x.type) === k0.Syntax.Property ? `${Xn(x == null ? void 0 : x.key)}:${Xn(x == null ? void 0 : x.value)}` : "";
|
|
253850
|
+
}, P4 = (x, i) => {
|
|
253851
|
+
var u, f, s, r, d, c, j;
|
|
253852
253852
|
if (x.type === k0.Syntax.CallExpression) {
|
|
253853
|
-
let
|
|
253854
|
-
var
|
|
253855
|
-
if (
|
|
253856
|
-
const
|
|
253857
|
-
|
|
253853
|
+
let z = e4(x.arguments);
|
|
253854
|
+
var h = ["GETCHECKEDNAMES", "GETCHECKEDNAME"];
|
|
253855
|
+
if (h.includes((u = x.callee) == null ? void 0 : u.name)) {
|
|
253856
|
+
const m = (f = x.arguments) == null ? void 0 : f[0];
|
|
253857
|
+
(i == null ? void 0 : i[`${m.name}${Un.checkedOptions}`]) != null && (z[0].name = `${m.name}${Un.checkedOptions}`);
|
|
253858
253858
|
}
|
|
253859
|
-
if (
|
|
253860
|
-
const
|
|
253861
|
-
c[0].property.name = `${(
|
|
253859
|
+
if (h.includes((r = (s = x.callee) == null ? void 0 : s.property) == null ? void 0 : r.name)) {
|
|
253860
|
+
const m = (d = x.arguments) == null ? void 0 : d[0];
|
|
253861
|
+
(i == null ? void 0 : i[`${(c = m == null ? void 0 : m.property) == null ? void 0 : c.name}${Un.checkedOptions}`]) != null && (z[0].property.name = `${(j = m == null ? void 0 : m.property) == null ? void 0 : j.name}${Un.checkedOptions}`);
|
|
253862
253862
|
}
|
|
253863
|
-
x.arguments =
|
|
253863
|
+
x.arguments = z;
|
|
253864
253864
|
}
|
|
253865
253865
|
return x;
|
|
253866
253866
|
}, X3 = (x) => {
|
|
253867
|
-
var i = r4(x), h =
|
|
253867
|
+
var i = r4(x), h = z1(i.body);
|
|
253868
253868
|
h.startsWith("(") && (h = h.substring(1)), h.endsWith(")") && (h = h.substring(0, h.length - 1));
|
|
253869
253869
|
var u = e8(i.body);
|
|
253870
253870
|
return { expression: h, funcname: u };
|
|
253871
253871
|
};
|
|
253872
|
-
function I4(x, i) {
|
|
253872
|
+
function I4(x, i, h) {
|
|
253873
253873
|
try {
|
|
253874
|
-
const
|
|
253875
|
-
return N4.traverse(
|
|
253876
|
-
enter(
|
|
253877
|
-
|
|
253874
|
+
const u = k0.parseScript(x);
|
|
253875
|
+
return N4.traverse(u, {
|
|
253876
|
+
enter(f) {
|
|
253877
|
+
f = i(f, h);
|
|
253878
253878
|
}
|
|
253879
|
-
}), _4.generate(
|
|
253879
|
+
}), _4.generate(u);
|
|
253880
253880
|
} catch {
|
|
253881
253881
|
return x;
|
|
253882
253882
|
}
|
|
253883
253883
|
}
|
|
253884
253884
|
const H3 = (x, i) => {
|
|
253885
|
-
if (!(!x ||
|
|
253886
|
-
x = I4(x, P4);
|
|
253885
|
+
if (!(!x || xx(x))) {
|
|
253886
|
+
x = I4(x, P4, i);
|
|
253887
253887
|
var h = c8(x);
|
|
253888
253888
|
if (!(h != null && h.some((f) => !X4(i, f)))) {
|
|
253889
253889
|
h == null || h.forEach((f) => {
|
|
@@ -253912,7 +253912,7 @@ export {
|
|
|
253912
253912
|
x9 as i,
|
|
253913
253913
|
V3 as j,
|
|
253914
253914
|
n8 as k,
|
|
253915
|
-
|
|
253915
|
+
Un as l,
|
|
253916
253916
|
n9 as m,
|
|
253917
253917
|
x8 as n,
|
|
253918
253918
|
$3 as o,
|