| Current Path : /var/www/element/data/www/revenuestory.ru/bitrix/js/ui/vue3/vue/prod/dist/ |
| Current File : /var/www/element/data/www/revenuestory.ru/bitrix/js/ui/vue3/vue/prod/dist/vue.bundle.js |
;(function() {
if (typeof this.BX !== 'undefined' && typeof this.BX.Vue3 !== 'undefined')
{
var currentVersion = '3.2.40';
if (this.BX.Vue3.version !== currentVersion)
{
console.warn('BX.Vue3 already loaded. Loaded: ' + this.BX.Vue3.version + ', Skipped: ' + currentVersion + '. Version differences may cause errors!');
}
return;
}
this.BX = this.BX || {};
(function (exports,main_core_events,main_core,rest_client,pull_client,ui_vue3) {
'use strict';
/**
* Bitrix Vue3 plugin
*
* @package bitrix
* @subpackage ui
* @copyright 2001-2021 Bitrix
*/
var _getComponentParamsWithMutation = /*#__PURE__*/babelHelpers.classPrivateFieldLooseKey("getComponentParamsWithMutation");
var _getFinalComponentParams = /*#__PURE__*/babelHelpers.classPrivateFieldLooseKey("getFinalComponentParams");
var _cloneObjectBeforeApplyMutation = /*#__PURE__*/babelHelpers.classPrivateFieldLooseKey("cloneObjectBeforeApplyMutation");
var _applyMutation = /*#__PURE__*/babelHelpers.classPrivateFieldLooseKey("applyMutation");
class BitrixVue {
constructor() {
Object.defineProperty(this, _applyMutation, {
value: _applyMutation2
});
Object.defineProperty(this, _cloneObjectBeforeApplyMutation, {
value: _cloneObjectBeforeApplyMutation2
});
Object.defineProperty(this, _getFinalComponentParams, {
value: _getFinalComponentParams2
});
Object.defineProperty(this, _getComponentParamsWithMutation, {
value: _getComponentParamsWithMutation2
});
this.components = {};
this.proxyComponents = {};
this.finalComponents = {};
this.cloneCounter = 0;
this.cloneComponents = {};
this.mutations = {};
this.developerMode = false;
this.events = {
restClientChange: 'RestClient::change',
pullClientChange: 'PullClient::change'
};
const settings = main_core.Extension.getSettings('ui.vue3');
this.localizationMode = settings.get('localizationDebug', false) ? 'development' : 'production';
}
/**
* Create new Vue application
* @see https://vuejs.org/api/application.html
*
* @param {BitrixVueComponentProps} rootComponent - definition
* @param {{[key: string]: any}|null} rootProps - definition
* @returns VueCreateAppResult
*/
createApp(rootComponent, rootProps) {
/* Note: method will be replaced with Vue.createApp */
return {
config: {},
directive: () => {},
mixin: () => {},
provide: () => {},
mount: () => {},
unmount: () => {},
use: () => {}
};
}
/**
* Define BitrixVue component
* @see https://vuejs.org/api/component-instance.html
*
* @param {string} name
* @param {BitrixVueComponentProps} definition
* @returns {BitrixVueComponentProxy}
*/
mutableComponent(name, definition) {
this.components[name] = Object.assign({}, definition);
this.components[name].bitrixVue = {
name
};
this.finalComponents[name] = babelHelpers.classPrivateFieldLooseBase(this, _getFinalComponentParams)[_getFinalComponentParams](name);
this.proxyComponents[name] = new Proxy(this.finalComponents[name], {
get: function (target, property) {
if (!main_core.Type.isUndefined(this.finalComponents[target.bitrixVue.name]) && !main_core.Type.isUndefined(this.finalComponents[target.bitrixVue.name][property])) {
return this.finalComponents[target.bitrixVue.name][property];
}
return Reflect.get(...arguments);
}.bind(this)
});
return this.proxyComponents[name];
}
/**
* Get BitrixVue component with mutations
* @see https://vuejs.org/api/component-instance.html
*
* @param {string} name
* @param {boolean} silentMode
*
* @returns {BitrixVueComponentProps}
*/
getMutableComponent(name, silentMode = false) {
if (!this.isComponent(name)) {
if (!silentMode) {
this.showNotice('Component "' + name + '" is not registered yet.');
}
return null;
}
const component = babelHelpers.classPrivateFieldLooseBase(this, _getFinalComponentParams)[_getFinalComponentParams](name);
for (const property in component) {
if (!component.hasOwnProperty(property)) {
continue;
}
this.proxyComponents[name][property] = component[property];
}
return this.finalComponents[name];
}
/**
* Define Async component
* @see https://vuejs.org/guide/components/async.html
*
* @param extension {string}
* @param componentExportName {string}
* @param options {VueAsyncComponentOptions|null}
* @return {Promise<BitrixVueComponentProps>}
*/
defineAsyncComponent(extension, componentExportName, options) {
let loader = () => new Promise((resolve, reject) => {
main_core.Runtime.loadExtension(extension).then(exports => {
if (!main_core.Type.isUndefined(exports[componentExportName])) {
resolve(exports[componentExportName]);
} else {
resolve({
template: `
<div style="display: inline-block; border: 1px dashed red; padding: 5px; margin: 5px;">
Extension <strong>${extension}</strong> or export variable <strong>${componentExportName}</strong> is not found!
</div>
`
});
}
});
});
if (!main_core.Type.isObjectLike(options)) {
return ui_vue3.defineAsyncComponent(loader);
}
if (!main_core.Type.isObjectLike(options.loadingComponent)) {
return ui_vue3.defineAsyncComponent(() => new Promise((resolve, reject) => {
resolve({
template: `
<div style="display: inline-block; border: 1px dashed red; padding: 5px; margin: 5px;">
Extension <strong>${extension}</strong> was not loaded due to a configuration error. Property <strong>loadingComponent</strong> is not defined.
</div>
`
});
}));
} // this case is for development purposes only
if (main_core.Type.isInteger(options.delayLoadExtension)) {
const timeout = options.delayLoadExtension;
const previousLoader = loader;
delete options.delayLoadExtension;
loader = () => new Promise((resolve, reject) => {
setTimeout(() => {
previousLoader().then(component => resolve(component));
}, timeout);
});
}
return ui_vue3.defineAsyncComponent({
loader,
...options
});
}
/**
* Mutate Vue component
*
* @param {String|BitrixVueComponentProxy} source - name or definition
* @param {Object} mutations
* @returns {boolean}
*/
mutateComponent(source, mutations) {
if (main_core.Type.isString(source)) {
if (main_core.Type.isUndefined(this.mutations[source])) {
this.mutations[source] = [];
}
this.mutations[source].push(mutations);
this.getMutableComponent(source, true);
return true;
}
if (main_core.Type.isPlainObject(source) && !main_core.Type.isUndefined(source.bitrixVue)) {
return this.mutateComponent(source.bitrixVue.name, mutations);
}
this.showError(`You can not mutate classic Vue components. If you need to mutate, use BitrixVue.cloneComponent instead.`, source, mutations);
return false;
}
/**
* Clone Vue component
*
* @param {string|object} source - name or definition
* @param {BitrixVueComponentProps} mutations
* @returns {BitrixVueComponentProxy|null}
*/
cloneComponent(source, mutations) {
if (main_core.Type.isString(source)) {
const definition = babelHelpers.classPrivateFieldLooseBase(this, _getComponentParamsWithMutation)[_getComponentParamsWithMutation](source, [mutations]);
if (definition) {
return definition;
}
this.cloneCounter += 1;
const component = {
bitrixVue: {
source,
cloneCounter: this.cloneCounter,
mutations
}
};
return new Proxy(component, {
get: function (target, property, receiver) {
let component;
if (main_core.Type.isUndefined(this.cloneComponents[target.bitrixVue.cloneCounter])) {
component = babelHelpers.classPrivateFieldLooseBase(this, _getComponentParamsWithMutation)[_getComponentParamsWithMutation](target.bitrixVue.source, [target.bitrixVue.mutations]);
if (component) {
this.cloneComponents[target.bitrixVue.cloneCounter] = component;
}
} else {
component = this.cloneComponents[target.bitrixVue.cloneCounter];
}
if (!component) {
if (property === 'template') {
this.showError(`Clone component #${target.bitrixVue.cloneCounter} is failed. Component ${target.bitrixVue.source} is not register yet.`, target.bitrixVue);
if (this.developerMode) {
return `
<div style="display: inline-block; border: 1px dashed red; padding: 5px; margin: 5px;">
The cloned component <strong>#${target.bitrixVue.cloneCounter}</strong> is not shown because the original component <strong>${target.bitrixVue.source}</strong> was not registered.
</div>
`;
}
return `<!-- Placeholder for clone component #${target.bitrixVue.cloneCounter}. Component ${target.bitrixVue.source} was not registered. -->`;
}
return Reflect.get(...arguments);
}
if (!main_core.Type.isUndefined(component[property])) {
return component[property];
}
return Reflect.get(...arguments);
}.bind(this)
});
}
if (main_core.Type.isPlainObject(source) && !main_core.Type.isUndefined(source.bitrixVue)) {
return babelHelpers.classPrivateFieldLooseBase(this, _getComponentParamsWithMutation)[_getComponentParamsWithMutation](source.bitrixVue.name, [mutations]);
}
if (main_core.Type.isPlainObject(source)) {
return babelHelpers.classPrivateFieldLooseBase(this, _applyMutation)[_applyMutation](babelHelpers.classPrivateFieldLooseBase(this, _cloneObjectBeforeApplyMutation)[_cloneObjectBeforeApplyMutation](source, mutations), mutations);
}
return null;
}
/**
* Check exists Vue component
*
* @param {string} name
* @returns {boolean}
*/
isComponent(name) {
return !main_core.Type.isUndefined(this.components[name]);
}
/**
* @deprecated
*/
isMutable() {
this.showNotice('Method BitrixVue.isMutable is deprecated, remove usages.');
return true;
}
/**
* @deprecated
*/
isLocal() {
this.showNotice('Method BitrixVue.isLocal is deprecated, remove usages.');
return false;
}
/**
* @deprecated
*/
component(name) {
this.showError('Method BitrixVue.component is deprecated, use Vue.component or BitrixVue.mutableComponent. Component "' + name + '" was not registered.');
}
/**
* @deprecated
*/
localComponent(name, definition) {
this.showNotice('Method BitrixVue.localComponent is deprecated, use Vue.mutableComponent instead. Component "' + name + '" has been registered, but this behavior will be removed in the future.');
return this.mutableComponent(name, definition);
}
/**
* @deprecated
*/
directive(name) {
this.showError('Method BitrixVue.directive is deprecated, use Vue.directive (from ui.vue3 extension import). Directive "' + name + '" was not registered.');
}
/**
* Test node for compliance with parameters
*
* @param object
* @param params
* @returns {boolean}
*/
testNode(object, params) {
if (!params || !main_core.Type.isPlainObject(params)) {
return true;
}
for (const property in params) {
if (!params.hasOwnProperty(property)) {
continue;
}
switch (property) {
case 'tag':
case 'tagName':
if (main_core.Type.isString(params[property])) {
if (object.tagName.toUpperCase() !== params[property].toUpperCase()) {
return false;
}
} else if (params[property] instanceof RegExp) {
if (!params[property].test(object.tagName)) {
return false;
}
}
break;
case 'class':
case 'className':
if (main_core.Type.isString(params[property])) {
if (!main_core.Dom.hasClass(object, params[property].trim())) {
return false;
}
} else if (params[property] instanceof RegExp) {
if (!main_core.Type.isString(object.className) || !params[property].test(object.className)) {
return false;
}
}
break;
case 'attr':
case 'attrs':
case 'attribute':
if (main_core.Type.isString(params[property])) {
if (!object.getAttribute(params[property])) {
return false;
}
} else if (params[property] && Object.prototype.toString.call(params[property]) === "[object Array]") {
for (let i = 0, length = params[property].length; i < length; i++) {
if (params[property][i] && !object.getAttribute(params[property][i])) {
return false;
}
}
} else {
for (const paramKey in params[property]) {
if (!params[property].hasOwnProperty(paramKey)) {
continue;
}
const value = object.getAttribute(paramKey);
if (!main_core.Type.isString(value)) {
return false;
}
if (params[property][paramKey] instanceof RegExp) {
if (!params[property][paramKey].test(value)) {
return false;
}
} else if (value !== '' + params[property][paramKey]) {
return false;
}
}
}
break;
case 'property':
case 'props':
if (main_core.Type.isString(params[property])) {
if (!object[params[property]]) {
return false;
}
} else if (params[property] && Object.prototype.toString.call(params[property]) === "[object Array]") {
for (let i = 0, length = params[property].length; i < length; i++) {
if (params[property][i] && !object[params[property][i]]) {
return false;
}
}
} else {
for (const paramKey in params[property]) {
if (!params[property].hasOwnProperty(paramKey)) {
continue;
}
if (main_core.Type.isString(params[property][paramKey])) {
if (object[paramKey] !== params[property][paramKey]) {
return false;
}
} else if (params[property][paramKey] instanceof RegExp) {
if (!main_core.Type.isString(object[paramKey]) || !params[property][paramKey].test(object[paramKey])) {
return false;
}
}
}
}
break;
}
}
return true;
}
/**
*
*
* @param {Object} vueInstance
* @param {String|Array} phrasePrefix
* @param {Object|null} phrases
* @returns {ReadonlyArray<any>}
*/
getFilteredPhrases(vueInstance, phrasePrefix, phrases = null) {
const result = {};
if (!phrases) {
phrases = vueInstance.$bitrix.Loc.getMessages();
}
if (Array.isArray(phrasePrefix)) {
for (const message in phrases) {
if (!phrases.hasOwnProperty(message)) {
continue;
}
if (!phrasePrefix.find(element => message.toString().startsWith(element))) {
continue;
}
if (this.localizationMode === 'development') {
result[message] = message;
} else {
result[message] = phrases[message];
}
}
} else {
for (const message in phrases) {
if (!phrases.hasOwnProperty(message)) {
continue;
}
if (!message.startsWith(phrasePrefix)) {
continue;
}
if (this.localizationMode === 'development') {
result[message] = message;
} else {
result[message] = phrases[message];
}
}
}
return Object.freeze(result);
}
/**
* Return component params with mutation
*
* @param {String} name
* @param {Object} mutations
* @returns {null|Object}
*
* @private
*/
/**
* @private
* @param text
* @param params
*/
showNotice(text, ...params) {
if (this.developerMode) {
console.warn('BitrixVue: ' + text, ...params);
}
}
/**
* @private
* @param text
* @param params
*/
showError(text, ...params) {
console.error('BitrixVue: ' + text, ...params);
}
/**
* @deprecated Special method for plugin registration
*/
install(app) {
const bitrixVue = this; // 1. Init Bitrix public api
const $Bitrix = {}; // 1.1 Localization
$Bitrix.Loc = {
messages: {},
getMessage: function (messageId, replacements = null) {
if (bitrixVue.localizationMode === 'development') {
let debugMessageId = [messageId];
if (main_core.Type.isPlainObject(replacements)) {
const replaceKeys = Object.keys(replacements);
if (replaceKeys.length > 0) {
debugMessageId = [messageId, ' (replacements: ', replaceKeys.join(', '), ')'];
}
}
return debugMessageId.join('');
}
let message = '';
if (!main_core.Type.isUndefined(this.messages[messageId])) {
message = this.messages[messageId];
} else {
message = main_core.Loc.getMessage(messageId);
this.messages[messageId] = message;
}
if (main_core.Type.isString(message) && main_core.Type.isPlainObject(replacements)) {
Object.keys(replacements).forEach(replacement => {
const globalRegexp = new RegExp(replacement, 'gi');
message = message.replace(globalRegexp, () => {
return main_core.Type.isNil(replacements[replacement]) ? '' : String(replacements[replacement]);
});
});
}
return message;
},
hasMessage: function (messageId) {
return main_core.Type.isString(messageId) && !main_core.Type.isNil(this.getMessages()[messageId]);
},
getMessages: function () {
// eslint-disable-next-line bitrix-rules/no-bx-message
if (!main_core.Type.isUndefined(BX.message)) {
// eslint-disable-next-line bitrix-rules/no-bx-message
return { ...BX.message,
...this.messages
};
}
return { ...this.messages
};
},
setMessage: function (id, value) {
if (main_core.Type.isString(id)) {
this.messages[id] = value;
}
if (main_core.Type.isObject(id)) {
for (const code in id) {
if (id.hasOwnProperty(code)) {
this.messages[code] = id[code];
}
}
}
}
}; // 1.2 Application Data
$Bitrix.Application = {
instance: null,
get: function () {
return this.instance;
},
set: function (instance) {
this.instance = instance;
}
}; // 1.3 Application Data
$Bitrix.Data = {
data: {},
get: function (name, defaultValue) {
var _this$data$name;
return (_this$data$name = this.data[name]) != null ? _this$data$name : defaultValue;
},
set: function (name, value) {
this.data[name] = value;
}
}; // 1.4 Application EventEmitter
$Bitrix.eventEmitter = new main_core_events.EventEmitter(); // hack for old version of Bitrix SM
if (!main_core.Type.isFunction($Bitrix.eventEmitter.setEventNamespace)) {
window.BX.Event.EventEmitter.prototype.setEventNamespace = function () {};
$Bitrix.eventEmitter.setEventNamespace = function () {};
}
$Bitrix.eventEmitter.setEventNamespace('vue:app:' + app._uid); // 1.5 Application RestClient
$Bitrix.RestClient = {
instance: null,
get: function () {
var _this$instance;
return (_this$instance = this.instance) != null ? _this$instance : rest_client.rest;
},
set: function (instance) {
this.instance = instance;
$Bitrix.eventEmitter.emit(bitrixVue.events.restClientChange);
},
isCustom() {
return !main_core.Type.isNull(this.instance);
}
}; // 1.6 Application PullClient
$Bitrix.PullClient = {
instance: null,
get: function () {
var _this$instance2;
return (_this$instance2 = this.instance) != null ? _this$instance2 : pull_client.PULL;
},
set: function (instance) {
this.instance = instance;
$Bitrix.eventEmitter.emit(bitrixVue.events.pullClientChange);
},
isCustom() {
return !main_core.Type.isNull(this.instance);
}
}; // 2. Apply global properties
app.config.globalProperties.$bitrix = $Bitrix;
const BitrixVueRef = this;
app.mixin({
computed: {
$Bitrix: function () {
return this.$bitrix;
}
},
mounted: function () {
if (!main_core.Type.isNil(this.$root.$bitrixApplication)) {
BitrixVueRef.showNotice("Store reference in global variables (like: this.$bitrixApplication) is deprecated, use this.$Bitrix.Data.set(...) instead.");
}
if (!main_core.Type.isNil(this.$root.$bitrixController)) {
BitrixVueRef.showNotice("Store reference in global variables (like: this.$bitrixController) is deprecated, use this.$Bitrix.Data.set(...) instead.");
}
if (!main_core.Type.isNil(this.$root.$bitrixMessages)) {
BitrixVueRef.showNotice("Store localization in global variable this.$bitrixMessages is deprecated, use this.$Bitrix.Log.setMessage(...) instead.");
}
if (!main_core.Type.isNil(this.$root.$bitrixRestClient)) {
BitrixVueRef.showNotice("Working with a Rest-client through an old variable this.$bitrixRestClient is deprecated, use this.$Bitrix.RestClient.get() instead.");
}
if (!main_core.Type.isNil(this.$root.$bitrixPullClient)) {
BitrixVueRef.showNotice("Working with a Pull-client through an old variable this.$bitrixPullClient is deprecated, use this.$Bitrix.PullClient.get() instead.");
}
}
});
}
}
function _getComponentParamsWithMutation2(name, mutations) {
if (main_core.Type.isUndefined(this.components[name])) {
return null;
}
let componentParams = Object.assign({}, this.components[name]);
if (main_core.Type.isUndefined(mutations)) {
return componentParams;
}
mutations.forEach(mutation => {
componentParams = babelHelpers.classPrivateFieldLooseBase(this, _applyMutation)[_applyMutation](babelHelpers.classPrivateFieldLooseBase(this, _cloneObjectBeforeApplyMutation)[_cloneObjectBeforeApplyMutation](componentParams, mutation), mutation);
});
return componentParams;
}
function _getFinalComponentParams2(name) {
return babelHelpers.classPrivateFieldLooseBase(this, _getComponentParamsWithMutation)[_getComponentParamsWithMutation](name, this.mutations[name]);
}
function _cloneObjectBeforeApplyMutation2(objectParams = {}, mutation = {}, level = 1, previousParamName = '') {
const object = {};
for (const param in objectParams) {
if (!objectParams.hasOwnProperty(param)) {
continue;
}
if (main_core.Type.isString(objectParams[param])) {
object[param] = objectParams[param];
} else if (main_core.Type.isArray(objectParams[param])) {
object[param] = [].concat(objectParams[param]);
} else if (main_core.Type.isObjectLike(objectParams[param])) {
if (previousParamName === 'watch' || previousParamName === 'props' || previousParamName === 'directives') {
object[param] = objectParams[param];
} else if (main_core.Type.isNull(objectParams[param])) {
object[param] = null;
} else if (main_core.Type.isObjectLike(mutation[param])) {
object[param] = babelHelpers.classPrivateFieldLooseBase(this, _cloneObjectBeforeApplyMutation)[_cloneObjectBeforeApplyMutation](objectParams[param], mutation[param], level + 1, param);
} else {
object[param] = Object.assign({}, objectParams[param]);
}
} else if (main_core.Type.isFunction(objectParams[param])) {
if (!main_core.Type.isFunction(mutation[param])) {
object[param] = objectParams[param];
} else if (level > 1) {
if (previousParamName === 'watch') {
object[param] = objectParams[param];
} else {
object['parent' + param[0].toUpperCase() + param.substr(1)] = objectParams[param];
}
} else {
if (main_core.Type.isUndefined(object['methods'])) {
object['methods'] = {};
}
object['methods']['parent' + param[0].toUpperCase() + param.substr(1)] = objectParams[param];
if (main_core.Type.isUndefined(objectParams['methods'])) {
objectParams['methods'] = {};
}
objectParams['methods']['parent' + param[0].toUpperCase() + param.substr(1)] = objectParams[param];
}
} else if (!main_core.Type.isUndefined(objectParams[param])) {
object[param] = objectParams[param];
}
}
return object;
}
function _applyMutation2(clonedObject = {}, mutation = {}, level = 1) {
const object = Object.assign({}, clonedObject);
for (const param in mutation) {
if (!mutation.hasOwnProperty(param)) {
continue;
}
if (level === 1 && (param === 'compilerOptions' || param === 'setup')) {
object[param] = mutation[param];
} else if (level === 1 && param === 'extends') {
object[param] = mutation[param];
} else if (main_core.Type.isString(mutation[param])) {
if (main_core.Type.isString(object[param])) {
object[param] = mutation[param].replace(`#PARENT_${param.toUpperCase()}#`, object[param]);
} else {
object[param] = mutation[param].replace(`#PARENT_${param.toUpperCase()}#`, '');
}
} else if (main_core.Type.isArray(mutation[param])) {
if (level === 1 && param === 'replaceMixins') {
object['mixins'] = [].concat(mutation[param]);
} else if (level === 1 && param === 'replaceInject') {
object['inject'] = [].concat(mutation[param]);
} else if (level === 1 && param === 'replaceEmits') {
object['emits'] = [].concat(mutation[param]);
} else if (level === 1 && param === 'replaceExpose') {
object['expose'] = [].concat(mutation[param]);
} else if (main_core.Type.isPlainObject(object[param])) {
mutation[param].forEach(element => object[param][element] = null);
} else {
object[param] = object[param].concat(mutation[param]);
}
} else if (main_core.Type.isObjectLike(mutation[param])) {
if (level === 1 && param === 'props' && main_core.Type.isArray(object[param]) || level === 1 && param === 'emits' && main_core.Type.isArray(object[param])) {
const newObject = {};
object[param].forEach(element => {
newObject[element] = null;
});
object[param] = newObject;
}
if (level === 1 && param === 'watch') {
for (const paramName in object[param]) {
if (!object[param].hasOwnProperty(paramName)) {
continue;
}
if (paramName.includes('.')) {
continue;
}
if (main_core.Type.isFunction(object[param][paramName]) || main_core.Type.isObject(object[param][paramName]) && main_core.Type.isFunction(object[param][paramName]['handler'])) {
if (main_core.Type.isUndefined(object['methods'])) {
object['methods'] = {};
}
const originNewFunctionName = 'parentWatch' + paramName[0].toUpperCase() + paramName.substr(1);
if (main_core.Type.isFunction(object[param][paramName])) {
object['methods'][originNewFunctionName] = object[param][paramName];
} else {
object['methods'][originNewFunctionName] = object[param][paramName]['handler'];
}
}
}
}
if (level === 1 && param === 'replaceEmits') {
object['emits'] = Object.assign({}, mutation[param]);
} else if (level === 1 && (param === 'components' || param === 'directives')) {
if (main_core.Type.isUndefined(object[param])) {
object[param] = {};
}
for (const objectName in mutation[param]) {
if (!mutation[param].hasOwnProperty(objectName)) {
continue;
}
let parentObjectName = objectName[0].toUpperCase() + objectName.substr(1);
parentObjectName = param === 'components' ? 'Parent' + parentObjectName : 'parent' + parentObjectName;
object[param][parentObjectName] = Object.assign({}, object[param][objectName]);
if (param === 'components') {
if (main_core.Type.isUndefined(mutation[param][objectName].components)) {
mutation[param][objectName].components = {};
}
mutation[param][objectName].components = Object.assign({
[parentObjectName]: object[param][objectName]
}, mutation[param][objectName].components);
}
object[param][objectName] = mutation[param][objectName];
}
} else if (main_core.Type.isArray(object[param])) {
for (const mutationName in mutation[param]) {
if (!mutation[param].hasOwnProperty(mutationName)) {
continue;
}
object[param].push(mutationName);
}
} else if (main_core.Type.isObjectLike(object[param])) {
object[param] = babelHelpers.classPrivateFieldLooseBase(this, _applyMutation)[_applyMutation](object[param], mutation[param], level + 1);
} else {
object[param] = mutation[param];
}
} else {
object[param] = mutation[param];
}
}
return object;
}
BitrixVue = new BitrixVue();
/*!
* Utilities from VueUse collection
* (c) 2019-2022 Anthony Fu
* Released under the MIT License.
*
* @source: https://github.com/vueuse/vueuse/blob/main/packages/shared/tryOnScopeDispose/index.ts
* @source: https://github.com/vueuse/vueuse/blob/main/packages/rxjs/useObservable/index.ts
*/
function tryOnScopeDispose(fn) {
if (ui_vue3.getCurrentScope()) {
ui_vue3.onScopeDispose(fn);
return true;
}
return false;
}
function useObservable(observable, options) {
const value = ui_vue3.ref(options == null ? void 0 : options.initialValue);
const subscription = observable.subscribe({
next: val => value.value = val,
error: options == null ? void 0 : options.onError
});
tryOnScopeDispose(() => {
subscription.unsubscribe();
});
return value;
}
/*!
* Vue.js v3.2.40
* (c) 2014-2022 Evan You
* Released under the MIT License.
*
* @source: https://unpkg.com/vue@3.2.37/dist/vue.esm-browser.prod.js
*/
BitrixVue.createApp = (rootComponent, rootProps) => kl(rootComponent, rootProps).use(BitrixVue);
function e(e, t) {
const n = Object.create(null),
o = e.split(",");
for (let r = 0; r < o.length; r++) n[o[r]] = !0;
return t ? e => !!n[e.toLowerCase()] : e => !!n[e];
}
const t = e("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt"),
n = e("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");
function o(e) {
return !!e || "" === e;
}
function r(e) {
if (E(e)) {
const t = {};
for (let n = 0; n < e.length; n++) {
const o = e[n],
s = A(o) ? l(o) : r(o);
if (s) for (const e in s) t[e] = s[e];
}
return t;
}
return A(e) || M(e) ? e : void 0;
}
const s = /;(?![^(]*\))/g,
i = /:(.+)/;
function l(e) {
const t = {};
return e.split(s).forEach(e => {
if (e) {
const n = e.split(i);
n.length > 1 && (t[n[0].trim()] = n[1].trim());
}
}), t;
}
function c(e) {
let t = "";
if (A(e)) t = e;else if (E(e)) for (let n = 0; n < e.length; n++) {
const o = c(e[n]);
o && (t += o + " ");
} else if (M(e)) for (const n in e) e[n] && (t += n + " ");
return t.trim();
}
function a(e) {
if (!e) return null;
let {
class: t,
style: n
} = e;
return t && !A(t) && (e.class = c(t)), n && (e.style = r(n)), e;
}
const u = e("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,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"),
p = e("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,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"),
f = e("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr");
function d(e, t) {
if (e === t) return !0;
let n = R(e),
o = R(t);
if (n || o) return !(!n || !o) && e.getTime() === t.getTime();
if (n = P(e), o = P(t), n || o) return e === t;
if (n = E(e), o = E(t), n || o) return !(!n || !o) && function (e, t) {
if (e.length !== t.length) return !1;
let n = !0;
for (let o = 0; n && o < e.length; o++) n = d(e[o], t[o]);
return n;
}(e, t);
if (n = M(e), o = M(t), n || o) {
if (!n || !o) return !1;
if (Object.keys(e).length !== Object.keys(t).length) return !1;
for (const n in e) {
const o = e.hasOwnProperty(n),
r = t.hasOwnProperty(n);
if (o && !r || !o && r || !d(e[n], t[n])) return !1;
}
}
return String(e) === String(t);
}
function h(e, t) {
return e.findIndex(e => d(e, t));
}
const m = e => A(e) ? e : null == e ? "" : E(e) || M(e) && (e.toString === I || !F(e.toString)) ? JSON.stringify(e, g, 2) : String(e),
g = (e, t) => t && t.__v_isRef ? g(e, t.value) : $(t) ? {
[`Map(${t.size})`]: [...t.entries()].reduce((e, [t, n]) => (e[`${t} =>`] = n, e), {})
} : O(t) ? {
[`Set(${t.size})`]: [...t.values()]
} : !M(t) || E(t) || L(t) ? t : String(t),
v = {},
y = [],
_ = () => {},
b = () => !1,
S = /^on[^a-z]/,
x = e => S.test(e),
C = e => e.startsWith("onUpdate:"),
k = Object.assign,
w = (e, t) => {
const n = e.indexOf(t);
n > -1 && e.splice(n, 1);
},
T = Object.prototype.hasOwnProperty,
N = (e, t) => T.call(e, t),
E = Array.isArray,
$ = e => "[object Map]" === B(e),
O = e => "[object Set]" === B(e),
R = e => "[object Date]" === B(e),
F = e => "function" == typeof e,
A = e => "string" == typeof e,
P = e => "symbol" == typeof e,
M = e => null !== e && "object" == typeof e,
V = e => M(e) && F(e.then) && F(e.catch),
I = Object.prototype.toString,
B = e => I.call(e),
L = e => "[object Object]" === B(e),
j = e => A(e) && "NaN" !== e && "-" !== e[0] && "" + parseInt(e, 10) === e,
U = e(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),
D = e("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),
H = e => {
const t = Object.create(null);
return n => t[n] || (t[n] = e(n));
},
W = /-(\w)/g,
z = H(e => e.replace(W, (e, t) => t ? t.toUpperCase() : "")),
K = /\B([A-Z])/g,
G = H(e => e.replace(K, "-$1").toLowerCase()),
q = H(e => e.charAt(0).toUpperCase() + e.slice(1)),
J = H(e => e ? `on${q(e)}` : ""),
Z = (e, t) => !Object.is(e, t),
Y = (e, t) => {
for (let n = 0; n < e.length; n++) e[n](t);
},
Q = (e, t, n) => {
Object.defineProperty(e, t, {
configurable: !0,
enumerable: !1,
value: n
});
},
X = e => {
const t = parseFloat(e);
return isNaN(t) ? e : t;
};
let ee;
let te;
class ne {
constructor(e = !1) {
this.active = !0, this.effects = [], this.cleanups = [], !e && te && (this.parent = te, this.index = (te.scopes || (te.scopes = [])).push(this) - 1);
}
run(e) {
if (this.active) {
const t = te;
try {
return te = this, e();
} finally {
te = t;
}
}
}
on() {
te = this;
}
off() {
te = this.parent;
}
stop(e) {
if (this.active) {
let t, n;
for (t = 0, n = this.effects.length; t < n; t++) this.effects[t].stop();
for (t = 0, n = this.cleanups.length; t < n; t++) this.cleanups[t]();
if (this.scopes) for (t = 0, n = this.scopes.length; t < n; t++) this.scopes[t].stop(!0);
if (this.parent && !e) {
const e = this.parent.scopes.pop();
e && e !== this && (this.parent.scopes[this.index] = e, e.index = this.index);
}
this.active = !1;
}
}
}
function oe(e) {
return new ne(e);
}
function re(e, t = te) {
t && t.active && t.effects.push(e);
}
function se() {
return te;
}
function ie(e) {
te && te.cleanups.push(e);
}
const le = e => {
const t = new Set(e);
return t.w = 0, t.n = 0, t;
},
ce = e => (e.w & fe) > 0,
ae = e => (e.n & fe) > 0,
ue = new WeakMap();
let pe = 0,
fe = 1;
let de;
const he = Symbol(""),
me = Symbol("");
class ge {
constructor(e, t = null, n) {
this.fn = e, this.scheduler = t, this.active = !0, this.deps = [], this.parent = void 0, re(this, n);
}
run() {
if (!this.active) return this.fn();
let e = de,
t = be;
for (; e;) {
if (e === this) return;
e = e.parent;
}
try {
return this.parent = de, de = this, be = !0, fe = 1 << ++pe, pe <= 30 ? (({
deps: e
}) => {
if (e.length) for (let t = 0; t < e.length; t++) e[t].w |= fe;
})(this) : ve(this), this.fn();
} finally {
pe <= 30 && (e => {
const {
deps: t
} = e;
if (t.length) {
let n = 0;
for (let o = 0; o < t.length; o++) {
const r = t[o];
ce(r) && !ae(r) ? r.delete(e) : t[n++] = r, r.w &= ~fe, r.n &= ~fe;
}
t.length = n;
}
})(this), fe = 1 << --pe, de = this.parent, be = t, this.parent = void 0, this.deferStop && this.stop();
}
}
stop() {
de === this ? this.deferStop = !0 : this.active && (ve(this), this.onStop && this.onStop(), this.active = !1);
}
}
function ve(e) {
const {
deps: t
} = e;
if (t.length) {
for (let n = 0; n < t.length; n++) t[n].delete(e);
t.length = 0;
}
}
function ye(e, t) {
e.effect && (e = e.effect.fn);
const n = new ge(e);
t && (k(n, t), t.scope && re(n, t.scope)), t && t.lazy || n.run();
const o = n.run.bind(n);
return o.effect = n, o;
}
function _e(e) {
e.effect.stop();
}
let be = !0;
const Se = [];
function xe() {
Se.push(be), be = !1;
}
function Ce() {
const e = Se.pop();
be = void 0 === e || e;
}
function ke(e, t, n) {
if (be && de) {
let t = ue.get(e);
t || ue.set(e, t = new Map());
let o = t.get(n);
o || t.set(n, o = le()), we(o);
}
}
function we(e, t) {
let n = !1;
pe <= 30 ? ae(e) || (e.n |= fe, n = !ce(e)) : n = !e.has(de), n && (e.add(de), de.deps.push(e));
}
function Te(e, t, n, o, r, s) {
const i = ue.get(e);
if (!i) return;
let l = [];
if ("clear" === t) l = [...i.values()];else if ("length" === n && E(e)) i.forEach((e, t) => {
("length" === t || t >= o) && l.push(e);
});else switch (void 0 !== n && l.push(i.get(n)), t) {
case "add":
E(e) ? j(n) && l.push(i.get("length")) : (l.push(i.get(he)), $(e) && l.push(i.get(me)));
break;
case "delete":
E(e) || (l.push(i.get(he)), $(e) && l.push(i.get(me)));
break;
case "set":
$(e) && l.push(i.get(he));
}
if (1 === l.length) l[0] && Ne(l[0]);else {
const e = [];
for (const t of l) t && e.push(...t);
Ne(le(e));
}
}
function Ne(e, t) {
const n = E(e) ? e : [...e];
for (const o of n) o.computed && Ee(o);
for (const o of n) o.computed || Ee(o);
}
function Ee(e, t) {
(e !== de || e.allowRecurse) && (e.scheduler ? e.scheduler() : e.run());
}
const $e = e("__proto__,__v_isRef,__isVue"),
Oe = new Set(Object.getOwnPropertyNames(Symbol).filter(e => "arguments" !== e && "caller" !== e).map(e => Symbol[e]).filter(P)),
Re = Ie(),
Fe = Ie(!1, !0),
Ae = Ie(!0),
Pe = Ie(!0, !0),
Me = Ve();
function Ve() {
const e = {};
return ["includes", "indexOf", "lastIndexOf"].forEach(t => {
e[t] = function (...e) {
const n = wt(this);
for (let t = 0, r = this.length; t < r; t++) ke(n, 0, t + "");
const o = n[t](...e);
return -1 === o || !1 === o ? n[t](...e.map(wt)) : o;
};
}), ["push", "pop", "shift", "unshift", "splice"].forEach(t => {
e[t] = function (...e) {
xe();
const n = wt(this)[t].apply(this, e);
return Ce(), n;
};
}), e;
}
function Ie(e = !1, t = !1) {
return function (n, o, r) {
if ("__v_isReactive" === o) return !e;
if ("__v_isReadonly" === o) return e;
if ("__v_isShallow" === o) return t;
if ("__v_raw" === o && r === (e ? t ? ht : dt : t ? ft : pt).get(n)) return n;
const s = E(n);
if (!e && s && N(Me, o)) return Reflect.get(Me, o, r);
const i = Reflect.get(n, o, r);
return (P(o) ? Oe.has(o) : $e(o)) ? i : (e || ke(n, 0, o), t ? i : Rt(i) ? s && j(o) ? i : i.value : M(i) ? e ? yt(i) : gt(i) : i);
};
}
function Be(e = !1) {
return function (t, n, o, r) {
let s = t[n];
if (xt(s) && Rt(s) && !Rt(o)) return !1;
if (!e && (Ct(o) || xt(o) || (s = wt(s), o = wt(o)), !E(t) && Rt(s) && !Rt(o))) return s.value = o, !0;
const i = E(t) && j(n) ? Number(n) < t.length : N(t, n),
l = Reflect.set(t, n, o, r);
return t === wt(r) && (i ? Z(o, s) && Te(t, "set", n, o) : Te(t, "add", n, o)), l;
};
}
const Le = {
get: Re,
set: Be(),
deleteProperty: function (e, t) {
const n = N(e, t),
o = Reflect.deleteProperty(e, t);
return o && n && Te(e, "delete", t, void 0), o;
},
has: function (e, t) {
const n = Reflect.has(e, t);
return P(t) && Oe.has(t) || ke(e, 0, t), n;
},
ownKeys: function (e) {
return ke(e, 0, E(e) ? "length" : he), Reflect.ownKeys(e);
}
},
je = {
get: Ae,
set: (e, t) => !0,
deleteProperty: (e, t) => !0
},
Ue = k({}, Le, {
get: Fe,
set: Be(!0)
}),
De = k({}, je, {
get: Pe
}),
He = e => e,
We = e => Reflect.getPrototypeOf(e);
function ze(e, t, n = !1, o = !1) {
const r = wt(e = e.__v_raw),
s = wt(t);
n || (t !== s && ke(r, 0, t), ke(r, 0, s));
const {
has: i
} = We(r),
l = o ? He : n ? Et : Nt;
return i.call(r, t) ? l(e.get(t)) : i.call(r, s) ? l(e.get(s)) : void (e !== r && e.get(t));
}
function Ke(e, t = !1) {
const n = this.__v_raw,
o = wt(n),
r = wt(e);
return t || (e !== r && ke(o, 0, e), ke(o, 0, r)), e === r ? n.has(e) : n.has(e) || n.has(r);
}
function Ge(e, t = !1) {
return e = e.__v_raw, !t && ke(wt(e), 0, he), Reflect.get(e, "size", e);
}
function qe(e) {
e = wt(e);
const t = wt(this);
return We(t).has.call(t, e) || (t.add(e), Te(t, "add", e, e)), this;
}
function Je(e, t) {
t = wt(t);
const n = wt(this),
{
has: o,
get: r
} = We(n);
let s = o.call(n, e);
s || (e = wt(e), s = o.call(n, e));
const i = r.call(n, e);
return n.set(e, t), s ? Z(t, i) && Te(n, "set", e, t) : Te(n, "add", e, t), this;
}
function Ze(e) {
const t = wt(this),
{
has: n,
get: o
} = We(t);
let r = n.call(t, e);
r || (e = wt(e), r = n.call(t, e)), o && o.call(t, e);
const s = t.delete(e);
return r && Te(t, "delete", e, void 0), s;
}
function Ye() {
const e = wt(this),
t = 0 !== e.size,
n = e.clear();
return t && Te(e, "clear", void 0, void 0), n;
}
function Qe(e, t) {
return function (n, o) {
const r = this,
s = r.__v_raw,
i = wt(s),
l = t ? He : e ? Et : Nt;
return !e && ke(i, 0, he), s.forEach((e, t) => n.call(o, l(e), l(t), r));
};
}
function Xe(e, t, n) {
return function (...o) {
const r = this.__v_raw,
s = wt(r),
i = $(s),
l = "entries" === e || e === Symbol.iterator && i,
c = "keys" === e && i,
a = r[e](...o),
u = n ? He : t ? Et : Nt;
return !t && ke(s, 0, c ? me : he), {
next() {
const {
value: e,
done: t
} = a.next();
return t ? {
value: e,
done: t
} : {
value: l ? [u(e[0]), u(e[1])] : u(e),
done: t
};
},
[Symbol.iterator]() {
return this;
}
};
};
}
function et(e) {
return function (...t) {
return "delete" !== e && this;
};
}
function tt() {
const e = {
get(e) {
return ze(this, e);
},
get size() {
return Ge(this);
},
has: Ke,
add: qe,
set: Je,
delete: Ze,
clear: Ye,
forEach: Qe(!1, !1)
},
t = {
get(e) {
return ze(this, e, !1, !0);
},
get size() {
return Ge(this);
},
has: Ke,
add: qe,
set: Je,
delete: Ze,
clear: Ye,
forEach: Qe(!1, !0)
},
n = {
get(e) {
return ze(this, e, !0);
},
get size() {
return Ge(this, !0);
},
has(e) {
return Ke.call(this, e, !0);
},
add: et("add"),
set: et("set"),
delete: et("delete"),
clear: et("clear"),
forEach: Qe(!0, !1)
},
o = {
get(e) {
return ze(this, e, !0, !0);
},
get size() {
return Ge(this, !0);
},
has(e) {
return Ke.call(this, e, !0);
},
add: et("add"),
set: et("set"),
delete: et("delete"),
clear: et("clear"),
forEach: Qe(!0, !0)
};
return ["keys", "values", "entries", Symbol.iterator].forEach(r => {
e[r] = Xe(r, !1, !1), n[r] = Xe(r, !0, !1), t[r] = Xe(r, !1, !0), o[r] = Xe(r, !0, !0);
}), [e, n, t, o];
}
const [nt, ot, rt, st] = tt();
function it(e, t) {
const n = t ? e ? st : rt : e ? ot : nt;
return (t, o, r) => "__v_isReactive" === o ? !e : "__v_isReadonly" === o ? e : "__v_raw" === o ? t : Reflect.get(N(n, o) && o in t ? n : t, o, r);
}
const lt = {
get: it(!1, !1)
},
ct = {
get: it(!1, !0)
},
at = {
get: it(!0, !1)
},
ut = {
get: it(!0, !0)
},
pt = new WeakMap(),
ft = new WeakMap(),
dt = new WeakMap(),
ht = new WeakMap();
function mt(e) {
return e.__v_skip || !Object.isExtensible(e) ? 0 : function (e) {
switch (e) {
case "Object":
case "Array":
return 1;
case "Map":
case "Set":
case "WeakMap":
case "WeakSet":
return 2;
default:
return 0;
}
}((e => B(e).slice(8, -1))(e));
}
function gt(e) {
return xt(e) ? e : bt(e, !1, Le, lt, pt);
}
function vt(e) {
return bt(e, !1, Ue, ct, ft);
}
function yt(e) {
return bt(e, !0, je, at, dt);
}
function _t(e) {
return bt(e, !0, De, ut, ht);
}
function bt(e, t, n, o, r) {
if (!M(e)) return e;
if (e.__v_raw && (!t || !e.__v_isReactive)) return e;
const s = r.get(e);
if (s) return s;
const i = mt(e);
if (0 === i) return e;
const l = new Proxy(e, 2 === i ? o : n);
return r.set(e, l), l;
}
function St(e) {
return xt(e) ? St(e.__v_raw) : !(!e || !e.__v_isReactive);
}
function xt(e) {
return !(!e || !e.__v_isReadonly);
}
function Ct(e) {
return !(!e || !e.__v_isShallow);
}
function kt(e) {
return St(e) || xt(e);
}
function wt(e) {
const t = e && e.__v_raw;
return t ? wt(t) : e;
}
function Tt(e) {
return Q(e, "__v_skip", !0), e;
}
const Nt = e => M(e) ? gt(e) : e,
Et = e => M(e) ? yt(e) : e;
function $t(e) {
be && de && we((e = wt(e)).dep || (e.dep = le()));
}
function Ot(e, t) {
(e = wt(e)).dep && Ne(e.dep);
}
function Rt(e) {
return !(!e || !0 !== e.__v_isRef);
}
function Ft(e) {
return Pt(e, !1);
}
function At(e) {
return Pt(e, !0);
}
function Pt(e, t) {
return Rt(e) ? e : new Mt(e, t);
}
class Mt {
constructor(e, t) {
this.__v_isShallow = t, this.dep = void 0, this.__v_isRef = !0, this._rawValue = t ? e : wt(e), this._value = t ? e : Nt(e);
}
get value() {
return $t(this), this._value;
}
set value(e) {
const t = this.__v_isShallow || Ct(e) || xt(e);
e = t ? e : wt(e), Z(e, this._rawValue) && (this._rawValue = e, this._value = t ? e : Nt(e), Ot(this));
}
}
function Vt(e) {
Ot(e);
}
function It(e) {
return Rt(e) ? e.value : e;
}
const Bt = {
get: (e, t, n) => It(Reflect.get(e, t, n)),
set: (e, t, n, o) => {
const r = e[t];
return Rt(r) && !Rt(n) ? (r.value = n, !0) : Reflect.set(e, t, n, o);
}
};
function Lt(e) {
return St(e) ? e : new Proxy(e, Bt);
}
class jt {
constructor(e) {
this.dep = void 0, this.__v_isRef = !0;
const {
get: t,
set: n
} = e(() => $t(this), () => Ot(this));
this._get = t, this._set = n;
}
get value() {
return this._get();
}
set value(e) {
this._set(e);
}
}
function Ut(e) {
return new jt(e);
}
function Dt(e) {
const t = E(e) ? new Array(e.length) : {};
for (const n in e) t[n] = Wt(e, n);
return t;
}
class Ht {
constructor(e, t, n) {
this._object = e, this._key = t, this._defaultValue = n, this.__v_isRef = !0;
}
get value() {
const e = this._object[this._key];
return void 0 === e ? this._defaultValue : e;
}
set value(e) {
this._object[this._key] = e;
}
}
function Wt(e, t, n) {
const o = e[t];
return Rt(o) ? o : new Ht(e, t, n);
}
var zt;
class Kt {
constructor(e, t, n, o) {
this._setter = t, this.dep = void 0, this.__v_isRef = !0, this[zt] = !1, this._dirty = !0, this.effect = new ge(e, () => {
this._dirty || (this._dirty = !0, Ot(this));
}), this.effect.computed = this, this.effect.active = this._cacheable = !o, this.__v_isReadonly = n;
}
get value() {
const e = wt(this);
return $t(e), !e._dirty && e._cacheable || (e._dirty = !1, e._value = e.effect.run()), e._value;
}
set value(e) {
this._setter(e);
}
}
zt = "__v_isReadonly";
const Gt = [];
function qt(e, ...t) {
xe();
const n = Gt.length ? Gt[Gt.length - 1].component : null,
o = n && n.appContext.config.warnHandler,
r = function () {
let e = Gt[Gt.length - 1];
if (!e) return [];
const t = [];
for (; e;) {
const n = t[0];
n && n.vnode === e ? n.recurseCount++ : t.push({
vnode: e,
recurseCount: 0
});
const o = e.component && e.component.parent;
e = o && o.vnode;
}
return t;
}();
if (o) Yt(o, n, 11, [e + t.join(""), n && n.proxy, r.map(({
vnode: e
}) => `at <${Vs(n, e.type)}>`).join("\n"), r]);else {
const n = [`[Vue warn]: ${e}`, ...t];
r.length && n.push("\n", ...function (e) {
const t = [];
return e.forEach((e, n) => {
t.push(...(0 === n ? [] : ["\n"]), ...function ({
vnode: e,
recurseCount: t
}) {
const n = t > 0 ? `... (${t} recursive calls)` : "",
o = ` at <${Vs(e.component, e.type, !!e.component && null == e.component.parent)}`,
r = ">" + n;
return e.props ? [o, ...Jt(e.props), r] : [o + r];
}(e));
}), t;
}(r)), console.warn(...n);
}
Ce();
}
function Jt(e) {
const t = [],
n = Object.keys(e);
return n.slice(0, 3).forEach(n => {
t.push(...Zt(n, e[n]));
}), n.length > 3 && t.push(" ..."), t;
}
function Zt(e, t, n) {
return A(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : "number" == typeof t || "boolean" == typeof t || null == t ? n ? t : [`${e}=${t}`] : Rt(t) ? (t = Zt(e, wt(t.value), !0), n ? t : [`${e}=Ref<`, t, ">"]) : F(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = wt(t), n ? t : [`${e}=`, t]);
}
function Yt(e, t, n, o) {
let r;
try {
r = o ? e(...o) : e();
} catch (s) {
Xt(s, t, n);
}
return r;
}
function Qt(e, t, n, o) {
if (F(e)) {
const r = Yt(e, t, n, o);
return r && V(r) && r.catch(e => {
Xt(e, t, n);
}), r;
}
const r = [];
for (let s = 0; s < e.length; s++) r.push(Qt(e[s], t, n, o));
return r;
}
function Xt(e, t, n, o = !0) {
if (t) {
let o = t.parent;
const r = t.proxy,
s = n;
for (; o;) {
const t = o.ec;
if (t) for (let n = 0; n < t.length; n++) if (!1 === t[n](e, r, s)) return;
o = o.parent;
}
const i = t.appContext.config.errorHandler;
if (i) return void Yt(i, null, 10, [e, r, s]);
}
!function (e, t, n, o = !0) {
console.error(e);
}(e, 0, 0, o);
}
let en = !1,
tn = !1;
const nn = [];
let on = 0;
const rn = [];
let sn = null,
ln = 0;
const cn = Promise.resolve();
let an = null;
function un(e) {
const t = an || cn;
return e ? t.then(this ? e.bind(this) : e) : t;
}
function pn(e) {
nn.length && nn.includes(e, en && e.allowRecurse ? on + 1 : on) || (null == e.id ? nn.push(e) : nn.splice(function (e) {
let t = on + 1,
n = nn.length;
for (; t < n;) {
const o = t + n >>> 1;
gn(nn[o]) < e ? t = o + 1 : n = o;
}
return t;
}(e.id), 0, e), fn());
}
function fn() {
en || tn || (tn = !0, an = cn.then(yn));
}
function dn(e) {
E(e) ? rn.push(...e) : sn && sn.includes(e, e.allowRecurse ? ln + 1 : ln) || rn.push(e), fn();
}
function hn(e, t = en ? on + 1 : 0) {
for (; t < nn.length; t++) {
const e = nn[t];
e && e.pre && (nn.splice(t, 1), t--, e());
}
}
function mn(e) {
if (rn.length) {
const e = [...new Set(rn)];
if (rn.length = 0, sn) return void sn.push(...e);
for (sn = e, sn.sort((e, t) => gn(e) - gn(t)), ln = 0; ln < sn.length; ln++) sn[ln]();
sn = null, ln = 0;
}
}
const gn = e => null == e.id ? 1 / 0 : e.id,
vn = (e, t) => {
const n = gn(e) - gn(t);
if (0 === n) {
if (e.pre && !t.pre) return -1;
if (t.pre && !e.pre) return 1;
}
return n;
};
function yn(e) {
tn = !1, en = !0, nn.sort(vn);
try {
for (on = 0; on < nn.length; on++) {
const e = nn[on];
e && !1 !== e.active && Yt(e, null, 14);
}
} finally {
on = 0, nn.length = 0, mn(), en = !1, an = null, (nn.length || rn.length) && yn();
}
}
let bn = [];
function Sn(e, t) {
var n, o;
if (exports.devtools = e, exports.devtools) exports.devtools.enabled = !0, bn.forEach(({
event: e,
args: t
}) => exports.devtools.emit(e, ...t)), bn = [];else if ("undefined" != typeof window && window.HTMLElement && !(null === (o = null === (n = window.navigator) || void 0 === n ? void 0 : n.userAgent) || void 0 === o ? void 0 : o.includes("jsdom"))) {
(t.__VUE_DEVTOOLS_HOOK_REPLAY__ = t.__VUE_DEVTOOLS_HOOK_REPLAY__ || []).push(e => {
Sn(e, t);
}), setTimeout(() => {
exports.devtools || (t.__VUE_DEVTOOLS_HOOK_REPLAY__ = null, bn = []);
}, 3e3);
} else bn = [];
}
function xn(e, t, ...n) {
if (e.isUnmounted) return;
const o = e.vnode.props || v;
let r = n;
const s = t.startsWith("update:"),
i = s && t.slice(7);
if (i && i in o) {
const e = `${"modelValue" === i ? "model" : i}Modifiers`,
{
number: t,
trim: s
} = o[e] || v;
s && (r = n.map(e => e.trim())), t && (r = n.map(X));
}
let l,
c = o[l = J(t)] || o[l = J(z(t))];
!c && s && (c = o[l = J(G(t))]), c && Qt(c, e, 6, r);
const a = o[l + "Once"];
if (a) {
if (e.emitted) {
if (e.emitted[l]) return;
} else e.emitted = {};
e.emitted[l] = !0, Qt(a, e, 6, r);
}
}
function Cn(e, t, n = !1) {
const o = t.emitsCache,
r = o.get(e);
if (void 0 !== r) return r;
const s = e.emits;
let i = {},
l = !1;
if (!F(e)) {
const o = e => {
const n = Cn(e, t, !0);
n && (l = !0, k(i, n));
};
!n && t.mixins.length && t.mixins.forEach(o), e.extends && o(e.extends), e.mixins && e.mixins.forEach(o);
}
return s || l ? (E(s) ? s.forEach(e => i[e] = null) : k(i, s), M(e) && o.set(e, i), i) : (M(e) && o.set(e, null), null);
}
function kn(e, t) {
return !(!e || !x(t)) && (t = t.slice(2).replace(/Once$/, ""), N(e, t[0].toLowerCase() + t.slice(1)) || N(e, G(t)) || N(e, t));
}
let wn = null,
Tn = null;
function Nn(e) {
const t = wn;
return wn = e, Tn = e && e.type.__scopeId || null, t;
}
function En(e) {
Tn = e;
}
function $n() {
Tn = null;
}
const On = e => Rn;
function Rn(e, t = wn, n) {
if (!t) return e;
if (e._n) return e;
const o = (...n) => {
o._d && Zr(-1);
const r = Nn(t),
s = e(...n);
return Nn(r), o._d && Zr(1), s;
};
return o._n = !0, o._c = !0, o._d = !0, o;
}
function Fn(e) {
const {
type: t,
vnode: n,
proxy: o,
withProxy: r,
props: s,
propsOptions: [i],
slots: l,
attrs: c,
emit: a,
render: u,
renderCache: p,
data: f,
setupState: d,
ctx: h,
inheritAttrs: m
} = e;
let g, v;
const y = Nn(e);
try {
if (4 & n.shapeFlag) {
const e = r || o;
g = ds(u.call(e, e, p, s, d, f, h)), v = c;
} else {
const e = t;
g = ds(e(s, e.length > 1 ? {
attrs: c,
slots: l,
emit: a
} : null)), v = t.props ? c : An(c);
}
} catch (b) {
zr.length = 0, Xt(b, e, 1), g = ls(Hr);
}
let _ = g;
if (v && !1 !== m) {
const e = Object.keys(v),
{
shapeFlag: t
} = _;
e.length && 7 & t && (i && e.some(C) && (v = Pn(v, i)), _ = as(_, v));
}
return n.dirs && (_ = as(_), _.dirs = _.dirs ? _.dirs.concat(n.dirs) : n.dirs), n.transition && (_.transition = n.transition), g = _, Nn(y), g;
}
const An = e => {
let t;
for (const n in e) ("class" === n || "style" === n || x(n)) && ((t || (t = {}))[n] = e[n]);
return t;
},
Pn = (e, t) => {
const n = {};
for (const o in e) C(o) && o.slice(9) in t || (n[o] = e[o]);
return n;
};
function Mn(e, t, n) {
const o = Object.keys(t);
if (o.length !== Object.keys(e).length) return !0;
for (let r = 0; r < o.length; r++) {
const s = o[r];
if (t[s] !== e[s] && !kn(n, s)) return !0;
}
return !1;
}
function Vn({
vnode: e,
parent: t
}, n) {
for (; t && t.subTree === e;) (e = t.vnode).el = n, t = t.parent;
}
const In = e => e.__isSuspense,
Bn = {
name: "Suspense",
__isSuspense: !0,
process(e, t, n, o, r, s, i, l, c, a) {
null == e ? function (e, t, n, o, r, s, i, l, c) {
const {
p: a,
o: {
createElement: u
}
} = c,
p = u("div"),
f = e.suspense = jn(e, r, o, t, p, n, s, i, l, c);
a(null, f.pendingBranch = e.ssContent, p, null, o, f, s, i), f.deps > 0 ? (Ln(e, "onPending"), Ln(e, "onFallback"), a(null, e.ssFallback, t, n, o, null, s, i), Hn(f, e.ssFallback)) : f.resolve();
}(t, n, o, r, s, i, l, c, a) : function (e, t, n, o, r, s, i, l, {
p: c,
um: a,
o: {
createElement: u
}
}) {
const p = t.suspense = e.suspense;
p.vnode = t, t.el = e.el;
const f = t.ssContent,
d = t.ssFallback,
{
activeBranch: h,
pendingBranch: m,
isInFallback: g,
isHydrating: v
} = p;
if (m) p.pendingBranch = f, ts(f, m) ? (c(m, f, p.hiddenContainer, null, r, p, s, i, l), p.deps <= 0 ? p.resolve() : g && (c(h, d, n, o, r, null, s, i, l), Hn(p, d))) : (p.pendingId++, v ? (p.isHydrating = !1, p.activeBranch = m) : a(m, r, p), p.deps = 0, p.effects.length = 0, p.hiddenContainer = u("div"), g ? (c(null, f, p.hiddenContainer, null, r, p, s, i, l), p.deps <= 0 ? p.resolve() : (c(h, d, n, o, r, null, s, i, l), Hn(p, d))) : h && ts(f, h) ? (c(h, f, n, o, r, p, s, i, l), p.resolve(!0)) : (c(null, f, p.hiddenContainer, null, r, p, s, i, l), p.deps <= 0 && p.resolve()));else if (h && ts(f, h)) c(h, f, n, o, r, p, s, i, l), Hn(p, f);else if (Ln(t, "onPending"), p.pendingBranch = f, p.pendingId++, c(null, f, p.hiddenContainer, null, r, p, s, i, l), p.deps <= 0) p.resolve();else {
const {
timeout: e,
pendingId: t
} = p;
e > 0 ? setTimeout(() => {
p.pendingId === t && p.fallback(d);
}, e) : 0 === e && p.fallback(d);
}
}(e, t, n, o, r, i, l, c, a);
},
hydrate: function (e, t, n, o, r, s, i, l, c) {
const a = t.suspense = jn(t, o, n, e.parentNode, document.createElement("div"), null, r, s, i, l, !0),
u = c(e, a.pendingBranch = t.ssContent, n, a, s, i);
0 === a.deps && a.resolve();
return u;
},
create: jn,
normalize: function (e) {
const {
shapeFlag: t,
children: n
} = e,
o = 32 & t;
e.ssContent = Un(o ? n.default : n), e.ssFallback = o ? Un(n.fallback) : ls(Hr);
}
};
function Ln(e, t) {
const n = e.props && e.props[t];
F(n) && n();
}
function jn(e, t, n, o, r, s, i, l, c, a, u = !1) {
const {
p: p,
m: f,
um: d,
n: h,
o: {
parentNode: m,
remove: g
}
} = a,
v = X(e.props && e.props.timeout),
y = {
vnode: e,
parent: t,
parentComponent: n,
isSVG: i,
container: o,
hiddenContainer: r,
anchor: s,
deps: 0,
pendingId: 0,
timeout: "number" == typeof v ? v : -1,
activeBranch: null,
pendingBranch: null,
isInFallback: !0,
isHydrating: u,
isUnmounted: !1,
effects: [],
resolve(e = !1) {
const {
vnode: t,
activeBranch: n,
pendingBranch: o,
pendingId: r,
effects: s,
parentComponent: i,
container: l
} = y;
if (y.isHydrating) y.isHydrating = !1;else if (!e) {
const e = n && o.transition && "out-in" === o.transition.mode;
e && (n.transition.afterLeave = () => {
r === y.pendingId && f(o, l, t, 0);
});
let {
anchor: t
} = y;
n && (t = h(n), d(n, i, y, !0)), e || f(o, l, t, 0);
}
Hn(y, o), y.pendingBranch = null, y.isInFallback = !1;
let c = y.parent,
a = !1;
for (; c;) {
if (c.pendingBranch) {
c.effects.push(...s), a = !0;
break;
}
c = c.parent;
}
a || dn(s), y.effects = [], Ln(t, "onResolve");
},
fallback(e) {
if (!y.pendingBranch) return;
const {
vnode: t,
activeBranch: n,
parentComponent: o,
container: r,
isSVG: s
} = y;
Ln(t, "onFallback");
const i = h(n),
a = () => {
y.isInFallback && (p(null, e, r, i, o, null, s, l, c), Hn(y, e));
},
u = e.transition && "out-in" === e.transition.mode;
u && (n.transition.afterLeave = a), y.isInFallback = !0, d(n, o, null, !0), u || a();
},
move(e, t, n) {
y.activeBranch && f(y.activeBranch, e, t, n), y.container = e;
},
next: () => y.activeBranch && h(y.activeBranch),
registerDep(e, t) {
const n = !!y.pendingBranch;
n && y.deps++;
const o = e.vnode.el;
e.asyncDep.catch(t => {
Xt(t, e, 0);
}).then(r => {
if (e.isUnmounted || y.isUnmounted || y.pendingId !== e.suspenseId) return;
e.asyncResolved = !0;
const {
vnode: s
} = e;
Es(e, r, !1), o && (s.el = o);
const l = !o && e.subTree.el;
t(e, s, m(o || e.subTree.el), o ? null : h(e.subTree), y, i, c), l && g(l), Vn(e, s.el), n && 0 == --y.deps && y.resolve();
});
},
unmount(e, t) {
y.isUnmounted = !0, y.activeBranch && d(y.activeBranch, n, e, t), y.pendingBranch && d(y.pendingBranch, n, e, t);
}
};
return y;
}
function Un(e) {
let t;
if (F(e)) {
const n = Jr && e._c;
n && (e._d = !1, Gr()), e = e(), n && (e._d = !0, t = Kr, qr());
}
if (E(e)) {
const t = function (e) {
let t;
for (let n = 0; n < e.length; n++) {
const o = e[n];
if (!es(o)) return;
if (o.type !== Hr || "v-if" === o.children) {
if (t) return;
t = o;
}
}
return t;
}(e);
e = t;
}
return e = ds(e), t && !e.dynamicChildren && (e.dynamicChildren = t.filter(t => t !== e)), e;
}
function Dn(e, t) {
t && t.pendingBranch ? E(e) ? t.effects.push(...e) : t.effects.push(e) : dn(e);
}
function Hn(e, t) {
e.activeBranch = t;
const {
vnode: n,
parentComponent: o
} = e,
r = n.el = t.el;
o && o.subTree === n && (o.vnode.el = r, Vn(o, r));
}
function Wn(e, t) {
if (bs) {
let n = bs.provides;
const o = bs.parent && bs.parent.provides;
o === n && (n = bs.provides = Object.create(o)), n[e] = t;
}
}
function zn(e, t, n = !1) {
const o = bs || wn;
if (o) {
const r = null == o.parent ? o.vnode.appContext && o.vnode.appContext.provides : o.parent.provides;
if (r && e in r) return r[e];
if (arguments.length > 1) return n && F(t) ? t.call(o.proxy) : t;
}
}
function Kn(e, t) {
return Yn(e, null, t);
}
function Gn(e, t) {
return Yn(e, null, {
flush: "post"
});
}
function qn(e, t) {
return Yn(e, null, {
flush: "sync"
});
}
const Jn = {};
function Zn(e, t, n) {
return Yn(e, t, n);
}
function Yn(e, t, {
immediate: n,
deep: o,
flush: r
} = v) {
const s = bs;
let i,
l,
c = !1,
a = !1;
if (Rt(e) ? (i = () => e.value, c = Ct(e)) : St(e) ? (i = () => e, o = !0) : E(e) ? (a = !0, c = e.some(e => St(e) || Ct(e)), i = () => e.map(e => Rt(e) ? e.value : St(e) ? eo(e) : F(e) ? Yt(e, s, 2) : void 0)) : i = F(e) ? t ? () => Yt(e, s, 2) : () => {
if (!s || !s.isUnmounted) return l && l(), Qt(e, s, 3, [u]);
} : _, t && o) {
const e = i;
i = () => eo(e());
}
let u = e => {
l = h.onStop = () => {
Yt(e, s, 4);
};
},
p = a ? [] : Jn;
const f = () => {
if (h.active) if (t) {
const e = h.run();
(o || c || (a ? e.some((e, t) => Z(e, p[t])) : Z(e, p))) && (l && l(), Qt(t, s, 3, [e, p === Jn ? void 0 : p, u]), p = e);
} else h.run();
};
let d;
f.allowRecurse = !!t, "sync" === r ? d = f : "post" === r ? d = () => Or(f, s && s.suspense) : (f.pre = !0, s && (f.id = s.uid), d = () => pn(f));
const h = new ge(i, d);
return t ? n ? f() : p = h.run() : "post" === r ? Or(h.run.bind(h), s && s.suspense) : h.run(), () => {
h.stop(), s && s.scope && w(s.scope.effects, h);
};
}
function Qn(e, t, n) {
const o = this.proxy,
r = A(e) ? e.includes(".") ? Xn(o, e) : () => o[e] : e.bind(o, o);
let s;
F(t) ? s = t : (s = t.handler, n = t);
const i = bs;
xs(this);
const l = Yn(r, s.bind(o), n);
return i ? xs(i) : Cs(), l;
}
function Xn(e, t) {
const n = t.split(".");
return () => {
let t = e;
for (let e = 0; e < n.length && t; e++) t = t[n[e]];
return t;
};
}
function eo(e, t) {
if (!M(e) || e.__v_skip) return e;
if ((t = t || new Set()).has(e)) return e;
if (t.add(e), Rt(e)) eo(e.value, t);else if (E(e)) for (let n = 0; n < e.length; n++) eo(e[n], t);else if (O(e) || $(e)) e.forEach(e => {
eo(e, t);
});else if (L(e)) for (const n in e) eo(e[n], t);
return e;
}
function to() {
const e = {
isMounted: !1,
isLeaving: !1,
isUnmounting: !1,
leavingVNodes: new Map()
};
return No(() => {
e.isMounted = !0;
}), Oo(() => {
e.isUnmounting = !0;
}), e;
}
const no = [Function, Array],
oo = {
name: "BaseTransition",
props: {
mode: String,
appear: Boolean,
persisted: Boolean,
onBeforeEnter: no,
onEnter: no,
onAfterEnter: no,
onEnterCancelled: no,
onBeforeLeave: no,
onLeave: no,
onAfterLeave: no,
onLeaveCancelled: no,
onBeforeAppear: no,
onAppear: no,
onAfterAppear: no,
onAppearCancelled: no
},
setup(e, {
slots: t
}) {
const n = Ss(),
o = to();
let r;
return () => {
const s = t.default && ao(t.default(), !0);
if (!s || !s.length) return;
let i = s[0];
if (s.length > 1) for (const e of s) if (e.type !== Hr) {
i = e;
break;
}
const l = wt(e),
{
mode: c
} = l;
if (o.isLeaving) return io(i);
const a = lo(i);
if (!a) return io(i);
const u = so(a, l, o, n);
co(a, u);
const p = n.subTree,
f = p && lo(p);
let d = !1;
const {
getTransitionKey: h
} = a.type;
if (h) {
const e = h();
void 0 === r ? r = e : e !== r && (r = e, d = !0);
}
if (f && f.type !== Hr && (!ts(a, f) || d)) {
const e = so(f, l, o, n);
if (co(f, e), "out-in" === c) return o.isLeaving = !0, e.afterLeave = () => {
o.isLeaving = !1, n.update();
}, io(i);
"in-out" === c && a.type !== Hr && (e.delayLeave = (e, t, n) => {
ro(o, f)[String(f.key)] = f, e._leaveCb = () => {
t(), e._leaveCb = void 0, delete u.delayedLeave;
}, u.delayedLeave = n;
});
}
return i;
};
}
};
function ro(e, t) {
const {
leavingVNodes: n
} = e;
let o = n.get(t.type);
return o || (o = Object.create(null), n.set(t.type, o)), o;
}
function so(e, t, n, o) {
const {
appear: r,
mode: s,
persisted: i = !1,
onBeforeEnter: l,
onEnter: c,
onAfterEnter: a,
onEnterCancelled: u,
onBeforeLeave: p,
onLeave: f,
onAfterLeave: d,
onLeaveCancelled: h,
onBeforeAppear: m,
onAppear: g,
onAfterAppear: v,
onAppearCancelled: y
} = t,
_ = String(e.key),
b = ro(n, e),
S = (e, t) => {
e && Qt(e, o, 9, t);
},
x = (e, t) => {
const n = t[1];
S(e, t), E(e) ? e.every(e => e.length <= 1) && n() : e.length <= 1 && n();
},
C = {
mode: s,
persisted: i,
beforeEnter(t) {
let o = l;
if (!n.isMounted) {
if (!r) return;
o = m || l;
}
t._leaveCb && t._leaveCb(!0);
const s = b[_];
s && ts(e, s) && s.el._leaveCb && s.el._leaveCb(), S(o, [t]);
},
enter(e) {
let t = c,
o = a,
s = u;
if (!n.isMounted) {
if (!r) return;
t = g || c, o = v || a, s = y || u;
}
let i = !1;
const l = e._enterCb = t => {
i || (i = !0, S(t ? s : o, [e]), C.delayedLeave && C.delayedLeave(), e._enterCb = void 0);
};
t ? x(t, [e, l]) : l();
},
leave(t, o) {
const r = String(e.key);
if (t._enterCb && t._enterCb(!0), n.isUnmounting) return o();
S(p, [t]);
let s = !1;
const i = t._leaveCb = n => {
s || (s = !0, o(), S(n ? h : d, [t]), t._leaveCb = void 0, b[r] === e && delete b[r]);
};
b[r] = e, f ? x(f, [t, i]) : i();
},
clone: e => so(e, t, n, o)
};
return C;
}
function io(e) {
if (mo(e)) return (e = as(e)).children = null, e;
}
function lo(e) {
return mo(e) ? e.children ? e.children[0] : void 0 : e;
}
function co(e, t) {
6 & e.shapeFlag && e.component ? co(e.component.subTree, t) : 128 & e.shapeFlag ? (e.ssContent.transition = t.clone(e.ssContent), e.ssFallback.transition = t.clone(e.ssFallback)) : e.transition = t;
}
function ao(e, t = !1, n) {
let o = [],
r = 0;
for (let s = 0; s < e.length; s++) {
let i = e[s];
const l = null == n ? i.key : String(n) + String(null != i.key ? i.key : s);
i.type === Ur ? (128 & i.patchFlag && r++, o = o.concat(ao(i.children, t, l))) : (t || i.type !== Hr) && o.push(null != l ? as(i, {
key: l
}) : i);
}
if (r > 1) for (let s = 0; s < o.length; s++) o[s].patchFlag = -2;
return o;
}
function uo(e) {
return F(e) ? {
setup: e,
name: e.name
} : e;
}
const po = e => !!e.type.__asyncLoader;
function fo(e) {
F(e) && (e = {
loader: e
});
const {
loader: t,
loadingComponent: n,
errorComponent: o,
delay: r = 200,
timeout: s,
suspensible: i = !0,
onError: l
} = e;
let c,
a = null,
u = 0;
const p = () => {
let e;
return a || (e = a = t().catch(e => {
if (e = e instanceof Error ? e : new Error(String(e)), l) return new Promise((t, n) => {
l(e, () => t((u++, a = null, p())), () => n(e), u + 1);
});
throw e;
}).then(t => e !== a && a ? a : (t && (t.__esModule || "Module" === t[Symbol.toStringTag]) && (t = t.default), c = t, t)));
};
return uo({
name: "AsyncComponentWrapper",
__asyncLoader: p,
get __asyncResolved() {
return c;
},
setup() {
const e = bs;
if (c) return () => ho(c, e);
const t = t => {
a = null, Xt(t, e, 13, !o);
};
if (i && e.suspense) return p().then(t => () => ho(t, e)).catch(e => (t(e), () => o ? ls(o, {
error: e
}) : null));
const l = Ft(!1),
u = Ft(),
f = Ft(!!r);
return r && setTimeout(() => {
f.value = !1;
}, r), null != s && setTimeout(() => {
if (!l.value && !u.value) {
const e = new Error(`Async component timed out after ${s}ms.`);
t(e), u.value = e;
}
}, s), p().then(() => {
l.value = !0, e.parent && mo(e.parent.vnode) && pn(e.parent.update);
}).catch(e => {
t(e), u.value = e;
}), () => l.value && c ? ho(c, e) : u.value && o ? ls(o, {
error: u.value
}) : n && !f.value ? ls(n) : void 0;
}
});
}
function ho(e, {
vnode: {
ref: t,
props: n,
children: o
}
}) {
const r = ls(e, n, o);
return r.ref = t, r;
}
const mo = e => e.type.__isKeepAlive,
go = {
name: "KeepAlive",
__isKeepAlive: !0,
props: {
include: [String, RegExp, Array],
exclude: [String, RegExp, Array],
max: [String, Number]
},
setup(e, {
slots: t
}) {
const n = Ss(),
o = n.ctx,
r = new Map(),
s = new Set();
let i = null;
const l = n.suspense,
{
renderer: {
p: c,
m: a,
um: u,
o: {
createElement: p
}
}
} = o,
f = p("div");
function d(e) {
xo(e), u(e, n, l, !0);
}
function h(e) {
r.forEach((t, n) => {
const o = Ms(t.type);
!o || e && e(o) || m(n);
});
}
function m(e) {
const t = r.get(e);
i && t.type === i.type ? i && xo(i) : d(t), r.delete(e), s.delete(e);
}
o.activate = (e, t, n, o, r) => {
const s = e.component;
a(e, t, n, 0, l), c(s.vnode, e, t, n, s, l, o, e.slotScopeIds, r), Or(() => {
s.isDeactivated = !1, s.a && Y(s.a);
const t = e.props && e.props.onVnodeMounted;
t && vs(t, s.parent, e);
}, l);
}, o.deactivate = e => {
const t = e.component;
a(e, f, null, 1, l), Or(() => {
t.da && Y(t.da);
const n = e.props && e.props.onVnodeUnmounted;
n && vs(n, t.parent, e), t.isDeactivated = !0;
}, l);
}, Zn(() => [e.include, e.exclude], ([e, t]) => {
e && h(t => vo(e, t)), t && h(e => !vo(t, e));
}, {
flush: "post",
deep: !0
});
let g = null;
const v = () => {
null != g && r.set(g, Co(n.subTree));
};
return No(v), $o(v), Oo(() => {
r.forEach(e => {
const {
subTree: t,
suspense: o
} = n,
r = Co(t);
if (e.type !== r.type) d(e);else {
xo(r);
const e = r.component.da;
e && Or(e, o);
}
});
}), () => {
if (g = null, !t.default) return null;
const n = t.default(),
o = n[0];
if (n.length > 1) return i = null, n;
if (!(es(o) && (4 & o.shapeFlag || 128 & o.shapeFlag))) return i = null, o;
let l = Co(o);
const c = l.type,
a = Ms(po(l) ? l.type.__asyncResolved || {} : c),
{
include: u,
exclude: p,
max: f
} = e;
if (u && (!a || !vo(u, a)) || p && a && vo(p, a)) return i = l, o;
const d = null == l.key ? c : l.key,
h = r.get(d);
return l.el && (l = as(l), 128 & o.shapeFlag && (o.ssContent = l)), g = d, h ? (l.el = h.el, l.component = h.component, l.transition && co(l, l.transition), l.shapeFlag |= 512, s.delete(d), s.add(d)) : (s.add(d), f && s.size > parseInt(f, 10) && m(s.values().next().value)), l.shapeFlag |= 256, i = l, In(o.type) ? o : l;
};
}
};
function vo(e, t) {
return E(e) ? e.some(e => vo(e, t)) : A(e) ? e.split(",").includes(t) : !!e.test && e.test(t);
}
function yo(e, t) {
bo(e, "a", t);
}
function _o(e, t) {
bo(e, "da", t);
}
function bo(e, t, n = bs) {
const o = e.__wdc || (e.__wdc = () => {
let t = n;
for (; t;) {
if (t.isDeactivated) return;
t = t.parent;
}
return e();
});
if (ko(t, o, n), n) {
let e = n.parent;
for (; e && e.parent;) mo(e.parent.vnode) && So(o, t, n, e), e = e.parent;
}
}
function So(e, t, n, o) {
const r = ko(t, e, o, !0);
Ro(() => {
w(o[t], r);
}, n);
}
function xo(e) {
let t = e.shapeFlag;
256 & t && (t -= 256), 512 & t && (t -= 512), e.shapeFlag = t;
}
function Co(e) {
return 128 & e.shapeFlag ? e.ssContent : e;
}
function ko(e, t, n = bs, o = !1) {
if (n) {
const r = n[e] || (n[e] = []),
s = t.__weh || (t.__weh = (...o) => {
if (n.isUnmounted) return;
xe(), xs(n);
const r = Qt(t, n, e, o);
return Cs(), Ce(), r;
});
return o ? r.unshift(s) : r.push(s), s;
}
}
const wo = e => (t, n = bs) => (!Ns || "sp" === e) && ko(e, (...e) => t(...e), n),
To = wo("bm"),
No = wo("m"),
Eo = wo("bu"),
$o = wo("u"),
Oo = wo("bum"),
Ro = wo("um"),
Fo = wo("sp"),
Ao = wo("rtg"),
Po = wo("rtc");
function Mo(e, t = bs) {
ko("ec", e, t);
}
function Vo(e, t) {
const n = wn;
if (null === n) return e;
const o = As(n) || n.proxy,
r = e.dirs || (e.dirs = []);
for (let s = 0; s < t.length; s++) {
let [e, n, i, l = v] = t[s];
F(e) && (e = {
mounted: e,
updated: e
}), e.deep && eo(n), r.push({
dir: e,
instance: o,
value: n,
oldValue: void 0,
arg: i,
modifiers: l
});
}
return e;
}
function Io(e, t, n, o) {
const r = e.dirs,
s = t && t.dirs;
for (let i = 0; i < r.length; i++) {
const l = r[i];
s && (l.oldValue = s[i].value);
let c = l.dir[o];
c && (xe(), Qt(c, n, 8, [e.el, l, e, t]), Ce());
}
}
function Bo(e, t) {
return Do("components", e, !0, t) || e;
}
const Lo = Symbol();
function jo(e) {
return A(e) ? Do("components", e, !1) || e : e || Lo;
}
function Uo(e) {
return Do("directives", e);
}
function Do(e, t, n = !0, o = !1) {
const r = wn || bs;
if (r) {
const n = r.type;
if ("components" === e) {
const e = Ms(n, !1);
if (e && (e === t || e === z(t) || e === q(z(t)))) return n;
}
const s = Ho(r[e] || n[e], t) || Ho(r.appContext[e], t);
return !s && o ? n : s;
}
}
function Ho(e, t) {
return e && (e[t] || e[z(t)] || e[q(z(t))]);
}
function Wo(e, t, n, o) {
let r;
const s = n && n[o];
if (E(e) || A(e)) {
r = new Array(e.length);
for (let n = 0, o = e.length; n < o; n++) r[n] = t(e[n], n, void 0, s && s[n]);
} else if ("number" == typeof e) {
r = new Array(e);
for (let n = 0; n < e; n++) r[n] = t(n + 1, n, void 0, s && s[n]);
} else if (M(e)) {
if (e[Symbol.iterator]) r = Array.from(e, (e, n) => t(e, n, void 0, s && s[n]));else {
const n = Object.keys(e);
r = new Array(n.length);
for (let o = 0, i = n.length; o < i; o++) {
const i = n[o];
r[o] = t(e[i], i, o, s && s[o]);
}
}
} else r = [];
return n && (n[o] = r), r;
}
function zo(e, t) {
for (let n = 0; n < t.length; n++) {
const o = t[n];
if (E(o)) for (let t = 0; t < o.length; t++) e[o[t].name] = o[t].fn;else o && (e[o.name] = o.key ? (...e) => {
const t = o.fn(...e);
return t && (t.key = o.key), t;
} : o.fn);
}
return e;
}
function Ko(e, t, n = {}, o, r) {
if (wn.isCE || wn.parent && po(wn.parent) && wn.parent.isCE) return ls("slot", "default" === t ? null : {
name: t
}, o && o());
let s = e[t];
s && s._c && (s._d = !1), Gr();
const i = s && Go(s(n)),
l = Xr(Ur, {
key: n.key || i && i.key || `_${t}`
}, i || (o ? o() : []), i && 1 === e._ ? 64 : -2);
return !r && l.scopeId && (l.slotScopeIds = [l.scopeId + "-s"]), s && s._c && (s._d = !0), l;
}
function Go(e) {
return e.some(e => !es(e) || e.type !== Hr && !(e.type === Ur && !Go(e.children))) ? e : null;
}
function qo(e, t) {
const n = {};
for (const o in e) n[t && /[A-Z]/.test(o) ? `on:${o}` : J(o)] = e[o];
return n;
}
const Jo = e => e ? ks(e) ? As(e) || e.proxy : Jo(e.parent) : null,
Zo = k(Object.create(null), {
$: e => e,
$el: e => e.vnode.el,
$data: e => e.data,
$props: e => e.props,
$attrs: e => e.attrs,
$slots: e => e.slots,
$refs: e => e.refs,
$parent: e => Jo(e.parent),
$root: e => Jo(e.root),
$emit: e => e.emit,
$options: e => or(e),
$forceUpdate: e => e.f || (e.f = () => pn(e.update)),
$nextTick: e => e.n || (e.n = un.bind(e.proxy)),
$watch: e => Qn.bind(e)
}),
Yo = {
get({
_: e
}, t) {
const {
ctx: n,
setupState: o,
data: r,
props: s,
accessCache: i,
type: l,
appContext: c
} = e;
let a;
if ("$" !== t[0]) {
const l = i[t];
if (void 0 !== l) switch (l) {
case 1:
return o[t];
case 2:
return r[t];
case 4:
return n[t];
case 3:
return s[t];
} else {
if (o !== v && N(o, t)) return i[t] = 1, o[t];
if (r !== v && N(r, t)) return i[t] = 2, r[t];
if ((a = e.propsOptions[0]) && N(a, t)) return i[t] = 3, s[t];
if (n !== v && N(n, t)) return i[t] = 4, n[t];
Xo && (i[t] = 0);
}
}
const u = Zo[t];
let p, f;
return u ? ("$attrs" === t && ke(e, 0, t), u(e)) : (p = l.__cssModules) && (p = p[t]) ? p : n !== v && N(n, t) ? (i[t] = 4, n[t]) : (f = c.config.globalProperties, N(f, t) ? f[t] : void 0);
},
set({
_: e
}, t, n) {
const {
data: o,
setupState: r,
ctx: s
} = e;
return r !== v && N(r, t) ? (r[t] = n, !0) : o !== v && N(o, t) ? (o[t] = n, !0) : !N(e.props, t) && ("$" !== t[0] || !(t.slice(1) in e)) && (s[t] = n, !0);
},
has({
_: {
data: e,
setupState: t,
accessCache: n,
ctx: o,
appContext: r,
propsOptions: s
}
}, i) {
let l;
return !!n[i] || e !== v && N(e, i) || t !== v && N(t, i) || (l = s[0]) && N(l, i) || N(o, i) || N(Zo, i) || N(r.config.globalProperties, i);
},
defineProperty(e, t, n) {
return null != n.get ? e._.accessCache[t] = 0 : N(n, "value") && this.set(e, t, n.value, null), Reflect.defineProperty(e, t, n);
}
},
Qo = k({}, Yo, {
get(e, t) {
if (t !== Symbol.unscopables) return Yo.get(e, t, e);
},
has: (e, n) => "_" !== n[0] && !t(n)
});
let Xo = !0;
function er(e) {
const t = or(e),
n = e.proxy,
o = e.ctx;
Xo = !1, t.beforeCreate && tr(t.beforeCreate, e, "bc");
const {
data: r,
computed: s,
methods: i,
watch: l,
provide: c,
inject: a,
created: u,
beforeMount: p,
mounted: f,
beforeUpdate: d,
updated: h,
activated: m,
deactivated: g,
beforeUnmount: v,
unmounted: y,
render: b,
renderTracked: S,
renderTriggered: x,
errorCaptured: C,
serverPrefetch: k,
expose: w,
inheritAttrs: T,
components: N,
directives: $
} = t;
if (a && function (e, t, n = _, o = !1) {
E(e) && (e = lr(e));
for (const r in e) {
const n = e[r];
let s;
s = M(n) ? "default" in n ? zn(n.from || r, n.default, !0) : zn(n.from || r) : zn(n), Rt(s) && o ? Object.defineProperty(t, r, {
enumerable: !0,
configurable: !0,
get: () => s.value,
set: e => s.value = e
}) : t[r] = s;
}
}(a, o, null, e.appContext.config.unwrapInjectedRef), i) for (const _ in i) {
const e = i[_];
F(e) && (o[_] = e.bind(n));
}
if (r) {
const t = r.call(n, n);
M(t) && (e.data = gt(t));
}
if (Xo = !0, s) for (const E in s) {
const e = s[E],
t = F(e) ? e.bind(n, n) : F(e.get) ? e.get.bind(n, n) : _,
r = !F(e) && F(e.set) ? e.set.bind(n) : _,
i = Is({
get: t,
set: r
});
Object.defineProperty(o, E, {
enumerable: !0,
configurable: !0,
get: () => i.value,
set: e => i.value = e
});
}
if (l) for (const _ in l) nr(l[_], o, n, _);
if (c) {
const e = F(c) ? c.call(n) : c;
Reflect.ownKeys(e).forEach(t => {
Wn(t, e[t]);
});
}
function O(e, t) {
E(t) ? t.forEach(t => e(t.bind(n))) : t && e(t.bind(n));
}
if (u && tr(u, e, "c"), O(To, p), O(No, f), O(Eo, d), O($o, h), O(yo, m), O(_o, g), O(Mo, C), O(Po, S), O(Ao, x), O(Oo, v), O(Ro, y), O(Fo, k), E(w)) if (w.length) {
const t = e.exposed || (e.exposed = {});
w.forEach(e => {
Object.defineProperty(t, e, {
get: () => n[e],
set: t => n[e] = t
});
});
} else e.exposed || (e.exposed = {});
b && e.render === _ && (e.render = b), null != T && (e.inheritAttrs = T), N && (e.components = N), $ && (e.directives = $);
}
function tr(e, t, n) {
Qt(E(e) ? e.map(e => e.bind(t.proxy)) : e.bind(t.proxy), t, n);
}
function nr(e, t, n, o) {
const r = o.includes(".") ? Xn(n, o) : () => n[o];
if (A(e)) {
const n = t[e];
F(n) && Zn(r, n);
} else if (F(e)) Zn(r, e.bind(n));else if (M(e)) if (E(e)) e.forEach(e => nr(e, t, n, o));else {
const o = F(e.handler) ? e.handler.bind(n) : t[e.handler];
F(o) && Zn(r, o, e);
}
}
function or(e) {
const t = e.type,
{
mixins: n,
extends: o
} = t,
{
mixins: r,
optionsCache: s,
config: {
optionMergeStrategies: i
}
} = e.appContext,
l = s.get(t);
let c;
return l ? c = l : r.length || n || o ? (c = {}, r.length && r.forEach(e => rr(c, e, i, !0)), rr(c, t, i)) : c = t, M(t) && s.set(t, c), c;
}
function rr(e, t, n, o = !1) {
const {
mixins: r,
extends: s
} = t;
s && rr(e, s, n, !0), r && r.forEach(t => rr(e, t, n, !0));
for (const i in t) if (o && "expose" === i) ;else {
const o = sr[i] || n && n[i];
e[i] = o ? o(e[i], t[i]) : t[i];
}
return e;
}
const sr = {
data: ir,
props: ar,
emits: ar,
methods: ar,
computed: ar,
beforeCreate: cr,
created: cr,
beforeMount: cr,
mounted: cr,
beforeUpdate: cr,
updated: cr,
beforeDestroy: cr,
beforeUnmount: cr,
destroyed: cr,
unmounted: cr,
activated: cr,
deactivated: cr,
errorCaptured: cr,
serverPrefetch: cr,
components: ar,
directives: ar,
watch: function (e, t) {
if (!e) return t;
if (!t) return e;
const n = k(Object.create(null), e);
for (const o in t) n[o] = cr(e[o], t[o]);
return n;
},
provide: ir,
inject: function (e, t) {
return ar(lr(e), lr(t));
}
};
function ir(e, t) {
return t ? e ? function () {
return k(F(e) ? e.call(this, this) : e, F(t) ? t.call(this, this) : t);
} : t : e;
}
function lr(e) {
if (E(e)) {
const t = {};
for (let n = 0; n < e.length; n++) t[e[n]] = e[n];
return t;
}
return e;
}
function cr(e, t) {
return e ? [...new Set([].concat(e, t))] : t;
}
function ar(e, t) {
return e ? k(k(Object.create(null), e), t) : t;
}
function ur(e, t, n, o) {
const [r, s] = e.propsOptions;
let i,
l = !1;
if (t) for (let c in t) {
if (U(c)) continue;
const a = t[c];
let u;
r && N(r, u = z(c)) ? s && s.includes(u) ? (i || (i = {}))[u] = a : n[u] = a : kn(e.emitsOptions, c) || c in o && a === o[c] || (o[c] = a, l = !0);
}
if (s) {
const t = wt(n),
o = i || v;
for (let i = 0; i < s.length; i++) {
const l = s[i];
n[l] = pr(r, t, l, o[l], e, !N(o, l));
}
}
return l;
}
function pr(e, t, n, o, r, s) {
const i = e[n];
if (null != i) {
const e = N(i, "default");
if (e && void 0 === o) {
const e = i.default;
if (i.type !== Function && F(e)) {
const {
propsDefaults: s
} = r;
n in s ? o = s[n] : (xs(r), o = s[n] = e.call(null, t), Cs());
} else o = e;
}
i[0] && (s && !e ? o = !1 : !i[1] || "" !== o && o !== G(n) || (o = !0));
}
return o;
}
function fr(e, t, n = !1) {
const o = t.propsCache,
r = o.get(e);
if (r) return r;
const s = e.props,
i = {},
l = [];
let c = !1;
if (!F(e)) {
const o = e => {
c = !0;
const [n, o] = fr(e, t, !0);
k(i, n), o && l.push(...o);
};
!n && t.mixins.length && t.mixins.forEach(o), e.extends && o(e.extends), e.mixins && e.mixins.forEach(o);
}
if (!s && !c) return M(e) && o.set(e, y), y;
if (E(s)) for (let u = 0; u < s.length; u++) {
const e = z(s[u]);
dr(e) && (i[e] = v);
} else if (s) for (const u in s) {
const e = z(u);
if (dr(e)) {
const t = s[u],
n = i[e] = E(t) || F(t) ? {
type: t
} : t;
if (n) {
const t = gr(Boolean, n.type),
o = gr(String, n.type);
n[0] = t > -1, n[1] = o < 0 || t < o, (t > -1 || N(n, "default")) && l.push(e);
}
}
}
const a = [i, l];
return M(e) && o.set(e, a), a;
}
function dr(e) {
return "$" !== e[0];
}
function hr(e) {
const t = e && e.toString().match(/^\s*function (\w+)/);
return t ? t[1] : null === e ? "null" : "";
}
function mr(e, t) {
return hr(e) === hr(t);
}
function gr(e, t) {
return E(t) ? t.findIndex(t => mr(t, e)) : F(t) && mr(t, e) ? 0 : -1;
}
const vr = e => "_" === e[0] || "$stable" === e,
yr = e => E(e) ? e.map(ds) : [ds(e)],
_r = (e, t, n) => {
if (t._n) return t;
const o = Rn((...e) => yr(t(...e)), n);
return o._c = !1, o;
},
br = (e, t, n) => {
const o = e._ctx;
for (const r in e) {
if (vr(r)) continue;
const n = e[r];
if (F(n)) t[r] = _r(0, n, o);else if (null != n) {
const e = yr(n);
t[r] = () => e;
}
}
},
Sr = (e, t) => {
const n = yr(t);
e.slots.default = () => n;
};
function xr() {
return {
app: null,
config: {
isNativeTag: b,
performance: !1,
globalProperties: {},
optionMergeStrategies: {},
errorHandler: void 0,
warnHandler: void 0,
compilerOptions: {}
},
mixins: [],
components: {},
directives: {},
provides: Object.create(null),
optionsCache: new WeakMap(),
propsCache: new WeakMap(),
emitsCache: new WeakMap()
};
}
let Cr = 0;
function kr(e, t) {
return function (n, o = null) {
F(n) || (n = Object.assign({}, n)), null == o || M(o) || (o = null);
const r = xr(),
s = new Set();
let i = !1;
const l = r.app = {
_uid: Cr++,
_component: n,
_props: o,
_container: null,
_context: r,
_instance: null,
version: ei,
get config() {
return r.config;
},
set config(e) {},
use: (e, ...t) => (s.has(e) || (e && F(e.install) ? (s.add(e), e.install(l, ...t)) : F(e) && (s.add(e), e(l, ...t))), l),
mixin: e => (r.mixins.includes(e) || r.mixins.push(e), l),
component: (e, t) => t ? (r.components[e] = t, l) : r.components[e],
directive: (e, t) => t ? (r.directives[e] = t, l) : r.directives[e],
mount(s, c, a) {
if (!i) {
const u = ls(n, o);
return u.appContext = r, c && t ? t(u, s) : e(u, s, a), i = !0, l._container = s, s.__vue_app__ = l, As(u.component) || u.component.proxy;
}
},
unmount() {
i && (e(null, l._container), delete l._container.__vue_app__);
},
provide: (e, t) => (r.provides[e] = t, l)
};
return l;
};
}
function wr(e, t, n, o, r = !1) {
if (E(e)) return void e.forEach((e, s) => wr(e, t && (E(t) ? t[s] : t), n, o, r));
if (po(o) && !r) return;
const s = 4 & o.shapeFlag ? As(o.component) || o.component.proxy : o.el,
i = r ? null : s,
{
i: l,
r: c
} = e,
a = t && t.r,
u = l.refs === v ? l.refs = {} : l.refs,
p = l.setupState;
if (null != a && a !== c && (A(a) ? (u[a] = null, N(p, a) && (p[a] = null)) : Rt(a) && (a.value = null)), F(c)) Yt(c, l, 12, [i, u]);else {
const t = A(c),
o = Rt(c);
if (t || o) {
const l = () => {
if (e.f) {
const n = t ? u[c] : c.value;
r ? E(n) && w(n, s) : E(n) ? n.includes(s) || n.push(s) : t ? (u[c] = [s], N(p, c) && (p[c] = u[c])) : (c.value = [s], e.k && (u[e.k] = c.value));
} else t ? (u[c] = i, N(p, c) && (p[c] = i)) : o && (c.value = i, e.k && (u[e.k] = i));
};
i ? (l.id = -1, Or(l, n)) : l();
}
}
}
let Tr = !1;
const Nr = e => /svg/.test(e.namespaceURI) && "foreignObject" !== e.tagName,
Er = e => 8 === e.nodeType;
function $r(e) {
const {
mt: t,
p: n,
o: {
patchProp: o,
createText: r,
nextSibling: s,
parentNode: i,
remove: l,
insert: c,
createComment: a
}
} = e,
u = (n, o, l, a, g, v = !1) => {
const y = Er(n) && "[" === n.data,
_ = () => h(n, o, l, a, g, y),
{
type: b,
ref: S,
shapeFlag: x,
patchFlag: C
} = o;
let k = n.nodeType;
o.el = n, -2 === C && (v = !1, o.dynamicChildren = null);
let w = null;
switch (b) {
case Dr:
3 !== k ? "" === o.children ? (c(o.el = r(""), i(n), n), w = n) : w = _() : (n.data !== o.children && (Tr = !0, n.data = o.children), w = s(n));
break;
case Hr:
w = 8 !== k || y ? _() : s(n);
break;
case Wr:
if (y && (k = (n = s(n)).nodeType), 1 === k || 3 === k) {
w = n;
const e = !o.children.length;
for (let t = 0; t < o.staticCount; t++) e && (o.children += 1 === w.nodeType ? w.outerHTML : w.data), t === o.staticCount - 1 && (o.anchor = w), w = s(w);
return y ? s(w) : w;
}
_();
break;
case Ur:
w = y ? d(n, o, l, a, g, v) : _();
break;
default:
if (1 & x) w = 1 !== k || o.type.toLowerCase() !== n.tagName.toLowerCase() ? _() : p(n, o, l, a, g, v);else if (6 & x) {
o.slotScopeIds = g;
const e = i(n);
if (t(o, e, null, l, a, Nr(e), v), w = y ? m(n) : s(n), w && Er(w) && "teleport end" === w.data && (w = s(w)), po(o)) {
let t;
y ? (t = ls(Ur), t.anchor = w ? w.previousSibling : e.lastChild) : t = 3 === n.nodeType ? us("") : ls("div"), t.el = n, o.component.subTree = t;
}
} else 64 & x ? w = 8 !== k ? _() : o.type.hydrate(n, o, l, a, g, v, e, f) : 128 & x && (w = o.type.hydrate(n, o, l, a, Nr(i(n)), g, v, e, u));
}
return null != S && wr(S, null, a, o), w;
},
p = (e, t, n, r, s, i) => {
i = i || !!t.dynamicChildren;
const {
type: c,
props: a,
patchFlag: u,
shapeFlag: p,
dirs: d
} = t,
h = "input" === c && d || "option" === c;
if (h || -1 !== u) {
if (d && Io(t, null, n, "created"), a) if (h || !i || 48 & u) for (const t in a) (h && t.endsWith("value") || x(t) && !U(t)) && o(e, t, null, a[t], !1, void 0, n);else a.onClick && o(e, "onClick", null, a.onClick, !1, void 0, n);
let c;
if ((c = a && a.onVnodeBeforeMount) && vs(c, n, t), d && Io(t, null, n, "beforeMount"), ((c = a && a.onVnodeMounted) || d) && Dn(() => {
c && vs(c, n, t), d && Io(t, null, n, "mounted");
}, r), 16 & p && (!a || !a.innerHTML && !a.textContent)) {
let o = f(e.firstChild, t, e, n, r, s, i);
for (; o;) {
Tr = !0;
const e = o;
o = o.nextSibling, l(e);
}
} else 8 & p && e.textContent !== t.children && (Tr = !0, e.textContent = t.children);
}
return e.nextSibling;
},
f = (e, t, o, r, s, i, l) => {
l = l || !!t.dynamicChildren;
const c = t.children,
a = c.length;
for (let p = 0; p < a; p++) {
const t = l ? c[p] : c[p] = ds(c[p]);
if (e) e = u(e, t, r, s, i, l);else {
if (t.type === Dr && !t.children) continue;
Tr = !0, n(null, t, o, null, r, s, Nr(o), i);
}
}
return e;
},
d = (e, t, n, o, r, l) => {
const {
slotScopeIds: u
} = t;
u && (r = r ? r.concat(u) : u);
const p = i(e),
d = f(s(e), t, p, n, o, r, l);
return d && Er(d) && "]" === d.data ? s(t.anchor = d) : (Tr = !0, c(t.anchor = a("]"), p, d), d);
},
h = (e, t, o, r, c, a) => {
if (Tr = !0, t.el = null, a) {
const t = m(e);
for (;;) {
const n = s(e);
if (!n || n === t) break;
l(n);
}
}
const u = s(e),
p = i(e);
return l(e), n(null, t, p, u, o, r, Nr(p), c), u;
},
m = e => {
let t = 0;
for (; e;) if ((e = s(e)) && Er(e) && ("[" === e.data && t++, "]" === e.data)) {
if (0 === t) return s(e);
t--;
}
return e;
};
return [(e, t) => {
if (!t.hasChildNodes()) return n(null, e, t), mn(), void (t._vnode = e);
Tr = !1, u(t.firstChild, e, null, null, null), mn(), t._vnode = e, Tr && console.error("Hydration completed but contains mismatches.");
}, u];
}
const Or = Dn;
function Rr(e) {
return Ar(e);
}
function Fr(e) {
return Ar(e, $r);
}
function Ar(e, t) {
(ee || (ee = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : "undefined" != typeof window ? window : "undefined" != typeof global ? global : {})).__VUE__ = !0;
const {
insert: n,
remove: o,
patchProp: r,
createElement: s,
createText: i,
createComment: l,
setText: c,
setElementText: a,
parentNode: u,
nextSibling: p,
setScopeId: f = _,
insertStaticContent: d
} = e,
h = (e, t, n, o = null, r = null, s = null, i = !1, l = null, c = !!t.dynamicChildren) => {
if (e === t) return;
e && !ts(e, t) && (o = J(e), D(e, r, s, !0), e = null), -2 === t.patchFlag && (c = !1, t.dynamicChildren = null);
const {
type: a,
ref: u,
shapeFlag: p
} = t;
switch (a) {
case Dr:
m(e, t, n, o);
break;
case Hr:
g(e, t, n, o);
break;
case Wr:
null == e && b(t, n, o, i);
break;
case Ur:
O(e, t, n, o, r, s, i, l, c);
break;
default:
1 & p ? S(e, t, n, o, r, s, i, l, c) : 6 & p ? R(e, t, n, o, r, s, i, l, c) : (64 & p || 128 & p) && a.process(e, t, n, o, r, s, i, l, c, X);
}
null != u && r && wr(u, e && e.ref, s, t || e, !t);
},
m = (e, t, o, r) => {
if (null == e) n(t.el = i(t.children), o, r);else {
const n = t.el = e.el;
t.children !== e.children && c(n, t.children);
}
},
g = (e, t, o, r) => {
null == e ? n(t.el = l(t.children || ""), o, r) : t.el = e.el;
},
b = (e, t, n, o) => {
[e.el, e.anchor] = d(e.children, t, n, o, e.el, e.anchor);
},
S = (e, t, n, o, r, s, i, l, c) => {
i = i || "svg" === t.type, null == e ? x(t, n, o, r, s, i, l, c) : T(e, t, r, s, i, l, c);
},
x = (e, t, o, i, l, c, u, p) => {
let f, d;
const {
type: h,
props: m,
shapeFlag: g,
transition: v,
dirs: y
} = e;
if (f = e.el = s(e.type, c, m && m.is, m), 8 & g ? a(f, e.children) : 16 & g && w(e.children, f, null, i, l, c && "foreignObject" !== h, u, p), y && Io(e, null, i, "created"), m) {
for (const t in m) "value" === t || U(t) || r(f, t, null, m[t], c, e.children, i, l, q);
"value" in m && r(f, "value", null, m.value), (d = m.onVnodeBeforeMount) && vs(d, i, e);
}
C(f, e, e.scopeId, u, i), y && Io(e, null, i, "beforeMount");
const _ = (!l || l && !l.pendingBranch) && v && !v.persisted;
_ && v.beforeEnter(f), n(f, t, o), ((d = m && m.onVnodeMounted) || _ || y) && Or(() => {
d && vs(d, i, e), _ && v.enter(f), y && Io(e, null, i, "mounted");
}, l);
},
C = (e, t, n, o, r) => {
if (n && f(e, n), o) for (let s = 0; s < o.length; s++) f(e, o[s]);
if (r) {
if (t === r.subTree) {
const t = r.vnode;
C(e, t, t.scopeId, t.slotScopeIds, r.parent);
}
}
},
w = (e, t, n, o, r, s, i, l, c = 0) => {
for (let a = c; a < e.length; a++) {
const c = e[a] = l ? hs(e[a]) : ds(e[a]);
h(null, c, t, n, o, r, s, i, l);
}
},
T = (e, t, n, o, s, i, l) => {
const c = t.el = e.el;
let {
patchFlag: u,
dynamicChildren: p,
dirs: f
} = t;
u |= 16 & e.patchFlag;
const d = e.props || v,
h = t.props || v;
let m;
n && Pr(n, !1), (m = h.onVnodeBeforeUpdate) && vs(m, n, t, e), f && Io(t, e, n, "beforeUpdate"), n && Pr(n, !0);
const g = s && "foreignObject" !== t.type;
if (p ? E(e.dynamicChildren, p, c, n, o, g, i) : l || I(e, t, c, null, n, o, g, i, !1), u > 0) {
if (16 & u) $(c, t, d, h, n, o, s);else if (2 & u && d.class !== h.class && r(c, "class", null, h.class, s), 4 & u && r(c, "style", d.style, h.style, s), 8 & u) {
const i = t.dynamicProps;
for (let t = 0; t < i.length; t++) {
const l = i[t],
a = d[l],
u = h[l];
u === a && "value" !== l || r(c, l, a, u, s, e.children, n, o, q);
}
}
1 & u && e.children !== t.children && a(c, t.children);
} else l || null != p || $(c, t, d, h, n, o, s);
((m = h.onVnodeUpdated) || f) && Or(() => {
m && vs(m, n, t, e), f && Io(t, e, n, "updated");
}, o);
},
E = (e, t, n, o, r, s, i) => {
for (let l = 0; l < t.length; l++) {
const c = e[l],
a = t[l],
p = c.el && (c.type === Ur || !ts(c, a) || 70 & c.shapeFlag) ? u(c.el) : n;
h(c, a, p, null, o, r, s, i, !0);
}
},
$ = (e, t, n, o, s, i, l) => {
if (n !== o) {
if (n !== v) for (const c in n) U(c) || c in o || r(e, c, n[c], null, l, t.children, s, i, q);
for (const c in o) {
if (U(c)) continue;
const a = o[c],
u = n[c];
a !== u && "value" !== c && r(e, c, u, a, l, t.children, s, i, q);
}
"value" in o && r(e, "value", n.value, o.value);
}
},
O = (e, t, o, r, s, l, c, a, u) => {
const p = t.el = e ? e.el : i(""),
f = t.anchor = e ? e.anchor : i("");
let {
patchFlag: d,
dynamicChildren: h,
slotScopeIds: m
} = t;
m && (a = a ? a.concat(m) : m), null == e ? (n(p, o, r), n(f, o, r), w(t.children, o, f, s, l, c, a, u)) : d > 0 && 64 & d && h && e.dynamicChildren ? (E(e.dynamicChildren, h, o, s, l, c, a), (null != t.key || s && t === s.subTree) && Mr(e, t, !0)) : I(e, t, o, f, s, l, c, a, u);
},
R = (e, t, n, o, r, s, i, l, c) => {
t.slotScopeIds = l, null == e ? 512 & t.shapeFlag ? r.ctx.activate(t, n, o, i, c) : F(t, n, o, r, s, i, c) : A(e, t, c);
},
F = (e, t, n, o, r, s, i) => {
const l = e.component = function (e, t, n) {
const o = e.type,
r = (t ? t.appContext : e.appContext) || ys,
s = {
uid: _s++,
vnode: e,
type: o,
parent: t,
appContext: r,
root: null,
next: null,
subTree: null,
effect: null,
update: null,
scope: new ne(!0),
render: null,
proxy: null,
exposed: null,
exposeProxy: null,
withProxy: null,
provides: t ? t.provides : Object.create(r.provides),
accessCache: null,
renderCache: [],
components: null,
directives: null,
propsOptions: fr(o, r),
emitsOptions: Cn(o, r),
emit: null,
emitted: null,
propsDefaults: v,
inheritAttrs: o.inheritAttrs,
ctx: v,
data: v,
props: v,
attrs: v,
slots: v,
refs: v,
setupState: v,
setupContext: null,
suspense: n,
suspenseId: n ? n.pendingId : 0,
asyncDep: null,
asyncResolved: !1,
isMounted: !1,
isUnmounted: !1,
isDeactivated: !1,
bc: null,
c: null,
bm: null,
m: null,
bu: null,
u: null,
um: null,
bum: null,
da: null,
a: null,
rtg: null,
rtc: null,
ec: null,
sp: null
};
s.ctx = {
_: s
}, s.root = t ? t.root : s, s.emit = xn.bind(null, s), e.ce && e.ce(s);
return s;
}(e, o, r);
if (mo(e) && (l.ctx.renderer = X), function (e, t = !1) {
Ns = t;
const {
props: n,
children: o
} = e.vnode,
r = ks(e);
(function (e, t, n, o = !1) {
const r = {},
s = {};
Q(s, os, 1), e.propsDefaults = Object.create(null), ur(e, t, r, s);
for (const i in e.propsOptions[0]) i in r || (r[i] = void 0);
e.props = n ? o ? r : vt(r) : e.type.props ? r : s, e.attrs = s;
})(e, n, r, t), ((e, t) => {
if (32 & e.vnode.shapeFlag) {
const n = t._;
n ? (e.slots = wt(t), Q(t, "_", n)) : br(t, e.slots = {});
} else e.slots = {}, t && Sr(e, t);
Q(e.slots, os, 1);
})(e, o);
const s = r ? function (e, t) {
const n = e.type;
e.accessCache = Object.create(null), e.proxy = Tt(new Proxy(e.ctx, Yo));
const {
setup: o
} = n;
if (o) {
const n = e.setupContext = o.length > 1 ? Fs(e) : null;
xs(e), xe();
const r = Yt(o, e, 0, [e.props, n]);
if (Ce(), Cs(), V(r)) {
if (r.then(Cs, Cs), t) return r.then(n => {
Es(e, n, t);
}).catch(t => {
Xt(t, e, 0);
});
e.asyncDep = r;
} else Es(e, r, t);
} else Rs(e, t);
}(e, t) : void 0;
Ns = !1;
}(l), l.asyncDep) {
if (r && r.registerDep(l, P), !e.el) {
const e = l.subTree = ls(Hr);
g(null, e, t, n);
}
} else P(l, e, t, n, r, s, i);
},
A = (e, t, n) => {
const o = t.component = e.component;
if (function (e, t, n) {
const {
props: o,
children: r,
component: s
} = e,
{
props: i,
children: l,
patchFlag: c
} = t,
a = s.emitsOptions;
if (t.dirs || t.transition) return !0;
if (!(n && c >= 0)) return !(!r && !l || l && l.$stable) || o !== i && (o ? !i || Mn(o, i, a) : !!i);
if (1024 & c) return !0;
if (16 & c) return o ? Mn(o, i, a) : !!i;
if (8 & c) {
const e = t.dynamicProps;
for (let t = 0; t < e.length; t++) {
const n = e[t];
if (i[n] !== o[n] && !kn(a, n)) return !0;
}
}
return !1;
}(e, t, n)) {
if (o.asyncDep && !o.asyncResolved) return void M(o, t, n);
o.next = t, function (e) {
const t = nn.indexOf(e);
t > on && nn.splice(t, 1);
}(o.update), o.update();
} else t.el = e.el, o.vnode = t;
},
P = (e, t, n, o, r, s, i) => {
const l = e.effect = new ge(() => {
if (e.isMounted) {
let t,
{
next: n,
bu: o,
u: l,
parent: c,
vnode: a
} = e,
p = n;
Pr(e, !1), n ? (n.el = a.el, M(e, n, i)) : n = a, o && Y(o), (t = n.props && n.props.onVnodeBeforeUpdate) && vs(t, c, n, a), Pr(e, !0);
const f = Fn(e),
d = e.subTree;
e.subTree = f, h(d, f, u(d.el), J(d), e, r, s), n.el = f.el, null === p && Vn(e, f.el), l && Or(l, r), (t = n.props && n.props.onVnodeUpdated) && Or(() => vs(t, c, n, a), r);
} else {
let i;
const {
el: l,
props: c
} = t,
{
bm: a,
m: u,
parent: p
} = e,
f = po(t);
if (Pr(e, !1), a && Y(a), !f && (i = c && c.onVnodeBeforeMount) && vs(i, p, t), Pr(e, !0), l && oe) {
const n = () => {
e.subTree = Fn(e), oe(l, e.subTree, e, r, null);
};
f ? t.type.__asyncLoader().then(() => !e.isUnmounted && n()) : n();
} else {
const i = e.subTree = Fn(e);
h(null, i, n, o, e, r, s), t.el = i.el;
}
if (u && Or(u, r), !f && (i = c && c.onVnodeMounted)) {
const e = t;
Or(() => vs(i, p, e), r);
}
(256 & t.shapeFlag || p && po(p.vnode) && 256 & p.vnode.shapeFlag) && e.a && Or(e.a, r), e.isMounted = !0, t = n = o = null;
}
}, () => pn(c), e.scope),
c = e.update = () => l.run();
c.id = e.uid, Pr(e, !0), c();
},
M = (e, t, n) => {
t.component = e;
const o = e.vnode.props;
e.vnode = t, e.next = null, function (e, t, n, o) {
const {
props: r,
attrs: s,
vnode: {
patchFlag: i
}
} = e,
l = wt(r),
[c] = e.propsOptions;
let a = !1;
if (!(o || i > 0) || 16 & i) {
let o;
ur(e, t, r, s) && (a = !0);
for (const s in l) t && (N(t, s) || (o = G(s)) !== s && N(t, o)) || (c ? !n || void 0 === n[s] && void 0 === n[o] || (r[s] = pr(c, l, s, void 0, e, !0)) : delete r[s]);
if (s !== l) for (const e in s) t && N(t, e) || (delete s[e], a = !0);
} else if (8 & i) {
const n = e.vnode.dynamicProps;
for (let o = 0; o < n.length; o++) {
let i = n[o];
if (kn(e.emitsOptions, i)) continue;
const u = t[i];
if (c) {
if (N(s, i)) u !== s[i] && (s[i] = u, a = !0);else {
const t = z(i);
r[t] = pr(c, l, t, u, e, !1);
}
} else u !== s[i] && (s[i] = u, a = !0);
}
}
a && Te(e, "set", "$attrs");
}(e, t.props, o, n), ((e, t, n) => {
const {
vnode: o,
slots: r
} = e;
let s = !0,
i = v;
if (32 & o.shapeFlag) {
const e = t._;
e ? n && 1 === e ? s = !1 : (k(r, t), n || 1 !== e || delete r._) : (s = !t.$stable, br(t, r)), i = t;
} else t && (Sr(e, t), i = {
default: 1
});
if (s) for (const l in r) vr(l) || l in i || delete r[l];
})(e, t.children, n), xe(), hn(), Ce();
},
I = (e, t, n, o, r, s, i, l, c = !1) => {
const u = e && e.children,
p = e ? e.shapeFlag : 0,
f = t.children,
{
patchFlag: d,
shapeFlag: h
} = t;
if (d > 0) {
if (128 & d) return void L(u, f, n, o, r, s, i, l, c);
if (256 & d) return void B(u, f, n, o, r, s, i, l, c);
}
8 & h ? (16 & p && q(u, r, s), f !== u && a(n, f)) : 16 & p ? 16 & h ? L(u, f, n, o, r, s, i, l, c) : q(u, r, s, !0) : (8 & p && a(n, ""), 16 & h && w(f, n, o, r, s, i, l, c));
},
B = (e, t, n, o, r, s, i, l, c) => {
const a = (e = e || y).length,
u = (t = t || y).length,
p = Math.min(a, u);
let f;
for (f = 0; f < p; f++) {
const o = t[f] = c ? hs(t[f]) : ds(t[f]);
h(e[f], o, n, null, r, s, i, l, c);
}
a > u ? q(e, r, s, !0, !1, p) : w(t, n, o, r, s, i, l, c, p);
},
L = (e, t, n, o, r, s, i, l, c) => {
let a = 0;
const u = t.length;
let p = e.length - 1,
f = u - 1;
for (; a <= p && a <= f;) {
const o = e[a],
u = t[a] = c ? hs(t[a]) : ds(t[a]);
if (!ts(o, u)) break;
h(o, u, n, null, r, s, i, l, c), a++;
}
for (; a <= p && a <= f;) {
const o = e[p],
a = t[f] = c ? hs(t[f]) : ds(t[f]);
if (!ts(o, a)) break;
h(o, a, n, null, r, s, i, l, c), p--, f--;
}
if (a > p) {
if (a <= f) {
const e = f + 1,
p = e < u ? t[e].el : o;
for (; a <= f;) h(null, t[a] = c ? hs(t[a]) : ds(t[a]), n, p, r, s, i, l, c), a++;
}
} else if (a > f) for (; a <= p;) D(e[a], r, s, !0), a++;else {
const d = a,
m = a,
g = new Map();
for (a = m; a <= f; a++) {
const e = t[a] = c ? hs(t[a]) : ds(t[a]);
null != e.key && g.set(e.key, a);
}
let v,
_ = 0;
const b = f - m + 1;
let S = !1,
x = 0;
const C = new Array(b);
for (a = 0; a < b; a++) C[a] = 0;
for (a = d; a <= p; a++) {
const o = e[a];
if (_ >= b) {
D(o, r, s, !0);
continue;
}
let u;
if (null != o.key) u = g.get(o.key);else for (v = m; v <= f; v++) if (0 === C[v - m] && ts(o, t[v])) {
u = v;
break;
}
void 0 === u ? D(o, r, s, !0) : (C[u - m] = a + 1, u >= x ? x = u : S = !0, h(o, t[u], n, null, r, s, i, l, c), _++);
}
const k = S ? function (e) {
const t = e.slice(),
n = [0];
let o, r, s, i, l;
const c = e.length;
for (o = 0; o < c; o++) {
const c = e[o];
if (0 !== c) {
if (r = n[n.length - 1], e[r] < c) {
t[o] = r, n.push(o);
continue;
}
for (s = 0, i = n.length - 1; s < i;) l = s + i >> 1, e[n[l]] < c ? s = l + 1 : i = l;
c < e[n[s]] && (s > 0 && (t[o] = n[s - 1]), n[s] = o);
}
}
s = n.length, i = n[s - 1];
for (; s-- > 0;) n[s] = i, i = t[i];
return n;
}(C) : y;
for (v = k.length - 1, a = b - 1; a >= 0; a--) {
const e = m + a,
p = t[e],
f = e + 1 < u ? t[e + 1].el : o;
0 === C[a] ? h(null, p, n, f, r, s, i, l, c) : S && (v < 0 || a !== k[v] ? j(p, n, f, 2) : v--);
}
}
},
j = (e, t, o, r, s = null) => {
const {
el: i,
type: l,
transition: c,
children: a,
shapeFlag: u
} = e;
if (6 & u) return void j(e.component.subTree, t, o, r);
if (128 & u) return void e.suspense.move(t, o, r);
if (64 & u) return void l.move(e, t, o, X);
if (l === Ur) {
n(i, t, o);
for (let e = 0; e < a.length; e++) j(a[e], t, o, r);
return void n(e.anchor, t, o);
}
if (l === Wr) return void (({
el: e,
anchor: t
}, o, r) => {
let s;
for (; e && e !== t;) s = p(e), n(e, o, r), e = s;
n(t, o, r);
})(e, t, o);
if (2 !== r && 1 & u && c) {
if (0 === r) c.beforeEnter(i), n(i, t, o), Or(() => c.enter(i), s);else {
const {
leave: e,
delayLeave: r,
afterLeave: s
} = c,
l = () => n(i, t, o),
a = () => {
e(i, () => {
l(), s && s();
});
};
r ? r(i, l, a) : a();
}
} else n(i, t, o);
},
D = (e, t, n, o = !1, r = !1) => {
const {
type: s,
props: i,
ref: l,
children: c,
dynamicChildren: a,
shapeFlag: u,
patchFlag: p,
dirs: f
} = e;
if (null != l && wr(l, null, n, e, !0), 256 & u) return void t.ctx.deactivate(e);
const d = 1 & u && f,
h = !po(e);
let m;
if (h && (m = i && i.onVnodeBeforeUnmount) && vs(m, t, e), 6 & u) K(e.component, n, o);else {
if (128 & u) return void e.suspense.unmount(n, o);
d && Io(e, null, t, "beforeUnmount"), 64 & u ? e.type.remove(e, t, n, r, X, o) : a && (s !== Ur || p > 0 && 64 & p) ? q(a, t, n, !1, !0) : (s === Ur && 384 & p || !r && 16 & u) && q(c, t, n), o && H(e);
}
(h && (m = i && i.onVnodeUnmounted) || d) && Or(() => {
m && vs(m, t, e), d && Io(e, null, t, "unmounted");
}, n);
},
H = e => {
const {
type: t,
el: n,
anchor: r,
transition: s
} = e;
if (t === Ur) return void W(n, r);
if (t === Wr) return void (({
el: e,
anchor: t
}) => {
let n;
for (; e && e !== t;) n = p(e), o(e), e = n;
o(t);
})(e);
const i = () => {
o(n), s && !s.persisted && s.afterLeave && s.afterLeave();
};
if (1 & e.shapeFlag && s && !s.persisted) {
const {
leave: t,
delayLeave: o
} = s,
r = () => t(n, i);
o ? o(e.el, i, r) : r();
} else i();
},
W = (e, t) => {
let n;
for (; e !== t;) n = p(e), o(e), e = n;
o(t);
},
K = (e, t, n) => {
const {
bum: o,
scope: r,
update: s,
subTree: i,
um: l
} = e;
o && Y(o), r.stop(), s && (s.active = !1, D(i, e, t, n)), l && Or(l, t), Or(() => {
e.isUnmounted = !0;
}, t), t && t.pendingBranch && !t.isUnmounted && e.asyncDep && !e.asyncResolved && e.suspenseId === t.pendingId && (t.deps--, 0 === t.deps && t.resolve());
},
q = (e, t, n, o = !1, r = !1, s = 0) => {
for (let i = s; i < e.length; i++) D(e[i], t, n, o, r);
},
J = e => 6 & e.shapeFlag ? J(e.component.subTree) : 128 & e.shapeFlag ? e.suspense.next() : p(e.anchor || e.el),
Z = (e, t, n) => {
null == e ? t._vnode && D(t._vnode, null, null, !0) : h(t._vnode || null, e, t, null, null, null, n), hn(), mn(), t._vnode = e;
},
X = {
p: h,
um: D,
m: j,
r: H,
mt: F,
mc: w,
pc: I,
pbc: E,
n: J,
o: e
};
let te, oe;
return t && ([te, oe] = t(X)), {
render: Z,
hydrate: te,
createApp: kr(Z, te)
};
}
function Pr({
effect: e,
update: t
}, n) {
e.allowRecurse = t.allowRecurse = n;
}
function Mr(e, t, n = !1) {
const o = e.children,
r = t.children;
if (E(o) && E(r)) for (let s = 0; s < o.length; s++) {
const e = o[s];
let t = r[s];
1 & t.shapeFlag && !t.dynamicChildren && ((t.patchFlag <= 0 || 32 === t.patchFlag) && (t = r[s] = hs(r[s]), t.el = e.el), n || Mr(e, t));
}
}
const Vr = e => e && (e.disabled || "" === e.disabled),
Ir = e => "undefined" != typeof SVGElement && e instanceof SVGElement,
Br = (e, t) => {
const n = e && e.to;
if (A(n)) {
if (t) {
return t(n);
}
return null;
}
return n;
};
function Lr(e, t, n, {
o: {
insert: o
},
m: r
}, s = 2) {
0 === s && o(e.targetAnchor, t, n);
const {
el: i,
anchor: l,
shapeFlag: c,
children: a,
props: u
} = e,
p = 2 === s;
if (p && o(i, t, n), (!p || Vr(u)) && 16 & c) for (let f = 0; f < a.length; f++) r(a[f], t, n, 2);
p && o(l, t, n);
}
const jr = {
__isTeleport: !0,
process(e, t, n, o, r, s, i, l, c, a) {
const {
mc: u,
pc: p,
pbc: f,
o: {
insert: d,
querySelector: h,
createText: m
}
} = a,
g = Vr(t.props);
let {
shapeFlag: v,
children: y,
dynamicChildren: _
} = t;
if (null == e) {
const e = t.el = m(""),
a = t.anchor = m("");
d(e, n, o), d(a, n, o);
const p = t.target = Br(t.props, h),
f = t.targetAnchor = m("");
p && (d(f, p), i = i || Ir(p));
const _ = (e, t) => {
16 & v && u(y, e, t, r, s, i, l, c);
};
g ? _(n, a) : p && _(p, f);
} else {
t.el = e.el;
const o = t.anchor = e.anchor,
u = t.target = e.target,
d = t.targetAnchor = e.targetAnchor,
m = Vr(e.props),
v = m ? n : u,
y = m ? o : d;
if (i = i || Ir(u), _ ? (f(e.dynamicChildren, _, v, r, s, i, l), Mr(e, t, !0)) : c || p(e, t, v, y, r, s, i, l, !1), g) m || Lr(t, n, o, a, 1);else if ((t.props && t.props.to) !== (e.props && e.props.to)) {
const e = t.target = Br(t.props, h);
e && Lr(t, e, null, a, 0);
} else m && Lr(t, u, d, a, 1);
}
},
remove(e, t, n, o, {
um: r,
o: {
remove: s
}
}, i) {
const {
shapeFlag: l,
children: c,
anchor: a,
targetAnchor: u,
target: p,
props: f
} = e;
if (p && s(u), (i || !Vr(f)) && (s(a), 16 & l)) for (let d = 0; d < c.length; d++) {
const e = c[d];
r(e, t, n, !0, !!e.dynamicChildren);
}
},
move: Lr,
hydrate: function (e, t, n, o, r, s, {
o: {
nextSibling: i,
parentNode: l,
querySelector: c
}
}, a) {
const u = t.target = Br(t.props, c);
if (u) {
const c = u._lpa || u.firstChild;
if (16 & t.shapeFlag) if (Vr(t.props)) t.anchor = a(i(e), t, l(e), n, o, r, s), t.targetAnchor = c;else {
t.anchor = i(e);
let l = c;
for (; l;) if (l = i(l), l && 8 === l.nodeType && "teleport anchor" === l.data) {
t.targetAnchor = l, u._lpa = t.targetAnchor && i(t.targetAnchor);
break;
}
a(c, t, u, n, o, r, s);
}
}
return t.anchor && i(t.anchor);
}
},
Ur = Symbol(void 0),
Dr = Symbol(void 0),
Hr = Symbol(void 0),
Wr = Symbol(void 0),
zr = [];
let Kr = null;
function Gr(e = !1) {
zr.push(Kr = e ? null : []);
}
function qr() {
zr.pop(), Kr = zr[zr.length - 1] || null;
}
let Jr = 1;
function Zr(e) {
Jr += e;
}
function Yr(e) {
return e.dynamicChildren = Jr > 0 ? Kr || y : null, qr(), Jr > 0 && Kr && Kr.push(e), e;
}
function Qr(e, t, n, o, r, s) {
return Yr(is(e, t, n, o, r, s, !0));
}
function Xr(e, t, n, o, r) {
return Yr(ls(e, t, n, o, r, !0));
}
function es(e) {
return !!e && !0 === e.__v_isVNode;
}
function ts(e, t) {
return e.type === t.type && e.key === t.key;
}
function ns(e) {}
const os = "__vInternal",
rs = ({
key: e
}) => null != e ? e : null,
ss = ({
ref: e,
ref_key: t,
ref_for: n
}) => null != e ? A(e) || Rt(e) || F(e) ? {
i: wn,
r: e,
k: t,
f: !!n
} : e : null;
function is(e, t = null, n = null, o = 0, r = null, s = e === Ur ? 0 : 1, i = !1, l = !1) {
const c = {
__v_isVNode: !0,
__v_skip: !0,
type: e,
props: t,
key: t && rs(t),
ref: t && ss(t),
scopeId: Tn,
slotScopeIds: null,
children: n,
component: null,
suspense: null,
ssContent: null,
ssFallback: null,
dirs: null,
transition: null,
el: null,
anchor: null,
target: null,
targetAnchor: null,
staticCount: 0,
shapeFlag: s,
patchFlag: o,
dynamicProps: r,
dynamicChildren: null,
appContext: null
};
return l ? (ms(c, n), 128 & s && e.normalize(c)) : n && (c.shapeFlag |= A(n) ? 8 : 16), Jr > 0 && !i && Kr && (c.patchFlag > 0 || 6 & s) && 32 !== c.patchFlag && Kr.push(c), c;
}
const ls = function (e, t = null, n = null, o = 0, s = null, i = !1) {
e && e !== Lo || (e = Hr);
if (es(e)) {
const o = as(e, t, !0);
return n && ms(o, n), Jr > 0 && !i && Kr && (6 & o.shapeFlag ? Kr[Kr.indexOf(e)] = o : Kr.push(o)), o.patchFlag |= -2, o;
}
l = e, F(l) && "__vccOpts" in l && (e = e.__vccOpts);
var l;
if (t) {
t = cs(t);
let {
class: e,
style: n
} = t;
e && !A(e) && (t.class = c(e)), M(n) && (kt(n) && !E(n) && (n = k({}, n)), t.style = r(n));
}
const a = A(e) ? 1 : In(e) ? 128 : (e => e.__isTeleport)(e) ? 64 : M(e) ? 4 : F(e) ? 2 : 0;
return is(e, t, n, o, s, a, i, !0);
};
function cs(e) {
return e ? kt(e) || os in e ? k({}, e) : e : null;
}
function as(e, t, n = !1) {
const {
props: o,
ref: r,
patchFlag: s,
children: i
} = e,
l = t ? gs(o || {}, t) : o;
return {
__v_isVNode: !0,
__v_skip: !0,
type: e.type,
props: l,
key: l && rs(l),
ref: t && t.ref ? n && r ? E(r) ? r.concat(ss(t)) : [r, ss(t)] : ss(t) : r,
scopeId: e.scopeId,
slotScopeIds: e.slotScopeIds,
children: i,
target: e.target,
targetAnchor: e.targetAnchor,
staticCount: e.staticCount,
shapeFlag: e.shapeFlag,
patchFlag: t && e.type !== Ur ? -1 === s ? 16 : 16 | s : s,
dynamicProps: e.dynamicProps,
dynamicChildren: e.dynamicChildren,
appContext: e.appContext,
dirs: e.dirs,
transition: e.transition,
component: e.component,
suspense: e.suspense,
ssContent: e.ssContent && as(e.ssContent),
ssFallback: e.ssFallback && as(e.ssFallback),
el: e.el,
anchor: e.anchor
};
}
function us(e = " ", t = 0) {
return ls(Dr, null, e, t);
}
function ps(e, t) {
const n = ls(Wr, null, e);
return n.staticCount = t, n;
}
function fs(e = "", t = !1) {
return t ? (Gr(), Xr(Hr, null, e)) : ls(Hr, null, e);
}
function ds(e) {
return null == e || "boolean" == typeof e ? ls(Hr) : E(e) ? ls(Ur, null, e.slice()) : "object" == typeof e ? hs(e) : ls(Dr, null, String(e));
}
function hs(e) {
return null === e.el && -1 !== e.patchFlag || e.memo ? e : as(e);
}
function ms(e, t) {
let n = 0;
const {
shapeFlag: o
} = e;
if (null == t) t = null;else if (E(t)) n = 16;else if ("object" == typeof t) {
if (65 & o) {
const n = t.default;
return void (n && (n._c && (n._d = !1), ms(e, n()), n._c && (n._d = !0)));
}
{
n = 32;
const o = t._;
o || os in t ? 3 === o && wn && (1 === wn.slots._ ? t._ = 1 : (t._ = 2, e.patchFlag |= 1024)) : t._ctx = wn;
}
} else F(t) ? (t = {
default: t,
_ctx: wn
}, n = 32) : (t = String(t), 64 & o ? (n = 16, t = [us(t)]) : n = 8);
e.children = t, e.shapeFlag |= n;
}
function gs(...e) {
const t = {};
for (let n = 0; n < e.length; n++) {
const o = e[n];
for (const e in o) if ("class" === e) t.class !== o.class && (t.class = c([t.class, o.class]));else if ("style" === e) t.style = r([t.style, o.style]);else if (x(e)) {
const n = t[e],
r = o[e];
!r || n === r || E(n) && n.includes(r) || (t[e] = n ? [].concat(n, r) : r);
} else "" !== e && (t[e] = o[e]);
}
return t;
}
function vs(e, t, n, o = null) {
Qt(e, t, 7, [n, o]);
}
const ys = xr();
let _s = 0;
let bs = null;
const Ss = () => bs || wn,
xs = e => {
bs = e, e.scope.on();
},
Cs = () => {
bs && bs.scope.off(), bs = null;
};
function ks(e) {
return 4 & e.vnode.shapeFlag;
}
let ws,
Ts,
Ns = !1;
function Es(e, t, n) {
F(t) ? e.render = t : M(t) && (e.setupState = Lt(t)), Rs(e, n);
}
function $s(e) {
ws = e, Ts = e => {
e.render._rc && (e.withProxy = new Proxy(e.ctx, Qo));
};
}
const Os = () => !ws;
function Rs(e, t, n) {
const o = e.type;
if (!e.render) {
if (!t && ws && !o.render) {
const t = o.template || or(e).template;
if (t) {
const {
isCustomElement: n,
compilerOptions: r
} = e.appContext.config,
{
delimiters: s,
compilerOptions: i
} = o,
l = k(k({
isCustomElement: n,
delimiters: s
}, r), i);
o.render = ws(t, l);
}
}
e.render = o.render || _, Ts && Ts(e);
}
xs(e), xe(), er(e), Ce(), Cs();
}
function Fs(e) {
const t = t => {
e.exposed = t || {};
};
let n;
return {
get attrs() {
return n || (n = function (e) {
return new Proxy(e.attrs, {
get: (t, n) => (ke(e, 0, "$attrs"), t[n])
});
}(e));
},
slots: e.slots,
emit: e.emit,
expose: t
};
}
function As(e) {
if (e.exposed) return e.exposeProxy || (e.exposeProxy = new Proxy(Lt(Tt(e.exposed)), {
get: (t, n) => n in t ? t[n] : n in Zo ? Zo[n](e) : void 0
}));
}
const Ps = /(?:^|[-_])(\w)/g;
function Ms(e, t = !0) {
return F(e) ? e.displayName || e.name : e.name || t && e.__name;
}
function Vs(e, t, n = !1) {
let o = Ms(t);
if (!o && t.__file) {
const e = t.__file.match(/([^/\\]+)\.\w+$/);
e && (o = e[1]);
}
if (!o && e && e.parent) {
const n = e => {
for (const n in e) if (e[n] === t) return n;
};
o = n(e.components || e.parent.type.components) || n(e.appContext.components);
}
return o ? o.replace(Ps, e => e.toUpperCase()).replace(/[-_]/g, "") : n ? "App" : "Anonymous";
}
const Is = (e, t) => function (e, t, n = !1) {
let o, r;
const s = F(e);
return s ? (o = e, r = _) : (o = e.get, r = e.set), new Kt(o, r, s || !r, n);
}(e, 0, Ns);
function Bs() {
return null;
}
function Ls() {
return null;
}
function js(e) {}
function Us(e, t) {
return null;
}
function Ds() {
return Ws().slots;
}
function Hs() {
return Ws().attrs;
}
function Ws() {
const e = Ss();
return e.setupContext || (e.setupContext = Fs(e));
}
function zs(e, t) {
const n = E(e) ? e.reduce((e, t) => (e[t] = {}, e), {}) : e;
for (const o in t) {
const e = n[o];
e ? E(e) || F(e) ? n[o] = {
type: e,
default: t[o]
} : e.default = t[o] : null === e && (n[o] = {
default: t[o]
});
}
return n;
}
function Ks(e, t) {
const n = {};
for (const o in e) t.includes(o) || Object.defineProperty(n, o, {
enumerable: !0,
get: () => e[o]
});
return n;
}
function Gs(e) {
const t = Ss();
let n = e();
return Cs(), V(n) && (n = n.catch(e => {
throw xs(t), e;
})), [n, () => xs(t)];
}
function qs(e, t, n) {
const o = arguments.length;
return 2 === o ? M(t) && !E(t) ? es(t) ? ls(e, null, [t]) : ls(e, t) : ls(e, null, t) : (o > 3 ? n = Array.prototype.slice.call(arguments, 2) : 3 === o && es(n) && (n = [n]), ls(e, t, n));
}
const Js = Symbol(""),
Zs = () => {
{
const e = zn(Js);
return e || qt("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."), e;
}
};
function Ys() {}
function Qs(e, t, n, o) {
const r = n[o];
if (r && Xs(r, e)) return r;
const s = t();
return s.memo = e.slice(), n[o] = s;
}
function Xs(e, t) {
const n = e.memo;
if (n.length != t.length) return !1;
for (let o = 0; o < n.length; o++) if (Z(n[o], t[o])) return !1;
return Jr > 0 && Kr && Kr.push(e), !0;
}
const ei = "3.2.40",
ti = null,
ni = null,
oi = null,
ri = "undefined" != typeof document ? document : null,
si = ri && ri.createElement("template"),
ii = {
insert: (e, t, n) => {
t.insertBefore(e, n || null);
},
remove: e => {
const t = e.parentNode;
t && t.removeChild(e);
},
createElement: (e, t, n, o) => {
const r = t ? ri.createElementNS("http://www.w3.org/2000/svg", e) : ri.createElement(e, n ? {
is: n
} : void 0);
return "select" === e && o && null != o.multiple && r.setAttribute("multiple", o.multiple), r;
},
createText: e => ri.createTextNode(e),
createComment: e => ri.createComment(e),
setText: (e, t) => {
e.nodeValue = t;
},
setElementText: (e, t) => {
e.textContent = t;
},
parentNode: e => e.parentNode,
nextSibling: e => e.nextSibling,
querySelector: e => ri.querySelector(e),
setScopeId(e, t) {
e.setAttribute(t, "");
},
insertStaticContent(e, t, n, o, r, s) {
const i = n ? n.previousSibling : t.lastChild;
if (r && (r === s || r.nextSibling)) for (; t.insertBefore(r.cloneNode(!0), n), r !== s && (r = r.nextSibling););else {
si.innerHTML = o ? `<svg>${e}</svg>` : e;
const r = si.content;
if (o) {
const e = r.firstChild;
for (; e.firstChild;) r.appendChild(e.firstChild);
r.removeChild(e);
}
t.insertBefore(r, n);
}
return [i ? i.nextSibling : t.firstChild, n ? n.previousSibling : t.lastChild];
}
};
const li = /\s*!important$/;
function ci(e, t, n) {
if (E(n)) n.forEach(n => ci(e, t, n));else if (null == n && (n = ""), t.startsWith("--")) e.setProperty(t, n);else {
const o = function (e, t) {
const n = ui[t];
if (n) return n;
let o = z(t);
if ("filter" !== o && o in e) return ui[t] = o;
o = q(o);
for (let r = 0; r < ai.length; r++) {
const n = ai[r] + o;
if (n in e) return ui[t] = n;
}
return t;
}(e, t);
li.test(n) ? e.setProperty(G(o), n.replace(li, ""), "important") : e[o] = n;
}
}
const ai = ["Webkit", "Moz", "ms"],
ui = {};
const pi = "http://www.w3.org/1999/xlink";
const [fi, di] = (() => {
let e = Date.now,
t = !1;
if ("undefined" != typeof window) {
Date.now() > document.createEvent("Event").timeStamp && (e = performance.now.bind(performance));
const n = navigator.userAgent.match(/firefox\/(\d+)/i);
t = !!(n && Number(n[1]) <= 53);
}
return [e, t];
})();
let hi = 0;
const mi = Promise.resolve(),
gi = () => {
hi = 0;
};
function vi(e, t, n, o) {
e.addEventListener(t, n, o);
}
function yi(e, t, n, o, r = null) {
const s = e._vei || (e._vei = {}),
i = s[t];
if (o && i) i.value = o;else {
const [n, l] = function (e) {
let t;
if (_i.test(e)) {
let n;
for (t = {}; n = e.match(_i);) e = e.slice(0, e.length - n[0].length), t[n[0].toLowerCase()] = !0;
}
return [":" === e[2] ? e.slice(3) : G(e.slice(2)), t];
}(t);
if (o) {
const i = s[t] = function (e, t) {
const n = e => {
const o = e.timeStamp || fi();
(di || o >= n.attached - 1) && Qt(function (e, t) {
if (E(t)) {
const n = e.stopImmediatePropagation;
return e.stopImmediatePropagation = () => {
n.call(e), e._stopped = !0;
}, t.map(e => t => !t._stopped && e && e(t));
}
return t;
}(e, n.value), t, 5, [e]);
};
return n.value = e, n.attached = (() => hi || (mi.then(gi), hi = fi()))(), n;
}(o, r);
vi(e, n, i, l);
} else i && (!function (e, t, n, o) {
e.removeEventListener(t, n, o);
}(e, n, i, l), s[t] = void 0);
}
}
const _i = /(?:Once|Passive|Capture)$/;
const bi = /^on[a-z]/;
function Si(e, t) {
const n = uo(e);
class o extends ki {
constructor(e) {
super(n, e, t);
}
}
return o.def = n, o;
}
const xi = e => Si(e, Cl),
Ci = "undefined" != typeof HTMLElement ? HTMLElement : class {};
class ki extends Ci {
constructor(e, t = {}, n) {
super(), this._def = e, this._props = t, this._instance = null, this._connected = !1, this._resolved = !1, this._numberProps = null, this.shadowRoot && n ? n(this._createVNode(), this.shadowRoot) : this.attachShadow({
mode: "open"
});
}
connectedCallback() {
this._connected = !0, this._instance || this._resolveDef();
}
disconnectedCallback() {
this._connected = !1, un(() => {
this._connected || (xl(null, this.shadowRoot), this._instance = null);
});
}
_resolveDef() {
if (this._resolved) return;
this._resolved = !0;
for (let n = 0; n < this.attributes.length; n++) this._setAttr(this.attributes[n].name);
new MutationObserver(e => {
for (const t of e) this._setAttr(t.attributeName);
}).observe(this, {
attributes: !0
});
const e = e => {
const {
props: t,
styles: n
} = e,
o = !E(t),
r = t ? o ? Object.keys(t) : t : [];
let s;
if (o) for (const i in this._props) {
const e = t[i];
(e === Number || e && e.type === Number) && (this._props[i] = X(this._props[i]), (s || (s = Object.create(null)))[i] = !0);
}
this._numberProps = s;
for (const i of Object.keys(this)) "_" !== i[0] && this._setProp(i, this[i], !0, !1);
for (const i of r.map(z)) Object.defineProperty(this, i, {
get() {
return this._getProp(i);
},
set(e) {
this._setProp(i, e);
}
});
this._applyStyles(n), this._update();
},
t = this._def.__asyncLoader;
t ? t().then(e) : e(this._def);
}
_setAttr(e) {
let t = this.getAttribute(e);
this._numberProps && this._numberProps[e] && (t = X(t)), this._setProp(z(e), t, !1);
}
_getProp(e) {
return this._props[e];
}
_setProp(e, t, n = !0, o = !0) {
t !== this._props[e] && (this._props[e] = t, o && this._instance && this._update(), n && (!0 === t ? this.setAttribute(G(e), "") : "string" == typeof t || "number" == typeof t ? this.setAttribute(G(e), t + "") : t || this.removeAttribute(G(e))));
}
_update() {
xl(this._createVNode(), this.shadowRoot);
}
_createVNode() {
const e = ls(this._def, k({}, this._props));
return this._instance || (e.ce = e => {
this._instance = e, e.isCE = !0, e.emit = (e, ...t) => {
this.dispatchEvent(new CustomEvent(e, {
detail: t
}));
};
let t = this;
for (; t = t && (t.parentNode || t.host);) if (t instanceof ki) {
e.parent = t._instance;
break;
}
}), e;
}
_applyStyles(e) {
e && e.forEach(e => {
const t = document.createElement("style");
t.textContent = e, this.shadowRoot.appendChild(t);
});
}
}
function wi(e = "$style") {
{
const t = Ss();
if (!t) return v;
const n = t.type.__cssModules;
if (!n) return v;
const o = n[e];
return o || v;
}
}
function Ti(e) {
const t = Ss();
if (!t) return;
const n = () => Ni(t.subTree, e(t.proxy));
Gn(n), No(() => {
const e = new MutationObserver(n);
e.observe(t.subTree.el.parentNode, {
childList: !0
}), Ro(() => e.disconnect());
});
}
function Ni(e, t) {
if (128 & e.shapeFlag) {
const n = e.suspense;
e = n.activeBranch, n.pendingBranch && !n.isHydrating && n.effects.push(() => {
Ni(n.activeBranch, t);
});
}
for (; e.component;) e = e.component.subTree;
if (1 & e.shapeFlag && e.el) Ei(e.el, t);else if (e.type === Ur) e.children.forEach(e => Ni(e, t));else if (e.type === Wr) {
let {
el: n,
anchor: o
} = e;
for (; n && (Ei(n, t), n !== o);) n = n.nextSibling;
}
}
function Ei(e, t) {
if (1 === e.nodeType) {
const n = e.style;
for (const e in t) n.setProperty(`--${e}`, t[e]);
}
}
const $i = (e, {
slots: t
}) => qs(oo, Pi(e), t);
$i.displayName = "Transition";
const Oi = {
name: String,
type: String,
css: {
type: Boolean,
default: !0
},
duration: [String, Number, Object],
enterFromClass: String,
enterActiveClass: String,
enterToClass: String,
appearFromClass: String,
appearActiveClass: String,
appearToClass: String,
leaveFromClass: String,
leaveActiveClass: String,
leaveToClass: String
},
Ri = $i.props = k({}, oo.props, Oi),
Fi = (e, t = []) => {
E(e) ? e.forEach(e => e(...t)) : e && e(...t);
},
Ai = e => !!e && (E(e) ? e.some(e => e.length > 1) : e.length > 1);
function Pi(e) {
const t = {};
for (const k in e) k in Oi || (t[k] = e[k]);
if (!1 === e.css) return t;
const {
name: n = "v",
type: o,
duration: r,
enterFromClass: s = `${n}-enter-from`,
enterActiveClass: i = `${n}-enter-active`,
enterToClass: l = `${n}-enter-to`,
appearFromClass: c = s,
appearActiveClass: a = i,
appearToClass: u = l,
leaveFromClass: p = `${n}-leave-from`,
leaveActiveClass: f = `${n}-leave-active`,
leaveToClass: d = `${n}-leave-to`
} = e,
h = function (e) {
if (null == e) return null;
if (M(e)) return [Mi(e.enter), Mi(e.leave)];
{
const t = Mi(e);
return [t, t];
}
}(r),
m = h && h[0],
g = h && h[1],
{
onBeforeEnter: v,
onEnter: y,
onEnterCancelled: _,
onLeave: b,
onLeaveCancelled: S,
onBeforeAppear: x = v,
onAppear: C = y,
onAppearCancelled: w = _
} = t,
T = (e, t, n) => {
Ii(e, t ? u : l), Ii(e, t ? a : i), n && n();
},
N = (e, t) => {
e._isLeaving = !1, Ii(e, p), Ii(e, d), Ii(e, f), t && t();
},
E = e => (t, n) => {
const r = e ? C : y,
i = () => T(t, e, n);
Fi(r, [t, i]), Bi(() => {
Ii(t, e ? c : s), Vi(t, e ? u : l), Ai(r) || ji(t, o, m, i);
});
};
return k(t, {
onBeforeEnter(e) {
Fi(v, [e]), Vi(e, s), Vi(e, i);
},
onBeforeAppear(e) {
Fi(x, [e]), Vi(e, c), Vi(e, a);
},
onEnter: E(!1),
onAppear: E(!0),
onLeave(e, t) {
e._isLeaving = !0;
const n = () => N(e, t);
Vi(e, p), Wi(), Vi(e, f), Bi(() => {
e._isLeaving && (Ii(e, p), Vi(e, d), Ai(b) || ji(e, o, g, n));
}), Fi(b, [e, n]);
},
onEnterCancelled(e) {
T(e, !1), Fi(_, [e]);
},
onAppearCancelled(e) {
T(e, !0), Fi(w, [e]);
},
onLeaveCancelled(e) {
N(e), Fi(S, [e]);
}
});
}
function Mi(e) {
return X(e);
}
function Vi(e, t) {
t.split(/\s+/).forEach(t => t && e.classList.add(t)), (e._vtc || (e._vtc = new Set())).add(t);
}
function Ii(e, t) {
t.split(/\s+/).forEach(t => t && e.classList.remove(t));
const {
_vtc: n
} = e;
n && (n.delete(t), n.size || (e._vtc = void 0));
}
function Bi(e) {
requestAnimationFrame(() => {
requestAnimationFrame(e);
});
}
let Li = 0;
function ji(e, t, n, o) {
const r = e._endId = ++Li,
s = () => {
r === e._endId && o();
};
if (n) return setTimeout(s, n);
const {
type: i,
timeout: l,
propCount: c
} = Ui(e, t);
if (!i) return o();
const a = i + "end";
let u = 0;
const p = () => {
e.removeEventListener(a, f), s();
},
f = t => {
t.target === e && ++u >= c && p();
};
setTimeout(() => {
u < c && p();
}, l + 1), e.addEventListener(a, f);
}
function Ui(e, t) {
const n = window.getComputedStyle(e),
o = e => (n[e] || "").split(", "),
r = o("transitionDelay"),
s = o("transitionDuration"),
i = Di(r, s),
l = o("animationDelay"),
c = o("animationDuration"),
a = Di(l, c);
let u = null,
p = 0,
f = 0;
"transition" === t ? i > 0 && (u = "transition", p = i, f = s.length) : "animation" === t ? a > 0 && (u = "animation", p = a, f = c.length) : (p = Math.max(i, a), u = p > 0 ? i > a ? "transition" : "animation" : null, f = u ? "transition" === u ? s.length : c.length : 0);
return {
type: u,
timeout: p,
propCount: f,
hasTransform: "transition" === u && /\b(transform|all)(,|$)/.test(n.transitionProperty)
};
}
function Di(e, t) {
for (; e.length < t.length;) e = e.concat(e);
return Math.max(...t.map((t, n) => Hi(t) + Hi(e[n])));
}
function Hi(e) {
return 1e3 * Number(e.slice(0, -1).replace(",", "."));
}
function Wi() {
return document.body.offsetHeight;
}
const zi = new WeakMap(),
Ki = new WeakMap(),
Gi = {
name: "TransitionGroup",
props: k({}, Ri, {
tag: String,
moveClass: String
}),
setup(e, {
slots: t
}) {
const n = Ss(),
o = to();
let r, s;
return $o(() => {
if (!r.length) return;
const t = e.moveClass || `${e.name || "v"}-move`;
if (!function (e, t, n) {
const o = e.cloneNode();
e._vtc && e._vtc.forEach(e => {
e.split(/\s+/).forEach(e => e && o.classList.remove(e));
});
n.split(/\s+/).forEach(e => e && o.classList.add(e)), o.style.display = "none";
const r = 1 === t.nodeType ? t : t.parentNode;
r.appendChild(o);
const {
hasTransform: s
} = Ui(o);
return r.removeChild(o), s;
}(r[0].el, n.vnode.el, t)) return;
r.forEach(qi), r.forEach(Ji);
const o = r.filter(Zi);
Wi(), o.forEach(e => {
const n = e.el,
o = n.style;
Vi(n, t), o.transform = o.webkitTransform = o.transitionDuration = "";
const r = n._moveCb = e => {
e && e.target !== n || e && !/transform$/.test(e.propertyName) || (n.removeEventListener("transitionend", r), n._moveCb = null, Ii(n, t));
};
n.addEventListener("transitionend", r);
});
}), () => {
const i = wt(e),
l = Pi(i);
let c = i.tag || Ur;
r = s, s = t.default ? ao(t.default()) : [];
for (let e = 0; e < s.length; e++) {
const t = s[e];
null != t.key && co(t, so(t, l, o, n));
}
if (r) for (let e = 0; e < r.length; e++) {
const t = r[e];
co(t, so(t, l, o, n)), zi.set(t, t.el.getBoundingClientRect());
}
return ls(c, null, s);
};
}
};
function qi(e) {
const t = e.el;
t._moveCb && t._moveCb(), t._enterCb && t._enterCb();
}
function Ji(e) {
Ki.set(e, e.el.getBoundingClientRect());
}
function Zi(e) {
const t = zi.get(e),
n = Ki.get(e),
o = t.left - n.left,
r = t.top - n.top;
if (o || r) {
const t = e.el.style;
return t.transform = t.webkitTransform = `translate(${o}px,${r}px)`, t.transitionDuration = "0s", e;
}
}
const Yi = e => {
const t = e.props["onUpdate:modelValue"] || !1;
return E(t) ? e => Y(t, e) : t;
};
function Qi(e) {
e.target.composing = !0;
}
function Xi(e) {
const t = e.target;
t.composing && (t.composing = !1, t.dispatchEvent(new Event("input")));
}
const el = {
created(e, {
modifiers: {
lazy: t,
trim: n,
number: o
}
}, r) {
e._assign = Yi(r);
const s = o || r.props && "number" === r.props.type;
vi(e, t ? "change" : "input", t => {
if (t.target.composing) return;
let o = e.value;
n && (o = o.trim()), s && (o = X(o)), e._assign(o);
}), n && vi(e, "change", () => {
e.value = e.value.trim();
}), t || (vi(e, "compositionstart", Qi), vi(e, "compositionend", Xi), vi(e, "change", Xi));
},
mounted(e, {
value: t
}) {
e.value = null == t ? "" : t;
},
beforeUpdate(e, {
value: t,
modifiers: {
lazy: n,
trim: o,
number: r
}
}, s) {
if (e._assign = Yi(s), e.composing) return;
if (document.activeElement === e && "range" !== e.type) {
if (n) return;
if (o && e.value.trim() === t) return;
if ((r || "number" === e.type) && X(e.value) === t) return;
}
const i = null == t ? "" : t;
e.value !== i && (e.value = i);
}
},
tl = {
deep: !0,
created(e, t, n) {
e._assign = Yi(n), vi(e, "change", () => {
const t = e._modelValue,
n = il(e),
o = e.checked,
r = e._assign;
if (E(t)) {
const e = h(t, n),
s = -1 !== e;
if (o && !s) r(t.concat(n));else if (!o && s) {
const n = [...t];
n.splice(e, 1), r(n);
}
} else if (O(t)) {
const e = new Set(t);
o ? e.add(n) : e.delete(n), r(e);
} else r(ll(e, o));
});
},
mounted: nl,
beforeUpdate(e, t, n) {
e._assign = Yi(n), nl(e, t, n);
}
};
function nl(e, {
value: t,
oldValue: n
}, o) {
e._modelValue = t, E(t) ? e.checked = h(t, o.props.value) > -1 : O(t) ? e.checked = t.has(o.props.value) : t !== n && (e.checked = d(t, ll(e, !0)));
}
const ol = {
created(e, {
value: t
}, n) {
e.checked = d(t, n.props.value), e._assign = Yi(n), vi(e, "change", () => {
e._assign(il(e));
});
},
beforeUpdate(e, {
value: t,
oldValue: n
}, o) {
e._assign = Yi(o), t !== n && (e.checked = d(t, o.props.value));
}
},
rl = {
deep: !0,
created(e, {
value: t,
modifiers: {
number: n
}
}, o) {
const r = O(t);
vi(e, "change", () => {
const t = Array.prototype.filter.call(e.options, e => e.selected).map(e => n ? X(il(e)) : il(e));
e._assign(e.multiple ? r ? new Set(t) : t : t[0]);
}), e._assign = Yi(o);
},
mounted(e, {
value: t
}) {
sl(e, t);
},
beforeUpdate(e, t, n) {
e._assign = Yi(n);
},
updated(e, {
value: t
}) {
sl(e, t);
}
};
function sl(e, t) {
const n = e.multiple;
if (!n || E(t) || O(t)) {
for (let o = 0, r = e.options.length; o < r; o++) {
const r = e.options[o],
s = il(r);
if (n) r.selected = E(t) ? h(t, s) > -1 : t.has(s);else if (d(il(r), t)) return void (e.selectedIndex !== o && (e.selectedIndex = o));
}
n || -1 === e.selectedIndex || (e.selectedIndex = -1);
}
}
function il(e) {
return "_value" in e ? e._value : e.value;
}
function ll(e, t) {
const n = t ? "_trueValue" : "_falseValue";
return n in e ? e[n] : t;
}
const cl = {
created(e, t, n) {
al(e, t, n, null, "created");
},
mounted(e, t, n) {
al(e, t, n, null, "mounted");
},
beforeUpdate(e, t, n, o) {
al(e, t, n, o, "beforeUpdate");
},
updated(e, t, n, o) {
al(e, t, n, o, "updated");
}
};
function al(e, t, n, o, r) {
const s = function (e, t) {
switch (e) {
case "SELECT":
return rl;
case "TEXTAREA":
return el;
default:
switch (t) {
case "checkbox":
return tl;
case "radio":
return ol;
default:
return el;
}
}
}(e.tagName, n.props && n.props.type)[r];
s && s(e, t, n, o);
}
const ul = ["ctrl", "shift", "alt", "meta"],
pl = {
stop: e => e.stopPropagation(),
prevent: e => e.preventDefault(),
self: e => e.target !== e.currentTarget,
ctrl: e => !e.ctrlKey,
shift: e => !e.shiftKey,
alt: e => !e.altKey,
meta: e => !e.metaKey,
left: e => "button" in e && 0 !== e.button,
middle: e => "button" in e && 1 !== e.button,
right: e => "button" in e && 2 !== e.button,
exact: (e, t) => ul.some(n => e[`${n}Key`] && !t.includes(n))
},
fl = (e, t) => (n, ...o) => {
for (let e = 0; e < t.length; e++) {
const o = pl[t[e]];
if (o && o(n, t)) return;
}
return e(n, ...o);
},
dl = {
esc: "escape",
space: " ",
up: "arrow-up",
left: "arrow-left",
right: "arrow-right",
down: "arrow-down",
delete: "backspace"
},
hl = (e, t) => n => {
if (!("key" in n)) return;
const o = G(n.key);
return t.some(e => e === o || dl[e] === o) ? e(n) : void 0;
},
ml = {
beforeMount(e, {
value: t
}, {
transition: n
}) {
e._vod = "none" === e.style.display ? "" : e.style.display, n && t ? n.beforeEnter(e) : gl(e, t);
},
mounted(e, {
value: t
}, {
transition: n
}) {
n && t && n.enter(e);
},
updated(e, {
value: t,
oldValue: n
}, {
transition: o
}) {
!t != !n && (o ? t ? (o.beforeEnter(e), gl(e, !0), o.enter(e)) : o.leave(e, () => {
gl(e, !1);
}) : gl(e, t));
},
beforeUnmount(e, {
value: t
}) {
gl(e, t);
}
};
function gl(e, t) {
e.style.display = t ? e._vod : "none";
}
const vl = k({
patchProp: (e, t, r, s, i = !1, l, c, a, u) => {
"class" === t ? function (e, t, n) {
const o = e._vtc;
o && (t = (t ? [t, ...o] : [...o]).join(" ")), null == t ? e.removeAttribute("class") : n ? e.setAttribute("class", t) : e.className = t;
}(e, s, i) : "style" === t ? function (e, t, n) {
const o = e.style,
r = A(n);
if (n && !r) {
for (const e in n) ci(o, e, n[e]);
if (t && !A(t)) for (const e in t) null == n[e] && ci(o, e, "");
} else {
const s = o.display;
r ? t !== n && (o.cssText = n) : t && e.removeAttribute("style"), "_vod" in e && (o.display = s);
}
}(e, r, s) : x(t) ? C(t) || yi(e, t, 0, s, c) : ("." === t[0] ? (t = t.slice(1), 1) : "^" === t[0] ? (t = t.slice(1), 0) : function (e, t, n, o) {
if (o) return "innerHTML" === t || "textContent" === t || !!(t in e && bi.test(t) && F(n));
if ("spellcheck" === t || "draggable" === t || "translate" === t) return !1;
if ("form" === t) return !1;
if ("list" === t && "INPUT" === e.tagName) return !1;
if ("type" === t && "TEXTAREA" === e.tagName) return !1;
if (bi.test(t) && A(n)) return !1;
return t in e;
}(e, t, s, i)) ? function (e, t, n, r, s, i, l) {
if ("innerHTML" === t || "textContent" === t) return r && l(r, s, i), void (e[t] = null == n ? "" : n);
if ("value" === t && "PROGRESS" !== e.tagName && !e.tagName.includes("-")) {
e._value = n;
const o = null == n ? "" : n;
return e.value === o && "OPTION" !== e.tagName || (e.value = o), void (null == n && e.removeAttribute(t));
}
let c = !1;
if ("" === n || null == n) {
const r = typeof e[t];
"boolean" === r ? n = o(n) : null == n && "string" === r ? (n = "", c = !0) : "number" === r && (n = 0, c = !0);
}
try {
e[t] = n;
} catch (a) {}
c && e.removeAttribute(t);
}(e, t, s, l, c, a, u) : ("true-value" === t ? e._trueValue = s : "false-value" === t && (e._falseValue = s), function (e, t, r, s, i) {
if (s && t.startsWith("xlink:")) null == r ? e.removeAttributeNS(pi, t.slice(6, t.length)) : e.setAttributeNS(pi, t, r);else {
const s = n(t);
null == r || s && !o(r) ? e.removeAttribute(t) : e.setAttribute(t, s ? "" : r);
}
}(e, t, s, i));
}
}, ii);
let yl,
_l = !1;
function bl() {
return yl || (yl = Rr(vl));
}
function Sl() {
return yl = _l ? yl : Fr(vl), _l = !0, yl;
}
const xl = (...e) => {
bl().render(...e);
},
Cl = (...e) => {
Sl().hydrate(...e);
},
kl = (...e) => {
const t = bl().createApp(...e),
{
mount: n
} = t;
return t.mount = e => {
const o = Tl(e);
if (!o) return;
const r = t._component;
F(r) || r.render || r.template || (r.template = o.innerHTML), o.innerHTML = "";
const s = n(o, !1, o instanceof SVGElement);
return o instanceof Element && (o.removeAttribute("v-cloak"), o.setAttribute("data-v-app", "")), s;
}, t;
},
wl = (...e) => {
const t = Sl().createApp(...e),
{
mount: n
} = t;
return t.mount = e => {
const t = Tl(e);
if (t) return n(t, !0, t instanceof SVGElement);
}, t;
};
function Tl(e) {
if (A(e)) {
return document.querySelector(e);
}
return e;
}
const Nl = _;
var El = Object.freeze({
__proto__: null,
render: xl,
hydrate: Cl,
createApp: kl,
createSSRApp: wl,
initDirectivesForSSR: Nl,
defineCustomElement: Si,
defineSSRCustomElement: xi,
VueElement: ki,
useCssModule: wi,
useCssVars: Ti,
Transition: $i,
TransitionGroup: Gi,
vModelText: el,
vModelCheckbox: tl,
vModelRadio: ol,
vModelSelect: rl,
vModelDynamic: cl,
withModifiers: fl,
withKeys: hl,
vShow: ml,
reactive: gt,
ref: Ft,
readonly: yt,
unref: It,
proxyRefs: Lt,
isRef: Rt,
toRef: Wt,
toRefs: Dt,
isProxy: kt,
isReactive: St,
isReadonly: xt,
isShallow: Ct,
customRef: Ut,
triggerRef: Vt,
shallowRef: At,
shallowReactive: vt,
shallowReadonly: _t,
markRaw: Tt,
toRaw: wt,
effect: ye,
stop: _e,
ReactiveEffect: ge,
effectScope: oe,
EffectScope: ne,
getCurrentScope: se,
onScopeDispose: ie,
computed: Is,
watch: Zn,
watchEffect: Kn,
watchPostEffect: Gn,
watchSyncEffect: qn,
onBeforeMount: To,
onMounted: No,
onBeforeUpdate: Eo,
onUpdated: $o,
onBeforeUnmount: Oo,
onUnmounted: Ro,
onActivated: yo,
onDeactivated: _o,
onRenderTracked: Po,
onRenderTriggered: Ao,
onErrorCaptured: Mo,
onServerPrefetch: Fo,
provide: Wn,
inject: zn,
nextTick: un,
defineComponent: uo,
defineAsyncComponent: fo,
useAttrs: Hs,
useSlots: Ds,
defineProps: Bs,
defineEmits: Ls,
defineExpose: js,
withDefaults: Us,
mergeDefaults: zs,
createPropsRestProxy: Ks,
withAsyncContext: Gs,
getCurrentInstance: Ss,
h: qs,
createVNode: ls,
cloneVNode: as,
mergeProps: gs,
isVNode: es,
Fragment: Ur,
Text: Dr,
Comment: Hr,
Static: Wr,
Teleport: jr,
Suspense: Bn,
KeepAlive: go,
BaseTransition: oo,
withDirectives: Vo,
useSSRContext: Zs,
ssrContextKey: Js,
createRenderer: Rr,
createHydrationRenderer: Fr,
queuePostFlushCb: dn,
warn: qt,
handleError: Xt,
callWithErrorHandling: Yt,
callWithAsyncErrorHandling: Qt,
resolveComponent: Bo,
resolveDirective: Uo,
resolveDynamicComponent: jo,
registerRuntimeCompiler: $s,
isRuntimeOnly: Os,
useTransitionState: to,
resolveTransitionHooks: so,
setTransitionHooks: co,
getTransitionRawChildren: ao,
initCustomFormatter: Ys,
get devtools() {
return exports.devtools;
},
setDevtoolsHook: Sn,
withCtx: Rn,
pushScopeId: En,
popScopeId: $n,
withScopeId: On,
renderList: Wo,
toHandlers: qo,
renderSlot: Ko,
createSlots: zo,
withMemo: Qs,
isMemoSame: Xs,
openBlock: Gr,
createBlock: Xr,
setBlockTracking: Zr,
createTextVNode: us,
createCommentVNode: fs,
createStaticVNode: ps,
createElementVNode: is,
createElementBlock: Qr,
guardReactiveProps: cs,
toDisplayString: m,
camelize: z,
capitalize: q,
toHandlerKey: J,
normalizeProps: a,
normalizeClass: c,
normalizeStyle: r,
transformVNodeArgs: ns,
version: ei,
ssrUtils: null,
resolveFilter: null,
compatUtils: null
});
function $l(e) {
throw e;
}
function Ol(e) {}
function Rl(e, t, n, o) {
const r = new SyntaxError(String(e));
return r.code = e, r.loc = t, r;
}
const Fl = Symbol(""),
Al = Symbol(""),
Pl = Symbol(""),
Ml = Symbol(""),
Vl = Symbol(""),
Il = Symbol(""),
Bl = Symbol(""),
Ll = Symbol(""),
jl = Symbol(""),
Ul = Symbol(""),
Dl = Symbol(""),
Hl = Symbol(""),
Wl = Symbol(""),
zl = Symbol(""),
Kl = Symbol(""),
Gl = Symbol(""),
ql = Symbol(""),
Jl = Symbol(""),
Zl = Symbol(""),
Yl = Symbol(""),
Ql = Symbol(""),
Xl = Symbol(""),
ec = Symbol(""),
tc = Symbol(""),
nc = Symbol(""),
oc = Symbol(""),
rc = Symbol(""),
sc = Symbol(""),
ic = Symbol(""),
lc = Symbol(""),
cc = Symbol(""),
ac = Symbol(""),
uc = Symbol(""),
pc = Symbol(""),
fc = Symbol(""),
dc = Symbol(""),
hc = Symbol(""),
mc = Symbol(""),
gc = Symbol(""),
vc = {
[Fl]: "Fragment",
[Al]: "Teleport",
[Pl]: "Suspense",
[Ml]: "KeepAlive",
[Vl]: "BaseTransition",
[Il]: "openBlock",
[Bl]: "createBlock",
[Ll]: "createElementBlock",
[jl]: "createVNode",
[Ul]: "createElementVNode",
[Dl]: "createCommentVNode",
[Hl]: "createTextVNode",
[Wl]: "createStaticVNode",
[zl]: "resolveComponent",
[Kl]: "resolveDynamicComponent",
[Gl]: "resolveDirective",
[ql]: "resolveFilter",
[Jl]: "withDirectives",
[Zl]: "renderList",
[Yl]: "renderSlot",
[Ql]: "createSlots",
[Xl]: "toDisplayString",
[ec]: "mergeProps",
[tc]: "normalizeClass",
[nc]: "normalizeStyle",
[oc]: "normalizeProps",
[rc]: "guardReactiveProps",
[sc]: "toHandlers",
[ic]: "camelize",
[lc]: "capitalize",
[cc]: "toHandlerKey",
[ac]: "setBlockTracking",
[uc]: "pushScopeId",
[pc]: "popScopeId",
[fc]: "withCtx",
[dc]: "unref",
[hc]: "isRef",
[mc]: "withMemo",
[gc]: "isMemoSame"
};
const yc = {
source: "",
start: {
line: 1,
column: 1,
offset: 0
},
end: {
line: 1,
column: 1,
offset: 0
}
};
function _c(e, t, n, o, r, s, i, l = !1, c = !1, a = !1, u = yc) {
return e && (l ? (e.helper(Il), e.helper(qc(e.inSSR, a))) : e.helper(Gc(e.inSSR, a)), i && e.helper(Jl)), {
type: 13,
tag: t,
props: n,
children: o,
patchFlag: r,
dynamicProps: s,
directives: i,
isBlock: l,
disableTracking: c,
isComponent: a,
loc: u
};
}
function bc(e, t = yc) {
return {
type: 17,
loc: t,
elements: e
};
}
function Sc(e, t = yc) {
return {
type: 15,
loc: t,
properties: e
};
}
function xc(e, t) {
return {
type: 16,
loc: yc,
key: A(e) ? Cc(e, !0) : e,
value: t
};
}
function Cc(e, t = !1, n = yc, o = 0) {
return {
type: 4,
loc: n,
content: e,
isStatic: t,
constType: t ? 3 : o
};
}
function kc(e, t = yc) {
return {
type: 8,
loc: t,
children: e
};
}
function wc(e, t = [], n = yc) {
return {
type: 14,
loc: n,
callee: e,
arguments: t
};
}
function Tc(e, t, n = !1, o = !1, r = yc) {
return {
type: 18,
params: e,
returns: t,
newline: n,
isSlot: o,
loc: r
};
}
function Nc(e, t, n, o = !0) {
return {
type: 19,
test: e,
consequent: t,
alternate: n,
newline: o,
loc: yc
};
}
const Ec = e => 4 === e.type && e.isStatic,
$c = (e, t) => e === t || e === G(t);
function Oc(e) {
return $c(e, "Teleport") ? Al : $c(e, "Suspense") ? Pl : $c(e, "KeepAlive") ? Ml : $c(e, "BaseTransition") ? Vl : void 0;
}
const Rc = /^\d|[^\$\w]/,
Fc = e => !Rc.test(e),
Ac = /[A-Za-z_$\xA0-\uFFFF]/,
Pc = /[\.\?\w$\xA0-\uFFFF]/,
Mc = /\s+[.[]\s*|\s*[.[]\s+/g,
Vc = e => {
e = e.trim().replace(Mc, e => e.trim());
let t = 0,
n = [],
o = 0,
r = 0,
s = null;
for (let i = 0; i < e.length; i++) {
const l = e.charAt(i);
switch (t) {
case 0:
if ("[" === l) n.push(t), t = 1, o++;else if ("(" === l) n.push(t), t = 2, r++;else if (!(0 === i ? Ac : Pc).test(l)) return !1;
break;
case 1:
"'" === l || '"' === l || "`" === l ? (n.push(t), t = 3, s = l) : "[" === l ? o++ : "]" === l && (--o || (t = n.pop()));
break;
case 2:
if ("'" === l || '"' === l || "`" === l) n.push(t), t = 3, s = l;else if ("(" === l) r++;else if (")" === l) {
if (i === e.length - 1) return !1;
--r || (t = n.pop());
}
break;
case 3:
l === s && (t = n.pop(), s = null);
}
}
return !o && !r;
};
function Ic(e, t, n) {
const o = {
source: e.source.slice(t, t + n),
start: Bc(e.start, e.source, t),
end: e.end
};
return null != n && (o.end = Bc(e.start, e.source, t + n)), o;
}
function Bc(e, t, n = t.length) {
return Lc(k({}, e), t, n);
}
function Lc(e, t, n = t.length) {
let o = 0,
r = -1;
for (let s = 0; s < n; s++) 10 === t.charCodeAt(s) && (o++, r = s);
return e.offset += n, e.line += o, e.column = -1 === r ? e.column + n : n - r, e;
}
function jc(e, t, n = !1) {
for (let o = 0; o < e.props.length; o++) {
const r = e.props[o];
if (7 === r.type && (n || r.exp) && (A(t) ? r.name === t : t.test(r.name))) return r;
}
}
function Uc(e, t, n = !1, o = !1) {
for (let r = 0; r < e.props.length; r++) {
const s = e.props[r];
if (6 === s.type) {
if (n) continue;
if (s.name === t && (s.value || o)) return s;
} else if ("bind" === s.name && (s.exp || o) && Dc(s.arg, t)) return s;
}
}
function Dc(e, t) {
return !(!e || !Ec(e) || e.content !== t);
}
function Hc(e) {
return 5 === e.type || 2 === e.type;
}
function Wc(e) {
return 7 === e.type && "slot" === e.name;
}
function zc(e) {
return 1 === e.type && 3 === e.tagType;
}
function Kc(e) {
return 1 === e.type && 2 === e.tagType;
}
function Gc(e, t) {
return e || t ? jl : Ul;
}
function qc(e, t) {
return e || t ? Bl : Ll;
}
const Jc = new Set([oc, rc]);
function Zc(e, t = []) {
if (e && !A(e) && 14 === e.type) {
const n = e.callee;
if (!A(n) && Jc.has(n)) return Zc(e.arguments[0], t.concat(e));
}
return [e, t];
}
function Yc(e, t, n) {
let o,
r,
s = 13 === e.type ? e.props : e.arguments[2],
i = [];
if (s && !A(s) && 14 === s.type) {
const e = Zc(s);
s = e[0], i = e[1], r = i[i.length - 1];
}
if (null == s || A(s)) o = Sc([t]);else if (14 === s.type) {
const e = s.arguments[0];
A(e) || 15 !== e.type ? s.callee === sc ? o = wc(n.helper(ec), [Sc([t]), s]) : s.arguments.unshift(Sc([t])) : e.properties.unshift(t), !o && (o = s);
} else if (15 === s.type) {
let e = !1;
if (4 === t.key.type) {
const n = t.key.content;
e = s.properties.some(e => 4 === e.key.type && e.key.content === n);
}
e || s.properties.unshift(t), o = s;
} else o = wc(n.helper(ec), [Sc([t]), s]), r && r.callee === rc && (r = i[i.length - 2]);
13 === e.type ? r ? r.arguments[0] = o : e.props = o : r ? r.arguments[0] = o : e.arguments[2] = o;
}
function Qc(e, t) {
return `_${t}_${e.replace(/[^\w]/g, (t, n) => "-" === t ? "_" : e.charCodeAt(n).toString())}`;
}
function Xc(e, {
helper: t,
removeHelper: n,
inSSR: o
}) {
e.isBlock || (e.isBlock = !0, n(Gc(o, e.isComponent)), t(Il), t(qc(o, e.isComponent)));
}
const ea = /&(gt|lt|amp|apos|quot);/g,
ta = {
gt: ">",
lt: "<",
amp: "&",
apos: "'",
quot: '"'
},
na = {
delimiters: ["{{", "}}"],
getNamespace: () => 0,
getTextMode: () => 0,
isVoidTag: b,
isPreTag: b,
isCustomElement: b,
decodeEntities: e => e.replace(ea, (e, t) => ta[t]),
onError: $l,
onWarn: Ol,
comments: !1
};
function oa(e, t = {}) {
const n = function (e, t) {
const n = k({}, na);
let o;
for (o in t) n[o] = void 0 === t[o] ? na[o] : t[o];
return {
options: n,
column: 1,
line: 1,
offset: 0,
originalSource: e,
source: e,
inPre: !1,
inVPre: !1,
onWarn: n.onWarn
};
}(e, t),
o = va(n);
return function (e, t = yc) {
return {
type: 0,
children: e,
helpers: [],
components: [],
directives: [],
hoists: [],
imports: [],
cached: 0,
temps: 0,
codegenNode: void 0,
loc: t
};
}(ra(n, 0, []), ya(n, o));
}
function ra(e, t, n) {
const o = _a(n),
r = o ? o.ns : 0,
s = [];
for (; !ka(e, t, n);) {
const i = e.source;
let l;
if (0 === t || 1 === t) if (!e.inVPre && ba(i, e.options.delimiters[0])) l = ha(e, t);else if (0 === t && "<" === i[0]) if (1 === i.length) ;else if ("!" === i[1]) l = ba(i, "\x3c!--") ? la(e) : ba(i, "<!DOCTYPE") ? ca(e) : ba(i, "<![CDATA[") && 0 !== r ? ia(e, n) : ca(e);else if ("/" === i[1]) {
if (2 === i.length) ;else {
if (">" === i[2]) {
Sa(e, 3);
continue;
}
if (/[a-z]/i.test(i[2])) {
pa(e, 1, o);
continue;
}
l = ca(e);
}
} else /[a-z]/i.test(i[1]) ? l = aa(e, n) : "?" === i[1] && (l = ca(e));
if (l || (l = ma(e, t)), E(l)) for (let e = 0; e < l.length; e++) sa(s, l[e]);else sa(s, l);
}
let i = !1;
if (2 !== t && 1 !== t) {
const t = "preserve" !== e.options.whitespace;
for (let n = 0; n < s.length; n++) {
const o = s[n];
if (2 === o.type) {
if (e.inPre) o.content = o.content.replace(/\r\n/g, "\n");else if (/[^\t\r\n\f ]/.test(o.content)) t && (o.content = o.content.replace(/[\t\r\n\f ]+/g, " "));else {
const e = s[n - 1],
r = s[n + 1];
!e || !r || t && (3 === e.type || 3 === r.type || 1 === e.type && 1 === r.type && /[\r\n]/.test(o.content)) ? (i = !0, s[n] = null) : o.content = " ";
}
} else 3 !== o.type || e.options.comments || (i = !0, s[n] = null);
}
if (e.inPre && o && e.options.isPreTag(o.tag)) {
const e = s[0];
e && 2 === e.type && (e.content = e.content.replace(/^\r?\n/, ""));
}
}
return i ? s.filter(Boolean) : s;
}
function sa(e, t) {
if (2 === t.type) {
const n = _a(e);
if (n && 2 === n.type && n.loc.end.offset === t.loc.start.offset) return n.content += t.content, n.loc.end = t.loc.end, void (n.loc.source += t.loc.source);
}
e.push(t);
}
function ia(e, t) {
Sa(e, 9);
const n = ra(e, 3, t);
return 0 === e.source.length || Sa(e, 3), n;
}
function la(e) {
const t = va(e);
let n;
const o = /--(\!)?>/.exec(e.source);
if (o) {
n = e.source.slice(4, o.index);
const t = e.source.slice(0, o.index);
let r = 1,
s = 0;
for (; -1 !== (s = t.indexOf("\x3c!--", r));) Sa(e, s - r + 1), r = s + 1;
Sa(e, o.index + o[0].length - r + 1);
} else n = e.source.slice(4), Sa(e, e.source.length);
return {
type: 3,
content: n,
loc: ya(e, t)
};
}
function ca(e) {
const t = va(e),
n = "?" === e.source[1] ? 1 : 2;
let o;
const r = e.source.indexOf(">");
return -1 === r ? (o = e.source.slice(n), Sa(e, e.source.length)) : (o = e.source.slice(n, r), Sa(e, r + 1)), {
type: 3,
content: o,
loc: ya(e, t)
};
}
function aa(e, t) {
const n = e.inPre,
o = e.inVPre,
r = _a(t),
s = pa(e, 0, r),
i = e.inPre && !n,
l = e.inVPre && !o;
if (s.isSelfClosing || e.options.isVoidTag(s.tag)) return i && (e.inPre = !1), l && (e.inVPre = !1), s;
t.push(s);
const c = e.options.getTextMode(s, r),
a = ra(e, c, t);
if (t.pop(), s.children = a, wa(e.source, s.tag)) pa(e, 1, r);else if (0 === e.source.length && "script" === s.tag.toLowerCase()) {
const e = a[0];
e && ba(e.loc.source, "\x3c!--");
}
return s.loc = ya(e, s.loc.start), i && (e.inPre = !1), l && (e.inVPre = !1), s;
}
const ua = e("if,else,else-if,for,slot");
function pa(e, t, n) {
const o = va(e),
r = /^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),
s = r[1],
i = e.options.getNamespace(s, n);
Sa(e, r[0].length), xa(e);
const l = va(e),
c = e.source;
e.options.isPreTag(s) && (e.inPre = !0);
let a = fa(e, t);
0 === t && !e.inVPre && a.some(e => 7 === e.type && "pre" === e.name) && (e.inVPre = !0, k(e, l), e.source = c, a = fa(e, t).filter(e => "v-pre" !== e.name));
let u = !1;
if (0 === e.source.length || (u = ba(e.source, "/>"), Sa(e, u ? 2 : 1)), 1 === t) return;
let p = 0;
return e.inVPre || ("slot" === s ? p = 2 : "template" === s ? a.some(e => 7 === e.type && ua(e.name)) && (p = 3) : function (e, t, n) {
const o = n.options;
if (o.isCustomElement(e)) return !1;
if ("component" === e || /^[A-Z]/.test(e) || Oc(e) || o.isBuiltInComponent && o.isBuiltInComponent(e) || o.isNativeTag && !o.isNativeTag(e)) return !0;
for (let r = 0; r < t.length; r++) {
const e = t[r];
if (6 === e.type) {
if ("is" === e.name && e.value && e.value.content.startsWith("vue:")) return !0;
} else {
if ("is" === e.name) return !0;
"bind" === e.name && Dc(e.arg, "is");
}
}
}(s, a, e) && (p = 1)), {
type: 1,
ns: i,
tag: s,
tagType: p,
props: a,
isSelfClosing: u,
children: [],
loc: ya(e, o),
codegenNode: void 0
};
}
function fa(e, t) {
const n = [],
o = new Set();
for (; e.source.length > 0 && !ba(e.source, ">") && !ba(e.source, "/>");) {
if (ba(e.source, "/")) {
Sa(e, 1), xa(e);
continue;
}
const r = da(e, o);
6 === r.type && r.value && "class" === r.name && (r.value.content = r.value.content.replace(/\s+/g, " ").trim()), 0 === t && n.push(r), /^[^\t\r\n\f />]/.test(e.source), xa(e);
}
return n;
}
function da(e, t) {
const n = va(e),
o = /^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];
t.has(o), t.add(o);
{
const e = /["'<]/g;
let t;
for (; t = e.exec(o););
}
let r;
Sa(e, o.length), /^[\t\r\n\f ]*=/.test(e.source) && (xa(e), Sa(e, 1), xa(e), r = function (e) {
const t = va(e);
let n;
const o = e.source[0],
r = '"' === o || "'" === o;
if (r) {
Sa(e, 1);
const t = e.source.indexOf(o);
-1 === t ? n = ga(e, e.source.length, 4) : (n = ga(e, t, 4), Sa(e, 1));
} else {
const t = /^[^\t\r\n\f >]+/.exec(e.source);
if (!t) return;
const o = /["'<=`]/g;
let r;
for (; r = o.exec(t[0]););
n = ga(e, t[0].length, 4);
}
return {
content: n,
isQuoted: r,
loc: ya(e, t)
};
}(e));
const s = ya(e, n);
if (!e.inVPre && /^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(o)) {
const t = /(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o);
let i,
l = ba(o, "."),
c = t[1] || (l || ba(o, ":") ? "bind" : ba(o, "@") ? "on" : "slot");
if (t[2]) {
const r = "slot" === c,
s = o.lastIndexOf(t[2]),
l = ya(e, Ca(e, n, s), Ca(e, n, s + t[2].length + (r && t[3] || "").length));
let a = t[2],
u = !0;
a.startsWith("[") ? (u = !1, a = a.endsWith("]") ? a.slice(1, a.length - 1) : a.slice(1)) : r && (a += t[3] || ""), i = {
type: 4,
content: a,
isStatic: u,
constType: u ? 3 : 0,
loc: l
};
}
if (r && r.isQuoted) {
const e = r.loc;
e.start.offset++, e.start.column++, e.end = Bc(e.start, r.content), e.source = e.source.slice(1, -1);
}
const a = t[3] ? t[3].slice(1).split(".") : [];
return l && a.push("prop"), {
type: 7,
name: c,
exp: r && {
type: 4,
content: r.content,
isStatic: !1,
constType: 0,
loc: r.loc
},
arg: i,
modifiers: a,
loc: s
};
}
return !e.inVPre && ba(o, "v-"), {
type: 6,
name: o,
value: r && {
type: 2,
content: r.content,
loc: r.loc
},
loc: s
};
}
function ha(e, t) {
const [n, o] = e.options.delimiters,
r = e.source.indexOf(o, n.length);
if (-1 === r) return;
const s = va(e);
Sa(e, n.length);
const i = va(e),
l = va(e),
c = r - n.length,
a = e.source.slice(0, c),
u = ga(e, c, t),
p = u.trim(),
f = u.indexOf(p);
f > 0 && Lc(i, a, f);
return Lc(l, a, c - (u.length - p.length - f)), Sa(e, o.length), {
type: 5,
content: {
type: 4,
isStatic: !1,
constType: 0,
content: p,
loc: ya(e, i, l)
},
loc: ya(e, s)
};
}
function ma(e, t) {
const n = 3 === t ? ["]]>"] : ["<", e.options.delimiters[0]];
let o = e.source.length;
for (let s = 0; s < n.length; s++) {
const t = e.source.indexOf(n[s], 1);
-1 !== t && o > t && (o = t);
}
const r = va(e);
return {
type: 2,
content: ga(e, o, t),
loc: ya(e, r)
};
}
function ga(e, t, n) {
const o = e.source.slice(0, t);
return Sa(e, t), 2 !== n && 3 !== n && o.includes("&") ? e.options.decodeEntities(o, 4 === n) : o;
}
function va(e) {
const {
column: t,
line: n,
offset: o
} = e;
return {
column: t,
line: n,
offset: o
};
}
function ya(e, t, n) {
return {
start: t,
end: n = n || va(e),
source: e.originalSource.slice(t.offset, n.offset)
};
}
function _a(e) {
return e[e.length - 1];
}
function ba(e, t) {
return e.startsWith(t);
}
function Sa(e, t) {
const {
source: n
} = e;
Lc(e, n, t), e.source = n.slice(t);
}
function xa(e) {
const t = /^[\t\r\n\f ]+/.exec(e.source);
t && Sa(e, t[0].length);
}
function Ca(e, t, n) {
return Bc(t, e.originalSource.slice(t.offset, n), n);
}
function ka(e, t, n) {
const o = e.source;
switch (t) {
case 0:
if (ba(o, "</")) for (let e = n.length - 1; e >= 0; --e) if (wa(o, n[e].tag)) return !0;
break;
case 1:
case 2:
{
const e = _a(n);
if (e && wa(o, e.tag)) return !0;
break;
}
case 3:
if (ba(o, "]]>")) return !0;
}
return !o;
}
function wa(e, t) {
return ba(e, "</") && e.slice(2, 2 + t.length).toLowerCase() === t.toLowerCase() && /[\t\r\n\f />]/.test(e[2 + t.length] || ">");
}
function Ta(e, t) {
Ea(e, t, Na(e, e.children[0]));
}
function Na(e, t) {
const {
children: n
} = e;
return 1 === n.length && 1 === t.type && !Kc(t);
}
function Ea(e, t, n = !1) {
const {
children: o
} = e,
r = o.length;
let s = 0;
for (let i = 0; i < o.length; i++) {
const e = o[i];
if (1 === e.type && 0 === e.tagType) {
const o = n ? 0 : $a(e, t);
if (o > 0) {
if (o >= 2) {
e.codegenNode.patchFlag = "-1", e.codegenNode = t.hoist(e.codegenNode), s++;
continue;
}
} else {
const n = e.codegenNode;
if (13 === n.type) {
const o = Pa(n);
if ((!o || 512 === o || 1 === o) && Fa(e, t) >= 2) {
const o = Aa(e);
o && (n.props = t.hoist(o));
}
n.dynamicProps && (n.dynamicProps = t.hoist(n.dynamicProps));
}
}
}
if (1 === e.type) {
const n = 1 === e.tagType;
n && t.scopes.vSlot++, Ea(e, t), n && t.scopes.vSlot--;
} else if (11 === e.type) Ea(e, t, 1 === e.children.length);else if (9 === e.type) for (let n = 0; n < e.branches.length; n++) Ea(e.branches[n], t, 1 === e.branches[n].children.length);
}
s && t.transformHoist && t.transformHoist(o, t, e), s && s === r && 1 === e.type && 0 === e.tagType && e.codegenNode && 13 === e.codegenNode.type && E(e.codegenNode.children) && (e.codegenNode.children = t.hoist(bc(e.codegenNode.children)));
}
function $a(e, t) {
const {
constantCache: n
} = t;
switch (e.type) {
case 1:
if (0 !== e.tagType) return 0;
const o = n.get(e);
if (void 0 !== o) return o;
const r = e.codegenNode;
if (13 !== r.type) return 0;
if (r.isBlock && "svg" !== e.tag && "foreignObject" !== e.tag) return 0;
if (Pa(r)) return n.set(e, 0), 0;
{
let o = 3;
const s = Fa(e, t);
if (0 === s) return n.set(e, 0), 0;
s < o && (o = s);
for (let r = 0; r < e.children.length; r++) {
const s = $a(e.children[r], t);
if (0 === s) return n.set(e, 0), 0;
s < o && (o = s);
}
if (o > 1) for (let r = 0; r < e.props.length; r++) {
const s = e.props[r];
if (7 === s.type && "bind" === s.name && s.exp) {
const r = $a(s.exp, t);
if (0 === r) return n.set(e, 0), 0;
r < o && (o = r);
}
}
if (r.isBlock) {
for (let t = 0; t < e.props.length; t++) {
if (7 === e.props[t].type) return n.set(e, 0), 0;
}
t.removeHelper(Il), t.removeHelper(qc(t.inSSR, r.isComponent)), r.isBlock = !1, t.helper(Gc(t.inSSR, r.isComponent));
}
return n.set(e, o), o;
}
case 2:
case 3:
return 3;
case 9:
case 11:
case 10:
default:
return 0;
case 5:
case 12:
return $a(e.content, t);
case 4:
return e.constType;
case 8:
let s = 3;
for (let n = 0; n < e.children.length; n++) {
const o = e.children[n];
if (A(o) || P(o)) continue;
const r = $a(o, t);
if (0 === r) return 0;
r < s && (s = r);
}
return s;
}
}
const Oa = new Set([tc, nc, oc, rc]);
function Ra(e, t) {
if (14 === e.type && !A(e.callee) && Oa.has(e.callee)) {
const n = e.arguments[0];
if (4 === n.type) return $a(n, t);
if (14 === n.type) return Ra(n, t);
}
return 0;
}
function Fa(e, t) {
let n = 3;
const o = Aa(e);
if (o && 15 === o.type) {
const {
properties: e
} = o;
for (let o = 0; o < e.length; o++) {
const {
key: r,
value: s
} = e[o],
i = $a(r, t);
if (0 === i) return i;
let l;
if (i < n && (n = i), l = 4 === s.type ? $a(s, t) : 14 === s.type ? Ra(s, t) : 0, 0 === l) return l;
l < n && (n = l);
}
}
return n;
}
function Aa(e) {
const t = e.codegenNode;
if (13 === t.type) return t.props;
}
function Pa(e) {
const t = e.patchFlag;
return t ? parseInt(t, 10) : void 0;
}
function Ma(e, {
filename: t = "",
prefixIdentifiers: n = !1,
hoistStatic: o = !1,
cacheHandlers: r = !1,
nodeTransforms: s = [],
directiveTransforms: i = {},
transformHoist: l = null,
isBuiltInComponent: c = _,
isCustomElement: a = _,
expressionPlugins: u = [],
scopeId: p = null,
slotted: f = !0,
ssr: d = !1,
inSSR: h = !1,
ssrCssVars: m = "",
bindingMetadata: g = v,
inline: y = !1,
isTS: b = !1,
onError: S = $l,
onWarn: x = Ol,
compatConfig: C
}) {
const k = t.replace(/\?.*$/, "").match(/([^/\\]+)\.\w+$/),
w = {
selfName: k && q(z(k[1])),
prefixIdentifiers: n,
hoistStatic: o,
cacheHandlers: r,
nodeTransforms: s,
directiveTransforms: i,
transformHoist: l,
isBuiltInComponent: c,
isCustomElement: a,
expressionPlugins: u,
scopeId: p,
slotted: f,
ssr: d,
inSSR: h,
ssrCssVars: m,
bindingMetadata: g,
inline: y,
isTS: b,
onError: S,
onWarn: x,
compatConfig: C,
root: e,
helpers: new Map(),
components: new Set(),
directives: new Set(),
hoists: [],
imports: [],
constantCache: new Map(),
temps: 0,
cached: 0,
identifiers: Object.create(null),
scopes: {
vFor: 0,
vSlot: 0,
vPre: 0,
vOnce: 0
},
parent: null,
currentNode: e,
childIndex: 0,
inVOnce: !1,
helper(e) {
const t = w.helpers.get(e) || 0;
return w.helpers.set(e, t + 1), e;
},
removeHelper(e) {
const t = w.helpers.get(e);
if (t) {
const n = t - 1;
n ? w.helpers.set(e, n) : w.helpers.delete(e);
}
},
helperString: e => `_${vc[w.helper(e)]}`,
replaceNode(e) {
w.parent.children[w.childIndex] = w.currentNode = e;
},
removeNode(e) {
const t = e ? w.parent.children.indexOf(e) : w.currentNode ? w.childIndex : -1;
e && e !== w.currentNode ? w.childIndex > t && (w.childIndex--, w.onNodeRemoved()) : (w.currentNode = null, w.onNodeRemoved()), w.parent.children.splice(t, 1);
},
onNodeRemoved: () => {},
addIdentifiers(e) {},
removeIdentifiers(e) {},
hoist(e) {
A(e) && (e = Cc(e)), w.hoists.push(e);
const t = Cc(`_hoisted_${w.hoists.length}`, !1, e.loc, 2);
return t.hoisted = e, t;
},
cache: (e, t = !1) => function (e, t, n = !1) {
return {
type: 20,
index: e,
value: t,
isVNode: n,
loc: yc
};
}(w.cached++, e, t)
};
return w;
}
function Va(e, t) {
const n = Ma(e, t);
Ia(e, n), t.hoistStatic && Ta(e, n), t.ssr || function (e, t) {
const {
helper: n
} = t,
{
children: o
} = e;
if (1 === o.length) {
const n = o[0];
if (Na(e, n) && n.codegenNode) {
const o = n.codegenNode;
13 === o.type && Xc(o, t), e.codegenNode = o;
} else e.codegenNode = n;
} else if (o.length > 1) {
let o = 64;
e.codegenNode = _c(t, n(Fl), void 0, e.children, o + "", void 0, void 0, !0, void 0, !1);
}
}(e, n), e.helpers = [...n.helpers.keys()], e.components = [...n.components], e.directives = [...n.directives], e.imports = n.imports, e.hoists = n.hoists, e.temps = n.temps, e.cached = n.cached;
}
function Ia(e, t) {
t.currentNode = e;
const {
nodeTransforms: n
} = t,
o = [];
for (let s = 0; s < n.length; s++) {
const r = n[s](e, t);
if (r && (E(r) ? o.push(...r) : o.push(r)), !t.currentNode) return;
e = t.currentNode;
}
switch (e.type) {
case 3:
t.ssr || t.helper(Dl);
break;
case 5:
t.ssr || t.helper(Xl);
break;
case 9:
for (let n = 0; n < e.branches.length; n++) Ia(e.branches[n], t);
break;
case 10:
case 11:
case 1:
case 0:
!function (e, t) {
let n = 0;
const o = () => {
n--;
};
for (; n < e.children.length; n++) {
const r = e.children[n];
A(r) || (t.parent = e, t.childIndex = n, t.onNodeRemoved = o, Ia(r, t));
}
}(e, t);
}
t.currentNode = e;
let r = o.length;
for (; r--;) o[r]();
}
function Ba(e, t) {
const n = A(e) ? t => t === e : t => e.test(t);
return (e, o) => {
if (1 === e.type) {
const {
props: r
} = e;
if (3 === e.tagType && r.some(Wc)) return;
const s = [];
for (let i = 0; i < r.length; i++) {
const l = r[i];
if (7 === l.type && n(l.name)) {
r.splice(i, 1), i--;
const n = t(e, l, o);
n && s.push(n);
}
}
return s;
}
};
}
const La = e => `${vc[e]}: _${vc[e]}`;
function ja(e, t = {}) {
const n = function (e, {
mode: t = "function",
prefixIdentifiers: n = "module" === t,
sourceMap: o = !1,
filename: r = "template.vue.html",
scopeId: s = null,
optimizeImports: i = !1,
runtimeGlobalName: l = "Vue",
runtimeModuleName: c = "vue",
ssrRuntimeModuleName: a = "vue/server-renderer",
ssr: u = !1,
isTS: p = !1,
inSSR: f = !1
}) {
const d = {
mode: t,
prefixIdentifiers: n,
sourceMap: o,
filename: r,
scopeId: s,
optimizeImports: i,
runtimeGlobalName: l,
runtimeModuleName: c,
ssrRuntimeModuleName: a,
ssr: u,
isTS: p,
inSSR: f,
source: e.loc.source,
code: "",
column: 1,
line: 1,
offset: 0,
indentLevel: 0,
pure: !1,
map: void 0,
helper: e => `_${vc[e]}`,
push(e, t) {
d.code += e;
},
indent() {
h(++d.indentLevel);
},
deindent(e = !1) {
e ? --d.indentLevel : h(--d.indentLevel);
},
newline() {
h(d.indentLevel);
}
};
function h(e) {
d.push("\n" + " ".repeat(e));
}
return d;
}(e, t);
t.onContextCreated && t.onContextCreated(n);
const {
mode: o,
push: r,
prefixIdentifiers: s,
indent: i,
deindent: l,
newline: c,
ssr: a
} = n,
u = e.helpers.length > 0,
p = !s && "module" !== o;
!function (e, t) {
const {
push: n,
newline: o,
runtimeGlobalName: r
} = t,
s = r;
if (e.helpers.length > 0 && (n(`const _Vue = ${s}\n`), e.hoists.length)) {
n(`const { ${[jl, Ul, Dl, Hl, Wl].filter(t => e.helpers.includes(t)).map(La).join(", ")} } = _Vue\n`);
}
(function (e, t) {
if (!e.length) return;
t.pure = !0;
const {
push: n,
newline: o
} = t;
o();
for (let r = 0; r < e.length; r++) {
const s = e[r];
s && (n(`const _hoisted_${r + 1} = `), Wa(s, t), o());
}
t.pure = !1;
})(e.hoists, t), o(), n("return ");
}(e, n);
if (r(`function ${a ? "ssrRender" : "render"}(${(a ? ["_ctx", "_push", "_parent", "_attrs"] : ["_ctx", "_cache"]).join(", ")}) {`), i(), p && (r("with (_ctx) {"), i(), u && (r(`const { ${e.helpers.map(La).join(", ")} } = _Vue`), r("\n"), c())), e.components.length && (Ua(e.components, "component", n), (e.directives.length || e.temps > 0) && c()), e.directives.length && (Ua(e.directives, "directive", n), e.temps > 0 && c()), e.temps > 0) {
r("let ");
for (let t = 0; t < e.temps; t++) r(`${t > 0 ? ", " : ""}_temp${t}`);
}
return (e.components.length || e.directives.length || e.temps) && (r("\n"), c()), a || r("return "), e.codegenNode ? Wa(e.codegenNode, n) : r("null"), p && (l(), r("}")), l(), r("}"), {
ast: e,
code: n.code,
preamble: "",
map: n.map ? n.map.toJSON() : void 0
};
}
function Ua(e, t, {
helper: n,
push: o,
newline: r,
isTS: s
}) {
const i = n("component" === t ? zl : Gl);
for (let l = 0; l < e.length; l++) {
let n = e[l];
const c = n.endsWith("__self");
c && (n = n.slice(0, -6)), o(`const ${Qc(n, t)} = ${i}(${JSON.stringify(n)}${c ? ", true" : ""})${s ? "!" : ""}`), l < e.length - 1 && r();
}
}
function Da(e, t) {
const n = e.length > 3 || !1;
t.push("["), n && t.indent(), Ha(e, t, n), n && t.deindent(), t.push("]");
}
function Ha(e, t, n = !1, o = !0) {
const {
push: r,
newline: s
} = t;
for (let i = 0; i < e.length; i++) {
const l = e[i];
A(l) ? r(l) : E(l) ? Da(l, t) : Wa(l, t), i < e.length - 1 && (n ? (o && r(","), s()) : o && r(", "));
}
}
function Wa(e, t) {
if (A(e)) t.push(e);else if (P(e)) t.push(t.helper(e));else switch (e.type) {
case 1:
case 9:
case 11:
case 12:
Wa(e.codegenNode, t);
break;
case 2:
!function (e, t) {
t.push(JSON.stringify(e.content), e);
}(e, t);
break;
case 4:
za(e, t);
break;
case 5:
!function (e, t) {
const {
push: n,
helper: o,
pure: r
} = t;
r && n("/*#__PURE__*/");
n(`${o(Xl)}(`), Wa(e.content, t), n(")");
}(e, t);
break;
case 8:
Ka(e, t);
break;
case 3:
!function (e, t) {
const {
push: n,
helper: o,
pure: r
} = t;
r && n("/*#__PURE__*/");
n(`${o(Dl)}(${JSON.stringify(e.content)})`, e);
}(e, t);
break;
case 13:
!function (e, t) {
const {
push: n,
helper: o,
pure: r
} = t,
{
tag: s,
props: i,
children: l,
patchFlag: c,
dynamicProps: a,
directives: u,
isBlock: p,
disableTracking: f,
isComponent: d
} = e;
u && n(o(Jl) + "(");
p && n(`(${o(Il)}(${f ? "true" : ""}), `);
r && n("/*#__PURE__*/");
const h = p ? qc(t.inSSR, d) : Gc(t.inSSR, d);
n(o(h) + "(", e), Ha(function (e) {
let t = e.length;
for (; t-- && null == e[t];);
return e.slice(0, t + 1).map(e => e || "null");
}([s, i, l, c, a]), t), n(")"), p && n(")");
u && (n(", "), Wa(u, t), n(")"));
}(e, t);
break;
case 14:
!function (e, t) {
const {
push: n,
helper: o,
pure: r
} = t,
s = A(e.callee) ? e.callee : o(e.callee);
r && n("/*#__PURE__*/");
n(s + "(", e), Ha(e.arguments, t), n(")");
}(e, t);
break;
case 15:
!function (e, t) {
const {
push: n,
indent: o,
deindent: r,
newline: s
} = t,
{
properties: i
} = e;
if (!i.length) return void n("{}", e);
const l = i.length > 1 || !1;
n(l ? "{" : "{ "), l && o();
for (let c = 0; c < i.length; c++) {
const {
key: e,
value: o
} = i[c];
Ga(e, t), n(": "), Wa(o, t), c < i.length - 1 && (n(","), s());
}
l && r(), n(l ? "}" : " }");
}(e, t);
break;
case 17:
!function (e, t) {
Da(e.elements, t);
}(e, t);
break;
case 18:
!function (e, t) {
const {
push: n,
indent: o,
deindent: r
} = t,
{
params: s,
returns: i,
body: l,
newline: c,
isSlot: a
} = e;
a && n(`_${vc[fc]}(`);
n("(", e), E(s) ? Ha(s, t) : s && Wa(s, t);
n(") => "), (c || l) && (n("{"), o());
i ? (c && n("return "), E(i) ? Da(i, t) : Wa(i, t)) : l && Wa(l, t);
(c || l) && (r(), n("}"));
a && n(")");
}(e, t);
break;
case 19:
!function (e, t) {
const {
test: n,
consequent: o,
alternate: r,
newline: s
} = e,
{
push: i,
indent: l,
deindent: c,
newline: a
} = t;
if (4 === n.type) {
const e = !Fc(n.content);
e && i("("), za(n, t), e && i(")");
} else i("("), Wa(n, t), i(")");
s && l(), t.indentLevel++, s || i(" "), i("? "), Wa(o, t), t.indentLevel--, s && a(), s || i(" "), i(": ");
const u = 19 === r.type;
u || t.indentLevel++;
Wa(r, t), u || t.indentLevel--;
s && c(!0);
}(e, t);
break;
case 20:
!function (e, t) {
const {
push: n,
helper: o,
indent: r,
deindent: s,
newline: i
} = t;
n(`_cache[${e.index}] || (`), e.isVNode && (r(), n(`${o(ac)}(-1),`), i());
n(`_cache[${e.index}] = `), Wa(e.value, t), e.isVNode && (n(","), i(), n(`${o(ac)}(1),`), i(), n(`_cache[${e.index}]`), s());
n(")");
}(e, t);
break;
case 21:
Ha(e.body, t, !0, !1);
}
}
function za(e, t) {
const {
content: n,
isStatic: o
} = e;
t.push(o ? JSON.stringify(n) : n, e);
}
function Ka(e, t) {
for (let n = 0; n < e.children.length; n++) {
const o = e.children[n];
A(o) ? t.push(o) : Wa(o, t);
}
}
function Ga(e, t) {
const {
push: n
} = t;
if (8 === e.type) n("["), Ka(e, t), n("]");else if (e.isStatic) {
n(Fc(e.content) ? e.content : JSON.stringify(e.content), e);
} else n(`[${e.content}]`, e);
}
const qa = Ba(/^(if|else|else-if)$/, (e, t, n) => function (e, t, n, o) {
if (!("else" === t.name || t.exp && t.exp.content.trim())) {
t.exp = Cc("true", !1, t.exp ? t.exp.loc : e.loc);
}
if ("if" === t.name) {
const r = Ja(e, t),
s = {
type: 9,
loc: e.loc,
branches: [r]
};
if (n.replaceNode(s), o) return o(s, r, !0);
} else {
const r = n.parent.children;
let s = r.indexOf(e);
for (; s-- >= -1;) {
const i = r[s];
if (!i || 2 !== i.type || i.content.trim().length) {
if (i && 9 === i.type) {
n.removeNode();
const r = Ja(e, t);
i.branches.push(r);
const s = o && o(i, r, !1);
Ia(r, n), s && s(), n.currentNode = null;
}
break;
}
n.removeNode(i);
}
}
}(e, t, n, (e, t, o) => {
const r = n.parent.children;
let s = r.indexOf(e),
i = 0;
for (; s-- >= 0;) {
const e = r[s];
e && 9 === e.type && (i += e.branches.length);
}
return () => {
if (o) e.codegenNode = Za(t, i, n);else {
const o = function (e) {
for (;;) if (19 === e.type) {
if (19 !== e.alternate.type) return e;
e = e.alternate;
} else 20 === e.type && (e = e.value);
}(e.codegenNode);
o.alternate = Za(t, i + e.branches.length - 1, n);
}
};
}));
function Ja(e, t) {
const n = 3 === e.tagType;
return {
type: 10,
loc: e.loc,
condition: "else" === t.name ? void 0 : t.exp,
children: n && !jc(e, "for") ? e.children : [e],
userKey: Uc(e, "key"),
isTemplateIf: n
};
}
function Za(e, t, n) {
return e.condition ? Nc(e.condition, Ya(e, t, n), wc(n.helper(Dl), ['""', "true"])) : Ya(e, t, n);
}
function Ya(e, t, n) {
const {
helper: o
} = n,
r = xc("key", Cc(`${t}`, !1, yc, 2)),
{
children: s
} = e,
i = s[0];
if (1 !== s.length || 1 !== i.type) {
if (1 === s.length && 11 === i.type) {
const e = i.codegenNode;
return Yc(e, r, n), e;
}
{
let t = 64;
return _c(n, o(Fl), Sc([r]), s, t + "", void 0, void 0, !0, !1, !1, e.loc);
}
}
{
const e = i.codegenNode,
t = 14 === (l = e).type && l.callee === mc ? l.arguments[1].returns : l;
return 13 === t.type && Xc(t, n), Yc(t, r, n), e;
}
var l;
}
const Qa = Ba("for", (e, t, n) => {
const {
helper: o,
removeHelper: r
} = n;
return function (e, t, n, o) {
if (!t.exp) return;
const r = nu(t.exp);
if (!r) return;
const {
scopes: s
} = n,
{
source: i,
value: l,
key: c,
index: a
} = r,
u = {
type: 11,
loc: t.loc,
source: i,
valueAlias: l,
keyAlias: c,
objectIndexAlias: a,
parseResult: r,
children: zc(e) ? e.children : [e]
};
n.replaceNode(u), s.vFor++;
const p = o && o(u);
return () => {
s.vFor--, p && p();
};
}(e, t, n, t => {
const s = wc(o(Zl), [t.source]),
i = zc(e),
l = jc(e, "memo"),
c = Uc(e, "key"),
a = c && (6 === c.type ? Cc(c.value.content, !0) : c.exp),
u = c ? xc("key", a) : null,
p = 4 === t.source.type && t.source.constType > 0,
f = p ? 64 : c ? 128 : 256;
return t.codegenNode = _c(n, o(Fl), void 0, s, f + "", void 0, void 0, !0, !p, !1, e.loc), () => {
let c;
const {
children: f
} = t,
d = 1 !== f.length || 1 !== f[0].type,
h = Kc(e) ? e : i && 1 === e.children.length && Kc(e.children[0]) ? e.children[0] : null;
if (h ? (c = h.codegenNode, i && u && Yc(c, u, n)) : d ? c = _c(n, o(Fl), u ? Sc([u]) : void 0, e.children, "64", void 0, void 0, !0, void 0, !1) : (c = f[0].codegenNode, i && u && Yc(c, u, n), c.isBlock !== !p && (c.isBlock ? (r(Il), r(qc(n.inSSR, c.isComponent))) : r(Gc(n.inSSR, c.isComponent))), c.isBlock = !p, c.isBlock ? (o(Il), o(qc(n.inSSR, c.isComponent))) : o(Gc(n.inSSR, c.isComponent))), l) {
const e = Tc(ru(t.parseResult, [Cc("_cached")]));
e.body = {
type: 21,
body: [kc(["const _memo = (", l.exp, ")"]), kc(["if (_cached", ...(a ? [" && _cached.key === ", a] : []), ` && ${n.helperString(gc)}(_cached, _memo)) return _cached`]), kc(["const _item = ", c]), Cc("_item.memo = _memo"), Cc("return _item")],
loc: yc
}, s.arguments.push(e, Cc("_cache"), Cc(String(n.cached++)));
} else s.arguments.push(Tc(ru(t.parseResult), c, !0));
};
});
});
const Xa = /([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,
eu = /,([^,\}\]]*)(?:,([^,\}\]]*))?$/,
tu = /^\(|\)$/g;
function nu(e, t) {
const n = e.loc,
o = e.content,
r = o.match(Xa);
if (!r) return;
const [, s, i] = r,
l = {
source: ou(n, i.trim(), o.indexOf(i, s.length)),
value: void 0,
key: void 0,
index: void 0
};
let c = s.trim().replace(tu, "").trim();
const a = s.indexOf(c),
u = c.match(eu);
if (u) {
c = c.replace(eu, "").trim();
const e = u[1].trim();
let t;
if (e && (t = o.indexOf(e, a + c.length), l.key = ou(n, e, t)), u[2]) {
const r = u[2].trim();
r && (l.index = ou(n, r, o.indexOf(r, l.key ? t + e.length : a + c.length)));
}
}
return c && (l.value = ou(n, c, a)), l;
}
function ou(e, t, n) {
return Cc(t, !1, Ic(e, n, t.length));
}
function ru({
value: e,
key: t,
index: n
}, o = []) {
return function (e) {
let t = e.length;
for (; t-- && !e[t];);
return e.slice(0, t + 1).map((e, t) => e || Cc("_".repeat(t + 1), !1));
}([e, t, n, ...o]);
}
const su = Cc("undefined", !1),
iu = (e, t) => {
if (1 === e.type && (1 === e.tagType || 3 === e.tagType)) {
const n = jc(e, "slot");
if (n) return t.scopes.vSlot++, () => {
t.scopes.vSlot--;
};
}
},
lu = (e, t, n) => Tc(e, t, !1, !0, t.length ? t[0].loc : n);
function cu(e, t, n = lu) {
t.helper(fc);
const {
children: o,
loc: r
} = e,
s = [],
i = [];
let l = t.scopes.vSlot > 0 || t.scopes.vFor > 0;
const c = jc(e, "slot", !0);
if (c) {
const {
arg: e,
exp: t
} = c;
e && !Ec(e) && (l = !0), s.push(xc(e || Cc("default", !0), n(t, o, r)));
}
let a = !1,
u = !1;
const p = [],
f = new Set();
let d = 0;
for (let g = 0; g < o.length; g++) {
const e = o[g];
let r;
if (!zc(e) || !(r = jc(e, "slot", !0))) {
3 !== e.type && p.push(e);
continue;
}
if (c) break;
a = !0;
const {
children: h,
loc: m
} = e,
{
arg: v = Cc("default", !0),
exp: y
} = r;
let _;
Ec(v) ? _ = v ? v.content : "default" : l = !0;
const b = n(y, h, m);
let S, x, C;
if (S = jc(e, "if")) l = !0, i.push(Nc(S.exp, au(v, b, d++), su));else if (x = jc(e, /^else(-if)?$/, !0)) {
let e,
t = g;
for (; t-- && (e = o[t], 3 === e.type););
if (e && zc(e) && jc(e, "if")) {
o.splice(g, 1), g--;
let e = i[i.length - 1];
for (; 19 === e.alternate.type;) e = e.alternate;
e.alternate = x.exp ? Nc(x.exp, au(v, b, d++), su) : au(v, b, d++);
}
} else if (C = jc(e, "for")) {
l = !0;
const e = C.parseResult || nu(C.exp);
e && i.push(wc(t.helper(Zl), [e.source, Tc(ru(e), au(v, b), !0)]));
} else {
if (_) {
if (f.has(_)) continue;
f.add(_), "default" === _ && (u = !0);
}
s.push(xc(v, b));
}
}
if (!c) {
const e = (e, t) => xc("default", n(e, t, r));
a ? p.length && p.some(e => pu(e)) && (u || s.push(e(void 0, p))) : s.push(e(void 0, o));
}
const h = l ? 2 : uu(e.children) ? 3 : 1;
let m = Sc(s.concat(xc("_", Cc(h + "", !1))), r);
return i.length && (m = wc(t.helper(Ql), [m, bc(i)])), {
slots: m,
hasDynamicSlots: l
};
}
function au(e, t, n) {
const o = [xc("name", e), xc("fn", t)];
return null != n && o.push(xc("key", Cc(String(n), !0))), Sc(o);
}
function uu(e) {
for (let t = 0; t < e.length; t++) {
const n = e[t];
switch (n.type) {
case 1:
if (2 === n.tagType || uu(n.children)) return !0;
break;
case 9:
if (uu(n.branches)) return !0;
break;
case 10:
case 11:
if (uu(n.children)) return !0;
}
}
return !1;
}
function pu(e) {
return 2 !== e.type && 12 !== e.type || (2 === e.type ? !!e.content.trim() : pu(e.content));
}
const fu = new WeakMap(),
du = (e, t) => function () {
if (1 !== (e = t.currentNode).type || 0 !== e.tagType && 1 !== e.tagType) return;
const {
tag: n,
props: o
} = e,
r = 1 === e.tagType;
let s = r ? function (e, t, n = !1) {
let {
tag: o
} = e;
const r = vu(o),
s = Uc(e, "is");
if (s) if (r) {
const e = 6 === s.type ? s.value && Cc(s.value.content, !0) : s.exp;
if (e) return wc(t.helper(Kl), [e]);
} else 6 === s.type && s.value.content.startsWith("vue:") && (o = s.value.content.slice(4));
const i = !r && jc(e, "is");
if (i && i.exp) return wc(t.helper(Kl), [i.exp]);
const l = Oc(o) || t.isBuiltInComponent(o);
if (l) return n || t.helper(l), l;
return t.helper(zl), t.components.add(o), Qc(o, "component");
}(e, t) : `"${n}"`;
const i = M(s) && s.callee === Kl;
let l,
c,
a,
u,
p,
f,
d = 0,
h = i || s === Al || s === Pl || !r && ("svg" === n || "foreignObject" === n);
if (o.length > 0) {
const n = hu(e, t, void 0, r, i);
l = n.props, d = n.patchFlag, p = n.dynamicPropNames;
const o = n.directives;
f = o && o.length ? bc(o.map(e => function (e, t) {
const n = [],
o = fu.get(e);
o ? n.push(t.helperString(o)) : (t.helper(Gl), t.directives.add(e.name), n.push(Qc(e.name, "directive")));
const {
loc: r
} = e;
e.exp && n.push(e.exp);
e.arg && (e.exp || n.push("void 0"), n.push(e.arg));
if (Object.keys(e.modifiers).length) {
e.arg || (e.exp || n.push("void 0"), n.push("void 0"));
const t = Cc("true", !1, r);
n.push(Sc(e.modifiers.map(e => xc(e, t)), r));
}
return bc(n, e.loc);
}(e, t))) : void 0, n.shouldUseBlock && (h = !0);
}
if (e.children.length > 0) {
s === Ml && (h = !0, d |= 1024);
if (r && s !== Al && s !== Ml) {
const {
slots: n,
hasDynamicSlots: o
} = cu(e, t);
c = n, o && (d |= 1024);
} else if (1 === e.children.length && s !== Al) {
const n = e.children[0],
o = n.type,
r = 5 === o || 8 === o;
r && 0 === $a(n, t) && (d |= 1), c = r || 2 === o ? n : e.children;
} else c = e.children;
}
0 !== d && (a = String(d), p && p.length && (u = function (e) {
let t = "[";
for (let n = 0, o = e.length; n < o; n++) t += JSON.stringify(e[n]), n < o - 1 && (t += ", ");
return t + "]";
}(p))), e.codegenNode = _c(t, s, l, c, a, u, f, !!h, !1, r, e.loc);
};
function hu(e, t, n = e.props, o, r, s = !1) {
const {
tag: i,
loc: l,
children: c
} = e;
let a = [];
const u = [],
p = [],
f = c.length > 0;
let d = !1,
h = 0,
m = !1,
g = !1,
v = !1,
y = !1,
_ = !1,
b = !1;
const S = [],
C = e => {
a.length && (u.push(Sc(mu(a), l)), a = []), e && u.push(e);
},
k = ({
key: e,
value: n
}) => {
if (Ec(e)) {
const s = e.content,
i = x(s);
if (!i || o && !r || "onclick" === s.toLowerCase() || "onUpdate:modelValue" === s || U(s) || (y = !0), i && U(s) && (b = !0), 20 === n.type || (4 === n.type || 8 === n.type) && $a(n, t) > 0) return;
"ref" === s ? m = !0 : "class" === s ? g = !0 : "style" === s ? v = !0 : "key" === s || S.includes(s) || S.push(s), !o || "class" !== s && "style" !== s || S.includes(s) || S.push(s);
} else _ = !0;
};
for (let x = 0; x < n.length; x++) {
const r = n[x];
if (6 === r.type) {
const {
loc: e,
name: n,
value: o
} = r;
let s = !0;
if ("ref" === n && (m = !0, t.scopes.vFor > 0 && a.push(xc(Cc("ref_for", !0), Cc("true")))), "is" === n && (vu(i) || o && o.content.startsWith("vue:"))) continue;
a.push(xc(Cc(n, !0, Ic(e, 0, n.length)), Cc(o ? o.content : "", s, o ? o.loc : e)));
} else {
const {
name: n,
arg: c,
exp: h,
loc: m
} = r,
g = "bind" === n,
v = "on" === n;
if ("slot" === n) continue;
if ("once" === n || "memo" === n) continue;
if ("is" === n || g && Dc(c, "is") && vu(i)) continue;
if (v && s) continue;
if ((g && Dc(c, "key") || v && f && Dc(c, "vue:before-update")) && (d = !0), g && Dc(c, "ref") && t.scopes.vFor > 0 && a.push(xc(Cc("ref_for", !0), Cc("true"))), !c && (g || v)) {
_ = !0, h && (g ? (C(), u.push(h)) : C({
type: 14,
loc: m,
callee: t.helper(sc),
arguments: o ? [h] : [h, "true"]
}));
continue;
}
const y = t.directiveTransforms[n];
if (y) {
const {
props: n,
needRuntime: o
} = y(r, e, t);
!s && n.forEach(k), v && c && !Ec(c) ? C(Sc(n, l)) : a.push(...n), o && (p.push(r), P(o) && fu.set(r, o));
} else D(n) || (p.push(r), f && (d = !0));
}
}
let w;
if (u.length ? (C(), w = u.length > 1 ? wc(t.helper(ec), u, l) : u[0]) : a.length && (w = Sc(mu(a), l)), _ ? h |= 16 : (g && !o && (h |= 2), v && !o && (h |= 4), S.length && (h |= 8), y && (h |= 32)), d || 0 !== h && 32 !== h || !(m || b || p.length > 0) || (h |= 512), !t.inSSR && w) switch (w.type) {
case 15:
let e = -1,
n = -1,
o = !1;
for (let t = 0; t < w.properties.length; t++) {
const r = w.properties[t].key;
Ec(r) ? "class" === r.content ? e = t : "style" === r.content && (n = t) : r.isHandlerKey || (o = !0);
}
const r = w.properties[e],
s = w.properties[n];
o ? w = wc(t.helper(oc), [w]) : (r && !Ec(r.value) && (r.value = wc(t.helper(tc), [r.value])), s && (v || 4 === s.value.type && "[" === s.value.content.trim()[0] || 17 === s.value.type) && (s.value = wc(t.helper(nc), [s.value])));
break;
case 14:
break;
default:
w = wc(t.helper(oc), [wc(t.helper(rc), [w])]);
}
return {
props: w,
directives: p,
patchFlag: h,
dynamicPropNames: S,
shouldUseBlock: d
};
}
function mu(e) {
const t = new Map(),
n = [];
for (let o = 0; o < e.length; o++) {
const r = e[o];
if (8 === r.key.type || !r.key.isStatic) {
n.push(r);
continue;
}
const s = r.key.content,
i = t.get(s);
i ? ("style" === s || "class" === s || x(s)) && gu(i, r) : (t.set(s, r), n.push(r));
}
return n;
}
function gu(e, t) {
17 === e.value.type ? e.value.elements.push(t.value) : e.value = bc([e.value, t.value], e.loc);
}
function vu(e) {
return "component" === e || "Component" === e;
}
const yu = (e, t) => {
if (Kc(e)) {
const {
children: n,
loc: o
} = e,
{
slotName: r,
slotProps: s
} = function (e, t) {
let n,
o = '"default"';
const r = [];
for (let s = 0; s < e.props.length; s++) {
const t = e.props[s];
6 === t.type ? t.value && ("name" === t.name ? o = JSON.stringify(t.value.content) : (t.name = z(t.name), r.push(t))) : "bind" === t.name && Dc(t.arg, "name") ? t.exp && (o = t.exp) : ("bind" === t.name && t.arg && Ec(t.arg) && (t.arg.content = z(t.arg.content)), r.push(t));
}
if (r.length > 0) {
const {
props: o,
directives: s
} = hu(e, t, r, !1, !1);
n = o;
}
return {
slotName: o,
slotProps: n
};
}(e, t),
i = [t.prefixIdentifiers ? "_ctx.$slots" : "$slots", r, "{}", "undefined", "true"];
let l = 2;
s && (i[2] = s, l = 3), n.length && (i[3] = Tc([], n, !1, !1, o), l = 4), t.scopeId && !t.slotted && (l = 5), i.splice(l), e.codegenNode = wc(t.helper(Yl), i, o);
}
};
const _u = /^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,
bu = (e, t, n, o) => {
const {
loc: r,
modifiers: s,
arg: i
} = e;
let l;
if (4 === i.type) {
if (i.isStatic) {
let e = i.content;
e.startsWith("vue:") && (e = `vnode-${e.slice(4)}`);
l = Cc(1 === t.tagType || e.startsWith("vnode") || !/[A-Z]/.test(e) ? J(z(e)) : `on:${e}`, !0, i.loc);
} else l = kc([`${n.helperString(cc)}(`, i, ")"]);
} else l = i, l.children.unshift(`${n.helperString(cc)}(`), l.children.push(")");
let c = e.exp;
c && !c.content.trim() && (c = void 0);
let a = n.cacheHandlers && !c && !n.inVOnce;
if (c) {
const e = Vc(c.content),
t = !(e || _u.test(c.content)),
n = c.content.includes(";");
(t || a && e) && (c = kc([`${t ? "$event" : "(...args)"} => ${n ? "{" : "("}`, c, n ? "}" : ")"]));
}
let u = {
props: [xc(l, c || Cc("() => {}", !1, r))]
};
return o && (u = o(u)), a && (u.props[0].value = n.cache(u.props[0].value)), u.props.forEach(e => e.key.isHandlerKey = !0), u;
},
Su = (e, t, n) => {
const {
exp: o,
modifiers: r,
loc: s
} = e,
i = e.arg;
return 4 !== i.type ? (i.children.unshift("("), i.children.push(') || ""')) : i.isStatic || (i.content = `${i.content} || ""`), r.includes("camel") && (4 === i.type ? i.content = i.isStatic ? z(i.content) : `${n.helperString(ic)}(${i.content})` : (i.children.unshift(`${n.helperString(ic)}(`), i.children.push(")"))), n.inSSR || (r.includes("prop") && xu(i, "."), r.includes("attr") && xu(i, "^")), !o || 4 === o.type && !o.content.trim() ? {
props: [xc(i, Cc("", !0, s))]
} : {
props: [xc(i, o)]
};
},
xu = (e, t) => {
4 === e.type ? e.content = e.isStatic ? t + e.content : `\`${t}\${${e.content}}\`` : (e.children.unshift(`'${t}' + (`), e.children.push(")"));
},
Cu = (e, t) => {
if (0 === e.type || 1 === e.type || 11 === e.type || 10 === e.type) return () => {
const n = e.children;
let o,
r = !1;
for (let e = 0; e < n.length; e++) {
const t = n[e];
if (Hc(t)) {
r = !0;
for (let r = e + 1; r < n.length; r++) {
const s = n[r];
if (!Hc(s)) {
o = void 0;
break;
}
o || (o = n[e] = kc([t], t.loc)), o.children.push(" + ", s), n.splice(r, 1), r--;
}
}
}
if (r && (1 !== n.length || 0 !== e.type && (1 !== e.type || 0 !== e.tagType || e.props.find(e => 7 === e.type && !t.directiveTransforms[e.name])))) for (let e = 0; e < n.length; e++) {
const o = n[e];
if (Hc(o) || 8 === o.type) {
const r = [];
2 === o.type && " " === o.content || r.push(o), t.ssr || 0 !== $a(o, t) || r.push("1"), n[e] = {
type: 12,
content: o,
loc: o.loc,
codegenNode: wc(t.helper(Hl), r)
};
}
}
};
},
ku = new WeakSet(),
wu = (e, t) => {
if (1 === e.type && jc(e, "once", !0)) {
if (ku.has(e) || t.inVOnce) return;
return ku.add(e), t.inVOnce = !0, t.helper(ac), () => {
t.inVOnce = !1;
const e = t.currentNode;
e.codegenNode && (e.codegenNode = t.cache(e.codegenNode, !0));
};
}
},
Tu = (e, t, n) => {
const {
exp: o,
arg: r
} = e;
if (!o) return Nu();
const s = o.loc.source,
i = 4 === o.type ? o.content : s;
if (!i.trim() || !Vc(i)) return Nu();
const l = r || Cc("modelValue", !0),
c = r ? Ec(r) ? `onUpdate:${r.content}` : kc(['"onUpdate:" + ', r]) : "onUpdate:modelValue";
let a;
a = kc([`${n.isTS ? "($event: any)" : "$event"} => ((`, o, ") = $event)"]);
const u = [xc(l, e.exp), xc(c, a)];
if (e.modifiers.length && 1 === t.tagType) {
const t = e.modifiers.map(e => (Fc(e) ? e : JSON.stringify(e)) + ": true").join(", "),
n = r ? Ec(r) ? `${r.content}Modifiers` : kc([r, ' + "Modifiers"']) : "modelModifiers";
u.push(xc(n, Cc(`{ ${t} }`, !1, e.loc, 2)));
}
return Nu(u);
};
function Nu(e = []) {
return {
props: e
};
}
const Eu = new WeakSet(),
$u = (e, t) => {
if (1 === e.type) {
const n = jc(e, "memo");
if (!n || Eu.has(e)) return;
return Eu.add(e), () => {
const o = e.codegenNode || t.currentNode.codegenNode;
o && 13 === o.type && (1 !== e.tagType && Xc(o, t), e.codegenNode = wc(t.helper(mc), [n.exp, Tc(void 0, o), "_cache", String(t.cached++)]));
};
}
};
function Ou(e, t = {}) {
const n = t.onError || $l,
o = "module" === t.mode;
!0 === t.prefixIdentifiers ? n(Rl(46)) : o && n(Rl(47));
t.cacheHandlers && n(Rl(48)), t.scopeId && !o && n(Rl(49));
const r = A(e) ? oa(e, t) : e,
[s, i] = [[wu, qa, $u, Qa, yu, du, iu, Cu], {
on: bu,
bind: Su,
model: Tu
}];
return Va(r, k({}, t, {
prefixIdentifiers: false,
nodeTransforms: [...s, ...(t.nodeTransforms || [])],
directiveTransforms: k({}, i, t.directiveTransforms || {})
})), ja(r, k({}, t, {
prefixIdentifiers: false
}));
}
const Ru = Symbol(""),
Fu = Symbol(""),
Au = Symbol(""),
Pu = Symbol(""),
Mu = Symbol(""),
Vu = Symbol(""),
Iu = Symbol(""),
Bu = Symbol(""),
Lu = Symbol(""),
ju = Symbol("");
var Uu;
let Du;
Uu = {
[Ru]: "vModelRadio",
[Fu]: "vModelCheckbox",
[Au]: "vModelText",
[Pu]: "vModelSelect",
[Mu]: "vModelDynamic",
[Vu]: "withModifiers",
[Iu]: "withKeys",
[Bu]: "vShow",
[Lu]: "Transition",
[ju]: "TransitionGroup"
}, Object.getOwnPropertySymbols(Uu).forEach(e => {
vc[e] = Uu[e];
});
const Hu = e("style,iframe,script,noscript", !0),
Wu = {
isVoidTag: f,
isNativeTag: e => u(e) || p(e),
isPreTag: e => "pre" === e,
decodeEntities: function (e, t = !1) {
return Du || (Du = document.createElement("div")), t ? (Du.innerHTML = `<div foo="${e.replace(/"/g, """)}">`, Du.children[0].getAttribute("foo")) : (Du.innerHTML = e, Du.textContent);
},
isBuiltInComponent: e => $c(e, "Transition") ? Lu : $c(e, "TransitionGroup") ? ju : void 0,
getNamespace(e, t) {
let n = t ? t.ns : 0;
if (t && 2 === n) {
if ("annotation-xml" === t.tag) {
if ("svg" === e) return 1;
t.props.some(e => 6 === e.type && "encoding" === e.name && null != e.value && ("text/html" === e.value.content || "application/xhtml+xml" === e.value.content)) && (n = 0);
} else /^m(?:[ions]|text)$/.test(t.tag) && "mglyph" !== e && "malignmark" !== e && (n = 0);
} else t && 1 === n && ("foreignObject" !== t.tag && "desc" !== t.tag && "title" !== t.tag || (n = 0));
if (0 === n) {
if ("svg" === e) return 1;
if ("math" === e) return 2;
}
return n;
},
getTextMode({
tag: e,
ns: t
}) {
if (0 === t) {
if ("textarea" === e || "title" === e) return 1;
if (Hu(e)) return 2;
}
return 0;
}
},
zu = (e, t) => {
const n = l(e);
return Cc(JSON.stringify(n), !1, t, 3);
};
const Ku = e("passive,once,capture"),
Gu = e("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),
qu = e("left,right"),
Ju = e("onkeyup,onkeydown,onkeypress", !0),
Zu = (e, t) => Ec(e) && "onclick" === e.content.toLowerCase() ? Cc(t, !0) : 4 !== e.type ? kc(["(", e, `) === "onClick" ? "${t}" : (`, e, ")"]) : e,
Yu = (e, t) => {
1 !== e.type || 0 !== e.tagType || "script" !== e.tag && "style" !== e.tag || t.removeNode();
},
Qu = [e => {
1 === e.type && e.props.forEach((t, n) => {
6 === t.type && "style" === t.name && t.value && (e.props[n] = {
type: 7,
name: "bind",
arg: Cc("style", !0, t.loc),
exp: zu(t.value.content, t.loc),
modifiers: [],
loc: t.loc
});
});
}],
Xu = {
cloak: () => ({
props: []
}),
html: (e, t, n) => {
const {
exp: o,
loc: r
} = e;
return t.children.length && (t.children.length = 0), {
props: [xc(Cc("innerHTML", !0, r), o || Cc("", !0))]
};
},
text: (e, t, n) => {
const {
exp: o,
loc: r
} = e;
return t.children.length && (t.children.length = 0), {
props: [xc(Cc("textContent", !0), o ? $a(o, n) > 0 ? o : wc(n.helperString(Xl), [o], r) : Cc("", !0))]
};
},
model: (e, t, n) => {
const o = Tu(e, t, n);
if (!o.props.length || 1 === t.tagType) return o;
const {
tag: r
} = t,
s = n.isCustomElement(r);
if ("input" === r || "textarea" === r || "select" === r || s) {
let e = Au,
i = !1;
if ("input" === r || s) {
const n = Uc(t, "type");
if (n) {
if (7 === n.type) e = Mu;else if (n.value) switch (n.value.content) {
case "radio":
e = Ru;
break;
case "checkbox":
e = Fu;
break;
case "file":
i = !0;
}
} else (function (e) {
return e.props.some(e => !(7 !== e.type || "bind" !== e.name || e.arg && 4 === e.arg.type && e.arg.isStatic));
})(t) && (e = Mu);
} else "select" === r && (e = Pu);
i || (o.needRuntime = n.helper(e));
}
return o.props = o.props.filter(e => !(4 === e.key.type && "modelValue" === e.key.content)), o;
},
on: (e, t, n) => bu(e, t, n, t => {
const {
modifiers: o
} = e;
if (!o.length) return t;
let {
key: r,
value: s
} = t.props[0];
const {
keyModifiers: i,
nonKeyModifiers: l,
eventOptionModifiers: c
} = ((e, t, n, o) => {
const r = [],
s = [],
i = [];
for (let l = 0; l < t.length; l++) {
const n = t[l];
Ku(n) ? i.push(n) : qu(n) ? Ec(e) ? Ju(e.content) ? r.push(n) : s.push(n) : (r.push(n), s.push(n)) : Gu(n) ? s.push(n) : r.push(n);
}
return {
keyModifiers: r,
nonKeyModifiers: s,
eventOptionModifiers: i
};
})(r, o);
if (l.includes("right") && (r = Zu(r, "onContextmenu")), l.includes("middle") && (r = Zu(r, "onMouseup")), l.length && (s = wc(n.helper(Vu), [s, JSON.stringify(l)])), !i.length || Ec(r) && !Ju(r.content) || (s = wc(n.helper(Iu), [s, JSON.stringify(i)])), c.length) {
const e = c.map(q).join("");
r = Ec(r) ? Cc(`${r.content}${e}`, !0) : kc(["(", r, `) + "${e}"`]);
}
return {
props: [xc(r, s)]
};
}),
show: (e, t, n) => ({
props: [],
needRuntime: n.helper(Bu)
})
};
const ep = Object.create(null);
function tp(e, t) {
if (!A(e)) {
if (!e.nodeType) return _;
e = e.innerHTML;
}
const n = e,
o = ep[n];
if (o) return o;
if ("#" === e[0]) {
const t = document.querySelector(e);
e = t ? t.innerHTML : "";
}
const r = k({
hoistStatic: !0,
onError: void 0,
onWarn: _
}, t);
r.isCustomElement || "undefined" == typeof customElements || (r.isCustomElement = e => !!customElements.get(e));
const {
code: s
} = function (e, t = {}) {
return Ou(e, k({}, Wu, t, {
nodeTransforms: [Yu, ...Qu, ...(t.nodeTransforms || [])],
directiveTransforms: k({}, Xu, t.directiveTransforms || {}),
transformHoist: null
}));
}(e, r),
i = new Function("Vue", s)(El);
return i._rc = !0, ep[n] = i;
}
$s(tp);
// origin-end
exports.BitrixVue = BitrixVue;
exports.useObservable = useObservable;
exports.BaseTransition = oo;
exports.Comment = Hr;
exports.EffectScope = ne;
exports.Fragment = Ur;
exports.KeepAlive = go;
exports.ReactiveEffect = ge;
exports.Static = Wr;
exports.Suspense = Bn;
exports.Teleport = jr;
exports.Text = Dr;
exports.Transition = $i;
exports.TransitionGroup = Gi;
exports.VueElement = ki;
exports.callWithAsyncErrorHandling = Qt;
exports.callWithErrorHandling = Yt;
exports.camelize = z;
exports.capitalize = q;
exports.cloneVNode = as;
exports.compatUtils = oi;
exports.compile = tp;
exports.computed = Is;
exports.createApp = kl;
exports.createBlock = Xr;
exports.createCommentVNode = fs;
exports.createElementBlock = Qr;
exports.createElementVNode = is;
exports.createHydrationRenderer = Fr;
exports.createPropsRestProxy = Ks;
exports.createRenderer = Rr;
exports.createSSRApp = wl;
exports.createSlots = zo;
exports.createStaticVNode = ps;
exports.createTextVNode = us;
exports.createVNode = ls;
exports.customRef = Ut;
exports.defineAsyncComponent = fo;
exports.defineComponent = uo;
exports.defineCustomElement = Si;
exports.defineEmits = Ls;
exports.defineExpose = js;
exports.defineProps = Bs;
exports.defineSSRCustomElement = xi;
exports.effect = ye;
exports.effectScope = oe;
exports.getCurrentInstance = Ss;
exports.getCurrentScope = se;
exports.getTransitionRawChildren = ao;
exports.guardReactiveProps = cs;
exports.h = qs;
exports.handleError = Xt;
exports.hydrate = Cl;
exports.initCustomFormatter = Ys;
exports.initDirectivesForSSR = Nl;
exports.inject = zn;
exports.isMemoSame = Xs;
exports.isProxy = kt;
exports.isReactive = St;
exports.isReadonly = xt;
exports.isRef = Rt;
exports.isRuntimeOnly = Os;
exports.isShallow = Ct;
exports.isVNode = es;
exports.markRaw = Tt;
exports.mergeDefaults = zs;
exports.mergeProps = gs;
exports.nextTick = un;
exports.normalizeClass = c;
exports.normalizeProps = a;
exports.normalizeStyle = r;
exports.onActivated = yo;
exports.onBeforeMount = To;
exports.onBeforeUnmount = Oo;
exports.onBeforeUpdate = Eo;
exports.onDeactivated = _o;
exports.onErrorCaptured = Mo;
exports.onMounted = No;
exports.onRenderTracked = Po;
exports.onRenderTriggered = Ao;
exports.onScopeDispose = ie;
exports.onServerPrefetch = Fo;
exports.onUnmounted = Ro;
exports.onUpdated = $o;
exports.openBlock = Gr;
exports.popScopeId = $n;
exports.provide = Wn;
exports.proxyRefs = Lt;
exports.pushScopeId = En;
exports.queuePostFlushCb = dn;
exports.reactive = gt;
exports.readonly = yt;
exports.ref = Ft;
exports.registerRuntimeCompiler = $s;
exports.render = xl;
exports.renderList = Wo;
exports.renderSlot = Ko;
exports.resolveComponent = Bo;
exports.resolveDirective = Uo;
exports.resolveDynamicComponent = jo;
exports.resolveFilter = ni;
exports.resolveTransitionHooks = so;
exports.setBlockTracking = Zr;
exports.setDevtoolsHook = Sn;
exports.setTransitionHooks = co;
exports.shallowReactive = vt;
exports.shallowReadonly = _t;
exports.shallowRef = At;
exports.ssrContextKey = Js;
exports.ssrUtils = ti;
exports.stop = _e;
exports.toDisplayString = m;
exports.toHandlerKey = J;
exports.toHandlers = qo;
exports.toRaw = wt;
exports.toRef = Wt;
exports.toRefs = Dt;
exports.transformVNodeArgs = ns;
exports.triggerRef = Vt;
exports.unref = It;
exports.useAttrs = Hs;
exports.useCssModule = wi;
exports.useCssVars = Ti;
exports.useSSRContext = Zs;
exports.useSlots = Ds;
exports.useTransitionState = to;
exports.vModelCheckbox = tl;
exports.vModelDynamic = cl;
exports.vModelRadio = ol;
exports.vModelSelect = rl;
exports.vModelText = el;
exports.vShow = ml;
exports.version = ei;
exports.warn = qt;
exports.watch = Zn;
exports.watchEffect = Kn;
exports.watchPostEffect = Gn;
exports.watchSyncEffect = qn;
exports.withAsyncContext = Gs;
exports.withCtx = Rn;
exports.withDefaults = Us;
exports.withDirectives = Vo;
exports.withKeys = hl;
exports.withMemo = Qs;
exports.withModifiers = fl;
exports.withScopeId = On;
}((this.BX.Vue3 = this.BX.Vue3 || {}),BX.Event,BX,BX,BX,BX.Vue3));
})();