chunk-VNBICN6T.js 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641
  1. import {
  2. __esm,
  3. __export
  4. } from "./chunk-2LSFTFF7.js";
  5. // node_modules/.pnpm/@vue+shared@3.4.27/node_modules/@vue/shared/dist/shared.esm-bundler.js
  6. var shared_esm_bundler_exports = {};
  7. __export(shared_esm_bundler_exports, {
  8. EMPTY_ARR: () => EMPTY_ARR,
  9. EMPTY_OBJ: () => EMPTY_OBJ,
  10. NO: () => NO,
  11. NOOP: () => NOOP,
  12. PatchFlagNames: () => PatchFlagNames,
  13. PatchFlags: () => PatchFlags,
  14. ShapeFlags: () => ShapeFlags,
  15. SlotFlags: () => SlotFlags,
  16. camelize: () => camelize,
  17. capitalize: () => capitalize,
  18. def: () => def,
  19. escapeHtml: () => escapeHtml,
  20. escapeHtmlComment: () => escapeHtmlComment,
  21. extend: () => extend,
  22. genPropsAccessExp: () => genPropsAccessExp,
  23. generateCodeFrame: () => generateCodeFrame,
  24. getGlobalThis: () => getGlobalThis,
  25. hasChanged: () => hasChanged,
  26. hasOwn: () => hasOwn,
  27. hyphenate: () => hyphenate,
  28. includeBooleanAttr: () => includeBooleanAttr,
  29. invokeArrayFns: () => invokeArrayFns,
  30. isArray: () => isArray,
  31. isBooleanAttr: () => isBooleanAttr,
  32. isBuiltInDirective: () => isBuiltInDirective,
  33. isDate: () => isDate,
  34. isFunction: () => isFunction,
  35. isGloballyAllowed: () => isGloballyAllowed,
  36. isGloballyWhitelisted: () => isGloballyWhitelisted,
  37. isHTMLTag: () => isHTMLTag,
  38. isIntegerKey: () => isIntegerKey,
  39. isKnownHtmlAttr: () => isKnownHtmlAttr,
  40. isKnownSvgAttr: () => isKnownSvgAttr,
  41. isMap: () => isMap,
  42. isMathMLTag: () => isMathMLTag,
  43. isModelListener: () => isModelListener,
  44. isObject: () => isObject,
  45. isOn: () => isOn,
  46. isPlainObject: () => isPlainObject,
  47. isPromise: () => isPromise,
  48. isRegExp: () => isRegExp,
  49. isRenderableAttrValue: () => isRenderableAttrValue,
  50. isReservedProp: () => isReservedProp,
  51. isSSRSafeAttrName: () => isSSRSafeAttrName,
  52. isSVGTag: () => isSVGTag,
  53. isSet: () => isSet,
  54. isSpecialBooleanAttr: () => isSpecialBooleanAttr,
  55. isString: () => isString,
  56. isSymbol: () => isSymbol,
  57. isVoidTag: () => isVoidTag,
  58. looseEqual: () => looseEqual,
  59. looseIndexOf: () => looseIndexOf,
  60. looseToNumber: () => looseToNumber,
  61. makeMap: () => makeMap,
  62. normalizeClass: () => normalizeClass,
  63. normalizeProps: () => normalizeProps,
  64. normalizeStyle: () => normalizeStyle,
  65. objectToString: () => objectToString,
  66. parseStringStyle: () => parseStringStyle,
  67. propsToAttrMap: () => propsToAttrMap,
  68. remove: () => remove,
  69. slotFlagsText: () => slotFlagsText,
  70. stringifyStyle: () => stringifyStyle,
  71. toDisplayString: () => toDisplayString,
  72. toHandlerKey: () => toHandlerKey,
  73. toNumber: () => toNumber,
  74. toRawType: () => toRawType,
  75. toTypeString: () => toTypeString
  76. });
  77. function makeMap(str, expectsLowerCase) {
  78. const set = new Set(str.split(","));
  79. return expectsLowerCase ? (val) => set.has(val.toLowerCase()) : (val) => set.has(val);
  80. }
  81. function genPropsAccessExp(name) {
  82. return identRE.test(name) ? `__props.${name}` : `__props[${JSON.stringify(name)}]`;
  83. }
  84. function generateCodeFrame(source, start = 0, end = source.length) {
  85. let lines = source.split(/(\r?\n)/);
  86. const newlineSequences = lines.filter((_, idx) => idx % 2 === 1);
  87. lines = lines.filter((_, idx) => idx % 2 === 0);
  88. let count = 0;
  89. const res = [];
  90. for (let i = 0; i < lines.length; i++) {
  91. count += lines[i].length + (newlineSequences[i] && newlineSequences[i].length || 0);
  92. if (count >= start) {
  93. for (let j = i - range; j <= i + range || end > count; j++) {
  94. if (j < 0 || j >= lines.length)
  95. continue;
  96. const line = j + 1;
  97. res.push(
  98. `${line}${" ".repeat(Math.max(3 - String(line).length, 0))}| ${lines[j]}`
  99. );
  100. const lineLength = lines[j].length;
  101. const newLineSeqLength = newlineSequences[j] && newlineSequences[j].length || 0;
  102. if (j === i) {
  103. const pad = start - (count - (lineLength + newLineSeqLength));
  104. const length = Math.max(
  105. 1,
  106. end > count ? lineLength - pad : end - start
  107. );
  108. res.push(` | ` + " ".repeat(pad) + "^".repeat(length));
  109. } else if (j > i) {
  110. if (end > count) {
  111. const length = Math.max(Math.min(end - count, lineLength), 1);
  112. res.push(` | ` + "^".repeat(length));
  113. }
  114. count += lineLength + newLineSeqLength;
  115. }
  116. }
  117. break;
  118. }
  119. }
  120. return res.join("\n");
  121. }
  122. function normalizeStyle(value) {
  123. if (isArray(value)) {
  124. const res = {};
  125. for (let i = 0; i < value.length; i++) {
  126. const item = value[i];
  127. const normalized = isString(item) ? parseStringStyle(item) : normalizeStyle(item);
  128. if (normalized) {
  129. for (const key in normalized) {
  130. res[key] = normalized[key];
  131. }
  132. }
  133. }
  134. return res;
  135. } else if (isString(value) || isObject(value)) {
  136. return value;
  137. }
  138. }
  139. function parseStringStyle(cssText) {
  140. const ret = {};
  141. cssText.replace(styleCommentRE, "").split(listDelimiterRE).forEach((item) => {
  142. if (item) {
  143. const tmp = item.split(propertyDelimiterRE);
  144. tmp.length > 1 && (ret[tmp[0].trim()] = tmp[1].trim());
  145. }
  146. });
  147. return ret;
  148. }
  149. function stringifyStyle(styles) {
  150. let ret = "";
  151. if (!styles || isString(styles)) {
  152. return ret;
  153. }
  154. for (const key in styles) {
  155. const value = styles[key];
  156. if (isString(value) || typeof value === "number") {
  157. const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key);
  158. ret += `${normalizedKey}:${value};`;
  159. }
  160. }
  161. return ret;
  162. }
  163. function normalizeClass(value) {
  164. let res = "";
  165. if (isString(value)) {
  166. res = value;
  167. } else if (isArray(value)) {
  168. for (let i = 0; i < value.length; i++) {
  169. const normalized = normalizeClass(value[i]);
  170. if (normalized) {
  171. res += normalized + " ";
  172. }
  173. }
  174. } else if (isObject(value)) {
  175. for (const name in value) {
  176. if (value[name]) {
  177. res += name + " ";
  178. }
  179. }
  180. }
  181. return res.trim();
  182. }
  183. function normalizeProps(props) {
  184. if (!props)
  185. return null;
  186. let { class: klass, style } = props;
  187. if (klass && !isString(klass)) {
  188. props.class = normalizeClass(klass);
  189. }
  190. if (style) {
  191. props.style = normalizeStyle(style);
  192. }
  193. return props;
  194. }
  195. function includeBooleanAttr(value) {
  196. return !!value || value === "";
  197. }
  198. function isSSRSafeAttrName(name) {
  199. if (attrValidationCache.hasOwnProperty(name)) {
  200. return attrValidationCache[name];
  201. }
  202. const isUnsafe = unsafeAttrCharRE.test(name);
  203. if (isUnsafe) {
  204. console.error(`unsafe attribute name: ${name}`);
  205. }
  206. return attrValidationCache[name] = !isUnsafe;
  207. }
  208. function isRenderableAttrValue(value) {
  209. if (value == null) {
  210. return false;
  211. }
  212. const type = typeof value;
  213. return type === "string" || type === "number" || type === "boolean";
  214. }
  215. function escapeHtml(string) {
  216. const str = "" + string;
  217. const match = escapeRE.exec(str);
  218. if (!match) {
  219. return str;
  220. }
  221. let html = "";
  222. let escaped;
  223. let index;
  224. let lastIndex = 0;
  225. for (index = match.index; index < str.length; index++) {
  226. switch (str.charCodeAt(index)) {
  227. case 34:
  228. escaped = "&quot;";
  229. break;
  230. case 38:
  231. escaped = "&amp;";
  232. break;
  233. case 39:
  234. escaped = "&#39;";
  235. break;
  236. case 60:
  237. escaped = "&lt;";
  238. break;
  239. case 62:
  240. escaped = "&gt;";
  241. break;
  242. default:
  243. continue;
  244. }
  245. if (lastIndex !== index) {
  246. html += str.slice(lastIndex, index);
  247. }
  248. lastIndex = index + 1;
  249. html += escaped;
  250. }
  251. return lastIndex !== index ? html + str.slice(lastIndex, index) : html;
  252. }
  253. function escapeHtmlComment(src) {
  254. return src.replace(commentStripRE, "");
  255. }
  256. function looseCompareArrays(a, b) {
  257. if (a.length !== b.length)
  258. return false;
  259. let equal = true;
  260. for (let i = 0; equal && i < a.length; i++) {
  261. equal = looseEqual(a[i], b[i]);
  262. }
  263. return equal;
  264. }
  265. function looseEqual(a, b) {
  266. if (a === b)
  267. return true;
  268. let aValidType = isDate(a);
  269. let bValidType = isDate(b);
  270. if (aValidType || bValidType) {
  271. return aValidType && bValidType ? a.getTime() === b.getTime() : false;
  272. }
  273. aValidType = isSymbol(a);
  274. bValidType = isSymbol(b);
  275. if (aValidType || bValidType) {
  276. return a === b;
  277. }
  278. aValidType = isArray(a);
  279. bValidType = isArray(b);
  280. if (aValidType || bValidType) {
  281. return aValidType && bValidType ? looseCompareArrays(a, b) : false;
  282. }
  283. aValidType = isObject(a);
  284. bValidType = isObject(b);
  285. if (aValidType || bValidType) {
  286. if (!aValidType || !bValidType) {
  287. return false;
  288. }
  289. const aKeysCount = Object.keys(a).length;
  290. const bKeysCount = Object.keys(b).length;
  291. if (aKeysCount !== bKeysCount) {
  292. return false;
  293. }
  294. for (const key in a) {
  295. const aHasKey = a.hasOwnProperty(key);
  296. const bHasKey = b.hasOwnProperty(key);
  297. if (aHasKey && !bHasKey || !aHasKey && bHasKey || !looseEqual(a[key], b[key])) {
  298. return false;
  299. }
  300. }
  301. }
  302. return String(a) === String(b);
  303. }
  304. function looseIndexOf(arr, val) {
  305. return arr.findIndex((item) => looseEqual(item, val));
  306. }
  307. var EMPTY_OBJ, EMPTY_ARR, NOOP, NO, isOn, isModelListener, extend, remove, hasOwnProperty, hasOwn, isArray, isMap, isSet, isDate, isRegExp, isFunction, isString, isSymbol, isObject, isPromise, objectToString, toTypeString, toRawType, isPlainObject, isIntegerKey, isReservedProp, isBuiltInDirective, cacheStringFunction, camelizeRE, camelize, hyphenateRE, hyphenate, capitalize, toHandlerKey, hasChanged, invokeArrayFns, def, looseToNumber, toNumber, _globalThis, getGlobalThis, identRE, PatchFlags, PatchFlagNames, ShapeFlags, SlotFlags, slotFlagsText, GLOBALS_ALLOWED, isGloballyAllowed, isGloballyWhitelisted, range, listDelimiterRE, propertyDelimiterRE, styleCommentRE, HTML_TAGS, SVG_TAGS, MATH_TAGS, VOID_TAGS, isHTMLTag, isSVGTag, isMathMLTag, isVoidTag, specialBooleanAttrs, isSpecialBooleanAttr, isBooleanAttr, unsafeAttrCharRE, attrValidationCache, propsToAttrMap, isKnownHtmlAttr, isKnownSvgAttr, escapeRE, commentStripRE, toDisplayString, replacer, stringifySymbol;
  308. var init_shared_esm_bundler = __esm({
  309. "node_modules/.pnpm/@vue+shared@3.4.27/node_modules/@vue/shared/dist/shared.esm-bundler.js"() {
  310. EMPTY_OBJ = true ? Object.freeze({}) : {};
  311. EMPTY_ARR = true ? Object.freeze([]) : [];
  312. NOOP = () => {
  313. };
  314. NO = () => false;
  315. isOn = (key) => key.charCodeAt(0) === 111 && key.charCodeAt(1) === 110 && // uppercase letter
  316. (key.charCodeAt(2) > 122 || key.charCodeAt(2) < 97);
  317. isModelListener = (key) => key.startsWith("onUpdate:");
  318. extend = Object.assign;
  319. remove = (arr, el) => {
  320. const i = arr.indexOf(el);
  321. if (i > -1) {
  322. arr.splice(i, 1);
  323. }
  324. };
  325. hasOwnProperty = Object.prototype.hasOwnProperty;
  326. hasOwn = (val, key) => hasOwnProperty.call(val, key);
  327. isArray = Array.isArray;
  328. isMap = (val) => toTypeString(val) === "[object Map]";
  329. isSet = (val) => toTypeString(val) === "[object Set]";
  330. isDate = (val) => toTypeString(val) === "[object Date]";
  331. isRegExp = (val) => toTypeString(val) === "[object RegExp]";
  332. isFunction = (val) => typeof val === "function";
  333. isString = (val) => typeof val === "string";
  334. isSymbol = (val) => typeof val === "symbol";
  335. isObject = (val) => val !== null && typeof val === "object";
  336. isPromise = (val) => {
  337. return (isObject(val) || isFunction(val)) && isFunction(val.then) && isFunction(val.catch);
  338. };
  339. objectToString = Object.prototype.toString;
  340. toTypeString = (value) => objectToString.call(value);
  341. toRawType = (value) => {
  342. return toTypeString(value).slice(8, -1);
  343. };
  344. isPlainObject = (val) => toTypeString(val) === "[object Object]";
  345. isIntegerKey = (key) => isString(key) && key !== "NaN" && key[0] !== "-" && "" + parseInt(key, 10) === key;
  346. isReservedProp = makeMap(
  347. // the leading comma is intentional so empty string "" is also included
  348. ",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
  349. );
  350. isBuiltInDirective = makeMap(
  351. "bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"
  352. );
  353. cacheStringFunction = (fn) => {
  354. const cache = /* @__PURE__ */ Object.create(null);
  355. return (str) => {
  356. const hit = cache[str];
  357. return hit || (cache[str] = fn(str));
  358. };
  359. };
  360. camelizeRE = /-(\w)/g;
  361. camelize = cacheStringFunction((str) => {
  362. return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : "");
  363. });
  364. hyphenateRE = /\B([A-Z])/g;
  365. hyphenate = cacheStringFunction(
  366. (str) => str.replace(hyphenateRE, "-$1").toLowerCase()
  367. );
  368. capitalize = cacheStringFunction((str) => {
  369. return str.charAt(0).toUpperCase() + str.slice(1);
  370. });
  371. toHandlerKey = cacheStringFunction((str) => {
  372. const s = str ? `on${capitalize(str)}` : ``;
  373. return s;
  374. });
  375. hasChanged = (value, oldValue) => !Object.is(value, oldValue);
  376. invokeArrayFns = (fns, arg) => {
  377. for (let i = 0; i < fns.length; i++) {
  378. fns[i](arg);
  379. }
  380. };
  381. def = (obj, key, value, writable = false) => {
  382. Object.defineProperty(obj, key, {
  383. configurable: true,
  384. enumerable: false,
  385. writable,
  386. value
  387. });
  388. };
  389. looseToNumber = (val) => {
  390. const n = parseFloat(val);
  391. return isNaN(n) ? val : n;
  392. };
  393. toNumber = (val) => {
  394. const n = isString(val) ? Number(val) : NaN;
  395. return isNaN(n) ? val : n;
  396. };
  397. getGlobalThis = () => {
  398. return _globalThis || (_globalThis = typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : {});
  399. };
  400. identRE = /^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;
  401. PatchFlags = {
  402. "TEXT": 1,
  403. "1": "TEXT",
  404. "CLASS": 2,
  405. "2": "CLASS",
  406. "STYLE": 4,
  407. "4": "STYLE",
  408. "PROPS": 8,
  409. "8": "PROPS",
  410. "FULL_PROPS": 16,
  411. "16": "FULL_PROPS",
  412. "NEED_HYDRATION": 32,
  413. "32": "NEED_HYDRATION",
  414. "STABLE_FRAGMENT": 64,
  415. "64": "STABLE_FRAGMENT",
  416. "KEYED_FRAGMENT": 128,
  417. "128": "KEYED_FRAGMENT",
  418. "UNKEYED_FRAGMENT": 256,
  419. "256": "UNKEYED_FRAGMENT",
  420. "NEED_PATCH": 512,
  421. "512": "NEED_PATCH",
  422. "DYNAMIC_SLOTS": 1024,
  423. "1024": "DYNAMIC_SLOTS",
  424. "DEV_ROOT_FRAGMENT": 2048,
  425. "2048": "DEV_ROOT_FRAGMENT",
  426. "HOISTED": -1,
  427. "-1": "HOISTED",
  428. "BAIL": -2,
  429. "-2": "BAIL"
  430. };
  431. PatchFlagNames = {
  432. [1]: `TEXT`,
  433. [2]: `CLASS`,
  434. [4]: `STYLE`,
  435. [8]: `PROPS`,
  436. [16]: `FULL_PROPS`,
  437. [32]: `NEED_HYDRATION`,
  438. [64]: `STABLE_FRAGMENT`,
  439. [128]: `KEYED_FRAGMENT`,
  440. [256]: `UNKEYED_FRAGMENT`,
  441. [512]: `NEED_PATCH`,
  442. [1024]: `DYNAMIC_SLOTS`,
  443. [2048]: `DEV_ROOT_FRAGMENT`,
  444. [-1]: `HOISTED`,
  445. [-2]: `BAIL`
  446. };
  447. ShapeFlags = {
  448. "ELEMENT": 1,
  449. "1": "ELEMENT",
  450. "FUNCTIONAL_COMPONENT": 2,
  451. "2": "FUNCTIONAL_COMPONENT",
  452. "STATEFUL_COMPONENT": 4,
  453. "4": "STATEFUL_COMPONENT",
  454. "TEXT_CHILDREN": 8,
  455. "8": "TEXT_CHILDREN",
  456. "ARRAY_CHILDREN": 16,
  457. "16": "ARRAY_CHILDREN",
  458. "SLOTS_CHILDREN": 32,
  459. "32": "SLOTS_CHILDREN",
  460. "TELEPORT": 64,
  461. "64": "TELEPORT",
  462. "SUSPENSE": 128,
  463. "128": "SUSPENSE",
  464. "COMPONENT_SHOULD_KEEP_ALIVE": 256,
  465. "256": "COMPONENT_SHOULD_KEEP_ALIVE",
  466. "COMPONENT_KEPT_ALIVE": 512,
  467. "512": "COMPONENT_KEPT_ALIVE",
  468. "COMPONENT": 6,
  469. "6": "COMPONENT"
  470. };
  471. SlotFlags = {
  472. "STABLE": 1,
  473. "1": "STABLE",
  474. "DYNAMIC": 2,
  475. "2": "DYNAMIC",
  476. "FORWARDED": 3,
  477. "3": "FORWARDED"
  478. };
  479. slotFlagsText = {
  480. [1]: "STABLE",
  481. [2]: "DYNAMIC",
  482. [3]: "FORWARDED"
  483. };
  484. GLOBALS_ALLOWED = "Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error";
  485. isGloballyAllowed = makeMap(GLOBALS_ALLOWED);
  486. isGloballyWhitelisted = isGloballyAllowed;
  487. range = 2;
  488. listDelimiterRE = /;(?![^(]*\))/g;
  489. propertyDelimiterRE = /:([^]+)/;
  490. styleCommentRE = /\/\*[^]*?\*\//g;
  491. HTML_TAGS = "html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot";
  492. SVG_TAGS = "svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,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,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view";
  493. MATH_TAGS = "annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics";
  494. VOID_TAGS = "area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr";
  495. isHTMLTag = makeMap(HTML_TAGS);
  496. isSVGTag = makeMap(SVG_TAGS);
  497. isMathMLTag = makeMap(MATH_TAGS);
  498. isVoidTag = makeMap(VOID_TAGS);
  499. specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;
  500. isSpecialBooleanAttr = makeMap(specialBooleanAttrs);
  501. isBooleanAttr = makeMap(
  502. specialBooleanAttrs + `,async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`
  503. );
  504. unsafeAttrCharRE = /[>/="'\u0009\u000a\u000c\u0020]/;
  505. attrValidationCache = {};
  506. propsToAttrMap = {
  507. acceptCharset: "accept-charset",
  508. className: "class",
  509. htmlFor: "for",
  510. httpEquiv: "http-equiv"
  511. };
  512. isKnownHtmlAttr = makeMap(
  513. `accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap`
  514. );
  515. isKnownSvgAttr = makeMap(
  516. `xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xmlns:xlink,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan`
  517. );
  518. escapeRE = /["'&<>]/;
  519. commentStripRE = /^-?>|<!--|-->|--!>|<!-$/g;
  520. toDisplayString = (val) => {
  521. return isString(val) ? val : val == null ? "" : isArray(val) || isObject(val) && (val.toString === objectToString || !isFunction(val.toString)) ? JSON.stringify(val, replacer, 2) : String(val);
  522. };
  523. replacer = (_key, val) => {
  524. if (val && val.__v_isRef) {
  525. return replacer(_key, val.value);
  526. } else if (isMap(val)) {
  527. return {
  528. [`Map(${val.size})`]: [...val.entries()].reduce(
  529. (entries, [key, val2], i) => {
  530. entries[stringifySymbol(key, i) + " =>"] = val2;
  531. return entries;
  532. },
  533. {}
  534. )
  535. };
  536. } else if (isSet(val)) {
  537. return {
  538. [`Set(${val.size})`]: [...val.values()].map((v) => stringifySymbol(v))
  539. };
  540. } else if (isSymbol(val)) {
  541. return stringifySymbol(val);
  542. } else if (isObject(val) && !isArray(val) && !isPlainObject(val)) {
  543. return String(val);
  544. }
  545. return val;
  546. };
  547. stringifySymbol = (v, i = "") => {
  548. var _a;
  549. return (
  550. // Symbol.description in es2019+ so we need to cast here to pass
  551. // the lib: es2016 check
  552. isSymbol(v) ? `Symbol(${(_a = v.description) != null ? _a : i})` : v
  553. );
  554. };
  555. }
  556. });
  557. export {
  558. makeMap,
  559. EMPTY_OBJ,
  560. EMPTY_ARR,
  561. NOOP,
  562. NO,
  563. isOn,
  564. isModelListener,
  565. extend,
  566. remove,
  567. hasOwn,
  568. isArray,
  569. isMap,
  570. isSet,
  571. isDate,
  572. isRegExp,
  573. isFunction,
  574. isString,
  575. isSymbol,
  576. isObject,
  577. isPromise,
  578. objectToString,
  579. toTypeString,
  580. toRawType,
  581. isPlainObject,
  582. isIntegerKey,
  583. isReservedProp,
  584. isBuiltInDirective,
  585. camelize,
  586. hyphenate,
  587. capitalize,
  588. toHandlerKey,
  589. hasChanged,
  590. invokeArrayFns,
  591. def,
  592. looseToNumber,
  593. toNumber,
  594. getGlobalThis,
  595. genPropsAccessExp,
  596. PatchFlags,
  597. PatchFlagNames,
  598. ShapeFlags,
  599. SlotFlags,
  600. slotFlagsText,
  601. isGloballyAllowed,
  602. isGloballyWhitelisted,
  603. generateCodeFrame,
  604. normalizeStyle,
  605. parseStringStyle,
  606. stringifyStyle,
  607. normalizeClass,
  608. normalizeProps,
  609. isHTMLTag,
  610. isSVGTag,
  611. isMathMLTag,
  612. isVoidTag,
  613. isSpecialBooleanAttr,
  614. isBooleanAttr,
  615. includeBooleanAttr,
  616. isSSRSafeAttrName,
  617. propsToAttrMap,
  618. isKnownHtmlAttr,
  619. isKnownSvgAttr,
  620. isRenderableAttrValue,
  621. escapeHtml,
  622. escapeHtmlComment,
  623. looseEqual,
  624. looseIndexOf,
  625. toDisplayString,
  626. shared_esm_bundler_exports,
  627. init_shared_esm_bundler
  628. };
  629. /*! Bundled license information:
  630. @vue/shared/dist/shared.esm-bundler.js:
  631. (**
  632. * @vue/shared v3.4.27
  633. * (c) 2018-present Yuxi (Evan) You and Vue contributors
  634. * @license MIT
  635. **)
  636. (*! #__NO_SIDE_EFFECTS__ *)
  637. */
  638. //# sourceMappingURL=chunk-VNBICN6T.js.map