vue-layout-gitcode 1.9.71 → 1.9.73

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.
@@ -546,7 +546,7 @@ const LOGO_MAP = {
546
546
  aiLogoDark: "https://cdn-static.gitcode.com/static/images/gitcode-ai-logo-dark_atomgit.png"
547
547
  }
548
548
  };
549
- /*! @license DOMPurify 3.3.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.0/LICENSE */
549
+ /*! @license DOMPurify 3.2.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.5/LICENSE */
550
550
  const {
551
551
  entries,
552
552
  setPrototypeOf,
@@ -574,18 +574,12 @@ if (!seal) {
574
574
  };
575
575
  }
576
576
  if (!apply$1) {
577
- apply$1 = function apply2(func, thisArg) {
578
- for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
579
- args[_key - 2] = arguments[_key];
580
- }
581
- return func.apply(thisArg, args);
577
+ apply$1 = function apply2(fun, thisValue, args) {
578
+ return fun.apply(thisValue, args);
582
579
  };
583
580
  }
584
581
  if (!construct) {
585
- construct = function construct2(Func) {
586
- for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
587
- args[_key2 - 1] = arguments[_key2];
588
- }
582
+ construct = function construct2(Func, args) {
589
583
  return new Func(...args);
590
584
  };
591
585
  }
@@ -608,18 +602,18 @@ function unapply(func) {
608
602
  if (thisArg instanceof RegExp) {
609
603
  thisArg.lastIndex = 0;
610
604
  }
611
- for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {
612
- args[_key3 - 1] = arguments[_key3];
605
+ for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
606
+ args[_key - 1] = arguments[_key];
613
607
  }
614
608
  return apply$1(func, thisArg, args);
615
609
  };
616
610
  }
617
- function unconstruct(Func) {
611
+ function unconstruct(func) {
618
612
  return function() {
619
- for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
620
- args[_key4] = arguments[_key4];
613
+ for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
614
+ args[_key2] = arguments[_key2];
621
615
  }
622
- return construct(Func, args);
616
+ return construct(func, args);
623
617
  };
624
618
  }
625
619
  function addToSet(set, array) {
@@ -686,15 +680,15 @@ function lookupGetter(object, prop) {
686
680
  }
687
681
  return fallbackValue;
688
682
  }
689
- const html$1 = freeze(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]);
690
- const svg$1 = freeze(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]);
683
+ const html$1 = freeze(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]);
684
+ const svg$1 = freeze(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]);
691
685
  const svgFilters = freeze(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]);
692
686
  const svgDisallowed = freeze(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]);
693
687
  const mathMl$1 = freeze(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]);
694
688
  const mathMlDisallowed = freeze(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]);
695
689
  const text = freeze(["#text"]);
696
- const html = freeze(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]);
697
- const svg = freeze(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]);
690
+ const html = freeze(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]);
691
+ const svg = freeze(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]);
698
692
  const mathMl = freeze(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]);
699
693
  const xml = freeze(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]);
700
694
  const MUSTACHE_EXPR = seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm);
@@ -703,7 +697,7 @@ const TMPLIT_EXPR = seal(/\$\{[\w\W]*/gm);
703
697
  const DATA_ATTR = seal(/^data-[\-\w.\u00B7-\uFFFF]+$/);
704
698
  const ARIA_ATTR = seal(/^aria-[\-\w]+$/);
705
699
  const IS_ALLOWED_URI = seal(
706
- /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
700
+ /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
707
701
  // eslint-disable-line no-useless-escape
708
702
  );
709
703
  const IS_SCRIPT_OR_DATA = seal(/^(?:\w+script|data):/i);
@@ -777,7 +771,7 @@ const _createHooksMap = function _createHooksMap2() {
777
771
  function createDOMPurify() {
778
772
  let window2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : getGlobal();
779
773
  const DOMPurify = (root) => createDOMPurify(root);
780
- DOMPurify.version = "3.3.0";
774
+ DOMPurify.version = "3.2.5";
781
775
  DOMPurify.removed = [];
782
776
  if (!window2 || !window2.document || window2.document.nodeType !== NODE_TYPE.document || !window2.Element) {
783
777
  DOMPurify.isSupported = false;
@@ -863,20 +857,6 @@ function createDOMPurify() {
863
857
  }));
864
858
  let FORBID_TAGS = null;
865
859
  let FORBID_ATTR = null;
866
- const EXTRA_ELEMENT_HANDLING = Object.seal(create$1(null, {
867
- tagCheck: {
868
- writable: true,
869
- configurable: false,
870
- enumerable: true,
871
- value: null
872
- },
873
- attributeCheck: {
874
- writable: true,
875
- configurable: false,
876
- enumerable: true,
877
- value: null
878
- }
879
- }));
880
860
  let ALLOW_ARIA_ATTR = true;
881
861
  let ALLOW_DATA_ATTR = true;
882
862
  let ALLOW_UNKNOWN_PROTOCOLS = false;
@@ -938,8 +918,8 @@ function createDOMPurify() {
938
918
  URI_SAFE_ATTRIBUTES = objectHasOwnProperty(cfg, "ADD_URI_SAFE_ATTR") ? addToSet(clone(DEFAULT_URI_SAFE_ATTRIBUTES), cfg.ADD_URI_SAFE_ATTR, transformCaseFunc) : DEFAULT_URI_SAFE_ATTRIBUTES;
939
919
  DATA_URI_TAGS = objectHasOwnProperty(cfg, "ADD_DATA_URI_TAGS") ? addToSet(clone(DEFAULT_DATA_URI_TAGS), cfg.ADD_DATA_URI_TAGS, transformCaseFunc) : DEFAULT_DATA_URI_TAGS;
940
920
  FORBID_CONTENTS = objectHasOwnProperty(cfg, "FORBID_CONTENTS") ? addToSet({}, cfg.FORBID_CONTENTS, transformCaseFunc) : DEFAULT_FORBID_CONTENTS;
941
- FORBID_TAGS = objectHasOwnProperty(cfg, "FORBID_TAGS") ? addToSet({}, cfg.FORBID_TAGS, transformCaseFunc) : clone({});
942
- FORBID_ATTR = objectHasOwnProperty(cfg, "FORBID_ATTR") ? addToSet({}, cfg.FORBID_ATTR, transformCaseFunc) : clone({});
921
+ FORBID_TAGS = objectHasOwnProperty(cfg, "FORBID_TAGS") ? addToSet({}, cfg.FORBID_TAGS, transformCaseFunc) : {};
922
+ FORBID_ATTR = objectHasOwnProperty(cfg, "FORBID_ATTR") ? addToSet({}, cfg.FORBID_ATTR, transformCaseFunc) : {};
943
923
  USE_PROFILES = objectHasOwnProperty(cfg, "USE_PROFILES") ? cfg.USE_PROFILES : false;
944
924
  ALLOW_ARIA_ATTR = cfg.ALLOW_ARIA_ATTR !== false;
945
925
  ALLOW_DATA_ATTR = cfg.ALLOW_DATA_ATTR !== false;
@@ -1000,24 +980,16 @@ function createDOMPurify() {
1000
980
  }
1001
981
  }
1002
982
  if (cfg.ADD_TAGS) {
1003
- if (typeof cfg.ADD_TAGS === "function") {
1004
- EXTRA_ELEMENT_HANDLING.tagCheck = cfg.ADD_TAGS;
1005
- } else {
1006
- if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {
1007
- ALLOWED_TAGS = clone(ALLOWED_TAGS);
1008
- }
1009
- addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);
983
+ if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {
984
+ ALLOWED_TAGS = clone(ALLOWED_TAGS);
1010
985
  }
986
+ addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);
1011
987
  }
1012
988
  if (cfg.ADD_ATTR) {
1013
- if (typeof cfg.ADD_ATTR === "function") {
1014
- EXTRA_ELEMENT_HANDLING.attributeCheck = cfg.ADD_ATTR;
1015
- } else {
1016
- if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {
1017
- ALLOWED_ATTR = clone(ALLOWED_ATTR);
1018
- }
1019
- addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);
989
+ if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {
990
+ ALLOWED_ATTR = clone(ALLOWED_ATTR);
1020
991
  }
992
+ addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);
1021
993
  }
1022
994
  if (cfg.ADD_URI_SAFE_ATTR) {
1023
995
  addToSet(URI_SAFE_ATTRIBUTES, cfg.ADD_URI_SAFE_ATTR, transformCaseFunc);
@@ -1211,7 +1183,7 @@ function createDOMPurify() {
1211
1183
  tagName,
1212
1184
  allowedTags: ALLOWED_TAGS
1213
1185
  });
1214
- if (SAFE_FOR_XML && currentNode.hasChildNodes() && !_isNode(currentNode.firstElementChild) && regExpTest(/<[/\w!]/g, currentNode.innerHTML) && regExpTest(/<[/\w!]/g, currentNode.textContent)) {
1186
+ if (currentNode.hasChildNodes() && !_isNode(currentNode.firstElementChild) && regExpTest(/<[/\w!]/g, currentNode.innerHTML) && regExpTest(/<[/\w!]/g, currentNode.textContent)) {
1215
1187
  _forceRemove(currentNode);
1216
1188
  return true;
1217
1189
  }
@@ -1223,7 +1195,7 @@ function createDOMPurify() {
1223
1195
  _forceRemove(currentNode);
1224
1196
  return true;
1225
1197
  }
1226
- if (!(EXTRA_ELEMENT_HANDLING.tagCheck instanceof Function && EXTRA_ELEMENT_HANDLING.tagCheck(tagName)) && (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName])) {
1198
+ if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {
1227
1199
  if (!FORBID_TAGS[tagName] && _isBasicCustomElement(tagName)) {
1228
1200
  if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, tagName)) {
1229
1201
  return false;
@@ -1276,13 +1248,12 @@ function createDOMPurify() {
1276
1248
  }
1277
1249
  if (ALLOW_DATA_ATTR && !FORBID_ATTR[lcName] && regExpTest(DATA_ATTR2, lcName)) ;
1278
1250
  else if (ALLOW_ARIA_ATTR && regExpTest(ARIA_ATTR2, lcName)) ;
1279
- else if (EXTRA_ELEMENT_HANDLING.attributeCheck instanceof Function && EXTRA_ELEMENT_HANDLING.attributeCheck(lcName, lcTag)) ;
1280
1251
  else if (!ALLOWED_ATTR[lcName] || FORBID_ATTR[lcName]) {
1281
1252
  if (
1282
1253
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
1283
1254
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
1284
1255
  // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
1285
- _isBasicCustomElement(lcTag) && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, lcTag) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(lcTag)) && (CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.attributeNameCheck, lcName) || CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.attributeNameCheck(lcName, lcTag)) || // Alternative, second condition checks if it's an `is`-attribute, AND
1256
+ _isBasicCustomElement(lcTag) && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, lcTag) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(lcTag)) && (CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.attributeNameCheck, lcName) || CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.attributeNameCheck(lcName)) || // Alternative, second condition checks if it's an `is`-attribute, AND
1286
1257
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
1287
1258
  lcName === "is" && CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, value) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(value))
