updatePassWord
This commit is contained in:
1 parent
94971fa2c3
commit
a931a0a205
21 files changed
+30
-196
No files matched your search
+9
-9
@@ -1,37 +1,37 @@
|
||||
{
|
||||
"hash": "97e98435",
|
||||
"configHash": "f2227e19",
|
||||
"lockfileHash": "cae08fc4",
|
||||
"browserHash": "274f8111",
|
||||
"hash": "8e0fd6a4",
|
||||
"configHash": "fcc5c9ea",
|
||||
"lockfileHash": "d87baecd",
|
||||
"browserHash": "af3ec258",
|
||||
"optimized": {
|
||||
"axios": {
|
||||
"src": "../../axios/index.js",
|
||||
"file": "axios.js",
|
||||
"fileHash": "9cb39a80",
|
||||
"fileHash": "a167ae10",
|
||||
"needsInterop": false
|
||||
},
|
||||
"pinia-plugin-persistedstate": {
|
||||
"src": "../../pinia-plugin-persistedstate/dist/index.js",
|
||||
"file": "pinia-plugin-persistedstate.js",
|
||||
"fileHash": "3bae12af",
|
||||
"fileHash": "e6182a19",
|
||||
"needsInterop": false
|
||||
},
|
||||
"pinia": {
|
||||
"src": "../../pinia/dist/pinia.mjs",
|
||||
"file": "pinia.js",
|
||||
"fileHash": "3c821931",
|
||||
"fileHash": "f4f9979a",
|
||||
"needsInterop": false
|
||||
},
|
||||
"vue-router": {
|
||||
"src": "../../vue-router/dist/vue-router.js",
|
||||
"file": "vue-router.js",
|
||||
"fileHash": "927c67f5",
|
||||
"fileHash": "accf9423",
|
||||
"needsInterop": false
|
||||
},
|
||||
"vue": {
|
||||
"src": "../../vue/dist/vue.runtime.esm-bundler.js",
|
||||
"file": "vue.js",
|
||||
"fileHash": "d23da87a",
|
||||
"fileHash": "02439e5b",
|
||||
"needsInterop": false
|
||||
}
|
||||
},
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
{"version":3,"file":"axios.js","names":["isFunction","utils","utils","$internals","utils","AxiosHeaders","parseHeaders","utils","AxiosHeaders","stringifySafely","AxiosError","utils","toFormData","AxiosError","encode","toFormData","utils","utils","platform","toFormData","platform","utils","AxiosError","utils","utils","transitionalDefaults","toFormData","AxiosError","platform","AxiosHeaders","isCancel","CanceledError","AxiosError","AxiosError","platform","utils","utils","platform","AxiosError","utils","AxiosError","AxiosHeaders","utils","mergeConfig","encodeUTF8","cookies","mergeConfig","utils","AxiosHeaders","AxiosError","platform","isURLSameOrigin","platform","utils","AxiosHeaders","AxiosError","transitionalDefaults","CanceledError","AxiosError","CanceledError","utils","utils","utils","AxiosError","platform","VERSION","utils","platform","AxiosError","AxiosHeaders","VERSION","xhrAdapter","fetchAdapter.getFetch","utils","getAdapter","AxiosError","CanceledError","utils","AxiosHeaders","adapters","isCancel","validators","VERSION","AxiosError","validator","utils","AxiosHeaders","Axios","mergeConfig","transitionalDefaults","CancelToken","CanceledError","spread","isAxiosError","utils","HttpStatusCode","Axios","mergeConfig","CanceledError","CancelToken","isCancel","VERSION","toFormData","AxiosError","spread","isAxiosError","AxiosHeaders","utils","adapters","HttpStatusCode"],"sources":["../../axios/lib/helpers/bind.js","../../axios/lib/utils.js","../../axios/lib/helpers/parseHeaders.js","../../axios/lib/helpers/sanitizeHeaderValue.js","../../axios/lib/core/AxiosHeaders.js","../../axios/lib/core/AxiosError.js","../../axios/lib/helpers/toFormData.js","../../axios/lib/helpers/AxiosURLSearchParams.js","../../axios/lib/helpers/buildURL.js","../../axios/lib/core/InterceptorManager.js","../../axios/lib/defaults/transitional.js","../../axios/lib/platform/browser/classes/URLSearchParams.js","../../axios/lib/platform/browser/classes/FormData.js","../../axios/lib/platform/browser/classes/Blob.js","../../axios/lib/platform/browser/index.js","../../axios/lib/platform/common/utils.js","../../axios/lib/platform/index.js","../../axios/lib/helpers/toURLEncodedForm.js","../../axios/lib/helpers/formDataToJSON.js","../../axios/lib/core/methodList.js","../../axios/lib/defaults/index.js","../../axios/lib/core/transformData.js","../../axios/lib/cancel/isCancel.js","../../axios/lib/cancel/CanceledError.js","../../axios/lib/core/settle.js","../../axios/lib/helpers/normalizeURLForProtocolCheck.js","../../axios/lib/helpers/parseProtocol.js","../../axios/lib/helpers/cookies.js","../../axios/lib/helpers/speedometer.js","../../axios/lib/helpers/throttle.js","../../axios/lib/helpers/progressEventReducer.js","../../axios/lib/helpers/isURLSameOrigin.js","../../axios/lib/helpers/isAbsoluteURL.js","../../axios/lib/helpers/combineURLs.js","../../axios/lib/core/buildFullPath.js","../../axios/lib/core/assertParamsAcyclic.js","../../axios/lib/core/mergeConfig.js","../../axios/lib/core/setFormDataHeaders.js","../../axios/lib/helpers/resolveConfig.js","../../axios/lib/adapters/xhr.js","../../axios/lib/helpers/composeSignals.js","../../axios/lib/helpers/trackStream.js","../../axios/lib/helpers/formDataToBlob.js","../../axios/lib/core/createMultipartBody.js","../../axios/lib/helpers/estimateDataURLDecodedBytes.js","../../axios/lib/env/data.js","../../axios/lib/adapters/fetch.js","../../axios/lib/adapters/adapters.js","../../axios/lib/core/dispatchRequest.js","../../axios/lib/helpers/validator.js","../../axios/lib/core/Axios.js","../../axios/lib/cancel/CancelToken.js","../../axios/lib/helpers/spread.js","../../axios/lib/helpers/isAxiosError.js","../../axios/lib/helpers/HttpStatusCode.js","../../axios/lib/axios.js","../../axios/index.js"],"sourcesContent":["'use strict';\r\n\r\n/**\r\n * Create a bound version of a function with a specified `this` context\r\n *\r\n * @param {Function} fn - The function to bind\r\n * @param {*} thisArg - The value to be passed as the `this` parameter\r\n * @returns {Function} A new function that will call the original function with the specified `this` context\r\n */\r\nexport default function bind(fn, thisArg) {\r\n return function wrap() {\r\n return fn.apply(thisArg, arguments);\r\n };\r\n}\r\n","'use strict';\r\n\r\nimport bind from './helpers/bind.js';\r\n\r\n// utils is a library of generic helper functions non-specific to axios\r\n\r\nconst { toString } = Object.prototype;\r\nconst { getPrototypeOf } = Object;\r\nconst { iterator, toStringTag } = Symbol;\r\n\r\n/* Creating a function that will check if an object has a property. */\r\nconst hasOwnProperty = (\r\n ({ hasOwnProperty }) =>\r\n (obj, prop) =>\r\n hasOwnProperty.call(obj, prop)\r\n)(Object.prototype);\r\n\r\nconst isUnsafeObjectKey = (prop) =>\r\n typeof prop === 'string' &&\r\n (prop === '__proto__' || prop === 'constructor' || prop === 'prototype');\r\n\r\n/**\r\n * Determine whether an inherited object must be treated as a shared-prototype\r\n Line truncated
|
||||
{"version":3,"file":"axios.js","names":["isFunction","utils","utils","$internals","utils","AxiosHeaders","parseHeaders","utils","AxiosHeaders","stringifySafely","AxiosError","utils","toFormData","AxiosError","encode","toFormData","utils","utils","platform","toFormData","platform","utils","AxiosError","utils","utils","transitionalDefaults","toFormData","AxiosError","platform","AxiosHeaders","isCancel","CanceledError","AxiosError","AxiosError","platform","utils","utils","platform","AxiosError","utils","AxiosError","AxiosHeaders","utils","mergeConfig","encodeUTF8","cookies","mergeConfig","utils","AxiosHeaders","AxiosError","platform","isURLSameOrigin","platform","utils","AxiosHeaders","AxiosError","transitionalDefaults","CanceledError","AxiosError","CanceledError","utils","utils","utils","AxiosError","platform","VERSION","utils","platform","AxiosError","AxiosHeaders","VERSION","xhrAdapter","fetchAdapter.getFetch","utils","getAdapter","AxiosError","CanceledError","utils","AxiosHeaders","adapters","isCancel","validators","VERSION","AxiosError","validator","utils","AxiosHeaders","Axios","mergeConfig","transitionalDefaults","CancelToken","CanceledError","spread","isAxiosError","utils","HttpStatusCode","Axios","mergeConfig","CanceledError","CancelToken","isCancel","VERSION","toFormData","AxiosError","spread","isAxiosError","AxiosHeaders","utils","adapters","HttpStatusCode"],"sources":["../../axios/lib/helpers/bind.js","../../axios/lib/utils.js","../../axios/lib/helpers/parseHeaders.js","../../axios/lib/helpers/sanitizeHeaderValue.js","../../axios/lib/core/AxiosHeaders.js","../../axios/lib/core/AxiosError.js","../../axios/lib/helpers/toFormData.js","../../axios/lib/helpers/AxiosURLSearchParams.js","../../axios/lib/helpers/buildURL.js","../../axios/lib/core/InterceptorManager.js","../../axios/lib/defaults/transitional.js","../../axios/lib/platform/browser/classes/URLSearchParams.js","../../axios/lib/platform/browser/classes/FormData.js","../../axios/lib/platform/browser/classes/Blob.js","../../axios/lib/platform/browser/index.js","../../axios/lib/platform/common/utils.js","../../axios/lib/platform/index.js","../../axios/lib/helpers/toURLEncodedForm.js","../../axios/lib/helpers/formDataToJSON.js","../../axios/lib/core/methodList.js","../../axios/lib/defaults/index.js","../../axios/lib/core/transformData.js","../../axios/lib/cancel/isCancel.js","../../axios/lib/cancel/CanceledError.js","../../axios/lib/core/settle.js","../../axios/lib/helpers/normalizeURLForProtocolCheck.js","../../axios/lib/helpers/parseProtocol.js","../../axios/lib/helpers/cookies.js","../../axios/lib/helpers/speedometer.js","../../axios/lib/helpers/throttle.js","../../axios/lib/helpers/progressEventReducer.js","../../axios/lib/helpers/isURLSameOrigin.js","../../axios/lib/helpers/isAbsoluteURL.js","../../axios/lib/helpers/combineURLs.js","../../axios/lib/core/buildFullPath.js","../../axios/lib/core/assertParamsAcyclic.js","../../axios/lib/core/mergeConfig.js","../../axios/lib/core/setFormDataHeaders.js","../../axios/lib/helpers/resolveConfig.js","../../axios/lib/adapters/xhr.js","../../axios/lib/helpers/composeSignals.js","../../axios/lib/helpers/trackStream.js","../../axios/lib/helpers/formDataToBlob.js","../../axios/lib/core/createMultipartBody.js","../../axios/lib/helpers/estimateDataURLDecodedBytes.js","../../axios/lib/env/data.js","../../axios/lib/adapters/fetch.js","../../axios/lib/adapters/adapters.js","../../axios/lib/core/dispatchRequest.js","../../axios/lib/helpers/validator.js","../../axios/lib/core/Axios.js","../../axios/lib/cancel/CancelToken.js","../../axios/lib/helpers/spread.js","../../axios/lib/helpers/isAxiosError.js","../../axios/lib/helpers/HttpStatusCode.js","../../axios/lib/axios.js","../../axios/index.js"],"sourcesContent":["'use strict';\n\n/**\n * Create a bound version of a function with a specified `this` context\n *\n * @param {Function} fn - The function to bind\n * @param {*} thisArg - The value to be passed as the `this` parameter\n * @returns {Function} A new function that will call the original function with the specified `this` context\n */\nexport default function bind(fn, thisArg) {\n return function wrap() {\n return fn.apply(thisArg, arguments);\n };\n}\n","'use strict';\n\nimport bind from './helpers/bind.js';\n\n// utils is a library of generic helper functions non-specific to axios\n\nconst { toString } = Object.prototype;\nconst { getPrototypeOf } = Object;\nconst { iterator, toStringTag } = Symbol;\n\n/* Creating a function that will check if an object has a property. */\nconst hasOwnProperty = (\n ({ hasOwnProperty }) =>\n (obj, prop) =>\n hasOwnProperty.call(obj, prop)\n)(Object.prototype);\n\nconst isUnsafeObjectKey = (prop) =>\n typeof prop === 'string' &&\n (prop === '__proto__' || prop === 'constructor' || prop === 'prototype');\n\n/**\n * Determine whether an inherited object must be treated as a shared-prototype\n * boundary. Cross-realm Object.prototype objects cannot be distinguished\nLine truncated
|
||||
+1
-1
@@ -1 +1 @@
|
||||
{"version":3,"file":"dist-CY5vkPpf.js","names":[],"sources":["../../hookable/dist/index.mjs","../../birpc/dist/index.mjs"],"sourcesContent":["function flatHooks(configHooks, hooks = {}, parentName) {\r\n for (const key in configHooks) {\r\n const subHook = configHooks[key];\r\n const name = parentName ? `${parentName}:${key}` : key;\r\n if (typeof subHook === \"object\" && subHook !== null) {\r\n flatHooks(subHook, hooks, name);\r\n } else if (typeof subHook === \"function\") {\r\n hooks[name] = subHook;\r\n }\r\n }\r\n return hooks;\r\n}\r\nfunction mergeHooks(...hooks) {\r\n const finalHooks = {};\r\n for (const hook of hooks) {\r\n const flatenHook = flatHooks(hook);\r\n for (const key in flatenHook) {\r\n if (finalHooks[key]) {\r\n finalHooks[key].push(flatenHook[key]);\r\n } else {\r\n finalHooks[key] = [flatenHook[key]];\r\n }\r\n }\r\n }\r\n for (const key in finalHooks) {\r\n if (finalHooks[key].length > 1) {\r\n const array = finalHooks[key];\r\n finalHooks[key] = (...arguments_) => serial(array, (function_) => function_(...arguments_));\r\n } else {\r\n finalHooks[key] = finalHooks[key][0];\r\n }\r\n }\r\n return finalHooks;\r\n}\r\nfunction serial(tasks, function_) {\r\n return tasks.reduce(\r\n (promise, task) => promise.then(() => function_(task)),\r\n Promise.resolve()\r\n );\r\n}\r\nconst defaultTask = { run: (function_) => function_() };\r\nconst _createTask = () => defaultTask;\r\nconst createTask = typeof console.createTask !== \"undefined\" ? console.createTask : _createTask;\r\nfunction serialTaskCaller(hooks, args) {\r\n const name = args.shift();\r\n const task = createTask(name);\r\n return hooks.reduce(\r\n (promise, hookFunction) => promise.then(() => task.run(() => hookFunction(...args))),\r\n Promise.resolve()\r\n );\r\n}\r\nfunction parallelTaskCaller(hooks, args) {\r\n const name = args.shift();\r\n const task = createTask(name);\r\n return Promise.all(hooks.map((hook) => task.run(() => hook(...args))));\r\n}\r\nfunction serialCaller(hooks, arguments_) {\r\n return hooks.reduce(\r\n (promise, hookFunction) => promise.then(() => hookFunction(...arguments_ || [])),\r\n Promise.resolve()\r\n );\r\n}\r\nfunction parallelCaller(hooks, args) {\r\n return Promise.all(hooks.map((hook) => hook(...args || [])));\r\n}\r\nfunction callEachWith(callbacks, arg0) {\r\n for (const callback of [...callbacks]) {\r\n callback(arg0);\r\n }\r\n}\r\n\r\nclass Hookable {\r\n constructor() {\r\n this._hooks = {};\r\n this._before = void 0;\r\n this._after = void 0;\r\n this._deprecatedMessages = void 0;\r\n this._deprecatedHooks = {};\r\n this.hook = this.hook.bind(this);\r\n this.callHook = this.callHook.bind(this);\r\n this.callHookWith = this.callHookWith.bind(this);\r\n }\r\n hook(name, function_, options = {}) {\r\n if (!name || typeof function_ !== \"function\") {\r\n return () => {\r\n };\r\n }\r\n const originalName = name;\r\n let dep;\r\n while (this._deprecatedHooks[name]) {\r\n dep = this._deprecatedHooks[name];\r\n name = dep.to;\r\n }\r\n if (dep && !options.allowDeprecated) {\r\n let message = dep.message;\r\n if (!message) {\r\n message = `${originalName} hook has been deprecated` + (dep.to ? `, please use ${dep.to}` : \"\");\r\n }\r\n if (!this._deprecatedMessages) {\r\n this._deprecatedMessages = /* @__PURE__ */ new Set();\r\n }\r\n if (!this._deprecatedMessages.has(message)) {\r\n console.warn(message);\r\n this._deprecatedMessages.add(message);\r\n }\r\n }\r\n if (!function_.name) {\r\n try {\r\n Object.defineProperty(function_, \"name\", {\r\n get: () => \"_\" + name.replace(/\\W+/g, \"_\") + \"_hook_cb\",\r\n configurable: true\r\n });\r\n } catch {\r\n }\r\n }\r\n this._hooks[name] = this._hooks[name] || [];\r\n this._hooks[name].push(function_);\r\n return () => {\r\n if (function_) {\r\n this.removeHook(name, function_);\r\n function_ = void 0;\r\n }\r\n };\r\n }\r\n hookOnce(name, function_) {\r\n let _unreg;\r\n let _function = (...arguments_) => {\r\n if (typeof _unreg === \"function\") {\r\n _unreg();\r\n }\r\n _unreg = void 0;\r\n _function = void 0;\r\n return function_(...arguments_);\r\n };\r\n _unreg = this.hook(name, _function);\r\n return _unreg;\r\n }\r\n removeHook(name, function_) {\r\n if (this._hooks[name]) {\r\n const index = this._hooks[name].indexOf(function_);\r\n if (index !== -1) {\r\n this._hooks[name].splice(index, 1);\r\n }\r\n if (this._hooks[name].length === 0) {\r\n delete this._hooks[name];\r\n }\r\n }\r\n }\r\n deprecateHook(name, deprecated) {\r\n this._deprecatedHooks[name] = typeof deprecated === \Line truncated
|
||||
{"version":3,"file":"dist-CY5vkPpf.js","names":[],"sources":["../../hookable/dist/index.mjs","../../birpc/dist/index.mjs"],"sourcesContent":["function flatHooks(configHooks, hooks = {}, parentName) {\n for (const key in configHooks) {\n const subHook = configHooks[key];\n const name = parentName ? `${parentName}:${key}` : key;\n if (typeof subHook === \"object\" && subHook !== null) {\n flatHooks(subHook, hooks, name);\n } else if (typeof subHook === \"function\") {\n hooks[name] = subHook;\n }\n }\n return hooks;\n}\nfunction mergeHooks(...hooks) {\n const finalHooks = {};\n for (const hook of hooks) {\n const flatenHook = flatHooks(hook);\n for (const key in flatenHook) {\n if (finalHooks[key]) {\n finalHooks[key].push(flatenHook[key]);\n } else {\n finalHooks[key] = [flatenHook[key]];\n }\n }\n }\n for (const key in finalHooks) {\n if (finalHooks[key].length > 1) {\n const array = finalHooks[key];\n finalHooks[key] = (...arguments_) => serial(array, (function_) => function_(...arguments_));\n } else {\n finalHooks[key] = finalHooks[key][0];\n }\n }\n return finalHooks;\n}\nfunction serial(tasks, function_) {\n return tasks.reduce(\n (promise, task) => promise.then(() => function_(task)),\n Promise.resolve()\n );\n}\nconst defaultTask = { run: (function_) => function_() };\nconst _createTask = () => defaultTask;\nconst createTask = typeof console.createTask !== \"undefined\" ? console.createTask : _createTask;\nfunction serialTaskCaller(hooks, args) {\n const name = args.shift();\n const task = createTask(name);\n return hooks.reduce(\n (promise, hookFunction) => promise.then(() => task.run(() => hookFunction(...args))),\n Promise.resolve()\n );\n}\nfunction parallelTaskCaller(hooks, args) {\n const name = args.shift();\n const task = createTask(name);\n return Promise.all(hooks.map((hook) => task.run(() => hook(...args))));\n}\nfunction serialCaller(hooks, arguments_) {\n return hooks.reduce(\n (promise, hookFunction) => promise.then(() => hookFunction(...arguments_ || [])),\n Promise.resolve()\n );\n}\nfunction parallelCaller(hooks, args) {\n return Promise.all(hooks.map((hook) => hook(...args || [])));\n}\nfunction callEachWith(callbacks, arg0) {\n for (const callback of [...callbacks]) {\n callback(arg0);\n }\n}\n\nclass Hookable {\n constructor() {\n this._hooks = {};\n this._before = void 0;\n this._after = void 0;\n this._deprecatedMessages = void 0;\n this._deprecatedHooks = {};\n this.hook = this.hook.bind(this);\n this.callHook = this.callHook.bind(this);\n this.callHookWith = this.callHookWith.bind(this);\n }\n hook(name, function_, options = {}) {\n if (!name || typeof function_ !== \"function\") {\n return () => {\n };\n }\n const originalName = name;\n let dep;\n while (this._deprecatedHooks[name]) {\n dep = this._deprecatedHooks[name];\n name = dep.to;\n }\n if (dep && !options.allowDeprecated) {\n let message = dep.message;\n if (!message) {\n message = `${originalName} hook has been deprecated` + (dep.to ? `, please use ${dep.to}` : \"\");\n }\n if (!this._deprecatedMessages) {\n this._deprecatedMessages = /* @__PURE__ */ new Set();\n }\n if (!this._deprecatedMessages.has(message)) {\n console.warn(message);\n this._deprecatedMessages.add(message);\n }\n }\n if (!function_.name) {\n try {\n Object.defineProperty(function_, \"name\", {\n get: () => \"_\" + name.replace(/\\W+/g, \"_\") + \"_hook_cb\",\n configurable: true\n });\n } catch {\n }\n }\n this._hooks[name] = this._hooks[name] || [];\n this._hooks[name].push(function_);\n return () => {\n if (function_) {\n this.removeHook(name, function_);\n function_ = void 0;\n }\n };\n }\n hookOnce(name, function_) {\n let _unreg;\n let _function = (...arguments_) => {\n if (typeof _unreg === \"function\") {\n _unreg();\n }\n _unreg = void 0;\n _function = void 0;\n return function_(...arguments_);\n };\n _unreg = this.hook(name, _function);\n return _unreg;\n }\n removeHook(name, function_) {\n if (this._hooks[name]) {\n const index = this._hooks[name].indexOf(function_);\n if (index !== -1) {\n this._hooks[name].splice(index, 1);\n }\n if (this._hooks[name].length === 0) {\n delete this._hooks[name];\n }\n }\n }\n deprecateHook(name, deprecated) {\n this._deprecatedHooks[name] = typeof deprecated === \"string\" ? { to: deprecated } : deprecated;\n const _hooks = this._hooks[name] || [];\n delete this._hooks[name];\n for (const hook of _hooks) {\n this.hook(name, hook);\n }\n }\n deprecateHooks(deprecatedHooks) {\n Object.assign(this._deprecatedHooks, deprecatedHooks);\n Line truncated
|
||||
+1
-1
@@ -1 +1 @@
|
||||
{"version":3,"file":"pinia-plugin-persistedstate.js","names":[],"sources":["../../pinia-plugin-persistedstate/dist/index.js"],"sourcesContent":["//#region src/runtime/utils.ts\r\nfunction get(obj, path) {\r\n\tif (obj == null) return void 0;\r\n\tlet value = obj;\r\n\tfor (let i = 0; i < path.length; i++) {\r\n\t\tif (value === void 0 || value[path[i]] === void 0) return void 0;\r\n\t\tif (value === null || value[path[i]] === null) return null;\r\n\t\tvalue = value[path[i]];\r\n\t}\r\n\treturn value;\r\n}\r\nfunction set(obj, value, path) {\r\n\tif (path.length === 0) return value;\r\n\tconst idx = path[0];\r\n\tif (path.length > 1) value = set(typeof obj !== \"object\" || obj === null || !Object.prototype.hasOwnProperty.call(obj, idx) ? Number.isInteger(Number(path[1])) ? [] : {} : obj[idx], value, Array.prototype.slice.call(path, 1));\r\n\tif (Number.isInteger(Number(idx)) && Array.isArray(obj)) return obj.slice()[idx];\r\n\treturn Object.assign({}, obj, { [idx]: value });\r\n}\r\nfunction unset(obj, path) {\r\n\tif (obj == null || path.length === 0) return obj;\r\n\tif (path.length === 1) {\r\n\t\tif (obj == null) return obj;\r\n\t\tif (Number.isInteger(path[0]) && Array.isArray(obj)) return Array.prototype.slice.call(obj, 0).splice(path[0], 1);\r\n\t\tconst result = {};\r\n\t\tfor (const p in obj) result[p] = obj[p];\r\n\t\tdelete result[path[0]];\r\n\t\treturn result;\r\n\t}\r\n\tif (obj[path[0]] == null) {\r\n\t\tif (Number.isInteger(path[0]) && Array.isArray(obj)) return Array.prototype.concat.call([], obj);\r\n\t\tconst result = {};\r\n\t\tfor (const p in obj) result[p] = obj[p];\r\n\t\treturn result;\r\n\t}\r\n\treturn set(obj, unset(obj[path[0]], Array.prototype.slice.call(path, 1)), [path[0]]);\r\n}\r\nfunction deepPick(obj, paths) {\r\n\treturn paths.map((p) => p.split(\".\")).map((p) => [p, get(obj, p)]).filter((t) => t[1] !== void 0).reduce((acc, cur) => set(acc, cur[1], cur[0]), {});\r\n}\r\nfunction deepOmit(obj, paths) {\r\n\treturn paths.map((p) => p.split(\".\")).reduce((acc, cur) => unset(acc, cur), obj);\r\n}\r\n\r\n//#endregion\r\n//#region src/runtime/core.ts\r\nfunction hydrateStore(store, { storage, serializer, key, debug, pick, omit, beforeHydrate, afterHydrate }, context, runHooks = true) {\r\n\ttry {\r\n\t\tif (runHooks) beforeHydrate?.(context);\r\n\t\tconst fromStorage = storage.getItem(key);\r\n\t\tif (fromStorage) {\r\n\t\t\tconst deserialized = serializer.deserialize(fromStorage);\r\n\t\t\tconst picked = pick ? deepPick(deserialized, pick) : deserialized;\r\n\t\t\tconst omitted = omit ? deepOmit(picked, omit) : picked;\r\n\t\t\tstore.$patch(omitted);\r\n\t\t}\r\n\t\tif (runHooks) afterHydrate?.(context);\r\n\t} catch (error) {\r\n\t\tif (debug) console.error(\"[pinia-plugin-persistedstate]\", error);\r\n\t}\r\n}\r\nfunction persistState(state, { storage, serializer, key, debug, pick, omit }) {\r\n\ttry {\r\n\t\tconst picked = pick ? deepPick(state, pick) : state;\r\n\t\tconst omitted = omit ? deepOmit(picked, omit) : picked;\r\n\t\tconst toStorage = serializer.serialize(omitted);\r\n\t\tstorage.setItem(key, toStorage);\r\n\t} catch (error) {\r\n\t\tif (debug) console.error(\"[pinia-plugin-persistedstate]\", error);\r\n\t}\r\n}\r\nfunction parsePersistKey(key, storeId) {\r\n\treturn typeof key === \"function\" ? key(storeId) : typeof key === \"string\" ? key : storeId;\r\n}\r\nfunction createPersistence(context, optionsParser, auto) {\r\n\tconst { pinia, store, options: { persist = auto } } = context;\r\n\tif (!persist) return;\r\n\t// v8 ignore if -- @preserve\r\n\tif (!(store.$id in pinia.state.value)) {\r\n\t\tconst originalStore = pinia._s.get(store.$id.replace(\"__hot:\", \"\"));\r\n\t\tif (originalStore) Promise.resolve().then(() => originalStore.$persist());\r\n\t\treturn;\r\n\t}\r\n\tconst persistences = (Array.isArray(persist) ? persist : persist === true ? [{}] : [persist]).map(optionsParser);\r\n\tstore.$hydrate = ({ runHooks = true } = {}) => {\r\n\t\tpersistences.forEach((p) => {\r\n\t\t\thydrateStore(store, p, context, runHooks);\r\n\t\t});\r\n\t};\r\n\tstore.$persist = () => {\r\n\t\tpersistences.forEach((p) => {\r\n\t\t\tpersistState(store.$state, p);\r\n\t\t});\r\n\t};\r\n\tpersistences.forEach((p) => {\r\n\t\thydrateStore(store, p, context);\r\n\t\tstore.$subscribe((_mutation, state) => persistState(state, p), { detached: true });\r\n\t});\r\n}\r\n\r\n//#endregion\r\n//#region src/index.ts\r\n/**\r\n* Create a Pinia persistence plugin.\r\n* @see https://codeberg.org/praz/pinia-plugin-persistedstate\r\n*/\r\nfunction createPersistedState(options = {}) {\r\n\treturn function(context) {\r\n\t\tcreatePersistence(context, (p) => {\r\n\t\t\tconst persistKey = parsePersistKey(p.key, context.store.$id);\r\n\t\t\treturn {\r\n\t\t\t\tkey: (options.key ? options.key : (x) => x)(persistKey),\r\n\t\t\t\tdebug: p.debug ?? options.debug ?? false,\r\n\t\t\t\tserializer: p.serializer ?? options.serializer ?? {\r\n\t\t\t\t\tserialize: (data) => JSON.stringify(data),\r\n\t\t\Line truncated
|
||||
{"version":3,"file":"pinia-plugin-persistedstate.js","names":[],"sources":["../../pinia-plugin-persistedstate/dist/index.js"],"sourcesContent":["//#region src/runtime/utils.ts\nfunction get(obj, path) {\n\tif (obj == null) return void 0;\n\tlet value = obj;\n\tfor (let i = 0; i < path.length; i++) {\n\t\tif (value === void 0 || value[path[i]] === void 0) return void 0;\n\t\tif (value === null || value[path[i]] === null) return null;\n\t\tvalue = value[path[i]];\n\t}\n\treturn value;\n}\nfunction set(obj, value, path) {\n\tif (path.length === 0) return value;\n\tconst idx = path[0];\n\tif (path.length > 1) value = set(typeof obj !== \"object\" || obj === null || !Object.prototype.hasOwnProperty.call(obj, idx) ? Number.isInteger(Number(path[1])) ? [] : {} : obj[idx], value, Array.prototype.slice.call(path, 1));\n\tif (Number.isInteger(Number(idx)) && Array.isArray(obj)) return obj.slice()[idx];\n\treturn Object.assign({}, obj, { [idx]: value });\n}\nfunction unset(obj, path) {\n\tif (obj == null || path.length === 0) return obj;\n\tif (path.length === 1) {\n\t\tif (obj == null) return obj;\n\t\tif (Number.isInteger(path[0]) && Array.isArray(obj)) return Array.prototype.slice.call(obj, 0).splice(path[0], 1);\n\t\tconst result = {};\n\t\tfor (const p in obj) result[p] = obj[p];\n\t\tdelete result[path[0]];\n\t\treturn result;\n\t}\n\tif (obj[path[0]] == null) {\n\t\tif (Number.isInteger(path[0]) && Array.isArray(obj)) return Array.prototype.concat.call([], obj);\n\t\tconst result = {};\n\t\tfor (const p in obj) result[p] = obj[p];\n\t\treturn result;\n\t}\n\treturn set(obj, unset(obj[path[0]], Array.prototype.slice.call(path, 1)), [path[0]]);\n}\nfunction deepPick(obj, paths) {\n\treturn paths.map((p) => p.split(\".\")).map((p) => [p, get(obj, p)]).filter((t) => t[1] !== void 0).reduce((acc, cur) => set(acc, cur[1], cur[0]), {});\n}\nfunction deepOmit(obj, paths) {\n\treturn paths.map((p) => p.split(\".\")).reduce((acc, cur) => unset(acc, cur), obj);\n}\n\n//#endregion\n//#region src/runtime/core.ts\nfunction hydrateStore(store, { storage, serializer, key, debug, pick, omit, beforeHydrate, afterHydrate }, context, runHooks = true) {\n\ttry {\n\t\tif (runHooks) beforeHydrate?.(context);\n\t\tconst fromStorage = storage.getItem(key);\n\t\tif (fromStorage) {\n\t\t\tconst deserialized = serializer.deserialize(fromStorage);\n\t\t\tconst picked = pick ? deepPick(deserialized, pick) : deserialized;\n\t\t\tconst omitted = omit ? deepOmit(picked, omit) : picked;\n\t\t\tstore.$patch(omitted);\n\t\t}\n\t\tif (runHooks) afterHydrate?.(context);\n\t} catch (error) {\n\t\tif (debug) console.error(\"[pinia-plugin-persistedstate]\", error);\n\t}\n}\nfunction persistState(state, { storage, serializer, key, debug, pick, omit }) {\n\ttry {\n\t\tconst picked = pick ? deepPick(state, pick) : state;\n\t\tconst omitted = omit ? deepOmit(picked, omit) : picked;\n\t\tconst toStorage = serializer.serialize(omitted);\n\t\tstorage.setItem(key, toStorage);\n\t} catch (error) {\n\t\tif (debug) console.error(\"[pinia-plugin-persistedstate]\", error);\n\t}\n}\nfunction parsePersistKey(key, storeId) {\n\treturn typeof key === \"function\" ? key(storeId) : typeof key === \"string\" ? key : storeId;\n}\nfunction createPersistence(context, optionsParser, auto) {\n\tconst { pinia, store, options: { persist = auto } } = context;\n\tif (!persist) return;\n\t// v8 ignore if -- @preserve\n\tif (!(store.$id in pinia.state.value)) {\n\t\tconst originalStore = pinia._s.get(store.$id.replace(\"__hot:\", \"\"));\n\t\tif (originalStore) Promise.resolve().then(() => originalStore.$persist());\n\t\treturn;\n\t}\n\tconst persistences = (Array.isArray(persist) ? persist : persist === true ? [{}] : [persist]).map(optionsParser);\n\tstore.$hydrate = ({ runHooks = true } = {}) => {\n\t\tpersistences.forEach((p) => {\n\t\t\thydrateStore(store, p, context, runHooks);\n\t\t});\n\t};\n\tstore.$persist = () => {\n\t\tpersistences.forEach((p) => {\n\t\t\tpersistState(store.$state, p);\n\t\t});\n\t};\n\tpersistences.forEach((p) => {\n\t\thydrateStore(store, p, context);\n\t\tstore.$subscribe((_mutation, state) => persistState(state, p), { detached: true });\n\t});\n}\n\n//#endregion\n//#region src/index.ts\n/**\n* Create a Pinia persistence plugin.\n* @see https://codeberg.org/praz/pinia-plugin-persistedstate\n*/\nfunction createPersistedState(options = {}) {\n\treturn function(context) {\n\t\tcreatePersistence(context, (p) => {\n\t\t\tconst persistKey = parsePersistKey(p.key, context.store.$id);\n\t\t\treturn {\n\t\t\t\tkey: (options.key ? options.key : (x) => x)(persistKey),\n\t\t\t\tdebug: p.debug ?? options.debug ?? false,\n\t\t\t\tserializer: p.serializer ?? options.serializer ?? {\n\t\t\t\t\tserialize: (data) => JSON.stringify(data),\n\t\t\t\t\tdeserialize: (data) => JSON.parse(data)\n\t\t\t\t},\n\t\t\t\tstorage: p.storage ?? options.storage ?? window.localStorage,\n\t\t\t\tbeforeHydrate: p.beforeHydrate ?? options.beforeHydrate,\n\t\t\t\tafterHydrate: p.afterHydrLine truncated
|
||||
+1
-1
@@ -1 +1 @@
|
||||
{"version":3,"file":"pinia.js","names":["__create","__defProp","__getOwnPropDesc","__getOwnPropNames","__getProtoOf","__hasOwnProp","__esm","__commonJS","__copyProps","__toESM","init_esm_shims","_a","target2","target3","target4","debounce2","global","debounce3","target5","target6","target7","createHooks2","target8","global2","debounce5","global3","target10","target11","target12","target15","target21","toRaw","isRef","isReactive"],"sources":["../../pinia/node_modules/@vue/devtools-shared/dist/index.js","../../pinia/node_modules/perfect-debounce/dist/index.mjs","../../pinia/node_modules/@vue/devtools-kit/dist/index.js","../../pinia/dist/pinia.mjs"],"sourcesContent":["var __create = Object.create;\r\nvar __defProp = Object.defineProperty;\r\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\r\nvar __getOwnPropNames = Object.getOwnPropertyNames;\r\nvar __getProtoOf = Object.getPrototypeOf;\r\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\r\nvar __esm = (fn, res) => function __init() {\r\n return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;\r\n};\r\nvar __commonJS = (cb, mod) => function __require() {\r\n return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;\r\n};\r\nvar __copyProps = (to, from, except, desc) => {\r\n if (from && typeof from === \"object\" || typeof from === \"function\") {\r\n for (let key of __getOwnPropNames(from))\r\n if (!__hasOwnProp.call(to, key) && key !== except)\r\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\r\n }\r\n return to;\r\n};\r\nvar __toESM = (mod, isNodeMode, target2) => (target2 = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\r\n // If the importer is in node compatibility mode or this is not an ESM\r\n // file that has been converted to a CommonJS file using a Babel-\r\n // compatible transform (i.e. \"__esModule\" has not been set), then set\r\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\r\n isNodeMode || !mod || !mod.__esModule ? __defProp(target2, \"default\", { value: mod, enumerable: true }) : target2,\r\n mod\r\n));\r\n\r\n// ../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.51.1_@types+node@22.13.14__jiti@2.4.2_postcss@8.5_96eb05a9d65343021e53791dd83f3773/node_modules/tsup/assets/esm_shims.js\r\nvar init_esm_shims = __esm({\r\n \"../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.51.1_@types+node@22.13.14__jiti@2.4.2_postcss@8.5_96eb05a9d65343021e53791dd83f3773/node_modules/tsup/assets/esm_shims.js\"() {\r\n \"use strict\";\r\n }\r\n});\r\n\r\n// ../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js\r\nvar require_rfdc = __commonJS({\r\n \"../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js\"(exports, module) {\r\n \"use strict\";\r\n init_esm_shims();\r\n module.exports = rfdc2;\r\n function copyBuffer(cur) {\r\n if (cur instanceof Buffer) {\r\n return Buffer.from(cur);\r\n }\r\n return new cur.constructor(cur.buffer.slice(), cur.byteOffset, cur.length);\r\n }\r\n function rfdc2(opts) {\r\n opts = opts || {};\r\n if (opts.circles) return rfdcCircles(opts);\r\n const constructorHandlers = /* @__PURE__ */ new Map();\r\n constructorHandlers.set(Date, (o) => new Date(o));\r\n constructorHandlers.set(Map, (o, fn) => new Map(cloneArray(Array.from(o), fn)));\r\n constructorHandlers.set(Set, (o, fn) => new Set(cloneArray(Array.from(o), fn)));\r\n if (opts.constructorHandlers) {\r\n for (const handler2 of opts.constructorHandlers) {\r\n constructorHandlers.set(handler2[0], handler2[1]);\r\n }\r\n }\r\n let handler = null;\r\n return opts.proto ? cloneProto : clone;\r\n function cloneArray(a, fn) {\r\n const keys = Object.keys(a);\r\n const a2 = new Array(keys.length);\r\n for (let i = 0; i < keys.length; i++) {\r\n const k = keys[i];\r\n const cur = a[k];\r\n if (typeof cur !== \"object\" || cur === null) {\r\n a2[k] = cur;\r\n } else if (cur.constructor !== Object && (handler = constructorHandlers.get(cur.constructor))) {\r\n a2[k] = handler(cur, fn);\r\n } else if (ArrayBuffer.isView(cur)) {\r\n a2[k] = copyBuffer(cur);\r\n } else {\r\n a2[k] = fn(cur);\r\n }\r\n }\r\n return a2;\r\n }\r\n function clone(o) {\r\n if (typeof o !== \"object\" || o === null) return o;\r\n if (Array.isArray(o)) return cloneArray(o, clone);\r\n if (o.constructor !== Object && (handler = constructorHandlers.get(o.constructor))) {\r\n return handler(o, clone);\r\n }\r\n const o2 = {};\r\n for (const k in o) {\r\n if (Object.hasOwnProperty.call(o, k) === false) continue;\r\n const cur = o[k];\r\n Line truncated
|
||||
{"version":3,"file":"pinia.js","names":["__create","__defProp","__getOwnPropDesc","__getOwnPropNames","__getProtoOf","__hasOwnProp","__esm","__commonJS","__copyProps","__toESM","init_esm_shims","_a","target2","target3","target4","debounce2","global","debounce3","target5","target6","target7","createHooks2","target8","global2","debounce5","global3","target10","target11","target12","target15","target21","toRaw","isRef","isReactive"],"sources":["../../pinia/node_modules/@vue/devtools-shared/dist/index.js","../../pinia/node_modules/perfect-debounce/dist/index.mjs","../../pinia/node_modules/@vue/devtools-kit/dist/index.js","../../pinia/dist/pinia.mjs"],"sourcesContent":["var __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __esm = (fn, res) => function __init() {\n return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;\n};\nvar __commonJS = (cb, mod) => function __require() {\n return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toESM = (mod, isNodeMode, target2) => (target2 = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target2, \"default\", { value: mod, enumerable: true }) : target2,\n mod\n));\n\n// ../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.51.1_@types+node@22.13.14__jiti@2.4.2_postcss@8.5_96eb05a9d65343021e53791dd83f3773/node_modules/tsup/assets/esm_shims.js\nvar init_esm_shims = __esm({\n \"../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.51.1_@types+node@22.13.14__jiti@2.4.2_postcss@8.5_96eb05a9d65343021e53791dd83f3773/node_modules/tsup/assets/esm_shims.js\"() {\n \"use strict\";\n }\n});\n\n// ../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js\nvar require_rfdc = __commonJS({\n \"../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js\"(exports, module) {\n \"use strict\";\n init_esm_shims();\n module.exports = rfdc2;\n function copyBuffer(cur) {\n if (cur instanceof Buffer) {\n return Buffer.from(cur);\n }\n return new cur.constructor(cur.buffer.slice(), cur.byteOffset, cur.length);\n }\n function rfdc2(opts) {\n opts = opts || {};\n if (opts.circles) return rfdcCircles(opts);\n const constructorHandlers = /* @__PURE__ */ new Map();\n constructorHandlers.set(Date, (o) => new Date(o));\n constructorHandlers.set(Map, (o, fn) => new Map(cloneArray(Array.from(o), fn)));\n constructorHandlers.set(Set, (o, fn) => new Set(cloneArray(Array.from(o), fn)));\n if (opts.constructorHandlers) {\n for (const handler2 of opts.constructorHandlers) {\n constructorHandlers.set(handler2[0], handler2[1]);\n }\n }\n let handler = null;\n return opts.proto ? cloneProto : clone;\n function cloneArray(a, fn) {\n const keys = Object.keys(a);\n const a2 = new Array(keys.length);\n for (let i = 0; i < keys.length; i++) {\n const k = keys[i];\n const cur = a[k];\n if (typeof cur !== \"object\" || cur === null) {\n a2[k] = cur;\n } else if (cur.constructor !== Object && (handler = constructorHandlers.get(cur.constructor))) {\n a2[k] = handler(cur, fn);\n } else if (ArrayBuffer.isView(cur)) {\n a2[k] = copyBuffer(cur);\n } else {\n a2[k] = fn(cur);\n }\n }\n return a2;\n }\n function clone(o) {\n if (typeof o !== \"object\" || o === null) return o;\n if (Array.isArray(o)) return cloneArray(o, clone);\n if (o.constructor !== Object && (handler = constructorHandlers.get(o.constructor))) {\n return handler(o, clone);\n }\n const o2 = {};\n for (const k in o) {\n if (Object.hasOwnProperty.call(o, k) === false) continue;\n const cur = o[k];\n if (typeof cur !== \"object\" || cur === null) {\n o2[k] = cur;\n } else if (cur.constructor !== Object && (handler = constructorHandlers.get(cur.constrLine truncated
|
||||
+1
-1
@@ -1 +1 @@
|
||||
{"version":3,"file":"vue-router.js","names":["isBrowser","__create","__defProp","__getOwnPropDesc","__getOwnPropNames","__getProtoOf","__hasOwnProp","__commonJSMin","__copyProps","__toESM","isBrowser","isBrowser"],"sources":["../../vue-router/dist/useApi-j1E6pMaV.js","../../@vue/devtools-shared/dist/index.js","../../perfect-debounce/dist/index.mjs","../../@vue/devtools-kit/dist/index.js","../../vue-router/dist/devtools-CVsCuYdF.js","../../vue-router/dist/vue-router.js"],"sourcesContent":["/*!\r\n * vue-router v5.0.3\r\n * (c) 2026 Eduardo San Martin Morote\r\n * @license MIT\r\n */\r\nimport { inject } from \"vue\";\r\n\r\n//#region src/utils/env.ts\r\nconst isBrowser = typeof document !== \"undefined\";\r\n\r\n//#endregion\r\n//#region src/utils/index.ts\r\n/**\r\n* Identity function that returns the value as is.\r\n*\r\n* @param v - the value to return\r\n*\r\n* @internal\r\n*/\r\nconst identityFn = (v) => v;\r\n/**\r\n* Allows differentiating lazy components from functional components and vue-class-component\r\n* @internal\r\n*\r\n* @param component\r\n*/\r\nfunction isRouteComponent(component) {\r\n\treturn typeof component === \"object\" || \"displayName\" in component || \"props\" in component || \"__vccOpts\" in component;\r\n}\r\nfunction isESModule(obj) {\r\n\treturn obj.__esModule || obj[Symbol.toStringTag] === \"Module\" || obj.default && isRouteComponent(obj.default);\r\n}\r\nconst assign = Object.assign;\r\nfunction applyToParams(fn, params) {\r\n\tconst newParams = {};\r\n\tfor (const key in params) {\r\n\t\tconst value = params[key];\r\n\t\tnewParams[key] = isArray(value) ? value.map(fn) : fn(value);\r\n\t}\r\n\treturn newParams;\r\n}\r\nconst noop = () => {};\r\n/**\r\n* Typesafe alternative to Array.isArray\r\n* https://github.com/microsoft/TypeScript/pull/48228\r\n*\r\n* @internal\r\n*/\r\nconst isArray = Array.isArray;\r\nfunction mergeOptions(defaults, partialOptions) {\r\n\tconst options = {};\r\n\tfor (const key in defaults) options[key] = key in partialOptions ? partialOptions[key] : defaults[key];\r\n\treturn options;\r\n}\r\n\r\n//#endregion\r\n//#region src/errors.ts\r\n/**\r\n* Flags so we can combine them when checking for multiple errors. This is the internal version of\r\n* {@link NavigationFailureType}.\r\n*\r\n* @internal\r\n*/\r\nlet ErrorTypes = /* @__PURE__ */ function(ErrorTypes) {\r\n\tErrorTypes[ErrorTypes[\"MATCHER_NOT_FOUND\"] = 1] = \"MATCHER_NOT_FOUND\";\r\n\tErrorTypes[ErrorTypes[\"NAVIGATION_GUARD_REDIRECT\"] = 2] = \"NAVIGATION_GUARD_REDIRECT\";\r\n\tErrorTypes[ErrorTypes[\"NAVIGATION_ABORTED\"] = 4] = \"NAVIGATION_ABORTED\";\r\n\tErrorTypes[ErrorTypes[\"NAVIGATION_CANCELLED\"] = 8] = \"NAVIGATION_CANCELLED\";\r\n\tErrorTypes[ErrorTypes[\"NAVIGATION_DUPLICATED\"] = 16] = \"NAVIGATION_DUPLICATED\";\r\n\treturn ErrorTypes;\r\n}({});\r\nconst NavigationFailureSymbol = Symbol(process.env.NODE_ENV !== \"production\" ? \"navigation failure\" : \"\");\r\n/**\r\n* Enumeration with all possible types for navigation failures. Can be passed to\r\n* {@link isNavigationFailure} to check for specific failures.\r\n*/\r\nlet NavigationFailureType = /* @__PURE__ */ function(NavigationFailureType) {\r\n\t/**\r\n\t* An aborted navigation is a navigation that failed because a navigation\r\n\t* guard returned `false` or called `next(false)`\r\n\t*/\r\n\tNavigationFailureType[NavigationFailureType[\"aborted\"] = 4] = \"aborted\";\r\n\t/**\r\n\t* A cancelled navigation is a navigation that failed because a more recent\r\n\t* navigation finished started (not necessarily finished).\r\n\t*/\r\n\tNavigationFailureType[NavigationFailureType[\"cancelled\"] = 8] = \"cancelled\";\r\n\t/**\r\n\t* A duplicated navigation is a navigation that failed because it was\r\n\t* initiated while already being at the exact same location.\r\n\t*/\r\n\tNavigationFailureType[NavigationFailureType[\"duplicated\"] = 16] = \"duplicated\";\r\n\treturn NavigationFailureType;\r\n}({});\r\nconst ErrorTypeMessages = {\r\n\t[ErrorTypes.MATCHER_NOT_FOUND]({ location, currentLocation }) {\r\n\t\treturn `No match for\\n ${JSON.stringify(location)}${currentLocation ? \"\\nwhile being at\\n\" + JSON.stringify(currentLocation) : \"\"}`;\r\n\t},\r\n\t[ErrorTypes.NAVIGATION_GUARD_REDIRECT]({ from, to }) {\r\n\t\treturn `Redirected from \"${from.fullPath}\" to \"${stringifyRoute(to)}\" via a navigation guard.`;\r\n\t},\r\n\t[ErrorTypes.NAVIGATION_ABORTED]({ from, to }) {\r\n\t\treturn `Navigation aborted from \"${from.fullPath}\" to \"${to.fullPath}\" via a navigation guard.`;\r\n\t},\r\n\t[ErrorTypes.NAVIGATION_CANCELLED]({ from, to }) {\r\n\t\treturn `Navigation cancelled from \"${from.fullPath}\" to \"${to.fullPath}\" with a new navigation.`;\r\n\t},\r\n\t[ErrorTypes.NAVIGATION_DUPLICATED]({ from, to }) {\r\n\t\treturn `Avoided redundant navigation to current location: \"${from.fullPath}\".`;\r\n\t}\r\n};\r\n/**\r\n* Creates a typed NavigationFailure object.\r\n* @internal\r\n* @param type - NavigationFailureType\r\n* @parLine truncated
|
||||
{"version":3,"file":"vue-router.js","names":["isBrowser","__create","__defProp","__getOwnPropDesc","__getOwnPropNames","__getProtoOf","__hasOwnProp","__commonJSMin","__copyProps","__toESM","isBrowser","isBrowser"],"sources":["../../vue-router/dist/useApi-j1E6pMaV.js","../../@vue/devtools-shared/dist/index.js","../../perfect-debounce/dist/index.mjs","../../@vue/devtools-kit/dist/index.js","../../vue-router/dist/devtools-CVsCuYdF.js","../../vue-router/dist/vue-router.js"],"sourcesContent":["/*!\n * vue-router v5.0.3\n * (c) 2026 Eduardo San Martin Morote\n * @license MIT\n */\nimport { inject } from \"vue\";\n\n//#region src/utils/env.ts\nconst isBrowser = typeof document !== \"undefined\";\n\n//#endregion\n//#region src/utils/index.ts\n/**\n* Identity function that returns the value as is.\n*\n* @param v - the value to return\n*\n* @internal\n*/\nconst identityFn = (v) => v;\n/**\n* Allows differentiating lazy components from functional components and vue-class-component\n* @internal\n*\n* @param component\n*/\nfunction isRouteComponent(component) {\n\treturn typeof component === \"object\" || \"displayName\" in component || \"props\" in component || \"__vccOpts\" in component;\n}\nfunction isESModule(obj) {\n\treturn obj.__esModule || obj[Symbol.toStringTag] === \"Module\" || obj.default && isRouteComponent(obj.default);\n}\nconst assign = Object.assign;\nfunction applyToParams(fn, params) {\n\tconst newParams = {};\n\tfor (const key in params) {\n\t\tconst value = params[key];\n\t\tnewParams[key] = isArray(value) ? value.map(fn) : fn(value);\n\t}\n\treturn newParams;\n}\nconst noop = () => {};\n/**\n* Typesafe alternative to Array.isArray\n* https://github.com/microsoft/TypeScript/pull/48228\n*\n* @internal\n*/\nconst isArray = Array.isArray;\nfunction mergeOptions(defaults, partialOptions) {\n\tconst options = {};\n\tfor (const key in defaults) options[key] = key in partialOptions ? partialOptions[key] : defaults[key];\n\treturn options;\n}\n\n//#endregion\n//#region src/errors.ts\n/**\n* Flags so we can combine them when checking for multiple errors. This is the internal version of\n* {@link NavigationFailureType}.\n*\n* @internal\n*/\nlet ErrorTypes = /* @__PURE__ */ function(ErrorTypes) {\n\tErrorTypes[ErrorTypes[\"MATCHER_NOT_FOUND\"] = 1] = \"MATCHER_NOT_FOUND\";\n\tErrorTypes[ErrorTypes[\"NAVIGATION_GUARD_REDIRECT\"] = 2] = \"NAVIGATION_GUARD_REDIRECT\";\n\tErrorTypes[ErrorTypes[\"NAVIGATION_ABORTED\"] = 4] = \"NAVIGATION_ABORTED\";\n\tErrorTypes[ErrorTypes[\"NAVIGATION_CANCELLED\"] = 8] = \"NAVIGATION_CANCELLED\";\n\tErrorTypes[ErrorTypes[\"NAVIGATION_DUPLICATED\"] = 16] = \"NAVIGATION_DUPLICATED\";\n\treturn ErrorTypes;\n}({});\nconst NavigationFailureSymbol = Symbol(process.env.NODE_ENV !== \"production\" ? \"navigation failure\" : \"\");\n/**\n* Enumeration with all possible types for navigation failures. Can be passed to\n* {@link isNavigationFailure} to check for specific failures.\n*/\nlet NavigationFailureType = /* @__PURE__ */ function(NavigationFailureType) {\n\t/**\n\t* An aborted navigation is a navigation that failed because a navigation\n\t* guard returned `false` or called `next(false)`\n\t*/\n\tNavigationFailureType[NavigationFailureType[\"aborted\"] = 4] = \"aborted\";\n\t/**\n\t* A cancelled navigation is a navigation that failed because a more recent\n\t* navigation finished started (not necessarily finished).\n\t*/\n\tNavigationFailureType[NavigationFailureType[\"cancelled\"] = 8] = \"cancelled\";\n\t/**\n\t* A duplicated navigation is a navigation that failed because it was\n\t* initiated while already being at the exact same location.\n\t*/\n\tNavigationFailureType[NavigationFailureType[\"duplicated\"] = 16] = \"duplicated\";\n\treturn NavigationFailureType;\n}({});\nconst ErrorTypeMessages = {\n\t[ErrorTypes.MATCHER_NOT_FOUND]({ location, currentLocation }) {\n\t\treturn `No match for\\n ${JSON.stringify(location)}${currentLocation ? \"\\nwhile being at\\n\" + JSON.stringify(currentLocation) : \"\"}`;\n\t},\n\t[ErrorTypes.NAVIGATION_GUARD_REDIRECT]({ from, to }) {\n\t\treturn `Redirected from \"${from.fullPath}\" to \"${stringifyRoute(to)}\" via a navigation guard.`;\n\t},\n\t[ErrorTypes.NAVIGATION_ABORTED]({ from, to }) {\n\t\treturn `Navigation aborted from \"${from.fullPath}\" to \"${to.fullPath}\" via a navigation guard.`;\n\t},\n\t[ErrorTypes.NAVIGATION_CANCELLED]({ from, to }) {\n\t\treturn `Navigation cancelled from \"${from.fullPath}\" to \"${to.fullPath}\" with a new navigation.`;\n\t},\n\t[ErrorTypes.NAVIGATION_DUPLICATED]({ from, to }) {\n\t\treturn `Avoided redundant navigation to current location: \"${from.fullPath}\".`;\n\t}\n};\n/**\n* Creates a typed NavigationFailure object.\n* @internal\n* @param type - NavigationFailureType\n* @param params - { from, to }\n*/\nfunction createRouterError(type, params) {\n\tif (process.env.NODE_ENV !== \"production\" || false) return assign(new Error(ErrorTypeMessages[type](params)), {\n\t\ttype,\n\t\t[NavigationFailureSymbolLine truncated
|
||||
+1
-1
@@ -1 +1 @@
|
||||
{"version":3,"file":"vue.runtime.esm-bundler-Dpvz_lM5.js","names":["hasOwnProperty","isRef","warn","computed","watch","enterCbKey","callHook","compile","camelize$1"],"sources":["../../@vue/shared/dist/shared.esm-bundler.js","../../@vue/reactivity/dist/reactivity.esm-bundler.js","../../@vue/runtime-core/dist/runtime-core.esm-bundler.js","../../@vue/runtime-dom/dist/runtime-dom.esm-bundler.js","../../vue/dist/vue.runtime.esm-bundler.js"],"sourcesContent":["/**\r\n* @vue/shared v3.5.30\r\n* (c) 2018-present Yuxi (Evan) You and Vue contributors\r\n* @license MIT\r\n**/\r\n// @__NO_SIDE_EFFECTS__\r\nfunction makeMap(str) {\r\n const map = /* @__PURE__ */ Object.create(null);\r\n for (const key of str.split(\",\")) map[key] = 1;\r\n return (val) => val in map;\r\n}\r\n\r\nconst EMPTY_OBJ = !!(process.env.NODE_ENV !== \"production\") ? Object.freeze({}) : {};\r\nconst EMPTY_ARR = !!(process.env.NODE_ENV !== \"production\") ? Object.freeze([]) : [];\r\nconst NOOP = () => {\r\n};\r\nconst NO = () => false;\r\nconst isOn = (key) => key.charCodeAt(0) === 111 && key.charCodeAt(1) === 110 && // uppercase letter\r\n(key.charCodeAt(2) > 122 || key.charCodeAt(2) < 97);\r\nconst isModelListener = (key) => key.startsWith(\"onUpdate:\");\r\nconst extend = Object.assign;\r\nconst remove = (arr, el) => {\r\n const i = arr.indexOf(el);\r\n if (i > -1) {\r\n arr.splice(i, 1);\r\n }\r\n};\r\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\r\nconst hasOwn = (val, key) => hasOwnProperty.call(val, key);\r\nconst isArray = Array.isArray;\r\nconst isMap = (val) => toTypeString(val) === \"[object Map]\";\r\nconst isSet = (val) => toTypeString(val) === \"[object Set]\";\r\nconst isDate = (val) => toTypeString(val) === \"[object Date]\";\r\nconst isRegExp = (val) => toTypeString(val) === \"[object RegExp]\";\r\nconst isFunction = (val) => typeof val === \"function\";\r\nconst isString = (val) => typeof val === \"string\";\r\nconst isSymbol = (val) => typeof val === \"symbol\";\r\nconst isObject = (val) => val !== null && typeof val === \"object\";\r\nconst isPromise = (val) => {\r\n return (isObject(val) || isFunction(val)) && isFunction(val.then) && isFunction(val.catch);\r\n};\r\nconst objectToString = Object.prototype.toString;\r\nconst toTypeString = (value) => objectToString.call(value);\r\nconst toRawType = (value) => {\r\n return toTypeString(value).slice(8, -1);\r\n};\r\nconst isPlainObject = (val) => toTypeString(val) === \"[object Object]\";\r\nconst isIntegerKey = (key) => isString(key) && key !== \"NaN\" && key[0] !== \"-\" && \"\" + parseInt(key, 10) === key;\r\nconst isReservedProp = /* @__PURE__ */ makeMap(\r\n // the leading comma is intentional so empty string \"\" is also included\r\n \",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted\"\r\n);\r\nconst isBuiltInDirective = /* @__PURE__ */ makeMap(\r\n \"bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo\"\r\n);\r\nconst cacheStringFunction = (fn) => {\r\n const cache = /* @__PURE__ */ Object.create(null);\r\n return ((str) => {\r\n const hit = cache[str];\r\n return hit || (cache[str] = fn(str));\r\n });\r\n};\r\nconst camelizeRE = /-\\w/g;\r\nconst camelize = cacheStringFunction(\r\n (str) => {\r\n return str.replace(camelizeRE, (c) => c.slice(1).toUpperCase());\r\n }\r\n);\r\nconst hyphenateRE = /\\B([A-Z])/g;\r\nconst hyphenate = cacheStringFunction(\r\n (str) => str.replace(hyphenateRE, \"-$1\").toLowerCase()\r\n);\r\nconst capitalize = cacheStringFunction((str) => {\r\n return str.charAt(0).toUpperCase() + str.slice(1);\r\n});\r\nconst toHandlerKey = cacheStringFunction(\r\n (str) => {\r\n const s = str ? `on${capitalize(str)}` : ``;\r\n return s;\r\n }\r\n);\r\nconst hasChanged = (value, oldValue) => !Object.is(value, oldValue);\r\nconst invokeArrayFns = (fns, ...arg) => {\r\n for (let i = 0; i < fns.length; i++) {\r\n fns[i](...arg);\r\n }\r\n};\r\nconst def = (obj, key, value, writable = false) => {\r\n Object.defineProperty(obj, key, {\r\n configurable: true,\r\n enumerable: false,\r\n writable,\r\n value\r\n });\r\n};\r\nconst looseToNumber = (val) => {\r\n const n = parseFloat(val);\r\n return isNaN(n) ? val : n;\r\n};\r\nconst toNumber = (val) => {\r\n const n = isString(val) ? Number(val) : NaN;\r\n return isNaN(n) ? val : n;\r\n};\r\nlet _globalThis;\r\nconst getGlobalThis = () => {\r\n return _globalThis || (_globalThis = typeof globalThis !== \"undefined\" ? globalThis : typeof self !== \"undefined\" ? self : typeof window !== \"undefined\" ? window : typeof global !== \"undefined\" ? global : {});\r\n};\r\nconst identRE = /^[_$a-zA-Z\\xA0-\\uFFFF][_$a-zA-Z0-9\\xA0-\\uFFFF]*$/;\r\nfunction genPropsAccessExp(name) {\r\n return identRE.test(name) ? `__props.${name}` : `__props[${JSON.stringify(name)}]`;\r\n}\r\nfunction genCacheKey(source, options) {\r\n return source + JSON.stringiLine truncated
|
||||
{"version":3,"file":"vue.runtime.esm-bundler-Dpvz_lM5.js","names":["hasOwnProperty","isRef","warn","computed","watch","enterCbKey","callHook","compile","camelize$1"],"sources":["../../@vue/shared/dist/shared.esm-bundler.js","../../@vue/reactivity/dist/reactivity.esm-bundler.js","../../@vue/runtime-core/dist/runtime-core.esm-bundler.js","../../@vue/runtime-dom/dist/runtime-dom.esm-bundler.js","../../vue/dist/vue.runtime.esm-bundler.js"],"sourcesContent":["/**\n* @vue/shared v3.5.30\n* (c) 2018-present Yuxi (Evan) You and Vue contributors\n* @license MIT\n**/\n// @__NO_SIDE_EFFECTS__\nfunction makeMap(str) {\n const map = /* @__PURE__ */ Object.create(null);\n for (const key of str.split(\",\")) map[key] = 1;\n return (val) => val in map;\n}\n\nconst EMPTY_OBJ = !!(process.env.NODE_ENV !== \"production\") ? Object.freeze({}) : {};\nconst EMPTY_ARR = !!(process.env.NODE_ENV !== \"production\") ? Object.freeze([]) : [];\nconst NOOP = () => {\n};\nconst NO = () => false;\nconst isOn = (key) => key.charCodeAt(0) === 111 && key.charCodeAt(1) === 110 && // uppercase letter\n(key.charCodeAt(2) > 122 || key.charCodeAt(2) < 97);\nconst isModelListener = (key) => key.startsWith(\"onUpdate:\");\nconst extend = Object.assign;\nconst remove = (arr, el) => {\n const i = arr.indexOf(el);\n if (i > -1) {\n arr.splice(i, 1);\n }\n};\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\nconst hasOwn = (val, key) => hasOwnProperty.call(val, key);\nconst isArray = Array.isArray;\nconst isMap = (val) => toTypeString(val) === \"[object Map]\";\nconst isSet = (val) => toTypeString(val) === \"[object Set]\";\nconst isDate = (val) => toTypeString(val) === \"[object Date]\";\nconst isRegExp = (val) => toTypeString(val) === \"[object RegExp]\";\nconst isFunction = (val) => typeof val === \"function\";\nconst isString = (val) => typeof val === \"string\";\nconst isSymbol = (val) => typeof val === \"symbol\";\nconst isObject = (val) => val !== null && typeof val === \"object\";\nconst isPromise = (val) => {\n return (isObject(val) || isFunction(val)) && isFunction(val.then) && isFunction(val.catch);\n};\nconst objectToString = Object.prototype.toString;\nconst toTypeString = (value) => objectToString.call(value);\nconst toRawType = (value) => {\n return toTypeString(value).slice(8, -1);\n};\nconst isPlainObject = (val) => toTypeString(val) === \"[object Object]\";\nconst isIntegerKey = (key) => isString(key) && key !== \"NaN\" && key[0] !== \"-\" && \"\" + parseInt(key, 10) === key;\nconst isReservedProp = /* @__PURE__ */ makeMap(\n // the leading comma is intentional so empty string \"\" is also included\n \",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted\"\n);\nconst isBuiltInDirective = /* @__PURE__ */ makeMap(\n \"bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo\"\n);\nconst cacheStringFunction = (fn) => {\n const cache = /* @__PURE__ */ Object.create(null);\n return ((str) => {\n const hit = cache[str];\n return hit || (cache[str] = fn(str));\n });\n};\nconst camelizeRE = /-\\w/g;\nconst camelize = cacheStringFunction(\n (str) => {\n return str.replace(camelizeRE, (c) => c.slice(1).toUpperCase());\n }\n);\nconst hyphenateRE = /\\B([A-Z])/g;\nconst hyphenate = cacheStringFunction(\n (str) => str.replace(hyphenateRE, \"-$1\").toLowerCase()\n);\nconst capitalize = cacheStringFunction((str) => {\n return str.charAt(0).toUpperCase() + str.slice(1);\n});\nconst toHandlerKey = cacheStringFunction(\n (str) => {\n const s = str ? `on${capitalize(str)}` : ``;\n return s;\n }\n);\nconst hasChanged = (value, oldValue) => !Object.is(value, oldValue);\nconst invokeArrayFns = (fns, ...arg) => {\n for (let i = 0; i < fns.length; i++) {\n fns[i](...arg);\n }\n};\nconst def = (obj, key, value, writable = false) => {\n Object.defineProperty(obj, key, {\n configurable: true,\n enumerable: false,\n writable,\n value\n });\n};\nconst looseToNumber = (val) => {\n const n = parseFloat(val);\n return isNaN(n) ? val : n;\n};\nconst toNumber = (val) => {\n const n = isString(val) ? Number(val) : NaN;\n return isNaN(n) ? val : n;\n};\nlet _globalThis;\nconst getGlobalThis = () => {\n return _globalThis || (_globalThis = typeof globalThis !== \"undefined\" ? globalThis : typeof self !== \"undefined\" ? self : typeof window !== \"undefined\" ? window : typeof global !== \"undefined\" ? global : {});\n};\nconst identRE = /^[_$a-zA-Z\\xA0-\\uFFFF][_$a-zA-Z0-9\\xA0-\\uFFFF]*$/;\nfunction genPropsAccessExp(name) {\n return identRE.test(name) ? `__props.${name}` : `__props[${JSON.stringify(name)}]`;\n}\nfunction genCacheKey(source, options) {\n return source + JSON.stringify(\n options,\n (_, val) => typeof val === \"function\" ? val.toString() : val\n );\n}\n\nconst PatchFlags = {\n \"TEXT\": 1,\n \"1\": \"TEXT\",\n \"CLASS\": 2,\n \"2\": \"CLASS\",\n \"STYLE\": 4,\n \"4\": \"STLine truncated
|
||||
Reference in new issue
Block a user