1288
1259
  ) ;
@@ -1325,8 +1296,7 @@ function createDOMPurify() {
1325
1296
  value: attrValue
1326
1297
  } = attr;
1327
1298
  const lcName = transformCaseFunc(name);
1328
- const initValue = attrValue;
1329
- let value = name === "value" ? initValue : stringTrim(initValue);
1299
+ let value = name === "value" ? attrValue : stringTrim(attrValue);
1330
1300
  hookEvent.attrName = lcName;
1331
1301
  hookEvent.attrValue = value;
1332
1302
  hookEvent.keepAttr = true;
@@ -1337,19 +1307,15 @@ function createDOMPurify() {
1337
1307
  _removeAttribute(name, currentNode);
1338
1308
  value = SANITIZE_NAMED_PROPS_PREFIX + value;
1339
1309
  }
1340
- if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|title|textarea)/i, value)) {
1341
- _removeAttribute(name, currentNode);
1342
- continue;
1343
- }
1344
- if (lcName === "attributename" && stringMatch(value, "href")) {
1310
+ if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|title)/i, value)) {
1345
1311
  _removeAttribute(name, currentNode);
1346
1312
  continue;
1347
1313
  }
1348
1314
  if (hookEvent.forceKeepAttr) {
1349
1315
  continue;
1350
1316
  }
1317
+ _removeAttribute(name, currentNode);
1351
1318
  if (!hookEvent.keepAttr) {
1352
- _removeAttribute(name, currentNode);
1353
1319
  continue;
1354
1320
  }
1355
1321
  if (!ALLOW_SELF_CLOSE_IN_ATTR && regExpTest(/\/>/i, value)) {
@@ -1363,7 +1329,6 @@ function createDOMPurify() {
1363
1329
  }
1364
1330
  const lcTag = transformCaseFunc(currentNode.nodeName);
1365
1331
  if (!_isValidAttribute(lcTag, lcName, value)) {
1366
- _removeAttribute(name, currentNode);
1367
1332
  continue;
1368
1333
  }
1369
1334
  if (trustedTypesPolicy && typeof trustedTypes === "object" && typeof trustedTypes.getAttributeType === "function") {
@@ -1381,21 +1346,18 @@ function createDOMPurify() {
1381
1346
  }
1382
1347
  }
1383
1348
  }
1384
- if (value !== initValue) {
1385
- try {
1386
- if (namespaceURI) {
1387
- currentNode.setAttributeNS(namespaceURI, name, value);
1388
- } else {
1389
- currentNode.setAttribute(name, value);
1390
- }
1391
- if (_isClobbered(currentNode)) {
1392
- _forceRemove(currentNode);
1393
- } else {
1394
- arrayPop(DOMPurify.removed);
1395
- }
1396
- } catch (_) {
1397
- _removeAttribute(name, currentNode);
1349
+ try {
1350
+ if (namespaceURI) {
1351
+ currentNode.setAttributeNS(namespaceURI, name, value);
1352
+ } else {
1353
+ currentNode.setAttribute(name, value);
1354
+ }
1355
+ if (_isClobbered(currentNode)) {
1356
+ _forceRemove(currentNode);
1357
+ } else {
1358
+ arrayPop(DOMPurify.removed);
1398
1359
  }
1360
+ } catch (_) {
1399
1361
  }
1400
1362
  }
1401
1363
  _executeHooks(hooks.afterSanitizeAttributes, currentNode, null);
@@ -1708,7 +1670,7 @@ const friendlyJSONstringify = (json) => JSON.stringify(json).replace(/\u2028/g,
1708
1670
  const isNumber$1 = (val) => typeof val === "number" && isFinite(val);
1709
1671
  const isDate$1 = (val) => toTypeString(val) === "[object Date]";
1710
1672
  const isRegExp$1 = (val) => toTypeString(val) === "[object RegExp]";
1711
- const isEmptyObject$1 = (val) => isPlainObject$1(val) && Object.keys(val).length === 0;
1673
+ const isEmptyObject = (val) => isPlainObject$1(val) && Object.keys(val).length === 0;
1712
1674
  const assign$1 = Object.assign;
1713
1675
  const _create = Object.create;
1714
1676
  const create = (obj = null) => _create(obj);
@@ -1724,12 +1686,12 @@ function hasOwn(obj, key) {
1724
1686
  return hasOwnProperty$1.call(obj, key);
1725
1687
  }
1726
1688
  const isArray$1 = Array.isArray;
1727
- const isFunction$2 = (val) => typeof val === "function";
1689
+ const isFunction$1 = (val) => typeof val === "function";
1728
1690
  const isString$2 = (val) => typeof val === "string";
1729
1691
  const isBoolean$1 = (val) => typeof val === "boolean";
1730
1692
  const isObject$3 = (val) => val !== null && typeof val === "object";
1731
1693
  const isPromise = (val) => {
1732
- return isObject$3(val) && isFunction$2(val.then) && isFunction$2(val.catch);
1694
+ return isObject$3(val) && isFunction$1(val.then) && isFunction$1(val.catch);
1733
1695
  };
1734
1696
  const objectToString = Object.prototype.toString;
1735
1697
  const toTypeString = (value) => objectToString.call(value);
@@ -3836,7 +3798,7 @@ function resolveValue$1(obj, path) {
3836
3798
  if (val === void 0) {
3837
3799
  return null;
3838
3800
  }
3839
- if (isFunction$2(last)) {
3801
+ if (isFunction$1(last)) {
3840
3802
  return null;
3841
3803
  }
3842
3804
  last = val;
@@ -3871,8 +3833,8 @@ function normalizeNamed(pluralIndex, props) {
3871
3833
  function createMessageContext(options = {}) {
3872
3834
  const locale2 = options.locale;
3873
3835
  const pluralIndex = getPluralIndex(options);
3874
- const pluralRule = isObject$3(options.pluralRules) && isString$2(locale2) && isFunction$2(options.pluralRules[locale2]) ? options.pluralRules[locale2] : pluralDefault;
3875
- const orgPluralRule = isObject$3(options.pluralRules) && isString$2(locale2) && isFunction$2(options.pluralRules[locale2]) ? pluralDefault : void 0;
3836
+ const pluralRule = isObject$3(options.pluralRules) && isString$2(locale2) && isFunction$1(options.pluralRules[locale2]) ? options.pluralRules[locale2] : pluralDefault;
3837
+ const orgPluralRule = isObject$3(options.pluralRules) && isString$2(locale2) && isFunction$1(options.pluralRules[locale2]) ? pluralDefault : void 0;
3876
3838
  const plural = (messages) => {
3877
3839
  return messages[pluralRule(pluralIndex, messages.length, orgPluralRule)];
3878
3840
  };
@@ -3882,12 +3844,12 @@ function createMessageContext(options = {}) {
3882
3844
  isNumber$1(options.pluralIndex) && normalizeNamed(pluralIndex, _named);
3883
3845
  const named = (key) => _named[key];
3884
3846
  function message(key) {
3885
- const msg = isFunction$2(options.messages) ? options.messages(key) : isObject$3(options.messages) ? options.messages[key] : false;
3847
+ const msg = isFunction$1(options.messages) ? options.messages(key) : isObject$3(options.messages) ? options.messages[key] : false;
3886
3848
  return !msg ? options.parent ? options.parent.message(key) : DEFAULT_MESSAGE : msg;
3887
3849
  }
3888
3850
  const _modifier = (name) => options.modifiers ? options.modifiers[name] : DEFAULT_MODIFIER;
3889
- const normalize = isPlainObject$1(options.processor) && isFunction$2(options.processor.normalize) ? options.processor.normalize : DEFAULT_NORMALIZE;
3890
- const interpolate = isPlainObject$1(options.processor) && isFunction$2(options.processor.interpolate) ? options.processor.interpolate : DEFAULT_INTERPOLATE;
3851
+ const normalize = isPlainObject$1(options.processor) && isFunction$1(options.processor.normalize) ? options.processor.normalize : DEFAULT_NORMALIZE;
3852
+ const interpolate = isPlainObject$1(options.processor) && isFunction$1(options.processor.interpolate) ? options.processor.interpolate : DEFAULT_INTERPOLATE;
3891
3853
  const type = isPlainObject$1(options.processor) && isString$2(options.processor.type) ? options.processor.type : DEFAULT_MESSAGE_DATA_TYPE;
3892
3854
  const linked = (key, ...args) => {
3893
3855
  const [arg1, arg2] = args;
@@ -4046,7 +4008,7 @@ function resolveLocale(locale2) {
4046
4008
  if (isString$2(locale2)) {
4047
4009
  return locale2;
4048
4010
  } else {
4049
- if (isFunction$2(locale2)) {
4011
+ if (isFunction$1(locale2)) {
4050
4012
  if (locale2.resolvedOnce && _resolveLocale != null) {
4051
4013
  return _resolveLocale;
4052
4014
  } else if (locale2.constructor.name === "Function") {
@@ -4168,31 +4130,31 @@ const setFallbackContext = (context) => {
4168
4130
  const getFallbackContext = () => _fallbackContext;
4169
4131
  let _cid = 0;
4170
4132
  function createCoreContext(options = {}) {
4171
- const onWarn = isFunction$2(options.onWarn) ? options.onWarn : warn;
4133
+ const onWarn = isFunction$1(options.onWarn) ? options.onWarn : warn;
4172
4134
  const version = isString$2(options.version) ? options.version : VERSION$3;
4173
- const locale2 = isString$2(options.locale) || isFunction$2(options.locale) ? options.locale : DEFAULT_LOCALE;
4174
- const _locale = isFunction$2(locale2) ? DEFAULT_LOCALE : locale2;
4135
+ const locale2 = isString$2(options.locale) || isFunction$1(options.locale) ? options.locale : DEFAULT_LOCALE;
4136
+ const _locale = isFunction$1(locale2) ? DEFAULT_LOCALE : locale2;
4175
4137
  const fallbackLocale = isArray$1(options.fallbackLocale) || isPlainObject$1(options.fallbackLocale) || isString$2(options.fallbackLocale) || options.fallbackLocale === false ? options.fallbackLocale : _locale;
4176
4138
  const messages = isPlainObject$1(options.messages) ? options.messages : createResources(_locale);
4177
4139
  const datetimeFormats = isPlainObject$1(options.datetimeFormats) ? options.datetimeFormats : createResources(_locale);
4178
4140
  const numberFormats = isPlainObject$1(options.numberFormats) ? options.numberFormats : createResources(_locale);
4179
4141
  const modifiers = assign$1(create(), options.modifiers, getDefaultLinkedModifiers());
4180
4142
  const pluralRules = options.pluralRules || create();
4181
- const missing = isFunction$2(options.missing) ? options.missing : null;
4143
+ const missing = isFunction$1(options.missing) ? options.missing : null;
4182
4144
  const missingWarn = isBoolean$1(options.missingWarn) || isRegExp$1(options.missingWarn) ? options.missingWarn : true;
4183
4145
  const fallbackWarn = isBoolean$1(options.fallbackWarn) || isRegExp$1(options.fallbackWarn) ? options.fallbackWarn : true;
4184
4146
  const fallbackFormat = !!options.fallbackFormat;
4185
4147
  const unresolving = !!options.unresolving;
4186
- const postTranslation = isFunction$2(options.postTranslation) ? options.postTranslation : null;
4148
+ const postTranslation = isFunction$1(options.postTranslation) ? options.postTranslation : null;
4187
4149
  const processor = isPlainObject$1(options.processor) ? options.processor : null;
4188
4150
  const warnHtmlMessage = isBoolean$1(options.warnHtmlMessage) ? options.warnHtmlMessage : true;
4189
4151
  const escapeParameter = !!options.escapeParameter;
4190
- const messageCompiler = isFunction$2(options.messageCompiler) ? options.messageCompiler : _compiler;
4191
- if (process.env.NODE_ENV !== "production" && true && true && isFunction$2(options.messageCompiler)) {
4152
+ const messageCompiler = isFunction$1(options.messageCompiler) ? options.messageCompiler : _compiler;
4153
+ if (process.env.NODE_ENV !== "production" && true && true && isFunction$1(options.messageCompiler)) {
4192
4154
  warnOnce(getWarnMessage$1(CoreWarnCodes.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
4193
4155
  }
4194
- const messageResolver = isFunction$2(options.messageResolver) ? options.messageResolver : _resolver || resolveWithKeyValue;
4195
- const localeFallbacker = isFunction$2(options.localeFallbacker) ? options.localeFallbacker : _fallbacker || fallbackWithSimple;
4156
+ const messageResolver = isFunction$1(options.messageResolver) ? options.messageResolver : _resolver || resolveWithKeyValue;
4157
+ const localeFallbacker = isFunction$1(options.localeFallbacker) ? options.localeFallbacker : _fallbacker || fallbackWithSimple;
4196
4158
  const fallbackContext = isObject$3(options.fallbackContext) ? options.fallbackContext : void 0;
4197
4159
  const internalOptions = options;
4198
4160
  const __datetimeFormatters = isObject$3(internalOptions.__datetimeFormatters) ? internalOptions.__datetimeFormatters : /* @__PURE__ */ new Map();
@@ -4510,7 +4472,7 @@ function compile(message, context) {
4510
4472
  }
4511
4473
  }
4512
4474
  const NOOP_MESSAGE_FUNCTION = () => "";
4513
- const isMessageFunction = (val) => isFunction$2(val);
4475
+ const isMessageFunction = (val) => isFunction$1(val);
4514
4476
  function translate(context, ...args) {
4515
4477
  const { fallbackFormat, postTranslation, unresolving, messageCompiler, fallbackLocale, messages } = context;
4516
4478
  const [key, options] = parseTranslateArgs(...args);
@@ -4742,7 +4704,7 @@ function parseTranslateArgs(...args) {
4742
4704
  options.plural = arg2;
4743
4705
  } else if (isString$2(arg2)) {
4744
4706
  options.default = arg2;
4745
- } else if (isPlainObject$1(arg2) && !isEmptyObject$1(arg2)) {
4707
+ } else if (isPlainObject$1(arg2) && !isEmptyObject(arg2)) {
4746
4708
  options.named = arg2;
4747
4709
  } else if (isArray$1(arg2)) {
4748
4710
  options.list = arg2;
@@ -4899,7 +4861,7 @@ function datetime(context, ...args) {
4899
4861
  return unresolving ? NOT_REOSLVED : key;
4900
4862
  }
4901
4863
  let id = `${targetLocale}__${key}`;
4902
- if (!isEmptyObject$1(overrides)) {
4864
+ if (!isEmptyObject(overrides)) {
4903
4865
  id = `${id}__${JSON.stringify(overrides)}`;
4904
4866
  }
4905
4867
  let formatter = __datetimeFormatters.get(id);
@@ -5047,7 +5009,7 @@ function number(context, ...args) {
5047
5009
  return unresolving ? NOT_REOSLVED : key;
5048
5010
  }
5049
5011
  let id = `${targetLocale}__${key}`;
5050
- if (!isEmptyObject$1(overrides)) {
5012
+ if (!isEmptyObject(overrides)) {
5051
5013
  id = `${id}__${JSON.stringify(overrides)}`;
5052
5014
  }
5053
5015
  let formatter = __numberFormatters.get(id);
@@ -5554,9 +5516,9 @@ function createComposer(options = {}, VueI18nLegacy) {
5554
5516
  let _fallbackWarn = __root ? __root.fallbackWarn : isBoolean$1(options.fallbackWarn) || isRegExp$1(options.fallbackWarn) ? options.fallbackWarn : true;
5555
5517
  let _fallbackRoot = __root ? __root.fallbackRoot : isBoolean$1(options.fallbackRoot) ? options.fallbackRoot : true;
5556
5518
  let _fallbackFormat = !!options.fallbackFormat;
5557
- let _missing = isFunction$2(options.missing) ? options.missing : null;
5558
- let _runtimeMissing = isFunction$2(options.missing) ? defineCoreMissingHandler(options.missing) : null;
5559
- let _postTranslation = isFunction$2(options.postTranslation) ? options.postTranslation : null;
5519
+ let _missing = isFunction$1(options.missing) ? options.missing : null;
5520
+ let _runtimeMissing = isFunction$1(options.missing) ? defineCoreMissingHandler(options.missing) : null;
5521
+ let _postTranslation = isFunction$1(options.postTranslation) ? options.postTranslation : null;
5560
5522
  let _warnHtmlMessage = __root ? __root.warnHtmlMessage : isBoolean$1(options.warnHtmlMessage) ? options.warnHtmlMessage : true;
5561
5523
  let _escapeParameter = !!options.escapeParameter;
5562
5524
  const _modifiers = __root ? __root.modifiers : isPlainObject$1(options.modifiers) ? options.modifiers : {};
@@ -5626,7 +5588,7 @@ function createComposer(options = {}, VueI18nLegacy) {
5626
5588
  const datetimeFormats = /* @__PURE__ */ computed(() => _datetimeFormats.value);
5627
5589
  const numberFormats = /* @__PURE__ */ computed(() => _numberFormats.value);
5628
5590
  function getPostTranslationHandler() {
5629
- return isFunction$2(_postTranslation) ? _postTranslation : null;
5591
+ return isFunction$1(_postTranslation) ? _postTranslation : null;
5630
5592
  }
5631
5593
  function setPostTranslationHandler(handler) {
5632
5594
  _postTranslation = handler;
@@ -5977,14 +5939,14 @@ function createComposer(options = {}, VueI18nLegacy) {
5977
5939
  function convertComposerOptions(options) {
5978
5940
  const locale2 = isString$2(options.locale) ? options.locale : DEFAULT_LOCALE;
5979
5941
  const fallbackLocale = isString$2(options.fallbackLocale) || isArray$1(options.fallbackLocale) || isPlainObject$1(options.fallbackLocale) || options.fallbackLocale === false ? options.fallbackLocale : locale2;
5980
- const missing = isFunction$2(options.missing) ? options.missing : void 0;
5942
+ const missing = isFunction$1(options.missing) ? options.missing : void 0;
5981
5943
  const missingWarn = isBoolean$1(options.silentTranslationWarn) || isRegExp$1(options.silentTranslationWarn) ? !options.silentTranslationWarn : true;
5982
5944
  const fallbackWarn = isBoolean$1(options.silentFallbackWarn) || isRegExp$1(options.silentFallbackWarn) ? !options.silentFallbackWarn : true;
5983
5945
  const fallbackRoot = isBoolean$1(options.fallbackRoot) ? options.fallbackRoot : true;
5984
5946
  const fallbackFormat = !!options.formatFallbackMessages;
5985
5947
  const modifiers = isPlainObject$1(options.modifiers) ? options.modifiers : {};
5986
5948
  const pluralizationRules = options.pluralizationRules;
5987
- const postTranslation = isFunction$2(options.postTranslation) ? options.postTranslation : void 0;
5949
+ const postTranslation = isFunction$1(options.postTranslation) ? options.postTranslation : void 0;
5988
5950
  const warnHtmlMessage = isString$2(options.warnHtmlInMessage) ? options.warnHtmlInMessage !== "off" : true;
5989
5951
  const escapeParameter = !!options.escapeParameterHtml;
5990
5952
  const inheritLocale = isBoolean$1(options.sync) ? options.sync : true;
@@ -6761,7 +6723,7 @@ function getLocaleMessageValue(messages) {
6761
6723
  const value = {};
6762
6724
  Object.keys(messages).forEach((key) => {
6763
6725
  const v = messages[key];
6764
- if (isFunction$2(v) && "source" in v) {
6726
+ if (isFunction$1(v) && "source" in v) {
6765
6727
  value[key] = getMessageFunctionDetails(v);
6766
6728
  } else if (isMessageAST(v) && v.loc && v.loc.source) {
6767
6729
  value[key] = v.loc.source;
@@ -7229,7 +7191,7 @@ function getI18nInstance(instance) {
7229
7191
  }
7230
7192
  }
7231
7193
  function getScope(options, componentOptions) {
7232
- return isEmptyObject$1(options) ? "__i18n" in componentOptions ? "local" : "global" : !options.useScope ? "local" : options.useScope;
7194
+ return isEmptyObject(options) ? "__i18n" in componentOptions ? "local" : "global" : !options.useScope ? "local" : options.useScope;
7233
7195
  }
7234
7196
  function getGlobalComposer(i18n2) {
7235
7197
  return i18n2.mode === "composition" ? i18n2.global : i18n2.global.__composer;
@@ -7321,8 +7283,8 @@ function useI18nForLegacy(instance, scope, root, options = {}) {
7321
7283
  const _fallbackWarn = isLocalScope ? root.fallbackWarn : isBoolean$1(options.fallbackWarn) || isRegExp$1(options.fallbackWarn) ? options.fallbackWarn : true;
7322
7284
  const _fallbackRoot = isLocalScope ? root.fallbackRoot : isBoolean$1(options.fallbackRoot) ? options.fallbackRoot : true;
7323
7285
  const _fallbackFormat = !!options.fallbackFormat;
7324
- const _missing = isFunction$2(options.missing) ? options.missing : null;
7325
- const _postTranslation = isFunction$2(options.postTranslation) ? options.postTranslation : null;
7286
+ const _missing = isFunction$1(options.missing) ? options.missing : null;
7287
+ const _postTranslation = isFunction$1(options.postTranslation) ? options.postTranslation : null;
7326
7288
  const _warnHtmlMessage = isLocalScope ? root.warnHtmlMessage : isBoolean$1(options.warnHtmlMessage) ? options.warnHtmlMessage : true;
7327
7289
  const _escapeParameter = !!options.escapeParameter;
7328
7290
  const _modifiers = isLocalScope ? root.modifiers : isPlainObject$1(options.modifiers) ? options.modifiers : {};
@@ -7691,7 +7653,7 @@ const gitCodeLayout$1 = {
7691
7653
  digest: "重庆开源共创科技有限公司版权所有",
7692
7654
  companyInformation: "重庆开源共创",
7693
7655
  recordInformation: "渝ICP备2023009037号-12",
7694
- publicSecurity: "xxxx"
7656
+ publicSecurity: "京公网安备11010502058321号"
7695
7657
  }
7696
7658
  },
7697
7659
  header: {
@@ -8018,7 +7980,7 @@ const gitCodeLayout = {
8018
7980
  digest: "ChongQingKaiYuanGongChuang Technology Co., Ltd. All Rights Reserved",
8019
7981
  companyInformation: "ChongQingKaiYuanGongChuang",
8020
7982
  recordInformation: "Yu ICP No. 2023009037-12",
8021
- publicSecurity: "xxxx"
7983
+ publicSecurity: "京公网安备11010502058321号"
8022
7984
  }
8023
7985
  },
8024
7986
  header: {
@@ -8562,7 +8524,6 @@ function bind(fn, thisArg) {
8562
8524
  }
8563
8525
  const { toString } = Object.prototype;
8564
8526
  const { getPrototypeOf } = Object;
8565
- const { iterator, toStringTag } = Symbol;
8566
8527
  const kindOf = /* @__PURE__ */ ((cache2) => (thing) => {
8567
8528
  const str = toString.call(thing);
8568
8529
  return cache2[str] || (cache2[str] = str.slice(8, -1).toLowerCase());
@@ -8575,7 +8536,7 @@ const typeOfTest = (type) => (thing) => typeof thing === type;
8575
8536
  const { isArray } = Array;
8576
8537
  const isUndefined$1 = typeOfTest("undefined");
8577
8538
  function isBuffer(val) {
8578
- return val !== null && !isUndefined$1(val) && val.constructor !== null && !isUndefined$1(val.constructor) && isFunction$1(val.constructor.isBuffer) && val.constructor.isBuffer(val);
8539
+ return val !== null && !isUndefined$1(val) && val.constructor !== null && !isUndefined$1(val.constructor) && isFunction(val.constructor.isBuffer) && val.constructor.isBuffer(val);
8579
8540
  }
8580
8541
  const isArrayBuffer = kindOfTest("ArrayBuffer");
8581
8542
  function isArrayBufferView(val) {
@@ -8588,7 +8549,7 @@ function isArrayBufferView(val) {
8588
8549
  return result2;
8589
8550
  }
8590
8551
  const isString = typeOfTest("string");
8591
- const isFunction$1 = typeOfTest("function");
8552
+ const isFunction = typeOfTest("function");
8592
8553
  const isNumber = typeOfTest("number");
8593
8554
  const isObject$1 = (thing) => thing !== null && typeof thing === "object";
8594
8555
  const isBoolean = (thing) => thing === true || thing === false;
@@ -8597,27 +8558,17 @@ const isPlainObject = (val) => {
8597
8558
  return false;
8598
8559
  }
8599
8560
  const prototype2 = getPrototypeOf(val);
8600
- return (prototype2 === null || prototype2 === Object.prototype || Object.getPrototypeOf(prototype2) === null) && !(toStringTag in val) && !(iterator in val);
8601
- };
8602
- const isEmptyObject = (val) => {
8603
- if (!isObject$1(val) || isBuffer(val)) {
8604
- return false;
8605
- }
8606
- try {
8607
- return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype;
8608
- } catch (e) {
8609
- return false;
8610
- }
8561
+ return (prototype2 === null || prototype2 === Object.prototype || Object.getPrototypeOf(prototype2) === null) && !(Symbol.toStringTag in val) && !(Symbol.iterator in val);
8611
8562
  };
8612
8563
  const isDate = kindOfTest("Date");
8613
8564
  const isFile = kindOfTest("File");
8614
8565
  const isBlob = kindOfTest("Blob");
8615
8566
  const isFileList = kindOfTest("FileList");
8616
- const isStream = (val) => isObject$1(val) && isFunction$1(val.pipe);
8567
+ const isStream = (val) => isObject$1(val) && isFunction(val.pipe);
8617
8568
  const isFormData = (thing) => {
8618
8569
  let kind;
8619
- return thing && (typeof FormData === "function" && thing instanceof FormData || isFunction$1(thing.append) && ((kind = kindOf(thing)) === "formdata" || // detect form-data instance
8620
- kind === "object" && isFunction$1(thing.toString) && thing.toString() === "[object FormData]"));
8570
+ return thing && (typeof FormData === "function" && thing instanceof FormData || isFunction(thing.append) && ((kind = kindOf(thing)) === "formdata" || // detect form-data instance
8571
+ kind === "object" && isFunction(thing.toString) && thing.toString() === "[object FormData]"));
8621
8572
  };
8622
8573
  const isURLSearchParams = kindOfTest("URLSearchParams");
8623
8574
  const [isReadableStream, isRequest, isResponse, isHeaders] = ["ReadableStream", "Request", "Response", "Headers"].map(kindOfTest);
@@ -8636,9 +8587,6 @@ function forEach(obj, fn, { allOwnKeys = false } = {}) {
8636
8587
  fn.call(null, obj[i], i, obj);
8637
8588
  }
8638
8589
  } else {
8639
- if (isBuffer(obj)) {
8640
- return;
8641
- }
8642
8590
  const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);
8643
8591
  const len = keys.length;
8644
8592
  let key;
@@ -8649,9 +8597,6 @@ function forEach(obj, fn, { allOwnKeys = false } = {}) {
8649
8597
  }
8650
8598
  }
8651
8599
  function findKey(obj, key) {
8652
- if (isBuffer(obj)) {
8653
- return null;
8654
- }
8655
8600
  key = key.toLowerCase();
8656
8601
  const keys = Object.keys(obj);
8657
8602
  let i = keys.length;
@@ -8670,7 +8615,7 @@ const _global = (() => {
8670
8615
  })();
8671
8616
  const isContextDefined = (context) => !isUndefined$1(context) && context !== _global;
8672
8617
  function merge() {
8673
- const { caseless, skipUndefined } = isContextDefined(this) && this || {};
8618
+ const { caseless } = isContextDefined(this) && this || {};
8674
8619
  const result2 = {};
8675
8620
  const assignValue = (val, key) => {
8676
8621
  const targetKey = caseless && findKey(result2, key) || key;
@@ -8681,9 +8626,7 @@ function merge() {
8681
8626
  } else if (isArray(val)) {
8682
8627
  result2[targetKey] = val.slice();
8683
8628
  } else {
8684
- if (!skipUndefined || !isUndefined$1(val)) {
8685
- result2[targetKey] = val;
8686
- }
8629
+ result2[targetKey] = val;
8687
8630
  }
8688
8631
  };
8689
8632
  for (let i = 0, l = arguments.length; i < l; i++) {
@@ -8693,7 +8636,7 @@ function merge() {
8693
8636
  }
8694
8637
  const extend = (a, b, thisArg, { allOwnKeys } = {}) => {
8695
8638
  forEach(b, (val, key) => {
8696
- if (thisArg && isFunction$1(val)) {
8639
+ if (thisArg && isFunction(val)) {
8697
8640
  a[key] = bind(val, thisArg);
8698
8641
  } else {
8699
8642
  a[key] = val;
@@ -8762,10 +8705,10 @@ const isTypedArray = /* @__PURE__ */ ((TypedArray) => {
8762
8705
  };
8763
8706
  })(typeof Uint8Array !== "undefined" && getPrototypeOf(Uint8Array));
8764
8707
  const forEachEntry = (obj, fn) => {
8765
- const generator = obj && obj[iterator];
8766
- const _iterator = generator.call(obj);
8708
+ const generator = obj && obj[Symbol.iterator];
8709
+ const iterator = generator.call(obj);
8767
8710
  let result2;
8768
- while ((result2 = _iterator.next()) && !result2.done) {
8711
+ while ((result2 = iterator.next()) && !result2.done) {
8769
8712
  const pair = result2.value;
8770
8713
  fn.call(obj, pair[0], pair[1]);
8771
8714
  }
@@ -8802,11 +8745,11 @@ const reduceDescriptors = (obj, reducer) => {
8802
8745
  };
8803
8746
  const freezeMethods = (obj) => {
8804
8747
  reduceDescriptors(obj, (descriptor, name) => {
8805
- if (isFunction$1(obj) && ["arguments", "caller", "callee"].indexOf(name) !== -1) {
8748
+ if (isFunction(obj) && ["arguments", "caller", "callee"].indexOf(name) !== -1) {
8806
8749
  return false;
8807
8750
  }
8808
8751
  const value = obj[name];
8809
- if (!isFunction$1(value)) return;
8752
+ if (!isFunction(value)) return;
8810
8753
  descriptor.enumerable = false;
8811
8754
  if ("writable" in descriptor) {
8812
8755
  descriptor.writable = false;
@@ -8835,7 +8778,7 @@ const toFiniteNumber = (value, defaultValue) => {
8835
8778
  return value != null && Number.isFinite(value = +value) ? value : defaultValue;
8836
8779
  };
8837
8780
  function isSpecCompliantForm(thing) {
8838
- return !!(thing && isFunction$1(thing.append) && thing[toStringTag] === "FormData" && thing[iterator]);
8781
+ return !!(thing && isFunction(thing.append) && thing[Symbol.toStringTag] === "FormData" && thing[Symbol.iterator]);
8839
8782
  }
8840
8783
  const toJSONObject = (obj) => {
8841
8784
  const stack = new Array(10);
@@ -8844,9 +8787,6 @@ const toJSONObject = (obj) => {
8844
8787
  if (stack.indexOf(source) >= 0) {
8845
8788
  return;
8846
8789
  }
8847
- if (isBuffer(source)) {
8848
- return source;
8849
- }
8850
8790
  if (!("toJSON" in source)) {
8851
8791
  stack[i] = source;
8852
8792
  const target = isArray(source) ? [] : {};
@@ -8863,7 +8803,7 @@ const toJSONObject = (obj) => {
8863
8803
  return visit(obj, 0);
8864
8804
  };
8865
8805
  const isAsyncFn = kindOfTest("AsyncFunction");
8866
- const isThenable = (thing) => thing && (isObject$1(thing) || isFunction$1(thing)) && isFunction$1(thing.then) && isFunction$1(thing.catch);
8806
+ const isThenable = (thing) => thing && (isObject$1(thing) || isFunction(thing)) && isFunction(thing.then) && isFunction(thing.catch);
8867
8807
  const _setImmediate = ((setImmediateSupported, postMessageSupported) => {
8868
8808
  if (setImmediateSupported) {
8869
8809
  return setImmediate;
@@ -8881,10 +8821,9 @@ const _setImmediate = ((setImmediateSupported, postMessageSupported) => {
8881
8821
  })(`axios@${Math.random()}`, []) : (cb) => setTimeout(cb);
8882
8822
  })(
8883
8823
  typeof setImmediate === "function",
8884
- isFunction$1(_global.postMessage)
8824
+ isFunction(_global.postMessage)
8885
8825
  );
8886
8826
  const asap = typeof queueMicrotask !== "undefined" ? queueMicrotask.bind(_global) : typeof process !== "undefined" && process.nextTick || _setImmediate;
8887
- const isIterable = (thing) => thing != null && isFunction$1(thing[iterator]);
8888
8827
  const utils$1 = {
8889
8828
  isArray,
8890
8829
  isArrayBuffer,
@@ -8896,7 +8835,6 @@ const utils$1 = {
8896
8835
  isBoolean,
8897
8836
  isObject: isObject$1,
8898
8837
  isPlainObject,
8899
- isEmptyObject,
8900
8838
  isReadableStream,
8901
8839
  isRequest,
8902
8840
  isResponse,
@@ -8906,7 +8844,7 @@ const utils$1 = {
8906
8844
  isFile,
8907
8845
  isBlob,
8908
8846
  isRegExp,
8909
- isFunction: isFunction$1,
8847
+ isFunction,
8910
8848
  isStream,
8911
8849
  isURLSearchParams,
8912
8850
  isTypedArray,
@@ -8942,8 +8880,7 @@ const utils$1 = {
8942
8880
  isAsyncFn,
8943
8881
  isThenable,
8944
8882
  setImmediate: _setImmediate,
8945
- asap,
8946
- isIterable
8883
+ asap
8947
8884
  };
8948
8885
  function AxiosError$1(message, code2, config, request, response) {
8949
8886
  Error.call(this);
@@ -9011,13 +8948,9 @@ AxiosError$1.from = (error, code2, config, request, response, customProps) => {
9011
8948
  }, (prop) => {
9012
8949
  return prop !== "isAxiosError";
9013
8950
  });
9014
- const msg = error && error.message ? error.message : "Error";
9015
- const errCode = code2 == null && error ? error.code : code2;
9016
- AxiosError$1.call(axiosError, msg, errCode, config, request, response);
9017
- if (error && axiosError.cause == null) {
9018
- Object.defineProperty(axiosError, "cause", { value: error, configurable: true });
9019
- }
9020
- axiosError.name = error && error.name || "Error";
8951
+ AxiosError$1.call(axiosError, error.message, code2, config, request, response);
8952
+ axiosError.cause = error;
8953
+ axiosError.name = error.name;
9021
8954
  customProps && Object.assign(axiosError, customProps);
9022
8955
  return axiosError;
9023
8956
  };
@@ -9067,9 +9000,6 @@ function toFormData$1(obj, formData, options) {
9067
9000
  if (utils$1.isDate(value)) {
9068
9001
  return value.toISOString();
9069
9002
  }
9070
- if (utils$1.isBoolean(value)) {
9071
- return value.toString();
9072
- }
9073
9003
  if (!useBlob && utils$1.isBlob(value)) {
9074
9004
  throw new AxiosError$1("Blob is not supported. Use a Buffer instead.");
9075
9005
  }
@@ -9165,7 +9095,7 @@ prototype.toString = function toString2(encoder) {
9165
9095
  }, "").join("&");
9166
9096
  };
9167
9097
  function encode(val) {
9168
- return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
9098
+ return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
9169
9099
  }
9170
9100
  function buildURL(url, params, options) {
9171
9101
  if (!params) {
@@ -9292,16 +9222,15 @@ const platform = {
9292
9222
  ...platform$1
9293
9223
  };
9294
9224
  function toURLEncodedForm(data, options) {
9295
- return toFormData$1(data, new platform.classes.URLSearchParams(), {
9225
+ return toFormData$1(data, new platform.classes.URLSearchParams(), Object.assign({
9296
9226
  visitor: function(value, key, path, helpers) {
9297
9227
  if (platform.isNode && utils$1.isBuffer(value)) {
9298
9228
  this.append(key, value.toString("base64"));
9299
9229
  return false;
9300
9230
  }
9301
9231
  return helpers.defaultVisitor.apply(this, arguments);
9302
- },
9303
- ...options
9304
- });
9232
+ }
9233
+ }, options));
9305
9234
  }
9306
9235
  function parsePropPath(name) {
9307
9236
  return utils$1.matchAll(/\w+|\[(\w*)]/g, name).map((match) => {
@@ -9421,7 +9350,7 @@ const defaults = {
9421
9350
  const silentJSONParsing = transitional2 && transitional2.silentJSONParsing;
9422
9351
  const strictJSONParsing = !silentJSONParsing && JSONRequested;
9423
9352
  try {
9424
- return JSON.parse(data, this.parseReviver);
9353
+ return JSON.parse(data);
9425
9354
  } catch (e) {
9426
9355
  if (strictJSONParsing) {
9427
9356
  if (e.name === "SyntaxError") {
@@ -9574,15 +9503,10 @@ let AxiosHeaders$1 = class AxiosHeaders {
9574
9503
  setHeaders(header, valueOrRewrite);
9575
9504
  } else if (utils$1.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
9576
9505
  setHeaders(parseHeaders(header), valueOrRewrite);
9577
- } else if (utils$1.isObject(header) && utils$1.isIterable(header)) {
9578
- let obj = {}, dest, key;
9579
- for (const entry of header) {
9580
- if (!utils$1.isArray(entry)) {
9581
- throw TypeError("Object iterator must return a key-value pair");
9582
- }
9583
- obj[key = entry[0]] = (dest = obj[key]) ? utils$1.isArray(dest) ? [...dest, entry[1]] : [dest, entry[1]] : entry[1];
9506
+ } else if (utils$1.isHeaders(header)) {
9507
+ for (const [key, value] of header.entries()) {
9508
+ setHeader(value, key, rewrite);
9584
9509
  }
9585
- setHeaders(obj, valueOrRewrite);
9586
9510
  } else {
9587
9511
  header != null && setHeader(valueOrRewrite, header, rewrite);
9588
9512
  }
@@ -9686,9 +9610,6 @@ let AxiosHeaders$1 = class AxiosHeaders {
9686
9610
  toString() {
9687
9611
  return Object.entries(this.toJSON()).map(([header, value]) => header + ": " + value).join("\n");
9688
9612
  }
9689
- getSetCookie() {
9690
- return this.get("set-cookie") || [];
9691
- }
9692
9613
  get [Symbol.toStringTag]() {
9693
9614
  return "AxiosHeaders";
9694
9615
  }
@@ -9812,7 +9733,7 @@ function throttle(fn, freq) {
9812
9733
  clearTimeout(timer);
9813
9734
  timer = null;
9814
9735
  }
9815
- fn(...args);
9736
+ fn.apply(null, args);
9816
9737
  };
9817
9738
  const throttled = (...args) => {
9818
9739
  const now2 = Date.now();
@@ -9987,7 +9908,7 @@ function mergeConfig$1(config1, config2) {
9987
9908
  validateStatus: mergeDirectKeys,
9988
9909
  headers: (a, b, prop) => mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true)
9989
9910
  };
9990
- utils$1.forEach(Object.keys({ ...config1, ...config2 }), function computeConfigValue(prop) {
9911
+ utils$1.forEach(Object.keys(Object.assign({}, config1, config2)), function computeConfigValue(prop) {
9991
9912
  const merge2 = mergeMap[prop] || mergeDeepProperties;
9992
9913
  const configValue = merge2(config1[prop], config2[prop], prop);
9993
9914
  utils$1.isUndefined(configValue) && merge2 !== mergeDirectKeys || (config[prop] = configValue);
@@ -10005,17 +9926,13 @@ const resolveConfig = (config) => {
10005
9926
  "Basic " + btoa((auth.username || "") + ":" + (auth.password ? unescape(encodeURIComponent(auth.password)) : ""))
10006
9927
  );
10007
9928
  }
9929
+ let contentType;
10008
9930
  if (utils$1.isFormData(data)) {
10009
9931
  if (platform.hasStandardBrowserEnv || platform.hasStandardBrowserWebWorkerEnv) {
10010
9932
  headers.setContentType(void 0);
10011
- } else if (utils$1.isFunction(data.getHeaders)) {
10012
- const formHeaders = data.getHeaders();
10013
- const allowedHeaders = ["content-type", "content-length"];
10014
- Object.entries(formHeaders).forEach(([key, val]) => {
10015
- if (allowedHeaders.includes(key.toLowerCase())) {
10016
- headers.set(key, val);
10017
- }
10018
- });
9933
+ } else if ((contentType = headers.getContentType()) !== false) {
9934
+ const [type, ...tokens] = contentType ? contentType.split(";").map((token) => token.trim()).filter(Boolean) : [];
9935
+ headers.setContentType([type || "multipart/form-data", ...tokens].join("; "));
10019
9936
  }
10020
9937
  }
10021
9938
  if (platform.hasStandardBrowserEnv) {
@@ -10093,11 +10010,8 @@ const xhrAdapter = isXHRAdapterSupported && function(config) {
10093
10010
  reject(new AxiosError$1("Request aborted", AxiosError$1.ECONNABORTED, config, request));
10094
10011
  request = null;
10095
10012
  };
10096
- request.onerror = function handleError(event) {
10097
- const msg = event && event.message ? event.message : "Network Error";
10098
- const err = new AxiosError$1(msg, AxiosError$1.ERR_NETWORK, config, request);
10099
- err.event = event || null;
10100
- reject(err);
10013
+ request.onerror = function handleError() {
10014
+ reject(new AxiosError$1("Network Error", AxiosError$1.ERR_NETWORK, config, request));
10101
10015
  request = null;
10102
10016
  };
10103
10017
  request.ontimeout = function handleTimeout() {
@@ -10228,7 +10142,7 @@ const readStream = async function* (stream) {
10228
10142
  }
10229
10143
  };
10230
10144
  const trackStream = (stream, chunkSize, onProgress, onFinish) => {
10231
- const iterator2 = readBytes(stream, chunkSize);
10145
+ const iterator = readBytes(stream, chunkSize);
10232
10146
  let bytes = 0;
10233
10147
  let done;
10234
10148
  let _onFinish = (e) => {
@@ -10240,7 +10154,7 @@ const trackStream = (stream, chunkSize, onProgress, onFinish) => {
10240
10154
  return new ReadableStream({
10241
10155
  async pull(controller) {
10242
10156
  try {
10243
- const { done: done2, value } = await iterator2.next();
10157
+ const { done: done2, value } = await iterator.next();
10244
10158
  if (done2) {
10245
10159
  _onFinish();
10246
10160
  controller.close();
@@ -10259,23 +10173,15 @@ const trackStream = (stream, chunkSize, onProgress, onFinish) => {
10259
10173
  },
10260
10174
  cancel(reason) {
10261
10175
  _onFinish(reason);
10262
- return iterator2.return();
10176
+ return iterator.return();
10263
10177
  }
10264
10178
  }, {
10265
10179
  highWaterMark: 2
10266
10180
  });
10267
10181
  };
10268
- const DEFAULT_CHUNK_SIZE = 64 * 1024;
10269
- const { isFunction } = utils$1;
10270
- const globalFetchAPI = (({ fetch: fetch2, Request, Response }) => ({
10271
- fetch: fetch2,
10272
- Request,
10273
- Response
10274
- }))(utils$1.global);
10275
- const {
10276
- ReadableStream: ReadableStream$1,
10277
- TextEncoder
10278
- } = utils$1.global;
10182
+ const isFetchSupported = typeof fetch === "function" && typeof Request === "function" && typeof Response === "function";
10183
+ const isReadableStreamSupported = isFetchSupported && typeof ReadableStream === "function";
10184
+ const encodeText = isFetchSupported && (typeof TextEncoder === "function" ? /* @__PURE__ */ ((encoder) => (str) => encoder.encode(str))(new TextEncoder()) : async (str) => new Uint8Array(await new Response(str).arrayBuffer()));
10279
10185
  const test = (fn, ...args) => {
10280
10186
  try {
10281
10187
  return !!fn(...args);
@@ -10283,200 +10189,162 @@ const test = (fn, ...args) => {
10283
10189
  return false;
10284
10190
  }
10285
10191
  };
10286
- const factory = (env) => {
10287
- const { fetch: fetch2, Request, Response } = Object.assign({}, globalFetchAPI, env);
10288
- const isFetchSupported = isFunction(fetch2);
10289
- const isRequestSupported = isFunction(Request);
10290
- const isResponseSupported = isFunction(Response);
10291
- if (!isFetchSupported) {
10292
- return false;
10192
+ const supportsRequestStream = isReadableStreamSupported && test(() => {
10193
+ let duplexAccessed = false;
10194
+ const hasContentType = new Request(platform.origin, {
10195
+ body: new ReadableStream(),
10196
+ method: "POST",
10197
+ get duplex() {
10198
+ duplexAccessed = true;
10199
+ return "half";
10200
+ }
10201
+ }).headers.has("Content-Type");
10202
+ return duplexAccessed && !hasContentType;
10203
+ });
10204
+ const DEFAULT_CHUNK_SIZE = 64 * 1024;
10205
+ const supportsResponseStream = isReadableStreamSupported && test(() => utils$1.isReadableStream(new Response("").body));
10206
+ const resolvers = {
10207
+ stream: supportsResponseStream && ((res) => res.body)
10208
+ };
10209
+ isFetchSupported && ((res) => {
10210
+ ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((type) => {
10211
+ !resolvers[type] && (resolvers[type] = utils$1.isFunction(res[type]) ? (res2) => res2[type]() : (_, config) => {
10212
+ throw new AxiosError$1(`Response type '${type}' is not supported`, AxiosError$1.ERR_NOT_SUPPORT, config);
10213
+ });
10214
+ });
10215
+ })(new Response());
10216
+ const getBodyLength = async (body) => {
10217
+ if (body == null) {
10218
+ return 0;
10219
+ }
10220
+ if (utils$1.isBlob(body)) {
10221
+ return body.size;
10293
10222
  }
10294
- const isReadableStreamSupported = isFetchSupported && isFunction(ReadableStream$1);
10295
- const encodeText = isFetchSupported && (typeof TextEncoder === "function" ? /* @__PURE__ */ ((encoder) => (str) => encoder.encode(str))(new TextEncoder()) : async (str) => new Uint8Array(await new Request(str).arrayBuffer()));
10296
- const supportsRequestStream = isRequestSupported && isReadableStreamSupported && test(() => {
10297
- let duplexAccessed = false;
10298
- const hasContentType = new Request(platform.origin, {
10299
- body: new ReadableStream$1(),
10223
+ if (utils$1.isSpecCompliantForm(body)) {
10224
+ const _request = new Request(platform.origin, {
10300
10225
  method: "POST",
10301
- get duplex() {
10302
- duplexAccessed = true;
10303
- return "half";
10304
- }
10305
- }).headers.has("Content-Type");
10306
- return duplexAccessed && !hasContentType;
10307
- });
10308
- const supportsResponseStream = isResponseSupported && isReadableStreamSupported && test(() => utils$1.isReadableStream(new Response("").body));
10309
- const resolvers = {
10310
- stream: supportsResponseStream && ((res) => res.body)
10311
- };
10312
- isFetchSupported && (() => {
10313
- ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((type) => {
10314
- !resolvers[type] && (resolvers[type] = (res, config) => {
10315
- let method = res && res[type];
10316
- if (method) {
10317
- return method.call(res);
10318
- }
10319
- throw new AxiosError$1(`Response type '${type}' is not supported`, AxiosError$1.ERR_NOT_SUPPORT, config);
10320
- });
10226
+ body
10321
10227
  });
10322
- })();
10323
- const getBodyLength = async (body) => {
10324
- if (body == null) {
10325
- return 0;
10326
- }
10327
- if (utils$1.isBlob(body)) {
10328
- return body.size;
10329
- }
10330
- if (utils$1.isSpecCompliantForm(body)) {
10331
- const _request = new Request(platform.origin, {
10228
+ return (await _request.arrayBuffer()).byteLength;
10229
+ }
10230
+ if (utils$1.isArrayBufferView(body) || utils$1.isArrayBuffer(body)) {
10231
+ return body.byteLength;
10232
+ }
10233
+ if (utils$1.isURLSearchParams(body)) {
10234
+ body = body + "";
10235
+ }
10236
+ if (utils$1.isString(body)) {
10237
+ return (await encodeText(body)).byteLength;
10238
+ }
10239
+ };
10240
+ const resolveBodyLength = async (headers, body) => {
10241
+ const length = utils$1.toFiniteNumber(headers.getContentLength());
10242
+ return length == null ? getBodyLength(body) : length;
10243
+ };
10244
+ const fetchAdapter = isFetchSupported && (async (config) => {
10245
+ let {
10246
+ url,
10247
+ method,
10248
+ data,
10249
+ signal,
10250
+ cancelToken,
10251
+ timeout,
10252
+ onDownloadProgress,
10253
+ onUploadProgress,
10254
+ responseType,
10255
+ headers,
10256
+ withCredentials = "same-origin",
10257
+ fetchOptions
10258
+ } = resolveConfig(config);
10259
+ responseType = responseType ? (responseType + "").toLowerCase() : "text";
10260
+ let composedSignal = composeSignals([signal, cancelToken && cancelToken.toAbortSignal()], timeout);
10261
+ let request;
10262
+ const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {
10263
+ composedSignal.unsubscribe();
10264
+ });
10265
+ let requestContentLength;
10266
+ try {
10267
+ if (onUploadProgress && supportsRequestStream && method !== "get" && method !== "head" && (requestContentLength = await resolveBodyLength(headers, data)) !== 0) {
10268
+ let _request = new Request(url, {
10332
10269
  method: "POST",
10333
- body
10270
+ body: data,
10271
+ duplex: "half"
10334
10272
  });
10335
- return (await _request.arrayBuffer()).byteLength;
10336
- }
10337
- if (utils$1.isArrayBufferView(body) || utils$1.isArrayBuffer(body)) {
10338
- return body.byteLength;
10273
+ let contentTypeHeader;
10274
+ if (utils$1.isFormData(data) && (contentTypeHeader = _request.headers.get("content-type"))) {
10275
+ headers.setContentType(contentTypeHeader);
10276
+ }
10277
+ if (_request.body) {
10278
+ const [onProgress, flush] = progressEventDecorator(
10279
+ requestContentLength,
10280
+ progressEventReducer(asyncDecorator(onUploadProgress))
10281
+ );
10282
+ data = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
10283
+ }
10339
10284
  }
10340
- if (utils$1.isURLSearchParams(body)) {
10341
- body = body + "";
10285
+ if (!utils$1.isString(withCredentials)) {
10286
+ withCredentials = withCredentials ? "include" : "omit";
10342
10287
  }
10343
- if (utils$1.isString(body)) {
10344
- return (await encodeText(body)).byteLength;
10288
+ const isCredentialsSupported = "credentials" in Request.prototype;
10289
+ request = new Request(url, {
10290
+ ...fetchOptions,
10291
+ signal: composedSignal,
10292
+ method: method.toUpperCase(),
10293
+ headers: headers.normalize().toJSON(),
10294
+ body: data,
10295
+ duplex: "half",
10296
+ credentials: isCredentialsSupported ? withCredentials : void 0
10297
+ });
10298
+ let response = await fetch(request);
10299
+ const isStreamResponse = supportsResponseStream && (responseType === "stream" || responseType === "response");
10300
+ if (supportsResponseStream && (onDownloadProgress || isStreamResponse && unsubscribe)) {
10301
+ const options = {};
10302
+ ["status", "statusText", "headers"].forEach((prop) => {
10303
+ options[prop] = response[prop];
10304
+ });
10305
+ const responseContentLength = utils$1.toFiniteNumber(response.headers.get("content-length"));
10306
+ const [onProgress, flush] = onDownloadProgress && progressEventDecorator(
10307
+ responseContentLength,
10308
+ progressEventReducer(asyncDecorator(onDownloadProgress), true)
10309
+ ) || [];
10310
+ response = new Response(
10311
+ trackStream(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
10312
+ flush && flush();
10313
+ unsubscribe && unsubscribe();
10314
+ }),
10315
+ options
10316
+ );
10345
10317
  }
10346
- };
10347
- const resolveBodyLength = async (headers, body) => {
10348
- const length = utils$1.toFiniteNumber(headers.getContentLength());
10349
- return length == null ? getBodyLength(body) : length;
10350
- };
10351
- return async (config) => {
10352
- let {
10353
- url,
10354
- method,
10355
- data,
10356
- signal,
10357
- cancelToken,
10358
- timeout,
10359
- onDownloadProgress,
10360
- onUploadProgress,
10361
- responseType,
10362
- headers,
10363
- withCredentials = "same-origin",
10364
- fetchOptions
10365
- } = resolveConfig(config);
10366
- responseType = responseType ? (responseType + "").toLowerCase() : "text";
10367
- let composedSignal = composeSignals([signal, cancelToken && cancelToken.toAbortSignal()], timeout);
10368
- let request = null;
10369
- const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {
10370
- composedSignal.unsubscribe();
10318
+ responseType = responseType || "text";
10319
+ let responseData = await resolvers[utils$1.findKey(resolvers, responseType) || "text"](response, config);
10320
+ !isStreamResponse && unsubscribe && unsubscribe();
10321
+ return await new Promise((resolve, reject) => {
10322
+ settle(resolve, reject, {
10323
+ data: responseData,
10324
+ headers: AxiosHeaders$1.from(response.headers),
10325
+ status: response.status,
10326
+ statusText: response.statusText,
10327
+ config,
10328
+ request
10329
+ });
10371
10330
  });
10372
- let requestContentLength;
10373
- try {
10374
- if (onUploadProgress && supportsRequestStream && method !== "get" && method !== "head" && (requestContentLength = await resolveBodyLength(headers, data)) !== 0) {
10375
- let _request = new Request(url, {
10376
- method: "POST",
10377
- body: data,
10378
- duplex: "half"
10379
- });
10380
- let contentTypeHeader;
10381
- if (utils$1.isFormData(data) && (contentTypeHeader = _request.headers.get("content-type"))) {
10382
- headers.setContentType(contentTypeHeader);
10383
- }
10384
- if (_request.body) {
10385
- const [onProgress, flush] = progressEventDecorator(
10386
- requestContentLength,
10387
- progressEventReducer(asyncDecorator(onUploadProgress))
10388
- );
10389
- data = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
10331
+ } catch (err) {
10332
+ unsubscribe && unsubscribe();
10333
+ if (err && err.name === "TypeError" && /fetch/i.test(err.message)) {
10334
+ throw Object.assign(
10335
+ new AxiosError$1("Network Error", AxiosError$1.ERR_NETWORK, config, request),
10336
+ {
10337
+ cause: err.cause || err
10390
10338
  }
10391
- }
10392
- if (!utils$1.isString(withCredentials)) {
10393
- withCredentials = withCredentials ? "include" : "omit";
10394
- }
10395
- const isCredentialsSupported = isRequestSupported && "credentials" in Request.prototype;
10396
- const resolvedOptions = {
10397
- ...fetchOptions,
10398
- signal: composedSignal,
10399
- method: method.toUpperCase(),
10400
- headers: headers.normalize().toJSON(),
10401
- body: data,
10402
- duplex: "half",
10403
- credentials: isCredentialsSupported ? withCredentials : void 0
10404
- };
10405
- request = isRequestSupported && new Request(url, resolvedOptions);
10406
- let response = await (isRequestSupported ? fetch2(request, fetchOptions) : fetch2(url, resolvedOptions));
10407
- const isStreamResponse = supportsResponseStream && (responseType === "stream" || responseType === "response");
10408
- if (supportsResponseStream && (onDownloadProgress || isStreamResponse && unsubscribe)) {
10409
- const options = {};
10410
- ["status", "statusText", "headers"].forEach((prop) => {
10411
- options[prop] = response[prop];
10412
- });
10413
- const responseContentLength = utils$1.toFiniteNumber(response.headers.get("content-length"));
10414
- const [onProgress, flush] = onDownloadProgress && progressEventDecorator(
10415
- responseContentLength,
10416
- progressEventReducer(asyncDecorator(onDownloadProgress), true)
10417
- ) || [];
10418
- response = new Response(
10419
- trackStream(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
10420
- flush && flush();
10421
- unsubscribe && unsubscribe();
10422
- }),
10423
- options
10424
- );
10425
- }
10426
- responseType = responseType || "text";
10427
- let responseData = await resolvers[utils$1.findKey(resolvers, responseType) || "text"](response, config);
10428
- !isStreamResponse && unsubscribe && unsubscribe();
10429
- return await new Promise((resolve, reject) => {
10430
- settle(resolve, reject, {
10431
- data: responseData,
10432
- headers: AxiosHeaders$1.from(response.headers),
10433
- status: response.status,
10434
- statusText: response.statusText,
10435
- config,
10436
- request
10437
- });
10438
- });
10439
- } catch (err) {
10440
- unsubscribe && unsubscribe();
10441
- if (err && err.name === "TypeError" && /Load failed|fetch/i.test(err.message)) {
10442
- throw Object.assign(
10443
- new AxiosError$1("Network Error", AxiosError$1.ERR_NETWORK, config, request),
10444
- {
10445
- cause: err.cause || err
10446
- }
10447
- );
10448
- }
10449
- throw AxiosError$1.from(err, err && err.code, config, request);
10339
+ );
10450
10340
  }
10451
- };
10452
- };
10453
- const seedCache = /* @__PURE__ */ new Map();
10454
- const getFetch = (config) => {
10455
- let env = utils$1.merge.call({
10456
- skipUndefined: true
10457
- }, globalFetchAPI, config ? config.env : null);
10458
- const { fetch: fetch2, Request, Response } = env;
10459
- const seeds = [
10460
- Request,
10461
- Response,
10462
- fetch2
10463
- ];
10464
- let len = seeds.length, i = len, seed, target, map = seedCache;
10465
- while (i--) {
10466
- seed = seeds[i];
10467
- target = map.get(seed);
10468
- target === void 0 && map.set(seed, target = i ? /* @__PURE__ */ new Map() : factory(env));
10469
- map = target;
10341
+ throw AxiosError$1.from(err, err && err.code, config, request);
10470
10342
  }
10471
- return target;
10472
- };
10473
- getFetch();
10343
+ });
10474
10344
  const knownAdapters = {
10475
10345
  http: httpAdapter,
10476
10346
  xhr: xhrAdapter,
10477
- fetch: {
10478
- get: getFetch
10479
- }
10347
+ fetch: fetchAdapter
10480
10348
  };
10481
10349
  utils$1.forEach(knownAdapters, (fn, value) => {
10482
10350
  if (fn) {
@@ -10490,7 +10358,7 @@ utils$1.forEach(knownAdapters, (fn, value) => {
10490
10358
  const renderReason = (reason) => `- ${reason}`;
10491
10359
  const isResolvedHandle = (adapter) => utils$1.isFunction(adapter) || adapter === null || adapter === false;
10492
10360
  const adapters = {
10493
- getAdapter: (adapters2, config) => {
10361
+ getAdapter: (adapters2) => {
10494
10362
  adapters2 = utils$1.isArray(adapters2) ? adapters2 : [adapters2];
10495
10363
  const { length } = adapters2;
10496
10364
  let nameOrAdapter;
@@ -10506,7 +10374,7 @@ const adapters = {
10506
10374
  throw new AxiosError$1(`Unknown adapter '${id}'`);
10507
10375
  }
10508
10376
  }
10509
- if (adapter && (utils$1.isFunction(adapter) || (adapter = adapter.get(config)))) {
10377
+ if (adapter) {
10510
10378
  break;
10511
10379
  }
10512
10380
  rejectedReasons[id || "#" + i] = adapter;
@@ -10543,7 +10411,7 @@ function dispatchRequest(config) {
10543
10411
  if (["post", "put", "patch"].indexOf(config.method) !== -1) {
10544
10412
  config.headers.setContentType("application/x-www-form-urlencoded", false);
10545
10413
  }
10546
- const adapter = adapters.getAdapter(config.adapter || defaults.adapter, config);
10414
+ const adapter = adapters.getAdapter(config.adapter || defaults.adapter);
10547
10415
  return adapter(config).then(function onAdapterResolution(response) {
10548
10416
  throwIfCancellationRequested(config);
10549
10417
  response.data = transformData.call(
@@ -10568,7 +10436,7 @@ function dispatchRequest(config) {
10568
10436
  return Promise.reject(reason);
10569
10437
  });
10570
10438
  }
10571
- const VERSION$1 = "1.12.0";
10439
+ const VERSION$1 = "1.8.4";
10572
10440
  const validators$1 = {};
10573
10441
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((type, i) => {
10574
10442
  validators$1[type] = function validator2(thing) {
@@ -10634,7 +10502,7 @@ const validator = {
10634
10502
  const validators = validator.validators;
10635
10503
  let Axios$1 = class Axios {
10636
10504
  constructor(instanceConfig) {
10637
- this.defaults = instanceConfig || {};
10505
+ this.defaults = instanceConfig;
10638
10506
  this.interceptors = {
10639
10507
  request: new InterceptorManager(),
10640
10508
  response: new InterceptorManager()
@@ -10736,8 +10604,8 @@ let Axios$1 = class Axios {
10736
10604
  let len;
10737
10605
  if (!synchronousRequestInterceptors) {
10738
10606
  const chain = [dispatchRequest.bind(this), void 0];
10739
- chain.unshift(...requestInterceptorChain);
10740
- chain.push(...responseInterceptorChain);
10607
+ chain.unshift.apply(chain, requestInterceptorChain);
10608
+ chain.push.apply(chain, responseInterceptorChain);
10741
10609
  len = chain.length;
10742
10610
  promise = Promise.resolve(config);
10743
10611
  while (i < len) {
@@ -14030,9 +13898,9 @@ function requireCore() {
14030
13898
  if (hasRequiredCore) return core.exports;
14031
13899
  hasRequiredCore = 1;
14032
13900
  (function(module, exports) {
14033
- (function(root, factory2) {
13901
+ (function(root, factory) {
14034
13902
  {
14035
- module.exports = factory2();
13903
+ module.exports = factory();
14036
13904
  }
14037
13905
  })(commonjsGlobal, function() {
14038
13906
  var CryptoJS = CryptoJS || function(Math2, undefined$1) {
@@ -14637,9 +14505,9 @@ function requireEncBase64() {
14637
14505
  if (hasRequiredEncBase64) return encBase64.exports;
14638
14506
  hasRequiredEncBase64 = 1;
14639
14507
  (function(module, exports) {
14640
- (function(root, factory2) {
14508
+ (function(root, factory) {
14641
14509
  {
14642
- module.exports = factory2(requireCore());
14510
+ module.exports = factory(requireCore());
14643
14511
  }
14644
14512
  })(commonjsGlobal, function(CryptoJS) {
14645
14513
  (function() {
@@ -14744,9 +14612,9 @@ function requireMd5() {
14744
14612
  if (hasRequiredMd5) return md5.exports;
14745
14613
  hasRequiredMd5 = 1;
14746
14614
  (function(module, exports) {
14747
- (function(root, factory2) {
14615
+ (function(root, factory) {
14748
14616
  {
14749
- module.exports = factory2(requireCore());
14617
+ module.exports = factory(requireCore());
14750
14618
  }
14751
14619
  })(commonjsGlobal, function(CryptoJS) {
14752
14620
  (function(Math2) {
@@ -14923,9 +14791,9 @@ function requireSha1() {
14923
14791
  if (hasRequiredSha1) return sha1.exports;
14924
14792
  hasRequiredSha1 = 1;
14925
14793
  (function(module, exports) {
14926
- (function(root, factory2) {
14794
+ (function(root, factory) {
14927
14795
  {
14928
- module.exports = factory2(requireCore());
14796
+ module.exports = factory(requireCore());
14929
14797
  }
14930
14798
  })(commonjsGlobal, function(CryptoJS) {
14931
14799
  (function() {
@@ -15013,9 +14881,9 @@ function requireHmac() {
15013
14881
  if (hasRequiredHmac) return hmac.exports;
15014
14882
  hasRequiredHmac = 1;
15015
14883
  (function(module, exports) {
15016
- (function(root, factory2) {
14884
+ (function(root, factory) {
15017
14885
  {
15018
- module.exports = factory2(requireCore());
14886
+ module.exports = factory(requireCore());
15019
14887
  }
15020
14888
  })(commonjsGlobal, function(CryptoJS) {
15021
14889
  (function() {
@@ -15118,9 +14986,9 @@ function requireEvpkdf() {
15118
14986
  if (hasRequiredEvpkdf) return evpkdf.exports;
15119
14987
  hasRequiredEvpkdf = 1;
15120
14988
  (function(module, exports) {
15121
- (function(root, factory2, undef) {
14989
+ (function(root, factory, undef) {
15122
14990
  {
15123
- module.exports = factory2(requireCore(), requireSha1(), requireHmac());
14991
+ module.exports = factory(requireCore(), requireSha1(), requireHmac());
15124
14992
  }
15125
14993
  })(commonjsGlobal, function(CryptoJS) {
15126
14994
  (function() {
@@ -15208,9 +15076,9 @@ function requireCipherCore() {
15208
15076
  if (hasRequiredCipherCore) return cipherCore.exports;
15209
15077
  hasRequiredCipherCore = 1;
15210
15078
  (function(module, exports) {
15211
- (function(root, factory2, undef) {
15079
+ (function(root, factory, undef) {
15212
15080
  {
15213
- module.exports = factory2(requireCore(), requireEvpkdf());
15081
+ module.exports = factory(requireCore(), requireEvpkdf());
15214
15082
  }
15215
15083
  })(commonjsGlobal, function(CryptoJS) {
15216
15084
  CryptoJS.lib.Cipher || function(undefined$1) {
@@ -15766,11 +15634,15 @@ function requireCipherCore() {
15766
15634
  * var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32);
15767
15635
  * var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32, 'saltsalt');
15768
15636
  */
15769
- execute: function(password, keySize, ivSize, salt) {
15637
+ execute: function(password, keySize, ivSize, salt, hasher) {
15770
15638
  if (!salt) {
15771
15639
  salt = WordArray.random(64 / 8);
15772
15640
  }
15773
- var key = EvpKDF.create({ keySize: keySize + ivSize }).compute(password, salt);
15641
+ if (!hasher) {
15642
+ var key = EvpKDF.create({ keySize: keySize + ivSize }).compute(password, salt);
15643
+ } else {
15644
+ var key = EvpKDF.create({ keySize: keySize + ivSize, hasher }).compute(password, salt);
15645
+ }
15774
15646
  var iv = WordArray.create(key.words.slice(keySize), ivSize * 4);
15775
15647
  key.sigBytes = keySize * 4;
15776
15648
  return CipherParams.create({ key, iv, salt });
@@ -15804,7 +15676,7 @@ function requireCipherCore() {
15804
15676
  */
15805
15677
  encrypt: function(cipher, message, password, cfg) {
15806
15678
  cfg = this.cfg.extend(cfg);
15807
- var derivedParams = cfg.kdf.execute(password, cipher.keySize, cipher.ivSize);
15679
+ var derivedParams = cfg.kdf.execute(password, cipher.keySize, cipher.ivSize, cfg.salt, cfg.hasher);
15808
15680
  cfg.iv = derivedParams.iv;
15809
15681
  var ciphertext = SerializableCipher.encrypt.call(this, cipher, message, derivedParams.key, cfg);
15810
15682
  ciphertext.mixIn(derivedParams);
@@ -15830,7 +15702,7 @@ function requireCipherCore() {
15830
15702
  decrypt: function(cipher, ciphertext, password, cfg) {
15831
15703
  cfg = this.cfg.extend(cfg);
15832
15704
  ciphertext = this._parse(ciphertext, cfg.format);
15833
- var derivedParams = cfg.kdf.execute(password, cipher.keySize, cipher.ivSize, ciphertext.salt);
15705
+ var derivedParams = cfg.kdf.execute(password, cipher.keySize, cipher.ivSize, ciphertext.salt, cfg.hasher);
15834
15706
  cfg.iv = derivedParams.iv;
15835
15707
  var plaintext = SerializableCipher.decrypt.call(this, cipher, ciphertext, derivedParams.key, cfg);
15836
15708
  return plaintext;
@@ -15842,9 +15714,9 @@ function requireCipherCore() {
15842
15714
  return cipherCore.exports;
15843
15715
  }
15844
15716
  (function(module, exports) {
15845
- (function(root, factory2, undef) {
15717
+ (function(root, factory, undef) {
15846
15718
  {
15847
- module.exports = factory2(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
15719
+ module.exports = factory(requireCore(), requireEncBase64(), requireMd5(), requireEvpkdf(), requireCipherCore());
15848
15720
  }
15849
15721
  })(commonjsGlobal, function(CryptoJS) {
15850
15722
  (function() {
@@ -15991,9 +15863,9 @@ var aesExports = aes.exports;
15991
15863
  const AES = /* @__PURE__ */ getDefaultExportFromCjs(aesExports);
15992
15864
  var padPkcs7 = { exports: {} };
15993
15865
  (function(module, exports) {
15994
- (function(root, factory2, undef) {
15866
+ (function(root, factory, undef) {
15995
15867
  {
15996
- module.exports = factory2(requireCore(), requireCipherCore());
15868
+ module.exports = factory(requireCore(), requireCipherCore());
15997
15869
  }
15998
15870
  })(commonjsGlobal, function(CryptoJS) {
15999
15871
  return CryptoJS.pad.Pkcs7;
@@ -16003,9 +15875,9 @@ var padPkcs7Exports = padPkcs7.exports;
16003
15875
  const Pkcs7 = /* @__PURE__ */ getDefaultExportFromCjs(padPkcs7Exports);
16004
15876
  var encUtf8 = { exports: {} };
16005
15877
  (function(module, exports) {
16006
- (function(root, factory2) {
15878
+ (function(root, factory) {
16007
15879
  {
16008
- module.exports = factory2(requireCore());
15880
+ module.exports = factory(requireCore());
16009
15881
  }
16010
15882
  })(commonjsGlobal, function(CryptoJS) {
16011
15883
  return CryptoJS.enc.Utf8;
@@ -17244,13 +17116,13 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
17244
17116
  var _a;
17245
17117
  const layoutConfig2 = useLayoutConfig();
17246
17118
  const { t: $t } = i18n.global;
17247
- const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-CP5f2uzQ.js"));
17248
- const UserSearch = defineAsyncComponent(() => import("./UserSearch-CafkeCZN.js"));
17249
- const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-CEkNjbFh.js"));
17250
- const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-DsrmcbM0.js"));
17251
- const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-DQIY50Dz.js"));
17252
- const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-tKXyTB5i.js"));
17253
- const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-FMF216bj.js"));
17119
+ const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-B5nwqeB-.js"));
17120
+ const UserSearch = defineAsyncComponent(() => import("./UserSearch-y2jSIRLk.js"));
17121
+ const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-ByMsAeWg.js"));
17122
+ const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-Dvyz_8Ju.js"));
17123
+ const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-CpFzbxdo.js"));
17124
+ const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-BkOGuRY6.js"));
17125
+ const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-Ca5JlWai.js"));
17254
17126
  const props = __props;
17255
17127
  const repoInfo = inject("repoInfo");
17256
17128
  const orgInfo = inject("orgInfo");
@@ -17999,7 +17871,7 @@ const autoAvokeLogin = ({ isLogin, loginFunc, openHarmonyGuide, loginSuccess, lo
17999
17871
  loginFunc({ type: "login", triggerType: "", loginTriggerSource: "router_login_auth", ...loginFuncOpts }, loginSuccess, openHarmonyGuide);
18000
17872
  }
18001
17873
  };
18002
- const NoticeModal = defineAsyncComponent(() => import("./notice-DRDO7WND.js"));
17874
+ const NoticeModal = defineAsyncComponent(() => import("./notice-LsNgkN64.js"));
18003
17875
  function clearNotice() {
18004
17876
  if (localStorage$2.getItem("validator_email")) {
18005
17877
  localStorage$2.removeItem("validator_email");
@@ -18801,9 +18673,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
18801
18673
  const layoutConfig2 = useLayoutConfig();
18802
18674
  const { t: t2 } = i18n.global;
18803
18675
  const route = useRoute();
18804
- const MenuItem = defineAsyncComponent(() => import("./MenuItem-BW-RKfni.js"));
18805
- const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-DphiQXSk.js"));
18806
- const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-B4xsh-YN.js"));
18676
+ const MenuItem = defineAsyncComponent(() => import("./MenuItem-BKIqln-K.js"));
18677
+ const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-rSBCuk5Z.js"));
18678
+ const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-DnrpeOyr.js"));
18807
18679
  const props = __props;
18808
18680
  console.log("slotKeys", props.slotKeys);
18809
18681
  console.log("props", props);
@@ -19249,7 +19121,7 @@ const createSetting = () => {
19249
19121
  digest: (/* @__PURE__ */ new Date()).getFullYear() + " " + t2("gitCodeLayout.home.digest"),
19250
19122
  digestAbbr: (/* @__PURE__ */ new Date()).getFullYear() + " " + t2("gitCodeLayout.home.companyInformation"),
19251
19123
  icp: t2("gitCodeLayout.home.recordInformation"),
19252
- beian: "11010502030143",
19124
+ beian: "11010502055713",
19253
19125
  phone: "400-6868-951",
19254
19126
  serviceTime: "9:00-18:00",
19255
19127
  publicSecurity: t2("gitCodeLayout.common.publicSecurity"),
@@ -19266,11 +19138,11 @@ const createSetting = () => {
19266
19138
  digest: (/* @__PURE__ */ new Date()).getFullYear() + " " + t2("gitCodeLayout.home.copyright_atomgit.digest"),
19267
19139
  digestAbbr: (/* @__PURE__ */ new Date()).getFullYear() + " " + t2("gitCodeLayout.home.copyright_atomgit.companyInformation"),
19268
19140
  icp: t2("gitCodeLayout.home.copyright_atomgit.recordInformation"),
19269
- beian: "11010502030143",
19141
+ beian: "11010502058321",
19270
19142
  phone: "400-6868-951",
19271
19143
  serviceTime: "9:00-18:00",
19272
19144
  publicSecurity: t2("gitCodeLayout.home.copyright_atomgit.publicSecurity"),
19273
- publicSecurity_url: "",
19145
+ publicSecurity_url: "https://beian.mps.gov.cn/#/query/webSearch?code=11010502058321",
19274
19146
  aboutUs: t2("gitCodeLayout.common.aboutUs"),
19275
19147
  recruitment: t2("gitCodeLayout.common.recruitment"),
19276
19148
  price: t2("gitCodeLayout.common.prices"),
@@ -24698,7 +24570,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
24698
24570
  }
24699
24571
  });
24700
24572
  const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-vue-layout-gitcode"]]);
24701
- const SlidCaptcha = defineAsyncComponent(() => import("./index-D4eGNb4j.js"));
24573
+ const SlidCaptcha = defineAsyncComponent(() => import("./index-COh5xYy7.js"));
24702
24574
  const useSlidCaptcha = () => {
24703
24575
  const { mount, unMount } = usePopup("slid-captcha-popup");
24704
24576
  const open = (config) => {
@@ -24717,7 +24589,7 @@ const useSlidCaptcha = () => {
24717
24589
  close: unMount
24718
24590
  };
24719
24591
  };
24720
- const YunpianCaptcha = defineAsyncComponent(() => import("./index-eKuz_K7l.js"));
24592
+ const YunpianCaptcha = defineAsyncComponent(() => import("./index-CE7lbJQA.js"));
24721
24593
  const useYunpianCaptcha = () => {
24722
24594
  const { mount, unMount } = usePopup("yunpian-captcha-popup");
24723
24595
  const open = (config) => {