Files
recipes/cookbook/static/vue3/assets/main-CnbWi3Kc.js
2024-03-28 09:43:03 -05:00

1742 lines
1.2 MiB
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
var Fe=Object.defineProperty;var Le=(e,t,r)=>t in e?Fe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Ae=(e,t,r)=>(Le(e,typeof t!="symbol"?t+"":t,r),r);/**
* @vue/shared v3.4.19
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function makeMap(e,t){const r=new Set(e.split(","));return t?o=>r.has(o.toLowerCase()):o=>r.has(o)}const EMPTY_OBJ={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,isOn$1=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),isModelListener=e=>e.startsWith("onUpdate:"),extend$1=Object.assign,remove=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},hasOwnProperty$2=Object.prototype.hasOwnProperty,hasOwn=(e,t)=>hasOwnProperty$2.call(e,t),isArray$1=Array.isArray,isMap=e=>toTypeString(e)==="[object Map]",isSet=e=>toTypeString(e)==="[object Set]",isDate$1=e=>toTypeString(e)==="[object Date]",isRegExp=e=>toTypeString(e)==="[object RegExp]",isFunction=e=>typeof e=="function",isString$1=e=>typeof e=="string",isSymbol=e=>typeof e=="symbol",isObject$1=e=>e!==null&&typeof e=="object",isPromise=e=>(isObject$1(e)||isFunction(e))&&isFunction(e.then)&&isFunction(e.catch),objectToString=Object.prototype.toString,toTypeString=e=>objectToString.call(e),toRawType=e=>toTypeString(e).slice(8,-1),isPlainObject$1=e=>toTypeString(e)==="[object Object]",isIntegerKey=e=>isString$1(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,isReservedProp=makeMap(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),cacheStringFunction=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},camelizeRE=/-(\w)/g,camelize=cacheStringFunction(e=>e.replace(camelizeRE,(t,r)=>r?r.toUpperCase():"")),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction(e=>e.replace(hyphenateRE,"-$1").toLowerCase()),capitalize=cacheStringFunction(e=>e.charAt(0).toUpperCase()+e.slice(1)),toHandlerKey=cacheStringFunction(e=>e?`on${capitalize(e)}`:""),hasChanged=(e,t)=>!Object.is(e,t),invokeArrayFns=(e,t)=>{for(let r=0;r<e.length;r++)e[r](t)},def=(e,t,r)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},looseToNumber=e=>{const t=parseFloat(e);return isNaN(t)?e:t},toNumber=e=>{const t=isString$1(e)?Number(e):NaN;return isNaN(t)?e:t};let _globalThis;const getGlobalThis=()=>_globalThis||(_globalThis=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),GLOBALS_ALLOWED="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error",isGloballyAllowed=makeMap(GLOBALS_ALLOWED);function normalizeStyle(e){if(isArray$1(e)){const t={};for(let r=0;r<e.length;r++){const o=e[r],i=isString$1(o)?parseStringStyle(o):normalizeStyle(o);if(i)for(const c in i)t[c]=i[c]}return t}else if(isString$1(e)||isObject$1(e))return e}const listDelimiterRE=/;(?![^(]*\))/g,propertyDelimiterRE=/:([^]+)/,styleCommentRE=/\/\*[^]*?\*\//g;function parseStringStyle(e){const t={};return e.replace(styleCommentRE,"").split(listDelimiterRE).forEach(r=>{if(r){const o=r.split(propertyDelimiterRE);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function normalizeClass(e){let t="";if(isString$1(e))t=e;else if(isArray$1(e))for(let r=0;r<e.length;r++){const o=normalizeClass(e[r]);o&&(t+=o+" ")}else if(isObject$1(e))for(const r in e)e[r]&&(t+=r+" ");return t.trim()}function normalizeProps(e){if(!e)return null;let{class:t,style:r}=e;return t&&!isString$1(t)&&(e.class=normalizeClass(t)),r&&(e.style=normalizeStyle(r)),e}const specialBooleanAttrs="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",isSpecialBooleanAttr=makeMap(specialBooleanAttrs);function includeBooleanAttr(e){return!!e||e===""}function looseCompareArrays(e,t){if(e.length!==t.length)return!1;let r=!0;for(let o=0;r&&o<e.length;o++)r=looseEqual(e[o],t[o]);return r}function looseEqual(e,t){if(e===t)return!0;let r=isDate$1(e),o=isDate$1(t);if(r||o)return r&&o?e.getTime()===t.getTime():!1;if(r=isSymbol(e),o=isSymbol(t),r||o)return e===t;if(r=isArray$1(e),o=isArray$1(t),r||o)return r&&o?looseCompareArrays(e,t):!1;if(r=isObject$1(e),o=isObject$1(t),r||o){if(!r||!o)return!1;const i=Object.keys(e).length,c=Object.keys(t).length;if(i!==c)return!1;for(const a in e){const u=e.hasOwnProperty(a),d=t.hasOwnProperty(a);if(u&&!d||!u&&d||!looseEqual(e[a],t[a]))return!1}}return String(e)===String(t)}function looseIndexOf(e,t){return e.findIndex(r=>looseEqual(r,t))}const toDisplayString=e=>isString$1(e)?e:e==null?"":isArray$1(e)||isObject$1(e)&&(e.toString===objectToString||!isFunction(e.toString))?JSON.stringify(e,replacer,2):String(e),replacer=(e,t)=>t&&t.__v_isRef?replacer(e,t.value):isMap(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[o,i],c)=>(r[stringifySymbol(o,c)+" =>"]=i,r),{})}:isSet(t)?{[`Set(${t.size})`]:[...t.values()].map(r=>stringifySymbol(r))}:isSymbol(t)?stringifySymbol(t):isObject$1(t)&&!isArray$1(t)&&!isPlainObject$1(t)?String(t):t,stringifySymbol=(e,t="")=>{var r;return isSymbol(e)?`Symbol(${(r=e.description)!=null?r:t})`:e};/**
* @vue/reactivity v3.4.19
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let activeEffectScope;class EffectScope{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=activeEffectScope,!t&&activeEffectScope&&(this.index=(activeEffectScope.scopes||(activeEffectScope.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const r=activeEffectScope;try{return activeEffectScope=this,t()}finally{activeEffectScope=r}}}on(){activeEffectScope=this}off(){activeEffectScope=this.parent}stop(t){if(this._active){let r,o;for(r=0,o=this.effects.length;r<o;r++)this.effects[r].stop();for(r=0,o=this.cleanups.length;r<o;r++)this.cleanups[r]();if(this.scopes)for(r=0,o=this.scopes.length;r<o;r++)this.scopes[r].stop(!0);if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this._active=!1}}}function effectScope(e){return new EffectScope(e)}function recordEffectScope(e,t=activeEffectScope){t&&t.active&&t.effects.push(e)}function getCurrentScope(){return activeEffectScope}function onScopeDispose(e){activeEffectScope&&activeEffectScope.cleanups.push(e)}let activeEffect;class ReactiveEffect{constructor(t,r,o,i){this.fn=t,this.trigger=r,this.scheduler=o,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,recordEffectScope(this,i)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,pauseTracking();for(let t=0;t<this._depsLength;t++){const r=this.deps[t];if(r.computed&&(triggerComputed(r.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),resetTracking()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=shouldTrack,r=activeEffect;try{return shouldTrack=!0,activeEffect=this,this._runnings++,preCleanupEffect(this),this.fn()}finally{postCleanupEffect(this),this._runnings--,activeEffect=r,shouldTrack=t}}stop(){var t;this.active&&(preCleanupEffect(this),postCleanupEffect(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function triggerComputed(e){return e.value}function preCleanupEffect(e){e._trackId++,e._depsLength=0}function postCleanupEffect(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)cleanupDepEffect(e.deps[t],e);e.deps.length=e._depsLength}}function cleanupDepEffect(e,t){const r=e.get(t);r!==void 0&&t._trackId!==r&&(e.delete(t),e.size===0&&e.cleanup())}function effect(e,t){e.effect instanceof ReactiveEffect&&(e=e.effect.fn);const r=new ReactiveEffect(e,NOOP,()=>{r.dirty&&r.run()});t&&(extend$1(r,t),t.scope&&recordEffectScope(r,t.scope)),(!t||!t.lazy)&&r.run();const o=r.run.bind(r);return o.effect=r,o}function stop(e){e.effect.stop()}let shouldTrack=!0,pauseScheduleStack=0;const trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){const e=trackStack.pop();shouldTrack=e===void 0?!0:e}function pauseScheduling(){pauseScheduleStack++}function resetScheduling(){for(pauseScheduleStack--;!pauseScheduleStack&&queueEffectSchedulers.length;)queueEffectSchedulers.shift()()}function trackEffect(e,t,r){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const o=e.deps[e._depsLength];o!==t?(o&&cleanupDepEffect(o,e),e.deps[e._depsLength++]=t):e._depsLength++}}const queueEffectSchedulers=[];function triggerEffects(e,t,r){pauseScheduling();for(const o of e.keys()){let i;o._dirtyLevel<t&&(i??(i=e.get(o)===o._trackId))&&(o._shouldSchedule||(o._shouldSchedule=o._dirtyLevel===0),o._dirtyLevel=t),o._shouldSchedule&&(i??(i=e.get(o)===o._trackId))&&(o.trigger(),(!o._runnings||o.allowRecurse)&&o._dirtyLevel!==2&&(o._shouldSchedule=!1,o.scheduler&&queueEffectSchedulers.push(o.scheduler)))}resetScheduling()}const createDep=(e,t)=>{const r=new Map;return r.cleanup=e,r.computed=t,r},targetMap=new WeakMap,ITERATE_KEY=Symbol(""),MAP_KEY_ITERATE_KEY=Symbol("");function track(e,t,r){if(shouldTrack&&activeEffect){let o=targetMap.get(e);o||targetMap.set(e,o=new Map);let i=o.get(r);i||o.set(r,i=createDep(()=>o.delete(r))),trackEffect(activeEffect,i)}}function trigger(e,t,r,o,i,c){const a=targetMap.get(e);if(!a)return;let u=[];if(t==="clear")u=[...a.values()];else if(r==="length"&&isArray$1(e)){const d=Number(o);a.forEach((f,m)=>{(m==="length"||!isSymbol(m)&&m>=d)&&u.push(f)})}else switch(r!==void 0&&u.push(a.get(r)),t){case"add":isArray$1(e)?isIntegerKey(r)&&u.push(a.get("length")):(u.push(a.get(ITERATE_KEY)),isMap(e)&&u.push(a.get(MAP_KEY_ITERATE_KEY)));break;case"delete":isArray$1(e)||(u.push(a.get(ITERATE_KEY)),isMap(e)&&u.push(a.get(MAP_KEY_ITERATE_KEY)));break;case"set":isMap(e)&&u.push(a.get(ITERATE_KEY));break}pauseScheduling();for(const d of u)d&&triggerEffects(d,4);resetScheduling()}function getDepFromReactive(e,t){var r;return(r=targetMap.get(e))==null?void 0:r.get(t)}const isNonTrackableKeys=makeMap("__proto__,__v_isRef,__isVue"),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(isSymbol)),arrayInstrumentations=createArrayInstrumentations();function createArrayInstrumentations(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...r){const o=toRaw(this);for(let c=0,a=this.length;c<a;c++)track(o,"get",c+"");const i=o[t](...r);return i===-1||i===!1?o[t](...r.map(toRaw)):i}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...r){pauseTracking(),pauseScheduling();const o=toRaw(this)[t].apply(this,r);return resetScheduling(),resetTracking(),o}}),e}function hasOwnProperty$1(e){const t=toRaw(this);return track(t,"has",e),t.hasOwnProperty(e)}class BaseReactiveHandler{constructor(t=!1,r=!1){this._isReadonly=t,this._shallow=r}get(t,r,o){const i=this._isReadonly,c=this._shallow;if(r==="__v_isReactive")return!i;if(r==="__v_isReadonly")return i;if(r==="__v_isShallow")return c;if(r==="__v_raw")return o===(i?c?shallowReadonlyMap:readonlyMap:c?shallowReactiveMap:reactiveMap).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const a=isArray$1(t);if(!i){if(a&&hasOwn(arrayInstrumentations,r))return Reflect.get(arrayInstrumentations,r,o);if(r==="hasOwnProperty")return hasOwnProperty$1}const u=Reflect.get(t,r,o);return(isSymbol(r)?builtInSymbols.has(r):isNonTrackableKeys(r))||(i||track(t,"get",r),c)?u:isRef(u)?a&&isIntegerKey(r)?u:u.value:isObject$1(u)?i?readonly(u):reactive(u):u}}class MutableReactiveHandler extends BaseReactiveHandler{constructor(t=!1){super(!1,t)}set(t,r,o,i){let c=t[r];if(!this._shallow){const d=isReadonly(c);if(!isShallow(o)&&!isReadonly(o)&&(c=toRaw(c),o=toRaw(o)),!isArray$1(t)&&isRef(c)&&!isRef(o))return d?!1:(c.value=o,!0)}const a=isArray$1(t)&&isIntegerKey(r)?Number(r)<t.length:hasOwn(t,r),u=Reflect.set(t,r,o,i);return t===toRaw(i)&&(a?hasChanged(o,c)&&trigger(t,"set",r,o):trigger(t,"add",r,o)),u}deleteProperty(t,r){const o=hasOwn(t,r);t[r];const i=Reflect.deleteProperty(t,r);return i&&o&&trigger(t,"delete",r,void 0),i}has(t,r){const o=Reflect.has(t,r);return(!isSymbol(r)||!builtInSymbols.has(r))&&track(t,"has",r),o}ownKeys(t){return track(t,"iterate",isArray$1(t)?"length":ITERATE_KEY),Reflect.ownKeys(t)}}class ReadonlyReactiveHandler extends BaseReactiveHandler{constructor(t=!1){super(!0,t)}set(t,r){return!0}deleteProperty(t,r){return!0}}const mutableHandlers=new MutableReactiveHandler,readonlyHandlers=new ReadonlyReactiveHandler,shallowReactiveHandlers=new MutableReactiveHandler(!0),shallowReadonlyHandlers=new ReadonlyReactiveHandler(!0),toShallow=e=>e,getProto=e=>Reflect.getPrototypeOf(e);function get(e,t,r=!1,o=!1){e=e.__v_raw;const i=toRaw(e),c=toRaw(t);r||(hasChanged(t,c)&&track(i,"get",t),track(i,"get",c));const{has:a}=getProto(i),u=o?toShallow:r?toReadonly:toReactive;if(a.call(i,t))return u(e.get(t));if(a.call(i,c))return u(e.get(c));e!==i&&e.get(t)}function has$1(e,t=!1){const r=this.__v_raw,o=toRaw(r),i=toRaw(e);return t||(hasChanged(e,i)&&track(o,"has",e),track(o,"has",i)),e===i?r.has(e):r.has(e)||r.has(i)}function size(e,t=!1){return e=e.__v_raw,!t&&track(toRaw(e),"iterate",ITERATE_KEY),Reflect.get(e,"size",e)}function add(e){e=toRaw(e);const t=toRaw(this);return getProto(t).has.call(t,e)||(t.add(e),trigger(t,"add",e,e)),this}function set(e,t){t=toRaw(t);const r=toRaw(this),{has:o,get:i}=getProto(r);let c=o.call(r,e);c||(e=toRaw(e),c=o.call(r,e));const a=i.call(r,e);return r.set(e,t),c?hasChanged(t,a)&&trigger(r,"set",e,t):trigger(r,"add",e,t),this}function deleteEntry(e){const t=toRaw(this),{has:r,get:o}=getProto(t);let i=r.call(t,e);i||(e=toRaw(e),i=r.call(t,e)),o&&o.call(t,e);const c=t.delete(e);return i&&trigger(t,"delete",e,void 0),c}function clear(){const e=toRaw(this),t=e.size!==0,r=e.clear();return t&&trigger(e,"clear",void 0,void 0),r}function createForEach(e,t){return function(o,i){const c=this,a=c.__v_raw,u=toRaw(a),d=t?toShallow:e?toReadonly:toReactive;return!e&&track(u,"iterate",ITERATE_KEY),a.forEach((f,m)=>o.call(i,d(f),d(m),c))}}function createIterableMethod(e,t,r){return function(...o){const i=this.__v_raw,c=toRaw(i),a=isMap(c),u=e==="entries"||e===Symbol.iterator&&a,d=e==="keys"&&a,f=i[e](...o),m=r?toShallow:t?toReadonly:toReactive;return!t&&track(c,"iterate",d?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){const{value:g,done:v}=f.next();return v?{value:g,done:v}:{value:u?[m(g[0]),m(g[1])]:m(g),done:v}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function createInstrumentations(){const e={get(c){return get(this,c)},get size(){return size(this)},has:has$1,add,set,delete:deleteEntry,clear,forEach:createForEach(!1,!1)},t={get(c){return get(this,c,!1,!0)},get size(){return size(this)},has:has$1,add,set,delete:deleteEntry,clear,forEach:createForEach(!1,!0)},r={get(c){return get(this,c,!0)},get size(){return size(this,!0)},has(c){return has$1.call(this,c,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!1)},o={get(c){return get(this,c,!0,!0)},get size(){return size(this,!0)},has(c){return has$1.call(this,c,!0)},add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear"),forEach:createForEach(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(c=>{e[c]=createIterableMethod(c,!1,!1),r[c]=createIterableMethod(c,!0,!1),t[c]=createIterableMethod(c,!1,!0),o[c]=createIterableMethod(c,!0,!0)}),[e,r,t,o]}const[mutableInstrumentations,readonlyInstrumentations,shallowInstrumentations,shallowReadonlyInstrumentations]=createInstrumentations();function createInstrumentationGetter(e,t){const r=t?e?shallowReadonlyInstrumentations:shallowInstrumentations:e?readonlyInstrumentations:mutableInstrumentations;return(o,i,c)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?o:Reflect.get(hasOwn(r,i)&&i in o?r:o,i,c)}const mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},shallowReadonlyCollectionHandlers={get:createInstrumentationGetter(!0,!0)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function getTargetType(e){return e.__v_skip||!Object.isExtensible(e)?0:targetTypeMap(toRawType(e))}function reactive(e){return isReadonly(e)?e:createReactiveObject(e,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(e){return createReactiveObject(e,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(e){return createReactiveObject(e,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function shallowReadonly(e){return createReactiveObject(e,!0,shallowReadonlyHandlers,shallowReadonlyCollectionHandlers,shallowReadonlyMap)}function createReactiveObject(e,t,r,o,i){if(!isObject$1(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const c=i.get(e);if(c)return c;const a=getTargetType(e);if(a===0)return e;const u=new Proxy(e,a===2?o:r);return i.set(e,u),u}function isReactive(e){return isReadonly(e)?isReactive(e.__v_raw):!!(e&&e.__v_isReactive)}function isReadonly(e){return!!(e&&e.__v_isReadonly)}function isShallow(e){return!!(e&&e.__v_isShallow)}function isProxy(e){return isReactive(e)||isReadonly(e)}function toRaw(e){const t=e&&e.__v_raw;return t?toRaw(t):e}function markRaw(e){return Object.isExtensible(e)&&def(e,"__v_skip",!0),e}const toReactive=e=>isObject$1(e)?reactive(e):e,toReadonly=e=>isObject$1(e)?readonly(e):e;class ComputedRefImpl{constructor(t,r,o,i){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new ReactiveEffect(()=>t(this._value),()=>triggerRefValue(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=o}get value(){const t=toRaw(this);return(!t._cacheable||t.effect.dirty)&&hasChanged(t._value,t._value=t.effect.run())&&triggerRefValue(t,4),trackRefValue(t),t.effect._dirtyLevel>=2&&triggerRefValue(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function computed$1(e,t,r=!1){let o,i;const c=isFunction(e);return c?(o=e,i=NOOP):(o=e.get,i=e.set),new ComputedRefImpl(o,i,c||!i,r)}function trackRefValue(e){var t;shouldTrack&&activeEffect&&(e=toRaw(e),trackEffect(activeEffect,(t=e.dep)!=null?t:e.dep=createDep(()=>e.dep=void 0,e instanceof ComputedRefImpl?e:void 0)))}function triggerRefValue(e,t=4,r){e=toRaw(e);const o=e.dep;o&&triggerEffects(o,t)}function isRef(e){return!!(e&&e.__v_isRef===!0)}function ref(e){return createRef(e,!1)}function shallowRef(e){return createRef(e,!0)}function createRef(e,t){return isRef(e)?e:new RefImpl(e,t)}class RefImpl{constructor(t,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?t:toRaw(t),this._value=r?t:toReactive(t)}get value(){return trackRefValue(this),this._value}set value(t){const r=this.__v_isShallow||isShallow(t)||isReadonly(t);t=r?t:toRaw(t),hasChanged(t,this._rawValue)&&(this._rawValue=t,this._value=r?t:toReactive(t),triggerRefValue(this,4))}}function triggerRef(e){triggerRefValue(e,4)}function unref(e){return isRef(e)?e.value:e}function toValue$1(e){return isFunction(e)?e():unref(e)}const shallowUnwrapHandlers={get:(e,t,r)=>unref(Reflect.get(e,t,r)),set:(e,t,r,o)=>{const i=e[t];return isRef(i)&&!isRef(r)?(i.value=r,!0):Reflect.set(e,t,r,o)}};function proxyRefs(e){return isReactive(e)?e:new Proxy(e,shallowUnwrapHandlers)}class CustomRefImpl{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:r,set:o}=t(()=>trackRefValue(this),()=>triggerRefValue(this));this._get=r,this._set=o}get value(){return this._get()}set value(t){this._set(t)}}function customRef(e){return new CustomRefImpl(e)}function toRefs(e){const t=isArray$1(e)?new Array(e.length):{};for(const r in e)t[r]=propertyToRef(e,r);return t}class ObjectRefImpl{constructor(t,r,o){this._object=t,this._key=r,this._defaultValue=o,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return getDepFromReactive(toRaw(this._object),this._key)}}class GetterRefImpl{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function toRef(e,t,r){return isRef(e)?e:isFunction(e)?new GetterRefImpl(e):isObject$1(e)&&arguments.length>1?propertyToRef(e,t,r):ref(e)}function propertyToRef(e,t,r){const o=e[t];return isRef(o)?o:new ObjectRefImpl(e,t,r)}const TrackOpTypes={GET:"get",HAS:"has",ITERATE:"iterate"},TriggerOpTypes={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"};/**
* @vue/runtime-core v3.4.19
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const stack=[];function warn$1(e,...t){pauseTracking();const r=stack.length?stack[stack.length-1].component:null,o=r&&r.appContext.config.warnHandler,i=getComponentTrace();if(o)callWithErrorHandling(o,r,11,[e+t.join(""),r&&r.proxy,i.map(({vnode:c})=>`at <${formatComponentName(r,c.type)}>`).join(`
`),i]);else{const c=[`[Vue warn]: ${e}`,...t];i.length&&c.push(`
`,...formatTrace(i)),console.warn(...c)}resetTracking()}function getComponentTrace(){let e=stack[stack.length-1];if(!e)return[];const t=[];for(;e;){const r=t[0];r&&r.vnode===e?r.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}function formatTrace(e){const t=[];return e.forEach((r,o)=>{t.push(...o===0?[]:[`
`],...formatTraceEntry(r))}),t}function formatTraceEntry({vnode:e,recurseCount:t}){const r=t>0?`... (${t} recursive calls)`:"",o=e.component?e.component.parent==null:!1,i=` at <${formatComponentName(e.component,e.type,o)}`,c=">"+r;return e.props?[i,...formatProps(e.props),c]:[i+c]}function formatProps(e){const t=[],r=Object.keys(e);return r.slice(0,3).forEach(o=>{t.push(...formatProp(o,e[o]))}),r.length>3&&t.push(" ..."),t}function formatProp(e,t,r){return isString$1(t)?(t=JSON.stringify(t),r?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?r?t:[`${e}=${t}`]:isRef(t)?(t=formatProp(e,toRaw(t.value),!0),r?t:[`${e}=Ref<`,t,">"]):isFunction(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=toRaw(t),r?t:[`${e}=`,t])}function assertNumber(e,t){}const ErrorCodes={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER"},ErrorTypeStrings$1={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function callWithErrorHandling(e,t,r,o){try{return o?e(...o):e()}catch(i){handleError(i,t,r)}}function callWithAsyncErrorHandling(e,t,r,o){if(isFunction(e)){const c=callWithErrorHandling(e,t,r,o);return c&&isPromise(c)&&c.catch(a=>{handleError(a,t,r)}),c}const i=[];for(let c=0;c<e.length;c++)i.push(callWithAsyncErrorHandling(e[c],t,r,o));return i}function handleError(e,t,r,o=!0){const i=t?t.vnode:null;if(t){let c=t.parent;const a=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${r}`;for(;c;){const f=c.ec;if(f){for(let m=0;m<f.length;m++)if(f[m](e,a,u)===!1)return}c=c.parent}const d=t.appContext.config.errorHandler;if(d){callWithErrorHandling(d,null,10,[e,a,u]);return}}logError(e,r,i,o)}function logError(e,t,r,o=!0){console.error(e)}let isFlushing=!1,isFlushPending=!1;const queue=[];let flushIndex=0;const pendingPostFlushCbs=[];let activePostFlushCbs=null,postFlushIndex=0;const resolvedPromise=Promise.resolve();let currentFlushPromise=null;function nextTick(e){const t=currentFlushPromise||resolvedPromise;return e?t.then(this?e.bind(this):e):t}function findInsertionIndex(e){let t=flushIndex+1,r=queue.length;for(;t<r;){const o=t+r>>>1,i=queue[o],c=getId(i);c<e||c===e&&i.pre?t=o+1:r=o}return t}function queueJob(e){(!queue.length||!queue.includes(e,isFlushing&&e.allowRecurse?flushIndex+1:flushIndex))&&(e.id==null?queue.push(e):queue.splice(findInsertionIndex(e.id),0,e),queueFlush())}function queueFlush(){!isFlushing&&!isFlushPending&&(isFlushPending=!0,currentFlushPromise=resolvedPromise.then(flushJobs))}function invalidateJob(e){const t=queue.indexOf(e);t>flushIndex&&queue.splice(t,1)}function queuePostFlushCb(e){isArray$1(e)?pendingPostFlushCbs.push(...e):(!activePostFlushCbs||!activePostFlushCbs.includes(e,e.allowRecurse?postFlushIndex+1:postFlushIndex))&&pendingPostFlushCbs.push(e),queueFlush()}function flushPreFlushCbs(e,t,r=isFlushing?flushIndex+1:0){for(;r<queue.length;r++){const o=queue[r];if(o&&o.pre){if(e&&o.id!==e.uid)continue;queue.splice(r,1),r--,o()}}}function flushPostFlushCbs(e){if(pendingPostFlushCbs.length){const t=[...new Set(pendingPostFlushCbs)].sort((r,o)=>getId(r)-getId(o));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...t);return}for(activePostFlushCbs=t,postFlushIndex=0;postFlushIndex<activePostFlushCbs.length;postFlushIndex++)activePostFlushCbs[postFlushIndex]();activePostFlushCbs=null,postFlushIndex=0}}const getId=e=>e.id==null?1/0:e.id,comparator=(e,t)=>{const r=getId(e)-getId(t);if(r===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return r};function flushJobs(e){isFlushPending=!1,isFlushing=!0,queue.sort(comparator);try{for(flushIndex=0;flushIndex<queue.length;flushIndex++){const t=queue[flushIndex];t&&t.active!==!1&&callWithErrorHandling(t,null,14)}}finally{flushIndex=0,queue.length=0,flushPostFlushCbs(),isFlushing=!1,currentFlushPromise=null,(queue.length||pendingPostFlushCbs.length)&&flushJobs()}}let devtools$1,buffer=[];function setDevtoolsHook$1(e,t){var r,o;devtools$1=e,devtools$1?(devtools$1.enabled=!0,buffer.forEach(({event:i,args:c})=>devtools$1.emit(i,...c)),buffer=[]):typeof window<"u"&&window.HTMLElement&&!((o=(r=window.navigator)==null?void 0:r.userAgent)!=null&&o.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(c=>{setDevtoolsHook$1(c,t)}),setTimeout(()=>{devtools$1||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,buffer=[])},3e3)):buffer=[]}function emit(e,t,...r){if(e.isUnmounted)return;const o=e.vnode.props||EMPTY_OBJ;let i=r;const c=t.startsWith("update:"),a=c&&t.slice(7);if(a&&a in o){const m=`${a==="modelValue"?"model":a}Modifiers`,{number:g,trim:v}=o[m]||EMPTY_OBJ;v&&(i=r.map(y=>isString$1(y)?y.trim():y)),g&&(i=r.map(looseToNumber))}let u,d=o[u=toHandlerKey(t)]||o[u=toHandlerKey(camelize(t))];!d&&c&&(d=o[u=toHandlerKey(hyphenate(t))]),d&&callWithAsyncErrorHandling(d,e,6,i);const f=o[u+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[u])return;e.emitted[u]=!0,callWithAsyncErrorHandling(f,e,6,i)}}function normalizeEmitsOptions(e,t,r=!1){const o=t.emitsCache,i=o.get(e);if(i!==void 0)return i;const c=e.emits;let a={},u=!1;if(!isFunction(e)){const d=f=>{const m=normalizeEmitsOptions(f,t,!0);m&&(u=!0,extend$1(a,m))};!r&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}return!c&&!u?(isObject$1(e)&&o.set(e,null),null):(isArray$1(c)?c.forEach(d=>a[d]=null):extend$1(a,c),isObject$1(e)&&o.set(e,a),a)}function isEmitListener(e,t){return!e||!isOn$1(t)?!1:(t=t.slice(2).replace(/Once$/,""),hasOwn(e,t[0].toLowerCase()+t.slice(1))||hasOwn(e,hyphenate(t))||hasOwn(e,t))}let currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(e){const t=currentRenderingInstance;return currentRenderingInstance=e,currentScopeId=e&&e.type.__scopeId||null,t}function pushScopeId(e){currentScopeId=e}function popScopeId(){currentScopeId=null}const withScopeId=e=>withCtx;function withCtx(e,t=currentRenderingInstance,r){if(!t||e._n)return e;const o=(...i)=>{o._d&&setBlockTracking(-1);const c=setCurrentRenderingInstance(t);let a;try{a=e(...i)}finally{setCurrentRenderingInstance(c),o._d&&setBlockTracking(1)}return a};return o._n=!0,o._c=!0,o._d=!0,o}function markAttrsAccessed(){}function renderComponentRoot(e){const{type:t,vnode:r,proxy:o,withProxy:i,props:c,propsOptions:[a],slots:u,attrs:d,emit:f,render:m,renderCache:g,data:v,setupState:y,ctx:w,inheritAttrs:b}=e;let S,_;const k=setCurrentRenderingInstance(e);try{if(r.shapeFlag&4){const T=i||o,x=T;S=normalizeVNode(m.call(x,T,g,c,y,v,w)),_=d}else{const T=t;S=normalizeVNode(T.length>1?T(c,{attrs:d,slots:u,emit:f}):T(c,null)),_=t.props?d:getFunctionalFallthrough(d)}}catch(T){blockStack.length=0,handleError(T,e,1),S=createVNode(Comment)}let C=S;if(_&&b!==!1){const T=Object.keys(_),{shapeFlag:x}=C;T.length&&x&7&&(a&&T.some(isModelListener)&&(_=filterModelListeners(_,a)),C=cloneVNode(C,_))}return r.dirs&&(C=cloneVNode(C),C.dirs=C.dirs?C.dirs.concat(r.dirs):r.dirs),r.transition&&(C.transition=r.transition),S=C,setCurrentRenderingInstance(k),S}function filterSingleRoot(e,t=!0){let r;for(let o=0;o<e.length;o++){const i=e[o];if(isVNode(i)){if(i.type!==Comment||i.children==="v-if"){if(r)return;r=i}}else return}return r}const getFunctionalFallthrough=e=>{let t;for(const r in e)(r==="class"||r==="style"||isOn$1(r))&&((t||(t={}))[r]=e[r]);return t},filterModelListeners=(e,t)=>{const r={};for(const o in e)(!isModelListener(o)||!(o.slice(9)in t))&&(r[o]=e[o]);return r};function shouldUpdateComponent(e,t,r){const{props:o,children:i,component:c}=e,{props:a,children:u,patchFlag:d}=t,f=c.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&d>=0){if(d&1024)return!0;if(d&16)return o?hasPropsChanged(o,a,f):!!a;if(d&8){const m=t.dynamicProps;for(let g=0;g<m.length;g++){const v=m[g];if(a[v]!==o[v]&&!isEmitListener(f,v))return!0}}}else return(i||u)&&(!u||!u.$stable)?!0:o===a?!1:o?a?hasPropsChanged(o,a,f):!0:!!a;return!1}function hasPropsChanged(e,t,r){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let i=0;i<o.length;i++){const c=o[i];if(t[c]!==e[c]&&!isEmitListener(r,c))return!0}return!1}function updateHOCHostEl({vnode:e,parent:t},r){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o===e)(e=t.vnode).el=r,t=t.parent;else break}}const COMPONENTS="components",DIRECTIVES="directives";function resolveComponent(e,t){return resolveAsset(COMPONENTS,e,!0,t)||e}const NULL_DYNAMIC_COMPONENT=Symbol.for("v-ndc");function resolveDynamicComponent(e){return isString$1(e)?resolveAsset(COMPONENTS,e,!1)||e:e||NULL_DYNAMIC_COMPONENT}function resolveDirective(e){return resolveAsset(DIRECTIVES,e)}function resolveAsset(e,t,r=!0,o=!1){const i=currentRenderingInstance||currentInstance;if(i){const c=i.type;if(e===COMPONENTS){const u=getComponentName(c,!1);if(u&&(u===t||u===camelize(t)||u===capitalize(camelize(t))))return c}const a=resolve(i[e]||c[e],t)||resolve(i.appContext[e],t);return!a&&o?c:a}}function resolve(e,t){return e&&(e[t]||e[camelize(t)]||e[capitalize(camelize(t))])}const isSuspense=e=>e.__isSuspense;let suspenseId=0;const SuspenseImpl={name:"Suspense",__isSuspense:!0,process(e,t,r,o,i,c,a,u,d,f){if(e==null)mountSuspense(t,r,o,i,c,a,u,d,f);else{if(c&&c.deps>0){t.suspense=e.suspense;return}patchSuspense(e,t,r,o,i,a,u,d,f)}},hydrate:hydrateSuspense,create:createSuspenseBoundary,normalize:normalizeSuspenseChildren},Suspense=SuspenseImpl;function triggerEvent(e,t){const r=e.props&&e.props[t];isFunction(r)&&r()}function mountSuspense(e,t,r,o,i,c,a,u,d){const{p:f,o:{createElement:m}}=d,g=m("div"),v=e.suspense=createSuspenseBoundary(e,i,o,t,g,r,c,a,u,d);f(null,v.pendingBranch=e.ssContent,g,null,o,v,c,a),v.deps>0?(triggerEvent(e,"onPending"),triggerEvent(e,"onFallback"),f(null,e.ssFallback,t,r,o,null,c,a),setActiveBranch(v,e.ssFallback)):v.resolve(!1,!0)}function patchSuspense(e,t,r,o,i,c,a,u,{p:d,um:f,o:{createElement:m}}){const g=t.suspense=e.suspense;g.vnode=t,t.el=e.el;const v=t.ssContent,y=t.ssFallback,{activeBranch:w,pendingBranch:b,isInFallback:S,isHydrating:_}=g;if(b)g.pendingBranch=v,isSameVNodeType(v,b)?(d(b,v,g.hiddenContainer,null,i,g,c,a,u),g.deps<=0?g.resolve():S&&(_||(d(w,y,r,o,i,null,c,a,u),setActiveBranch(g,y)))):(g.pendingId=suspenseId++,_?(g.isHydrating=!1,g.activeBranch=b):f(b,i,g),g.deps=0,g.effects.length=0,g.hiddenContainer=m("div"),S?(d(null,v,g.hiddenContainer,null,i,g,c,a,u),g.deps<=0?g.resolve():(d(w,y,r,o,i,null,c,a,u),setActiveBranch(g,y))):w&&isSameVNodeType(v,w)?(d(w,v,r,o,i,g,c,a,u),g.resolve(!0)):(d(null,v,g.hiddenContainer,null,i,g,c,a,u),g.deps<=0&&g.resolve()));else if(w&&isSameVNodeType(v,w))d(w,v,r,o,i,g,c,a,u),setActiveBranch(g,v);else if(triggerEvent(t,"onPending"),g.pendingBranch=v,v.shapeFlag&512?g.pendingId=v.component.suspenseId:g.pendingId=suspenseId++,d(null,v,g.hiddenContainer,null,i,g,c,a,u),g.deps<=0)g.resolve();else{const{timeout:k,pendingId:C}=g;k>0?setTimeout(()=>{g.pendingId===C&&g.fallback(y)},k):k===0&&g.fallback(y)}}function createSuspenseBoundary(e,t,r,o,i,c,a,u,d,f,m=!1){const{p:g,m:v,um:y,n:w,o:{parentNode:b,remove:S}}=f;let _;const k=isVNodeSuspensible(e);k&&t!=null&&t.pendingBranch&&(_=t.pendingId,t.deps++);const C=e.props?toNumber(e.props.timeout):void 0,T=c,x={vnode:e,parent:t,parentComponent:r,namespace:a,container:o,hiddenContainer:i,deps:0,pendingId:suspenseId++,timeout:typeof C=="number"?C:-1,activeBranch:null,pendingBranch:null,isInFallback:!m,isHydrating:m,isUnmounted:!1,effects:[],resolve(R=!1,O=!1){const{vnode:A,activeBranch:N,pendingBranch:E,pendingId:P,effects:V,parentComponent:D,container:F}=x;let B=!1;x.isHydrating?x.isHydrating=!1:R||(B=N&&E.transition&&E.transition.mode==="out-in",B&&(N.transition.afterLeave=()=>{P===x.pendingId&&(v(E,F,c===T?w(N):c,0),queuePostFlushCb(V))}),N&&(b(N.el)!==x.hiddenContainer&&(c=w(N)),y(N,D,x,!0)),B||v(E,F,c,0)),setActiveBranch(x,E),x.pendingBranch=null,x.isInFallback=!1;let $=x.parent,U=!1;for(;$;){if($.pendingBranch){$.effects.push(...V),U=!0;break}$=$.parent}!U&&!B&&queuePostFlushCb(V),x.effects=[],k&&t&&t.pendingBranch&&_===t.pendingId&&(t.deps--,t.deps===0&&!O&&t.resolve()),triggerEvent(A,"onResolve")},fallback(R){if(!x.pendingBranch)return;const{vnode:O,activeBranch:A,parentComponent:N,container:E,namespace:P}=x;triggerEvent(O,"onFallback");const V=w(A),D=()=>{x.isInFallback&&(g(null,R,E,V,N,null,P,u,d),setActiveBranch(x,R))},F=R.transition&&R.transition.mode==="out-in";F&&(A.transition.afterLeave=D),x.isInFallback=!0,y(A,N,null,!0),F||D()},move(R,O,A){x.activeBranch&&v(x.activeBranch,R,O,A),x.container=R},next(){return x.activeBranch&&w(x.activeBranch)},registerDep(R,O){const A=!!x.pendingBranch;A&&x.deps++;const N=R.vnode.el;R.asyncDep.catch(E=>{handleError(E,R,0)}).then(E=>{if(R.isUnmounted||x.isUnmounted||x.pendingId!==R.suspenseId)return;R.asyncResolved=!0;const{vnode:P}=R;handleSetupResult(R,E,!1),N&&(P.el=N);const V=!N&&R.subTree.el;O(R,P,b(N||R.subTree.el),N?null:w(R.subTree),x,a,d),V&&S(V),updateHOCHostEl(R,P.el),A&&--x.deps===0&&x.resolve()})},unmount(R,O){x.isUnmounted=!0,x.activeBranch&&y(x.activeBranch,r,R,O),x.pendingBranch&&y(x.pendingBranch,r,R,O)}};return x}function hydrateSuspense(e,t,r,o,i,c,a,u,d){const f=t.suspense=createSuspenseBoundary(t,o,r,e.parentNode,document.createElement("div"),null,i,c,a,u,!0),m=d(e,f.pendingBranch=t.ssContent,r,f,c,a);return f.deps===0&&f.resolve(!1,!0),m}function normalizeSuspenseChildren(e){const{shapeFlag:t,children:r}=e,o=t&32;e.ssContent=normalizeSuspenseSlot(o?r.default:r),e.ssFallback=o?normalizeSuspenseSlot(r.fallback):createVNode(Comment)}function normalizeSuspenseSlot(e){let t;if(isFunction(e)){const r=isBlockTreeEnabled&&e._c;r&&(e._d=!1,openBlock()),e=e(),r&&(e._d=!0,t=currentBlock,closeBlock())}return isArray$1(e)&&(e=filterSingleRoot(e)),e=normalizeVNode(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(r=>r!==e)),e}function queueEffectWithSuspense(e,t){t&&t.pendingBranch?isArray$1(e)?t.effects.push(...e):t.effects.push(e):queuePostFlushCb(e)}function setActiveBranch(e,t){e.activeBranch=t;const{vnode:r,parentComponent:o}=e;let i=t.el;for(;!i&&t.component;)t=t.component.subTree,i=t.el;r.el=i,o&&o.subTree===r&&(o.vnode.el=i,updateHOCHostEl(o,i))}function isVNodeSuspensible(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}const ssrContextKey=Symbol.for("v-scx"),useSSRContext=()=>inject$1(ssrContextKey);function watchEffect(e,t){return doWatch(e,null,t)}function watchPostEffect(e,t){return doWatch(e,null,{flush:"post"})}function watchSyncEffect(e,t){return doWatch(e,null,{flush:"sync"})}const INITIAL_WATCHER_VALUE={};function watch(e,t,r){return doWatch(e,t,r)}function doWatch(e,t,{immediate:r,deep:o,flush:i,once:c,onTrack:a,onTrigger:u}=EMPTY_OBJ){if(t&&c){const R=t;t=(...O)=>{R(...O),x()}}const d=currentInstance,f=R=>o===!0?R:traverse(R,o===!1?1:void 0);let m,g=!1,v=!1;if(isRef(e)?(m=()=>e.value,g=isShallow(e)):isReactive(e)?(m=()=>f(e),g=!0):isArray$1(e)?(v=!0,g=e.some(R=>isReactive(R)||isShallow(R)),m=()=>e.map(R=>{if(isRef(R))return R.value;if(isReactive(R))return f(R);if(isFunction(R))return callWithErrorHandling(R,d,2)})):isFunction(e)?t?m=()=>callWithErrorHandling(e,d,2):m=()=>(y&&y(),callWithAsyncErrorHandling(e,d,3,[w])):m=NOOP,t&&o){const R=m;m=()=>traverse(R())}let y,w=R=>{y=C.onStop=()=>{callWithErrorHandling(R,d,4),y=C.onStop=void 0}},b;if(isInSSRComponentSetup)if(w=NOOP,t?r&&callWithAsyncErrorHandling(t,d,3,[m(),v?[]:void 0,w]):m(),i==="sync"){const R=useSSRContext();b=R.__watcherHandles||(R.__watcherHandles=[])}else return NOOP;let S=v?new Array(e.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE;const _=()=>{if(!(!C.active||!C.dirty))if(t){const R=C.run();(o||g||(v?R.some((O,A)=>hasChanged(O,S[A])):hasChanged(R,S)))&&(y&&y(),callWithAsyncErrorHandling(t,d,3,[R,S===INITIAL_WATCHER_VALUE?void 0:v&&S[0]===INITIAL_WATCHER_VALUE?[]:S,w]),S=R)}else C.run()};_.allowRecurse=!!t;let k;i==="sync"?k=_:i==="post"?k=()=>queuePostRenderEffect(_,d&&d.suspense):(_.pre=!0,d&&(_.id=d.uid),k=()=>queueJob(_));const C=new ReactiveEffect(m,NOOP,k),T=getCurrentScope(),x=()=>{C.stop(),T&&remove(T.effects,C)};return t?r?_():S=C.run():i==="post"?queuePostRenderEffect(C.run.bind(C),d&&d.suspense):C.run(),b&&b.push(x),x}function instanceWatch(e,t,r){const o=this.proxy,i=isString$1(e)?e.includes(".")?createPathGetter(o,e):()=>o[e]:e.bind(o,o);let c;isFunction(t)?c=t:(c=t.handler,r=t);const a=setCurrentInstance(this),u=doWatch(i,c.bind(o),r);return a(),u}function createPathGetter(e,t){const r=t.split(".");return()=>{let o=e;for(let i=0;i<r.length&&o;i++)o=o[r[i]];return o}}function traverse(e,t,r=0,o){if(!isObject$1(e)||e.__v_skip)return e;if(t&&t>0){if(r>=t)return e;r++}if(o=o||new Set,o.has(e))return e;if(o.add(e),isRef(e))traverse(e.value,t,r,o);else if(isArray$1(e))for(let i=0;i<e.length;i++)traverse(e[i],t,r,o);else if(isSet(e)||isMap(e))e.forEach(i=>{traverse(i,t,r,o)});else if(isPlainObject$1(e))for(const i in e)traverse(e[i],t,r,o);return e}function withDirectives(e,t){if(currentRenderingInstance===null)return e;const r=getExposeProxy(currentRenderingInstance)||currentRenderingInstance.proxy,o=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[c,a,u,d=EMPTY_OBJ]=t[i];c&&(isFunction(c)&&(c={mounted:c,updated:c}),c.deep&&traverse(a),o.push({dir:c,instance:r,value:a,oldValue:void 0,arg:u,modifiers:d}))}return e}function invokeDirectiveHook(e,t,r,o){const i=e.dirs,c=t&&t.dirs;for(let a=0;a<i.length;a++){const u=i[a];c&&(u.oldValue=c[a].value);let d=u.dir[o];d&&(pauseTracking(),callWithAsyncErrorHandling(d,r,8,[e.el,u,e,t]),resetTracking())}}const leaveCbKey=Symbol("_leaveCb"),enterCbKey$1=Symbol("_enterCb");function useTransitionState(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return onMounted(()=>{e.isMounted=!0}),onBeforeUnmount(()=>{e.isUnmounting=!0}),e}const TransitionHookValidator=[Function,Array],BaseTransitionPropsValidators={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},BaseTransitionImpl={name:"BaseTransition",props:BaseTransitionPropsValidators,setup(e,{slots:t}){const r=getCurrentInstance$1(),o=useTransitionState();let i;return()=>{const c=t.default&&getTransitionRawChildren(t.default(),!0);if(!c||!c.length)return;let a=c[0];if(c.length>1){for(const b of c)if(b.type!==Comment){a=b;break}}const u=toRaw(e),{mode:d}=u;if(o.isLeaving)return emptyPlaceholder(a);const f=getKeepAliveChild(a);if(!f)return emptyPlaceholder(a);const m=resolveTransitionHooks(f,u,o,r);setTransitionHooks(f,m);const g=r.subTree,v=g&&getKeepAliveChild(g);let y=!1;const{getTransitionKey:w}=f.type;if(w){const b=w();i===void 0?i=b:b!==i&&(i=b,y=!0)}if(v&&v.type!==Comment&&(!isSameVNodeType(f,v)||y)){const b=resolveTransitionHooks(v,u,o,r);if(setTransitionHooks(v,b),d==="out-in")return o.isLeaving=!0,b.afterLeave=()=>{o.isLeaving=!1,r.update.active!==!1&&(r.effect.dirty=!0,r.update())},emptyPlaceholder(a);d==="in-out"&&f.type!==Comment&&(b.delayLeave=(S,_,k)=>{const C=getLeavingNodesForType(o,v);C[String(v.key)]=v,S[leaveCbKey]=()=>{_(),S[leaveCbKey]=void 0,delete m.delayedLeave},m.delayedLeave=k})}return a}}},BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(e,t){const{leavingVNodes:r}=e;let o=r.get(t.type);return o||(o=Object.create(null),r.set(t.type,o)),o}function resolveTransitionHooks(e,t,r,o){const{appear:i,mode:c,persisted:a=!1,onBeforeEnter:u,onEnter:d,onAfterEnter:f,onEnterCancelled:m,onBeforeLeave:g,onLeave:v,onAfterLeave:y,onLeaveCancelled:w,onBeforeAppear:b,onAppear:S,onAfterAppear:_,onAppearCancelled:k}=t,C=String(e.key),T=getLeavingNodesForType(r,e),x=(A,N)=>{A&&callWithAsyncErrorHandling(A,o,9,N)},R=(A,N)=>{const E=N[1];x(A,N),isArray$1(A)?A.every(P=>P.length<=1)&&E():A.length<=1&&E()},O={mode:c,persisted:a,beforeEnter(A){let N=u;if(!r.isMounted)if(i)N=b||u;else return;A[leaveCbKey]&&A[leaveCbKey](!0);const E=T[C];E&&isSameVNodeType(e,E)&&E.el[leaveCbKey]&&E.el[leaveCbKey](),x(N,[A])},enter(A){let N=d,E=f,P=m;if(!r.isMounted)if(i)N=S||d,E=_||f,P=k||m;else return;let V=!1;const D=A[enterCbKey$1]=F=>{V||(V=!0,F?x(P,[A]):x(E,[A]),O.delayedLeave&&O.delayedLeave(),A[enterCbKey$1]=void 0)};N?R(N,[A,D]):D()},leave(A,N){const E=String(e.key);if(A[enterCbKey$1]&&A[enterCbKey$1](!0),r.isUnmounting)return N();x(g,[A]);let P=!1;const V=A[leaveCbKey]=D=>{P||(P=!0,N(),D?x(w,[A]):x(y,[A]),A[leaveCbKey]=void 0,T[E]===e&&delete T[E])};T[E]=e,v?R(v,[A,V]):V()},clone(A){return resolveTransitionHooks(A,t,r,o)}};return O}function emptyPlaceholder(e){if(isKeepAlive(e))return e=cloneVNode(e),e.children=null,e}function getKeepAliveChild(e){return isKeepAlive(e)?e.children?e.children[0]:void 0:e}function setTransitionHooks(e,t){e.shapeFlag&6&&e.component?setTransitionHooks(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function getTransitionRawChildren(e,t=!1,r){let o=[],i=0;for(let c=0;c<e.length;c++){let a=e[c];const u=r==null?a.key:String(r)+String(a.key!=null?a.key:c);a.type===Fragment?(a.patchFlag&128&&i++,o=o.concat(getTransitionRawChildren(a.children,t,u))):(t||a.type!==Comment)&&o.push(u!=null?cloneVNode(a,{key:u}):a)}if(i>1)for(let c=0;c<o.length;c++)o[c].patchFlag=-2;return o}/*! #__NO_SIDE_EFFECTS__ */function defineComponent$1(e,t){return isFunction(e)?extend$1({name:e.name},t,{setup:e}):e}const isAsyncWrapper=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function defineAsyncComponent(e){isFunction(e)&&(e={loader:e});const{loader:t,loadingComponent:r,errorComponent:o,delay:i=200,timeout:c,suspensible:a=!0,onError:u}=e;let d=null,f,m=0;const g=()=>(m++,d=null,v()),v=()=>{let y;return d||(y=d=t().catch(w=>{if(w=w instanceof Error?w:new Error(String(w)),u)return new Promise((b,S)=>{u(w,()=>b(g()),()=>S(w),m+1)});throw w}).then(w=>y!==d&&d?d:(w&&(w.__esModule||w[Symbol.toStringTag]==="Module")&&(w=w.default),f=w,w)))};return defineComponent$1({name:"AsyncComponentWrapper",__asyncLoader:v,get __asyncResolved(){return f},setup(){const y=currentInstance;if(f)return()=>createInnerComp(f,y);const w=k=>{d=null,handleError(k,y,13,!o)};if(a&&y.suspense||isInSSRComponentSetup)return v().then(k=>()=>createInnerComp(k,y)).catch(k=>(w(k),()=>o?createVNode(o,{error:k}):null));const b=ref(!1),S=ref(),_=ref(!!i);return i&&setTimeout(()=>{_.value=!1},i),c!=null&&setTimeout(()=>{if(!b.value&&!S.value){const k=new Error(`Async component timed out after ${c}ms.`);w(k),S.value=k}},c),v().then(()=>{b.value=!0,y.parent&&isKeepAlive(y.parent.vnode)&&(y.parent.effect.dirty=!0,queueJob(y.parent.update))}).catch(k=>{w(k),S.value=k}),()=>{if(b.value&&f)return createInnerComp(f,y);if(S.value&&o)return createVNode(o,{error:S.value});if(r&&!_.value)return createVNode(r)}}})}function createInnerComp(e,t){const{ref:r,props:o,children:i,ce:c}=t.vnode,a=createVNode(e,o,i);return a.ref=r,a.ce=c,delete t.vnode.ce,a}const isKeepAlive=e=>e.type.__isKeepAlive,KeepAliveImpl={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const r=getCurrentInstance$1(),o=r.ctx;if(!o.renderer)return()=>{const k=t.default&&t.default();return k&&k.length===1?k[0]:k};const i=new Map,c=new Set;let a=null;const u=r.suspense,{renderer:{p:d,m:f,um:m,o:{createElement:g}}}=o,v=g("div");o.activate=(k,C,T,x,R)=>{const O=k.component;f(k,C,T,0,u),d(O.vnode,k,C,T,O,u,x,k.slotScopeIds,R),queuePostRenderEffect(()=>{O.isDeactivated=!1,O.a&&invokeArrayFns(O.a);const A=k.props&&k.props.onVnodeMounted;A&&invokeVNodeHook(A,O.parent,k)},u)},o.deactivate=k=>{const C=k.component;f(k,v,null,1,u),queuePostRenderEffect(()=>{C.da&&invokeArrayFns(C.da);const T=k.props&&k.props.onVnodeUnmounted;T&&invokeVNodeHook(T,C.parent,k),C.isDeactivated=!0},u)};function y(k){resetShapeFlag(k),m(k,r,u,!0)}function w(k){i.forEach((C,T)=>{const x=getComponentName(C.type);x&&(!k||!k(x))&&b(T)})}function b(k){const C=i.get(k);!a||!isSameVNodeType(C,a)?y(C):a&&resetShapeFlag(a),i.delete(k),c.delete(k)}watch(()=>[e.include,e.exclude],([k,C])=>{k&&w(T=>matches$1(k,T)),C&&w(T=>!matches$1(C,T))},{flush:"post",deep:!0});let S=null;const _=()=>{S!=null&&i.set(S,getInnerChild(r.subTree))};return onMounted(_),onUpdated(_),onBeforeUnmount(()=>{i.forEach(k=>{const{subTree:C,suspense:T}=r,x=getInnerChild(C);if(k.type===x.type&&k.key===x.key){resetShapeFlag(x);const R=x.component.da;R&&queuePostRenderEffect(R,T);return}y(k)})}),()=>{if(S=null,!t.default)return null;const k=t.default(),C=k[0];if(k.length>1)return a=null,k;if(!isVNode(C)||!(C.shapeFlag&4)&&!(C.shapeFlag&128))return a=null,C;let T=getInnerChild(C);const x=T.type,R=getComponentName(isAsyncWrapper(T)?T.type.__asyncResolved||{}:x),{include:O,exclude:A,max:N}=e;if(O&&(!R||!matches$1(O,R))||A&&R&&matches$1(A,R))return a=T,C;const E=T.key==null?x:T.key,P=i.get(E);return T.el&&(T=cloneVNode(T),C.shapeFlag&128&&(C.ssContent=T)),S=E,P?(T.el=P.el,T.component=P.component,T.transition&&setTransitionHooks(T,T.transition),T.shapeFlag|=512,c.delete(E),c.add(E)):(c.add(E),N&&c.size>parseInt(N,10)&&b(c.values().next().value)),T.shapeFlag|=256,a=T,isSuspense(C.type)?C:T}}},KeepAlive=KeepAliveImpl;function matches$1(e,t){return isArray$1(e)?e.some(r=>matches$1(r,t)):isString$1(e)?e.split(",").includes(t):isRegExp(e)?e.test(t):!1}function onActivated(e,t){registerKeepAliveHook(e,"a",t)}function onDeactivated(e,t){registerKeepAliveHook(e,"da",t)}function registerKeepAliveHook(e,t,r=currentInstance){const o=e.__wdc||(e.__wdc=()=>{let i=r;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(injectHook(t,o,r),r){let i=r.parent;for(;i&&i.parent;)isKeepAlive(i.parent.vnode)&&injectToKeepAliveRoot(o,t,r,i),i=i.parent}}function injectToKeepAliveRoot(e,t,r,o){const i=injectHook(t,e,o,!0);onUnmounted(()=>{remove(o[t],i)},r)}function resetShapeFlag(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function getInnerChild(e){return e.shapeFlag&128?e.ssContent:e}function injectHook(e,t,r=currentInstance,o=!1){if(r){const i=r[e]||(r[e]=[]),c=t.__weh||(t.__weh=(...a)=>{if(r.isUnmounted)return;pauseTracking();const u=setCurrentInstance(r),d=callWithAsyncErrorHandling(t,r,e,a);return u(),resetTracking(),d});return o?i.unshift(c):i.push(c),c}}const createHook=e=>(t,r=currentInstance)=>(!isInSSRComponentSetup||e==="sp")&&injectHook(e,(...o)=>t(...o),r),onBeforeMount=createHook("bm"),onMounted=createHook("m"),onBeforeUpdate=createHook("bu"),onUpdated=createHook("u"),onBeforeUnmount=createHook("bum"),onUnmounted=createHook("um"),onServerPrefetch=createHook("sp"),onRenderTriggered=createHook("rtg"),onRenderTracked=createHook("rtc");function onErrorCaptured(e,t=currentInstance){injectHook("ec",e,t)}function renderList(e,t,r,o){let i;const c=r&&r[o];if(isArray$1(e)||isString$1(e)){i=new Array(e.length);for(let a=0,u=e.length;a<u;a++)i[a]=t(e[a],a,void 0,c&&c[a])}else if(typeof e=="number"){i=new Array(e);for(let a=0;a<e;a++)i[a]=t(a+1,a,void 0,c&&c[a])}else if(isObject$1(e))if(e[Symbol.iterator])i=Array.from(e,(a,u)=>t(a,u,void 0,c&&c[u]));else{const a=Object.keys(e);i=new Array(a.length);for(let u=0,d=a.length;u<d;u++){const f=a[u];i[u]=t(e[f],f,u,c&&c[u])}}else i=[];return r&&(r[o]=i),i}function createSlots(e,t){for(let r=0;r<t.length;r++){const o=t[r];if(isArray$1(o))for(let i=0;i<o.length;i++)e[o[i].name]=o[i].fn;else o&&(e[o.name]=o.key?(...i)=>{const c=o.fn(...i);return c&&(c.key=o.key),c}:o.fn)}return e}function renderSlot(e,t,r={},o,i){if(currentRenderingInstance.isCE||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&&currentRenderingInstance.parent.isCE)return t!=="default"&&(r.name=t),createVNode("slot",r,o&&o());let c=e[t];c&&c._c&&(c._d=!1),openBlock();const a=c&&ensureValidVNode$1(c(r)),u=createBlock(Fragment,{key:r.key||a&&a.key||`_${t}`},a||(o?o():[]),a&&e._===1?64:-2);return!i&&u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),c&&c._c&&(c._d=!0),u}function ensureValidVNode$1(e){return e.some(t=>isVNode(t)?!(t.type===Comment||t.type===Fragment&&!ensureValidVNode$1(t.children)):!0)?e:null}function toHandlers(e,t){const r={};for(const o in e)r[t&&/[A-Z]/.test(o)?`on:${o}`:toHandlerKey(o)]=e[o];return r}const getPublicInstance=e=>e?isStatefulComponent(e)?getExposeProxy(e)||e.proxy:getPublicInstance(e.parent):null,publicPropertiesMap=extend$1(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=>getPublicInstance(e.parent),$root:e=>getPublicInstance(e.root),$emit:e=>e.emit,$options:e=>resolveMergedOptions(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,queueJob(e.update)}),$nextTick:e=>e.n||(e.n=nextTick.bind(e.proxy)),$watch:e=>instanceWatch.bind(e)}),hasSetupBinding=(e,t)=>e!==EMPTY_OBJ&&!e.__isScriptSetup&&hasOwn(e,t),PublicInstanceProxyHandlers={get({_:e},t){const{ctx:r,setupState:o,data:i,props:c,accessCache:a,type:u,appContext:d}=e;let f;if(t[0]!=="$"){const y=a[t];if(y!==void 0)switch(y){case 1:return o[t];case 2:return i[t];case 4:return r[t];case 3:return c[t]}else{if(hasSetupBinding(o,t))return a[t]=1,o[t];if(i!==EMPTY_OBJ&&hasOwn(i,t))return a[t]=2,i[t];if((f=e.propsOptions[0])&&hasOwn(f,t))return a[t]=3,c[t];if(r!==EMPTY_OBJ&&hasOwn(r,t))return a[t]=4,r[t];shouldCacheAccess&&(a[t]=0)}}const m=publicPropertiesMap[t];let g,v;if(m)return t==="$attrs"&&track(e,"get",t),m(e);if((g=u.__cssModules)&&(g=g[t]))return g;if(r!==EMPTY_OBJ&&hasOwn(r,t))return a[t]=4,r[t];if(v=d.config.globalProperties,hasOwn(v,t))return v[t]},set({_:e},t,r){const{data:o,setupState:i,ctx:c}=e;return hasSetupBinding(i,t)?(i[t]=r,!0):o!==EMPTY_OBJ&&hasOwn(o,t)?(o[t]=r,!0):hasOwn(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(c[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:o,appContext:i,propsOptions:c}},a){let u;return!!r[a]||e!==EMPTY_OBJ&&hasOwn(e,a)||hasSetupBinding(t,a)||(u=c[0])&&hasOwn(u,a)||hasOwn(o,a)||hasOwn(publicPropertiesMap,a)||hasOwn(i.config.globalProperties,a)},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:hasOwn(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}},RuntimeCompiledPublicInstanceProxyHandlers=extend$1({},PublicInstanceProxyHandlers,{get(e,t){if(t!==Symbol.unscopables)return PublicInstanceProxyHandlers.get(e,t,e)},has(e,t){return t[0]!=="_"&&!isGloballyAllowed(t)}});function defineProps(){return null}function defineEmits(){return null}function defineExpose(e){}function defineOptions(e){}function defineSlots(){return null}function defineModel(){}function withDefaults(e,t){return null}function useSlots(){return getContext().slots}function useAttrs(){return getContext().attrs}function getContext(){const e=getCurrentInstance$1();return e.setupContext||(e.setupContext=createSetupContext(e))}function normalizePropsOrEmits(e){return isArray$1(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}function mergeDefaults(e,t){const r=normalizePropsOrEmits(e);for(const o in t){if(o.startsWith("__skip"))continue;let i=r[o];i?isArray$1(i)||isFunction(i)?i=r[o]={type:i,default:t[o]}:i.default=t[o]:i===null&&(i=r[o]={default:t[o]}),i&&t[`__skip_${o}`]&&(i.skipFactory=!0)}return r}function mergeModels(e,t){return!e||!t?e||t:isArray$1(e)&&isArray$1(t)?e.concat(t):extend$1({},normalizePropsOrEmits(e),normalizePropsOrEmits(t))}function createPropsRestProxy(e,t){const r={};for(const o in e)t.includes(o)||Object.defineProperty(r,o,{enumerable:!0,get:()=>e[o]});return r}function withAsyncContext(e){const t=getCurrentInstance$1();let r=e();return unsetCurrentInstance(),isPromise(r)&&(r=r.catch(o=>{throw setCurrentInstance(t),o})),[r,()=>setCurrentInstance(t)]}let shouldCacheAccess=!0;function applyOptions(e){const t=resolveMergedOptions(e),r=e.proxy,o=e.ctx;shouldCacheAccess=!1,t.beforeCreate&&callHook$1(t.beforeCreate,e,"bc");const{data:i,computed:c,methods:a,watch:u,provide:d,inject:f,created:m,beforeMount:g,mounted:v,beforeUpdate:y,updated:w,activated:b,deactivated:S,beforeDestroy:_,beforeUnmount:k,destroyed:C,unmounted:T,render:x,renderTracked:R,renderTriggered:O,errorCaptured:A,serverPrefetch:N,expose:E,inheritAttrs:P,components:V,directives:D,filters:F}=t;if(f&&resolveInjections(f,o,null),a)for(const U in a){const M=a[U];isFunction(M)&&(o[U]=M.bind(r))}if(i){const U=i.call(r,r);isObject$1(U)&&(e.data=reactive(U))}if(shouldCacheAccess=!0,c)for(const U in c){const M=c[U],Z=isFunction(M)?M.bind(r,r):isFunction(M.get)?M.get.bind(r,r):NOOP,Q=!isFunction(M)&&isFunction(M.set)?M.set.bind(r):NOOP,te=computed({get:Z,set:Q});Object.defineProperty(o,U,{enumerable:!0,configurable:!0,get:()=>te.value,set:W=>te.value=W})}if(u)for(const U in u)createWatcher(u[U],o,r,U);if(d){const U=isFunction(d)?d.call(r):d;Reflect.ownKeys(U).forEach(M=>{provide(M,U[M])})}m&&callHook$1(m,e,"c");function $(U,M){isArray$1(M)?M.forEach(Z=>U(Z.bind(r))):M&&U(M.bind(r))}if($(onBeforeMount,g),$(onMounted,v),$(onBeforeUpdate,y),$(onUpdated,w),$(onActivated,b),$(onDeactivated,S),$(onErrorCaptured,A),$(onRenderTracked,R),$(onRenderTriggered,O),$(onBeforeUnmount,k),$(onUnmounted,T),$(onServerPrefetch,N),isArray$1(E))if(E.length){const U=e.exposed||(e.exposed={});E.forEach(M=>{Object.defineProperty(U,M,{get:()=>r[M],set:Z=>r[M]=Z})})}else e.exposed||(e.exposed={});x&&e.render===NOOP&&(e.render=x),P!=null&&(e.inheritAttrs=P),V&&(e.components=V),D&&(e.directives=D)}function resolveInjections(e,t,r=NOOP){isArray$1(e)&&(e=normalizeInject(e));for(const o in e){const i=e[o];let c;isObject$1(i)?"default"in i?c=inject$1(i.from||o,i.default,!0):c=inject$1(i.from||o):c=inject$1(i),isRef(c)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>c.value,set:a=>c.value=a}):t[o]=c}}function callHook$1(e,t,r){callWithAsyncErrorHandling(isArray$1(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,r)}function createWatcher(e,t,r,o){const i=o.includes(".")?createPathGetter(r,o):()=>r[o];if(isString$1(e)){const c=t[e];isFunction(c)&&watch(i,c)}else if(isFunction(e))watch(i,e.bind(r));else if(isObject$1(e))if(isArray$1(e))e.forEach(c=>createWatcher(c,t,r,o));else{const c=isFunction(e.handler)?e.handler.bind(r):t[e.handler];isFunction(c)&&watch(i,c,e)}}function resolveMergedOptions(e){const t=e.type,{mixins:r,extends:o}=t,{mixins:i,optionsCache:c,config:{optionMergeStrategies:a}}=e.appContext,u=c.get(t);let d;return u?d=u:!i.length&&!r&&!o?d=t:(d={},i.length&&i.forEach(f=>mergeOptions$1(d,f,a,!0)),mergeOptions$1(d,t,a)),isObject$1(t)&&c.set(t,d),d}function mergeOptions$1(e,t,r,o=!1){const{mixins:i,extends:c}=t;c&&mergeOptions$1(e,c,r,!0),i&&i.forEach(a=>mergeOptions$1(e,a,r,!0));for(const a in t)if(!(o&&a==="expose")){const u=internalOptionMergeStrats[a]||r&&r[a];e[a]=u?u(e[a],t[a]):t[a]}return e}const internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray,created:mergeAsArray,beforeMount:mergeAsArray,mounted:mergeAsArray,beforeUpdate:mergeAsArray,updated:mergeAsArray,beforeDestroy:mergeAsArray,beforeUnmount:mergeAsArray,destroyed:mergeAsArray,unmounted:mergeAsArray,activated:mergeAsArray,deactivated:mergeAsArray,errorCaptured:mergeAsArray,serverPrefetch:mergeAsArray,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(e,t){return t?e?function(){return extend$1(isFunction(e)?e.call(this,this):e,isFunction(t)?t.call(this,this):t)}:t:e}function mergeInject(e,t){return mergeObjectOptions(normalizeInject(e),normalizeInject(t))}function normalizeInject(e){if(isArray$1(e)){const t={};for(let r=0;r<e.length;r++)t[e[r]]=e[r];return t}return e}function mergeAsArray(e,t){return e?[...new Set([].concat(e,t))]:t}function mergeObjectOptions(e,t){return e?extend$1(Object.create(null),e,t):t}function mergeEmitsOrPropsOptions(e,t){return e?isArray$1(e)&&isArray$1(t)?[...new Set([...e,...t])]:extend$1(Object.create(null),normalizePropsOrEmits(e),normalizePropsOrEmits(t??{})):t}function mergeWatchOptions(e,t){if(!e)return t;if(!t)return e;const r=extend$1(Object.create(null),e);for(const o in t)r[o]=mergeAsArray(e[o],t[o]);return r}function createAppContext(){return{app:null,config:{isNativeTag:NO,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 uid$1=0;function createAppAPI(e,t){return function(o,i=null){isFunction(o)||(o=extend$1({},o)),i!=null&&!isObject$1(i)&&(i=null);const c=createAppContext(),a=new WeakSet;let u=!1;const d=c.app={_uid:uid$1++,_component:o,_props:i,_container:null,_context:c,_instance:null,version:version$2,get config(){return c.config},set config(f){},use(f,...m){return a.has(f)||(f&&isFunction(f.install)?(a.add(f),f.install(d,...m)):isFunction(f)&&(a.add(f),f(d,...m))),d},mixin(f){return c.mixins.includes(f)||c.mixins.push(f),d},component(f,m){return m?(c.components[f]=m,d):c.components[f]},directive(f,m){return m?(c.directives[f]=m,d):c.directives[f]},mount(f,m,g){if(!u){const v=createVNode(o,i);return v.appContext=c,g===!0?g="svg":g===!1&&(g=void 0),m&&t?t(v,f):e(v,f,g),u=!0,d._container=f,f.__vue_app__=d,getExposeProxy(v.component)||v.component.proxy}},unmount(){u&&(e(null,d._container),delete d._container.__vue_app__)},provide(f,m){return c.provides[f]=m,d},runWithContext(f){const m=currentApp;currentApp=d;try{return f()}finally{currentApp=m}}};return d}}let currentApp=null;function provide(e,t){if(currentInstance){let r=currentInstance.provides;const o=currentInstance.parent&&currentInstance.parent.provides;o===r&&(r=currentInstance.provides=Object.create(o)),r[e]=t}}function inject$1(e,t,r=!1){const o=currentInstance||currentRenderingInstance;if(o||currentApp){const i=o?o.parent==null?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:currentApp._context.provides;if(i&&e in i)return i[e];if(arguments.length>1)return r&&isFunction(t)?t.call(o&&o.proxy):t}}function hasInjectionContext(){return!!(currentInstance||currentRenderingInstance||currentApp)}function initProps(e,t,r,o=!1){const i={},c={};def(c,InternalObjectKey,1),e.propsDefaults=Object.create(null),setFullProps(e,t,i,c);for(const a in e.propsOptions[0])a in i||(i[a]=void 0);r?e.props=o?i:shallowReactive(i):e.type.props?e.props=i:e.props=c,e.attrs=c}function updateProps(e,t,r,o){const{props:i,attrs:c,vnode:{patchFlag:a}}=e,u=toRaw(i),[d]=e.propsOptions;let f=!1;if((o||a>0)&&!(a&16)){if(a&8){const m=e.vnode.dynamicProps;for(let g=0;g<m.length;g++){let v=m[g];if(isEmitListener(e.emitsOptions,v))continue;const y=t[v];if(d)if(hasOwn(c,v))y!==c[v]&&(c[v]=y,f=!0);else{const w=camelize(v);i[w]=resolvePropValue(d,u,w,y,e,!1)}else y!==c[v]&&(c[v]=y,f=!0)}}}else{setFullProps(e,t,i,c)&&(f=!0);let m;for(const g in u)(!t||!hasOwn(t,g)&&((m=hyphenate(g))===g||!hasOwn(t,m)))&&(d?r&&(r[g]!==void 0||r[m]!==void 0)&&(i[g]=resolvePropValue(d,u,g,void 0,e,!0)):delete i[g]);if(c!==u)for(const g in c)(!t||!hasOwn(t,g))&&(delete c[g],f=!0)}f&&trigger(e,"set","$attrs")}function setFullProps(e,t,r,o){const[i,c]=e.propsOptions;let a=!1,u;if(t)for(let d in t){if(isReservedProp(d))continue;const f=t[d];let m;i&&hasOwn(i,m=camelize(d))?!c||!c.includes(m)?r[m]=f:(u||(u={}))[m]=f:isEmitListener(e.emitsOptions,d)||(!(d in o)||f!==o[d])&&(o[d]=f,a=!0)}if(c){const d=toRaw(r),f=u||EMPTY_OBJ;for(let m=0;m<c.length;m++){const g=c[m];r[g]=resolvePropValue(i,d,g,f[g],e,!hasOwn(f,g))}}return a}function resolvePropValue(e,t,r,o,i,c){const a=e[r];if(a!=null){const u=hasOwn(a,"default");if(u&&o===void 0){const d=a.default;if(a.type!==Function&&!a.skipFactory&&isFunction(d)){const{propsDefaults:f}=i;if(r in f)o=f[r];else{const m=setCurrentInstance(i);o=f[r]=d.call(null,t),m()}}else o=d}a[0]&&(c&&!u?o=!1:a[1]&&(o===""||o===hyphenate(r))&&(o=!0))}return o}function normalizePropsOptions(e,t,r=!1){const o=t.propsCache,i=o.get(e);if(i)return i;const c=e.props,a={},u=[];let d=!1;if(!isFunction(e)){const m=g=>{d=!0;const[v,y]=normalizePropsOptions(g,t,!0);extend$1(a,v),y&&u.push(...y)};!r&&t.mixins.length&&t.mixins.forEach(m),e.extends&&m(e.extends),e.mixins&&e.mixins.forEach(m)}if(!c&&!d)return isObject$1(e)&&o.set(e,EMPTY_ARR),EMPTY_ARR;if(isArray$1(c))for(let m=0;m<c.length;m++){const g=camelize(c[m]);validatePropName(g)&&(a[g]=EMPTY_OBJ)}else if(c)for(const m in c){const g=camelize(m);if(validatePropName(g)){const v=c[m],y=a[g]=isArray$1(v)||isFunction(v)?{type:v}:extend$1({},v);if(y){const w=getTypeIndex(Boolean,y.type),b=getTypeIndex(String,y.type);y[0]=w>-1,y[1]=b<0||w<b,(w>-1||hasOwn(y,"default"))&&u.push(g)}}}const f=[a,u];return isObject$1(e)&&o.set(e,f),f}function validatePropName(e){return e[0]!=="$"&&!isReservedProp(e)}function getType(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function isSameType(e,t){return getType(e)===getType(t)}function getTypeIndex(e,t){return isArray$1(t)?t.findIndex(r=>isSameType(r,e)):isFunction(t)&&isSameType(t,e)?0:-1}const isInternalKey=e=>e[0]==="_"||e==="$stable",normalizeSlotValue=e=>isArray$1(e)?e.map(normalizeVNode):[normalizeVNode(e)],normalizeSlot$1=(e,t,r)=>{if(t._n)return t;const o=withCtx((...i)=>normalizeSlotValue(t(...i)),r);return o._c=!1,o},normalizeObjectSlots=(e,t,r)=>{const o=e._ctx;for(const i in e){if(isInternalKey(i))continue;const c=e[i];if(isFunction(c))t[i]=normalizeSlot$1(i,c,o);else if(c!=null){const a=normalizeSlotValue(c);t[i]=()=>a}}},normalizeVNodeSlots=(e,t)=>{const r=normalizeSlotValue(t);e.slots.default=()=>r},initSlots=(e,t)=>{if(e.vnode.shapeFlag&32){const r=t._;r?(e.slots=toRaw(t),def(t,"_",r)):normalizeObjectSlots(t,e.slots={})}else e.slots={},t&&normalizeVNodeSlots(e,t);def(e.slots,InternalObjectKey,1)},updateSlots=(e,t,r)=>{const{vnode:o,slots:i}=e;let c=!0,a=EMPTY_OBJ;if(o.shapeFlag&32){const u=t._;u?r&&u===1?c=!1:(extend$1(i,t),!r&&u===1&&delete i._):(c=!t.$stable,normalizeObjectSlots(t,i)),a=t}else t&&(normalizeVNodeSlots(e,t),a={default:1});if(c)for(const u in i)!isInternalKey(u)&&a[u]==null&&delete i[u]};function setRef(e,t,r,o,i=!1){if(isArray$1(e)){e.forEach((v,y)=>setRef(v,t&&(isArray$1(t)?t[y]:t),r,o,i));return}if(isAsyncWrapper(o)&&!i)return;const c=o.shapeFlag&4?getExposeProxy(o.component)||o.component.proxy:o.el,a=i?null:c,{i:u,r:d}=e,f=t&&t.r,m=u.refs===EMPTY_OBJ?u.refs={}:u.refs,g=u.setupState;if(f!=null&&f!==d&&(isString$1(f)?(m[f]=null,hasOwn(g,f)&&(g[f]=null)):isRef(f)&&(f.value=null)),isFunction(d))callWithErrorHandling(d,u,12,[a,m]);else{const v=isString$1(d),y=isRef(d);if(v||y){const w=()=>{if(e.f){const b=v?hasOwn(g,d)?g[d]:m[d]:d.value;i?isArray$1(b)&&remove(b,c):isArray$1(b)?b.includes(c)||b.push(c):v?(m[d]=[c],hasOwn(g,d)&&(g[d]=m[d])):(d.value=[c],e.k&&(m[e.k]=d.value))}else v?(m[d]=a,hasOwn(g,d)&&(g[d]=a)):y&&(d.value=a,e.k&&(m[e.k]=a))};a?(w.id=-1,queuePostRenderEffect(w,r)):w()}}}let hasMismatch=!1;const isSVGContainer=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",isMathMLContainer=e=>e.namespaceURI.includes("MathML"),getContainerType=e=>{if(isSVGContainer(e))return"svg";if(isMathMLContainer(e))return"mathml"},isComment=e=>e.nodeType===8;function createHydrationFunctions(e){const{mt:t,p:r,o:{patchProp:o,createText:i,nextSibling:c,parentNode:a,remove:u,insert:d,createComment:f}}=e,m=(C,T)=>{if(!T.hasChildNodes()){r(null,C,T),flushPostFlushCbs(),T._vnode=C;return}hasMismatch=!1,g(T.firstChild,C,null,null,null),flushPostFlushCbs(),T._vnode=C,hasMismatch&&console.error("Hydration completed but contains mismatches.")},g=(C,T,x,R,O,A=!1)=>{const N=isComment(C)&&C.data==="[",E=()=>b(C,T,x,R,O,N),{type:P,ref:V,shapeFlag:D,patchFlag:F}=T;let B=C.nodeType;T.el=C,F===-2&&(A=!1,T.dynamicChildren=null);let $=null;switch(P){case Text:B!==3?T.children===""?(d(T.el=i(""),a(C),C),$=C):$=E():(C.data!==T.children&&(hasMismatch=!0,C.data=T.children),$=c(C));break;case Comment:k(C)?($=c(C),_(T.el=C.content.firstChild,C,x)):B!==8||N?$=E():$=c(C);break;case Static:if(N&&(C=c(C),B=C.nodeType),B===1||B===3){$=C;const U=!T.children.length;for(let M=0;M<T.staticCount;M++)U&&(T.children+=$.nodeType===1?$.outerHTML:$.data),M===T.staticCount-1&&(T.anchor=$),$=c($);return N?c($):$}else E();break;case Fragment:N?$=w(C,T,x,R,O,A):$=E();break;default:if(D&1)(B!==1||T.type.toLowerCase()!==C.tagName.toLowerCase())&&!k(C)?$=E():$=v(C,T,x,R,O,A);else if(D&6){T.slotScopeIds=O;const U=a(C);if(N?$=S(C):isComment(C)&&C.data==="teleport start"?$=S(C,C.data,"teleport end"):$=c(C),t(T,U,null,x,R,getContainerType(U),A),isAsyncWrapper(T)){let M;N?(M=createVNode(Fragment),M.anchor=$?$.previousSibling:U.lastChild):M=C.nodeType===3?createTextVNode(""):createVNode("div"),M.el=C,T.component.subTree=M}}else D&64?B!==8?$=E():$=T.type.hydrate(C,T,x,R,O,A,e,y):D&128&&($=T.type.hydrate(C,T,x,R,getContainerType(a(C)),O,A,e,g))}return V!=null&&setRef(V,null,R,T),$},v=(C,T,x,R,O,A)=>{A=A||!!T.dynamicChildren;const{type:N,props:E,patchFlag:P,shapeFlag:V,dirs:D,transition:F}=T,B=N==="input"||N==="option";if(B||P!==-1){D&&invokeDirectiveHook(T,null,x,"created");let $=!1;if(k(C)){$=needTransition(R,F)&&x&&x.vnode.props&&x.vnode.props.appear;const M=C.content.firstChild;$&&F.beforeEnter(M),_(M,C,x),T.el=C=M}if(V&16&&!(E&&(E.innerHTML||E.textContent))){let M=y(C.firstChild,T,C,x,R,O,A);for(;M;){hasMismatch=!0;const Z=M;M=M.nextSibling,u(Z)}}else V&8&&C.textContent!==T.children&&(hasMismatch=!0,C.textContent=T.children);if(E)if(B||!A||P&48)for(const M in E)(B&&(M.endsWith("value")||M==="indeterminate")||isOn$1(M)&&!isReservedProp(M)||M[0]===".")&&o(C,M,null,E[M],void 0,void 0,x);else E.onClick&&o(C,"onClick",null,E.onClick,void 0,void 0,x);let U;(U=E&&E.onVnodeBeforeMount)&&invokeVNodeHook(U,x,T),D&&invokeDirectiveHook(T,null,x,"beforeMount"),((U=E&&E.onVnodeMounted)||D||$)&&queueEffectWithSuspense(()=>{U&&invokeVNodeHook(U,x,T),$&&F.enter(C),D&&invokeDirectiveHook(T,null,x,"mounted")},R)}return C.nextSibling},y=(C,T,x,R,O,A,N)=>{N=N||!!T.dynamicChildren;const E=T.children,P=E.length;for(let V=0;V<P;V++){const D=N?E[V]:E[V]=normalizeVNode(E[V]);if(C)C=g(C,D,R,O,A,N);else{if(D.type===Text&&!D.children)continue;hasMismatch=!0,r(null,D,x,null,R,O,getContainerType(x),A)}}return C},w=(C,T,x,R,O,A)=>{const{slotScopeIds:N}=T;N&&(O=O?O.concat(N):N);const E=a(C),P=y(c(C),T,E,x,R,O,A);return P&&isComment(P)&&P.data==="]"?c(T.anchor=P):(hasMismatch=!0,d(T.anchor=f("]"),E,P),P)},b=(C,T,x,R,O,A)=>{if(hasMismatch=!0,T.el=null,A){const P=S(C);for(;;){const V=c(C);if(V&&V!==P)u(V);else break}}const N=c(C),E=a(C);return u(C),r(null,T,E,N,x,R,getContainerType(E),O),N},S=(C,T="[",x="]")=>{let R=0;for(;C;)if(C=c(C),C&&isComment(C)&&(C.data===T&&R++,C.data===x)){if(R===0)return c(C);R--}return C},_=(C,T,x)=>{const R=T.parentNode;R&&R.replaceChild(C,T);let O=x;for(;O;)O.vnode.el===T&&(O.vnode.el=O.subTree.el=C),O=O.parent},k=C=>C.nodeType===1&&C.tagName.toLowerCase()==="template";return[m,g]}const queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(e){return baseCreateRenderer(e)}function createHydrationRenderer(e){return baseCreateRenderer(e,createHydrationFunctions)}function baseCreateRenderer(e,t){const r=getGlobalThis();r.__VUE__=!0;const{insert:o,remove:i,patchProp:c,createElement:a,createText:u,createComment:d,setText:f,setElementText:m,parentNode:g,nextSibling:v,setScopeId:y=NOOP,insertStaticContent:w}=e,b=(I,L,J,X=null,ee=null,ue=null,de=void 0,se=null,pe=!!L.dynamicChildren)=>{if(I===L)return;I&&!isSameVNodeType(I,L)&&(X=q(I),W(I,ee,ue,!0),I=null),L.patchFlag===-2&&(pe=!1,L.dynamicChildren=null);const{type:ae,ref:ge,shapeFlag:oe}=L;switch(ae){case Text:S(I,L,J,X);break;case Comment:_(I,L,J,X);break;case Static:I==null&&k(L,J,X,de);break;case Fragment:V(I,L,J,X,ee,ue,de,se,pe);break;default:oe&1?x(I,L,J,X,ee,ue,de,se,pe):oe&6?D(I,L,J,X,ee,ue,de,se,pe):(oe&64||oe&128)&&ae.process(I,L,J,X,ee,ue,de,se,pe,re)}ge!=null&&ee&&setRef(ge,I&&I.ref,ue,L||I,!L)},S=(I,L,J,X)=>{if(I==null)o(L.el=u(L.children),J,X);else{const ee=L.el=I.el;L.children!==I.children&&f(ee,L.children)}},_=(I,L,J,X)=>{I==null?o(L.el=d(L.children||""),J,X):L.el=I.el},k=(I,L,J,X)=>{[I.el,I.anchor]=w(I.children,L,J,X,I.el,I.anchor)},C=({el:I,anchor:L},J,X)=>{let ee;for(;I&&I!==L;)ee=v(I),o(I,J,X),I=ee;o(L,J,X)},T=({el:I,anchor:L})=>{let J;for(;I&&I!==L;)J=v(I),i(I),I=J;i(L)},x=(I,L,J,X,ee,ue,de,se,pe)=>{L.type==="svg"?de="svg":L.type==="math"&&(de="mathml"),I==null?R(L,J,X,ee,ue,de,se,pe):N(I,L,ee,ue,de,se,pe)},R=(I,L,J,X,ee,ue,de,se)=>{let pe,ae;const{props:ge,shapeFlag:oe,transition:ie,dirs:ve}=I;if(pe=I.el=a(I.type,ue,ge&&ge.is,ge),oe&8?m(pe,I.children):oe&16&&A(I.children,pe,null,X,ee,resolveChildrenNamespace(I,ue),de,se),ve&&invokeDirectiveHook(I,null,X,"created"),O(pe,I,I.scopeId,de,X),ge){for(const Ce in ge)Ce!=="value"&&!isReservedProp(Ce)&&c(pe,Ce,null,ge[Ce],ue,I.children,X,ee,ce);"value"in ge&&c(pe,"value",null,ge.value,ue),(ae=ge.onVnodeBeforeMount)&&invokeVNodeHook(ae,X,I)}ve&&invokeDirectiveHook(I,null,X,"beforeMount");const we=needTransition(ee,ie);we&&ie.beforeEnter(pe),o(pe,L,J),((ae=ge&&ge.onVnodeMounted)||we||ve)&&queuePostRenderEffect(()=>{ae&&invokeVNodeHook(ae,X,I),we&&ie.enter(pe),ve&&invokeDirectiveHook(I,null,X,"mounted")},ee)},O=(I,L,J,X,ee)=>{if(J&&y(I,J),X)for(let ue=0;ue<X.length;ue++)y(I,X[ue]);if(ee){let ue=ee.subTree;if(L===ue){const de=ee.vnode;O(I,de,de.scopeId,de.slotScopeIds,ee.parent)}}},A=(I,L,J,X,ee,ue,de,se,pe=0)=>{for(let ae=pe;ae<I.length;ae++){const ge=I[ae]=se?cloneIfMounted(I[ae]):normalizeVNode(I[ae]);b(null,ge,L,J,X,ee,ue,de,se)}},N=(I,L,J,X,ee,ue,de)=>{const se=L.el=I.el;let{patchFlag:pe,dynamicChildren:ae,dirs:ge}=L;pe|=I.patchFlag&16;const oe=I.props||EMPTY_OBJ,ie=L.props||EMPTY_OBJ;let ve;if(J&&toggleRecurse(J,!1),(ve=ie.onVnodeBeforeUpdate)&&invokeVNodeHook(ve,J,L,I),ge&&invokeDirectiveHook(L,I,J,"beforeUpdate"),J&&toggleRecurse(J,!0),ae?E(I.dynamicChildren,ae,se,J,X,resolveChildrenNamespace(L,ee),ue):de||M(I,L,se,null,J,X,resolveChildrenNamespace(L,ee),ue,!1),pe>0){if(pe&16)P(se,L,oe,ie,J,X,ee);else if(pe&2&&oe.class!==ie.class&&c(se,"class",null,ie.class,ee),pe&4&&c(se,"style",oe.style,ie.style,ee),pe&8){const we=L.dynamicProps;for(let Ce=0;Ce<we.length;Ce++){const H=we[Ce],Y=oe[H],ne=ie[H];(ne!==Y||H==="value")&&c(se,H,Y,ne,ee,I.children,J,X,ce)}}pe&1&&I.children!==L.children&&m(se,L.children)}else!de&&ae==null&&P(se,L,oe,ie,J,X,ee);((ve=ie.onVnodeUpdated)||ge)&&queuePostRenderEffect(()=>{ve&&invokeVNodeHook(ve,J,L,I),ge&&invokeDirectiveHook(L,I,J,"updated")},X)},E=(I,L,J,X,ee,ue,de)=>{for(let se=0;se<L.length;se++){const pe=I[se],ae=L[se],ge=pe.el&&(pe.type===Fragment||!isSameVNodeType(pe,ae)||pe.shapeFlag&70)?g(pe.el):J;b(pe,ae,ge,null,X,ee,ue,de,!0)}},P=(I,L,J,X,ee,ue,de)=>{if(J!==X){if(J!==EMPTY_OBJ)for(const se in J)!isReservedProp(se)&&!(se in X)&&c(I,se,J[se],null,de,L.children,ee,ue,ce);for(const se in X){if(isReservedProp(se))continue;const pe=X[se],ae=J[se];pe!==ae&&se!=="value"&&c(I,se,ae,pe,de,L.children,ee,ue,ce)}"value"in X&&c(I,"value",J.value,X.value,de)}},V=(I,L,J,X,ee,ue,de,se,pe)=>{const ae=L.el=I?I.el:u(""),ge=L.anchor=I?I.anchor:u("");let{patchFlag:oe,dynamicChildren:ie,slotScopeIds:ve}=L;ve&&(se=se?se.concat(ve):ve),I==null?(o(ae,J,X),o(ge,J,X),A(L.children||[],J,ge,ee,ue,de,se,pe)):oe>0&&oe&64&&ie&&I.dynamicChildren?(E(I.dynamicChildren,ie,J,ee,ue,de,se),(L.key!=null||ee&&L===ee.subTree)&&traverseStaticChildren(I,L,!0)):M(I,L,J,ge,ee,ue,de,se,pe)},D=(I,L,J,X,ee,ue,de,se,pe)=>{L.slotScopeIds=se,I==null?L.shapeFlag&512?ee.ctx.activate(L,J,X,de,pe):F(L,J,X,ee,ue,de,pe):B(I,L,pe)},F=(I,L,J,X,ee,ue,de)=>{const se=I.component=createComponentInstance(I,X,ee);if(isKeepAlive(I)&&(se.ctx.renderer=re),setupComponent(se),se.asyncDep){if(ee&&ee.registerDep(se,$),!I.el){const pe=se.subTree=createVNode(Comment);_(null,pe,L,J)}}else $(se,I,L,J,ee,ue,de)},B=(I,L,J)=>{const X=L.component=I.component;if(shouldUpdateComponent(I,L,J))if(X.asyncDep&&!X.asyncResolved){U(X,L,J);return}else X.next=L,invalidateJob(X.update),X.effect.dirty=!0,X.update();else L.el=I.el,X.vnode=L},$=(I,L,J,X,ee,ue,de)=>{const se=()=>{if(I.isMounted){let{next:ge,bu:oe,u:ie,parent:ve,vnode:we}=I;{const fe=locateNonHydratedAsyncRoot(I);if(fe){ge&&(ge.el=we.el,U(I,ge,de)),fe.asyncDep.then(()=>{I.isUnmounted||se()});return}}let Ce=ge,H;toggleRecurse(I,!1),ge?(ge.el=we.el,U(I,ge,de)):ge=we,oe&&invokeArrayFns(oe),(H=ge.props&&ge.props.onVnodeBeforeUpdate)&&invokeVNodeHook(H,ve,ge,we),toggleRecurse(I,!0);const Y=renderComponentRoot(I),ne=I.subTree;I.subTree=Y,b(ne,Y,g(ne.el),q(ne),I,ee,ue),ge.el=Y.el,Ce===null&&updateHOCHostEl(I,Y.el),ie&&queuePostRenderEffect(ie,ee),(H=ge.props&&ge.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(H,ve,ge,we),ee)}else{let ge;const{el:oe,props:ie}=L,{bm:ve,m:we,parent:Ce}=I,H=isAsyncWrapper(L);if(toggleRecurse(I,!1),ve&&invokeArrayFns(ve),!H&&(ge=ie&&ie.onVnodeBeforeMount)&&invokeVNodeHook(ge,Ce,L),toggleRecurse(I,!0),oe&&G){const Y=()=>{I.subTree=renderComponentRoot(I),G(oe,I.subTree,I,ee,null)};H?L.type.__asyncLoader().then(()=>!I.isUnmounted&&Y()):Y()}else{const Y=I.subTree=renderComponentRoot(I);b(null,Y,J,X,I,ee,ue),L.el=Y.el}if(we&&queuePostRenderEffect(we,ee),!H&&(ge=ie&&ie.onVnodeMounted)){const Y=L;queuePostRenderEffect(()=>invokeVNodeHook(ge,Ce,Y),ee)}(L.shapeFlag&256||Ce&&isAsyncWrapper(Ce.vnode)&&Ce.vnode.shapeFlag&256)&&I.a&&queuePostRenderEffect(I.a,ee),I.isMounted=!0,L=J=X=null}},pe=I.effect=new ReactiveEffect(se,NOOP,()=>queueJob(ae),I.scope),ae=I.update=()=>{pe.dirty&&pe.run()};ae.id=I.uid,toggleRecurse(I,!0),ae()},U=(I,L,J)=>{L.component=I;const X=I.vnode.props;I.vnode=L,I.next=null,updateProps(I,L.props,X,J),updateSlots(I,L.children,J),pauseTracking(),flushPreFlushCbs(I),resetTracking()},M=(I,L,J,X,ee,ue,de,se,pe=!1)=>{const ae=I&&I.children,ge=I?I.shapeFlag:0,oe=L.children,{patchFlag:ie,shapeFlag:ve}=L;if(ie>0){if(ie&128){Q(ae,oe,J,X,ee,ue,de,se,pe);return}else if(ie&256){Z(ae,oe,J,X,ee,ue,de,se,pe);return}}ve&8?(ge&16&&ce(ae,ee,ue),oe!==ae&&m(J,oe)):ge&16?ve&16?Q(ae,oe,J,X,ee,ue,de,se,pe):ce(ae,ee,ue,!0):(ge&8&&m(J,""),ve&16&&A(oe,J,X,ee,ue,de,se,pe))},Z=(I,L,J,X,ee,ue,de,se,pe)=>{I=I||EMPTY_ARR,L=L||EMPTY_ARR;const ae=I.length,ge=L.length,oe=Math.min(ae,ge);let ie;for(ie=0;ie<oe;ie++){const ve=L[ie]=pe?cloneIfMounted(L[ie]):normalizeVNode(L[ie]);b(I[ie],ve,J,null,ee,ue,de,se,pe)}ae>ge?ce(I,ee,ue,!0,!1,oe):A(L,J,X,ee,ue,de,se,pe,oe)},Q=(I,L,J,X,ee,ue,de,se,pe)=>{let ae=0;const ge=L.length;let oe=I.length-1,ie=ge-1;for(;ae<=oe&&ae<=ie;){const ve=I[ae],we=L[ae]=pe?cloneIfMounted(L[ae]):normalizeVNode(L[ae]);if(isSameVNodeType(ve,we))b(ve,we,J,null,ee,ue,de,se,pe);else break;ae++}for(;ae<=oe&&ae<=ie;){const ve=I[oe],we=L[ie]=pe?cloneIfMounted(L[ie]):normalizeVNode(L[ie]);if(isSameVNodeType(ve,we))b(ve,we,J,null,ee,ue,de,se,pe);else break;oe--,ie--}if(ae>oe){if(ae<=ie){const ve=ie+1,we=ve<ge?L[ve].el:X;for(;ae<=ie;)b(null,L[ae]=pe?cloneIfMounted(L[ae]):normalizeVNode(L[ae]),J,we,ee,ue,de,se,pe),ae++}}else if(ae>ie)for(;ae<=oe;)W(I[ae],ee,ue,!0),ae++;else{const ve=ae,we=ae,Ce=new Map;for(ae=we;ae<=ie;ae++){const Te=L[ae]=pe?cloneIfMounted(L[ae]):normalizeVNode(L[ae]);Te.key!=null&&Ce.set(Te.key,ae)}let H,Y=0;const ne=ie-we+1;let fe=!1,ye=0;const Se=new Array(ne);for(ae=0;ae<ne;ae++)Se[ae]=0;for(ae=ve;ae<=oe;ae++){const Te=I[ae];if(Y>=ne){W(Te,ee,ue,!0);continue}let Oe;if(Te.key!=null)Oe=Ce.get(Te.key);else for(H=we;H<=ie;H++)if(Se[H-we]===0&&isSameVNodeType(Te,L[H])){Oe=H;break}Oe===void 0?W(Te,ee,ue,!0):(Se[Oe-we]=ae+1,Oe>=ye?ye=Oe:fe=!0,b(Te,L[Oe],J,null,ee,ue,de,se,pe),Y++)}const xe=fe?getSequence(Se):EMPTY_ARR;for(H=xe.length-1,ae=ne-1;ae>=0;ae--){const Te=we+ae,Oe=L[Te],ke=Te+1<ge?L[Te+1].el:X;Se[ae]===0?b(null,Oe,J,ke,ee,ue,de,se,pe):fe&&(H<0||ae!==xe[H]?te(Oe,J,ke,2):H--)}}},te=(I,L,J,X,ee=null)=>{const{el:ue,type:de,transition:se,children:pe,shapeFlag:ae}=I;if(ae&6){te(I.component.subTree,L,J,X);return}if(ae&128){I.suspense.move(L,J,X);return}if(ae&64){de.move(I,L,J,re);return}if(de===Fragment){o(ue,L,J);for(let oe=0;oe<pe.length;oe++)te(pe[oe],L,J,X);o(I.anchor,L,J);return}if(de===Static){C(I,L,J);return}if(X!==2&&ae&1&&se)if(X===0)se.beforeEnter(ue),o(ue,L,J),queuePostRenderEffect(()=>se.enter(ue),ee);else{const{leave:oe,delayLeave:ie,afterLeave:ve}=se,we=()=>o(ue,L,J),Ce=()=>{oe(ue,()=>{we(),ve&&ve()})};ie?ie(ue,we,Ce):Ce()}else o(ue,L,J)},W=(I,L,J,X=!1,ee=!1)=>{const{type:ue,props:de,ref:se,children:pe,dynamicChildren:ae,shapeFlag:ge,patchFlag:oe,dirs:ie}=I;if(se!=null&&setRef(se,null,J,I,!0),ge&256){L.ctx.deactivate(I);return}const ve=ge&1&&ie,we=!isAsyncWrapper(I);let Ce;if(we&&(Ce=de&&de.onVnodeBeforeUnmount)&&invokeVNodeHook(Ce,L,I),ge&6)me(I.component,J,X);else{if(ge&128){I.suspense.unmount(J,X);return}ve&&invokeDirectiveHook(I,null,L,"beforeUnmount"),ge&64?I.type.remove(I,L,J,ee,re,X):ae&&(ue!==Fragment||oe>0&&oe&64)?ce(ae,L,J,!1,!0):(ue===Fragment&&oe&384||!ee&&ge&16)&&ce(pe,L,J),X&&j(I)}(we&&(Ce=de&&de.onVnodeUnmounted)||ve)&&queuePostRenderEffect(()=>{Ce&&invokeVNodeHook(Ce,L,I),ve&&invokeDirectiveHook(I,null,L,"unmounted")},J)},j=I=>{const{type:L,el:J,anchor:X,transition:ee}=I;if(L===Fragment){le(J,X);return}if(L===Static){T(I);return}const ue=()=>{i(J),ee&&!ee.persisted&&ee.afterLeave&&ee.afterLeave()};if(I.shapeFlag&1&&ee&&!ee.persisted){const{leave:de,delayLeave:se}=ee,pe=()=>de(J,ue);se?se(I.el,ue,pe):pe()}else ue()},le=(I,L)=>{let J;for(;I!==L;)J=v(I),i(I),I=J;i(L)},me=(I,L,J)=>{const{bum:X,scope:ee,update:ue,subTree:de,um:se}=I;X&&invokeArrayFns(X),ee.stop(),ue&&(ue.active=!1,W(de,I,L,J)),se&&queuePostRenderEffect(se,L),queuePostRenderEffect(()=>{I.isUnmounted=!0},L),L&&L.pendingBranch&&!L.isUnmounted&&I.asyncDep&&!I.asyncResolved&&I.suspenseId===L.pendingId&&(L.deps--,L.deps===0&&L.resolve())},ce=(I,L,J,X=!1,ee=!1,ue=0)=>{for(let de=ue;de<I.length;de++)W(I[de],L,J,X,ee)},q=I=>I.shapeFlag&6?q(I.component.subTree):I.shapeFlag&128?I.suspense.next():v(I.anchor||I.el);let K=!1;const z=(I,L,J)=>{I==null?L._vnode&&W(L._vnode,null,null,!0):b(L._vnode||null,I,L,null,null,null,J),K||(K=!0,flushPreFlushCbs(),flushPostFlushCbs(),K=!1),L._vnode=I},re={p:b,um:W,m:te,r:j,mt:F,mc:A,pc:M,pbc:E,n:q,o:e};let he,G;return t&&([he,G]=t(re)),{render:z,hydrate:he,createApp:createAppAPI(z,he)}}function resolveChildrenNamespace({type:e,props:t},r){return r==="svg"&&e==="foreignObject"||r==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:r}function toggleRecurse({effect:e,update:t},r){e.allowRecurse=t.allowRecurse=r}function needTransition(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function traverseStaticChildren(e,t,r=!1){const o=e.children,i=t.children;if(isArray$1(o)&&isArray$1(i))for(let c=0;c<o.length;c++){const a=o[c];let u=i[c];u.shapeFlag&1&&!u.dynamicChildren&&((u.patchFlag<=0||u.patchFlag===32)&&(u=i[c]=cloneIfMounted(i[c]),u.el=a.el),r||traverseStaticChildren(a,u)),u.type===Text&&(u.el=a.el)}}function getSequence(e){const t=e.slice(),r=[0];let o,i,c,a,u;const d=e.length;for(o=0;o<d;o++){const f=e[o];if(f!==0){if(i=r[r.length-1],e[i]<f){t[o]=i,r.push(o);continue}for(c=0,a=r.length-1;c<a;)u=c+a>>1,e[r[u]]<f?c=u+1:a=u;f<e[r[c]]&&(c>0&&(t[o]=r[c-1]),r[c]=o)}}for(c=r.length,a=r[c-1];c-- >0;)r[c]=a,a=t[a];return r}function locateNonHydratedAsyncRoot(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:locateNonHydratedAsyncRoot(t)}const isTeleport=e=>e.__isTeleport,isTeleportDisabled=e=>e&&(e.disabled||e.disabled===""),isTargetSVG=e=>typeof SVGElement<"u"&&e instanceof SVGElement,isTargetMathML=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,resolveTarget=(e,t)=>{const r=e&&e.to;return isString$1(r)?t?t(r):null:r},TeleportImpl={name:"Teleport",__isTeleport:!0,process(e,t,r,o,i,c,a,u,d,f){const{mc:m,pc:g,pbc:v,o:{insert:y,querySelector:w,createText:b,createComment:S}}=f,_=isTeleportDisabled(t.props);let{shapeFlag:k,children:C,dynamicChildren:T}=t;if(e==null){const x=t.el=b(""),R=t.anchor=b("");y(x,r,o),y(R,r,o);const O=t.target=resolveTarget(t.props,w),A=t.targetAnchor=b("");O&&(y(A,O),a==="svg"||isTargetSVG(O)?a="svg":(a==="mathml"||isTargetMathML(O))&&(a="mathml"));const N=(E,P)=>{k&16&&m(C,E,P,i,c,a,u,d)};_?N(r,R):O&&N(O,A)}else{t.el=e.el;const x=t.anchor=e.anchor,R=t.target=e.target,O=t.targetAnchor=e.targetAnchor,A=isTeleportDisabled(e.props),N=A?r:R,E=A?x:O;if(a==="svg"||isTargetSVG(R)?a="svg":(a==="mathml"||isTargetMathML(R))&&(a="mathml"),T?(v(e.dynamicChildren,T,N,i,c,a,u),traverseStaticChildren(e,t,!0)):d||g(e,t,N,E,i,c,a,u,!1),_)A?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):moveTeleport(t,r,x,f,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const P=t.target=resolveTarget(t.props,w);P&&moveTeleport(t,P,null,f,0)}else A&&moveTeleport(t,R,O,f,1)}updateCssVars(t)},remove(e,t,r,o,{um:i,o:{remove:c}},a){const{shapeFlag:u,children:d,anchor:f,targetAnchor:m,target:g,props:v}=e;if(g&&c(m),a&&c(f),u&16){const y=a||!isTeleportDisabled(v);for(let w=0;w<d.length;w++){const b=d[w];i(b,t,r,y,!!b.dynamicChildren)}}},move:moveTeleport,hydrate:hydrateTeleport};function moveTeleport(e,t,r,{o:{insert:o},m:i},c=2){c===0&&o(e.targetAnchor,t,r);const{el:a,anchor:u,shapeFlag:d,children:f,props:m}=e,g=c===2;if(g&&o(a,t,r),(!g||isTeleportDisabled(m))&&d&16)for(let v=0;v<f.length;v++)i(f[v],t,r,2);g&&o(u,t,r)}function hydrateTeleport(e,t,r,o,i,c,{o:{nextSibling:a,parentNode:u,querySelector:d}},f){const m=t.target=resolveTarget(t.props,d);if(m){const g=m._lpa||m.firstChild;if(t.shapeFlag&16)if(isTeleportDisabled(t.props))t.anchor=f(a(e),t,u(e),r,o,i,c),t.targetAnchor=g;else{t.anchor=a(e);let v=g;for(;v;)if(v=a(v),v&&v.nodeType===8&&v.data==="teleport anchor"){t.targetAnchor=v,m._lpa=t.targetAnchor&&a(t.targetAnchor);break}f(g,t,m,r,o,i,c)}updateCssVars(t)}return t.anchor&&a(t.anchor)}const Teleport=TeleportImpl;function updateCssVars(e){const t=e.ctx;if(t&&t.ut){let r=e.children[0].el;for(;r&&r!==e.targetAnchor;)r.nodeType===1&&r.setAttribute("data-v-owner",t.uid),r=r.nextSibling;t.ut()}}const Fragment=Symbol.for("v-fgt"),Text=Symbol.for("v-txt"),Comment=Symbol.for("v-cmt"),Static=Symbol.for("v-stc"),blockStack=[];let currentBlock=null;function openBlock(e=!1){blockStack.push(currentBlock=e?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}let isBlockTreeEnabled=1;function setBlockTracking(e){isBlockTreeEnabled+=e}function setupBlock(e){return e.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&&currentBlock&&currentBlock.push(e),e}function createElementBlock(e,t,r,o,i,c){return setupBlock(createBaseVNode(e,t,r,o,i,c,!0))}function createBlock(e,t,r,o,i){return setupBlock(createVNode(e,t,r,o,i,!0))}function isVNode(e){return e?e.__v_isVNode===!0:!1}function isSameVNodeType(e,t){return e.type===t.type&&e.key===t.key}function transformVNodeArgs(e){}const InternalObjectKey="__vInternal",normalizeKey=({key:e})=>e??null,normalizeRef=({ref:e,ref_key:t,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?isString$1(e)||isRef(e)||isFunction(e)?{i:currentRenderingInstance,r:e,k:t,f:!!r}:e:null);function createBaseVNode(e,t=null,r=null,o=0,i=null,c=e===Fragment?0:1,a=!1,u=!1){const d={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&normalizeKey(t),ref:t&&normalizeRef(t),scopeId:currentScopeId,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:c,patchFlag:o,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return u?(normalizeChildren(d,r),c&128&&e.normalize(d)):r&&(d.shapeFlag|=isString$1(r)?8:16),isBlockTreeEnabled>0&&!a&&currentBlock&&(d.patchFlag>0||c&6)&&d.patchFlag!==32&&currentBlock.push(d),d}const createVNode=_createVNode;function _createVNode(e,t=null,r=null,o=0,i=null,c=!1){if((!e||e===NULL_DYNAMIC_COMPONENT)&&(e=Comment),isVNode(e)){const u=cloneVNode(e,t,!0);return r&&normalizeChildren(u,r),isBlockTreeEnabled>0&&!c&&currentBlock&&(u.shapeFlag&6?currentBlock[currentBlock.indexOf(e)]=u:currentBlock.push(u)),u.patchFlag|=-2,u}if(isClassComponent(e)&&(e=e.__vccOpts),t){t=guardReactiveProps(t);let{class:u,style:d}=t;u&&!isString$1(u)&&(t.class=normalizeClass(u)),isObject$1(d)&&(isProxy(d)&&!isArray$1(d)&&(d=extend$1({},d)),t.style=normalizeStyle(d))}const a=isString$1(e)?1:isSuspense(e)?128:isTeleport(e)?64:isObject$1(e)?4:isFunction(e)?2:0;return createBaseVNode(e,t,r,o,i,a,c,!0)}function guardReactiveProps(e){return e?isProxy(e)||InternalObjectKey in e?extend$1({},e):e:null}function cloneVNode(e,t,r=!1){const{props:o,ref:i,patchFlag:c,children:a}=e,u=t?mergeProps(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&normalizeKey(u),ref:t&&t.ref?r&&i?isArray$1(i)?i.concat(normalizeRef(t)):[i,normalizeRef(t)]:normalizeRef(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Fragment?c===-1?16:c|16:c,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&cloneVNode(e.ssContent),ssFallback:e.ssFallback&&cloneVNode(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function createTextVNode(e=" ",t=0){return createVNode(Text,null,e,t)}function createStaticVNode(e,t){const r=createVNode(Static,null,e);return r.staticCount=t,r}function createCommentVNode(e="",t=!1){return t?(openBlock(),createBlock(Comment,null,e)):createVNode(Comment,null,e)}function normalizeVNode(e){return e==null||typeof e=="boolean"?createVNode(Comment):isArray$1(e)?createVNode(Fragment,null,e.slice()):typeof e=="object"?cloneIfMounted(e):createVNode(Text,null,String(e))}function cloneIfMounted(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:cloneVNode(e)}function normalizeChildren(e,t){let r=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(isArray$1(t))r=16;else if(typeof t=="object")if(o&65){const i=t.default;i&&(i._c&&(i._d=!1),normalizeChildren(e,i()),i._c&&(i._d=!0));return}else{r=32;const i=t._;!i&&!(InternalObjectKey in t)?t._ctx=currentRenderingInstance:i===3&&currentRenderingInstance&&(currentRenderingInstance.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else isFunction(t)?(t={default:t,_ctx:currentRenderingInstance},r=32):(t=String(t),o&64?(r=16,t=[createTextVNode(t)]):r=8);e.children=t,e.shapeFlag|=r}function mergeProps(...e){const t={};for(let r=0;r<e.length;r++){const o=e[r];for(const i in o)if(i==="class")t.class!==o.class&&(t.class=normalizeClass([t.class,o.class]));else if(i==="style")t.style=normalizeStyle([t.style,o.style]);else if(isOn$1(i)){const c=t[i],a=o[i];a&&c!==a&&!(isArray$1(c)&&c.includes(a))&&(t[i]=c?[].concat(c,a):a)}else i!==""&&(t[i]=o[i])}return t}function invokeVNodeHook(e,t,r,o=null){callWithAsyncErrorHandling(e,t,7,[r,o])}const emptyAppContext=createAppContext();let uid=0;function createComponentInstance(e,t,r){const o=e.type,i=(t?t.appContext:e.appContext)||emptyAppContext,c={uid:uid++,vnode:e,type:o,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,scope:new EffectScope(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:normalizePropsOptions(o,i),emitsOptions:normalizeEmitsOptions(o,i),emit:null,emitted:null,propsDefaults:EMPTY_OBJ,inheritAttrs:o.inheritAttrs,ctx:EMPTY_OBJ,data:EMPTY_OBJ,props:EMPTY_OBJ,attrs:EMPTY_OBJ,slots:EMPTY_OBJ,refs:EMPTY_OBJ,setupState:EMPTY_OBJ,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:r,suspenseId:r?r.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};return c.ctx={_:c},c.root=t?t.root:c,c.emit=emit.bind(null,c),e.ce&&e.ce(c),c}let currentInstance=null;const getCurrentInstance$1=()=>currentInstance||currentRenderingInstance;let internalSetCurrentInstance,setInSSRSetupState;{const e=getGlobalThis(),t=(r,o)=>{let i;return(i=e[r])||(i=e[r]=[]),i.push(o),c=>{i.length>1?i.forEach(a=>a(c)):i[0](c)}};internalSetCurrentInstance=t("__VUE_INSTANCE_SETTERS__",r=>currentInstance=r),setInSSRSetupState=t("__VUE_SSR_SETTERS__",r=>isInSSRComponentSetup=r)}const setCurrentInstance=e=>{const t=currentInstance;return internalSetCurrentInstance(e),e.scope.on(),()=>{e.scope.off(),internalSetCurrentInstance(t)}},unsetCurrentInstance=()=>{currentInstance&&currentInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(e){return e.vnode.shapeFlag&4}let isInSSRComponentSetup=!1;function setupComponent(e,t=!1){t&&setInSSRSetupState(t);const{props:r,children:o}=e.vnode,i=isStatefulComponent(e);initProps(e,r,i,t),initSlots(e,o);const c=i?setupStatefulComponent(e,t):void 0;return t&&setInSSRSetupState(!1),c}function setupStatefulComponent(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=markRaw(new Proxy(e.ctx,PublicInstanceProxyHandlers));const{setup:o}=r;if(o){const i=e.setupContext=o.length>1?createSetupContext(e):null,c=setCurrentInstance(e);pauseTracking();const a=callWithErrorHandling(o,e,0,[e.props,i]);if(resetTracking(),c(),isPromise(a)){if(a.then(unsetCurrentInstance,unsetCurrentInstance),t)return a.then(u=>{handleSetupResult(e,u,t)}).catch(u=>{handleError(u,e,0)});e.asyncDep=a}else handleSetupResult(e,a,t)}else finishComponentSetup(e,t)}function handleSetupResult(e,t,r){isFunction(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:isObject$1(t)&&(e.setupState=proxyRefs(t)),finishComponentSetup(e,r)}let compile$1,installWithProxy;function registerRuntimeCompiler(e){compile$1=e,installWithProxy=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,RuntimeCompiledPublicInstanceProxyHandlers))}}const isRuntimeOnly=()=>!compile$1;function finishComponentSetup(e,t,r){const o=e.type;if(!e.render){if(!t&&compile$1&&!o.render){const i=o.template||resolveMergedOptions(e).template;if(i){const{isCustomElement:c,compilerOptions:a}=e.appContext.config,{delimiters:u,compilerOptions:d}=o,f=extend$1(extend$1({isCustomElement:c,delimiters:u},a),d);o.render=compile$1(i,f)}}e.render=o.render||NOOP,installWithProxy&&installWithProxy(e)}{const i=setCurrentInstance(e);pauseTracking();try{applyOptions(e)}finally{resetTracking(),i()}}}function getAttrsProxy(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,r){return track(e,"get","$attrs"),t[r]}}))}function createSetupContext(e){const t=r=>{e.exposed=r||{}};return{get attrs(){return getAttrsProxy(e)},slots:e.slots,emit:e.emit,expose:t}}function getExposeProxy(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(proxyRefs(markRaw(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in publicPropertiesMap)return publicPropertiesMap[r](e)},has(t,r){return r in t||r in publicPropertiesMap}}))}const classifyRE=/(?:^|[-_])(\w)/g,classify=e=>e.replace(classifyRE,t=>t.toUpperCase()).replace(/[-_]/g,"");function getComponentName(e,t=!0){return isFunction(e)?e.displayName||e.name:e.name||t&&e.__name}function formatComponentName(e,t,r=!1){let o=getComponentName(t);if(!o&&t.__file){const i=t.__file.match(/([^/\\]+)\.\w+$/);i&&(o=i[1])}if(!o&&e&&e.parent){const i=c=>{for(const a in c)if(c[a]===t)return a};o=i(e.components||e.parent.type.components)||i(e.appContext.components)}return o?classify(o):r?"App":"Anonymous"}function isClassComponent(e){return isFunction(e)&&"__vccOpts"in e}const computed=(e,t)=>computed$1(e,t,isInSSRComponentSetup);function useModel(e,t,r=EMPTY_OBJ){const o=getCurrentInstance$1(),i=camelize(t),c=hyphenate(t),a=customRef((d,f)=>{let m;return watchSyncEffect(()=>{const g=e[t];hasChanged(m,g)&&(m=g,f())}),{get(){return d(),r.get?r.get(m):m},set(g){const v=o.vnode.props;!(v&&(t in v||i in v||c in v)&&(`onUpdate:${t}`in v||`onUpdate:${i}`in v||`onUpdate:${c}`in v))&&hasChanged(g,m)&&(m=g,f()),o.emit(`update:${t}`,r.set?r.set(g):g)}}}),u=t==="modelValue"?"modelModifiers":`${t}Modifiers`;return a[Symbol.iterator]=()=>{let d=0;return{next(){return d<2?{value:d++?e[u]||{}:a,done:!1}:{done:!0}}}},a}function h(e,t,r){const o=arguments.length;return o===2?isObject$1(t)&&!isArray$1(t)?isVNode(t)?createVNode(e,null,[t]):createVNode(e,t):createVNode(e,null,t):(o>3?r=Array.prototype.slice.call(arguments,2):o===3&&isVNode(r)&&(r=[r]),createVNode(e,t,r))}function initCustomFormatter(){}function withMemo(e,t,r,o){const i=r[o];if(i&&isMemoSame(i,e))return i;const c=t();return c.memo=e.slice(),r[o]=c}function isMemoSame(e,t){const r=e.memo;if(r.length!=t.length)return!1;for(let o=0;o<r.length;o++)if(hasChanged(r[o],t[o]))return!1;return isBlockTreeEnabled>0&&currentBlock&&currentBlock.push(e),!0}const version$2="3.4.19",warn=NOOP,ErrorTypeStrings=ErrorTypeStrings$1,devtools=devtools$1,setDevtoolsHook=setDevtoolsHook$1,_ssrUtils={createComponentInstance,setupComponent,renderComponentRoot,setCurrentRenderingInstance,isVNode,normalizeVNode},ssrUtils=_ssrUtils,resolveFilter=null,compatUtils=null,DeprecationTypes=null;/**
* @vue/runtime-dom v3.4.19
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const svgNS="http://www.w3.org/2000/svg",mathmlNS="http://www.w3.org/1998/Math/MathML",doc=typeof document<"u"?document:null,templateContainer=doc&&doc.createElement("template"),nodeOps={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,o)=>{const i=t==="svg"?doc.createElementNS(svgNS,e):t==="mathml"?doc.createElementNS(mathmlNS,e):doc.createElement(e,r?{is:r}:void 0);return e==="select"&&o&&o.multiple!=null&&i.setAttribute("multiple",o.multiple),i},createText:e=>doc.createTextNode(e),createComment:e=>doc.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>doc.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,o,i,c){const a=r?r.previousSibling:t.lastChild;if(i&&(i===c||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),r),!(i===c||!(i=i.nextSibling)););else{templateContainer.innerHTML=o==="svg"?`<svg>${e}</svg>`:o==="mathml"?`<math>${e}</math>`:e;const u=templateContainer.content;if(o==="svg"||o==="mathml"){const d=u.firstChild;for(;d.firstChild;)u.appendChild(d.firstChild);u.removeChild(d)}t.insertBefore(u,r)}return[a?a.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}},TRANSITION="transition",ANIMATION="animation",vtcKey=Symbol("_vtc"),Transition=(e,{slots:t})=>h(BaseTransition,resolveTransitionProps(e),t);Transition.displayName="Transition";const DOMTransitionPropsValidators={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},TransitionPropsValidators=Transition.props=extend$1({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),callHook=(e,t=[])=>{isArray$1(e)?e.forEach(r=>r(...t)):e&&e(...t)},hasExplicitCallback=e=>e?isArray$1(e)?e.some(t=>t.length>1):e.length>1:!1;function resolveTransitionProps(e){const t={};for(const V in e)V in DOMTransitionPropsValidators||(t[V]=e[V]);if(e.css===!1)return t;const{name:r="v",type:o,duration:i,enterFromClass:c=`${r}-enter-from`,enterActiveClass:a=`${r}-enter-active`,enterToClass:u=`${r}-enter-to`,appearFromClass:d=c,appearActiveClass:f=a,appearToClass:m=u,leaveFromClass:g=`${r}-leave-from`,leaveActiveClass:v=`${r}-leave-active`,leaveToClass:y=`${r}-leave-to`}=e,w=normalizeDuration(i),b=w&&w[0],S=w&&w[1],{onBeforeEnter:_,onEnter:k,onEnterCancelled:C,onLeave:T,onLeaveCancelled:x,onBeforeAppear:R=_,onAppear:O=k,onAppearCancelled:A=C}=t,N=(V,D,F)=>{removeTransitionClass(V,D?m:u),removeTransitionClass(V,D?f:a),F&&F()},E=(V,D)=>{V._isLeaving=!1,removeTransitionClass(V,g),removeTransitionClass(V,y),removeTransitionClass(V,v),D&&D()},P=V=>(D,F)=>{const B=V?O:k,$=()=>N(D,V,F);callHook(B,[D,$]),nextFrame(()=>{removeTransitionClass(D,V?d:c),addTransitionClass(D,V?m:u),hasExplicitCallback(B)||whenTransitionEnds(D,o,b,$)})};return extend$1(t,{onBeforeEnter(V){callHook(_,[V]),addTransitionClass(V,c),addTransitionClass(V,a)},onBeforeAppear(V){callHook(R,[V]),addTransitionClass(V,d),addTransitionClass(V,f)},onEnter:P(!1),onAppear:P(!0),onLeave(V,D){V._isLeaving=!0;const F=()=>E(V,D);addTransitionClass(V,g),forceReflow(),addTransitionClass(V,v),nextFrame(()=>{V._isLeaving&&(removeTransitionClass(V,g),addTransitionClass(V,y),hasExplicitCallback(T)||whenTransitionEnds(V,o,S,F))}),callHook(T,[V,F])},onEnterCancelled(V){N(V,!1),callHook(C,[V])},onAppearCancelled(V){N(V,!0),callHook(A,[V])},onLeaveCancelled(V){E(V),callHook(x,[V])}})}function normalizeDuration(e){if(e==null)return null;if(isObject$1(e))return[NumberOf(e.enter),NumberOf(e.leave)];{const t=NumberOf(e);return[t,t]}}function NumberOf(e){return toNumber(e)}function addTransitionClass(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.add(r)),(e[vtcKey]||(e[vtcKey]=new Set)).add(t)}function removeTransitionClass(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const r=e[vtcKey];r&&(r.delete(t),r.size||(e[vtcKey]=void 0))}function nextFrame(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let endId=0;function whenTransitionEnds(e,t,r,o){const i=e._endId=++endId,c=()=>{i===e._endId&&o()};if(r)return setTimeout(c,r);const{type:a,timeout:u,propCount:d}=getTransitionInfo(e,t);if(!a)return o();const f=a+"end";let m=0;const g=()=>{e.removeEventListener(f,v),c()},v=y=>{y.target===e&&++m>=d&&g()};setTimeout(()=>{m<d&&g()},u+1),e.addEventListener(f,v)}function getTransitionInfo(e,t){const r=window.getComputedStyle(e),o=w=>(r[w]||"").split(", "),i=o(`${TRANSITION}Delay`),c=o(`${TRANSITION}Duration`),a=getTimeout(i,c),u=o(`${ANIMATION}Delay`),d=o(`${ANIMATION}Duration`),f=getTimeout(u,d);let m=null,g=0,v=0;t===TRANSITION?a>0&&(m=TRANSITION,g=a,v=c.length):t===ANIMATION?f>0&&(m=ANIMATION,g=f,v=d.length):(g=Math.max(a,f),m=g>0?a>f?TRANSITION:ANIMATION:null,v=m?m===TRANSITION?c.length:d.length:0);const y=m===TRANSITION&&/\b(transform|all)(,|$)/.test(o(`${TRANSITION}Property`).toString());return{type:m,timeout:g,propCount:v,hasTransform:y}}function getTimeout(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((r,o)=>toMs(r)+toMs(e[o])))}function toMs(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function forceReflow(){return document.body.offsetHeight}function patchClass(e,t,r){const o=e[vtcKey];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}const vShowOldKey=Symbol("_vod"),vShow={beforeMount(e,{value:t},{transition:r}){e[vShowOldKey]=e.style.display==="none"?"":e.style.display,r&&t?r.beforeEnter(e):setDisplay(e,t)},mounted(e,{value:t},{transition:r}){r&&t&&r.enter(e)},updated(e,{value:t,oldValue:r},{transition:o}){!t==!r&&(e.style.display===e[vShowOldKey]||!t)||(o?t?(o.beforeEnter(e),setDisplay(e,!0),o.enter(e)):o.leave(e,()=>{setDisplay(e,!1)}):setDisplay(e,t))},beforeUnmount(e,{value:t}){setDisplay(e,t)}};function setDisplay(e,t){e.style.display=t?e[vShowOldKey]:"none"}function initVShowForSSR(){vShow.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const CSS_VAR_TEXT=Symbol("");function useCssVars(e){const t=getCurrentInstance$1();if(!t)return;const r=t.ut=(i=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(c=>setVarsOnNode(c,i))},o=()=>{const i=e(t.proxy);setVarsOnVNode(t.subTree,i),r(i)};watchPostEffect(o),onMounted(()=>{const i=new MutationObserver(o);i.observe(t.subTree.el.parentNode,{childList:!0}),onUnmounted(()=>i.disconnect())})}function setVarsOnVNode(e,t){if(e.shapeFlag&128){const r=e.suspense;e=r.activeBranch,r.pendingBranch&&!r.isHydrating&&r.effects.push(()=>{setVarsOnVNode(r.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)setVarsOnNode(e.el,t);else if(e.type===Fragment)e.children.forEach(r=>setVarsOnVNode(r,t));else if(e.type===Static){let{el:r,anchor:o}=e;for(;r&&(setVarsOnNode(r,t),r!==o);)r=r.nextSibling}}function setVarsOnNode(e,t){if(e.nodeType===1){const r=e.style;let o="";for(const i in t)r.setProperty(`--${i}`,t[i]),o+=`--${i}: ${t[i]};`;r[CSS_VAR_TEXT]=o}}const displayRE=/(^|;)\s*display\s*:/;function patchStyle(e,t,r){const o=e.style,i=isString$1(r),c=o.display;let a=!1;if(r&&!i){if(t&&!isString$1(t))for(const u in t)r[u]==null&&setStyle(o,u,"");for(const u in r)u==="display"&&(a=!0),setStyle(o,u,r[u])}else if(i){if(t!==r){const u=o[CSS_VAR_TEXT];u&&(r+=";"+u),o.cssText=r,a=displayRE.test(r)}}else t&&e.removeAttribute("style");vShowOldKey in e&&(e[vShowOldKey]=a?o.display:"",o.display=c)}const importantRE=/\s*!important$/;function setStyle(e,t,r){if(isArray$1(r))r.forEach(o=>setStyle(e,t,o));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const o=autoPrefix(e,t);importantRE.test(r)?e.setProperty(hyphenate(o),r.replace(importantRE,""),"important"):e[o]=r}}const prefixes=["Webkit","Moz","ms"],prefixCache={};function autoPrefix(e,t){const r=prefixCache[t];if(r)return r;let o=camelize(t);if(o!=="filter"&&o in e)return prefixCache[t]=o;o=capitalize(o);for(let i=0;i<prefixes.length;i++){const c=prefixes[i]+o;if(c in e)return prefixCache[t]=c}return t}const xlinkNS="http://www.w3.org/1999/xlink";function patchAttr(e,t,r,o,i){if(o&&t.startsWith("xlink:"))r==null?e.removeAttributeNS(xlinkNS,t.slice(6,t.length)):e.setAttributeNS(xlinkNS,t,r);else{const c=isSpecialBooleanAttr(t);r==null||c&&!includeBooleanAttr(r)?e.removeAttribute(t):e.setAttribute(t,c?"":r)}}function patchDOMProp(e,t,r,o,i,c,a){if(t==="innerHTML"||t==="textContent"){o&&a(o,i,c),e[t]=r??"";return}const u=e.tagName;if(t==="value"&&u!=="PROGRESS"&&!u.includes("-")){e._value=r;const f=u==="OPTION"?e.getAttribute("value"):e.value,m=r??"";f!==m&&(e.value=m),r==null&&e.removeAttribute(t);return}let d=!1;if(r===""||r==null){const f=typeof e[t];f==="boolean"?r=includeBooleanAttr(r):r==null&&f==="string"?(r="",d=!0):f==="number"&&(r=0,d=!0)}try{e[t]=r}catch{}d&&e.removeAttribute(t)}function addEventListener(e,t,r,o){e.addEventListener(t,r,o)}function removeEventListener(e,t,r,o){e.removeEventListener(t,r,o)}const veiKey=Symbol("_vei");function patchEvent(e,t,r,o,i=null){const c=e[veiKey]||(e[veiKey]={}),a=c[t];if(o&&a)a.value=o;else{const[u,d]=parseName(t);if(o){const f=c[t]=createInvoker(o,i);addEventListener(e,u,f,d)}else a&&(removeEventListener(e,u,a,d),c[t]=void 0)}}const optionsModifierRE=/(?:Once|Passive|Capture)$/;function parseName(e){let t;if(optionsModifierRE.test(e)){t={};let o;for(;o=e.match(optionsModifierRE);)e=e.slice(0,e.length-o[0].length),t[o[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):hyphenate(e.slice(2)),t]}let cachedNow=0;const p=Promise.resolve(),getNow=()=>cachedNow||(p.then(()=>cachedNow=0),cachedNow=Date.now());function createInvoker(e,t){const r=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=r.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(o,r.value),t,5,[o])};return r.value=e,r.attached=getNow(),r}function patchStopImmediatePropagation(e,t){if(isArray$1(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(o=>i=>!i._stopped&&o&&o(i))}else return t}const isNativeOn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,patchProp=(e,t,r,o,i,c,a,u,d)=>{const f=i==="svg";t==="class"?patchClass(e,o,f):t==="style"?patchStyle(e,r,o):isOn$1(t)?isModelListener(t)||patchEvent(e,t,r,o,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):shouldSetAsProp(e,t,o,f))?patchDOMProp(e,t,o,c,a,u,d):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),patchAttr(e,t,o,f))};function shouldSetAsProp(e,t,r,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&isNativeOn(t)&&isFunction(r));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return isNativeOn(t)&&isString$1(r)?!1:t in e}/*! #__NO_SIDE_EFFECTS__ */function defineCustomElement(e,t){const r=defineComponent$1(e);class o extends VueElement{constructor(c){super(r,c,t)}}return o.def=r,o}/*! #__NO_SIDE_EFFECTS__ */const defineSSRCustomElement=e=>defineCustomElement(e,hydrate),BaseClass=typeof HTMLElement<"u"?HTMLElement:class{};class VueElement extends BaseClass{constructor(t,r={},o){super(),this._def=t,this._props=r,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=null,this.shadowRoot&&o?o(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,this._ob&&(this._ob.disconnect(),this._ob=null),nextTick(()=>{this._connected||(render$1(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let o=0;o<this.attributes.length;o++)this._setAttr(this.attributes[o].name);this._ob=new MutationObserver(o=>{for(const i of o)this._setAttr(i.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(o,i=!1)=>{const{props:c,styles:a}=o;let u;if(c&&!isArray$1(c))for(const d in c){const f=c[d];(f===Number||f&&f.type===Number)&&(d in this._props&&(this._props[d]=toNumber(this._props[d])),(u||(u=Object.create(null)))[camelize(d)]=!0)}this._numberProps=u,i&&this._resolveProps(o),this._applyStyles(a),this._update()},r=this._def.__asyncLoader;r?r().then(o=>t(o,!0)):t(this._def)}_resolveProps(t){const{props:r}=t,o=isArray$1(r)?r:Object.keys(r||{});for(const i of Object.keys(this))i[0]!=="_"&&o.includes(i)&&this._setProp(i,this[i],!0,!1);for(const i of o.map(camelize))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(c){this._setProp(i,c)}})}_setAttr(t){let r=this.getAttribute(t);const o=camelize(t);this._numberProps&&this._numberProps[o]&&(r=toNumber(r)),this._setProp(o,r,!1)}_getProp(t){return this._props[t]}_setProp(t,r,o=!0,i=!0){r!==this._props[t]&&(this._props[t]=r,i&&this._instance&&this._update(),o&&(r===!0?this.setAttribute(hyphenate(t),""):typeof r=="string"||typeof r=="number"?this.setAttribute(hyphenate(t),r+""):r||this.removeAttribute(hyphenate(t))))}_update(){render$1(this._createVNode(),this.shadowRoot)}_createVNode(){const t=createVNode(this._def,extend$1({},this._props));return this._instance||(t.ce=r=>{this._instance=r,r.isCE=!0;const o=(c,a)=>{this.dispatchEvent(new CustomEvent(c,{detail:a}))};r.emit=(c,...a)=>{o(c,a),hyphenate(c)!==c&&o(hyphenate(c),a)};let i=this;for(;i=i&&(i.parentNode||i.host);)if(i instanceof VueElement){r.parent=i._instance,r.provides=i._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(r=>{const o=document.createElement("style");o.textContent=r,this.shadowRoot.appendChild(o)})}}function useCssModule(e="$style"){{const t=getCurrentInstance$1();if(!t)return EMPTY_OBJ;const r=t.type.__cssModules;if(!r)return EMPTY_OBJ;const o=r[e];return o||EMPTY_OBJ}}const positionMap=new WeakMap,newPositionMap=new WeakMap,moveCbKey=Symbol("_moveCb"),enterCbKey=Symbol("_enterCb"),TransitionGroupImpl={name:"TransitionGroup",props:extend$1({},TransitionPropsValidators,{tag:String,moveClass:String}),setup(e,{slots:t}){const r=getCurrentInstance$1(),o=useTransitionState();let i,c;return onUpdated(()=>{if(!i.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!hasCSSTransform(i[0].el,r.vnode.el,a))return;i.forEach(callPendingCbs),i.forEach(recordPosition);const u=i.filter(applyTranslation);forceReflow(),u.forEach(d=>{const f=d.el,m=f.style;addTransitionClass(f,a),m.transform=m.webkitTransform=m.transitionDuration="";const g=f[moveCbKey]=v=>{v&&v.target!==f||(!v||/transform$/.test(v.propertyName))&&(f.removeEventListener("transitionend",g),f[moveCbKey]=null,removeTransitionClass(f,a))};f.addEventListener("transitionend",g)})}),()=>{const a=toRaw(e),u=resolveTransitionProps(a);let d=a.tag||Fragment;i=c,c=t.default?getTransitionRawChildren(t.default()):[];for(let f=0;f<c.length;f++){const m=c[f];m.key!=null&&setTransitionHooks(m,resolveTransitionHooks(m,u,o,r))}if(i)for(let f=0;f<i.length;f++){const m=i[f];setTransitionHooks(m,resolveTransitionHooks(m,u,o,r)),positionMap.set(m,m.el.getBoundingClientRect())}return createVNode(d,null,c)}}},removeMode=e=>delete e.mode;TransitionGroupImpl.props;const TransitionGroup=TransitionGroupImpl;function callPendingCbs(e){const t=e.el;t[moveCbKey]&&t[moveCbKey](),t[enterCbKey]&&t[enterCbKey]()}function recordPosition(e){newPositionMap.set(e,e.el.getBoundingClientRect())}function applyTranslation(e){const t=positionMap.get(e),r=newPositionMap.get(e),o=t.left-r.left,i=t.top-r.top;if(o||i){const c=e.el.style;return c.transform=c.webkitTransform=`translate(${o}px,${i}px)`,c.transitionDuration="0s",e}}function hasCSSTransform(e,t,r){const o=e.cloneNode(),i=e[vtcKey];i&&i.forEach(u=>{u.split(/\s+/).forEach(d=>d&&o.classList.remove(d))}),r.split(/\s+/).forEach(u=>u&&o.classList.add(u)),o.style.display="none";const c=t.nodeType===1?t:t.parentNode;c.appendChild(o);const{hasTransform:a}=getTransitionInfo(o);return c.removeChild(o),a}const getModelAssigner=e=>{const t=e.props["onUpdate:modelValue"]||!1;return isArray$1(t)?r=>invokeArrayFns(t,r):t};function onCompositionStart(e){e.target.composing=!0}function onCompositionEnd(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const assignKey=Symbol("_assign"),vModelText={created(e,{modifiers:{lazy:t,trim:r,number:o}},i){e[assignKey]=getModelAssigner(i);const c=o||i.props&&i.props.type==="number";addEventListener(e,t?"change":"input",a=>{if(a.target.composing)return;let u=e.value;r&&(u=u.trim()),c&&(u=looseToNumber(u)),e[assignKey](u)}),r&&addEventListener(e,"change",()=>{e.value=e.value.trim()}),t||(addEventListener(e,"compositionstart",onCompositionStart),addEventListener(e,"compositionend",onCompositionEnd),addEventListener(e,"change",onCompositionEnd))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:r,trim:o,number:i}},c){if(e[assignKey]=getModelAssigner(c),e.composing)return;const a=i||e.type==="number"?looseToNumber(e.value):e.value,u=t??"";a!==u&&(document.activeElement===e&&e.type!=="range"&&(r||o&&e.value.trim()===u)||(e.value=u))}},vModelCheckbox={deep:!0,created(e,t,r){e[assignKey]=getModelAssigner(r),addEventListener(e,"change",()=>{const o=e._modelValue,i=getValue(e),c=e.checked,a=e[assignKey];if(isArray$1(o)){const u=looseIndexOf(o,i),d=u!==-1;if(c&&!d)a(o.concat(i));else if(!c&&d){const f=[...o];f.splice(u,1),a(f)}}else if(isSet(o)){const u=new Set(o);c?u.add(i):u.delete(i),a(u)}else a(getCheckboxValue(e,c))})},mounted:setChecked,beforeUpdate(e,t,r){e[assignKey]=getModelAssigner(r),setChecked(e,t,r)}};function setChecked(e,{value:t,oldValue:r},o){e._modelValue=t,isArray$1(t)?e.checked=looseIndexOf(t,o.props.value)>-1:isSet(t)?e.checked=t.has(o.props.value):t!==r&&(e.checked=looseEqual(t,getCheckboxValue(e,!0)))}const vModelRadio={created(e,{value:t},r){e.checked=looseEqual(t,r.props.value),e[assignKey]=getModelAssigner(r),addEventListener(e,"change",()=>{e[assignKey](getValue(e))})},beforeUpdate(e,{value:t,oldValue:r},o){e[assignKey]=getModelAssigner(o),t!==r&&(e.checked=looseEqual(t,o.props.value))}},vModelSelect={deep:!0,created(e,{value:t,modifiers:{number:r}},o){const i=isSet(t);addEventListener(e,"change",()=>{const c=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>r?looseToNumber(getValue(a)):getValue(a));e[assignKey](e.multiple?i?new Set(c):c:c[0]),e._assigning=!0,nextTick(()=>{e._assigning=!1})}),e[assignKey]=getModelAssigner(o)},mounted(e,{value:t,oldValue:r,modifiers:{number:o}}){setSelected(e,t,r,o)},beforeUpdate(e,t,r){e[assignKey]=getModelAssigner(r)},updated(e,{value:t,oldValue:r,modifiers:{number:o}}){e._assigning||setSelected(e,t,r,o)}};function setSelected(e,t,r,o){const i=e.multiple,c=isArray$1(t);if(!(i&&!c&&!isSet(t))){for(let a=0,u=e.options.length;a<u;a++){const d=e.options[a],f=getValue(d);if(i)if(c){const m=typeof f;m==="string"||m==="number"?d.selected=t.includes(o?looseToNumber(f):f):d.selected=looseIndexOf(t,f)>-1}else d.selected=t.has(f);else if(looseEqual(getValue(d),t)){e.selectedIndex!==a&&(e.selectedIndex=a);return}}!i&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function getValue(e){return"_value"in e?e._value:e.value}function getCheckboxValue(e,t){const r=t?"_trueValue":"_falseValue";return r in e?e[r]:t}const vModelDynamic={created(e,t,r){callModelHook(e,t,r,null,"created")},mounted(e,t,r){callModelHook(e,t,r,null,"mounted")},beforeUpdate(e,t,r,o){callModelHook(e,t,r,o,"beforeUpdate")},updated(e,t,r,o){callModelHook(e,t,r,o,"updated")}};function resolveDynamicModel(e,t){switch(e){case"SELECT":return vModelSelect;case"TEXTAREA":return vModelText;default:switch(t){case"checkbox":return vModelCheckbox;case"radio":return vModelRadio;default:return vModelText}}}function callModelHook(e,t,r,o,i){const a=resolveDynamicModel(e.tagName,r.props&&r.props.type)[i];a&&a(e,t,r,o)}function initVModelForSSR(){vModelText.getSSRProps=({value:e})=>({value:e}),vModelRadio.getSSRProps=({value:e},t)=>{if(t.props&&looseEqual(t.props.value,e))return{checked:!0}},vModelCheckbox.getSSRProps=({value:e},t)=>{if(isArray$1(e)){if(t.props&&looseIndexOf(e,t.props.value)>-1)return{checked:!0}}else if(isSet(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},vModelDynamic.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const r=resolveDynamicModel(t.type.toUpperCase(),t.props&&t.props.type);if(r.getSSRProps)return r.getSSRProps(e,t)}}const systemModifiers=["ctrl","shift","alt","meta"],modifierGuards={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&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>systemModifiers.some(r=>e[`${r}Key`]&&!t.includes(r))},withModifiers=(e,t)=>{const r=e._withMods||(e._withMods={}),o=t.join(".");return r[o]||(r[o]=(i,...c)=>{for(let a=0;a<t.length;a++){const u=modifierGuards[t[a]];if(u&&u(i,t))return}return e(i,...c)})},keyNames={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},withKeys=(e,t)=>{const r=e._withKeys||(e._withKeys={}),o=t.join(".");return r[o]||(r[o]=i=>{if(!("key"in i))return;const c=hyphenate(i.key);if(t.some(a=>a===c||keyNames[a]===c))return e(i)})},rendererOptions=extend$1({patchProp},nodeOps);let renderer,enabledHydration=!1;function ensureRenderer(){return renderer||(renderer=createRenderer(rendererOptions))}function ensureHydrationRenderer(){return renderer=enabledHydration?renderer:createHydrationRenderer(rendererOptions),enabledHydration=!0,renderer}const render$1=(...e)=>{ensureRenderer().render(...e)},hydrate=(...e)=>{ensureHydrationRenderer().hydrate(...e)},createApp=(...e)=>{const t=ensureRenderer().createApp(...e),{mount:r}=t;return t.mount=o=>{const i=normalizeContainer(o);if(!i)return;const c=t._component;!isFunction(c)&&!c.render&&!c.template&&(c.template=i.innerHTML),i.innerHTML="";const a=r(i,!1,resolveRootNamespace(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),a},t},createSSRApp=(...e)=>{const t=ensureHydrationRenderer().createApp(...e),{mount:r}=t;return t.mount=o=>{const i=normalizeContainer(o);if(i)return r(i,!0,resolveRootNamespace(i))},t};function resolveRootNamespace(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function normalizeContainer(e){return isString$1(e)?document.querySelector(e):e}let ssrDirectiveInitialized=!1;const initDirectivesForSSR=()=>{ssrDirectiveInitialized||(ssrDirectiveInitialized=!0,initVModelForSSR(),initVShowForSSR())};/**
* vue v3.4.19
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const compile=()=>{},vue_runtime_esmBundler=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition,BaseTransitionPropsValidators,Comment,DeprecationTypes,EffectScope,ErrorCodes,ErrorTypeStrings,Fragment,KeepAlive,ReactiveEffect,Static,Suspense,Teleport,Text,TrackOpTypes,Transition,TransitionGroup,TriggerOpTypes,VueElement,assertNumber,callWithAsyncErrorHandling,callWithErrorHandling,camelize,capitalize,cloneVNode,compatUtils,compile,computed,createApp,createBlock,createCommentVNode,createElementBlock,createElementVNode:createBaseVNode,createHydrationRenderer,createPropsRestProxy,createRenderer,createSSRApp,createSlots,createStaticVNode,createTextVNode,createVNode,customRef,defineAsyncComponent,defineComponent:defineComponent$1,defineCustomElement,defineEmits,defineExpose,defineModel,defineOptions,defineProps,defineSSRCustomElement,defineSlots,devtools,effect,effectScope,getCurrentInstance:getCurrentInstance$1,getCurrentScope,getTransitionRawChildren,guardReactiveProps,h,handleError,hasInjectionContext,hydrate,initCustomFormatter,initDirectivesForSSR,inject:inject$1,isMemoSame,isProxy,isReactive,isReadonly,isRef,isRuntimeOnly,isShallow,isVNode,markRaw,mergeDefaults,mergeModels,mergeProps,nextTick,normalizeClass,normalizeProps,normalizeStyle,onActivated,onBeforeMount,onBeforeUnmount,onBeforeUpdate,onDeactivated,onErrorCaptured,onMounted,onRenderTracked,onRenderTriggered,onScopeDispose,onServerPrefetch,onUnmounted,onUpdated,openBlock,popScopeId,provide,proxyRefs,pushScopeId,queuePostFlushCb,reactive,readonly,ref,registerRuntimeCompiler,render:render$1,renderList,renderSlot,resolveComponent,resolveDirective,resolveDynamicComponent,resolveFilter,resolveTransitionHooks,setBlockTracking,setDevtoolsHook,setTransitionHooks,shallowReactive,shallowReadonly,shallowRef,ssrContextKey,ssrUtils,stop,toDisplayString,toHandlerKey,toHandlers,toRaw,toRef,toRefs,toValue:toValue$1,transformVNodeArgs,triggerRef,unref,useAttrs,useCssModule,useCssVars,useModel,useSSRContext,useSlots,useTransitionState,vModelCheckbox,vModelDynamic,vModelRadio,vModelSelect,vModelText,vShow,version:version$2,warn,watch,watchEffect,watchPostEffect,watchSyncEffect,withAsyncContext,withCtx,withDefaults,withDirectives,withKeys,withMemo,withModifiers,withScopeId},Symbol.toStringTag,{value:"Module"}));/*!
* vue-router v4.2.5
* (c) 2023 Eduardo San Martin Morote
* @license MIT
*/const isBrowser=typeof window<"u";function isESModule(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const assign$1=Object.assign;function applyToParams(e,t){const r={};for(const o in t){const i=t[o];r[o]=isArray(i)?i.map(e):e(i)}return r}const noop$3=()=>{},isArray=Array.isArray,TRAILING_SLASH_RE=/\/$/,removeTrailingSlash=e=>e.replace(TRAILING_SLASH_RE,"");function parseURL(e,t,r="/"){let o,i={},c="",a="";const u=t.indexOf("#");let d=t.indexOf("?");return u<d&&u>=0&&(d=-1),d>-1&&(o=t.slice(0,d),c=t.slice(d+1,u>-1?u:t.length),i=e(c)),u>-1&&(o=o||t.slice(0,u),a=t.slice(u,t.length)),o=resolveRelativePath(o??t,r),{fullPath:o+(c&&"?")+c+a,path:o,query:i,hash:a}}function stringifyURL(e,t){const r=t.query?e(t.query):"";return t.path+(r&&"?")+r+(t.hash||"")}function stripBase(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function isSameRouteLocation(e,t,r){const o=t.matched.length-1,i=r.matched.length-1;return o>-1&&o===i&&isSameRouteRecord(t.matched[o],r.matched[i])&&isSameRouteLocationParams(t.params,r.params)&&e(t.query)===e(r.query)&&t.hash===r.hash}function isSameRouteRecord(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function isSameRouteLocationParams(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(!isSameRouteLocationParamsValue(e[r],t[r]))return!1;return!0}function isSameRouteLocationParamsValue(e,t){return isArray(e)?isEquivalentArray(e,t):isArray(t)?isEquivalentArray(t,e):e===t}function isEquivalentArray(e,t){return isArray(t)?e.length===t.length&&e.every((r,o)=>r===t[o]):e.length===1&&e[0]===t}function resolveRelativePath(e,t){if(e.startsWith("/"))return e;if(!e)return t;const r=t.split("/"),o=e.split("/"),i=o[o.length-1];(i===".."||i===".")&&o.push("");let c=r.length-1,a,u;for(a=0;a<o.length;a++)if(u=o[a],u!==".")if(u==="..")c>1&&c--;else break;return r.slice(0,c).join("/")+"/"+o.slice(a-(a===o.length?1:0)).join("/")}var NavigationType;(function(e){e.pop="pop",e.push="push"})(NavigationType||(NavigationType={}));var NavigationDirection;(function(e){e.back="back",e.forward="forward",e.unknown=""})(NavigationDirection||(NavigationDirection={}));function normalizeBase(e){if(!e)if(isBrowser){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),removeTrailingSlash(e)}const BEFORE_HASH_RE=/^[^#]+#/;function createHref(e,t){return e.replace(BEFORE_HASH_RE,"#")+t}function getElementPosition(e,t){const r=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-r.left-(t.left||0),top:o.top-r.top-(t.top||0)}}const computeScrollPosition=()=>({left:window.pageXOffset,top:window.pageYOffset});function scrollToPosition(e){let t;if("el"in e){const r=e.el,o=typeof r=="string"&&r.startsWith("#"),i=typeof r=="string"?o?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!i)return;t=getElementPosition(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function getScrollKey(e,t){return(history.state?history.state.position-t:-1)+e}const scrollPositions=new Map;function saveScrollPosition(e,t){scrollPositions.set(e,t)}function getSavedScrollPosition(e){const t=scrollPositions.get(e);return scrollPositions.delete(e),t}let createBaseLocation=()=>location.protocol+"//"+location.host;function createCurrentLocation(e,t){const{pathname:r,search:o,hash:i}=t,c=e.indexOf("#");if(c>-1){let u=i.includes(e.slice(c))?e.slice(c).length:1,d=i.slice(u);return d[0]!=="/"&&(d="/"+d),stripBase(d,"")}return stripBase(r,e)+o+i}function useHistoryListeners(e,t,r,o){let i=[],c=[],a=null;const u=({state:v})=>{const y=createCurrentLocation(e,location),w=r.value,b=t.value;let S=0;if(v){if(r.value=y,t.value=v,a&&a===w){a=null;return}S=b?v.position-b.position:0}else o(y);i.forEach(_=>{_(r.value,w,{delta:S,type:NavigationType.pop,direction:S?S>0?NavigationDirection.forward:NavigationDirection.back:NavigationDirection.unknown})})};function d(){a=r.value}function f(v){i.push(v);const y=()=>{const w=i.indexOf(v);w>-1&&i.splice(w,1)};return c.push(y),y}function m(){const{history:v}=window;v.state&&v.replaceState(assign$1({},v.state,{scroll:computeScrollPosition()}),"")}function g(){for(const v of c)v();c=[],window.removeEventListener("popstate",u),window.removeEventListener("beforeunload",m)}return window.addEventListener("popstate",u),window.addEventListener("beforeunload",m,{passive:!0}),{pauseListeners:d,listen:f,destroy:g}}function buildState(e,t,r,o=!1,i=!1){return{back:e,current:t,forward:r,replaced:o,position:window.history.length,scroll:i?computeScrollPosition():null}}function useHistoryStateNavigation(e){const{history:t,location:r}=window,o={value:createCurrentLocation(e,r)},i={value:t.state};i.value||c(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function c(d,f,m){const g=e.indexOf("#"),v=g>-1?(r.host&&document.querySelector("base")?e:e.slice(g))+d:createBaseLocation()+e+d;try{t[m?"replaceState":"pushState"](f,"",v),i.value=f}catch(y){console.error(y),r[m?"replace":"assign"](v)}}function a(d,f){const m=assign$1({},t.state,buildState(i.value.back,d,i.value.forward,!0),f,{position:i.value.position});c(d,m,!0),o.value=d}function u(d,f){const m=assign$1({},i.value,t.state,{forward:d,scroll:computeScrollPosition()});c(m.current,m,!0);const g=assign$1({},buildState(o.value,d,null),{position:m.position+1},f);c(d,g,!1),o.value=d}return{location:o,state:i,push:u,replace:a}}function createWebHistory(e){e=normalizeBase(e);const t=useHistoryStateNavigation(e),r=useHistoryListeners(e,t.state,t.location,t.replace);function o(c,a=!0){a||r.pauseListeners(),history.go(c)}const i=assign$1({location:"",base:e,go:o,createHref:createHref.bind(null,e)},t,r);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function createWebHashHistory(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),createWebHistory(e)}function isRouteLocation(e){return typeof e=="string"||e&&typeof e=="object"}function isRouteName(e){return typeof e=="string"||typeof e=="symbol"}const START_LOCATION_NORMALIZED={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},NavigationFailureSymbol=Symbol("");var NavigationFailureType;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(NavigationFailureType||(NavigationFailureType={}));function createRouterError(e,t){return assign$1(new Error,{type:e,[NavigationFailureSymbol]:!0},t)}function isNavigationFailure(e,t){return e instanceof Error&&NavigationFailureSymbol in e&&(t==null||!!(e.type&t))}const BASE_PARAM_PATTERN="[^/]+?",BASE_PATH_PARSER_OPTIONS={sensitive:!1,strict:!1,start:!0,end:!0},REGEX_CHARS_RE=/[.+*?^${}()[\]/\\]/g;function tokensToParser(e,t){const r=assign$1({},BASE_PATH_PARSER_OPTIONS,t),o=[];let i=r.start?"^":"";const c=[];for(const f of e){const m=f.length?[]:[90];r.strict&&!f.length&&(i+="/");for(let g=0;g<f.length;g++){const v=f[g];let y=40+(r.sensitive?.25:0);if(v.type===0)g||(i+="/"),i+=v.value.replace(REGEX_CHARS_RE,"\\$&"),y+=40;else if(v.type===1){const{value:w,repeatable:b,optional:S,regexp:_}=v;c.push({name:w,repeatable:b,optional:S});const k=_||BASE_PARAM_PATTERN;if(k!==BASE_PARAM_PATTERN){y+=10;try{new RegExp(`(${k})`)}catch(T){throw new Error(`Invalid custom RegExp for param "${w}" (${k}): `+T.message)}}let C=b?`((?:${k})(?:/(?:${k}))*)`:`(${k})`;g||(C=S&&f.length<2?`(?:/${C})`:"/"+C),S&&(C+="?"),i+=C,y+=20,S&&(y+=-8),b&&(y+=-20),k===".*"&&(y+=-50)}m.push(y)}o.push(m)}if(r.strict&&r.end){const f=o.length-1;o[f][o[f].length-1]+=.7000000000000001}r.strict||(i+="/?"),r.end?i+="$":r.strict&&(i+="(?:/|$)");const a=new RegExp(i,r.sensitive?"":"i");function u(f){const m=f.match(a),g={};if(!m)return null;for(let v=1;v<m.length;v++){const y=m[v]||"",w=c[v-1];g[w.name]=y&&w.repeatable?y.split("/"):y}return g}function d(f){let m="",g=!1;for(const v of e){(!g||!m.endsWith("/"))&&(m+="/"),g=!1;for(const y of v)if(y.type===0)m+=y.value;else if(y.type===1){const{value:w,repeatable:b,optional:S}=y,_=w in f?f[w]:"";if(isArray(_)&&!b)throw new Error(`Provided param "${w}" is an array but it is not repeatable (* or + modifiers)`);const k=isArray(_)?_.join("/"):_;if(!k)if(S)v.length<2&&(m.endsWith("/")?m=m.slice(0,-1):g=!0);else throw new Error(`Missing required param "${w}"`);m+=k}}return m||"/"}return{re:a,score:o,keys:c,parse:u,stringify:d}}function compareScoreArray(e,t){let r=0;for(;r<e.length&&r<t.length;){const o=t[r]-e[r];if(o)return o;r++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function comparePathParserScore(e,t){let r=0;const o=e.score,i=t.score;for(;r<o.length&&r<i.length;){const c=compareScoreArray(o[r],i[r]);if(c)return c;r++}if(Math.abs(i.length-o.length)===1){if(isLastScoreNegative(o))return 1;if(isLastScoreNegative(i))return-1}return i.length-o.length}function isLastScoreNegative(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const ROOT_TOKEN={type:0,value:""},VALID_PARAM_RE=/[a-zA-Z0-9_]/;function tokenizePath(e){if(!e)return[[]];if(e==="/")return[[ROOT_TOKEN]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(y){throw new Error(`ERR (${r})/"${f}": ${y}`)}let r=0,o=r;const i=[];let c;function a(){c&&i.push(c),c=[]}let u=0,d,f="",m="";function g(){f&&(r===0?c.push({type:0,value:f}):r===1||r===2||r===3?(c.length>1&&(d==="*"||d==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),c.push({type:1,value:f,regexp:m,repeatable:d==="*"||d==="+",optional:d==="*"||d==="?"})):t("Invalid state to consume buffer"),f="")}function v(){f+=d}for(;u<e.length;){if(d=e[u++],d==="\\"&&r!==2){o=r,r=4;continue}switch(r){case 0:d==="/"?(f&&g(),a()):d===":"?(g(),r=1):v();break;case 4:v(),r=o;break;case 1:d==="("?r=2:VALID_PARAM_RE.test(d)?v():(g(),r=0,d!=="*"&&d!=="?"&&d!=="+"&&u--);break;case 2:d===")"?m[m.length-1]=="\\"?m=m.slice(0,-1)+d:r=3:m+=d;break;case 3:g(),r=0,d!=="*"&&d!=="?"&&d!=="+"&&u--,m="";break;default:t("Unknown state");break}}return r===2&&t(`Unfinished custom RegExp for param "${f}"`),g(),a(),i}function createRouteRecordMatcher(e,t,r){const o=tokensToParser(tokenizePath(e.path),r),i=assign$1(o,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf==!t.record.aliasOf&&t.children.push(i),i}function createRouterMatcher(e,t){const r=[],o=new Map;t=mergeOptions({strict:!1,end:!0,sensitive:!1},t);function i(m){return o.get(m)}function c(m,g,v){const y=!v,w=normalizeRouteRecord(m);w.aliasOf=v&&v.record;const b=mergeOptions(t,m),S=[w];if("alias"in m){const C=typeof m.alias=="string"?[m.alias]:m.alias;for(const T of C)S.push(assign$1({},w,{components:v?v.record.components:w.components,path:T,aliasOf:v?v.record:w}))}let _,k;for(const C of S){const{path:T}=C;if(g&&T[0]!=="/"){const x=g.record.path,R=x[x.length-1]==="/"?"":"/";C.path=g.record.path+(T&&R+T)}if(_=createRouteRecordMatcher(C,g,b),v?v.alias.push(_):(k=k||_,k!==_&&k.alias.push(_),y&&m.name&&!isAliasRecord(_)&&a(m.name)),w.children){const x=w.children;for(let R=0;R<x.length;R++)c(x[R],_,v&&v.children[R])}v=v||_,(_.record.components&&Object.keys(_.record.components).length||_.record.name||_.record.redirect)&&d(_)}return k?()=>{a(k)}:noop$3}function a(m){if(isRouteName(m)){const g=o.get(m);g&&(o.delete(m),r.splice(r.indexOf(g),1),g.children.forEach(a),g.alias.forEach(a))}else{const g=r.indexOf(m);g>-1&&(r.splice(g,1),m.record.name&&o.delete(m.record.name),m.children.forEach(a),m.alias.forEach(a))}}function u(){return r}function d(m){let g=0;for(;g<r.length&&comparePathParserScore(m,r[g])>=0&&(m.record.path!==r[g].record.path||!isRecordChildOf(m,r[g]));)g++;r.splice(g,0,m),m.record.name&&!isAliasRecord(m)&&o.set(m.record.name,m)}function f(m,g){let v,y={},w,b;if("name"in m&&m.name){if(v=o.get(m.name),!v)throw createRouterError(1,{location:m});b=v.record.name,y=assign$1(paramsFromLocation(g.params,v.keys.filter(k=>!k.optional).map(k=>k.name)),m.params&&paramsFromLocation(m.params,v.keys.map(k=>k.name))),w=v.stringify(y)}else if("path"in m)w=m.path,v=r.find(k=>k.re.test(w)),v&&(y=v.parse(w),b=v.record.name);else{if(v=g.name?o.get(g.name):r.find(k=>k.re.test(g.path)),!v)throw createRouterError(1,{location:m,currentLocation:g});b=v.record.name,y=assign$1({},g.params,m.params),w=v.stringify(y)}const S=[];let _=v;for(;_;)S.unshift(_.record),_=_.parent;return{name:b,path:w,params:y,matched:S,meta:mergeMetaFields(S)}}return e.forEach(m=>c(m)),{addRoute:c,resolve:f,removeRoute:a,getRoutes:u,getRecordMatcher:i}}function paramsFromLocation(e,t){const r={};for(const o of t)o in e&&(r[o]=e[o]);return r}function normalizeRouteRecord(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:normalizeRecordProps(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function normalizeRecordProps(e){const t={},r=e.props||!1;if("component"in e)t.default=r;else for(const o in e.components)t[o]=typeof r=="object"?r[o]:r;return t}function isAliasRecord(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function mergeMetaFields(e){return e.reduce((t,r)=>assign$1(t,r.meta),{})}function mergeOptions(e,t){const r={};for(const o in e)r[o]=o in t?t[o]:e[o];return r}function isRecordChildOf(e,t){return t.children.some(r=>r===e||isRecordChildOf(e,r))}const HASH_RE=/#/g,AMPERSAND_RE=/&/g,SLASH_RE=/\//g,EQUAL_RE=/=/g,IM_RE=/\?/g,PLUS_RE=/\+/g,ENC_BRACKET_OPEN_RE=/%5B/g,ENC_BRACKET_CLOSE_RE=/%5D/g,ENC_CARET_RE=/%5E/g,ENC_BACKTICK_RE=/%60/g,ENC_CURLY_OPEN_RE=/%7B/g,ENC_PIPE_RE=/%7C/g,ENC_CURLY_CLOSE_RE=/%7D/g,ENC_SPACE_RE=/%20/g;function commonEncode(e){return encodeURI(""+e).replace(ENC_PIPE_RE,"|").replace(ENC_BRACKET_OPEN_RE,"[").replace(ENC_BRACKET_CLOSE_RE,"]")}function encodeHash(e){return commonEncode(e).replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryValue(e){return commonEncode(e).replace(PLUS_RE,"%2B").replace(ENC_SPACE_RE,"+").replace(HASH_RE,"%23").replace(AMPERSAND_RE,"%26").replace(ENC_BACKTICK_RE,"`").replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryKey(e){return encodeQueryValue(e).replace(EQUAL_RE,"%3D")}function encodePath(e){return commonEncode(e).replace(HASH_RE,"%23").replace(IM_RE,"%3F")}function encodeParam(e){return e==null?"":encodePath(e).replace(SLASH_RE,"%2F")}function decode(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function parseQuery(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;i<o.length;++i){const c=o[i].replace(PLUS_RE," "),a=c.indexOf("="),u=decode(a<0?c:c.slice(0,a)),d=a<0?null:decode(c.slice(a+1));if(u in t){let f=t[u];isArray(f)||(f=t[u]=[f]),f.push(d)}else t[u]=d}return t}function stringifyQuery(e){let t="";for(let r in e){const o=e[r];if(r=encodeQueryKey(r),o==null){o!==void 0&&(t+=(t.length?"&":"")+r);continue}(isArray(o)?o.map(c=>c&&encodeQueryValue(c)):[o&&encodeQueryValue(o)]).forEach(c=>{c!==void 0&&(t+=(t.length?"&":"")+r,c!=null&&(t+="="+c))})}return t}function normalizeQuery(e){const t={};for(const r in e){const o=e[r];o!==void 0&&(t[r]=isArray(o)?o.map(i=>i==null?null:""+i):o==null?o:""+o)}return t}const matchedRouteKey=Symbol(""),viewDepthKey=Symbol(""),routerKey=Symbol(""),routeLocationKey=Symbol(""),routerViewLocationKey=Symbol("");function useCallbacks(){let e=[];function t(o){return e.push(o),()=>{const i=e.indexOf(o);i>-1&&e.splice(i,1)}}function r(){e=[]}return{add:t,list:()=>e.slice(),reset:r}}function guardToPromiseFn(e,t,r,o,i){const c=o&&(o.enterCallbacks[i]=o.enterCallbacks[i]||[]);return()=>new Promise((a,u)=>{const d=g=>{g===!1?u(createRouterError(4,{from:r,to:t})):g instanceof Error?u(g):isRouteLocation(g)?u(createRouterError(2,{from:t,to:g})):(c&&o.enterCallbacks[i]===c&&typeof g=="function"&&c.push(g),a())},f=e.call(o&&o.instances[i],t,r,d);let m=Promise.resolve(f);e.length<3&&(m=m.then(d)),m.catch(g=>u(g))})}function extractComponentsGuards(e,t,r,o){const i=[];for(const c of e)for(const a in c.components){let u=c.components[a];if(!(t!=="beforeRouteEnter"&&!c.instances[a]))if(isRouteComponent(u)){const f=(u.__vccOpts||u)[t];f&&i.push(guardToPromiseFn(f,r,o,c,a))}else{let d=u();i.push(()=>d.then(f=>{if(!f)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${c.path}"`));const m=isESModule(f)?f.default:f;c.components[a]=m;const v=(m.__vccOpts||m)[t];return v&&guardToPromiseFn(v,r,o,c,a)()}))}}return i}function isRouteComponent(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function useLink$1(e){const t=inject$1(routerKey),r=inject$1(routeLocationKey),o=computed(()=>t.resolve(unref(e.to))),i=computed(()=>{const{matched:d}=o.value,{length:f}=d,m=d[f-1],g=r.matched;if(!m||!g.length)return-1;const v=g.findIndex(isSameRouteRecord.bind(null,m));if(v>-1)return v;const y=getOriginalPath(d[f-2]);return f>1&&getOriginalPath(m)===y&&g[g.length-1].path!==y?g.findIndex(isSameRouteRecord.bind(null,d[f-2])):v}),c=computed(()=>i.value>-1&&includesParams(r.params,o.value.params)),a=computed(()=>i.value>-1&&i.value===r.matched.length-1&&isSameRouteLocationParams(r.params,o.value.params));function u(d={}){return guardEvent(d)?t[unref(e.replace)?"replace":"push"](unref(e.to)).catch(noop$3):Promise.resolve()}return{route:o,href:computed(()=>o.value.href),isActive:c,isExactActive:a,navigate:u}}const RouterLinkImpl=defineComponent$1({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:useLink$1,setup(e,{slots:t}){const r=reactive(useLink$1(e)),{options:o}=inject$1(routerKey),i=computed(()=>({[getLinkClass(e.activeClass,o.linkActiveClass,"router-link-active")]:r.isActive,[getLinkClass(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive}));return()=>{const c=t.default&&t.default(r);return e.custom?c:h("a",{"aria-current":r.isExactActive?e.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:i.value},c)}}}),RouterLink=RouterLinkImpl;function guardEvent(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function includesParams(e,t){for(const r in t){const o=t[r],i=e[r];if(typeof o=="string"){if(o!==i)return!1}else if(!isArray(i)||i.length!==o.length||o.some((c,a)=>c!==i[a]))return!1}return!0}function getOriginalPath(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const getLinkClass=(e,t,r)=>e??t??r,RouterViewImpl=defineComponent$1({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:r}){const o=inject$1(routerViewLocationKey),i=computed(()=>e.route||o.value),c=inject$1(viewDepthKey,0),a=computed(()=>{let f=unref(c);const{matched:m}=i.value;let g;for(;(g=m[f])&&!g.components;)f++;return f}),u=computed(()=>i.value.matched[a.value]);provide(viewDepthKey,computed(()=>a.value+1)),provide(matchedRouteKey,u),provide(routerViewLocationKey,i);const d=ref();return watch(()=>[d.value,u.value,e.name],([f,m,g],[v,y,w])=>{m&&(m.instances[g]=f,y&&y!==m&&f&&f===v&&(m.leaveGuards.size||(m.leaveGuards=y.leaveGuards),m.updateGuards.size||(m.updateGuards=y.updateGuards))),f&&m&&(!y||!isSameRouteRecord(m,y)||!v)&&(m.enterCallbacks[g]||[]).forEach(b=>b(f))},{flush:"post"}),()=>{const f=i.value,m=e.name,g=u.value,v=g&&g.components[m];if(!v)return normalizeSlot(r.default,{Component:v,route:f});const y=g.props[m],w=y?y===!0?f.params:typeof y=="function"?y(f):y:null,S=h(v,assign$1({},w,t,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(g.instances[m]=null)},ref:d}));return normalizeSlot(r.default,{Component:S,route:f})||S}}});function normalizeSlot(e,t){if(!e)return null;const r=e(t);return r.length===1?r[0]:r}const RouterView=RouterViewImpl;function createRouter(e){const t=createRouterMatcher(e.routes,e),r=e.parseQuery||parseQuery,o=e.stringifyQuery||stringifyQuery,i=e.history,c=useCallbacks(),a=useCallbacks(),u=useCallbacks(),d=shallowRef(START_LOCATION_NORMALIZED);let f=START_LOCATION_NORMALIZED;isBrowser&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const m=applyToParams.bind(null,q=>""+q),g=applyToParams.bind(null,encodeParam),v=applyToParams.bind(null,decode);function y(q,K){let z,re;return isRouteName(q)?(z=t.getRecordMatcher(q),re=K):re=q,t.addRoute(re,z)}function w(q){const K=t.getRecordMatcher(q);K&&t.removeRoute(K)}function b(){return t.getRoutes().map(q=>q.record)}function S(q){return!!t.getRecordMatcher(q)}function _(q,K){if(K=assign$1({},K||d.value),typeof q=="string"){const L=parseURL(r,q,K.path),J=t.resolve({path:L.path},K),X=i.createHref(L.fullPath);return assign$1(L,J,{params:v(J.params),hash:decode(L.hash),redirectedFrom:void 0,href:X})}let z;if("path"in q)z=assign$1({},q,{path:parseURL(r,q.path,K.path).path});else{const L=assign$1({},q.params);for(const J in L)L[J]==null&&delete L[J];z=assign$1({},q,{params:g(L)}),K.params=g(K.params)}const re=t.resolve(z,K),he=q.hash||"";re.params=m(v(re.params));const G=stringifyURL(o,assign$1({},q,{hash:encodeHash(he),path:re.path})),I=i.createHref(G);return assign$1({fullPath:G,hash:he,query:o===stringifyQuery?normalizeQuery(q.query):q.query||{}},re,{redirectedFrom:void 0,href:I})}function k(q){return typeof q=="string"?parseURL(r,q,d.value.path):assign$1({},q)}function C(q,K){if(f!==q)return createRouterError(8,{from:K,to:q})}function T(q){return O(q)}function x(q){return T(assign$1(k(q),{replace:!0}))}function R(q){const K=q.matched[q.matched.length-1];if(K&&K.redirect){const{redirect:z}=K;let re=typeof z=="function"?z(q):z;return typeof re=="string"&&(re=re.includes("?")||re.includes("#")?re=k(re):{path:re},re.params={}),assign$1({query:q.query,hash:q.hash,params:"path"in re?{}:q.params},re)}}function O(q,K){const z=f=_(q),re=d.value,he=q.state,G=q.force,I=q.replace===!0,L=R(z);if(L)return O(assign$1(k(L),{state:typeof L=="object"?assign$1({},he,L.state):he,force:G,replace:I}),K||z);const J=z;J.redirectedFrom=K;let X;return!G&&isSameRouteLocation(o,re,z)&&(X=createRouterError(16,{to:J,from:re}),te(re,re,!0,!1)),(X?Promise.resolve(X):E(J,re)).catch(ee=>isNavigationFailure(ee)?isNavigationFailure(ee,2)?ee:Q(ee):M(ee,J,re)).then(ee=>{if(ee){if(isNavigationFailure(ee,2))return O(assign$1({replace:I},k(ee.to),{state:typeof ee.to=="object"?assign$1({},he,ee.to.state):he,force:G}),K||J)}else ee=V(J,re,!0,I,he);return P(J,re,ee),ee})}function A(q,K){const z=C(q,K);return z?Promise.reject(z):Promise.resolve()}function N(q){const K=le.values().next().value;return K&&typeof K.runWithContext=="function"?K.runWithContext(q):q()}function E(q,K){let z;const[re,he,G]=extractChangingRecords(q,K);z=extractComponentsGuards(re.reverse(),"beforeRouteLeave",q,K);for(const L of re)L.leaveGuards.forEach(J=>{z.push(guardToPromiseFn(J,q,K))});const I=A.bind(null,q,K);return z.push(I),ce(z).then(()=>{z=[];for(const L of c.list())z.push(guardToPromiseFn(L,q,K));return z.push(I),ce(z)}).then(()=>{z=extractComponentsGuards(he,"beforeRouteUpdate",q,K);for(const L of he)L.updateGuards.forEach(J=>{z.push(guardToPromiseFn(J,q,K))});return z.push(I),ce(z)}).then(()=>{z=[];for(const L of G)if(L.beforeEnter)if(isArray(L.beforeEnter))for(const J of L.beforeEnter)z.push(guardToPromiseFn(J,q,K));else z.push(guardToPromiseFn(L.beforeEnter,q,K));return z.push(I),ce(z)}).then(()=>(q.matched.forEach(L=>L.enterCallbacks={}),z=extractComponentsGuards(G,"beforeRouteEnter",q,K),z.push(I),ce(z))).then(()=>{z=[];for(const L of a.list())z.push(guardToPromiseFn(L,q,K));return z.push(I),ce(z)}).catch(L=>isNavigationFailure(L,8)?L:Promise.reject(L))}function P(q,K,z){u.list().forEach(re=>N(()=>re(q,K,z)))}function V(q,K,z,re,he){const G=C(q,K);if(G)return G;const I=K===START_LOCATION_NORMALIZED,L=isBrowser?history.state:{};z&&(re||I?i.replace(q.fullPath,assign$1({scroll:I&&L&&L.scroll},he)):i.push(q.fullPath,he)),d.value=q,te(q,K,z,I),Q()}let D;function F(){D||(D=i.listen((q,K,z)=>{if(!me.listening)return;const re=_(q),he=R(re);if(he){O(assign$1(he,{replace:!0}),re).catch(noop$3);return}f=re;const G=d.value;isBrowser&&saveScrollPosition(getScrollKey(G.fullPath,z.delta),computeScrollPosition()),E(re,G).catch(I=>isNavigationFailure(I,12)?I:isNavigationFailure(I,2)?(O(I.to,re).then(L=>{isNavigationFailure(L,20)&&!z.delta&&z.type===NavigationType.pop&&i.go(-1,!1)}).catch(noop$3),Promise.reject()):(z.delta&&i.go(-z.delta,!1),M(I,re,G))).then(I=>{I=I||V(re,G,!1),I&&(z.delta&&!isNavigationFailure(I,8)?i.go(-z.delta,!1):z.type===NavigationType.pop&&isNavigationFailure(I,20)&&i.go(-1,!1)),P(re,G,I)}).catch(noop$3)}))}let B=useCallbacks(),$=useCallbacks(),U;function M(q,K,z){Q(q);const re=$.list();return re.length?re.forEach(he=>he(q,K,z)):console.error(q),Promise.reject(q)}function Z(){return U&&d.value!==START_LOCATION_NORMALIZED?Promise.resolve():new Promise((q,K)=>{B.add([q,K])})}function Q(q){return U||(U=!q,F(),B.list().forEach(([K,z])=>q?z(q):K()),B.reset()),q}function te(q,K,z,re){const{scrollBehavior:he}=e;if(!isBrowser||!he)return Promise.resolve();const G=!z&&getSavedScrollPosition(getScrollKey(q.fullPath,0))||(re||!z)&&history.state&&history.state.scroll||null;return nextTick().then(()=>he(q,K,G)).then(I=>I&&scrollToPosition(I)).catch(I=>M(I,q,K))}const W=q=>i.go(q);let j;const le=new Set,me={currentRoute:d,listening:!0,addRoute:y,removeRoute:w,hasRoute:S,getRoutes:b,resolve:_,options:e,push:T,replace:x,go:W,back:()=>W(-1),forward:()=>W(1),beforeEach:c.add,beforeResolve:a.add,afterEach:u.add,onError:$.add,isReady:Z,install(q){const K=this;q.component("RouterLink",RouterLink),q.component("RouterView",RouterView),q.config.globalProperties.$router=K,Object.defineProperty(q.config.globalProperties,"$route",{enumerable:!0,get:()=>unref(d)}),isBrowser&&!j&&d.value===START_LOCATION_NORMALIZED&&(j=!0,T(i.location).catch(he=>{}));const z={};for(const he in START_LOCATION_NORMALIZED)Object.defineProperty(z,he,{get:()=>d.value[he],enumerable:!0});q.provide(routerKey,K),q.provide(routeLocationKey,shallowReactive(z)),q.provide(routerViewLocationKey,d);const re=q.unmount;le.add(q),q.unmount=function(){le.delete(q),le.size<1&&(f=START_LOCATION_NORMALIZED,D&&D(),D=null,d.value=START_LOCATION_NORMALIZED,j=!1,U=!1),re()}}};function ce(q){return q.reduce((K,z)=>K.then(()=>N(z)),Promise.resolve())}return me}function extractChangingRecords(e,t){const r=[],o=[],i=[],c=Math.max(t.matched.length,e.matched.length);for(let a=0;a<c;a++){const u=t.matched[a];u&&(e.matched.find(f=>isSameRouteRecord(f,u))?o.push(u):r.push(u));const d=e.matched[a];d&&(t.matched.find(f=>isSameRouteRecord(f,d))||i.push(d))}return[r,o,i]}var isVue2=!1;/*!
* pinia v2.1.7
* (c) 2023 Eduardo San Martin Morote
* @license MIT
*/let activePinia;const setActivePinia=e=>activePinia=e,piniaSymbol=Symbol();function isPlainObject(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var MutationType;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(MutationType||(MutationType={}));function createPinia(){const e=effectScope(!0),t=e.run(()=>ref({}));let r=[],o=[];const i=markRaw({install(c){setActivePinia(i),i._a=c,c.provide(piniaSymbol,i),c.config.globalProperties.$pinia=i,o.forEach(a=>r.push(a)),o=[]},use(c){return!this._a&&!isVue2?o.push(c):r.push(c),this},_p:r,_a:null,_e:e,_s:new Map,state:t});return i}const noop$2=()=>{};function addSubscription(e,t,r,o=noop$2){e.push(t);const i=()=>{const c=e.indexOf(t);c>-1&&(e.splice(c,1),o())};return!r&&getCurrentScope()&&onScopeDispose(i),i}function triggerSubscriptions(e,...t){e.slice().forEach(r=>{r(...t)})}const fallbackRunWithContext=e=>e();function mergeReactiveObjects(e,t){e instanceof Map&&t instanceof Map&&t.forEach((r,o)=>e.set(o,r)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const r in t){if(!t.hasOwnProperty(r))continue;const o=t[r],i=e[r];isPlainObject(i)&&isPlainObject(o)&&e.hasOwnProperty(r)&&!isRef(o)&&!isReactive(o)?e[r]=mergeReactiveObjects(i,o):e[r]=o}return e}const skipHydrateSymbol=Symbol();function shouldHydrate(e){return!isPlainObject(e)||!e.hasOwnProperty(skipHydrateSymbol)}const{assign}=Object;function isComputed(e){return!!(isRef(e)&&e.effect)}function createOptionsStore(e,t,r,o){const{state:i,actions:c,getters:a}=t,u=r.state.value[e];let d;function f(){u||(r.state.value[e]=i?i():{});const m=toRefs(r.state.value[e]);return assign(m,c,Object.keys(a||{}).reduce((g,v)=>(g[v]=markRaw(computed(()=>{setActivePinia(r);const y=r._s.get(e);return a[v].call(y,y)})),g),{}))}return d=createSetupStore(e,f,t,r,o,!0),d}function createSetupStore(e,t,r={},o,i,c){let a;const u=assign({actions:{}},r),d={deep:!0};let f,m,g=[],v=[],y;const w=o.state.value[e];!c&&!w&&(o.state.value[e]={}),ref({});let b;function S(A){let N;f=m=!1,typeof A=="function"?(A(o.state.value[e]),N={type:MutationType.patchFunction,storeId:e,events:y}):(mergeReactiveObjects(o.state.value[e],A),N={type:MutationType.patchObject,payload:A,storeId:e,events:y});const E=b=Symbol();nextTick().then(()=>{b===E&&(f=!0)}),m=!0,triggerSubscriptions(g,N,o.state.value[e])}const _=c?function(){const{state:N}=r,E=N?N():{};this.$patch(P=>{assign(P,E)})}:noop$2;function k(){a.stop(),g=[],v=[],o._s.delete(e)}function C(A,N){return function(){setActivePinia(o);const E=Array.from(arguments),P=[],V=[];function D($){P.push($)}function F($){V.push($)}triggerSubscriptions(v,{args:E,name:A,store:x,after:D,onError:F});let B;try{B=N.apply(this&&this.$id===e?this:x,E)}catch($){throw triggerSubscriptions(V,$),$}return B instanceof Promise?B.then($=>(triggerSubscriptions(P,$),$)).catch($=>(triggerSubscriptions(V,$),Promise.reject($))):(triggerSubscriptions(P,B),B)}}const T={_p:o,$id:e,$onAction:addSubscription.bind(null,v),$patch:S,$reset:_,$subscribe(A,N={}){const E=addSubscription(g,A,N.detached,()=>P()),P=a.run(()=>watch(()=>o.state.value[e],V=>{(N.flush==="sync"?m:f)&&A({storeId:e,type:MutationType.direct,events:y},V)},assign({},d,N)));return E},$dispose:k},x=reactive(T);o._s.set(e,x);const O=(o._a&&o._a.runWithContext||fallbackRunWithContext)(()=>o._e.run(()=>(a=effectScope()).run(t)));for(const A in O){const N=O[A];if(isRef(N)&&!isComputed(N)||isReactive(N))c||(w&&shouldHydrate(N)&&(isRef(N)?N.value=w[A]:mergeReactiveObjects(N,w[A])),o.state.value[e][A]=N);else if(typeof N=="function"){const E=C(A,N);O[A]=E,u.actions[A]=N}}return assign(x,O),assign(toRaw(x),O),Object.defineProperty(x,"$state",{get:()=>o.state.value[e],set:A=>{S(N=>{assign(N,A)})}}),o._p.forEach(A=>{assign(x,a.run(()=>A({store:x,app:o._a,pinia:o,options:u})))}),w&&c&&r.hydrate&&r.hydrate(x.$state,w),f=!0,m=!0,x}function defineStore(e,t,r){let o,i;const c=typeof t=="function";typeof e=="string"?(o=e,i=c?r:t):(i=e,o=e.id);function a(u,d){const f=hasInjectionContext();return u=u||(f?inject$1(piniaSymbol,null):null),u&&setActivePinia(u),u=activePinia,u._s.has(o)||(c?createSetupStore(o,t,i,u):createOptionsStore(o,i,u)),u._s.get(o)}return a.$id=o,a}let BASE_PATH=typeof window<"u"?localStorage.getItem("BASE_PATH")||"":location.protocol+"//"+location.host;class Configuration{constructor(t={}){this.configuration=t}set config(t){this.configuration=t}get basePath(){return this.configuration.basePath!=null?this.configuration.basePath:BASE_PATH}get fetchApi(){return this.configuration.fetchApi}get middleware(){return this.configuration.middleware||[]}get queryParamsStringify(){return this.configuration.queryParamsStringify||querystring}get username(){return this.configuration.username}get password(){return this.configuration.password}get apiKey(){const t=this.configuration.apiKey;if(t)return typeof t=="function"?t:()=>t}get accessToken(){const t=this.configuration.accessToken;if(t)return typeof t=="function"?t:async()=>t}get headers(){return this.configuration.headers}get credentials(){return this.configuration.credentials}}const DefaultConfig=new Configuration,Ie=class Ie{constructor(t=DefaultConfig){Ae(this,"middleware");Ae(this,"fetchApi",async(t,r)=>{let o={url:t,init:r};for(const c of this.middleware)c.pre&&(o=await c.pre({fetch:this.fetchApi,...o})||o);let i;try{i=await(this.configuration.fetchApi||fetch)(o.url,o.init)}catch(c){for(const a of this.middleware)a.onError&&(i=await a.onError({fetch:this.fetchApi,url:o.url,init:o.init,error:c,response:i?i.clone():void 0})||i);if(i===void 0)throw c instanceof Error?new FetchError(c,"The request failed and the interceptors did not return an alternative response"):c}for(const c of this.middleware)c.post&&(i=await c.post({fetch:this.fetchApi,url:o.url,init:o.init,response:i.clone()})||i);return i});this.configuration=t,this.middleware=t.middleware}withMiddleware(...t){const r=this.clone();return r.middleware=r.middleware.concat(...t),r}withPreMiddleware(...t){const r=t.map(o=>({pre:o}));return this.withMiddleware(...r)}withPostMiddleware(...t){const r=t.map(o=>({post:o}));return this.withMiddleware(...r)}isJsonMime(t){return t?Ie.jsonRegex.test(t):!1}async request(t,r){const{url:o,init:i}=await this.createFetchParams(t,r),c=await this.fetchApi(o,i);if(c&&c.status>=200&&c.status<300)return c;throw new ResponseError(c,"Response returned an error code")}getCookie(t){let r=null;if(document.cookie&&document.cookie!==""){const o=document.cookie.split(";");for(let i=0;i<o.length;i++){const c=o[i].trim();if(c.substring(0,t.length+1)===t+"="){r=decodeURIComponent(c.substring(t.length+1));break}}}return r}async createFetchParams(t,r){let o=this.configuration.basePath+t.path;t.query!==void 0&&Object.keys(t.query).length!==0&&(o+="?"+this.configuration.queryParamsStringify(t.query));const i=Object.assign({},this.configuration.headers,t.headers,{"X-CSRFToken":this.getCookie("csrftoken")});Object.keys(i).forEach(m=>i[m]===void 0?delete i[m]:{});const c=typeof r=="function"?r:async()=>r,a={method:t.method,headers:i,body:t.body,credentials:this.configuration.credentials},u={...a,...await c({init:a,context:t})};let d;isFormData(u.body)||u.body instanceof URLSearchParams||isBlob(u.body)?d=u.body:this.isJsonMime(i["Content-Type"])?d=JSON.stringify(u.body):d=u.body;const f={...u,body:d};return{url:o,init:f}}clone(){const t=this.constructor,r=new t(this.configuration);return r.middleware=this.middleware.slice(),r}};Ae(Ie,"jsonRegex",new RegExp("^(:?application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(:?;.*)?$","i"));let BaseAPI=Ie;function isBlob(e){return typeof Blob<"u"&&e instanceof Blob}function isFormData(e){return typeof FormData<"u"&&e instanceof FormData}class ResponseError extends Error{constructor(r,o){super(o);Ae(this,"name","ResponseError");this.response=r}}class FetchError extends Error{constructor(r,o){super(o);Ae(this,"name","FetchError");this.cause=r}}class RequiredError extends Error{constructor(r,o){super(o);Ae(this,"name","RequiredError");this.field=r}}function querystring(e,t=""){return Object.keys(e).map(r=>querystringSingleKey(r,e[r],t)).filter(r=>r.length>0).join("&")}function querystringSingleKey(e,t,r=""){const o=r+(r.length?`[${e}]`:e);if(t instanceof Array){const i=t.map(c=>encodeURIComponent(String(c))).join(`&${encodeURIComponent(o)}=`);return`${encodeURIComponent(o)}=${i}`}if(t instanceof Set){const i=Array.from(t);return querystringSingleKey(e,i,r)}return t instanceof Date?`${encodeURIComponent(o)}=${encodeURIComponent(t.toISOString())}`:t instanceof Object?querystring(t,o):`${encodeURIComponent(o)}=${encodeURIComponent(String(t))}`}function canConsumeForm(e){for(const t of e)if(t.contentType==="multipart/form-data")return!0;return!1}class JSONApiResponse{constructor(t,r=o=>o){this.raw=t,this.transformer=r}async value(){return this.transformer(await this.raw.json())}}class VoidApiResponse{constructor(t){this.raw=t}async value(){}}class TextApiResponse{constructor(t){this.raw=t}async value(){return await this.raw.text()}}function AccessTokenFromJSON(e){return AccessTokenFromJSONTyped(e)}function AccessTokenFromJSONTyped(e,t){return e==null?e:{id:e.id,token:e.token,expires:new Date(e.expires),scope:e.scope==null?void 0:e.scope,created:new Date(e.created),updated:new Date(e.updated)}}function AccessTokenToJSON(e){return e==null?e:{expires:e.expires.toISOString(),scope:e.scope}}function TypeEnumFromJSON(e){return TypeEnumFromJSONTyped(e)}function TypeEnumFromJSONTyped(e,t){return e}function TypeEnumToJSON(e){return e}function AutomationFromJSON(e){return AutomationFromJSONTyped(e)}function AutomationFromJSONTyped(e,t){return e==null?e:{id:e.id,type:TypeEnumFromJSON(e.type),name:e.name==null?void 0:e.name,description:e.description==null?void 0:e.description,param1:e.param_1==null?void 0:e.param_1,param2:e.param_2==null?void 0:e.param_2,param3:e.param_3==null?void 0:e.param_3,order:e.order==null?void 0:e.order,disabled:e.disabled==null?void 0:e.disabled,createdBy:e.created_by}}function AutomationToJSON(e){return e==null?e:{type:e.type,name:e.name,description:e.description,param_1:e.param1,param_2:e.param2,param_3:e.param3,order:e.order,disabled:e.disabled}}function BookmarkletImportFromJSON(e){return BookmarkletImportFromJSONTyped(e)}function BookmarkletImportFromJSONTyped(e,t){return e==null?e:{id:e.id,url:e.url==null?void 0:e.url,html:e.html,createdBy:e.created_by,createdAt:new Date(e.created_at)}}function BookmarkletImportToJSON(e){return e==null?e:{url:e.url,html:e.html}}function BookmarkletImportListFromJSON(e){return BookmarkletImportListFromJSONTyped(e)}function BookmarkletImportListFromJSONTyped(e,t){return e==null?e:{id:e.id,url:e.url==null?void 0:e.url,createdBy:e.created_by,createdAt:new Date(e.created_at)}}function ConnectorConfigConfigFromJSON(e){return ConnectorConfigConfigFromJSONTyped(e)}function ConnectorConfigConfigFromJSONTyped(e,t){return e==null?e:{id:e.id,name:e.name,url:e.url==null?void 0:e.url,token:e.token==null?void 0:e.token,todoEntity:e.todo_entity==null?void 0:e.todo_entity,enabled:e.enabled==null?void 0:e.enabled,onShoppingListEntryCreatedEnabled:e.on_shopping_list_entry_created_enabled==null?void 0:e.on_shopping_list_entry_created_enabled,onShoppingListEntryUpdatedEnabled:e.on_shopping_list_entry_updated_enabled==null?void 0:e.on_shopping_list_entry_updated_enabled,onShoppingListEntryDeletedEnabled:e.on_shopping_list_entry_deleted_enabled==null?void 0:e.on_shopping_list_entry_deleted_enabled,createdBy:e.created_by}}function ConnectorConfigConfigToJSON(e){return e==null?e:{name:e.name,url:e.url,token:e.token,todo_entity:e.todoEntity,enabled:e.enabled,on_shopping_list_entry_created_enabled:e.onShoppingListEntryCreatedEnabled,on_shopping_list_entry_updated_enabled:e.onShoppingListEntryUpdatedEnabled,on_shopping_list_entry_deleted_enabled:e.onShoppingListEntryDeletedEnabled}}function UserFromJSON(e){return UserFromJSONTyped(e)}function UserFromJSONTyped(e,t){return e==null?e:{id:e.id,username:e.username,firstName:e.first_name==null?void 0:e.first_name,lastName:e.last_name==null?void 0:e.last_name,displayName:e.display_name}}function UserToJSON(e){return e==null?e:{first_name:e.firstName,last_name:e.lastName}}function CookLogFromJSON(e){return CookLogFromJSONTyped(e)}function CookLogFromJSONTyped(e,t){return e==null?e:{id:e.id,recipe:e.recipe,servings:e.servings==null?void 0:e.servings,rating:e.rating==null?void 0:e.rating,comment:e.comment==null?void 0:e.comment,createdBy:UserFromJSON(e.created_by),createdAt:e.created_at==null?void 0:new Date(e.created_at),updatedAt:new Date(e.updated_at)}}function CookLogToJSON(e){return e==null?e:{recipe:e.recipe,servings:e.servings,rating:e.rating,comment:e.comment,created_at:e.createdAt==null?void 0:e.createdAt.toISOString()}}function CustomFilterFromJSON(e){return CustomFilterFromJSONTyped(e)}function CustomFilterFromJSONTyped(e,t){return e==null?e:{id:e.id,name:e.name,search:e.search,shared:e.shared==null?void 0:e.shared.map(UserFromJSON),createdBy:e.created_by}}function CustomFilterToJSON(e){return e==null?e:{name:e.name,search:e.search,shared:e.shared==null?void 0:e.shared.map(UserToJSON)}}function DefaultPageEnumFromJSON(e){return DefaultPageEnumFromJSONTyped(e)}function DefaultPageEnumFromJSONTyped(e,t){return e}function DefaultPageEnumToJSON(e){return e}function DeleteEnumFromJSON(e){return DeleteEnumFromJSONTyped(e)}function DeleteEnumFromJSONTyped(e,t){return e}function DeleteEnumToJSON(e){return e}function ExportLogFromJSON(e){return ExportLogFromJSONTyped(e)}function ExportLogFromJSONTyped(e,t){return e==null?e:{id:e.id,type:e.type,msg:e.msg==null?void 0:e.msg,running:e.running==null?void 0:e.running,totalRecipes:e.total_recipes==null?void 0:e.total_recipes,exportedRecipes:e.exported_recipes==null?void 0:e.exported_recipes,cacheDuration:e.cache_duration==null?void 0:e.cache_duration,possiblyNotExpired:e.possibly_not_expired==null?void 0:e.possibly_not_expired,createdBy:e.created_by,createdAt:new Date(e.created_at)}}function ExportLogToJSON(e){return e==null?e:{type:e.type,msg:e.msg,running:e.running,total_recipes:e.totalRecipes,exported_recipes:e.exportedRecipes,cache_duration:e.cacheDuration,possibly_not_expired:e.possiblyNotExpired}}function FoodInheritFieldFromJSON(e){return FoodInheritFieldFromJSONTyped(e)}function FoodInheritFieldFromJSONTyped(e,t){return e==null?e:{id:e.id,name:e.name==null?void 0:e.name,field:e.field==null?void 0:e.field}}function FoodInheritFieldToJSON(e){return e==null?e:{name:e.name,field:e.field}}function FoodSimpleFromJSON(e){return FoodSimpleFromJSONTyped(e)}function FoodSimpleFromJSONTyped(e,t){return e==null?e:{id:e.id,name:e.name,pluralName:e.plural_name==null?void 0:e.plural_name}}function FoodSimpleToJSON(e){return e==null?e:{name:e.name,plural_name:e.pluralName}}function PropertyTypeFromJSON(e){return PropertyTypeFromJSONTyped(e)}function PropertyTypeFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0:e.id,name:e.name,unit:e.unit==null?void 0:e.unit,description:e.description==null?void 0:e.description,order:e.order==null?void 0:e.order,openDataSlug:e.open_data_slug==null?void 0:e.open_data_slug,fdcId:e.fdc_id==null?void 0:e.fdc_id}}function PropertyTypeToJSON(e){return e==null?e:{id:e.id,name:e.name,unit:e.unit,description:e.description,order:e.order,open_data_slug:e.openDataSlug,fdc_id:e.fdcId}}function PropertyFromJSON(e){return PropertyFromJSONTyped(e)}function PropertyFromJSONTyped(e,t){return e==null?e:{id:e.id,propertyAmount:e.property_amount,propertyType:PropertyTypeFromJSON(e.property_type)}}function PropertyToJSON(e){return e==null?e:{property_amount:e.propertyAmount,property_type:PropertyTypeToJSON(e.propertyType)}}function RecipeSimpleFromJSON(e){return RecipeSimpleFromJSONTyped(e)}function RecipeSimpleFromJSONTyped(e,t){return e==null?e:{id:e.id,name:e.name,url:e.url}}function RecipeSimpleToJSON(e){return e==null?e:{name:e.name}}function SupermarketCategoryFromJSON(e){return SupermarketCategoryFromJSONTyped(e)}function SupermarketCategoryFromJSONTyped(e,t){return e==null?e:{id:e.id,name:e.name,description:e.description==null?void 0:e.description}}function SupermarketCategoryToJSON(e){return e==null?e:{name:e.name,description:e.description}}function UnitFromJSON(e){return UnitFromJSONTyped(e)}function UnitFromJSONTyped(e,t){return e==null?e:{id:e.id,name:e.name,pluralName:e.plural_name==null?void 0:e.plural_name,description:e.description==null?void 0:e.description,baseUnit:e.base_unit==null?void 0:e.base_unit,openDataSlug:e.open_data_slug==null?void 0:e.open_data_slug}}function UnitToJSON(e){return e==null?e:{name:e.name,plural_name:e.pluralName,description:e.description,base_unit:e.baseUnit,open_data_slug:e.openDataSlug}}function FoodFromJSON(e){return FoodFromJSONTyped(e)}function FoodFromJSONTyped(e,t){return e==null?e:{id:e.id,name:e.name,pluralName:e.plural_name==null?void 0:e.plural_name,description:e.description==null?void 0:e.description,shopping:e.shopping,recipe:e.recipe==null?void 0:RecipeSimpleFromJSON(e.recipe),url:e.url==null?void 0:e.url,properties:e.properties==null?void 0:e.properties.map(PropertyFromJSON),propertiesFoodAmount:e.properties_food_amount==null?void 0:e.properties_food_amount,propertiesFoodUnit:e.properties_food_unit==null?void 0:UnitFromJSON(e.properties_food_unit),fdcId:e.fdc_id==null?void 0:e.fdc_id,foodOnhand:e.food_onhand==null?void 0:e.food_onhand,supermarketCategory:e.supermarket_category==null?void 0:SupermarketCategoryFromJSON(e.supermarket_category),parent:e.parent,numchild:e.numchild,inheritFields:e.inherit_fields==null?void 0:e.inherit_fields.map(FoodInheritFieldFromJSON),fullName:e.full_name,ignoreShopping:e.ignore_shopping==null?void 0:e.ignore_shopping,substitute:e.substitute==null?void 0:e.substitute.map(FoodSimpleFromJSON),substituteSiblings:e.substitute_siblings==null?void 0:e.substitute_siblings,substituteChildren:e.substitute_children==null?void 0:e.substitute_children,substituteOnhand:e.substitute_onhand,childInheritFields:e.child_inherit_fields==null?void 0:e.child_inherit_fields.map(FoodInheritFieldFromJSON),openDataSlug:e.open_data_slug==null?void 0:e.open_data_slug}}function FoodToJSON(e){return e==null?e:{name:e.name,plural_name:e.pluralName,description:e.description,recipe:RecipeSimpleToJSON(e.recipe),url:e.url,properties:e.properties==null?void 0:e.properties.map(PropertyToJSON),properties_food_amount:e.propertiesFoodAmount,properties_food_unit:UnitToJSON(e.propertiesFoodUnit),fdc_id:e.fdcId,food_onhand:e.foodOnhand,supermarket_category:SupermarketCategoryToJSON(e.supermarketCategory),inherit_fields:e.inheritFields==null?void 0:e.inheritFields.map(FoodInheritFieldToJSON),ignore_shopping:e.ignoreShopping,substitute:e.substitute==null?void 0:e.substitute.map(FoodSimpleToJSON),substitute_siblings:e.substituteSiblings,substitute_children:e.substituteChildren,child_inherit_fields:e.childInheritFields==null?void 0:e.childInheritFields.map(FoodInheritFieldToJSON),open_data_slug:e.openDataSlug}}function FoodShoppingUpdateFromJSON(e){return FoodShoppingUpdateFromJSONTyped(e)}function FoodShoppingUpdateFromJSONTyped(e,t){return e==null?e:{id:e.id,amount:e.amount==null?void 0:e.amount,unit:e.unit==null?void 0:e.unit,_delete:DeleteEnumFromJSON(e.delete)}}function FoodShoppingUpdateToJSON(e){return e==null?e:{amount:e.amount,unit:e.unit,delete:e._delete}}function GroupFromJSON(e){return GroupFromJSONTyped(e)}function GroupFromJSONTyped(e,t){return e==null?e:{id:e.id,name:e.name}}function GroupToJSON(e){return e==null?e:{name:e.name}}function KeywordFromJSON(e){return KeywordFromJSONTyped(e)}function KeywordFromJSONTyped(e,t){return e==null?e:{id:e.id,name:e.name,label:e.label,description:e.description==null?void 0:e.description,parent:e.parent,numchild:e.numchild,createdAt:new Date(e.created_at),updatedAt:new Date(e.updated_at),fullName:e.full_name}}function KeywordToJSON(e){return e==null?e:{name:e.name,description:e.description}}function ImportLogFromJSON(e){return ImportLogFromJSONTyped(e)}function ImportLogFromJSONTyped(e,t){return e==null?e:{id:e.id,type:e.type,msg:e.msg==null?void 0:e.msg,running:e.running==null?void 0:e.running,keyword:KeywordFromJSON(e.keyword),totalRecipes:e.total_recipes==null?void 0:e.total_recipes,importedRecipes:e.imported_recipes==null?void 0:e.imported_recipes,createdBy:e.created_by,createdAt:new Date(e.created_at)}}function ImportLogToJSON(e){return e==null?e:{type:e.type,msg:e.msg,running:e.running,total_recipes:e.totalRecipes,imported_recipes:e.importedRecipes}}function IngredientFromJSON(e){return IngredientFromJSONTyped(e)}function IngredientFromJSONTyped(e,t){return e==null?e:{id:e.id,food:FoodFromJSON(e.food),unit:UnitFromJSON(e.unit),amount:e.amount,conversions:e.conversions,note:e.note==null?void 0:e.note,order:e.order==null?void 0:e.order,isHeader:e.is_header==null?void 0:e.is_header,noAmount:e.no_amount==null?void 0:e.no_amount,originalText:e.original_text==null?void 0:e.original_text,usedInRecipes:e.used_in_recipes,alwaysUsePluralUnit:e.always_use_plural_unit==null?void 0:e.always_use_plural_unit,alwaysUsePluralFood:e.always_use_plural_food==null?void 0:e.always_use_plural_food}}function IngredientToJSON(e){return e==null?e:{food:FoodToJSON(e.food),unit:UnitToJSON(e.unit),amount:e.amount,note:e.note,order:e.order,is_header:e.isHeader,no_amount:e.noAmount,original_text:e.originalText,always_use_plural_unit:e.alwaysUsePluralUnit,always_use_plural_food:e.alwaysUsePluralFood}}function InviteLinkFromJSON(e){return InviteLinkFromJSONTyped(e)}function InviteLinkFromJSONTyped(e,t){return e==null?e:{id:e.id,uuid:e.uuid,email:e.email==null?void 0:e.email,group:GroupFromJSON(e.group),validUntil:e.valid_until==null?void 0:new Date(e.valid_until),usedBy:e.used_by==null?void 0:e.used_by,reusable:e.reusable==null?void 0:e.reusable,internalNote:e.internal_note==null?void 0:e.internal_note,createdBy:e.created_by,createdAt:new Date(e.created_at)}}function InviteLinkToJSON(e){return e==null?e:{email:e.email,group:GroupToJSON(e.group),valid_until:e.validUntil==null?void 0:e.validUntil.toISOString().substring(0,10),used_by:e.usedBy,reusable:e.reusable,internal_note:e.internalNote}}function KeywordLabelFromJSON(e){return KeywordLabelFromJSONTyped(e)}function KeywordLabelFromJSONTyped(e,t){return e==null?e:{id:e.id,label:e.label}}function MealTypeFromJSON(e){return MealTypeFromJSONTyped(e)}function MealTypeFromJSONTyped(e,t){return e==null?e:{id:e.id,name:e.name,order:e.order==null?void 0:e.order,color:e.color==null?void 0:e.color,_default:e.default==null?void 0:e.default,createdBy:e.created_by}}function MealTypeToJSON(e){return e==null?e:{name:e.name,order:e.order,color:e.color,default:e._default}}function RecipeOverviewFromJSON(e){return RecipeOverviewFromJSONTyped(e)}function RecipeOverviewFromJSONTyped(e,t){return e==null?e:{id:e.id,name:e.name,description:e.description,image:e.image,keywords:e.keywords.map(KeywordLabelFromJSON),workingTime:e.working_time,waitingTime:e.waiting_time,createdBy:e.created_by,createdAt:new Date(e.created_at),updatedAt:new Date(e.updated_at),internal:e.internal,servings:e.servings,servingsText:e.servings_text,rating:e.rating,lastCooked:e.last_cooked==null?null:new Date(e.last_cooked),_new:e.new,recent:e.recent}}function RecipeOverviewToJSON(e){return e==null?e:{}}function MealPlanFromJSON(e){return MealPlanFromJSONTyped(e)}function MealPlanFromJSONTyped(e,t){return e==null?e:{id:e.id,title:e.title==null?void 0:e.title,recipe:e.recipe==null?void 0:RecipeOverviewFromJSON(e.recipe),servings:e.servings,note:e.note==null?void 0:e.note,noteMarkdown:e.note_markdown,fromDate:new Date(e.from_date),toDate:e.to_date==null?void 0:new Date(e.to_date),mealType:MealTypeFromJSON(e.meal_type),createdBy:e.created_by,shared:e.shared==null?void 0:e.shared.map(UserFromJSON),recipeName:e.recipe_name,mealTypeName:e.meal_type_name,shopping:e.shopping}}function MealPlanToJSON(e){return e==null?e:{title:e.title,recipe:RecipeOverviewToJSON(e.recipe),servings:e.servings,note:e.note,from_date:e.fromDate.toISOString().substring(0,10),to_date:e.toDate==null?void 0:e.toDate.toISOString().substring(0,10),meal_type:MealTypeToJSON(e.mealType),shared:e.shared==null?void 0:e.shared.map(UserToJSON)}}function MethodEnumFromJSON(e){return MethodEnumFromJSONTyped(e)}function MethodEnumFromJSONTyped(e,t){return e}function MethodEnumToJSON(e){return e}function NutritionInformationFromJSON(e){return NutritionInformationFromJSONTyped(e)}function NutritionInformationFromJSONTyped(e,t){return e==null?e:{id:e.id,carbohydrates:e.carbohydrates,fats:e.fats,proteins:e.proteins,calories:e.calories,source:e.source==null?void 0:e.source}}function NutritionInformationToJSON(e){return e==null?e:{carbohydrates:e.carbohydrates,fats:e.fats,proteins:e.proteins,calories:e.calories,source:e.source}}function PaginatedAutomationListFromJSON(e){return PaginatedAutomationListFromJSONTyped(e)}function PaginatedAutomationListFromJSONTyped(e,t){return e==null?e:{count:e.count==null?void 0:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results==null?void 0:e.results.map(AutomationFromJSON)}}function PaginatedCookLogListFromJSON(e){return PaginatedCookLogListFromJSONTyped(e)}function PaginatedCookLogListFromJSONTyped(e,t){return e==null?e:{count:e.count==null?void 0:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results==null?void 0:e.results.map(CookLogFromJSON)}}function PaginatedCustomFilterListFromJSON(e){return PaginatedCustomFilterListFromJSONTyped(e)}function PaginatedCustomFilterListFromJSONTyped(e,t){return e==null?e:{count:e.count==null?void 0:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results==null?void 0:e.results.map(CustomFilterFromJSON)}}function PaginatedExportLogListFromJSON(e){return PaginatedExportLogListFromJSONTyped(e)}function PaginatedExportLogListFromJSONTyped(e,t){return e==null?e:{count:e.count==null?void 0:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results==null?void 0:e.results.map(ExportLogFromJSON)}}function PaginatedFoodListFromJSON(e){return PaginatedFoodListFromJSONTyped(e)}function PaginatedFoodListFromJSONTyped(e,t){return e==null?e:{count:e.count==null?void 0:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results==null?void 0:e.results.map(FoodFromJSON)}}function PaginatedImportLogListFromJSON(e){return PaginatedImportLogListFromJSONTyped(e)}function PaginatedImportLogListFromJSONTyped(e,t){return e==null?e:{count:e.count==null?void 0:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results==null?void 0:e.results.map(ImportLogFromJSON)}}function PaginatedIngredientListFromJSON(e){return PaginatedIngredientListFromJSONTyped(e)}function PaginatedIngredientListFromJSONTyped(e,t){return e==null?e:{count:e.count==null?void 0:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results==null?void 0:e.results.map(IngredientFromJSON)}}function PaginatedKeywordListFromJSON(e){return PaginatedKeywordListFromJSONTyped(e)}function PaginatedKeywordListFromJSONTyped(e,t){return e==null?e:{count:e.count==null?void 0:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results==null?void 0:e.results.map(KeywordFromJSON)}}function PaginatedRecipeOverviewListFromJSON(e){return PaginatedRecipeOverviewListFromJSONTyped(e)}function PaginatedRecipeOverviewListFromJSONTyped(e,t){return e==null?e:{count:e.count==null?void 0:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results==null?void 0:e.results.map(RecipeOverviewFromJSON)}}function UserFileViewFromJSON(e){return UserFileViewFromJSONTyped(e)}function UserFileViewFromJSONTyped(e,t){return e==null?e:{id:e.id,name:e.name,fileDownload:e.file_download,preview:e.preview}}function UserFileViewToJSON(e){return e==null?e:{name:e.name}}function StepFromJSON(e){return StepFromJSONTyped(e)}function StepFromJSONTyped(e,t){return e==null?e:{id:e.id,name:e.name==null?void 0:e.name,instruction:e.instruction==null?void 0:e.instruction,ingredients:e.ingredients.map(IngredientFromJSON),instructionsMarkdown:e.instructions_markdown,time:e.time==null?void 0:e.time,order:e.order==null?void 0:e.order,showAsHeader:e.show_as_header==null?void 0:e.show_as_header,file:e.file==null?void 0:UserFileViewFromJSON(e.file),stepRecipe:e.step_recipe==null?void 0:e.step_recipe,stepRecipeData:e.step_recipe_data,numrecipe:e.numrecipe,showIngredientsTable:e.show_ingredients_table==null?void 0:e.show_ingredients_table}}function StepToJSON(e){return e==null?e:{name:e.name,instruction:e.instruction,ingredients:e.ingredients.map(IngredientToJSON),time:e.time,order:e.order,show_as_header:e.showAsHeader,file:UserFileViewToJSON(e.file),step_recipe:e.stepRecipe,show_ingredients_table:e.showIngredientsTable}}function PaginatedStepListFromJSON(e){return PaginatedStepListFromJSONTyped(e)}function PaginatedStepListFromJSONTyped(e,t){return e==null?e:{count:e.count==null?void 0:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results==null?void 0:e.results.map(StepFromJSON)}}function SupermarketCategoryRelationFromJSON(e){return SupermarketCategoryRelationFromJSONTyped(e)}function SupermarketCategoryRelationFromJSONTyped(e,t){return e==null?e:{id:e.id,category:SupermarketCategoryFromJSON(e.category),supermarket:e.supermarket,order:e.order==null?void 0:e.order}}function SupermarketCategoryRelationToJSON(e){return e==null?e:{category:SupermarketCategoryToJSON(e.category),supermarket:e.supermarket,order:e.order}}function PaginatedSupermarketCategoryRelationListFromJSON(e){return PaginatedSupermarketCategoryRelationListFromJSONTyped(e)}function PaginatedSupermarketCategoryRelationListFromJSONTyped(e,t){return e==null?e:{count:e.count==null?void 0:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results==null?void 0:e.results.map(SupermarketCategoryRelationFromJSON)}}function SyncLogFromJSON(e){return SyncLogFromJSONTyped(e)}function SyncLogFromJSONTyped(e,t){return e==null?e:{id:e.id,sync:e.sync,status:e.status,msg:e.msg==null?void 0:e.msg,createdAt:new Date(e.created_at)}}function PaginatedSyncLogListFromJSON(e){return PaginatedSyncLogListFromJSONTyped(e)}function PaginatedSyncLogListFromJSONTyped(e,t){return e==null?e:{count:e.count==null?void 0:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results==null?void 0:e.results.map(SyncLogFromJSON)}}function PaginatedUnitListFromJSON(e){return PaginatedUnitListFromJSONTyped(e)}function PaginatedUnitListFromJSONTyped(e,t){return e==null?e:{count:e.count==null?void 0:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results==null?void 0:e.results.map(UnitFromJSON)}}function UserSpaceFromJSON(e){return UserSpaceFromJSONTyped(e)}function UserSpaceFromJSONTyped(e,t){return e==null?e:{id:e.id,user:UserFromJSON(e.user),space:e.space,groups:e.groups.map(GroupFromJSON),active:e.active==null?void 0:e.active,internalNote:e.internal_note==null?void 0:e.internal_note,inviteLink:e.invite_link,createdAt:new Date(e.created_at),updatedAt:new Date(e.updated_at)}}function PaginatedUserSpaceListFromJSON(e){return PaginatedUserSpaceListFromJSONTyped(e)}function PaginatedUserSpaceListFromJSONTyped(e,t){return e==null?e:{count:e.count==null?void 0:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results==null?void 0:e.results.map(UserSpaceFromJSON)}}function ViewLogFromJSON(e){return ViewLogFromJSONTyped(e)}function ViewLogFromJSONTyped(e,t){return e==null?e:{id:e.id,recipe:e.recipe,createdBy:e.created_by,createdAt:new Date(e.created_at)}}function ViewLogToJSON(e){return e==null?e:{recipe:e.recipe}}function PaginatedViewLogListFromJSON(e){return PaginatedViewLogListFromJSONTyped(e)}function PaginatedViewLogListFromJSONTyped(e,t){return e==null?e:{count:e.count==null?void 0:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results==null?void 0:e.results.map(ViewLogFromJSON)}}function PatchedAccessTokenToJSON(e){return e==null?e:{expires:e.expires==null?void 0:e.expires.toISOString(),scope:e.scope}}function PatchedAutomationToJSON(e){return e==null?e:{type:e.type,name:e.name,description:e.description,param_1:e.param1,param_2:e.param2,param_3:e.param3,order:e.order,disabled:e.disabled}}function PatchedBookmarkletImportToJSON(e){return e==null?e:{url:e.url,html:e.html}}function PatchedConnectorConfigConfigToJSON(e){return e==null?e:{name:e.name,url:e.url,token:e.token,todo_entity:e.todoEntity,enabled:e.enabled,on_shopping_list_entry_created_enabled:e.onShoppingListEntryCreatedEnabled,on_shopping_list_entry_updated_enabled:e.onShoppingListEntryUpdatedEnabled,on_shopping_list_entry_deleted_enabled:e.onShoppingListEntryDeletedEnabled}}function PatchedCookLogToJSON(e){return e==null?e:{recipe:e.recipe,servings:e.servings,rating:e.rating,comment:e.comment,created_at:e.createdAt==null?void 0:e.createdAt.toISOString()}}function PatchedCustomFilterToJSON(e){return e==null?e:{name:e.name,search:e.search,shared:e.shared==null?void 0:e.shared.map(UserToJSON)}}function PatchedExportLogToJSON(e){return e==null?e:{type:e.type,msg:e.msg,running:e.running,total_recipes:e.totalRecipes,exported_recipes:e.exportedRecipes,cache_duration:e.cacheDuration,possibly_not_expired:e.possiblyNotExpired}}function PatchedFoodToJSON(e){return e==null?e:{name:e.name,plural_name:e.pluralName,description:e.description,recipe:RecipeSimpleToJSON(e.recipe),url:e.url,properties:e.properties==null?void 0:e.properties.map(PropertyToJSON),properties_food_amount:e.propertiesFoodAmount,properties_food_unit:UnitToJSON(e.propertiesFoodUnit),fdc_id:e.fdcId,food_onhand:e.foodOnhand,supermarket_category:SupermarketCategoryToJSON(e.supermarketCategory),inherit_fields:e.inheritFields==null?void 0:e.inheritFields.map(FoodInheritFieldToJSON),ignore_shopping:e.ignoreShopping,substitute:e.substitute==null?void 0:e.substitute.map(FoodSimpleToJSON),substitute_siblings:e.substituteSiblings,substitute_children:e.substituteChildren,child_inherit_fields:e.childInheritFields==null?void 0:e.childInheritFields.map(FoodInheritFieldToJSON),open_data_slug:e.openDataSlug}}function PatchedImportLogToJSON(e){return e==null?e:{type:e.type,msg:e.msg,running:e.running,total_recipes:e.totalRecipes,imported_recipes:e.importedRecipes}}function PatchedIngredientToJSON(e){return e==null?e:{food:FoodToJSON(e.food),unit:UnitToJSON(e.unit),amount:e.amount,note:e.note,order:e.order,is_header:e.isHeader,no_amount:e.noAmount,original_text:e.originalText,always_use_plural_unit:e.alwaysUsePluralUnit,always_use_plural_food:e.alwaysUsePluralFood}}function PatchedInviteLinkToJSON(e){return e==null?e:{email:e.email,group:GroupToJSON(e.group),valid_until:e.validUntil==null?void 0:e.validUntil.toISOString().substring(0,10),used_by:e.usedBy,reusable:e.reusable,internal_note:e.internalNote}}function PatchedKeywordToJSON(e){return e==null?e:{name:e.name,description:e.description}}function PatchedMealPlanToJSON(e){return e==null?e:{title:e.title,recipe:RecipeOverviewToJSON(e.recipe),servings:e.servings,note:e.note,from_date:e.fromDate==null?void 0:e.fromDate.toISOString().substring(0,10),to_date:e.toDate==null?void 0:e.toDate.toISOString().substring(0,10),meal_type:MealTypeToJSON(e.mealType),shared:e.shared==null?void 0:e.shared.map(UserToJSON)}}function PatchedMealTypeToJSON(e){return e==null?e:{name:e.name,order:e.order,color:e.color,default:e._default}}function PatchedPropertyToJSON(e){return e==null?e:{property_amount:e.propertyAmount,property_type:PropertyTypeToJSON(e.propertyType)}}function PatchedPropertyTypeToJSON(e){return e==null?e:{id:e.id,name:e.name,unit:e.unit,description:e.description,order:e.order,open_data_slug:e.openDataSlug,fdc_id:e.fdcId}}function PatchedRecipeToJSON(e){return e==null?e:{name:e.name,description:e.description,keywords:e.keywords==null?void 0:e.keywords.map(KeywordToJSON),steps:e.steps==null?void 0:e.steps.map(StepToJSON),working_time:e.workingTime,waiting_time:e.waitingTime,source_url:e.sourceUrl,internal:e.internal,show_ingredient_overview:e.showIngredientOverview,nutrition:NutritionInformationToJSON(e.nutrition),properties:e.properties==null?void 0:e.properties.map(PropertyToJSON),servings:e.servings,file_path:e.filePath,servings_text:e.servingsText,private:e._private,shared:e.shared==null?void 0:e.shared.map(UserToJSON)}}function PatchedRecipeBookToJSON(e){return e==null?e:{name:e.name,description:e.description,shared:e.shared==null?void 0:e.shared.map(UserToJSON),filter:CustomFilterToJSON(e.filter),order:e.order}}function PatchedRecipeBookEntryToJSON(e){return e==null?e:{book:e.book,recipe:e.recipe}}function ShoppingListRecipeFromJSON(e){return ShoppingListRecipeFromJSONTyped(e)}function ShoppingListRecipeFromJSONTyped(e,t){return e==null?e:{id:e.id,recipeName:e.recipe_name,name:e.name,recipe:e.recipe==null?void 0:e.recipe,mealplan:e.mealplan==null?void 0:e.mealplan,servings:e.servings,mealplanNote:e.mealplan_note,mealplanFromDate:new Date(e.mealplan_from_date),mealplanType:e.mealplan_type}}function ShoppingListRecipeToJSON(e){return e==null?e:{recipe:e.recipe,mealplan:e.mealplan,servings:e.servings}}function PatchedShoppingListEntryToJSON(e){return e==null?e:{list_recipe:e.listRecipe,food:FoodToJSON(e.food),unit:UnitToJSON(e.unit),amount:e.amount,order:e.order,checked:e.checked,completed_at:e.completedAt==null?void 0:e.completedAt.toISOString(),delay_until:e.delayUntil==null?void 0:e.delayUntil.toISOString()}}function PatchedShoppingListRecipeToJSON(e){return e==null?e:{recipe:e.recipe,mealplan:e.mealplan,servings:e.servings}}function SpaceNavTextColorEnumFromJSON(e){return SpaceNavTextColorEnumFromJSONTyped(e)}function SpaceNavTextColorEnumFromJSONTyped(e,t){return e}function SpaceNavTextColorEnumToJSON(e){return e}function SpaceThemeEnumFromJSON(e){return SpaceThemeEnumFromJSONTyped(e)}function SpaceThemeEnumFromJSONTyped(e,t){return e}function SpaceThemeEnumToJSON(e){return e}function PatchedSpaceToJSON(e){return e==null?e:{name:e.name,message:e.message,food_inherit:e.foodInherit==null?void 0:e.foodInherit.map(FoodInheritFieldToJSON),image:UserFileViewToJSON(e.image),nav_logo:UserFileViewToJSON(e.navLogo),space_theme:e.spaceTheme,custom_space_theme:UserFileViewToJSON(e.customSpaceTheme),nav_bg_color:e.navBgColor,nav_text_color:e.navTextColor,logo_color_32:UserFileViewToJSON(e.logoColor32),logo_color_128:UserFileViewToJSON(e.logoColor128),logo_color_144:UserFileViewToJSON(e.logoColor144),logo_color_180:UserFileViewToJSON(e.logoColor180),logo_color_192:UserFileViewToJSON(e.logoColor192),logo_color_512:UserFileViewToJSON(e.logoColor512),logo_color_svg:UserFileViewToJSON(e.logoColorSvg)}}function PatchedStepToJSON(e){return e==null?e:{name:e.name,instruction:e.instruction,ingredients:e.ingredients==null?void 0:e.ingredients.map(IngredientToJSON),time:e.time,order:e.order,show_as_header:e.showAsHeader,file:UserFileViewToJSON(e.file),step_recipe:e.stepRecipe,show_ingredients_table:e.showIngredientsTable}}function PatchedStorageToJSON(e){return e==null?e:{name:e.name,method:e.method,username:e.username,password:e.password,token:e.token}}function PatchedSupermarketToJSON(e){return e==null?e:{name:e.name,description:e.description,open_data_slug:e.openDataSlug}}function PatchedSupermarketCategoryToJSON(e){return e==null?e:{name:e.name,description:e.description}}function PatchedSupermarketCategoryRelationToJSON(e){return e==null?e:{category:SupermarketCategoryToJSON(e.category),supermarket:e.supermarket,order:e.order}}function PatchedSyncToJSON(e){return e==null?e:{storage:e.storage,path:e.path,active:e.active,last_checked:e.lastChecked==null?void 0:e.lastChecked.toISOString()}}function PatchedUnitToJSON(e){return e==null?e:{name:e.name,plural_name:e.pluralName,description:e.description,base_unit:e.baseUnit,open_data_slug:e.openDataSlug}}function PatchedUnitConversionToJSON(e){return e==null?e:{base_amount:e.baseAmount,base_unit:UnitToJSON(e.baseUnit),converted_amount:e.convertedAmount,converted_unit:UnitToJSON(e.convertedUnit),food:FoodToJSON(e.food),open_data_slug:e.openDataSlug}}function PatchedUserToJSON(e){return e==null?e:{first_name:e.firstName,last_name:e.lastName}}function ThemeEnumFromJSON(e){return ThemeEnumFromJSONTyped(e)}function ThemeEnumFromJSONTyped(e,t){return e}function ThemeEnumToJSON(e){return e}function UserPreferenceNavTextColorEnumFromJSON(e){return UserPreferenceNavTextColorEnumFromJSONTyped(e)}function UserPreferenceNavTextColorEnumFromJSONTyped(e,t){return e}function UserPreferenceNavTextColorEnumToJSON(e){return e}function PatchedUserPreferenceToJSON(e){return e==null?e:{user:e.user,image:UserFileViewToJSON(e.image),theme:e.theme,nav_bg_color:e.navBgColor,nav_text_color:e.navTextColor,nav_show_logo:e.navShowLogo,default_unit:e.defaultUnit,default_page:e.defaultPage,use_fractions:e.useFractions,use_kj:e.useKj,plan_share:e.planShare==null?void 0:e.planShare.map(UserToJSON),nav_sticky:e.navSticky,ingredient_decimals:e.ingredientDecimals,comments:e.comments,shopping_auto_sync:e.shoppingAutoSync,mealplan_autoadd_shopping:e.mealplanAutoaddShopping,default_delay:e.defaultDelay,mealplan_autoinclude_related:e.mealplanAutoincludeRelated,mealplan_autoexclude_onhand:e.mealplanAutoexcludeOnhand,shopping_share:e.shoppingShare==null?void 0:e.shoppingShare.map(UserToJSON),shopping_recent_days:e.shoppingRecentDays,csv_delim:e.csvDelim,csv_prefix:e.csvPrefix,filter_to_supermarket:e.filterToSupermarket,shopping_add_onhand:e.shoppingAddOnhand,left_handed:e.leftHanded,show_step_ingredients:e.showStepIngredients}}function PatchedUserSpaceToJSON(e){return e==null?e:{groups:e.groups==null?void 0:e.groups.map(GroupToJSON),active:e.active,internal_note:e.internalNote}}function PatchedViewLogToJSON(e){return e==null?e:{recipe:e.recipe}}function RecipeFromJSON(e){return RecipeFromJSONTyped(e)}function RecipeFromJSONTyped(e,t){return e==null?e:{id:e.id,name:e.name,description:e.description==null?void 0:e.description,image:e.image,keywords:e.keywords==null?void 0:e.keywords.map(KeywordFromJSON),steps:e.steps.map(StepFromJSON),workingTime:e.working_time==null?void 0:e.working_time,waitingTime:e.waiting_time==null?void 0:e.waiting_time,createdBy:e.created_by,createdAt:new Date(e.created_at),updatedAt:new Date(e.updated_at),sourceUrl:e.source_url==null?void 0:e.source_url,internal:e.internal==null?void 0:e.internal,showIngredientOverview:e.show_ingredient_overview==null?void 0:e.show_ingredient_overview,nutrition:e.nutrition==null?void 0:NutritionInformationFromJSON(e.nutrition),properties:e.properties==null?void 0:e.properties.map(PropertyFromJSON),foodProperties:e.food_properties,servings:e.servings==null?void 0:e.servings,filePath:e.file_path==null?void 0:e.file_path,servingsText:e.servings_text==null?void 0:e.servings_text,rating:e.rating,lastCooked:e.last_cooked==null?null:new Date(e.last_cooked),_private:e.private==null?void 0:e.private,shared:e.shared==null?void 0:e.shared.map(UserFromJSON)}}function RecipeToJSON(e){return e==null?e:{name:e.name,description:e.description,keywords:e.keywords==null?void 0:e.keywords.map(KeywordToJSON),steps:e.steps.map(StepToJSON),working_time:e.workingTime,waiting_time:e.waitingTime,source_url:e.sourceUrl,internal:e.internal,show_ingredient_overview:e.showIngredientOverview,nutrition:NutritionInformationToJSON(e.nutrition),properties:e.properties==null?void 0:e.properties.map(PropertyToJSON),servings:e.servings,file_path:e.filePath,servings_text:e.servingsText,private:e._private,shared:e.shared==null?void 0:e.shared.map(UserToJSON)}}function RecipeBookFromJSON(e){return RecipeBookFromJSONTyped(e)}function RecipeBookFromJSONTyped(e,t){return e==null?e:{id:e.id,name:e.name,description:e.description==null?void 0:e.description,shared:e.shared.map(UserFromJSON),createdBy:e.created_by,filter:e.filter==null?void 0:CustomFilterFromJSON(e.filter),order:e.order==null?void 0:e.order}}function RecipeBookToJSON(e){return e==null?e:{name:e.name,description:e.description,shared:e.shared.map(UserToJSON),filter:CustomFilterToJSON(e.filter),order:e.order}}function RecipeBookEntryFromJSON(e){return RecipeBookEntryFromJSONTyped(e)}function RecipeBookEntryFromJSONTyped(e,t){return e==null?e:{id:e.id,book:e.book,bookContent:e.book_content,recipe:e.recipe,recipeContent:e.recipe_content}}function RecipeBookEntryToJSON(e){return e==null?e:{book:e.book,recipe:e.recipe}}function RecipeFlatFromJSON(e){return RecipeFlatFromJSONTyped(e)}function RecipeFlatFromJSONTyped(e,t){return e==null?e:{id:e.id,name:e.name,image:e.image==null?void 0:e.image}}function RecipeImageFromJSON(e){return RecipeImageFromJSONTyped(e)}function RecipeImageFromJSONTyped(e,t){return e==null?e:{image:e.image==null?void 0:e.image,imageUrl:e.image_url==null?void 0:e.image_url}}function RecipeShoppingUpdateFromJSON(e){return RecipeShoppingUpdateFromJSONTyped(e)}function RecipeShoppingUpdateFromJSONTyped(e,t){return e==null?e:{id:e.id,listRecipe:e.list_recipe==null?void 0:e.list_recipe,ingredients:e.ingredients==null?void 0:e.ingredients,servings:e.servings==null?void 0:e.servings}}function RecipeShoppingUpdateToJSON(e){return e==null?e:{list_recipe:e.listRecipe,ingredients:e.ingredients,servings:e.servings}}function ShoppingListEntryFromJSON(e){return ShoppingListEntryFromJSONTyped(e)}function ShoppingListEntryFromJSONTyped(e,t){return e==null?e:{id:e.id,listRecipe:e.list_recipe==null?void 0:e.list_recipe,food:FoodFromJSON(e.food),unit:e.unit==null?void 0:UnitFromJSON(e.unit),amount:e.amount,order:e.order==null?void 0:e.order,checked:e.checked==null?void 0:e.checked,recipeMealplan:ShoppingListRecipeFromJSON(e.recipe_mealplan),createdBy:UserFromJSON(e.created_by),createdAt:new Date(e.created_at),updatedAt:new Date(e.updated_at),completedAt:e.completed_at==null?void 0:new Date(e.completed_at),delayUntil:e.delay_until==null?void 0:new Date(e.delay_until)}}function ShoppingListEntryToJSON(e){return e==null?e:{list_recipe:e.listRecipe,food:FoodToJSON(e.food),unit:UnitToJSON(e.unit),amount:e.amount,order:e.order,checked:e.checked,completed_at:e.completedAt==null?void 0:e.completedAt.toISOString(),delay_until:e.delayUntil==null?void 0:e.delayUntil.toISOString()}}function ShoppingListEntryBulkFromJSON(e){return ShoppingListEntryBulkFromJSONTyped(e)}function ShoppingListEntryBulkFromJSONTyped(e,t){return e==null?e:{ids:e.ids,checked:e.checked}}function ShoppingListEntryBulkToJSON(e){return e==null?e:{ids:e.ids,checked:e.checked}}function SpaceFromJSON(e){return SpaceFromJSONTyped(e)}function SpaceFromJSONTyped(e,t){return e==null?e:{id:e.id,name:e.name==null?void 0:e.name,createdBy:e.created_by,createdAt:new Date(e.created_at),message:e.message==null?void 0:e.message,maxRecipes:e.max_recipes,maxFileStorageMb:e.max_file_storage_mb,maxUsers:e.max_users,allowSharing:e.allow_sharing,demo:e.demo,foodInherit:e.food_inherit.map(FoodInheritFieldFromJSON),userCount:e.user_count,recipeCount:e.recipe_count,fileSizeMb:e.file_size_mb,image:e.image==null?void 0:UserFileViewFromJSON(e.image),navLogo:e.nav_logo==null?void 0:UserFileViewFromJSON(e.nav_logo),spaceTheme:e.space_theme==null?void 0:SpaceThemeEnumFromJSON(e.space_theme),customSpaceTheme:e.custom_space_theme==null?void 0:UserFileViewFromJSON(e.custom_space_theme),navBgColor:e.nav_bg_color==null?void 0:e.nav_bg_color,navTextColor:e.nav_text_color==null?void 0:SpaceNavTextColorEnumFromJSON(e.nav_text_color),logoColor32:e.logo_color_32==null?void 0:UserFileViewFromJSON(e.logo_color_32),logoColor128:e.logo_color_128==null?void 0:UserFileViewFromJSON(e.logo_color_128),logoColor144:e.logo_color_144==null?void 0:UserFileViewFromJSON(e.logo_color_144),logoColor180:e.logo_color_180==null?void 0:UserFileViewFromJSON(e.logo_color_180),logoColor192:e.logo_color_192==null?void 0:UserFileViewFromJSON(e.logo_color_192),logoColor512:e.logo_color_512==null?void 0:UserFileViewFromJSON(e.logo_color_512),logoColorSvg:e.logo_color_svg==null?void 0:UserFileViewFromJSON(e.logo_color_svg)}}function StorageFromJSON(e){return StorageFromJSONTyped(e)}function StorageFromJSONTyped(e,t){return e==null?e:{id:e.id,name:e.name,method:e.method==null?void 0:MethodEnumFromJSON(e.method),username:e.username==null?void 0:e.username,password:e.password==null?void 0:e.password,token:e.token==null?void 0:e.token,createdBy:e.created_by}}function StorageToJSON(e){return e==null?e:{name:e.name,method:e.method,username:e.username,password:e.password,token:e.token}}function SupermarketFromJSON(e){return SupermarketFromJSONTyped(e)}function SupermarketFromJSONTyped(e,t){return e==null?e:{id:e.id,name:e.name,description:e.description==null?void 0:e.description,categoryToSupermarket:e.category_to_supermarket.map(SupermarketCategoryRelationFromJSON),openDataSlug:e.open_data_slug==null?void 0:e.open_data_slug}}function SupermarketToJSON(e){return e==null?e:{name:e.name,description:e.description,open_data_slug:e.openDataSlug}}function SyncFromJSON(e){return SyncFromJSONTyped(e)}function SyncFromJSONTyped(e,t){return e==null?e:{id:e.id,storage:e.storage,path:e.path==null?void 0:e.path,active:e.active==null?void 0:e.active,lastChecked:e.last_checked==null?void 0:new Date(e.last_checked),createdAt:new Date(e.created_at),updatedAt:new Date(e.updated_at)}}function SyncToJSON(e){return e==null?e:{storage:e.storage,path:e.path,active:e.active,last_checked:e.lastChecked==null?void 0:e.lastChecked.toISOString()}}function UnitConversionFromJSON(e){return UnitConversionFromJSONTyped(e)}function UnitConversionFromJSONTyped(e,t){return e==null?e:{id:e.id,name:e.name,baseAmount:e.base_amount,baseUnit:UnitFromJSON(e.base_unit),convertedAmount:e.converted_amount,convertedUnit:UnitFromJSON(e.converted_unit),food:e.food==null?void 0:FoodFromJSON(e.food),openDataSlug:e.open_data_slug==null?void 0:e.open_data_slug}}function UnitConversionToJSON(e){return e==null?e:{base_amount:e.baseAmount,base_unit:UnitToJSON(e.baseUnit),converted_amount:e.convertedAmount,converted_unit:UnitToJSON(e.convertedUnit),food:FoodToJSON(e.food),open_data_slug:e.openDataSlug}}function UserFileFromJSON(e){return UserFileFromJSONTyped(e)}function UserFileFromJSONTyped(e,t){return e==null?e:{id:e.id,name:e.name,file:e.file,fileDownload:e.file_download,preview:e.preview,fileSizeKb:e.file_size_kb}}function UserPreferenceFromJSON(e){return UserPreferenceFromJSONTyped(e)}function UserPreferenceFromJSONTyped(e,t){return e==null?e:{user:e.user,image:e.image==null?void 0:UserFileViewFromJSON(e.image),theme:e.theme==null?void 0:ThemeEnumFromJSON(e.theme),navBgColor:e.nav_bg_color==null?void 0:e.nav_bg_color,navTextColor:e.nav_text_color==null?void 0:UserPreferenceNavTextColorEnumFromJSON(e.nav_text_color),navShowLogo:e.nav_show_logo==null?void 0:e.nav_show_logo,defaultUnit:e.default_unit==null?void 0:e.default_unit,defaultPage:e.default_page==null?void 0:DefaultPageEnumFromJSON(e.default_page),useFractions:e.use_fractions==null?void 0:e.use_fractions,useKj:e.use_kj==null?void 0:e.use_kj,planShare:e.plan_share==null?void 0:e.plan_share.map(UserFromJSON),navSticky:e.nav_sticky==null?void 0:e.nav_sticky,ingredientDecimals:e.ingredient_decimals==null?void 0:e.ingredient_decimals,comments:e.comments==null?void 0:e.comments,shoppingAutoSync:e.shopping_auto_sync==null?void 0:e.shopping_auto_sync,mealplanAutoaddShopping:e.mealplan_autoadd_shopping==null?void 0:e.mealplan_autoadd_shopping,foodInheritDefault:e.food_inherit_default,defaultDelay:e.default_delay==null?void 0:e.default_delay,mealplanAutoincludeRelated:e.mealplan_autoinclude_related==null?void 0:e.mealplan_autoinclude_related,mealplanAutoexcludeOnhand:e.mealplan_autoexclude_onhand==null?void 0:e.mealplan_autoexclude_onhand,shoppingShare:e.shopping_share==null?void 0:e.shopping_share.map(UserFromJSON),shoppingRecentDays:e.shopping_recent_days==null?void 0:e.shopping_recent_days,csvDelim:e.csv_delim==null?void 0:e.csv_delim,csvPrefix:e.csv_prefix==null?void 0:e.csv_prefix,filterToSupermarket:e.filter_to_supermarket==null?void 0:e.filter_to_supermarket,shoppingAddOnhand:e.shopping_add_onhand==null?void 0:e.shopping_add_onhand,leftHanded:e.left_handed==null?void 0:e.left_handed,showStepIngredients:e.show_step_ingredients==null?void 0:e.show_step_ingredients,foodChildrenExist:e.food_children_exist}}class ApiApi extends BaseAPI{async apiAccessTokenCreateRaw(t,r){if(t.accessToken==null)throw new RequiredError("accessToken",'Required parameter "accessToken" was null or undefined when calling apiAccessTokenCreate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/access-token/",method:"POST",headers:i,query:o,body:AccessTokenToJSON(t.accessToken)},r);return new JSONApiResponse(c,a=>AccessTokenFromJSON(a))}async apiAccessTokenCreate(t,r){return await(await this.apiAccessTokenCreateRaw(t,r)).value()}async apiAccessTokenDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiAccessTokenDestroy().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/access-token/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:i,query:o},r);return new VoidApiResponse(c)}async apiAccessTokenDestroy(t,r){await this.apiAccessTokenDestroyRaw(t,r)}async apiAccessTokenListRaw(t){const r={},o={};this.configuration&&this.configuration.apiKey&&(o.Authorization=await this.configuration.apiKey("Authorization"));const i=await this.request({path:"/api/access-token/",method:"GET",headers:o,query:r},t);return new JSONApiResponse(i,c=>c.map(AccessTokenFromJSON))}async apiAccessTokenList(t){return await(await this.apiAccessTokenListRaw(t)).value()}async apiAccessTokenPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiAccessTokenPartialUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/access-token/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:i,query:o,body:PatchedAccessTokenToJSON(t.patchedAccessToken)},r);return new JSONApiResponse(c,a=>AccessTokenFromJSON(a))}async apiAccessTokenPartialUpdate(t,r){return await(await this.apiAccessTokenPartialUpdateRaw(t,r)).value()}async apiAccessTokenRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiAccessTokenRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/access-token/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>AccessTokenFromJSON(a))}async apiAccessTokenRetrieve(t,r){return await(await this.apiAccessTokenRetrieveRaw(t,r)).value()}async apiAccessTokenUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiAccessTokenUpdate().');if(t.accessToken==null)throw new RequiredError("accessToken",'Required parameter "accessToken" was null or undefined when calling apiAccessTokenUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/access-token/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:i,query:o,body:AccessTokenToJSON(t.accessToken)},r);return new JSONApiResponse(c,a=>AccessTokenFromJSON(a))}async apiAccessTokenUpdate(t,r){return await(await this.apiAccessTokenUpdateRaw(t,r)).value()}async apiAutoPlanCreateRaw(t){const r={},o={};this.configuration&&this.configuration.apiKey&&(o.Authorization=await this.configuration.apiKey("Authorization"));const i=await this.request({path:"/api/auto-plan/",method:"POST",headers:o,query:r},t);return new VoidApiResponse(i)}async apiAutoPlanCreate(t){await this.apiAutoPlanCreateRaw(t)}async apiAutomationCreateRaw(t,r){if(t.automation==null)throw new RequiredError("automation",'Required parameter "automation" was null or undefined when calling apiAutomationCreate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/automation/",method:"POST",headers:i,query:o,body:AutomationToJSON(t.automation)},r);return new JSONApiResponse(c,a=>AutomationFromJSON(a))}async apiAutomationCreate(t,r){return await(await this.apiAutomationCreateRaw(t,r)).value()}async apiAutomationDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiAutomationDestroy().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/automation/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:i,query:o},r);return new VoidApiResponse(c)}async apiAutomationDestroy(t,r){await this.apiAutomationDestroyRaw(t,r)}async apiAutomationListRaw(t,r){const o={};t.automationType!=null&&(o.automation_type=t.automationType),t.page!=null&&(o.page=t.page),t.pageSize!=null&&(o.page_size=t.pageSize);const i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/automation/",method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>PaginatedAutomationListFromJSON(a))}async apiAutomationList(t={},r){return await(await this.apiAutomationListRaw(t,r)).value()}async apiAutomationPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiAutomationPartialUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/automation/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:i,query:o,body:PatchedAutomationToJSON(t.patchedAutomation)},r);return new JSONApiResponse(c,a=>AutomationFromJSON(a))}async apiAutomationPartialUpdate(t,r){return await(await this.apiAutomationPartialUpdateRaw(t,r)).value()}async apiAutomationRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiAutomationRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/automation/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>AutomationFromJSON(a))}async apiAutomationRetrieve(t,r){return await(await this.apiAutomationRetrieveRaw(t,r)).value()}async apiAutomationUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiAutomationUpdate().');if(t.automation==null)throw new RequiredError("automation",'Required parameter "automation" was null or undefined when calling apiAutomationUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/automation/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:i,query:o,body:AutomationToJSON(t.automation)},r);return new JSONApiResponse(c,a=>AutomationFromJSON(a))}async apiAutomationUpdate(t,r){return await(await this.apiAutomationUpdateRaw(t,r)).value()}async apiBookmarkletImportCreateRaw(t,r){if(t.bookmarkletImport==null)throw new RequiredError("bookmarkletImport",'Required parameter "bookmarkletImport" was null or undefined when calling apiBookmarkletImportCreate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/bookmarklet-import/",method:"POST",headers:i,query:o,body:BookmarkletImportToJSON(t.bookmarkletImport)},r);return new JSONApiResponse(c,a=>BookmarkletImportFromJSON(a))}async apiBookmarkletImportCreate(t,r){return await(await this.apiBookmarkletImportCreateRaw(t,r)).value()}async apiBookmarkletImportDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiBookmarkletImportDestroy().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/bookmarklet-import/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:i,query:o},r);return new VoidApiResponse(c)}async apiBookmarkletImportDestroy(t,r){await this.apiBookmarkletImportDestroyRaw(t,r)}async apiBookmarkletImportListRaw(t){const r={},o={};this.configuration&&this.configuration.apiKey&&(o.Authorization=await this.configuration.apiKey("Authorization"));const i=await this.request({path:"/api/bookmarklet-import/",method:"GET",headers:o,query:r},t);return new JSONApiResponse(i,c=>c.map(BookmarkletImportListFromJSON))}async apiBookmarkletImportList(t){return await(await this.apiBookmarkletImportListRaw(t)).value()}async apiBookmarkletImportPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiBookmarkletImportPartialUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/bookmarklet-import/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:i,query:o,body:PatchedBookmarkletImportToJSON(t.patchedBookmarkletImport)},r);return new JSONApiResponse(c,a=>BookmarkletImportFromJSON(a))}async apiBookmarkletImportPartialUpdate(t,r){return await(await this.apiBookmarkletImportPartialUpdateRaw(t,r)).value()}async apiBookmarkletImportRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiBookmarkletImportRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/bookmarklet-import/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>BookmarkletImportFromJSON(a))}async apiBookmarkletImportRetrieve(t,r){return await(await this.apiBookmarkletImportRetrieveRaw(t,r)).value()}async apiBookmarkletImportUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiBookmarkletImportUpdate().');if(t.bookmarkletImport==null)throw new RequiredError("bookmarkletImport",'Required parameter "bookmarkletImport" was null or undefined when calling apiBookmarkletImportUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/bookmarklet-import/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:i,query:o,body:BookmarkletImportToJSON(t.bookmarkletImport)},r);return new JSONApiResponse(c,a=>BookmarkletImportFromJSON(a))}async apiBookmarkletImportUpdate(t,r){return await(await this.apiBookmarkletImportUpdateRaw(t,r)).value()}async apiConnectorConfigCreateRaw(t,r){if(t.connectorConfigConfig==null)throw new RequiredError("connectorConfigConfig",'Required parameter "connectorConfigConfig" was null or undefined when calling apiConnectorConfigCreate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/connector-config/",method:"POST",headers:i,query:o,body:ConnectorConfigConfigToJSON(t.connectorConfigConfig)},r);return new JSONApiResponse(c,a=>ConnectorConfigConfigFromJSON(a))}async apiConnectorConfigCreate(t,r){return await(await this.apiConnectorConfigCreateRaw(t,r)).value()}async apiConnectorConfigDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiConnectorConfigDestroy().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/connector-config/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:i,query:o},r);return new VoidApiResponse(c)}async apiConnectorConfigDestroy(t,r){await this.apiConnectorConfigDestroyRaw(t,r)}async apiConnectorConfigListRaw(t){const r={},o={};this.configuration&&this.configuration.apiKey&&(o.Authorization=await this.configuration.apiKey("Authorization"));const i=await this.request({path:"/api/connector-config/",method:"GET",headers:o,query:r},t);return new JSONApiResponse(i,c=>c.map(ConnectorConfigConfigFromJSON))}async apiConnectorConfigList(t){return await(await this.apiConnectorConfigListRaw(t)).value()}async apiConnectorConfigPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiConnectorConfigPartialUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/connector-config/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:i,query:o,body:PatchedConnectorConfigConfigToJSON(t.patchedConnectorConfigConfig)},r);return new JSONApiResponse(c,a=>ConnectorConfigConfigFromJSON(a))}async apiConnectorConfigPartialUpdate(t,r){return await(await this.apiConnectorConfigPartialUpdateRaw(t,r)).value()}async apiConnectorConfigRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiConnectorConfigRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/connector-config/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>ConnectorConfigConfigFromJSON(a))}async apiConnectorConfigRetrieve(t,r){return await(await this.apiConnectorConfigRetrieveRaw(t,r)).value()}async apiConnectorConfigUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiConnectorConfigUpdate().');if(t.connectorConfigConfig==null)throw new RequiredError("connectorConfigConfig",'Required parameter "connectorConfigConfig" was null or undefined when calling apiConnectorConfigUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/connector-config/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:i,query:o,body:ConnectorConfigConfigToJSON(t.connectorConfigConfig)},r);return new JSONApiResponse(c,a=>ConnectorConfigConfigFromJSON(a))}async apiConnectorConfigUpdate(t,r){return await(await this.apiConnectorConfigUpdateRaw(t,r)).value()}async apiCookLogCreateRaw(t,r){if(t.cookLog==null)throw new RequiredError("cookLog",'Required parameter "cookLog" was null or undefined when calling apiCookLogCreate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/cook-log/",method:"POST",headers:i,query:o,body:CookLogToJSON(t.cookLog)},r);return new JSONApiResponse(c,a=>CookLogFromJSON(a))}async apiCookLogCreate(t,r){return await(await this.apiCookLogCreateRaw(t,r)).value()}async apiCookLogDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiCookLogDestroy().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/cook-log/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:i,query:o},r);return new VoidApiResponse(c)}async apiCookLogDestroy(t,r){await this.apiCookLogDestroyRaw(t,r)}async apiCookLogListRaw(t,r){const o={};t.page!=null&&(o.page=t.page),t.pageSize!=null&&(o.page_size=t.pageSize),t.recipe!=null&&(o.recipe=t.recipe);const i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/cook-log/",method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>PaginatedCookLogListFromJSON(a))}async apiCookLogList(t={},r){return await(await this.apiCookLogListRaw(t,r)).value()}async apiCookLogPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiCookLogPartialUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/cook-log/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:i,query:o,body:PatchedCookLogToJSON(t.patchedCookLog)},r);return new JSONApiResponse(c,a=>CookLogFromJSON(a))}async apiCookLogPartialUpdate(t,r){return await(await this.apiCookLogPartialUpdateRaw(t,r)).value()}async apiCookLogRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiCookLogRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/cook-log/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>CookLogFromJSON(a))}async apiCookLogRetrieve(t,r){return await(await this.apiCookLogRetrieveRaw(t,r)).value()}async apiCookLogUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiCookLogUpdate().');if(t.cookLog==null)throw new RequiredError("cookLog",'Required parameter "cookLog" was null or undefined when calling apiCookLogUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/cook-log/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:i,query:o,body:CookLogToJSON(t.cookLog)},r);return new JSONApiResponse(c,a=>CookLogFromJSON(a))}async apiCookLogUpdate(t,r){return await(await this.apiCookLogUpdateRaw(t,r)).value()}async apiCustomFilterCreateRaw(t,r){if(t.customFilter==null)throw new RequiredError("customFilter",'Required parameter "customFilter" was null or undefined when calling apiCustomFilterCreate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/custom-filter/",method:"POST",headers:i,query:o,body:CustomFilterToJSON(t.customFilter)},r);return new JSONApiResponse(c,a=>CustomFilterFromJSON(a))}async apiCustomFilterCreate(t,r){return await(await this.apiCustomFilterCreateRaw(t,r)).value()}async apiCustomFilterDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiCustomFilterDestroy().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/custom-filter/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:i,query:o},r);return new VoidApiResponse(c)}async apiCustomFilterDestroy(t,r){await this.apiCustomFilterDestroyRaw(t,r)}async apiCustomFilterListRaw(t,r){const o={};t.limit!=null&&(o.limit=t.limit),t.page!=null&&(o.page=t.page),t.pageSize!=null&&(o.page_size=t.pageSize),t.query!=null&&(o.query=t.query),t.random!=null&&(o.random=t.random),t.updatedAt!=null&&(o.updated_at=t.updatedAt);const i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/custom-filter/",method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>PaginatedCustomFilterListFromJSON(a))}async apiCustomFilterList(t={},r){return await(await this.apiCustomFilterListRaw(t,r)).value()}async apiCustomFilterPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiCustomFilterPartialUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/custom-filter/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:i,query:o,body:PatchedCustomFilterToJSON(t.patchedCustomFilter)},r);return new JSONApiResponse(c,a=>CustomFilterFromJSON(a))}async apiCustomFilterPartialUpdate(t,r){return await(await this.apiCustomFilterPartialUpdateRaw(t,r)).value()}async apiCustomFilterRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiCustomFilterRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/custom-filter/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>CustomFilterFromJSON(a))}async apiCustomFilterRetrieve(t,r){return await(await this.apiCustomFilterRetrieveRaw(t,r)).value()}async apiCustomFilterUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiCustomFilterUpdate().');if(t.customFilter==null)throw new RequiredError("customFilter",'Required parameter "customFilter" was null or undefined when calling apiCustomFilterUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/custom-filter/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:i,query:o,body:CustomFilterToJSON(t.customFilter)},r);return new JSONApiResponse(c,a=>CustomFilterFromJSON(a))}async apiCustomFilterUpdate(t,r){return await(await this.apiCustomFilterUpdateRaw(t,r)).value()}async apiDownloadFileRetrieveRaw(t,r){if(t.fileId==null)throw new RequiredError("fileId",'Required parameter "fileId" was null or undefined when calling apiDownloadFileRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/download-file/{fileId}/".replace("{fileId}",encodeURIComponent(String(t.fileId))),method:"GET",headers:i,query:o},r);return new VoidApiResponse(c)}async apiDownloadFileRetrieve(t,r){await this.apiDownloadFileRetrieveRaw(t,r)}async apiExportLogCreateRaw(t,r){if(t.exportLog==null)throw new RequiredError("exportLog",'Required parameter "exportLog" was null or undefined when calling apiExportLogCreate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/export-log/",method:"POST",headers:i,query:o,body:ExportLogToJSON(t.exportLog)},r);return new JSONApiResponse(c,a=>ExportLogFromJSON(a))}async apiExportLogCreate(t,r){return await(await this.apiExportLogCreateRaw(t,r)).value()}async apiExportLogDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiExportLogDestroy().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/export-log/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:i,query:o},r);return new VoidApiResponse(c)}async apiExportLogDestroy(t,r){await this.apiExportLogDestroyRaw(t,r)}async apiExportLogListRaw(t,r){const o={};t.page!=null&&(o.page=t.page),t.pageSize!=null&&(o.page_size=t.pageSize);const i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/export-log/",method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>PaginatedExportLogListFromJSON(a))}async apiExportLogList(t={},r){return await(await this.apiExportLogListRaw(t,r)).value()}async apiExportLogPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiExportLogPartialUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/export-log/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:i,query:o,body:PatchedExportLogToJSON(t.patchedExportLog)},r);return new JSONApiResponse(c,a=>ExportLogFromJSON(a))}async apiExportLogPartialUpdate(t,r){return await(await this.apiExportLogPartialUpdateRaw(t,r)).value()}async apiExportLogRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiExportLogRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/export-log/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>ExportLogFromJSON(a))}async apiExportLogRetrieve(t,r){return await(await this.apiExportLogRetrieveRaw(t,r)).value()}async apiExportLogUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiExportLogUpdate().');if(t.exportLog==null)throw new RequiredError("exportLog",'Required parameter "exportLog" was null or undefined when calling apiExportLogUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/export-log/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:i,query:o,body:ExportLogToJSON(t.exportLog)},r);return new JSONApiResponse(c,a=>ExportLogFromJSON(a))}async apiExportLogUpdate(t,r){return await(await this.apiExportLogUpdateRaw(t,r)).value()}async apiFoodCreateRaw(t,r){if(t.food==null)throw new RequiredError("food",'Required parameter "food" was null or undefined when calling apiFoodCreate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/food/",method:"POST",headers:i,query:o,body:FoodToJSON(t.food)},r);return new JSONApiResponse(c,a=>FoodFromJSON(a))}async apiFoodCreate(t,r){return await(await this.apiFoodCreateRaw(t,r)).value()}async apiFoodDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiFoodDestroy().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/food/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:i,query:o},r);return new VoidApiResponse(c)}async apiFoodDestroy(t,r){await this.apiFoodDestroyRaw(t,r)}async apiFoodFdcCreateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiFoodFdcCreate().');if(t.food==null)throw new RequiredError("food",'Required parameter "food" was null or undefined when calling apiFoodFdcCreate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/food/{id}/fdc/".replace("{id}",encodeURIComponent(String(t.id))),method:"POST",headers:i,query:o,body:FoodToJSON(t.food)},r);return new JSONApiResponse(c,a=>FoodFromJSON(a))}async apiFoodFdcCreate(t,r){return await(await this.apiFoodFdcCreateRaw(t,r)).value()}async apiFoodInheritFieldListRaw(t){const r={},o={};this.configuration&&this.configuration.apiKey&&(o.Authorization=await this.configuration.apiKey("Authorization"));const i=await this.request({path:"/api/food-inherit-field/",method:"GET",headers:o,query:r},t);return new JSONApiResponse(i,c=>c.map(FoodInheritFieldFromJSON))}async apiFoodInheritFieldList(t){return await(await this.apiFoodInheritFieldListRaw(t)).value()}async apiFoodInheritFieldRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiFoodInheritFieldRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/food-inherit-field/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>FoodInheritFieldFromJSON(a))}async apiFoodInheritFieldRetrieve(t,r){return await(await this.apiFoodInheritFieldRetrieveRaw(t,r)).value()}async apiFoodListRaw(t,r){const o={};t.limit!=null&&(o.limit=t.limit),t.page!=null&&(o.page=t.page),t.pageSize!=null&&(o.page_size=t.pageSize),t.query!=null&&(o.query=t.query),t.random!=null&&(o.random=t.random),t.root!=null&&(o.root=t.root),t.tree!=null&&(o.tree=t.tree),t.updatedAt!=null&&(o.updated_at=t.updatedAt);const i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/food/",method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>PaginatedFoodListFromJSON(a))}async apiFoodList(t={},r){return await(await this.apiFoodListRaw(t,r)).value()}async apiFoodMergeUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiFoodMergeUpdate().');if(t.target==null)throw new RequiredError("target",'Required parameter "target" was null or undefined when calling apiFoodMergeUpdate().');if(t.food==null)throw new RequiredError("food",'Required parameter "food" was null or undefined when calling apiFoodMergeUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/food/{id}/merge/{target}/".replace("{id}",encodeURIComponent(String(t.id))).replace("{target}",encodeURIComponent(String(t.target))),method:"PUT",headers:i,query:o,body:FoodToJSON(t.food)},r);return new JSONApiResponse(c,a=>FoodFromJSON(a))}async apiFoodMergeUpdate(t,r){return await(await this.apiFoodMergeUpdateRaw(t,r)).value()}async apiFoodMoveUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiFoodMoveUpdate().');if(t.parent==null)throw new RequiredError("parent",'Required parameter "parent" was null or undefined when calling apiFoodMoveUpdate().');if(t.food==null)throw new RequiredError("food",'Required parameter "food" was null or undefined when calling apiFoodMoveUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/food/{id}/move/{parent}/".replace("{id}",encodeURIComponent(String(t.id))).replace("{parent}",encodeURIComponent(String(t.parent))),method:"PUT",headers:i,query:o,body:FoodToJSON(t.food)},r);return new JSONApiResponse(c,a=>FoodFromJSON(a))}async apiFoodMoveUpdate(t,r){return await(await this.apiFoodMoveUpdateRaw(t,r)).value()}async apiFoodPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiFoodPartialUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/food/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:i,query:o,body:PatchedFoodToJSON(t.patchedFood)},r);return new JSONApiResponse(c,a=>FoodFromJSON(a))}async apiFoodPartialUpdate(t,r){return await(await this.apiFoodPartialUpdateRaw(t,r)).value()}async apiFoodPropertyCreateRaw(t,r){if(t.property==null)throw new RequiredError("property",'Required parameter "property" was null or undefined when calling apiFoodPropertyCreate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/food-property/",method:"POST",headers:i,query:o,body:PropertyToJSON(t.property)},r);return new JSONApiResponse(c,a=>PropertyFromJSON(a))}async apiFoodPropertyCreate(t,r){return await(await this.apiFoodPropertyCreateRaw(t,r)).value()}async apiFoodPropertyDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiFoodPropertyDestroy().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/food-property/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:i,query:o},r);return new VoidApiResponse(c)}async apiFoodPropertyDestroy(t,r){await this.apiFoodPropertyDestroyRaw(t,r)}async apiFoodPropertyListRaw(t){const r={},o={};this.configuration&&this.configuration.apiKey&&(o.Authorization=await this.configuration.apiKey("Authorization"));const i=await this.request({path:"/api/food-property/",method:"GET",headers:o,query:r},t);return new JSONApiResponse(i,c=>c.map(PropertyFromJSON))}async apiFoodPropertyList(t){return await(await this.apiFoodPropertyListRaw(t)).value()}async apiFoodPropertyPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiFoodPropertyPartialUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/food-property/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:i,query:o,body:PatchedPropertyToJSON(t.patchedProperty)},r);return new JSONApiResponse(c,a=>PropertyFromJSON(a))}async apiFoodPropertyPartialUpdate(t,r){return await(await this.apiFoodPropertyPartialUpdateRaw(t,r)).value()}async apiFoodPropertyRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiFoodPropertyRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/food-property/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>PropertyFromJSON(a))}async apiFoodPropertyRetrieve(t,r){return await(await this.apiFoodPropertyRetrieveRaw(t,r)).value()}async apiFoodPropertyTypeCreateRaw(t,r){if(t.propertyType==null)throw new RequiredError("propertyType",'Required parameter "propertyType" was null or undefined when calling apiFoodPropertyTypeCreate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/food-property-type/",method:"POST",headers:i,query:o,body:PropertyTypeToJSON(t.propertyType)},r);return new JSONApiResponse(c,a=>PropertyTypeFromJSON(a))}async apiFoodPropertyTypeCreate(t,r){return await(await this.apiFoodPropertyTypeCreateRaw(t,r)).value()}async apiFoodPropertyTypeDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiFoodPropertyTypeDestroy().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/food-property-type/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:i,query:o},r);return new VoidApiResponse(c)}async apiFoodPropertyTypeDestroy(t,r){await this.apiFoodPropertyTypeDestroyRaw(t,r)}async apiFoodPropertyTypeListRaw(t){const r={},o={};this.configuration&&this.configuration.apiKey&&(o.Authorization=await this.configuration.apiKey("Authorization"));const i=await this.request({path:"/api/food-property-type/",method:"GET",headers:o,query:r},t);return new JSONApiResponse(i,c=>c.map(PropertyTypeFromJSON))}async apiFoodPropertyTypeList(t){return await(await this.apiFoodPropertyTypeListRaw(t)).value()}async apiFoodPropertyTypePartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiFoodPropertyTypePartialUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/food-property-type/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:i,query:o,body:PatchedPropertyTypeToJSON(t.patchedPropertyType)},r);return new JSONApiResponse(c,a=>PropertyTypeFromJSON(a))}async apiFoodPropertyTypePartialUpdate(t,r){return await(await this.apiFoodPropertyTypePartialUpdateRaw(t,r)).value()}async apiFoodPropertyTypeRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiFoodPropertyTypeRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/food-property-type/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>PropertyTypeFromJSON(a))}async apiFoodPropertyTypeRetrieve(t,r){return await(await this.apiFoodPropertyTypeRetrieveRaw(t,r)).value()}async apiFoodPropertyTypeUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiFoodPropertyTypeUpdate().');if(t.propertyType==null)throw new RequiredError("propertyType",'Required parameter "propertyType" was null or undefined when calling apiFoodPropertyTypeUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/food-property-type/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:i,query:o,body:PropertyTypeToJSON(t.propertyType)},r);return new JSONApiResponse(c,a=>PropertyTypeFromJSON(a))}async apiFoodPropertyTypeUpdate(t,r){return await(await this.apiFoodPropertyTypeUpdateRaw(t,r)).value()}async apiFoodPropertyUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiFoodPropertyUpdate().');if(t.property==null)throw new RequiredError("property",'Required parameter "property" was null or undefined when calling apiFoodPropertyUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/food-property/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:i,query:o,body:PropertyToJSON(t.property)},r);return new JSONApiResponse(c,a=>PropertyFromJSON(a))}async apiFoodPropertyUpdate(t,r){return await(await this.apiFoodPropertyUpdateRaw(t,r)).value()}async apiFoodRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiFoodRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/food/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>FoodFromJSON(a))}async apiFoodRetrieve(t,r){return await(await this.apiFoodRetrieveRaw(t,r)).value()}async apiFoodShoppingUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiFoodShoppingUpdate().');if(t.foodShoppingUpdate==null)throw new RequiredError("foodShoppingUpdate",'Required parameter "foodShoppingUpdate" was null or undefined when calling apiFoodShoppingUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/food/{id}/shopping/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:i,query:o,body:FoodShoppingUpdateToJSON(t.foodShoppingUpdate)},r);return new JSONApiResponse(c,a=>FoodShoppingUpdateFromJSON(a))}async apiFoodShoppingUpdate(t,r){return await(await this.apiFoodShoppingUpdateRaw(t,r)).value()}async apiFoodUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiFoodUpdate().');if(t.food==null)throw new RequiredError("food",'Required parameter "food" was null or undefined when calling apiFoodUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/food/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:i,query:o,body:FoodToJSON(t.food)},r);return new JSONApiResponse(c,a=>FoodFromJSON(a))}async apiFoodUpdate(t,r){return await(await this.apiFoodUpdateRaw(t,r)).value()}async apiGroupListRaw(t){const r={},o={};this.configuration&&this.configuration.apiKey&&(o.Authorization=await this.configuration.apiKey("Authorization"));const i=await this.request({path:"/api/group/",method:"GET",headers:o,query:r},t);return new JSONApiResponse(i,c=>c.map(GroupFromJSON))}async apiGroupList(t){return await(await this.apiGroupListRaw(t)).value()}async apiGroupRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiGroupRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/group/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>GroupFromJSON(a))}async apiGroupRetrieve(t,r){return await(await this.apiGroupRetrieveRaw(t,r)).value()}async apiImportCreateRaw(t){const r={},o={};this.configuration&&this.configuration.apiKey&&(o.Authorization=await this.configuration.apiKey("Authorization"));const i=await this.request({path:"/api/import/",method:"POST",headers:o,query:r},t);return new VoidApiResponse(i)}async apiImportCreate(t){await this.apiImportCreateRaw(t)}async apiImportLogCreateRaw(t,r){if(t.importLog==null)throw new RequiredError("importLog",'Required parameter "importLog" was null or undefined when calling apiImportLogCreate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/import-log/",method:"POST",headers:i,query:o,body:ImportLogToJSON(t.importLog)},r);return new JSONApiResponse(c,a=>ImportLogFromJSON(a))}async apiImportLogCreate(t,r){return await(await this.apiImportLogCreateRaw(t,r)).value()}async apiImportLogDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiImportLogDestroy().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/import-log/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:i,query:o},r);return new VoidApiResponse(c)}async apiImportLogDestroy(t,r){await this.apiImportLogDestroyRaw(t,r)}async apiImportLogListRaw(t,r){const o={};t.page!=null&&(o.page=t.page),t.pageSize!=null&&(o.page_size=t.pageSize);const i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/import-log/",method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>PaginatedImportLogListFromJSON(a))}async apiImportLogList(t={},r){return await(await this.apiImportLogListRaw(t,r)).value()}async apiImportLogPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiImportLogPartialUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/import-log/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:i,query:o,body:PatchedImportLogToJSON(t.patchedImportLog)},r);return new JSONApiResponse(c,a=>ImportLogFromJSON(a))}async apiImportLogPartialUpdate(t,r){return await(await this.apiImportLogPartialUpdateRaw(t,r)).value()}async apiImportLogRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiImportLogRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/import-log/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>ImportLogFromJSON(a))}async apiImportLogRetrieve(t,r){return await(await this.apiImportLogRetrieveRaw(t,r)).value()}async apiImportLogUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiImportLogUpdate().');if(t.importLog==null)throw new RequiredError("importLog",'Required parameter "importLog" was null or undefined when calling apiImportLogUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/import-log/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:i,query:o,body:ImportLogToJSON(t.importLog)},r);return new JSONApiResponse(c,a=>ImportLogFromJSON(a))}async apiImportLogUpdate(t,r){return await(await this.apiImportLogUpdateRaw(t,r)).value()}async apiIngredientCreateRaw(t,r){if(t.ingredient==null)throw new RequiredError("ingredient",'Required parameter "ingredient" was null or undefined when calling apiIngredientCreate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/ingredient/",method:"POST",headers:i,query:o,body:IngredientToJSON(t.ingredient)},r);return new JSONApiResponse(c,a=>IngredientFromJSON(a))}async apiIngredientCreate(t,r){return await(await this.apiIngredientCreateRaw(t,r)).value()}async apiIngredientDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiIngredientDestroy().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/ingredient/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:i,query:o},r);return new VoidApiResponse(c)}async apiIngredientDestroy(t,r){await this.apiIngredientDestroyRaw(t,r)}async apiIngredientListRaw(t,r){const o={};t.page!=null&&(o.page=t.page),t.pageSize!=null&&(o.page_size=t.pageSize);const i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/ingredient/",method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>PaginatedIngredientListFromJSON(a))}async apiIngredientList(t={},r){return await(await this.apiIngredientListRaw(t,r)).value()}async apiIngredientPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiIngredientPartialUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/ingredient/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:i,query:o,body:PatchedIngredientToJSON(t.patchedIngredient)},r);return new JSONApiResponse(c,a=>IngredientFromJSON(a))}async apiIngredientPartialUpdate(t,r){return await(await this.apiIngredientPartialUpdateRaw(t,r)).value()}async apiIngredientRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiIngredientRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/ingredient/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>IngredientFromJSON(a))}async apiIngredientRetrieve(t,r){return await(await this.apiIngredientRetrieveRaw(t,r)).value()}async apiIngredientUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiIngredientUpdate().');if(t.ingredient==null)throw new RequiredError("ingredient",'Required parameter "ingredient" was null or undefined when calling apiIngredientUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/ingredient/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:i,query:o,body:IngredientToJSON(t.ingredient)},r);return new JSONApiResponse(c,a=>IngredientFromJSON(a))}async apiIngredientUpdate(t,r){return await(await this.apiIngredientUpdateRaw(t,r)).value()}async apiInviteLinkCreateRaw(t,r){if(t.inviteLink==null)throw new RequiredError("inviteLink",'Required parameter "inviteLink" was null or undefined when calling apiInviteLinkCreate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/invite-link/",method:"POST",headers:i,query:o,body:InviteLinkToJSON(t.inviteLink)},r);return new JSONApiResponse(c,a=>InviteLinkFromJSON(a))}async apiInviteLinkCreate(t,r){return await(await this.apiInviteLinkCreateRaw(t,r)).value()}async apiInviteLinkDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiInviteLinkDestroy().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/invite-link/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:i,query:o},r);return new VoidApiResponse(c)}async apiInviteLinkDestroy(t,r){await this.apiInviteLinkDestroyRaw(t,r)}async apiInviteLinkListRaw(t,r){const o={};t.limit!=null&&(o.limit=t.limit),t.query!=null&&(o.query=t.query),t.random!=null&&(o.random=t.random),t.updatedAt!=null&&(o.updated_at=t.updatedAt);const i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/invite-link/",method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>a.map(InviteLinkFromJSON))}async apiInviteLinkList(t={},r){return await(await this.apiInviteLinkListRaw(t,r)).value()}async apiInviteLinkPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiInviteLinkPartialUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/invite-link/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:i,query:o,body:PatchedInviteLinkToJSON(t.patchedInviteLink)},r);return new JSONApiResponse(c,a=>InviteLinkFromJSON(a))}async apiInviteLinkPartialUpdate(t,r){return await(await this.apiInviteLinkPartialUpdateRaw(t,r)).value()}async apiInviteLinkRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiInviteLinkRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/invite-link/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>InviteLinkFromJSON(a))}async apiInviteLinkRetrieve(t,r){return await(await this.apiInviteLinkRetrieveRaw(t,r)).value()}async apiInviteLinkUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiInviteLinkUpdate().');if(t.inviteLink==null)throw new RequiredError("inviteLink",'Required parameter "inviteLink" was null or undefined when calling apiInviteLinkUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/invite-link/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:i,query:o,body:InviteLinkToJSON(t.inviteLink)},r);return new JSONApiResponse(c,a=>InviteLinkFromJSON(a))}async apiInviteLinkUpdate(t,r){return await(await this.apiInviteLinkUpdateRaw(t,r)).value()}async apiKeywordCreateRaw(t,r){if(t.keyword==null)throw new RequiredError("keyword",'Required parameter "keyword" was null or undefined when calling apiKeywordCreate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/keyword/",method:"POST",headers:i,query:o,body:KeywordToJSON(t.keyword)},r);return new JSONApiResponse(c,a=>KeywordFromJSON(a))}async apiKeywordCreate(t,r){return await(await this.apiKeywordCreateRaw(t,r)).value()}async apiKeywordDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiKeywordDestroy().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/keyword/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:i,query:o},r);return new VoidApiResponse(c)}async apiKeywordDestroy(t,r){await this.apiKeywordDestroyRaw(t,r)}async apiKeywordListRaw(t,r){const o={};t.limit!=null&&(o.limit=t.limit),t.page!=null&&(o.page=t.page),t.pageSize!=null&&(o.page_size=t.pageSize),t.query!=null&&(o.query=t.query),t.random!=null&&(o.random=t.random),t.root!=null&&(o.root=t.root),t.tree!=null&&(o.tree=t.tree),t.updatedAt!=null&&(o.updated_at=t.updatedAt);const i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/keyword/",method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>PaginatedKeywordListFromJSON(a))}async apiKeywordList(t={},r){return await(await this.apiKeywordListRaw(t,r)).value()}async apiKeywordMergeUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiKeywordMergeUpdate().');if(t.target==null)throw new RequiredError("target",'Required parameter "target" was null or undefined when calling apiKeywordMergeUpdate().');if(t.keyword==null)throw new RequiredError("keyword",'Required parameter "keyword" was null or undefined when calling apiKeywordMergeUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/keyword/{id}/merge/{target}/".replace("{id}",encodeURIComponent(String(t.id))).replace("{target}",encodeURIComponent(String(t.target))),method:"PUT",headers:i,query:o,body:KeywordToJSON(t.keyword)},r);return new JSONApiResponse(c,a=>KeywordFromJSON(a))}async apiKeywordMergeUpdate(t,r){return await(await this.apiKeywordMergeUpdateRaw(t,r)).value()}async apiKeywordMoveUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiKeywordMoveUpdate().');if(t.parent==null)throw new RequiredError("parent",'Required parameter "parent" was null or undefined when calling apiKeywordMoveUpdate().');if(t.keyword==null)throw new RequiredError("keyword",'Required parameter "keyword" was null or undefined when calling apiKeywordMoveUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/keyword/{id}/move/{parent}/".replace("{id}",encodeURIComponent(String(t.id))).replace("{parent}",encodeURIComponent(String(t.parent))),method:"PUT",headers:i,query:o,body:KeywordToJSON(t.keyword)},r);return new JSONApiResponse(c,a=>KeywordFromJSON(a))}async apiKeywordMoveUpdate(t,r){return await(await this.apiKeywordMoveUpdateRaw(t,r)).value()}async apiKeywordPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiKeywordPartialUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/keyword/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:i,query:o,body:PatchedKeywordToJSON(t.patchedKeyword)},r);return new JSONApiResponse(c,a=>KeywordFromJSON(a))}async apiKeywordPartialUpdate(t,r){return await(await this.apiKeywordPartialUpdateRaw(t,r)).value()}async apiKeywordRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiKeywordRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/keyword/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>KeywordFromJSON(a))}async apiKeywordRetrieve(t,r){return await(await this.apiKeywordRetrieveRaw(t,r)).value()}async apiKeywordUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiKeywordUpdate().');if(t.keyword==null)throw new RequiredError("keyword",'Required parameter "keyword" was null or undefined when calling apiKeywordUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/keyword/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:i,query:o,body:KeywordToJSON(t.keyword)},r);return new JSONApiResponse(c,a=>KeywordFromJSON(a))}async apiKeywordUpdate(t,r){return await(await this.apiKeywordUpdateRaw(t,r)).value()}async apiMealPlanCreateRaw(t,r){if(t.mealPlan==null)throw new RequiredError("mealPlan",'Required parameter "mealPlan" was null or undefined when calling apiMealPlanCreate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/meal-plan/",method:"POST",headers:i,query:o,body:MealPlanToJSON(t.mealPlan)},r);return new JSONApiResponse(c,a=>MealPlanFromJSON(a))}async apiMealPlanCreate(t,r){return await(await this.apiMealPlanCreateRaw(t,r)).value()}async apiMealPlanDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiMealPlanDestroy().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/meal-plan/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:i,query:o},r);return new VoidApiResponse(c)}async apiMealPlanDestroy(t,r){await this.apiMealPlanDestroyRaw(t,r)}async apiMealPlanIcalRetrieveRaw(t,r){const o={};t.fromDate!=null&&(o.from_date=t.fromDate),t.mealType!=null&&(o.meal_type=t.mealType),t.toDate!=null&&(o.to_date=t.toDate);const i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/meal-plan/ical/",method:"GET",headers:i,query:o},r);return this.isJsonMime(c.headers.get("content-type"))?new JSONApiResponse(c):new TextApiResponse(c)}async apiMealPlanIcalRetrieve(t={},r){return await(await this.apiMealPlanIcalRetrieveRaw(t,r)).value()}async apiMealPlanListRaw(t,r){const o={};t.fromDate!=null&&(o.from_date=t.fromDate),t.mealType!=null&&(o.meal_type=t.mealType),t.toDate!=null&&(o.to_date=t.toDate);const i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/meal-plan/",method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>a.map(MealPlanFromJSON))}async apiMealPlanList(t={},r){return await(await this.apiMealPlanListRaw(t,r)).value()}async apiMealPlanPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiMealPlanPartialUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/meal-plan/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:i,query:o,body:PatchedMealPlanToJSON(t.patchedMealPlan)},r);return new JSONApiResponse(c,a=>MealPlanFromJSON(a))}async apiMealPlanPartialUpdate(t,r){return await(await this.apiMealPlanPartialUpdateRaw(t,r)).value()}async apiMealPlanRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiMealPlanRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/meal-plan/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>MealPlanFromJSON(a))}async apiMealPlanRetrieve(t,r){return await(await this.apiMealPlanRetrieveRaw(t,r)).value()}async apiMealPlanUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiMealPlanUpdate().');if(t.mealPlan==null)throw new RequiredError("mealPlan",'Required parameter "mealPlan" was null or undefined when calling apiMealPlanUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/meal-plan/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:i,query:o,body:MealPlanToJSON(t.mealPlan)},r);return new JSONApiResponse(c,a=>MealPlanFromJSON(a))}async apiMealPlanUpdate(t,r){return await(await this.apiMealPlanUpdateRaw(t,r)).value()}async apiMealTypeCreateRaw(t,r){if(t.mealType==null)throw new RequiredError("mealType",'Required parameter "mealType" was null or undefined when calling apiMealTypeCreate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/meal-type/",method:"POST",headers:i,query:o,body:MealTypeToJSON(t.mealType)},r);return new JSONApiResponse(c,a=>MealTypeFromJSON(a))}async apiMealTypeCreate(t,r){return await(await this.apiMealTypeCreateRaw(t,r)).value()}async apiMealTypeDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiMealTypeDestroy().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/meal-type/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:i,query:o},r);return new VoidApiResponse(c)}async apiMealTypeDestroy(t,r){await this.apiMealTypeDestroyRaw(t,r)}async apiMealTypeListRaw(t){const r={},o={};this.configuration&&this.configuration.apiKey&&(o.Authorization=await this.configuration.apiKey("Authorization"));const i=await this.request({path:"/api/meal-type/",method:"GET",headers:o,query:r},t);return new JSONApiResponse(i,c=>c.map(MealTypeFromJSON))}async apiMealTypeList(t){return await(await this.apiMealTypeListRaw(t)).value()}async apiMealTypePartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiMealTypePartialUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/meal-type/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:i,query:o,body:PatchedMealTypeToJSON(t.patchedMealType)},r);return new JSONApiResponse(c,a=>MealTypeFromJSON(a))}async apiMealTypePartialUpdate(t,r){return await(await this.apiMealTypePartialUpdateRaw(t,r)).value()}async apiMealTypeRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiMealTypeRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/meal-type/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>MealTypeFromJSON(a))}async apiMealTypeRetrieve(t,r){return await(await this.apiMealTypeRetrieveRaw(t,r)).value()}async apiMealTypeUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiMealTypeUpdate().');if(t.mealType==null)throw new RequiredError("mealType",'Required parameter "mealType" was null or undefined when calling apiMealTypeUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/meal-type/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:i,query:o,body:MealTypeToJSON(t.mealType)},r);return new JSONApiResponse(c,a=>MealTypeFromJSON(a))}async apiMealTypeUpdate(t,r){return await(await this.apiMealTypeUpdateRaw(t,r)).value()}async apiPlanIcalRetrieveRaw(t,r){if(t.fromDate==null)throw new RequiredError("fromDate",'Required parameter "fromDate" was null or undefined when calling apiPlanIcalRetrieve().');if(t.toDate==null)throw new RequiredError("toDate",'Required parameter "toDate" was null or undefined when calling apiPlanIcalRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/plan-ical/{fromDate}/{toDate}/".replace("{fromDate}",encodeURIComponent(String(t.fromDate))).replace("{toDate}",encodeURIComponent(String(t.toDate))),method:"GET",headers:i,query:o},r);return new VoidApiResponse(c)}async apiPlanIcalRetrieve(t,r){await this.apiPlanIcalRetrieveRaw(t,r)}async apiRecipeBookCreateRaw(t,r){if(t.recipeBook==null)throw new RequiredError("recipeBook",'Required parameter "recipeBook" was null or undefined when calling apiRecipeBookCreate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe-book/",method:"POST",headers:i,query:o,body:RecipeBookToJSON(t.recipeBook)},r);return new JSONApiResponse(c,a=>RecipeBookFromJSON(a))}async apiRecipeBookCreate(t,r){return await(await this.apiRecipeBookCreateRaw(t,r)).value()}async apiRecipeBookDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeBookDestroy().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe-book/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:i,query:o},r);return new VoidApiResponse(c)}async apiRecipeBookDestroy(t,r){await this.apiRecipeBookDestroyRaw(t,r)}async apiRecipeBookEntryCreateRaw(t,r){if(t.recipeBookEntry==null)throw new RequiredError("recipeBookEntry",'Required parameter "recipeBookEntry" was null or undefined when calling apiRecipeBookEntryCreate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe-book-entry/",method:"POST",headers:i,query:o,body:RecipeBookEntryToJSON(t.recipeBookEntry)},r);return new JSONApiResponse(c,a=>RecipeBookEntryFromJSON(a))}async apiRecipeBookEntryCreate(t,r){return await(await this.apiRecipeBookEntryCreateRaw(t,r)).value()}async apiRecipeBookEntryDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeBookEntryDestroy().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe-book-entry/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:i,query:o},r);return new VoidApiResponse(c)}async apiRecipeBookEntryDestroy(t,r){await this.apiRecipeBookEntryDestroyRaw(t,r)}async apiRecipeBookEntryListRaw(t){const r={},o={};this.configuration&&this.configuration.apiKey&&(o.Authorization=await this.configuration.apiKey("Authorization"));const i=await this.request({path:"/api/recipe-book-entry/",method:"GET",headers:o,query:r},t);return new JSONApiResponse(i,c=>c.map(RecipeBookEntryFromJSON))}async apiRecipeBookEntryList(t){return await(await this.apiRecipeBookEntryListRaw(t)).value()}async apiRecipeBookEntryPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeBookEntryPartialUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe-book-entry/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:i,query:o,body:PatchedRecipeBookEntryToJSON(t.patchedRecipeBookEntry)},r);return new JSONApiResponse(c,a=>RecipeBookEntryFromJSON(a))}async apiRecipeBookEntryPartialUpdate(t,r){return await(await this.apiRecipeBookEntryPartialUpdateRaw(t,r)).value()}async apiRecipeBookEntryRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeBookEntryRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe-book-entry/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>RecipeBookEntryFromJSON(a))}async apiRecipeBookEntryRetrieve(t,r){return await(await this.apiRecipeBookEntryRetrieveRaw(t,r)).value()}async apiRecipeBookEntryUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeBookEntryUpdate().');if(t.recipeBookEntry==null)throw new RequiredError("recipeBookEntry",'Required parameter "recipeBookEntry" was null or undefined when calling apiRecipeBookEntryUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe-book-entry/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:i,query:o,body:RecipeBookEntryToJSON(t.recipeBookEntry)},r);return new JSONApiResponse(c,a=>RecipeBookEntryFromJSON(a))}async apiRecipeBookEntryUpdate(t,r){return await(await this.apiRecipeBookEntryUpdateRaw(t,r)).value()}async apiRecipeBookListRaw(t,r){const o={};t.limit!=null&&(o.limit=t.limit),t.query!=null&&(o.query=t.query),t.random!=null&&(o.random=t.random),t.updatedAt!=null&&(o.updated_at=t.updatedAt);const i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe-book/",method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>a.map(RecipeBookFromJSON))}async apiRecipeBookList(t={},r){return await(await this.apiRecipeBookListRaw(t,r)).value()}async apiRecipeBookPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeBookPartialUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe-book/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:i,query:o,body:PatchedRecipeBookToJSON(t.patchedRecipeBook)},r);return new JSONApiResponse(c,a=>RecipeBookFromJSON(a))}async apiRecipeBookPartialUpdate(t,r){return await(await this.apiRecipeBookPartialUpdateRaw(t,r)).value()}async apiRecipeBookRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeBookRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe-book/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>RecipeBookFromJSON(a))}async apiRecipeBookRetrieve(t,r){return await(await this.apiRecipeBookRetrieveRaw(t,r)).value()}async apiRecipeBookUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeBookUpdate().');if(t.recipeBook==null)throw new RequiredError("recipeBook",'Required parameter "recipeBook" was null or undefined when calling apiRecipeBookUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe-book/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:i,query:o,body:RecipeBookToJSON(t.recipeBook)},r);return new JSONApiResponse(c,a=>RecipeBookFromJSON(a))}async apiRecipeBookUpdate(t,r){return await(await this.apiRecipeBookUpdateRaw(t,r)).value()}async apiRecipeCreateRaw(t,r){if(t.recipe==null)throw new RequiredError("recipe",'Required parameter "recipe" was null or undefined when calling apiRecipeCreate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe/",method:"POST",headers:i,query:o,body:RecipeToJSON(t.recipe)},r);return new JSONApiResponse(c,a=>RecipeFromJSON(a))}async apiRecipeCreate(t,r){return await(await this.apiRecipeCreateRaw(t,r)).value()}async apiRecipeDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeDestroy().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:i,query:o},r);return new VoidApiResponse(c)}async apiRecipeDestroy(t,r){await this.apiRecipeDestroyRaw(t,r)}async apiRecipeFlatListRaw(t){const r={},o={};this.configuration&&this.configuration.apiKey&&(o.Authorization=await this.configuration.apiKey("Authorization"));const i=await this.request({path:"/api/recipe/flat/",method:"GET",headers:o,query:r},t);return new JSONApiResponse(i,c=>c.map(RecipeFlatFromJSON))}async apiRecipeFlatList(t){return await(await this.apiRecipeFlatListRaw(t)).value()}async apiRecipeFromSourceCreateRaw(t){const r={},o={};this.configuration&&this.configuration.apiKey&&(o.Authorization=await this.configuration.apiKey("Authorization"));const i=await this.request({path:"/api/recipe-from-source/",method:"POST",headers:o,query:r},t);return new VoidApiResponse(i)}async apiRecipeFromSourceCreate(t){await this.apiRecipeFromSourceCreateRaw(t)}async apiRecipeImageUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeImageUpdate().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization")),canConsumeForm([{contentType:"multipart/form-data"}]);let a;a=new URLSearchParams,t.image!=null&&a.append("image",t.image),t.imageUrl!=null&&a.append("image_url",t.imageUrl);const u=await this.request({path:"/api/recipe/{id}/image/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:i,query:o,body:a},r);return new JSONApiResponse(u,d=>RecipeImageFromJSON(d))}async apiRecipeImageUpdate(t,r){return await(await this.apiRecipeImageUpdateRaw(t,r)).value()}async apiRecipeListRaw(t,r){const o={};t.books!=null&&(o.books=t.books),t.booksAnd!=null&&(o.books_and=t.booksAnd),t.booksAndNot!=null&&(o.books_and_not=t.booksAndNot),t.booksOr!=null&&(o.books_or=t.booksOr),t.booksOrNot!=null&&(o.books_or_not=t.booksOrNot),t.cookedon!=null&&(o.cookedon=t.cookedon),t.createdon!=null&&(o.createdon=t.createdon),t.foods!=null&&(o.foods=t.foods),t.foodsAnd!=null&&(o.foods_and=t.foodsAnd),t.foodsAndNot!=null&&(o.foods_and_not=t.foodsAndNot),t.foodsOr!=null&&(o.foods_or=t.foodsOr),t.foodsOrNot!=null&&(o.foods_or_not=t.foodsOrNot),t.internal!=null&&(o.internal=t.internal),t.keywords!=null&&(o.keywords=t.keywords),t.keywordsAnd!=null&&(o.keywords_and=t.keywordsAnd),t.keywordsAndNot!=null&&(o.keywords_and_not=t.keywordsAndNot),t.keywordsOr!=null&&(o.keywords_or=t.keywordsOr),t.keywordsOrNot!=null&&(o.keywords_or_not=t.keywordsOrNot),t.makenow!=null&&(o.makenow=t.makenow),t._new!=null&&(o.new=t._new),t.page!=null&&(o.page=t.page),t.pageSize!=null&&(o.page_size=t.pageSize),t.query!=null&&(o.query=t.query),t.random!=null&&(o.random=t.random),t.rating!=null&&(o.rating=t.rating),t.timescooked!=null&&(o.timescooked=t.timescooked),t.units!=null&&(o.units=t.units),t.updatedon!=null&&(o.updatedon=t.updatedon),t.viewedon!=null&&(o.viewedon=t.viewedon);const i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe/",method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>PaginatedRecipeOverviewListFromJSON(a))}async apiRecipeList(t={},r){return await(await this.apiRecipeListRaw(t,r)).value()}async apiRecipePartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipePartialUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:i,query:o,body:PatchedRecipeToJSON(t.patchedRecipe)},r);return new JSONApiResponse(c,a=>RecipeFromJSON(a))}async apiRecipePartialUpdate(t,r){return await(await this.apiRecipePartialUpdateRaw(t,r)).value()}async apiRecipeRelatedRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeRelatedRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe/{id}/related/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>RecipeSimpleFromJSON(a))}async apiRecipeRelatedRetrieve(t,r){return await(await this.apiRecipeRelatedRetrieveRaw(t,r)).value()}async apiRecipeRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>RecipeFromJSON(a))}async apiRecipeRetrieve(t,r){return await(await this.apiRecipeRetrieveRaw(t,r)).value()}async apiRecipeShoppingUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeShoppingUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe/{id}/shopping/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:i,query:o,body:RecipeShoppingUpdateToJSON(t.recipeShoppingUpdate)},r);return new JSONApiResponse(c,a=>RecipeShoppingUpdateFromJSON(a))}async apiRecipeShoppingUpdate(t,r){return await(await this.apiRecipeShoppingUpdateRaw(t,r)).value()}async apiRecipeUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeUpdate().');if(t.recipe==null)throw new RequiredError("recipe",'Required parameter "recipe" was null or undefined when calling apiRecipeUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:i,query:o,body:RecipeToJSON(t.recipe)},r);return new JSONApiResponse(c,a=>RecipeFromJSON(a))}async apiRecipeUpdate(t,r){return await(await this.apiRecipeUpdateRaw(t,r)).value()}async apiResetFoodInheritanceRetrieveRaw(t){const r={},o={};this.configuration&&this.configuration.apiKey&&(o.Authorization=await this.configuration.apiKey("Authorization"));const i=await this.request({path:"/api/reset-food-inheritance/",method:"GET",headers:o,query:r},t);return new VoidApiResponse(i)}async apiResetFoodInheritanceRetrieve(t){await this.apiResetFoodInheritanceRetrieveRaw(t)}async apiShareLinkRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiShareLinkRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/share-link/{id}".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:i,query:o},r);return new VoidApiResponse(c)}async apiShareLinkRetrieve(t,r){await this.apiShareLinkRetrieveRaw(t,r)}async apiShoppingListEntryBulkCreateRaw(t,r){if(t.shoppingListEntryBulk==null)throw new RequiredError("shoppingListEntryBulk",'Required parameter "shoppingListEntryBulk" was null or undefined when calling apiShoppingListEntryBulkCreate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/shopping-list-entry/bulk/",method:"POST",headers:i,query:o,body:ShoppingListEntryBulkToJSON(t.shoppingListEntryBulk)},r);return new JSONApiResponse(c,a=>ShoppingListEntryBulkFromJSON(a))}async apiShoppingListEntryBulkCreate(t,r){return await(await this.apiShoppingListEntryBulkCreateRaw(t,r)).value()}async apiShoppingListEntryCreateRaw(t,r){if(t.shoppingListEntry==null)throw new RequiredError("shoppingListEntry",'Required parameter "shoppingListEntry" was null or undefined when calling apiShoppingListEntryCreate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/shopping-list-entry/",method:"POST",headers:i,query:o,body:ShoppingListEntryToJSON(t.shoppingListEntry)},r);return new JSONApiResponse(c,a=>ShoppingListEntryFromJSON(a))}async apiShoppingListEntryCreate(t,r){return await(await this.apiShoppingListEntryCreateRaw(t,r)).value()}async apiShoppingListEntryDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiShoppingListEntryDestroy().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/shopping-list-entry/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:i,query:o},r);return new VoidApiResponse(c)}async apiShoppingListEntryDestroy(t,r){await this.apiShoppingListEntryDestroyRaw(t,r)}async apiShoppingListEntryListRaw(t,r){const o={};t.checked!=null&&(o.checked=t.checked),t.id!=null&&(o.id=t.id),t.supermarket!=null&&(o.supermarket=t.supermarket);const i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/shopping-list-entry/",method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>a.map(ShoppingListEntryFromJSON))}async apiShoppingListEntryList(t={},r){return await(await this.apiShoppingListEntryListRaw(t,r)).value()}async apiShoppingListEntryPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiShoppingListEntryPartialUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/shopping-list-entry/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:i,query:o,body:PatchedShoppingListEntryToJSON(t.patchedShoppingListEntry)},r);return new JSONApiResponse(c,a=>ShoppingListEntryFromJSON(a))}async apiShoppingListEntryPartialUpdate(t,r){return await(await this.apiShoppingListEntryPartialUpdateRaw(t,r)).value()}async apiShoppingListEntryRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiShoppingListEntryRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/shopping-list-entry/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>ShoppingListEntryFromJSON(a))}async apiShoppingListEntryRetrieve(t,r){return await(await this.apiShoppingListEntryRetrieveRaw(t,r)).value()}async apiShoppingListEntryUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiShoppingListEntryUpdate().');if(t.shoppingListEntry==null)throw new RequiredError("shoppingListEntry",'Required parameter "shoppingListEntry" was null or undefined when calling apiShoppingListEntryUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/shopping-list-entry/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:i,query:o,body:ShoppingListEntryToJSON(t.shoppingListEntry)},r);return new JSONApiResponse(c,a=>ShoppingListEntryFromJSON(a))}async apiShoppingListEntryUpdate(t,r){return await(await this.apiShoppingListEntryUpdateRaw(t,r)).value()}async apiShoppingListRecipeCreateRaw(t,r){if(t.shoppingListRecipe==null)throw new RequiredError("shoppingListRecipe",'Required parameter "shoppingListRecipe" was null or undefined when calling apiShoppingListRecipeCreate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/shopping-list-recipe/",method:"POST",headers:i,query:o,body:ShoppingListRecipeToJSON(t.shoppingListRecipe)},r);return new JSONApiResponse(c,a=>ShoppingListRecipeFromJSON(a))}async apiShoppingListRecipeCreate(t,r){return await(await this.apiShoppingListRecipeCreateRaw(t,r)).value()}async apiShoppingListRecipeDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiShoppingListRecipeDestroy().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/shopping-list-recipe/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:i,query:o},r);return new VoidApiResponse(c)}async apiShoppingListRecipeDestroy(t,r){await this.apiShoppingListRecipeDestroyRaw(t,r)}async apiShoppingListRecipeListRaw(t){const r={},o={};this.configuration&&this.configuration.apiKey&&(o.Authorization=await this.configuration.apiKey("Authorization"));const i=await this.request({path:"/api/shopping-list-recipe/",method:"GET",headers:o,query:r},t);return new JSONApiResponse(i,c=>c.map(ShoppingListRecipeFromJSON))}async apiShoppingListRecipeList(t){return await(await this.apiShoppingListRecipeListRaw(t)).value()}async apiShoppingListRecipePartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiShoppingListRecipePartialUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/shopping-list-recipe/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:i,query:o,body:PatchedShoppingListRecipeToJSON(t.patchedShoppingListRecipe)},r);return new JSONApiResponse(c,a=>ShoppingListRecipeFromJSON(a))}async apiShoppingListRecipePartialUpdate(t,r){return await(await this.apiShoppingListRecipePartialUpdateRaw(t,r)).value()}async apiShoppingListRecipeRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiShoppingListRecipeRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/shopping-list-recipe/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>ShoppingListRecipeFromJSON(a))}async apiShoppingListRecipeRetrieve(t,r){return await(await this.apiShoppingListRecipeRetrieveRaw(t,r)).value()}async apiShoppingListRecipeUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiShoppingListRecipeUpdate().');if(t.shoppingListRecipe==null)throw new RequiredError("shoppingListRecipe",'Required parameter "shoppingListRecipe" was null or undefined when calling apiShoppingListRecipeUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/shopping-list-recipe/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:i,query:o,body:ShoppingListRecipeToJSON(t.shoppingListRecipe)},r);return new JSONApiResponse(c,a=>ShoppingListRecipeFromJSON(a))}async apiShoppingListRecipeUpdate(t,r){return await(await this.apiShoppingListRecipeUpdateRaw(t,r)).value()}async apiSpaceListRaw(t){const r={},o={};this.configuration&&this.configuration.apiKey&&(o.Authorization=await this.configuration.apiKey("Authorization"));const i=await this.request({path:"/api/space/",method:"GET",headers:o,query:r},t);return new JSONApiResponse(i,c=>c.map(SpaceFromJSON))}async apiSpaceList(t){return await(await this.apiSpaceListRaw(t)).value()}async apiSpacePartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSpacePartialUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/space/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:i,query:o,body:PatchedSpaceToJSON(t.patchedSpace)},r);return new JSONApiResponse(c,a=>SpaceFromJSON(a))}async apiSpacePartialUpdate(t,r){return await(await this.apiSpacePartialUpdateRaw(t,r)).value()}async apiSpaceRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSpaceRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/space/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>SpaceFromJSON(a))}async apiSpaceRetrieve(t,r){return await(await this.apiSpaceRetrieveRaw(t,r)).value()}async apiStepCreateRaw(t,r){if(t.step==null)throw new RequiredError("step",'Required parameter "step" was null or undefined when calling apiStepCreate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/step/",method:"POST",headers:i,query:o,body:StepToJSON(t.step)},r);return new JSONApiResponse(c,a=>StepFromJSON(a))}async apiStepCreate(t,r){return await(await this.apiStepCreateRaw(t,r)).value()}async apiStepDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiStepDestroy().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/step/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:i,query:o},r);return new VoidApiResponse(c)}async apiStepDestroy(t,r){await this.apiStepDestroyRaw(t,r)}async apiStepListRaw(t,r){const o={};t.page!=null&&(o.page=t.page),t.pageSize!=null&&(o.page_size=t.pageSize),t.query!=null&&(o.query=t.query),t.recipe!=null&&(o.recipe=t.recipe);const i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/step/",method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>PaginatedStepListFromJSON(a))}async apiStepList(t={},r){return await(await this.apiStepListRaw(t,r)).value()}async apiStepPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiStepPartialUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/step/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:i,query:o,body:PatchedStepToJSON(t.patchedStep)},r);return new JSONApiResponse(c,a=>StepFromJSON(a))}async apiStepPartialUpdate(t,r){return await(await this.apiStepPartialUpdateRaw(t,r)).value()}async apiStepRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiStepRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/step/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>StepFromJSON(a))}async apiStepRetrieve(t,r){return await(await this.apiStepRetrieveRaw(t,r)).value()}async apiStepUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiStepUpdate().');if(t.step==null)throw new RequiredError("step",'Required parameter "step" was null or undefined when calling apiStepUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/step/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:i,query:o,body:StepToJSON(t.step)},r);return new JSONApiResponse(c,a=>StepFromJSON(a))}async apiStepUpdate(t,r){return await(await this.apiStepUpdateRaw(t,r)).value()}async apiStorageCreateRaw(t,r){if(t.storage==null)throw new RequiredError("storage",'Required parameter "storage" was null or undefined when calling apiStorageCreate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/storage/",method:"POST",headers:i,query:o,body:StorageToJSON(t.storage)},r);return new JSONApiResponse(c,a=>StorageFromJSON(a))}async apiStorageCreate(t,r){return await(await this.apiStorageCreateRaw(t,r)).value()}async apiStorageDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiStorageDestroy().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/storage/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:i,query:o},r);return new VoidApiResponse(c)}async apiStorageDestroy(t,r){await this.apiStorageDestroyRaw(t,r)}async apiStorageListRaw(t){const r={},o={};this.configuration&&this.configuration.apiKey&&(o.Authorization=await this.configuration.apiKey("Authorization"));const i=await this.request({path:"/api/storage/",method:"GET",headers:o,query:r},t);return new JSONApiResponse(i,c=>c.map(StorageFromJSON))}async apiStorageList(t){return await(await this.apiStorageListRaw(t)).value()}async apiStoragePartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiStoragePartialUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/storage/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:i,query:o,body:PatchedStorageToJSON(t.patchedStorage)},r);return new JSONApiResponse(c,a=>StorageFromJSON(a))}async apiStoragePartialUpdate(t,r){return await(await this.apiStoragePartialUpdateRaw(t,r)).value()}async apiStorageRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiStorageRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/storage/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>StorageFromJSON(a))}async apiStorageRetrieve(t,r){return await(await this.apiStorageRetrieveRaw(t,r)).value()}async apiStorageUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiStorageUpdate().');if(t.storage==null)throw new RequiredError("storage",'Required parameter "storage" was null or undefined when calling apiStorageUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/storage/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:i,query:o,body:StorageToJSON(t.storage)},r);return new JSONApiResponse(c,a=>StorageFromJSON(a))}async apiStorageUpdate(t,r){return await(await this.apiStorageUpdateRaw(t,r)).value()}async apiSupermarketCategoryCreateRaw(t,r){if(t.supermarketCategory==null)throw new RequiredError("supermarketCategory",'Required parameter "supermarketCategory" was null or undefined when calling apiSupermarketCategoryCreate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/supermarket-category/",method:"POST",headers:i,query:o,body:SupermarketCategoryToJSON(t.supermarketCategory)},r);return new JSONApiResponse(c,a=>SupermarketCategoryFromJSON(a))}async apiSupermarketCategoryCreate(t,r){return await(await this.apiSupermarketCategoryCreateRaw(t,r)).value()}async apiSupermarketCategoryDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSupermarketCategoryDestroy().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/supermarket-category/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:i,query:o},r);return new VoidApiResponse(c)}async apiSupermarketCategoryDestroy(t,r){await this.apiSupermarketCategoryDestroyRaw(t,r)}async apiSupermarketCategoryListRaw(t,r){const o={};t.limit!=null&&(o.limit=t.limit),t.query!=null&&(o.query=t.query),t.random!=null&&(o.random=t.random),t.updatedAt!=null&&(o.updated_at=t.updatedAt);const i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/supermarket-category/",method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>a.map(SupermarketCategoryFromJSON))}async apiSupermarketCategoryList(t={},r){return await(await this.apiSupermarketCategoryListRaw(t,r)).value()}async apiSupermarketCategoryMergeUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSupermarketCategoryMergeUpdate().');if(t.target==null)throw new RequiredError("target",'Required parameter "target" was null or undefined when calling apiSupermarketCategoryMergeUpdate().');if(t.supermarketCategory==null)throw new RequiredError("supermarketCategory",'Required parameter "supermarketCategory" was null or undefined when calling apiSupermarketCategoryMergeUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/supermarket-category/{id}/merge/{target}/".replace("{id}",encodeURIComponent(String(t.id))).replace("{target}",encodeURIComponent(String(t.target))),method:"PUT",headers:i,query:o,body:SupermarketCategoryToJSON(t.supermarketCategory)},r);return new JSONApiResponse(c,a=>SupermarketCategoryFromJSON(a))}async apiSupermarketCategoryMergeUpdate(t,r){return await(await this.apiSupermarketCategoryMergeUpdateRaw(t,r)).value()}async apiSupermarketCategoryPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSupermarketCategoryPartialUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/supermarket-category/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:i,query:o,body:PatchedSupermarketCategoryToJSON(t.patchedSupermarketCategory)},r);return new JSONApiResponse(c,a=>SupermarketCategoryFromJSON(a))}async apiSupermarketCategoryPartialUpdate(t,r){return await(await this.apiSupermarketCategoryPartialUpdateRaw(t,r)).value()}async apiSupermarketCategoryRelationCreateRaw(t,r){if(t.supermarketCategoryRelation==null)throw new RequiredError("supermarketCategoryRelation",'Required parameter "supermarketCategoryRelation" was null or undefined when calling apiSupermarketCategoryRelationCreate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/supermarket-category-relation/",method:"POST",headers:i,query:o,body:SupermarketCategoryRelationToJSON(t.supermarketCategoryRelation)},r);return new JSONApiResponse(c,a=>SupermarketCategoryRelationFromJSON(a))}async apiSupermarketCategoryRelationCreate(t,r){return await(await this.apiSupermarketCategoryRelationCreateRaw(t,r)).value()}async apiSupermarketCategoryRelationDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSupermarketCategoryRelationDestroy().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/supermarket-category-relation/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:i,query:o},r);return new VoidApiResponse(c)}async apiSupermarketCategoryRelationDestroy(t,r){await this.apiSupermarketCategoryRelationDestroyRaw(t,r)}async apiSupermarketCategoryRelationListRaw(t,r){const o={};t.limit!=null&&(o.limit=t.limit),t.page!=null&&(o.page=t.page),t.pageSize!=null&&(o.page_size=t.pageSize),t.query!=null&&(o.query=t.query),t.random!=null&&(o.random=t.random),t.updatedAt!=null&&(o.updated_at=t.updatedAt);const i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/supermarket-category-relation/",method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>PaginatedSupermarketCategoryRelationListFromJSON(a))}async apiSupermarketCategoryRelationList(t={},r){return await(await this.apiSupermarketCategoryRelationListRaw(t,r)).value()}async apiSupermarketCategoryRelationPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSupermarketCategoryRelationPartialUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/supermarket-category-relation/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:i,query:o,body:PatchedSupermarketCategoryRelationToJSON(t.patchedSupermarketCategoryRelation)},r);return new JSONApiResponse(c,a=>SupermarketCategoryRelationFromJSON(a))}async apiSupermarketCategoryRelationPartialUpdate(t,r){return await(await this.apiSupermarketCategoryRelationPartialUpdateRaw(t,r)).value()}async apiSupermarketCategoryRelationRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSupermarketCategoryRelationRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/supermarket-category-relation/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>SupermarketCategoryRelationFromJSON(a))}async apiSupermarketCategoryRelationRetrieve(t,r){return await(await this.apiSupermarketCategoryRelationRetrieveRaw(t,r)).value()}async apiSupermarketCategoryRelationUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSupermarketCategoryRelationUpdate().');if(t.supermarketCategoryRelation==null)throw new RequiredError("supermarketCategoryRelation",'Required parameter "supermarketCategoryRelation" was null or undefined when calling apiSupermarketCategoryRelationUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/supermarket-category-relation/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:i,query:o,body:SupermarketCategoryRelationToJSON(t.supermarketCategoryRelation)},r);return new JSONApiResponse(c,a=>SupermarketCategoryRelationFromJSON(a))}async apiSupermarketCategoryRelationUpdate(t,r){return await(await this.apiSupermarketCategoryRelationUpdateRaw(t,r)).value()}async apiSupermarketCategoryRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSupermarketCategoryRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/supermarket-category/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>SupermarketCategoryFromJSON(a))}async apiSupermarketCategoryRetrieve(t,r){return await(await this.apiSupermarketCategoryRetrieveRaw(t,r)).value()}async apiSupermarketCategoryUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSupermarketCategoryUpdate().');if(t.supermarketCategory==null)throw new RequiredError("supermarketCategory",'Required parameter "supermarketCategory" was null or undefined when calling apiSupermarketCategoryUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/supermarket-category/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:i,query:o,body:SupermarketCategoryToJSON(t.supermarketCategory)},r);return new JSONApiResponse(c,a=>SupermarketCategoryFromJSON(a))}async apiSupermarketCategoryUpdate(t,r){return await(await this.apiSupermarketCategoryUpdateRaw(t,r)).value()}async apiSupermarketCreateRaw(t,r){if(t.supermarket==null)throw new RequiredError("supermarket",'Required parameter "supermarket" was null or undefined when calling apiSupermarketCreate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/supermarket/",method:"POST",headers:i,query:o,body:SupermarketToJSON(t.supermarket)},r);return new JSONApiResponse(c,a=>SupermarketFromJSON(a))}async apiSupermarketCreate(t,r){return await(await this.apiSupermarketCreateRaw(t,r)).value()}async apiSupermarketDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSupermarketDestroy().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/supermarket/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:i,query:o},r);return new VoidApiResponse(c)}async apiSupermarketDestroy(t,r){await this.apiSupermarketDestroyRaw(t,r)}async apiSupermarketListRaw(t,r){const o={};t.limit!=null&&(o.limit=t.limit),t.query!=null&&(o.query=t.query),t.random!=null&&(o.random=t.random),t.updatedAt!=null&&(o.updated_at=t.updatedAt);const i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/supermarket/",method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>a.map(SupermarketFromJSON))}async apiSupermarketList(t={},r){return await(await this.apiSupermarketListRaw(t,r)).value()}async apiSupermarketPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSupermarketPartialUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/supermarket/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:i,query:o,body:PatchedSupermarketToJSON(t.patchedSupermarket)},r);return new JSONApiResponse(c,a=>SupermarketFromJSON(a))}async apiSupermarketPartialUpdate(t,r){return await(await this.apiSupermarketPartialUpdateRaw(t,r)).value()}async apiSupermarketRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSupermarketRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/supermarket/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>SupermarketFromJSON(a))}async apiSupermarketRetrieve(t,r){return await(await this.apiSupermarketRetrieveRaw(t,r)).value()}async apiSupermarketUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSupermarketUpdate().');if(t.supermarket==null)throw new RequiredError("supermarket",'Required parameter "supermarket" was null or undefined when calling apiSupermarketUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/supermarket/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:i,query:o,body:SupermarketToJSON(t.supermarket)},r);return new JSONApiResponse(c,a=>SupermarketFromJSON(a))}async apiSupermarketUpdate(t,r){return await(await this.apiSupermarketUpdateRaw(t,r)).value()}async apiSwitchActiveSpaceRetrieveRaw(t,r){if(t.spaceId==null)throw new RequiredError("spaceId",'Required parameter "spaceId" was null or undefined when calling apiSwitchActiveSpaceRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/switch-active-space/{spaceId}/".replace("{spaceId}",encodeURIComponent(String(t.spaceId))),method:"GET",headers:i,query:o},r);return new VoidApiResponse(c)}async apiSwitchActiveSpaceRetrieve(t,r){await this.apiSwitchActiveSpaceRetrieveRaw(t,r)}async apiSyncCreateRaw(t,r){if(t.sync==null)throw new RequiredError("sync",'Required parameter "sync" was null or undefined when calling apiSyncCreate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/sync/",method:"POST",headers:i,query:o,body:SyncToJSON(t.sync)},r);return new JSONApiResponse(c,a=>SyncFromJSON(a))}async apiSyncCreate(t,r){return await(await this.apiSyncCreateRaw(t,r)).value()}async apiSyncDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSyncDestroy().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/sync/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:i,query:o},r);return new VoidApiResponse(c)}async apiSyncDestroy(t,r){await this.apiSyncDestroyRaw(t,r)}async apiSyncListRaw(t){const r={},o={};this.configuration&&this.configuration.apiKey&&(o.Authorization=await this.configuration.apiKey("Authorization"));const i=await this.request({path:"/api/sync/",method:"GET",headers:o,query:r},t);return new JSONApiResponse(i,c=>c.map(SyncFromJSON))}async apiSyncList(t){return await(await this.apiSyncListRaw(t)).value()}async apiSyncLogListRaw(t,r){const o={};t.page!=null&&(o.page=t.page),t.pageSize!=null&&(o.page_size=t.pageSize);const i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/sync-log/",method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>PaginatedSyncLogListFromJSON(a))}async apiSyncLogList(t={},r){return await(await this.apiSyncLogListRaw(t,r)).value()}async apiSyncLogRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSyncLogRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/sync-log/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>SyncLogFromJSON(a))}async apiSyncLogRetrieve(t,r){return await(await this.apiSyncLogRetrieveRaw(t,r)).value()}async apiSyncPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSyncPartialUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/sync/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:i,query:o,body:PatchedSyncToJSON(t.patchedSync)},r);return new JSONApiResponse(c,a=>SyncFromJSON(a))}async apiSyncPartialUpdate(t,r){return await(await this.apiSyncPartialUpdateRaw(t,r)).value()}async apiSyncRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSyncRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/sync/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>SyncFromJSON(a))}async apiSyncRetrieve(t,r){return await(await this.apiSyncRetrieveRaw(t,r)).value()}async apiSyncUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSyncUpdate().');if(t.sync==null)throw new RequiredError("sync",'Required parameter "sync" was null or undefined when calling apiSyncUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/sync/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:i,query:o,body:SyncToJSON(t.sync)},r);return new JSONApiResponse(c,a=>SyncFromJSON(a))}async apiSyncUpdate(t,r){return await(await this.apiSyncUpdateRaw(t,r)).value()}async apiUnitConversionCreateRaw(t,r){if(t.unitConversion==null)throw new RequiredError("unitConversion",'Required parameter "unitConversion" was null or undefined when calling apiUnitConversionCreate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/unit-conversion/",method:"POST",headers:i,query:o,body:UnitConversionToJSON(t.unitConversion)},r);return new JSONApiResponse(c,a=>UnitConversionFromJSON(a))}async apiUnitConversionCreate(t,r){return await(await this.apiUnitConversionCreateRaw(t,r)).value()}async apiUnitConversionDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUnitConversionDestroy().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/unit-conversion/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:i,query:o},r);return new VoidApiResponse(c)}async apiUnitConversionDestroy(t,r){await this.apiUnitConversionDestroyRaw(t,r)}async apiUnitConversionListRaw(t,r){const o={};t.foodId!=null&&(o.food_id=t.foodId);const i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/unit-conversion/",method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>a.map(UnitConversionFromJSON))}async apiUnitConversionList(t={},r){return await(await this.apiUnitConversionListRaw(t,r)).value()}async apiUnitConversionPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUnitConversionPartialUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/unit-conversion/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:i,query:o,body:PatchedUnitConversionToJSON(t.patchedUnitConversion)},r);return new JSONApiResponse(c,a=>UnitConversionFromJSON(a))}async apiUnitConversionPartialUpdate(t,r){return await(await this.apiUnitConversionPartialUpdateRaw(t,r)).value()}async apiUnitConversionRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUnitConversionRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/unit-conversion/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>UnitConversionFromJSON(a))}async apiUnitConversionRetrieve(t,r){return await(await this.apiUnitConversionRetrieveRaw(t,r)).value()}async apiUnitConversionUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUnitConversionUpdate().');if(t.unitConversion==null)throw new RequiredError("unitConversion",'Required parameter "unitConversion" was null or undefined when calling apiUnitConversionUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/unit-conversion/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:i,query:o,body:UnitConversionToJSON(t.unitConversion)},r);return new JSONApiResponse(c,a=>UnitConversionFromJSON(a))}async apiUnitConversionUpdate(t,r){return await(await this.apiUnitConversionUpdateRaw(t,r)).value()}async apiUnitCreateRaw(t,r){if(t.unit==null)throw new RequiredError("unit",'Required parameter "unit" was null or undefined when calling apiUnitCreate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/unit/",method:"POST",headers:i,query:o,body:UnitToJSON(t.unit)},r);return new JSONApiResponse(c,a=>UnitFromJSON(a))}async apiUnitCreate(t,r){return await(await this.apiUnitCreateRaw(t,r)).value()}async apiUnitDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUnitDestroy().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/unit/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:i,query:o},r);return new VoidApiResponse(c)}async apiUnitDestroy(t,r){await this.apiUnitDestroyRaw(t,r)}async apiUnitListRaw(t,r){const o={};t.limit!=null&&(o.limit=t.limit),t.page!=null&&(o.page=t.page),t.pageSize!=null&&(o.page_size=t.pageSize),t.query!=null&&(o.query=t.query),t.random!=null&&(o.random=t.random),t.updatedAt!=null&&(o.updated_at=t.updatedAt);const i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/unit/",method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>PaginatedUnitListFromJSON(a))}async apiUnitList(t={},r){return await(await this.apiUnitListRaw(t,r)).value()}async apiUnitMergeUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUnitMergeUpdate().');if(t.target==null)throw new RequiredError("target",'Required parameter "target" was null or undefined when calling apiUnitMergeUpdate().');if(t.unit==null)throw new RequiredError("unit",'Required parameter "unit" was null or undefined when calling apiUnitMergeUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/unit/{id}/merge/{target}/".replace("{id}",encodeURIComponent(String(t.id))).replace("{target}",encodeURIComponent(String(t.target))),method:"PUT",headers:i,query:o,body:UnitToJSON(t.unit)},r);return new JSONApiResponse(c,a=>UnitFromJSON(a))}async apiUnitMergeUpdate(t,r){return await(await this.apiUnitMergeUpdateRaw(t,r)).value()}async apiUnitPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUnitPartialUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/unit/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:i,query:o,body:PatchedUnitToJSON(t.patchedUnit)},r);return new JSONApiResponse(c,a=>UnitFromJSON(a))}async apiUnitPartialUpdate(t,r){return await(await this.apiUnitPartialUpdateRaw(t,r)).value()}async apiUnitRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUnitRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/unit/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>UnitFromJSON(a))}async apiUnitRetrieve(t,r){return await(await this.apiUnitRetrieveRaw(t,r)).value()}async apiUnitUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUnitUpdate().');if(t.unit==null)throw new RequiredError("unit",'Required parameter "unit" was null or undefined when calling apiUnitUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/unit/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:i,query:o,body:UnitToJSON(t.unit)},r);return new JSONApiResponse(c,a=>UnitFromJSON(a))}async apiUnitUpdate(t,r){return await(await this.apiUnitUpdateRaw(t,r)).value()}async apiUserFileCreateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUserFileCreate().');if(t.name==null)throw new RequiredError("name",'Required parameter "name" was null or undefined when calling apiUserFileCreate().');if(t.file==null)throw new RequiredError("file",'Required parameter "file" was null or undefined when calling apiUserFileCreate().');if(t.fileDownload==null)throw new RequiredError("fileDownload",'Required parameter "fileDownload" was null or undefined when calling apiUserFileCreate().');if(t.preview==null)throw new RequiredError("preview",'Required parameter "preview" was null or undefined when calling apiUserFileCreate().');if(t.fileSizeKb==null)throw new RequiredError("fileSizeKb",'Required parameter "fileSizeKb" was null or undefined when calling apiUserFileCreate().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization")),canConsumeForm([{contentType:"multipart/form-data"}]);let a;a=new URLSearchParams,t.id!=null&&a.append("id",t.id),t.name!=null&&a.append("name",t.name),t.file!=null&&a.append("file",t.file),t.fileDownload!=null&&a.append("file_download",t.fileDownload),t.preview!=null&&a.append("preview",t.preview),t.fileSizeKb!=null&&a.append("file_size_kb",t.fileSizeKb);const u=await this.request({path:"/api/user-file/",method:"POST",headers:i,query:o,body:a},r);return new JSONApiResponse(u,d=>UserFileFromJSON(d))}async apiUserFileCreate(t,r){return await(await this.apiUserFileCreateRaw(t,r)).value()}async apiUserFileDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUserFileDestroy().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/user-file/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:i,query:o},r);return new VoidApiResponse(c)}async apiUserFileDestroy(t,r){await this.apiUserFileDestroyRaw(t,r)}async apiUserFileListRaw(t,r){const o={};t.limit!=null&&(o.limit=t.limit),t.query!=null&&(o.query=t.query),t.random!=null&&(o.random=t.random),t.updatedAt!=null&&(o.updated_at=t.updatedAt);const i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/user-file/",method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>a.map(UserFileFromJSON))}async apiUserFileList(t={},r){return await(await this.apiUserFileListRaw(t,r)).value()}async apiUserFilePartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUserFilePartialUpdate().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization")),canConsumeForm([{contentType:"multipart/form-data"}]);let a;a=new URLSearchParams,t.id2!=null&&a.append("id",t.id2),t.name!=null&&a.append("name",t.name),t.file!=null&&a.append("file",t.file),t.fileDownload!=null&&a.append("file_download",t.fileDownload),t.preview!=null&&a.append("preview",t.preview),t.fileSizeKb!=null&&a.append("file_size_kb",t.fileSizeKb);const u=await this.request({path:"/api/user-file/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:i,query:o,body:a},r);return new JSONApiResponse(u,d=>UserFileFromJSON(d))}async apiUserFilePartialUpdate(t,r){return await(await this.apiUserFilePartialUpdateRaw(t,r)).value()}async apiUserFileRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUserFileRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/user-file/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>UserFileFromJSON(a))}async apiUserFileRetrieve(t,r){return await(await this.apiUserFileRetrieveRaw(t,r)).value()}async apiUserFileUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUserFileUpdate().');if(t.id2==null)throw new RequiredError("id2",'Required parameter "id2" was null or undefined when calling apiUserFileUpdate().');if(t.name==null)throw new RequiredError("name",'Required parameter "name" was null or undefined when calling apiUserFileUpdate().');if(t.file==null)throw new RequiredError("file",'Required parameter "file" was null or undefined when calling apiUserFileUpdate().');if(t.fileDownload==null)throw new RequiredError("fileDownload",'Required parameter "fileDownload" was null or undefined when calling apiUserFileUpdate().');if(t.preview==null)throw new RequiredError("preview",'Required parameter "preview" was null or undefined when calling apiUserFileUpdate().');if(t.fileSizeKb==null)throw new RequiredError("fileSizeKb",'Required parameter "fileSizeKb" was null or undefined when calling apiUserFileUpdate().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization")),canConsumeForm([{contentType:"multipart/form-data"}]);let a;a=new URLSearchParams,t.id2!=null&&a.append("id",t.id2),t.name!=null&&a.append("name",t.name),t.file!=null&&a.append("file",t.file),t.fileDownload!=null&&a.append("file_download",t.fileDownload),t.preview!=null&&a.append("preview",t.preview),t.fileSizeKb!=null&&a.append("file_size_kb",t.fileSizeKb);const u=await this.request({path:"/api/user-file/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:i,query:o,body:a},r);return new JSONApiResponse(u,d=>UserFileFromJSON(d))}async apiUserFileUpdate(t,r){return await(await this.apiUserFileUpdateRaw(t,r)).value()}async apiUserListRaw(t){const r={},o={};this.configuration&&this.configuration.apiKey&&(o.Authorization=await this.configuration.apiKey("Authorization"));const i=await this.request({path:"/api/user/",method:"GET",headers:o,query:r},t);return new JSONApiResponse(i,c=>c.map(UserFromJSON))}async apiUserList(t){return await(await this.apiUserListRaw(t)).value()}async apiUserPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUserPartialUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/user/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:i,query:o,body:PatchedUserToJSON(t.patchedUser)},r);return new JSONApiResponse(c,a=>UserFromJSON(a))}async apiUserPartialUpdate(t,r){return await(await this.apiUserPartialUpdateRaw(t,r)).value()}async apiUserPreferenceListRaw(t){const r={},o={};this.configuration&&this.configuration.apiKey&&(o.Authorization=await this.configuration.apiKey("Authorization"));const i=await this.request({path:"/api/user-preference/",method:"GET",headers:o,query:r},t);return new JSONApiResponse(i,c=>c.map(UserPreferenceFromJSON))}async apiUserPreferenceList(t){return await(await this.apiUserPreferenceListRaw(t)).value()}async apiUserPreferencePartialUpdateRaw(t,r){if(t.user==null)throw new RequiredError("user",'Required parameter "user" was null or undefined when calling apiUserPreferencePartialUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/user-preference/{user}/".replace("{user}",encodeURIComponent(String(t.user))),method:"PATCH",headers:i,query:o,body:PatchedUserPreferenceToJSON(t.patchedUserPreference)},r);return new JSONApiResponse(c,a=>UserPreferenceFromJSON(a))}async apiUserPreferencePartialUpdate(t,r){return await(await this.apiUserPreferencePartialUpdateRaw(t,r)).value()}async apiUserPreferenceRetrieveRaw(t,r){if(t.user==null)throw new RequiredError("user",'Required parameter "user" was null or undefined when calling apiUserPreferenceRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/user-preference/{user}/".replace("{user}",encodeURIComponent(String(t.user))),method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>UserPreferenceFromJSON(a))}async apiUserPreferenceRetrieve(t,r){return await(await this.apiUserPreferenceRetrieveRaw(t,r)).value()}async apiUserRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUserRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/user/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>UserFromJSON(a))}async apiUserRetrieve(t,r){return await(await this.apiUserRetrieveRaw(t,r)).value()}async apiUserSpaceDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUserSpaceDestroy().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/user-space/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:i,query:o},r);return new VoidApiResponse(c)}async apiUserSpaceDestroy(t,r){await this.apiUserSpaceDestroyRaw(t,r)}async apiUserSpaceListRaw(t,r){const o={};t.page!=null&&(o.page=t.page),t.pageSize!=null&&(o.page_size=t.pageSize);const i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/user-space/",method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>PaginatedUserSpaceListFromJSON(a))}async apiUserSpaceList(t={},r){return await(await this.apiUserSpaceListRaw(t,r)).value()}async apiUserSpacePartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUserSpacePartialUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/user-space/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:i,query:o,body:PatchedUserSpaceToJSON(t.patchedUserSpace)},r);return new JSONApiResponse(c,a=>UserSpaceFromJSON(a))}async apiUserSpacePartialUpdate(t,r){return await(await this.apiUserSpacePartialUpdateRaw(t,r)).value()}async apiUserSpaceRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUserSpaceRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/user-space/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>UserSpaceFromJSON(a))}async apiUserSpaceRetrieve(t,r){return await(await this.apiUserSpaceRetrieveRaw(t,r)).value()}async apiViewLogCreateRaw(t,r){if(t.viewLog==null)throw new RequiredError("viewLog",'Required parameter "viewLog" was null or undefined when calling apiViewLogCreate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/view-log/",method:"POST",headers:i,query:o,body:ViewLogToJSON(t.viewLog)},r);return new JSONApiResponse(c,a=>ViewLogFromJSON(a))}async apiViewLogCreate(t,r){return await(await this.apiViewLogCreateRaw(t,r)).value()}async apiViewLogDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiViewLogDestroy().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/view-log/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:i,query:o},r);return new VoidApiResponse(c)}async apiViewLogDestroy(t,r){await this.apiViewLogDestroyRaw(t,r)}async apiViewLogListRaw(t,r){const o={};t.page!=null&&(o.page=t.page),t.pageSize!=null&&(o.page_size=t.pageSize);const i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/view-log/",method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>PaginatedViewLogListFromJSON(a))}async apiViewLogList(t={},r){return await(await this.apiViewLogListRaw(t,r)).value()}async apiViewLogPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiViewLogPartialUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/view-log/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:i,query:o,body:PatchedViewLogToJSON(t.patchedViewLog)},r);return new JSONApiResponse(c,a=>ViewLogFromJSON(a))}async apiViewLogPartialUpdate(t,r){return await(await this.apiViewLogPartialUpdateRaw(t,r)).value()}async apiViewLogRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiViewLogRetrieve().');const o={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/view-log/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:i,query:o},r);return new JSONApiResponse(c,a=>ViewLogFromJSON(a))}async apiViewLogRetrieve(t,r){return await(await this.apiViewLogRetrieveRaw(t,r)).value()}async apiViewLogUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiViewLogUpdate().');if(t.viewLog==null)throw new RequiredError("viewLog",'Required parameter "viewLog" was null or undefined when calling apiViewLogUpdate().');const o={},i={};i["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/view-log/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:i,query:o,body:ViewLogToJSON(t.viewLog)},r);return new JSONApiResponse(c,a=>ViewLogFromJSON(a))}async apiViewLogUpdate(t,r){return await(await this.apiViewLogUpdateRaw(t,r)).value()}}const _sfc_main$n=defineComponent$1({name:"GlobalSearchDialog",props:{},watch:{dialog:function(e){this.search_query="",setTimeout(()=>{if(e){let t=document.getElementById("id_global_search_input");t!=null&&t.focus()}},20)},search_query:function(e){this.selected_result>=this.search_results.length&&(this.selected_result=this.search_results.length-1)}},data(){return{dialog:!1,recipes:[],flat_recipes:[],search_query:null,selected_result:0}},computed:{search_results:function(){let e=[];return this.search_query!=""&&this.search_query!=null?(e.push({name:this.search_query,icon:"fas fa-search",suffix:"Advanced Search"}),this.flat_recipes.filter(t=>t.name.toLowerCase().includes(this.search_query.toLowerCase())).slice(0,10).forEach(t=>{e.push({name:t.name,image:t.image,recipe_id:t.id})})):this.flat_recipes.slice(0,5).forEach(t=>{e.push({name:t.name,image:t.image,recipe_id:t.id})}),e}},mounted(){window.addEventListener("keydown",t=>{this.dialog&&(t.key=="ArrowUp"&&(this.selected_result=Math.max(0,this.selected_result-1)),t.key=="ArrowDown"&&(this.selected_result=Math.min(this.search_results.length,this.selected_result+1)),t.key=="Enter"&&this.goToSelectedRecipe(),t.key=="k"&&t.ctrlKey&&(this.dialog=!0,t.preventDefault()))}),new ApiApi().apiRecipeFlatList().then(t=>{this.flat_recipes=t})},methods:{cardVariant(e){return this.selected_result==e?"tonal":"elevated"},goToSelectedRecipe(){this.dialog=!1;let e=this.search_results[this.selected_result];e.recipe_id!=null&&this.$router.push({name:"view_recipe",params:{id:e.recipe_id}})}}}),_export_sfc=(e,t)=>{const r=e.__vccOpts||e;for(const[o,i]of t)r[o]=i;return r},IN_BROWSER=typeof window<"u",SUPPORTS_INTERSECTION=IN_BROWSER&&"IntersectionObserver"in window,SUPPORTS_TOUCH=IN_BROWSER&&("ontouchstart"in window||window.navigator.maxTouchPoints>0);function getNestedValue(e,t,r){const o=t.length-1;if(o<0)return e===void 0?r:e;for(let i=0;i<o;i++){if(e==null)return r;e=e[t[i]]}return e==null||e[t[o]]===void 0?r:e[t[o]]}function deepEqual(e,t){if(e===t)return!0;if(e instanceof Date&&t instanceof Date&&e.getTime()!==t.getTime()||e!==Object(e)||t!==Object(t))return!1;const r=Object.keys(e);return r.length!==Object.keys(t).length?!1:r.every(o=>deepEqual(e[o],t[o]))}function getObjectValueByPath(e,t,r){return e==null||!t||typeof t!="string"?r:e[t]!==void 0?e[t]:(t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,""),getNestedValue(e,t.split("."),r))}function getPropertyFromItem(e,t,r){if(t===!0)return e===void 0?r:e;if(t==null||typeof t=="boolean")return r;if(e!==Object(e)){if(typeof t!="function")return r;const i=t(e,r);return typeof i>"u"?r:i}if(typeof t=="string")return getObjectValueByPath(e,t,r);if(Array.isArray(t))return getNestedValue(e,t,r);if(typeof t!="function")return r;const o=t(e,r);return typeof o>"u"?r:o}function createRange(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:e},(r,o)=>t+o)}function convertToUnit(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(!(e==null||e===""))return isNaN(+e)?String(e):isFinite(+e)?`${Number(e)}${t}`:void 0}function isObject(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function refElement(e){if(e&&"$el"in e){const t=e.$el;return(t==null?void 0:t.nodeType)===Node.TEXT_NODE?t.nextElementSibling:t}return e}const keyCodes=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16});function keys(e){return Object.keys(e)}function has(e,t){return t.every(r=>e.hasOwnProperty(r))}function pick$1(e,t){const r={},o=new Set(Object.keys(e));for(const i of t)o.has(i)&&(r[i]=e[i]);return r}function pickWithRest(e,t,r){const o=Object.create(null),i=Object.create(null);for(const c in e)t.some(a=>a instanceof RegExp?a.test(c):a===c)&&!(r!=null&&r.some(a=>a===c))?o[c]=e[c]:i[c]=e[c];return[o,i]}function omit(e,t){const r={...e};return t.forEach(o=>delete r[o]),r}function only(e,t){const r={};return t.forEach(o=>r[o]=e[o]),r}const onRE=/^on[^a-z]/,isOn=e=>onRE.test(e),bubblingEvents=["onAfterscriptexecute","onAnimationcancel","onAnimationend","onAnimationiteration","onAnimationstart","onAuxclick","onBeforeinput","onBeforescriptexecute","onChange","onClick","onCompositionend","onCompositionstart","onCompositionupdate","onContextmenu","onCopy","onCut","onDblclick","onFocusin","onFocusout","onFullscreenchange","onFullscreenerror","onGesturechange","onGestureend","onGesturestart","onGotpointercapture","onInput","onKeydown","onKeypress","onKeyup","onLostpointercapture","onMousedown","onMousemove","onMouseout","onMouseover","onMouseup","onMousewheel","onPaste","onPointercancel","onPointerdown","onPointerenter","onPointerleave","onPointermove","onPointerout","onPointerover","onPointerup","onReset","onSelect","onSubmit","onTouchcancel","onTouchend","onTouchmove","onTouchstart","onTransitioncancel","onTransitionend","onTransitionrun","onTransitionstart","onWheel"],compositionIgnoreKeys=["ArrowUp","ArrowDown","ArrowRight","ArrowLeft","Enter","Escape","Tab"," "];function isComposingIgnoreKey(e){return e.isComposing&&compositionIgnoreKeys.includes(e.key)}function filterInputAttrs(e){const[t,r]=pickWithRest(e,[onRE]),o=omit(t,bubblingEvents),[i,c]=pickWithRest(r,["class","style","id",/^data-/]);return Object.assign(i,t),Object.assign(c,o),[i,c]}function wrapInArray(e){return e==null?[]:Array.isArray(e)?e:[e]}function debounce(e,t){let r=0;const o=function(){for(var i=arguments.length,c=new Array(i),a=0;a<i;a++)c[a]=arguments[a];clearTimeout(r),r=setTimeout(()=>e(...c),unref(t))};return o.clear=()=>{clearTimeout(r)},o.immediate=e,o}function clamp(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(t,Math.min(r,e))}function padEnd(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";return e+r.repeat(Math.max(0,t-e.length))}function padStart$1(e,t){return(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,t-e.length))+e}function chunk(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const r=[];let o=0;for(;o<e.length;)r.push(e.substr(o,t)),o+=t;return r}function mergeDeep(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;const o={};for(const i in e)o[i]=e[i];for(const i in t){const c=e[i],a=t[i];if(isObject(c)&&isObject(a)){o[i]=mergeDeep(c,a,r);continue}if(Array.isArray(c)&&Array.isArray(a)&&r){o[i]=r(c,a);continue}o[i]=a}return o}function flattenFragments(e){return e.map(t=>t.type===Fragment?flattenFragments(t.children):t).flat()}function toKebabCase(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(toKebabCase.cache.has(e))return toKebabCase.cache.get(e);const t=e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return toKebabCase.cache.set(e,t),t}toKebabCase.cache=new Map;function findChildrenWithProvide(e,t){if(!t||typeof t!="object")return[];if(Array.isArray(t))return t.map(r=>findChildrenWithProvide(e,r)).flat(1);if(Array.isArray(t.children))return t.children.map(r=>findChildrenWithProvide(e,r)).flat(1);if(t.component){if(Object.getOwnPropertySymbols(t.component.provides).includes(e))return[t.component];if(t.component.subTree)return findChildrenWithProvide(e,t.component.subTree).flat(1)}return[]}function destructComputed(e){const t=reactive({}),r=computed(e);return watchEffect(()=>{for(const o in r.value)t[o]=r.value[o]},{flush:"sync"}),toRefs(t)}function includes$1(e,t){return e.includes(t)}function eventName(e){return e[2].toLowerCase()+e.slice(3)}const EventProp=()=>[Function,Array];function hasEvent(e,t){return t="on"+capitalize(t),!!(e[t]||e[`${t}Once`]||e[`${t}Capture`]||e[`${t}OnceCapture`]||e[`${t}CaptureOnce`])}function callEvent(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];if(Array.isArray(e))for(const i of e)i(...r);else typeof e=="function"&&e(...r)}function focusableChildren(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const r=["button","[href]",'input:not([type="hidden"])',"select","textarea","[tabindex]"].map(o=>`${o}${t?':not([tabindex="-1"])':""}:not([disabled])`).join(", ");return[...e.querySelectorAll(r)]}function getNextElement(e,t,r){let o,i=e.indexOf(document.activeElement);const c=t==="next"?1:-1;do i+=c,o=e[i];while((!o||o.offsetParent==null||!((r==null?void 0:r(o))??!0))&&i<e.length&&i>=0);return o}function focusChild(e,t){var o,i,c,a;const r=focusableChildren(e);if(!t)(e===document.activeElement||!e.contains(document.activeElement))&&((o=r[0])==null||o.focus());else if(t==="first")(i=r[0])==null||i.focus();else if(t==="last")(c=r.at(-1))==null||c.focus();else if(typeof t=="number")(a=r[t])==null||a.focus();else{const u=getNextElement(r,t);u?u.focus():focusChild(e,t==="next"?"first":"last")}}function noop$1(){}function matchesSelector(e,t){if(!(IN_BROWSER&&typeof CSS<"u"&&typeof CSS.supports<"u"&&CSS.supports(`selector(${t})`)))return null;try{return!!e&&e.matches(t)}catch{return null}}function ensureValidVNode(e){return e.some(t=>isVNode(t)?t.type===Comment?!1:t.type!==Fragment||ensureValidVNode(t.children):!0)?e:null}function defer(e,t){if(!IN_BROWSER||e===0)return t(),()=>{};const r=window.setTimeout(t,e);return()=>window.clearTimeout(r)}function isClickInsideElement(e,t){const r=e.clientX,o=e.clientY,i=t.getBoundingClientRect(),c=i.left,a=i.top,u=i.right,d=i.bottom;return r>=c&&r<=u&&o>=a&&o<=d}const block=["top","bottom"],inline=["start","end","left","right"];function parseAnchor(e,t){let[r,o]=e.split(" ");return o||(o=includes$1(block,r)?"start":includes$1(inline,r)?"top":"center"),{side:toPhysical(r,t),align:toPhysical(o,t)}}function toPhysical(e,t){return e==="start"?t?"right":"left":e==="end"?t?"left":"right":e}function flipSide(e){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.side],align:e.align}}function flipAlign(e){return{side:e.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.align]}}function flipCorner(e){return{side:e.align,align:e.side}}function getAxis(e){return includes$1(block,e.side)?"y":"x"}class Box{constructor(t){let{x:r,y:o,width:i,height:c}=t;this.x=r,this.y=o,this.width=i,this.height=c}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function getOverflow(e,t){return{x:{before:Math.max(0,t.left-e.left),after:Math.max(0,e.right-t.right)},y:{before:Math.max(0,t.top-e.top),after:Math.max(0,e.bottom-t.bottom)}}}function getTargetBox(e){return Array.isArray(e)?new Box({x:e[0],y:e[1],width:0,height:0}):e.getBoundingClientRect()}function nullifyTransforms(e){const t=e.getBoundingClientRect(),r=getComputedStyle(e),o=r.transform;if(o){let i,c,a,u,d;if(o.startsWith("matrix3d("))i=o.slice(9,-1).split(/, /),c=+i[0],a=+i[5],u=+i[12],d=+i[13];else if(o.startsWith("matrix("))i=o.slice(7,-1).split(/, /),c=+i[0],a=+i[3],u=+i[4],d=+i[5];else return new Box(t);const f=r.transformOrigin,m=t.x-u-(1-c)*parseFloat(f),g=t.y-d-(1-a)*parseFloat(f.slice(f.indexOf(" ")+1)),v=c?t.width/c:e.offsetWidth+1,y=a?t.height/a:e.offsetHeight+1;return new Box({x:m,y:g,width:v,height:y})}else return new Box(t)}function animate(e,t,r){if(typeof e.animate>"u")return{finished:Promise.resolve()};let o;try{o=e.animate(t,r)}catch{return{finished:Promise.resolve()}}return typeof o.finished>"u"&&(o.finished=new Promise(i=>{o.onfinish=()=>{i(o)}})),o}const handlers=new WeakMap;function bindProps(e,t){Object.keys(t).forEach(r=>{if(isOn(r)){const o=eventName(r),i=handlers.get(e);if(t[r]==null)i==null||i.forEach(c=>{const[a,u]=c;a===o&&(e.removeEventListener(o,u),i.delete(c))});else if(!i||![...i].some(c=>c[0]===o&&c[1]===t[r])){e.addEventListener(o,t[r]);const c=i||new Set;c.add([o,t[r]]),handlers.has(e)||handlers.set(e,c)}}else t[r]==null?e.removeAttribute(r):e.setAttribute(r,t[r])})}function unbindProps(e,t){Object.keys(t).forEach(r=>{if(isOn(r)){const o=eventName(r),i=handlers.get(e);i==null||i.forEach(c=>{const[a,u]=c;a===o&&(e.removeEventListener(o,u),i.delete(c))})}else e.removeAttribute(r)})}const mainTRC=2.4,Rco=.2126729,Gco=.7151522,Bco=.072175,normBG=.55,normTXT=.58,revTXT=.57,revBG=.62,blkThrs=.03,blkClmp=1.45,deltaYmin=5e-4,scaleBoW=1.25,scaleWoB=1.25,loConThresh=.078,loConFactor=12.82051282051282,loConOffset=.06,loClip=.001;function APCAcontrast(e,t){const r=(e.r/255)**mainTRC,o=(e.g/255)**mainTRC,i=(e.b/255)**mainTRC,c=(t.r/255)**mainTRC,a=(t.g/255)**mainTRC,u=(t.b/255)**mainTRC;let d=r*Rco+o*Gco+i*Bco,f=c*Rco+a*Gco+u*Bco;if(d<=blkThrs&&(d+=(blkThrs-d)**blkClmp),f<=blkThrs&&(f+=(blkThrs-f)**blkClmp),Math.abs(f-d)<deltaYmin)return 0;let m;if(f>d){const g=(f**normBG-d**normTXT)*scaleBoW;m=g<loClip?0:g<loConThresh?g-g*loConFactor*loConOffset:g-loConOffset}else{const g=(f**revBG-d**revTXT)*scaleWoB;m=g>-loClip?0:g>-loConThresh?g-g*loConFactor*loConOffset:g+loConOffset}return m*100}function consoleWarn(e){}function deprecate(e,t){t=Array.isArray(t)?t.slice(0,-1).map(r=>`'${r}'`).join(", ")+` or '${t.at(-1)}'`:`'${t}'`}const delta=.20689655172413793,cielabForwardTransform=e=>e>delta**3?Math.cbrt(e):e/(3*delta**2)+4/29,cielabReverseTransform=e=>e>delta?e**3:3*delta**2*(e-4/29);function fromXYZ$1(e){const t=cielabForwardTransform,r=t(e[1]);return[116*r-16,500*(t(e[0]/.95047)-r),200*(r-t(e[2]/1.08883))]}function toXYZ$1(e){const t=cielabReverseTransform,r=(e[0]+16)/116;return[t(r+e[1]/500)*.95047,t(r),t(r-e[2]/200)*1.08883]}const srgbForwardMatrix=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],srgbForwardTransform=e=>e<=.0031308?e*12.92:1.055*e**(1/2.4)-.055,srgbReverseMatrix=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],srgbReverseTransform=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function fromXYZ(e){const t=Array(3),r=srgbForwardTransform,o=srgbForwardMatrix;for(let i=0;i<3;++i)t[i]=Math.round(clamp(r(o[i][0]*e[0]+o[i][1]*e[1]+o[i][2]*e[2]))*255);return{r:t[0],g:t[1],b:t[2]}}function toXYZ(e){let{r:t,g:r,b:o}=e;const i=[0,0,0],c=srgbReverseTransform,a=srgbReverseMatrix;t=c(t/255),r=c(r/255),o=c(o/255);for(let u=0;u<3;++u)i[u]=a[u][0]*t+a[u][1]*r+a[u][2]*o;return i}function isCssColor(e){return!!e&&/^(#|var\(--|(rgb|hsl)a?\()/.test(e)}function isParsableColor(e){return isCssColor(e)&&!/^((rgb|hsl)a?\()?var\(--/.test(e)}const cssColorRe=/^(?<fn>(?:rgb|hsl)a?)\((?<values>.+)\)/,mappers={rgb:(e,t,r,o)=>({r:e,g:t,b:r,a:o}),rgba:(e,t,r,o)=>({r:e,g:t,b:r,a:o}),hsl:(e,t,r,o)=>HSLtoRGB({h:e,s:t,l:r,a:o}),hsla:(e,t,r,o)=>HSLtoRGB({h:e,s:t,l:r,a:o}),hsv:(e,t,r,o)=>HSVtoRGB({h:e,s:t,v:r,a:o}),hsva:(e,t,r,o)=>HSVtoRGB({h:e,s:t,v:r,a:o})};function parseColor(e){if(typeof e=="number")return{r:(e&16711680)>>16,g:(e&65280)>>8,b:e&255};if(typeof e=="string"&&cssColorRe.test(e)){const{groups:t}=e.match(cssColorRe),{fn:r,values:o}=t,i=o.split(/,\s*/).map(c=>c.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(r)?parseFloat(c)/100:parseFloat(c));return mappers[r](...i)}else if(typeof e=="string"){let t=e.startsWith("#")?e.slice(1):e;return[3,4].includes(t.length)?t=t.split("").map(r=>r+r).join(""):[6,8].includes(t.length),HexToRGB(t)}else if(typeof e=="object"){if(has(e,["r","g","b"]))return e;if(has(e,["h","s","l"]))return HSVtoRGB(HSLtoHSV(e));if(has(e,["h","s","v"]))return HSVtoRGB(e)}throw new TypeError(`Invalid color: ${e==null?e:String(e)||e.constructor.name}
Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function HSVtoRGB(e){const{h:t,s:r,v:o,a:i}=e,c=u=>{const d=(u+t/60)%6;return o-o*r*Math.max(Math.min(d,4-d,1),0)},a=[c(5),c(3),c(1)].map(u=>Math.round(u*255));return{r:a[0],g:a[1],b:a[2],a:i}}function HSLtoRGB(e){return HSVtoRGB(HSLtoHSV(e))}function HSLtoHSV(e){const{h:t,s:r,l:o,a:i}=e,c=o+r*Math.min(o,1-o),a=c===0?0:2-2*o/c;return{h:t,s:a,v:c,a:i}}function toHex(e){const t=Math.round(e).toString(16);return("00".substr(0,2-t.length)+t).toUpperCase()}function RGBtoHex(e){let{r:t,g:r,b:o,a:i}=e;return`#${[toHex(t),toHex(r),toHex(o),i!==void 0?toHex(Math.round(i*255)):""].join("")}`}function HexToRGB(e){e=parseHex(e);let[t,r,o,i]=chunk(e,2).map(c=>parseInt(c,16));return i=i===void 0?i:i/255,{r:t,g:r,b:o,a:i}}function parseHex(e){return e.startsWith("#")&&(e=e.slice(1)),e=e.replace(/([^0-9a-f])/gi,"F"),(e.length===3||e.length===4)&&(e=e.split("").map(t=>t+t).join("")),e.length!==6&&(e=padEnd(padEnd(e,6),8,"F")),e}function lighten(e,t){const r=fromXYZ$1(toXYZ(e));return r[0]=r[0]+t*10,fromXYZ(toXYZ$1(r))}function darken(e,t){const r=fromXYZ$1(toXYZ(e));return r[0]=r[0]-t*10,fromXYZ(toXYZ$1(r))}function getLuma(e){const t=parseColor(e);return toXYZ(t)[1]}function getForeground(e){const t=Math.abs(APCAcontrast(parseColor(0),parseColor(e)));return Math.abs(APCAcontrast(parseColor(16777215),parseColor(e)))>Math.min(t,50)?"#fff":"#000"}function propsFactory(e,t){return r=>Object.keys(e).reduce((o,i)=>{const a=typeof e[i]=="object"&&e[i]!=null&&!Array.isArray(e[i])?e[i]:{type:e[i]};return r&&i in r?o[i]={...a,default:r[i]}:o[i]=a,t&&!o[i].source&&(o[i].source=t),o},{})}const makeComponentProps=propsFactory({class:[String,Array],style:{type:[String,Array,Object],default:null}},"component");function defineComponent(e){if(e._setup=e._setup??e.setup,!e.name)return e;if(e._setup){e.props=propsFactory(e.props??{},e.name)();const t=Object.keys(e.props).filter(r=>r!=="class"&&r!=="style");e.filterProps=function(o){return pick$1(o,t)},e.props._as=String,e.setup=function(o,i){const c=injectDefaults();if(!c.value)return e._setup(o,i);const{props:a,provideSubDefaults:u}=internalUseDefaults(o,o._as??e.name,c),d=e._setup(a,i);return u(),d}}return e}function genericComponent(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return t=>(e?defineComponent:defineComponent$1)(t)}function createSimpleFunctional(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",r=arguments.length>2?arguments[2]:void 0;return genericComponent()({name:r??capitalize(camelize(e.replace(/__/g,"-"))),props:{tag:{type:String,default:t},...makeComponentProps()},setup(o,i){let{slots:c}=i;return()=>{var a;return h(o.tag,{class:[e,o.class],style:o.style},(a=c.default)==null?void 0:a.call(c))}}})}function attachedRoot(e){if(typeof e.getRootNode!="function"){for(;e.parentNode;)e=e.parentNode;return e!==document?null:document}const t=e.getRootNode();return t!==document&&t.getRootNode({composed:!0})!==document?null:t}const standardEasing="cubic-bezier(0.4, 0, 0.2, 1)",deceleratedEasing="cubic-bezier(0.0, 0, 0.2, 1)",acceleratedEasing="cubic-bezier(0.4, 0, 1, 1)";function getCurrentInstance(e,t){const r=getCurrentInstance$1();if(!r)throw new Error(`[Vuetify] ${e} ${t||"must be called from inside a setup function"}`);return r}function getCurrentInstanceName(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const t=getCurrentInstance(e).type;return toKebabCase((t==null?void 0:t.aliasName)||(t==null?void 0:t.name))}let _uid=0,_map=new WeakMap;function getUid(){const e=getCurrentInstance("getUid");if(_map.has(e))return _map.get(e);{const t=_uid++;return _map.set(e,t),t}}getUid.reset=()=>{_uid=0,_map=new WeakMap};function getScrollParent(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;e;){if(t?isPotentiallyScrollable(e):hasScrollbar(e))return e;e=e.parentElement}return document.scrollingElement}function getScrollParents(e,t){const r=[];if(t&&e&&!t.contains(e))return r;for(;e&&(hasScrollbar(e)&&r.push(e),e!==t);)e=e.parentElement;return r}function hasScrollbar(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const t=window.getComputedStyle(e);return t.overflowY==="scroll"||t.overflowY==="auto"&&e.scrollHeight>e.clientHeight}function isPotentiallyScrollable(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const t=window.getComputedStyle(e);return["scroll","auto"].includes(t.overflowY)}function injectSelf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstance("injectSelf");const{provides:r}=t;if(r&&e in r)return r[e]}function isFixedPosition(e){for(;e;){if(window.getComputedStyle(e).position==="fixed")return!0;e=e.offsetParent}return!1}function useRender(e){const t=getCurrentInstance("useRender");t.render=e}const DefaultsSymbol=Symbol.for("vuetify:defaults");function createDefaults(e){return ref(e)}function injectDefaults(){const e=inject$1(DefaultsSymbol);if(!e)throw new Error("[Vuetify] Could not find defaults instance");return e}function provideDefaults(e,t){const r=injectDefaults(),o=ref(e),i=computed(()=>{if(unref(t==null?void 0:t.disabled))return r.value;const a=unref(t==null?void 0:t.scoped),u=unref(t==null?void 0:t.reset),d=unref(t==null?void 0:t.root);if(o.value==null&&!(a||u||d))return r.value;let f=mergeDeep(o.value,{prev:r.value});if(a)return f;if(u||d){const m=Number(u||1/0);for(let g=0;g<=m&&!(!f||!("prev"in f));g++)f=f.prev;return f&&typeof d=="string"&&d in f&&(f=mergeDeep(mergeDeep(f,{prev:f}),f[d])),f}return f.prev?mergeDeep(f.prev,f):f});return provide(DefaultsSymbol,i),i}function propIsDefined(e,t){var r,o;return typeof((r=e.props)==null?void 0:r[t])<"u"||typeof((o=e.props)==null?void 0:o[toKebabCase(t)])<"u"}function internalUseDefaults(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:injectDefaults();const o=getCurrentInstance("useDefaults");if(t=t??o.type.name??o.type.__name,!t)throw new Error("[Vuetify] Could not determine component name");const i=computed(()=>{var d;return(d=r.value)==null?void 0:d[e._as??t]}),c=new Proxy(e,{get(d,f){var g,v,y,w;const m=Reflect.get(d,f);return f==="class"||f==="style"?[(g=i.value)==null?void 0:g[f],m].filter(b=>b!=null):typeof f=="string"&&!propIsDefined(o.vnode,f)?((v=i.value)==null?void 0:v[f])??((w=(y=r.value)==null?void 0:y.global)==null?void 0:w[f])??m:m}}),a=shallowRef();watchEffect(()=>{if(i.value){const d=Object.entries(i.value).filter(f=>{let[m]=f;return m.startsWith(m[0].toUpperCase())});a.value=d.length?Object.fromEntries(d):void 0}else a.value=void 0});function u(){const d=injectSelf(DefaultsSymbol,o);provide(DefaultsSymbol,computed(()=>a.value?mergeDeep((d==null?void 0:d.value)??{},a.value):d==null?void 0:d.value))}return{props:c,provideSubDefaults:u}}const makeVDefaultsProviderProps=propsFactory({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),VDefaultsProvider=genericComponent(!1)({name:"VDefaultsProvider",props:makeVDefaultsProviderProps(),setup(e,t){let{slots:r}=t;const{defaults:o,disabled:i,reset:c,root:a,scoped:u}=toRefs(e);return provideDefaults(o,{reset:c,root:a,scoped:u,disabled:i}),()=>{var d;return(d=r.default)==null?void 0:d.call(r)}}});function useColor(e){return destructComputed(()=>{const t=[],r={};if(e.value.background)if(isCssColor(e.value.background)){if(r.backgroundColor=e.value.background,!e.value.text&&isParsableColor(e.value.background)){const o=parseColor(e.value.background);if(o.a==null||o.a===1){const i=getForeground(o);r.color=i,r.caretColor=i}}}else t.push(`bg-${e.value.background}`);return e.value.text&&(isCssColor(e.value.text)?(r.color=e.value.text,r.caretColor=e.value.text):t.push(`text-${e.value.text}`)),{colorClasses:t,colorStyles:r}})}function useTextColor(e,t){const r=computed(()=>({text:isRef(e)?e.value:t?e[t]:null})),{colorClasses:o,colorStyles:i}=useColor(r);return{textColorClasses:o,textColorStyles:i}}function useBackgroundColor(e,t){const r=computed(()=>({background:isRef(e)?e.value:t?e[t]:null})),{colorClasses:o,colorStyles:i}=useColor(r);return{backgroundColorClasses:o,backgroundColorStyles:i}}const aliases$1={collapse:"mdi-chevron-up",complete:"mdi-check",cancel:"mdi-close-circle",close:"mdi-close",delete:"mdi-close-circle",clear:"mdi-close-circle",success:"mdi-check-circle",info:"mdi-information",warning:"mdi-alert-circle",error:"mdi-close-circle",prev:"mdi-chevron-left",next:"mdi-chevron-right",checkboxOn:"mdi-checkbox-marked",checkboxOff:"mdi-checkbox-blank-outline",checkboxIndeterminate:"mdi-minus-box",delimiter:"mdi-circle",sortAsc:"mdi-arrow-up",sortDesc:"mdi-arrow-down",expand:"mdi-chevron-down",menu:"mdi-menu",subgroup:"mdi-menu-down",dropdown:"mdi-menu-down",radioOn:"mdi-radiobox-marked",radioOff:"mdi-radiobox-blank",edit:"mdi-pencil",ratingEmpty:"mdi-star-outline",ratingFull:"mdi-star",ratingHalf:"mdi-star-half-full",loading:"mdi-cached",first:"mdi-page-first",last:"mdi-page-last",unfold:"mdi-unfold-more-horizontal",file:"mdi-paperclip",plus:"mdi-plus",minus:"mdi-minus",calendar:"mdi-calendar",treeviewCollapse:"mdi-menu-down",treeviewExpand:"mdi-menu-right",eyeDropper:"mdi-eyedropper"},mdi={component:e=>h(VClassIcon,{...e,class:"mdi"})},IconValue=[String,Function,Object,Array],IconSymbol=Symbol.for("vuetify:icons"),makeIconProps=propsFactory({icon:{type:IconValue},tag:{type:String,required:!0}},"icon"),VComponentIcon=genericComponent()({name:"VComponentIcon",props:makeIconProps(),setup(e,t){let{slots:r}=t;return()=>{const o=e.icon;return createVNode(e.tag,null,{default:()=>{var i;return[e.icon?createVNode(o,null,null):(i=r.default)==null?void 0:i.call(r)]}})}}}),VSvgIcon=defineComponent({name:"VSvgIcon",inheritAttrs:!1,props:makeIconProps(),setup(e,t){let{attrs:r}=t;return()=>createVNode(e.tag,mergeProps(r,{style:null}),{default:()=>[createVNode("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(e.icon)?e.icon.map(o=>Array.isArray(o)?createVNode("path",{d:o[0],"fill-opacity":o[1]},null):createVNode("path",{d:o},null)):createVNode("path",{d:e.icon},null)])]})}});defineComponent({name:"VLigatureIcon",props:makeIconProps(),setup(e){return()=>createVNode(e.tag,null,{default:()=>[e.icon]})}});const VClassIcon=defineComponent({name:"VClassIcon",props:makeIconProps(),setup(e){return()=>createVNode(e.tag,{class:e.icon},null)}});function genDefaults$3(){return{svg:{component:VSvgIcon},class:{component:VClassIcon}}}function createIcons(e){const t=genDefaults$3(),r=(e==null?void 0:e.defaultSet)??"mdi";return r==="mdi"&&!t.mdi&&(t.mdi=mdi),mergeDeep({defaultSet:r,sets:t,aliases:{...aliases$1,vuetify:["M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z",["M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z",.6]],"vuetify-outline":"svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z"}},e)}const useIcon=e=>{const t=inject$1(IconSymbol);if(!t)throw new Error("Missing Vuetify Icons provide!");return{iconData:computed(()=>{var d;const o=unref(e);if(!o)return{component:VComponentIcon};let i=o;if(typeof i=="string"&&(i=i.trim(),i.startsWith("$")&&(i=(d=t.aliases)==null?void 0:d[i.slice(1)])),!i)throw new Error(`Could not find aliased icon "${o}"`);if(Array.isArray(i))return{component:VSvgIcon,icon:i};if(typeof i!="string")return{component:VComponentIcon,icon:i};const c=Object.keys(t.sets).find(f=>typeof i=="string"&&i.startsWith(`${f}:`)),a=c?i.slice(c.length+1):i;return{component:t.sets[c??t.defaultSet].component,icon:a}})}},predefinedSizes=["x-small","small","default","large","x-large"],makeSizeProps=propsFactory({size:{type:[String,Number],default:"default"}},"size");function useSize(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName();return destructComputed(()=>{let r,o;return includes$1(predefinedSizes,e.size)?r=`${t}--size-${e.size}`:e.size&&(o={width:convertToUnit(e.size),height:convertToUnit(e.size)}),{sizeClasses:r,sizeStyles:o}})}const makeTagProps=propsFactory({tag:{type:String,default:"div"}},"tag"),ThemeSymbol=Symbol.for("vuetify:theme"),makeThemeProps=propsFactory({theme:String},"theme");function genDefaults$2(){return{defaultTheme:"light",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-light":"#EEEEEE","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#1867C0","primary-darken-1":"#1F5592",secondary:"#48A9A6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-light":"#424242","surface-variant":"#a3a3a3","on-surface-variant":"#424242",primary:"#2196F3","primary-darken-1":"#277CC1",secondary:"#54B6B2","secondary-darken-1":"#48A9A6",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}}}}function parseThemeOptions(){var o,i;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:genDefaults$2();const t=genDefaults$2();if(!e)return{...t,isDisabled:!0};const r={};for(const[c,a]of Object.entries(e.themes??{})){const u=a.dark||c==="dark"?(o=t.themes)==null?void 0:o.dark:(i=t.themes)==null?void 0:i.light;r[c]=mergeDeep(u,a)}return mergeDeep(t,{...e,themes:r})}function createTheme(e){const t=parseThemeOptions(e),r=ref(t.defaultTheme),o=ref(t.themes),i=computed(()=>{const m={};for(const[g,v]of Object.entries(o.value)){const y=m[g]={...v,colors:{...v.colors}};if(t.variations)for(const w of t.variations.colors){const b=y.colors[w];if(b)for(const S of["lighten","darken"]){const _=S==="lighten"?lighten:darken;for(const k of createRange(t.variations[S],1))y.colors[`${w}-${S}-${k}`]=RGBtoHex(_(parseColor(b),k))}}for(const w of Object.keys(y.colors)){if(/^on-[a-z]/.test(w)||y.colors[`on-${w}`])continue;const b=`on-${w}`,S=parseColor(y.colors[w]);y.colors[b]=getForeground(S)}}return m}),c=computed(()=>i.value[r.value]),a=computed(()=>{var w;const m=[];(w=c.value)!=null&&w.dark&&createCssClass(m,":root",["color-scheme: dark"]),createCssClass(m,":root",genCssVariables(c.value));for(const[b,S]of Object.entries(i.value))createCssClass(m,`.v-theme--${b}`,[`color-scheme: ${S.dark?"dark":"normal"}`,...genCssVariables(S)]);const g=[],v=[],y=new Set(Object.values(i.value).flatMap(b=>Object.keys(b.colors)));for(const b of y)/^on-[a-z]/.test(b)?createCssClass(v,`.${b}`,[`color: rgb(var(--v-theme-${b})) !important`]):(createCssClass(g,`.bg-${b}`,[`--v-theme-overlay-multiplier: var(--v-theme-${b}-overlay-multiplier)`,`background-color: rgb(var(--v-theme-${b})) !important`,`color: rgb(var(--v-theme-on-${b})) !important`]),createCssClass(v,`.text-${b}`,[`color: rgb(var(--v-theme-${b})) !important`]),createCssClass(v,`.border-${b}`,[`--v-border-color: var(--v-theme-${b})`]));return m.push(...g,...v),m.map((b,S)=>S===0?b:` ${b}`).join("")});function u(){return{style:[{children:a.value,id:"vuetify-theme-stylesheet",nonce:t.cspNonce||!1}]}}function d(m){if(t.isDisabled)return;const g=m._context.provides.usehead;if(g)if(g.push){const y=g.push(u);IN_BROWSER&&watch(a,()=>{y.patch(u)})}else IN_BROWSER?(g.addHeadObjs(computed(u)),watchEffect(()=>g.updateDOM())):g.addHeadObjs(u());else{let w=function(){if(typeof document<"u"&&!y){const b=document.createElement("style");b.type="text/css",b.id="vuetify-theme-stylesheet",t.cspNonce&&b.setAttribute("nonce",t.cspNonce),y=b,document.head.appendChild(y)}y&&(y.innerHTML=a.value)};var v=w;let y=IN_BROWSER?document.getElementById("vuetify-theme-stylesheet"):null;IN_BROWSER?watch(a,w,{immediate:!0}):w()}}const f=computed(()=>t.isDisabled?void 0:`v-theme--${r.value}`);return{install:d,isDisabled:t.isDisabled,name:r,themes:o,current:c,computedThemes:i,themeClasses:f,styles:a,global:{name:r,current:c}}}function provideTheme(e){getCurrentInstance("provideTheme");const t=inject$1(ThemeSymbol,null);if(!t)throw new Error("Could not find Vuetify theme injection");const r=computed(()=>e.theme??t.name.value),o=computed(()=>t.themes.value[r.value]),i=computed(()=>t.isDisabled?void 0:`v-theme--${r.value}`),c={...t,name:r,current:o,themeClasses:i};return provide(ThemeSymbol,c),c}function useTheme(){getCurrentInstance("useTheme");const e=inject$1(ThemeSymbol,null);if(!e)throw new Error("Could not find Vuetify theme injection");return e}function createCssClass(e,t,r){e.push(`${t} {
`,...r.map(o=>` ${o};
`),`}
`)}function genCssVariables(e){const t=e.dark?2:1,r=e.dark?1:2,o=[];for(const[i,c]of Object.entries(e.colors)){const a=parseColor(c);o.push(`--v-theme-${i}: ${a.r},${a.g},${a.b}`),i.startsWith("on-")||o.push(`--v-theme-${i}-overlay-multiplier: ${getLuma(c)>.18?t:r}`)}for(const[i,c]of Object.entries(e.variables)){const a=typeof c=="string"&&c.startsWith("#")?parseColor(c):void 0,u=a?`${a.r}, ${a.g}, ${a.b}`:void 0;o.push(`--v-${i}: ${u??c}`)}return o}const makeVIconProps=propsFactory({color:String,disabled:Boolean,start:Boolean,end:Boolean,icon:IconValue,...makeComponentProps(),...makeSizeProps(),...makeTagProps({tag:"i"}),...makeThemeProps()},"VIcon"),VIcon=genericComponent()({name:"VIcon",props:makeVIconProps(),setup(e,t){let{attrs:r,slots:o}=t;const i=ref(),{themeClasses:c}=provideTheme(e),{iconData:a}=useIcon(computed(()=>i.value||e.icon)),{sizeClasses:u}=useSize(e),{textColorClasses:d,textColorStyles:f}=useTextColor(toRef(e,"color"));return useRender(()=>{var v,y;const m=(v=o.default)==null?void 0:v.call(o);m&&(i.value=(y=flattenFragments(m).filter(w=>w.type===Text&&w.children&&typeof w.children=="string")[0])==null?void 0:y.children);const g=!!(r.onClick||r.onClickOnce);return createVNode(a.value.component,{tag:e.tag,icon:a.value.icon,class:["v-icon","notranslate",c.value,u.value,d.value,{"v-icon--clickable":g,"v-icon--disabled":e.disabled,"v-icon--start":e.start,"v-icon--end":e.end},e.class],style:[u.value?void 0:{fontSize:convertToUnit(e.size),height:convertToUnit(e.size),width:convertToUnit(e.size)},f.value,e.style],role:g?"button":void 0,"aria-hidden":!g,tabindex:g?e.disabled?-1:0:void 0},{default:()=>[m]})}),{}}}),makeDimensionProps=propsFactory({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function useDimension(e){return{dimensionStyles:computed(()=>({height:convertToUnit(e.height),maxHeight:convertToUnit(e.maxHeight),maxWidth:convertToUnit(e.maxWidth),minHeight:convertToUnit(e.minHeight),minWidth:convertToUnit(e.minWidth),width:convertToUnit(e.width)}))}}function useAspectStyles(e){return{aspectStyles:computed(()=>{const t=Number(e.aspectRatio);return t?{paddingBottom:String(1/t*100)+"%"}:void 0})}}const makeVResponsiveProps=propsFactory({aspectRatio:[String,Number],contentClass:String,inline:Boolean,...makeComponentProps(),...makeDimensionProps()},"VResponsive"),VResponsive=genericComponent()({name:"VResponsive",props:makeVResponsiveProps(),setup(e,t){let{slots:r}=t;const{aspectStyles:o}=useAspectStyles(e),{dimensionStyles:i}=useDimension(e);return useRender(()=>{var c;return createVNode("div",{class:["v-responsive",{"v-responsive--inline":e.inline},e.class],style:[i.value,e.style]},[createVNode("div",{class:"v-responsive__sizer",style:o.value},null),(c=r.additional)==null?void 0:c.call(r),r.default&&createVNode("div",{class:["v-responsive__content",e.contentClass]},[r.default()])])}),{}}}),makeRoundedProps=propsFactory({rounded:{type:[Boolean,Number,String],default:void 0},tile:Boolean},"rounded");function useRounded(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName();return{roundedClasses:computed(()=>{const o=isRef(e)?e.value:e.rounded,i=isRef(e)?e.value:e.tile,c=[];if(o===!0||o==="")c.push(`${t}--rounded`);else if(typeof o=="string"||o===0)for(const a of String(o).split(" "))c.push(`rounded-${a}`);else i&&c.push("rounded-0");return c})}}const makeTransitionProps$1=propsFactory({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:e=>e!==!0}},"transition"),MaybeTransition=(e,t)=>{let{slots:r}=t;const{transition:o,disabled:i,group:c,...a}=e,{component:u=c?TransitionGroup:Transition,...d}=typeof o=="object"?o:{};return h(u,mergeProps(typeof o=="string"?{name:i?"":o}:d,typeof o=="string"?{}:{disabled:i,group:c},a),r)};function mounted$2(e,t){if(!SUPPORTS_INTERSECTION)return;const r=t.modifiers||{},o=t.value,{handler:i,options:c}=typeof o=="object"?o:{handler:o,options:{}},a=new IntersectionObserver(function(){var g;let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],d=arguments.length>1?arguments[1]:void 0;const f=(g=e._observe)==null?void 0:g[t.instance.$.uid];if(!f)return;const m=u.some(v=>v.isIntersecting);i&&(!r.quiet||f.init)&&(!r.once||m||f.init)&&i(m,u,d),m&&r.once?unmounted$2(e,t):f.init=!0},c);e._observe=Object(e._observe),e._observe[t.instance.$.uid]={init:!1,observer:a},a.observe(e)}function unmounted$2(e,t){var o;const r=(o=e._observe)==null?void 0:o[t.instance.$.uid];r&&(r.observer.unobserve(e),delete e._observe[t.instance.$.uid])}const Intersect={mounted:mounted$2,unmounted:unmounted$2},Intersect$1=Intersect,makeVImgProps=propsFactory({alt:String,cover:Boolean,color:String,draggable:{type:[Boolean,String],default:void 0},eager:Boolean,gradient:String,lazySrc:String,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},sizes:String,src:{type:[String,Object],default:""},crossorigin:String,referrerpolicy:String,srcset:String,position:String,...makeVResponsiveProps(),...makeComponentProps(),...makeRoundedProps(),...makeTransitionProps$1()},"VImg"),VImg=genericComponent()({name:"VImg",directives:{intersect:Intersect$1},props:makeVImgProps(),emits:{loadstart:e=>!0,load:e=>!0,error:e=>!0},setup(e,t){let{emit:r,slots:o}=t;const{backgroundColorClasses:i,backgroundColorStyles:c}=useBackgroundColor(toRef(e,"color")),{roundedClasses:a}=useRounded(e),u=getCurrentInstance("VImg"),d=shallowRef(""),f=ref(),m=shallowRef(e.eager?"loading":"idle"),g=shallowRef(),v=shallowRef(),y=computed(()=>e.src&&typeof e.src=="object"?{src:e.src.src,srcset:e.srcset||e.src.srcset,lazySrc:e.lazySrc||e.src.lazySrc,aspect:Number(e.aspectRatio||e.src.aspect||0)}:{src:e.src,srcset:e.srcset,lazySrc:e.lazySrc,aspect:Number(e.aspectRatio||0)}),w=computed(()=>y.value.aspect||g.value/v.value||0);watch(()=>e.src,()=>{b(m.value!=="idle")}),watch(w,(V,D)=>{!V&&D&&f.value&&T(f.value)}),onBeforeMount(()=>b());function b(V){if(!(e.eager&&V)&&!(SUPPORTS_INTERSECTION&&!V&&!e.eager)){if(m.value="loading",y.value.lazySrc){const D=new Image;D.src=y.value.lazySrc,T(D,null)}y.value.src&&nextTick(()=>{var D;r("loadstart",((D=f.value)==null?void 0:D.currentSrc)||y.value.src),setTimeout(()=>{var F;if(!u.isUnmounted)if((F=f.value)!=null&&F.complete){if(f.value.naturalWidth||_(),m.value==="error")return;w.value||T(f.value,null),m.value==="loading"&&S()}else w.value||T(f.value),k()})})}}function S(){var V;u.isUnmounted||(k(),T(f.value),m.value="loaded",r("load",((V=f.value)==null?void 0:V.currentSrc)||y.value.src))}function _(){var V;u.isUnmounted||(m.value="error",r("error",((V=f.value)==null?void 0:V.currentSrc)||y.value.src))}function k(){const V=f.value;V&&(d.value=V.currentSrc||V.src)}let C=-1;onBeforeUnmount(()=>{clearTimeout(C)});function T(V){let D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const F=()=>{if(clearTimeout(C),u.isUnmounted)return;const{naturalHeight:B,naturalWidth:$}=V;B||$?(g.value=$,v.value=B):!V.complete&&m.value==="loading"&&D!=null?C=window.setTimeout(F,D):(V.currentSrc.endsWith(".svg")||V.currentSrc.startsWith("data:image/svg+xml"))&&(g.value=1,v.value=1)};F()}const x=computed(()=>({"v-img__img--cover":e.cover,"v-img__img--contain":!e.cover})),R=()=>{var F;if(!y.value.src||m.value==="idle")return null;const V=createVNode("img",{class:["v-img__img",x.value],style:{objectPosition:e.position},src:y.value.src,srcset:y.value.srcset,alt:e.alt,crossorigin:e.crossorigin,referrerpolicy:e.referrerpolicy,draggable:e.draggable,sizes:e.sizes,ref:f,onLoad:S,onError:_},null),D=(F=o.sources)==null?void 0:F.call(o);return createVNode(MaybeTransition,{transition:e.transition,appear:!0},{default:()=>[withDirectives(D?createVNode("picture",{class:"v-img__picture"},[D,V]):V,[[vShow,m.value==="loaded"]])]})},O=()=>createVNode(MaybeTransition,{transition:e.transition},{default:()=>[y.value.lazySrc&&m.value!=="loaded"&&createVNode("img",{class:["v-img__img","v-img__img--preload",x.value],style:{objectPosition:e.position},src:y.value.lazySrc,alt:e.alt,crossorigin:e.crossorigin,referrerpolicy:e.referrerpolicy,draggable:e.draggable},null)]}),A=()=>o.placeholder?createVNode(MaybeTransition,{transition:e.transition,appear:!0},{default:()=>[(m.value==="loading"||m.value==="error"&&!o.error)&&createVNode("div",{class:"v-img__placeholder"},[o.placeholder()])]}):null,N=()=>o.error?createVNode(MaybeTransition,{transition:e.transition,appear:!0},{default:()=>[m.value==="error"&&createVNode("div",{class:"v-img__error"},[o.error()])]}):null,E=()=>e.gradient?createVNode("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${e.gradient})`}},null):null,P=shallowRef(!1);{const V=watch(w,D=>{D&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{P.value=!0})}),V())})}return useRender(()=>{const V=VResponsive.filterProps(e);return withDirectives(createVNode(VResponsive,mergeProps({class:["v-img",{"v-img--booting":!P.value},i.value,a.value,e.class],style:[{width:convertToUnit(e.width==="auto"?g.value:e.width)},c.value,e.style]},V,{aspectRatio:w.value,"aria-label":e.alt,role:e.alt?"img":void 0}),{additional:()=>createVNode(Fragment,null,[createVNode(R,null,null),createVNode(O,null,null),createVNode(E,null,null),createVNode(A,null,null),createVNode(N,null,null)]),default:o.default}),[[resolveDirective("intersect"),{handler:b,options:e.options},null,{once:!0}]])}),{currentSrc:d,image:f,state:m,naturalWidth:g,naturalHeight:v}}}),allowedDensities$1=[null,"default","comfortable","compact"],makeDensityProps=propsFactory({density:{type:String,default:"default",validator:e=>allowedDensities$1.includes(e)}},"density");function useDensity(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName();return{densityClasses:computed(()=>`${t}--density-${e.density}`)}}const allowedVariants$2=["elevated","flat","tonal","outlined","text","plain"];function genOverlays(e,t){return createVNode(Fragment,null,[e&&createVNode("span",{key:"overlay",class:`${t}__overlay`},null),createVNode("span",{key:"underlay",class:`${t}__underlay`},null)])}const makeVariantProps=propsFactory({color:String,variant:{type:String,default:"elevated",validator:e=>allowedVariants$2.includes(e)}},"variant");function useVariant(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName();const r=computed(()=>{const{variant:c}=unref(e);return`${t}--variant-${c}`}),{colorClasses:o,colorStyles:i}=useColor(computed(()=>{const{variant:c,color:a}=unref(e);return{[["elevated","flat"].includes(c)?"background":"text"]:a}}));return{colorClasses:o,colorStyles:i,variantClasses:r}}const makeVAvatarProps=propsFactory({start:Boolean,end:Boolean,icon:IconValue,image:String,text:String,...makeComponentProps(),...makeDensityProps(),...makeRoundedProps(),...makeSizeProps(),...makeTagProps(),...makeThemeProps(),...makeVariantProps({variant:"flat"})},"VAvatar"),VAvatar=genericComponent()({name:"VAvatar",props:makeVAvatarProps(),setup(e,t){let{slots:r}=t;const{themeClasses:o}=provideTheme(e),{colorClasses:i,colorStyles:c,variantClasses:a}=useVariant(e),{densityClasses:u}=useDensity(e),{roundedClasses:d}=useRounded(e),{sizeClasses:f,sizeStyles:m}=useSize(e);return useRender(()=>createVNode(e.tag,{class:["v-avatar",{"v-avatar--start":e.start,"v-avatar--end":e.end},o.value,i.value,u.value,d.value,f.value,a.value,e.class],style:[c.value,m.value,e.style]},{default:()=>[r.default?createVNode(VDefaultsProvider,{key:"content-defaults",defaults:{VImg:{cover:!0,image:e.image},VIcon:{icon:e.icon}}},{default:()=>[r.default()]}):e.image?createVNode(VImg,{key:"image",src:e.image,alt:"",cover:!0},null):e.icon?createVNode(VIcon,{key:"icon",icon:e.icon},null):e.text,genOverlays(!1,"v-avatar")]})),{}}}),makeBorderProps=propsFactory({border:[Boolean,Number,String]},"border");function useBorder(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName();return{borderClasses:computed(()=>{const o=isRef(e)?e.value:e.border,i=[];if(o===!0||o==="")i.push(`${t}--border`);else if(typeof o=="string"||o===0)for(const c of String(o).split(" "))i.push(`border-${c}`);return i})}}const makeElevationProps=propsFactory({elevation:{type:[Number,String],validator(e){const t=parseInt(e);return!isNaN(t)&&t>=0&&t<=24}}},"elevation");function useElevation(e){return{elevationClasses:computed(()=>{const r=isRef(e)?e.value:e.elevation,o=[];return r==null||o.push(`elevation-${r}`),o})}}const makeVBtnGroupProps=propsFactory({divided:Boolean,...makeBorderProps(),...makeComponentProps(),...makeDensityProps(),...makeElevationProps(),...makeRoundedProps(),...makeTagProps(),...makeThemeProps(),...makeVariantProps()},"VBtnGroup"),VBtnGroup=genericComponent()({name:"VBtnGroup",props:makeVBtnGroupProps(),setup(e,t){let{slots:r}=t;const{themeClasses:o}=provideTheme(e),{densityClasses:i}=useDensity(e),{borderClasses:c}=useBorder(e),{elevationClasses:a}=useElevation(e),{roundedClasses:u}=useRounded(e);provideDefaults({VBtn:{height:"auto",color:toRef(e,"color"),density:toRef(e,"density"),flat:!0,variant:toRef(e,"variant")}}),useRender(()=>createVNode(e.tag,{class:["v-btn-group",{"v-btn-group--divided":e.divided},o.value,c.value,i.value,a.value,u.value,e.class],style:e.style},r))}});function useToggleScope(e,t){let r;function o(){r=effectScope(),r.run(()=>t.length?t(()=>{r==null||r.stop(),o()}):t())}watch(e,i=>{i&&!r?o():i||(r==null||r.stop(),r=void 0)},{immediate:!0}),onScopeDispose(()=>{r==null||r.stop()})}function useProxiedModel(e,t,r){let o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:g=>g,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:g=>g;const c=getCurrentInstance("useProxiedModel"),a=ref(e[t]!==void 0?e[t]:r),u=toKebabCase(t),f=computed(u!==t?()=>{var g,v,y,w;return e[t],!!(((g=c.vnode.props)!=null&&g.hasOwnProperty(t)||(v=c.vnode.props)!=null&&v.hasOwnProperty(u))&&((y=c.vnode.props)!=null&&y.hasOwnProperty(`onUpdate:${t}`)||(w=c.vnode.props)!=null&&w.hasOwnProperty(`onUpdate:${u}`)))}:()=>{var g,v;return e[t],!!((g=c.vnode.props)!=null&&g.hasOwnProperty(t)&&((v=c.vnode.props)!=null&&v.hasOwnProperty(`onUpdate:${t}`)))});useToggleScope(()=>!f.value,()=>{watch(()=>e[t],g=>{a.value=g})});const m=computed({get(){const g=e[t];return o(f.value?g:a.value)},set(g){const v=i(g),y=toRaw(f.value?e[t]:a.value);y===v||o(y)===g||(a.value=v,c==null||c.emit(`update:${t}`,v))}});return Object.defineProperty(m,"externalValue",{get:()=>f.value?e[t]:a.value}),m}const makeGroupProps=propsFactory({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),makeGroupItemProps=propsFactory({value:null,disabled:Boolean,selectedClass:String},"group-item");function useGroupItem(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const o=getCurrentInstance("useGroupItem");if(!o)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const i=getUid();provide(Symbol.for(`${t.description}:id`),i);const c=inject$1(t,null);if(!c){if(!r)return c;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${t.description}`)}const a=toRef(e,"value"),u=computed(()=>!!(c.disabled.value||e.disabled));c.register({id:i,value:a,disabled:u},o),onBeforeUnmount(()=>{c.unregister(i)});const d=computed(()=>c.isSelected(i)),f=computed(()=>d.value&&[c.selectedClass.value,e.selectedClass]);return watch(d,m=>{o.emit("group:selected",{value:m})},{flush:"sync"}),{id:i,isSelected:d,toggle:()=>c.select(i,!d.value),select:m=>c.select(i,m),selectedClass:f,value:a,disabled:u,group:c}}function useGroup(e,t){let r=!1;const o=reactive([]),i=useProxiedModel(e,"modelValue",[],v=>v==null?[]:getIds(o,wrapInArray(v)),v=>{const y=getValues(o,v);return e.multiple?y:y[0]}),c=getCurrentInstance("useGroup");function a(v,y){const w=v,b=Symbol.for(`${t.description}:id`),_=findChildrenWithProvide(b,c==null?void 0:c.vnode).indexOf(y);unref(w.value)==null&&(w.value=_),_>-1?o.splice(_,0,w):o.push(w)}function u(v){if(r)return;d();const y=o.findIndex(w=>w.id===v);o.splice(y,1)}function d(){const v=o.find(y=>!y.disabled);v&&e.mandatory==="force"&&!i.value.length&&(i.value=[v.id])}onMounted(()=>{d()}),onBeforeUnmount(()=>{r=!0});function f(v,y){const w=o.find(b=>b.id===v);if(!(y&&(w!=null&&w.disabled)))if(e.multiple){const b=i.value.slice(),S=b.findIndex(k=>k===v),_=~S;if(y=y??!_,_&&e.mandatory&&b.length<=1||!_&&e.max!=null&&b.length+1>e.max)return;S<0&&y?b.push(v):S>=0&&!y&&b.splice(S,1),i.value=b}else{const b=i.value.includes(v);if(e.mandatory&&b)return;i.value=y??!b?[v]:[]}}function m(v){if(e.multiple,i.value.length){const y=i.value[0],w=o.findIndex(_=>_.id===y);let b=(w+v)%o.length,S=o[b];for(;S.disabled&&b!==w;)b=(b+v)%o.length,S=o[b];if(S.disabled)return;i.value=[o[b].id]}else{const y=o.find(w=>!w.disabled);y&&(i.value=[y.id])}}const g={register:a,unregister:u,selected:i,select:f,disabled:toRef(e,"disabled"),prev:()=>m(o.length-1),next:()=>m(1),isSelected:v=>i.value.includes(v),selectedClass:computed(()=>e.selectedClass),items:computed(()=>o),getItemIndex:v=>getItemIndex(o,v)};return provide(t,g),g}function getItemIndex(e,t){const r=getIds(e,[t]);return r.length?e.findIndex(o=>o.id===r[0]):-1}function getIds(e,t){const r=[];return t.forEach(o=>{const i=e.find(a=>deepEqual(o,a.value)),c=e[o];(i==null?void 0:i.value)!=null?r.push(i.id):c!=null&&r.push(c.id)}),r}function getValues(e,t){const r=[];return t.forEach(o=>{const i=e.findIndex(c=>c.id===o);if(~i){const c=e[i];r.push(c.value!=null?c.value:i)}}),r}const VBtnToggleSymbol=Symbol.for("vuetify:v-btn-toggle"),makeVBtnToggleProps=propsFactory({...makeVBtnGroupProps(),...makeGroupProps()},"VBtnToggle");genericComponent()({name:"VBtnToggle",props:makeVBtnToggleProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;const{isSelected:o,next:i,prev:c,select:a,selected:u}=useGroup(e,VBtnToggleSymbol);return useRender(()=>{const d=VBtnGroup.filterProps(e);return createVNode(VBtnGroup,mergeProps({class:["v-btn-toggle",e.class]},d,{style:e.style}),{default:()=>{var f;return[(f=r.default)==null?void 0:f.call(r,{isSelected:o,next:i,prev:c,select:a,selected:u})]}})}),{next:i,prev:c,select:a}}});function useIntersectionObserver(e,t){const r=ref(),o=shallowRef(!1);if(SUPPORTS_INTERSECTION){const i=new IntersectionObserver(c=>{e==null||e(c,i),o.value=!!c.find(a=>a.isIntersecting)},t);onBeforeUnmount(()=>{i.disconnect()}),watch(r,(c,a)=>{a&&(i.unobserve(a),o.value=!1),c&&i.observe(c)},{flush:"post"})}return{intersectionRef:r,isIntersecting:o}}function useResizeObserver(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"content";const r=ref(),o=ref();if(IN_BROWSER){const i=new ResizeObserver(c=>{e==null||e(c,i),c.length&&(t==="content"?o.value=c[0].contentRect:o.value=c[0].target.getBoundingClientRect())});onBeforeUnmount(()=>{i.disconnect()}),watch(r,(c,a)=>{a&&(i.unobserve(refElement(a)),o.value=void 0),c&&i.observe(refElement(c))},{flush:"post"})}return{resizeRef:r,contentRect:readonly(o)}}const makeVProgressCircularProps=propsFactory({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...makeComponentProps(),...makeSizeProps(),...makeTagProps({tag:"div"}),...makeThemeProps()},"VProgressCircular"),VProgressCircular=genericComponent()({name:"VProgressCircular",props:makeVProgressCircularProps(),setup(e,t){let{slots:r}=t;const o=20,i=2*Math.PI*o,c=ref(),{themeClasses:a}=provideTheme(e),{sizeClasses:u,sizeStyles:d}=useSize(e),{textColorClasses:f,textColorStyles:m}=useTextColor(toRef(e,"color")),{textColorClasses:g,textColorStyles:v}=useTextColor(toRef(e,"bgColor")),{intersectionRef:y,isIntersecting:w}=useIntersectionObserver(),{resizeRef:b,contentRect:S}=useResizeObserver(),_=computed(()=>Math.max(0,Math.min(100,parseFloat(e.modelValue)))),k=computed(()=>Number(e.width)),C=computed(()=>d.value?Number(e.size):S.value?S.value.width:Math.max(k.value,32)),T=computed(()=>o/(1-k.value/C.value)*2),x=computed(()=>k.value/C.value*T.value),R=computed(()=>convertToUnit((100-_.value)/100*i));return watchEffect(()=>{y.value=c.value,b.value=c.value}),useRender(()=>createVNode(e.tag,{ref:c,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!e.indeterminate,"v-progress-circular--visible":w.value,"v-progress-circular--disable-shrink":e.indeterminate==="disable-shrink"},a.value,u.value,f.value,e.class],style:[d.value,m.value,e.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e.indeterminate?void 0:_.value},{default:()=>[createVNode("svg",{style:{transform:`rotate(calc(-90deg + ${Number(e.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${T.value} ${T.value}`},[createVNode("circle",{class:["v-progress-circular__underlay",g.value],style:v.value,fill:"transparent",cx:"50%",cy:"50%",r:o,"stroke-width":x.value,"stroke-dasharray":i,"stroke-dashoffset":0},null),createVNode("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:o,"stroke-width":x.value,"stroke-dasharray":i,"stroke-dashoffset":R.value},null)]),r.default&&createVNode("div",{class:"v-progress-circular__content"},[r.default({value:_.value})])]})),{}}}),en={badge:"Badge",open:"Open",close:"Close",confirmEdit:{ok:"OK",cancel:"Cancel"},dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{itemsSelected:"{0} selected",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more",today:"Today"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"}},LANG_PREFIX="$vuetify.",replace=(e,t)=>e.replace(/\{(\d+)\}/g,(r,o)=>String(t[+o])),createTranslateFunction=(e,t,r)=>function(o){for(var i=arguments.length,c=new Array(i>1?i-1:0),a=1;a<i;a++)c[a-1]=arguments[a];if(!o.startsWith(LANG_PREFIX))return replace(o,c);const u=o.replace(LANG_PREFIX,""),d=e.value&&r.value[e.value],f=t.value&&r.value[t.value];let m=getObjectValueByPath(d,u,null);return m||(`${o}${e.value}`,m=getObjectValueByPath(f,u,null)),m||(m=o),typeof m!="string"&&(m=o),replace(m,c)};function createNumberFunction(e,t){return(r,o)=>new Intl.NumberFormat([e.value,t.value],o).format(r)}function useProvided(e,t,r){const o=useProxiedModel(e,t,e[t]??r.value);return o.value=e[t]??r.value,watch(r,i=>{e[t]==null&&(o.value=r.value)}),o}function createProvideFunction(e){return t=>{const r=useProvided(t,"locale",e.current),o=useProvided(t,"fallback",e.fallback),i=useProvided(t,"messages",e.messages);return{name:"vuetify",current:r,fallback:o,messages:i,t:createTranslateFunction(r,o,i),n:createNumberFunction(r,o),provide:createProvideFunction({current:r,fallback:o,messages:i})}}}function createVuetifyAdapter(e){const t=shallowRef((e==null?void 0:e.locale)??"en"),r=shallowRef((e==null?void 0:e.fallback)??"en"),o=ref({en,...e==null?void 0:e.messages});return{name:"vuetify",current:t,fallback:r,messages:o,t:createTranslateFunction(t,r,o),n:createNumberFunction(t,r),provide:createProvideFunction({current:t,fallback:r,messages:o})}}const LocaleSymbol=Symbol.for("vuetify:locale");function isLocaleInstance(e){return e.name!=null}function createLocale(e){const t=e!=null&&e.adapter&&isLocaleInstance(e==null?void 0:e.adapter)?e==null?void 0:e.adapter:createVuetifyAdapter(e),r=createRtl(t,e);return{...t,...r}}function useLocale(){const e=inject$1(LocaleSymbol);if(!e)throw new Error("[Vuetify] Could not find injected locale instance");return e}function genDefaults$1(){return{af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,km:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1}}function createRtl(e,t){const r=ref((t==null?void 0:t.rtl)??genDefaults$1()),o=computed(()=>r.value[e.current.value]??!1);return{isRtl:o,rtl:r,rtlClasses:computed(()=>`v-locale--is-${o.value?"rtl":"ltr"}`)}}function useRtl(){const e=inject$1(LocaleSymbol);if(!e)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:e.isRtl,rtlClasses:e.rtlClasses}}const oppositeMap={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},makeLocationProps=propsFactory({location:String},"location");function useLocation(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=arguments.length>2?arguments[2]:void 0;const{isRtl:o}=useRtl();return{locationStyles:computed(()=>{if(!e.location)return{};const{side:c,align:a}=parseAnchor(e.location.split(" ").length>1?e.location:`${e.location} center`,o.value);function u(f){return r?r(f):0}const d={};return c!=="center"&&(t?d[oppositeMap[c]]=`calc(100% - ${u(c)}px)`:d[c]=0),a!=="center"?t?d[oppositeMap[a]]=`calc(100% - ${u(a)}px)`:d[a]=0:(c==="center"?d.top=d.left="50%":d[{top:"left",bottom:"left",left:"top",right:"top"}[c]]="50%",d.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[c]),d})}}const makeVProgressLinearProps=propsFactory({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...makeComponentProps(),...makeLocationProps({location:"top"}),...makeRoundedProps(),...makeTagProps(),...makeThemeProps()},"VProgressLinear"),VProgressLinear=genericComponent()({name:"VProgressLinear",props:makeVProgressLinearProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;const o=useProxiedModel(e,"modelValue"),{isRtl:i,rtlClasses:c}=useRtl(),{themeClasses:a}=provideTheme(e),{locationStyles:u}=useLocation(e),{textColorClasses:d,textColorStyles:f}=useTextColor(e,"color"),{backgroundColorClasses:m,backgroundColorStyles:g}=useBackgroundColor(computed(()=>e.bgColor||e.color)),{backgroundColorClasses:v,backgroundColorStyles:y}=useBackgroundColor(e,"color"),{roundedClasses:w}=useRounded(e),{intersectionRef:b,isIntersecting:S}=useIntersectionObserver(),_=computed(()=>parseInt(e.max,10)),k=computed(()=>parseInt(e.height,10)),C=computed(()=>parseFloat(e.bufferValue)/_.value*100),T=computed(()=>parseFloat(o.value)/_.value*100),x=computed(()=>i.value!==e.reverse),R=computed(()=>e.indeterminate?"fade-transition":"slide-x-transition"),O=computed(()=>e.bgOpacity==null?e.bgOpacity:parseFloat(e.bgOpacity));function A(N){if(!b.value)return;const{left:E,right:P,width:V}=b.value.getBoundingClientRect(),D=x.value?V-N.clientX+(P-V):N.clientX-E;o.value=Math.round(D/V*_.value)}return useRender(()=>createVNode(e.tag,{ref:b,class:["v-progress-linear",{"v-progress-linear--absolute":e.absolute,"v-progress-linear--active":e.active&&S.value,"v-progress-linear--reverse":x.value,"v-progress-linear--rounded":e.rounded,"v-progress-linear--rounded-bar":e.roundedBar,"v-progress-linear--striped":e.striped},w.value,a.value,c.value,e.class],style:[{bottom:e.location==="bottom"?0:void 0,top:e.location==="top"?0:void 0,height:e.active?convertToUnit(k.value):0,"--v-progress-linear-height":convertToUnit(k.value),...u.value},e.style],role:"progressbar","aria-hidden":e.active?"false":"true","aria-valuemin":"0","aria-valuemax":e.max,"aria-valuenow":e.indeterminate?void 0:T.value,onClick:e.clickable&&A},{default:()=>[e.stream&&createVNode("div",{key:"stream",class:["v-progress-linear__stream",d.value],style:{...f.value,[x.value?"left":"right"]:convertToUnit(-k.value),borderTop:`${convertToUnit(k.value/2)} dotted`,opacity:O.value,top:`calc(50% - ${convertToUnit(k.value/4)})`,width:convertToUnit(100-C.value,"%"),"--v-progress-linear-stream-to":convertToUnit(k.value*(x.value?1:-1))}},null),createVNode("div",{class:["v-progress-linear__background",m.value],style:[g.value,{opacity:O.value,width:convertToUnit(e.stream?C.value:100,"%")}]},null),createVNode(Transition,{name:R.value},{default:()=>[e.indeterminate?createVNode("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(N=>createVNode("div",{key:N,class:["v-progress-linear__indeterminate",N,v.value],style:y.value},null))]):createVNode("div",{class:["v-progress-linear__determinate",v.value],style:[y.value,{width:convertToUnit(T.value,"%")}]},null)]}),r.default&&createVNode("div",{class:"v-progress-linear__content"},[r.default({value:T.value,buffer:C.value})])]})),{}}}),makeLoaderProps=propsFactory({loading:[Boolean,String]},"loader");function useLoader(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName();return{loaderClasses:computed(()=>({[`${t}--loading`]:e.loading}))}}function LoaderSlot(e,t){var o;let{slots:r}=t;return createVNode("div",{class:`${e.name}__loader`},[((o=r.default)==null?void 0:o.call(r,{color:e.color,isActive:e.active}))||createVNode(VProgressLinear,{absolute:e.absolute,active:e.active,color:e.color,height:"2",indeterminate:!0},null)])}const positionValues=["static","relative","fixed","absolute","sticky"],makePositionProps=propsFactory({position:{type:String,validator:e=>positionValues.includes(e)}},"position");function usePosition(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName();return{positionClasses:computed(()=>e.position?`${t}--${e.position}`:void 0)}}function useRoute(){const e=getCurrentInstance("useRoute");return computed(()=>{var t;return(t=e==null?void 0:e.proxy)==null?void 0:t.$route})}function useRouter(){var e,t;return(t=(e=getCurrentInstance("useRouter"))==null?void 0:e.proxy)==null?void 0:t.$router}function useLink(e,t){const r=resolveDynamicComponent("RouterLink"),o=computed(()=>!!(e.href||e.to)),i=computed(()=>(o==null?void 0:o.value)||hasEvent(t,"click")||hasEvent(e,"click"));if(typeof r=="string")return{isLink:o,isClickable:i,href:toRef(e,"href")};const c=e.to?r.useLink(e):void 0,a=useRoute();return{isLink:o,isClickable:i,route:c==null?void 0:c.route,navigate:c==null?void 0:c.navigate,isActive:c&&computed(()=>{var u,d,f;return e.exact?a.value?((f=c.isExactActive)==null?void 0:f.value)&&deepEqual(c.route.value.query,a.value.query):(d=c.isExactActive)==null?void 0:d.value:(u=c.isActive)==null?void 0:u.value}),href:computed(()=>e.to?c==null?void 0:c.route.value.href:e.href)}}const makeRouterProps=propsFactory({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let inTransition=!1;function useBackButton(e,t){let r=!1,o,i;IN_BROWSER&&(nextTick(()=>{window.addEventListener("popstate",c),o=e==null?void 0:e.beforeEach((a,u,d)=>{inTransition?r?t(d):d():setTimeout(()=>r?t(d):d()),inTransition=!0}),i=e==null?void 0:e.afterEach(()=>{inTransition=!1})}),onScopeDispose(()=>{window.removeEventListener("popstate",c),o==null||o(),i==null||i()}));function c(a){var u;(u=a.state)!=null&&u.replaced||(r=!0,setTimeout(()=>r=!1))}}function useSelectLink(e,t){watch(()=>{var r;return(r=e.isActive)==null?void 0:r.value},r=>{e.isLink.value&&r&&t&&nextTick(()=>{t(!0)})},{immediate:!0})}const stopSymbol=Symbol("rippleStop"),DELAY_RIPPLE=80;function transform(e,t){e.style.transform=t,e.style.webkitTransform=t}function isTouchEvent(e){return e.constructor.name==="TouchEvent"}function isKeyboardEvent(e){return e.constructor.name==="KeyboardEvent"}const calculate=function(e,t){var g;let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=0,i=0;if(!isKeyboardEvent(e)){const v=t.getBoundingClientRect(),y=isTouchEvent(e)?e.touches[e.touches.length-1]:e;o=y.clientX-v.left,i=y.clientY-v.top}let c=0,a=.3;(g=t._ripple)!=null&&g.circle?(a=.15,c=t.clientWidth/2,c=r.center?c:c+Math.sqrt((o-c)**2+(i-c)**2)/4):c=Math.sqrt(t.clientWidth**2+t.clientHeight**2)/2;const u=`${(t.clientWidth-c*2)/2}px`,d=`${(t.clientHeight-c*2)/2}px`,f=r.center?u:`${o-c}px`,m=r.center?d:`${i-c}px`;return{radius:c,scale:a,x:f,y:m,centerX:u,centerY:d}},ripples={show(e,t){var y;let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((y=t==null?void 0:t._ripple)!=null&&y.enabled))return;const o=document.createElement("span"),i=document.createElement("span");o.appendChild(i),o.className="v-ripple__container",r.class&&(o.className+=` ${r.class}`);const{radius:c,scale:a,x:u,y:d,centerX:f,centerY:m}=calculate(e,t,r),g=`${c*2}px`;i.className="v-ripple__animation",i.style.width=g,i.style.height=g,t.appendChild(o);const v=window.getComputedStyle(t);v&&v.position==="static"&&(t.style.position="relative",t.dataset.previousPosition="static"),i.classList.add("v-ripple__animation--enter"),i.classList.add("v-ripple__animation--visible"),transform(i,`translate(${u}, ${d}) scale3d(${a},${a},${a})`),i.dataset.activated=String(performance.now()),setTimeout(()=>{i.classList.remove("v-ripple__animation--enter"),i.classList.add("v-ripple__animation--in"),transform(i,`translate(${f}, ${m}) scale3d(1,1,1)`)},0)},hide(e){var c;if(!((c=e==null?void 0:e._ripple)!=null&&c.enabled))return;const t=e.getElementsByClassName("v-ripple__animation");if(t.length===0)return;const r=t[t.length-1];if(r.dataset.isHiding)return;r.dataset.isHiding="true";const o=performance.now()-Number(r.dataset.activated),i=Math.max(250-o,0);setTimeout(()=>{r.classList.remove("v-ripple__animation--in"),r.classList.add("v-ripple__animation--out"),setTimeout(()=>{var u;e.getElementsByClassName("v-ripple__animation").length===1&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),((u=r.parentNode)==null?void 0:u.parentNode)===e&&e.removeChild(r.parentNode)},300)},i)}};function isRippleEnabled(e){return typeof e>"u"||!!e}function rippleShow(e){const t={},r=e.currentTarget;if(!(!(r!=null&&r._ripple)||r._ripple.touched||e[stopSymbol])){if(e[stopSymbol]=!0,isTouchEvent(e))r._ripple.touched=!0,r._ripple.isTouch=!0;else if(r._ripple.isTouch)return;if(t.center=r._ripple.centered||isKeyboardEvent(e),r._ripple.class&&(t.class=r._ripple.class),isTouchEvent(e)){if(r._ripple.showTimerCommit)return;r._ripple.showTimerCommit=()=>{ripples.show(e,r,t)},r._ripple.showTimer=window.setTimeout(()=>{var o;(o=r==null?void 0:r._ripple)!=null&&o.showTimerCommit&&(r._ripple.showTimerCommit(),r._ripple.showTimerCommit=null)},DELAY_RIPPLE)}else ripples.show(e,r,t)}}function rippleStop(e){e[stopSymbol]=!0}function rippleHide(e){const t=e.currentTarget;if(t!=null&&t._ripple){if(window.clearTimeout(t._ripple.showTimer),e.type==="touchend"&&t._ripple.showTimerCommit){t._ripple.showTimerCommit(),t._ripple.showTimerCommit=null,t._ripple.showTimer=window.setTimeout(()=>{rippleHide(e)});return}window.setTimeout(()=>{t._ripple&&(t._ripple.touched=!1)}),ripples.hide(t)}}function rippleCancelShow(e){const t=e.currentTarget;t!=null&&t._ripple&&(t._ripple.showTimerCommit&&(t._ripple.showTimerCommit=null),window.clearTimeout(t._ripple.showTimer))}let keyboardRipple=!1;function keyboardRippleShow(e){!keyboardRipple&&(e.keyCode===keyCodes.enter||e.keyCode===keyCodes.space)&&(keyboardRipple=!0,rippleShow(e))}function keyboardRippleHide(e){keyboardRipple=!1,rippleHide(e)}function focusRippleHide(e){keyboardRipple&&(keyboardRipple=!1,rippleHide(e))}function updateRipple(e,t,r){const{value:o,modifiers:i}=t,c=isRippleEnabled(o);if(c||ripples.hide(e),e._ripple=e._ripple??{},e._ripple.enabled=c,e._ripple.centered=i.center,e._ripple.circle=i.circle,isObject(o)&&o.class&&(e._ripple.class=o.class),c&&!r){if(i.stop){e.addEventListener("touchstart",rippleStop,{passive:!0}),e.addEventListener("mousedown",rippleStop);return}e.addEventListener("touchstart",rippleShow,{passive:!0}),e.addEventListener("touchend",rippleHide,{passive:!0}),e.addEventListener("touchmove",rippleCancelShow,{passive:!0}),e.addEventListener("touchcancel",rippleHide),e.addEventListener("mousedown",rippleShow),e.addEventListener("mouseup",rippleHide),e.addEventListener("mouseleave",rippleHide),e.addEventListener("keydown",keyboardRippleShow),e.addEventListener("keyup",keyboardRippleHide),e.addEventListener("blur",focusRippleHide),e.addEventListener("dragstart",rippleHide,{passive:!0})}else!c&&r&&removeListeners(e)}function removeListeners(e){e.removeEventListener("mousedown",rippleShow),e.removeEventListener("touchstart",rippleShow),e.removeEventListener("touchend",rippleHide),e.removeEventListener("touchmove",rippleCancelShow),e.removeEventListener("touchcancel",rippleHide),e.removeEventListener("mouseup",rippleHide),e.removeEventListener("mouseleave",rippleHide),e.removeEventListener("keydown",keyboardRippleShow),e.removeEventListener("keyup",keyboardRippleHide),e.removeEventListener("dragstart",rippleHide),e.removeEventListener("blur",focusRippleHide)}function mounted$1(e,t){updateRipple(e,t,!1)}function unmounted$1(e){delete e._ripple,removeListeners(e)}function updated(e,t){if(t.value===t.oldValue)return;const r=isRippleEnabled(t.oldValue);updateRipple(e,t,r)}const Ripple={mounted:mounted$1,unmounted:unmounted$1,updated},makeVBtnProps=propsFactory({active:{type:Boolean,default:void 0},symbol:{type:null,default:VBtnToggleSymbol},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:IconValue,appendIcon:IconValue,block:Boolean,slim:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...makeBorderProps(),...makeComponentProps(),...makeDensityProps(),...makeDimensionProps(),...makeElevationProps(),...makeGroupItemProps(),...makeLoaderProps(),...makeLocationProps(),...makePositionProps(),...makeRoundedProps(),...makeRouterProps(),...makeSizeProps(),...makeTagProps({tag:"button"}),...makeThemeProps(),...makeVariantProps({variant:"elevated"})},"VBtn"),VBtn=genericComponent()({name:"VBtn",directives:{Ripple},props:makeVBtnProps(),emits:{"group:selected":e=>!0},setup(e,t){let{attrs:r,slots:o}=t;const{themeClasses:i}=provideTheme(e),{borderClasses:c}=useBorder(e),{colorClasses:a,colorStyles:u,variantClasses:d}=useVariant(e),{densityClasses:f}=useDensity(e),{dimensionStyles:m}=useDimension(e),{elevationClasses:g}=useElevation(e),{loaderClasses:v}=useLoader(e),{locationStyles:y}=useLocation(e),{positionClasses:w}=usePosition(e),{roundedClasses:b}=useRounded(e),{sizeClasses:S,sizeStyles:_}=useSize(e),k=useGroupItem(e,e.symbol,!1),C=useLink(e,r),T=computed(()=>{var N;return e.active!==void 0?e.active:C.isLink.value?(N=C.isActive)==null?void 0:N.value:k==null?void 0:k.isSelected.value}),x=computed(()=>(k==null?void 0:k.disabled.value)||e.disabled),R=computed(()=>e.variant==="elevated"&&!(e.disabled||e.flat||e.border)),O=computed(()=>{if(!(e.value===void 0||typeof e.value=="symbol"))return Object(e.value)===e.value?JSON.stringify(e.value,null,0):e.value});function A(N){var E;x.value||C.isLink.value&&(N.metaKey||N.ctrlKey||N.shiftKey||N.button!==0||r.target==="_blank")||((E=C.navigate)==null||E.call(C,N),k==null||k.toggle())}return useSelectLink(C,k==null?void 0:k.select),useRender(()=>{var F,B;const N=C.isLink.value?"a":e.tag,E=!!(e.prependIcon||o.prepend),P=!!(e.appendIcon||o.append),V=!!(e.icon&&e.icon!==!0),D=(k==null?void 0:k.isSelected.value)&&(!C.isLink.value||((F=C.isActive)==null?void 0:F.value))||!k||((B=C.isActive)==null?void 0:B.value);return withDirectives(createVNode(N,{type:N==="a"?void 0:"button",class:["v-btn",k==null?void 0:k.selectedClass.value,{"v-btn--active":T.value,"v-btn--block":e.block,"v-btn--disabled":x.value,"v-btn--elevated":R.value,"v-btn--flat":e.flat,"v-btn--icon":!!e.icon,"v-btn--loading":e.loading,"v-btn--slim":e.slim,"v-btn--stacked":e.stacked},i.value,c.value,D?a.value:void 0,f.value,g.value,v.value,w.value,b.value,S.value,d.value,e.class],style:[D?u.value:void 0,m.value,y.value,_.value,e.style],disabled:x.value||void 0,href:C.href.value,onClick:A,value:O.value},{default:()=>{var $;return[genOverlays(!0,"v-btn"),!e.icon&&E&&createVNode("span",{key:"prepend",class:"v-btn__prepend"},[o.prepend?createVNode(VDefaultsProvider,{key:"prepend-defaults",disabled:!e.prependIcon,defaults:{VIcon:{icon:e.prependIcon}}},o.prepend):createVNode(VIcon,{key:"prepend-icon",icon:e.prependIcon},null)]),createVNode("span",{class:"v-btn__content","data-no-activator":""},[!o.default&&V?createVNode(VIcon,{key:"content-icon",icon:e.icon},null):createVNode(VDefaultsProvider,{key:"content-defaults",disabled:!V,defaults:{VIcon:{icon:e.icon}}},{default:()=>{var U;return[((U=o.default)==null?void 0:U.call(o))??e.text]}})]),!e.icon&&P&&createVNode("span",{key:"append",class:"v-btn__append"},[o.append?createVNode(VDefaultsProvider,{key:"append-defaults",disabled:!e.appendIcon,defaults:{VIcon:{icon:e.appendIcon}}},o.append):createVNode(VIcon,{key:"append-icon",icon:e.appendIcon},null)]),!!e.loading&&createVNode("span",{key:"loader",class:"v-btn__loader"},[(($=o.loader)==null?void 0:$.call(o))??createVNode(VProgressCircular,{color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0,size:"23",width:"2"},null)])]}}),[[resolveDirective("ripple"),!x.value&&e.ripple,null]])}),{group:k}}}),VCardActions=genericComponent()({name:"VCardActions",props:makeComponentProps(),setup(e,t){let{slots:r}=t;return provideDefaults({VBtn:{slim:!0,variant:"text"}}),useRender(()=>{var o;return createVNode("div",{class:["v-card-actions",e.class],style:e.style},[(o=r.default)==null?void 0:o.call(r)])}),{}}}),VCardSubtitle=createSimpleFunctional("v-card-subtitle"),VCardTitle=createSimpleFunctional("v-card-title"),makeCardItemProps=propsFactory({appendAvatar:String,appendIcon:IconValue,prependAvatar:String,prependIcon:IconValue,subtitle:[String,Number],title:[String,Number],...makeComponentProps(),...makeDensityProps()},"VCardItem"),VCardItem=genericComponent()({name:"VCardItem",props:makeCardItemProps(),setup(e,t){let{slots:r}=t;return useRender(()=>{var f;const o=!!(e.prependAvatar||e.prependIcon),i=!!(o||r.prepend),c=!!(e.appendAvatar||e.appendIcon),a=!!(c||r.append),u=!!(e.title!=null||r.title),d=!!(e.subtitle!=null||r.subtitle);return createVNode("div",{class:["v-card-item",e.class],style:e.style},[i&&createVNode("div",{key:"prepend",class:"v-card-item__prepend"},[r.prepend?createVNode(VDefaultsProvider,{key:"prepend-defaults",disabled:!o,defaults:{VAvatar:{density:e.density,image:e.prependAvatar},VIcon:{density:e.density,icon:e.prependIcon}}},r.prepend):createVNode(Fragment,null,[e.prependAvatar&&createVNode(VAvatar,{key:"prepend-avatar",density:e.density,image:e.prependAvatar},null),e.prependIcon&&createVNode(VIcon,{key:"prepend-icon",density:e.density,icon:e.prependIcon},null)])]),createVNode("div",{class:"v-card-item__content"},[u&&createVNode(VCardTitle,{key:"title"},{default:()=>{var m;return[((m=r.title)==null?void 0:m.call(r))??e.title]}}),d&&createVNode(VCardSubtitle,{key:"subtitle"},{default:()=>{var m;return[((m=r.subtitle)==null?void 0:m.call(r))??e.subtitle]}}),(f=r.default)==null?void 0:f.call(r)]),a&&createVNode("div",{key:"append",class:"v-card-item__append"},[r.append?createVNode(VDefaultsProvider,{key:"append-defaults",disabled:!c,defaults:{VAvatar:{density:e.density,image:e.appendAvatar},VIcon:{density:e.density,icon:e.appendIcon}}},r.append):createVNode(Fragment,null,[e.appendIcon&&createVNode(VIcon,{key:"append-icon",density:e.density,icon:e.appendIcon},null),e.appendAvatar&&createVNode(VAvatar,{key:"append-avatar",density:e.density,image:e.appendAvatar},null)])])])}),{}}}),VCardText=createSimpleFunctional("v-card-text"),makeVCardProps=propsFactory({appendAvatar:String,appendIcon:IconValue,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:IconValue,ripple:{type:[Boolean,Object],default:!0},subtitle:[String,Number],text:[String,Number],title:[String,Number],...makeBorderProps(),...makeComponentProps(),...makeDensityProps(),...makeDimensionProps(),...makeElevationProps(),...makeLoaderProps(),...makeLocationProps(),...makePositionProps(),...makeRoundedProps(),...makeRouterProps(),...makeTagProps(),...makeThemeProps(),...makeVariantProps({variant:"elevated"})},"VCard"),VCard=genericComponent()({name:"VCard",directives:{Ripple},props:makeVCardProps(),setup(e,t){let{attrs:r,slots:o}=t;const{themeClasses:i}=provideTheme(e),{borderClasses:c}=useBorder(e),{colorClasses:a,colorStyles:u,variantClasses:d}=useVariant(e),{densityClasses:f}=useDensity(e),{dimensionStyles:m}=useDimension(e),{elevationClasses:g}=useElevation(e),{loaderClasses:v}=useLoader(e),{locationStyles:y}=useLocation(e),{positionClasses:w}=usePosition(e),{roundedClasses:b}=useRounded(e),S=useLink(e,r),_=computed(()=>e.link!==!1&&S.isLink.value),k=computed(()=>!e.disabled&&e.link!==!1&&(e.link||S.isClickable.value));return useRender(()=>{const C=_.value?"a":e.tag,T=!!(o.title||e.title!=null),x=!!(o.subtitle||e.subtitle!=null),R=T||x,O=!!(o.append||e.appendAvatar||e.appendIcon),A=!!(o.prepend||e.prependAvatar||e.prependIcon),N=!!(o.image||e.image),E=R||A||O,P=!!(o.text||e.text!=null);return withDirectives(createVNode(C,{class:["v-card",{"v-card--disabled":e.disabled,"v-card--flat":e.flat,"v-card--hover":e.hover&&!(e.disabled||e.flat),"v-card--link":k.value},i.value,c.value,a.value,f.value,g.value,v.value,w.value,b.value,d.value,e.class],style:[u.value,m.value,y.value,e.style],href:S.href.value,onClick:k.value&&S.navigate,tabindex:e.disabled?-1:void 0},{default:()=>{var V;return[N&&createVNode("div",{key:"image",class:"v-card__image"},[o.image?createVNode(VDefaultsProvider,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},o.image):createVNode(VImg,{key:"image-img",cover:!0,src:e.image},null)]),createVNode(LoaderSlot,{name:"v-card",active:!!e.loading,color:typeof e.loading=="boolean"?void 0:e.loading},{default:o.loader}),E&&createVNode(VCardItem,{key:"item",prependAvatar:e.prependAvatar,prependIcon:e.prependIcon,title:e.title,subtitle:e.subtitle,appendAvatar:e.appendAvatar,appendIcon:e.appendIcon},{default:o.item,prepend:o.prepend,title:o.title,subtitle:o.subtitle,append:o.append}),P&&createVNode(VCardText,{key:"text"},{default:()=>{var D;return[((D=o.text)==null?void 0:D.call(o))??e.text]}}),(V=o.default)==null?void 0:V.call(o),o.actions&&createVNode(VCardActions,null,{default:o.actions}),genOverlays(k.value,"v-card")]}}),[[resolveDirective("ripple"),k.value&&e.ripple]])}),{}}}),makeTransitionProps=propsFactory({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function createCssTransition(e,t,r){return genericComponent()({name:e,props:makeTransitionProps({mode:r,origin:t}),setup(o,i){let{slots:c}=i;const a={onBeforeEnter(u){o.origin&&(u.style.transformOrigin=o.origin)},onLeave(u){if(o.leaveAbsolute){const{offsetTop:d,offsetLeft:f,offsetWidth:m,offsetHeight:g}=u;u._transitionInitialStyles={position:u.style.position,top:u.style.top,left:u.style.left,width:u.style.width,height:u.style.height},u.style.position="absolute",u.style.top=`${d}px`,u.style.left=`${f}px`,u.style.width=`${m}px`,u.style.height=`${g}px`}o.hideOnLeave&&u.style.setProperty("display","none","important")},onAfterLeave(u){if(o.leaveAbsolute&&(u!=null&&u._transitionInitialStyles)){const{position:d,top:f,left:m,width:g,height:v}=u._transitionInitialStyles;delete u._transitionInitialStyles,u.style.position=d||"",u.style.top=f||"",u.style.left=m||"",u.style.width=g||"",u.style.height=v||""}}};return()=>{const u=o.group?TransitionGroup:Transition;return h(u,{name:o.disabled?"":e,css:!o.disabled,...o.group?void 0:{mode:o.mode},...o.disabled?{}:a},c.default)}}})}function createJavascriptTransition(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return genericComponent()({name:e,props:{mode:{type:String,default:r},disabled:Boolean},setup(o,i){let{slots:c}=i;return()=>h(Transition,{name:o.disabled?"":e,css:!o.disabled,...o.disabled?{}:t},c.default)}})}function ExpandTransitionGenerator(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const r=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)?"width":"height",o=camelize(`offset-${r}`);return{onBeforeEnter(a){a._parent=a.parentNode,a._initialStyle={transition:a.style.transition,overflow:a.style.overflow,[r]:a.style[r]}},onEnter(a){const u=a._initialStyle;a.style.setProperty("transition","none","important"),a.style.overflow="hidden";const d=`${a[o]}px`;a.style[r]="0",a.offsetHeight,a.style.transition=u.transition,e&&a._parent&&a._parent.classList.add(e),requestAnimationFrame(()=>{a.style[r]=d})},onAfterEnter:c,onEnterCancelled:c,onLeave(a){a._initialStyle={transition:"",overflow:a.style.overflow,[r]:a.style[r]},a.style.overflow="hidden",a.style[r]=`${a[o]}px`,a.offsetHeight,requestAnimationFrame(()=>a.style[r]="0")},onAfterLeave:i,onLeaveCancelled:i};function i(a){e&&a._parent&&a._parent.classList.remove(e),c(a)}function c(a){const u=a._initialStyle[r];a.style.overflow=a._initialStyle.overflow,u!=null&&(a.style[r]=u),delete a._initialStyle}}const makeVDialogTransitionProps=propsFactory({target:[Object,Array]},"v-dialog-transition"),VDialogTransition=genericComponent()({name:"VDialogTransition",props:makeVDialogTransitionProps(),setup(e,t){let{slots:r}=t;const o={onBeforeEnter(i){i.style.pointerEvents="none",i.style.visibility="hidden"},async onEnter(i,c){var v;await new Promise(y=>requestAnimationFrame(y)),await new Promise(y=>requestAnimationFrame(y)),i.style.visibility="";const{x:a,y:u,sx:d,sy:f,speed:m}=getDimensions(e.target,i),g=animate(i,[{transform:`translate(${a}px, ${u}px) scale(${d}, ${f})`,opacity:0},{}],{duration:225*m,easing:deceleratedEasing});(v=getChildren(i))==null||v.forEach(y=>{animate(y,[{opacity:0},{opacity:0,offset:.33},{}],{duration:225*2*m,easing:standardEasing})}),g.finished.then(()=>c())},onAfterEnter(i){i.style.removeProperty("pointer-events")},onBeforeLeave(i){i.style.pointerEvents="none"},async onLeave(i,c){var v;await new Promise(y=>requestAnimationFrame(y));const{x:a,y:u,sx:d,sy:f,speed:m}=getDimensions(e.target,i);animate(i,[{},{transform:`translate(${a}px, ${u}px) scale(${d}, ${f})`,opacity:0}],{duration:125*m,easing:acceleratedEasing}).finished.then(()=>c()),(v=getChildren(i))==null||v.forEach(y=>{animate(y,[{},{opacity:0,offset:.2},{opacity:0}],{duration:125*2*m,easing:standardEasing})})},onAfterLeave(i){i.style.removeProperty("pointer-events")}};return()=>e.target?createVNode(Transition,mergeProps({name:"dialog-transition"},o,{css:!1}),r):createVNode(Transition,{name:"dialog-transition"},r)}});function getChildren(e){var r;const t=(r=e.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list"))==null?void 0:r.children;return t&&[...t]}function getDimensions(e,t){const r=getTargetBox(e),o=nullifyTransforms(t),[i,c]=getComputedStyle(t).transformOrigin.split(" ").map(_=>parseFloat(_)),[a,u]=getComputedStyle(t).getPropertyValue("--v-overlay-anchor-origin").split(" ");let d=r.left+r.width/2;a==="left"||u==="left"?d-=r.width/2:(a==="right"||u==="right")&&(d+=r.width/2);let f=r.top+r.height/2;a==="top"||u==="top"?f-=r.height/2:(a==="bottom"||u==="bottom")&&(f+=r.height/2);const m=r.width/o.width,g=r.height/o.height,v=Math.max(1,m,g),y=m/v||0,w=g/v||0,b=o.width*o.height/(window.innerWidth*window.innerHeight),S=b>.12?Math.min(1.5,(b-.12)*10+1):1;return{x:d-(i+o.left),y:f-(c+o.top),sx:y,sy:w,speed:S}}createCssTransition("fab-transition","center center","out-in");createCssTransition("dialog-bottom-transition");createCssTransition("dialog-top-transition");const VFadeTransition=createCssTransition("fade-transition");createCssTransition("scale-transition");createCssTransition("scroll-x-transition");createCssTransition("scroll-x-reverse-transition");createCssTransition("scroll-y-transition");createCssTransition("scroll-y-reverse-transition");createCssTransition("slide-x-transition");createCssTransition("slide-x-reverse-transition");const VSlideYTransition=createCssTransition("slide-y-transition");createCssTransition("slide-y-reverse-transition");const VExpandTransition=createJavascriptTransition("expand-transition",ExpandTransitionGenerator()),VExpandXTransition=createJavascriptTransition("expand-x-transition",ExpandTransitionGenerator("",!0)),breakpoints=["sm","md","lg","xl","xxl"],DisplaySymbol=Symbol.for("vuetify:display"),defaultDisplayOptions={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},parseDisplayOptions=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:defaultDisplayOptions;return mergeDeep(defaultDisplayOptions,e)};function getClientWidth(e){return IN_BROWSER&&!e?window.innerWidth:typeof e=="object"&&e.clientWidth||0}function getClientHeight(e){return IN_BROWSER&&!e?window.innerHeight:typeof e=="object"&&e.clientHeight||0}function getPlatform(e){const t=IN_BROWSER&&!e?window.navigator.userAgent:"ssr";function r(w){return!!t.match(w)}const o=r(/android/i),i=r(/iphone|ipad|ipod/i),c=r(/cordova/i),a=r(/electron/i),u=r(/chrome/i),d=r(/edge/i),f=r(/firefox/i),m=r(/opera/i),g=r(/win/i),v=r(/mac/i),y=r(/linux/i);return{android:o,ios:i,cordova:c,electron:a,chrome:u,edge:d,firefox:f,opera:m,win:g,mac:v,linux:y,touch:SUPPORTS_TOUCH,ssr:t==="ssr"}}function createDisplay(e,t){const{thresholds:r,mobileBreakpoint:o}=parseDisplayOptions(e),i=shallowRef(getClientHeight(t)),c=shallowRef(getPlatform(t)),a=reactive({}),u=shallowRef(getClientWidth(t));function d(){i.value=getClientHeight(),u.value=getClientWidth()}function f(){d(),c.value=getPlatform()}return watchEffect(()=>{const m=u.value<r.sm,g=u.value<r.md&&!m,v=u.value<r.lg&&!(g||m),y=u.value<r.xl&&!(v||g||m),w=u.value<r.xxl&&!(y||v||g||m),b=u.value>=r.xxl,S=m?"xs":g?"sm":v?"md":y?"lg":w?"xl":"xxl",_=typeof o=="number"?o:r[o],k=u.value<_;a.xs=m,a.sm=g,a.md=v,a.lg=y,a.xl=w,a.xxl=b,a.smAndUp=!m,a.mdAndUp=!(m||g),a.lgAndUp=!(m||g||v),a.xlAndUp=!(m||g||v||y),a.smAndDown=!(v||y||w||b),a.mdAndDown=!(y||w||b),a.lgAndDown=!(w||b),a.xlAndDown=!b,a.name=S,a.height=i.value,a.width=u.value,a.mobile=k,a.mobileBreakpoint=o,a.platform=c.value,a.thresholds=r}),IN_BROWSER&&window.addEventListener("resize",d,{passive:!0}),{...toRefs(a),update:f,ssr:!!t}}const makeDisplayProps=propsFactory({mobileBreakpoint:[Number,String]},"display");function useDisplay(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName();const r=inject$1(DisplaySymbol);if(!r)throw new Error("Could not find Vuetify display injection");const o=computed(()=>{if(!e.mobileBreakpoint)return r.mobile.value;const c=typeof e.mobileBreakpoint=="number"?e.mobileBreakpoint:r.thresholds.value[e.mobileBreakpoint];return r.width.value<c}),i=computed(()=>t?{[`${t}--mobile`]:o.value}:{});return{...r,displayClasses:i,mobile:o}}function bias(e){const r=Math.abs(e);return Math.sign(e)*(r/((1/.501-2)*(1-r)+1))}function calculateUpdatedOffset(e){let{selectedElement:t,containerSize:r,contentSize:o,isRtl:i,currentScrollOffset:c,isHorizontal:a}=e;const u=a?t.clientWidth:t.clientHeight,d=a?t.offsetLeft:t.offsetTop,f=i&&a?o-d-u:d,m=r+c,g=u+f,v=u*.4;return f<=c?c=Math.max(f-v,0):m<=g&&(c=Math.min(c-(m-g-v),o-r)),c}function calculateCenteredOffset(e){let{selectedElement:t,containerSize:r,contentSize:o,isRtl:i,isHorizontal:c}=e;const a=c?t.clientWidth:t.clientHeight,u=c?t.offsetLeft:t.offsetTop,d=i&&c?o-u-a/2-r/2:u+a/2-r/2;return Math.min(o-r,Math.max(0,d))}const VSlideGroupSymbol=Symbol.for("vuetify:v-slide-group"),makeVSlideGroupProps=propsFactory({centerActive:Boolean,direction:{type:String,default:"horizontal"},symbol:{type:null,default:VSlideGroupSymbol},nextIcon:{type:IconValue,default:"$next"},prevIcon:{type:IconValue,default:"$prev"},showArrows:{type:[Boolean,String],validator:e=>typeof e=="boolean"||["always","desktop","mobile"].includes(e)},...makeComponentProps(),...makeDisplayProps(),...makeTagProps(),...makeGroupProps({selectedClass:"v-slide-group-item--active"})},"VSlideGroup"),VSlideGroup=genericComponent()({name:"VSlideGroup",props:makeVSlideGroupProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;const{isRtl:o}=useRtl(),{displayClasses:i,mobile:c}=useDisplay(e),a=useGroup(e,e.symbol),u=shallowRef(!1),d=shallowRef(0),f=shallowRef(0),m=shallowRef(0),g=computed(()=>e.direction==="horizontal"),{resizeRef:v,contentRect:y}=useResizeObserver(),{resizeRef:w,contentRect:b}=useResizeObserver(),S=computed(()=>a.selected.value.length?a.items.value.findIndex(te=>te.id===a.selected.value[0]):-1),_=computed(()=>a.selected.value.length?a.items.value.findIndex(te=>te.id===a.selected.value[a.selected.value.length-1]):-1);if(IN_BROWSER){let te=-1;watch(()=>[a.selected.value,y.value,b.value,g.value],()=>{cancelAnimationFrame(te),te=requestAnimationFrame(()=>{if(y.value&&b.value){const W=g.value?"width":"height";f.value=y.value[W],m.value=b.value[W],u.value=f.value+1<m.value}if(S.value>=0&&w.value){const W=w.value.children[_.value];S.value===0||!u.value?d.value=0:e.centerActive?d.value=calculateCenteredOffset({selectedElement:W,containerSize:f.value,contentSize:m.value,isRtl:o.value,isHorizontal:g.value}):u.value&&(d.value=calculateUpdatedOffset({selectedElement:W,containerSize:f.value,contentSize:m.value,isRtl:o.value,currentScrollOffset:d.value,isHorizontal:g.value}))}})})}const k=shallowRef(!1);let C=0,T=0;function x(te){const W=g.value?"clientX":"clientY";T=(o.value&&g.value?-1:1)*d.value,C=te.touches[0][W],k.value=!0}function R(te){if(!u.value)return;const W=g.value?"clientX":"clientY",j=o.value&&g.value?-1:1;d.value=j*(T+C-te.touches[0][W])}function O(te){const W=m.value-f.value;d.value<0||!u.value?d.value=0:d.value>=W&&(d.value=W),k.value=!1}function A(){v.value&&(v.value[g.value?"scrollLeft":"scrollTop"]=0)}const N=shallowRef(!1);function E(te){if(N.value=!0,!(!u.value||!w.value)){for(const W of te.composedPath())for(const j of w.value.children)if(j===W){d.value=calculateUpdatedOffset({selectedElement:j,containerSize:f.value,contentSize:m.value,isRtl:o.value,currentScrollOffset:d.value,isHorizontal:g.value});return}}}function P(te){N.value=!1}function V(te){var W;!N.value&&!(te.relatedTarget&&((W=w.value)!=null&&W.contains(te.relatedTarget)))&&F()}function D(te){w.value&&(g.value?te.key==="ArrowRight"?F(o.value?"prev":"next"):te.key==="ArrowLeft"&&F(o.value?"next":"prev"):te.key==="ArrowDown"?F("next"):te.key==="ArrowUp"&&F("prev"),te.key==="Home"?F("first"):te.key==="End"&&F("last"))}function F(te){var W,j,le,me,ce;if(w.value)if(!te)(W=focusableChildren(w.value)[0])==null||W.focus();else if(te==="next"){const q=(j=w.value.querySelector(":focus"))==null?void 0:j.nextElementSibling;q?q.focus():F("first")}else if(te==="prev"){const q=(le=w.value.querySelector(":focus"))==null?void 0:le.previousElementSibling;q?q.focus():F("last")}else te==="first"?(me=w.value.firstElementChild)==null||me.focus():te==="last"&&((ce=w.value.lastElementChild)==null||ce.focus())}function B(te){const W=d.value+(te==="prev"?-1:1)*f.value;d.value=clamp(W,0,m.value-f.value)}const $=computed(()=>{let te=d.value>m.value-f.value?-(m.value-f.value)+bias(m.value-f.value-d.value):-d.value;d.value<=0&&(te=bias(-d.value));const W=o.value&&g.value?-1:1;return{transform:`translate${g.value?"X":"Y"}(${W*te}px)`,transition:k.value?"none":"",willChange:k.value?"transform":""}}),U=computed(()=>({next:a.next,prev:a.prev,select:a.select,isSelected:a.isSelected})),M=computed(()=>{switch(e.showArrows){case"always":return!0;case"desktop":return!c.value;case!0:return u.value||Math.abs(d.value)>0;case"mobile":return c.value||u.value||Math.abs(d.value)>0;default:return!c.value&&(u.value||Math.abs(d.value)>0)}}),Z=computed(()=>Math.abs(d.value)>0),Q=computed(()=>m.value>Math.abs(d.value)+f.value);return useRender(()=>createVNode(e.tag,{class:["v-slide-group",{"v-slide-group--vertical":!g.value,"v-slide-group--has-affixes":M.value,"v-slide-group--is-overflowing":u.value},i.value,e.class],style:e.style,tabindex:N.value||a.selected.value.length?-1:0,onFocus:V},{default:()=>{var te,W,j;return[M.value&&createVNode("div",{key:"prev",class:["v-slide-group__prev",{"v-slide-group__prev--disabled":!Z.value}],onClick:()=>Z.value&&B("prev")},[((te=r.prev)==null?void 0:te.call(r,U.value))??createVNode(VFadeTransition,null,{default:()=>[createVNode(VIcon,{icon:o.value?e.nextIcon:e.prevIcon},null)]})]),createVNode("div",{key:"container",ref:v,class:"v-slide-group__container",onScroll:A},[createVNode("div",{ref:w,class:"v-slide-group__content",style:$.value,onTouchstartPassive:x,onTouchmovePassive:R,onTouchendPassive:O,onFocusin:E,onFocusout:P,onKeydown:D},[(W=r.default)==null?void 0:W.call(r,U.value)])]),M.value&&createVNode("div",{key:"next",class:["v-slide-group__next",{"v-slide-group__next--disabled":!Q.value}],onClick:()=>Q.value&&B("next")},[((j=r.next)==null?void 0:j.call(r,U.value))??createVNode(VFadeTransition,null,{default:()=>[createVNode(VIcon,{icon:o.value?e.prevIcon:e.nextIcon},null)]})])]}})),{selected:a.selected,scrollTo:B,scrollOffset:d,focus:F}}}),VChipGroupSymbol=Symbol.for("vuetify:v-chip-group"),makeVChipGroupProps=propsFactory({column:Boolean,filter:Boolean,valueComparator:{type:Function,default:deepEqual},...makeVSlideGroupProps(),...makeComponentProps(),...makeGroupProps({selectedClass:"v-chip--selected"}),...makeTagProps(),...makeThemeProps(),...makeVariantProps({variant:"tonal"})},"VChipGroup"),VChipGroup=genericComponent()({name:"VChipGroup",props:makeVChipGroupProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;const{themeClasses:o}=provideTheme(e),{isSelected:i,select:c,next:a,prev:u,selected:d}=useGroup(e,VChipGroupSymbol);return provideDefaults({VChip:{color:toRef(e,"color"),disabled:toRef(e,"disabled"),filter:toRef(e,"filter"),variant:toRef(e,"variant")}}),useRender(()=>{const f=VSlideGroup.filterProps(e);return createVNode(VSlideGroup,mergeProps(f,{class:["v-chip-group",{"v-chip-group--column":e.column},o.value,e.class],style:e.style}),{default:()=>{var m;return[(m=r.default)==null?void 0:m.call(r,{isSelected:i,select:c,next:a,prev:u,selected:d.value})]}})}),{}}}),makeVChipProps=propsFactory({activeClass:String,appendAvatar:String,appendIcon:IconValue,closable:Boolean,closeIcon:{type:IconValue,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:String,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:IconValue,ripple:{type:[Boolean,Object],default:!0},text:String,modelValue:{type:Boolean,default:!0},onClick:EventProp(),onClickOnce:EventProp(),...makeBorderProps(),...makeComponentProps(),...makeDensityProps(),...makeElevationProps(),...makeGroupItemProps(),...makeRoundedProps(),...makeRouterProps(),...makeSizeProps(),...makeTagProps({tag:"span"}),...makeThemeProps(),...makeVariantProps({variant:"tonal"})},"VChip"),VChip=genericComponent()({name:"VChip",directives:{Ripple},props:makeVChipProps(),emits:{"click:close":e=>!0,"update:modelValue":e=>!0,"group:selected":e=>!0,click:e=>!0},setup(e,t){let{attrs:r,emit:o,slots:i}=t;const{t:c}=useLocale(),{borderClasses:a}=useBorder(e),{colorClasses:u,colorStyles:d,variantClasses:f}=useVariant(e),{densityClasses:m}=useDensity(e),{elevationClasses:g}=useElevation(e),{roundedClasses:v}=useRounded(e),{sizeClasses:y}=useSize(e),{themeClasses:w}=provideTheme(e),b=useProxiedModel(e,"modelValue"),S=useGroupItem(e,VChipGroupSymbol,!1),_=useLink(e,r),k=computed(()=>e.link!==!1&&_.isLink.value),C=computed(()=>!e.disabled&&e.link!==!1&&(!!S||e.link||_.isClickable.value)),T=computed(()=>({"aria-label":c(e.closeLabel),onClick(O){O.stopPropagation(),b.value=!1,o("click:close",O)}}));function x(O){var A;o("click",O),C.value&&((A=_.navigate)==null||A.call(_,O),S==null||S.toggle())}function R(O){(O.key==="Enter"||O.key===" ")&&(O.preventDefault(),x(O))}return()=>{const O=_.isLink.value?"a":e.tag,A=!!(e.appendIcon||e.appendAvatar),N=!!(A||i.append),E=!!(i.close||e.closable),P=!!(i.filter||e.filter)&&S,V=!!(e.prependIcon||e.prependAvatar),D=!!(V||i.prepend),F=!S||S.isSelected.value;return b.value&&withDirectives(createVNode(O,{class:["v-chip",{"v-chip--disabled":e.disabled,"v-chip--label":e.label,"v-chip--link":C.value,"v-chip--filter":P,"v-chip--pill":e.pill},w.value,a.value,F?u.value:void 0,m.value,g.value,v.value,y.value,f.value,S==null?void 0:S.selectedClass.value,e.class],style:[F?d.value:void 0,e.style],disabled:e.disabled||void 0,draggable:e.draggable,href:_.href.value,tabindex:C.value?0:void 0,onClick:x,onKeydown:C.value&&!k.value&&R},{default:()=>{var B;return[genOverlays(C.value,"v-chip"),P&&createVNode(VExpandXTransition,{key:"filter"},{default:()=>[withDirectives(createVNode("div",{class:"v-chip__filter"},[i.filter?createVNode(VDefaultsProvider,{key:"filter-defaults",disabled:!e.filterIcon,defaults:{VIcon:{icon:e.filterIcon}}},i.filter):createVNode(VIcon,{key:"filter-icon",icon:e.filterIcon},null)]),[[vShow,S.isSelected.value]])]}),D&&createVNode("div",{key:"prepend",class:"v-chip__prepend"},[i.prepend?createVNode(VDefaultsProvider,{key:"prepend-defaults",disabled:!V,defaults:{VAvatar:{image:e.prependAvatar,start:!0},VIcon:{icon:e.prependIcon,start:!0}}},i.prepend):createVNode(Fragment,null,[e.prependIcon&&createVNode(VIcon,{key:"prepend-icon",icon:e.prependIcon,start:!0},null),e.prependAvatar&&createVNode(VAvatar,{key:"prepend-avatar",image:e.prependAvatar,start:!0},null)])]),createVNode("div",{class:"v-chip__content","data-no-activator":""},[((B=i.default)==null?void 0:B.call(i,{isSelected:S==null?void 0:S.isSelected.value,selectedClass:S==null?void 0:S.selectedClass.value,select:S==null?void 0:S.select,toggle:S==null?void 0:S.toggle,value:S==null?void 0:S.value.value,disabled:e.disabled}))??e.text]),N&&createVNode("div",{key:"append",class:"v-chip__append"},[i.append?createVNode(VDefaultsProvider,{key:"append-defaults",disabled:!A,defaults:{VAvatar:{end:!0,image:e.appendAvatar},VIcon:{end:!0,icon:e.appendIcon}}},i.append):createVNode(Fragment,null,[e.appendIcon&&createVNode(VIcon,{key:"append-icon",end:!0,icon:e.appendIcon},null),e.appendAvatar&&createVNode(VAvatar,{key:"append-avatar",end:!0,image:e.appendAvatar},null)])]),E&&createVNode("button",mergeProps({key:"close",class:"v-chip__close",type:"button"},T.value),[i.close?createVNode(VDefaultsProvider,{key:"close-defaults",defaults:{VIcon:{icon:e.closeIcon,size:"x-small"}}},i.close):createVNode(VIcon,{key:"close-icon",icon:e.closeIcon,size:"x-small"},null)])]}}),[[resolveDirective("ripple"),C.value&&e.ripple,null]])}}});function elementToViewport(e,t){return{x:e.x+t.x,y:e.y+t.y}}function getOffset(e,t){return{x:e.x-t.x,y:e.y-t.y}}function anchorToPoint(e,t){if(e.side==="top"||e.side==="bottom"){const{side:r,align:o}=e,i=o==="left"?0:o==="center"?t.width/2:o==="right"?t.width:o,c=r==="top"?0:r==="bottom"?t.height:r;return elementToViewport({x:i,y:c},t)}else if(e.side==="left"||e.side==="right"){const{side:r,align:o}=e,i=r==="left"?0:r==="right"?t.width:r,c=o==="top"?0:o==="center"?t.height/2:o==="bottom"?t.height:o;return elementToViewport({x:i,y:c},t)}return elementToViewport({x:t.width/2,y:t.height/2},t)}const locationStrategies={static:staticLocationStrategy,connected:connectedLocationStrategy},makeLocationStrategyProps=propsFactory({locationStrategy:{type:[String,Function],default:"static",validator:e=>typeof e=="function"||e in locationStrategies},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function useLocationStrategies(e,t){const r=ref({}),o=ref();IN_BROWSER&&useToggleScope(()=>!!(t.isActive.value&&e.locationStrategy),c=>{var a,u;watch(()=>e.locationStrategy,c),onScopeDispose(()=>{window.removeEventListener("resize",i),o.value=void 0}),window.addEventListener("resize",i,{passive:!0}),typeof e.locationStrategy=="function"?o.value=(a=e.locationStrategy(t,e,r))==null?void 0:a.updateLocation:o.value=(u=locationStrategies[e.locationStrategy](t,e,r))==null?void 0:u.updateLocation});function i(c){var a;(a=o.value)==null||a.call(o,c)}return{contentStyles:r,updateLocation:o}}function staticLocationStrategy(){}function getIntrinsicSize(e,t){t?e.style.removeProperty("left"):e.style.removeProperty("right");const r=nullifyTransforms(e);return t?r.x+=parseFloat(e.style.right||0):r.x-=parseFloat(e.style.left||0),r.y-=parseFloat(e.style.top||0),r}function connectedLocationStrategy(e,t,r){(Array.isArray(e.target.value)||isFixedPosition(e.target.value))&&Object.assign(r.value,{position:"fixed",top:0,[e.isRtl.value?"right":"left"]:0});const{preferredAnchor:i,preferredOrigin:c}=destructComputed(()=>{const w=parseAnchor(t.location,e.isRtl.value),b=t.origin==="overlap"?w:t.origin==="auto"?flipSide(w):parseAnchor(t.origin,e.isRtl.value);return w.side===b.side&&w.align===flipAlign(b).align?{preferredAnchor:flipCorner(w),preferredOrigin:flipCorner(b)}:{preferredAnchor:w,preferredOrigin:b}}),[a,u,d,f]=["minWidth","minHeight","maxWidth","maxHeight"].map(w=>computed(()=>{const b=parseFloat(t[w]);return isNaN(b)?1/0:b})),m=computed(()=>{if(Array.isArray(t.offset))return t.offset;if(typeof t.offset=="string"){const w=t.offset.split(" ").map(parseFloat);return w.length<2&&w.push(0),w}return typeof t.offset=="number"?[t.offset,0]:[0,0]});let g=!1;const v=new ResizeObserver(()=>{g&&y()});watch([e.target,e.contentEl],(w,b)=>{let[S,_]=w,[k,C]=b;k&&!Array.isArray(k)&&v.unobserve(k),S&&!Array.isArray(S)&&v.observe(S),C&&v.unobserve(C),_&&v.observe(_)},{immediate:!0}),onScopeDispose(()=>{v.disconnect()});function y(){if(g=!1,requestAnimationFrame(()=>g=!0),!e.target.value||!e.contentEl.value)return;const w=getTargetBox(e.target.value),b=getIntrinsicSize(e.contentEl.value,e.isRtl.value),S=getScrollParents(e.contentEl.value),_=12;S.length||(S.push(document.documentElement),e.contentEl.value.style.top&&e.contentEl.value.style.left||(b.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),b.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const k=S.reduce((P,V)=>{const D=V.getBoundingClientRect(),F=new Box({x:V===document.documentElement?0:D.x,y:V===document.documentElement?0:D.y,width:V.clientWidth,height:V.clientHeight});return P?new Box({x:Math.max(P.left,F.left),y:Math.max(P.top,F.top),width:Math.min(P.right,F.right)-Math.max(P.left,F.left),height:Math.min(P.bottom,F.bottom)-Math.max(P.top,F.top)}):F},void 0);k.x+=_,k.y+=_,k.width-=_*2,k.height-=_*2;let C={anchor:i.value,origin:c.value};function T(P){const V=new Box(b),D=anchorToPoint(P.anchor,w),F=anchorToPoint(P.origin,V);let{x:B,y:$}=getOffset(D,F);switch(P.anchor.side){case"top":$-=m.value[0];break;case"bottom":$+=m.value[0];break;case"left":B-=m.value[0];break;case"right":B+=m.value[0];break}switch(P.anchor.align){case"top":$-=m.value[1];break;case"bottom":$+=m.value[1];break;case"left":B-=m.value[1];break;case"right":B+=m.value[1];break}return V.x+=B,V.y+=$,V.width=Math.min(V.width,d.value),V.height=Math.min(V.height,f.value),{overflows:getOverflow(V,k),x:B,y:$}}let x=0,R=0;const O={x:0,y:0},A={x:!1,y:!1};let N=-1;for(;!(N++>10);){const{x:P,y:V,overflows:D}=T(C);x+=P,R+=V,b.x+=P,b.y+=V;{const F=getAxis(C.anchor),B=D.x.before||D.x.after,$=D.y.before||D.y.after;let U=!1;if(["x","y"].forEach(M=>{if(M==="x"&&B&&!A.x||M==="y"&&$&&!A.y){const Z={anchor:{...C.anchor},origin:{...C.origin}},Q=M==="x"?F==="y"?flipAlign:flipSide:F==="y"?flipSide:flipAlign;Z.anchor=Q(Z.anchor),Z.origin=Q(Z.origin);const{overflows:te}=T(Z);(te[M].before<=D[M].before&&te[M].after<=D[M].after||te[M].before+te[M].after<(D[M].before+D[M].after)/2)&&(C=Z,U=A[M]=!0)}}),U)continue}D.x.before&&(x+=D.x.before,b.x+=D.x.before),D.x.after&&(x-=D.x.after,b.x-=D.x.after),D.y.before&&(R+=D.y.before,b.y+=D.y.before),D.y.after&&(R-=D.y.after,b.y-=D.y.after);{const F=getOverflow(b,k);O.x=k.width-F.x.before-F.x.after,O.y=k.height-F.y.before-F.y.after,x+=F.x.before,b.x+=F.x.before,R+=F.y.before,b.y+=F.y.before}break}const E=getAxis(C.anchor);return Object.assign(r.value,{"--v-overlay-anchor-origin":`${C.anchor.side} ${C.anchor.align}`,transformOrigin:`${C.origin.side} ${C.origin.align}`,top:convertToUnit(pixelRound(R)),left:e.isRtl.value?void 0:convertToUnit(pixelRound(x)),right:e.isRtl.value?convertToUnit(pixelRound(-x)):void 0,minWidth:convertToUnit(E==="y"?Math.min(a.value,w.width):a.value),maxWidth:convertToUnit(pixelCeil(clamp(O.x,a.value===1/0?0:a.value,d.value))),maxHeight:convertToUnit(pixelCeil(clamp(O.y,u.value===1/0?0:u.value,f.value)))}),{available:O,contentBox:b}}return watch(()=>[i.value,c.value,t.offset,t.minWidth,t.minHeight,t.maxWidth,t.maxHeight],()=>y()),nextTick(()=>{const w=y();if(!w)return;const{available:b,contentBox:S}=w;S.height>b.y&&requestAnimationFrame(()=>{y(),requestAnimationFrame(()=>{y()})})}),{updateLocation:y}}function pixelRound(e){return Math.round(e*devicePixelRatio)/devicePixelRatio}function pixelCeil(e){return Math.ceil(e*devicePixelRatio)/devicePixelRatio}let clean=!0;const frames=[];function requestNewFrame(e){!clean||frames.length?(frames.push(e),run()):(clean=!1,e(),run())}let raf=-1;function run(){cancelAnimationFrame(raf),raf=requestAnimationFrame(()=>{const e=frames.shift();e&&e(),frames.length?run():clean=!0})}const scrollStrategies={none:null,close:closeScrollStrategy,block:blockScrollStrategy,reposition:repositionScrollStrategy},makeScrollStrategyProps=propsFactory({scrollStrategy:{type:[String,Function],default:"block",validator:e=>typeof e=="function"||e in scrollStrategies}},"VOverlay-scroll-strategies");function useScrollStrategies(e,t){if(!IN_BROWSER)return;let r;watchEffect(async()=>{r==null||r.stop(),t.isActive.value&&e.scrollStrategy&&(r=effectScope(),await new Promise(o=>setTimeout(o)),r.active&&r.run(()=>{var o;typeof e.scrollStrategy=="function"?e.scrollStrategy(t,e,r):(o=scrollStrategies[e.scrollStrategy])==null||o.call(scrollStrategies,t,e,r)}))}),onScopeDispose(()=>{r==null||r.stop()})}function closeScrollStrategy(e){function t(r){e.isActive.value=!1}bindScroll(e.targetEl.value??e.contentEl.value,t)}function blockScrollStrategy(e,t){var a;const r=(a=e.root.value)==null?void 0:a.offsetParent,o=[...new Set([...getScrollParents(e.targetEl.value,t.contained?r:void 0),...getScrollParents(e.contentEl.value,t.contained?r:void 0)])].filter(u=>!u.classList.contains("v-overlay-scroll-blocked")),i=window.innerWidth-document.documentElement.offsetWidth,c=(u=>hasScrollbar(u)&&u)(r||document.documentElement);c&&e.root.value.classList.add("v-overlay--scroll-blocked"),o.forEach((u,d)=>{u.style.setProperty("--v-body-scroll-x",convertToUnit(-u.scrollLeft)),u.style.setProperty("--v-body-scroll-y",convertToUnit(-u.scrollTop)),u!==document.documentElement&&u.style.setProperty("--v-scrollbar-offset",convertToUnit(i)),u.classList.add("v-overlay-scroll-blocked")}),onScopeDispose(()=>{o.forEach((u,d)=>{const f=parseFloat(u.style.getPropertyValue("--v-body-scroll-x")),m=parseFloat(u.style.getPropertyValue("--v-body-scroll-y")),g=u.style.scrollBehavior;u.style.scrollBehavior="auto",u.style.removeProperty("--v-body-scroll-x"),u.style.removeProperty("--v-body-scroll-y"),u.style.removeProperty("--v-scrollbar-offset"),u.classList.remove("v-overlay-scroll-blocked"),u.scrollLeft=-f,u.scrollTop=-m,u.style.scrollBehavior=g}),c&&e.root.value.classList.remove("v-overlay--scroll-blocked")})}function repositionScrollStrategy(e,t,r){let o=!1,i=-1,c=-1;function a(u){requestNewFrame(()=>{var m,g;const d=performance.now();(g=(m=e.updateLocation).value)==null||g.call(m,u),o=(performance.now()-d)/(1e3/60)>2})}c=(typeof requestIdleCallback>"u"?u=>u():requestIdleCallback)(()=>{r.run(()=>{bindScroll(e.targetEl.value??e.contentEl.value,u=>{o?(cancelAnimationFrame(i),i=requestAnimationFrame(()=>{i=requestAnimationFrame(()=>{a(u)})})):a(u)})})}),onScopeDispose(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(c),cancelAnimationFrame(i)})}function bindScroll(e,t){const r=[document,...getScrollParents(e)];r.forEach(o=>{o.addEventListener("scroll",t,{passive:!0})}),onScopeDispose(()=>{r.forEach(o=>{o.removeEventListener("scroll",t)})})}const VMenuSymbol=Symbol.for("vuetify:v-menu"),makeDelayProps=propsFactory({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function useDelay(e,t){let r=()=>{};function o(a){r==null||r();const u=Number(a?e.openDelay:e.closeDelay);return new Promise(d=>{r=defer(u,()=>{t==null||t(a),d(a)})})}function i(){return o(!0)}function c(){return o(!1)}return{clearDelay:r,runOpenDelay:i,runCloseDelay:c}}const makeActivatorProps=propsFactory({target:[String,Object],activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...makeDelayProps()},"VOverlay-activator");function useActivator(e,t){let{isActive:r,isTop:o}=t;const i=getCurrentInstance("useActivator"),c=ref();let a=!1,u=!1,d=!0;const f=computed(()=>e.openOnFocus||e.openOnFocus==null&&e.openOnHover),m=computed(()=>e.openOnClick||e.openOnClick==null&&!e.openOnHover&&!f.value),{runOpenDelay:g,runCloseDelay:v}=useDelay(e,O=>{O===(e.openOnHover&&a||f.value&&u)&&!(e.openOnHover&&r.value&&!o.value)&&(r.value!==O&&(d=!0),r.value=O)}),y=ref(),w={onClick:O=>{O.stopPropagation(),c.value=O.currentTarget||O.target,r.value||(y.value=[O.clientX,O.clientY]),r.value=!r.value},onMouseenter:O=>{var A;(A=O.sourceCapabilities)!=null&&A.firesTouchEvents||(a=!0,c.value=O.currentTarget||O.target,g())},onMouseleave:O=>{a=!1,v()},onFocus:O=>{matchesSelector(O.target,":focus-visible")!==!1&&(u=!0,O.stopPropagation(),c.value=O.currentTarget||O.target,g())},onBlur:O=>{u=!1,O.stopPropagation(),v()}},b=computed(()=>{const O={};return m.value&&(O.onClick=w.onClick),e.openOnHover&&(O.onMouseenter=w.onMouseenter,O.onMouseleave=w.onMouseleave),f.value&&(O.onFocus=w.onFocus,O.onBlur=w.onBlur),O}),S=computed(()=>{const O={};if(e.openOnHover&&(O.onMouseenter=()=>{a=!0,g()},O.onMouseleave=()=>{a=!1,v()}),f.value&&(O.onFocusin=()=>{u=!0,g()},O.onFocusout=()=>{u=!1,v()}),e.closeOnContentClick){const A=inject$1(VMenuSymbol,null);O.onClick=()=>{r.value=!1,A==null||A.closeParents()}}return O}),_=computed(()=>{const O={};return e.openOnHover&&(O.onMouseenter=()=>{d&&(a=!0,d=!1,g())},O.onMouseleave=()=>{a=!1,v()}),O});watch(o,O=>{O&&(e.openOnHover&&!a&&(!f.value||!u)||f.value&&!u&&(!e.openOnHover||!a))&&(r.value=!1)}),watch(r,O=>{O||setTimeout(()=>{y.value=void 0})},{flush:"post"});const k=ref();watchEffect(()=>{k.value&&nextTick(()=>{c.value=refElement(k.value)})});const C=ref(),T=computed(()=>e.target==="cursor"&&y.value?y.value:C.value?refElement(C.value):getTarget(e.target,i)||c.value),x=computed(()=>Array.isArray(T.value)?void 0:T.value);let R;return watch(()=>!!e.activator,O=>{O&&IN_BROWSER?(R=effectScope(),R.run(()=>{_useActivator(e,i,{activatorEl:c,activatorEvents:b})})):R&&R.stop()},{flush:"post",immediate:!0}),onScopeDispose(()=>{R==null||R.stop()}),{activatorEl:c,activatorRef:k,target:T,targetEl:x,targetRef:C,activatorEvents:b,contentEvents:S,scrimEvents:_}}function _useActivator(e,t,r){let{activatorEl:o,activatorEvents:i}=r;watch(()=>e.activator,(d,f)=>{if(f&&d!==f){const m=u(f);m&&a(m)}d&&nextTick(()=>c())},{immediate:!0}),watch(()=>e.activatorProps,()=>{c()}),onScopeDispose(()=>{a()});function c(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:u(),f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;d&&bindProps(d,mergeProps(i.value,f))}function a(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:u(),f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;d&&unbindProps(d,mergeProps(i.value,f))}function u(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activator;const f=getTarget(d,t);return o.value=(f==null?void 0:f.nodeType)===Node.ELEMENT_NODE?f:void 0,o.value}}function getTarget(e,t){var o,i;if(!e)return;let r;if(e==="parent"){let c=(i=(o=t==null?void 0:t.proxy)==null?void 0:o.$el)==null?void 0:i.parentNode;for(;c!=null&&c.hasAttribute("data-no-activator");)c=c.parentNode;r=c}else typeof e=="string"?r=document.querySelector(e):"$el"in e?r=e.$el:r=e;return r}function useHydration(){if(!IN_BROWSER)return shallowRef(!1);const{ssr:e}=useDisplay();if(e){const t=shallowRef(!1);return onMounted(()=>{t.value=!0}),t}else return shallowRef(!0)}const makeLazyProps=propsFactory({eager:Boolean},"lazy");function useLazy(e,t){const r=shallowRef(!1),o=computed(()=>r.value||e.eager||t.value);watch(t,()=>r.value=!0);function i(){e.eager||(r.value=!1)}return{isBooted:r,hasContent:o,onAfterLeave:i}}function useScopeId(){const t=getCurrentInstance("useScopeId").vnode.scopeId;return{scopeId:t?{[t]:""}:void 0}}const StackSymbol=Symbol.for("vuetify:stack"),globalStack=reactive([]);function useStack(e,t,r){const o=getCurrentInstance("useStack"),i=!r,c=inject$1(StackSymbol,void 0),a=reactive({activeChildren:new Set});provide(StackSymbol,a);const u=shallowRef(+t.value);useToggleScope(e,()=>{var g;const m=(g=globalStack.at(-1))==null?void 0:g[1];u.value=m?m+10:+t.value,i&&globalStack.push([o.uid,u.value]),c==null||c.activeChildren.add(o.uid),onScopeDispose(()=>{if(i){const v=toRaw(globalStack).findIndex(y=>y[0]===o.uid);globalStack.splice(v,1)}c==null||c.activeChildren.delete(o.uid)})});const d=shallowRef(!0);i&&watchEffect(()=>{var g;const m=((g=globalStack.at(-1))==null?void 0:g[0])===o.uid;setTimeout(()=>d.value=m)});const f=computed(()=>!a.activeChildren.size);return{globalTop:readonly(d),localTop:f,stackStyles:computed(()=>({zIndex:u.value}))}}function useTeleport(e){return{teleportTarget:computed(()=>{const r=e.value;if(r===!0||!IN_BROWSER)return;const o=r===!1?document.body:typeof r=="string"?document.querySelector(r):r;if(o==null)return;let i=o.querySelector(":scope > .v-overlay-container");return i||(i=document.createElement("div"),i.className="v-overlay-container",o.appendChild(i)),i})}}function defaultConditional(){return!0}function checkEvent(e,t,r){if(!e||checkIsActive(e,r)===!1)return!1;const o=attachedRoot(t);if(typeof ShadowRoot<"u"&&o instanceof ShadowRoot&&o.host===e.target)return!1;const i=(typeof r.value=="object"&&r.value.include||(()=>[]))();return i.push(t),!i.some(c=>c==null?void 0:c.contains(e.target))}function checkIsActive(e,t){return(typeof t.value=="object"&&t.value.closeConditional||defaultConditional)(e)}function directive(e,t,r){const o=typeof r.value=="function"?r.value:r.value.handler;t._clickOutside.lastMousedownWasOutside&&checkEvent(e,t,r)&&setTimeout(()=>{checkIsActive(e,r)&&o&&o(e)},0)}function handleShadow(e,t){const r=attachedRoot(e);t(document),typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&t(r)}const ClickOutside={mounted(e,t){const r=i=>directive(i,e,t),o=i=>{e._clickOutside.lastMousedownWasOutside=checkEvent(i,e,t)};handleShadow(e,i=>{i.addEventListener("click",r,!0),i.addEventListener("mousedown",o,!0)}),e._clickOutside||(e._clickOutside={lastMousedownWasOutside:!1}),e._clickOutside[t.instance.$.uid]={onClick:r,onMousedown:o}},unmounted(e,t){e._clickOutside&&(handleShadow(e,r=>{var c;if(!r||!((c=e._clickOutside)!=null&&c[t.instance.$.uid]))return;const{onClick:o,onMousedown:i}=e._clickOutside[t.instance.$.uid];r.removeEventListener("click",o,!0),r.removeEventListener("mousedown",i,!0)}),delete e._clickOutside[t.instance.$.uid])}};function Scrim(e){const{modelValue:t,color:r,...o}=e;return createVNode(Transition,{name:"fade-transition",appear:!0},{default:()=>[e.modelValue&&createVNode("div",mergeProps({class:["v-overlay__scrim",e.color.backgroundColorClasses.value],style:e.color.backgroundColorStyles.value},o),null)]})}const makeVOverlayProps=propsFactory({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,opacity:[Number,String],noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...makeActivatorProps(),...makeComponentProps(),...makeDimensionProps(),...makeLazyProps(),...makeLocationStrategyProps(),...makeScrollStrategyProps(),...makeThemeProps(),...makeTransitionProps$1()},"VOverlay"),VOverlay=genericComponent()({name:"VOverlay",directives:{ClickOutside},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...makeVOverlayProps()},emits:{"click:outside":e=>!0,"update:modelValue":e=>!0,afterLeave:()=>!0},setup(e,t){let{slots:r,attrs:o,emit:i}=t;const c=useProxiedModel(e,"modelValue"),a=computed({get:()=>c.value,set:le=>{le&&e.disabled||(c.value=le)}}),{teleportTarget:u}=useTeleport(computed(()=>e.attach||e.contained)),{themeClasses:d}=provideTheme(e),{rtlClasses:f,isRtl:m}=useRtl(),{hasContent:g,onAfterLeave:v}=useLazy(e,a),y=useBackgroundColor(computed(()=>typeof e.scrim=="string"?e.scrim:null)),{globalTop:w,localTop:b,stackStyles:S}=useStack(a,toRef(e,"zIndex"),e._disableGlobalStack),{activatorEl:_,activatorRef:k,target:C,targetEl:T,targetRef:x,activatorEvents:R,contentEvents:O,scrimEvents:A}=useActivator(e,{isActive:a,isTop:b}),{dimensionStyles:N}=useDimension(e),E=useHydration(),{scopeId:P}=useScopeId();watch(()=>e.disabled,le=>{le&&(a.value=!1)});const V=ref(),D=ref(),F=ref(),{contentStyles:B,updateLocation:$}=useLocationStrategies(e,{isRtl:m,contentEl:F,target:C,isActive:a});useScrollStrategies(e,{root:V,contentEl:F,targetEl:T,isActive:a,updateLocation:$});function U(le){i("click:outside",le),e.persistent?W():a.value=!1}function M(le){return a.value&&w.value&&(!e.scrim||le.target===D.value)}IN_BROWSER&&watch(a,le=>{le?window.addEventListener("keydown",Z):window.removeEventListener("keydown",Z)},{immediate:!0}),onBeforeUnmount(()=>{IN_BROWSER&&window.removeEventListener("keydown",Z)});function Z(le){var me,ce;le.key==="Escape"&&w.value&&(e.persistent?W():(a.value=!1,(me=F.value)!=null&&me.contains(document.activeElement)&&((ce=_.value)==null||ce.focus())))}const Q=useRouter();useToggleScope(()=>e.closeOnBack,()=>{useBackButton(Q,le=>{w.value&&a.value?(le(!1),e.persistent?W():a.value=!1):le()})});const te=ref();watch(()=>a.value&&(e.absolute||e.contained)&&u.value==null,le=>{if(le){const me=getScrollParent(V.value);me&&me!==document.scrollingElement&&(te.value=me.scrollTop)}});function W(){e.noClickAnimation||F.value&&animate(F.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:standardEasing})}function j(){v(),i("afterLeave")}return useRender(()=>{var le;return createVNode(Fragment,null,[(le=r.activator)==null?void 0:le.call(r,{isActive:a.value,props:mergeProps({ref:k,targetRef:x},R.value,e.activatorProps)}),E.value&&g.value&&createVNode(Teleport,{disabled:!u.value,to:u.value},{default:()=>[createVNode("div",mergeProps({class:["v-overlay",{"v-overlay--absolute":e.absolute||e.contained,"v-overlay--active":a.value,"v-overlay--contained":e.contained},d.value,f.value,e.class],style:[S.value,{"--v-overlay-opacity":e.opacity,top:convertToUnit(te.value)},e.style],ref:V},P,o),[createVNode(Scrim,mergeProps({color:y,modelValue:a.value&&!!e.scrim,ref:D},A.value),null),createVNode(MaybeTransition,{appear:!0,persisted:!0,transition:e.transition,target:C.value,onAfterLeave:j},{default:()=>{var me;return[withDirectives(createVNode("div",mergeProps({ref:F,class:["v-overlay__content",e.contentClass],style:[N.value,B.value]},O.value,e.contentProps),[(me=r.default)==null?void 0:me.call(r,{isActive:a})]),[[vShow,a.value],[resolveDirective("click-outside"),{handler:U,closeConditional:M,include:()=>[_.value]}]])]}})])]})])}),{activatorEl:_,scrimEl:D,target:C,animateClick:W,contentEl:F,globalTop:w,localTop:b,updateLocation:$}}}),Refs=Symbol("Forwarded refs");function getDescriptor(e,t){let r=e;for(;r;){const o=Reflect.getOwnPropertyDescriptor(r,t);if(o)return o;r=Object.getPrototypeOf(r)}}function forwardRefs(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];return e[Refs]=r,new Proxy(e,{get(i,c){if(Reflect.has(i,c))return Reflect.get(i,c);if(!(typeof c=="symbol"||c.startsWith("$")||c.startsWith("__"))){for(const a of r)if(a.value&&Reflect.has(a.value,c)){const u=Reflect.get(a.value,c);return typeof u=="function"?u.bind(a.value):u}}},has(i,c){if(Reflect.has(i,c))return!0;if(typeof c=="symbol"||c.startsWith("$")||c.startsWith("__"))return!1;for(const a of r)if(a.value&&Reflect.has(a.value,c))return!0;return!1},set(i,c,a){if(Reflect.has(i,c))return Reflect.set(i,c,a);if(typeof c=="symbol"||c.startsWith("$")||c.startsWith("__"))return!1;for(const u of r)if(u.value&&Reflect.has(u.value,c))return Reflect.set(u.value,c,a);return!1},getOwnPropertyDescriptor(i,c){var u;const a=Reflect.getOwnPropertyDescriptor(i,c);if(a)return a;if(!(typeof c=="symbol"||c.startsWith("$")||c.startsWith("__"))){for(const d of r){if(!d.value)continue;const f=getDescriptor(d.value,c)??("_"in d.value?getDescriptor((u=d.value._)==null?void 0:u.setupState,c):void 0);if(f)return f}for(const d of r){const f=d.value&&d.value[Refs];if(!f)continue;const m=f.slice();for(;m.length;){const g=m.shift(),v=getDescriptor(g.value,c);if(v)return v;const y=g.value&&g.value[Refs];y&&m.push(...y)}}}}})}const makeVDialogProps=propsFactory({fullscreen:Boolean,retainFocus:{type:Boolean,default:!0},scrollable:Boolean,...makeVOverlayProps({origin:"center center",scrollStrategy:"block",transition:{component:VDialogTransition},zIndex:2400})},"VDialog"),VDialog=genericComponent()({name:"VDialog",props:makeVDialogProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;const o=useProxiedModel(e,"modelValue"),{scopeId:i}=useScopeId(),c=ref();function a(d){var g,v;const f=d.relatedTarget,m=d.target;if(f!==m&&((g=c.value)!=null&&g.contentEl)&&((v=c.value)!=null&&v.globalTop)&&![document,c.value.contentEl].includes(m)&&!c.value.contentEl.contains(m)){const y=focusableChildren(c.value.contentEl);if(!y.length)return;const w=y[0],b=y[y.length-1];f===w?b.focus():w.focus()}}IN_BROWSER&&watch(()=>o.value&&e.retainFocus,d=>{d?document.addEventListener("focusin",a):document.removeEventListener("focusin",a)},{immediate:!0}),watch(o,async d=>{var f,m;await nextTick(),d?(f=c.value.contentEl)==null||f.focus({preventScroll:!0}):(m=c.value.activatorEl)==null||m.focus({preventScroll:!0})});const u=computed(()=>mergeProps({"aria-haspopup":"dialog","aria-expanded":String(o.value)},e.activatorProps));return useRender(()=>{const d=VOverlay.filterProps(e);return createVNode(VOverlay,mergeProps({ref:c,class:["v-dialog",{"v-dialog--fullscreen":e.fullscreen,"v-dialog--scrollable":e.scrollable},e.class],style:e.style},d,{modelValue:o.value,"onUpdate:modelValue":f=>o.value=f,"aria-modal":"true",activatorProps:u.value,role:"dialog"},i),{activator:r.activator,default:function(){for(var f=arguments.length,m=new Array(f),g=0;g<f;g++)m[g]=arguments[g];return createVNode(VDefaultsProvider,{root:"VDialog"},{default:()=>{var v;return[(v=r.default)==null?void 0:v.call(r,...m)]}})}})}),forwardRefs({},c)}}),makeVDividerProps=propsFactory({color:String,inset:Boolean,length:[Number,String],thickness:[Number,String],vertical:Boolean,...makeComponentProps(),...makeThemeProps()},"VDivider"),VDivider=genericComponent()({name:"VDivider",props:makeVDividerProps(),setup(e,t){let{attrs:r}=t;const{themeClasses:o}=provideTheme(e),{textColorClasses:i,textColorStyles:c}=useTextColor(toRef(e,"color")),a=computed(()=>{const u={};return e.length&&(u[e.vertical?"maxHeight":"maxWidth"]=convertToUnit(e.length)),e.thickness&&(u[e.vertical?"borderRightWidth":"borderTopWidth"]=convertToUnit(e.thickness)),u});return useRender(()=>createVNode("hr",{class:[{"v-divider":!0,"v-divider--inset":e.inset,"v-divider--vertical":e.vertical},o.value,i.value,e.class],style:[a.value,c.value,e.style],"aria-orientation":!r.role||r.role==="separator"?e.vertical?"vertical":"horizontal":void 0,role:`${r.role||"separator"}`},null)),{}}}),makeVCounterProps=propsFactory({active:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...makeComponentProps(),...makeTransitionProps$1({transition:{component:VSlideYTransition}})},"VCounter"),VCounter=genericComponent()({name:"VCounter",functional:!0,props:makeVCounterProps(),setup(e,t){let{slots:r}=t;const o=computed(()=>e.max?`${e.value} / ${e.max}`:String(e.value));return useRender(()=>createVNode(MaybeTransition,{transition:e.transition},{default:()=>[withDirectives(createVNode("div",{class:["v-counter",e.class],style:e.style},[r.default?r.default({counter:o.value,max:e.max,value:e.value}):o.value]),[[vShow,e.active]])]})),{}}}),makeVLabelProps=propsFactory({text:String,onClick:EventProp(),...makeComponentProps(),...makeThemeProps()},"VLabel"),VLabel=genericComponent()({name:"VLabel",props:makeVLabelProps(),setup(e,t){let{slots:r}=t;return useRender(()=>{var o;return createVNode("label",{class:["v-label",{"v-label--clickable":!!e.onClick},e.class],style:e.style,onClick:e.onClick},[e.text,(o=r.default)==null?void 0:o.call(r)])}),{}}}),makeVFieldLabelProps=propsFactory({floating:Boolean,...makeComponentProps()},"VFieldLabel"),VFieldLabel=genericComponent()({name:"VFieldLabel",props:makeVFieldLabelProps(),setup(e,t){let{slots:r}=t;return useRender(()=>createVNode(VLabel,{class:["v-field-label",{"v-field-label--floating":e.floating},e.class],style:e.style,"aria-hidden":e.floating||void 0},r)),{}}});function useInputIcon(e){const{t}=useLocale();function r(o){let{name:i}=o;const c={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[i],a=e[`onClick:${i}`],u=a&&c?t(`$vuetify.input.${c}`,e.label??""):void 0;return createVNode(VIcon,{icon:e[`${i}Icon`],"aria-label":u,onClick:a},null)}return{InputIcon:r}}const makeFocusProps=propsFactory({focused:Boolean,"onUpdate:focused":EventProp()},"focus");function useFocus(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName();const r=useProxiedModel(e,"focused"),o=computed(()=>({[`${t}--focused`]:r.value}));function i(){r.value=!0}function c(){r.value=!1}return{focusClasses:o,isFocused:r,focus:i,blur:c}}const allowedVariants$1=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],makeVFieldProps=propsFactory({appendInnerIcon:IconValue,bgColor:String,clearable:Boolean,clearIcon:{type:IconValue,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},error:Boolean,flat:Boolean,label:String,persistentClear:Boolean,prependInnerIcon:IconValue,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:e=>allowedVariants$1.includes(e)},"onClick:clear":EventProp(),"onClick:appendInner":EventProp(),"onClick:prependInner":EventProp(),...makeComponentProps(),...makeLoaderProps(),...makeRoundedProps(),...makeThemeProps()},"VField"),VField=genericComponent()({name:"VField",inheritAttrs:!1,props:{id:String,...makeFocusProps(),...makeVFieldProps()},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{attrs:r,emit:o,slots:i}=t;const{themeClasses:c}=provideTheme(e),{loaderClasses:a}=useLoader(e),{focusClasses:u,isFocused:d,focus:f,blur:m}=useFocus(e),{InputIcon:g}=useInputIcon(e),{roundedClasses:v}=useRounded(e),{rtlClasses:y}=useRtl(),w=computed(()=>e.dirty||e.active),b=computed(()=>!e.singleLine&&!!(e.label||i.label)),S=getUid(),_=computed(()=>e.id||`input-${S}`),k=computed(()=>`${_.value}-messages`),C=ref(),T=ref(),x=ref(),R=computed(()=>["plain","underlined"].includes(e.variant)),{backgroundColorClasses:O,backgroundColorStyles:A}=useBackgroundColor(toRef(e,"bgColor")),{textColorClasses:N,textColorStyles:E}=useTextColor(computed(()=>e.error||e.disabled?void 0:w.value&&d.value?e.color:e.baseColor));watch(w,D=>{if(b.value){const F=C.value.$el,B=T.value.$el;requestAnimationFrame(()=>{const $=nullifyTransforms(F),U=B.getBoundingClientRect(),M=U.x-$.x,Z=U.y-$.y-($.height/2-U.height/2),Q=U.width/.75,te=Math.abs(Q-$.width)>1?{maxWidth:convertToUnit(Q)}:void 0,W=getComputedStyle(F),j=getComputedStyle(B),le=parseFloat(W.transitionDuration)*1e3||150,me=parseFloat(j.getPropertyValue("--v-field-label-scale")),ce=j.getPropertyValue("color");F.style.visibility="visible",B.style.visibility="hidden",animate(F,{transform:`translate(${M}px, ${Z}px) scale(${me})`,color:ce,...te},{duration:le,easing:standardEasing,direction:D?"normal":"reverse"}).finished.then(()=>{F.style.removeProperty("visibility"),B.style.removeProperty("visibility")})})}},{flush:"post"});const P=computed(()=>({isActive:w,isFocused:d,controlRef:x,blur:m,focus:f}));function V(D){D.target!==document.activeElement&&D.preventDefault()}return useRender(()=>{var M,Z,Q;const D=e.variant==="outlined",F=!!(i["prepend-inner"]||e.prependInnerIcon),B=!!(e.clearable||i.clear),$=!!(i["append-inner"]||e.appendInnerIcon||B),U=()=>i.label?i.label({...P.value,label:e.label,props:{for:_.value}}):e.label;return createVNode("div",mergeProps({class:["v-field",{"v-field--active":w.value,"v-field--appended":$,"v-field--center-affix":e.centerAffix??!R.value,"v-field--disabled":e.disabled,"v-field--dirty":e.dirty,"v-field--error":e.error,"v-field--flat":e.flat,"v-field--has-background":!!e.bgColor,"v-field--persistent-clear":e.persistentClear,"v-field--prepended":F,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!U(),[`v-field--variant-${e.variant}`]:!0},c.value,O.value,u.value,a.value,v.value,y.value,e.class],style:[A.value,e.style],onClick:V},r),[createVNode("div",{class:"v-field__overlay"},null),createVNode(LoaderSlot,{name:"v-field",active:!!e.loading,color:e.error?"error":typeof e.loading=="string"?e.loading:e.color},{default:i.loader}),F&&createVNode("div",{key:"prepend",class:"v-field__prepend-inner"},[e.prependInnerIcon&&createVNode(g,{key:"prepend-icon",name:"prependInner"},null),(M=i["prepend-inner"])==null?void 0:M.call(i,P.value)]),createVNode("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&b.value&&createVNode(VFieldLabel,{key:"floating-label",ref:T,class:[N.value],floating:!0,for:_.value,style:E.value},{default:()=>[U()]}),createVNode(VFieldLabel,{ref:C,for:_.value},{default:()=>[U()]}),(Z=i.default)==null?void 0:Z.call(i,{...P.value,props:{id:_.value,class:"v-field__input","aria-describedby":k.value},focus:f,blur:m})]),B&&createVNode(VExpandXTransition,{key:"clear"},{default:()=>[withDirectives(createVNode("div",{class:"v-field__clearable",onMousedown:te=>{te.preventDefault(),te.stopPropagation()}},[i.clear?i.clear():createVNode(g,{name:"clear"},null)]),[[vShow,e.dirty]])]}),$&&createVNode("div",{key:"append",class:"v-field__append-inner"},[(Q=i["append-inner"])==null?void 0:Q.call(i,P.value),e.appendInnerIcon&&createVNode(g,{key:"append-icon",name:"appendInner"},null)]),createVNode("div",{class:["v-field__outline",N.value],style:E.value},[D&&createVNode(Fragment,null,[createVNode("div",{class:"v-field__outline__start"},null),b.value&&createVNode("div",{class:"v-field__outline__notch"},[createVNode(VFieldLabel,{ref:T,floating:!0,for:_.value},{default:()=>[U()]})]),createVNode("div",{class:"v-field__outline__end"},null)]),R.value&&b.value&&createVNode(VFieldLabel,{ref:T,floating:!0,for:_.value},{default:()=>[U()]})])])}),{controlRef:x}}});function filterFieldProps(e){const t=Object.keys(VField.props).filter(r=>!isOn(r)&&r!=="class"&&r!=="style");return pick$1(e,t)}const makeVMessagesProps=propsFactory({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...makeComponentProps(),...makeTransitionProps$1({transition:{component:VSlideYTransition,leaveAbsolute:!0,group:!0}})},"VMessages"),VMessages=genericComponent()({name:"VMessages",props:makeVMessagesProps(),setup(e,t){let{slots:r}=t;const o=computed(()=>wrapInArray(e.messages)),{textColorClasses:i,textColorStyles:c}=useTextColor(computed(()=>e.color));return useRender(()=>createVNode(MaybeTransition,{transition:e.transition,tag:"div",class:["v-messages",i.value,e.class],style:[c.value,e.style],role:"alert","aria-live":"polite"},{default:()=>[e.active&&o.value.map((a,u)=>createVNode("div",{class:"v-messages__message",key:`${u}-${o.value}`},[r.message?r.message({message:a}):a]))]})),{}}}),FormKey=Symbol.for("vuetify:form"),makeFormProps=propsFactory({disabled:Boolean,fastFail:Boolean,readonly:Boolean,modelValue:{type:Boolean,default:null},validateOn:{type:String,default:"input"}},"form");function createForm(e){const t=useProxiedModel(e,"modelValue"),r=computed(()=>e.disabled),o=computed(()=>e.readonly),i=shallowRef(!1),c=ref([]),a=ref([]);async function u(){const m=[];let g=!0;a.value=[],i.value=!0;for(const v of c.value){const y=await v.validate();if(y.length>0&&(g=!1,m.push({id:v.id,errorMessages:y})),!g&&e.fastFail)break}return a.value=m,i.value=!1,{valid:g,errors:a.value}}function d(){c.value.forEach(m=>m.reset())}function f(){c.value.forEach(m=>m.resetValidation())}return watch(c,()=>{let m=0,g=0;const v=[];for(const y of c.value)y.isValid===!1?(g++,v.push({id:y.id,errorMessages:y.errorMessages})):y.isValid===!0&&m++;a.value=v,t.value=g>0?!1:m===c.value.length?!0:null},{deep:!0,flush:"post"}),provide(FormKey,{register:m=>{let{id:g,validate:v,reset:y,resetValidation:w}=m;c.value.some(b=>b.id===g),c.value.push({id:g,validate:v,reset:y,resetValidation:w,isValid:null,errorMessages:[]})},unregister:m=>{c.value=c.value.filter(g=>g.id!==m)},update:(m,g,v)=>{const y=c.value.find(w=>w.id===m);y&&(y.isValid=g,y.errorMessages=v)},isDisabled:r,isReadonly:o,isValidating:i,isValid:t,items:c,validateOn:toRef(e,"validateOn")}),{errors:a,isDisabled:r,isReadonly:o,isValidating:i,isValid:t,items:c,validate:u,reset:d,resetValidation:f}}function useForm(){return inject$1(FormKey,null)}const makeValidationProps=propsFactory({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...makeFocusProps()},"validation");function useValidation(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName(),r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:getUid();const o=useProxiedModel(e,"modelValue"),i=computed(()=>e.validationValue===void 0?o.value:e.validationValue),c=useForm(),a=ref([]),u=shallowRef(!0),d=computed(()=>!!(wrapInArray(o.value===""?null:o.value).length||wrapInArray(i.value===""?null:i.value).length)),f=computed(()=>!!(e.disabled??(c==null?void 0:c.isDisabled.value))),m=computed(()=>!!(e.readonly??(c==null?void 0:c.isReadonly.value))),g=computed(()=>{var T;return(T=e.errorMessages)!=null&&T.length?wrapInArray(e.errorMessages).concat(a.value).slice(0,Math.max(0,+e.maxErrors)):a.value}),v=computed(()=>{let T=(e.validateOn??(c==null?void 0:c.validateOn.value))||"input";T==="lazy"&&(T="input lazy");const x=new Set((T==null?void 0:T.split(" "))??[]);return{blur:x.has("blur")||x.has("input"),input:x.has("input"),submit:x.has("submit"),lazy:x.has("lazy")}}),y=computed(()=>{var T;return e.error||(T=e.errorMessages)!=null&&T.length?!1:e.rules.length?u.value?a.value.length||v.value.lazy?null:!0:!a.value.length:!0}),w=shallowRef(!1),b=computed(()=>({[`${t}--error`]:y.value===!1,[`${t}--dirty`]:d.value,[`${t}--disabled`]:f.value,[`${t}--readonly`]:m.value})),S=computed(()=>e.name??unref(r));onBeforeMount(()=>{c==null||c.register({id:S.value,validate:C,reset:_,resetValidation:k})}),onBeforeUnmount(()=>{c==null||c.unregister(S.value)}),onMounted(async()=>{v.value.lazy||await C(!0),c==null||c.update(S.value,y.value,g.value)}),useToggleScope(()=>v.value.input,()=>{watch(i,()=>{if(i.value!=null)C();else if(e.focused){const T=watch(()=>e.focused,x=>{x||C(),T()})}})}),useToggleScope(()=>v.value.blur,()=>{watch(()=>e.focused,T=>{T||C()})}),watch([y,g],()=>{c==null||c.update(S.value,y.value,g.value)});function _(){o.value=null,nextTick(k)}function k(){u.value=!0,v.value.lazy?a.value=[]:C(!0)}async function C(){let T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const x=[];w.value=!0;for(const R of e.rules){if(x.length>=+(e.maxErrors??1))break;const A=await(typeof R=="function"?R:()=>R)(i.value);if(A!==!0){if(A!==!1&&typeof A!="string"){console.warn(`${A} is not a valid value. Rule functions must return boolean true or a string.`);continue}x.push(A||"")}}return a.value=x,w.value=!1,u.value=T,a.value}return{errorMessages:g,isDirty:d,isDisabled:f,isReadonly:m,isPristine:u,isValid:y,isValidating:w,reset:_,resetValidation:k,validate:C,validationClasses:b}}const makeVInputProps=propsFactory({id:String,appendIcon:IconValue,centerAffix:{type:Boolean,default:!0},prependIcon:IconValue,hideDetails:[Boolean,String],hideSpinButtons:Boolean,hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:e=>["horizontal","vertical"].includes(e)},"onClick:prepend":EventProp(),"onClick:append":EventProp(),...makeComponentProps(),...makeDensityProps(),...makeValidationProps()},"VInput"),VInput=genericComponent()({name:"VInput",props:{...makeVInputProps()},emits:{"update:modelValue":e=>!0},setup(e,t){let{attrs:r,slots:o,emit:i}=t;const{densityClasses:c}=useDensity(e),{rtlClasses:a}=useRtl(),{InputIcon:u}=useInputIcon(e),d=getUid(),f=computed(()=>e.id||`input-${d}`),m=computed(()=>`${f.value}-messages`),{errorMessages:g,isDirty:v,isDisabled:y,isReadonly:w,isPristine:b,isValid:S,isValidating:_,reset:k,resetValidation:C,validate:T,validationClasses:x}=useValidation(e,"v-input",f),R=computed(()=>({id:f,messagesId:m,isDirty:v,isDisabled:y,isReadonly:w,isPristine:b,isValid:S,isValidating:_,reset:k,resetValidation:C,validate:T})),O=computed(()=>{var A;return(A=e.errorMessages)!=null&&A.length||!b.value&&g.value.length?g.value:e.hint&&(e.persistentHint||e.focused)?e.hint:e.messages});return useRender(()=>{var V,D,F,B;const A=!!(o.prepend||e.prependIcon),N=!!(o.append||e.appendIcon),E=O.value.length>0,P=!e.hideDetails||e.hideDetails==="auto"&&(E||!!o.details);return createVNode("div",{class:["v-input",`v-input--${e.direction}`,{"v-input--center-affix":e.centerAffix,"v-input--hide-spin-buttons":e.hideSpinButtons},c.value,a.value,x.value,e.class],style:e.style},[A&&createVNode("div",{key:"prepend",class:"v-input__prepend"},[(V=o.prepend)==null?void 0:V.call(o,R.value),e.prependIcon&&createVNode(u,{key:"prepend-icon",name:"prepend"},null)]),o.default&&createVNode("div",{class:"v-input__control"},[(D=o.default)==null?void 0:D.call(o,R.value)]),N&&createVNode("div",{key:"append",class:"v-input__append"},[e.appendIcon&&createVNode(u,{key:"append-icon",name:"append"},null),(F=o.append)==null?void 0:F.call(o,R.value)]),P&&createVNode("div",{class:"v-input__details"},[createVNode(VMessages,{id:m.value,active:E,messages:O.value},{message:o.message}),(B=o.details)==null?void 0:B.call(o,R.value)])])}),{reset:k,resetValidation:C,validate:T,isValid:S,errorMessages:g}}}),activeTypes=["color","file","time","date","datetime-local","week","month"],makeVTextFieldProps=propsFactory({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:[Number,Function],prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...makeVInputProps(),...makeVFieldProps()},"VTextField"),VTextField=genericComponent()({name:"VTextField",directives:{Intersect:Intersect$1},inheritAttrs:!1,props:makeVTextFieldProps(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{attrs:r,emit:o,slots:i}=t;const c=useProxiedModel(e,"modelValue"),{isFocused:a,focus:u,blur:d}=useFocus(e),f=computed(()=>typeof e.counterValue=="function"?e.counterValue(c.value):typeof e.counterValue=="number"?e.counterValue:(c.value??"").toString().length),m=computed(()=>{if(r.maxlength)return r.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter}),g=computed(()=>["plain","underlined"].includes(e.variant));function v(R,O){var A,N;!e.autofocus||!R||(N=(A=O[0].target)==null?void 0:A.focus)==null||N.call(A)}const y=ref(),w=ref(),b=ref(),S=computed(()=>activeTypes.includes(e.type)||e.persistentPlaceholder||a.value||e.active);function _(){var R;b.value!==document.activeElement&&((R=b.value)==null||R.focus()),a.value||u()}function k(R){o("mousedown:control",R),R.target!==b.value&&(_(),R.preventDefault())}function C(R){_(),o("click:control",R)}function T(R){R.stopPropagation(),_(),nextTick(()=>{c.value=null,callEvent(e["onClick:clear"],R)})}function x(R){var A;const O=R.target;if(c.value=O.value,(A=e.modelModifiers)!=null&&A.trim&&["text","search","password","tel","url"].includes(e.type)){const N=[O.selectionStart,O.selectionEnd];nextTick(()=>{O.selectionStart=N[0],O.selectionEnd=N[1]})}}return useRender(()=>{const R=!!(i.counter||e.counter!==!1&&e.counter!=null),O=!!(R||i.details),[A,N]=filterInputAttrs(r),{modelValue:E,...P}=VInput.filterProps(e),V=filterFieldProps(e);return createVNode(VInput,mergeProps({ref:y,modelValue:c.value,"onUpdate:modelValue":D=>c.value=D,class:["v-text-field",{"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-input--plain-underlined":g.value},e.class],style:e.style},A,P,{centerAffix:!g.value,focused:a.value}),{...i,default:D=>{let{id:F,isDisabled:B,isDirty:$,isReadonly:U,isValid:M}=D;return createVNode(VField,mergeProps({ref:w,onMousedown:k,onClick:C,"onClick:clear":T,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"],role:e.role},V,{id:F.value,active:S.value||$.value,dirty:$.value||e.dirty,disabled:B.value,focused:a.value,error:M.value===!1}),{...i,default:Z=>{let{props:{class:Q,...te}}=Z;const W=withDirectives(createVNode("input",mergeProps({ref:b,value:c.value,onInput:x,autofocus:e.autofocus,readonly:U.value,disabled:B.value,name:e.name,placeholder:e.placeholder,size:1,type:e.type,onFocus:_,onBlur:d},te,N),null),[[resolveDirective("intersect"),{handler:v},null,{once:!0}]]);return createVNode(Fragment,null,[e.prefix&&createVNode("span",{class:"v-text-field__prefix"},[createVNode("span",{class:"v-text-field__prefix__text"},[e.prefix])]),i.default?createVNode("div",{class:Q,"data-no-activator":""},[i.default(),W]):cloneVNode(W,{class:Q}),e.suffix&&createVNode("span",{class:"v-text-field__suffix"},[createVNode("span",{class:"v-text-field__suffix__text"},[e.suffix])])])}})},details:O?D=>{var F;return createVNode(Fragment,null,[(F=i.details)==null?void 0:F.call(i,D),R&&createVNode(Fragment,null,[createVNode("span",null,null),createVNode(VCounter,{active:e.persistentCounter||a.value,value:f.value,max:m.value},i.counter)])])}:void 0})}),forwardRefs({},y,w,b)}}),_hoisted_1$g=createBaseVNode("i",{class:"fas fa-search mr-1"},null,-1),_hoisted_2$a=createBaseVNode("span",{class:"d-none d-sm-block"},"Search",-1),_hoisted_3$7=createBaseVNode("i",{class:"fas fa-arrow-up"},null,-1),_hoisted_4$7=createBaseVNode("i",{class:"fas fa-arrow-down"},null,-1),_hoisted_5$5=createBaseVNode("small",{class:"mr-2"},"to navigate",-1),_hoisted_6$5=createBaseVNode("i",{class:"fas fa-level-down-alt fa-rotate-90"},null,-1),_hoisted_7$4=createBaseVNode("small",{class:"mr-2"},"to select",-1),_hoisted_8$2=createBaseVNode("small",null,"to close",-1);function _sfc_render$k(e,t,r,o,i,c){return openBlock(),createElementBlock(Fragment,null,[renderSlot(e.$slots,"activator",{},()=>[createVNode(VBtn,{onClick:t[0]||(t[0]=a=>e.dialog=!0),variant:"plain",density:"default"},{default:withCtx(()=>[_hoisted_1$g,_hoisted_2$a,createVNode(VChip,{size:"x-small",variant:"tonal",class:"d-none d-md-flex ml-1",label:""},{default:withCtx(()=>[createTextVNode("Ctrl+K")]),_:1})]),_:1})]),createVNode(VDialog,{width:"90%","max-width":"800px",modelValue:e.dialog,"onUpdate:modelValue":t[3]||(t[3]=a=>e.dialog=a),location:"id_dialog_anchor","location-strategy":"connected"},{default:withCtx(()=>[createVNode(VCard,null,{default:withCtx(()=>[createVNode(VCardText,{class:"pb-0"},{default:withCtx(()=>[createVNode(VTextField,{id:"id_global_search_input",modelValue:e.search_query,"onUpdate:modelValue":t[1]||(t[1]=a=>e.search_query=a),autocomplete:"off",clearable:"",placeholder:"Search","prepend-inner-icon":"fas fa-search",variant:"solo"},null,8,["modelValue"])]),_:1}),createVNode(VDivider),createVNode(VCardText,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.search_results,(a,u)=>(openBlock(),createBlock(VCard,{variant:e.cardVariant(u),hover:"",class:"mt-1",onClick:d=>e.selected_result=u,key:u},{default:withCtx(()=>[createVNode(VCardTitle,{onClick:t[2]||(t[2]=d=>e.goToSelectedRecipe())},{default:withCtx(()=>[a.image?(openBlock(),createBlock(VAvatar,{key:0,image:a.image},null,8,["image"])):a.recipe_id!==void 0?(openBlock(),createBlock(VAvatar,{key:1,color:"tandoor"},{default:withCtx(()=>[createTextVNode(toDisplayString(a.name.charAt(0)),1)]),_:2},1024)):createCommentVNode("",!0),a.icon?(openBlock(),createBlock(VIcon,{key:2,icon:a.icon},null,8,["icon"])):createCommentVNode("",!0),createTextVNode(" "+toDisplayString(a.name),1)]),_:2},1024)]),_:2},1032,["variant","onClick"]))),128))]),_:1}),createVNode(VDivider,{class:"d-none d-sm-block"}),createVNode(VCardText,{class:"d-none d-sm-block pt-2"},{default:withCtx(()=>[createVNode(VChip,{size:"x-small",class:"mr-1",label:""},{default:withCtx(()=>[_hoisted_3$7]),_:1}),createVNode(VChip,{size:"x-small",class:"mr-1",label:""},{default:withCtx(()=>[_hoisted_4$7]),_:1}),_hoisted_5$5,createVNode(VChip,{size:"x-small",class:"mr-1",label:""},{default:withCtx(()=>[_hoisted_6$5]),_:1}),_hoisted_7$4,createVNode(VChip,{size:"x-small",class:"mr-1",label:""},{default:withCtx(()=>[createTextVNode(" esc")]),_:1}),_hoisted_8$2]),_:1})]),_:1})]),_:1},8,["modelValue"])],64)}const GlobalSearchDialog=_export_sfc(_sfc_main$n,[["render",_sfc_render$k]]),_sfc_main$m=defineComponent$1({components:{GlobalSearchDialog},mixins:[],data(){return{drawer:!0,rail:!0,overlay:!1}},mounted(){},methods:{}}),_imports_0$1="/static/vue3/assets/brand_logo-B3nCJMk0.svg",VuetifyLayoutKey=Symbol.for("vuetify:layout"),VuetifyLayoutItemKey=Symbol.for("vuetify:layout-item"),ROOT_ZINDEX=1e3,makeLayoutProps=propsFactory({overlaps:{type:Array,default:()=>[]},fullHeight:Boolean},"layout"),makeLayoutItemProps=propsFactory({name:{type:String},order:{type:[Number,String],default:0},absolute:Boolean},"layout-item");function useLayout(){const e=inject$1(VuetifyLayoutKey);if(!e)throw new Error("[Vuetify] Could not find injected layout");return{getLayoutItem:e.getLayoutItem,mainRect:e.mainRect,mainStyles:e.mainStyles}}function useLayoutItem(e){const t=inject$1(VuetifyLayoutKey);if(!t)throw new Error("[Vuetify] Could not find injected layout");const r=e.id??`layout-item-${getUid()}`,o=getCurrentInstance("useLayoutItem");provide(VuetifyLayoutItemKey,{id:r});const i=shallowRef(!1);onDeactivated(()=>i.value=!0),onActivated(()=>i.value=!1);const{layoutItemStyles:c,layoutItemScrimStyles:a}=t.register(o,{...e,active:computed(()=>i.value?!1:e.active.value),id:r});return onBeforeUnmount(()=>t.unregister(r)),{layoutItemStyles:c,layoutRect:t.layoutRect,layoutItemScrimStyles:a}}const generateLayers=(e,t,r,o)=>{let i={top:0,left:0,right:0,bottom:0};const c=[{id:"",layer:{...i}}];for(const a of e){const u=t.get(a),d=r.get(a),f=o.get(a);if(!u||!d||!f)continue;const m={...i,[u.value]:parseInt(i[u.value],10)+(f.value?parseInt(d.value,10):0)};c.push({id:a,layer:m}),i=m}return c};function createLayout(e){const t=inject$1(VuetifyLayoutKey,null),r=computed(()=>t?t.rootZIndex.value-100:ROOT_ZINDEX),o=ref([]),i=reactive(new Map),c=reactive(new Map),a=reactive(new Map),u=reactive(new Map),d=reactive(new Map),{resizeRef:f,contentRect:m}=useResizeObserver(),g=computed(()=>{const R=new Map,O=e.overlaps??[];for(const A of O.filter(N=>N.includes(":"))){const[N,E]=A.split(":");if(!o.value.includes(N)||!o.value.includes(E))continue;const P=i.get(N),V=i.get(E),D=c.get(N),F=c.get(E);!P||!V||!D||!F||(R.set(E,{position:P.value,amount:parseInt(D.value,10)}),R.set(N,{position:V.value,amount:-parseInt(F.value,10)}))}return R}),v=computed(()=>{const R=[...new Set([...a.values()].map(A=>A.value))].sort((A,N)=>A-N),O=[];for(const A of R){const N=o.value.filter(E=>{var P;return((P=a.get(E))==null?void 0:P.value)===A});O.push(...N)}return generateLayers(O,i,c,u)}),y=computed(()=>!Array.from(d.values()).some(R=>R.value)),w=computed(()=>v.value[v.value.length-1].layer),b=computed(()=>({"--v-layout-left":convertToUnit(w.value.left),"--v-layout-right":convertToUnit(w.value.right),"--v-layout-top":convertToUnit(w.value.top),"--v-layout-bottom":convertToUnit(w.value.bottom),...y.value?void 0:{transition:"none"}})),S=computed(()=>v.value.slice(1).map((R,O)=>{let{id:A}=R;const{layer:N}=v.value[O],E=c.get(A),P=i.get(A);return{id:A,...N,size:Number(E.value),position:P.value}})),_=R=>S.value.find(O=>O.id===R),k=getCurrentInstance("createLayout"),C=shallowRef(!1);onMounted(()=>{C.value=!0}),provide(VuetifyLayoutKey,{register:(R,O)=>{let{id:A,order:N,position:E,layoutSize:P,elementSize:V,active:D,disableTransitions:F,absolute:B}=O;a.set(A,N),i.set(A,E),c.set(A,P),u.set(A,D),F&&d.set(A,F);const U=findChildrenWithProvide(VuetifyLayoutItemKey,k==null?void 0:k.vnode).indexOf(R);U>-1?o.value.splice(U,0,A):o.value.push(A);const M=computed(()=>S.value.findIndex(W=>W.id===A)),Z=computed(()=>r.value+v.value.length*2-M.value*2),Q=computed(()=>{const W=E.value==="left"||E.value==="right",j=E.value==="right",le=E.value==="bottom",me={[E.value]:0,zIndex:Z.value,transform:`translate${W?"X":"Y"}(${(D.value?0:-110)*(j||le?-1:1)}%)`,position:B.value||r.value!==ROOT_ZINDEX?"absolute":"fixed",...y.value?void 0:{transition:"none"}};if(!C.value)return me;const ce=S.value[M.value];if(!ce)throw new Error(`[Vuetify] Could not find layout item "${A}"`);const q=g.value.get(A);return q&&(ce[q.position]+=q.amount),{...me,height:W?`calc(100% - ${ce.top}px - ${ce.bottom}px)`:V.value?`${V.value}px`:void 0,left:j?void 0:`${ce.left}px`,right:j?`${ce.right}px`:void 0,top:E.value!=="bottom"?`${ce.top}px`:void 0,bottom:E.value!=="top"?`${ce.bottom}px`:void 0,width:W?V.value?`${V.value}px`:void 0:`calc(100% - ${ce.left}px - ${ce.right}px)`}}),te=computed(()=>({zIndex:Z.value-1}));return{layoutItemStyles:Q,layoutItemScrimStyles:te,zIndex:Z}},unregister:R=>{a.delete(R),i.delete(R),c.delete(R),u.delete(R),d.delete(R),o.value=o.value.filter(O=>O!==R)},mainRect:w,mainStyles:b,getLayoutItem:_,items:S,layoutRect:m,rootZIndex:r});const T=computed(()=>["v-layout",{"v-layout--full-height":e.fullHeight}]),x=computed(()=>({zIndex:t?r.value:void 0,position:t?"relative":void 0,overflow:t?"hidden":void 0}));return{layoutClasses:T,layoutStyles:x,getLayoutItem:_,items:S,layoutRect:m,layoutRef:f}}const makeVAppProps=propsFactory({...makeComponentProps(),...makeLayoutProps({fullHeight:!0}),...makeThemeProps()},"VApp"),VApp=genericComponent()({name:"VApp",props:makeVAppProps(),setup(e,t){let{slots:r}=t;const o=provideTheme(e),{layoutClasses:i,getLayoutItem:c,items:a,layoutRef:u}=createLayout(e),{rtlClasses:d}=useRtl();return useRender(()=>{var f;return createVNode("div",{ref:u,class:["v-application",o.themeClasses.value,i.value,d.value,e.class],style:[e.style]},[createVNode("div",{class:"v-application__wrap"},[(f=r.default)==null?void 0:f.call(r)])])}),{getLayoutItem:c,items:a,theme:o}}}),makeVToolbarTitleProps=propsFactory({text:String,...makeComponentProps(),...makeTagProps()},"VToolbarTitle"),VToolbarTitle=genericComponent()({name:"VToolbarTitle",props:makeVToolbarTitleProps(),setup(e,t){let{slots:r}=t;return useRender(()=>{const o=!!(r.default||r.text||e.text);return createVNode(e.tag,{class:["v-toolbar-title",e.class],style:e.style},{default:()=>{var i;return[o&&createVNode("div",{class:"v-toolbar-title__placeholder"},[r.text?r.text():e.text,(i=r.default)==null?void 0:i.call(r)])]}})}),{}}}),allowedDensities=[null,"prominent","default","comfortable","compact"],makeVToolbarProps=propsFactory({absolute:Boolean,collapse:Boolean,color:String,density:{type:String,default:"default",validator:e=>allowedDensities.includes(e)},extended:Boolean,extensionHeight:{type:[Number,String],default:48},flat:Boolean,floating:Boolean,height:{type:[Number,String],default:64},image:String,title:String,...makeBorderProps(),...makeComponentProps(),...makeElevationProps(),...makeRoundedProps(),...makeTagProps({tag:"header"}),...makeThemeProps()},"VToolbar"),VToolbar=genericComponent()({name:"VToolbar",props:makeVToolbarProps(),setup(e,t){var y;let{slots:r}=t;const{backgroundColorClasses:o,backgroundColorStyles:i}=useBackgroundColor(toRef(e,"color")),{borderClasses:c}=useBorder(e),{elevationClasses:a}=useElevation(e),{roundedClasses:u}=useRounded(e),{themeClasses:d}=provideTheme(e),{rtlClasses:f}=useRtl(),m=shallowRef(!!(e.extended||(y=r.extension)!=null&&y.call(r))),g=computed(()=>parseInt(Number(e.height)+(e.density==="prominent"?Number(e.height):0)-(e.density==="comfortable"?8:0)-(e.density==="compact"?16:0),10)),v=computed(()=>m.value?parseInt(Number(e.extensionHeight)+(e.density==="prominent"?Number(e.extensionHeight):0)-(e.density==="comfortable"?4:0)-(e.density==="compact"?8:0),10):0);return provideDefaults({VBtn:{variant:"text"}}),useRender(()=>{var _;const w=!!(e.title||r.title),b=!!(r.image||e.image),S=(_=r.extension)==null?void 0:_.call(r);return m.value=!!(e.extended||S),createVNode(e.tag,{class:["v-toolbar",{"v-toolbar--absolute":e.absolute,"v-toolbar--collapse":e.collapse,"v-toolbar--flat":e.flat,"v-toolbar--floating":e.floating,[`v-toolbar--density-${e.density}`]:!0},o.value,c.value,a.value,u.value,d.value,f.value,e.class],style:[i.value,e.style]},{default:()=>[b&&createVNode("div",{key:"image",class:"v-toolbar__image"},[r.image?createVNode(VDefaultsProvider,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},r.image):createVNode(VImg,{key:"image-img",cover:!0,src:e.image},null)]),createVNode(VDefaultsProvider,{defaults:{VTabs:{height:convertToUnit(g.value)}}},{default:()=>{var k,C,T;return[createVNode("div",{class:"v-toolbar__content",style:{height:convertToUnit(g.value)}},[r.prepend&&createVNode("div",{class:"v-toolbar__prepend"},[(k=r.prepend)==null?void 0:k.call(r)]),w&&createVNode(VToolbarTitle,{key:"title",text:e.title},{text:r.title}),(C=r.default)==null?void 0:C.call(r),r.append&&createVNode("div",{class:"v-toolbar__append"},[(T=r.append)==null?void 0:T.call(r)])])]}}),createVNode(VDefaultsProvider,{defaults:{VTabs:{height:convertToUnit(v.value)}}},{default:()=>[createVNode(VExpandTransition,null,{default:()=>[m.value&&createVNode("div",{class:"v-toolbar__extension",style:{height:convertToUnit(v.value)}},[S])]})]})]})}),{contentHeight:g,extensionHeight:v}}}),makeScrollProps=propsFactory({scrollTarget:{type:String},scrollThreshold:{type:[String,Number],default:300}},"scroll");function useScroll(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{canScroll:r}=t;let o=0;const i=ref(null),c=shallowRef(0),a=shallowRef(0),u=shallowRef(0),d=shallowRef(!1),f=shallowRef(!1),m=computed(()=>Number(e.scrollThreshold)),g=computed(()=>clamp((m.value-c.value)/m.value||0)),v=()=>{const y=i.value;!y||r&&!r.value||(o=c.value,c.value="window"in y?y.pageYOffset:y.scrollTop,f.value=c.value<o,u.value=Math.abs(c.value-m.value))};return watch(f,()=>{a.value=a.value||c.value}),watch(d,()=>{a.value=0}),onMounted(()=>{watch(()=>e.scrollTarget,y=>{var b;const w=y?document.querySelector(y):window;w&&w!==i.value&&((b=i.value)==null||b.removeEventListener("scroll",v),i.value=w,i.value.addEventListener("scroll",v,{passive:!0}))},{immediate:!0})}),onBeforeUnmount(()=>{var y;(y=i.value)==null||y.removeEventListener("scroll",v)}),r&&watch(r,v,{immediate:!0}),{scrollThreshold:m,currentScroll:c,currentThreshold:u,isScrollActive:d,scrollRatio:g,isScrollingUp:f,savedScroll:a}}function useSsrBoot(){const e=shallowRef(!1);return onMounted(()=>{window.requestAnimationFrame(()=>{e.value=!0})}),{ssrBootStyles:computed(()=>e.value?void 0:{transition:"none !important"}),isBooted:readonly(e)}}const makeVAppBarProps=propsFactory({scrollBehavior:String,modelValue:{type:Boolean,default:!0},location:{type:String,default:"top",validator:e=>["top","bottom"].includes(e)},...makeVToolbarProps(),...makeLayoutItemProps(),...makeScrollProps(),height:{type:[Number,String],default:64}},"VAppBar"),VAppBar=genericComponent()({name:"VAppBar",props:makeVAppBarProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;const o=ref(),i=useProxiedModel(e,"modelValue"),c=computed(()=>{var k;const _=new Set(((k=e.scrollBehavior)==null?void 0:k.split(" "))??[]);return{hide:_.has("hide"),inverted:_.has("inverted"),collapse:_.has("collapse"),elevate:_.has("elevate"),fadeImage:_.has("fade-image")}}),a=computed(()=>{const _=c.value;return _.hide||_.inverted||_.collapse||_.elevate||_.fadeImage||!i.value}),{currentScroll:u,scrollThreshold:d,isScrollingUp:f,scrollRatio:m}=useScroll(e,{canScroll:a}),g=computed(()=>e.collapse||c.value.collapse&&(c.value.inverted?m.value>0:m.value===0)),v=computed(()=>e.flat||c.value.elevate&&(c.value.inverted?u.value>0:u.value===0)),y=computed(()=>c.value.fadeImage?c.value.inverted?1-m.value:m.value:void 0),w=computed(()=>{var C,T;if(c.value.hide&&c.value.inverted)return 0;const _=((C=o.value)==null?void 0:C.contentHeight)??0,k=((T=o.value)==null?void 0:T.extensionHeight)??0;return _+k});useToggleScope(computed(()=>!!e.scrollBehavior),()=>{watchEffect(()=>{c.value.hide?c.value.inverted?i.value=u.value>d.value:i.value=f.value||u.value<d.value:i.value=!0})});const{ssrBootStyles:b}=useSsrBoot(),{layoutItemStyles:S}=useLayoutItem({id:e.name,order:computed(()=>parseInt(e.order,10)),position:toRef(e,"location"),layoutSize:w,elementSize:shallowRef(void 0),active:i,absolute:toRef(e,"absolute")});return useRender(()=>{const _=VToolbar.filterProps(e);return createVNode(VToolbar,mergeProps({ref:o,class:["v-app-bar",{"v-app-bar--bottom":e.location==="bottom"},e.class],style:[{...S.value,"--v-toolbar-image-opacity":y.value,height:void 0,...b.value},e.style]},_,{collapse:g.value,flat:v.value}),r)}),{}}}),makeVBottomNavigationProps=propsFactory({bgColor:String,color:String,grow:Boolean,mode:{type:String,validator:e=>!e||["horizontal","shift"].includes(e)},height:{type:[Number,String],default:56},active:{type:Boolean,default:!0},...makeBorderProps(),...makeComponentProps(),...makeDensityProps(),...makeElevationProps(),...makeRoundedProps(),...makeLayoutItemProps({name:"bottom-navigation"}),...makeTagProps({tag:"header"}),...makeGroupProps({modelValue:!0,selectedClass:"v-btn--selected"}),...makeThemeProps()},"VBottomNavigation"),VBottomNavigation=genericComponent()({name:"VBottomNavigation",props:makeVBottomNavigationProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;const{themeClasses:o}=useTheme(),{borderClasses:i}=useBorder(e),{backgroundColorClasses:c,backgroundColorStyles:a}=useBackgroundColor(toRef(e,"bgColor")),{densityClasses:u}=useDensity(e),{elevationClasses:d}=useElevation(e),{roundedClasses:f}=useRounded(e),{ssrBootStyles:m}=useSsrBoot(),g=computed(()=>Number(e.height)-(e.density==="comfortable"?8:0)-(e.density==="compact"?16:0)),v=toRef(e,"active"),{layoutItemStyles:y}=useLayoutItem({id:e.name,order:computed(()=>parseInt(e.order,10)),position:computed(()=>"bottom"),layoutSize:computed(()=>v.value?g.value:0),elementSize:g,active:v,absolute:toRef(e,"absolute")});return useGroup(e,VBtnToggleSymbol),provideDefaults({VBtn:{color:toRef(e,"color"),density:toRef(e,"density"),stacked:computed(()=>e.mode!=="horizontal"),variant:"text"}},{scoped:!0}),useRender(()=>createVNode(e.tag,{class:["v-bottom-navigation",{"v-bottom-navigation--active":v.value,"v-bottom-navigation--grow":e.grow,"v-bottom-navigation--shift":e.mode==="shift"},o.value,c.value,i.value,u.value,d.value,f.value,e.class],style:[a.value,y.value,{height:convertToUnit(g.value),transform:`translateY(${convertToUnit(v.value?0:100,"%")})`},m.value,e.style]},{default:()=>[r.default&&createVNode("div",{class:"v-bottom-navigation__content"},[r.default()])]})),{}}}),makeVContainerProps=propsFactory({fluid:{type:Boolean,default:!1},...makeComponentProps(),...makeTagProps()},"VContainer"),VContainer=genericComponent()({name:"VContainer",props:makeVContainerProps(),setup(e,t){let{slots:r}=t;const{rtlClasses:o}=useRtl();return useRender(()=>createVNode(e.tag,{class:["v-container",{"v-container--fluid":e.fluid},o.value,e.class],style:e.style},r)),{}}}),breakpointProps=breakpoints.reduce((e,t)=>(e[t]={type:[Boolean,String,Number],default:!1},e),{}),offsetProps=breakpoints.reduce((e,t)=>{const r="offset"+capitalize(t);return e[r]={type:[String,Number],default:null},e},{}),orderProps=breakpoints.reduce((e,t)=>{const r="order"+capitalize(t);return e[r]={type:[String,Number],default:null},e},{}),propMap$1={col:Object.keys(breakpointProps),offset:Object.keys(offsetProps),order:Object.keys(orderProps)};function breakpointClass$1(e,t,r){let o=e;if(!(r==null||r===!1)){if(t){const i=t.replace(e,"");o+=`-${i}`}return e==="col"&&(o="v-"+o),e==="col"&&(r===""||r===!0)||(o+=`-${r}`),o.toLowerCase()}}const ALIGN_SELF_VALUES=["auto","start","end","center","baseline","stretch"],makeVColProps=propsFactory({cols:{type:[Boolean,String,Number],default:!1},...breakpointProps,offset:{type:[String,Number],default:null},...offsetProps,order:{type:[String,Number],default:null},...orderProps,alignSelf:{type:String,default:null,validator:e=>ALIGN_SELF_VALUES.includes(e)},...makeComponentProps(),...makeTagProps()},"VCol"),VCol=genericComponent()({name:"VCol",props:makeVColProps(),setup(e,t){let{slots:r}=t;const o=computed(()=>{const i=[];let c;for(c in propMap$1)propMap$1[c].forEach(u=>{const d=e[u],f=breakpointClass$1(c,u,d);f&&i.push(f)});const a=i.some(u=>u.startsWith("v-col-"));return i.push({"v-col":!a||!e.cols,[`v-col-${e.cols}`]:e.cols,[`offset-${e.offset}`]:e.offset,[`order-${e.order}`]:e.order,[`align-self-${e.alignSelf}`]:e.alignSelf}),i});return()=>{var i;return h(e.tag,{class:[o.value,e.class],style:e.style},(i=r.default)==null?void 0:i.call(r))}}}),ALIGNMENT=["start","end","center"],SPACE=["space-between","space-around","space-evenly"];function makeRowProps(e,t){return breakpoints.reduce((r,o)=>{const i=e+capitalize(o);return r[i]=t(),r},{})}const ALIGN_VALUES=[...ALIGNMENT,"baseline","stretch"],alignValidator=e=>ALIGN_VALUES.includes(e),alignProps=makeRowProps("align",()=>({type:String,default:null,validator:alignValidator})),JUSTIFY_VALUES=[...ALIGNMENT,...SPACE],justifyValidator=e=>JUSTIFY_VALUES.includes(e),justifyProps=makeRowProps("justify",()=>({type:String,default:null,validator:justifyValidator})),ALIGN_CONTENT_VALUES=[...ALIGNMENT,...SPACE,"stretch"],alignContentValidator=e=>ALIGN_CONTENT_VALUES.includes(e),alignContentProps=makeRowProps("alignContent",()=>({type:String,default:null,validator:alignContentValidator})),propMap={align:Object.keys(alignProps),justify:Object.keys(justifyProps),alignContent:Object.keys(alignContentProps)},classMap={align:"align",justify:"justify",alignContent:"align-content"};function breakpointClass(e,t,r){let o=classMap[e];if(r!=null){if(t){const i=t.replace(e,"");o+=`-${i}`}return o+=`-${r}`,o.toLowerCase()}}const makeVRowProps=propsFactory({dense:Boolean,noGutters:Boolean,align:{type:String,default:null,validator:alignValidator},...alignProps,justify:{type:String,default:null,validator:justifyValidator},...justifyProps,alignContent:{type:String,default:null,validator:alignContentValidator},...alignContentProps,...makeComponentProps(),...makeTagProps()},"VRow"),VRow=genericComponent()({name:"VRow",props:makeVRowProps(),setup(e,t){let{slots:r}=t;const o=computed(()=>{const i=[];let c;for(c in propMap)propMap[c].forEach(a=>{const u=e[a],d=breakpointClass(c,a,u);d&&i.push(d)});return i.push({"v-row--no-gutters":e.noGutters,"v-row--dense":e.dense,[`align-${e.align}`]:e.align,[`justify-${e.justify}`]:e.justify,[`align-content-${e.alignContent}`]:e.alignContent}),i});return()=>{var i;return h(e.tag,{class:["v-row",o.value,e.class],style:e.style},(i=r.default)==null?void 0:i.call(r))}}}),VSpacer=createSimpleFunctional("v-spacer","div","VSpacer"),makeVMainProps=propsFactory({scrollable:Boolean,...makeComponentProps(),...makeTagProps({tag:"main"})},"VMain"),VMain=genericComponent()({name:"VMain",props:makeVMainProps(),setup(e,t){let{slots:r}=t;const{mainStyles:o}=useLayout(),{ssrBootStyles:i}=useSsrBoot();return useRender(()=>createVNode(e.tag,{class:["v-main",{"v-main--scrollable":e.scrollable},e.class],style:[o.value,i.value,e.style]},{default:()=>{var c,a;return[e.scrollable?createVNode("div",{class:"v-main__scroller"},[(c=r.default)==null?void 0:c.call(r)]):(a=r.default)==null?void 0:a.call(r)]}})),{}}}),_hoisted_1$f=createBaseVNode("span",null,"Recipes",-1),_hoisted_2$9=createBaseVNode("span",null,"MealPlan",-1),_hoisted_3$6=createBaseVNode("span",null,"Shopping",-1),_hoisted_4$6=createBaseVNode("span",null,"Books",-1);function _sfc_render$j(e,t,r,o,i,c){const a=resolveComponent("router-link"),u=resolveComponent("global-search-dialog"),d=resolveComponent("router-view");return openBlock(),createBlock(VApp,null,{default:withCtx(()=>[createVNode(VAppBar,{color:"tandoor",flat:"",density:"comfortable"},{default:withCtx(()=>[createVNode(a,{to:{name:"view_search",params:{}}},{default:withCtx(()=>[createVNode(VImg,{src:_imports_0$1,width:"140px",class:"ms-2"})]),_:1}),createVNode(u),createVNode(VSpacer)]),_:1}),createVNode(VMain,null,{default:withCtx(()=>[createVNode(d)]),_:1}),createVNode(VBottomNavigation,{grow:""},{default:withCtx(()=>[createVNode(VBtn,{value:"recent",to:"/search"},{default:withCtx(()=>[createVNode(VIcon,{icon:"fas fa-book"}),_hoisted_1$f]),_:1}),createVNode(VBtn,{value:"favorites",to:"/mealplan"},{default:withCtx(()=>[createVNode(VIcon,{icon:"fas fa-calendar-alt"}),_hoisted_2$9]),_:1}),createVNode(VBtn,{value:"nearby",to:"/shopping"},{default:withCtx(()=>[createVNode(VIcon,{icon:"fas fa-shopping-cart"}),_hoisted_3$6]),_:1}),createVNode(VBtn,{value:"nearby",to:"/books"},{default:withCtx(()=>[createVNode(VIcon,{icon:"fas fa-book-open"}),_hoisted_4$6]),_:1})]),_:1})]),_:1})}const App=_export_sfc(_sfc_main$m,[["render",_sfc_render$j]]);var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function getAugmentedNamespace(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function o(){return this instanceof o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var i=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(r,o,i.get?i:{enumerable:!0,get:function(){return e[o]}})}),r}var mavonEditor$1={exports:{}};const require$$0=getAugmentedNamespace(vue_runtime_esmBundler);(function(module,exports){(function(e,t){module.exports=t(require$$0)})(window,function(__WEBPACK_EXTERNAL_MODULE__0__){return function(e){var t={};function r(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(o,i,c){r.o(o,i)||Object.defineProperty(o,i,{enumerable:!0,get:c})},r.r=function(o){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},r.t=function(o,i){if(1&i&&(o=r(o)),8&i||4&i&&typeof o=="object"&&o&&o.__esModule)return o;var c=Object.create(null);if(r.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:o}),2&i&&typeof o!="string")for(var a in o)r.d(c,a,(function(u){return o[u]}).bind(null,a));return c},r.n=function(o){var i=o&&o.__esModule?function(){return o.default}:function(){return o};return r.d(i,"a",i),i},r.o=function(o,i){return Object.prototype.hasOwnProperty.call(o,i)},r.p="",r(r.s=79)}([function(e,t){e.exports=__WEBPACK_EXTERNAL_MODULE__0__},function(e,t,r){var o=Object.prototype.hasOwnProperty;function i(_,k){return o.call(_,k)}function c(_){return!(_>=55296&&_<=57343)&&!(_>=64976&&_<=65007)&&(65535&_)!=65535&&(65535&_)!=65534&&!(_>=0&&_<=8)&&_!==11&&!(_>=14&&_<=31)&&!(_>=127&&_<=159)&&!(_>1114111)}function a(_){if(_>65535){var k=55296+((_-=65536)>>10),C=56320+(1023&_);return String.fromCharCode(k,C)}return String.fromCharCode(_)}var u=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,d=new RegExp(u.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),f=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,m=r(62),g=/[&<>"]/,v=/[&<>"]/g,y={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function w(_){return y[_]}var b=/[.?*+^$[\]\\(){}|-]/g,S=r(40);t.lib={},t.lib.mdurl=r(63),t.lib.ucmicro=r(145),t.assign=function(_){var k=Array.prototype.slice.call(arguments,1);return k.forEach(function(C){if(C){if(typeof C!="object")throw new TypeError(C+"must be object");Object.keys(C).forEach(function(T){_[T]=C[T]})}}),_},t.isString=function(_){return function(k){return Object.prototype.toString.call(k)}(_)==="[object String]"},t.has=i,t.unescapeMd=function(_){return _.indexOf("\\")<0?_:_.replace(u,"$1")},t.unescapeAll=function(_){return _.indexOf("\\")<0&&_.indexOf("&")<0?_:_.replace(d,function(k,C,T){return C||function(x,R){var O=0;return i(m,R)?m[R]:R.charCodeAt(0)===35&&f.test(R)&&c(O=R[1].toLowerCase()==="x"?parseInt(R.slice(2),16):parseInt(R.slice(1),10))?a(O):x}(k,T)})},t.isValidEntityCode=c,t.fromCodePoint=a,t.escapeHtml=function(_){return g.test(_)?_.replace(v,w):_},t.arrayReplaceAt=function(_,k,C){return[].concat(_.slice(0,k),C,_.slice(k+1))},t.isSpace=function(_){switch(_){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(_){if(_>=8192&&_<=8202)return!0;switch(_){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(_){switch(_){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(_){return S.test(_)},t.escapeRE=function(_){return _.replace(b,"\\$&")},t.normalizeReference=function(_){return _=_.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(_=_.replace(/ẞ/g,"ß")),_.toLowerCase().toUpperCase()}},function(e,t){var r=e.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=r)},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default=(o,i)=>{const c=o.__vccOpts||o;for(const[a,u]of i)c[a]=u;return c}},function(e,t){var r={}.hasOwnProperty;e.exports=function(o,i){return r.call(o,i)}},function(e,t,r){var o=r(6),i=r(16);e.exports=r(7)?function(c,a,u){return o.f(c,a,i(1,u))}:function(c,a,u){return c[a]=u,c}},function(e,t,r){var o=r(14),i=r(47),c=r(28),a=Object.defineProperty;t.f=r(7)?Object.defineProperty:function(u,d,f){if(o(u),d=c(d,!0),o(f),i)try{return a(u,d,f)}catch{}if("get"in f||"set"in f)throw TypeError("Accessors not supported!");return"value"in f&&(u[d]=f.value),u}},function(e,t,r){e.exports=!r(15)(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},function(e,t,r){var o=r(89),i=r(27);e.exports=function(c){return o(i(c))}},function(e,t,r){var o=r(32)("wks"),i=r(17),c=r(2).Symbol,a=typeof c=="function";(e.exports=function(u){return o[u]||(o[u]=a&&c[u]||(a?c:i)("Symbol."+u))}).store=o},function(e,t){e.exports=function(r){return typeof r=="object"?r!==null:typeof r=="function"}},function(module,exports,__webpack_require__){Object.defineProperty(exports,"__esModule",{value:!0});var _typeof2=__webpack_require__(25),_typeof3=_interopRequireDefault(_typeof2),_keydownListen=__webpack_require__(110),_langHljsCss=__webpack_require__(111),_langHljsCss2=_interopRequireDefault(_langHljsCss),_langHljs=__webpack_require__(56);_interopRequireDefault(_langHljs);var _extraFunction=__webpack_require__(57),_util=__webpack_require__(112),_toolbar_left_click2=__webpack_require__(113),_toolbar_right_click2=__webpack_require__(114),_config=__webpack_require__(115),_markdown=__webpack_require__(132),_markdown2=_interopRequireDefault(_markdown),_mdToolbarLeft=__webpack_require__(70),_mdToolbarLeft2=_interopRequireDefault(_mdToolbarLeft),_mdToolbarRight=__webpack_require__(72),_mdToolbarRight2=_interopRequireDefault(_mdToolbarRight),_autoTextarea=__webpack_require__(216),_autoTextarea2=_interopRequireDefault(_autoTextarea);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}__webpack_require__(222),__webpack_require__(231),exports.default={emits:["imgDel","change","fullScreen","readModel","previewToggle","subfieldToggle","htmlCode","helpToggle","save","navigationToggle","update:modelValue"],mixins:[_markdown2.default],props:{scrollStyle:{type:Boolean,default:!0},boxShadow:{type:Boolean,default:!0},transition:{type:Boolean,default:!0},autofocus:{type:Boolean,default:!0},fontSize:{type:String,default:"14px"},toolbarsBackground:{type:String,default:"#ffffff"},editorBackground:{type:String,default:"#ffffff"},previewBackground:{type:String,default:"#fbfbfb"},boxShadowStyle:{type:String,default:"0 2px 12px 0 rgba(0, 0, 0, 0.1)"},help:{type:String,default:null},modelValue:{type:String,default:""},language:{type:String,default:"zh-CN"},subfield:{type:Boolean,default:!0},navigation:{type:Boolean,default:!1},defaultOpen:{type:String,default:null},editable:{type:Boolean,default:!0},toolbarsFlag:{type:Boolean,default:!0},toolbars:{type:Object,default:function(){return _config.CONFIG.toolbars}},html:{type:Boolean,default:!0},xssOptions:{type:[Object,Boolean],default:function(){return{}}},codeStyle:{type:String,default:function(){return"github"}},placeholder:{type:String,default:null},ishljs:{type:Boolean,default:!0},externalLink:{type:[Object,Boolean],default:!0},imageFilter:{type:Function,default:null},imageClick:{type:Function,default:null},tabSize:{type:Number,default:0},shortCut:{type:Boolean,default:!0}},data:function(){var e,t,r=this;return{s_right_click_menu_show:!1,right_click_menu_top:0,right_click_menu_left:0,s_subfield:r.subfield,s_autofocus:!0,s_navigation:r.navigation,s_scrollStyle:r.scrollStyle,d_value:"",d_render:"",s_preview_switch:(t=r.defaultOpen,t||(t=r.subfield?"preview":"edit"),t==="preview"),s_fullScreen:!1,s_help:!1,s_html_code:!1,d_help:null,d_words:null,edit_scroll_height:-1,s_readmodel:!1,s_table_enter:!1,d_history:(e=[],e.push(r.modelValue),e),d_history_index:0,currentTimeout:"",d_image_file:[],d_preview_imgsrc:null,s_external_link:{markdown_css:function(){return"https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/2.9.0/github-markdown.min.css"},hljs_js:function(){return"https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.3.1/highlight.min.js"},hljs_lang:function(o){return"https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.3.1/languages/"+o+".min.js"},hljs_css:function(o){return _langHljsCss2.default[o]?"https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.3.1/styles/"+o+".min.css":""},katex_js:function(){return"https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.8.3/katex.min.js"},katex_css:function(){return"https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.8.3/katex.min.css"}},p_external_link:{},textarea_selectionEnd:0,textarea_selectionEnds:[0],_xssHandler:null}},created:function(){var e=this;this.initLanguage(),this.initExternalFuc(),this.$nextTick(function(){e.editableTextarea()})},mounted:function(){var e=this;this.$el.addEventListener("paste",function(t){e.$paste(t)}),this.$el.addEventListener("drop",function(t){e.$drag(t)}),(0,_keydownListen.keydownListen)(this),(0,_extraFunction.ImagePreviewListener)(this),this.autofocus&&this.getTextareaDom().focus(),(0,_extraFunction.fullscreenchange)(this),this.d_value=this.modelValue||"",document.body.appendChild(this.$refs.help),this.loadExternalLink("markdown_css","css"),this.loadExternalLink("katex_css","css"),this.loadExternalLink("katex_js","js",function(){e.iRender(!0)}),this.loadExternalLink("hljs_js","js",function(){e.iRender(!0)}),(0,_typeof3.default)(e.externalLink)==="object"&&typeof e.externalLink.markdown_css=="function"||e.codeStyleChange(e.codeStyle,!0)},beforeUnmount:function(){document.body.removeChild(this.$refs.help)},getMarkdownIt:function(){var e=this.mixins[0].data().markdownIt;return e||(e=(0,_markdown.initMarkdown)()),e},methods:{loadExternalLink:function(e,t,r){if(typeof this.p_external_link[e]=="function"){var o={css:_extraFunction.loadLink,js:_extraFunction.loadScript};o.hasOwnProperty(t)&&o[t](this.p_external_link[e](),r)}else this.p_external_link[e]!==!1&&console.error("external_link."+e,"is not a function, if you want to disabled this error log, set external_link."+e,"to function or false")},initExternalFuc:function(){for(var e=["markdown_css","hljs_js","hljs_css","hljs_lang","katex_js","katex_css"],t=(0,_typeof3.default)(this.externalLink),r=t==="object",o=t==="boolean",i=0;i<e.length;i++)o&&!this.externalLink||r&&this.externalLink[e[i]]===!1?this.p_external_link[e[i]]=!1:r&&typeof this.externalLink[e[i]]=="function"?this.p_external_link[e[i]]=this.externalLink[e[i]]:this.p_external_link[e[i]]=this.s_external_link[e[i]]},textAreaFocus:function(){this.$refs.vNoteTextarea.$refs.vTextarea.focus()},$drag:function(e){var t=e.dataTransfer;if(t){var r=t.files;r.length>0&&(e.preventDefault(),this.$refs.toolbar_left.$imgFilesAdd(r))}},$paste:function(e){var t=e.clipboardData;if(t){var r=t.items;if(!r)return;for(var o=t.types||[],i=null,c=0;c<o.length;c++)if(o[c]==="Files"){i=r[c];break}if(i&&i.kind==="file"){(0,_util.stopEvent)(e);var a=i.getAsFile();this.$refs.toolbar_left.$imgFilesAdd([a])}}},$imgTouch:function(e){},$imgDel:function(e){this.markdownIt.image_del(e[1]);var t=e[0],r=new RegExp("\\!\\["+e[1]._name+"\\]\\("+t+"\\)","g");this.d_value=this.d_value.replace(r,""),this.iRender(),this.$emit("imgDel",e)},$imgAdd:function(e,t,r){r===void 0&&(r=!0);var o=this;if(this.__rFilter==null&&(this.__rFilter=/^image\//i),this.__oFReader=new FileReader,this.__oFReader.onload=function(c){o.markdownIt.image_add(e,c.target.result),t.miniurl=c.target.result,r===!0&&(t._name=t.name.replace(/[\[\]\(\)\+\{\}&\|\\\*^%$#@\-]/g,""),o.insertText(o.getTextareaDom(),{prefix:"!["+t._name+"]("+e+")",subfix:"",str:""}),o.$nextTick(function(){o.$emit("imgAdd",e,t)}))},t){var i=t;this.__rFilter.test(i.type)&&this.__oFReader.readAsDataURL(i)}},$imgUpdateByUrl:function(e,t){var r=this;this.markdownIt.image_add(e,t),this.$nextTick(function(){r.d_render=this.markdownIt.render(this.d_value)})},$imgAddByUrl:function(e,t){return!!this.$refs.toolbar_left.$imgAddByUrl(e,t)&&(this.$imgUpdateByUrl(e,t),!0)},$img2Url:function $img2Url(fileIndex,url){var reg_str="/(!\\[[^\\[]*?\\](?=\\())\\(\\s*("+fileIndex+")\\s*\\)/g",reg=eval(reg_str);this.d_value=this.d_value.replace(reg,"$1("+url+")"),this.$refs.toolbar_left.$changeUrl(fileIndex,url),this.iRender()},$imglst2Url:function(e){if(e instanceof Array)for(var t=0;t<e.length;t++)this.$img2Url(e[t][0],e[t][1])},toolbar_left_click:function(e){(0,_toolbar_left_click2.toolbar_left_click)(e,this)},toolbar_left_addlink:function(e,t,r){(0,_toolbar_left_click2.toolbar_left_addlink)(e,t,r,this)},toolbar_right_click:function(e){(0,_toolbar_right_click2.toolbar_right_click)(e,this)},getNavigation:function(e,t){return(0,_extraFunction.getNavigation)(e,t)},change:function(e,t){this.$emit("change",e,t)},fullscreen:function(e,t){this.$emit("fullScreen",e,t)},readmodel:function(e,t){this.$emit("readModel",e,t)},previewtoggle:function(e,t){this.$emit("previewToggle",e,t)},subfieldtoggle:function(e,t){this.$emit("subfieldToggle",e,t)},htmlcode:function(e,t){this.$emit("htmlCode",e,t)},helptoggle:function(e,t){this.$emit("helpToggle",e,t)},save:function(e,t){this.$emit("save",e,t)},navigationtoggle:function(e,t){this.$emit("navigationToggle",e,t)},$toolbar_right_read_change_status:function(){this.s_readmodel=!this.s_readmodel,this.readmodel&&this.readmodel(this.s_readmodel,this.d_value),this.s_readmodel&&this.toolbars.navigation&&this.getNavigation(this,!0)},$v_edit_scroll:function(e){(0,_extraFunction.scrollLink)(e,this)},getTextareaDom:function(){return this.$refs.vNoteTextarea.$refs.vTextarea},insertText:function(e,t){var r=t.prefix,o=t.subfix,i=t.str,c=t.type;(0,_extraFunction.insertTextAtCaret)(e,{prefix:r,subfix:o,str:i,type:c},this)},insertTab:function(){(0,_extraFunction.insertTab)(this,this.tabSize)},insertOl:function(){(0,_extraFunction.insertOl)(this)},removeLine:function(){(0,_extraFunction.removeLine)(this)},insertUl:function(){(0,_extraFunction.insertUl)(this)},unInsertTab:function(){(0,_extraFunction.unInsertTab)(this,this.tabSize)},insertCodeBlock:function(){(0,_extraFunction.insertCodeBlock)(this)},insertEnter:function(e){(0,_extraFunction.insertEnter)(this,e)},saveHistory:function(){this.d_history.splice(this.d_history_index+1,this.d_history.length),this.d_history.push(this.d_value),this.textarea_selectionEnds.splice(this.d_history_index+1,this.textarea_selectionEnds.length),this.textarea_selectionEnds.push(this.textarea_selectionEnd),this.d_history_index=this.d_history.length-1},saveSelectionEndsHistory:function(){var e=this.$refs.vNoteTextarea&&this.$refs.vNoteTextarea.$el.querySelector("textarea");this.textarea_selectionEnd=e?e.selectionEnd:this.textarea_selectionEnd},initLanguage:function(){var e=_config.CONFIG.langList.indexOf(this.language)>=0?this.language:"zh-CN",t=this;t.$render(_config.CONFIG["help_"+e],function(r){t.d_help=r}),this.d_words=_config.CONFIG["words_"+e]},editableTextarea:function(){var e=this.$refs.vNoteTextarea.$refs.vTextarea;this.editable?e.removeAttribute("disabled"):e.setAttribute("disabled","disabled")},codeStyleChange:function(e,t){if(t=t||!1,typeof this.p_external_link.hljs_css=="function"){var r=this.p_external_link.hljs_css(e);r.length===0&&t&&(console.warn("hljs color scheme",e,"do not exist, loading default github"),r=this.p_external_link.hljs_css("github")),r.length>0?(0,_extraFunction.loadLink)(r,null,"md-code-style"):console.warn("hljs color scheme",e,"do not exist, hljs color scheme will not change")}else this.p_external_link.hljs_css!==!1&&console.error("external_link.hljs_css is not a function, if you want to disabled this error log, set external_link.hljs_css to function or false")},iRender:function(e){var t=this;this.$render(t.d_value,function(r){t.d_render=r,e||t.change&&t.change(t.d_value,t.d_render),t.s_navigation&&(0,_extraFunction.getNavigation)(t,!1),t.$emit("update:modelValue",t.d_value),t.d_value!==t.d_history[t.d_history_index]&&(window.clearTimeout(t.currentTimeout),t.currentTimeout=setTimeout(function(){t.saveHistory()},500))})},$emptyHistory:function(){this.d_history=[this.d_value],this.d_history_index=0}},watch:{d_value:function(e,t){this.saveSelectionEndsHistory(),this.iRender()},modelValue:function(e,t){e!==this.d_value&&(this.d_value=e)},subfield:function(e,t){this.s_subfield=e},d_history_index:function(){this.d_history_index>20&&(this.d_history.shift(),this.d_history_index=this.d_history_index-1),this.d_value=this.d_history[this.d_history_index]},language:function(e){this.initLanguage()},editable:function(){this.editableTextarea()},defaultOpen:function(e){var t=e;return t||(t=this.subfield?"preview":"edit"),this.s_preview_switch=t==="preview",this.s_preview_switch},codeStyle:function(e){this.codeStyleChange(e)}},components:{"v-autoTextarea":_autoTextarea2.default,"v-md-toolbar-left":_mdToolbarLeft2.default,"v-md-toolbar-right":_mdToolbarRight2.default}}},function(e,t){e.exports=!0},function(e,t){var r=e.exports={version:"2.6.12"};typeof __e=="number"&&(__e=r)},function(e,t,r){var o=r(10);e.exports=function(i){if(!o(i))throw TypeError(i+" is not an object!");return i}},function(e,t){e.exports=function(r){try{return!!r()}catch{return!0}}},function(e,t){e.exports=function(r,o){return{enumerable:!(1&r),configurable:!(2&r),writable:!(4&r),value:o}}},function(e,t){var r=0,o=Math.random();e.exports=function(i){return"Symbol(".concat(i===void 0?"":i,")_",(++r+o).toString(36))}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default={emits:["toolbar_left_addlink","imgTouch","imgAdd","imgDel","imgAdd","imgAdd","toolbar_left_click","toolbar_left_click"],name:"s-md-toolbar-left",props:{editable:{type:Boolean,default:!0},transition:{type:Boolean,default:!0},toolbars:{type:Object,required:!0},d_words:{type:Object,required:!0},image_filter:{type:Function,default:null}},data:function(){return{img_file:[[0,null]],img_timer:null,header_timer:null,s_img_dropdown_open:!1,s_header_dropdown_open:!1,s_img_link_open:!1,trigger:null,num:0,link_text:"",link_addr:"",link_type:"link"}},methods:{$imgLinkAdd:function(){this.$emit("toolbar_left_addlink",this.link_type,this.link_text,this.link_addr),this.s_img_link_open=!1},$toggle_imgLinkAdd:function(o){var i=this;this.link_type=o,this.link_text=this.link_addr="",this.s_img_link_open=!0,this.$nextTick(function(){i.$refs.linkTextInput.focus()}),this.s_img_dropdown_open=!1},$imgFileListClick:function(o){this.$emit("imgTouch",this.img_file[o])},$changeUrl:function(o,i){this.img_file[o][0]=i},$imgFileAdd:function(o){this.img_file.push([++this.num,o]),this.$emit("imgAdd",this.num,o),this.s_img_dropdown_open=!1},$imgFilesAdd:function(o){for(var i=typeof this.image_filter=="function",c=0;c<o.length;c++)(i&&this.image_filter(o[c])===!0||!i&&o[c].type.match(/^image\//i))&&this.$imgFileAdd(o[c])},$imgAdd:function(o){this.$imgFilesAdd(o.target.files),o.target.value=""},$imgDel:function(o){this.$emit("imgDel",this.img_file[o]),this.img_file.splice(o,1),this.num--,this.s_img_dropdown_open=!1},isEqualName:function(o,i){return!(!this.img_file[i][1]||this.img_file[i][1].name!==o&&this.img_file[i][1]._name!==o)},$imgDelByFilename:function(o){for(var i=0;this.img_file.length>i;){if(this.img_file[i][1]===o||this.isEqualName(o,i))return this.$imgDel(i),!0;i+=1}return!1},$imgAddByFilename:function(o,i){for(var c=0;c<this.img_file.length;c++)if(this.img_file[c][0]===o)return!1;return this.img_file[0][0]=o,this.img_file[0][1]=i,this.img_file[0][2]=o,this.img_file.unshift(["./"+this.num,null]),this.$emit("imgAdd",this.img_file[1][0],i,!1),!0},$imgAddByUrl:function(o,i){for(var c=0;c<this.img_file.length;c++)if(this.img_file[c][0]===o)return!1;return this.img_file[0][0]=o,this.img_file[0][1]=i,this.img_file.unshift(["./"+this.num,null]),!0},$imgUpdateByFilename:function(o,i){for(var c=0;c<this.img_file.length;c++)if(this.img_file[c][0]===o||this.isEqualName(o,c))return this.img_file[c][1]=i,this.$emit("imgAdd",o,i,!1),!0;return!1},$mouseenter_img_dropdown:function(){this.editable&&(clearTimeout(this.img_timer),this.s_img_dropdown_open=!0)},$mouseleave_img_dropdown:function(){var o=this;this.img_timer=setTimeout(function(){o.s_img_dropdown_open=!1},200)},$mouseenter_header_dropdown:function(){this.editable&&(clearTimeout(this.header_timer),this.s_header_dropdown_open=!0)},$mouseleave_header_dropdown:function(){var o=this;this.header_timer=setTimeout(function(){o.s_header_dropdown_open=!1},200)},$clicks:function(o){this.editable&&this.$emit("toolbar_left_click",o)},$click_header:function(o){this.$emit("toolbar_left_click",o),this.s_header_dropdown_open=!1},handleClose:function(o){this.s_img_dropdown_open=!1}},watch:{s_img_link_open:function(o){this.$parent.$el.style.zIndex=o?1501:1500}}}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default={emits:["toolbar_right_click"],name:"s-md-toolbar-right",props:{s_subfield:{type:Boolean,required:!0},toolbars:{type:Object,required:!0},s_preview_switch:{type:Boolean,required:!0},s_fullScreen:{type:Boolean,required:!0},s_html_code:{type:Boolean,required:!0},s_navigation:{type:Boolean,required:!0},d_words:{type:Object,required:!0}},methods:{$clicks:function(o){this.$emit("toolbar_right_click",o)}}}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default={emits:["update:modelValue"],data:function(){var o=this;return{temp_value:o.modelValue,s_autofocus:function(){if(o.autofocus)return"autofocus"}()}},created:function(){},props:{fullHeight:{type:Boolean,default:!1},autofocus:{type:Boolean,default:!1},modelValue:{type:String,default:""},placeholder:{type:String,default:""},border:{type:Boolean,default:!1},resize:{type:Boolean,default:!1},onchange:{type:Function,default:null},fontSize:{type:String,default:"14px"},lineHeight:{type:String,default:"18px"}},methods:{change:function(o){this.onchange&&this.onchange(this.temp_value,o)}},watch:{modelValue:function(o,i){this.temp_value=o},temp_value:function(o,i){this.$emit("update:modelValue",o)}}}},function(e,t,r){r.r(t);var o=r(11),i=r.n(o);for(var c in r.d(t,"default",function(){return i.a}),o)["default"].indexOf(c)<0&&function(a){r.d(t,a,function(){return o[a]})}(c)},function(e,t,r){r.r(t);var o=r(18),i=r.n(o);for(var c in r.d(t,"default",function(){return i.a}),o)["default"].indexOf(c)<0&&function(a){r.d(t,a,function(){return o[a]})}(c)},function(e,t,r){r.r(t);var o=r(19),i=r.n(o);for(var c in r.d(t,"default",function(){return i.a}),o)["default"].indexOf(c)<0&&function(a){r.d(t,a,function(){return o[a]})}(c)},function(e,t,r){r.r(t);var o=r(20),i=r.n(o);for(var c in r.d(t,"default",function(){return i.a}),o)["default"].indexOf(c)<0&&function(a){r.d(t,a,function(){return o[a]})}(c)},function(e,t,r){t.__esModule=!0;var o=a(r(81)),i=a(r(99)),c=typeof i.default=="function"&&typeof o.default=="symbol"?function(u){return typeof u}:function(u){return u&&typeof i.default=="function"&&u.constructor===i.default&&u!==i.default.prototype?"symbol":typeof u};function a(u){return u&&u.__esModule?u:{default:u}}t.default=typeof i.default=="function"&&c(o.default)==="symbol"?function(u){return u===void 0?"undefined":c(u)}:function(u){return u&&typeof i.default=="function"&&u.constructor===i.default&&u!==i.default.prototype?"symbol":u===void 0?"undefined":c(u)}},function(e,t){var r=Math.ceil,o=Math.floor;e.exports=function(i){return isNaN(i=+i)?0:(i>0?o:r)(i)}},function(e,t){e.exports=function(r){if(r==null)throw TypeError("Can't call method on "+r);return r}},function(e,t,r){var o=r(10);e.exports=function(i,c){if(!o(i))return i;var a,u;if(c&&typeof(a=i.toString)=="function"&&!o(u=a.call(i))||typeof(a=i.valueOf)=="function"&&!o(u=a.call(i))||!c&&typeof(a=i.toString)=="function"&&!o(u=a.call(i)))return u;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports={}},function(e,t,r){var o=r(51),i=r(33);e.exports=Object.keys||function(c){return o(c,i)}},function(e,t,r){var o=r(32)("keys"),i=r(17);e.exports=function(c){return o[c]||(o[c]=i(c))}},function(e,t,r){var o=r(13),i=r(2),c=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(e.exports=function(a,u){return c[a]||(c[a]=u!==void 0?u:{})})("versions",[]).push({version:o.version,mode:r(12)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,r){var o=r(6).f,i=r(4),c=r(9)("toStringTag");e.exports=function(a,u,d){a&&!i(a=d?a:a.prototype,c)&&o(a,c,{configurable:!0,value:u})}},function(e,t,r){t.f=r(9)},function(e,t,r){var o=r(2),i=r(13),c=r(12),a=r(35),u=r(6).f;e.exports=function(d){var f=i.Symbol||(i.Symbol=c?{}:o.Symbol||{});d.charAt(0)=="_"||d in f||u(f,d,{value:a.f(d)})}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,r){var o=r(59),i=r(135);for(var c in(t=e.exports=function(a,u){return new i(u).process(a)}).FilterCSS=i,o)t[c]=o[c];typeof window<"u"&&(window.filterCSS=e.exports)},function(e,t){e.exports={indexOf:function(r,o){var i,c;if(Array.prototype.indexOf)return r.indexOf(o);for(i=0,c=r.length;i<c;i++)if(r[i]===o)return i;return-1},forEach:function(r,o,i){var c,a;if(Array.prototype.forEach)return r.forEach(o,i);for(c=0,a=r.length;c<a;c++)o.call(i,r[c],c,r)},trim:function(r){return String.prototype.trim?r.trim():r.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(r){var o=/\s|\n|\t/.exec(r);return o?o.index:-1}}},function(e,t){e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},function(e,t,r){function o(){this.__rules__=[],this.__cache__=null}o.prototype.__find__=function(i){for(var c=0;c<this.__rules__.length;c++)if(this.__rules__[c].name===i)return c;return-1},o.prototype.__compile__=function(){var i=this,c=[""];i.__rules__.forEach(function(a){a.enabled&&a.alt.forEach(function(u){c.indexOf(u)<0&&c.push(u)})}),i.__cache__={},c.forEach(function(a){i.__cache__[a]=[],i.__rules__.forEach(function(u){u.enabled&&(a&&u.alt.indexOf(a)<0||i.__cache__[a].push(u.fn))})})},o.prototype.at=function(i,c,a){var u=this.__find__(i),d=a||{};if(u===-1)throw new Error("Parser rule not found: "+i);this.__rules__[u].fn=c,this.__rules__[u].alt=d.alt||[],this.__cache__=null},o.prototype.before=function(i,c,a,u){var d=this.__find__(i),f=u||{};if(d===-1)throw new Error("Parser rule not found: "+i);this.__rules__.splice(d,0,{name:c,enabled:!0,fn:a,alt:f.alt||[]}),this.__cache__=null},o.prototype.after=function(i,c,a,u){var d=this.__find__(i),f=u||{};if(d===-1)throw new Error("Parser rule not found: "+i);this.__rules__.splice(d+1,0,{name:c,enabled:!0,fn:a,alt:f.alt||[]}),this.__cache__=null},o.prototype.push=function(i,c,a){var u=a||{};this.__rules__.push({name:i,enabled:!0,fn:c,alt:u.alt||[]}),this.__cache__=null},o.prototype.enable=function(i,c){Array.isArray(i)||(i=[i]);var a=[];return i.forEach(function(u){var d=this.__find__(u);if(d<0){if(c)return;throw new Error("Rules manager: invalid rule name "+u)}this.__rules__[d].enabled=!0,a.push(u)},this),this.__cache__=null,a},o.prototype.enableOnly=function(i,c){Array.isArray(i)||(i=[i]),this.__rules__.forEach(function(a){a.enabled=!1}),this.enable(i,c)},o.prototype.disable=function(i,c){Array.isArray(i)||(i=[i]);var a=[];return i.forEach(function(u){var d=this.__find__(u);if(d<0){if(c)return;throw new Error("Rules manager: invalid rule name "+u)}this.__rules__[d].enabled=!1,a.push(u)},this),this.__cache__=null,a},o.prototype.getRules=function(i){return this.__cache__===null&&this.__compile__(),this.__cache__[i]||[]},e.exports=o},function(e,t,r){function o(i,c,a){this.type=i,this.tag=c,this.attrs=null,this.map=null,this.nesting=a,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}o.prototype.attrIndex=function(i){var c,a,u;if(!this.attrs)return-1;for(a=0,u=(c=this.attrs).length;a<u;a++)if(c[a][0]===i)return a;return-1},o.prototype.attrPush=function(i){this.attrs?this.attrs.push(i):this.attrs=[i]},o.prototype.attrSet=function(i,c){var a=this.attrIndex(i),u=[i,c];a<0?this.attrPush(u):this.attrs[a]=u},o.prototype.attrGet=function(i){var c=this.attrIndex(i),a=null;return c>=0&&(a=this.attrs[c][1]),a},o.prototype.attrJoin=function(i,c){var a=this.attrIndex(i);a<0?this.attrPush([i,c]):this.attrs[a][1]=this.attrs[a][1]+" "+c},e.exports=o},function(e,t,r){e.exports=function(o){var i=[];return i.toString=function(){return this.map(function(c){var a=function(u,d){var f=u[1]||"",m=u[3];if(!m)return f;if(d&&typeof btoa=="function"){var g=(y=m,w=btoa(unescape(encodeURIComponent(JSON.stringify(y)))),b="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(w),"/*# ".concat(b," */")),v=m.sources.map(function(S){return"/*# sourceURL=".concat(m.sourceRoot||"").concat(S," */")});return[f].concat(v).concat([g]).join(`
`)}var y,w,b;return[f].join(`
`)}(c,o);return c[2]?"@media ".concat(c[2]," {").concat(a,"}"):a}).join("")},i.i=function(c,a,u){typeof c=="string"&&(c=[[null,c,""]]);var d={};if(u)for(var f=0;f<this.length;f++){var m=this[f][0];m!=null&&(d[m]=!0)}for(var g=0;g<c.length;g++){var v=[].concat(c[g]);u&&d[v[0]]||(a&&(v[2]?v[2]="".concat(a," and ").concat(v[2]):v[2]=a),i.push(v))}},i}},function(e,t,r){function o(x,R){for(var O=[],A={},N=0;N<R.length;N++){var E=R[N],P=E[0],V={id:x+":"+N,css:E[1],media:E[2],sourceMap:E[3]};A[P]?A[P].parts.push(V):O.push(A[P]={id:P,parts:[V]})}return O}r.r(t),r.d(t,"default",function(){return y});var i=typeof document<"u";if(typeof DEBUG<"u"&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var c={},a=i&&(document.head||document.getElementsByTagName("head")[0]),u=null,d=0,f=!1,m=function(){},g=null,v=typeof navigator<"u"&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function y(x,R,O,A){f=O,g=A||{};var N=o(x,R);return w(N),function(E){for(var P=[],V=0;V<N.length;V++){var D=N[V];(F=c[D.id]).refs--,P.push(F)}for(E?w(N=o(x,E)):N=[],V=0;V<P.length;V++){var F;if((F=P[V]).refs===0){for(var B=0;B<F.parts.length;B++)F.parts[B]();delete c[F.id]}}}}function w(x){for(var R=0;R<x.length;R++){var O=x[R],A=c[O.id];if(A){A.refs++;for(var N=0;N<A.parts.length;N++)A.parts[N](O.parts[N]);for(;N<O.parts.length;N++)A.parts.push(S(O.parts[N]));A.parts.length>O.parts.length&&(A.parts.length=O.parts.length)}else{var E=[];for(N=0;N<O.parts.length;N++)E.push(S(O.parts[N]));c[O.id]={id:O.id,refs:1,parts:E}}}}function b(){var x=document.createElement("style");return x.type="text/css",a.appendChild(x),x}function S(x){var R,O,A=document.querySelector('style[data-vue-ssr-id~="'+x.id+'"]');if(A){if(f)return m;A.parentNode.removeChild(A)}if(v){var N=d++;A=u||(u=b()),R=C.bind(null,A,N,!1),O=C.bind(null,A,N,!0)}else A=b(),R=T.bind(null,A),O=function(){A.parentNode.removeChild(A)};return R(x),function(E){if(E){if(E.css===x.css&&E.media===x.media&&E.sourceMap===x.sourceMap)return;R(x=E)}else O()}}var _,k=(_=[],function(x,R){return _[x]=R,_.filter(Boolean).join(`
`)});function C(x,R,O,A){var N=O?"":A.css;if(x.styleSheet)x.styleSheet.cssText=k(R,N);else{var E=document.createTextNode(N),P=x.childNodes;P[R]&&x.removeChild(P[R]),P.length?x.insertBefore(E,P[R]):x.appendChild(E)}}function T(x,R){var O=R.css,A=R.media,N=R.sourceMap;if(A&&x.setAttribute("media",A),g.ssrId&&x.setAttribute("data-vue-ssr-id",R.id),N&&(O+=`
/*# sourceURL=`+N.sources[0]+" */",O+=`
/*# sourceMappingURL=data:application/json;base64,`+btoa(unescape(encodeURIComponent(JSON.stringify(N))))+" */"),x.styleSheet)x.styleSheet.cssText=O;else{for(;x.firstChild;)x.removeChild(x.firstChild);x.appendChild(document.createTextNode(O))}}},function(e,t,r){var o=r(12),i=r(46),c=r(49),a=r(5),u=r(29),d=r(87),f=r(34),m=r(94),g=r(9)("iterator"),v=!([].keys&&"next"in[].keys()),y=function(){return this};e.exports=function(w,b,S,_,k,C,T){d(S,b,_);var x,R,O,A=function(U){if(!v&&U in V)return V[U];switch(U){case"keys":case"values":return function(){return new S(this,U)}}return function(){return new S(this,U)}},N=b+" Iterator",E=k=="values",P=!1,V=w.prototype,D=V[g]||V["@@iterator"]||k&&V[k],F=D||A(k),B=k?E?A("entries"):F:void 0,$=b=="Array"&&V.entries||D;if($&&(O=m($.call(new w)))!==Object.prototype&&O.next&&(f(O,N,!0),o||typeof O[g]=="function"||a(O,g,y)),E&&D&&D.name!=="values"&&(P=!0,F=function(){return D.call(this)}),o&&!T||!v&&!P&&V[g]||a(V,g,F),u[b]=F,u[N]=y,k)if(x={values:E?F:A("values"),keys:C?F:A("keys"),entries:B},T)for(R in x)R in V||c(V,R,x[R]);else i(i.P+i.F*(v||P),b,x);return x}},function(e,t,r){var o=r(2),i=r(13),c=r(85),a=r(5),u=r(4),d=function(f,m,g){var v,y,w,b=f&d.F,S=f&d.G,_=f&d.S,k=f&d.P,C=f&d.B,T=f&d.W,x=S?i:i[m]||(i[m]={}),R=x.prototype,O=S?o:_?o[m]:(o[m]||{}).prototype;for(v in S&&(g=m),g)(y=!b&&O&&O[v]!==void 0)&&u(x,v)||(w=y?O[v]:g[v],x[v]=S&&typeof O[v]!="function"?g[v]:C&&y?c(w,o):T&&O[v]==w?function(A){var N=function(E,P,V){if(this instanceof A){switch(arguments.length){case 0:return new A;case 1:return new A(E);case 2:return new A(E,P)}return new A(E,P,V)}return A.apply(this,arguments)};return N.prototype=A.prototype,N}(w):k&&typeof w=="function"?c(Function.call,w):w,k&&((x.virtual||(x.virtual={}))[v]=w,f&d.R&&R&&!R[v]&&a(R,v,w)))};d.F=1,d.G=2,d.S=4,d.P=8,d.B=16,d.W=32,d.U=64,d.R=128,e.exports=d},function(e,t,r){e.exports=!r(7)&&!r(15)(function(){return Object.defineProperty(r(48)("div"),"a",{get:function(){return 7}}).a!=7})},function(e,t,r){var o=r(10),i=r(2).document,c=o(i)&&o(i.createElement);e.exports=function(a){return c?i.createElement(a):{}}},function(e,t,r){e.exports=r(5)},function(e,t,r){var o=r(14),i=r(88),c=r(33),a=r(31)("IE_PROTO"),u=function(){},d=function(){var f,m=r(48)("iframe"),g=c.length;for(m.style.display="none",r(93).appendChild(m),m.src="javascript:",(f=m.contentWindow.document).open(),f.write("<script>document.F=Object<\/script>"),f.close(),d=f.F;g--;)delete d.prototype[c[g]];return d()};e.exports=Object.create||function(f,m){var g;return f!==null?(u.prototype=o(f),g=new u,u.prototype=null,g[a]=f):g=d(),m===void 0?g:i(g,m)}},function(e,t,r){var o=r(4),i=r(8),c=r(90)(!1),a=r(31)("IE_PROTO");e.exports=function(u,d){var f,m=i(u),g=0,v=[];for(f in m)f!=a&&o(m,f)&&v.push(f);for(;d.length>g;)o(m,f=d[g++])&&(~c(v,f)||v.push(f));return v}},function(e,t){var r={}.toString;e.exports=function(o){return r.call(o).slice(8,-1)}},function(e,t,r){var o=r(27);e.exports=function(i){return Object(o(i))}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,r){var o=r(51),i=r(33).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(c){return o(c,i)}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default={"1c":"1c",abnf:"abnf",accesslog:"accesslog",actionscript:"actionscript",as:"actionscript",ada:"ada",apache:"apache",apacheconf:"apache",applescript:"applescript",osascript:"applescript",arduino:"arduino",armasm:"armasm",arm:"armasm",asciidoc:"asciidoc",adoc:"asciidoc",aspectj:"aspectj",autohotkey:"autohotkey",ahk:"autohotkey",autoit:"autoit",avrasm:"avrasm",awk:"awk",axapta:"axapta",bash:"bash",sh:"bash",zsh:"bash",basic:"basic",bnf:"bnf",brainfuck:"brainfuck",bf:"brainfuck",cal:"cal",capnproto:"capnproto",capnp:"capnproto",ceylon:"ceylon",clean:"clean",icl:"clean",dcl:"clean","clojure-repl":"clojure-repl",clojure:"clojure",clj:"clojure",cmake:"cmake","cmake.in":"cmake",coffeescript:"coffeescript",coffee:"coffeescript",cson:"coffeescript",iced:"coffeescript",coq:"coq",cos:"cos",cls:"cos",cpp:"cpp",c:"cpp",cc:"cpp",h:"cpp","c++":"cpp","h++":"cpp",hpp:"cpp",crmsh:"crmsh",crm:"crmsh",pcmk:"crmsh",crystal:"crystal",cr:"crystal",cs:"cs",csharp:"cs",csp:"csp",css:"css",d:"d",dart:"dart",delphi:"delphi",dpr:"delphi",dfm:"delphi",pas:"delphi",pascal:"delphi",freepascal:"delphi",lazarus:"delphi",lpr:"delphi",lfm:"delphi",diff:"diff",patch:"diff",django:"django",jinja:"django",dns:"dns",bind:"dns",zone:"dns",dockerfile:"dockerfile",docker:"dockerfile",dos:"dos",bat:"dos",cmd:"dos",dsconfig:"dsconfig",dts:"dts",dust:"dust",dst:"dust",ebnf:"ebnf",elixir:"elixir",elm:"elm",erb:"erb","erlang-repl":"erlang-repl",erlang:"erlang",erl:"erlang",excel:"excel",xlsx:"excel",xls:"excel",fix:"fix",flix:"flix",fortran:"fortran",f90:"fortran",f95:"fortran",fsharp:"fsharp",fs:"fsharp",gams:"gams",gms:"gams",gauss:"gauss",gss:"gauss",gcode:"gcode",nc:"gcode",gherkin:"gherkin",feature:"gherkin",glsl:"glsl",go:"go",golang:"go",golo:"golo",gradle:"gradle",groovy:"groovy",haml:"haml",handlebars:"handlebars",hbs:"handlebars","html.hbs":"handlebars","html.handlebars":"handlebars",haskell:"haskell",hs:"haskell",haxe:"haxe",hx:"haxe",hsp:"hsp",htmlbars:"htmlbars",http:"http",https:"http",hy:"hy",hylang:"hy",inform7:"inform7",i7:"inform7",ini:"ini",toml:"ini",irpf90:"irpf90",java:"java",jsp:"java",javascript:"javascript",js:"javascript",jsx:"javascript","jboss-cli":"jboss-cli","wildfly-cli":"jboss-cli",json:"json","julia-repl":"julia-repl",julia:"julia",kotlin:"kotlin",lasso:"lasso",ls:"livescript",lassoscript:"lasso",ldif:"ldif",leaf:"leaf",less:"less",lisp:"lisp",livecodeserver:"livecodeserver",livescript:"livescript",llvm:"llvm",lsl:"lsl",lua:"lua",makefile:"makefile",mk:"makefile",mak:"makefile",markdown:"markdown",md:"markdown",mkdown:"markdown",mkd:"markdown",mathematica:"mathematica",mma:"mathematica",matlab:"matlab",maxima:"maxima",mel:"mel",mercury:"mercury",m:"mercury",moo:"mercury",mipsasm:"mipsasm",mips:"mipsasm",mizar:"mizar",mojolicious:"mojolicious",monkey:"monkey",moonscript:"moonscript",moon:"moonscript",n1ql:"n1ql",nginx:"nginx",nginxconf:"nginx",nimrod:"nimrod",nim:"nimrod",nix:"nix",nixos:"nix",nsis:"nsis",objectivec:"objectivec",mm:"objectivec",objc:"objectivec","obj-c":"objectivec",ocaml:"ocaml",ml:"sml",openscad:"openscad",scad:"openscad",oxygene:"oxygene",parser3:"parser3",perl:"perl",pl:"perl",pm:"perl",pf:"pf","pf.conf":"pf",php:"php",php3:"php",php4:"php",php5:"php",php6:"php",pony:"pony",powershell:"powershell",ps:"powershell",processing:"processing",profile:"profile",prolog:"prolog",protobuf:"protobuf",puppet:"puppet",pp:"puppet",purebasic:"purebasic",pb:"purebasic",pbi:"purebasic",python:"python",py:"python",gyp:"python",q:"q",k:"q",kdb:"q",qml:"qml",qt:"qml",r:"r",rib:"rib",roboconf:"roboconf",graph:"roboconf",instances:"roboconf",routeros:"routeros",mikrotik:"routeros",rsl:"rsl",ruby:"ruby",rb:"ruby",gemspec:"ruby",podspec:"ruby",thor:"ruby",irb:"ruby",ruleslanguage:"ruleslanguage",rust:"rust",rs:"rust",scala:"scala",scheme:"scheme",scilab:"scilab",sci:"scilab",scss:"scss",shell:"shell",console:"shell",smali:"smali",smalltalk:"smalltalk",st:"smalltalk",sml:"sml",sqf:"sqf",sql:"sql",stan:"stan",stata:"stata",do:"stata",ado:"stata",step21:"step21",p21:"step21",step:"step21",stp:"step21",stylus:"stylus",styl:"stylus",subunit:"subunit",swift:"swift",taggerscript:"taggerscript",tap:"tap",tcl:"tcl",tk:"tcl",tex:"tex",thrift:"thrift",tp:"tp",twig:"twig",craftcms:"twig",typescript:"typescript",ts:"typescript",vala:"vala",vbnet:"vbnet",vb:"vbnet","vbscript-html":"vbscript-html",vbscript:"vbscript",vbs:"vbscript",verilog:"verilog",v:"verilog",sv:"verilog",svh:"verilog",vhdl:"vhdl",vim:"vim",x86asm:"x86asm",xl:"xl",tao:"xl",xml:"xml",html:"xml",xhtml:"xml",rss:"xml",atom:"xml",xjb:"xml",xsd:"xml",xsl:"xml",plist:"xml",xquery:"xquery",xpath:"xquery",xq:"xquery",yaml:"yaml",yml:"yaml",YAML:"yaml",zephir:"zephir",zep:"zephir"}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.loadScript=function(d,f){typeof f!="function"&&(f=function(){});var m=document.querySelectorAll("script[src='"+d+"']");if(m.length>0)return m[0].addEventListener("load",function(){f()}),void f();var g=document.createElement("script"),v=document.getElementsByTagName("head")[0];g.type="text/javascript",g.charset="UTF-8",g.src=d,g.addEventListener?g.addEventListener("load",function(){f()},!1):g.attachEvent&&g.attachEvent("onreadystatechange",function(){window.event.srcElement.readyState==="loaded"&&f()}),v.appendChild(g)},t.loadLink=function(d,f,m){if(typeof f!="function"&&(f=function(){}),document.querySelectorAll("link[href='"+d+"']").length>0)return void f();if(m){var g=document.querySelectorAll("link#"+m);if(g.length)return void(g[0].href=d)}var v=document.createElement("link"),y=document.getElementsByTagName("head")[0];v.rel="stylesheet",v.href=d,m&&(v.id=m),v.addEventListener?v.addEventListener("load",function(){f()},!1):v.attachEvent&&v.attachEvent("onreadystatechange",function(){window.event.srcElement.readyState==="loaded"&&f()}),y.appendChild(v)},t.insertTextAtCaret=function(d,f,m){var g=f.prefix,v=f.subfix,y=f.str;if(f.type,d.focus(),u(d)){var w=d.selectionStart,b=d.selectionEnd,S=d.value;w===b?(d.value=S.substring(0,w)+g+y+v+S.substring(b,S.length),d.selectionStart=w+g.length,d.selectionEnd=w+(y.length+g.length)):S.substring(w-g.length,w)===g&&S.substring(b,b+v.length)===v&&function(_,k,C,T,x){return!(_==="*"&&k==="*"&&C.substring(T-2,T-1)==="*"&&C.substring(x+1,x+2)==="*")}(g,v,S,w,b)?(d.value=S.substring(0,w-g.length)+S.substring(w,b)+S.substring(b+v.length,S.length),d.selectionStart=w-g.length,d.selectionEnd=b-g.length):(d.value=S.substring(0,w)+g+S.substring(w,b)+v+S.substring(b,S.length),d.selectionStart=w+g.length,d.selectionEnd=w+(b-w+g.length))}else alert("Error: Browser version is too low");m.d_value=d.value,d.focus()};var o="```",i="\n```\n",c="language";t.insertCodeBlock=function(d){var f=d.getTextareaDom();if(u(f)){var m=c,g=f.selectionStart,v=f.selectionEnd,y=f.value;g===v?a(m,"",f):function(w){var b=w.selectionStart,S=w.selectionEnd,_=w.value,k=o,C=i;return _.substring(b-1,b)===`
`?k+=`
`:C=`
`+C,_.substring(b-k.length,b)===k&&_.substring(S,S+C.length)===C}(f)?function(w){var b=o,S=i,_=c,k=w.selectionStart,C=w.selectionEnd,T=w.value,x=T.substring(k,C);if(T.substring(k-1,k)===`
`)b+=`
`;else if(b+_+(S=`
`+S)===T.substring(k-b.length,C+S.length)){var R=T.substring(0,k-b.length);return R+=T.substring(C+S.length,T.length),w.value=R,w.selectionStart=k-b.length,void(w.selectionEnd=w.selectionStart)}var O=T.substring(0,k-b.length);O+=x,O+=T.substring(C+S.length,T.length),w.value=O,w.selectionStart=k-b.length,w.selectionEnd=w.selectionStart+x.length}(f):a("",y.substring(g,v),f),d.d_value=f.value,f.focus()}else alert("Error: Browser version is too low")};function a(d,f,m){var g=o,v=i,y=m.selectionStart,w=m.selectionEnd,b=m.value,S=b.substring(0,y);S+=g+d+`
`,S+=f,S+=v,S+=b.substring(w,b.length),m.value=S,m.selectionStart=y+g.length+(d?0:1),m.selectionEnd=m.selectionStart+d.length+f.length}function u(d){return typeof d.selectionStart=="number"&&typeof d.selectionEnd=="number"}t.insertOl=function(d){var f=d.getTextareaDom();if(u(f)){var m=f.selectionStart,g=f.selectionEnd,v=f.value;if(m===g)f.value=v.substring(0,m)+"1. "+v.substring(g,v.length),f.selectionEnd=f.selectionStart=m+3;else{for(var y=m;y>0&&v.substring(y-1,y)!==`
`;)y--;for(var w=v.substring(y,g),b=w.split(`
`),S=0;S<b.length;S++)b[S]=S+1+". "+b[S];var _=b.join(`
`);f.value=v.substring(0,y)+_+v.substring(g,v.length),f.selectionStart=y,f.selectionEnd=g+_.length-w.length}}else alert("Error: Browser version is too low");d.d_value=f.value,f.focus()},t.removeLine=function(d){var f=d.getTextareaDom();if(u(f)){for(var m=f.selectionStart,g=f.selectionEnd,v=f.value,y=m;y>0&&v.substring(y-1,y)!==`
`;)y--;for(var w=g;w<v.length&&v.substring(w,w+1)!==`
`;)w++;w<v.length&&w++,f.value=v.substring(0,y)+v.substring(w,v.length),f.selectionEnd=f.selectionStart=y===0?0:y-1}else alert("Error: Browser version is too low");d.d_value=f.value,f.focus()},t.insertUl=function(d){var f=d.getTextareaDom();if(u(f)){var m=f.selectionStart,g=f.selectionEnd,v=f.value;if(m===g)f.value=v.substring(0,m)+"- "+v.substring(g,v.length),f.selectionEnd=f.selectionStart=m+2;else{for(var y=m;y>0&&v.substring(y-1,y)!==`
`;)y--;var w=v.substring(y,g),b=w.replace(/\n/g,`
- `);b="- "+b,f.value=v.substring(0,y)+b+v.substring(g,v.length),f.selectionStart=y,f.selectionEnd=g+b.length-w.length}}else alert("Error: Browser version is too low");d.d_value=f.value,f.focus()},t.insertTab=function(d,f){f=f?new Array(f).fill(" ").join(""):" ";var m=d.getTextareaDom();if(u(m)){var g=m.selectionStart,v=m.selectionEnd,y=m.value,w=y.substring(0,g).split(`
`).pop();if(w.match(/^\s*[0-9]+\.\s+\S*/)){var b=w.replace(/(\d+)/,1);m.value=y.substring(0,g-b.length)+f+b+y.substring(v,y.length)}else w.match(/^\s*-\s+\S*/)?m.value=y.substring(0,g-w.length)+f+w+y.substring(v,y.length):m.value=y.substring(0,g)+f+y.substring(v,y.length);m.selectionStart=m.selectionEnd=g+f.length}else alert("Error: Browser version is too low");d.d_value=m.value,m.focus()},t.unInsertTab=function(d,f){var m=new RegExp(f?"\\s{"+f+"}":" ");console.log("regTab:",m);var g=d.getTextareaDom();if(u(g)){var v=g.selectionStart,y=g.selectionEnd,w=g.value,b=w.substring(0,v).split(`
`).pop();b.search(m)>=0&&(g.value=w.substring(0,v-b.length)+b.replace(m,"")+w.substring(y,w.length),g.selectionStart=g.selectionEnd=v-(f||1))}else alert("Error: Browser version is too low");d.d_value=g.value,g.focus()},t.insertEnter=function(d,f){var m=d.getTextareaDom();if(u(m)){var g=m.selectionStart,v=m.selectionEnd,y=m.value,w=y.substring(0,g).split(`
`).pop(),b=w.match(/^\s*(?:[0-9]+\.|-)\s+\S+/);if(b){f.preventDefault();var S=b.shift().match(/^\s*(?:[0-9]+\.|-)\s/).shift();if(S.search(/-/)>=0)m.value=y.substring(0,g)+`
`+S+y.substring(v,y.length),m.selectionStart=m.selectionEnd=g+S.length+1;else{var _=S.replace(/(\d+)/,parseInt(S)+1);m.value=y.substring(0,g)+`
`+_+y.substring(v,y.length),m.selectionStart=m.selectionEnd=g+_.length+1}}else{var k=w.match(/^\s*(?:[0-9]+\.|-)\s+$/);if(k){f.preventDefault();var C=k.shift().length;m.value=y.substring(0,g-C)+`
`+y.substring(v,y.length),m.selectionStart=m.selectionEnd=g-C}}}else alert("Error: Browser version is too low");d.d_value=m.value,m.focus()},t.getNavigation=function(d,f){var m=void 0;(m=d.$refs.navigationContent).innerHTML=d.d_render;var g=m.children;if(g.length)for(var v=0;v<g.length;v++)y(g[v],v);function y(w,b,S){/^H[1-6]{1}$/.exec(w.tagName)?w.onclick=function(){var _=d.$refs.vShowContent,k=d.$refs.vNoteEdit;d.s_subfield?d.s_preview_switch&&(k.scrollTop=_.children[b].offsetTop*(k.scrollHeight-k.offsetHeight)/(_.scrollHeight-_.offsetHeight)):d.s_preview_switch&&(_.scrollTop=_.children[b].offsetTop)}:w.style.display="none"}},t.scrollLink=function(d,f){var m=d.srcElement?d.srcElement:d.target,g=m.scrollTop/(m.scrollHeight-m.offsetHeight);f.edit_scroll_height>=0&&m.scrollHeight!==f.edit_scroll_height&&m.scrollHeight-m.offsetHeight-m.scrollTop<=30&&(f.$refs.vNoteEdit.scrollTop=m.scrollHeight-m.offsetHeight,g=1),f.edit_scroll_height=m.scrollHeight,f.$refs.vShowContent.scrollHeight>f.$refs.vShowContent.offsetHeight&&(f.$refs.vShowContent.scrollTop=(f.$refs.vShowContent.scrollHeight-f.$refs.vShowContent.offsetHeight)*g)},t.fullscreenchange=function(d){d.$el.addEventListener("fullscreenchange",function(f){d.$toolbar_right_read_change_status()},!1),d.$el.addEventListener("mozfullscreenchange",function(f){d.$toolbar_right_read_change_status()},!1),d.$el.addEventListener("webkitfullscreenchange",function(f){d.$toolbar_right_read_change_status()},!1),d.$el.addEventListener("msfullscreenchange",function(f){d.$toolbar_right_read_change_status()},!1)},t.windowResize=function(d){function f(){d.$el.clientWidth>768?d.s_subfield=d.subfield:d.s_subfield=!1}f(),window.addEventListener("resize",f)},t.ImagePreviewListener=function(d){d.$refs.vShowContent.addEventListener("click",function(f){var m=(f=f||window.event).srcElement?f.srcElement:f.target;m.tagName==="IMG"&&(d.imageClick!=null?d.imageClick(m):d.d_preview_imgsrc=m.src)})}},function(e,t,r){var o=r(38).FilterCSS,i=r(38).getDefaultWhiteList,c=r(39);function a(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var u=new o;function d(E){return E.replace(f,"&lt;").replace(m,"&gt;")}var f=/</g,m=/>/g,g=/"/g,v=/&quot;/g,y=/&#([a-zA-Z0-9]*);?/gim,w=/&colon;?/gim,b=/&newline;?/gim,S=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,_=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,k=/u\s*r\s*l\s*\(.*/gi;function C(E){return E.replace(g,"&quot;")}function T(E){return E.replace(v,'"')}function x(E){return E.replace(y,function(P,V){return V[0]==="x"||V[0]==="X"?String.fromCharCode(parseInt(V.substr(1),16)):String.fromCharCode(parseInt(V,10))})}function R(E){return E.replace(w,":").replace(b," ")}function O(E){for(var P="",V=0,D=E.length;V<D;V++)P+=E.charCodeAt(V)<32?" ":E.charAt(V);return c.trim(P)}function A(E){return E=O(E=R(E=x(E=T(E))))}function N(E){return E=d(E=C(E))}t.whiteList={a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]},t.getDefaultWhiteList=a,t.onTag=function(E,P,V){},t.onIgnoreTag=function(E,P,V){},t.onTagAttr=function(E,P,V){},t.onIgnoreTagAttr=function(E,P,V){},t.safeAttrValue=function(E,P,V,D){if(V=A(V),P==="href"||P==="src"){if((V=c.trim(V))==="#")return"#";if(V.substr(0,7)!=="http://"&&V.substr(0,8)!=="https://"&&V.substr(0,7)!=="mailto:"&&V.substr(0,4)!=="tel:"&&V.substr(0,11)!=="data:image/"&&V.substr(0,6)!=="ftp://"&&V.substr(0,2)!=="./"&&V.substr(0,3)!=="../"&&V[0]!=="#"&&V[0]!=="/")return""}else if(P==="background"){if(S.lastIndex=0,S.test(V))return""}else if(P==="style"){if(_.lastIndex=0,_.test(V)||(k.lastIndex=0,k.test(V)&&(S.lastIndex=0,S.test(V))))return"";D!==!1&&(V=(D=D||u).process(V))}return V=N(V)},t.escapeHtml=d,t.escapeQuote=C,t.unescapeQuote=T,t.escapeHtmlEntities=x,t.escapeDangerHtml5Entities=R,t.clearNonPrintableCharacter=O,t.friendlyAttrValue=A,t.escapeAttrValue=N,t.onIgnoreTagStripAll=function(){return""},t.StripTagBody=function(E,P){typeof P!="function"&&(P=function(){});var V=!Array.isArray(E),D=[],F=!1;return{onIgnoreTag:function(B,$,U){if(function(Q){return!!V||c.indexOf(E,Q)!==-1}(B)){if(U.isClosing){var M="[/removed]",Z=U.position+M.length;return D.push([F!==!1?F:U.position,Z]),F=!1,M}return F||(F=U.position),"[removed]"}return P(B,$,U)},remove:function(B){var $="",U=0;return c.forEach(D,function(M){$+=B.slice(U,M[0]),U=M[1]}),$+=B.slice(U)}}},t.stripCommentTag=function(E){for(var P="",V=0;V<E.length;){var D=E.indexOf("<!--",V);if(D===-1){P+=E.slice(V);break}P+=E.slice(V,D);var F=E.indexOf("-->",D);if(F===-1)break;V=F+3}return P},t.stripBlankChar=function(E){var P=E.split("");return(P=P.filter(function(V){var D=V.charCodeAt(0);return D!==127&&(!(D<=31)||D===10||D===13)})).join("")},t.cssFilter=u,t.getDefaultCSSWhiteList=i},function(e,t){function r(){var i={"align-content":!1,"align-items":!1,"align-self":!1,"alignment-adjust":!1,"alignment-baseline":!1,all:!1,"anchor-point":!1,animation:!1,"animation-delay":!1,"animation-direction":!1,"animation-duration":!1,"animation-fill-mode":!1,"animation-iteration-count":!1,"animation-name":!1,"animation-play-state":!1,"animation-timing-function":!1,azimuth:!1,"backface-visibility":!1,background:!0,"background-attachment":!0,"background-clip":!0,"background-color":!0,"background-image":!0,"background-origin":!0,"background-position":!0,"background-repeat":!0,"background-size":!0,"baseline-shift":!1,binding:!1,bleed:!1,"bookmark-label":!1,"bookmark-level":!1,"bookmark-state":!1,border:!0,"border-bottom":!0,"border-bottom-color":!0,"border-bottom-left-radius":!0,"border-bottom-right-radius":!0,"border-bottom-style":!0,"border-bottom-width":!0,"border-collapse":!0,"border-color":!0,"border-image":!0,"border-image-outset":!0,"border-image-repeat":!0,"border-image-slice":!0,"border-image-source":!0,"border-image-width":!0,"border-left":!0,"border-left-color":!0,"border-left-style":!0,"border-left-width":!0,"border-radius":!0,"border-right":!0,"border-right-color":!0,"border-right-style":!0,"border-right-width":!0,"border-spacing":!0,"border-style":!0,"border-top":!0,"border-top-color":!0,"border-top-left-radius":!0,"border-top-right-radius":!0,"border-top-style":!0,"border-top-width":!0,"border-width":!0,bottom:!1,"box-decoration-break":!0,"box-shadow":!0,"box-sizing":!0,"box-snap":!0,"box-suppress":!0,"break-after":!0,"break-before":!0,"break-inside":!0,"caption-side":!1,chains:!1,clear:!0,clip:!1,"clip-path":!1,"clip-rule":!1,color:!0,"color-interpolation-filters":!0,"column-count":!1,"column-fill":!1,"column-gap":!1,"column-rule":!1,"column-rule-color":!1,"column-rule-style":!1,"column-rule-width":!1,"column-span":!1,"column-width":!1,columns:!1,contain:!1,content:!1,"counter-increment":!1,"counter-reset":!1,"counter-set":!1,crop:!1,cue:!1,"cue-after":!1,"cue-before":!1,cursor:!1,direction:!1,display:!0,"display-inside":!0,"display-list":!0,"display-outside":!0,"dominant-baseline":!1,elevation:!1,"empty-cells":!1,filter:!1,flex:!1,"flex-basis":!1,"flex-direction":!1,"flex-flow":!1,"flex-grow":!1,"flex-shrink":!1,"flex-wrap":!1,float:!1,"float-offset":!1,"flood-color":!1,"flood-opacity":!1,"flow-from":!1,"flow-into":!1,font:!0,"font-family":!0,"font-feature-settings":!0,"font-kerning":!0,"font-language-override":!0,"font-size":!0,"font-size-adjust":!0,"font-stretch":!0,"font-style":!0,"font-synthesis":!0,"font-variant":!0,"font-variant-alternates":!0,"font-variant-caps":!0,"font-variant-east-asian":!0,"font-variant-ligatures":!0,"font-variant-numeric":!0,"font-variant-position":!0,"font-weight":!0,grid:!1,"grid-area":!1,"grid-auto-columns":!1,"grid-auto-flow":!1,"grid-auto-rows":!1,"grid-column":!1,"grid-column-end":!1,"grid-column-start":!1,"grid-row":!1,"grid-row-end":!1,"grid-row-start":!1,"grid-template":!1,"grid-template-areas":!1,"grid-template-columns":!1,"grid-template-rows":!1,"hanging-punctuation":!1,height:!0,hyphens:!1,icon:!1,"image-orientation":!1,"image-resolution":!1,"ime-mode":!1,"initial-letters":!1,"inline-box-align":!1,"justify-content":!1,"justify-items":!1,"justify-self":!1,left:!1,"letter-spacing":!0,"lighting-color":!0,"line-box-contain":!1,"line-break":!1,"line-grid":!1,"line-height":!1,"line-snap":!1,"line-stacking":!1,"line-stacking-ruby":!1,"line-stacking-shift":!1,"line-stacking-strategy":!1,"list-style":!0,"list-style-image":!0,"list-style-position":!0,"list-style-type":!0,margin:!0,"margin-bottom":!0,"margin-left":!0,"margin-right":!0,"margin-top":!0,"marker-offset":!1,"marker-side":!1,marks:!1,mask:!1,"mask-box":!1,"mask-box-outset":!1,"mask-box-repeat":!1,"mask-box-slice":!1,"mask-box-source":!1,"mask-box-width":!1,"mask-clip":!1,"mask-image":!1,"mask-origin":!1,"mask-position":!1,"mask-repeat":!1,"mask-size":!1,"mask-source-type":!1,"mask-type":!1,"max-height":!0,"max-lines":!1,"max-width":!0,"min-height":!0,"min-width":!0,"move-to":!1,"nav-down":!1,"nav-index":!1,"nav-left":!1,"nav-right":!1,"nav-up":!1,"object-fit":!1,"object-position":!1,opacity:!1,order:!1,orphans:!1,outline:!1,"outline-color":!1,"outline-offset":!1,"outline-style":!1,"outline-width":!1,overflow:!1,"overflow-wrap":!1,"overflow-x":!1,"overflow-y":!1,padding:!0,"padding-bottom":!0,"padding-left":!0,"padding-right":!0,"padding-top":!0,page:!1,"page-break-after":!1,"page-break-before":!1,"page-break-inside":!1,"page-policy":!1,pause:!1,"pause-after":!1,"pause-before":!1,perspective:!1,"perspective-origin":!1,pitch:!1,"pitch-range":!1,"play-during":!1,position:!1,"presentation-level":!1,quotes:!1,"region-fragment":!1,resize:!1,rest:!1,"rest-after":!1,"rest-before":!1,richness:!1,right:!1,rotation:!1,"rotation-point":!1,"ruby-align":!1,"ruby-merge":!1,"ruby-position":!1,"shape-image-threshold":!1,"shape-outside":!1,"shape-margin":!1,size:!1,speak:!1,"speak-as":!1,"speak-header":!1,"speak-numeral":!1,"speak-punctuation":!1,"speech-rate":!1,stress:!1,"string-set":!1,"tab-size":!1,"table-layout":!1,"text-align":!0,"text-align-last":!0,"text-combine-upright":!0,"text-decoration":!0,"text-decoration-color":!0,"text-decoration-line":!0,"text-decoration-skip":!0,"text-decoration-style":!0,"text-emphasis":!0,"text-emphasis-color":!0,"text-emphasis-position":!0,"text-emphasis-style":!0,"text-height":!0,"text-indent":!0,"text-justify":!0,"text-orientation":!0,"text-overflow":!0,"text-shadow":!0,"text-space-collapse":!0,"text-transform":!0,"text-underline-position":!0,"text-wrap":!0,top:!1,transform:!1,"transform-origin":!1,"transform-style":!1,transition:!1,"transition-delay":!1,"transition-duration":!1,"transition-property":!1,"transition-timing-function":!1,"unicode-bidi":!1,"vertical-align":!1,visibility:!1,"voice-balance":!1,"voice-duration":!1,"voice-family":!1,"voice-pitch":!1,"voice-range":!1,"voice-rate":!1,"voice-stress":!1,"voice-volume":!1,volume:!1,"white-space":!1,widows:!1,width:!0,"will-change":!1,"word-break":!0,"word-spacing":!0,"word-wrap":!0,"wrap-flow":!1,"wrap-through":!1,"writing-mode":!1,"z-index":!1};return i}var o=/javascript\s*\:/gim;t.whiteList=r(),t.getDefaultWhiteList=r,t.onAttr=function(i,c,a){},t.onIgnoreAttr=function(i,c,a){},t.safeAttrValue=function(i,c){return o.test(c)?"":c}},function(e,t){e.exports={indexOf:function(r,o){var i,c;if(Array.prototype.indexOf)return r.indexOf(o);for(i=0,c=r.length;i<c;i++)if(r[i]===o)return i;return-1},forEach:function(r,o,i){var c,a;if(Array.prototype.forEach)return r.forEach(o,i);for(c=0,a=r.length;c<a;c++)o.call(i,r[c],c,r)},trim:function(r){return String.prototype.trim?r.trim():r.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(r){return String.prototype.trimRight?r.trimRight():r.replace(/(\s*$)/g,"")}}},function(e,t,r){var o=r(39);function i(g){var v,y=o.spaceIndex(g);return v=y===-1?g.slice(1,-1):g.slice(1,y+1),(v=o.trim(v).toLowerCase()).slice(0,1)==="/"&&(v=v.slice(1)),v.slice(-1)==="/"&&(v=v.slice(0,-1)),v}function c(g){return g.slice(0,2)==="</"}var a=/[^a-zA-Z0-9\\_:.-]/gim;function u(g,v){for(;v<g.length;v++){var y=g[v];if(y!==" ")return y==="="?v:-1}}function d(g,v){for(;v<g.length;v++){var y=g[v];if(y!==" ")return y==="'"||y==='"'?v:-1}}function f(g,v){for(;v>0;v--){var y=g[v];if(y!==" ")return y==="="?v:-1}}function m(g){return function(v){return v[0]==='"'&&v[v.length-1]==='"'||v[0]==="'"&&v[v.length-1]==="'"}(g)?g.substr(1,g.length-2):g}t.parseTag=function(g,v,y){var w="",b=0,S=!1,_=!1,k=0,C=g.length,T="",x="";e:for(k=0;k<C;k++){var R=g.charAt(k);if(S===!1){if(R==="<"){S=k;continue}}else if(_===!1){if(R==="<"){w+=y(g.slice(b,k)),S=k,b=k;continue}if(R===">"||k===C-1){w+=y(g.slice(b,S)),T=i(x=g.slice(S,k+1)),w+=v(S,w.length,T,x,c(x)),b=k+1,S=!1;continue}if(R==='"'||R==="'")for(var O=1,A=g.charAt(k-O);A.trim()===""||A==="=";){if(A==="="){_=R;continue e}A=g.charAt(k-++O)}}else if(R===_){_=!1;continue}}return b<C&&(w+=y(g.substr(b))),w},t.parseAttr=function(g,v){var y=0,w=0,b=[],S=!1,_=g.length;function k(R,O){if(!((R=(R=o.trim(R)).replace(a,"").toLowerCase()).length<1)){var A=v(R,O||"");A&&b.push(A)}}for(var C=0;C<_;C++){var T,x=g.charAt(C);if(S!==!1||x!=="=")if(S===!1||C!==w){if(/\s|\n|\t/.test(x)){if(g=g.replace(/\s|\n|\t/g," "),S===!1){if((T=u(g,C))===-1){k(o.trim(g.slice(y,C))),S=!1,y=C+1;continue}C=T-1;continue}if((T=f(g,C-1))===-1){k(S,m(o.trim(g.slice(y,C)))),S=!1,y=C+1;continue}}}else{if((T=g.indexOf(x,C+1))===-1)break;k(S,o.trim(g.slice(w+1,T))),S=!1,y=(C=T)+1}else S=g.slice(y,C),y=C+1,w=g.charAt(y)==='"'||g.charAt(y)==="'"?y:d(g,C+1)}return y<g.length&&(S===!1?k(g.slice(y)):k(S,m(o.trim(g.slice(y))))),o.trim(b.join(" "))}},function(e,t,r){e.exports=r(140)},function(e,t,r){e.exports.encode=r(141),e.exports.decode=r(142),e.exports.format=r(143),e.exports.parse=r(144)},function(e,t){e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},function(e,t){e.exports=/[\0-\x1F\x7F-\x9F]/},function(e,t){e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},function(e,t,r){var o=`<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^"'=<>\`\\x00-\\x20]+|'[^']*'|"[^"]*"))?)*\\s*\\/?>`,i="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",c=new RegExp("^(?:"+o+"|"+i+"|<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->|<[?].*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),a=new RegExp("^(?:"+o+"|"+i+")");e.exports.HTML_TAG_RE=c,e.exports.HTML_OPEN_CLOSE_TAG_RE=a},function(e,t,r){function o(i,c){var a,u,d,f,m,g=[],v=c.length;for(a=0;a<v;a++)(d=c[a]).marker===126&&d.end!==-1&&(f=c[d.end],(m=i.tokens[d.token]).type="s_open",m.tag="s",m.nesting=1,m.markup="~~",m.content="",(m=i.tokens[f.token]).type="s_close",m.tag="s",m.nesting=-1,m.markup="~~",m.content="",i.tokens[f.token-1].type==="text"&&i.tokens[f.token-1].content==="~"&&g.push(f.token-1));for(;g.length;){for(u=(a=g.pop())+1;u<i.tokens.length&&i.tokens[u].type==="s_close";)u++;a!==--u&&(m=i.tokens[u],i.tokens[u]=i.tokens[a],i.tokens[a]=m)}}e.exports.tokenize=function(i,c){var a,u,d,f,m=i.pos,g=i.src.charCodeAt(m);if(c||g!==126||(d=(u=i.scanDelims(i.pos,!0)).length,f=String.fromCharCode(g),d<2))return!1;for(d%2&&(i.push("text","",0).content=f,d--),a=0;a<d;a+=2)i.push("text","",0).content=f+f,i.delimiters.push({marker:g,length:0,jump:a,token:i.tokens.length-1,end:-1,open:u.can_open,close:u.can_close});return i.pos+=u.length,!0},e.exports.postProcess=function(i){var c,a=i.tokens_meta,u=i.tokens_meta.length;for(o(i,i.delimiters),c=0;c<u;c++)a[c]&&a[c].delimiters&&o(i,a[c].delimiters)}},function(e,t,r){function o(i,c){var a,u,d,f,m,g;for(a=c.length-1;a>=0;a--)(u=c[a]).marker!==95&&u.marker!==42||u.end!==-1&&(d=c[u.end],g=a>0&&c[a-1].end===u.end+1&&c[a-1].token===u.token-1&&c[u.end+1].token===d.token+1&&c[a-1].marker===u.marker,m=String.fromCharCode(u.marker),(f=i.tokens[u.token]).type=g?"strong_open":"em_open",f.tag=g?"strong":"em",f.nesting=1,f.markup=g?m+m:m,f.content="",(f=i.tokens[d.token]).type=g?"strong_close":"em_close",f.tag=g?"strong":"em",f.nesting=-1,f.markup=g?m+m:m,f.content="",g&&(i.tokens[c[a-1].token].content="",i.tokens[c[u.end+1].token].content="",a--))}e.exports.tokenize=function(i,c){var a,u,d=i.pos,f=i.src.charCodeAt(d);if(c||f!==95&&f!==42)return!1;for(u=i.scanDelims(i.pos,f===42),a=0;a<u.length;a++)i.push("text","",0).content=String.fromCharCode(f),i.delimiters.push({marker:f,length:u.length,jump:a,token:i.tokens.length-1,end:-1,open:u.can_open,close:u.can_close});return i.pos+=u.length,!0},e.exports.postProcess=function(i){var c,a=i.tokens_meta,u=i.tokens_meta.length;for(o(i,i.delimiters),c=0;c<u;c++)a[c]&&a[c].delimiters&&o(i,a[c].delimiters)}},function(e,t,r){r.r(t);var o=r(76),i=r(22);for(var c in i)["default"].indexOf(c)<0&&function(d){r.d(t,d,function(){return i[d]})}(c);r(214);var a=r(3);const u=r.n(a)()(i.default,[["render",o.a],["__scopeId","data-v-218640b4"]]);t.default=u},function(e,t,r){var o=r(215);o.__esModule&&(o=o.default),typeof o=="string"&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals),(0,r(44).default)("74ee9320",o,!1,{})},function(e,t,r){r.r(t);var o=r(77),i=r(23);for(var c in i)["default"].indexOf(c)<0&&function(d){r.d(t,d,function(){return i[d]})}(c);var a=r(3);const u=r.n(a)()(i.default,[["render",o.a]]);t.default=u},function(e,t,r){var o=r(218);o.__esModule&&(o=o.default),typeof o=="string"&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals),(0,r(44).default)("4958985a",o,!1,{})},function(e,t,r){var o=r(220);o.__esModule&&(o=o.default),typeof o=="string"&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals),(0,r(44).default)("200b97d3",o,!1,{})},function(e,t,r){r.d(t,"a",function(){return g});var o=r(0);const i={class:"v-note-panel"},c=["innerHTML"],a={class:"v-note-navigation-title"},u={ref:"help"},d=["innerHTML"],f=["src"],m=["innerHTML"];function g(v,y,w,b,S,_){const k=Object(o.resolveComponent)("v-md-toolbar-left"),C=Object(o.resolveComponent)("v-md-toolbar-right"),T=Object(o.resolveComponent)("v-autoTextarea");return Object(o.openBlock)(),Object(o.createElementBlock)("div",{class:Object(o.normalizeClass)([[{fullscreen:S.s_fullScreen,shadow:w.boxShadow}],"v-note-wrapper markdown-body"]),style:Object(o.normalizeStyle)({"box-shadow":w.boxShadow?w.boxShadowStyle:""})},[Object(o.createCommentVNode)("工具栏"),Object(o.withDirectives)(Object(o.createElementVNode)("div",{class:"v-note-op",style:Object(o.normalizeStyle)({background:w.toolbarsBackground})},[Object(o.createVNode)(k,{ref:"toolbar_left",editable:w.editable,transition:w.transition,d_words:S.d_words,onToolbar_left_click:_.toolbar_left_click,onToolbar_left_addlink:_.toolbar_left_addlink,toolbars:w.toolbars,onImgAdd:_.$imgAdd,onImgDel:_.$imgDel,onImgTouch:_.$imgTouch,image_filter:w.imageFilter,class:Object(o.normalizeClass)({transition:w.transition})},{"left-toolbar-before":Object(o.withCtx)(()=>[Object(o.renderSlot)(v.$slots,"left-toolbar-before",{},void 0,!0)]),"left-toolbar-after":Object(o.withCtx)(()=>[Object(o.renderSlot)(v.$slots,"left-toolbar-after",{},void 0,!0)]),_:3},8,["editable","transition","d_words","onToolbar_left_click","onToolbar_left_addlink","toolbars","onImgAdd","onImgDel","onImgTouch","image_filter","class"]),Object(o.createVNode)(C,{ref:"toolbar_right",d_words:S.d_words,onToolbar_right_click:_.toolbar_right_click,toolbars:w.toolbars,s_subfield:S.s_subfield,s_preview_switch:S.s_preview_switch,s_fullScreen:S.s_fullScreen,s_html_code:S.s_html_code,s_navigation:S.s_navigation,class:Object(o.normalizeClass)({transition:w.transition})},{"right-toolbar-before":Object(o.withCtx)(()=>[Object(o.renderSlot)(v.$slots,"right-toolbar-before",{},void 0,!0)]),"right-toolbar-after":Object(o.withCtx)(()=>[Object(o.renderSlot)(v.$slots,"right-toolbar-after",{},void 0,!0)]),_:3},8,["d_words","onToolbar_right_click","toolbars","s_subfield","s_preview_switch","s_fullScreen","s_html_code","s_navigation","class"])],4),[[o.vShow,w.toolbarsFlag]]),Object(o.createCommentVNode)("编辑展示区域"),Object(o.createElementVNode)("div",i,[Object(o.createCommentVNode)("编辑区"),Object(o.createElementVNode)("div",{ref:"vNoteEdit",onScroll:y[1]||(y[1]=(...x)=>_.$v_edit_scroll&&_.$v_edit_scroll(...x)),class:Object(o.normalizeClass)(["v-note-edit divarea-wrapper",{"scroll-style":S.s_scrollStyle,"scroll-style-border-radius":S.s_scrollStyle&&!S.s_preview_switch&&!S.s_html_code,"single-edit":!S.s_preview_switch&&!S.s_html_code,"single-show":!S.s_subfield&&S.s_preview_switch||!S.s_subfield&&S.s_html_code,transition:w.transition}]),onClick:y[2]||(y[2]=(...x)=>_.textAreaFocus&&_.textAreaFocus(...x))},[Object(o.createElementVNode)("div",{class:"content-input-wrapper",style:Object(o.normalizeStyle)({"background-color":w.editorBackground})},[Object(o.createCommentVNode)(" 双栏 "),Object(o.createVNode)(T,{ref:"vNoteTextarea",placeholder:w.placeholder?w.placeholder:S.d_words.start_editor,class:"content-input",fontSize:w.fontSize,lineHeight:"1.5",modelValue:S.d_value,"onUpdate:modelValue":y[0]||(y[0]=x=>S.d_value=x),fullHeight:"",style:Object(o.normalizeStyle)({"background-color":w.editorBackground})},null,8,["placeholder","fontSize","modelValue","style"])],4)],34),Object(o.createCommentVNode)("展示区"),Object(o.withDirectives)(Object(o.createElementVNode)("div",{class:Object(o.normalizeClass)([{"single-show":!S.s_subfield&&S.s_preview_switch||!S.s_subfield&&S.s_html_code},"v-note-show"])},[Object(o.withDirectives)(Object(o.createElementVNode)("div",{ref:"vShowContent",innerHTML:S.d_render,class:Object(o.normalizeClass)([{"scroll-style":S.s_scrollStyle,"scroll-style-border-radius":S.s_scrollStyle},"v-show-content"]),style:Object(o.normalizeStyle)({"background-color":w.previewBackground})},null,14,c),[[o.vShow,!S.s_html_code]]),Object(o.withDirectives)(Object(o.createElementVNode)("div",{class:Object(o.normalizeClass)([{"scroll-style":S.s_scrollStyle,"scroll-style-border-radius":S.s_scrollStyle},"v-show-content-html"]),style:Object(o.normalizeStyle)({"background-color":w.previewBackground})},Object(o.toDisplayString)(S.d_render),7),[[o.vShow,S.s_html_code]])],2),[[o.vShow,S.s_preview_switch||S.s_html_code]]),Object(o.createCommentVNode)("标题导航"),Object(o.createVNode)(o.Transition,{name:"slideTop",persisted:""},{default:Object(o.withCtx)(()=>[Object(o.withDirectives)(Object(o.createElementVNode)("div",{class:Object(o.normalizeClass)(["v-note-navigation-wrapper",{transition:w.transition}])},[Object(o.createElementVNode)("div",a,[Object(o.createTextVNode)(Object(o.toDisplayString)(S.d_words.navigation_title),1),Object(o.createElementVNode)("i",{onClick:y[3]||(y[3]=x=>_.toolbar_right_click("navigation")),class:"fa fa-mavon-times v-note-navigation-close","aria-hidden":"true"})]),Object(o.createElementVNode)("div",{ref:"navigationContent",class:Object(o.normalizeClass)(["v-note-navigation-content",{"scroll-style":S.s_scrollStyle}])},null,2)],2),[[o.vShow,S.s_navigation]])]),_:1})]),Object(o.createCommentVNode)("帮助文档"),Object(o.createVNode)(o.Transition,{name:"fade"},{default:Object(o.withCtx)(()=>[Object(o.createElementVNode)("div",u,[S.s_help?(Object(o.openBlock)(),Object(o.createElementBlock)("div",{key:0,onClick:y[5]||(y[5]=Object(o.withModifiers)(x=>_.toolbar_right_click("help"),["self"])),class:"v-note-help-wrapper"},[Object(o.createElementVNode)("div",{class:Object(o.normalizeClass)(["v-note-help-content markdown-body",{shadow:w.boxShadow}])},[Object(o.createElementVNode)("i",{onClick:y[4]||(y[4]=Object(o.withModifiers)(x=>_.toolbar_right_click("help"),["stop","prevent"])),class:"fa fa-mavon-times","aria-hidden":"true"}),Object(o.createElementVNode)("div",{class:"scroll-style v-note-help-show",innerHTML:S.d_help},null,8,d)],2)])):Object(o.createCommentVNode)("v-if",!0)],512)]),_:1}),Object(o.createCommentVNode)(" 预览图片 "),Object(o.createVNode)(o.Transition,{name:"fade"},{default:Object(o.withCtx)(()=>[S.d_preview_imgsrc?(Object(o.openBlock)(),Object(o.createElementBlock)("div",{key:0,onClick:y[6]||(y[6]=x=>S.d_preview_imgsrc=null),class:"v-note-img-wrapper"},[Object(o.createElementVNode)("img",{src:S.d_preview_imgsrc,alt:"none"},null,8,f)])):Object(o.createCommentVNode)("v-if",!0)]),_:1}),Object(o.createCommentVNode)("阅读模式"),Object(o.createElementVNode)("div",{class:Object(o.normalizeClass)([{show:S.s_readmodel},"v-note-read-model scroll-style"]),ref:"vReadModel"},[Object(o.createElementVNode)("div",{ref:"vNoteReadContent",class:"v-note-read-content",innerHTML:S.d_render},null,8,m)],2)],6)}},function(e,t,r){r.d(t,"a",function(){return ce});var o=r(0);const i={class:"v-left-item"},c=["disabled","title"],a=["disabled","title"],u=["disabled","title"],d={key:3,class:"op-icon-divider"},f=["disabled","title"],m=["disabled","title"],g=["disabled","title"],v=["disabled","title"],y=["disabled","title"],w=["disabled","title"],b=["disabled","title"],S=["disabled","title"],_={key:12,class:"op-icon-divider"},k=["disabled","title"],C=["disabled","title"],T=["disabled","title"],x={key:16,class:"op-icon-divider"},R=["disabled","title"],O=["disabled"],A={class:"dropdown-item",style:{overflow:"hidden"}},N=["title","onClick"],E=["onClick","title"],P=["src"],V=["disabled","title"],D=["disabled","title"],F={key:21,class:"op-icon-divider"},B=["title"],$=["title"],U=["title"],M=["title"],Z={key:0,class:"add-image-link-wrapper"},Q={class:"add-image-link"},te={class:"title"},W={class:"link-text input-wrapper"},j=["placeholder"],le={class:"link-addr input-wrapper"},me=["placeholder"];function ce(q,K,z,re,he,G){return Object(o.openBlock)(),Object(o.createElementBlock)("div",i,[Object(o.renderSlot)(q.$slots,"left-toolbar-before",{},void 0,!0),z.toolbars.bold?(Object(o.openBlock)(),Object(o.createElementBlock)("button",{key:0,disabled:!z.editable,type:"button",onClick:K[0]||(K[0]=I=>G.$clicks("bold")),class:"op-icon fa fa-mavon-bold","aria-hidden":"true",title:z.d_words.tl_bold+" (ctrl+b)"},null,8,c)):Object(o.createCommentVNode)("v-if",!0),z.toolbars.italic?(Object(o.openBlock)(),Object(o.createElementBlock)("button",{key:1,disabled:!z.editable,type:"button",onClick:K[1]||(K[1]=I=>G.$clicks("italic")),class:"op-icon fa fa-mavon-italic","aria-hidden":"true",title:z.d_words.tl_italic+" (ctrl+i)"},null,8,a)):Object(o.createCommentVNode)("v-if",!0),z.toolbars.header?(Object(o.openBlock)(),Object(o.createElementBlock)("div",{key:2,class:Object(o.normalizeClass)([{selected:he.s_header_dropdown_open},"op-icon fa fa-mavon-header dropdown dropdown-wrapper"]),disabled:!z.editable,type:"button",onMouseleave:K[10]||(K[10]=(...I)=>G.$mouseleave_header_dropdown&&G.$mouseleave_header_dropdown(...I)),onMouseenter:K[11]||(K[11]=(...I)=>G.$mouseenter_header_dropdown&&G.$mouseenter_header_dropdown(...I)),"aria-hidden":"true",title:z.d_words.tl_header+" (ctrl+h)"},[Object(o.createVNode)(o.Transition,{name:"fade",persisted:""},{default:Object(o.withCtx)(()=>[Object(o.withDirectives)(Object(o.createElementVNode)("div",{class:Object(o.normalizeClass)(["op-header popup-dropdown",{transition:z.transition}]),onMouseenter:K[8]||(K[8]=(...I)=>G.$mouseenter_header_dropdown&&G.$mouseenter_header_dropdown(...I)),onMouseleave:K[9]||(K[9]=(...I)=>G.$mouseleave_header_dropdown&&G.$mouseleave_header_dropdown(...I))},[Object(o.createElementVNode)("div",{title:"#",class:"dropdown-item",onClick:K[2]||(K[2]=Object(o.withModifiers)(I=>G.$click_header("header1"),["stop"]))},[Object(o.createElementVNode)("span",null,Object(o.toDisplayString)(z.d_words.tl_header_one),1)]),Object(o.createElementVNode)("div",{title:"## ",class:"dropdown-item",onClick:K[3]||(K[3]=Object(o.withModifiers)(I=>G.$click_header("header2"),["stop"]))},[Object(o.createElementVNode)("span",null,Object(o.toDisplayString)(z.d_words.tl_header_two),1)]),Object(o.createElementVNode)("div",{title:"### ",class:"dropdown-item",onClick:K[4]||(K[4]=Object(o.withModifiers)(I=>G.$click_header("header3"),["stop"]))},[Object(o.createElementVNode)("span",null,Object(o.toDisplayString)(z.d_words.tl_header_three),1)]),Object(o.createElementVNode)("div",{title:"#### ",class:"dropdown-item",onClick:K[5]||(K[5]=Object(o.withModifiers)(I=>G.$click_header("header4"),["stop"]))},[Object(o.createElementVNode)("span",null,Object(o.toDisplayString)(z.d_words.tl_header_four),1)]),Object(o.createElementVNode)("div",{title:"##### ",class:"dropdown-item",onClick:K[6]||(K[6]=Object(o.withModifiers)(I=>G.$click_header("header5"),["stop"]))},[Object(o.createElementVNode)("span",null,Object(o.toDisplayString)(z.d_words.tl_header_five),1)]),Object(o.createElementVNode)("div",{title:"###### ",class:"dropdown-item",onClick:K[7]||(K[7]=Object(o.withModifiers)(I=>G.$click_header("header6"),["stop"]))},[Object(o.createElementVNode)("span",null,Object(o.toDisplayString)(z.d_words.tl_header_six),1)])],34),[[o.vShow,he.s_header_dropdown_open]])]),_:1})],42,u)):Object(o.createCommentVNode)("v-if",!0),z.toolbars.header||z.toolbars.italic||z.toolbars.bold?(Object(o.openBlock)(),Object(o.createElementBlock)("span",d)):Object(o.createCommentVNode)("v-if",!0),z.toolbars.underline?(Object(o.openBlock)(),Object(o.createElementBlock)("button",{key:4,disabled:!z.editable,type:"button",onClick:K[12]||(K[12]=I=>G.$clicks("underline")),class:"op-icon fa fa-mavon-underline",title:z.d_words.tl_underline+" (ctrl+u)","aria-hidden":"true"},null,8,f)):Object(o.createCommentVNode)("v-if",!0),z.toolbars.strikethrough?(Object(o.openBlock)(),Object(o.createElementBlock)("button",{key:5,disabled:!z.editable,type:"button",onClick:K[13]||(K[13]=I=>G.$clicks("strikethrough")),class:"op-icon fa fa-mavon-strikethrough",title:z.d_words.tl_strikethrough+" (ctrl+shift+d)","aria-hidden":"true"},null,8,m)):Object(o.createCommentVNode)("v-if",!0),z.toolbars.mark?(Object(o.openBlock)(),Object(o.createElementBlock)("button",{key:6,disabled:!z.editable,type:"button",onClick:K[14]||(K[14]=I=>G.$clicks("mark")),class:"op-icon fa fa-mavon-thumb-tack",title:z.d_words.tl_mark+" (ctrl+m)","aria-hidden":"true"},null,8,g)):Object(o.createCommentVNode)("v-if",!0),z.toolbars.superscript?(Object(o.openBlock)(),Object(o.createElementBlock)("button",{key:7,disabled:!z.editable,type:"button",onClick:K[15]||(K[15]=I=>G.$clicks("superscript")),class:"op-icon fa fa-mavon-superscript","aria-hidden":"true",title:z.d_words.tl_superscript+" (ctrl+alt+s)"},null,8,v)):Object(o.createCommentVNode)("v-if",!0),z.toolbars.subscript?(Object(o.openBlock)(),Object(o.createElementBlock)("button",{key:8,disabled:!z.editable,type:"button",onClick:K[16]||(K[16]=I=>G.$clicks("subscript")),class:"op-icon fa fa-mavon-subscript","aria-hidden":"true",title:z.d_words.tl_subscript+" (ctrl+shift+s)"},null,8,y)):Object(o.createCommentVNode)("v-if",!0),z.toolbars.alignleft?(Object(o.openBlock)(),Object(o.createElementBlock)("button",{key:9,disabled:!z.editable,type:"button",onClick:K[17]||(K[17]=I=>G.$clicks("alignleft")),class:"op-icon fa fa-mavon-align-left","aria-hidden":"true",title:z.d_words.tl_alignleft+" (ctrl+l)"},null,8,w)):Object(o.createCommentVNode)("v-if",!0),z.toolbars.aligncenter?(Object(o.openBlock)(),Object(o.createElementBlock)("button",{key:10,disabled:!z.editable,type:"button",onClick:K[18]||(K[18]=I=>G.$clicks("aligncenter")),class:"op-icon fa fa-mavon-align-center","aria-hidden":"true",title:z.d_words.tl_aligncenter+" (ctrl+e)"},null,8,b)):Object(o.createCommentVNode)("v-if",!0),z.toolbars.alignright?(Object(o.openBlock)(),Object(o.createElementBlock)("button",{key:11,disabled:!z.editable,type:"button",onClick:K[19]||(K[19]=I=>G.$clicks("alignright")),class:"op-icon fa fa-mavon-align-right","aria-hidden":"true",title:z.d_words.tl_alignright+" (ctrl+r)"},null,8,S)):Object(o.createCommentVNode)("v-if",!0),z.toolbars.superscript||z.toolbars.subscript||z.toolbars.underline||z.toolbars.strikethrough||z.toolbars.mark?(Object(o.openBlock)(),Object(o.createElementBlock)("span",_)):Object(o.createCommentVNode)("v-if",!0),z.toolbars.quote?(Object(o.openBlock)(),Object(o.createElementBlock)("button",{key:13,disabled:!z.editable,type:"button",onClick:K[20]||(K[20]=I=>G.$clicks("quote")),class:"op-icon fa fa-mavon-quote-left","aria-hidden":"true",title:z.d_words.tl_quote+" (ctrl+q)"},null,8,k)):Object(o.createCommentVNode)("v-if",!0),z.toolbars.ol?(Object(o.openBlock)(),Object(o.createElementBlock)("button",{key:14,disabled:!z.editable,type:"button",onClick:K[21]||(K[21]=I=>G.$clicks("ol")),class:"op-icon fa fa-mavon-list-ol","aria-hidden":"true",title:z.d_words.tl_ol+" (ctrl+o)"},null,8,C)):Object(o.createCommentVNode)("v-if",!0),z.toolbars.ul?(Object(o.openBlock)(),Object(o.createElementBlock)("button",{key:15,disabled:!z.editable,type:"button",onClick:K[22]||(K[22]=I=>G.$clicks("ul")),class:"op-icon fa fa-mavon-list-ul","aria-hidden":"true",title:z.d_words.tl_ul+" (ctrl+alt+u)"},null,8,T)):Object(o.createCommentVNode)("v-if",!0),z.toolbars.ul||z.toolbars.ol||z.toolbars.quote?(Object(o.openBlock)(),Object(o.createElementBlock)("span",x)):Object(o.createCommentVNode)("v-if",!0),z.toolbars.link?(Object(o.openBlock)(),Object(o.createElementBlock)("button",{key:17,disabled:!z.editable,type:"button",onClick:K[23]||(K[23]=Object(o.withModifiers)(I=>G.$toggle_imgLinkAdd("link"),["stop"])),class:"op-icon fa fa-mavon-link","aria-hidden":"true",title:z.d_words.tl_link+" (ctrl+l)"},null,8,R)):Object(o.createCommentVNode)("v-if",!0),z.toolbars.imagelink?(Object(o.openBlock)(),Object(o.createElementBlock)("div",{key:18,disabled:!z.editable,class:Object(o.normalizeClass)([{selected:he.s_img_dropdown_open},"op-icon fa fa-mavon-picture-o dropdown dropdown-wrapper"]),type:"button",onMouseleave:K[28]||(K[28]=(...I)=>G.$mouseleave_img_dropdown&&G.$mouseleave_img_dropdown(...I)),onMouseenter:K[29]||(K[29]=(...I)=>G.$mouseenter_img_dropdown&&G.$mouseenter_img_dropdown(...I)),"aria-hidden":"true"},[Object(o.createVNode)(o.Transition,{name:"fade",persisted:""},{default:Object(o.withCtx)(()=>[Object(o.withDirectives)(Object(o.createElementVNode)("div",{class:Object(o.normalizeClass)(["op-image popup-dropdown",{transition:z.transition}]),onMouseleave:K[26]||(K[26]=(...I)=>G.$mouseleave_img_dropdown&&G.$mouseleave_img_dropdown(...I)),onMouseenter:K[27]||(K[27]=(...I)=>G.$mouseenter_img_dropdown&&G.$mouseenter_img_dropdown(...I))},[Object(o.createElementVNode)("div",{class:"dropdown-item",onClick:K[24]||(K[24]=Object(o.withModifiers)(I=>G.$toggle_imgLinkAdd("imagelink"),["stop"]))},[Object(o.createElementVNode)("span",null,Object(o.toDisplayString)(z.d_words.tl_image),1)]),Object(o.createElementVNode)("div",A,[Object(o.createElementVNode)("input",{type:"file",accept:"image/gif,image/jpeg,image/jpg,image/png,image/svg",onChange:K[25]||(K[25]=I=>G.$imgAdd(I)),multiple:"multiple"},null,32),Object(o.createTextVNode)(Object(o.toDisplayString)(z.d_words.tl_upload),1)]),(Object(o.openBlock)(!0),Object(o.createElementBlock)(o.Fragment,null,Object(o.renderList)(he.img_file,(I,L)=>(Object(o.openBlock)(),Object(o.createElementBlock)(o.Fragment,{key:L},[I&&I[1]?(Object(o.openBlock)(),Object(o.createElementBlock)("div",{key:0,class:"dropdown-item dropdown-images",title:I[1].name,onClick:Object(o.withModifiers)(J=>G.$imgFileListClick(L),["stop"])},[Object(o.createElementVNode)("span",null,Object(o.toDisplayString)(I[1].name),1),Object(o.createElementVNode)("button",{type:"button",onClick:Object(o.withModifiers)(J=>G.$imgDel(L),["stop"]),class:"op-icon fa fa-mavon-times","aria-hidden":"true",title:z.d_words.tl_upload_remove},null,8,E),Object(o.createCommentVNode)(" 缩略图展示 "),Object(o.createElementVNode)("img",{class:Object(o.normalizeClass)(["image-show",{transition:z.transition}]),src:I[1].miniurl,alt:"none"},null,10,P)],8,N)):Object(o.createCommentVNode)("v-if",!0)],64))),128))],34),[[o.vShow,he.s_img_dropdown_open]])]),_:1})],42,O)):Object(o.createCommentVNode)("v-if",!0),z.toolbars.code?(Object(o.openBlock)(),Object(o.createElementBlock)("button",{key:19,disabled:!z.editable,type:"button",onClick:K[30]||(K[30]=I=>G.$clicks("code")),class:"op-icon fa fa-mavon-code","aria-hidden":"true",title:z.d_words.tl_code+" (ctrl+alt+c)"},null,8,V)):Object(o.createCommentVNode)("v-if",!0),z.toolbars.table?(Object(o.openBlock)(),Object(o.createElementBlock)("button",{key:20,disabled:!z.editable,type:"button",onClick:K[31]||(K[31]=I=>G.$clicks("table")),class:"op-icon fa fa-mavon-table","aria-hidden":"true",title:z.d_words.tl_table+" (ctrl+alt+t)"},null,8,D)):Object(o.createCommentVNode)("v-if",!0),z.toolbars.link||z.toolbars.imagelink||z.toolbars.code||z.toolbars.table?(Object(o.openBlock)(),Object(o.createElementBlock)("span",F)):Object(o.createCommentVNode)("v-if",!0),z.toolbars.undo?(Object(o.openBlock)(),Object(o.createElementBlock)("button",{key:22,type:"button",onClick:K[32]||(K[32]=I=>G.$clicks("undo")),class:"op-icon fa fa-mavon-undo","aria-hidden":"true",title:z.d_words.tl_undo+" (ctrl+z)"},null,8,B)):Object(o.createCommentVNode)("v-if",!0),z.toolbars.redo?(Object(o.openBlock)(),Object(o.createElementBlock)("button",{key:23,type:"button",onClick:K[33]||(K[33]=I=>G.$clicks("redo")),class:"op-icon fa fa-mavon-repeat","aria-hidden":"true",title:z.d_words.tl_redo+" (ctrl+y)"},null,8,$)):Object(o.createCommentVNode)("v-if",!0),z.toolbars.trash?(Object(o.openBlock)(),Object(o.createElementBlock)("button",{key:24,type:"button",onClick:K[34]||(K[34]=I=>G.$clicks("trash")),class:"op-icon fa fa-mavon-trash-o","aria-hidden":"true",title:z.d_words.tl_trash+" (ctrl+breakspace)"},null,8,U)):Object(o.createCommentVNode)("v-if",!0),z.toolbars.save?(Object(o.openBlock)(),Object(o.createElementBlock)("button",{key:25,type:"button",onClick:K[35]||(K[35]=I=>G.$clicks("save")),class:"op-icon fa fa-mavon-floppy-o","aria-hidden":"true",title:z.d_words.tl_save+" (ctrl+s)"},null,8,M)):Object(o.createCommentVNode)("v-if",!0),Object(o.renderSlot)(q.$slots,"left-toolbar-after",{},void 0,!0),Object(o.createCommentVNode)(" 添加image链接 "),Object(o.createVNode)(o.Transition,{name:"fade"},{default:Object(o.withCtx)(()=>[he.s_img_link_open?(Object(o.openBlock)(),Object(o.createElementBlock)("div",Z,[Object(o.createElementVNode)("div",Q,[Object(o.createElementVNode)("i",{onClick:K[36]||(K[36]=Object(o.withModifiers)(I=>he.s_img_link_open=!1,["stop","prevent"])),class:"fa fa-mavon-times","aria-hidden":"true"}),Object(o.createElementVNode)("h3",te,Object(o.toDisplayString)(he.link_type=="link"?z.d_words.tl_popup_link_title:z.d_words.tl_popup_img_link_title),1),Object(o.createElementVNode)("div",W,[Object(o.withDirectives)(Object(o.createElementVNode)("input",{ref:"linkTextInput",type:"text","onUpdate:modelValue":K[37]||(K[37]=I=>he.link_text=I),placeholder:he.link_type=="link"?z.d_words.tl_popup_link_text:z.d_words.tl_popup_img_link_text},null,8,j),[[o.vModelText,he.link_text]])]),Object(o.createElementVNode)("div",le,[Object(o.withDirectives)(Object(o.createElementVNode)("input",{type:"text","onUpdate:modelValue":K[38]||(K[38]=I=>he.link_addr=I),placeholder:he.link_type=="link"?z.d_words.tl_popup_link_addr:z.d_words.tl_popup_img_link_addr},null,8,me),[[o.vModelText,he.link_addr]])]),Object(o.createElementVNode)("div",{class:"op-btn cancel",onClick:K[39]||(K[39]=Object(o.withModifiers)(I=>he.s_img_link_open=!1,["stop"]))},Object(o.toDisplayString)(z.d_words.tl_popup_link_cancel),1),Object(o.createElementVNode)("div",{class:"op-btn sure",onClick:K[40]||(K[40]=Object(o.withModifiers)(I=>G.$imgLinkAdd(),["stop"]))},Object(o.toDisplayString)(z.d_words.tl_popup_link_sure),1)])])):Object(o.createCommentVNode)("v-if",!0)]),_:1})])}},function(e,t,r){r.d(t,"a",function(){return _});var o=r(0);const i={class:"v-right-item"},c=["title"],a=["title"],u=["title"],d=["title"],f=["title"],m=["title"],g=["title"],v=["title"],y={key:8,class:"op-icon-divider"},w=["title"],b=["title"],S=["title"];function _(k,C,T,x,R,O){return Object(o.openBlock)(),Object(o.createElementBlock)("div",i,[Object(o.renderSlot)(k.$slots,"right-toolbar-before"),T.toolbars.navigation?Object(o.withDirectives)((Object(o.openBlock)(),Object(o.createElementBlock)("button",{key:0,type:"button",onClick:C[0]||(C[0]=A=>O.$clicks("navigation")),class:"op-icon fa fa-mavon-bars","aria-hidden":"true",title:T.d_words.tl_navigation_on+" (F8)"},null,8,c)),[[o.vShow,!T.s_navigation]]):Object(o.createCommentVNode)("v-if",!0),T.toolbars.navigation?Object(o.withDirectives)((Object(o.openBlock)(),Object(o.createElementBlock)("button",{key:1,type:"button",onClick:C[1]||(C[1]=A=>O.$clicks("navigation")),class:"op-icon fa fa-mavon-bars selected","aria-hidden":"true",title:T.d_words.tl_navigation_off+" (F8)"},null,8,a)),[[o.vShow,T.s_navigation]]):Object(o.createCommentVNode)("v-if",!0),T.toolbars.preview?Object(o.withDirectives)((Object(o.openBlock)(),Object(o.createElementBlock)("button",{key:2,type:"button",onClick:C[2]||(C[2]=A=>O.$clicks("preview")),class:"op-icon fa fa-mavon-eye-slash selected","aria-hidden":"true",title:T.d_words.tl_edit+" (F9)"},null,8,u)),[[o.vShow,T.s_preview_switch]]):Object(o.createCommentVNode)("v-if",!0),T.toolbars.preview?Object(o.withDirectives)((Object(o.openBlock)(),Object(o.createElementBlock)("button",{key:3,type:"button",onClick:C[3]||(C[3]=A=>O.$clicks("preview")),class:"op-icon fa fa-mavon-eye","aria-hidden":"true",title:T.d_words.tl_preview+" (F9)"},null,8,d)),[[o.vShow,!T.s_preview_switch]]):Object(o.createCommentVNode)("v-if",!0),T.toolbars.fullscreen?Object(o.withDirectives)((Object(o.openBlock)(),Object(o.createElementBlock)("button",{key:4,type:"button",onClick:C[4]||(C[4]=A=>O.$clicks("fullscreen")),class:"op-icon fa fa-mavon-arrows-alt",title:T.d_words.tl_fullscreen_on+" (F10)","aria-hidden":"true"},null,8,f)),[[o.vShow,!T.s_fullScreen]]):Object(o.createCommentVNode)("v-if",!0),T.toolbars.fullscreen?Object(o.withDirectives)((Object(o.openBlock)(),Object(o.createElementBlock)("button",{key:5,type:"button",onClick:C[5]||(C[5]=A=>O.$clicks("fullscreen")),class:"op-icon fa fa-mavon-compress selected",title:T.d_words.tl_fullscreen_off+" (F10)","aria-hidden":"true"},null,8,m)),[[o.vShow,T.s_fullScreen]]):Object(o.createCommentVNode)("v-if",!0),T.toolbars.readmodel?(Object(o.openBlock)(),Object(o.createElementBlock)("button",{key:6,type:"button",onClick:C[6]||(C[6]=A=>O.$clicks("read")),class:"op-icon fa fa-mavon-window-maximize","aria-hidden":"true",title:T.d_words.tl_read+" (F11)"},null,8,g)):Object(o.createCommentVNode)("v-if",!0),T.toolbars.subfield?(Object(o.openBlock)(),Object(o.createElementBlock)("button",{key:7,type:"button",onClick:C[7]||(C[7]=A=>O.$clicks("subfield")),class:Object(o.normalizeClass)(["op-icon fa fa-mavon-columns",{selected:T.s_subfield}]),"aria-hidden":"true",title:(T.s_subfield?T.d_words.tl_single_column:T.d_words.tl_double_column)+" (F12)"},null,10,v)):Object(o.createCommentVNode)("v-if",!0),T.toolbars.help&&T.toolbars.htmlcode&&T.toolbars.readmodel&&T.toolbars.fullscreen&&T.toolbars.subfield&&T.toolbars.navigation?(Object(o.openBlock)(),Object(o.createElementBlock)("span",y)):Object(o.createCommentVNode)("v-if",!0),T.toolbars.htmlcode?Object(o.withDirectives)((Object(o.openBlock)(),Object(o.createElementBlock)("button",{key:9,type:"button",onClick:C[8]||(C[8]=A=>O.$clicks("html")),class:"op-icon fa fa-mavon-code",title:T.d_words.tl_html_on,"aria-hidden":"true"},null,8,w)),[[o.vShow,!T.s_html_code]]):Object(o.createCommentVNode)("v-if",!0),T.toolbars.htmlcode?Object(o.withDirectives)((Object(o.openBlock)(),Object(o.createElementBlock)("button",{key:10,type:"button",onClick:C[9]||(C[9]=A=>O.$clicks("html")),class:"op-icon fa fa-mavon-code selected",title:T.d_words.tl_html_off,"aria-hidden":"true"},null,8,b)),[[o.vShow,T.s_html_code]]):Object(o.createCommentVNode)("v-if",!0),T.toolbars.help?(Object(o.openBlock)(),Object(o.createElementBlock)("button",{key:11,type:"button",onClick:C[10]||(C[10]=A=>O.$clicks("help")),class:"op-icon fa fa-mavon-question-circle",style:{"font-size":"17px",padding:"5px 6px 5px 3px"},title:T.d_words.tl_help,"aria-hidden":"true"},null,8,S)):Object(o.createCommentVNode)("v-if",!0),Object(o.renderSlot)(k.$slots,"right-toolbar-after")])}},function(e,t,r){r.d(t,"a",function(){return a});var o=r(0);const i=Object(o.createElementVNode)("br",null,null,-1),c=["autofocus","placeholder"];function a(u,d,f,m,g,v){return Object(o.openBlock)(),Object(o.createElementBlock)("div",{style:Object(o.normalizeStyle)({fontSize:f.fontSize,lineHeight:f.lineHeight,height:f.fullHeight?"100%":"auto"}),class:"auto-textarea-wrapper"},[Object(o.createElementVNode)("pre",{style:Object(o.normalizeStyle)({fontSize:f.fontSize,lineHeight:f.lineHeight,minHeight:f.fullHeight?"100%":"auto"}),class:"auto-textarea-block"},[i,Object(o.createTextVNode)(Object(o.toDisplayString)(g.temp_value)+" ",1)],4),Object(o.withDirectives)(Object(o.createElementVNode)("textarea",{ref:"vTextarea",autofocus:g.s_autofocus,onKeyup:d[0]||(d[0]=(...y)=>v.change&&v.change(...y)),spellcheck:"false",placeholder:f.placeholder,"onUpdate:modelValue":d[1]||(d[1]=y=>g.temp_value=y),style:Object(o.normalizeStyle)({fontSize:f.fontSize,lineHeight:f.lineHeight}),class:Object(o.normalizeClass)([{"no-border":!f.border,"no-resize":!f.resize},"auto-textarea-input"])},`\r
`,46,c),[[o.vModelText,g.temp_value]])],4)}},function(e,t,r){var o=r(80).default,i={markdownIt:o.mixins[0].data().markdownIt,mavonEditor:o,LeftToolbar:r(70).default,RightToolbar:r(72).default,install:function(c){c.component("mavon-editor",o)}};e.exports=i},function(e,t,r){r.r(t);var o=r(75),i=r(21);for(var c in i)["default"].indexOf(c)<0&&function(d){r.d(t,d,function(){return i[d]})}(c);r(219),r(221);var a=r(3);const u=r.n(a)()(i.default,[["render",o.a],["__scopeId","data-v-33c11741"]]);t.default=u},function(e,t,r){e.exports={default:r(82),__esModule:!0}},function(e,t,r){r(83),r(95),e.exports=r(35).f("iterator")},function(e,t,r){var o=r(84)(!0);r(45)(String,"String",function(i){this._t=String(i),this._i=0},function(){var i,c=this._t,a=this._i;return a>=c.length?{value:void 0,done:!0}:(i=o(c,a),this._i+=i.length,{value:i,done:!1})})},function(e,t,r){var o=r(26),i=r(27);e.exports=function(c){return function(a,u){var d,f,m=String(i(a)),g=o(u),v=m.length;return g<0||g>=v?c?"":void 0:(d=m.charCodeAt(g))<55296||d>56319||g+1===v||(f=m.charCodeAt(g+1))<56320||f>57343?c?m.charAt(g):d:c?m.slice(g,g+2):f-56320+(d-55296<<10)+65536}}},function(e,t,r){var o=r(86);e.exports=function(i,c,a){if(o(i),c===void 0)return i;switch(a){case 1:return function(u){return i.call(c,u)};case 2:return function(u,d){return i.call(c,u,d)};case 3:return function(u,d,f){return i.call(c,u,d,f)}}return function(){return i.apply(c,arguments)}}},function(e,t){e.exports=function(r){if(typeof r!="function")throw TypeError(r+" is not a function!");return r}},function(e,t,r){var o=r(50),i=r(16),c=r(34),a={};r(5)(a,r(9)("iterator"),function(){return this}),e.exports=function(u,d,f){u.prototype=o(a,{next:i(1,f)}),c(u,d+" Iterator")}},function(e,t,r){var o=r(6),i=r(14),c=r(30);e.exports=r(7)?Object.defineProperties:function(a,u){i(a);for(var d,f=c(u),m=f.length,g=0;m>g;)o.f(a,d=f[g++],u[d]);return a}},function(e,t,r){var o=r(52);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(i){return o(i)=="String"?i.split(""):Object(i)}},function(e,t,r){var o=r(8),i=r(91),c=r(92);e.exports=function(a){return function(u,d,f){var m,g=o(u),v=i(g.length),y=c(f,v);if(a&&d!=d){for(;v>y;)if((m=g[y++])!=m)return!0}else for(;v>y;y++)if((a||y in g)&&g[y]===d)return a||y||0;return!a&&-1}}},function(e,t,r){var o=r(26),i=Math.min;e.exports=function(c){return c>0?i(o(c),9007199254740991):0}},function(e,t,r){var o=r(26),i=Math.max,c=Math.min;e.exports=function(a,u){return(a=o(a))<0?i(a+u,0):c(a,u)}},function(e,t,r){var o=r(2).document;e.exports=o&&o.documentElement},function(e,t,r){var o=r(4),i=r(53),c=r(31)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(u){return u=i(u),o(u,c)?u[c]:typeof u.constructor=="function"&&u instanceof u.constructor?u.constructor.prototype:u instanceof Object?a:null}},function(e,t,r){r(96);for(var o=r(2),i=r(5),c=r(29),a=r(9)("toStringTag"),u="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),d=0;d<u.length;d++){var f=u[d],m=o[f],g=m&&m.prototype;g&&!g[a]&&i(g,a,f),c[f]=c.Array}},function(e,t,r){var o=r(97),i=r(98),c=r(29),a=r(8);e.exports=r(45)(Array,"Array",function(u,d){this._t=a(u),this._i=0,this._k=d},function(){var u=this._t,d=this._k,f=this._i++;return!u||f>=u.length?(this._t=void 0,i(1)):i(0,d=="keys"?f:d=="values"?u[f]:[f,u[f]])},"values"),c.Arguments=c.Array,o("keys"),o("values"),o("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(r,o){return{value:o,done:!!r}}},function(e,t,r){e.exports={default:r(100),__esModule:!0}},function(e,t,r){r(101),r(107),r(108),r(109),e.exports=r(13).Symbol},function(e,t,r){var o=r(2),i=r(4),c=r(7),a=r(46),u=r(49),d=r(102).KEY,f=r(15),m=r(32),g=r(34),v=r(17),y=r(9),w=r(35),b=r(36),S=r(103),_=r(104),k=r(14),C=r(10),T=r(53),x=r(8),R=r(28),O=r(16),A=r(50),N=r(105),E=r(106),P=r(54),V=r(6),D=r(30),F=E.f,B=V.f,$=N.f,U=o.Symbol,M=o.JSON,Z=M&&M.stringify,Q=y("_hidden"),te=y("toPrimitive"),W={}.propertyIsEnumerable,j=m("symbol-registry"),le=m("symbols"),me=m("op-symbols"),ce=Object.prototype,q=typeof U=="function"&&!!P.f,K=o.QObject,z=!K||!K.prototype||!K.prototype.findChild,re=c&&f(function(){return A(B({},"a",{get:function(){return B(this,"a",{value:7}).a}})).a!=7})?function(oe,ie,ve){var we=F(ce,ie);we&&delete ce[ie],B(oe,ie,ve),we&&oe!==ce&&B(ce,ie,we)}:B,he=function(oe){var ie=le[oe]=A(U.prototype);return ie._k=oe,ie},G=q&&typeof U.iterator=="symbol"?function(oe){return typeof oe=="symbol"}:function(oe){return oe instanceof U},I=function(oe,ie,ve){return oe===ce&&I(me,ie,ve),k(oe),ie=R(ie,!0),k(ve),i(le,ie)?(ve.enumerable?(i(oe,Q)&&oe[Q][ie]&&(oe[Q][ie]=!1),ve=A(ve,{enumerable:O(0,!1)})):(i(oe,Q)||B(oe,Q,O(1,{})),oe[Q][ie]=!0),re(oe,ie,ve)):B(oe,ie,ve)},L=function(oe,ie){k(oe);for(var ve,we=S(ie=x(ie)),Ce=0,H=we.length;H>Ce;)I(oe,ve=we[Ce++],ie[ve]);return oe},J=function(oe){var ie=W.call(this,oe=R(oe,!0));return!(this===ce&&i(le,oe)&&!i(me,oe))&&(!(ie||!i(this,oe)||!i(le,oe)||i(this,Q)&&this[Q][oe])||ie)},X=function(oe,ie){if(oe=x(oe),ie=R(ie,!0),oe!==ce||!i(le,ie)||i(me,ie)){var ve=F(oe,ie);return!ve||!i(le,ie)||i(oe,Q)&&oe[Q][ie]||(ve.enumerable=!0),ve}},ee=function(oe){for(var ie,ve=$(x(oe)),we=[],Ce=0;ve.length>Ce;)i(le,ie=ve[Ce++])||ie==Q||ie==d||we.push(ie);return we},ue=function(oe){for(var ie,ve=oe===ce,we=$(ve?me:x(oe)),Ce=[],H=0;we.length>H;)!i(le,ie=we[H++])||ve&&!i(ce,ie)||Ce.push(le[ie]);return Ce};q||(u((U=function(){if(this instanceof U)throw TypeError("Symbol is not a constructor!");var oe=v(arguments.length>0?arguments[0]:void 0),ie=function(ve){this===ce&&ie.call(me,ve),i(this,Q)&&i(this[Q],oe)&&(this[Q][oe]=!1),re(this,oe,O(1,ve))};return c&&z&&re(ce,oe,{configurable:!0,set:ie}),he(oe)}).prototype,"toString",function(){return this._k}),E.f=X,V.f=I,r(55).f=N.f=ee,r(37).f=J,P.f=ue,c&&!r(12)&&u(ce,"propertyIsEnumerable",J,!0),w.f=function(oe){return he(y(oe))}),a(a.G+a.W+a.F*!q,{Symbol:U});for(var de="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),se=0;de.length>se;)y(de[se++]);for(var pe=D(y.store),ae=0;pe.length>ae;)b(pe[ae++]);a(a.S+a.F*!q,"Symbol",{for:function(oe){return i(j,oe+="")?j[oe]:j[oe]=U(oe)},keyFor:function(oe){if(!G(oe))throw TypeError(oe+" is not a symbol!");for(var ie in j)if(j[ie]===oe)return ie},useSetter:function(){z=!0},useSimple:function(){z=!1}}),a(a.S+a.F*!q,"Object",{create:function(oe,ie){return ie===void 0?A(oe):L(A(oe),ie)},defineProperty:I,defineProperties:L,getOwnPropertyDescriptor:X,getOwnPropertyNames:ee,getOwnPropertySymbols:ue});var ge=f(function(){P.f(1)});a(a.S+a.F*ge,"Object",{getOwnPropertySymbols:function(oe){return P.f(T(oe))}}),M&&a(a.S+a.F*(!q||f(function(){var oe=U();return Z([oe])!="[null]"||Z({a:oe})!="{}"||Z(Object(oe))!="{}"})),"JSON",{stringify:function(oe){for(var ie,ve,we=[oe],Ce=1;arguments.length>Ce;)we.push(arguments[Ce++]);if(ve=ie=we[1],(C(ie)||oe!==void 0)&&!G(oe))return _(ie)||(ie=function(H,Y){if(typeof ve=="function"&&(Y=ve.call(this,H,Y)),!G(Y))return Y}),we[1]=ie,Z.apply(M,we)}}),U.prototype[te]||r(5)(U.prototype,te,U.prototype.valueOf),g(U,"Symbol"),g(Math,"Math",!0),g(o.JSON,"JSON",!0)},function(e,t,r){var o=r(17)("meta"),i=r(10),c=r(4),a=r(6).f,u=0,d=Object.isExtensible||function(){return!0},f=!r(15)(function(){return d(Object.preventExtensions({}))}),m=function(v){a(v,o,{value:{i:"O"+ ++u,w:{}}})},g=e.exports={KEY:o,NEED:!1,fastKey:function(v,y){if(!i(v))return typeof v=="symbol"?v:(typeof v=="string"?"S":"P")+v;if(!c(v,o)){if(!d(v))return"F";if(!y)return"E";m(v)}return v[o].i},getWeak:function(v,y){if(!c(v,o)){if(!d(v))return!0;if(!y)return!1;m(v)}return v[o].w},onFreeze:function(v){return f&&g.NEED&&d(v)&&!c(v,o)&&m(v),v}}},function(e,t,r){var o=r(30),i=r(54),c=r(37);e.exports=function(a){var u=o(a),d=i.f;if(d)for(var f,m=d(a),g=c.f,v=0;m.length>v;)g.call(a,f=m[v++])&&u.push(f);return u}},function(e,t,r){var o=r(52);e.exports=Array.isArray||function(i){return o(i)=="Array"}},function(e,t,r){var o=r(8),i=r(55).f,c={}.toString,a=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(u){return a&&c.call(u)=="[object Window]"?function(d){try{return i(d)}catch{return a.slice()}}(u):i(o(u))}},function(e,t,r){var o=r(37),i=r(16),c=r(8),a=r(28),u=r(4),d=r(47),f=Object.getOwnPropertyDescriptor;t.f=r(7)?f:function(m,g){if(m=c(m),g=a(g,!0),d)try{return f(m,g)}catch{}if(u(m,g))return i(!o.f.call(m,g),m[g])}},function(e,t){},function(e,t,r){r(36)("asyncIterator")},function(e,t,r){r(36)("observable")},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var o=119,i=120,c=121,a=122,u=123,d=66,f=73,m=72,g=85,v=68,y=77,w=81,b=79,S=76,_=83,k=90,C=89,T=67,x=84,R=82,O=8,A=9,N=13,E=97,P=98,V=99,D=100,F=101,B=102,$=49,U=50,M=51,Z=52,Q=53,te=54;t.keydownListen=function(W){W.shortCut&&W.$el.addEventListener("keydown",function(j){if(j.ctrlKey||j.metaKey||j.altKey||j.shiftKey)if(!j.ctrlKey&&!j.metaKey||j.altKey||j.shiftKey){if((j.ctrlKey||j.metaKey)&&j.altKey&&!j.shiftKey)switch(j.keyCode){case _:j.preventDefault(),W.toolbar_left_click("superscript");break;case g:j.preventDefault(),W.toolbar_left_click("ul");break;case S:j.preventDefault(),W.toolbar_left_click("imagelink");break;case T:j.preventDefault(),W.toolbar_left_click("code");break;case x:j.preventDefault(),W.toolbar_left_click("table")}else if((j.ctrlKey||j.metaKey)&&j.shiftKey&&!j.altKey)switch(j.keyCode){case _:j.preventDefault(),W.toolbar_left_click("subscript");break;case v:j.preventDefault(),W.toolbar_left_click("strikethrough");break;case S:j.preventDefault(),W.toolbar_left_click("alignleft");break;case R:j.preventDefault(),W.toolbar_left_click("alignright");break;case T:j.preventDefault(),W.toolbar_left_click("aligncenter")}else if(!j.ctrlKey&&!j.metaKey&&j.shiftKey&&!j.altKey)switch(j.keyCode){case A:W.$refs.toolbar_left.s_img_link_open||(j.preventDefault(),W.unInsertTab())}}else switch(j.keyCode){case d:j.preventDefault(),W.toolbar_left_click("bold");break;case f:j.preventDefault(),W.toolbar_left_click("italic");break;case m:j.preventDefault(),W.toolbar_left_click("header");break;case g:j.preventDefault(),W.toolbar_left_click("underline");break;case v:j.preventDefault(),W.toolbar_left_click("removeLine");break;case y:j.preventDefault(),W.toolbar_left_click("mark");break;case w:j.preventDefault(),W.toolbar_left_click("quote");break;case b:j.preventDefault(),W.toolbar_left_click("ol");break;case S:j.preventDefault(),W.toolbar_left_click("link");break;case _:j.preventDefault(),W.toolbar_left_click("save");break;case k:j.preventDefault(),W.toolbar_left_click("undo");break;case C:j.preventDefault(),W.toolbar_left_click("redo");break;case O:j.preventDefault(),W.toolbar_left_click("trash");break;case E:j.preventDefault(),W.toolbar_left_click("header1");break;case P:j.preventDefault(),W.toolbar_left_click("header2");break;case V:j.preventDefault(),W.toolbar_left_click("header3");break;case D:j.preventDefault(),W.toolbar_left_click("header4");break;case F:j.preventDefault(),W.toolbar_left_click("header5");break;case B:j.preventDefault(),W.toolbar_left_click("header6");break;case $:j.preventDefault(),W.toolbar_left_click("header1");break;case U:j.preventDefault(),W.toolbar_left_click("header2");break;case M:j.preventDefault(),W.toolbar_left_click("header3");break;case Z:j.preventDefault(),W.toolbar_left_click("header4");break;case Q:j.preventDefault(),W.toolbar_left_click("header5");break;case te:j.preventDefault(),W.toolbar_left_click("header6")}else switch(j.keyCode){case o:W.toolbars.navigation&&(j.preventDefault(),W.toolbar_right_click("navigation"));break;case i:W.toolbars.preview&&(j.preventDefault(),W.toolbar_right_click("preview"));break;case c:W.toolbars.fullscreen&&(j.preventDefault(),W.toolbar_right_click("fullscreen"));break;case a:W.toolbars.readmodel&&(j.preventDefault(),W.toolbar_right_click("read"));break;case u:W.toolbars.subfield&&(j.preventDefault(),W.toolbar_right_click("subfield"));break;case A:W.$refs.toolbar_left.s_img_link_open||(j.preventDefault(),W.insertTab());break;case N:W.$refs.toolbar_left.s_img_link_open?(j.preventDefault(),W.$refs.toolbar_left.$imgLinkAdd()):W.insertEnter(j)}})}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default={agate:1,androidstudio:1,"arduino-light":1,arta:1,ascetic:1,"atom-one-dark":1,"atom-one-light":1,"brown-paper":1,"codepen-embed":1,"color-brewer":1,dark:1,default:1,docco:1,far:1,foundation:1,github:1,googlecode:1,grayscale:1,hybrid:1,idea:1,"ir-black":1,magula:1,"mono-blue":1,"monokai-sublime":1,monokai:1,obsidian:1,"paraiso-dark":1,"paraiso-light":1,pojoaque:1,purebasic:1,rainbow:1,routeros:1,"school-book":1,sunburst:1,"tomorrow-night-blue":1,"tomorrow-night-bright":1,vs:1,vs2015:1,xcode:1,xt256:1,"a11y-dark":1,"a11y-light":1,"an-old-hope":1,"atom-one-dark-reasonable":1,"brown-pap":1,devibeans:1,"github-dark":1,"github-dark-dimmed":1,gml:1,"gradient-dark":1,"gradient-light":1,"isbl-editor-dark":1,"isbl-editor-light":1,"kimbie-dark":1,"kimbie-light":1,lightfair:1,lioshi:1,"night-owl":1,"nnfx-dark":1,"nnfx-light":1,nord:1,pojo:1,"qtcreator-dark":1,"qtcreator-light":1,"shades-of-purple":1,srcery:1,"stackoverflow-dark":1,"stackoverflow-light":1}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var o,i=r(25),c=(o=i)&&o.__esModule?o:{default:o};t.p_ObjectCopy_DEEP=function a(u,d){for(var f in d){var m=(0,c.default)(d[f]);!u[f]||m!=="Object"&&m!=="object"?u[f]=d[f]:u[f]=a(u[f],d[f])}return u},t.p_urlParse=function(){var a=window.location.search,u={},d=a.match(/[?&][^?&]+=[^?&]+/g);return d&&d.forEach(function(f){var m=f.substring(1).split("="),g=decodeURIComponent(m[0]),v=decodeURIComponent(m[1]);u[g]=v}),u},t.stopEvent=function(a){a&&(a.preventDefault&&a.preventDefault(),a.stopPropagation&&a.stopPropagation())}},function(e,t,r){function o(g){g.d_history_index>0&&g.d_history_index--,g.$nextTick(function(){var v=g.textarea_selectionEnds[g.d_history_index];g.getTextareaDom().selectionStart=v,g.getTextareaDom().selectionEnd=v}),g.getTextareaDom().focus()}function i(g){g.d_history_index<g.d_history.length-1&&g.d_history_index++,g.$nextTick(function(){var v=g.textarea_selectionEnds[g.d_history_index];g.getTextareaDom().selectionStart=v,g.getTextareaDom().selectionEnd=v}),g.getTextareaDom().focus()}function c(g){g.d_value="",g.getTextareaDom().focus()}function a(g){g.save(g.d_value,g.d_render)}function u(g){g.insertOl()}function d(g){g.insertUl()}function f(g){g.removeLine()}function m(g){g.insertCodeBlock()}Object.defineProperty(t,"__esModule",{value:!0}),t.toolbar_left_addlink=function(g,v,y,w){var b={prefix:g==="link"?"["+v+"](":"!["+v+"](",subfix:")",str:y};w.insertText(w.getTextareaDom(),b)},t.toolbar_left_click=function(g,v){var y={bold:{prefix:"**",subfix:"**",str:v.d_words.tl_bold},italic:{prefix:"*",subfix:"*",str:v.d_words.tl_italic},header:{prefix:"# ",subfix:"",str:v.d_words.tl_header},header1:{prefix:"# ",subfix:"",str:v.d_words.tl_header_one},header2:{prefix:"## ",subfix:"",str:v.d_words.tl_header_two},header3:{prefix:"### ",subfix:"",str:v.d_words.tl_header_three},header4:{prefix:"#### ",subfix:"",str:v.d_words.tl_header_four},header5:{prefix:"##### ",subfix:"",str:v.d_words.tl_header_five},header6:{prefix:"###### ",subfix:"",str:v.d_words.tl_header_six},underline:{prefix:"++",subfix:"++",str:v.d_words.tl_underline},strikethrough:{prefix:"~~",subfix:"~~",str:v.d_words.tl_strikethrough},mark:{prefix:"==",subfix:"==",str:v.d_words.tl_mark},superscript:{prefix:"^",subfix:"^",str:v.d_words.tl_superscript},subscript:{prefix:"~",subfix:"~",str:v.d_words.tl_subscript},quote:{prefix:"> ",subfix:"",str:v.d_words.tl_quote},link:{prefix:"[](",subfix:")",str:v.d_words.tl_link},imagelink:{prefix:"![](",subfix:")",str:v.d_words.tl_image},table:{prefix:"",subfix:"",str:`|column1|column2|column3|
|-|-|-|
|content1|content2|content3|
`},aligncenter:{prefix:`::: hljs-center
`,subfix:`
:::
`,str:v.d_words.tl_aligncenter},alignright:{prefix:`::: hljs-right
`,subfix:`
:::
`,str:v.d_words.tl_alignright},alignleft:{prefix:`::: hljs-left
`,subfix:`
:::
`,str:v.d_words.tl_alignleft}};y.hasOwnProperty(g)&&v.insertText(v.getTextareaDom(),y[g]);var w={undo:o,redo:i,trash:c,save:a,ol:u,ul:d,removeLine:f,code:m};w.hasOwnProperty(g)&&w[g](v)}},function(e,t,r){function o(m){m.s_html_code=!m.s_html_code,m.htmlcode&&m.htmlcode(m.s_html_code,m.d_value)}function i(m){m.s_help=!m.s_help,m.helptoggle&&m.helptoggle(m.s_help,m.d_value)}function c(m){var g=m.$refs.vReadModel;g.requestFullscreen?g.requestFullscreen():g.mozRequestFullScreen?g.mozRequestFullScreen():g.webkitRequestFullscreen?g.webkitRequestFullscreen():g.msRequestFullscreen&&g.msRequestFullscreen()}function a(m){m.s_preview_switch=!m.s_preview_switch,m.previewtoggle&&m.previewtoggle(m.s_preview_switch,m.d_value)}function u(m){m.s_fullScreen=!m.s_fullScreen,m.fullscreen&&m.fullscreen(m.s_fullScreen,m.d_value)}function d(m){m.s_subfield=!m.s_subfield,m.s_preview_switch=m.s_subfield,m.previewtoggle&&m.previewtoggle(m.s_preview_switch,m.d_value),m.subfieldtoggle&&m.subfieldtoggle(m.s_subfield,m.d_value)}function f(m){m.s_navigation=!m.s_navigation,m.s_navigation&&(m.s_preview_switch=!0),m.navigationtoggle&&m.navigationtoggle(m.s_navigation,m.d_value),m.s_navigation&&m.getNavigation(m,!1)}Object.defineProperty(t,"__esModule",{value:!0}),t.toolbar_right_click=function(m,g){var v={help:i,html:o,read:c,preview:a,fullscreen:u,navigation:f,subfield:d};v.hasOwnProperty(m)&&v[m](g)}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.CONFIG=void 0;var o=C(r(116)),i=C(r(117)),c=C(r(118)),a=C(r(119)),u=C(r(120)),d=C(r(121)),f=C(r(122)),m=C(r(123)),g=C(r(124)),v=C(r(125)),y=C(r(126)),w=C(r(127)),b=C(r(128)),S=C(r(129)),_=C(r(130)),k=C(r(131));function C(T){return T&&T.__esModule?T:{default:T}}t.CONFIG={"help_zh-CN":o.default,"help_zh-TW":i.default,"help_pt-BR":u.default,help_en:c.default,help_fr:a.default,help_ru:d.default,help_de:f.default,help_ja:m.default,"words_zh-CN":g.default,"words_zh-TW":v.default,"words_pt-BR":b.default,words_en:y.default,words_fr:w.default,words_ru:S.default,words_de:_.default,words_ja:k.default,langList:["en","zh-CN","zh-TW","fr","pt-BR","ru","de","ja"],toolbars:{bold:!0,italic:!0,header:!0,underline:!0,strikethrough:!0,mark:!0,superscript:!0,subscript:!0,quote:!0,ol:!0,ul:!0,link:!0,imagelink:!0,code:!0,table:!0,undo:!0,redo:!0,trash:!0,save:!0,alignleft:!0,aligncenter:!0,alignright:!0,navigation:!0,subfield:!0,fullscreen:!0,readmodel:!0,htmlcode:!0,help:!0,preview:!0}}},function(e,t){e.exports=`@[toc](目录)\r
\r
Markdown 语法简介\r
=============\r
> [语法详解](http://commonmark.org/help/)\r
\r
## **目录**\r
\`\`\`\r
@[toc](目录)\r
\`\`\`\r
\r
## **粗体**\r
\`\`\`\r
**粗体**\r
__粗体__\r
\`\`\`\r
## *斜体*\r
\`\`\`\r
*斜体*\r
_斜体_\r
\`\`\`\r
## 标题\r
\`\`\`\r
# 一级标题 #\r
一级标题\r
====\r
## 二级标题 ##\r
二级标题\r
----\r
### 三级标题 ###\r
#### 四级标题 ####\r
##### 五级标题 #####\r
###### 六级标题 ######\r
\`\`\`\r
## 分割线\r
\`\`\`\r
***\r
---\r
\`\`\`\r
****\r
## ^上^角~下~标\r
\`\`\`\r
上角标 x^2^\r
下角标 H~2~0\r
\`\`\`\r
## ++下划线++ ~~中划线~~\r
\`\`\`\r
++下划线++\r
~~中划线~~\r
\`\`\`\r
## ==标记==\r
\`\`\`\r
==标记==\r
\`\`\`\r
## 段落引用\r
\`\`\`\r
> 一级\r
>> 二级\r
>>> 三级\r
...\r
\`\`\`\r
\r
## 列表\r
\`\`\`\r
有序列表\r
1.\r
2.\r
3.\r
...\r
无序列表\r
-\r
-\r
...\r
\`\`\`\r
\r
## 任务列表\r
\r
- [x] 已完成任务\r
- [ ] 未完成任务\r
\r
\`\`\`\r
- [x] 已完成任务\r
- [ ] 未完成任务\r
\`\`\`\r
\r
## 链接\r
\`\`\`\r
[链接](www.baidu.com)\r
![图片描述](http://www.image.com)\r
\`\`\`\r
## 代码段落\r
\\\`\`\` type\r
\r
代码段落\r
\r
\\\`\`\`\r
\r
\\\` 代码块 \\\`\r
\r
\`\`\`c++\r
int main()\r
{\r
printf("hello world!");\r
}\r
\`\`\`\r
\`code\`\r
## 表格(table)\r
\`\`\`\r
| 标题1 | 标题2 | 标题3 |\r
| :-- | :--: | ----: |\r
| 左对齐 | 居中 | 右对齐 |\r
| ---------------------- | ------------- | ----------------- |\r
\`\`\`\r
| 标题1 | 标题2 | 标题3 |\r
| :-- | :--: | ----: |\r
| 左对齐 | 居中 | 右对齐 |\r
| ---------------------- | ------------- | ----------------- |\r
## 脚注(footnote)\r
\`\`\`\r
hello[^hello]\r
\`\`\`\r
\r
见底部脚注[^hello]\r
\r
[^hello]: 一个注脚\r
\r
## 表情(emoji)\r
[参考网站: https://www.webpagefx.com/tools/emoji-cheat-sheet/](https://www.webpagefx.com/tools/emoji-cheat-sheet/)\r
\`\`\`\r
:laughing:\r
:blush:\r
:smiley:\r
:)\r
...\r
\`\`\`\r
:laughing::blush::smiley::)\r
\r
## $\\KaTeX$公式\r
\r
我们可以渲染公式例如:$x_i + y_i = z_i$和$\\sum_{i=1}^n a_i=0$\r
我们也可以单行渲染\r
$$\\sum_{i=1}^n a_i=0$$\r
具体可参照[katex文档](http://www.intmath.com/cg5/katex-mathjax-comparison.php)和[katex支持的函数](https://github.com/Khan/KaTeX/wiki/Function-Support-in-KaTeX)以及[latex文档](https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference)\r
\r
## 布局\r
\r
::: hljs-left\r
\`::: hljs-left\`\r
\`居左\`\r
\`:::\`\r
:::\r
\r
::: hljs-center\r
\`::: hljs-center\`\r
\`居中\`\r
\`:::\`\r
:::\r
\r
::: hljs-right\r
\`::: hljs-right\`\r
\`居右\`\r
\`:::\`\r
:::\r
\r
## 定义\r
\r
术语一\r
\r
: 定义一\r
\r
包含有*行内标记*的术语二\r
\r
: 定义二\r
\r
{一些定义二的文字或代码}\r
\r
定义二的第三段\r
\r
\`\`\`\r
术语一\r
\r
: 定义一\r
\r
包含有*行内标记*的术语二\r
\r
: 定义二\r
\r
{一些定义二的文字或代码}\r
\r
定义二的第三段\r
\r
\`\`\`\r
\r
## abbr\r
*[HTML]: Hyper Text Markup Language\r
*[W3C]: World Wide Web Consortium\r
HTML 规范由 W3C 维护\r
\`\`\`\r
*[HTML]: Hyper Text Markup Language\r
*[W3C]: World Wide Web Consortium\r
HTML 规范由 W3C 维护\r
\`\`\`\r
\r
`},function(e,t){e.exports=`@[toc](目錄)\r
\r
Markdown 語法簡介\r
=============\r
> [語法詳解](http://commonmark.org/help/)\r
\r
## **粗體**\r
\`\`\`\r
**粗體**\r
__粗體__\r
\`\`\`\r
## *斜體*\r
\`\`\`\r
*斜體*\r
_斜體_\r
\`\`\`\r
## 標題\r
\`\`\`\r
# 一級標題 #\r
一級標題\r
====\r
## 二級標題 ##\r
二級標題\r
----\r
### 三級標題 ###\r
#### 四級標題 ####\r
##### 五級標題 #####\r
###### 六級標題 ######\r
\`\`\`\r
## 分割線\r
\`\`\`\r
***\r
---\r
\`\`\`\r
****\r
## ^上^角~下~標\r
\`\`\`\r
上角標 x^2^\r
下角標 H~2~0\r
\`\`\`\r
## ++下劃線++ ~~中劃線~~\r
\`\`\`\r
++下劃線++\r
~~中劃線~~\r
\`\`\`\r
## ==標記==\r
\`\`\`\r
==標記==\r
\`\`\`\r
## 段落引用\r
\`\`\`\r
> 一級\r
>> 二級\r
>>> 三級\r
...\r
\`\`\`\r
\r
## 列表\r
\`\`\`\r
有序列表\r
1.\r
2.\r
3.\r
...\r
無序列表\r
-\r
-\r
...\r
\`\`\`\r
\r
## 任務列表\r
\r
- [x] 已完成任務\r
- [ ] 未完成任務\r
\r
\`\`\`\r
- [x] 已完成任務\r
- [ ] 未完成任務\r
\`\`\`\r
\r
## 鏈接\r
\`\`\`\r
[鏈接](www.baidu.com)\r
![圖片描述](http://www.image.com)\r
\`\`\`\r
## 代碼段落\r
\\\`\`\` type\r
\r
代碼段落\r
\r
\\\`\`\`\r
\r
\\\` 代碼塊 \\\`\r
\r
\`\`\`c++\r
int main()\r
{\r
printf("hello world!");\r
}\r
\`\`\`\r
\`code\`\r
## 表格(table)\r
\`\`\`\r
| 標題1 | 標題2 | 標題3 |\r
| :-- | :--: | ----: |\r
| 左對齊 | 居中 | 右對齊 |\r
| ---------------------- | ------------- | ----------------- |\r
\`\`\`\r
| 標題1 | 標題2 | 標題3 |\r
| :-- | :--: | ----: |\r
| 左對齊 | 居中 | 右對齊 |\r
| ---------------------- | ------------- | ----------------- |\r
## 腳註(footnote)\r
\`\`\`\r
hello[^hello]\r
\`\`\`\r
\r
見底部腳註[^hello]\r
\r
[^hello]: 一個註腳\r
\r
## 表情(emoji)\r
[參考網站: https://www.webpagefx.com/tools/emoji-cheat-sheet/](https://www.webpagefx.com/tools/emoji-cheat-sheet/)\r
\`\`\`\r
:laughing:\r
:blush:\r
:smiley:\r
:)\r
...\r
\`\`\`\r
:laughing::blush::smiley::)\r
\r
## $\\KaTeX$公式\r
\r
我們可以渲染公式例如:$x_i + y_i = z_i$和$\\sum_{i=1}^n a_i=0$\r
我們也可以單行渲染\r
$$\\sum_{i=1}^n a_i=0$$\r
具體可參照[katex文檔](http://www.intmath.com/cg5/katex-mathjax-comparison.php)和[katex支持的函數](https://github.com/Khan/KaTeX/wiki/Function-Support-in-KaTeX)以及[latex文檔](https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference)\r
\r
## 布局\r
\r
::: hljs-left\r
\`::: hljs-left\`\r
\`居左\`\r
\`:::\`\r
:::\r
\r
::: hljs-center\r
\`::: hljs-center\`\r
\`居中\`\r
\`:::\`\r
:::\r
\r
::: hljs-right\r
\`::: hljs-right\`\r
\`居右\`\r
\`:::\`\r
:::\r
\r
## 定義\r
\r
術語一\r
\r
: 定義一\r
\r
包含有*行內標記*的術語二\r
\r
: 定義二\r
\r
{一些定義二的文字或代碼}\r
\r
定義二的第三段\r
\r
\`\`\`\r
術語一\r
\r
: 定義一\r
\r
包含有*行內標記*的術語二\r
\r
: 定義二\r
\r
{一些定義二的文字或代碼}\r
\r
定義二的第三段\r
\r
\`\`\`\r
\r
## abbr\r
*[HTML]: Hyper Text Markup Language\r
*[W3C]: World Wide Web Consortium\r
HTML 規範由 W3C 維護\r
\`\`\`\r
*[HTML]: Hyper Text Markup Language\r
*[W3C]: World Wide Web Consortium\r
HTML 規範由 W3C 維護\r
\`\`\`\r
\r
`},function(e,t){e.exports=`@[toc](Catalog)\r
\r
Markdown Guide\r
===\r
> Detailed: [http://commonmark.org/help/](http://commonmark.org/help/)\r
\r
## **Bold**\r
\`\`\`\r
**bold**\r
__bold__\r
\`\`\`\r
## *Italic*\r
\`\`\`\r
*italic*\r
_italic_\r
\`\`\`\r
## Header\r
\`\`\`\r
# h1 #\r
h1\r
====\r
## h2 ##\r
h2\r
----\r
### h3 ###\r
#### h4 ####\r
##### h5 #####\r
###### h6 ######\r
\`\`\`\r
## Dividing line\r
\`\`\`\r
***\r
---\r
\`\`\`\r
****\r
## ^Super^script & ~Sub~script\r
\`\`\`\r
super x^2^\r
sub H~2~0\r
\`\`\`\r
## ++Underline++ & ~~Strikethrough~~\r
\`\`\`\r
++underline++\r
~~strikethrough~~\r
\`\`\`\r
## ==Mark==\r
\`\`\`\r
==mark==\r
\`\`\`\r
## Quote\r
\r
\`\`\`\r
> quote 1\r
>> quote 2\r
>>> quote 3\r
...\r
\`\`\`\r
\r
## List\r
\`\`\`\r
ol\r
1.\r
2.\r
3.\r
...\r
\r
ul\r
-\r
-\r
...\r
\`\`\`\r
\r
## Todo List\r
\r
- [x] task 1\r
- [ ] task 2\r
\r
\`\`\`\r
- [x] task 1\r
- [ ] task 2\r
\`\`\`\r
\r
## Link\r
\`\`\`\r
Text Link\r
[Text](www.baidu.com)\r
\r
Image Link\r
![Text](http://www.image.com)\r
\`\`\`\r
## Code\r
\\\`\`\` type\r
\r
code block\r
\r
\\\`\`\`\r
\r
\\\` code \\\`\r
\r
\`\`\`c++\r
int main()\r
{\r
printf("hello world!");\r
}\r
\`\`\`\r
\`code\`\r
\r
## Table\r
\`\`\`\r
| th1 | th2 | th3 |\r
| :-- | :--: | ----: |\r
| left | center | right |\r
\`\`\`\r
| th1 | th2 | th3 |\r
| :-- | :--: | ----: |\r
| left | center | right |\r
| ---------------------- | ------------- | ----------------- |\r
## Footnote\r
\`\`\`\r
hello[^hello]\r
\`\`\`\r
\r
Look at the bottom[^hello]\r
\r
[^hello]: footnote\r
\r
## Emojis\r
Detailed: [https://www.webpagefx.com/tools/emoji-cheat-sheet/](https://www.webpagefx.com/tools/emoji-cheat-sheet/)\r
\`\`\`\r
:laughing:\r
:blush:\r
:smiley:\r
:)\r
...\r
\`\`\`\r
:laughing::blush::smiley::)\r
\r
## $\\KaTeX$ Mathematics\r
\r
We can render formulas for example$x_i + y_i = z_i$ and $\\sum_{i=1}^n a_i=0$\r
We can also single-line rendering\r
$$\\sum_{i=1}^n a_i=0$$\r
Detailed: [katex](http://www.intmath.com/cg5/katex-mathjax-comparison.php)和[katex function](https://github.com/Khan/KaTeX/wiki/Function-Support-in-KaTeX)以及[latex](https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference)\r
\r
## Layout\r
\r
::: hljs-left\r
\`::: hljs-left\`\r
\`left\`\r
\`:::\`\r
:::\r
\r
::: hljs-center\r
\`::: hljs-center\`\r
\`center\`\r
\`:::\`\r
:::\r
\r
::: hljs-right\r
\`::: hljs-right\`\r
\`right\`\r
\`:::\`\r
:::\r
\r
## deflist\r
\r
Term 1\r
\r
: Definition 1\r
\r
Term 2 with *inline markup*\r
\r
: Definition 2\r
\r
{ some code, part of Definition 2 }\r
\r
Third paragraph of definition 2.\r
\r
\`\`\`\r
Term 1\r
\r
: Definition 1\r
\r
Term 2 with *inline markup*\r
\r
: Definition 2\r
\r
{ some code, part of Definition 2 }\r
\r
Third paragraph of definition 2.\r
\r
\`\`\`\r
\r
## abbr\r
*[HTML]: Hyper Text Markup Language\r
*[W3C]: World Wide Web Consortium\r
The HTML specification\r
is maintained by the W3C.\r
\`\`\`\r
*[HTML]: Hyper Text Markup Language\r
*[W3C]: World Wide Web Consortium\r
The HTML specification\r
is maintained by the W3C.\r
\`\`\`\r
`},function(e,t){e.exports=`@[toc](Catalogue)\r
\r
Guide Markdown\r
==============\r
> Détail : [http://commonmark.org/help/](http://commonmark.org/help/)\r
\r
## **Bold**\r
\`\`\`\r
**bold**\r
__bold__\r
\`\`\`\r
## *Italic*\r
\`\`\`\r
*italic*\r
_italic_\r
\`\`\`\r
## Header\r
\`\`\`\r
# h1 #\r
h1\r
====\r
## h2 ##\r
h2\r
----\r
### h3 ###\r
#### h4 ####\r
##### h5 #####\r
###### h6 ######\r
\`\`\`\r
## Dividing line\r
\`\`\`\r
***\r
---\r
\`\`\`\r
****\r
## ^Super^script & ~Sub~script\r
\`\`\`\r
super x^2^\r
sub H~2~0\r
\`\`\`\r
## ++Underline++ & ~~Strikethrough~~\r
\`\`\`\r
++underline++\r
~~strikethrough~~\r
\`\`\`\r
## ==Mark==\r
\`\`\`\r
==mark==\r
\`\`\`\r
## Quote\r
\r
\`\`\`\r
> quote 1\r
>> quote 2\r
>>> quote 3\r
...\r
\`\`\`\r
\r
## List\r
\`\`\`\r
ol\r
1.\r
2.\r
3.\r
...\r
\r
ul\r
-\r
-\r
...\r
\`\`\`\r
## Link\r
\r
## Todo List\r
\r
- [x] Équipe 1\r
- [ ] Équipe 2\r
\r
\`\`\`\r
- [x] Équipe 1\r
- [ ] Équipe 2\r
\`\`\`\r
\r
\`\`\`\r
Text Link\r
[Text](www.baidu.com)\r
\r
Image Link\r
![Text](http://www.image.com)\r
\`\`\`\r
## Code\r
\\\`\`\` type\r
\r
code block\r
\r
\\\`\`\`\r
\r
\\\` code \\\`\r
\r
\`\`\`c++\r
int main()\r
{\r
printf("hello world!");\r
}\r
\`\`\`\r
\`code\`\r
\r
## Table\r
\`\`\`\r
| th1 | th2 | th3 |\r
| :-- | :--: | ----: |\r
| left | center | right |\r
\`\`\`\r
| th1 | th2 | th3 |\r
| :-- | :--: | ----: |\r
| left | center | right |\r
| ---------------------- | ------------- | ----------------- |\r
## Footnote\r
\`\`\`\r
hello[^hello]\r
\`\`\`\r
\r
Look at the bottom[^hello]\r
\r
[^hello]: footnote\r
\r
## Emojis\r
Detailed: [https://www.webpagefx.com/tools/emoji-cheat-sheet/](https://www.webpagefx.com/tools/emoji-cheat-sheet/)\r
\`\`\`\r
:laughing:\r
:blush:\r
:smiley:\r
:)\r
...\r
\`\`\`\r
:laughing::blush::smiley::)\r
\r
## $\\KaTeX$ Mathematics\r
\r
We can render formulas for example$x_i + y_i = z_i$ and $\\sum_{i=1}^n a_i=0$\r
We can also single-line rendering\r
$$\\sum_{i=1}^n a_i=0$$\r
Detailed: [katex](http://www.intmath.com/cg5/katex-mathjax-comparison.php)和[katex function](https://github.com/Khan/KaTeX/wiki/Function-Support-in-KaTeX)以及[latex](https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference)\r
\r
## Layout\r
\r
::: hljs-left\r
\`::: hljs-left\`\r
\`left\`\r
\`:::\`\r
:::\r
\r
::: hljs-center\r
\`::: hljs-center\`\r
\`center\`\r
\`:::\`\r
:::\r
\r
::: hljs-right\r
\`::: hljs-right\`\r
\`right\`\r
\`:::\`\r
:::\r
\r
## deflist\r
\r
Term 1\r
\r
: Definition 1\r
\r
Term 2 with *inline markup*\r
\r
: Definition 2\r
\r
{ some code, part of Definition 2 }\r
\r
Third paragraph of definition 2.\r
\r
\`\`\`\r
Term 1\r
\r
: Definition 1\r
\r
Term 2 with *inline markup*\r
\r
: Definition 2\r
\r
{ some code, part of Definition 2 }\r
\r
Third paragraph of definition 2.\r
\r
\`\`\`\r
\r
## abbr\r
*[HTML]: Hyper Text Markup Language\r
*[W3C]: World Wide Web Consortium\r
The HTML specification\r
is maintained by the W3C.\r
\`\`\`\r
*[HTML]: Hyper Text Markup Language\r
*[W3C]: World Wide Web Consortium\r
The HTML specification\r
is maintained by the W3C.\r
\`\`\`\r
`},function(e,t){e.exports=`@[toc](Directory)\r
\r
Guia Markdown\r
===\r
> Detalhes: [http://commonmark.org/help/](http://commonmark.org/help/)\r
\r
## **Negrito**\r
\`\`\`\r
**negrito**\r
__negrito__\r
\`\`\`\r
## *Itálico*\r
\`\`\`\r
*itálico*\r
_itálico_\r
\`\`\`\r
## Cabeçalho\r
\`\`\`\r
# h1 #\r
h1\r
====\r
## h2 ##\r
h2\r
----\r
### h3 ###\r
#### h4 ####\r
##### h5 #####\r
###### h6 ######\r
\`\`\`\r
## Linha Divisora\r
\`\`\`\r
***\r
---\r
\`\`\`\r
****\r
## ^Sobre^scrito & ~Sub~scrito\r
\`\`\`\r
sobre x^2^\r
sub H~2~0\r
\`\`\`\r
## ++Sublinhar++ & ~~Tachar~~\r
\`\`\`\r
++sublinhar++\r
~~tachar~~\r
\`\`\`\r
## ==Marcador==\r
\`\`\`\r
==marcador==\r
\`\`\`\r
## Citação\r
\r
\`\`\`\r
> citação 1\r
>> citação 2\r
>>> citação 3\r
...\r
\`\`\`\r
\r
## Listas\r
\`\`\`\r
lista Numerada\r
1.\r
2.\r
3.\r
...\r
\r
lista com marcadores\r
-\r
-\r
...\r
\`\`\`\r
\r
## Todo Listas\r
\r
- [x] Tarefa 1\r
- [ ] Tarefa 2\r
\r
\`\`\`\r
- [x] Tarefa 1\r
- [ ] Tarefa 2\r
\`\`\`\r
\r
## Link\r
\`\`\`\r
Link Texto\r
[Text](www.baidu.com)\r
\r
Link Imagem\r
![Text](http://www.image.com)\r
\`\`\`\r
## Código\r
\\\`\`\` tipo\r
\r
bloco de código\r
\r
\\\`\`\`\r
\r
\\\` código \\\`\r
\r
\`\`\`c++\r
int main()\r
{\r
printf("hello world!");\r
}\r
\`\`\`\r
\`code\`\r
\r
## Tabela\r
\`\`\`\r
| th1 | th2 | th3 |\r
| :-- | :--: | ----: |\r
| esquerda | centro | direita |\r
\`\`\`\r
| th1 | th2 | th3 |\r
| :-- | :--: | ----: |\r
| esquerda | centro | direita |\r
| ---------------------- | ------------- | ----------------- |\r
## Rodapé\r
\`\`\`\r
olá[^olá]\r
\`\`\`\r
\r
Olhe para baixo[^olá]\r
\r
[^olá]: rodapé\r
\r
## Emojis\r
Detalhes: [https://www.webpagefx.com/tools/emoji-cheat-sheet/](https://www.webpagefx.com/tools/emoji-cheat-sheet/)\r
\`\`\`\r
:laughing:\r
:blush:\r
:smiley:\r
:)\r
...\r
\`\`\`\r
:laughing::blush::smiley::)\r
\r
## $\\KaTeX$ Mathematics\r
\r
Podemos mostrar fórmulas por exemplo$x_i + y_i = z_i$ and $\\sum_{i=1}^n a_i=0$\r
Podemos também mostrar em uma única linha:\r
$$\\sum_{i=1}^n a_i=0$$\r
Detalhes: [katex](http://www.intmath.com/cg5/katex-mathjax-comparison.php)和[katex function](https://github.com/Khan/KaTeX/wiki/Function-Support-in-KaTeX)以及[latex](https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference)\r
\r
## Layout\r
\r
::: hljs-left\r
\`::: hljs-left\`\r
\`esquerda\`\r
\`:::\`\r
:::\r
\r
::: hljs-center\r
\`::: hljs-center\`\r
\`centro\`\r
\`:::\`\r
:::\r
\r
::: hljs-right\r
\`::: hljs-right\`\r
\`direita\`\r
\`:::\`\r
:::\r
\r
## Definições\r
\r
Termo 1\r
\r
: Definição 1\r
\r
Termo 2 com *markup inline*\r
\r
: Definição 2\r
\r
{ um pouco de código, parte da Definição 2 }\r
\r
Terceiro parágrafo da definição 2.\r
\r
\`\`\`\r
Termo 1\r
\r
: Definição 1\r
\r
Termo 2 com *markup inline*\r
\r
: Definição 2\r
\r
{ um pouco de código, parte da Definição 2 }\r
\r
Terceiro parágrafo da definição 2.\r
\r
\`\`\`\r
\r
## Abreviações\r
*[HTML]: Hyper Text Markup Language\r
*[W3C]: World Wide Web Consortium\r
A especificação HTML\r
é mantida pela W3C.\r
\`\`\`\r
*[HTML]: Hyper Text Markup Language\r
*[W3C]: World Wide Web Consortium\r
The HTML specification\r
é mantida pela W3C.\r
\`\`\`\r
`},function(e,t){e.exports=`@[toc](Catalog) \r
\r
Markdown помощь \r
=== \r
> Подробнее: [http://commonmark.org/help/](http://commonmark.org/help/) \r
\r
## **Полужирный** \r
\`\`\` \r
**Полужирный** \r
__Полужирный__ \r
\`\`\` \r
## *Курсив* \r
\`\`\` \r
*Курсив* \r
_Курсив_ \r
\`\`\` \r
## Заголовок \r
\`\`\` \r
# h1 # \r
h1 \r
==== \r
## h2 ## \r
h2 \r
---- \r
### h3 ### \r
#### h4 #### \r
##### h5 ##### \r
###### h6 ###### \r
\`\`\` \r
## Разделительная линия \r
\`\`\` \r
*** \r
--- \r
\`\`\` \r
**** \r
## ^Верхний^индекс & ~Нижний~индекс \r
\`\`\` \r
верхний x^2^ \r
нижний H~2~0 \r
\`\`\` \r
## ++Подчеркнутый++ & ~~Зачеркнутый~~ \r
\`\`\` \r
++Подчеркнутый++ \r
~~Зачеркнутый~~ \r
\`\`\` \r
## ==Отметка== \r
\`\`\` \r
==Отметка== \r
\`\`\` \r
## Цитата \r
\r
\`\`\` \r
> Цитата \r
>> Цитата 2 \r
>>> Цитата 3 \r
... \r
\`\`\` \r
\r
## Список \r
\`\`\` \r
ol \r
1. \r
2. \r
3. \r
... \r
\r
ul \r
- \r
- \r
... \r
\`\`\` \r
\r
## Список задач \r
\r
- [x] Задача 1 \r
- [ ] Задача 2 \r
\r
\`\`\` \r
- [x] Задача 1 \r
- [ ] Задача 2 \r
\`\`\` \r
\r
## Ссылка \r
\`\`\` \r
Ссылка \r
[Текст](www.baidu.com) \r
\r
Ссылка изображения \r
![Текст](http://www.image.com) \r
\`\`\` \r
## Код \r
\\\`\`\` type \r
\r
code block \r
\r
\\\`\`\` \r
\r
\\\` code \\\` \r
\r
\`\`\`c++ \r
int main() \r
{ \r
printf("hello world!");} \r
\`\`\` \r
\`code\` \r
\r
## Таблица \r
\`\`\` \r
| th1 | th2 | th3 | \r
| :-- | :--: | ----: | \r
| left | center | right | \r
\`\`\` \r
| th1 | th2 | th3 | \r
| :-- | :--: | ----: | \r
| left | center | right | \r
| ---------------------- | ------------- | ----------------- | \r
## Сноска \r
\`\`\` \r
Привет[^Привет] \r
\`\`\` \r
\r
Тут что-то непонятное[^Привет] \r
\r
[^Привет]: А тут объяснение \r
\r
## Emojis \r
Подробнее: [https://www.webpagefx.com/tools/emoji-cheat-sheet/](https://www.webpagefx.com/tools/emoji-cheat-sheet/) \r
\`\`\` \r
:laughing: \r
:blush: \r
:smiley: \r
:) \r
... \r
\`\`\` \r
:laughing::blush::smiley::) \r
\r
## $\\KaTeX$ Mathematics \r
\r
Можно выводить такие формулы:$x_i + y_i = z_i$ and $\\sum_{i=1}^n a_i=0$ \r
А также в одну строку:\r
$$\\sum_{i=1}^n a_i=0$$ \r
Подробнее: \r
- [katex](http://www.intmath.com/cg5/katex-mathjax-comparison.php)\r
- [katex function](https://github.com/Khan/KaTeX/wiki/Function-Support-in-KaTeX)\r
- [latex](https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference) \r
\r
## Разметка\r
\r
::: hljs-left \r
\`::: hljs-left\` \r
\`left\` \r
\`:::\` \r
::: \r
\r
::: hljs-center \r
\`::: hljs-center\` \r
\`center\` \r
\`:::\` \r
::: \r
\r
::: hljs-right \r
\`::: hljs-right\` \r
\`right\` \r
\`:::\` \r
::: \r
\r
## Список определений\r
\r
Термин 1 \r
\r
: Определение 1 \r
\r
Термин 2 с использованием *разметки*\r
\r
: Определение 2 \r
\r
{ Какой-нибудь код, часть определения 2 } \r
Третий параграф определения 2. \r
\`\`\` \r
Термин 1 \r
\r
: Определение 1 \r
\r
Термин 2 с использованием *разметки*\r
\r
: Определение 2 \r
\r
{ Какой-нибудь код, часть определения 2 } \r
Третий параграф определения 2. \r
\`\`\` \r
\r
## Сокращения\r
*[HTML]: Hyper Text Markup Language \r
*[W3C]: World Wide Web Consortium \r
The HTML specification \r
is maintained by the W3C. \r
\`\`\` \r
*[HTML]: Hyper Text Markup Language \r
*[W3C]: World Wide Web Consortium \r
The HTML specification \r
is maintained by the W3C. \r
\`\`\`\r
`},function(e,t){e.exports=`@[toc](Catalog)\r
\r
Markdown Handbuch\r
===\r
> Details: [http://commonmark.org/help/](http://commonmark.org/help/)\r
\r
## **Fett**\r
\`\`\`\r
**fett**\r
__fett__\r
\`\`\`\r
## *Kursiv*\r
\`\`\`\r
*kursiv*\r
_kursiv_\r
\`\`\`\r
## Überschriften\r
\`\`\`\r
# h1 #\r
h1\r
====\r
## h2 ##\r
h2\r
----\r
### h3 ###\r
#### h4 ####\r
##### h5 #####\r
###### h6 ######\r
\`\`\`\r
## Trennlinien\r
\`\`\`\r
***\r
---\r
\`\`\`\r
****\r
## ^Hoch^gestellt & ~Tief~gestellt\r
\`\`\`\r
hochgestellt x^2^\r
tiefgestellt H~2~0\r
\`\`\`\r
## ++Unterstrichen++ & ~~Durchgestrichen~~\r
\`\`\`\r
++unterstrichen++\r
~~durchgestrichen~~\r
\`\`\`\r
## ==Markiert==\r
\`\`\`\r
==markiert==\r
\`\`\`\r
## Zitat\r
\r
\`\`\`\r
> zitat 1\r
>> zitat 2\r
>>> zitat 3\r
...\r
\`\`\`\r
\r
## Liste\r
\`\`\`\r
ol\r
1.\r
2.\r
3.\r
...\r
\r
ul\r
-\r
-\r
...\r
\`\`\`\r
\r
## Todo Liste\r
\r
- [x] aufgabe 1\r
- [ ] aufgabe 2\r
\r
\`\`\`\r
- [x] aufgabe 1\r
- [ ] aufgabe 2\r
\`\`\`\r
\r
## Link\r
\`\`\`\r
Text Link\r
[Text](www.baidu.com)\r
\r
Link mit Bild\r
![Text](http://www.image.com)\r
\`\`\`\r
## Code\r
\\\`\`\` Typ\r
\r
Codeblock\r
\r
\\\`\`\`\r
\r
\\\` code \\\`\r
\r
\`\`\`c++\r
int main()\r
{\r
printf("hello world!");\r
}\r
\`\`\`\r
\`code\`\r
\r
## Tabelle\r
\`\`\`\r
| th1 | th2 | th3 |\r
| :-- | :--: | ----: |\r
| links | mitte | rechts |\r
\`\`\`\r
| th1 | th2 | th3 |\r
| :-- | :--: | ----: |\r
| links | mitte | rechts |\r
| ---------------------- | ------------- | ----------------- |\r
## Fußnote\r
\`\`\`\r
hallo[^hallo]\r
\`\`\`\r
\r
Schau zum unteren Rand[^hallo]\r
\r
[^hallo]: fussnote\r
\r
## Emojis\r
Details: [https://www.webpagefx.com/tools/emoji-cheat-sheet/](https://www.webpagefx.com/tools/emoji-cheat-sheet/)\r
\`\`\`\r
:laughing:\r
:blush:\r
:smiley:\r
:)\r
...\r
\`\`\`\r
:laughing::blush::smiley::)\r
\r
## $\\KaTeX$ Mathematik\r
\r
Formeln lassen sich darstellen z.b. $x_i + y_i = z_i$ und $\\sum_{i=1}^n a_i=0$\r
Formeln können auf einer eigenen Zeile gerendert werden\r
$$\\sum_{i=1}^n a_i=0$$\r
Details: [katex](http://www.intmath.com/cg5/katex-mathjax-comparison.php)和[katex function](https://github.com/Khan/KaTeX/wiki/Function-Support-in-KaTeX)以及[latex](https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference)\r
\r
## Layout\r
\r
::: hljs-left\r
\`::: hljs-left\`\r
\`links\`\r
\`:::\`\r
:::\r
\r
::: hljs-center\r
\`::: hljs-center\`\r
\`mitte\`\r
\`:::\`\r
:::\r
\r
::: hljs-right\r
\`::: hljs-right\`\r
\`rechts\`\r
\`:::\`\r
:::\r
\r
## Liste von Definitionen\r
\r
Term 1\r
\r
: Definition 1\r
\r
Term 2 mit *inline markup*\r
\r
: Definition 2\r
\r
{ ein wenig code, teil von Definition 2 }\r
\r
Dritter Absatz von Definition 2.\r
\r
\`\`\`\r
Term 1\r
\r
: Definition 1\r
\r
Term 2 mit *inline markup*\r
\r
: Definition 2\r
\r
{ ein wenig code, teil von Definition 2 }\r
\r
Dritter Absatz von Definition 2.\r
\r
\`\`\`\r
\r
## Abkürzungen\r
*[HTML]: Hyper Text Markup Language\r
*[W3C]: World Wide Web Consortium\r
Die HTML Spezifikation\r
wird gepflegt vom W3C.\r
\`\`\`\r
*[HTML]: Hyper Text Markup Language\r
*[W3C]: World Wide Web Consortium\r
Die HTML Spezifikation\r
wird gepflegt vom W3C.\r
\`\`\`\r
`},function(e,t){e.exports=`@[toc](目次)\r
\r
Markdown 文法ガイド\r
===\r
> Detailed: [http://commonmark.org/help/](http://commonmark.org/help/)\r
\r
## **太字**\r
\`\`\`\r
**太字**\r
__太字__\r
\`\`\`\r
## *斜体*\r
\`\`\`\r
*斜体*\r
_斜体_\r
\`\`\`\r
## 見出し\r
\`\`\`\r
# h1 #\r
h1\r
====\r
## h2 ##\r
h2\r
----\r
### h3 ###\r
#### h4 ####\r
##### h5 #####\r
###### h6 ######\r
\`\`\`\r
## 横線\r
\`\`\`\r
***\r
---\r
\`\`\`\r
****\r
## ^上付き^文字 & ~下付き~文字\r
\`\`\`\r
super x^2^\r
sub H~2~0\r
\`\`\`\r
## ++下線++ & ~~取り消し線~~\r
\`\`\`\r
++underline++\r
~~strikethrough~~\r
\`\`\`\r
## ==蛍光ペン==\r
\`\`\`\r
==mark==\r
\`\`\`\r
## 引用\r
\r
\`\`\`\r
> quote 1\r
>> quote 2\r
>>> quote 3\r
...\r
\`\`\`\r
\r
## リスト\r
\`\`\`\r
番号付きリスト\r
1.\r
2.\r
3.\r
...\r
\r
箇条書きリスト\r
-\r
-\r
...\r
\`\`\`\r
\r
## Todoリスト\r
\r
- [x] task 1\r
- [ ] task 2\r
\r
\`\`\`\r
- [x] task 1\r
- [ ] task 2\r
\`\`\`\r
\r
## リンク\r
\`\`\`\r
Text Link\r
[Text](www.baidu.com)\r
\r
Image Link\r
![Text](http://www.image.com)\r
\`\`\`\r
## コード\r
\\\`\`\` type\r
\r
code block\r
\r
\\\`\`\`\r
\r
\\\` code \\\`\r
\r
\`\`\`c++\r
int main()\r
{\r
printf("hello world!");\r
}\r
\`\`\`\r
\`code\`\r
\r
## 表\r
\`\`\`\r
| th1 | th2 | th3 |\r
| :-- | :--: | ----: |\r
| left | center | right |\r
\`\`\`\r
| th1 | th2 | th3 |\r
| :-- | :--: | ----: |\r
| left | center | right |\r
| ---------------------- | ------------- | ----------------- |\r
\r
## 脚注\r
\`\`\`\r
hello[^hello]\r
\`\`\`\r
\r
Look at the bottom[^hello]\r
\r
[^hello]: footnote\r
\r
## 絵文字\r
> Detailed: [https://www.webpagefx.com/tools/emoji-cheat-sheet/](https://www.webpagefx.com/tools/emoji-cheat-sheet/)\r
\`\`\`\r
:laughing:\r
:blush:\r
:smiley:\r
:)\r
...\r
\`\`\`\r
:laughing::blush::smiley::)\r
\r
## $\\KaTeX$ 数式\r
> Detailed: [KaTeXマニュアル](http://www.intmath.com/cg5/katex-mathjax-comparison.php)、[KaTeX function](https://github.com/Khan/KaTeX/wiki/Function-Support-in-KaTeX)、[LaTeXマニュアル](https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference)\r
\r
We can render formulas for example$x_i + y_i = z_i$ and $\\sum_{i=1}^n a_i=0$ \r
We can also single-line rendering\r
$$\\sum_{i=1}^n a_i=0$$\r
\r
## レイアウト\r
\r
::: hljs-left\r
\`::: hljs-left\`\r
\`left\`\r
\`:::\`\r
:::\r
\r
::: hljs-center\r
\`::: hljs-center\`\r
\`center\`\r
\`:::\`\r
:::\r
\r
::: hljs-right\r
\`::: hljs-right\`\r
\`right\`\r
\`:::\`\r
:::\r
\r
## 定義リスト\r
\r
Term 1\r
\r
: Definition 1\r
\r
Term 2 with *inline markup*\r
\r
: Definition 2\r
\r
{ some code, part of Definition 2 }\r
\r
Third paragraph of definition 2.\r
\r
\`\`\`\r
Term 1\r
\r
: Definition 1\r
\r
Term 2 with *inline markup*\r
\r
: Definition 2\r
\r
{ some code, part of Definition 2 }\r
\r
Third paragraph of definition 2.\r
\r
\`\`\`\r
\r
## abbr\r
*[HTML]: Hyper Text Markup Language\r
*[W3C]: World Wide Web Consortium\r
The HTML specification\r
is maintained by the W3C.\r
\`\`\`\r
*[HTML]: Hyper Text Markup Language\r
*[W3C]: World Wide Web Consortium\r
The HTML specification\r
is maintained by the W3C.\r
\`\`\`\r
`},function(e){e.exports=JSON.parse('{"start_editor":"开始编辑...","navigation_title":"导航目录","tl_bold":"粗体","tl_italic":"斜体","tl_header":"标题","tl_header_one":"一级标题","tl_header_two":"二级标题","tl_header_three":"三级标题","tl_header_four":"四级标题","tl_header_five":"五级标题","tl_header_six":"六级标题","tl_underline":"下划线","tl_strikethrough":"中划线","tl_mark":"标记","tl_superscript":"上角标","tl_subscript":"下角标","tl_quote":"段落引用","tl_ol":"有序列表","tl_ul":"无序列表","tl_link":"链接","tl_image":"添加图片链接","tl_code":"代码块","tl_table":"表格","tl_undo":"上一步","tl_redo":"下一步","tl_trash":"清空","tl_save":"保存","tl_navigation_on":"开启标题导航","tl_navigation_off":"关闭标题导航","tl_preview":"预览","tl_aligncenter":"居中","tl_alignleft":"居左","tl_alignright":"居右","tl_edit":"编辑","tl_single_column":"单栏","tl_double_column":"双栏","tl_fullscreen_on":"全屏编辑","tl_fullscreen_off":"退出全屏","tl_read":"沉浸式阅读","tl_html_on":"查看html文本","tl_html_off":"返回markdown文本","tl_help":"markdown语法帮助","tl_upload":"上传图片","tl_upload_remove":"删除","tl_popup_link_title":"添加链接","tl_popup_link_text":"链接描述","tl_popup_link_addr":"链接地址","tl_popup_img_link_title":"添加图片","tl_popup_img_link_text":"图片描述","tl_popup_img_link_addr":"图片链接","tl_popup_link_sure":"确定","tl_popup_link_cancel":"取消"}')},function(e){e.exports=JSON.parse('{"start_editor":"開始編輯...","navigation_title":"導航目錄","tl_bold":"粗體","tl_italic":"斜體","tl_header":"標題","tl_header_one":"一級標題","tl_header_two":"二級標題","tl_header_three":"三級標題","tl_header_four":"四級標題","tl_header_five":"五級標題","tl_header_six":"六級標題","tl_underline":"下劃線","tl_strikethrough":"中劃線","tl_mark":"標記","tl_superscript":"上角標","tl_subscript":"下角標","tl_quote":"段落引用","tl_ol":"有序列表","tl_ul":"無序列表","tl_link":"鏈接","tl_image":"添加圖片鏈接","tl_code":"代碼塊","tl_table":"表格","tl_undo":"上一步","tl_redo":"下一步","tl_trash":"清空","tl_save":"保存","tl_navigation_on":"開啟標題導航","tl_navigation_off":"關閉標題導航","tl_preview":"預覽","tl_aligncenter":"居中","tl_alignleft":"居左","tl_alignright":"居右","tl_edit":"編輯","tl_single_column":"單欄","tl_double_column":"雙欄","tl_fullscreen_on":"全屏編輯","tl_fullscreen_off":"退出全屏","tl_read":"沈浸式閱讀","tl_html_on":"查看html文本","tl_html_off":"返回markdown文本","tl_help":"markdown語法幫助","tl_upload":"上傳圖片","tl_upload_remove":"刪除","tl_popup_link_title":"添加鏈接","tl_popup_link_text":"鏈接描述","tl_popup_link_addr":"鏈接地址","tl_popup_img_link_title":"添加圖片","tl_popup_img_link_text":"圖片描述","tl_popup_img_link_addr":"圖片鏈接","tl_popup_link_sure":"確定","tl_popup_link_cancel":"取消"}')},function(e){e.exports=JSON.parse('{"start_editor":"Begin editing...","navigation_title":"Navigation","tl_bold":"Bold","tl_italic":"Italic","tl_header":"Header","tl_header_one":"Header 1","tl_header_two":"Header 2","tl_header_three":"Header 3","tl_header_four":"Header 4","tl_header_five":"Header 5","tl_header_six":"Header 6","tl_underline":"Underline","tl_strikethrough":"Strikethrough","tl_mark":"Mark","tl_superscript":"Superscript","tl_subscript":"Subscript","tl_quote":"Quote","tl_ol":"Ol","tl_ul":"Ul","tl_link":"Link","tl_image":"Image Link","tl_code":"Code","tl_table":"Table","tl_undo":"Undo","tl_redo":"Redo","tl_trash":"Trash","tl_save":"Save","tl_navigation_on":"Navigation ON","tl_navigation_off":"Navigation OFF","tl_preview":"Preview","tl_aligncenter":"Center text","tl_alignleft":"Clamp text to the left","tl_alignright":"Clamp text to the right","tl_edit":"Edit","tl_single_column":"Single Column","tl_double_column":"Double Columns","tl_fullscreen_on":"FullScreen ON","tl_fullscreen_off":"FullScreen OFF","tl_read":"Read Model","tl_html_on":"HTML ON","tl_html_off":"HTML OFF","tl_help":"Markdown Guide","tl_upload":"Upload Images","tl_upload_remove":"Remove","tl_popup_link_title":"Add Link","tl_popup_link_text":"Link text","tl_popup_link_addr":"Link address","tl_popup_img_link_title":"Add Image","tl_popup_img_link_text":"Image Text","tl_popup_img_link_addr":"Image Link","tl_popup_link_sure":"Sure","tl_popup_link_cancel":"Cancel"}')},function(e){e.exports=JSON.parse(`{"start_editor":"Début d'édition...","navigation_title":"Navigation","tl_bold":"Gras","tl_italic":"Italique","tl_header":"Entête","tl_header_one":"Entête 1","tl_header_two":"Entête 2","tl_header_three":"Entête 3","tl_header_four":"Entête 4","tl_header_five":"Entête 5","tl_header_six":"Entête 6","tl_underline":"Souligné","tl_strikethrough":"Barré","tl_mark":"Mark","tl_superscript":"Exposant","tl_subscript":"Sous-exposant","tl_quote":"Quote","tl_ol":"Liste ","tl_ul":"Puce","tl_link":"Lien","tl_image":"Image Lien","tl_code":"Code","tl_table":"Table","tl_undo":"Annuler","tl_redo":"Refaire","tl_trash":"Supprimer","tl_save":"Sauver","tl_navigation_on":"Activer la navigation","tl_navigation_off":"Désactiver le navigation","tl_preview":"Previsualisé","tl_aligncenter":"Center le texte","tl_alignleft":"Férer le texte à gauche","tl_alignright":"Férer le texte à droite","tl_edit":"Editer","tl_single_column":"Seule Colonne","tl_double_column":"Colonnes Doubles","tl_fullscreen_on":"Activer le mode plein écran","tl_fullscreen_off":"Désactiver le mode plein écran","tl_read":"Lire le modèle","tl_html_on":"Activer le mode HTML","tl_html_off":"Désactiver le mode HTML","tl_help":"Guide Markdown","tl_upload":"Télécharger les images","tl_upload_remove":"Supprimer","tl_popup_link_title":"Ajouter un lien","tl_popup_link_text":"Description","tl_popup_link_addr":"Link","tl_popup_img_link_title":"Ajouter une image","tl_popup_img_link_text":"Description","tl_popup_img_link_addr":"Link","tl_popup_link_sure":"sûr","tl_popup_link_cancel":"Annuler"}`)},function(e){e.exports=JSON.parse('{"start_editor":"Começar edição...","navigation_title":"Navegação","tl_bold":"Negrito","tl_italic":"Itálico","tl_header":"Cabeçalho","tl_header_one":"Cabeçalho 1","tl_header_two":"Cabeçalho 2","tl_header_three":"Cabeçalho 3","tl_header_four":"Cabeçalho 4","tl_header_five":"Cabeçalho 5","tl_header_six":"Cabeçalho 6","tl_underline":"Sublinhar","tl_strikethrough":"Tachar","tl_mark":"Marcação","tl_superscript":"Sobrescrito","tl_subscript":"Subscrito","tl_quote":"Citação","tl_ol":"Lista Numerada","tl_ul":"Lista com marcadores","tl_link":"Link","tl_image":"Link de imagem","tl_code":"Código","tl_table":"Tabela","tl_undo":"Desfazer","tl_redo":"Refazer","tl_trash":"Lixo","tl_save":"Salvar","tl_navigation_on":"Mostrar Navegação","tl_navigation_off":"Esconder Navegação","tl_preview":"Preview","tl_aligncenter":"Alinhar no centro","tl_alignleft":"Alinhar à esquerda","tl_alignright":"Alinhar à direita","tl_edit":"Editar","tl_single_column":"Coluna Única","tl_double_column":"Duas Colunas","tl_fullscreen_on":"Ligar Tela Cheia","tl_fullscreen_off":"Desligar Tela Cheia","tl_read":"Modo de Leitura","tl_html_on":"Ligar HTML","tl_html_off":"Desligar HTML","tl_help":"Guia Markdown","tl_upload":"Upload de Imagens","tl_upload_remove":"Remover","tl_popup_link_title":"Adicionar Link","tl_popup_link_text":"Descrição","tl_popup_link_addr":"Link","tl_popup_img_link_title":"Adicionar fotos","tl_popup_img_link_text":"Descrição","tl_popup_img_link_addr":"Link","tl_popup_link_sure":"Confirmar","tl_popup_link_cancel":"Cancelar"}')},function(e){e.exports=JSON.parse('{"start_editor":"Начните редактирование...","navigation_title":"Навигация","tl_bold":"Полужирный","tl_italic":"Курсив","tl_header":"Заголовки","tl_header_one":"Заголовок 1","tl_header_two":"Заголовок 2","tl_header_three":"Заголовок 3","tl_header_four":"Заголовок 4","tl_header_five":"Заголовок 5","tl_header_six":"Заголовок 6","tl_underline":"Подчеркнутый","tl_strikethrough":"Зачеркнутый","tl_mark":"Отметка","tl_superscript":"Верхний индекс","tl_subscript":"Нижний индекс","tl_quote":"Цитата","tl_ol":"Нумерованный список","tl_ul":"Список","tl_link":"Ссылка","tl_image":"Ссылка изображения","tl_code":"Код","tl_table":"Таблица","tl_undo":"Отменить","tl_redo":"Вернуть","tl_trash":"Удалить","tl_save":"Сохранить","tl_navigation_on":"Показать навигацию","tl_navigation_off":"Скрыть навигацию","tl_preview":"Предпросмотр","tl_aligncenter":"Выровнять по центру","tl_alignleft":"Выровнять по левому краю","tl_alignright":"Выровнять по правому краю","tl_edit":"Редактор","tl_single_column":"Одно поле","tl_double_column":"Два поля","tl_fullscreen_on":"Полноэкранный режим","tl_fullscreen_off":"Выключить полноэкранный режим","tl_read":"Режим чтения","tl_html_on":"Показать HTML","tl_html_off":"Убрать HTML","tl_help":"Markdown помощь","tl_upload":"Загрузить изображение","tl_upload_remove":"Удалить","tl_popup_link_title":"Добавить ссылку","tl_popup_link_text":"Текст ссылки","tl_popup_link_addr":"Адрес ссылки","tl_popup_img_link_title":"Локальное изображение","tl_popup_img_link_text":"Текст изображения","tl_popup_img_link_addr":"Ссылка изображения","tl_popup_link_sure":"Добавить","tl_popup_link_cancel":"Отменить"}')},function(e){e.exports=JSON.parse('{"start_editor":"Bearbeitung beginnen...","navigation_title":"Navigation","tl_bold":"Fett","tl_italic":"Kursiv","tl_header":"Überschrift","tl_header_one":"Überschrift 1","tl_header_two":"Überschrift 2","tl_header_three":"Überschrift 3","tl_header_four":"Überschrift 4","tl_header_five":"Überschrift 5","tl_header_six":"Überschrift 6","tl_underline":"Unterstrichen","tl_strikethrough":"Durchgestrichen","tl_mark":"Markiert","tl_superscript":"Hochgestellt","tl_subscript":"Tiefgestellt","tl_quote":"Zitat","tl_ol":"Ol","tl_ul":"Ul","tl_link":"Link","tl_image":"Link mit Bild","tl_code":"Code","tl_table":"Tabelle","tl_undo":"Rückgängig","tl_redo":"Wiederherstellen","tl_trash":"Mülleimer","tl_save":"Speichern","tl_navigation_on":"Navigation AN","tl_navigation_off":"Navigation AUS","tl_preview":"Vorschau","tl_aligncenter":"Text zentrieren","tl_alignleft":"Nach links ausrichten","tl_alignright":"Nach rechts ausrichten","tl_edit":"Bearbeiten","tl_single_column":"Einspaltig","tl_double_column":"Zweispaltig","tl_fullscreen_on":"Vollbild AN","tl_fullscreen_off":"Vollbild AUS","tl_read":"Lesemodus","tl_html_on":"HTML AN","tl_html_off":"HTML AUS","tl_help":"Markdown Handbuch","tl_upload":"Bilder-Upload","tl_upload_remove":"Entfernen","tl_popup_link_title":"Link hinzufügen","tl_popup_link_text":"Text des Links","tl_popup_link_addr":"Linkziel","tl_popup_img_link_title":"Bild hinzufügen","tl_popup_img_link_text":"Text des Bildes","tl_popup_img_link_addr":"Link auf Bild","tl_popup_link_sure":"Ja","tl_popup_link_cancel":"Abbruch"}')},function(e){e.exports=JSON.parse('{"start_editor":"編集を始めてね!","navigation_title":"ナビゲーション","tl_bold":"太字","tl_italic":"斜体","tl_header":"見出し","tl_header_one":"見出し1","tl_header_two":"見出し2","tl_header_three":"見出し3","tl_header_four":"見出し4","tl_header_five":"見出し5","tl_header_six":"見出し6","tl_underline":"下線","tl_strikethrough":"取り消し線","tl_mark":"蛍光ペン","tl_superscript":"上付き文字","tl_subscript":"下付き文字","tl_quote":"引用","tl_ol":"番号付きリスト","tl_ul":"箇条書きリスト","tl_link":"ハイパーリンク","tl_image":"画像のリンク","tl_code":"コードの挿入","tl_table":"表の挿入","tl_undo":"戻る","tl_redo":"進む","tl_trash":"削除","tl_save":"保存","tl_navigation_on":"ナビゲーションを表示","tl_navigation_off":"ナビゲーションを非表示","tl_preview":"プレビュー","tl_aligncenter":"中央揃え","tl_alignleft":"左揃え","tl_alignright":"右揃え","tl_edit":"編集","tl_single_column":"一列","tl_double_column":"二列","tl_fullscreen_on":"全画面表示","tl_fullscreen_off":"全画面表示の終了","tl_read":"モデルの読み込み","tl_html_on":"HTMLで表示","tl_html_off":"HTML表示の終了","tl_help":"ヘルプ","tl_upload":"画像をアップロード","tl_upload_remove":"画像の削除","tl_popup_link_title":"リンクの追加","tl_popup_link_text":"リンクテキスト","tl_popup_link_addr":"リンク先のURL","tl_popup_img_link_title":"画像の追加","tl_popup_img_link_text":"画像タイトル","tl_popup_img_link_addr":"画像URL","tl_popup_link_sure":"OK","tl_popup_link_cancel":"戻る"}')},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var o=u(r(25));t.initMarkdown=P;var i=u(r(56)),c=r(57),a=u(r(133));function u(V){return V&&V.__esModule?V:{default:V}}var d={html:!0,xhtmlOut:!0,breaks:!0,langPrefix:"lang-",linkify:!1,typographer:!0,quotes:"“”‘’"},f=r(138),m=r(195),g=r(201),v=r(202),y=r(203),w=r(204),b=r(205),S=r(206),_=r(207),k=r(208),C=r(209),T=r(210),x=r(211),R=r(212),O=r(213),A={},N=[],E={hljs:"auto",highlighted:!0,langCheck:function(V){V&&i.default[V]&&!A[V]&&(A[V]=1,N.push(i.default[V]))}};function P(){var V=new f(d),D=V.renderer.rules.link_open||function(F,B,$,U,M){return M.renderToken(F,B,$)};return V.renderer.rules.link_open=function(F,B,$,U,M){var Z=F[B].attrIndex("href");if(F[B].attrs[Z][1].startsWith("#"))return D(F,B,$,U,M);var Q=F[B].attrIndex("target");return Q<0?F[B].attrPush(["target","_blank"]):F[B].attrs[Q][1]="_blank",D(F,B,$,U,M)},V.use(x,E).use(m).use(v).use(g).use(C).use(C,"hljs-left").use(C,"hljs-center").use(C,"hljs-right").use(y).use(w).use(b).use(S).use(_).use(C).use(O).use(R).use(k).use(T),V}t.default={data:function(){return{markdownIt:null}},created:function(){this.markdownIt=P(),this.html?(0,o.default)(this.xssOptions)==="object"&&this.markdownIt.use(a.default,this.xssOptions):(this.markdownIt.set({html:!1}),this.xssOptions=!1)},mounted:function(){E.highlighted=this.ishljs},methods:{$render:function(V,D){A={},N=[];var F=this.markdownIt.render(V);this.ishljs&&N.length>0&&this.$_render(V,D,F),D(F)},$_render:function(V,D,F){for(var B=0,$=0;$<N.length;$++){var U=this.p_external_link.hljs_lang(N[$]);(0,c.loadScript)(U,function(){(B+=1)===N.length&&(F=this.markdownIt.render(V),D(F))})}}},watch:{ishljs:function(V){E.highlighted=V}}}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(a,u){a.options.html&&(i=new o.FilterXSS(u),a.core.ruler.push("mavoneditor_sanitizer",c))};var o=r(134),i=void 0;function c(a){i&&function u(d,f){for(var m=void 0,g=void 0,v=0;v<d.length;v++)f.indexOf(d[v].type)!==-1&&(m=d[v].content,g=d[v].children,d[v].content=i.process(m),g&&g.length&&m!==d[v].content&&u(g,["html_inline"]))}(a.tokens,["inline","html_block"])}},function(e,t,r){var o=r(58),i=r(61),c=r(137);function a(u,d){return new c(d).process(u)}(t=e.exports=a).filterXSS=a,t.FilterXSS=c,function(){for(var u in o)t[u]=o[u];for(var d in i)t[d]=i[d]}(),typeof window<"u"&&(window.filterXSS=e.exports),typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope&&(self.filterXSS=e.exports)},function(e,t,r){var o=r(59),i=r(136);r(60);function c(u){return u==null}function a(u){(u=function(d){var f={};for(var m in d)f[m]=d[m];return f}(u||{})).whiteList=u.whiteList||o.whiteList,u.onAttr=u.onAttr||o.onAttr,u.onIgnoreAttr=u.onIgnoreAttr||o.onIgnoreAttr,u.safeAttrValue=u.safeAttrValue||o.safeAttrValue,this.options=u}a.prototype.process=function(u){if(!(u=(u=u||"").toString()))return"";var d=this.options,f=d.whiteList,m=d.onAttr,g=d.onIgnoreAttr,v=d.safeAttrValue;return i(u,function(y,w,b,S,_){var k=f[b],C=!1;if(k===!0?C=k:typeof k=="function"?C=k(S):k instanceof RegExp&&(C=k.test(S)),C!==!0&&(C=!1),S=v(b,S)){var T,x={position:w,sourcePosition:y,source:_,isWhite:C};return C?c(T=m(b,S,x))?b+":"+S:T:c(T=g(b,S,x))?void 0:T}})},e.exports=a},function(e,t,r){var o=r(60);e.exports=function(i,c){(i=o.trimRight(i))[i.length-1]!==";"&&(i+=";");var a=i.length,u=!1,d=0,f=0,m="";function g(){if(!u){var w=o.trim(i.slice(d,f)),b=w.indexOf(":");if(b!==-1){var S=o.trim(w.slice(0,b)),_=o.trim(w.slice(b+1));if(S){var k=c(d,m.length,S,_,w);k&&(m+=k+"; ")}}}d=f+1}for(;f<a;f++){var v=i[f];if(v==="/"&&i[f+1]==="*"){var y=i.indexOf("*/",f+2);if(y===-1)break;d=(f=y+1)+1,u=!1}else v==="("?u=!0:v===")"?u=!1:v===";"?u||g():v===`
`&&g()}return o.trim(m)}},function(e,t,r){var o=r(38).FilterCSS,i=r(58),c=r(61),a=c.parseTag,u=c.parseAttr,d=r(39);function f(g){return g==null}function m(g){(g=function(v){var y={};for(var w in v)y[w]=v[w];return y}(g||{})).stripIgnoreTag&&(g.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),g.onIgnoreTag=i.onIgnoreTagStripAll),g.whiteList||g.allowList?g.whiteList=function(v){var y={};for(var w in v)Array.isArray(v[w])?y[w.toLowerCase()]=v[w].map(function(b){return b.toLowerCase()}):y[w.toLowerCase()]=v[w];return y}(g.whiteList||g.allowList):g.whiteList=i.whiteList,g.onTag=g.onTag||i.onTag,g.onTagAttr=g.onTagAttr||i.onTagAttr,g.onIgnoreTag=g.onIgnoreTag||i.onIgnoreTag,g.onIgnoreTagAttr=g.onIgnoreTagAttr||i.onIgnoreTagAttr,g.safeAttrValue=g.safeAttrValue||i.safeAttrValue,g.escapeHtml=g.escapeHtml||i.escapeHtml,this.options=g,g.css===!1?this.cssFilter=!1:(g.css=g.css||{},this.cssFilter=new o(g.css))}m.prototype.process=function(g){if(!(g=(g=g||"").toString()))return"";var v=this.options,y=v.whiteList,w=v.onTag,b=v.onIgnoreTag,S=v.onTagAttr,_=v.onIgnoreTagAttr,k=v.safeAttrValue,C=v.escapeHtml,T=this.cssFilter;v.stripBlankChar&&(g=i.stripBlankChar(g)),v.allowCommentTag||(g=i.stripCommentTag(g));var x=!1;v.stripIgnoreTagBody&&(x=i.StripTagBody(v.stripIgnoreTagBody,b),b=x.onIgnoreTag);var R=a(g,function(O,A,N,E,P){var V={sourcePosition:O,position:A,isClosing:P,isWhite:Object.prototype.hasOwnProperty.call(y,N)},D=w(N,E,V);if(!f(D))return D;if(V.isWhite){if(V.isClosing)return"</"+N+">";var F=function(U){var M=d.spaceIndex(U);if(M===-1)return{html:"",closing:U[U.length-2]==="/"};var Z=(U=d.trim(U.slice(M+1,-1)))[U.length-1]==="/";return Z&&(U=d.trim(U.slice(0,-1))),{html:U,closing:Z}}(E),B=y[N],$=u(F.html,function(U,M){var Z=d.indexOf(B,U)!==-1,Q=S(N,U,M,Z);return f(Q)?Z?(M=k(N,U,M,T))?U+'="'+M+'"':U:f(Q=_(N,U,M,Z))?void 0:Q:Q});return E="<"+N,$&&(E+=" "+$),F.closing&&(E+=" /"),E+=">"}return f(D=b(N,E,V))?C(E):D},C);return x&&(R=x.remove(R)),R},e.exports=m},function(e,t,r){e.exports=r(139)},function(e,t,r){var o=r(1),i=r(147),c=r(151),a=r(152),u=r(160),d=r(174),f=r(187),m=r(63),g=r(189),v={default:r(192),zero:r(193),commonmark:r(194)},y=/^(vbscript|javascript|file|data):/,w=/^data:image\/(gif|png|jpeg|webp);/;function b(T){var x=T.trim().toLowerCase();return!y.test(x)||!!w.test(x)}var S=["http:","https:","mailto:"];function _(T){var x=m.parse(T,!0);if(x.hostname&&(!x.protocol||S.indexOf(x.protocol)>=0))try{x.hostname=g.toASCII(x.hostname)}catch{}return m.encode(m.format(x))}function k(T){var x=m.parse(T,!0);if(x.hostname&&(!x.protocol||S.indexOf(x.protocol)>=0))try{x.hostname=g.toUnicode(x.hostname)}catch{}return m.decode(m.format(x))}function C(T,x){if(!(this instanceof C))return new C(T,x);x||o.isString(T)||(x=T||{},T="default"),this.inline=new d,this.block=new u,this.core=new a,this.renderer=new c,this.linkify=new f,this.validateLink=b,this.normalizeLink=_,this.normalizeLinkText=k,this.utils=o,this.helpers=o.assign({},i),this.options={},this.configure(T),x&&this.set(x)}C.prototype.set=function(T){return o.assign(this.options,T),this},C.prototype.configure=function(T){var x,R=this;if(o.isString(T)&&!(T=v[x=T]))throw new Error('Wrong `markdown-it` preset "'+x+'", check name');if(!T)throw new Error("Wrong `markdown-it` preset, can't be empty");return T.options&&R.set(T.options),T.components&&Object.keys(T.components).forEach(function(O){T.components[O].rules&&R[O].ruler.enableOnly(T.components[O].rules),T.components[O].rules2&&R[O].ruler2.enableOnly(T.components[O].rules2)}),this},C.prototype.enable=function(T,x){var R=[];Array.isArray(T)||(T=[T]),["core","block","inline"].forEach(function(A){R=R.concat(this[A].ruler.enable(T,!0))},this),R=R.concat(this.inline.ruler2.enable(T,!0));var O=T.filter(function(A){return R.indexOf(A)<0});if(O.length&&!x)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+O);return this},C.prototype.disable=function(T,x){var R=[];Array.isArray(T)||(T=[T]),["core","block","inline"].forEach(function(A){R=R.concat(this[A].ruler.disable(T,!0))},this),R=R.concat(this.inline.ruler2.disable(T,!0));var O=T.filter(function(A){return R.indexOf(A)<0});if(O.length&&!x)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+O);return this},C.prototype.use=function(T){var x=[this].concat(Array.prototype.slice.call(arguments,1));return T.apply(T,x),this},C.prototype.parse=function(T,x){if(typeof T!="string")throw new Error("Input data should be a String");var R=new this.core.State(T,this,x);return this.core.process(R),R.tokens},C.prototype.render=function(T,x){return x=x||{},this.renderer.render(this.parse(T,x),this.options,x)},C.prototype.parseInline=function(T,x){var R=new this.core.State(T,this,x);return R.inlineMode=!0,this.core.process(R),R.tokens},C.prototype.renderInline=function(T,x){return x=x||{},this.renderer.render(this.parseInline(T,x),this.options,x)},e.exports=C},function(e){e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"","backsim":"∽","backsimeq":"⋍","Backslash":"","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"","Bernoullis":"","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"","caps":"∩︀","caret":"","caron":"ˇ","Cayleys":"","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"","dd":"","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":"","emsp14":"","emsp":"","ENG":"Ŋ","eng":"ŋ","ensp":"","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"","Escr":"","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"","exponentiale":"","ExponentialE":"","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"","frown":"⌢","fscr":"𝒻","Fscr":"","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":"","half":"½","hamilt":"","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"","HilbertSpace":"","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"","hyphen":"","Iacute":"Í","iacute":"í","ic":"","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"","Igrave":"Ì","igrave":"ì","ii":"","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"","ImaginaryI":"","imagline":"","imagpart":"","imath":"ı","Im":"","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"","InvisibleTimes":"","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"","lrtri":"⊿","lsaquo":"","lscr":"𝓁","Lscr":"","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"","lsquor":"","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":"","Mellintrf":"","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"","middot":"·","minusb":"⊟","minus":"","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"","NegativeThickSpace":"","NegativeThinSpace":"","NegativeVeryThinSpace":"","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":"","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"","ord":"⩝","order":"","orderof":"","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"","pointint":"⨕","popf":"𝕡","Popf":"","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"","Prime":"″","primes":"","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":"","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"","rationals":"","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"","realine":"","realpart":"","reals":"","Re":"","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"","rscr":"𝓇","Rscr":"","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"","rsquor":"","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"","setmn":"","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"","smashp":"⨳","smeparsl":"⧤","smid":"","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"","ThickSpace":"","ThinSpace":"","thinsp":"","thkap":"≈","thksim":"","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"","Vee":"","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":"","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"","ZeroWidthSpace":"","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"","Zscr":"𝒵","zscr":"𝓏","zwj":"","zwnj":""}')},function(e,t,r){var o={};function i(c,a,u){var d,f,m,g,v,y="";for(typeof a!="string"&&(u=a,a=i.defaultChars),u===void 0&&(u=!0),v=function(w){var b,S,_=o[w];if(_)return _;for(_=o[w]=[],b=0;b<128;b++)S=String.fromCharCode(b),/^[0-9a-z]$/i.test(S)?_.push(S):_.push("%"+("0"+b.toString(16).toUpperCase()).slice(-2));for(b=0;b<w.length;b++)_[w.charCodeAt(b)]=w[b];return _}(a),d=0,f=c.length;d<f;d++)if(m=c.charCodeAt(d),u&&m===37&&d+2<f&&/^[0-9a-f]{2}$/i.test(c.slice(d+1,d+3)))y+=c.slice(d,d+3),d+=2;else if(m<128)y+=v[m];else if(m>=55296&&m<=57343){if(m>=55296&&m<=56319&&d+1<f&&(g=c.charCodeAt(d+1))>=56320&&g<=57343){y+=encodeURIComponent(c[d]+c[d+1]),d++;continue}y+="%EF%BF%BD"}else y+=encodeURIComponent(c[d]);return y}i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",e.exports=i},function(e,t,r){var o={};function i(c,a){var u;return typeof a!="string"&&(a=i.defaultChars),u=function(d){var f,m,g=o[d];if(g)return g;for(g=o[d]=[],f=0;f<128;f++)m=String.fromCharCode(f),g.push(m);for(f=0;f<d.length;f++)g[m=d.charCodeAt(f)]="%"+("0"+m.toString(16).toUpperCase()).slice(-2);return g}(a),c.replace(/(%[a-f0-9]{2})+/gi,function(d){var f,m,g,v,y,w,b,S="";for(f=0,m=d.length;f<m;f+=3)(g=parseInt(d.slice(f+1,f+3),16))<128?S+=u[g]:(224&g)==192&&f+3<m&&(192&(v=parseInt(d.slice(f+4,f+6),16)))==128?(S+=(b=g<<6&1984|63&v)<128?"<22><>":String.fromCharCode(b),f+=3):(240&g)==224&&f+6<m&&(v=parseInt(d.slice(f+4,f+6),16),y=parseInt(d.slice(f+7,f+9),16),(192&v)==128&&(192&y)==128)?(S+=(b=g<<12&61440|v<<6&4032|63&y)<2048||b>=55296&&b<=57343?"<22><><EFBFBD>":String.fromCharCode(b),f+=6):(248&g)==240&&f+9<m&&(v=parseInt(d.slice(f+4,f+6),16),y=parseInt(d.slice(f+7,f+9),16),w=parseInt(d.slice(f+10,f+12),16),(192&v)==128&&(192&y)==128&&(192&w)==128)?((b=g<<18&1835008|v<<12&258048|y<<6&4032|63&w)<65536||b>1114111?S+="<22><><EFBFBD><EFBFBD>":(b-=65536,S+=String.fromCharCode(55296+(b>>10),56320+(1023&b))),f+=9):S+="<22>";return S})}i.defaultChars=";/?:@&=+$,#",i.componentChars="",e.exports=i},function(e,t,r){e.exports=function(o){var i="";return i+=o.protocol||"",i+=o.slashes?"//":"",i+=o.auth?o.auth+"@":"",o.hostname&&o.hostname.indexOf(":")!==-1?i+="["+o.hostname+"]":i+=o.hostname||"",i+=o.port?":"+o.port:"",i+=o.pathname||"",i+=o.search||"",i+=o.hash||""}},function(e,t,r){function o(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var i=/^([a-z0-9.+-]+:)/i,c=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,u=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",`
`," "]),d=["'"].concat(u),f=["%","/","?",";","#"].concat(d),m=["/","?","#"],g=/^[+a-z0-9A-Z_-]{0,63}$/,v=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,y={javascript:!0,"javascript:":!0},w={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};o.prototype.parse=function(b,S){var _,k,C,T,x,R=b;if(R=R.trim(),!S&&b.split("#").length===1){var O=a.exec(R);if(O)return this.pathname=O[1],O[2]&&(this.search=O[2]),this}var A=i.exec(R);if(A&&(C=(A=A[0]).toLowerCase(),this.protocol=A,R=R.substr(A.length)),(S||A||R.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(x=R.substr(0,2)==="//")||A&&y[A]||(R=R.substr(2),this.slashes=!0)),!y[A]&&(x||A&&!w[A])){var N,E,P=-1;for(_=0;_<m.length;_++)(T=R.indexOf(m[_]))!==-1&&(P===-1||T<P)&&(P=T);for((E=P===-1?R.lastIndexOf("@"):R.lastIndexOf("@",P))!==-1&&(N=R.slice(0,E),R=R.slice(E+1),this.auth=N),P=-1,_=0;_<f.length;_++)(T=R.indexOf(f[_]))!==-1&&(P===-1||T<P)&&(P=T);P===-1&&(P=R.length),R[P-1]===":"&&P--;var V=R.slice(0,P);R=R.slice(P),this.parseHost(V),this.hostname=this.hostname||"";var D=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!D){var F=this.hostname.split(/\./);for(_=0,k=F.length;_<k;_++){var B=F[_];if(B&&!B.match(g)){for(var $="",U=0,M=B.length;U<M;U++)B.charCodeAt(U)>127?$+="x":$+=B[U];if(!$.match(g)){var Z=F.slice(0,_),Q=F.slice(_+1),te=B.match(v);te&&(Z.push(te[1]),Q.unshift(te[2])),Q.length&&(R=Q.join(".")+R),this.hostname=Z.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),D&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var W=R.indexOf("#");W!==-1&&(this.hash=R.substr(W),R=R.slice(0,W));var j=R.indexOf("?");return j!==-1&&(this.search=R.substr(j),R=R.slice(0,j)),R&&(this.pathname=R),w[C]&&this.hostname&&!this.pathname&&(this.pathname=""),this},o.prototype.parseHost=function(b){var S=c.exec(b);S&&((S=S[0])!==":"&&(this.port=S.substr(1)),b=b.substr(0,b.length-S.length)),b&&(this.hostname=b)},e.exports=function(b,S){if(b&&b instanceof o)return b;var _=new o;return _.parse(b,S),_}},function(e,t,r){t.Any=r(64),t.Cc=r(65),t.Cf=r(146),t.P=r(40),t.Z=r(66)},function(e,t){e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},function(e,t,r){t.parseLinkLabel=r(148),t.parseLinkDestination=r(149),t.parseLinkTitle=r(150)},function(e,t,r){e.exports=function(o,i,c){var a,u,d,f,m=-1,g=o.posMax,v=o.pos;for(o.pos=i+1,a=1;o.pos<g;){if((d=o.src.charCodeAt(o.pos))===93&&--a===0){u=!0;break}if(f=o.pos,o.md.inline.skipToken(o),d===91){if(f===o.pos-1)a++;else if(c)return o.pos=v,-1}}return u&&(m=o.pos),o.pos=v,m}},function(e,t,r){var o=r(1).unescapeAll;e.exports=function(i,c,a){var u,d,f=c,m={ok:!1,pos:0,lines:0,str:""};if(i.charCodeAt(c)===60){for(c++;c<a;){if((u=i.charCodeAt(c))===10)return m;if(u===62)return m.pos=c+1,m.str=o(i.slice(f+1,c)),m.ok=!0,m;u===92&&c+1<a?c+=2:c++}return m}for(d=0;c<a&&(u=i.charCodeAt(c))!==32&&!(u<32||u===127);)if(u===92&&c+1<a)c+=2;else{if(u===40&&d++,u===41){if(d===0)break;d--}c++}return f===c||d!==0||(m.str=o(i.slice(f,c)),m.lines=0,m.pos=c,m.ok=!0),m}},function(e,t,r){var o=r(1).unescapeAll;e.exports=function(i,c,a){var u,d,f=0,m=c,g={ok:!1,pos:0,lines:0,str:""};if(c>=a||(d=i.charCodeAt(c))!==34&&d!==39&&d!==40)return g;for(c++,d===40&&(d=41);c<a;){if((u=i.charCodeAt(c))===d)return g.pos=c+1,g.lines=f,g.str=o(i.slice(m+1,c)),g.ok=!0,g;u===10?f++:u===92&&c+1<a&&(c++,i.charCodeAt(c)===10&&f++),c++}return g}},function(e,t,r){var o=r(1).assign,i=r(1).unescapeAll,c=r(1).escapeHtml,a={};function u(){this.rules=o({},a)}a.code_inline=function(d,f,m,g,v){var y=d[f];return"<code"+v.renderAttrs(y)+">"+c(d[f].content)+"</code>"},a.code_block=function(d,f,m,g,v){var y=d[f];return"<pre"+v.renderAttrs(y)+"><code>"+c(d[f].content)+`</code></pre>
`},a.fence=function(d,f,m,g,v){var y,w,b,S,_=d[f],k=_.info?i(_.info).trim():"",C="";return k&&(C=k.split(/\s+/g)[0]),(y=m.highlight&&m.highlight(_.content,C)||c(_.content)).indexOf("<pre")===0?y+`
`:k?(w=_.attrIndex("class"),b=_.attrs?_.attrs.slice():[],w<0?b.push(["class",m.langPrefix+C]):b[w][1]+=" "+m.langPrefix+C,S={attrs:b},"<pre><code"+v.renderAttrs(S)+">"+y+`</code></pre>
`):"<pre><code"+v.renderAttrs(_)+">"+y+`</code></pre>
`},a.image=function(d,f,m,g,v){var y=d[f];return y.attrs[y.attrIndex("alt")][1]=v.renderInlineAsText(y.children,m,g),v.renderToken(d,f,m)},a.hardbreak=function(d,f,m){return m.xhtmlOut?`<br />
`:`<br>
`},a.softbreak=function(d,f,m){return m.breaks?m.xhtmlOut?`<br />
`:`<br>
`:`
`},a.text=function(d,f){return c(d[f].content)},a.html_block=function(d,f){return d[f].content},a.html_inline=function(d,f){return d[f].content},u.prototype.renderAttrs=function(d){var f,m,g;if(!d.attrs)return"";for(g="",f=0,m=d.attrs.length;f<m;f++)g+=" "+c(d.attrs[f][0])+'="'+c(d.attrs[f][1])+'"';return g},u.prototype.renderToken=function(d,f,m){var g,v="",y=!1,w=d[f];return w.hidden?"":(w.block&&w.nesting!==-1&&f&&d[f-1].hidden&&(v+=`
`),v+=(w.nesting===-1?"</":"<")+w.tag,v+=this.renderAttrs(w),w.nesting===0&&m.xhtmlOut&&(v+=" /"),w.block&&(y=!0,w.nesting===1&&f+1<d.length&&((g=d[f+1]).type==="inline"||g.hidden||g.nesting===-1&&g.tag===w.tag)&&(y=!1)),v+=y?`>
`:">")},u.prototype.renderInline=function(d,f,m){for(var g,v="",y=this.rules,w=0,b=d.length;w<b;w++)y[g=d[w].type]!==void 0?v+=y[g](d,w,f,m,this):v+=this.renderToken(d,w,f);return v},u.prototype.renderInlineAsText=function(d,f,m){for(var g="",v=0,y=d.length;v<y;v++)d[v].type==="text"?g+=d[v].content:d[v].type==="image"&&(g+=this.renderInlineAsText(d[v].children,f,m));return g},u.prototype.render=function(d,f,m){var g,v,y,w="",b=this.rules;for(g=0,v=d.length;g<v;g++)(y=d[g].type)==="inline"?w+=this.renderInline(d[g].children,f,m):b[y]!==void 0?w+=b[d[g].type](d,g,f,m,this):w+=this.renderToken(d,g,f,m);return w},e.exports=u},function(e,t,r){var o=r(41),i=[["normalize",r(153)],["block",r(154)],["inline",r(155)],["linkify",r(156)],["replacements",r(157)],["smartquotes",r(158)]];function c(){this.ruler=new o;for(var a=0;a<i.length;a++)this.ruler.push(i[a][0],i[a][1])}c.prototype.process=function(a){var u,d,f;for(u=0,d=(f=this.ruler.getRules("")).length;u<d;u++)f[u](a)},c.prototype.State=r(159),e.exports=c},function(e,t,r){var o=/\r\n?|\n/g,i=/\0/g;e.exports=function(c){var a;a=(a=c.src.replace(o,`
`)).replace(i,"<22>"),c.src=a}},function(e,t,r){e.exports=function(o){var i;o.inlineMode?((i=new o.Token("inline","",0)).content=o.src,i.map=[0,1],i.children=[],o.tokens.push(i)):o.md.block.parse(o.src,o.md,o.env,o.tokens)}},function(e,t,r){e.exports=function(o){var i,c,a,u=o.tokens;for(c=0,a=u.length;c<a;c++)(i=u[c]).type==="inline"&&o.md.inline.parse(i.content,o.md,o.env,i.children)}},function(e,t,r){var o=r(1).arrayReplaceAt;function i(c){return/^<\/a\s*>/i.test(c)}e.exports=function(c){var a,u,d,f,m,g,v,y,w,b,S,_,k,C,T,x,R,O,A=c.tokens;if(c.md.options.linkify){for(u=0,d=A.length;u<d;u++)if(A[u].type==="inline"&&c.md.linkify.pretest(A[u].content))for(k=0,a=(f=A[u].children).length-1;a>=0;a--)if((g=f[a]).type!=="link_close"){if(g.type==="html_inline"&&(O=g.content,/^<a[>\s]/i.test(O)&&k>0&&k--,i(g.content)&&k++),!(k>0)&&g.type==="text"&&c.md.linkify.test(g.content)){for(w=g.content,R=c.md.linkify.match(w),v=[],_=g.level,S=0,y=0;y<R.length;y++)C=R[y].url,T=c.md.normalizeLink(C),c.md.validateLink(T)&&(x=R[y].text,x=R[y].schema?R[y].schema!=="mailto:"||/^mailto:/i.test(x)?c.md.normalizeLinkText(x):c.md.normalizeLinkText("mailto:"+x).replace(/^mailto:/,""):c.md.normalizeLinkText("http://"+x).replace(/^http:\/\//,""),(b=R[y].index)>S&&((m=new c.Token("text","",0)).content=w.slice(S,b),m.level=_,v.push(m)),(m=new c.Token("link_open","a",1)).attrs=[["href",T]],m.level=_++,m.markup="linkify",m.info="auto",v.push(m),(m=new c.Token("text","",0)).content=x,m.level=_,v.push(m),(m=new c.Token("link_close","a",-1)).level=--_,m.markup="linkify",m.info="auto",v.push(m),S=R[y].lastIndex);S<w.length&&((m=new c.Token("text","",0)).content=w.slice(S),m.level=_,v.push(m)),A[u].children=f=o(f,a,v)}}else for(a--;f[a].level!==g.level&&f[a].type!=="link_open";)a--}}},function(e,t,r){var o=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,i=/\((c|tm|r|p)\)/i,c=/\((c|tm|r|p)\)/gi,a={c:"©",r:"®",p:"§",tm:"™"};function u(m,g){return a[g.toLowerCase()]}function d(m){var g,v,y=0;for(g=m.length-1;g>=0;g--)(v=m[g]).type!=="text"||y||(v.content=v.content.replace(c,u)),v.type==="link_open"&&v.info==="auto"&&y--,v.type==="link_close"&&v.info==="auto"&&y++}function f(m){var g,v,y=0;for(g=m.length-1;g>=0;g--)(v=m[g]).type!=="text"||y||o.test(v.content)&&(v.content=v.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1$2")),v.type==="link_open"&&v.info==="auto"&&y--,v.type==="link_close"&&v.info==="auto"&&y++}e.exports=function(m){var g;if(m.md.options.typographer)for(g=m.tokens.length-1;g>=0;g--)m.tokens[g].type==="inline"&&(i.test(m.tokens[g].content)&&d(m.tokens[g].children),o.test(m.tokens[g].content)&&f(m.tokens[g].children))}},function(e,t,r){var o=r(1).isWhiteSpace,i=r(1).isPunctChar,c=r(1).isMdAsciiPunct,a=/['"]/,u=/['"]/g;function d(m,g,v){return m.substr(0,g)+v+m.substr(g+1)}function f(m,g){var v,y,w,b,S,_,k,C,T,x,R,O,A,N,E,P,V,D,F,B,$;for(F=[],v=0;v<m.length;v++){for(y=m[v],k=m[v].level,V=F.length-1;V>=0&&!(F[V].level<=k);V--);if(F.length=V+1,y.type==="text"){S=0,_=(w=y.content).length;e:for(;S<_&&(u.lastIndex=S,b=u.exec(w));){if(E=P=!0,S=b.index+1,D=b[0]==="'",T=32,b.index-1>=0)T=w.charCodeAt(b.index-1);else for(V=v-1;V>=0&&m[V].type!=="softbreak"&&m[V].type!=="hardbreak";V--)if(m[V].type==="text"){T=m[V].content.charCodeAt(m[V].content.length-1);break}if(x=32,S<_)x=w.charCodeAt(S);else for(V=v+1;V<m.length&&m[V].type!=="softbreak"&&m[V].type!=="hardbreak";V++)if(m[V].type==="text"){x=m[V].content.charCodeAt(0);break}if(R=c(T)||i(String.fromCharCode(T)),O=c(x)||i(String.fromCharCode(x)),A=o(T),(N=o(x))?E=!1:O&&(A||R||(E=!1)),A?P=!1:R&&(N||O||(P=!1)),x===34&&b[0]==='"'&&T>=48&&T<=57&&(P=E=!1),E&&P&&(E=!1,P=O),E||P){if(P){for(V=F.length-1;V>=0&&(C=F[V],!(F[V].level<k));V--)if(C.single===D&&F[V].level===k){C=F[V],D?(B=g.md.options.quotes[2],$=g.md.options.quotes[3]):(B=g.md.options.quotes[0],$=g.md.options.quotes[1]),y.content=d(y.content,b.index,$),m[C.token].content=d(m[C.token].content,C.pos,B),S+=$.length-1,C.token===v&&(S+=B.length-1),_=(w=y.content).length,F.length=V;continue e}}E?F.push({token:v,pos:b.index,single:D,level:k}):P&&D&&(y.content=d(y.content,b.index,""))}else D&&(y.content=d(y.content,b.index,""))}}}}e.exports=function(m){var g;if(m.md.options.typographer)for(g=m.tokens.length-1;g>=0;g--)m.tokens[g].type==="inline"&&a.test(m.tokens[g].content)&&f(m.tokens[g].children,m)}},function(e,t,r){var o=r(42);function i(c,a,u){this.src=c,this.env=u,this.tokens=[],this.inlineMode=!1,this.md=a}i.prototype.Token=o,e.exports=i},function(e,t,r){var o=r(41),i=[["table",r(161),["paragraph","reference"]],["code",r(162)],["fence",r(163),["paragraph","reference","blockquote","list"]],["blockquote",r(164),["paragraph","reference","blockquote","list"]],["hr",r(165),["paragraph","reference","blockquote","list"]],["list",r(166),["paragraph","reference","blockquote"]],["reference",r(167)],["heading",r(168),["paragraph","reference","blockquote"]],["lheading",r(169)],["html_block",r(170),["paragraph","reference","blockquote"]],["paragraph",r(172)]];function c(){this.ruler=new o;for(var a=0;a<i.length;a++)this.ruler.push(i[a][0],i[a][1],{alt:(i[a][2]||[]).slice()})}c.prototype.tokenize=function(a,u,d){for(var f,m=this.ruler.getRules(""),g=m.length,v=u,y=!1,w=a.md.options.maxNesting;v<d&&(a.line=v=a.skipEmptyLines(v),!(v>=d))&&!(a.sCount[v]<a.blkIndent);){if(a.level>=w){a.line=d;break}for(f=0;f<g&&!m[f](a,v,d,!1);f++);a.tight=!y,a.isEmpty(a.line-1)&&(y=!0),(v=a.line)<d&&a.isEmpty(v)&&(y=!0,v++,a.line=v)}},c.prototype.parse=function(a,u,d,f){var m;a&&(m=new this.State(a,u,d,f),this.tokenize(m,m.line,m.lineMax))},c.prototype.State=r(173),e.exports=c},function(e,t,r){var o=r(1).isSpace;function i(a,u){var d=a.bMarks[u]+a.blkIndent,f=a.eMarks[u];return a.src.substr(d,f-d)}function c(a){var u,d=[],f=0,m=a.length,g=0,v=0,y=!1,w=0;for(u=a.charCodeAt(f);f<m;)u===96?y?(y=!1,w=f):g%2==0&&(y=!0,w=f):u!==124||g%2!=0||y||(d.push(a.substring(v,f)),v=f+1),u===92?g++:g=0,++f===m&&y&&(y=!1,f=w+1),u=a.charCodeAt(f);return d.push(a.substring(v)),d}e.exports=function(a,u,d,f){var m,g,v,y,w,b,S,_,k,C,T,x;if(u+2>d||(w=u+1,a.sCount[w]<a.blkIndent)||a.sCount[w]-a.blkIndent>=4||(v=a.bMarks[w]+a.tShift[w])>=a.eMarks[w]||(m=a.src.charCodeAt(v++))!==124&&m!==45&&m!==58)return!1;for(;v<a.eMarks[w];){if((m=a.src.charCodeAt(v))!==124&&m!==45&&m!==58&&!o(m))return!1;v++}for(b=(g=i(a,u+1)).split("|"),k=[],y=0;y<b.length;y++){if(!(C=b[y].trim())){if(y===0||y===b.length-1)continue;return!1}if(!/^:?-+:?$/.test(C))return!1;C.charCodeAt(C.length-1)===58?k.push(C.charCodeAt(0)===58?"center":"right"):C.charCodeAt(0)===58?k.push("left"):k.push("")}if((g=i(a,u).trim()).indexOf("|")===-1||a.sCount[u]-a.blkIndent>=4||(S=(b=c(g.replace(/^\||\|$/g,""))).length)>k.length)return!1;if(f)return!0;for((_=a.push("table_open","table",1)).map=T=[u,0],(_=a.push("thead_open","thead",1)).map=[u,u+1],(_=a.push("tr_open","tr",1)).map=[u,u+1],y=0;y<b.length;y++)(_=a.push("th_open","th",1)).map=[u,u+1],k[y]&&(_.attrs=[["style","text-align:"+k[y]]]),(_=a.push("inline","",0)).content=b[y].trim(),_.map=[u,u+1],_.children=[],_=a.push("th_close","th",-1);for(_=a.push("tr_close","tr",-1),_=a.push("thead_close","thead",-1),(_=a.push("tbody_open","tbody",1)).map=x=[u+2,0],w=u+2;w<d&&!(a.sCount[w]<a.blkIndent)&&(g=i(a,w).trim()).indexOf("|")!==-1&&!(a.sCount[w]-a.blkIndent>=4);w++){for(b=c(g.replace(/^\||\|$/g,"")),_=a.push("tr_open","tr",1),y=0;y<S;y++)_=a.push("td_open","td",1),k[y]&&(_.attrs=[["style","text-align:"+k[y]]]),(_=a.push("inline","",0)).content=b[y]?b[y].trim():"",_.children=[],_=a.push("td_close","td",-1);_=a.push("tr_close","tr",-1)}return _=a.push("tbody_close","tbody",-1),_=a.push("table_close","table",-1),T[1]=x[1]=w,a.line=w,!0}},function(e,t,r){e.exports=function(o,i,c){var a,u,d;if(o.sCount[i]-o.blkIndent<4)return!1;for(u=a=i+1;a<c;)if(o.isEmpty(a))a++;else{if(!(o.sCount[a]-o.blkIndent>=4))break;u=++a}return o.line=u,(d=o.push("code_block","code",0)).content=o.getLines(i,u,4+o.blkIndent,!0),d.map=[i,o.line],!0}},function(e,t,r){e.exports=function(o,i,c,a){var u,d,f,m,g,v,y,w=!1,b=o.bMarks[i]+o.tShift[i],S=o.eMarks[i];if(o.sCount[i]-o.blkIndent>=4||b+3>S||(u=o.src.charCodeAt(b))!==126&&u!==96||(g=b,(d=(b=o.skipChars(b,u))-g)<3)||(y=o.src.slice(g,b),f=o.src.slice(b,S),u===96&&f.indexOf(String.fromCharCode(u))>=0))return!1;if(a)return!0;for(m=i;!(++m>=c)&&!((b=g=o.bMarks[m]+o.tShift[m])<(S=o.eMarks[m])&&o.sCount[m]<o.blkIndent);)if(o.src.charCodeAt(b)===u&&!(o.sCount[m]-o.blkIndent>=4||(b=o.skipChars(b,u))-g<d||(b=o.skipSpaces(b))<S)){w=!0;break}return d=o.sCount[i],o.line=m+(w?1:0),(v=o.push("fence","code",0)).info=f,v.content=o.getLines(i+1,m,d,!0),v.markup=y,v.map=[i,o.line],!0}},function(e,t,r){var o=r(1).isSpace;e.exports=function(i,c,a,u){var d,f,m,g,v,y,w,b,S,_,k,C,T,x,R,O,A,N,E,P,V=i.lineMax,D=i.bMarks[c]+i.tShift[c],F=i.eMarks[c];if(i.sCount[c]-i.blkIndent>=4||i.src.charCodeAt(D++)!==62)return!1;if(u)return!0;for(g=S=i.sCount[c]+D-(i.bMarks[c]+i.tShift[c]),i.src.charCodeAt(D)===32?(D++,g++,S++,d=!1,O=!0):i.src.charCodeAt(D)===9?(O=!0,(i.bsCount[c]+S)%4==3?(D++,g++,S++,d=!1):d=!0):O=!1,_=[i.bMarks[c]],i.bMarks[c]=D;D<F&&(f=i.src.charCodeAt(D),o(f));)f===9?S+=4-(S+i.bsCount[c]+(d?1:0))%4:S++,D++;for(k=[i.bsCount[c]],i.bsCount[c]=i.sCount[c]+1+(O?1:0),y=D>=F,x=[i.sCount[c]],i.sCount[c]=S-g,R=[i.tShift[c]],i.tShift[c]=D-i.bMarks[c],N=i.md.block.ruler.getRules("blockquote"),T=i.parentType,i.parentType="blockquote",P=!1,b=c+1;b<a&&(i.sCount[b]<i.blkIndent&&(P=!0),!((D=i.bMarks[b]+i.tShift[b])>=(F=i.eMarks[b])));b++)if(i.src.charCodeAt(D++)!==62||P){if(y)break;for(A=!1,m=0,v=N.length;m<v;m++)if(N[m](i,b,a,!0)){A=!0;break}if(A){i.lineMax=b,i.blkIndent!==0&&(_.push(i.bMarks[b]),k.push(i.bsCount[b]),R.push(i.tShift[b]),x.push(i.sCount[b]),i.sCount[b]-=i.blkIndent);break}_.push(i.bMarks[b]),k.push(i.bsCount[b]),R.push(i.tShift[b]),x.push(i.sCount[b]),i.sCount[b]=-1}else{for(g=S=i.sCount[b]+D-(i.bMarks[b]+i.tShift[b]),i.src.charCodeAt(D)===32?(D++,g++,S++,d=!1,O=!0):i.src.charCodeAt(D)===9?(O=!0,(i.bsCount[b]+S)%4==3?(D++,g++,S++,d=!1):d=!0):O=!1,_.push(i.bMarks[b]),i.bMarks[b]=D;D<F&&(f=i.src.charCodeAt(D),o(f));)f===9?S+=4-(S+i.bsCount[b]+(d?1:0))%4:S++,D++;y=D>=F,k.push(i.bsCount[b]),i.bsCount[b]=i.sCount[b]+1+(O?1:0),x.push(i.sCount[b]),i.sCount[b]=S-g,R.push(i.tShift[b]),i.tShift[b]=D-i.bMarks[b]}for(C=i.blkIndent,i.blkIndent=0,(E=i.push("blockquote_open","blockquote",1)).markup=">",E.map=w=[c,0],i.md.block.tokenize(i,c,b),(E=i.push("blockquote_close","blockquote",-1)).markup=">",i.lineMax=V,i.parentType=T,w[1]=i.line,m=0;m<R.length;m++)i.bMarks[m+c]=_[m],i.tShift[m+c]=R[m],i.sCount[m+c]=x[m],i.bsCount[m+c]=k[m];return i.blkIndent=C,!0}},function(e,t,r){var o=r(1).isSpace;e.exports=function(i,c,a,u){var d,f,m,g,v=i.bMarks[c]+i.tShift[c],y=i.eMarks[c];if(i.sCount[c]-i.blkIndent>=4||(d=i.src.charCodeAt(v++))!==42&&d!==45&&d!==95)return!1;for(f=1;v<y;){if((m=i.src.charCodeAt(v++))!==d&&!o(m))return!1;m===d&&f++}return!(f<3)&&(u||(i.line=c+1,(g=i.push("hr","hr",0)).map=[c,i.line],g.markup=Array(f+1).join(String.fromCharCode(d))),!0)}},function(e,t,r){var o=r(1).isSpace;function i(a,u){var d,f,m,g;return f=a.bMarks[u]+a.tShift[u],m=a.eMarks[u],(d=a.src.charCodeAt(f++))!==42&&d!==45&&d!==43||f<m&&(g=a.src.charCodeAt(f),!o(g))?-1:f}function c(a,u){var d,f=a.bMarks[u]+a.tShift[u],m=f,g=a.eMarks[u];if(m+1>=g||(d=a.src.charCodeAt(m++))<48||d>57)return-1;for(;;){if(m>=g)return-1;if(!((d=a.src.charCodeAt(m++))>=48&&d<=57)){if(d===41||d===46)break;return-1}if(m-f>=10)return-1}return m<g&&(d=a.src.charCodeAt(m),!o(d))?-1:m}e.exports=function(a,u,d,f){var m,g,v,y,w,b,S,_,k,C,T,x,R,O,A,N,E,P,V,D,F,B,$,U,M,Z,Q,te,W=!1,j=!0;if(a.sCount[u]-a.blkIndent>=4||a.listIndent>=0&&a.sCount[u]-a.listIndent>=4&&a.sCount[u]<a.blkIndent)return!1;if(f&&a.parentType==="paragraph"&&a.tShift[u]>=a.blkIndent&&(W=!0),($=c(a,u))>=0){if(S=!0,M=a.bMarks[u]+a.tShift[u],R=Number(a.src.substr(M,$-M-1)),W&&R!==1)return!1}else{if(!(($=i(a,u))>=0))return!1;S=!1}if(W&&a.skipSpaces($)>=a.eMarks[u])return!1;if(x=a.src.charCodeAt($-1),f)return!0;for(T=a.tokens.length,S?(te=a.push("ordered_list_open","ol",1),R!==1&&(te.attrs=[["start",R]])):te=a.push("bullet_list_open","ul",1),te.map=C=[u,0],te.markup=String.fromCharCode(x),A=u,U=!1,Q=a.md.block.ruler.getRules("list"),P=a.parentType,a.parentType="list";A<d;){for(B=$,O=a.eMarks[A],b=N=a.sCount[A]+$-(a.bMarks[u]+a.tShift[u]);B<O;){if((m=a.src.charCodeAt(B))===9)N+=4-(N+a.bsCount[A])%4;else{if(m!==32)break;N++}B++}if((w=(g=B)>=O?1:N-b)>4&&(w=1),y=b+w,(te=a.push("list_item_open","li",1)).markup=String.fromCharCode(x),te.map=_=[u,0],F=a.tight,D=a.tShift[u],V=a.sCount[u],E=a.listIndent,a.listIndent=a.blkIndent,a.blkIndent=y,a.tight=!0,a.tShift[u]=g-a.bMarks[u],a.sCount[u]=N,g>=O&&a.isEmpty(u+1)?a.line=Math.min(a.line+2,d):a.md.block.tokenize(a,u,d,!0),a.tight&&!U||(j=!1),U=a.line-u>1&&a.isEmpty(a.line-1),a.blkIndent=a.listIndent,a.listIndent=E,a.tShift[u]=D,a.sCount[u]=V,a.tight=F,(te=a.push("list_item_close","li",-1)).markup=String.fromCharCode(x),A=u=a.line,_[1]=A,g=a.bMarks[u],A>=d||a.sCount[A]<a.blkIndent||a.sCount[u]-a.blkIndent>=4)break;for(Z=!1,v=0,k=Q.length;v<k;v++)if(Q[v](a,A,d,!0)){Z=!0;break}if(Z)break;if(S){if(($=c(a,A))<0)break}else if(($=i(a,A))<0)break;if(x!==a.src.charCodeAt($-1))break}return(te=S?a.push("ordered_list_close","ol",-1):a.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(x),C[1]=A,a.line=A,a.parentType=P,j&&function(le,me){var ce,q,K=le.level+2;for(ce=me+2,q=le.tokens.length-2;ce<q;ce++)le.tokens[ce].level===K&&le.tokens[ce].type==="paragraph_open"&&(le.tokens[ce+2].hidden=!0,le.tokens[ce].hidden=!0,ce+=2)}(a,T),!0}},function(e,t,r){var o=r(1).normalizeReference,i=r(1).isSpace;e.exports=function(c,a,u,d){var f,m,g,v,y,w,b,S,_,k,C,T,x,R,O,A,N=0,E=c.bMarks[a]+c.tShift[a],P=c.eMarks[a],V=a+1;if(c.sCount[a]-c.blkIndent>=4||c.src.charCodeAt(E)!==91)return!1;for(;++E<P;)if(c.src.charCodeAt(E)===93&&c.src.charCodeAt(E-1)!==92){if(E+1===P||c.src.charCodeAt(E+1)!==58)return!1;break}for(v=c.lineMax,O=c.md.block.ruler.getRules("reference"),k=c.parentType,c.parentType="reference";V<v&&!c.isEmpty(V);V++)if(!(c.sCount[V]-c.blkIndent>3||c.sCount[V]<0)){for(R=!1,w=0,b=O.length;w<b;w++)if(O[w](c,V,v,!0)){R=!0;break}if(R)break}for(P=(x=c.getLines(a,V,c.blkIndent,!1).trim()).length,E=1;E<P;E++){if((f=x.charCodeAt(E))===91)return!1;if(f===93){_=E;break}(f===10||f===92&&++E<P&&x.charCodeAt(E)===10)&&N++}if(_<0||x.charCodeAt(_+1)!==58)return!1;for(E=_+2;E<P;E++)if((f=x.charCodeAt(E))===10)N++;else if(!i(f))break;if(!(C=c.md.helpers.parseLinkDestination(x,E,P)).ok||(y=c.md.normalizeLink(C.str),!c.md.validateLink(y)))return!1;for(m=E=C.pos,g=N+=C.lines,T=E;E<P;E++)if((f=x.charCodeAt(E))===10)N++;else if(!i(f))break;for(C=c.md.helpers.parseLinkTitle(x,E,P),E<P&&T!==E&&C.ok?(A=C.str,E=C.pos,N+=C.lines):(A="",E=m,N=g);E<P&&(f=x.charCodeAt(E),i(f));)E++;if(E<P&&x.charCodeAt(E)!==10&&A)for(A="",E=m,N=g;E<P&&(f=x.charCodeAt(E),i(f));)E++;return!(E<P&&x.charCodeAt(E)!==10)&&!!(S=o(x.slice(1,_)))&&(d||(c.env.references===void 0&&(c.env.references={}),c.env.references[S]===void 0&&(c.env.references[S]={title:A,href:y}),c.parentType=k,c.line=a+N+1),!0)}},function(e,t,r){var o=r(1).isSpace;e.exports=function(i,c,a,u){var d,f,m,g,v=i.bMarks[c]+i.tShift[c],y=i.eMarks[c];if(i.sCount[c]-i.blkIndent>=4||(d=i.src.charCodeAt(v))!==35||v>=y)return!1;for(f=1,d=i.src.charCodeAt(++v);d===35&&v<y&&f<=6;)f++,d=i.src.charCodeAt(++v);return!(f>6||v<y&&!o(d))&&(u||(y=i.skipSpacesBack(y,v),(m=i.skipCharsBack(y,35,v))>v&&o(i.src.charCodeAt(m-1))&&(y=m),i.line=c+1,(g=i.push("heading_open","h"+String(f),1)).markup="########".slice(0,f),g.map=[c,i.line],(g=i.push("inline","",0)).content=i.src.slice(v,y).trim(),g.map=[c,i.line],g.children=[],(g=i.push("heading_close","h"+String(f),-1)).markup="########".slice(0,f)),!0)}},function(e,t,r){e.exports=function(o,i,c){var a,u,d,f,m,g,v,y,w,b,S=i+1,_=o.md.block.ruler.getRules("paragraph");if(o.sCount[i]-o.blkIndent>=4)return!1;for(b=o.parentType,o.parentType="paragraph";S<c&&!o.isEmpty(S);S++)if(!(o.sCount[S]-o.blkIndent>3)){if(o.sCount[S]>=o.blkIndent&&(g=o.bMarks[S]+o.tShift[S])<(v=o.eMarks[S])&&((w=o.src.charCodeAt(g))===45||w===61)&&(g=o.skipChars(g,w),(g=o.skipSpaces(g))>=v)){y=w===61?1:2;break}if(!(o.sCount[S]<0)){for(u=!1,d=0,f=_.length;d<f;d++)if(_[d](o,S,c,!0)){u=!0;break}if(u)break}}return!!y&&(a=o.getLines(i,S,o.blkIndent,!1).trim(),o.line=S+1,(m=o.push("heading_open","h"+String(y),1)).markup=String.fromCharCode(w),m.map=[i,o.line],(m=o.push("inline","",0)).content=a,m.map=[i,o.line-1],m.children=[],(m=o.push("heading_close","h"+String(y),-1)).markup=String.fromCharCode(w),o.parentType=b,!0)}},function(e,t,r){var o=r(171),i=r(67).HTML_OPEN_CLOSE_TAG_RE,c=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+o.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];e.exports=function(a,u,d,f){var m,g,v,y,w=a.bMarks[u]+a.tShift[u],b=a.eMarks[u];if(a.sCount[u]-a.blkIndent>=4||!a.md.options.html||a.src.charCodeAt(w)!==60)return!1;for(y=a.src.slice(w,b),m=0;m<c.length&&!c[m][0].test(y);m++);if(m===c.length)return!1;if(f)return c[m][2];if(g=u+1,!c[m][1].test(y)){for(;g<d&&!(a.sCount[g]<a.blkIndent);g++)if(w=a.bMarks[g]+a.tShift[g],b=a.eMarks[g],y=a.src.slice(w,b),c[m][1].test(y)){y.length!==0&&g++;break}}return a.line=g,(v=a.push("html_block","",0)).map=[u,g],v.content=a.getLines(u,g,a.blkIndent,!0),!0}},function(e,t,r){e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","meta","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},function(e,t,r){e.exports=function(o,i){var c,a,u,d,f,m,g=i+1,v=o.md.block.ruler.getRules("paragraph"),y=o.lineMax;for(m=o.parentType,o.parentType="paragraph";g<y&&!o.isEmpty(g);g++)if(!(o.sCount[g]-o.blkIndent>3||o.sCount[g]<0)){for(a=!1,u=0,d=v.length;u<d;u++)if(v[u](o,g,y,!0)){a=!0;break}if(a)break}return c=o.getLines(i,g,o.blkIndent,!1).trim(),o.line=g,(f=o.push("paragraph_open","p",1)).map=[i,o.line],(f=o.push("inline","",0)).content=c,f.map=[i,o.line],f.children=[],f=o.push("paragraph_close","p",-1),o.parentType=m,!0}},function(e,t,r){var o=r(42),i=r(1).isSpace;function c(a,u,d,f){var m,g,v,y,w,b,S,_;for(this.src=a,this.md=u,this.env=d,this.tokens=f,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",_=!1,v=y=b=S=0,w=(g=this.src).length;y<w;y++){if(m=g.charCodeAt(y),!_){if(i(m)){b++,m===9?S+=4-S%4:S++;continue}_=!0}m!==10&&y!==w-1||(m!==10&&y++,this.bMarks.push(v),this.eMarks.push(y),this.tShift.push(b),this.sCount.push(S),this.bsCount.push(0),_=!1,b=0,S=0,v=y+1)}this.bMarks.push(g.length),this.eMarks.push(g.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}c.prototype.push=function(a,u,d){var f=new o(a,u,d);return f.block=!0,d<0&&this.level--,f.level=this.level,d>0&&this.level++,this.tokens.push(f),f},c.prototype.isEmpty=function(a){return this.bMarks[a]+this.tShift[a]>=this.eMarks[a]},c.prototype.skipEmptyLines=function(a){for(var u=this.lineMax;a<u&&!(this.bMarks[a]+this.tShift[a]<this.eMarks[a]);a++);return a},c.prototype.skipSpaces=function(a){for(var u,d=this.src.length;a<d&&(u=this.src.charCodeAt(a),i(u));a++);return a},c.prototype.skipSpacesBack=function(a,u){if(a<=u)return a;for(;a>u;)if(!i(this.src.charCodeAt(--a)))return a+1;return a},c.prototype.skipChars=function(a,u){for(var d=this.src.length;a<d&&this.src.charCodeAt(a)===u;a++);return a},c.prototype.skipCharsBack=function(a,u,d){if(a<=d)return a;for(;a>d;)if(u!==this.src.charCodeAt(--a))return a+1;return a},c.prototype.getLines=function(a,u,d,f){var m,g,v,y,w,b,S,_=a;if(a>=u)return"";for(b=new Array(u-a),m=0;_<u;_++,m++){for(g=0,S=y=this.bMarks[_],w=_+1<u||f?this.eMarks[_]+1:this.eMarks[_];y<w&&g<d;){if(v=this.src.charCodeAt(y),i(v))v===9?g+=4-(g+this.bsCount[_])%4:g++;else{if(!(y-S<this.tShift[_]))break;g++}y++}b[m]=g>d?new Array(g-d+1).join(" ")+this.src.slice(y,w):this.src.slice(y,w)}return b.join("")},c.prototype.Token=o,e.exports=c},function(e,t,r){var o=r(41),i=[["text",r(175)],["newline",r(176)],["escape",r(177)],["backticks",r(178)],["strikethrough",r(68).tokenize],["emphasis",r(69).tokenize],["link",r(179)],["image",r(180)],["autolink",r(181)],["html_inline",r(182)],["entity",r(183)]],c=[["balance_pairs",r(184)],["strikethrough",r(68).postProcess],["emphasis",r(69).postProcess],["text_collapse",r(185)]];function a(){var u;for(this.ruler=new o,u=0;u<i.length;u++)this.ruler.push(i[u][0],i[u][1]);for(this.ruler2=new o,u=0;u<c.length;u++)this.ruler2.push(c[u][0],c[u][1])}a.prototype.skipToken=function(u){var d,f,m=u.pos,g=this.ruler.getRules(""),v=g.length,y=u.md.options.maxNesting,w=u.cache;if(w[m]===void 0){if(u.level<y)for(f=0;f<v&&(u.level++,d=g[f](u,!0),u.level--,!d);f++);else u.pos=u.posMax;d||u.pos++,w[m]=u.pos}else u.pos=w[m]},a.prototype.tokenize=function(u){for(var d,f,m=this.ruler.getRules(""),g=m.length,v=u.posMax,y=u.md.options.maxNesting;u.pos<v;){if(u.level<y)for(f=0;f<g&&!(d=m[f](u,!1));f++);if(d){if(u.pos>=v)break}else u.pending+=u.src[u.pos++]}u.pending&&u.pushPending()},a.prototype.parse=function(u,d,f,m){var g,v,y,w=new this.State(u,d,f,m);for(this.tokenize(w),y=(v=this.ruler2.getRules("")).length,g=0;g<y;g++)v[g](w)},a.prototype.State=r(186),e.exports=a},function(e,t,r){function o(i){switch(i){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}e.exports=function(i,c){for(var a=i.pos;a<i.posMax&&!o(i.src.charCodeAt(a));)a++;return a!==i.pos&&(c||(i.pending+=i.src.slice(i.pos,a)),i.pos=a,!0)}},function(e,t,r){var o=r(1).isSpace;e.exports=function(i,c){var a,u,d=i.pos;if(i.src.charCodeAt(d)!==10)return!1;for(a=i.pending.length-1,u=i.posMax,c||(a>=0&&i.pending.charCodeAt(a)===32?a>=1&&i.pending.charCodeAt(a-1)===32?(i.pending=i.pending.replace(/ +$/,""),i.push("hardbreak","br",0)):(i.pending=i.pending.slice(0,-1),i.push("softbreak","br",0)):i.push("softbreak","br",0)),d++;d<u&&o(i.src.charCodeAt(d));)d++;return i.pos=d,!0}},function(e,t,r){for(var o=r(1).isSpace,i=[],c=0;c<256;c++)i.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(a){i[a.charCodeAt(0)]=1}),e.exports=function(a,u){var d,f=a.pos,m=a.posMax;if(a.src.charCodeAt(f)!==92)return!1;if(++f<m){if((d=a.src.charCodeAt(f))<256&&i[d]!==0)return u||(a.pending+=a.src[f]),a.pos+=2,!0;if(d===10){for(u||a.push("hardbreak","br",0),f++;f<m&&(d=a.src.charCodeAt(f),o(d));)f++;return a.pos=f,!0}}return u||(a.pending+="\\"),a.pos++,!0}},function(e,t,r){e.exports=function(o,i){var c,a,u,d,f,m,g=o.pos;if(o.src.charCodeAt(g)!==96)return!1;for(c=g,g++,a=o.posMax;g<a&&o.src.charCodeAt(g)===96;)g++;for(u=o.src.slice(c,g),d=f=g;(d=o.src.indexOf("`",f))!==-1;){for(f=d+1;f<a&&o.src.charCodeAt(f)===96;)f++;if(f-d===u.length)return i||((m=o.push("code_inline","code",0)).markup=u,m.content=o.src.slice(g,d).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),o.pos=f,!0}return i||(o.pending+=u),o.pos+=u.length,!0}},function(e,t,r){var o=r(1).normalizeReference,i=r(1).isSpace;e.exports=function(c,a){var u,d,f,m,g,v,y,w,b,S="",_=c.pos,k=c.posMax,C=c.pos,T=!0;if(c.src.charCodeAt(c.pos)!==91||(g=c.pos+1,(m=c.md.helpers.parseLinkLabel(c,c.pos,!0))<0))return!1;if((v=m+1)<k&&c.src.charCodeAt(v)===40){for(T=!1,v++;v<k&&(d=c.src.charCodeAt(v),i(d)||d===10);v++);if(v>=k)return!1;for(C=v,(y=c.md.helpers.parseLinkDestination(c.src,v,c.posMax)).ok&&(S=c.md.normalizeLink(y.str),c.md.validateLink(S)?v=y.pos:S=""),C=v;v<k&&(d=c.src.charCodeAt(v),i(d)||d===10);v++);if(y=c.md.helpers.parseLinkTitle(c.src,v,c.posMax),v<k&&C!==v&&y.ok)for(b=y.str,v=y.pos;v<k&&(d=c.src.charCodeAt(v),i(d)||d===10);v++);else b="";(v>=k||c.src.charCodeAt(v)!==41)&&(T=!0),v++}if(T){if(c.env.references===void 0)return!1;if(v<k&&c.src.charCodeAt(v)===91?(C=v+1,(v=c.md.helpers.parseLinkLabel(c,v))>=0?f=c.src.slice(C,v++):v=m+1):v=m+1,f||(f=c.src.slice(g,m)),!(w=c.env.references[o(f)]))return c.pos=_,!1;S=w.href,b=w.title}return a||(c.pos=g,c.posMax=m,c.push("link_open","a",1).attrs=u=[["href",S]],b&&u.push(["title",b]),c.md.inline.tokenize(c),c.push("link_close","a",-1)),c.pos=v,c.posMax=k,!0}},function(e,t,r){var o=r(1).normalizeReference,i=r(1).isSpace;e.exports=function(c,a){var u,d,f,m,g,v,y,w,b,S,_,k,C,T="",x=c.pos,R=c.posMax;if(c.src.charCodeAt(c.pos)!==33||c.src.charCodeAt(c.pos+1)!==91||(v=c.pos+2,(g=c.md.helpers.parseLinkLabel(c,c.pos+1,!1))<0))return!1;if((y=g+1)<R&&c.src.charCodeAt(y)===40){for(y++;y<R&&(d=c.src.charCodeAt(y),i(d)||d===10);y++);if(y>=R)return!1;for(C=y,(b=c.md.helpers.parseLinkDestination(c.src,y,c.posMax)).ok&&(T=c.md.normalizeLink(b.str),c.md.validateLink(T)?y=b.pos:T=""),C=y;y<R&&(d=c.src.charCodeAt(y),i(d)||d===10);y++);if(b=c.md.helpers.parseLinkTitle(c.src,y,c.posMax),y<R&&C!==y&&b.ok)for(S=b.str,y=b.pos;y<R&&(d=c.src.charCodeAt(y),i(d)||d===10);y++);else S="";if(y>=R||c.src.charCodeAt(y)!==41)return c.pos=x,!1;y++}else{if(c.env.references===void 0)return!1;if(y<R&&c.src.charCodeAt(y)===91?(C=y+1,(y=c.md.helpers.parseLinkLabel(c,y))>=0?m=c.src.slice(C,y++):y=g+1):y=g+1,m||(m=c.src.slice(v,g)),!(w=c.env.references[o(m)]))return c.pos=x,!1;T=w.href,S=w.title}return a||(f=c.src.slice(v,g),c.md.inline.parse(f,c.md,c.env,k=[]),(_=c.push("image","img",0)).attrs=u=[["src",T],["alt",""]],_.children=k,_.content=f,S&&u.push(["title",S])),c.pos=y,c.posMax=R,!0}},function(e,t,r){var o=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,i=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;e.exports=function(c,a){var u,d,f,m,g,v,y=c.pos;return c.src.charCodeAt(y)===60&&!((u=c.src.slice(y)).indexOf(">")<0)&&(i.test(u)?(m=(d=u.match(i))[0].slice(1,-1),g=c.md.normalizeLink(m),!!c.md.validateLink(g)&&(a||((v=c.push("link_open","a",1)).attrs=[["href",g]],v.markup="autolink",v.info="auto",(v=c.push("text","",0)).content=c.md.normalizeLinkText(m),(v=c.push("link_close","a",-1)).markup="autolink",v.info="auto"),c.pos+=d[0].length,!0)):!!o.test(u)&&(m=(f=u.match(o))[0].slice(1,-1),g=c.md.normalizeLink("mailto:"+m),!!c.md.validateLink(g)&&(a||((v=c.push("link_open","a",1)).attrs=[["href",g]],v.markup="autolink",v.info="auto",(v=c.push("text","",0)).content=c.md.normalizeLinkText(m),(v=c.push("link_close","a",-1)).markup="autolink",v.info="auto"),c.pos+=f[0].length,!0)))}},function(e,t,r){var o=r(67).HTML_TAG_RE;e.exports=function(i,c){var a,u,d,f=i.pos;return!!i.md.options.html&&(d=i.posMax,!(i.src.charCodeAt(f)!==60||f+2>=d)&&!((a=i.src.charCodeAt(f+1))!==33&&a!==63&&a!==47&&!function(m){var g=32|m;return g>=97&&g<=122}(a))&&!!(u=i.src.slice(f).match(o))&&(c||(i.push("html_inline","",0).content=i.src.slice(f,f+u[0].length)),i.pos+=u[0].length,!0))}},function(e,t,r){var o=r(62),i=r(1).has,c=r(1).isValidEntityCode,a=r(1).fromCodePoint,u=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,d=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(f,m){var g,v,y=f.pos,w=f.posMax;if(f.src.charCodeAt(y)!==38)return!1;if(y+1<w){if(f.src.charCodeAt(y+1)===35){if(v=f.src.slice(y).match(u))return m||(g=v[1][0].toLowerCase()==="x"?parseInt(v[1].slice(1),16):parseInt(v[1],10),f.pending+=c(g)?a(g):a(65533)),f.pos+=v[0].length,!0}else if((v=f.src.slice(y).match(d))&&i(o,v[1]))return m||(f.pending+=o[v[1]]),f.pos+=v[0].length,!0}return m||(f.pending+="&"),f.pos++,!0}},function(e,t,r){function o(i,c){var a,u,d,f,m,g,v,y,w={},b=c.length;for(a=0;a<b;a++)if((d=c[a]).length=d.length||0,d.close){for(w.hasOwnProperty(d.marker)||(w[d.marker]=[-1,-1,-1]),m=w[d.marker][d.length%3],g=-1,u=a-d.jump-1;u>m;u-=f.jump+1)if((f=c[u]).marker===d.marker&&(g===-1&&(g=u),f.open&&f.end<0&&f.level===d.level&&(v=!1,(f.close||d.open)&&(f.length+d.length)%3==0&&(f.length%3==0&&d.length%3==0||(v=!0)),!v))){y=u>0&&!c[u-1].open?c[u-1].jump+1:0,d.jump=a-u+y,d.open=!1,f.end=a,f.jump=y,f.close=!1,g=-1;break}g!==-1&&(w[d.marker][(d.length||0)%3]=g)}}e.exports=function(i){var c,a=i.tokens_meta,u=i.tokens_meta.length;for(o(0,i.delimiters),c=0;c<u;c++)a[c]&&a[c].delimiters&&o(0,a[c].delimiters)}},function(e,t,r){e.exports=function(o){var i,c,a=0,u=o.tokens,d=o.tokens.length;for(i=c=0;i<d;i++)u[i].nesting<0&&a--,u[i].level=a,u[i].nesting>0&&a++,u[i].type==="text"&&i+1<d&&u[i+1].type==="text"?u[i+1].content=u[i].content+u[i+1].content:(i!==c&&(u[c]=u[i]),c++);i!==c&&(u.length=c)}},function(e,t,r){var o=r(42),i=r(1).isWhiteSpace,c=r(1).isPunctChar,a=r(1).isMdAsciiPunct;function u(d,f,m,g){this.src=d,this.env=m,this.md=f,this.tokens=g,this.tokens_meta=Array(g.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[]}u.prototype.pushPending=function(){var d=new o("text","",0);return d.content=this.pending,d.level=this.pendingLevel,this.tokens.push(d),this.pending="",d},u.prototype.push=function(d,f,m){this.pending&&this.pushPending();var g=new o(d,f,m),v=null;return m<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),g.level=this.level,m>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],v={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(g),this.tokens_meta.push(v),g},u.prototype.scanDelims=function(d,f){var m,g,v,y,w,b,S,_,k,C=d,T=!0,x=!0,R=this.posMax,O=this.src.charCodeAt(d);for(m=d>0?this.src.charCodeAt(d-1):32;C<R&&this.src.charCodeAt(C)===O;)C++;return v=C-d,g=C<R?this.src.charCodeAt(C):32,S=a(m)||c(String.fromCharCode(m)),k=a(g)||c(String.fromCharCode(g)),b=i(m),(_=i(g))?T=!1:k&&(b||S||(T=!1)),b?x=!1:S&&(_||k||(x=!1)),f?(y=T,w=x):(y=T&&(!x||S),w=x&&(!T||k)),{can_open:y,can_close:w,length:v}},u.prototype.Token=o,e.exports=u},function(e,t,r){function o(w){var b=Array.prototype.slice.call(arguments,1);return b.forEach(function(S){S&&Object.keys(S).forEach(function(_){w[_]=S[_]})}),w}function i(w){return Object.prototype.toString.call(w)}function c(w){return i(w)==="[object Function]"}function a(w){return w.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var u={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},d={"http:":{validate:function(w,b,S){var _=w.slice(b);return S.re.http||(S.re.http=new RegExp("^\\/\\/"+S.re.src_auth+S.re.src_host_port_strict+S.re.src_path,"i")),S.re.http.test(_)?_.match(S.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(w,b,S){var _=w.slice(b);return S.re.no_http||(S.re.no_http=new RegExp("^"+S.re.src_auth+"(?:localhost|(?:(?:"+S.re.src_domain+")\\.)+"+S.re.src_domain_root+")"+S.re.src_port+S.re.src_host_terminator+S.re.src_path,"i")),S.re.no_http.test(_)?b>=3&&w[b-3]===":"||b>=3&&w[b-3]==="/"?0:_.match(S.re.no_http)[0].length:0}},"mailto:":{validate:function(w,b,S){var _=w.slice(b);return S.re.mailto||(S.re.mailto=new RegExp("^"+S.re.src_email_name+"@"+S.re.src_host_strict,"i")),S.re.mailto.test(_)?_.match(S.re.mailto)[0].length:0}}},f="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function m(w){var b=w.re=r(188)(w.__opts__),S=w.__tlds__.slice();function _(x){return x.replace("%TLDS%",b.src_tlds)}w.onCompile(),w.__tlds_replaced__||S.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),S.push(b.src_xn),b.src_tlds=S.join("|"),b.email_fuzzy=RegExp(_(b.tpl_email_fuzzy),"i"),b.link_fuzzy=RegExp(_(b.tpl_link_fuzzy),"i"),b.link_no_ip_fuzzy=RegExp(_(b.tpl_link_no_ip_fuzzy),"i"),b.host_fuzzy_test=RegExp(_(b.tpl_host_fuzzy_test),"i");var k=[];function C(x,R){throw new Error('(LinkifyIt) Invalid schema "'+x+'": '+R)}w.__compiled__={},Object.keys(w.__schemas__).forEach(function(x){var R=w.__schemas__[x];if(R!==null){var O={validate:null,link:null};if(w.__compiled__[x]=O,i(R)==="[object Object]")return function(A){return i(A)==="[object RegExp]"}(R.validate)?O.validate=function(A){return function(N,E){var P=N.slice(E);return A.test(P)?P.match(A)[0].length:0}}(R.validate):c(R.validate)?O.validate=R.validate:C(x,R),void(c(R.normalize)?O.normalize=R.normalize:R.normalize?C(x,R):O.normalize=function(A,N){N.normalize(A)});(function(A){return i(A)==="[object String]"})(R)?k.push(x):C(x,R)}}),k.forEach(function(x){w.__compiled__[w.__schemas__[x]]&&(w.__compiled__[x].validate=w.__compiled__[w.__schemas__[x]].validate,w.__compiled__[x].normalize=w.__compiled__[w.__schemas__[x]].normalize)}),w.__compiled__[""]={validate:null,normalize:function(x,R){R.normalize(x)}};var T=Object.keys(w.__compiled__).filter(function(x){return x.length>0&&w.__compiled__[x]}).map(a).join("|");w.re.schema_test=RegExp("(^|(?!_)(?:[><]|"+b.src_ZPCc+"))("+T+")","i"),w.re.schema_search=RegExp("(^|(?!_)(?:[><]|"+b.src_ZPCc+"))("+T+")","ig"),w.re.pretest=RegExp("("+w.re.schema_test.source+")|("+w.re.host_fuzzy_test.source+")|@","i"),function(x){x.__index__=-1,x.__text_cache__=""}(w)}function g(w,b){var S=w.__index__,_=w.__last_index__,k=w.__text_cache__.slice(S,_);this.schema=w.__schema__.toLowerCase(),this.index=S+b,this.lastIndex=_+b,this.raw=k,this.text=k,this.url=k}function v(w,b){var S=new g(w,b);return w.__compiled__[S.schema].normalize(S,w),S}function y(w,b){if(!(this instanceof y))return new y(w,b);var S;b||(S=w,Object.keys(S||{}).reduce(function(_,k){return _||u.hasOwnProperty(k)},!1)&&(b=w,w={})),this.__opts__=o({},u,b),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=o({},d,w),this.__compiled__={},this.__tlds__=f,this.__tlds_replaced__=!1,this.re={},m(this)}y.prototype.add=function(w,b){return this.__schemas__[w]=b,m(this),this},y.prototype.set=function(w){return this.__opts__=o(this.__opts__,w),this},y.prototype.test=function(w){if(this.__text_cache__=w,this.__index__=-1,!w.length)return!1;var b,S,_,k,C,T,x,R;if(this.re.schema_test.test(w)){for((x=this.re.schema_search).lastIndex=0;(b=x.exec(w))!==null;)if(k=this.testSchemaAt(w,b[2],x.lastIndex)){this.__schema__=b[2],this.__index__=b.index+b[1].length,this.__last_index__=b.index+b[0].length+k;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(R=w.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||R<this.__index__)&&(S=w.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(C=S.index+S[1].length,(this.__index__<0||C<this.__index__)&&(this.__schema__="",this.__index__=C,this.__last_index__=S.index+S[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&w.indexOf("@")>=0&&(_=w.match(this.re.email_fuzzy))!==null&&(C=_.index+_[1].length,T=_.index+_[0].length,(this.__index__<0||C<this.__index__||C===this.__index__&&T>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=C,this.__last_index__=T)),this.__index__>=0},y.prototype.pretest=function(w){return this.re.pretest.test(w)},y.prototype.testSchemaAt=function(w,b,S){return this.__compiled__[b.toLowerCase()]?this.__compiled__[b.toLowerCase()].validate(w,S,this):0},y.prototype.match=function(w){var b=0,S=[];this.__index__>=0&&this.__text_cache__===w&&(S.push(v(this,b)),b=this.__last_index__);for(var _=b?w.slice(b):w;this.test(_);)S.push(v(this,b)),_=_.slice(this.__last_index__),b+=this.__last_index__;return S.length?S:null},y.prototype.tlds=function(w,b){return w=Array.isArray(w)?w:[w],b?(this.__tlds__=this.__tlds__.concat(w).sort().filter(function(S,_,k){return S!==k[_-1]}).reverse(),m(this),this):(this.__tlds__=w.slice(),this.__tlds_replaced__=!0,m(this),this)},y.prototype.normalize=function(w){w.schema||(w.url="http://"+w.url),w.schema!=="mailto:"||/^mailto:/i.test(w.url)||(w.url="mailto:"+w.url)},y.prototype.onCompile=function(){},e.exports=y},function(e,t,r){e.exports=function(o){var i={};return i.src_Any=r(64).source,i.src_Cc=r(65).source,i.src_Z=r(66).source,i.src_P=r(40).source,i.src_ZPCc=[i.src_Z,i.src_P,i.src_Cc].join("|"),i.src_ZCc=[i.src_Z,i.src_Cc].join("|"),i.src_pseudo_letter="(?:(?![><]|"+i.src_ZPCc+")"+i.src_Any+")",i.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",i.src_auth="(?:(?:(?!"+i.src_ZCc+"|[@/\\[\\]()]).)+@)?",i.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",i.src_host_terminator="(?=$|[><]|"+i.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+i.src_ZPCc+"))",i.src_path="(?:[/?#](?:(?!"+i.src_ZCc+`|[><]|[()[\\]{}.,"'?!\\-]).|\\[(?:(?!`+i.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+i.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+i.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+i.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+i.src_ZCc+"|[']).)+\\'|\\'(?="+i.src_pseudo_letter+"|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!"+i.src_ZCc+"|[.]).|"+(o&&o["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+i.src_ZCc+").|\\!(?!"+i.src_ZCc+"|[!]).|\\?(?!"+i.src_ZCc+"|[?]).)+|\\/)?",i.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',i.src_xn="xn--[a-z0-9\\-]{1,59}",i.src_domain_root="(?:"+i.src_xn+"|"+i.src_pseudo_letter+"{1,63})",i.src_domain="(?:"+i.src_xn+"|(?:"+i.src_pseudo_letter+")|(?:"+i.src_pseudo_letter+"(?:-|"+i.src_pseudo_letter+"){0,61}"+i.src_pseudo_letter+"))",i.src_host="(?:(?:(?:(?:"+i.src_domain+")\\.)*"+i.src_domain+"))",i.tpl_host_fuzzy="(?:"+i.src_ip4+"|(?:(?:(?:"+i.src_domain+")\\.)+(?:%TLDS%)))",i.tpl_host_no_ip_fuzzy="(?:(?:(?:"+i.src_domain+")\\.)+(?:%TLDS%))",i.src_host_strict=i.src_host+i.src_host_terminator,i.tpl_host_fuzzy_strict=i.tpl_host_fuzzy+i.src_host_terminator,i.src_host_port_strict=i.src_host+i.src_port+i.src_host_terminator,i.tpl_host_port_fuzzy_strict=i.tpl_host_fuzzy+i.src_port+i.src_host_terminator,i.tpl_host_port_no_ip_fuzzy_strict=i.tpl_host_no_ip_fuzzy+i.src_port+i.src_host_terminator,i.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+i.src_ZPCc+"|>|$))",i.tpl_email_fuzzy='(^|[><]|"|\\(|'+i.src_ZCc+")("+i.src_email_name+"@"+i.tpl_host_fuzzy_strict+")",i.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|]|"+i.src_ZPCc+"))((?![$+<=>^`|])"+i.tpl_host_port_fuzzy_strict+i.src_path+")",i.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|]|"+i.src_ZPCc+"))((?![$+<=>^`|])"+i.tpl_host_port_no_ip_fuzzy_strict+i.src_path+")",i}},function(e,t,r){(function(o,i){var c;/*! https://mths.be/punycode v1.4.1 by @mathias */(function(a){t&&t.nodeType,o&&o.nodeType;var u=typeof i=="object"&&i;u.global!==u&&u.window!==u&&u.self;var d,f=2147483647,m=/^xn--/,g=/[^\x20-\x7E]/,v=/[\x2E\u3002\uFF0E\uFF61]/g,y={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},w=Math.floor,b=String.fromCharCode;function S(N){throw new RangeError(y[N])}function _(N,E){for(var P=N.length,V=[];P--;)V[P]=E(N[P]);return V}function k(N,E){var P=N.split("@"),V="";return P.length>1&&(V=P[0]+"@",N=P[1]),V+_((N=N.replace(v,".")).split("."),E).join(".")}function C(N){for(var E,P,V=[],D=0,F=N.length;D<F;)(E=N.charCodeAt(D++))>=55296&&E<=56319&&D<F?(64512&(P=N.charCodeAt(D++)))==56320?V.push(((1023&E)<<10)+(1023&P)+65536):(V.push(E),D--):V.push(E);return V}function T(N){return _(N,function(E){var P="";return E>65535&&(P+=b((E-=65536)>>>10&1023|55296),E=56320|1023&E),P+=b(E)}).join("")}function x(N,E){return N+22+75*(N<26)-((E!=0)<<5)}function R(N,E,P){var V=0;for(N=P?w(N/700):N>>1,N+=w(N/E);N>455;V+=36)N=w(N/35);return w(V+36*N/(N+38))}function O(N){var E,P,V,D,F,B,$,U,M,Z,Q,te=[],W=N.length,j=0,le=128,me=72;for((P=N.lastIndexOf("-"))<0&&(P=0),V=0;V<P;++V)N.charCodeAt(V)>=128&&S("not-basic"),te.push(N.charCodeAt(V));for(D=P>0?P+1:0;D<W;){for(F=j,B=1,$=36;D>=W&&S("invalid-input"),((U=(Q=N.charCodeAt(D++))-48<10?Q-22:Q-65<26?Q-65:Q-97<26?Q-97:36)>=36||U>w((f-j)/B))&&S("overflow"),j+=U*B,!(U<(M=$<=me?1:$>=me+26?26:$-me));$+=36)B>w(f/(Z=36-M))&&S("overflow"),B*=Z;me=R(j-F,E=te.length+1,F==0),w(j/E)>f-le&&S("overflow"),le+=w(j/E),j%=E,te.splice(j++,0,le)}return T(te)}function A(N){var E,P,V,D,F,B,$,U,M,Z,Q,te,W,j,le,me=[];for(te=(N=C(N)).length,E=128,P=0,F=72,B=0;B<te;++B)(Q=N[B])<128&&me.push(b(Q));for(V=D=me.length,D&&me.push("-");V<te;){for($=f,B=0;B<te;++B)(Q=N[B])>=E&&Q<$&&($=Q);for($-E>w((f-P)/(W=V+1))&&S("overflow"),P+=($-E)*W,E=$,B=0;B<te;++B)if((Q=N[B])<E&&++P>f&&S("overflow"),Q==E){for(U=P,M=36;!(U<(Z=M<=F?1:M>=F+26?26:M-F));M+=36)le=U-Z,j=36-Z,me.push(b(x(Z+le%j,0))),U=w(le/j);me.push(b(x(U,0))),F=R(P,W,V==D),P=0,++V}++P,++E}return me.join("")}d={version:"1.4.1",ucs2:{decode:C,encode:T},decode:O,encode:A,toASCII:function(N){return k(N,function(E){return g.test(E)?"xn--"+A(E):E})},toUnicode:function(N){return k(N,function(E){return m.test(E)?O(E.slice(4).toLowerCase()):E})}},(c=(function(){return d}).call(t,r,t,o))===void 0||(o.exports=c)})()}).call(this,r(190)(e),r(191))},function(e,t){e.exports=function(r){return r.webpackPolyfill||(r.deprecate=function(){},r.paths=[],r.children||(r.children=[]),Object.defineProperty(r,"loaded",{enumerable:!0,get:function(){return r.l}}),Object.defineProperty(r,"id",{enumerable:!0,get:function(){return r.i}}),r.webpackPolyfill=1),r}},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch{typeof window=="object"&&(r=window)}e.exports=r},function(e,t,r){e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},function(e,t,r){e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},function(e,t,r){e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","text_collapse"]}}}},function(e,t,r){var o=r(196),i=r(197),c=r(198),a=r(199),u=r(200);e.exports=function(d,f){var m={defs:o,shortcuts:i,enabled:[]},g=u(d.utils.assign({},m,f||{}));d.renderer.rules.emoji=c,d.core.ruler.push("emoji",a(d,g.defs,g.shortcuts,g.scanRE,g.replaceRE))}},function(e){e.exports=JSON.parse('{"100":"💯","1234":"🔢","grinning":"😀","smiley":"😃","smile":"😄","grin":"😁","laughing":"😆","satisfied":"😆","sweat_smile":"😅","joy":"😂","rofl":"🤣","relaxed":"☺️","blush":"😊","innocent":"😇","slightly_smiling_face":"🙂","upside_down_face":"🙃","wink":"😉","relieved":"😌","heart_eyes":"😍","kissing_heart":"😘","kissing":"😗","kissing_smiling_eyes":"😙","kissing_closed_eyes":"😚","yum":"😋","stuck_out_tongue_winking_eye":"😜","stuck_out_tongue_closed_eyes":"😝","stuck_out_tongue":"😛","money_mouth_face":"🤑","hugs":"🤗","nerd_face":"🤓","sunglasses":"😎","clown_face":"🤡","cowboy_hat_face":"🤠","smirk":"😏","unamused":"😒","disappointed":"😞","pensive":"😔","worried":"😟","confused":"😕","slightly_frowning_face":"🙁","frowning_face":"☹️","persevere":"😣","confounded":"😖","tired_face":"😫","weary":"😩","triumph":"😤","angry":"😠","rage":"😡","pout":"😡","no_mouth":"😶","neutral_face":"😐","expressionless":"😑","hushed":"😯","frowning":"😦","anguished":"😧","open_mouth":"😮","astonished":"😲","dizzy_face":"😵","flushed":"😳","scream":"😱","fearful":"😨","cold_sweat":"😰","cry":"😢","disappointed_relieved":"😥","drooling_face":"🤤","sob":"😭","sweat":"😓","sleepy":"😪","sleeping":"😴","roll_eyes":"🙄","thinking":"🤔","lying_face":"🤥","grimacing":"😬","zipper_mouth_face":"🤐","nauseated_face":"🤢","sneezing_face":"🤧","mask":"😷","face_with_thermometer":"🤒","face_with_head_bandage":"🤕","smiling_imp":"😈","imp":"👿","japanese_ogre":"👹","japanese_goblin":"👺","hankey":"💩","poop":"💩","shit":"💩","ghost":"👻","skull":"💀","skull_and_crossbones":"☠️","alien":"👽","space_invader":"👾","robot":"🤖","jack_o_lantern":"🎃","smiley_cat":"😺","smile_cat":"😸","joy_cat":"😹","heart_eyes_cat":"😻","smirk_cat":"😼","kissing_cat":"😽","scream_cat":"🙀","crying_cat_face":"😿","pouting_cat":"😾","open_hands":"👐","raised_hands":"🙌","clap":"👏","pray":"🙏","handshake":"🤝","+1":"👍","thumbsup":"👍","-1":"👎","thumbsdown":"👎","fist_oncoming":"👊","facepunch":"👊","punch":"👊","fist_raised":"✊","fist":"✊","fist_left":"🤛","fist_right":"🤜","crossed_fingers":"🤞","v":"✌️","metal":"🤘","ok_hand":"👌","point_left":"👈","point_right":"👉","point_up_2":"👆","point_down":"👇","point_up":"☝️","hand":"✋","raised_hand":"✋","raised_back_of_hand":"🤚","raised_hand_with_fingers_splayed":"🖐","vulcan_salute":"🖖","wave":"👋","call_me_hand":"🤙","muscle":"💪","middle_finger":"🖕","fu":"🖕","writing_hand":"✍️","selfie":"🤳","nail_care":"💅","ring":"💍","lipstick":"💄","kiss":"💋","lips":"👄","tongue":"👅","ear":"👂","nose":"👃","footprints":"👣","eye":"👁","eyes":"👀","speaking_head":"🗣","bust_in_silhouette":"👤","busts_in_silhouette":"👥","baby":"👶","boy":"👦","girl":"👧","man":"👨","woman":"👩","blonde_woman":"👱‍♀","blonde_man":"👱","person_with_blond_hair":"👱","older_man":"👴","older_woman":"👵","man_with_gua_pi_mao":"👲","woman_with_turban":"👳‍♀","man_with_turban":"👳","policewoman":"👮‍♀","policeman":"👮","cop":"👮","construction_worker_woman":"👷‍♀","construction_worker_man":"👷","construction_worker":"👷","guardswoman":"💂‍♀","guardsman":"💂","female_detective":"🕵️‍♀️","male_detective":"🕵","detective":"🕵","woman_health_worker":"👩‍⚕","man_health_worker":"👨‍⚕","woman_farmer":"👩‍🌾","man_farmer":"👨‍🌾","woman_cook":"👩‍🍳","man_cook":"👨‍🍳","woman_student":"👩‍🎓","man_student":"👨‍🎓","woman_singer":"👩‍🎤","man_singer":"👨‍🎤","woman_teacher":"👩‍🏫","man_teacher":"👨‍🏫","woman_factory_worker":"👩‍🏭","man_factory_worker":"👨‍🏭","woman_technologist":"👩‍💻","man_technologist":"👨‍💻","woman_office_worker":"👩‍💼","man_office_worker":"👨‍💼","woman_mechanic":"👩‍🔧","man_mechanic":"👨‍🔧","woman_scientist":"👩‍🔬","man_scientist":"👨‍🔬","woman_artist":"👩‍🎨","man_artist":"👨‍🎨","woman_firefighter":"👩‍🚒","man_firefighter":"👨‍🚒","woman_pilot":"👩‍✈","man_pilot":"👨‍✈","woman_astronaut":"👩‍🚀","man_astronaut":"👨‍🚀","woman_judge":"👩‍⚖","man_judge":"👨‍⚖","mrs_claus":"🤶","santa":"🎅","princess":"👸","prince":"🤴","bride_with_veil":"👰","man_in_tuxedo":"🤵","angel":"👼","pregnant_woman":"🤰","bowing_woman":"🙇‍♀","bowing_man":"🙇","bow":"🙇","tipping_hand_woman":"💁","information_desk_person":"💁","sassy_woman":"💁","tipping_hand_man":"💁‍♂","sassy_man":"💁‍♂","no_good_woman":"🙅","no_good":"🙅","ng_woman":"🙅","no_good_man":"🙅‍♂","ng_man":"🙅‍♂","ok_woman":"🙆","ok_man":"🙆‍♂","raising_hand_woman":"🙋","raising_hand":"🙋","raising_hand_man":"🙋‍♂","woman_facepalming":"🤦‍♀","man_facepalming":"🤦‍♂","woman_shrugging":"🤷‍♀","man_shrugging":"🤷‍♂","pouting_woman":"🙎","person_with_pouting_face":"🙎","pouting_man":"🙎‍♂","frowning_woman":"🙍","person_frowning":"🙍","frowning_man":"🙍‍♂","haircut_woman":"💇","haircut":"💇","haircut_man":"💇‍♂","massage_woman":"💆","massage":"💆","massage_man":"💆‍♂","business_suit_levitating":"🕴","dancer":"💃","man_dancing":"🕺","dancing_women":"👯","dancers":"👯","dancing_men":"👯‍♂","walking_woman":"🚶‍♀","walking_man":"🚶","walking":"🚶","running_woman":"🏃‍♀","running_man":"🏃","runner":"🏃","running":"🏃","couple":"👫","two_women_holding_hands":"👭","two_men_holding_hands":"👬","couple_with_heart_woman_man":"💑","couple_with_heart":"💑","couple_with_heart_woman_woman":"👩‍❤️‍👩","couple_with_heart_man_man":"👨‍❤️‍👨","couplekiss_man_woman":"💏","couplekiss_woman_woman":"👩‍❤️‍💋‍👩","couplekiss_man_man":"👨‍❤️‍💋‍👨","family_man_woman_boy":"👪","family":"👪","family_man_woman_girl":"👨‍👩‍👧","family_man_woman_girl_boy":"👨‍👩‍👧‍👦","family_man_woman_boy_boy":"👨‍👩‍👦‍👦","family_man_woman_girl_girl":"👨‍👩‍👧‍👧","family_woman_woman_boy":"👩‍👩‍👦","family_woman_woman_girl":"👩‍👩‍👧","family_woman_woman_girl_boy":"👩‍👩‍👧‍👦","family_woman_woman_boy_boy":"👩‍👩‍👦‍👦","family_woman_woman_girl_girl":"👩‍👩‍👧‍👧","family_man_man_boy":"👨‍👨‍👦","family_man_man_girl":"👨‍👨‍👧","family_man_man_girl_boy":"👨‍👨‍👧‍👦","family_man_man_boy_boy":"👨‍👨‍👦‍👦","family_man_man_girl_girl":"👨‍👨‍👧‍👧","family_woman_boy":"👩‍👦","family_woman_girl":"👩‍👧","family_woman_girl_boy":"👩‍👧‍👦","family_woman_boy_boy":"👩‍👦‍👦","family_woman_girl_girl":"👩‍👧‍👧","family_man_boy":"👨‍👦","family_man_girl":"👨‍👧","family_man_girl_boy":"👨‍👧‍👦","family_man_boy_boy":"👨‍👦‍👦","family_man_girl_girl":"👨‍👧‍👧","womans_clothes":"👚","shirt":"👕","tshirt":"👕","jeans":"👖","necktie":"👔","dress":"👗","bikini":"👙","kimono":"👘","high_heel":"👠","sandal":"👡","boot":"👢","mans_shoe":"👞","shoe":"👞","athletic_shoe":"👟","womans_hat":"👒","tophat":"🎩","mortar_board":"🎓","crown":"👑","rescue_worker_helmet":"⛑","school_satchel":"🎒","pouch":"👝","purse":"👛","handbag":"👜","briefcase":"💼","eyeglasses":"👓","dark_sunglasses":"🕶","closed_umbrella":"🌂","open_umbrella":"☂️","dog":"🐶","cat":"🐱","mouse":"🐭","hamster":"🐹","rabbit":"🐰","fox_face":"🦊","bear":"🐻","panda_face":"🐼","koala":"🐨","tiger":"🐯","lion":"🦁","cow":"🐮","pig":"🐷","pig_nose":"🐽","frog":"🐸","monkey_face":"🐵","see_no_evil":"🙈","hear_no_evil":"🙉","speak_no_evil":"🙊","monkey":"🐒","chicken":"🐔","penguin":"🐧","bird":"🐦","baby_chick":"🐤","hatching_chick":"🐣","hatched_chick":"🐥","duck":"🦆","eagle":"🦅","owl":"🦉","bat":"🦇","wolf":"🐺","boar":"🐗","horse":"🐴","unicorn":"🦄","bee":"🐝","honeybee":"🐝","bug":"🐛","butterfly":"🦋","snail":"🐌","shell":"🐚","beetle":"🐞","ant":"🐜","spider":"🕷","spider_web":"🕸","turtle":"🐢","snake":"🐍","lizard":"🦎","scorpion":"🦂","crab":"🦀","squid":"🦑","octopus":"🐙","shrimp":"🦐","tropical_fish":"🐠","fish":"🐟","blowfish":"🐡","dolphin":"🐬","flipper":"🐬","shark":"🦈","whale":"🐳","whale2":"🐋","crocodile":"🐊","leopard":"🐆","tiger2":"🐅","water_buffalo":"🐃","ox":"🐂","cow2":"🐄","deer":"🦌","dromedary_camel":"🐪","camel":"🐫","elephant":"🐘","rhinoceros":"🦏","gorilla":"🦍","racehorse":"🐎","pig2":"🐖","goat":"🐐","ram":"🐏","sheep":"🐑","dog2":"🐕","poodle":"🐩","cat2":"🐈","rooster":"🐓","turkey":"🦃","dove":"🕊","rabbit2":"🐇","mouse2":"🐁","rat":"🐀","chipmunk":"🐿","feet":"🐾","paw_prints":"🐾","dragon":"🐉","dragon_face":"🐲","cactus":"🌵","christmas_tree":"🎄","evergreen_tree":"🌲","deciduous_tree":"🌳","palm_tree":"🌴","seedling":"🌱","herb":"🌿","shamrock":"☘️","four_leaf_clover":"🍀","bamboo":"🎍","tanabata_tree":"🎋","leaves":"🍃","fallen_leaf":"🍂","maple_leaf":"🍁","mushroom":"🍄","ear_of_rice":"🌾","bouquet":"💐","tulip":"🌷","rose":"🌹","wilted_flower":"🥀","sunflower":"🌻","blossom":"🌼","cherry_blossom":"🌸","hibiscus":"🌺","earth_americas":"🌎","earth_africa":"🌍","earth_asia":"🌏","full_moon":"🌕","waning_gibbous_moon":"🌖","last_quarter_moon":"🌗","waning_crescent_moon":"🌘","new_moon":"🌑","waxing_crescent_moon":"🌒","first_quarter_moon":"🌓","moon":"🌔","waxing_gibbous_moon":"🌔","new_moon_with_face":"🌚","full_moon_with_face":"🌝","sun_with_face":"🌞","first_quarter_moon_with_face":"🌛","last_quarter_moon_with_face":"🌜","crescent_moon":"🌙","dizzy":"💫","star":"⭐️","star2":"🌟","sparkles":"✨","zap":"⚡️","fire":"🔥","boom":"💥","collision":"💥","comet":"☄","sunny":"☀️","sun_behind_small_cloud":"🌤","partly_sunny":"⛅️","sun_behind_large_cloud":"🌥","sun_behind_rain_cloud":"🌦","rainbow":"🌈","cloud":"☁️","cloud_with_rain":"🌧","cloud_with_lightning_and_rain":"⛈","cloud_with_lightning":"🌩","cloud_with_snow":"🌨","snowman_with_snow":"☃️","snowman":"⛄️","snowflake":"❄️","wind_face":"🌬","dash":"💨","tornado":"🌪","fog":"🌫","ocean":"🌊","droplet":"💧","sweat_drops":"💦","umbrella":"☔️","green_apple":"🍏","apple":"🍎","pear":"🍐","tangerine":"🍊","orange":"🍊","mandarin":"🍊","lemon":"🍋","banana":"🍌","watermelon":"🍉","grapes":"🍇","strawberry":"🍓","melon":"🍈","cherries":"🍒","peach":"🍑","pineapple":"🍍","kiwi_fruit":"🥝","avocado":"🥑","tomato":"🍅","eggplant":"🍆","cucumber":"🥒","carrot":"🥕","corn":"🌽","hot_pepper":"🌶","potato":"🥔","sweet_potato":"🍠","chestnut":"🌰","peanuts":"🥜","honey_pot":"🍯","croissant":"🥐","bread":"🍞","baguette_bread":"🥖","cheese":"🧀","egg":"🥚","fried_egg":"🍳","bacon":"🥓","pancakes":"🥞","fried_shrimp":"🍤","poultry_leg":"🍗","meat_on_bone":"🍖","pizza":"🍕","hotdog":"🌭","hamburger":"🍔","fries":"🍟","stuffed_flatbread":"🥙","taco":"🌮","burrito":"🌯","green_salad":"🥗","shallow_pan_of_food":"🥘","spaghetti":"🍝","ramen":"🍜","stew":"🍲","fish_cake":"🍥","sushi":"🍣","bento":"🍱","curry":"🍛","rice":"🍚","rice_ball":"🍙","rice_cracker":"🍘","oden":"🍢","dango":"🍡","shaved_ice":"🍧","ice_cream":"🍨","icecream":"🍦","cake":"🍰","birthday":"🎂","custard":"🍮","lollipop":"🍭","candy":"🍬","chocolate_bar":"🍫","popcorn":"🍿","doughnut":"🍩","cookie":"🍪","milk_glass":"🥛","baby_bottle":"🍼","coffee":"☕️","tea":"🍵","sake":"🍶","beer":"🍺","beers":"🍻","clinking_glasses":"🥂","wine_glass":"🍷","tumbler_glass":"🥃","cocktail":"🍸","tropical_drink":"🍹","champagne":"🍾","spoon":"🥄","fork_and_knife":"🍴","plate_with_cutlery":"🍽","soccer":"⚽️","basketball":"🏀","football":"🏈","baseball":"⚾️","tennis":"🎾","volleyball":"🏐","rugby_football":"🏉","8ball":"🎱","ping_pong":"🏓","badminton":"🏸","goal_net":"🥅","ice_hockey":"🏒","field_hockey":"🏑","cricket":"🏏","golf":"⛳️","bow_and_arrow":"🏹","fishing_pole_and_fish":"🎣","boxing_glove":"🥊","martial_arts_uniform":"🥋","ice_skate":"⛸","ski":"🎿","skier":"⛷","snowboarder":"🏂","weight_lifting_woman":"🏋️‍♀️","weight_lifting_man":"🏋","person_fencing":"🤺","women_wrestling":"🤼‍♀","men_wrestling":"🤼‍♂","woman_cartwheeling":"🤸‍♀","man_cartwheeling":"🤸‍♂","basketball_woman":"⛹️‍♀️","basketball_man":"⛹","woman_playing_handball":"🤾‍♀","man_playing_handball":"🤾‍♂","golfing_woman":"🏌️‍♀️","golfing_man":"🏌","surfing_woman":"🏄‍♀","surfing_man":"🏄","surfer":"🏄","swimming_woman":"🏊‍♀","swimming_man":"🏊","swimmer":"🏊","woman_playing_water_polo":"🤽‍♀","man_playing_water_polo":"🤽‍♂","rowing_woman":"🚣‍♀","rowing_man":"🚣","rowboat":"🚣","horse_racing":"🏇","biking_woman":"🚴‍♀","biking_man":"🚴","bicyclist":"🚴","mountain_biking_woman":"🚵‍♀","mountain_biking_man":"🚵","mountain_bicyclist":"🚵","running_shirt_with_sash":"🎽","medal_sports":"🏅","medal_military":"🎖","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉","trophy":"🏆","rosette":"🏵","reminder_ribbon":"🎗","ticket":"🎫","tickets":"🎟","circus_tent":"🎪","woman_juggling":"🤹‍♀","man_juggling":"🤹‍♂","performing_arts":"🎭","art":"🎨","clapper":"🎬","microphone":"🎤","headphones":"🎧","musical_score":"🎼","musical_keyboard":"🎹","drum":"🥁","saxophone":"🎷","trumpet":"🎺","guitar":"🎸","violin":"🎻","game_die":"🎲","dart":"🎯","bowling":"🎳","video_game":"🎮","slot_machine":"🎰","car":"🚗","red_car":"🚗","taxi":"🚕","blue_car":"🚙","bus":"🚌","trolleybus":"🚎","racing_car":"🏎","police_car":"🚓","ambulance":"🚑","fire_engine":"🚒","minibus":"🚐","truck":"🚚","articulated_lorry":"🚛","tractor":"🚜","kick_scooter":"🛴","bike":"🚲","motor_scooter":"🛵","motorcycle":"🏍","rotating_light":"🚨","oncoming_police_car":"🚔","oncoming_bus":"🚍","oncoming_automobile":"🚘","oncoming_taxi":"🚖","aerial_tramway":"🚡","mountain_cableway":"🚠","suspension_railway":"🚟","railway_car":"🚃","train":"🚋","mountain_railway":"🚞","monorail":"🚝","bullettrain_side":"🚄","bullettrain_front":"🚅","light_rail":"🚈","steam_locomotive":"🚂","train2":"🚆","metro":"🚇","tram":"🚊","station":"🚉","helicopter":"🚁","small_airplane":"🛩","airplane":"✈️","flight_departure":"🛫","flight_arrival":"🛬","rocket":"🚀","artificial_satellite":"🛰","seat":"💺","canoe":"🛶","boat":"⛵️","sailboat":"⛵️","motor_boat":"🛥","speedboat":"🚤","passenger_ship":"🛳","ferry":"⛴","ship":"🚢","anchor":"⚓️","construction":"🚧","fuelpump":"⛽️","busstop":"🚏","vertical_traffic_light":"🚦","traffic_light":"🚥","world_map":"🗺","moyai":"🗿","statue_of_liberty":"🗽","fountain":"⛲️","tokyo_tower":"🗼","european_castle":"🏰","japanese_castle":"🏯","stadium":"🏟","ferris_wheel":"🎡","roller_coaster":"🎢","carousel_horse":"🎠","parasol_on_ground":"⛱","beach_umbrella":"🏖","desert_island":"🏝","mountain":"⛰","mountain_snow":"🏔","mount_fuji":"🗻","volcano":"🌋","desert":"🏜","camping":"🏕","tent":"⛺️","railway_track":"🛤","motorway":"🛣","building_construction":"🏗","factory":"🏭","house":"🏠","house_with_garden":"🏡","houses":"🏘","derelict_house":"🏚","office":"🏢","department_store":"🏬","post_office":"🏣","european_post_office":"🏤","hospital":"🏥","bank":"🏦","hotel":"🏨","convenience_store":"🏪","school":"🏫","love_hotel":"🏩","wedding":"💒","classical_building":"🏛","church":"⛪️","mosque":"🕌","synagogue":"🕍","kaaba":"🕋","shinto_shrine":"⛩","japan":"🗾","rice_scene":"🎑","national_park":"🏞","sunrise":"🌅","sunrise_over_mountains":"🌄","stars":"🌠","sparkler":"🎇","fireworks":"🎆","city_sunrise":"🌇","city_sunset":"🌆","cityscape":"🏙","night_with_stars":"🌃","milky_way":"🌌","bridge_at_night":"🌉","foggy":"🌁","watch":"⌚️","iphone":"📱","calling":"📲","computer":"💻","keyboard":"⌨️","desktop_computer":"🖥","printer":"🖨","computer_mouse":"🖱","trackball":"🖲","joystick":"🕹","clamp":"🗜","minidisc":"💽","floppy_disk":"💾","cd":"💿","dvd":"📀","vhs":"📼","camera":"📷","camera_flash":"📸","video_camera":"📹","movie_camera":"🎥","film_projector":"📽","film_strip":"🎞","telephone_receiver":"📞","phone":"☎️","telephone":"☎️","pager":"📟","fax":"📠","tv":"📺","radio":"📻","studio_microphone":"🎙","level_slider":"🎚","control_knobs":"🎛","stopwatch":"⏱","timer_clock":"⏲","alarm_clock":"⏰","mantelpiece_clock":"🕰","hourglass":"⌛️","hourglass_flowing_sand":"⏳","satellite":"📡","battery":"🔋","electric_plug":"🔌","bulb":"💡","flashlight":"🔦","candle":"🕯","wastebasket":"🗑","oil_drum":"🛢","money_with_wings":"💸","dollar":"💵","yen":"💴","euro":"💶","pound":"💷","moneybag":"💰","credit_card":"💳","gem":"💎","balance_scale":"⚖️","wrench":"🔧","hammer":"🔨","hammer_and_pick":"⚒","hammer_and_wrench":"🛠","pick":"⛏","nut_and_bolt":"🔩","gear":"⚙️","chains":"⛓","gun":"🔫","bomb":"💣","hocho":"🔪","knife":"🔪","dagger":"🗡","crossed_swords":"⚔️","shield":"🛡","smoking":"🚬","coffin":"⚰️","funeral_urn":"⚱️","amphora":"🏺","crystal_ball":"🔮","prayer_beads":"📿","barber":"💈","alembic":"⚗️","telescope":"🔭","microscope":"🔬","hole":"🕳","pill":"💊","syringe":"💉","thermometer":"🌡","toilet":"🚽","potable_water":"🚰","shower":"🚿","bathtub":"🛁","bath":"🛀","bellhop_bell":"🛎","key":"🔑","old_key":"🗝","door":"🚪","couch_and_lamp":"🛋","bed":"🛏","sleeping_bed":"🛌","framed_picture":"🖼","shopping":"🛍","shopping_cart":"🛒","gift":"🎁","balloon":"🎈","flags":"🎏","ribbon":"🎀","confetti_ball":"🎊","tada":"🎉","dolls":"🎎","izakaya_lantern":"🏮","lantern":"🏮","wind_chime":"🎐","email":"✉️","envelope":"✉️","envelope_with_arrow":"📩","incoming_envelope":"📨","e-mail":"📧","love_letter":"💌","inbox_tray":"📥","outbox_tray":"📤","package":"📦","label":"🏷","mailbox_closed":"📪","mailbox":"📫","mailbox_with_mail":"📬","mailbox_with_no_mail":"📭","postbox":"📮","postal_horn":"📯","scroll":"📜","page_with_curl":"📃","page_facing_up":"📄","bookmark_tabs":"📑","bar_chart":"📊","chart_with_upwards_trend":"📈","chart_with_downwards_trend":"📉","spiral_notepad":"🗒","spiral_calendar":"🗓","calendar":"📆","date":"📅","card_index":"📇","card_file_box":"🗃","ballot_box":"🗳","file_cabinet":"🗄","clipboard":"📋","file_folder":"📁","open_file_folder":"📂","card_index_dividers":"🗂","newspaper_roll":"🗞","newspaper":"📰","notebook":"📓","notebook_with_decorative_cover":"📔","ledger":"📒","closed_book":"📕","green_book":"📗","blue_book":"📘","orange_book":"📙","books":"📚","book":"📖","open_book":"📖","bookmark":"🔖","link":"🔗","paperclip":"📎","paperclips":"🖇","triangular_ruler":"📐","straight_ruler":"📏","pushpin":"📌","round_pushpin":"📍","scissors":"✂️","pen":"🖊","fountain_pen":"🖋","black_nib":"✒️","paintbrush":"🖌","crayon":"🖍","memo":"📝","pencil":"📝","pencil2":"✏️","mag":"🔍","mag_right":"🔎","lock_with_ink_pen":"🔏","closed_lock_with_key":"🔐","lock":"🔒","unlock":"🔓","heart":"❤️","yellow_heart":"💛","green_heart":"💚","blue_heart":"💙","purple_heart":"💜","black_heart":"🖤","broken_heart":"💔","heavy_heart_exclamation":"❣️","two_hearts":"💕","revolving_hearts":"💞","heartbeat":"💓","heartpulse":"💗","sparkling_heart":"💖","cupid":"💘","gift_heart":"💝","heart_decoration":"💟","peace_symbol":"☮️","latin_cross":"✝️","star_and_crescent":"☪️","om":"🕉","wheel_of_dharma":"☸️","star_of_david":"✡️","six_pointed_star":"🔯","menorah":"🕎","yin_yang":"☯️","orthodox_cross":"☦️","place_of_worship":"🛐","ophiuchus":"⛎","aries":"♈️","taurus":"♉️","gemini":"♊️","cancer":"♋️","leo":"♌️","virgo":"♍️","libra":"♎️","scorpius":"♏️","sagittarius":"♐️","capricorn":"♑️","aquarius":"♒️","pisces":"♓️","id":"🆔","atom_symbol":"⚛️","accept":"🉑","radioactive":"☢️","biohazard":"☣️","mobile_phone_off":"📴","vibration_mode":"📳","eight_pointed_black_star":"✴️","vs":"🆚","white_flower":"💮","ideograph_advantage":"🉐","secret":"㊙️","congratulations":"㊗️","u6e80":"🈵","a":"🅰️","b":"🅱️","ab":"🆎","cl":"🆑","o2":"🅾️","sos":"🆘","x":"❌","o":"⭕️","stop_sign":"🛑","no_entry":"⛔️","name_badge":"📛","no_entry_sign":"🚫","anger":"💢","hotsprings":"♨️","no_pedestrians":"🚷","do_not_litter":"🚯","no_bicycles":"🚳","non-potable_water":"🚱","underage":"🔞","no_mobile_phones":"📵","no_smoking":"🚭","exclamation":"❗️","heavy_exclamation_mark":"❗️","grey_exclamation":"❕","question":"❓","grey_question":"❔","bangbang":"‼️","interrobang":"⁉️","low_brightness":"🔅","high_brightness":"🔆","part_alternation_mark":"〽️","warning":"⚠️","children_crossing":"🚸","trident":"🔱","fleur_de_lis":"⚜️","beginner":"🔰","recycle":"♻️","white_check_mark":"✅","chart":"💹","sparkle":"❇️","eight_spoked_asterisk":"✳️","negative_squared_cross_mark":"❎","globe_with_meridians":"🌐","diamond_shape_with_a_dot_inside":"💠","m":"Ⓜ️","cyclone":"🌀","zzz":"💤","atm":"🏧","wc":"🚾","wheelchair":"♿️","parking":"🅿️","sa":"🈂️","passport_control":"🛂","customs":"🛃","baggage_claim":"🛄","left_luggage":"🛅","mens":"🚹","womens":"🚺","baby_symbol":"🚼","restroom":"🚻","put_litter_in_its_place":"🚮","cinema":"🎦","signal_strength":"📶","koko":"🈁","symbols":"🔣","information_source":"","abc":"🔤","abcd":"🔡","capital_abcd":"🔠","ng":"🆖","ok":"🆗","up":"🆙","cool":"🆒","new":"🆕","free":"🆓","zero":"0⃣","one":"1⃣","two":"2⃣","three":"3⃣","four":"4⃣","five":"5⃣","six":"6⃣","seven":"7⃣","eight":"8⃣","nine":"9⃣","keycap_ten":"🔟","hash":"#️⃣","asterisk":"*️⃣","arrow_forward":"▶️","pause_button":"⏸","play_or_pause_button":"⏯","stop_button":"⏹","record_button":"⏺","next_track_button":"⏭","previous_track_button":"⏮","fast_forward":"⏩","rewind":"⏪","arrow_double_up":"⏫","arrow_double_down":"⏬","arrow_backward":"◀️","arrow_up_small":"🔼","arrow_down_small":"🔽","arrow_right":"➡️","arrow_left":"⬅️","arrow_up":"⬆️","arrow_down":"⬇️","arrow_upper_right":"↗️","arrow_lower_right":"↘️","arrow_lower_left":"↙️","arrow_upper_left":"↖️","arrow_up_down":"↕️","left_right_arrow":"↔️","arrow_right_hook":"↪️","leftwards_arrow_with_hook":"↩️","arrow_heading_up":"⤴️","arrow_heading_down":"⤵️","twisted_rightwards_arrows":"🔀","repeat":"🔁","repeat_one":"🔂","arrows_counterclockwise":"🔄","arrows_clockwise":"🔃","musical_note":"🎵","notes":"🎶","heavy_plus_sign":"","heavy_minus_sign":"","heavy_division_sign":"➗","heavy_multiplication_x":"✖️","heavy_dollar_sign":"💲","currency_exchange":"💱","tm":"™️","copyright":"©️","registered":"®️","wavy_dash":"〰️","curly_loop":"➰","loop":"➿","end":"🔚","back":"🔙","on":"🔛","top":"🔝","soon":"🔜","heavy_check_mark":"✔️","ballot_box_with_check":"☑️","radio_button":"🔘","white_circle":"⚪️","black_circle":"⚫️","red_circle":"🔴","large_blue_circle":"🔵","small_red_triangle":"🔺","small_red_triangle_down":"🔻","small_orange_diamond":"🔸","small_blue_diamond":"🔹","large_orange_diamond":"🔶","large_blue_diamond":"🔷","white_square_button":"🔳","black_square_button":"🔲","black_small_square":"▪️","white_small_square":"▫️","black_medium_small_square":"◾️","white_medium_small_square":"◽️","black_medium_square":"◼️","white_medium_square":"◻️","black_large_square":"⬛️","white_large_square":"⬜️","speaker":"🔈","mute":"🔇","sound":"🔉","loud_sound":"🔊","bell":"🔔","no_bell":"🔕","mega":"📣","loudspeaker":"📢","eye_speech_bubble":"👁‍🗨","speech_balloon":"💬","thought_balloon":"💭","right_anger_bubble":"🗯","spades":"♠️","clubs":"♣️","hearts":"♥️","diamonds":"♦️","black_joker":"🃏","flower_playing_cards":"🎴","mahjong":"🀄️","clock1":"🕐","clock2":"🕑","clock3":"🕒","clock4":"🕓","clock5":"🕔","clock6":"🕕","clock7":"🕖","clock8":"🕗","clock9":"🕘","clock10":"🕙","clock11":"🕚","clock12":"🕛","clock130":"🕜","clock230":"🕝","clock330":"🕞","clock430":"🕟","clock530":"🕠","clock630":"🕡","clock730":"🕢","clock830":"🕣","clock930":"🕤","clock1030":"🕥","clock1130":"🕦","clock1230":"🕧","white_flag":"🏳️","black_flag":"🏴","checkered_flag":"🏁","triangular_flag_on_post":"🚩","rainbow_flag":"🏳️‍🌈","afghanistan":"🇦🇫","aland_islands":"🇦🇽","albania":"🇦🇱","algeria":"🇩🇿","american_samoa":"🇦🇸","andorra":"🇦🇩","angola":"🇦🇴","anguilla":"🇦🇮","antarctica":"🇦🇶","antigua_barbuda":"🇦🇬","argentina":"🇦🇷","armenia":"🇦🇲","aruba":"🇦🇼","australia":"🇦🇺","austria":"🇦🇹","azerbaijan":"🇦🇿","bahamas":"🇧🇸","bahrain":"🇧🇭","bangladesh":"🇧🇩","barbados":"🇧🇧","belarus":"🇧🇾","belgium":"🇧🇪","belize":"🇧🇿","benin":"🇧🇯","bermuda":"🇧🇲","bhutan":"🇧🇹","bolivia":"🇧🇴","caribbean_netherlands":"🇧🇶","bosnia_herzegovina":"🇧🇦","botswana":"🇧🇼","brazil":"🇧🇷","british_indian_ocean_territory":"🇮🇴","british_virgin_islands":"🇻🇬","brunei":"🇧🇳","bulgaria":"🇧🇬","burkina_faso":"🇧🇫","burundi":"🇧🇮","cape_verde":"🇨🇻","cambodia":"🇰🇭","cameroon":"🇨🇲","canada":"🇨🇦","canary_islands":"🇮🇨","cayman_islands":"🇰🇾","central_african_republic":"🇨🇫","chad":"🇹🇩","chile":"🇨🇱","cn":"🇨🇳","christmas_island":"🇨🇽","cocos_islands":"🇨🇨","colombia":"🇨🇴","comoros":"🇰🇲","congo_brazzaville":"🇨🇬","congo_kinshasa":"🇨🇩","cook_islands":"🇨🇰","costa_rica":"🇨🇷","cote_divoire":"🇨🇮","croatia":"🇭🇷","cuba":"🇨🇺","curacao":"🇨🇼","cyprus":"🇨🇾","czech_republic":"🇨🇿","denmark":"🇩🇰","djibouti":"🇩🇯","dominica":"🇩🇲","dominican_republic":"🇩🇴","ecuador":"🇪🇨","egypt":"🇪🇬","el_salvador":"🇸🇻","equatorial_guinea":"🇬🇶","eritrea":"🇪🇷","estonia":"🇪🇪","ethiopia":"🇪🇹","eu":"🇪🇺","european_union":"🇪🇺","falkland_islands":"🇫🇰","faroe_islands":"🇫🇴","fiji":"🇫🇯","finland":"🇫🇮","fr":"🇫🇷","french_guiana":"🇬🇫","french_polynesia":"🇵🇫","french_southern_territories":"🇹🇫","gabon":"🇬🇦","gambia":"🇬🇲","georgia":"🇬🇪","de":"🇩🇪","ghana":"🇬🇭","gibraltar":"🇬🇮","greece":"🇬🇷","greenland":"🇬🇱","grenada":"🇬🇩","guadeloupe":"🇬🇵","guam":"🇬🇺","guatemala":"🇬🇹","guernsey":"🇬🇬","guinea":"🇬🇳","guinea_bissau":"🇬🇼","guyana":"🇬🇾","haiti":"🇭🇹","honduras":"🇭🇳","hong_kong":"🇭🇰","hungary":"🇭🇺","iceland":"🇮🇸","india":"🇮🇳","indonesia":"🇮🇩","iran":"🇮🇷","iraq":"🇮🇶","ireland":"🇮🇪","isle_of_man":"🇮🇲","israel":"🇮🇱","it":"🇮🇹","jamaica":"🇯🇲","jp":"🇯🇵","crossed_flags":"🎌","jersey":"🇯🇪","jordan":"🇯🇴","kazakhstan":"🇰🇿","kenya":"🇰🇪","kiribati":"🇰🇮","kosovo":"🇽🇰","kuwait":"🇰🇼","kyrgyzstan":"🇰🇬","laos":"🇱🇦","latvia":"🇱🇻","lebanon":"🇱🇧","lesotho":"🇱🇸","liberia":"🇱🇷","libya":"🇱🇾","liechtenstein":"🇱🇮","lithuania":"🇱🇹","luxembourg":"🇱🇺","macau":"🇲🇴","macedonia":"🇲🇰","madagascar":"🇲🇬","malawi":"🇲🇼","malaysia":"🇲🇾","maldives":"🇲🇻","mali":"🇲🇱","malta":"🇲🇹","marshall_islands":"🇲🇭","martinique":"🇲🇶","mauritania":"🇲🇷","mauritius":"🇲🇺","mayotte":"🇾🇹","mexico":"🇲🇽","micronesia":"🇫🇲","moldova":"🇲🇩","monaco":"🇲🇨","mongolia":"🇲🇳","montenegro":"🇲🇪","montserrat":"🇲🇸","morocco":"🇲🇦","mozambique":"🇲🇿","myanmar":"🇲🇲","namibia":"🇳🇦","nauru":"🇳🇷","nepal":"🇳🇵","netherlands":"🇳🇱","new_caledonia":"🇳🇨","new_zealand":"🇳🇿","nicaragua":"🇳🇮","niger":"🇳🇪","nigeria":"🇳🇬","niue":"🇳🇺","norfolk_island":"🇳🇫","northern_mariana_islands":"🇲🇵","north_korea":"🇰🇵","norway":"🇳🇴","oman":"🇴🇲","pakistan":"🇵🇰","palau":"🇵🇼","palestinian_territories":"🇵🇸","panama":"🇵🇦","papua_new_guinea":"🇵🇬","paraguay":"🇵🇾","peru":"🇵🇪","philippines":"🇵🇭","pitcairn_islands":"🇵🇳","poland":"🇵🇱","portugal":"🇵🇹","puerto_rico":"🇵🇷","qatar":"🇶🇦","reunion":"🇷🇪","romania":"🇷🇴","ru":"🇷🇺","rwanda":"🇷🇼","st_barthelemy":"🇧🇱","st_helena":"🇸🇭","st_kitts_nevis":"🇰🇳","st_lucia":"🇱🇨","st_pierre_miquelon":"🇵🇲","st_vincent_grenadines":"🇻🇨","samoa":"🇼🇸","san_marino":"🇸🇲","sao_tome_principe":"🇸🇹","saudi_arabia":"🇸🇦","senegal":"🇸🇳","serbia":"🇷🇸","seychelles":"🇸🇨","sierra_leone":"🇸🇱","singapore":"🇸🇬","sint_maarten":"🇸🇽","slovakia":"🇸🇰","slovenia":"🇸🇮","solomon_islands":"🇸🇧","somalia":"🇸🇴","south_africa":"🇿🇦","south_georgia_south_sandwich_islands":"🇬🇸","kr":"🇰🇷","south_sudan":"🇸🇸","es":"🇪🇸","sri_lanka":"🇱🇰","sudan":"🇸🇩","suriname":"🇸🇷","swaziland":"🇸🇿","sweden":"🇸🇪","switzerland":"🇨🇭","syria":"🇸🇾","taiwan":"🇹🇼","tajikistan":"🇹🇯","tanzania":"🇹🇿","thailand":"🇹🇭","timor_leste":"🇹🇱","togo":"🇹🇬","tokelau":"🇹🇰","tonga":"🇹🇴","trinidad_tobago":"🇹🇹","tunisia":"🇹🇳","tr":"🇹🇷","turkmenistan":"🇹🇲","turks_caicos_islands":"🇹🇨","tuvalu":"🇹🇻","uganda":"🇺🇬","ukraine":"🇺🇦","united_arab_emirates":"🇦🇪","gb":"🇬🇧","uk":"🇬🇧","us":"🇺🇸","us_virgin_islands":"🇻🇮","uruguay":"🇺🇾","uzbekistan":"🇺🇿","vanuatu":"🇻🇺","vatican_city":"🇻🇦","venezuela":"🇻🇪","vietnam":"🇻🇳","wallis_futuna":"🇼🇫","western_sahara":"🇪🇭","yemen":"🇾🇪","zambia":"🇿🇲","zimbabwe":"🇿🇼"}')},function(e,t,r){e.exports={angry:[">:(",">:-("],blush:[':")',':-")'],broken_heart:["</3","<\\3"],confused:[":/",":-/"],cry:[":'(",":'-(",":,(",":,-("],frowning:[":(",":-("],heart:["<3"],imp:["]:(","]:-("],innocent:["o:)","O:)","o:-)","O:-)","0:)","0:-)"],joy:[":')",":'-)",":,)",":,-)",":'D",":'-D",":,D",":,-D"],kissing:[":*",":-*"],laughing:["x-)","X-)"],neutral_face:[":|",":-|"],open_mouth:[":o",":-o",":O",":-O"],rage:[":@",":-@"],smile:[":D",":-D"],smiley:[":)",":-)"],smiling_imp:["]:)","]:-)"],sob:[":,'(",":,'-(",";(",";-("],stuck_out_tongue:[":P",":-P"],sunglasses:["8-)","B-)"],sweat:[",:(",",:-("],sweat_smile:[",:)",",:-)"],unamused:[":s",":-S",":z",":-Z",":$",":-$"],wink:[";)",";-)"]}},function(e,t,r){e.exports=function(o,i){return o[i].content}},function(e,t,r){e.exports=function(o,i,c,a,u){var d=o.utils.arrayReplaceAt,f=o.utils.lib.ucmicro,m=new RegExp([f.Z.source,f.P.source,f.Cc.source].join("|"));function g(v,y,w){var b,S=0,_=[];return v.replace(u,function(k,C,T){var x;if(c.hasOwnProperty(k)){if(x=c[k],C>0&&!m.test(T[C-1])||C+k.length<T.length&&!m.test(T[C+k.length]))return}else x=k.slice(1,-1);C>S&&((b=new w("text","",0)).content=v.slice(S,C),_.push(b)),(b=new w("emoji","",0)).markup=x,b.content=i[x],_.push(b),S=C+k.length}),S<v.length&&((b=new w("text","",0)).content=v.slice(S),_.push(b)),_}return function(v){var y,w,b,S,_,k=v.tokens,C=0;for(w=0,b=k.length;w<b;w++)if(k[w].type==="inline")for(y=(S=k[w].children).length-1;y>=0;y--)(_=S[y]).type!=="link_open"&&_.type!=="link_close"||_.info==="auto"&&(C-=_.nesting),_.type==="text"&&C===0&&a.test(_.content)&&(k[w].children=S=d(S,y,g(_.content,_.level,v.Token)))}}},function(e,t,r){e.exports=function(o){var i,c=o.defs;o.enabled.length&&(c=Object.keys(c).reduce(function(f,m){return o.enabled.indexOf(m)>=0&&(f[m]=c[m]),f},{})),i=Object.keys(o.shortcuts).reduce(function(f,m){return c[m]?Array.isArray(o.shortcuts[m])?(o.shortcuts[m].forEach(function(g){f[g]=m}),f):(f[o.shortcuts[m]]=m,f):f},{});var a=Object.keys(c).map(function(f){return":"+f+":"}).concat(Object.keys(i)).sort().reverse().map(function(f){return f.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}).join("|"),u=RegExp(a),d=RegExp(a,"g");return{defs:c,shortcuts:i,scanRE:u,replaceRE:d}}},function(e,t,r){var o=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;function i(c,a){var u,d,f=c.posMax,m=c.pos;if(c.src.charCodeAt(m)!==126||a||m+2>=f)return!1;for(c.pos=m+1;c.pos<f;){if(c.src.charCodeAt(c.pos)===126){u=!0;break}c.md.inline.skipToken(c)}return u&&m+1!==c.pos?(d=c.src.slice(m+1,c.pos)).match(/(^|[^\\])(\\\\)*\s/)?(c.pos=m,!1):(c.posMax=c.pos,c.pos=m+1,c.push("sub_open","sub",1).markup="~",c.push("text","",0).content=d.replace(o,"$1"),c.push("sub_close","sub",-1).markup="~",c.pos=c.posMax+1,c.posMax=f,!0):(c.pos=m,!1)}e.exports=function(c){c.inline.ruler.after("emphasis","sub",i)}},function(e,t,r){var o=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;function i(c,a){var u,d,f=c.posMax,m=c.pos;if(c.src.charCodeAt(m)!==94||a||m+2>=f)return!1;for(c.pos=m+1;c.pos<f;){if(c.src.charCodeAt(c.pos)===94){u=!0;break}c.md.inline.skipToken(c)}return u&&m+1!==c.pos?(d=c.src.slice(m+1,c.pos)).match(/(^|[^\\])(\\\\)*\s/)?(c.pos=m,!1):(c.posMax=c.pos,c.pos=m+1,c.push("sup_open","sup",1).markup="^",c.push("text","",0).content=d.replace(o,"$1"),c.push("sup_close","sup",-1).markup="^",c.pos=c.posMax+1,c.posMax=f,!0):(c.pos=m,!1)}e.exports=function(c){c.inline.ruler.after("emphasis","sup",i)}},function(e,t,r){e.exports=function(o){var i=o.utils.isSpace;function c(a,u){var d,f,m=a.bMarks[u]+a.tShift[u],g=a.eMarks[u];return m>=g||(f=a.src.charCodeAt(m++))!==126&&f!==58||m===(d=a.skipSpaces(m))||d>=g?-1:m}o.block.ruler.before("paragraph","deflist",function(a,u,d,f){var m,g,v,y,w,b,S,_,k,C,T,x,R,O,A,N,E,P,V,D;if(f)return!(a.ddIndent<0)&&c(a,u)>=0;if((k=u+1)>=d||a.isEmpty(k)&&++k>=d||a.sCount[k]<a.blkIndent||(g=c(a,k))<0)return!1;S=a.tokens.length,V=!0,(D=a.push("dl_open","dl",1)).map=b=[u,0],y=u,v=k;e:for(;;){for(P=!1,(D=a.push("dt_open","dt",1)).map=[y,y],(D=a.push("inline","",0)).map=[y,y],D.content=a.getLines(y,y+1,a.blkIndent,!1).trim(),D.children=[],D=a.push("dt_close","dt",-1);;){for((D=a.push("dd_open","dd",1)).map=w=[k,0],E=g,_=a.eMarks[v],C=a.sCount[v]+g-(a.bMarks[v]+a.tShift[v]);E<_&&(m=a.src.charCodeAt(E),i(m));)m===9?C+=4-C%4:C++,E++;if(g=E,N=a.tight,T=a.ddIndent,x=a.blkIndent,A=a.tShift[v],O=a.sCount[v],R=a.parentType,a.blkIndent=a.ddIndent=a.sCount[v]+2,a.tShift[v]=g-a.bMarks[v],a.sCount[v]=C,a.tight=!0,a.parentType="deflist",a.md.block.tokenize(a,v,d,!0),a.tight&&!P||(V=!1),P=a.line-v>1&&a.isEmpty(a.line-1),a.tShift[v]=A,a.sCount[v]=O,a.tight=N,a.parentType=R,a.blkIndent=x,a.ddIndent=T,D=a.push("dd_close","dd",-1),w[1]=k=a.line,k>=d||a.sCount[k]<a.blkIndent)break e;if((g=c(a,k))<0)break;v=k}if(k>=d||(y=k,a.isEmpty(y))||a.sCount[y]<a.blkIndent||(v=y+1)>=d||(a.isEmpty(v)&&v++,v>=d)||a.sCount[v]<a.blkIndent||(g=c(a,v))<0)break}return D=a.push("dl_close","dl",-1),b[1]=k,a.line=k,V&&function(F,B){var $,U,M=F.level+2;for($=B+2,U=F.tokens.length-2;$<U;$++)F.tokens[$].level===M&&F.tokens[$].type==="paragraph_open"&&(F.tokens[$+2].hidden=!0,F.tokens[$].hidden=!0,$+=2)}(a,S),!0},{alt:["paragraph","reference","blockquote"]})}},function(e,t,r){e.exports=function(o){var i=o.utils.escapeRE,c=o.utils.arrayReplaceAt,a=o.utils.lib.ucmicro.P.source,u=o.utils.lib.ucmicro.Z.source;o.block.ruler.before("reference","abbr_def",function(d,f,m,g){var v,y,w,b,S,_=d.bMarks[f]+d.tShift[f],k=d.eMarks[f];if(_+2>=k||d.src.charCodeAt(_++)!==42||d.src.charCodeAt(_++)!==91)return!1;for(b=_;_<k;_++){if((w=d.src.charCodeAt(_))===91)return!1;if(w===93){S=_;break}w===92&&_++}return!(S<0||d.src.charCodeAt(S+1)!==58)&&(!!g||(v=d.src.slice(b,S).replace(/\\(.)/g,"$1"),y=d.src.slice(S+2,k).trim(),v.length!==0&&y.length!==0&&(d.env.abbreviations||(d.env.abbreviations={}),d.env.abbreviations[":"+v]===void 0&&(d.env.abbreviations[":"+v]=y),d.line=f+1,!0)))},{alt:["paragraph","reference"]}),o.core.ruler.after("linkify","abbr_replace",function(d){var f,m,g,v,y,w,b,S,_,k,C,T,x,R=d.tokens;if(d.env.abbreviations){for(T=new RegExp("(?:"+Object.keys(d.env.abbreviations).map(function(O){return O.substr(1)}).sort(function(O,A){return A.length-O.length}).map(i).join("|")+")"),C="(^|"+a+"|"+u+"|["+" \r\n$+<=>^`|~".split("").map(i).join("")+"])("+Object.keys(d.env.abbreviations).map(function(O){return O.substr(1)}).sort(function(O,A){return A.length-O.length}).map(i).join("|")+")($|"+a+"|"+u+"|["+" \r\n$+<=>^`|~".split("").map(i).join("")+"])",_=new RegExp(C,"g"),m=0,g=R.length;m<g;m++)if(R[m].type==="inline"){for(f=(v=R[m].children).length-1;f>=0;f--)if((x=v[f]).type==="text"&&(S=0,w=x.content,_.lastIndex=0,b=[],T.test(w))){for(;k=_.exec(w);)(k.index>0||k[1].length>0)&&((y=new d.Token("text","",0)).content=w.slice(S,k.index+k[1].length),b.push(y)),(y=new d.Token("abbr_open","abbr",1)).attrs=[["title",d.env.abbreviations[":"+k[2]]]],b.push(y),(y=new d.Token("text","",0)).content=k[2],b.push(y),y=new d.Token("abbr_close","abbr",-1),b.push(y),_.lastIndex-=k[3].length,S=_.lastIndex;b.length&&(S<w.length&&((y=new d.Token("text","",0)).content=w.slice(S),b.push(y)),R[m].children=v=c(v,f,b))}}}})}},function(e,t,r){function o(g,v,y,w){var b=Number(g[v].meta.id+1).toString(),S="";return typeof w.docId=="string"&&(S="-"+w.docId+"-"),S+b}function i(g,v){var y=Number(g[v].meta.id+1).toString();return g[v].meta.subId>0&&(y+=":"+g[v].meta.subId),"["+y+"]"}function c(g,v,y,w,b){var S=b.rules.footnote_anchor_name(g,v,y,w,b),_=b.rules.footnote_caption(g,v,y,w,b),k=S;return g[v].meta.subId>0&&(k+=":"+g[v].meta.subId),'<sup class="footnote-ref"><a href="#fn'+S+'" id="fnref'+k+'">'+_+"</a></sup>"}function a(g,v,y){return(y.xhtmlOut?`<hr class="footnotes-sep" />
`:`<hr class="footnotes-sep">
`)+`<section class="footnotes">
<ol class="footnotes-list">
`}function u(){return`</ol>
</section>
`}function d(g,v,y,w,b){var S=b.rules.footnote_anchor_name(g,v,y,w,b);return g[v].meta.subId>0&&(S+=":"+g[v].meta.subId),'<li id="fn'+S+'" class="footnote-item">'}function f(){return`</li>
`}function m(g,v,y,w,b){var S=b.rules.footnote_anchor_name(g,v,y,w,b);return g[v].meta.subId>0&&(S+=":"+g[v].meta.subId),' <a href="#fnref'+S+'" class="footnote-backref">↩︎</a>'}e.exports=function(g){var v=g.helpers.parseLinkLabel,y=g.utils.isSpace;g.renderer.rules.footnote_ref=c,g.renderer.rules.footnote_block_open=a,g.renderer.rules.footnote_block_close=u,g.renderer.rules.footnote_open=d,g.renderer.rules.footnote_close=f,g.renderer.rules.footnote_anchor=m,g.renderer.rules.footnote_caption=i,g.renderer.rules.footnote_anchor_name=o,g.block.ruler.before("reference","footnote_def",function(w,b,S,_){var k,C,T,x,R,O,A,N,E,P,V,D=w.bMarks[b]+w.tShift[b],F=w.eMarks[b];if(D+4>F||w.src.charCodeAt(D)!==91||w.src.charCodeAt(D+1)!==94)return!1;for(R=D+2;R<F;R++){if(w.src.charCodeAt(R)===32)return!1;if(w.src.charCodeAt(R)===93)break}if(R===D+2||R+1>=F||w.src.charCodeAt(++R)!==58)return!1;if(_)return!0;for(R++,w.env.footnotes||(w.env.footnotes={}),w.env.footnotes.refs||(w.env.footnotes.refs={}),O=w.src.slice(D+2,R-2),w.env.footnotes.refs[":"+O]=-1,(A=new w.Token("footnote_reference_open","",1)).meta={label:O},A.level=w.level++,w.tokens.push(A),k=w.bMarks[b],C=w.tShift[b],T=w.sCount[b],x=w.parentType,V=R,N=E=w.sCount[b]+R-(w.bMarks[b]+w.tShift[b]);R<F&&(P=w.src.charCodeAt(R),y(P));)P===9?E+=4-E%4:E++,R++;return w.tShift[b]=R-V,w.sCount[b]=E-N,w.bMarks[b]=V,w.blkIndent+=4,w.parentType="footnote",w.sCount[b]<w.blkIndent&&(w.sCount[b]+=w.blkIndent),w.md.block.tokenize(w,b,S,!0),w.parentType=x,w.blkIndent-=4,w.tShift[b]=C,w.sCount[b]=T,w.bMarks[b]=k,(A=new w.Token("footnote_reference_close","",-1)).level=--w.level,w.tokens.push(A),!0},{alt:["paragraph","reference"]}),g.inline.ruler.after("image","footnote_inline",function(w,b){var S,_,k,C,T=w.posMax,x=w.pos;return!(x+2>=T)&&w.src.charCodeAt(x)===94&&w.src.charCodeAt(x+1)===91&&(S=x+2,!((_=v(w,x+1))<0)&&(b||(w.env.footnotes||(w.env.footnotes={}),w.env.footnotes.list||(w.env.footnotes.list=[]),k=w.env.footnotes.list.length,w.md.inline.parse(w.src.slice(S,_),w.md,w.env,C=[]),w.push("footnote_ref","",0).meta={id:k},w.env.footnotes.list[k]={content:w.src.slice(S,_),tokens:C}),w.pos=_+1,w.posMax=T,!0))}),g.inline.ruler.after("footnote_inline","footnote_ref",function(w,b){var S,_,k,C,T=w.posMax,x=w.pos;if(x+3>T||!w.env.footnotes||!w.env.footnotes.refs||w.src.charCodeAt(x)!==91||w.src.charCodeAt(x+1)!==94)return!1;for(_=x+2;_<T;_++){if(w.src.charCodeAt(_)===32||w.src.charCodeAt(_)===10)return!1;if(w.src.charCodeAt(_)===93)break}return _!==x+2&&!(_>=T)&&(_++,S=w.src.slice(x+2,_-1),w.env.footnotes.refs[":"+S]!==void 0&&(b||(w.env.footnotes.list||(w.env.footnotes.list=[]),w.env.footnotes.refs[":"+S]<0?(k=w.env.footnotes.list.length,w.env.footnotes.list[k]={label:S,count:0},w.env.footnotes.refs[":"+S]=k):k=w.env.footnotes.refs[":"+S],C=w.env.footnotes.list[k].count,w.env.footnotes.list[k].count++,w.push("footnote_ref","",0).meta={id:k,subId:C,label:S}),w.pos=_,w.posMax=T,!0))}),g.core.ruler.after("inline","footnote_tail",function(w){var b,S,_,k,C,T,x,R,O,A,N=!1,E={};if(w.env.footnotes&&(w.tokens=w.tokens.filter(function(P){return P.type==="footnote_reference_open"?(N=!0,O=[],A=P.meta.label,!1):P.type==="footnote_reference_close"?(N=!1,E[":"+A]=O,!1):(N&&O.push(P),!N)}),w.env.footnotes.list)){for(T=w.env.footnotes.list,x=new w.Token("footnote_block_open","",1),w.tokens.push(x),b=0,S=T.length;b<S;b++){for((x=new w.Token("footnote_open","",1)).meta={id:b,label:T[b].label},w.tokens.push(x),T[b].tokens?(R=[],(x=new w.Token("paragraph_open","p",1)).block=!0,R.push(x),(x=new w.Token("inline","",0)).children=T[b].tokens,x.content=T[b].content,R.push(x),(x=new w.Token("paragraph_close","p",-1)).block=!0,R.push(x)):T[b].label&&(R=E[":"+T[b].label]),R&&(w.tokens=w.tokens.concat(R)),C=w.tokens[w.tokens.length-1].type==="paragraph_close"?w.tokens.pop():null,k=T[b].count>0?T[b].count:1,_=0;_<k;_++)(x=new w.Token("footnote_anchor","",0)).meta={id:b,subId:_,label:T[b].label},w.tokens.push(x);C&&w.tokens.push(C),x=new w.Token("footnote_close","",-1),w.tokens.push(x)}x=new w.Token("footnote_block_close","",-1),w.tokens.push(x)}})}},function(e,t,r){e.exports=function(o){o.inline.ruler.before("emphasis","ins",function(i,c){var a,u,d,f,m=i.pos,g=i.src.charCodeAt(m);if(c||g!==43||(d=(u=i.scanDelims(i.pos,!0)).length,f=String.fromCharCode(g),d<2))return!1;for(d%2&&(i.push("text","",0).content=f,d--),a=0;a<d;a+=2)i.push("text","",0).content=f+f,i.delimiters.push({marker:g,jump:a,token:i.tokens.length-1,level:i.level,end:-1,open:u.can_open,close:u.can_close});return i.pos+=u.length,!0}),o.inline.ruler2.before("emphasis","ins",function(i){var c,a,u,d,f,m=[],g=i.delimiters,v=i.delimiters.length;for(c=0;c<v;c++)(u=g[c]).marker===43&&u.end!==-1&&(d=g[u.end],(f=i.tokens[u.token]).type="ins_open",f.tag="ins",f.nesting=1,f.markup="++",f.content="",(f=i.tokens[d.token]).type="ins_close",f.tag="ins",f.nesting=-1,f.markup="++",f.content="",i.tokens[d.token-1].type==="text"&&i.tokens[d.token-1].content==="+"&&m.push(d.token-1));for(;m.length;){for(a=(c=m.pop())+1;a<i.tokens.length&&i.tokens[a].type==="ins_close";)a++;c!==--a&&(f=i.tokens[a],i.tokens[a]=i.tokens[c],i.tokens[c]=f)}})}},function(e,t,r){e.exports=function(o){o.inline.ruler.before("emphasis","mark",function(i,c){var a,u,d,f,m=i.pos,g=i.src.charCodeAt(m);if(c||g!==61||(d=(u=i.scanDelims(i.pos,!0)).length,f=String.fromCharCode(g),d<2))return!1;for(d%2&&(i.push("text","",0).content=f,d--),a=0;a<d;a+=2)i.push("text","",0).content=f+f,i.delimiters.push({marker:g,jump:a,token:i.tokens.length-1,level:i.level,end:-1,open:u.can_open,close:u.can_close});return i.pos+=u.length,!0}),o.inline.ruler2.before("emphasis","mark",function(i){var c,a,u,d,f,m=[],g=i.delimiters,v=i.delimiters.length;for(c=0;c<v;c++)(u=g[c]).marker===61&&u.end!==-1&&(d=g[u.end],(f=i.tokens[u.token]).type="mark_open",f.tag="mark",f.nesting=1,f.markup="==",f.content="",(f=i.tokens[d.token]).type="mark_close",f.tag="mark",f.nesting=-1,f.markup="==",f.content="",i.tokens[d.token-1].type==="text"&&i.tokens[d.token-1].content==="="&&m.push(d.token-1));for(;m.length;){for(a=(c=m.pop())+1;a<i.tokens.length&&i.tokens[a].type==="mark_close";)a++;c!==--a&&(f=i.tokens[a],i.tokens[a]=i.tokens[c],i.tokens[c]=f)}})}},function(e,t){var r=!0,o=!1,i=!1;function c(f,m,g){var v=f.attrIndex(m),y=[m,g];v<0?f.attrPush(y):f.attrs[v]=y}function a(f,m){for(var g=f[m].level-1,v=m-1;v>=0;v--)if(f[v].level===g)return v;return-1}function u(f,m){return f[m].type==="inline"&&function(g){return g.type==="paragraph_open"}(f[m-1])&&function(g){return g.type==="list_item_open"}(f[m-2])&&function(g){return g.content.indexOf("[ ] ")===0||g.content.indexOf("[x] ")===0||g.content.indexOf("[X] ")===0}(f[m])}function d(f,m){if(f.children.unshift(function(v,y){var w=new y("html_inline","",0),b=r?' disabled="" ':"";return v.content.indexOf("[ ] ")===0?w.content='<input class="task-list-item-checkbox"'+b+'type="checkbox">':v.content.indexOf("[x] ")!==0&&v.content.indexOf("[X] ")!==0||(w.content='<input class="task-list-item-checkbox" checked=""'+b+'type="checkbox">'),w}(f,m)),f.children[1].content=f.children[1].content.slice(3),f.content=f.content.slice(3),o)if(i){f.children.pop();var g="task-item-"+Math.ceil(1e7*Math.random()-1e3);f.children[0].content=f.children[0].content.slice(0,-1)+' id="'+g+'">',f.children.push(function(v,y,w){var b=new w("html_inline","",0);return b.content='<label class="task-list-item-label" for="'+y+'">'+v+"</label>",b.attrs=[{for:y}],b}(f.content,g,m))}else f.children.unshift(function(v){var y=new v("html_inline","",0);return y.content="<label>",y}(m)),f.children.push(function(v){var y=new v("html_inline","",0);return y.content="</label>",y}(m))}e.exports=function(f,m){m&&(r=!m.enabled,o=!!m.label,i=!!m.labelAfter),f.core.ruler.after("inline","github-task-lists",function(g){for(var v=g.tokens,y=2;y<v.length;y++)u(v,y)&&(d(v[y],g.Token),c(v[y-2],"class","task-list-item"+(r?"":" enabled")),c(v[a(v,y-2)],"class","contains-task-list"))})}},function(e,t,r){e.exports=function(o,i,c){var a=(c=c||{}).marker||":",u=a.charCodeAt(0),d=a.length,f=c.validate||function(g){return g.trim().split(" ",2)[0]===i},m=c.render||function(g,v,y,w,b){return g[v].nesting===1&&g[v].attrPush(["class",i]),b.renderToken(g,v,y,w,b)};o.block.ruler.before("fence","container_"+i,function(g,v,y,w){var b,S,_,k,C,T,x,R,O=!1,A=g.bMarks[v]+g.tShift[v],N=g.eMarks[v];if(u!==g.src.charCodeAt(A))return!1;for(b=A+1;b<=N&&a[(b-A)%d]===g.src[b];b++);if((_=Math.floor((b-A)/d))<3||(b-=(b-A)%d,k=g.src.slice(A,b),C=g.src.slice(b,N),!f(C)))return!1;if(w)return!0;for(S=v;!(++S>=y)&&!((A=g.bMarks[S]+g.tShift[S])<(N=g.eMarks[S])&&g.sCount[S]<g.blkIndent);)if(u===g.src.charCodeAt(A)&&!(g.sCount[S]-g.blkIndent>=4)){for(b=A+1;b<=N&&a[(b-A)%d]===g.src[b];b++);if(!(Math.floor((b-A)/d)<_||(b-=(b-A)%d,(b=g.skipSpaces(b))<N))){O=!0;break}}return x=g.parentType,R=g.lineMax,g.parentType="container",g.lineMax=S,(T=g.push("container_"+i+"_open","div",1)).markup=k,T.block=!0,T.info=C,T.map=[v,S],g.md.block.tokenize(g,v+1,S),(T=g.push("container_"+i+"_close","div",-1)).markup=g.src.slice(A,b),T.block=!0,g.parentType=x,g.lineMax=R,g.line=S+(O?1:0),!0},{alt:["paragraph","reference","blockquote","list"]}),o.renderer.rules["container_"+i+"_open"]=m,o.renderer.rules["container_"+i+"_close"]=m}},function(e,t,r){e.exports=function(o){var i,c=/^@\[toc\](?:\((?:\s+)?([^\)]+)(?:\s+)?\)?)?(?:\s+?)?$/im,a=function(u){return u.replace(/[^\w\s]/gi,"").split(" ").join("_")};o.renderer.rules.heading_open=function(u,d){var f=u[d].tag,m=u[d+1];return m.type==="inline"?"<"+f+'><a id="'+(a(m.content)+"_"+m.map[0])+'"></a>':"</h1>"},o.renderer.rules.toc_open=function(u,d){return""},o.renderer.rules.toc_close=function(u,d){return""},o.renderer.rules.toc_body=function(u,d){for(var f=[],m=i.tokens,g=m.length,v=0;v<g;v++)if(m[v].type==="heading_close"){var y=m[v],w=m[v-1];w.type==="inline"&&f.push({level:+y.tag.substr(1,1),anchor:a(w.content)+"_"+w.map[0],content:w.content})}var b=0,S=f.map(function(_){var k=[];if(_.level>b)for(var C=_.level-b,T=0;T<C;T++)k.push("<ul>"),b++;else if(_.level<b)for(C=b-_.level,T=0;T<C;T++)k.push("</ul>"),b--;return(k=k.concat(['<li><a href="#',_.anchor,'">',_.content,"</a></li>"])).join("")});return"<h3>"+u[d].content+"</h3>"+S.join("")+new Array(b+1).join("</ul>")},o.core.ruler.push("grab_state",function(u){i=u}),o.inline.ruler.after("emphasis","toc",function(u,d){for(;u.src.indexOf(`
`)>=0&&u.src.indexOf(`
`)<u.src.indexOf("@[toc]");)u.tokens.slice(-1)[0].type==="softbreak"&&(u.src=u.src.split(`
`).slice(1).join(`
`),u.pos=0);var f;if(u.src.charCodeAt(u.pos)!==64||u.src.charCodeAt(u.pos+1)!==91)return!1;var m=c.exec(u.src);if(!m||(m=m.filter(function(w){return w})).length<1||d)return!1;(f=u.push("toc_open","toc",1)).markup="@[toc]",f=u.push("toc_body","",0);var g="Table of Contents";m.length>1&&(g=m.pop()),f.content=g,f=u.push("toc_close","toc",-1);var v=0,y=u.src.indexOf(`
`);return v=y!==-1?u.pos+y:u.pos+u.posMax+1,u.pos=v,!0})}},function(e,t){e.exports=function(r,o){(o=o||{}).highlighted===void 0&&(o.highlighted=!0),o.hljs===void 0&&(o.hljs="auto"),typeof o.langCheck!="function"&&(o.langCheck=function(){}),r.options.highlight=function(i,c){var a=o.hljs;if(o.hljs==="auto"&&(a=window.hljs),o.highlighted&&c&&a){if(a.getLanguage(c))return'<pre><div class="hljs"><code class="'+r.options.langPrefix+c+'">'+a.highlight(c,i,!0).value+"</code></div></pre>";typeof o.langCheck=="function"&&o.langCheck(c)}return'<pre><code class="'+r.options.langPrefix+c+'">'+r.utils.escapeHtml(i)+"</code></pre>"}}},function(e,t,r){var o=null;function i(u,d){var f,m,g=u.posMax,v=!0,y=!0;return f=d>0?u.src.charCodeAt(d-1):-1,m=d+1<=g?u.src.charCodeAt(d+1):-1,(f===32||f===9||m>=48&&m<=57)&&(y=!1),m!==32&&m!==9||(v=!1),{can_open:v,can_close:y}}function c(u,d){if(!o&&window.katex&&(o=window.katex),!o)return!1;var f,m,g,v;if(u.src[u.pos]!=="$")return!1;if(!i(u,u.pos).can_open)return d||(u.pending+="$"),u.pos+=1,!0;for(m=f=u.pos+1;(m=u.src.indexOf("$",m))!==-1;){for(v=m-1;u.src[v]==="\\";)v-=1;if((m-v)%2==1)break;m+=1}return m===-1?(d||(u.pending+="$"),u.pos=f,!0):m-f==0?(d||(u.pending+="$$"),u.pos=f+1,!0):i(u,m).can_close?(d||((g=u.push("math_inline","math",0)).markup="$",g.content=u.src.slice(f,m)),u.pos=m+1,!0):(d||(u.pending+="$"),u.pos=f,!0)}function a(u,d,f,m){if(!o&&window.katex&&(o=window.katex),!o)return!1;var g,v,y,w,b,S=!1,_=u.bMarks[d]+u.tShift[d],k=u.eMarks[d];if(_+2>k||u.src.slice(_,_+2)!=="$$")return!1;if(_+=2,g=u.src.slice(_,k),m)return!0;for(g.trim().slice(-2)==="$$"&&(g=g.trim().slice(0,-2),S=!0),y=d;!S&&!(++y>=f)&&!((_=u.bMarks[y]+u.tShift[y])<(k=u.eMarks[y])&&u.tShift[y]<u.blkIndent);)u.src.slice(_,k).trim().slice(-2)==="$$"&&(w=u.src.slice(0,k).lastIndexOf("$$"),v=u.src.slice(_,w),S=!0);return u.line=y+1,(b=u.push("math_block","math",0)).block=!0,b.content=(g&&g.trim()?g+`
`:"")+u.getLines(d+1,y,u.tShift[d],!0)+(v&&v.trim()?v:""),b.map=[d,u.line],b.markup="$$",!0}e.exports=function(u,d){d=d||{},u.inline.ruler.after("escape","math_inline",c),u.block.ruler.after("blockquote","math_block",a,{alt:["paragraph","reference","blockquote","list"]}),u.renderer.rules.math_inline=function(f,m){return function(g){!o&&window.katex&&(o=window.katex),d.displayMode=!1;try{return o.renderToString(g,d)}catch(v){return d.throwOnError&&console.log(v),g}}(f[m].content)},u.renderer.rules.math_block=function(f,m){return function(g){!o&&window.katex&&(o=window.katex),d.displayMode=!0;try{return"<p>"+o.renderToString(g,d)+"</p>"}catch(v){return d.throwOnError&&console.log(v),g}}(f[m].content)+`
`}}},function(e,t){e.exports=function(r,o){r.image_add=function(c,a){r.__image instanceof Object||(r.__image={}),r.__image[c]=a},r.image_del=function(c){r.__image instanceof Object||(r.__image={}),delete r.__image[c]};var i=r.renderer.rules.image;r.renderer.rules.image=function(c,a,u,d,f){var m=c[a].attrs;if(r.__image instanceof Object){for(var g=0;g<m.length;g++)if(m[g][0]=="src"&&r.__image.hasOwnProperty(c[a].attrs[g][1])){m.push(["rel",m[g][1]]),m[g][1]=r.__image[c[a].attrs[g][1]];break}}return i(c,a,u,d,f)}}},function(e,t,r){r(71)},function(e,t,r){(t=r(43)(!1)).push([e.i,".op-icon.dropdown-wrapper.dropdown[data-v-218640b4]{position:relative}.op-icon.dropdown-wrapper.dropdown[type=button][data-v-218640b4]{-webkit-appearance:unset}.op-icon.dropdown-wrapper.dropdown .popup-dropdown[data-v-218640b4]{position:absolute;display:block;background:#fff;top:32px;left:-45px;min-width:130px;z-index:1600;border:1px solid #ebeef5;border-radius:4px;box-shadow:0 2px 12px 0 rgba(0,0,0,0.1)}.op-icon.dropdown-wrapper.dropdown .popup-dropdown .dropdown-item[data-v-218640b4]:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.op-icon.dropdown-wrapper.dropdown .popup-dropdown .dropdown-item[data-v-218640b4]:last-child{border-bottom-left-radius:3px;border-bottom-right-radius:3px}.op-icon.dropdown-wrapper.dropdown .popup-dropdown.op-header[data-v-218640b4]{left:-30px;min-width:90px}.op-icon.dropdown-wrapper.dropdown .popup-dropdown.fade-enter-active[data-v-218640b4],.op-icon.dropdown-wrapper.dropdown .popup-dropdown.fade-leave-active[data-v-218640b4]{opacity:1}.op-icon.dropdown-wrapper.dropdown .popup-dropdown.fade-enter[data-v-218640b4],.op-icon.dropdown-wrapper.dropdown .popup-dropdown.fade-leave-active[data-v-218640b4]{opacity:0}.op-icon.dropdown-wrapper.dropdown .popup-dropdown.transition[data-v-218640b4],.op-icon.dropdown-wrapper.dropdown .popup-dropdown.transition .dropdown-item[data-v-218640b4]{transition:all .2s linear 0s}.op-icon.dropdown-wrapper.dropdown .dropdown-item[data-v-218640b4]{height:40px;line-height:40px;font-size:14px;color:#606266;position:relative}.op-icon.dropdown-wrapper.dropdown .dropdown-item[data-v-218640b4]:hover{color:#303133;background-color:#e9e9eb}.op-icon.dropdown-wrapper.dropdown .dropdown-item input[data-v-218640b4]{position:absolute;font-size:100px;right:0;top:0;opacity:0;cursor:pointer}.op-icon.dropdown-wrapper.dropdown .dropdown-images[data-v-218640b4]{box-sizing:border-box}.op-icon.dropdown-wrapper.dropdown .dropdown-images button[data-v-218640b4]{position:absolute;top:-1px;right:5px;font-size:14px}.op-icon.dropdown-wrapper.dropdown .dropdown-images button[data-v-218640b4]:hover{color:#f56c6c;background-color:transparent}.op-icon.dropdown-wrapper.dropdown .dropdown-images span[data-v-218640b4]{display:inline-block;width:80px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.op-icon.dropdown-wrapper.dropdown .dropdown-images:hover .image-show[data-v-218640b4]{display:block !important}.op-icon.dropdown-wrapper.dropdown .dropdown-images .image-show[data-v-218640b4]{display:none;position:absolute;left:-128px;top:0;width:120px;height:90px;object-fit:contain;border:1px solid #f2f6fc}.op-icon.dropdown-wrapper.dropdown .dropdown-images .image-show.transition[data-v-218640b4]{transition:all .2s linear 0s}.op-icon.dropdown-wrapper.dropdown .dropdown-images.transition[data-v-218640b4]{transition:all .2s linear 0s}.add-image-link-wrapper[data-v-218640b4]{position:fixed;left:0;right:0;top:0;bottom:0;background:rgba(0,0,0,0.7);z-index:1600;transition:all .1s linear 0s}.add-image-link-wrapper.fade-enter-active[data-v-218640b4],.add-image-link-wrapper.fade-leave-active[data-v-218640b4]{opacity:1}.add-image-link-wrapper.fade-enter[data-v-218640b4],.add-image-link-wrapper.fade-leave-active[data-v-218640b4]{opacity:0}.add-image-link-wrapper .add-image-link[data-v-218640b4]{position:fixed;box-sizing:border-box;text-align:center;width:24%;left:38%;height:auto;padding:40px;top:25%;transition:all .1s linear 0s;z-index:3;background:#fff;border-radius:2px}@media only screen and (max-width:1500px){.add-image-link-wrapper .add-image-link[data-v-218640b4]{width:34%;left:33%}}@media only screen and (max-width:1000px){.add-image-link-wrapper .add-image-link[data-v-218640b4]{width:50%;left:25%}}@media only screen and (max-width:600px){.add-image-link-wrapper .add-image-link[data-v-218640b4]{width:80%;left:10%}}.add-image-link-wrapper .add-image-link i[data-v-218640b4]{font-size:24px;position:absolute;right:8px;top:6px;color:rgba(0,0,0,0.7);cursor:pointer}.add-image-link-wrapper .add-image-link .title[data-v-218640b4]{font-size:20px;margin-bottom:30px;margin-top:10px;font-weight:500 !important}.add-image-link-wrapper .add-image-link .input-wrapper[data-v-218640b4]{margin-top:10px;width:80%;border:1px solid #eeece8;text-align:left;margin-left:10%;height:35px}.add-image-link-wrapper .add-image-link .input-wrapper input[data-v-218640b4]{height:32px;line-height:32px;font-size:15px;width:90%;margin-left:8px;border:none;outline:none}.add-image-link-wrapper .add-image-link .op-btn[data-v-218640b4]{width:100px;height:35px;display:inline-block;margin-top:30px;cursor:pointer;text-align:center;line-height:35px;opacity:.9;border-radius:2px;letter-spacing:1px;font-size:15px}.add-image-link-wrapper .add-image-link .op-btn.sure[data-v-218640b4]{background:#2185d0;color:#fff;margin-left:5%}.add-image-link-wrapper .add-image-link .op-btn.sure[data-v-218640b4]:hover{opacity:1}.add-image-link-wrapper .add-image-link .op-btn.cancel[data-v-218640b4]{border:1px solid #bcbcbc;color:#bcbcbc}.add-image-link-wrapper .add-image-link .op-btn.cancel[data-v-218640b4]:hover{color:#000}",""]),e.exports=t},function(e,t,r){r.r(t);var o=r(78),i=r(24);for(var c in i)["default"].indexOf(c)<0&&function(d){r.d(t,d,function(){return i[d]})}(c);r(217);var a=r(3);const u=r.n(a)()(i.default,[["render",o.a]]);t.default=u},function(e,t,r){r(73)},function(e,t,r){(t=r(43)(!1)).push([e.i,'.auto-textarea-wrapper{position:relative;width:100%;margin:0;padding:0;line-height:normal}.auto-textarea-wrapper .auto-textarea-block{display:block;white-space:pre-wrap;word-wrap:break-word !important;visibility:hidden;overflow:hidden;margin:0;padding:0;box-sizing:border-box;font-size:100%}.auto-textarea-wrapper .auto-textarea-input{font-family:Menlo,"Ubuntu Mono",Consolas,"Courier New","Microsoft Yahei","Hiragino Sans GB","WenQuanYi Micro Hei",sans-serif;position:absolute;width:100%;height:100%;top:0;left:0;margin:0;padding:0;overflow-y:hidden;color:#2c3e50}.auto-textarea-wrapper .auto-textarea-input.no-border{outline:0 none;border:none !important}.auto-textarea-wrapper .auto-textarea-input.no-resize{resize:none}',""]),e.exports=t},function(e,t,r){r(74)},function(e,t,r){(t=r(43)(!1)).push([e.i,"textarea:disabled{background-color:#fff}.v-note-wrapper{position:relative;min-width:300px;min-height:300px;display:flex;flex-direction:column;background-color:#fff;z-index:1500;text-align:left;border:1px solid #f2f6fc;border-radius:4px}.v-note-wrapper.fullscreen{position:fixed;left:0;right:0;bottom:0;top:0;margin:0;height:auto;z-index:1501}.v-note-wrapper .v-note-op{padding:1px;width:100%;display:flex;white-space:pre-line;flex:none;min-height:40px;user-select:none;border-bottom:1px solid #f2f6fc;border-radius:4px 4px 0 0;background-color:#fff;z-index:1}.v-note-wrapper .v-note-op .v-left-item,.v-note-wrapper .v-note-op .v-right-item{flex:1;min-height:40px;box-sizing:border-box}.v-note-wrapper .v-note-op .v-left-item .op-icon-divider,.v-note-wrapper .v-note-op .v-right-item .op-icon-divider{height:40px;border-left:1px solid #e5e5e5;margin:0 6px 0 4px}.v-note-wrapper .v-note-op .v-left-item .op-icon,.v-note-wrapper .v-note-op .v-right-item .op-icon{box-sizing:border-box;display:inline-block;cursor:pointer;height:28px;width:28px;margin:6px 0 5px 0;font-size:14px;padding:4.5px 6px 5px 3.5px;color:#757575;border-radius:5px;text-align:center;background:none;border:none;outline:none;line-height:1}.v-note-wrapper .v-note-op .v-left-item .op-icon.dropdown-wrapper,.v-note-wrapper .v-note-op .v-right-item .op-icon.dropdown-wrapper{line-height:18px}.v-note-wrapper .v-note-op .v-left-item .op-icon.selected,.v-note-wrapper .v-note-op .v-right-item .op-icon.selected{color:rgba(0,0,0,0.8);background:#eaeaea}.v-note-wrapper .v-note-op .v-left-item .op-icon:hover,.v-note-wrapper .v-note-op .v-right-item .op-icon:hover{color:rgba(0,0,0,0.8);background:#e9e9eb}.v-note-wrapper .v-note-op .v-left-item.transition .op-icon,.v-note-wrapper .v-note-op .v-right-item.transition .op-icon{transition:all .2s linear 0s}.v-note-wrapper .v-note-op .v-right-item{text-align:right;padding-right:6px;max-width:30%}.v-note-wrapper .v-note-op .v-left-item{text-align:left;padding-left:6px}.v-note-wrapper .v-note-panel{position:relative;border-top:none;display:flex;flex:1;width:100%;box-sizing:border-box;overflow:hidden}.v-note-wrapper .v-note-panel .v-note-edit.divarea-wrapper{flex:0 0 50%;width:50%;padding:0;overflow-y:scroll;overflow-x:hidden;box-sizing:border-box;cursor:text;border-bottom-left-radius:4px}.v-note-wrapper .v-note-panel .v-note-edit.divarea-wrapper.scroll-style::-webkit-scrollbar{width:6px;background-color:#e5e5e5}.v-note-wrapper .v-note-panel .v-note-edit.divarea-wrapper.scroll-style::-webkit-scrollbar-thumb{background-color:#b7b7b7;border-radius:4px}.v-note-wrapper .v-note-panel .v-note-edit.divarea-wrapper.scroll-style::-webkit-scrollbar-thumb:hover{background-color:#a1a1a1}.v-note-wrapper .v-note-panel .v-note-edit.divarea-wrapper.scroll-style::-webkit-scrollbar-thumb:active{background-color:#a1a1a1}.v-note-wrapper .v-note-panel .v-note-edit.divarea-wrapper.scroll-style::-webkit-scrollbar-track{-webkit-box-shadow:0 0 0 #808080 inset}.v-note-wrapper .v-note-panel .v-note-edit.divarea-wrapper.scroll-style-border-radius::-webkit-scrollbar{border-bottom-right-radius:4px}.v-note-wrapper .v-note-panel .v-note-edit.divarea-wrapper.transition{transition:all .2s linear 0s}.v-note-wrapper .v-note-panel .v-note-edit.divarea-wrapper.single-edit{width:100%;flex:0 0 100%;overflow-y:auto}.v-note-wrapper .v-note-panel .v-note-edit.divarea-wrapper.single-show{width:0;flex:0 0 0;display:none}.v-note-wrapper .v-note-panel .v-note-edit.divarea-wrapper .content-div{width:100%;padding:20px 25px;box-sizing:border-box;outline:0 none;border:none !important;color:#2c3e50;font-size:16px}.v-note-wrapper .v-note-panel .v-note-edit.divarea-wrapper .content-input-wrapper{width:100%;padding:8px 25px 15px 25px}.v-note-wrapper .v-note-panel .v-note-show{flex:0 0 50%;width:50%;overflow-y:auto;padding:0 0;transition:all .2s linear 0s}.v-note-wrapper .v-note-panel .v-note-show.single-show{flex:0 0 100%;width:100%}.v-note-wrapper .v-note-panel .v-note-show .v-show-content,.v-note-wrapper .v-note-panel .v-note-show .v-show-content-html{width:100%;height:100%;padding:8px 25px 15px 25px;overflow-y:auto;box-sizing:border-box;overflow-x:hidden}.v-note-wrapper .v-note-panel .v-note-show .v-show-content.scroll-style::-webkit-scrollbar,.v-note-wrapper .v-note-panel .v-note-show .v-show-content-html.scroll-style::-webkit-scrollbar{width:6px;background-color:#e5e5e5}.v-note-wrapper .v-note-panel .v-note-show .v-show-content.scroll-style::-webkit-scrollbar-thumb,.v-note-wrapper .v-note-panel .v-note-show .v-show-content-html.scroll-style::-webkit-scrollbar-thumb{background-color:#b7b7b7;border-radius:4px}.v-note-wrapper .v-note-panel .v-note-show .v-show-content.scroll-style::-webkit-scrollbar-thumb:hover,.v-note-wrapper .v-note-panel .v-note-show .v-show-content-html.scroll-style::-webkit-scrollbar-thumb:hover{background-color:#a1a1a1}.v-note-wrapper .v-note-panel .v-note-show .v-show-content.scroll-style::-webkit-scrollbar-thumb:active,.v-note-wrapper .v-note-panel .v-note-show .v-show-content-html.scroll-style::-webkit-scrollbar-thumb:active{background-color:#a1a1a1}.v-note-wrapper .v-note-panel .v-note-show .v-show-content.scroll-style::-webkit-scrollbar-track,.v-note-wrapper .v-note-panel .v-note-show .v-show-content-html.scroll-style::-webkit-scrollbar-track{-webkit-box-shadow:0 0 0 #808080 inset}.v-note-wrapper .v-note-panel .v-note-show .v-show-content.scroll-style-border-radius::-webkit-scrollbar,.v-note-wrapper .v-note-panel .v-note-show .v-show-content-html.scroll-style-border-radius::-webkit-scrollbar{border-bottom-right-radius:4px}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper{display:flex;position:absolute;width:250px;right:0;top:0;bottom:0;height:100%;flex-direction:column;background-color:rgba(255,255,255,0.98);border-left:1px solid #f2f6fc;border-right:1px solid #f2f6fc}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper.transition{transition:all .1s linear 0s}@media only screen and (max-width:768px){.v-note-wrapper .v-note-panel .v-note-navigation-wrapper{width:50%}}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper.slideTop-enter-active,.v-note-wrapper .v-note-panel .v-note-navigation-wrapper.slideTop-leave-active{height:100%}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper.slideTop-enter,.v-note-wrapper .v-note-panel .v-note-navigation-wrapper.slideTop-leave-active{height:0}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-title{height:50px;width:100%;border-bottom:1px solid #f2f6fc;flex:none;line-height:50px;font-size:16px;box-sizing:border-box;padding:0 12px 0 18px}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-title .v-note-navigation-close{float:right;color:#606266;font-size:18px;cursor:pointer}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-title .v-note-navigation-close:hover{color:#303133}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content{overflow-y:auto;flex:1;padding:8px 0}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content.scroll-style::-webkit-scrollbar{width:6px;background-color:#e5e5e5}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content.scroll-style::-webkit-scrollbar-thumb{background-color:#b7b7b7;border-radius:4px}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content.scroll-style::-webkit-scrollbar-thumb:hover{background-color:#a1a1a1}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content.scroll-style::-webkit-scrollbar-thumb:active{background-color:#a1a1a1}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content.scroll-style::-webkit-scrollbar-track{-webkit-box-shadow:0 0 0 #808080 inset}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content.scroll-style-border-radius::-webkit-scrollbar{border-bottom-right-radius:4px}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content h1,.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content h2,.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content h3,.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content h4,.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content h5,.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content h6{margin:2px 0;font-weight:500;font-size:17px;color:#2185d0;cursor:pointer;line-height:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 12px;border-bottom:none}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content h1:hover,.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content h2:hover,.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content h3:hover,.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content h4:hover,.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content h5:hover,.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content h6:hover{color:#483d8b;text-decoration-line:underline}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content h2{padding-left:27px;font-size:17px}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content h3{padding-left:42px;font-size:17px}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content h4{padding-left:58px;font-size:15px}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content h5{padding-left:72px;font-size:15px}.v-note-wrapper .v-note-panel .v-note-navigation-wrapper .v-note-navigation-content h6{padding-left:87px;font-size:15px}.v-note-wrapper .v-note-read-model{position:relative;display:none;width:100%;height:100%;background:#fbfbfb;padding:30px 8% 50px 8%;overflow-y:auto;box-sizing:border-box}.v-note-wrapper .v-note-read-model.scroll-style::-webkit-scrollbar{width:6px;background-color:#e5e5e5}.v-note-wrapper .v-note-read-model.scroll-style::-webkit-scrollbar-thumb{background-color:#b7b7b7;border-radius:4px}.v-note-wrapper .v-note-read-model.scroll-style::-webkit-scrollbar-thumb:hover{background-color:#a1a1a1}.v-note-wrapper .v-note-read-model.scroll-style::-webkit-scrollbar-thumb:active{background-color:#a1a1a1}.v-note-wrapper .v-note-read-model.scroll-style::-webkit-scrollbar-track{-webkit-box-shadow:0 0 0 #808080 inset}.v-note-wrapper .v-note-read-model.scroll-style-border-radius::-webkit-scrollbar{border-bottom-right-radius:4px}.v-note-wrapper .v-note-read-model.show{display:block}.v-note-wrapper.shadow{border:none}.v-note-help-wrapper{position:fixed;left:0;right:0;top:0;bottom:0;background:rgba(0,0,0,0.7);z-index:1600;transition:all .1s linear 0s}.v-note-help-wrapper.fade-enter-active,.v-note-help-wrapper.fade-leave-active{opacity:1}.v-note-help-wrapper.fade-enter,.v-note-help-wrapper.fade-leave-active{opacity:0}.v-note-help-wrapper .v-note-help-content{position:relative;width:60%;max-width:800px;margin:30px auto;height:90%;min-width:320px;transition:all .1s linear 0s;z-index:3;border:1px solid #f2f6fc}.v-note-help-wrapper .v-note-help-content.shadow{border:none;box-shadow:0 0 5px rgba(0,0,0,0.157),0 0 5px rgba(0,0,0,0.227)}.v-note-help-wrapper .v-note-help-content i{font-size:28px;position:absolute;right:15px;top:8px;color:rgba(0,0,0,0.7);cursor:pointer}.v-note-help-wrapper .v-note-help-content i:hover{color:#000}.v-note-help-wrapper .v-note-help-content .v-note-help-show{width:100%;height:100%;font-size:18px;background:#fbfbfb;overflow-y:auto;padding:2% 6%}.v-note-help-wrapper .v-note-help-content .v-note-help-show.scroll-style::-webkit-scrollbar{width:6px;background-color:#e5e5e5}.v-note-help-wrapper .v-note-help-content .v-note-help-show.scroll-style::-webkit-scrollbar-thumb{background-color:#b7b7b7;border-radius:4px}.v-note-help-wrapper .v-note-help-content .v-note-help-show.scroll-style::-webkit-scrollbar-thumb:hover{background-color:#a1a1a1}.v-note-help-wrapper .v-note-help-content .v-note-help-show.scroll-style::-webkit-scrollbar-thumb:active{background-color:#a1a1a1}.v-note-help-wrapper .v-note-help-content .v-note-help-show.scroll-style::-webkit-scrollbar-track{-webkit-box-shadow:0 0 0 #808080 inset}.v-note-help-wrapper .v-note-help-content .v-note-help-show.scroll-style-border-radius::-webkit-scrollbar{border-bottom-right-radius:4px}.v-note-img-wrapper{position:fixed;display:flex;justify-content:center;align-items:center;left:0;right:0;top:0;bottom:0;background:rgba(0,0,0,0.7);z-index:1600;transition:all .1s linear 0s}.v-note-img-wrapper.fade-enter-active,.v-note-img-wrapper.fade-leave-active{opacity:1}.v-note-img-wrapper.fade-enter,.v-note-img-wrapper.fade-leave-active{opacity:0}.v-note-img-wrapper img{flex:0 0 auto;z-index:3}.v-note-img-wrapper i{font-size:28px;position:absolute;right:15px;top:8px;color:rgba(255,255,255,0.7);cursor:pointer}.v-note-img-wrapper i:hover{color:#fff}",""]),e.exports=t},function(e,t,r){r(233)},function(e,t){},,,,,,,,,function(e,t){},,function(e,t){}])})})(mavonEditor$1);var mavonEditorExports=mavonEditor$1.exports;const mavonEditor=getDefaultExportFromCjs(mavonEditorExports);(function e(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))o(i);new MutationObserver(i=>{for(const c of i)if(c.type==="childList")for(const a of c.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&o(a)}).observe(document,{childList:!0,subtree:!0});function r(i){const c={};return i.integrity&&(c.integrity=i.integrity),i.referrerPolicy&&(c.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?c.credentials="include":i.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function o(i){if(i.ep)return;i.ep=!0;const c=r(i);fetch(i.href,c)}})();const aliases={collapse:"fas fa-chevron-up",complete:"fas fa-check",cancel:"fas fa-times-circle",close:"fas fa-times",delete:"fas fa-times-circle",clear:"fas fa-times-circle",success:"fas fa-check-circle",info:"fas fa-info-circle",warning:"fas fa-exclamation",error:"fas fa-exclamation-triangle",prev:"fas fa-chevron-left",next:"fas fa-chevron-right",checkboxOn:"fas fa-check-square",checkboxOff:"far fa-square",checkboxIndeterminate:"fas fa-minus-square",delimiter:"fas fa-circle",sortAsc:"fas fa-arrow-up",sortDesc:"fas fa-arrow-down",expand:"fas fa-chevron-down",menu:"fas fa-bars",subgroup:"fas fa-caret-down",dropdown:"fas fa-caret-down",radioOn:"far fa-dot-circle",radioOff:"far fa-circle",edit:"fas fa-edit",ratingEmpty:"far fa-star",ratingFull:"fas fa-star",ratingHalf:"fas fa-star-half",loading:"fas fa-sync",first:"fas fa-step-backward",last:"fas fa-step-forward",unfold:"fas fa-arrows-alt-v",file:"fas fa-paperclip",plus:"fas fa-plus",minus:"fas fa-minus",calendar:"fas fa-calendar",treeviewCollapse:"fas fa-caret-down",treeviewExpand:"fas fa-caret-right",eyeDropper:"fas fa-eye-dropper"},fa={component:VClassIcon},firstDay={"001":1,AD:1,AE:6,AF:6,AG:0,AI:1,AL:1,AM:1,AN:1,AR:1,AS:0,AT:1,AU:1,AX:1,AZ:1,BA:1,BD:0,BE:1,BG:1,BH:6,BM:1,BN:1,BR:0,BS:0,BT:0,BW:0,BY:1,BZ:0,CA:0,CH:1,CL:1,CM:1,CN:1,CO:0,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DM:0,DO:0,DZ:6,EC:1,EE:1,EG:6,ES:1,ET:0,FI:1,FJ:1,FO:1,FR:1,GB:1,"GB-alt-variant":0,GE:1,GF:1,GP:1,GR:1,GT:0,GU:0,HK:0,HN:0,HR:1,HU:1,ID:0,IE:1,IL:0,IN:0,IQ:6,IR:6,IS:1,IT:1,JM:0,JO:6,JP:0,KE:0,KG:1,KH:0,KR:0,KW:6,KZ:1,LA:0,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MH:0,MK:1,MM:0,MN:1,MO:0,MQ:1,MT:0,MV:5,MX:0,MY:1,MZ:0,NI:0,NL:1,NO:1,NP:0,NZ:1,OM:6,PA:0,PE:0,PH:0,PK:0,PL:1,PR:0,PT:0,PY:0,QA:6,RE:1,RO:1,RS:1,RU:1,SA:0,SD:6,SE:1,SG:0,SI:1,SK:1,SM:1,SV:0,SY:6,TH:0,TJ:1,TM:1,TR:1,TT:0,TW:0,UA:1,UM:0,US:0,UY:1,UZ:1,VA:1,VE:0,VI:0,VN:1,WS:0,XK:1,YE:0,ZA:0,ZW:0};function getWeekArray(e,t){const r=[];let o=[];const i=startOfMonth(e),c=endOfMonth(e),a=(i.getDay()-firstDay[t.slice(-2).toUpperCase()]+7)%7,u=(c.getDay()-firstDay[t.slice(-2).toUpperCase()]+7)%7;for(let d=0;d<a;d++){const f=new Date(i);f.setDate(f.getDate()-(a-d)),o.push(f)}for(let d=1;d<=c.getDate();d++){const f=new Date(e.getFullYear(),e.getMonth(),d);o.push(f),o.length===7&&(r.push(o),o=[])}for(let d=1;d<7-u;d++){const f=new Date(c);f.setDate(f.getDate()+d),o.push(f)}return o.length>0&&r.push(o),r}function startOfWeek(e){const t=new Date(e);for(;t.getDay()!==0;)t.setDate(t.getDate()-1);return t}function endOfWeek(e){const t=new Date(e);for(;t.getDay()!==6;)t.setDate(t.getDate()+1);return t}function startOfMonth(e){return new Date(e.getFullYear(),e.getMonth(),1)}function endOfMonth(e){return new Date(e.getFullYear(),e.getMonth()+1,0)}function parseLocalDate(e){const t=e.split("-").map(Number);return new Date(t[0],t[1]-1,t[2])}const _YYYMMDD=/^([12]\d{3}-([1-9]|0[1-9]|1[0-2])-([1-9]|0[1-9]|[12]\d|3[01]))$/;function date(e){if(e==null)return new Date;if(e instanceof Date)return e;if(typeof e=="string"){let t;if(_YYYMMDD.test(e))return parseLocalDate(e);if(t=Date.parse(e),!isNaN(t))return new Date(t)}return null}const sundayJanuarySecond2000=new Date(2e3,0,2);function getWeekdays(e){const t=firstDay[e.slice(-2).toUpperCase()];return createRange(7).map(r=>{const o=new Date(sundayJanuarySecond2000);return o.setDate(sundayJanuarySecond2000.getDate()+t+r),new Intl.DateTimeFormat(e,{weekday:"narrow"}).format(o)})}function format(e,t,r,o){const i=date(e)??new Date,c=o==null?void 0:o[t];if(typeof c=="function")return c(i,t,r);let a={};switch(t){case"fullDateWithWeekday":a={weekday:"long",day:"numeric",month:"long",year:"numeric"};break;case"hours12h":a={hour:"numeric",hour12:!0};break;case"normalDateWithWeekday":a={weekday:"short",day:"numeric",month:"short"};break;case"keyboardDate":a={day:"2-digit",month:"2-digit",year:"numeric"};break;case"monthAndDate":a={month:"long",day:"numeric"};break;case"monthAndYear":a={month:"long",year:"numeric"};break;case"month":a={month:"long"};break;case"monthShort":a={month:"short"};break;case"dayOfMonth":return new Intl.NumberFormat(r).format(i.getDate());case"shortDate":a={year:"2-digit",month:"numeric",day:"numeric"};break;case"weekdayShort":a={weekday:"short"};break;case"year":a={year:"numeric"};break;default:a=c??{timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(r,a).format(i)}function toISO(e,t){const r=e.toJsDate(t),o=r.getFullYear(),i=padStart$1(String(r.getMonth()+1),2,"0"),c=padStart$1(String(r.getDate()),2,"0");return`${o}-${i}-${c}`}function parseISO(e){const[t,r,o]=e.split("-").map(Number);return new Date(t,r-1,o)}function addMinutes(e,t){const r=new Date(e);return r.setMinutes(r.getMinutes()+t),r}function addHours(e,t){const r=new Date(e);return r.setHours(r.getHours()+t),r}function addDays(e,t){const r=new Date(e);return r.setDate(r.getDate()+t),r}function addWeeks(e,t){const r=new Date(e);return r.setDate(r.getDate()+t*7),r}function addMonths(e,t){const r=new Date(e);return r.setMonth(r.getMonth()+t),r}function getYear(e){return e.getFullYear()}function getMonth(e){return e.getMonth()}function getNextMonth(e){return new Date(e.getFullYear(),e.getMonth()+1,1)}function getHours(e){return e.getHours()}function getMinutes(e){return e.getMinutes()}function startOfYear(e){return new Date(e.getFullYear(),0,1)}function endOfYear(e){return new Date(e.getFullYear(),11,31)}function isWithinRange(e,t){return isAfter(e,t[0])&&isBefore(e,t[1])}function isValid(e){const t=new Date(e);return t instanceof Date&&!isNaN(t.getTime())}function isAfter(e,t){return e.getTime()>t.getTime()}function isBefore(e,t){return e.getTime()<t.getTime()}function isEqual(e,t){return e.getTime()===t.getTime()}function isSameDay(e,t){return e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}function isSameMonth(e,t){return e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}function getDiff(e,t,r){const o=new Date(e),i=new Date(t);switch(r){case"years":return o.getFullYear()-i.getFullYear();case"quarters":return Math.floor((o.getMonth()-i.getMonth()+(o.getFullYear()-i.getFullYear())*12)/4);case"months":return o.getMonth()-i.getMonth()+(o.getFullYear()-i.getFullYear())*12;case"weeks":return Math.floor((o.getTime()-i.getTime())/(1e3*60*60*24*7));case"days":return Math.floor((o.getTime()-i.getTime())/(1e3*60*60*24));case"hours":return Math.floor((o.getTime()-i.getTime())/(1e3*60*60));case"minutes":return Math.floor((o.getTime()-i.getTime())/(1e3*60));case"seconds":return Math.floor((o.getTime()-i.getTime())/1e3);default:return o.getTime()-i.getTime()}}function setHours(e,t){const r=new Date(e);return r.setHours(t),r}function setMinutes(e,t){const r=new Date(e);return r.setMinutes(t),r}function setMonth(e,t){const r=new Date(e);return r.setMonth(t),r}function setYear(e,t){const r=new Date(e);return r.setFullYear(t),r}function startOfDay(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0,0)}function endOfDay(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),23,59,59,999)}class VuetifyDateAdapter{constructor(t){this.locale=t.locale,this.formats=t.formats}date(t){return date(t)}toJsDate(t){return t}toISO(t){return toISO(this,t)}parseISO(t){return parseISO(t)}addMinutes(t,r){return addMinutes(t,r)}addHours(t,r){return addHours(t,r)}addDays(t,r){return addDays(t,r)}addWeeks(t,r){return addWeeks(t,r)}addMonths(t,r){return addMonths(t,r)}getWeekArray(t){return getWeekArray(t,this.locale)}startOfWeek(t){return startOfWeek(t)}endOfWeek(t){return endOfWeek(t)}startOfMonth(t){return startOfMonth(t)}endOfMonth(t){return endOfMonth(t)}format(t,r){return format(t,r,this.locale,this.formats)}isEqual(t,r){return isEqual(t,r)}isValid(t){return isValid(t)}isWithinRange(t,r){return isWithinRange(t,r)}isAfter(t,r){return isAfter(t,r)}isBefore(t,r){return!isAfter(t,r)&&!isEqual(t,r)}isSameDay(t,r){return isSameDay(t,r)}isSameMonth(t,r){return isSameMonth(t,r)}setMinutes(t,r){return setMinutes(t,r)}setHours(t,r){return setHours(t,r)}setMonth(t,r){return setMonth(t,r)}setYear(t,r){return setYear(t,r)}getDiff(t,r,o){return getDiff(t,r,o)}getWeekdays(){return getWeekdays(this.locale)}getYear(t){return getYear(t)}getMonth(t){return getMonth(t)}getNextMonth(t){return getNextMonth(t)}getHours(t){return getHours(t)}getMinutes(t){return getMinutes(t)}startOfDay(t){return startOfDay(t)}endOfDay(t){return endOfDay(t)}startOfYear(t){return startOfYear(t)}endOfYear(t){return endOfYear(t)}}const DateOptionsSymbol=Symbol.for("vuetify:date-options"),DateAdapterSymbol=Symbol.for("vuetify:date-adapter");function createDate(e,t){const r=mergeDeep({adapter:VuetifyDateAdapter,locale:{af:"af-ZA",bg:"bg-BG",ca:"ca-ES",ckb:"",cs:"cs-CZ",de:"de-DE",el:"el-GR",en:"en-US",et:"et-EE",fa:"fa-IR",fi:"fi-FI",hr:"hr-HR",hu:"hu-HU",he:"he-IL",id:"id-ID",it:"it-IT",ja:"ja-JP",ko:"ko-KR",lv:"lv-LV",lt:"lt-LT",nl:"nl-NL",no:"no-NO",pl:"pl-PL",pt:"pt-PT",ro:"ro-RO",ru:"ru-RU",sk:"sk-SK",sl:"sl-SI",srCyrl:"sr-SP",srLatn:"sr-SP",sv:"sv-SE",th:"th-TH",tr:"tr-TR",az:"az-AZ",uk:"uk-UA",vi:"vi-VN",zhHans:"zh-CN",zhHant:"zh-TW"}},e);return{options:r,instance:createInstance(r,t)}}function createInstance(e,t){const r=reactive(typeof e.adapter=="function"?new e.adapter({locale:e.locale[t.current.value]??t.current.value,formats:e.formats}):e.adapter);return watch(t.current,o=>{r.locale=e.locale[o]??o??r.locale}),r}const GoToSymbol=Symbol.for("vuetify:goto");function genDefaults(){return{container:void 0,duration:300,layout:!1,offset:0,easing:"easeInOutCubic",patterns:{linear:e=>e,easeInQuad:e=>e**2,easeOutQuad:e=>e*(2-e),easeInOutQuad:e=>e<.5?2*e**2:-1+(4-2*e)*e,easeInCubic:e=>e**3,easeOutCubic:e=>--e**3+1,easeInOutCubic:e=>e<.5?4*e**3:(e-1)*(2*e-2)*(2*e-2)+1,easeInQuart:e=>e**4,easeOutQuart:e=>1- --e**4,easeInOutQuart:e=>e<.5?8*e**4:1-8*--e**4,easeInQuint:e=>e**5,easeOutQuint:e=>1+--e**5,easeInOutQuint:e=>e<.5?16*e**5:1+16*--e**5}}}function createGoTo(e,t){return{rtl:t.isRtl,options:mergeDeep(genDefaults(),e)}}function createVuetify(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:t,...r}=e,o=mergeDeep(t,r),{aliases:i={},components:c={},directives:a={}}=o,u=createDefaults(o.defaults),d=createDisplay(o.display,o.ssr),f=createTheme(o.theme),m=createIcons(o.icons),g=createLocale(o.locale),v=createDate(o.date,g),y=createGoTo(o.goTo,g);return{install:b=>{for(const S in a)b.directive(S,a[S]);for(const S in c)b.component(S,c[S]);for(const S in i)b.component(S,defineComponent({...i[S],name:S,aliasName:i[S].name}));if(f.install(b),b.provide(DefaultsSymbol,u),b.provide(DisplaySymbol,d),b.provide(ThemeSymbol,f),b.provide(IconSymbol,m),b.provide(LocaleSymbol,g),b.provide(DateOptionsSymbol,v.options),b.provide(DateAdapterSymbol,v.instance),b.provide(GoToSymbol,y),IN_BROWSER&&o.ssr)if(b.$nuxt)b.$nuxt.hook("app:suspense:resolve",()=>{d.update()});else{const{mount:S}=b;b.mount=function(){const _=S(...arguments);return nextTick(()=>d.update()),b.mount=S,_}}getUid.reset(),b.mixin({computed:{$vuetify(){return reactive({defaults:inject.call(this,DefaultsSymbol),display:inject.call(this,DisplaySymbol),theme:inject.call(this,ThemeSymbol),icons:inject.call(this,IconSymbol),locale:inject.call(this,LocaleSymbol),date:inject.call(this,DateAdapterSymbol)})}}})},defaults:u,display:d,theme:f,icons:m,locale:g,date:v,goTo:y}}const version$1="3.5.11";createVuetify.version=version$1;function inject(e){var o,i;const t=this.$,r=((o=t.parent)==null?void 0:o.provides)??((i=t.vnode.appContext)==null?void 0:i.provides);if(r&&e in r)return r[e]}const vuetify=createVuetify({defaults:{},theme:{defaultTheme:"light",themes:{light:{colors:{background:"#f5efea",tandoor:"#ddbf86",primary:"#b98766",secondary:"#b55e4f",success:"#82aa8b",info:"#385f84",warning:"#eaaa21",error:"#a7240e"}}}},icons:{defaultSet:"fa",aliases,sets:{fa}}}),_sfc_main$l=defineComponent$1({name:"ShoppingListPage",data(){return{tab:1,editing_supermarket_categories:[],editing_supermarket:null,new_supermarket:{entrymode:!1,value:void 0,editmode:void 0},new_category:{entrymode:!1,value:void 0},autosync_id:void 0,new_item:{amount:1,unit:void 0,food:void 0,ingredient:void 0},new_recipe:{id:void 0}}}}),VTabsSymbol=Symbol.for("vuetify:v-tabs"),makeVTabProps=propsFactory({fixed:Boolean,sliderColor:String,hideSlider:Boolean,direction:{type:String,default:"horizontal"},...omit(makeVBtnProps({selectedClass:"v-tab--selected",variant:"text"}),["active","block","flat","location","position","symbol"])},"VTab"),VTab=genericComponent()({name:"VTab",props:makeVTabProps(),setup(e,t){let{slots:r,attrs:o}=t;const{textColorClasses:i,textColorStyles:c}=useTextColor(e,"sliderColor"),a=ref(),u=ref(),d=computed(()=>e.direction==="horizontal"),f=computed(()=>{var g,v;return((v=(g=a.value)==null?void 0:g.group)==null?void 0:v.isSelected.value)??!1});function m(g){var y,w;let{value:v}=g;if(v){const b=(w=(y=a.value)==null?void 0:y.$el.parentElement)==null?void 0:w.querySelector(".v-tab--selected .v-tab__slider"),S=u.value;if(!b||!S)return;const _=getComputedStyle(b).color,k=b.getBoundingClientRect(),C=S.getBoundingClientRect(),T=d.value?"x":"y",x=d.value?"X":"Y",R=d.value?"right":"bottom",O=d.value?"width":"height",A=k[T],N=C[T],E=A>N?k[R]-C[R]:k[T]-C[T],P=Math.sign(E)>0?d.value?"right":"bottom":Math.sign(E)<0?d.value?"left":"top":"center",D=(Math.abs(E)+(Math.sign(E)<0?k[O]:C[O]))/Math.max(k[O],C[O])||0,F=k[O]/C[O]||0,B=1.5;animate(S,{backgroundColor:[_,"currentcolor"],transform:[`translate${x}(${E}px) scale${x}(${F})`,`translate${x}(${E/B}px) scale${x}(${(D-1)/B+1})`,"none"],transformOrigin:Array(3).fill(P)},{duration:225,easing:standardEasing})}}return useRender(()=>{const g=VBtn.filterProps(e);return createVNode(VBtn,mergeProps({symbol:VTabsSymbol,ref:a,class:["v-tab",e.class],style:e.style,tabindex:f.value?0:-1,role:"tab","aria-selected":String(f.value),active:!1},g,o,{block:e.fixed,maxWidth:e.fixed?300:void 0,"onGroup:selected":m}),{...r,default:()=>{var v;return createVNode(Fragment,null,[((v=r.default)==null?void 0:v.call(r))??e.text,!e.hideSlider&&createVNode("div",{ref:u,class:["v-tab__slider",i.value],style:c.value},null)])}})}),forwardRefs({},a)}});function parseItems(e){return e?e.map(t=>isObject(t)?t:{text:t,value:t}):[]}const makeVTabsProps=propsFactory({alignTabs:{type:String,default:"start"},color:String,fixedTabs:Boolean,items:{type:Array,default:()=>[]},stacked:Boolean,bgColor:String,grow:Boolean,height:{type:[Number,String],default:void 0},hideSlider:Boolean,sliderColor:String,...makeVSlideGroupProps({mandatory:"force"}),...makeDensityProps(),...makeTagProps()},"VTabs"),VTabs=genericComponent()({name:"VTabs",props:makeVTabsProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;const o=useProxiedModel(e,"modelValue"),i=computed(()=>parseItems(e.items)),{densityClasses:c}=useDensity(e),{backgroundColorClasses:a,backgroundColorStyles:u}=useBackgroundColor(toRef(e,"bgColor"));return provideDefaults({VTab:{color:toRef(e,"color"),direction:toRef(e,"direction"),stacked:toRef(e,"stacked"),fixed:toRef(e,"fixedTabs"),sliderColor:toRef(e,"sliderColor"),hideSlider:toRef(e,"hideSlider")}}),useRender(()=>{const d=VSlideGroup.filterProps(e);return createVNode(VSlideGroup,mergeProps(d,{modelValue:o.value,"onUpdate:modelValue":f=>o.value=f,class:["v-tabs",`v-tabs--${e.direction}`,`v-tabs--align-tabs-${e.alignTabs}`,{"v-tabs--fixed-tabs":e.fixedTabs,"v-tabs--grow":e.grow,"v-tabs--stacked":e.stacked},c.value,a.value,e.class],style:[{"--v-tabs-height":convertToUnit(e.height)},u.value,e.style],role:"tablist",symbol:VTabsSymbol}),{default:()=>[r.default?r.default():i.value.map(f=>createVNode(VTab,mergeProps(f,{key:f.text}),null))]})}),{}}}),_hoisted_1$e=createBaseVNode("i",{class:"fas fa-shopping-cart fa-fw"},null,-1);function _sfc_render$i(e,t,r,o,i,c){return openBlock(),createBlock(VTabs,null,{default:withCtx(()=>[createVNode(VTab,{value:1},{default:withCtx(()=>[_hoisted_1$e]),_:1}),createVNode(VTab,{value:2},{default:withCtx(()=>[createTextVNode("Super")]),_:1}),createVNode(VTab,{value:3},{default:withCtx(()=>[createTextVNode("Super")]),_:1})]),_:1})}const ShoppingListPage=_export_sfc(_sfc_main$l,[["render",_sfc_render$i]]),_sfc_main$k={name:"KeywordsBar",mixins:[],props:{keywords:Array,size:{type:String,default:"x-small"},color:{type:String,default:""},variant:{type:String,default:"tonal"}},computed:{},methods:{}},_hoisted_1$d={key:0};function _sfc_render$h(e,t,r,o,i,c){return r.keywords?(openBlock(),createElementBlock("div",_hoisted_1$d,[(openBlock(!0),createElementBlock(Fragment,null,renderList(r.keywords,a=>(openBlock(),createBlock(VChip,{class:"ms-1",color:r.color,size:r.size,variant:r.variant},{default:withCtx(()=>[createTextVNode(toDisplayString(a.label),1)]),_:2},1032,["color","size","variant"]))),256))])):createCommentVNode("",!0)}const KeywordsBar=_export_sfc(_sfc_main$k,[["render",_sfc_render$h]]),_imports_0="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3csvg%20xmlns:dc='http://purl.org/dc/elements/1.1/'%20xmlns:cc='http://creativecommons.org/ns%23'%20xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23'%20xmlns:svg='http://www.w3.org/2000/svg'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd'%20xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape'%20aria-hidden='true'%20focusable='false'%20data-prefix='fas'%20data-icon='pizza-slice'%20class='svg-inline--fa%20fa-pizza-slice%20fa-w-16'%20role='img'%20viewBox='0%200%20512%20512'%20version='1.1'%20id='svg4'%20sodipodi:docname='recipe_no_image.svg'%20inkscape:version='0.92.4%20(5da689c313,%202019-01-14)'%3e%3cmetadata%20id='metadata10'%3e%3crdf:RDF%3e%3ccc:Work%20rdf:about=''%3e%3cdc:format%3eimage/svg+xml%3c/dc:format%3e%3cdc:type%20rdf:resource='http://purl.org/dc/dcmitype/StillImage'%20/%3e%3c/cc:Work%3e%3c/rdf:RDF%3e%3c/metadata%3e%3cdefs%20id='defs8'%20/%3e%3csodipodi:namedview%20pagecolor='%23ffffff'%20bordercolor='%23666666'%20borderopacity='1'%20objecttolerance='10'%20gridtolerance='10'%20guidetolerance='10'%20inkscape:pageopacity='0'%20inkscape:pageshadow='2'%20inkscape:window-width='3840'%20inkscape:window-height='2066'%20id='namedview6'%20showgrid='false'%20inkscape:zoom='0.921875'%20inkscape:cx='-25.662611'%20inkscape:cy='214.71807'%20inkscape:window-x='2869'%20inkscape:window-y='54'%20inkscape:window-maximized='1'%20inkscape:current-layer='svg4'%20/%3e%3cpath%20d='m%20235.62851,202.1526%20c%20-3.38906,-0.31992%20-6.54323,1.7722%20-7.40937,5.07666%20l%20-3.10593,11.84344%20c%2039.34747,1.15551%2065.965,27.49017%2067.63017,66.72064%20l%2011.9414,-3.32129%20c%203.29677,-0.91767%205.34573,-4.14216%204.95356,-7.55606%20-4.37894,-38.04972%20-35.85985,-69.14953%20-74.00983,-72.76339%20z%20m%20-12.26226,23.57322%20-20.94044,79.87325%20a%203.3995443,3.4118034%200%200%200%204.19438,4.15688%20L%20286.10367,287.635%20c%20-0.8955,-36.81001%20-25.8122,-61.48823%20-62.73742,-61.90076%20z%20m%205.78824,63.9529%20a%206.7110067,6.7352075%200%201%201%206.711,-6.73521%206.7110067,6.7352075%200%200%201%20-6.711,6.73521%20z%20M%20239.221,257.68648%20a%206.7110067,6.7352075%200%201%201%206.71101,-6.7352%206.7110067,6.7352075%200%200%201%20-6.71101,6.7352%20z%20m%2021.81077,21.88943%20a%206.7110067,6.7352075%200%201%201%206.71101,-6.73521%206.7110067,6.7352075%200%200%201%20-6.71101,6.73521%20z'%20id='path2'%20style='fill:%23d9cfbe;fill-opacity:1;stroke-width:0.21009675'%20inkscape:connector-curvature='0'%20/%3e%3c/svg%3e",_sfc_main$j=defineComponent$1({name:"RecipeContextMenu",props:{recipe:{type:Object,required:!0}},methods:{openRecipe:function(){this.$router.push({name:"edit_recipe",params:{recipe_id:this.recipe.id}})}}}),ListKey=Symbol.for("vuetify:list");function createList(){const e=inject$1(ListKey,{hasPrepend:shallowRef(!1),updateHasPrepend:()=>null}),t={hasPrepend:shallowRef(!1),updateHasPrepend:r=>{r&&(t.hasPrepend.value=r)}};return provide(ListKey,t),e}function useList(){return inject$1(ListKey,null)}const independentActiveStrategy=e=>{const t={activate:r=>{let{id:o,value:i,activated:c}=r;return o=toRaw(o),e&&!i&&c.size===1&&c.has(o)||(i?c.add(o):c.delete(o)),c},in:(r,o,i)=>{let c=new Set;for(const a of r||[])c=t.activate({id:a,value:!0,activated:new Set(c),children:o,parents:i});return c},out:r=>Array.from(r)};return t},independentSingleActiveStrategy=e=>{const t=independentActiveStrategy(e);return{activate:o=>{let{activated:i,id:c,...a}=o;c=toRaw(c);const u=i.has(c)?new Set([c]):new Set;return t.activate({...a,id:c,activated:u})},in:(o,i,c)=>{let a=new Set;return o!=null&&o.length&&(a=t.in(o.slice(0,1),i,c)),a},out:(o,i,c)=>t.out(o,i,c)}},leafActiveStrategy=e=>{const t=independentActiveStrategy(e);return{activate:o=>{let{id:i,activated:c,children:a,...u}=o;return i=toRaw(i),a.has(i)?c:t.activate({id:i,activated:c,children:a,...u})},in:t.in,out:t.out}},leafSingleActiveStrategy=e=>{const t=independentSingleActiveStrategy(e);return{activate:o=>{let{id:i,activated:c,children:a,...u}=o;return i=toRaw(i),a.has(i)?c:t.activate({id:i,activated:c,children:a,...u})},in:t.in,out:t.out}},singleOpenStrategy={open:e=>{let{id:t,value:r,opened:o,parents:i}=e;if(r){const c=new Set;c.add(t);let a=i.get(t);for(;a!=null;)c.add(a),a=i.get(a);return c}else return o.delete(t),o},select:()=>null},multipleOpenStrategy={open:e=>{let{id:t,value:r,opened:o,parents:i}=e;if(r){let c=i.get(t);for(o.add(t);c!=null&&c!==t;)o.add(c),c=i.get(c);return o}else o.delete(t);return o},select:()=>null},listOpenStrategy={open:multipleOpenStrategy.open,select:e=>{let{id:t,value:r,opened:o,parents:i}=e;if(!r)return o;const c=[];let a=i.get(t);for(;a!=null;)c.push(a),a=i.get(a);return new Set(c)}},independentSelectStrategy=e=>{const t={select:r=>{let{id:o,value:i,selected:c}=r;if(o=toRaw(o),e&&!i){const a=Array.from(c.entries()).reduce((u,d)=>{let[f,m]=d;return m==="on"&&u.push(f),u},[]);if(a.length===1&&a[0]===o)return c}return c.set(o,i?"on":"off"),c},in:(r,o,i)=>{let c=new Map;for(const a of r||[])c=t.select({id:a,value:!0,selected:new Map(c),children:o,parents:i});return c},out:r=>{const o=[];for(const[i,c]of r.entries())c==="on"&&o.push(i);return o}};return t},independentSingleSelectStrategy=e=>{const t=independentSelectStrategy(e);return{select:o=>{let{selected:i,id:c,...a}=o;c=toRaw(c);const u=i.has(c)?new Map([[c,i.get(c)]]):new Map;return t.select({...a,id:c,selected:u})},in:(o,i,c)=>{let a=new Map;return o!=null&&o.length&&(a=t.in(o.slice(0,1),i,c)),a},out:(o,i,c)=>t.out(o,i,c)}},leafSelectStrategy=e=>{const t=independentSelectStrategy(e);return{select:o=>{let{id:i,selected:c,children:a,...u}=o;return i=toRaw(i),a.has(i)?c:t.select({id:i,selected:c,children:a,...u})},in:t.in,out:t.out}},leafSingleSelectStrategy=e=>{const t=independentSingleSelectStrategy(e);return{select:o=>{let{id:i,selected:c,children:a,...u}=o;return i=toRaw(i),a.has(i)?c:t.select({id:i,selected:c,children:a,...u})},in:t.in,out:t.out}},classicSelectStrategy=e=>{const t={select:r=>{let{id:o,value:i,selected:c,children:a,parents:u}=r;o=toRaw(o);const d=new Map(c),f=[o];for(;f.length;){const g=f.shift();c.set(g,i?"on":"off"),a.has(g)&&f.push(...a.get(g))}let m=u.get(o);for(;m;){const g=a.get(m),v=g.every(w=>c.get(w)==="on"),y=g.every(w=>!c.has(w)||c.get(w)==="off");c.set(m,v?"on":y?"off":"indeterminate"),m=u.get(m)}return e&&!i&&Array.from(c.entries()).reduce((v,y)=>{let[w,b]=y;return b==="on"&&v.push(w),v},[]).length===0?d:c},in:(r,o,i)=>{let c=new Map;for(const a of r||[])c=t.select({id:a,value:!0,selected:new Map(c),children:o,parents:i});return c},out:(r,o)=>{const i=[];for(const[c,a]of r.entries())a==="on"&&!o.has(c)&&i.push(c);return i}};return t},VNestedSymbol=Symbol.for("vuetify:nested"),emptyNested={id:shallowRef(),root:{register:()=>null,unregister:()=>null,parents:ref(new Map),children:ref(new Map),open:()=>null,openOnSelect:()=>null,activate:()=>null,select:()=>null,activatable:ref(!1),selectable:ref(!1),opened:ref(new Set),activated:ref(new Set),selected:ref(new Map),selectedValues:ref([])}},makeNestedProps=propsFactory({activatable:Boolean,selectable:Boolean,activeStrategy:[String,Function],selectStrategy:[String,Function],openStrategy:[String,Object],opened:Array,activated:Array,selected:Array,mandatory:Boolean},"nested"),useNested=e=>{let t=!1;const r=ref(new Map),o=ref(new Map),i=useProxiedModel(e,"opened",e.opened,y=>new Set(y),y=>[...y.values()]),c=computed(()=>{if(typeof e.activeStrategy=="object")return e.activeStrategy;switch(e.activeStrategy){case"leaf":return leafActiveStrategy(e.mandatory);case"single-leaf":return leafSingleActiveStrategy(e.mandatory);case"independent":return independentActiveStrategy(e.mandatory);case"single-independent":default:return independentSingleActiveStrategy(e.mandatory)}}),a=computed(()=>{if(typeof e.selectStrategy=="object")return e.selectStrategy;switch(e.selectStrategy){case"single-leaf":return leafSingleSelectStrategy(e.mandatory);case"leaf":return leafSelectStrategy(e.mandatory);case"independent":return independentSelectStrategy(e.mandatory);case"single-independent":return independentSingleSelectStrategy(e.mandatory);case"classic":default:return classicSelectStrategy(e.mandatory)}}),u=computed(()=>{if(typeof e.openStrategy=="object")return e.openStrategy;switch(e.openStrategy){case"list":return listOpenStrategy;case"single":return singleOpenStrategy;case"multiple":default:return multipleOpenStrategy}}),d=useProxiedModel(e,"activated",e.activated,y=>c.value.in(y,r.value,o.value),y=>c.value.out(y,r.value,o.value)),f=useProxiedModel(e,"selected",e.selected,y=>a.value.in(y,r.value,o.value),y=>a.value.out(y,r.value,o.value));onBeforeUnmount(()=>{t=!0});function m(y){const w=[];let b=y;for(;b!=null;)w.unshift(b),b=o.value.get(b);return w}const g=getCurrentInstance("nested"),v={id:shallowRef(),root:{opened:i,activatable:toRef(e,"activatable"),selectable:toRef(e,"selectable"),activated:d,selected:f,selectedValues:computed(()=>{const y=[];for(const[w,b]of f.value.entries())b==="on"&&y.push(w);return y}),register:(y,w,b)=>{w&&y!==w&&o.value.set(y,w),b&&r.value.set(y,[]),w!=null&&r.value.set(w,[...r.value.get(w)||[],y])},unregister:y=>{if(t)return;r.value.delete(y);const w=o.value.get(y);if(w){const b=r.value.get(w)??[];r.value.set(w,b.filter(S=>S!==y))}o.value.delete(y),i.value.delete(y)},open:(y,w,b)=>{g.emit("click:open",{id:y,value:w,path:m(y),event:b});const S=u.value.open({id:y,value:w,opened:new Set(i.value),children:r.value,parents:o.value,event:b});S&&(i.value=S)},openOnSelect:(y,w,b)=>{const S=u.value.select({id:y,value:w,selected:new Map(f.value),opened:new Set(i.value),children:r.value,parents:o.value,event:b});S&&(i.value=S)},select:(y,w,b)=>{g.emit("click:select",{id:y,value:w,path:m(y),event:b});const S=a.value.select({id:y,value:w,selected:new Map(f.value),children:r.value,parents:o.value,event:b});S&&(f.value=S),v.root.openOnSelect(y,w,b)},activate:(y,w,b)=>{if(!e.activatable)return v.root.select(y,!0,b);g.emit("click:activate",{id:y,value:w,path:m(y),event:b});const S=c.value.activate({id:y,value:w,activated:new Set(d.value),children:r.value,parents:o.value,event:b});S&&(d.value=S)},children:r,parents:o}};return provide(VNestedSymbol,v),v.root},useNestedItem=(e,t)=>{const r=inject$1(VNestedSymbol,emptyNested),o=Symbol(getUid()),i=computed(()=>e.value!==void 0?e.value:o),c={...r,id:i,open:(a,u)=>r.root.open(i.value,a,u),openOnSelect:(a,u)=>r.root.openOnSelect(i.value,a,u),isOpen:computed(()=>r.root.opened.value.has(i.value)),parent:computed(()=>r.root.parents.value.get(i.value)),activate:(a,u)=>r.root.activate(i.value,a,u),isActivated:computed(()=>r.root.activated.value.has(toRaw(i.value))),select:(a,u)=>r.root.select(i.value,a,u),isSelected:computed(()=>r.root.selected.value.get(toRaw(i.value))==="on"),isIndeterminate:computed(()=>r.root.selected.value.get(i.value)==="indeterminate"),isLeaf:computed(()=>!r.root.children.value.get(i.value)),isGroupActivator:r.isGroupActivator};return!r.isGroupActivator&&r.root.register(i.value,r.id.value,t),onBeforeUnmount(()=>{!r.isGroupActivator&&r.root.unregister(i.value)}),t&&provide(VNestedSymbol,c),c},useNestedGroupActivator=()=>{const e=inject$1(VNestedSymbol,emptyNested);provide(VNestedSymbol,{...e,isGroupActivator:!0})},VListGroupActivator=defineComponent({name:"VListGroupActivator",setup(e,t){let{slots:r}=t;return useNestedGroupActivator(),()=>{var o;return(o=r.default)==null?void 0:o.call(r)}}}),makeVListGroupProps=propsFactory({activeColor:String,baseColor:String,color:String,collapseIcon:{type:IconValue,default:"$collapse"},expandIcon:{type:IconValue,default:"$expand"},prependIcon:IconValue,appendIcon:IconValue,fluid:Boolean,subgroup:Boolean,title:String,value:null,...makeComponentProps(),...makeTagProps()},"VListGroup"),VListGroup=genericComponent()({name:"VListGroup",props:makeVListGroupProps(),setup(e,t){let{slots:r}=t;const{isOpen:o,open:i,id:c}=useNestedItem(toRef(e,"value"),!0),a=computed(()=>`v-list-group--id-${String(c.value)}`),u=useList(),{isBooted:d}=useSsrBoot();function f(y){i(!o.value,y)}const m=computed(()=>({onClick:f,class:"v-list-group__header",id:a.value})),g=computed(()=>o.value?e.collapseIcon:e.expandIcon),v=computed(()=>({VListItem:{active:o.value,activeColor:e.activeColor,baseColor:e.baseColor,color:e.color,prependIcon:e.prependIcon||e.subgroup&&g.value,appendIcon:e.appendIcon||!e.subgroup&&g.value,title:e.title,value:e.value}}));return useRender(()=>createVNode(e.tag,{class:["v-list-group",{"v-list-group--prepend":u==null?void 0:u.hasPrepend.value,"v-list-group--fluid":e.fluid,"v-list-group--subgroup":e.subgroup,"v-list-group--open":o.value},e.class],style:e.style},{default:()=>[r.activator&&createVNode(VDefaultsProvider,{defaults:v.value},{default:()=>[createVNode(VListGroupActivator,null,{default:()=>[r.activator({props:m.value,isOpen:o.value})]})]}),createVNode(MaybeTransition,{transition:{component:VExpandTransition},disabled:!d.value},{default:()=>{var y;return[withDirectives(createVNode("div",{class:"v-list-group__items",role:"group","aria-labelledby":a.value},[(y=r.default)==null?void 0:y.call(r)]),[[vShow,o.value]])]}})]})),{isOpen:o}}}),VListItemSubtitle=createSimpleFunctional("v-list-item-subtitle"),VListItemTitle=createSimpleFunctional("v-list-item-title"),makeVListItemProps=propsFactory({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:IconValue,baseColor:String,disabled:Boolean,lines:String,link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:IconValue,ripple:{type:[Boolean,Object],default:!0},slim:Boolean,subtitle:[String,Number],title:[String,Number],value:null,onClick:EventProp(),onClickOnce:EventProp(),...makeBorderProps(),...makeComponentProps(),...makeDensityProps(),...makeDimensionProps(),...makeElevationProps(),...makeRoundedProps(),...makeRouterProps(),...makeTagProps(),...makeThemeProps(),...makeVariantProps({variant:"text"})},"VListItem"),VListItem=genericComponent()({name:"VListItem",directives:{Ripple},props:makeVListItemProps(),emits:{click:e=>!0},setup(e,t){let{attrs:r,slots:o,emit:i}=t;const c=useLink(e,r),a=computed(()=>e.value===void 0?c.href.value:e.value),{activate:u,isActivated:d,select:f,isSelected:m,isIndeterminate:g,isGroupActivator:v,root:y,parent:w,openOnSelect:b}=useNestedItem(a,!1),S=useList(),_=computed(()=>{var Q;return e.active!==!1&&(e.active||((Q=c.isActive)==null?void 0:Q.value)||(y.activatable.value?d.value:m.value))}),k=computed(()=>e.link!==!1&&c.isLink.value),C=computed(()=>!e.disabled&&e.link!==!1&&(e.link||c.isClickable.value||!!S&&(y.selectable.value||y.activatable.value||e.value!=null))),T=computed(()=>e.rounded||e.nav),x=computed(()=>e.color??e.activeColor),R=computed(()=>({color:_.value?x.value??e.baseColor:e.baseColor,variant:e.variant}));watch(()=>{var Q;return(Q=c.isActive)==null?void 0:Q.value},Q=>{Q&&w.value!=null&&y.open(w.value,!0),Q&&b(Q)},{immediate:!0});const{themeClasses:O}=provideTheme(e),{borderClasses:A}=useBorder(e),{colorClasses:N,colorStyles:E,variantClasses:P}=useVariant(R),{densityClasses:V}=useDensity(e),{dimensionStyles:D}=useDimension(e),{elevationClasses:F}=useElevation(e),{roundedClasses:B}=useRounded(T),$=computed(()=>e.lines?`v-list-item--${e.lines}-line`:void 0),U=computed(()=>({isActive:_.value,select:f,isSelected:m.value,isIndeterminate:g.value}));function M(Q){var te;i("click",Q),!(v||!C.value)&&((te=c.navigate)==null||te.call(c,Q),y.activatable.value?u(!d.value,Q):(y.selectable.value||e.value!=null)&&f(!m.value,Q))}function Z(Q){(Q.key==="Enter"||Q.key===" ")&&(Q.preventDefault(),M(Q))}return useRender(()=>{const Q=k.value?"a":e.tag,te=o.title||e.title!=null,W=o.subtitle||e.subtitle!=null,j=!!(e.appendAvatar||e.appendIcon),le=!!(j||o.append),me=!!(e.prependAvatar||e.prependIcon),ce=!!(me||o.prepend);return S==null||S.updateHasPrepend(ce),e.activeColor&&deprecate("active-color",["color","base-color"]),withDirectives(createVNode(Q,{class:["v-list-item",{"v-list-item--active":_.value,"v-list-item--disabled":e.disabled,"v-list-item--link":C.value,"v-list-item--nav":e.nav,"v-list-item--prepend":!ce&&(S==null?void 0:S.hasPrepend.value),"v-list-item--slim":e.slim,[`${e.activeClass}`]:e.activeClass&&_.value},O.value,A.value,N.value,V.value,F.value,$.value,B.value,P.value,e.class],style:[E.value,D.value,e.style],href:c.href.value,tabindex:C.value?S?-2:0:void 0,onClick:M,onKeydown:C.value&&!k.value&&Z},{default:()=>{var q;return[genOverlays(C.value||_.value,"v-list-item"),ce&&createVNode("div",{key:"prepend",class:"v-list-item__prepend"},[o.prepend?createVNode(VDefaultsProvider,{key:"prepend-defaults",disabled:!me,defaults:{VAvatar:{density:e.density,image:e.prependAvatar},VIcon:{density:e.density,icon:e.prependIcon},VListItemAction:{start:!0}}},{default:()=>{var K;return[(K=o.prepend)==null?void 0:K.call(o,U.value)]}}):createVNode(Fragment,null,[e.prependAvatar&&createVNode(VAvatar,{key:"prepend-avatar",density:e.density,image:e.prependAvatar},null),e.prependIcon&&createVNode(VIcon,{key:"prepend-icon",density:e.density,icon:e.prependIcon},null)]),createVNode("div",{class:"v-list-item__spacer"},null)]),createVNode("div",{class:"v-list-item__content","data-no-activator":""},[te&&createVNode(VListItemTitle,{key:"title"},{default:()=>{var K;return[((K=o.title)==null?void 0:K.call(o,{title:e.title}))??e.title]}}),W&&createVNode(VListItemSubtitle,{key:"subtitle"},{default:()=>{var K;return[((K=o.subtitle)==null?void 0:K.call(o,{subtitle:e.subtitle}))??e.subtitle]}}),(q=o.default)==null?void 0:q.call(o,U.value)]),le&&createVNode("div",{key:"append",class:"v-list-item__append"},[o.append?createVNode(VDefaultsProvider,{key:"append-defaults",disabled:!j,defaults:{VAvatar:{density:e.density,image:e.appendAvatar},VIcon:{density:e.density,icon:e.appendIcon},VListItemAction:{end:!0}}},{default:()=>{var K;return[(K=o.append)==null?void 0:K.call(o,U.value)]}}):createVNode(Fragment,null,[e.appendIcon&&createVNode(VIcon,{key:"append-icon",density:e.density,icon:e.appendIcon},null),e.appendAvatar&&createVNode(VAvatar,{key:"append-avatar",density:e.density,image:e.appendAvatar},null)]),createVNode("div",{class:"v-list-item__spacer"},null)])]}}),[[resolveDirective("ripple"),C.value&&e.ripple]])}),{isGroupActivator:v,isSelected:m,list:S,select:f}}}),makeVListSubheaderProps=propsFactory({color:String,inset:Boolean,sticky:Boolean,title:String,...makeComponentProps(),...makeTagProps()},"VListSubheader"),VListSubheader=genericComponent()({name:"VListSubheader",props:makeVListSubheaderProps(),setup(e,t){let{slots:r}=t;const{textColorClasses:o,textColorStyles:i}=useTextColor(toRef(e,"color"));return useRender(()=>{const c=!!(r.default||e.title);return createVNode(e.tag,{class:["v-list-subheader",{"v-list-subheader--inset":e.inset,"v-list-subheader--sticky":e.sticky},o.value,e.class],style:[{textColorStyles:i},e.style]},{default:()=>{var a;return[c&&createVNode("div",{class:"v-list-subheader__text"},[((a=r.default)==null?void 0:a.call(r))??e.title])]}})}),{}}}),makeVListChildrenProps=propsFactory({items:Array,returnObject:Boolean},"VListChildren"),VListChildren=genericComponent()({name:"VListChildren",props:makeVListChildrenProps(),setup(e,t){let{slots:r}=t;return createList(),()=>{var o,i;return((o=r.default)==null?void 0:o.call(r))??((i=e.items)==null?void 0:i.map(c=>{var v,y;let{children:a,props:u,type:d,raw:f}=c;if(d==="divider")return((v=r.divider)==null?void 0:v.call(r,{props:u}))??createVNode(VDivider,u,null);if(d==="subheader")return((y=r.subheader)==null?void 0:y.call(r,{props:u}))??createVNode(VListSubheader,u,null);const m={subtitle:r.subtitle?w=>{var b;return(b=r.subtitle)==null?void 0:b.call(r,{...w,item:f})}:void 0,prepend:r.prepend?w=>{var b;return(b=r.prepend)==null?void 0:b.call(r,{...w,item:f})}:void 0,append:r.append?w=>{var b;return(b=r.append)==null?void 0:b.call(r,{...w,item:f})}:void 0,title:r.title?w=>{var b;return(b=r.title)==null?void 0:b.call(r,{...w,item:f})}:void 0},g=VListGroup.filterProps(u);return a?createVNode(VListGroup,mergeProps({value:u==null?void 0:u.value},g),{activator:w=>{let{props:b}=w;const S={...u,...b,value:e.returnObject?f:u.value};return r.header?r.header({props:S}):createVNode(VListItem,S,m)},default:()=>createVNode(VListChildren,{items:a},r)}):r.item?r.item({props:u}):createVNode(VListItem,mergeProps(u,{value:e.returnObject?f:u.value}),m)}))}}}),makeItemsProps=propsFactory({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},returnObject:Boolean,valueComparator:{type:Function,default:deepEqual}},"list-items");function transformItem$1(e,t){const r=getPropertyFromItem(t,e.itemTitle,t),o=getPropertyFromItem(t,e.itemValue,r),i=getPropertyFromItem(t,e.itemChildren),c=e.itemProps===!0?typeof t=="object"&&t!=null&&!Array.isArray(t)?"children"in t?omit(t,["children"]):t:void 0:getPropertyFromItem(t,e.itemProps),a={title:r,value:o,...c};return{title:String(a.title??""),value:a.value,props:a,children:Array.isArray(i)?transformItems$1(e,i):void 0,raw:t}}function transformItems$1(e,t){const r=[];for(const o of t)r.push(transformItem$1(e,o));return r}function useItems(e){const t=computed(()=>transformItems$1(e,e.items)),r=computed(()=>t.value.some(c=>c.value===null));function o(c){return r.value||(c=c.filter(a=>a!==null)),c.map(a=>e.returnObject&&typeof a=="string"?transformItem$1(e,a):t.value.find(u=>e.valueComparator(a,u.value))||transformItem$1(e,a))}function i(c){return e.returnObject?c.map(a=>{let{raw:u}=a;return u}):c.map(a=>{let{value:u}=a;return u})}return{items:t,transformIn:o,transformOut:i}}function isPrimitive(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"}function transformItem(e,t){const r=getPropertyFromItem(t,e.itemType,"item"),o=isPrimitive(t)?t:getPropertyFromItem(t,e.itemTitle),i=getPropertyFromItem(t,e.itemValue,void 0),c=getPropertyFromItem(t,e.itemChildren),a=e.itemProps===!0?omit(t,["children"]):getPropertyFromItem(t,e.itemProps),u={title:o,value:i,...a};return{type:r,title:u.title,value:u.value,props:u,children:r==="item"&&c?transformItems(e,c):void 0,raw:t}}function transformItems(e,t){const r=[];for(const o of t)r.push(transformItem(e,o));return r}function useListItems(e){return{items:computed(()=>transformItems(e,e.items))}}const makeVListProps=propsFactory({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,expandIcon:String,collapseIcon:String,lines:{type:[Boolean,String],default:"one"},slim:Boolean,nav:Boolean,...makeNestedProps({selectStrategy:"single-leaf",openStrategy:"list"}),...makeBorderProps(),...makeComponentProps(),...makeDensityProps(),...makeDimensionProps(),...makeElevationProps(),itemType:{type:String,default:"type"},...makeItemsProps(),...makeRoundedProps(),...makeTagProps(),...makeThemeProps(),...makeVariantProps({variant:"text"})},"VList"),VList=genericComponent()({name:"VList",props:makeVListProps(),emits:{"update:selected":e=>!0,"update:activated":e=>!0,"update:opened":e=>!0,"click:open":e=>!0,"click:activate":e=>!0,"click:select":e=>!0},setup(e,t){let{slots:r}=t;const{items:o}=useListItems(e),{themeClasses:i}=provideTheme(e),{backgroundColorClasses:c,backgroundColorStyles:a}=useBackgroundColor(toRef(e,"bgColor")),{borderClasses:u}=useBorder(e),{densityClasses:d}=useDensity(e),{dimensionStyles:f}=useDimension(e),{elevationClasses:m}=useElevation(e),{roundedClasses:g}=useRounded(e),{children:v,open:y,parents:w,select:b}=useNested(e),S=computed(()=>e.lines?`v-list--${e.lines}-line`:void 0),_=toRef(e,"activeColor"),k=toRef(e,"baseColor"),C=toRef(e,"color");createList(),provideDefaults({VListGroup:{activeColor:_,baseColor:k,color:C,expandIcon:toRef(e,"expandIcon"),collapseIcon:toRef(e,"collapseIcon")},VListItem:{activeClass:toRef(e,"activeClass"),activeColor:_,baseColor:k,color:C,density:toRef(e,"density"),disabled:toRef(e,"disabled"),lines:toRef(e,"lines"),nav:toRef(e,"nav"),slim:toRef(e,"slim"),variant:toRef(e,"variant")}});const T=shallowRef(!1),x=ref();function R(V){T.value=!0}function O(V){T.value=!1}function A(V){var D;!T.value&&!(V.relatedTarget&&((D=x.value)!=null&&D.contains(V.relatedTarget)))&&P()}function N(V){if(x.value){if(V.key==="ArrowDown")P("next");else if(V.key==="ArrowUp")P("prev");else if(V.key==="Home")P("first");else if(V.key==="End")P("last");else return;V.preventDefault()}}function E(V){T.value=!0}function P(V){if(x.value)return focusChild(x.value,V)}return useRender(()=>createVNode(e.tag,{ref:x,class:["v-list",{"v-list--disabled":e.disabled,"v-list--nav":e.nav,"v-list--slim":e.slim},i.value,c.value,u.value,d.value,m.value,S.value,g.value,e.class],style:[a.value,f.value,e.style],tabindex:e.disabled||T.value?-1:0,role:"listbox","aria-activedescendant":void 0,onFocusin:R,onFocusout:O,onFocus:A,onKeydown:N,onMousedown:E},{default:()=>[createVNode(VListChildren,{items:o.value,returnObject:e.returnObject},r)]})),{open:y,select:b,focus:P,children:v,parents:w}}}),makeVMenuProps=propsFactory({id:String,...omit(makeVOverlayProps({closeDelay:250,closeOnContentClick:!0,locationStrategy:"connected",openDelay:300,scrim:!1,scrollStrategy:"reposition",transition:{component:VDialogTransition}}),["absolute"])},"VMenu"),VMenu=genericComponent()({name:"VMenu",props:makeVMenuProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;const o=useProxiedModel(e,"modelValue"),{scopeId:i}=useScopeId(),c=getUid(),a=computed(()=>e.id||`v-menu-${c}`),u=ref(),d=inject$1(VMenuSymbol,null),f=shallowRef(0);provide(VMenuSymbol,{register(){++f.value},unregister(){--f.value},closeParents(b){setTimeout(()=>{!f.value&&(b==null||b&&!isClickInsideElement(b,u.value.contentEl))&&(o.value=!1,d==null||d.closeParents())},40)}});async function m(b){var k,C,T;const S=b.relatedTarget,_=b.target;await nextTick(),o.value&&S!==_&&((k=u.value)!=null&&k.contentEl)&&((C=u.value)!=null&&C.globalTop)&&![document,u.value.contentEl].includes(_)&&!u.value.contentEl.contains(_)&&((T=focusableChildren(u.value.contentEl)[0])==null||T.focus())}watch(o,b=>{b?(d==null||d.register(),document.addEventListener("focusin",m,{once:!0})):(d==null||d.unregister(),document.removeEventListener("focusin",m))});function g(b){d==null||d.closeParents(b)}function v(b){var S,_,k;e.disabled||(b.key==="Tab"?getNextElement(focusableChildren((S=u.value)==null?void 0:S.contentEl,!1),b.shiftKey?"prev":"next",T=>T.tabIndex>=0)||(o.value=!1,(k=(_=u.value)==null?void 0:_.activatorEl)==null||k.focus()):["Enter"," "].includes(b.key)&&e.closeOnContentClick&&(o.value=!1,d==null||d.closeParents()))}function y(b){var _;if(e.disabled)return;const S=(_=u.value)==null?void 0:_.contentEl;S&&o.value?b.key==="ArrowDown"?(b.preventDefault(),focusChild(S,"next")):b.key==="ArrowUp"&&(b.preventDefault(),focusChild(S,"prev")):["ArrowDown","ArrowUp"].includes(b.key)&&(o.value=!0,b.preventDefault(),setTimeout(()=>setTimeout(()=>y(b))))}const w=computed(()=>mergeProps({"aria-haspopup":"menu","aria-expanded":String(o.value),"aria-owns":a.value,onKeydown:y},e.activatorProps));return useRender(()=>{const b=VOverlay.filterProps(e);return createVNode(VOverlay,mergeProps({ref:u,id:a.value,class:["v-menu",e.class],style:e.style},b,{modelValue:o.value,"onUpdate:modelValue":S=>o.value=S,absolute:!0,activatorProps:w.value,"onClick:outside":g,onKeydown:v},i),{activator:r.activator,default:function(){for(var S=arguments.length,_=new Array(S),k=0;k<S;k++)_[k]=arguments[k];return createVNode(VDefaultsProvider,{root:"VMenu"},{default:()=>{var C;return[(C=r.default)==null?void 0:C.call(r,..._)]}})}})}),forwardRefs({id:a,ΨopenChildren:f},u)}}),_hoisted_1$c=createBaseVNode("i",{class:"fas fa-edit fa-fw mr-2"},null,-1);function _sfc_render$g(e,t,r,o,i,c){return openBlock(),createBlock(VMenu,{"open-on-hover":"","open-delay":"0","open-on-click":!0,location:"start"},{activator:withCtx(({props:a})=>[createVNode(VBtn,mergeProps(a,{icon:"fas fa-ellipsis-v",variant:"plain"}),null,16)]),default:withCtx(()=>[createVNode(VList,null,{default:withCtx(()=>[createVNode(VListItem,null,{default:withCtx(()=>[createVNode(VListItemTitle,{onClick:t[0]||(t[0]=a=>e.openRecipe())},{default:withCtx(()=>[_hoisted_1$c,createTextVNode(" Edit")]),_:1})]),_:1})]),_:1})]),_:1})}const RecipeContextMenu=_export_sfc(_sfc_main$j,[["render",_sfc_render$g]]),_sfc_main$i=defineComponent$1({name:"RecipeCard",components:{RecipeContextMenu,KeywordsComponent:KeywordsBar},props:{recipe:{type:{},required:!0},loading:{type:Boolean,required:!1},show_keywords:{type:Boolean,required:!1},show_description:{type:Boolean,required:!1},height:{type:String,required:!1,default:"25vh"}},computed:{recipeImageUrl:function(){return this.recipe.image!=null?this.recipe.image:_imports_0}}}),makeVRatingProps=propsFactory({name:String,itemAriaLabel:{type:String,default:"$vuetify.rating.ariaLabel.item"},activeColor:String,color:String,clearable:Boolean,disabled:Boolean,emptyIcon:{type:IconValue,default:"$ratingEmpty"},fullIcon:{type:IconValue,default:"$ratingFull"},halfIncrements:Boolean,hover:Boolean,length:{type:[Number,String],default:5},readonly:Boolean,modelValue:{type:[Number,String],default:0},itemLabels:Array,itemLabelPosition:{type:String,default:"top",validator:e=>["top","bottom"].includes(e)},ripple:Boolean,...makeComponentProps(),...makeDensityProps(),...makeSizeProps(),...makeTagProps(),...makeThemeProps()},"VRating"),VRating=genericComponent()({name:"VRating",props:makeVRatingProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;const{t:o}=useLocale(),{themeClasses:i}=provideTheme(e),c=useProxiedModel(e,"modelValue"),a=computed(()=>clamp(parseFloat(c.value),0,+e.length)),u=computed(()=>createRange(Number(e.length),1)),d=computed(()=>u.value.flatMap(b=>e.halfIncrements?[b-.5,b]:[b])),f=shallowRef(-1),m=computed(()=>d.value.map(b=>{const S=e.hover&&f.value>-1,_=a.value>=b,k=f.value>=b,T=(S?k:_)?e.fullIcon:e.emptyIcon,x=e.activeColor??e.color,R=_||k?x:e.color;return{isFilled:_,isHovered:k,icon:T,color:R}})),g=computed(()=>[0,...d.value].map(b=>{function S(){f.value=b}function _(){f.value=-1}function k(){e.disabled||e.readonly||(c.value=a.value===b&&e.clearable?0:b)}return{onMouseenter:e.hover?S:void 0,onMouseleave:e.hover?_:void 0,onClick:k}})),v=computed(()=>e.name??`v-rating-${getUid()}`);function y(b){var A,N;let{value:S,index:_,showStar:k=!0}=b;const{onMouseenter:C,onMouseleave:T,onClick:x}=g.value[_+1],R=`${v.value}-${String(S).replace(".","-")}`,O={color:(A=m.value[_])==null?void 0:A.color,density:e.density,disabled:e.disabled,icon:(N=m.value[_])==null?void 0:N.icon,ripple:e.ripple,size:e.size,variant:"plain"};return createVNode(Fragment,null,[createVNode("label",{for:R,class:{"v-rating__item--half":e.halfIncrements&&S%1>0,"v-rating__item--full":e.halfIncrements&&S%1===0},onMouseenter:C,onMouseleave:T,onClick:x},[createVNode("span",{class:"v-rating__hidden"},[o(e.itemAriaLabel,S,e.length)]),k?r.item?r.item({...m.value[_],props:O,value:S,index:_,rating:a.value}):createVNode(VBtn,mergeProps({"aria-label":o(e.itemAriaLabel,S,e.length)},O),null):void 0]),createVNode("input",{class:"v-rating__hidden",name:v.value,id:R,type:"radio",value:S,checked:a.value===S,tabindex:-1,readonly:e.readonly,disabled:e.disabled},null)])}function w(b){return r["item-label"]?r["item-label"](b):b.label?createVNode("span",null,[b.label]):createVNode("span",null,[createTextVNode(" ")])}return useRender(()=>{var S;const b=!!((S=e.itemLabels)!=null&&S.length)||r["item-label"];return createVNode(e.tag,{class:["v-rating",{"v-rating--hover":e.hover,"v-rating--readonly":e.readonly},i.value,e.class],style:e.style},{default:()=>[createVNode(y,{value:0,index:-1,showStar:!1},null),u.value.map((_,k)=>{var C,T;return createVNode("div",{class:"v-rating__wrapper"},[b&&e.itemLabelPosition==="top"?w({value:_,index:k,label:(C=e.itemLabels)==null?void 0:C[k]}):void 0,createVNode("div",{class:"v-rating__item"},[e.halfIncrements?createVNode(Fragment,null,[createVNode(y,{value:_-.5,index:k*2},null),createVNode(y,{value:_,index:k*2+1},null)]):createVNode(y,{value:_,index:k},null)]),b&&e.itemLabelPosition==="bottom"?w({value:_,index:k,label:(T=e.itemLabels)==null?void 0:T[k]}):void 0])})]})}),{}}}),rootTypes={actions:"button@2",article:"heading, paragraph",avatar:"avatar",button:"button",card:"image, heading","card-avatar":"image, list-item-avatar",chip:"chip","date-picker":"list-item, heading, divider, date-picker-options, date-picker-days, actions","date-picker-options":"text, avatar@2","date-picker-days":"avatar@28",divider:"divider",heading:"heading",image:"image","list-item":"text","list-item-avatar":"avatar, text","list-item-two-line":"sentences","list-item-avatar-two-line":"avatar, sentences","list-item-three-line":"paragraph","list-item-avatar-three-line":"avatar, paragraph",ossein:"ossein",paragraph:"text@3",sentences:"text@2",subtitle:"text",table:"table-heading, table-thead, table-tbody, table-tfoot","table-heading":"chip, text","table-thead":"heading@6","table-tbody":"table-row-divider@6","table-row-divider":"table-row, divider","table-row":"text@6","table-tfoot":"text@2, avatar@2",text:"text"};function genBone(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return createVNode("div",{class:["v-skeleton-loader__bone",`v-skeleton-loader__${e}`]},[t])}function genBones(e){const[t,r]=e.split("@");return Array.from({length:r}).map(()=>genStructure(t))}function genStructure(e){let t=[];if(!e)return t;const r=rootTypes[e];if(e!==r){if(e.includes(","))return mapBones(e);if(e.includes("@"))return genBones(e);r.includes(",")?t=mapBones(r):r.includes("@")?t=genBones(r):r&&t.push(genStructure(r))}return[genBone(e,t)]}function mapBones(e){return e.replace(/\s/g,"").split(",").map(genStructure)}const makeVSkeletonLoaderProps=propsFactory({boilerplate:Boolean,color:String,loading:Boolean,loadingText:{type:String,default:"$vuetify.loading"},type:{type:[String,Array],default:"ossein"},...makeDimensionProps(),...makeElevationProps(),...makeThemeProps()},"VSkeletonLoader"),VSkeletonLoader=genericComponent()({name:"VSkeletonLoader",props:makeVSkeletonLoaderProps(),setup(e,t){let{slots:r}=t;const{backgroundColorClasses:o,backgroundColorStyles:i}=useBackgroundColor(toRef(e,"color")),{dimensionStyles:c}=useDimension(e),{elevationClasses:a}=useElevation(e),{themeClasses:u}=provideTheme(e),{t:d}=useLocale(),f=computed(()=>genStructure(wrapInArray(e.type).join(",")));return useRender(()=>{var g;const m=!r.default||e.loading;return createVNode("div",{class:["v-skeleton-loader",{"v-skeleton-loader--boilerplate":e.boilerplate},u.value,o.value,a.value],style:[i.value,m?c.value:{}],"aria-busy":e.boilerplate?void 0:m,"aria-live":e.boilerplate?void 0:"polite","aria-label":e.boilerplate?void 0:d(e.loadingText),role:e.boilerplate?void 0:"alert"},[m?f.value:(g=r.default)==null?void 0:g.call(r)])}),{}}}),makeVTooltipProps=propsFactory({id:String,text:String,...omit(makeVOverlayProps({closeOnBack:!1,location:"end",locationStrategy:"connected",eager:!0,minWidth:0,offset:10,openOnClick:!1,openOnHover:!0,origin:"auto",scrim:!1,scrollStrategy:"reposition",transition:!1}),["absolute","persistent"])},"VTooltip"),VTooltip=genericComponent()({name:"VTooltip",props:makeVTooltipProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;const o=useProxiedModel(e,"modelValue"),{scopeId:i}=useScopeId(),c=getUid(),a=computed(()=>e.id||`v-tooltip-${c}`),u=ref(),d=computed(()=>e.location.split(" ").length>1?e.location:e.location+" center"),f=computed(()=>e.origin==="auto"||e.origin==="overlap"||e.origin.split(" ").length>1||e.location.split(" ").length>1?e.origin:e.origin+" center"),m=computed(()=>e.transition?e.transition:o.value?"scale-transition":"fade-transition"),g=computed(()=>mergeProps({"aria-describedby":a.value},e.activatorProps));return useRender(()=>{const v=VOverlay.filterProps(e);return createVNode(VOverlay,mergeProps({ref:u,class:["v-tooltip",e.class],style:e.style,id:a.value},v,{modelValue:o.value,"onUpdate:modelValue":y=>o.value=y,transition:m.value,absolute:!0,location:d.value,origin:f.value,persistent:!0,role:"tooltip",activatorProps:g.value,_disableGlobalStack:!0},i),{activator:r.activator,default:function(){var S;for(var y=arguments.length,w=new Array(y),b=0;b<y;b++)w[b]=arguments[b];return((S=r.default)==null?void 0:S.call(r,...w))??e.text}})}),forwardRefs({},u)}}),_hoisted_1$b={key:0};function _sfc_render$f(e,t,r,o,i,c){const a=resolveComponent("recipe-context-menu"),u=resolveComponent("KeywordsComponent");return e.loading?(openBlock(),createBlock(VCard,{key:1,style:normalizeStyle({height:e.height})},{default:withCtx(()=>[createVNode(VImg,{src:_imports_0,cover:"",height:"60%"}),createVNode(VCardTitle,null,{default:withCtx(()=>[createVNode(VSkeletonLoader,{type:"heading"})]),_:1}),createVNode(VCardText,null,{default:withCtx(()=>[createVNode(VSkeletonLoader,{type:"subtitle"})]),_:1})]),_:1},8,["style"])):(openBlock(),createBlock(VCard,{key:0,to:`/recipe/${e.recipe.id}`,style:normalizeStyle({height:e.height})},{default:withCtx(()=>[createVNode(VTooltip,{class:"align-center justify-center",location:"top center",origin:"overlap","no-click-animation":"","open-on-hover":e.recipe.description!=null&&e.recipe.description!="",contained:""},{activator:withCtx(({props:d})=>[createVNode(VImg,{cover:"",height:"60%",src:e.recipeImageUrl},{default:withCtx(()=>[e.recipe.workingTime!=null&&e.recipe.workingTime>0?(openBlock(),createBlock(VChip,{key:0,size:"x-small","prepend-icon":"fa fa-clock",label:"",color:"light",variant:"elevated",class:"float-start ms-1 mt-1"},{default:withCtx(()=>[createTextVNode(toDisplayString(e.recipe.workingTime),1)]),_:1})):createCommentVNode("",!0),e.recipe.waitingTime!=null&&e.recipe.waitingTime>0?(openBlock(),createBlock(VChip,{key:1,size:"x-small","prepend-icon":"fa fa-pause",label:"",color:"secondary",variant:"elevated",class:"float-start ms-1 mt-1"},{default:withCtx(()=>[createTextVNode(toDisplayString(e.recipe.waitingTime),1)]),_:1})):createCommentVNode("",!0)]),_:1},8,["src"]),e.recipe.image==null?(openBlock(),createBlock(VDivider,{key:0,class:"p-0"})):createCommentVNode("",!0)]),default:withCtx(()=>[e.recipe.description!=null&&e.recipe.description!=""?(openBlock(),createElementBlock("div",_hoisted_1$b,toDisplayString(e.recipe.description),1)):createCommentVNode("",!0)]),_:1},8,["open-on-hover"]),createVNode(VCardItem,null,{default:withCtx(()=>[createVNode(VCardTitle,null,{default:withCtx(()=>[createTextVNode(toDisplayString(e.recipe.name)+" ",1),createVNode(a,{class:"float-end",recipe:e.recipe},null,8,["recipe"])]),_:1}),e.show_keywords?(openBlock(),createBlock(VCardSubtitle,{key:0},{default:withCtx(()=>[createVNode(u,{keywords:e.recipe.keywords},null,8,["keywords"])]),_:1})):createCommentVNode("",!0),e.recipe.rating!=null?(openBlock(),createBlock(VRating,{key:1,modelValue:e.recipe.rating,"onUpdate:modelValue":t[0]||(t[0]=d=>e.recipe.rating=d),color:"amber",density:"comfortable","half-increments":"",readonly:"",size:"x-small"},null,8,["modelValue"])):createCommentVNode("",!0)]),_:1})]),_:1},8,["to","style"]))}const RecipeCard=_export_sfc(_sfc_main$i,[["render",_sfc_render$f]]),handleGesture=e=>{const{touchstartX:t,touchendX:r,touchstartY:o,touchendY:i}=e,c=.5,a=16;e.offsetX=r-t,e.offsetY=i-o,Math.abs(e.offsetY)<c*Math.abs(e.offsetX)&&(e.left&&r<t-a&&e.left(e),e.right&&r>t+a&&e.right(e)),Math.abs(e.offsetX)<c*Math.abs(e.offsetY)&&(e.up&&i<o-a&&e.up(e),e.down&&i>o+a&&e.down(e))};function touchstart(e,t){var o;const r=e.changedTouches[0];t.touchstartX=r.clientX,t.touchstartY=r.clientY,(o=t.start)==null||o.call(t,{originalEvent:e,...t})}function touchend(e,t){var o;const r=e.changedTouches[0];t.touchendX=r.clientX,t.touchendY=r.clientY,(o=t.end)==null||o.call(t,{originalEvent:e,...t}),handleGesture(t)}function touchmove(e,t){var o;const r=e.changedTouches[0];t.touchmoveX=r.clientX,t.touchmoveY=r.clientY,(o=t.move)==null||o.call(t,{originalEvent:e,...t})}function createHandlers(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const t={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:e.left,right:e.right,up:e.up,down:e.down,start:e.start,move:e.move,end:e.end};return{touchstart:r=>touchstart(r,t),touchend:r=>touchend(r,t),touchmove:r=>touchmove(r,t)}}function mounted(e,t){var u;const r=t.value,o=r!=null&&r.parent?e.parentElement:e,i=(r==null?void 0:r.options)??{passive:!0},c=(u=t.instance)==null?void 0:u.$.uid;if(!o||!c)return;const a=createHandlers(t.value);o._touchHandlers=o._touchHandlers??Object.create(null),o._touchHandlers[c]=a,keys(a).forEach(d=>{o.addEventListener(d,a[d],i)})}function unmounted(e,t){var c,a;const r=(c=t.value)!=null&&c.parent?e.parentElement:e,o=(a=t.instance)==null?void 0:a.$.uid;if(!(r!=null&&r._touchHandlers)||!o)return;const i=r._touchHandlers[o];keys(i).forEach(u=>{r.removeEventListener(u,i[u])}),delete r._touchHandlers[o]}const Touch={mounted,unmounted},Touch$1=Touch,VWindowSymbol=Symbol.for("vuetify:v-window"),VWindowGroupSymbol=Symbol.for("vuetify:v-window-group"),makeVWindowProps=propsFactory({continuous:Boolean,nextIcon:{type:[Boolean,String,Function,Object],default:"$next"},prevIcon:{type:[Boolean,String,Function,Object],default:"$prev"},reverse:Boolean,showArrows:{type:[Boolean,String],validator:e=>typeof e=="boolean"||e==="hover"},touch:{type:[Object,Boolean],default:void 0},direction:{type:String,default:"horizontal"},modelValue:null,disabled:Boolean,selectedClass:{type:String,default:"v-window-item--active"},mandatory:{type:[Boolean,String],default:"force"},...makeComponentProps(),...makeTagProps(),...makeThemeProps()},"VWindow"),VWindow=genericComponent()({name:"VWindow",directives:{Touch},props:makeVWindowProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;const{themeClasses:o}=provideTheme(e),{isRtl:i}=useRtl(),{t:c}=useLocale(),a=useGroup(e,VWindowGroupSymbol),u=ref(),d=computed(()=>i.value?!e.reverse:e.reverse),f=shallowRef(!1),m=computed(()=>{const T=e.direction==="vertical"?"y":"x",R=(d.value?!f.value:f.value)?"-reverse":"";return`v-window-${T}${R}-transition`}),g=shallowRef(0),v=ref(void 0),y=computed(()=>a.items.value.findIndex(T=>a.selected.value.includes(T.id)));watch(y,(T,x)=>{const R=a.items.value.length,O=R-1;R<=2?f.value=T<x:T===O&&x===0?f.value=!0:T===0&&x===O?f.value=!1:f.value=T<x}),provide(VWindowSymbol,{transition:m,isReversed:f,transitionCount:g,transitionHeight:v,rootRef:u});const w=computed(()=>e.continuous||y.value!==0),b=computed(()=>e.continuous||y.value!==a.items.value.length-1);function S(){w.value&&a.prev()}function _(){b.value&&a.next()}const k=computed(()=>{const T=[],x={icon:i.value?e.nextIcon:e.prevIcon,class:`v-window__${d.value?"right":"left"}`,onClick:a.prev,"aria-label":c("$vuetify.carousel.prev")};T.push(w.value?r.prev?r.prev({props:x}):createVNode(VBtn,x,null):createVNode("div",null,null));const R={icon:i.value?e.prevIcon:e.nextIcon,class:`v-window__${d.value?"left":"right"}`,onClick:a.next,"aria-label":c("$vuetify.carousel.next")};return T.push(b.value?r.next?r.next({props:R}):createVNode(VBtn,R,null):createVNode("div",null,null)),T}),C=computed(()=>e.touch===!1?e.touch:{...{left:()=>{d.value?S():_()},right:()=>{d.value?_():S()},start:x=>{let{originalEvent:R}=x;R.stopPropagation()}},...e.touch===!0?{}:e.touch});return useRender(()=>withDirectives(createVNode(e.tag,{ref:u,class:["v-window",{"v-window--show-arrows-on-hover":e.showArrows==="hover"},o.value,e.class],style:e.style},{default:()=>{var T,x;return[createVNode("div",{class:"v-window__container",style:{height:v.value}},[(T=r.default)==null?void 0:T.call(r,{group:a}),e.showArrows!==!1&&createVNode("div",{class:"v-window__controls"},[k.value])]),(x=r.additional)==null?void 0:x.call(r,{group:a})]}}),[[resolveDirective("touch"),C.value]])),{group:a}}}),makeVWindowItemProps=propsFactory({reverseTransition:{type:[Boolean,String],default:void 0},transition:{type:[Boolean,String],default:void 0},...makeComponentProps(),...makeGroupItemProps(),...makeLazyProps()},"VWindowItem"),VWindowItem=genericComponent()({name:"VWindowItem",directives:{Touch:Touch$1},props:makeVWindowItemProps(),emits:{"group:selected":e=>!0},setup(e,t){let{slots:r}=t;const o=inject$1(VWindowSymbol),i=useGroupItem(e,VWindowGroupSymbol),{isBooted:c}=useSsrBoot();if(!o||!i)throw new Error("[Vuetify] VWindowItem must be used inside VWindow");const a=shallowRef(!1),u=computed(()=>c.value&&(o.isReversed.value?e.reverseTransition!==!1:e.transition!==!1));function d(){!a.value||!o||(a.value=!1,o.transitionCount.value>0&&(o.transitionCount.value-=1,o.transitionCount.value===0&&(o.transitionHeight.value=void 0)))}function f(){var w;a.value||!o||(a.value=!0,o.transitionCount.value===0&&(o.transitionHeight.value=convertToUnit((w=o.rootRef.value)==null?void 0:w.clientHeight)),o.transitionCount.value+=1)}function m(){d()}function g(w){a.value&&nextTick(()=>{!u.value||!a.value||!o||(o.transitionHeight.value=convertToUnit(w.clientHeight))})}const v=computed(()=>{const w=o.isReversed.value?e.reverseTransition:e.transition;return u.value?{name:typeof w!="string"?o.transition.value:w,onBeforeEnter:f,onAfterEnter:d,onEnterCancelled:m,onBeforeLeave:f,onAfterLeave:d,onLeaveCancelled:m,onEnter:g}:!1}),{hasContent:y}=useLazy(e,i.isSelected);return useRender(()=>createVNode(MaybeTransition,{transition:v.value,disabled:!c.value},{default:()=>{var w;return[withDirectives(createVNode("div",{class:["v-window-item",i.selectedClass.value,e.class],style:e.style},[y.value&&((w=r.default)==null?void 0:w.call(r))]),[[vShow,i.isSelected.value]])]}})),{groupItem:i}}}),_sfc_main$h=defineComponent$1({__name:"HorizontalRecipeWindow",props:{title:{type:String,required:!0},icon:{type:String,required:!1},skeletons:{type:Number,default:0},recipes:{type:Array,required:!0}},setup(e){const{mdAndUp:t}=useDisplay(),r=e,{title:o,recipes:i}=toRefs(r);let c=computed(()=>t.value?4:2),a=computed(()=>{let u=[],d=[];for(const[f,m]of i==null?void 0:i.value.entries())d.push(m),f%c.value==c.value-1&&(d.length>0&&u.push(d),d=[]);return d.length>0&&u.push(d),u});return(u,d)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(VRow,{justify:"space-between"},{default:withCtx(()=>[createVNode(VCol,null,{default:withCtx(()=>[createBaseVNode("h2",null,[e.icon!="undefined"?(openBlock(),createElementBlock("i",{key:0,class:normalizeClass(e.icon+" fa-fw")},null,2)):createCommentVNode("",!0),createTextVNode(" "+toDisplayString(unref(o)),1)])]),_:1})]),_:1}),unref(a).length>0?(openBlock(),createBlock(VRow,{key:0,class:"mt-0"},{default:withCtx(()=>[createVNode(VCol,null,{default:withCtx(()=>[createVNode(VWindow,{"show-arrows":""},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(a),f=>(openBlock(),createBlock(VWindowItem,{class:"pt-1 pb-1"},{default:withCtx(()=>[createVNode(VRow,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(f,m=>(openBlock(),createBlock(VCol,{key:m.id},{default:withCtx(()=>[createVNode(RecipeCard,{recipe:m,show_description:!0,show_keywords:!0,style:{height:"25vh"}},null,8,["recipe"])]),_:2},1024))),128))]),_:2},1024)]),_:2},1024))),256))]),_:1})]),_:1})]),_:1})):createCommentVNode("",!0),unref(a).length==0&&e.skeletons>0?(openBlock(),createBlock(VRow,{key:1},{default:withCtx(()=>[createVNode(VCol,null,{default:withCtx(()=>[createVNode(VWindow,null,{default:withCtx(()=>[createVNode(VWindowItem,null,{default:withCtx(()=>[createVNode(VRow,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.skeletons,f=>(openBlock(),createBlock(VCol,null,{default:withCtx(()=>[createVNode(VSkeletonLoader,{elevation:3,type:"card"})]),_:1}))),256))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})):createCommentVNode("",!0)],64))}});class LuxonError extends Error{}class InvalidDateTimeError extends LuxonError{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class InvalidIntervalError extends LuxonError{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class InvalidDurationError extends LuxonError{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ConflictingSpecificationError extends LuxonError{}class InvalidUnitError extends LuxonError{constructor(t){super(`Invalid unit ${t}`)}}class InvalidArgumentError extends LuxonError{}class ZoneIsAbstractError extends LuxonError{constructor(){super("Zone is an abstract class")}}const n="numeric",s="short",l="long",DATE_SHORT={year:n,month:n,day:n},DATE_MED={year:n,month:s,day:n},DATE_MED_WITH_WEEKDAY={year:n,month:s,day:n,weekday:s},DATE_FULL={year:n,month:l,day:n},DATE_HUGE={year:n,month:l,day:n,weekday:l},TIME_SIMPLE={hour:n,minute:n},TIME_WITH_SECONDS={hour:n,minute:n,second:n},TIME_WITH_SHORT_OFFSET={hour:n,minute:n,second:n,timeZoneName:s},TIME_WITH_LONG_OFFSET={hour:n,minute:n,second:n,timeZoneName:l},TIME_24_SIMPLE={hour:n,minute:n,hourCycle:"h23"},TIME_24_WITH_SECONDS={hour:n,minute:n,second:n,hourCycle:"h23"},TIME_24_WITH_SHORT_OFFSET={hour:n,minute:n,second:n,hourCycle:"h23",timeZoneName:s},TIME_24_WITH_LONG_OFFSET={hour:n,minute:n,second:n,hourCycle:"h23",timeZoneName:l},DATETIME_SHORT={year:n,month:n,day:n,hour:n,minute:n},DATETIME_SHORT_WITH_SECONDS={year:n,month:n,day:n,hour:n,minute:n,second:n},DATETIME_MED={year:n,month:s,day:n,hour:n,minute:n},DATETIME_MED_WITH_SECONDS={year:n,month:s,day:n,hour:n,minute:n,second:n},DATETIME_MED_WITH_WEEKDAY={year:n,month:s,day:n,weekday:s,hour:n,minute:n},DATETIME_FULL={year:n,month:l,day:n,hour:n,minute:n,timeZoneName:s},DATETIME_FULL_WITH_SECONDS={year:n,month:l,day:n,hour:n,minute:n,second:n,timeZoneName:s},DATETIME_HUGE={year:n,month:l,day:n,weekday:l,hour:n,minute:n,timeZoneName:l},DATETIME_HUGE_WITH_SECONDS={year:n,month:l,day:n,weekday:l,hour:n,minute:n,second:n,timeZoneName:l};class Zone{get type(){throw new ZoneIsAbstractError}get name(){throw new ZoneIsAbstractError}get ianaName(){return this.name}get isUniversal(){throw new ZoneIsAbstractError}offsetName(t,r){throw new ZoneIsAbstractError}formatOffset(t,r){throw new ZoneIsAbstractError}offset(t){throw new ZoneIsAbstractError}equals(t){throw new ZoneIsAbstractError}get isValid(){throw new ZoneIsAbstractError}}let singleton$1=null;class SystemZone extends Zone{static get instance(){return singleton$1===null&&(singleton$1=new SystemZone),singleton$1}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:r,locale:o}){return parseZoneInfo(t,r,o)}formatOffset(t,r){return formatOffset(this.offset(t),r)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return t.type==="system"}get isValid(){return!0}}let dtfCache={};function makeDTF(e){return dtfCache[e]||(dtfCache[e]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),dtfCache[e]}const typeToPos={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function hackyOffset(e,t){const r=e.format(t).replace(/\u200E/g,""),o=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r),[,i,c,a,u,d,f,m]=o;return[a,i,c,u,d,f,m]}function partsOffset(e,t){const r=e.formatToParts(t),o=[];for(let i=0;i<r.length;i++){const{type:c,value:a}=r[i],u=typeToPos[c];c==="era"?o[u]=a:isUndefined(u)||(o[u]=parseInt(a,10))}return o}let ianaZoneCache={};class IANAZone extends Zone{static create(t){return ianaZoneCache[t]||(ianaZoneCache[t]=new IANAZone(t)),ianaZoneCache[t]}static resetCache(){ianaZoneCache={},dtfCache={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch{return!1}}constructor(t){super(),this.zoneName=t,this.valid=IANAZone.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:r,locale:o}){return parseZoneInfo(t,r,o,this.name)}formatOffset(t,r){return formatOffset(this.offset(t),r)}offset(t){const r=new Date(t);if(isNaN(r))return NaN;const o=makeDTF(this.name);let[i,c,a,u,d,f,m]=o.formatToParts?partsOffset(o,r):hackyOffset(o,r);u==="BC"&&(i=-Math.abs(i)+1);const v=objToLocalTS({year:i,month:c,day:a,hour:d===24?0:d,minute:f,second:m,millisecond:0});let y=+r;const w=y%1e3;return y-=w>=0?w:1e3+w,(v-y)/(60*1e3)}equals(t){return t.type==="iana"&&t.name===this.name}get isValid(){return this.valid}}let intlLFCache={};function getCachedLF(e,t={}){const r=JSON.stringify([e,t]);let o=intlLFCache[r];return o||(o=new Intl.ListFormat(e,t),intlLFCache[r]=o),o}let intlDTCache={};function getCachedDTF(e,t={}){const r=JSON.stringify([e,t]);let o=intlDTCache[r];return o||(o=new Intl.DateTimeFormat(e,t),intlDTCache[r]=o),o}let intlNumCache={};function getCachedINF(e,t={}){const r=JSON.stringify([e,t]);let o=intlNumCache[r];return o||(o=new Intl.NumberFormat(e,t),intlNumCache[r]=o),o}let intlRelCache={};function getCachedRTF(e,t={}){const{base:r,...o}=t,i=JSON.stringify([e,o]);let c=intlRelCache[i];return c||(c=new Intl.RelativeTimeFormat(e,t),intlRelCache[i]=c),c}let sysLocaleCache=null;function systemLocale(){return sysLocaleCache||(sysLocaleCache=new Intl.DateTimeFormat().resolvedOptions().locale,sysLocaleCache)}let weekInfoCache={};function getCachedWeekInfo(e){let t=weekInfoCache[e];if(!t){const r=new Intl.Locale(e);t="getWeekInfo"in r?r.getWeekInfo():r.weekInfo,weekInfoCache[e]=t}return t}function parseLocaleString(e){const t=e.indexOf("-x-");t!==-1&&(e=e.substring(0,t));const r=e.indexOf("-u-");if(r===-1)return[e];{let o,i;try{o=getCachedDTF(e).resolvedOptions(),i=e}catch{const d=e.substring(0,r);o=getCachedDTF(d).resolvedOptions(),i=d}const{numberingSystem:c,calendar:a}=o;return[i,c,a]}}function intlConfigString(e,t,r){return(r||t)&&(e.includes("-u-")||(e+="-u"),r&&(e+=`-ca-${r}`),t&&(e+=`-nu-${t}`)),e}function mapMonths(e){const t=[];for(let r=1;r<=12;r++){const o=DateTime.utc(2009,r,1);t.push(e(o))}return t}function mapWeekdays(e){const t=[];for(let r=1;r<=7;r++){const o=DateTime.utc(2016,11,13+r);t.push(e(o))}return t}function listStuff(e,t,r,o){const i=e.listingMode();return i==="error"?null:i==="en"?r(t):o(t)}function supportsFastNumbers(e){return e.numberingSystem&&e.numberingSystem!=="latn"?!1:e.numberingSystem==="latn"||!e.locale||e.locale.startsWith("en")||new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem==="latn"}class PolyNumberFormatter{constructor(t,r,o){this.padTo=o.padTo||0,this.floor=o.floor||!1;const{padTo:i,floor:c,...a}=o;if(!r||Object.keys(a).length>0){const u={useGrouping:!1,...o};o.padTo>0&&(u.minimumIntegerDigits=o.padTo),this.inf=getCachedINF(t,u)}}format(t){if(this.inf){const r=this.floor?Math.floor(t):t;return this.inf.format(r)}else{const r=this.floor?Math.floor(t):roundTo(t,3);return padStart(r,this.padTo)}}}class PolyDateFormatter{constructor(t,r,o){this.opts=o,this.originalZone=void 0;let i;if(this.opts.timeZone)this.dt=t;else if(t.zone.type==="fixed"){const a=-1*(t.offset/60),u=a>=0?`Etc/GMT+${a}`:`Etc/GMT${a}`;t.offset!==0&&IANAZone.create(u).valid?(i=u,this.dt=t):(i="UTC",this.dt=t.offset===0?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else t.zone.type==="system"?this.dt=t:t.zone.type==="iana"?(this.dt=t,i=t.zone.name):(i="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const c={...this.opts};c.timeZone=c.timeZone||i,this.dtf=getCachedDTF(r,c)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(r=>{if(r.type==="timeZoneName"){const o=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...r,value:o}}else return r}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class PolyRelFormatter{constructor(t,r,o){this.opts={style:"long",...o},!r&&hasRelative()&&(this.rtf=getCachedRTF(t,o))}format(t,r){return this.rtf?this.rtf.format(t,r):formatRelativeTime(r,t,this.opts.numeric,this.opts.style!=="long")}formatToParts(t,r){return this.rtf?this.rtf.formatToParts(t,r):[]}}const fallbackWeekSettings={firstDay:1,minimalDays:4,weekend:[6,7]};class Locale{static fromOpts(t){return Locale.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,r,o,i,c=!1){const a=t||Settings.defaultLocale,u=a||(c?"en-US":systemLocale()),d=r||Settings.defaultNumberingSystem,f=o||Settings.defaultOutputCalendar,m=validateWeekSettings(i)||Settings.defaultWeekSettings;return new Locale(u,d,f,m,a)}static resetCache(){sysLocaleCache=null,intlDTCache={},intlNumCache={},intlRelCache={}}static fromObject({locale:t,numberingSystem:r,outputCalendar:o,weekSettings:i}={}){return Locale.create(t,r,o,i)}constructor(t,r,o,i,c){const[a,u,d]=parseLocaleString(t);this.locale=a,this.numberingSystem=r||u||null,this.outputCalendar=o||d||null,this.weekSettings=i,this.intl=intlConfigString(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=c,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=supportsFastNumbers(this)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),r=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return t&&r?"en":"intl"}clone(t){return!t||Object.getOwnPropertyNames(t).length===0?this:Locale.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,validateWeekSettings(t.weekSettings)||this.weekSettings,t.defaultToEN||!1)}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,r=!1){return listStuff(this,t,months,()=>{const o=r?{month:t,day:"numeric"}:{month:t},i=r?"format":"standalone";return this.monthsCache[i][t]||(this.monthsCache[i][t]=mapMonths(c=>this.extract(c,o,"month"))),this.monthsCache[i][t]})}weekdays(t,r=!1){return listStuff(this,t,weekdays,()=>{const o=r?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},i=r?"format":"standalone";return this.weekdaysCache[i][t]||(this.weekdaysCache[i][t]=mapWeekdays(c=>this.extract(c,o,"weekday"))),this.weekdaysCache[i][t]})}meridiems(){return listStuff(this,void 0,()=>meridiems,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[DateTime.utc(2016,11,13,9),DateTime.utc(2016,11,13,19)].map(r=>this.extract(r,t,"dayperiod"))}return this.meridiemCache})}eras(t){return listStuff(this,t,eras,()=>{const r={era:t};return this.eraCache[t]||(this.eraCache[t]=[DateTime.utc(-40,1,1),DateTime.utc(2017,1,1)].map(o=>this.extract(o,r,"era"))),this.eraCache[t]})}extract(t,r,o){const i=this.dtFormatter(t,r),c=i.formatToParts(),a=c.find(u=>u.type.toLowerCase()===o);return a?a.value:null}numberFormatter(t={}){return new PolyNumberFormatter(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,r={}){return new PolyDateFormatter(t,this.intl,r)}relFormatter(t={}){return new PolyRelFormatter(this.intl,this.isEnglish(),t)}listFormatter(t={}){return getCachedLF(this.intl,t)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:hasLocaleWeekInfo()?getCachedWeekInfo(this.locale):fallbackWeekSettings}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}}let singleton=null;class FixedOffsetZone extends Zone{static get utcInstance(){return singleton===null&&(singleton=new FixedOffsetZone(0)),singleton}static instance(t){return t===0?FixedOffsetZone.utcInstance:new FixedOffsetZone(t)}static parseSpecifier(t){if(t){const r=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(r)return new FixedOffsetZone(signedOffset(r[1],r[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${formatOffset(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${formatOffset(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,r){return formatOffset(this.fixed,r)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return t.type==="fixed"&&t.fixed===this.fixed}get isValid(){return!0}}class InvalidZone extends Zone{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function normalizeZone(e,t){if(isUndefined(e)||e===null)return t;if(e instanceof Zone)return e;if(isString(e)){const r=e.toLowerCase();return r==="default"?t:r==="local"||r==="system"?SystemZone.instance:r==="utc"||r==="gmt"?FixedOffsetZone.utcInstance:FixedOffsetZone.parseSpecifier(r)||IANAZone.create(e)}else return isNumber(e)?FixedOffsetZone.instance(e):typeof e=="object"&&"offset"in e&&typeof e.offset=="function"?e:new InvalidZone(e)}let now=()=>Date.now(),defaultZone="system",defaultLocale=null,defaultNumberingSystem=null,defaultOutputCalendar=null,twoDigitCutoffYear=60,throwOnInvalid,defaultWeekSettings=null;class Settings{static get now(){return now}static set now(t){now=t}static set defaultZone(t){defaultZone=t}static get defaultZone(){return normalizeZone(defaultZone,SystemZone.instance)}static get defaultLocale(){return defaultLocale}static set defaultLocale(t){defaultLocale=t}static get defaultNumberingSystem(){return defaultNumberingSystem}static set defaultNumberingSystem(t){defaultNumberingSystem=t}static get defaultOutputCalendar(){return defaultOutputCalendar}static set defaultOutputCalendar(t){defaultOutputCalendar=t}static get defaultWeekSettings(){return defaultWeekSettings}static set defaultWeekSettings(t){defaultWeekSettings=validateWeekSettings(t)}static get twoDigitCutoffYear(){return twoDigitCutoffYear}static set twoDigitCutoffYear(t){twoDigitCutoffYear=t%100}static get throwOnInvalid(){return throwOnInvalid}static set throwOnInvalid(t){throwOnInvalid=t}static resetCaches(){Locale.resetCache(),IANAZone.resetCache()}}class Invalid{constructor(t,r){this.reason=t,this.explanation=r}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const nonLeapLadder=[0,31,59,90,120,151,181,212,243,273,304,334],leapLadder=[0,31,60,91,121,152,182,213,244,274,305,335];function unitOutOfRange(e,t){return new Invalid("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function dayOfWeek(e,t,r){const o=new Date(Date.UTC(e,t-1,r));e<100&&e>=0&&o.setUTCFullYear(o.getUTCFullYear()-1900);const i=o.getUTCDay();return i===0?7:i}function computeOrdinal(e,t,r){return r+(isLeapYear(e)?leapLadder:nonLeapLadder)[t-1]}function uncomputeOrdinal(e,t){const r=isLeapYear(e)?leapLadder:nonLeapLadder,o=r.findIndex(c=>c<t),i=t-r[o];return{month:o+1,day:i}}function isoWeekdayToLocal(e,t){return(e-t+7)%7+1}function gregorianToWeek(e,t=4,r=1){const{year:o,month:i,day:c}=e,a=computeOrdinal(o,i,c),u=isoWeekdayToLocal(dayOfWeek(o,i,c),r);let d=Math.floor((a-u+14-t)/7),f;return d<1?(f=o-1,d=weeksInWeekYear(f,t,r)):d>weeksInWeekYear(o,t,r)?(f=o+1,d=1):f=o,{weekYear:f,weekNumber:d,weekday:u,...timeObject(e)}}function weekToGregorian(e,t=4,r=1){const{weekYear:o,weekNumber:i,weekday:c}=e,a=isoWeekdayToLocal(dayOfWeek(o,1,t),r),u=daysInYear(o);let d=i*7+c-a-7+t,f;d<1?(f=o-1,d+=daysInYear(f)):d>u?(f=o+1,d-=daysInYear(o)):f=o;const{month:m,day:g}=uncomputeOrdinal(f,d);return{year:f,month:m,day:g,...timeObject(e)}}function gregorianToOrdinal(e){const{year:t,month:r,day:o}=e,i=computeOrdinal(t,r,o);return{year:t,ordinal:i,...timeObject(e)}}function ordinalToGregorian(e){const{year:t,ordinal:r}=e,{month:o,day:i}=uncomputeOrdinal(t,r);return{year:t,month:o,day:i,...timeObject(e)}}function usesLocalWeekValues(e,t){if(!isUndefined(e.localWeekday)||!isUndefined(e.localWeekNumber)||!isUndefined(e.localWeekYear)){if(!isUndefined(e.weekday)||!isUndefined(e.weekNumber)||!isUndefined(e.weekYear))throw new ConflictingSpecificationError("Cannot mix locale-based week fields with ISO-based week fields");return isUndefined(e.localWeekday)||(e.weekday=e.localWeekday),isUndefined(e.localWeekNumber)||(e.weekNumber=e.localWeekNumber),isUndefined(e.localWeekYear)||(e.weekYear=e.localWeekYear),delete e.localWeekday,delete e.localWeekNumber,delete e.localWeekYear,{minDaysInFirstWeek:t.getMinDaysInFirstWeek(),startOfWeek:t.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function hasInvalidWeekData(e,t=4,r=1){const o=isInteger(e.weekYear),i=integerBetween(e.weekNumber,1,weeksInWeekYear(e.weekYear,t,r)),c=integerBetween(e.weekday,1,7);return o?i?c?!1:unitOutOfRange("weekday",e.weekday):unitOutOfRange("week",e.weekNumber):unitOutOfRange("weekYear",e.weekYear)}function hasInvalidOrdinalData(e){const t=isInteger(e.year),r=integerBetween(e.ordinal,1,daysInYear(e.year));return t?r?!1:unitOutOfRange("ordinal",e.ordinal):unitOutOfRange("year",e.year)}function hasInvalidGregorianData(e){const t=isInteger(e.year),r=integerBetween(e.month,1,12),o=integerBetween(e.day,1,daysInMonth(e.year,e.month));return t?r?o?!1:unitOutOfRange("day",e.day):unitOutOfRange("month",e.month):unitOutOfRange("year",e.year)}function hasInvalidTimeData(e){const{hour:t,minute:r,second:o,millisecond:i}=e,c=integerBetween(t,0,23)||t===24&&r===0&&o===0&&i===0,a=integerBetween(r,0,59),u=integerBetween(o,0,59),d=integerBetween(i,0,999);return c?a?u?d?!1:unitOutOfRange("millisecond",i):unitOutOfRange("second",o):unitOutOfRange("minute",r):unitOutOfRange("hour",t)}function isUndefined(e){return typeof e>"u"}function isNumber(e){return typeof e=="number"}function isInteger(e){return typeof e=="number"&&e%1===0}function isString(e){return typeof e=="string"}function isDate(e){return Object.prototype.toString.call(e)==="[object Date]"}function hasRelative(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function hasLocaleWeekInfo(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function maybeArray(e){return Array.isArray(e)?e:[e]}function bestBy(e,t,r){if(e.length!==0)return e.reduce((o,i)=>{const c=[t(i),i];return o&&r(o[0],c[0])===o[0]?o:c},null)[1]}function pick(e,t){return t.reduce((r,o)=>(r[o]=e[o],r),{})}function hasOwnProperty(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function validateWeekSettings(e){if(e==null)return null;if(typeof e!="object")throw new InvalidArgumentError("Week settings must be an object");if(!integerBetween(e.firstDay,1,7)||!integerBetween(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some(t=>!integerBetween(t,1,7)))throw new InvalidArgumentError("Invalid week settings");return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}function integerBetween(e,t,r){return isInteger(e)&&e>=t&&e<=r}function floorMod(e,t){return e-t*Math.floor(e/t)}function padStart(e,t=2){const r=e<0;let o;return r?o="-"+(""+-e).padStart(t,"0"):o=(""+e).padStart(t,"0"),o}function parseInteger(e){if(!(isUndefined(e)||e===null||e===""))return parseInt(e,10)}function parseFloating(e){if(!(isUndefined(e)||e===null||e===""))return parseFloat(e)}function parseMillis(e){if(!(isUndefined(e)||e===null||e==="")){const t=parseFloat("0."+e)*1e3;return Math.floor(t)}}function roundTo(e,t,r=!1){const o=10**t;return(r?Math.trunc:Math.round)(e*o)/o}function isLeapYear(e){return e%4===0&&(e%100!==0||e%400===0)}function daysInYear(e){return isLeapYear(e)?366:365}function daysInMonth(e,t){const r=floorMod(t-1,12)+1,o=e+(t-r)/12;return r===2?isLeapYear(o)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}function objToLocalTS(e){let t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t),t.setUTCFullYear(e.year,e.month-1,e.day)),+t}function firstWeekOffset(e,t,r){return-isoWeekdayToLocal(dayOfWeek(e,1,t),r)+t-1}function weeksInWeekYear(e,t=4,r=1){const o=firstWeekOffset(e,t,r),i=firstWeekOffset(e+1,t,r);return(daysInYear(e)-o+i)/7}function untruncateYear(e){return e>99?e:e>Settings.twoDigitCutoffYear?1900+e:2e3+e}function parseZoneInfo(e,t,r,o=null){const i=new Date(e),c={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};o&&(c.timeZone=o);const a={timeZoneName:t,...c},u=new Intl.DateTimeFormat(r,a).formatToParts(i).find(d=>d.type.toLowerCase()==="timezonename");return u?u.value:null}function signedOffset(e,t){let r=parseInt(e,10);Number.isNaN(r)&&(r=0);const o=parseInt(t,10)||0,i=r<0||Object.is(r,-0)?-o:o;return r*60+i}function asNumber(e){const t=Number(e);if(typeof e=="boolean"||e===""||Number.isNaN(t))throw new InvalidArgumentError(`Invalid unit value ${e}`);return t}function normalizeObject(e,t){const r={};for(const o in e)if(hasOwnProperty(e,o)){const i=e[o];if(i==null)continue;r[t(o)]=asNumber(i)}return r}function formatOffset(e,t){const r=Math.trunc(Math.abs(e/60)),o=Math.trunc(Math.abs(e%60)),i=e>=0?"+":"-";switch(t){case"short":return`${i}${padStart(r,2)}:${padStart(o,2)}`;case"narrow":return`${i}${r}${o>0?`:${o}`:""}`;case"techie":return`${i}${padStart(r,2)}${padStart(o,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function timeObject(e){return pick(e,["hour","minute","second","millisecond"])}const monthsLong=["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],monthsNarrow=["J","F","M","A","M","J","J","A","S","O","N","D"];function months(e){switch(e){case"narrow":return[...monthsNarrow];case"short":return[...monthsShort];case"long":return[...monthsLong];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const weekdaysLong=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],weekdaysShort=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],weekdaysNarrow=["M","T","W","T","F","S","S"];function weekdays(e){switch(e){case"narrow":return[...weekdaysNarrow];case"short":return[...weekdaysShort];case"long":return[...weekdaysLong];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const meridiems=["AM","PM"],erasLong=["Before Christ","Anno Domini"],erasShort=["BC","AD"],erasNarrow=["B","A"];function eras(e){switch(e){case"narrow":return[...erasNarrow];case"short":return[...erasShort];case"long":return[...erasLong];default:return null}}function meridiemForDateTime(e){return meridiems[e.hour<12?0:1]}function weekdayForDateTime(e,t){return weekdays(t)[e.weekday-1]}function monthForDateTime(e,t){return months(t)[e.month-1]}function eraForDateTime(e,t){return eras(t)[e.year<0?0:1]}function formatRelativeTime(e,t,r="always",o=!1){const i={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},c=["hours","minutes","seconds"].indexOf(e)===-1;if(r==="auto"&&c){const g=e==="days";switch(t){case 1:return g?"tomorrow":`next ${i[e][0]}`;case-1:return g?"yesterday":`last ${i[e][0]}`;case 0:return g?"today":`this ${i[e][0]}`}}const a=Object.is(t,-0)||t<0,u=Math.abs(t),d=u===1,f=i[e],m=o?d?f[1]:f[2]||f[1]:d?i[e][0]:e;return a?`${u} ${m} ago`:`in ${u} ${m}`}function stringifyTokens(e,t){let r="";for(const o of e)o.literal?r+=o.val:r+=t(o.val);return r}const macroTokenToFormatOpts={D:DATE_SHORT,DD:DATE_MED,DDD:DATE_FULL,DDDD:DATE_HUGE,t:TIME_SIMPLE,tt:TIME_WITH_SECONDS,ttt:TIME_WITH_SHORT_OFFSET,tttt:TIME_WITH_LONG_OFFSET,T:TIME_24_SIMPLE,TT:TIME_24_WITH_SECONDS,TTT:TIME_24_WITH_SHORT_OFFSET,TTTT:TIME_24_WITH_LONG_OFFSET,f:DATETIME_SHORT,ff:DATETIME_MED,fff:DATETIME_FULL,ffff:DATETIME_HUGE,F:DATETIME_SHORT_WITH_SECONDS,FF:DATETIME_MED_WITH_SECONDS,FFF:DATETIME_FULL_WITH_SECONDS,FFFF:DATETIME_HUGE_WITH_SECONDS};class Formatter{static create(t,r={}){return new Formatter(t,r)}static parseFormat(t){let r=null,o="",i=!1;const c=[];for(let a=0;a<t.length;a++){const u=t.charAt(a);u==="'"?(o.length>0&&c.push({literal:i||/^\s+$/.test(o),val:o}),r=null,o="",i=!i):i||u===r?o+=u:(o.length>0&&c.push({literal:/^\s+$/.test(o),val:o}),o=u,r=u)}return o.length>0&&c.push({literal:i||/^\s+$/.test(o),val:o}),c}static macroTokenToFormatOpts(t){return macroTokenToFormatOpts[t]}constructor(t,r){this.opts=r,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,r){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(t,{...this.opts,...r}).format()}dtFormatter(t,r={}){return this.loc.dtFormatter(t,{...this.opts,...r})}formatDateTime(t,r){return this.dtFormatter(t,r).format()}formatDateTimeParts(t,r){return this.dtFormatter(t,r).formatToParts()}formatInterval(t,r){return this.dtFormatter(t.start,r).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,r){return this.dtFormatter(t,r).resolvedOptions()}num(t,r=0){if(this.opts.forceSimple)return padStart(t,r);const o={...this.opts};return r>0&&(o.padTo=r),this.loc.numberFormatter(o).format(t)}formatDateTimeFromString(t,r){const o=this.loc.listingMode()==="en",i=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",c=(y,w)=>this.loc.extract(t,y,w),a=y=>t.isOffsetFixed&&t.offset===0&&y.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,y.format):"",u=()=>o?meridiemForDateTime(t):c({hour:"numeric",hourCycle:"h12"},"dayperiod"),d=(y,w)=>o?monthForDateTime(t,y):c(w?{month:y}:{month:y,day:"numeric"},"month"),f=(y,w)=>o?weekdayForDateTime(t,y):c(w?{weekday:y}:{weekday:y,month:"long",day:"numeric"},"weekday"),m=y=>{const w=Formatter.macroTokenToFormatOpts(y);return w?this.formatWithSystemDefault(t,w):y},g=y=>o?eraForDateTime(t,y):c({era:y},"era"),v=y=>{switch(y){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12===0?12:t.hour%12);case"hh":return this.num(t.hour%12===0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return a({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return a({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return a({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return u();case"d":return i?c({day:"numeric"},"day"):this.num(t.day);case"dd":return i?c({day:"2-digit"},"day"):this.num(t.day,2);case"c":return this.num(t.weekday);case"ccc":return f("short",!0);case"cccc":return f("long",!0);case"ccccc":return f("narrow",!0);case"E":return this.num(t.weekday);case"EEE":return f("short",!1);case"EEEE":return f("long",!1);case"EEEEE":return f("narrow",!1);case"L":return i?c({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return i?c({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return d("short",!0);case"LLLL":return d("long",!0);case"LLLLL":return d("narrow",!0);case"M":return i?c({month:"numeric"},"month"):this.num(t.month);case"MM":return i?c({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return d("short",!1);case"MMMM":return d("long",!1);case"MMMMM":return d("narrow",!1);case"y":return i?c({year:"numeric"},"year"):this.num(t.year);case"yy":return i?c({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return i?c({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return i?c({year:"numeric"},"year"):this.num(t.year,6);case"G":return g("short");case"GG":return g("long");case"GGGGG":return g("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return m(y)}};return stringifyTokens(Formatter.parseFormat(r),v)}formatDurationFromString(t,r){const o=d=>{switch(d[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},i=d=>f=>{const m=o(f);return m?this.num(d.get(m),f.length):f},c=Formatter.parseFormat(r),a=c.reduce((d,{literal:f,val:m})=>f?d:d.concat(m),[]),u=t.shiftTo(...a.map(o).filter(d=>d));return stringifyTokens(c,i(u))}}const ianaRegex=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function combineRegexes(...e){const t=e.reduce((r,o)=>r+o.source,"");return RegExp(`^${t}$`)}function combineExtractors(...e){return t=>e.reduce(([r,o,i],c)=>{const[a,u,d]=c(t,i);return[{...r,...a},u||o,d]},[{},null,1]).slice(0,2)}function parse(e,...t){if(e==null)return[null,null];for(const[r,o]of t){const i=r.exec(e);if(i)return o(i)}return[null,null]}function simpleParse(...e){return(t,r)=>{const o={};let i;for(i=0;i<e.length;i++)o[e[i]]=parseInteger(t[r+i]);return[o,null,r+i]}}const offsetRegex=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,isoExtendedZone=`(?:${offsetRegex.source}?(?:\\[(${ianaRegex.source})\\])?)?`,isoTimeBaseRegex=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,isoTimeRegex=RegExp(`${isoTimeBaseRegex.source}${isoExtendedZone}`),isoTimeExtensionRegex=RegExp(`(?:T${isoTimeRegex.source})?`),isoYmdRegex=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,isoWeekRegex=/(\d{4})-?W(\d\d)(?:-?(\d))?/,isoOrdinalRegex=/(\d{4})-?(\d{3})/,extractISOWeekData=simpleParse("weekYear","weekNumber","weekDay"),extractISOOrdinalData=simpleParse("year","ordinal"),sqlYmdRegex=/(\d{4})-(\d\d)-(\d\d)/,sqlTimeRegex=RegExp(`${isoTimeBaseRegex.source} ?(?:${offsetRegex.source}|(${ianaRegex.source}))?`),sqlTimeExtensionRegex=RegExp(`(?: ${sqlTimeRegex.source})?`);function int(e,t,r){const o=e[t];return isUndefined(o)?r:parseInteger(o)}function extractISOYmd(e,t){return[{year:int(e,t),month:int(e,t+1,1),day:int(e,t+2,1)},null,t+3]}function extractISOTime(e,t){return[{hours:int(e,t,0),minutes:int(e,t+1,0),seconds:int(e,t+2,0),milliseconds:parseMillis(e[t+3])},null,t+4]}function extractISOOffset(e,t){const r=!e[t]&&!e[t+1],o=signedOffset(e[t+1],e[t+2]),i=r?null:FixedOffsetZone.instance(o);return[{},i,t+3]}function extractIANAZone(e,t){const r=e[t]?IANAZone.create(e[t]):null;return[{},r,t+1]}const isoTimeOnly=RegExp(`^T?${isoTimeBaseRegex.source}$`),isoDuration=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function extractISODuration(e){const[t,r,o,i,c,a,u,d,f]=e,m=t[0]==="-",g=d&&d[0]==="-",v=(y,w=!1)=>y!==void 0&&(w||y&&m)?-y:y;return[{years:v(parseFloating(r)),months:v(parseFloating(o)),weeks:v(parseFloating(i)),days:v(parseFloating(c)),hours:v(parseFloating(a)),minutes:v(parseFloating(u)),seconds:v(parseFloating(d),d==="-0"),milliseconds:v(parseMillis(f),g)}]}const obsOffsets={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function fromStrings(e,t,r,o,i,c,a){const u={year:t.length===2?untruncateYear(parseInteger(t)):parseInteger(t),month:monthsShort.indexOf(r)+1,day:parseInteger(o),hour:parseInteger(i),minute:parseInteger(c)};return a&&(u.second=parseInteger(a)),e&&(u.weekday=e.length>3?weekdaysLong.indexOf(e)+1:weekdaysShort.indexOf(e)+1),u}const rfc2822=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function extractRFC2822(e){const[,t,r,o,i,c,a,u,d,f,m,g]=e,v=fromStrings(t,i,o,r,c,a,u);let y;return d?y=obsOffsets[d]:f?y=0:y=signedOffset(m,g),[v,new FixedOffsetZone(y)]}function preprocessRFC2822(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const rfc1123=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,rfc850=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,ascii=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function extractRFC1123Or850(e){const[,t,r,o,i,c,a,u]=e;return[fromStrings(t,i,o,r,c,a,u),FixedOffsetZone.utcInstance]}function extractASCII(e){const[,t,r,o,i,c,a,u]=e;return[fromStrings(t,u,r,o,i,c,a),FixedOffsetZone.utcInstance]}const isoYmdWithTimeExtensionRegex=combineRegexes(isoYmdRegex,isoTimeExtensionRegex),isoWeekWithTimeExtensionRegex=combineRegexes(isoWeekRegex,isoTimeExtensionRegex),isoOrdinalWithTimeExtensionRegex=combineRegexes(isoOrdinalRegex,isoTimeExtensionRegex),isoTimeCombinedRegex=combineRegexes(isoTimeRegex),extractISOYmdTimeAndOffset=combineExtractors(extractISOYmd,extractISOTime,extractISOOffset,extractIANAZone),extractISOWeekTimeAndOffset=combineExtractors(extractISOWeekData,extractISOTime,extractISOOffset,extractIANAZone),extractISOOrdinalDateAndTime=combineExtractors(extractISOOrdinalData,extractISOTime,extractISOOffset,extractIANAZone),extractISOTimeAndOffset=combineExtractors(extractISOTime,extractISOOffset,extractIANAZone);function parseISODate(e){return parse(e,[isoYmdWithTimeExtensionRegex,extractISOYmdTimeAndOffset],[isoWeekWithTimeExtensionRegex,extractISOWeekTimeAndOffset],[isoOrdinalWithTimeExtensionRegex,extractISOOrdinalDateAndTime],[isoTimeCombinedRegex,extractISOTimeAndOffset])}function parseRFC2822Date(e){return parse(preprocessRFC2822(e),[rfc2822,extractRFC2822])}function parseHTTPDate(e){return parse(e,[rfc1123,extractRFC1123Or850],[rfc850,extractRFC1123Or850],[ascii,extractASCII])}function parseISODuration(e){return parse(e,[isoDuration,extractISODuration])}const extractISOTimeOnly=combineExtractors(extractISOTime);function parseISOTimeOnly(e){return parse(e,[isoTimeOnly,extractISOTimeOnly])}const sqlYmdWithTimeExtensionRegex=combineRegexes(sqlYmdRegex,sqlTimeExtensionRegex),sqlTimeCombinedRegex=combineRegexes(sqlTimeRegex),extractISOTimeOffsetAndIANAZone=combineExtractors(extractISOTime,extractISOOffset,extractIANAZone);function parseSQL(e){return parse(e,[sqlYmdWithTimeExtensionRegex,extractISOYmdTimeAndOffset],[sqlTimeCombinedRegex,extractISOTimeOffsetAndIANAZone])}const INVALID$2="Invalid Duration",lowOrderMatrix={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},casualMatrix={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3},...lowOrderMatrix},daysInYearAccurate=146097/400,daysInMonthAccurate=146097/4800,accurateMatrix={years:{quarters:4,months:12,weeks:daysInYearAccurate/7,days:daysInYearAccurate,hours:daysInYearAccurate*24,minutes:daysInYearAccurate*24*60,seconds:daysInYearAccurate*24*60*60,milliseconds:daysInYearAccurate*24*60*60*1e3},quarters:{months:3,weeks:daysInYearAccurate/28,days:daysInYearAccurate/4,hours:daysInYearAccurate*24/4,minutes:daysInYearAccurate*24*60/4,seconds:daysInYearAccurate*24*60*60/4,milliseconds:daysInYearAccurate*24*60*60*1e3/4},months:{weeks:daysInMonthAccurate/7,days:daysInMonthAccurate,hours:daysInMonthAccurate*24,minutes:daysInMonthAccurate*24*60,seconds:daysInMonthAccurate*24*60*60,milliseconds:daysInMonthAccurate*24*60*60*1e3},...lowOrderMatrix},orderedUnits$1=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],reverseUnits=orderedUnits$1.slice(0).reverse();function clone$2(e,t,r=!1){const o={values:r?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix};return new Duration(o)}function durationToMillis(e,t){let r=t.milliseconds??0;for(const o of reverseUnits.slice(1))t[o]&&(r+=t[o]*e[o].milliseconds);return r}function normalizeValues(e,t){const r=durationToMillis(e,t)<0?-1:1;orderedUnits$1.reduceRight((o,i)=>{if(isUndefined(t[i]))return o;if(o){const c=t[o]*r,a=e[i][o],u=Math.floor(c/a);t[i]+=u*r,t[o]-=u*a*r}return i},null),orderedUnits$1.reduce((o,i)=>{if(isUndefined(t[i]))return o;if(o){const c=t[o]%1;t[o]-=c,t[i]+=c*e[o][i]}return i},null)}function removeZeroes(e){const t={};for(const[r,o]of Object.entries(e))o!==0&&(t[r]=o);return t}class Duration{constructor(t){const r=t.conversionAccuracy==="longterm"||!1;let o=r?accurateMatrix:casualMatrix;t.matrix&&(o=t.matrix),this.values=t.values,this.loc=t.loc||Locale.create(),this.conversionAccuracy=r?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=o,this.isLuxonDuration=!0}static fromMillis(t,r){return Duration.fromObject({milliseconds:t},r)}static fromObject(t,r={}){if(t==null||typeof t!="object")throw new InvalidArgumentError(`Duration.fromObject: argument expected to be an object, got ${t===null?"null":typeof t}`);return new Duration({values:normalizeObject(t,Duration.normalizeUnit),loc:Locale.fromObject(r),conversionAccuracy:r.conversionAccuracy,matrix:r.matrix})}static fromDurationLike(t){if(isNumber(t))return Duration.fromMillis(t);if(Duration.isDuration(t))return t;if(typeof t=="object")return Duration.fromObject(t);throw new InvalidArgumentError(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,r){const[o]=parseISODuration(t);return o?Duration.fromObject(o,r):Duration.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,r){const[o]=parseISOTimeOnly(t);return o?Duration.fromObject(o,r):Duration.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,r=null){if(!t)throw new InvalidArgumentError("need to specify a reason the Duration is invalid");const o=t instanceof Invalid?t:new Invalid(t,r);if(Settings.throwOnInvalid)throw new InvalidDurationError(o);return new Duration({invalid:o})}static normalizeUnit(t){const r={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t&&t.toLowerCase()];if(!r)throw new InvalidUnitError(t);return r}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,r={}){const o={...r,floor:r.round!==!1&&r.floor!==!1};return this.isValid?Formatter.create(this.loc,o).formatDurationFromString(this,t):INVALID$2}toHuman(t={}){if(!this.isValid)return INVALID$2;const r=orderedUnits$1.map(o=>{const i=this.values[o];return isUndefined(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:o.slice(0,-1)}).format(i)}).filter(o=>o);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(r)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return this.years!==0&&(t+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(t+=this.months+this.quarters*3+"M"),this.weeks!==0&&(t+=this.weeks+"W"),this.days!==0&&(t+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(t+="T"),this.hours!==0&&(t+=this.hours+"H"),this.minutes!==0&&(t+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(t+=roundTo(this.seconds+this.milliseconds/1e3,3)+"S"),t==="P"&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const r=this.toMillis();return r<0||r>=864e5?null:(t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1},DateTime.fromMillis(r,{zone:"UTC"}).toISOTime(t))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?durationToMillis(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const r=Duration.fromDurationLike(t),o={};for(const i of orderedUnits$1)(hasOwnProperty(r.values,i)||hasOwnProperty(this.values,i))&&(o[i]=r.get(i)+this.get(i));return clone$2(this,{values:o},!0)}minus(t){if(!this.isValid)return this;const r=Duration.fromDurationLike(t);return this.plus(r.negate())}mapUnits(t){if(!this.isValid)return this;const r={};for(const o of Object.keys(this.values))r[o]=asNumber(t(this.values[o],o));return clone$2(this,{values:r},!0)}get(t){return this[Duration.normalizeUnit(t)]}set(t){if(!this.isValid)return this;const r={...this.values,...normalizeObject(t,Duration.normalizeUnit)};return clone$2(this,{values:r})}reconfigure({locale:t,numberingSystem:r,conversionAccuracy:o,matrix:i}={}){const a={loc:this.loc.clone({locale:t,numberingSystem:r}),matrix:i,conversionAccuracy:o};return clone$2(this,a)}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return normalizeValues(this.matrix,t),clone$2(this,{values:t},!0)}rescale(){if(!this.isValid)return this;const t=removeZeroes(this.normalize().shiftToAll().toObject());return clone$2(this,{values:t},!0)}shiftTo(...t){if(!this.isValid)return this;if(t.length===0)return this;t=t.map(a=>Duration.normalizeUnit(a));const r={},o={},i=this.toObject();let c;for(const a of orderedUnits$1)if(t.indexOf(a)>=0){c=a;let u=0;for(const f in o)u+=this.matrix[f][a]*o[f],o[f]=0;isNumber(i[a])&&(u+=i[a]);const d=Math.trunc(u);r[a]=d,o[a]=(u*1e3-d*1e3)/1e3}else isNumber(i[a])&&(o[a]=i[a]);for(const a in o)o[a]!==0&&(r[c]+=a===c?o[a]:o[a]/this.matrix[c][a]);return normalizeValues(this.matrix,r),clone$2(this,{values:r},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const r of Object.keys(this.values))t[r]=this.values[r]===0?0:-this.values[r];return clone$2(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid||!this.loc.equals(t.loc))return!1;function r(o,i){return o===void 0||o===0?i===void 0||i===0:o===i}for(const o of orderedUnits$1)if(!r(this.values[o],t.values[o]))return!1;return!0}}const INVALID$1="Invalid Interval";function validateStartEnd(e,t){return!e||!e.isValid?Interval.invalid("missing or invalid start"):!t||!t.isValid?Interval.invalid("missing or invalid end"):t<e?Interval.invalid("end before start",`The end of an interval must be after its start, but you had start=${e.toISO()} and end=${t.toISO()}`):null}class Interval{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,r=null){if(!t)throw new InvalidArgumentError("need to specify a reason the Interval is invalid");const o=t instanceof Invalid?t:new Invalid(t,r);if(Settings.throwOnInvalid)throw new InvalidIntervalError(o);return new Interval({invalid:o})}static fromDateTimes(t,r){const o=friendlyDateTime(t),i=friendlyDateTime(r),c=validateStartEnd(o,i);return c??new Interval({start:o,end:i})}static after(t,r){const o=Duration.fromDurationLike(r),i=friendlyDateTime(t);return Interval.fromDateTimes(i,i.plus(o))}static before(t,r){const o=Duration.fromDurationLike(r),i=friendlyDateTime(t);return Interval.fromDateTimes(i.minus(o),i)}static fromISO(t,r){const[o,i]=(t||"").split("/",2);if(o&&i){let c,a;try{c=DateTime.fromISO(o,r),a=c.isValid}catch{a=!1}let u,d;try{u=DateTime.fromISO(i,r),d=u.isValid}catch{d=!1}if(a&&d)return Interval.fromDateTimes(c,u);if(a){const f=Duration.fromISO(i,r);if(f.isValid)return Interval.after(c,f)}else if(d){const f=Duration.fromISO(o,r);if(f.isValid)return Interval.before(u,f)}}return Interval.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",r){if(!this.isValid)return NaN;const o=this.start.startOf(t,r);let i;return r!=null&&r.useLocaleWeeks?i=this.end.reconfigure({locale:o.locale}):i=this.end,i=i.startOf(t,r),Math.floor(i.diff(o,t).get(t))+(i.valueOf()!==this.end.valueOf())}hasSame(t){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,t):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return this.isValid?this.s>t:!1}isBefore(t){return this.isValid?this.e<=t:!1}contains(t){return this.isValid?this.s<=t&&this.e>t:!1}set({start:t,end:r}={}){return this.isValid?Interval.fromDateTimes(t||this.s,r||this.e):this}splitAt(...t){if(!this.isValid)return[];const r=t.map(friendlyDateTime).filter(a=>this.contains(a)).sort((a,u)=>a.toMillis()-u.toMillis()),o=[];let{s:i}=this,c=0;for(;i<this.e;){const a=r[c]||this.e,u=+a>+this.e?this.e:a;o.push(Interval.fromDateTimes(i,u)),i=u,c+=1}return o}splitBy(t){const r=Duration.fromDurationLike(t);if(!this.isValid||!r.isValid||r.as("milliseconds")===0)return[];let{s:o}=this,i=1,c;const a=[];for(;o<this.e;){const u=this.start.plus(r.mapUnits(d=>d*i));c=+u>+this.e?this.e:u,a.push(Interval.fromDateTimes(o,c)),o=c,i+=1}return a}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return this.isValid?+this.e==+t.s:!1}abutsEnd(t){return this.isValid?+t.e==+this.s:!1}engulfs(t){return this.isValid?this.s<=t.s&&this.e>=t.e:!1}equals(t){return!this.isValid||!t.isValid?!1:this.s.equals(t.s)&&this.e.equals(t.e)}intersection(t){if(!this.isValid)return this;const r=this.s>t.s?this.s:t.s,o=this.e<t.e?this.e:t.e;return r>=o?null:Interval.fromDateTimes(r,o)}union(t){if(!this.isValid)return this;const r=this.s<t.s?this.s:t.s,o=this.e>t.e?this.e:t.e;return Interval.fromDateTimes(r,o)}static merge(t){const[r,o]=t.sort((i,c)=>i.s-c.s).reduce(([i,c],a)=>c?c.overlaps(a)||c.abutsStart(a)?[i,c.union(a)]:[i.concat([c]),a]:[i,a],[[],null]);return o&&r.push(o),r}static xor(t){let r=null,o=0;const i=[],c=t.map(d=>[{time:d.s,type:"s"},{time:d.e,type:"e"}]),a=Array.prototype.concat(...c),u=a.sort((d,f)=>d.time-f.time);for(const d of u)o+=d.type==="s"?1:-1,o===1?r=d.time:(r&&+r!=+d.time&&i.push(Interval.fromDateTimes(r,d.time)),r=null);return Interval.merge(i)}difference(...t){return Interval.xor([this].concat(t)).map(r=>this.intersection(r)).filter(r=>r&&!r.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} ${this.e.toISO()})`:INVALID$1}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=DATE_SHORT,r={}){return this.isValid?Formatter.create(this.s.loc.clone(r),t).formatInterval(this):INVALID$1}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:INVALID$1}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:INVALID$1}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:INVALID$1}toFormat(t,{separator:r=" "}={}){return this.isValid?`${this.s.toFormat(t)}${r}${this.e.toFormat(t)}`:INVALID$1}toDuration(t,r){return this.isValid?this.e.diff(this.s,t,r):Duration.invalid(this.invalidReason)}mapEndpoints(t){return Interval.fromDateTimes(t(this.s),t(this.e))}}class Info{static hasDST(t=Settings.defaultZone){const r=DateTime.now().setZone(t).set({month:12});return!t.isUniversal&&r.offset!==r.set({month:6}).offset}static isValidIANAZone(t){return IANAZone.isValidZone(t)}static normalizeZone(t){return normalizeZone(t,Settings.defaultZone)}static getStartOfWeek({locale:t=null,locObj:r=null}={}){return(r||Locale.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:r=null}={}){return(r||Locale.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:r=null}={}){return(r||Locale.create(t)).getWeekendDays().slice()}static months(t="long",{locale:r=null,numberingSystem:o=null,locObj:i=null,outputCalendar:c="gregory"}={}){return(i||Locale.create(r,o,c)).months(t)}static monthsFormat(t="long",{locale:r=null,numberingSystem:o=null,locObj:i=null,outputCalendar:c="gregory"}={}){return(i||Locale.create(r,o,c)).months(t,!0)}static weekdays(t="long",{locale:r=null,numberingSystem:o=null,locObj:i=null}={}){return(i||Locale.create(r,o,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:r=null,numberingSystem:o=null,locObj:i=null}={}){return(i||Locale.create(r,o,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Locale.create(t).meridiems()}static eras(t="short",{locale:r=null}={}){return Locale.create(r,null,"gregory").eras(t)}static features(){return{relative:hasRelative(),localeWeek:hasLocaleWeekInfo()}}}function dayDiff(e,t){const r=i=>i.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),o=r(t)-r(e);return Math.floor(Duration.fromMillis(o).as("days"))}function highOrderDiffs(e,t,r){const o=[["years",(d,f)=>f.year-d.year],["quarters",(d,f)=>f.quarter-d.quarter+(f.year-d.year)*4],["months",(d,f)=>f.month-d.month+(f.year-d.year)*12],["weeks",(d,f)=>{const m=dayDiff(d,f);return(m-m%7)/7}],["days",dayDiff]],i={},c=e;let a,u;for(const[d,f]of o)r.indexOf(d)>=0&&(a=d,i[d]=f(e,t),u=c.plus(i),u>t?(i[d]--,e=c.plus(i),e>t&&(u=e,i[d]--,e=c.plus(i))):e=u);return[e,i,u,a]}function diff(e,t,r,o){let[i,c,a,u]=highOrderDiffs(e,t,r);const d=t-i,f=r.filter(g=>["hours","minutes","seconds","milliseconds"].indexOf(g)>=0);f.length===0&&(a<t&&(a=i.plus({[u]:1})),a!==i&&(c[u]=(c[u]||0)+d/(a-i)));const m=Duration.fromObject(c,o);return f.length>0?Duration.fromMillis(d,o).shiftTo(...f).plus(m):m}const numberingSystems={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[-৯]",deva:"[-९]",fullwide:"[-]",gujr:"[-૯]",hanidec:"[|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[-೯]",laoo:"[-໙]",limb:"[᥆-᥏]",mlym:"[-൯]",mong:"[᠐-᠙]",mymr:"[-၉]",orya:"[-୯]",tamldec:"[-௯]",telu:"[-౯]",thai:"[-๙]",tibt:"[༠-༩]",latn:"\\d"},numberingSystemsUTF16={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},hanidecChars=numberingSystems.hanidec.replace(/[\[|\]]/g,"").split("");function parseDigits(e){let t=parseInt(e,10);if(isNaN(t)){t="";for(let r=0;r<e.length;r++){const o=e.charCodeAt(r);if(e[r].search(numberingSystems.hanidec)!==-1)t+=hanidecChars.indexOf(e[r]);else for(const i in numberingSystemsUTF16){const[c,a]=numberingSystemsUTF16[i];o>=c&&o<=a&&(t+=o-c)}}return parseInt(t,10)}else return t}function digitRegex({numberingSystem:e},t=""){return new RegExp(`${numberingSystems[e||"latn"]}${t}`)}const MISSING_FTP="missing Intl.DateTimeFormat.formatToParts support";function intUnit(e,t=r=>r){return{regex:e,deser:([r])=>t(parseDigits(r))}}const NBSP=" ",spaceOrNBSP=`[ ${NBSP}]`,spaceOrNBSPRegExp=new RegExp(spaceOrNBSP,"g");function fixListRegex(e){return e.replace(/\./g,"\\.?").replace(spaceOrNBSPRegExp,spaceOrNBSP)}function stripInsensitivities(e){return e.replace(/\./g,"").replace(spaceOrNBSPRegExp," ").toLowerCase()}function oneOf(e,t){return e===null?null:{regex:RegExp(e.map(fixListRegex).join("|")),deser:([r])=>e.findIndex(o=>stripInsensitivities(r)===stripInsensitivities(o))+t}}function offset(e,t){return{regex:e,deser:([,r,o])=>signedOffset(r,o),groups:t}}function simple(e){return{regex:e,deser:([t])=>t}}function escapeToken(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function unitForToken(e,t){const r=digitRegex(t),o=digitRegex(t,"{2}"),i=digitRegex(t,"{3}"),c=digitRegex(t,"{4}"),a=digitRegex(t,"{6}"),u=digitRegex(t,"{1,2}"),d=digitRegex(t,"{1,3}"),f=digitRegex(t,"{1,6}"),m=digitRegex(t,"{1,9}"),g=digitRegex(t,"{2,4}"),v=digitRegex(t,"{4,6}"),y=S=>({regex:RegExp(escapeToken(S.val)),deser:([_])=>_,literal:!0}),b=(S=>{if(e.literal)return y(S);switch(S.val){case"G":return oneOf(t.eras("short"),0);case"GG":return oneOf(t.eras("long"),0);case"y":return intUnit(f);case"yy":return intUnit(g,untruncateYear);case"yyyy":return intUnit(c);case"yyyyy":return intUnit(v);case"yyyyyy":return intUnit(a);case"M":return intUnit(u);case"MM":return intUnit(o);case"MMM":return oneOf(t.months("short",!0),1);case"MMMM":return oneOf(t.months("long",!0),1);case"L":return intUnit(u);case"LL":return intUnit(o);case"LLL":return oneOf(t.months("short",!1),1);case"LLLL":return oneOf(t.months("long",!1),1);case"d":return intUnit(u);case"dd":return intUnit(o);case"o":return intUnit(d);case"ooo":return intUnit(i);case"HH":return intUnit(o);case"H":return intUnit(u);case"hh":return intUnit(o);case"h":return intUnit(u);case"mm":return intUnit(o);case"m":return intUnit(u);case"q":return intUnit(u);case"qq":return intUnit(o);case"s":return intUnit(u);case"ss":return intUnit(o);case"S":return intUnit(d);case"SSS":return intUnit(i);case"u":return simple(m);case"uu":return simple(u);case"uuu":return intUnit(r);case"a":return oneOf(t.meridiems(),0);case"kkkk":return intUnit(c);case"kk":return intUnit(g,untruncateYear);case"W":return intUnit(u);case"WW":return intUnit(o);case"E":case"c":return intUnit(r);case"EEE":return oneOf(t.weekdays("short",!1),1);case"EEEE":return oneOf(t.weekdays("long",!1),1);case"ccc":return oneOf(t.weekdays("short",!0),1);case"cccc":return oneOf(t.weekdays("long",!0),1);case"Z":case"ZZ":return offset(new RegExp(`([+-]${u.source})(?::(${o.source}))?`),2);case"ZZZ":return offset(new RegExp(`([+-]${u.source})(${o.source})?`),2);case"z":return simple(/[a-z_+-/]{1,256}?/i);case" ":return simple(/[^\S\n\r]/);default:return y(S)}})(e)||{invalidReason:MISSING_FTP};return b.token=e,b}const partTypeStyleToTokenVal={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function tokenForPart(e,t,r){const{type:o,value:i}=e;if(o==="literal"){const d=/^\s+$/.test(i);return{literal:!d,val:d?" ":i}}const c=t[o];let a=o;o==="hour"&&(t.hour12!=null?a=t.hour12?"hour12":"hour24":t.hourCycle!=null?t.hourCycle==="h11"||t.hourCycle==="h12"?a="hour12":a="hour24":a=r.hour12?"hour12":"hour24");let u=partTypeStyleToTokenVal[a];if(typeof u=="object"&&(u=u[c]),u)return{literal:!1,val:u}}function buildRegex(e){return[`^${e.map(r=>r.regex).reduce((r,o)=>`${r}(${o.source})`,"")}$`,e]}function match(e,t,r){const o=e.match(t);if(o){const i={};let c=1;for(const a in r)if(hasOwnProperty(r,a)){const u=r[a],d=u.groups?u.groups+1:1;!u.literal&&u.token&&(i[u.token.val[0]]=u.deser(o.slice(c,c+d))),c+=d}return[o,i]}else return[o,{}]}function dateTimeFromMatches(e){const t=c=>{switch(c){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let r=null,o;return isUndefined(e.z)||(r=IANAZone.create(e.z)),isUndefined(e.Z)||(r||(r=new FixedOffsetZone(e.Z)),o=e.Z),isUndefined(e.q)||(e.M=(e.q-1)*3+1),isUndefined(e.h)||(e.h<12&&e.a===1?e.h+=12:e.h===12&&e.a===0&&(e.h=0)),e.G===0&&e.y&&(e.y=-e.y),isUndefined(e.u)||(e.S=parseMillis(e.u)),[Object.keys(e).reduce((c,a)=>{const u=t(a);return u&&(c[u]=e[a]),c},{}),r,o]}let dummyDateTimeCache=null;function getDummyDateTime(){return dummyDateTimeCache||(dummyDateTimeCache=DateTime.fromMillis(1555555555555)),dummyDateTimeCache}function maybeExpandMacroToken(e,t){if(e.literal)return e;const r=Formatter.macroTokenToFormatOpts(e.val),o=formatOptsToTokens(r,t);return o==null||o.includes(void 0)?e:o}function expandMacroTokens(e,t){return Array.prototype.concat(...e.map(r=>maybeExpandMacroToken(r,t)))}function explainFromTokens(e,t,r){const o=expandMacroTokens(Formatter.parseFormat(r),e),i=o.map(a=>unitForToken(a,e)),c=i.find(a=>a.invalidReason);if(c)return{input:t,tokens:o,invalidReason:c.invalidReason};{const[a,u]=buildRegex(i),d=RegExp(a,"i"),[f,m]=match(t,d,u),[g,v,y]=m?dateTimeFromMatches(m):[null,null,void 0];if(hasOwnProperty(m,"a")&&hasOwnProperty(m,"H"))throw new ConflictingSpecificationError("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:o,regex:d,rawMatches:f,matches:m,result:g,zone:v,specificOffset:y}}}function parseFromTokens(e,t,r){const{result:o,zone:i,specificOffset:c,invalidReason:a}=explainFromTokens(e,t,r);return[o,i,c,a]}function formatOptsToTokens(e,t){if(!e)return null;const o=Formatter.create(t,e).dtFormatter(getDummyDateTime()),i=o.formatToParts(),c=o.resolvedOptions();return i.map(a=>tokenForPart(a,e,c))}const INVALID="Invalid DateTime",MAX_DATE=864e13;function unsupportedZone(e){return new Invalid("unsupported zone",`the zone "${e.name}" is not supported`)}function possiblyCachedWeekData(e){return e.weekData===null&&(e.weekData=gregorianToWeek(e.c)),e.weekData}function possiblyCachedLocalWeekData(e){return e.localWeekData===null&&(e.localWeekData=gregorianToWeek(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function clone$1(e,t){const r={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new DateTime({...r,...t,old:r})}function fixOffset(e,t,r){let o=e-t*60*1e3;const i=r.offset(o);if(t===i)return[o,t];o-=(i-t)*60*1e3;const c=r.offset(o);return i===c?[o,i]:[e-Math.min(i,c)*60*1e3,Math.max(i,c)]}function tsToObj(e,t){e+=t*60*1e3;const r=new Date(e);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function objToTS(e,t,r){return fixOffset(objToLocalTS(e),t,r)}function adjustTime(e,t){const r=e.o,o=e.c.year+Math.trunc(t.years),i=e.c.month+Math.trunc(t.months)+Math.trunc(t.quarters)*3,c={...e.c,year:o,month:i,day:Math.min(e.c.day,daysInMonth(o,i))+Math.trunc(t.days)+Math.trunc(t.weeks)*7},a=Duration.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),u=objToLocalTS(c);let[d,f]=fixOffset(u,r,e.zone);return a!==0&&(d+=a,f=e.zone.offset(d)),{ts:d,o:f}}function parseDataToDateTime(e,t,r,o,i,c){const{setZone:a,zone:u}=r;if(e&&Object.keys(e).length!==0||t){const d=t||u,f=DateTime.fromObject(e,{...r,zone:d,specificOffset:c});return a?f:f.setZone(u)}else return DateTime.invalid(new Invalid("unparsable",`the input "${i}" can't be parsed as ${o}`))}function toTechFormat(e,t,r=!0){return e.isValid?Formatter.create(Locale.create("en-US"),{allowZ:r,forceSimple:!0}).formatDateTimeFromString(e,t):null}function toISODate(e,t){const r=e.c.year>9999||e.c.year<0;let o="";return r&&e.c.year>=0&&(o+="+"),o+=padStart(e.c.year,r?6:4),t?(o+="-",o+=padStart(e.c.month),o+="-",o+=padStart(e.c.day)):(o+=padStart(e.c.month),o+=padStart(e.c.day)),o}function toISOTime(e,t,r,o,i,c){let a=padStart(e.c.hour);return t?(a+=":",a+=padStart(e.c.minute),(e.c.millisecond!==0||e.c.second!==0||!r)&&(a+=":")):a+=padStart(e.c.minute),(e.c.millisecond!==0||e.c.second!==0||!r)&&(a+=padStart(e.c.second),(e.c.millisecond!==0||!o)&&(a+=".",a+=padStart(e.c.millisecond,3))),i&&(e.isOffsetFixed&&e.offset===0&&!c?a+="Z":e.o<0?(a+="-",a+=padStart(Math.trunc(-e.o/60)),a+=":",a+=padStart(Math.trunc(-e.o%60))):(a+="+",a+=padStart(Math.trunc(e.o/60)),a+=":",a+=padStart(Math.trunc(e.o%60)))),c&&(a+="["+e.zone.ianaName+"]"),a}const defaultUnitValues={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},defaultWeekUnitValues={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},defaultOrdinalUnitValues={ordinal:1,hour:0,minute:0,second:0,millisecond:0},orderedUnits=["year","month","day","hour","minute","second","millisecond"],orderedWeekUnits=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],orderedOrdinalUnits=["year","ordinal","hour","minute","second","millisecond"];function normalizeUnit(e){const t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!t)throw new InvalidUnitError(e);return t}function normalizeUnitWithLocalWeeks(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return normalizeUnit(e)}}function quickDT(e,t){const r=normalizeZone(t.zone,Settings.defaultZone),o=Locale.fromObject(t),i=Settings.now();let c,a;if(isUndefined(e.year))c=i;else{for(const f of orderedUnits)isUndefined(e[f])&&(e[f]=defaultUnitValues[f]);const u=hasInvalidGregorianData(e)||hasInvalidTimeData(e);if(u)return DateTime.invalid(u);const d=r.offset(i);[c,a]=objToTS(e,d,r)}return new DateTime({ts:c,zone:r,loc:o,o:a})}function diffRelative(e,t,r){const o=isUndefined(r.round)?!0:r.round,i=(a,u)=>(a=roundTo(a,o||r.calendary?0:2,!0),t.loc.clone(r).relFormatter(r).format(a,u)),c=a=>r.calendary?t.hasSame(e,a)?0:t.startOf(a).diff(e.startOf(a),a).get(a):t.diff(e,a).get(a);if(r.unit)return i(c(r.unit),r.unit);for(const a of r.units){const u=c(a);if(Math.abs(u)>=1)return i(u,a)}return i(e>t?-0:0,r.units[r.units.length-1])}function lastOpts(e){let t={},r;return e.length>0&&typeof e[e.length-1]=="object"?(t=e[e.length-1],r=Array.from(e).slice(0,e.length-1)):r=Array.from(e),[t,r]}class DateTime{constructor(t){const r=t.zone||Settings.defaultZone;let o=t.invalid||(Number.isNaN(t.ts)?new Invalid("invalid input"):null)||(r.isValid?null:unsupportedZone(r));this.ts=isUndefined(t.ts)?Settings.now():t.ts;let i=null,c=null;if(!o)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(r))[i,c]=[t.old.c,t.old.o];else{const u=r.offset(this.ts);i=tsToObj(this.ts,u),o=Number.isNaN(i.year)?new Invalid("invalid input"):null,i=o?null:i,c=o?null:u}this._zone=r,this.loc=t.loc||Locale.create(),this.invalid=o,this.weekData=null,this.localWeekData=null,this.c=i,this.o=c,this.isLuxonDateTime=!0}static now(){return new DateTime({})}static local(){const[t,r]=lastOpts(arguments),[o,i,c,a,u,d,f]=r;return quickDT({year:o,month:i,day:c,hour:a,minute:u,second:d,millisecond:f},t)}static utc(){const[t,r]=lastOpts(arguments),[o,i,c,a,u,d,f]=r;return t.zone=FixedOffsetZone.utcInstance,quickDT({year:o,month:i,day:c,hour:a,minute:u,second:d,millisecond:f},t)}static fromJSDate(t,r={}){const o=isDate(t)?t.valueOf():NaN;if(Number.isNaN(o))return DateTime.invalid("invalid input");const i=normalizeZone(r.zone,Settings.defaultZone);return i.isValid?new DateTime({ts:o,zone:i,loc:Locale.fromObject(r)}):DateTime.invalid(unsupportedZone(i))}static fromMillis(t,r={}){if(isNumber(t))return t<-MAX_DATE||t>MAX_DATE?DateTime.invalid("Timestamp out of range"):new DateTime({ts:t,zone:normalizeZone(r.zone,Settings.defaultZone),loc:Locale.fromObject(r)});throw new InvalidArgumentError(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,r={}){if(isNumber(t))return new DateTime({ts:t*1e3,zone:normalizeZone(r.zone,Settings.defaultZone),loc:Locale.fromObject(r)});throw new InvalidArgumentError("fromSeconds requires a numerical input")}static fromObject(t,r={}){t=t||{};const o=normalizeZone(r.zone,Settings.defaultZone);if(!o.isValid)return DateTime.invalid(unsupportedZone(o));const i=Locale.fromObject(r),c=normalizeObject(t,normalizeUnitWithLocalWeeks),{minDaysInFirstWeek:a,startOfWeek:u}=usesLocalWeekValues(c,i),d=Settings.now(),f=isUndefined(r.specificOffset)?o.offset(d):r.specificOffset,m=!isUndefined(c.ordinal),g=!isUndefined(c.year),v=!isUndefined(c.month)||!isUndefined(c.day),y=g||v,w=c.weekYear||c.weekNumber;if((y||m)&&w)throw new ConflictingSpecificationError("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(v&&m)throw new ConflictingSpecificationError("Can't mix ordinal dates with month/day");const b=w||c.weekday&&!y;let S,_,k=tsToObj(d,f);b?(S=orderedWeekUnits,_=defaultWeekUnitValues,k=gregorianToWeek(k,a,u)):m?(S=orderedOrdinalUnits,_=defaultOrdinalUnitValues,k=gregorianToOrdinal(k)):(S=orderedUnits,_=defaultUnitValues);let C=!1;for(const E of S){const P=c[E];isUndefined(P)?C?c[E]=_[E]:c[E]=k[E]:C=!0}const T=b?hasInvalidWeekData(c,a,u):m?hasInvalidOrdinalData(c):hasInvalidGregorianData(c),x=T||hasInvalidTimeData(c);if(x)return DateTime.invalid(x);const R=b?weekToGregorian(c,a,u):m?ordinalToGregorian(c):c,[O,A]=objToTS(R,f,o),N=new DateTime({ts:O,zone:o,o:A,loc:i});return c.weekday&&y&&t.weekday!==N.weekday?DateTime.invalid("mismatched weekday",`you can't specify both a weekday of ${c.weekday} and a date of ${N.toISO()}`):N}static fromISO(t,r={}){const[o,i]=parseISODate(t);return parseDataToDateTime(o,i,r,"ISO 8601",t)}static fromRFC2822(t,r={}){const[o,i]=parseRFC2822Date(t);return parseDataToDateTime(o,i,r,"RFC 2822",t)}static fromHTTP(t,r={}){const[o,i]=parseHTTPDate(t);return parseDataToDateTime(o,i,r,"HTTP",r)}static fromFormat(t,r,o={}){if(isUndefined(t)||isUndefined(r))throw new InvalidArgumentError("fromFormat requires an input string and a format");const{locale:i=null,numberingSystem:c=null}=o,a=Locale.fromOpts({locale:i,numberingSystem:c,defaultToEN:!0}),[u,d,f,m]=parseFromTokens(a,t,r);return m?DateTime.invalid(m):parseDataToDateTime(u,d,o,`format ${r}`,t,f)}static fromString(t,r,o={}){return DateTime.fromFormat(t,r,o)}static fromSQL(t,r={}){const[o,i]=parseSQL(t);return parseDataToDateTime(o,i,r,"SQL",t)}static invalid(t,r=null){if(!t)throw new InvalidArgumentError("need to specify a reason the DateTime is invalid");const o=t instanceof Invalid?t:new Invalid(t,r);if(Settings.throwOnInvalid)throw new InvalidDateTimeError(o);return new DateTime({invalid:o})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,r={}){const o=formatOptsToTokens(t,Locale.fromObject(r));return o?o.map(i=>i?i.val:null).join(""):null}static expandFormat(t,r={}){return expandMacroTokens(Formatter.parseFormat(t),Locale.fromObject(r)).map(i=>i.val).join("")}get(t){return this[t]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?possiblyCachedWeekData(this).weekYear:NaN}get weekNumber(){return this.isValid?possiblyCachedWeekData(this).weekNumber:NaN}get weekday(){return this.isValid?possiblyCachedWeekData(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?possiblyCachedLocalWeekData(this).weekday:NaN}get localWeekNumber(){return this.isValid?possiblyCachedLocalWeekData(this).weekNumber:NaN}get localWeekYear(){return this.isValid?possiblyCachedLocalWeekData(this).weekYear:NaN}get ordinal(){return this.isValid?gregorianToOrdinal(this.c).ordinal:NaN}get monthShort(){return this.isValid?Info.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Info.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Info.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Info.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,r=6e4,o=objToLocalTS(this.c),i=this.zone.offset(o-t),c=this.zone.offset(o+t),a=this.zone.offset(o-i*r),u=this.zone.offset(o-c*r);if(a===u)return[this];const d=o-a*r,f=o-u*r,m=tsToObj(d,a),g=tsToObj(f,u);return m.hour===g.hour&&m.minute===g.minute&&m.second===g.second&&m.millisecond===g.millisecond?[clone$1(this,{ts:d}),clone$1(this,{ts:f})]:[this]}get isInLeapYear(){return isLeapYear(this.year)}get daysInMonth(){return daysInMonth(this.year,this.month)}get daysInYear(){return this.isValid?daysInYear(this.year):NaN}get weeksInWeekYear(){return this.isValid?weeksInWeekYear(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?weeksInWeekYear(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:r,numberingSystem:o,calendar:i}=Formatter.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:r,numberingSystem:o,outputCalendar:i}}toUTC(t=0,r={}){return this.setZone(FixedOffsetZone.instance(t),r)}toLocal(){return this.setZone(Settings.defaultZone)}setZone(t,{keepLocalTime:r=!1,keepCalendarTime:o=!1}={}){if(t=normalizeZone(t,Settings.defaultZone),t.equals(this.zone))return this;if(t.isValid){let i=this.ts;if(r||o){const c=t.offset(this.ts),a=this.toObject();[i]=objToTS(a,c,t)}return clone$1(this,{ts:i,zone:t})}else return DateTime.invalid(unsupportedZone(t))}reconfigure({locale:t,numberingSystem:r,outputCalendar:o}={}){const i=this.loc.clone({locale:t,numberingSystem:r,outputCalendar:o});return clone$1(this,{loc:i})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const r=normalizeObject(t,normalizeUnitWithLocalWeeks),{minDaysInFirstWeek:o,startOfWeek:i}=usesLocalWeekValues(r,this.loc),c=!isUndefined(r.weekYear)||!isUndefined(r.weekNumber)||!isUndefined(r.weekday),a=!isUndefined(r.ordinal),u=!isUndefined(r.year),d=!isUndefined(r.month)||!isUndefined(r.day),f=u||d,m=r.weekYear||r.weekNumber;if((f||a)&&m)throw new ConflictingSpecificationError("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(d&&a)throw new ConflictingSpecificationError("Can't mix ordinal dates with month/day");let g;c?g=weekToGregorian({...gregorianToWeek(this.c,o,i),...r},o,i):isUndefined(r.ordinal)?(g={...this.toObject(),...r},isUndefined(r.day)&&(g.day=Math.min(daysInMonth(g.year,g.month),g.day))):g=ordinalToGregorian({...gregorianToOrdinal(this.c),...r});const[v,y]=objToTS(g,this.o,this.zone);return clone$1(this,{ts:v,o:y})}plus(t){if(!this.isValid)return this;const r=Duration.fromDurationLike(t);return clone$1(this,adjustTime(this,r))}minus(t){if(!this.isValid)return this;const r=Duration.fromDurationLike(t).negate();return clone$1(this,adjustTime(this,r))}startOf(t,{useLocaleWeeks:r=!1}={}){if(!this.isValid)return this;const o={},i=Duration.normalizeUnit(t);switch(i){case"years":o.month=1;case"quarters":case"months":o.day=1;case"weeks":case"days":o.hour=0;case"hours":o.minute=0;case"minutes":o.second=0;case"seconds":o.millisecond=0;break}if(i==="weeks")if(r){const c=this.loc.getStartOfWeek(),{weekday:a}=this;a<c&&(o.weekNumber=this.weekNumber-1),o.weekday=c}else o.weekday=1;if(i==="quarters"){const c=Math.ceil(this.month/3);o.month=(c-1)*3+1}return this.set(o)}endOf(t,r){return this.isValid?this.plus({[t]:1}).startOf(t,r).minus(1):this}toFormat(t,r={}){return this.isValid?Formatter.create(this.loc.redefaultToEN(r)).formatDateTimeFromString(this,t):INVALID}toLocaleString(t=DATE_SHORT,r={}){return this.isValid?Formatter.create(this.loc.clone(r),t).formatDateTime(this):INVALID}toLocaleParts(t={}){return this.isValid?Formatter.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:r=!1,suppressMilliseconds:o=!1,includeOffset:i=!0,extendedZone:c=!1}={}){if(!this.isValid)return null;const a=t==="extended";let u=toISODate(this,a);return u+="T",u+=toISOTime(this,a,r,o,i,c),u}toISODate({format:t="extended"}={}){return this.isValid?toISODate(this,t==="extended"):null}toISOWeekDate(){return toTechFormat(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:r=!1,includeOffset:o=!0,includePrefix:i=!1,extendedZone:c=!1,format:a="extended"}={}){return this.isValid?(i?"T":"")+toISOTime(this,a==="extended",r,t,o,c):null}toRFC2822(){return toTechFormat(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return toTechFormat(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?toISODate(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:r=!1,includeOffsetSpace:o=!0}={}){let i="HH:mm:ss.SSS";return(r||t)&&(o&&(i+=" "),r?i+="z":t&&(i+="ZZ")),toTechFormat(this,i,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():INVALID}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const r={...this.c};return t.includeConfig&&(r.outputCalendar=this.outputCalendar,r.numberingSystem=this.loc.numberingSystem,r.locale=this.loc.locale),r}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,r="milliseconds",o={}){if(!this.isValid||!t.isValid)return Duration.invalid("created by diffing an invalid DateTime");const i={locale:this.locale,numberingSystem:this.numberingSystem,...o},c=maybeArray(r).map(Duration.normalizeUnit),a=t.valueOf()>this.valueOf(),u=a?this:t,d=a?t:this,f=diff(u,d,c,i);return a?f.negate():f}diffNow(t="milliseconds",r={}){return this.diff(DateTime.now(),t,r)}until(t){return this.isValid?Interval.fromDateTimes(this,t):this}hasSame(t,r,o){if(!this.isValid)return!1;const i=t.valueOf(),c=this.setZone(t.zone,{keepLocalTime:!0});return c.startOf(r,o)<=i&&i<=c.endOf(r,o)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const r=t.base||DateTime.fromObject({},{zone:this.zone}),o=t.padding?this<r?-t.padding:t.padding:0;let i=["years","months","days","hours","minutes","seconds"],c=t.unit;return Array.isArray(t.unit)&&(i=t.unit,c=void 0),diffRelative(r,this.plus(o),{...t,numeric:"always",units:i,unit:c})}toRelativeCalendar(t={}){return this.isValid?diffRelative(t.base||DateTime.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(DateTime.isDateTime))throw new InvalidArgumentError("min requires all arguments be DateTimes");return bestBy(t,r=>r.valueOf(),Math.min)}static max(...t){if(!t.every(DateTime.isDateTime))throw new InvalidArgumentError("max requires all arguments be DateTimes");return bestBy(t,r=>r.valueOf(),Math.max)}static fromFormatExplain(t,r,o={}){const{locale:i=null,numberingSystem:c=null}=o,a=Locale.fromOpts({locale:i,numberingSystem:c,defaultToEN:!0});return explainFromTokens(a,t,r)}static fromStringExplain(t,r,o={}){return DateTime.fromFormatExplain(t,r,o)}static get DATE_SHORT(){return DATE_SHORT}static get DATE_MED(){return DATE_MED}static get DATE_MED_WITH_WEEKDAY(){return DATE_MED_WITH_WEEKDAY}static get DATE_FULL(){return DATE_FULL}static get DATE_HUGE(){return DATE_HUGE}static get TIME_SIMPLE(){return TIME_SIMPLE}static get TIME_WITH_SECONDS(){return TIME_WITH_SECONDS}static get TIME_WITH_SHORT_OFFSET(){return TIME_WITH_SHORT_OFFSET}static get TIME_WITH_LONG_OFFSET(){return TIME_WITH_LONG_OFFSET}static get TIME_24_SIMPLE(){return TIME_24_SIMPLE}static get TIME_24_WITH_SECONDS(){return TIME_24_WITH_SECONDS}static get TIME_24_WITH_SHORT_OFFSET(){return TIME_24_WITH_SHORT_OFFSET}static get TIME_24_WITH_LONG_OFFSET(){return TIME_24_WITH_LONG_OFFSET}static get DATETIME_SHORT(){return DATETIME_SHORT}static get DATETIME_SHORT_WITH_SECONDS(){return DATETIME_SHORT_WITH_SECONDS}static get DATETIME_MED(){return DATETIME_MED}static get DATETIME_MED_WITH_SECONDS(){return DATETIME_MED_WITH_SECONDS}static get DATETIME_MED_WITH_WEEKDAY(){return DATETIME_MED_WITH_WEEKDAY}static get DATETIME_FULL(){return DATETIME_FULL}static get DATETIME_FULL_WITH_SECONDS(){return DATETIME_FULL_WITH_SECONDS}static get DATETIME_HUGE(){return DATETIME_HUGE}static get DATETIME_HUGE_WITH_SECONDS(){return DATETIME_HUGE_WITH_SECONDS}}function friendlyDateTime(e){if(DateTime.isDateTime(e))return e;if(e&&e.valueOf&&isNumber(e.valueOf()))return DateTime.fromJSDate(e);if(e&&typeof e=="object")return DateTime.fromObject(e);throw new InvalidArgumentError(`Unknown datetime argument: ${e}, of type ${typeof e}`)}const _STORE_ID="meal_plan_store",useMealPlanStore=defineStore(_STORE_ID,()=>{let e=ref(new Map),t=ref([new Date(0),new Date(0)]);ref({});const r=computed(()=>{let u=[];return e.value.forEach((d,f)=>{u.push(d)}),u});computed(()=>({from_date:null,to_date:null,id:-1,meal_type:null,note:"",note_markdown:"",recipe:null,servings:1,shared:[],title:"",title_placeholder:"Title"}));function o(u,d){return t.value[0]!==u||t.value[1]!==d?(t.value=[u,d],new ApiApi().apiMealPlanList({fromDate:DateTime.fromJSDate(u).toISODate(),toDate:DateTime.fromJSDate(d).toISODate()}).then(m=>{m.forEach(g=>{e.value.set(g.id,g)}),t.value=[new Date(0),new Date(0)]})):new Promise(()=>{})}function i(u){return new ApiApi().apiMealPlanCreate({mealPlan:u}).then(f=>(e.value.set(f.id,f),f)).catch(f=>{})}function c(u){return new ApiApi().apiMealPlanUpdate({id:u.id,mealPlan:u}).then(f=>{e.value.set(f.id,f)}).catch(f=>{})}function a(u){return new ApiApi().apiMealPlanDestroy({id:u.id}).then(f=>{e.value.delete(u.id)}).catch(f=>{})}return{plans:e,currently_updating:t,plan_list:r,refreshFromAPI:o,createObject:i,updateObject:c,deleteObject:a}}),_hoisted_1$a=createBaseVNode("h2",null,[createBaseVNode("i",{class:"fas fa-calendar-week fa-fw"}),createTextVNode(" Meal Plans")],-1),_hoisted_2$8={class:"d-flex justify-space-between"},_hoisted_3$5={class:"align-self-center"},_hoisted_4$5={class:"align-self-center"},_hoisted_5$4={key:0},_hoisted_6$4={key:1},_sfc_main$g=defineComponent$1({__name:"HorizontalMealPlanWindow",setup(e){const{mdAndUp:t}=useDisplay(),r=ref(!1);let o=computed(()=>t.value?5:2);const i=computed(()=>{let a=[];if(useMealPlanStore().plan_list.length>0){console.log("found plans");for(const u of Array(4).keys()){let d=DateTime.now().plus({days:u});console.log("going trough days ",u,d),a.push({date:d,create_default_date:d.toISODate(),date_label:d.toLocaleString(DateTime.DATE_MED),plan_entries:useMealPlanStore().plan_list.filter(f=>DateTime.fromJSDate(f.fromDate).startOf("day")<=d.startOf("day")&&DateTime.fromJSDate(f.toDate!=null?f.toDate:f.fromDate).startOf("day")>=d.startOf("day"))})}}return a});let c=computed(()=>{let a=[],u=[];for(const[d,f]of i.value.entries())u.push(f),d%o.value==o.value-1&&(u.length>0&&a.push(u),u=[]);return u.length>0&&a.push(u),a});return onMounted(()=>{r.value=!0,useMealPlanStore().refreshFromAPI(DateTime.now().toJSDate(),DateTime.now().plus({days:7}).toJSDate()).finally(()=>{r.value=!1})}),(a,u)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(VRow,{justify:"space-between"},{default:withCtx(()=>[createVNode(VCol,null,{default:withCtx(()=>[_hoisted_1$a]),_:1})]),_:1}),unref(c).length>0?(openBlock(),createBlock(VRow,{key:0,class:"mt-0"},{default:withCtx(()=>[createVNode(VCol,null,{default:withCtx(()=>[createVNode(VWindow,{"show-arrows":""},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(c),d=>(openBlock(),createBlock(VWindowItem,{class:"pt-1 pb-1"},{default:withCtx(()=>[createVNode(VRow,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(d,f=>(openBlock(),createBlock(VCol,null,{default:withCtx(()=>[createVNode(VList,{density:"compact",class:"pt-0 pb-0"},{default:withCtx(()=>[createVNode(VListItem,null,{default:withCtx(()=>[createBaseVNode("div",_hoisted_2$8,[createBaseVNode("div",_hoisted_3$5,toDisplayString(f.date_label),1),createBaseVNode("div",_hoisted_4$5,[createVNode(VBtn,{variant:"flat",icon:"fas fa-plus",size:"small"})])])]),_:2},1024),f.plan_entries.length>0?(openBlock(),createBlock(VDivider,{key:0})):createCommentVNode("",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(f.plan_entries,m=>(openBlock(),createBlock(VListItem,null,{prepend:withCtx(()=>{var g;return[(g=m.recipe)!=null&&g.image?(openBlock(),createBlock(VAvatar,{key:0,image:m.recipe.image},null,8,["image"])):(openBlock(),createBlock(VAvatar,{key:1,image:_imports_0}))]}),default:withCtx(()=>[createVNode(VListItemTitle,null,{default:withCtx(()=>[m.recipe?(openBlock(),createElementBlock("span",_hoisted_5$4,toDisplayString(m.recipe.name),1)):(openBlock(),createElementBlock("span",_hoisted_6$4,toDisplayString(m.title),1))]),_:2},1024),createVNode(VListItemSubtitle,null,{default:withCtx(()=>[createTextVNode(toDisplayString(m.mealType.name),1)]),_:2},1024)]),_:2},1024))),256))]),_:2},1024)]),_:2},1024))),256))]),_:2},1024)]),_:2},1024))),256))]),_:1})]),_:1})]),_:1})):createCommentVNode("",!0)],64))}}),_sfc_main$f=defineComponent$1({name:"RecipeSearchPage",components:{HorizontalMealPlanWindow:_sfc_main$g,HorizontalRecipeScroller:_sfc_main$h,RecipeCard,GlobalSearchDialog,RecipeCardComponent:RecipeCard,KeywordsComponent:KeywordsBar},computed:{meal_plan_grid:function(){let e=[];if(useMealPlanStore().plan_list.length>0){console.log("found plans");for(const t of Array(4).keys()){let r=DateTime.now().plus({days:t});console.log("going trough days ",t,r),e.push({date:r,create_default_date:r.toISODate(),date_label:r.toLocaleString(DateTime.DATE_MED),plan_entries:useMealPlanStore().plan_list.filter(o=>DateTime.fromJSDate(o.fromDate)<=r&&DateTime.fromJSDate(o.toDate!=null?o.toDate:o.fromDate)>=r)})}}return e}},data(){return{recipes:[],items:Array.from({length:50},(e,t)=>t+1),new_recipes:[],high_rated_recipes:[],random_keyword:{},random_keyword_recipes:[]}},mounted(){const e=new ApiApi;e.apiRecipeList({_new:"true",pageSize:16}).then(t=>{t.results!=null&&(this.new_recipes=t.results)}),e.apiRecipeList({rating:4,pageSize:16}).then(t=>{t.results!=null&&(this.high_rated_recipes=t.results)}),e.apiKeywordList({random:"true",limit:"1"}).then(t=>{t.results!=null&&t.results.length>0&&(this.random_keyword=t.results[0],e.apiRecipeList({keywords:t.results[0].id}).then(r=>{r.results!=null&&(this.random_keyword_recipes=r.results)}))})},methods:{}});function _sfc_render$e(e,t,r,o,i,c){const a=resolveComponent("horizontal-meal-plan-window"),u=resolveComponent("horizontal-recipe-scroller");return openBlock(),createBlock(VContainer,null,{default:withCtx(()=>[createVNode(a,{title:"Meal Plans"}),createVNode(u,{title:"New Recipes",skeletons:4,recipes:e.new_recipes,icon:"fas fa-calendar-alt"},null,8,["recipes"]),createVNode(u,{title:"Top Rated",skeletons:2,recipes:e.high_rated_recipes,icon:"fas fa-star"},null,8,["recipes"]),createVNode(u,{title:e.random_keyword.label,skeletons:4,recipes:e.random_keyword_recipes,icon:"fas fa-tags"},null,8,["title","recipes"])]),_:1})}const RecipeSearchPage=_export_sfc(_sfc_main$f,[["render",_sfc_render$e]]),makeVNumberInputProps=propsFactory({controlVariant:{type:String,default:"default"},inset:Boolean,hideInput:Boolean,min:Number,max:Number,step:Number,...only(makeVInputProps(),["density","disabled","focused","hideDetails","hint","label","persistentHint","readonly"]),...only(makeVFieldProps(),["baseColor","bgColor","class","color","disabled","error","loading","reverse","rounded","style","theme","variant"]),...makeFocusProps()},"VNumberInput"),VNumberInput=genericComponent()({name:"VNumberInput",inheritAttrs:!1,props:{...makeVNumberInputProps(),modelValue:{type:[Number,String],default:0}},emits:{"update:modelValue":e=>!0},setup(e,t){let{attrs:r,emit:o,slots:i}=t;const c=useProxiedModel(e,"modelValue"),{isFocused:a,focus:u,blur:d}=useFocus(e),f=ref();function m(){a.value||u()}const g=computed(()=>e.hideInput?"stacked":e.controlVariant);function v(){var k,C;(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0)?(k=f.value)==null||k.stepUp():(C=f.value)==null||C.stepDown(),f.value&&(c.value=parseInt(f.value.value,10))}function y(){v()}function w(){v(!1)}const b=computed(()=>({click:y})),S=computed(()=>({click:w}));useRender(()=>{const _=filterFieldProps(e),[k,C]=filterInputAttrs(r),{modelValue:T,...x}=VInput.filterProps(e);function R(){const A=g.value==="stacked"?"auto":"100%";return createVNode("div",{class:"v-number-input__control"},[i.decrement?createVNode(VDefaultsProvider,{key:"decrement-defaults",defaults:{VBtn:{flat:!0,rounded:"0",height:A,size:"small",icon:"$expand"}}},{default:()=>[i.decrement(S.value)]}):createVNode(VBtn,{flat:!0,key:"decrement-btn",height:A,icon:"$expand",rounded:"0",size:"small",onClick:w},null),createVNode(VDivider,{vertical:g.value!=="stacked"},null),i.increment?createVNode(VDefaultsProvider,{key:"increment-defaults",defaults:{VBtn:{flat:!0,height:A,rounded:"0",size:"small",icon:"$collapse"}}},{default:()=>[i.increment(b.value)]}):createVNode(VBtn,{flat:!0,key:"increment-btn",height:A,icon:"$collapse",onClick:y,rounded:"0",size:"small"},null)])}function O(){return!e.hideInput&&!e.inset?createVNode(VDivider,{vertical:!0},null):void 0}return createVNode(VInput,mergeProps({class:["v-number-input",{"v-number-input--default":g.value==="default","v-number-input--hide-input":e.hideInput,"v-number-input--inset":e.inset,"v-number-input--reverse":e.reverse,"v-number-input--split":g.value==="split","v-number-input--stacked":g.value==="stacked"},e.class]},k,x,{focused:a.value,style:e.style}),{...i,default:()=>createVNode(VField,mergeProps(_,{active:!0,focused:a.value}),{...i,default:A=>{let{props:{class:N,...E}}=A;return createVNode("input",mergeProps({ref:f,type:"number",value:c.value,class:N,max:e.max,min:e.min,step:e.step,onFocus:m,onBlur:d},C),null)},"append-inner":g.value==="split"?()=>createVNode("div",{class:"v-number-input__control"},[createVNode(VDivider,{vertical:!0},null),createVNode(VBtn,{flat:!0,height:"100%",icon:"$plus",tile:!0,onClick:y},null)]):e.reverse?void 0:()=>createVNode(Fragment,null,[O(),R()]),"prepend-inner":g.value==="split"?()=>createVNode("div",{class:"v-number-input__control"},[createVNode(VBtn,{flat:!0,height:"100%",icon:"$minus",tile:!0,onClick:w},null),createVNode(VDivider,{vertical:!0},null)]):e.reverse?()=>createVNode(Fragment,null,[R(),O()]):void 0})})})}}),_sfc_main$e=defineComponent$1({name:"NumberScalerDialog",components:{VNumberInput},emits:{change(e){return e}},props:{number:{type:Number,default:0},title:{type:String,default:"Number"}},data(){return{dialog:!1,mutable_number:0}},watch:{number:function(e){this.mutable_number=e}},mounted(){this.mutable_number=this.number},methods:{updateNumber:function(e){e==="half"&&(this.mutable_number=this.number/2),e==="double"&&(this.mutable_number=this.number*2),e==="add"&&(this.mutable_number=this.number+1),e==="sub"&&(this.mutable_number=this.number-1),this.$emit("change",{number:this.mutable_number})}}}),_hoisted_1$9=createBaseVNode("i",{class:"fas fa-divide"},null,-1),_hoisted_2$7=createBaseVNode("i",{class:"fas fa-times"},null,-1);function _sfc_render$d(e,t,r,o,i,c){const a=resolveComponent("v-number-input");return openBlock(),createBlock(VDialog,{width:"500",activator:"parent",modelValue:e.dialog,"onUpdate:modelValue":t[5]||(t[5]=u=>e.dialog=u)},{activator:withCtx(({props:u})=>[renderSlot(e.$slots,"activator",{},()=>[createVNode(VBtn,mergeProps(u,{text:"Open Dialog"}),null,16)])]),default:withCtx(({isActive:u})=>[createVNode(VCard,{title:e.title},{default:withCtx(()=>[createVNode(VCardText,null,{default:withCtx(()=>[createVNode(a,{modelValue:e.mutable_number,"onUpdate:modelValue":[t[0]||(t[0]=d=>e.mutable_number=d),t[1]||(t[1]=d=>e.updateNumber("set"))],"control-variant":"split",min:0},null,8,["modelValue"]),createVNode(VBtnGroup,{divided:"",class:"d-flex"},{default:withCtx(()=>[createVNode(VBtn,{variant:"tonal",class:"flex-grow-1",onClick:t[2]||(t[2]=d=>e.updateNumber("half"))},{default:withCtx(()=>[_hoisted_1$9,createTextVNode(" 2 ")]),_:1}),createVNode(VBtn,{variant:"tonal",class:"flex-grow-1",onClick:t[3]||(t[3]=d=>e.updateNumber("double"))},{default:withCtx(()=>[_hoisted_2$7,createTextVNode(" 2 ")]),_:1})]),_:1})]),_:1}),createVNode(VCardActions,null,{default:withCtx(()=>[createVNode(VSpacer),createVNode(VBtn,{class:"float-right",rounded:"",onClick:t[4]||(t[4]=d=>e.dialog=!1)},{default:withCtx(()=>[createTextVNode("Close")]),_:1})]),_:1})]),_:1},8,["title"])]),_:3},8,["modelValue"])}const NumberScalerDialog=_export_sfc(_sfc_main$e,[["render",_sfc_render$d]]),_sfc_main$d=defineComponent$1({name:"IngredientsTableRow",components:{},props:{ingredient:{type:{},required:!0},showNotes:{type:Boolean,default:!0},draggable:{type:Boolean}},data(){return{show_tooltip:!1}}}),_hoisted_1$8={key:0,colspan:"4"},_hoisted_2$6={key:0},_hoisted_3$4={key:0},_hoisted_4$4={key:0},_hoisted_5$3={key:1},_hoisted_6$3=createBaseVNode("i",{class:"fas fa-grip-lines drag-handle cursor-move"},null,-1),_hoisted_7$3=[_hoisted_6$3];function _sfc_render$c(e,t,r,o,i,c){return openBlock(),createElementBlock("tr",null,[e.ingredient.isHeader?(openBlock(),createElementBlock("td",_hoisted_1$8,[createBaseVNode("b",null,toDisplayString(e.ingredient.note),1)])):(openBlock(),createElementBlock(Fragment,{key:1},[createBaseVNode("td",null,toDisplayString(e.ingredient.amount),1),createBaseVNode("td",null,[e.ingredient.unit!=null?(openBlock(),createElementBlock("span",_hoisted_2$6,toDisplayString(e.ingredient.unit.name),1)):createCommentVNode("",!0)]),createBaseVNode("td",null,[e.ingredient.food!=null?(openBlock(),createElementBlock("span",_hoisted_3$4,toDisplayString(e.ingredient.food.name),1)):createCommentVNode("",!0)]),e.showNotes?(openBlock(),createElementBlock("td",_hoisted_4$4,[e.ingredient.note!=""?(openBlock(),createBlock(VIcon,{key:0,class:"far fa-comment float-right",onClick:t[1]||(t[1]=a=>e.show_tooltip=!e.show_tooltip)},{default:withCtx(()=>[createVNode(VTooltip,{modelValue:e.show_tooltip,"onUpdate:modelValue":t[0]||(t[0]=a=>e.show_tooltip=a),activator:"parent",location:"start"},{default:withCtx(()=>[createTextVNode(toDisplayString(e.ingredient.note),1)]),_:1},8,["modelValue"])]),_:1})):createCommentVNode("",!0)])):createCommentVNode("",!0),e.draggable?(openBlock(),createElementBlock("td",_hoisted_5$3,_hoisted_7$3)):createCommentVNode("",!0)],64))])}const IngredientsTableRow=_export_sfc(_sfc_main$d,[["render",_sfc_render$c]]);var vuedraggable_umd={exports:{}};/**!
* Sortable 1.14.0
* @author RubaXa <trash@rubaxa.org>
* @author owenm <owen23355@gmail.com>
* @license MIT
*/function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,o)}return r}function _objectSpread2(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ownKeys(Object(r),!0).forEach(function(o){_defineProperty(e,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(r,o))})}return e}function _typeof(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(t){return typeof t}:_typeof=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_typeof(e)}function _defineProperty(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _extends(){return _extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},_extends.apply(this,arguments)}function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var r={},o=Object.keys(e),i,c;for(c=0;c<o.length;c++)i=o[c],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function _objectWithoutProperties(e,t){if(e==null)return{};var r=_objectWithoutPropertiesLoose(e,t),o,i;if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(i=0;i<c.length;i++)o=c[i],!(t.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _iterableToArray(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function _unsupportedIterableToArray(e,t){if(e){if(typeof e=="string")return _arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _arrayLikeToArray(e,t)}}function _arrayLikeToArray(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}function _nonIterableSpread(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var version="1.14.0";function userAgent(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var IE11OrLess=userAgent(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Edge=userAgent(/Edge/i),FireFox=userAgent(/firefox/i),Safari=userAgent(/safari/i)&&!userAgent(/chrome/i)&&!userAgent(/android/i),IOS=userAgent(/iP(ad|od|hone)/i),ChromeForAndroid=userAgent(/chrome/i)&&userAgent(/android/i),captureMode={capture:!1,passive:!1};function on(e,t,r){e.addEventListener(t,r,!IE11OrLess&&captureMode)}function off(e,t,r){e.removeEventListener(t,r,!IE11OrLess&&captureMode)}function matches(e,t){if(t){if(t[0]===">"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch{return!1}return!1}}function getParentOrHost(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function closest(e,t,r,o){if(e){r=r||document;do{if(t!=null&&(t[0]===">"?e.parentNode===r&&matches(e,t):matches(e,t))||o&&e===r)return e;if(e===r)break}while(e=getParentOrHost(e))}return null}var R_SPACE=/\s+/g;function toggleClass(e,t,r){if(e&&t)if(e.classList)e.classList[r?"add":"remove"](t);else{var o=(" "+e.className+" ").replace(R_SPACE," ").replace(" "+t+" "," ");e.className=(o+(r?" "+t:"")).replace(R_SPACE," ")}}function css(e,t,r){var o=e&&e.style;if(o){if(r===void 0)return document.defaultView&&document.defaultView.getComputedStyle?r=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(r=e.currentStyle),t===void 0?r:r[t];!(t in o)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),o[t]=r+(typeof r=="string"?"":"px")}}function matrix(e,t){var r="";if(typeof e=="string")r=e;else do{var o=css(e,"transform");o&&o!=="none"&&(r=o+" "+r)}while(!t&&(e=e.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(r)}function find(e,t,r){if(e){var o=e.getElementsByTagName(t),i=0,c=o.length;if(r)for(;i<c;i++)r(o[i],i);return o}return[]}function getWindowScrollingElement(){var e=document.scrollingElement;return e||document.documentElement}function getRect(e,t,r,o,i){if(!(!e.getBoundingClientRect&&e!==window)){var c,a,u,d,f,m,g;if(e!==window&&e.parentNode&&e!==getWindowScrollingElement()?(c=e.getBoundingClientRect(),a=c.top,u=c.left,d=c.bottom,f=c.right,m=c.height,g=c.width):(a=0,u=0,d=window.innerHeight,f=window.innerWidth,m=window.innerHeight,g=window.innerWidth),(t||r)&&e!==window&&(i=i||e.parentNode,!IE11OrLess))do if(i&&i.getBoundingClientRect&&(css(i,"transform")!=="none"||r&&css(i,"position")!=="static")){var v=i.getBoundingClientRect();a-=v.top+parseInt(css(i,"border-top-width")),u-=v.left+parseInt(css(i,"border-left-width")),d=a+c.height,f=u+c.width;break}while(i=i.parentNode);if(o&&e!==window){var y=matrix(i||e),w=y&&y.a,b=y&&y.d;y&&(a/=b,u/=w,g/=w,m/=b,d=a+m,f=u+g)}return{top:a,left:u,bottom:d,right:f,width:g,height:m}}}function isScrolledPast(e,t,r){for(var o=getParentAutoScrollElement(e,!0),i=getRect(e)[t];o;){var c=getRect(o)[r],a=void 0;if(r==="top"||r==="left"?a=i>=c:a=i<=c,!a)return o;if(o===getWindowScrollingElement())break;o=getParentAutoScrollElement(o,!1)}return!1}function getChild(e,t,r,o){for(var i=0,c=0,a=e.children;c<a.length;){if(a[c].style.display!=="none"&&a[c]!==Sortable.ghost&&(o||a[c]!==Sortable.dragged)&&closest(a[c],r.draggable,e,!1)){if(i===t)return a[c];i++}c++}return null}function lastChild(e,t){for(var r=e.lastElementChild;r&&(r===Sortable.ghost||css(r,"display")==="none"||t&&!matches(r,t));)r=r.previousElementSibling;return r||null}function index(e,t){var r=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==Sortable.clone&&(!t||matches(e,t))&&r++;return r}function getRelativeScrollOffset(e){var t=0,r=0,o=getWindowScrollingElement();if(e)do{var i=matrix(e),c=i.a,a=i.d;t+=e.scrollLeft*c,r+=e.scrollTop*a}while(e!==o&&(e=e.parentNode));return[t,r]}function indexOfObject(e,t){for(var r in e)if(e.hasOwnProperty(r)){for(var o in t)if(t.hasOwnProperty(o)&&t[o]===e[r][o])return Number(r)}return-1}function getParentAutoScrollElement(e,t){if(!e||!e.getBoundingClientRect)return getWindowScrollingElement();var r=e,o=!1;do if(r.clientWidth<r.scrollWidth||r.clientHeight<r.scrollHeight){var i=css(r);if(r.clientWidth<r.scrollWidth&&(i.overflowX=="auto"||i.overflowX=="scroll")||r.clientHeight<r.scrollHeight&&(i.overflowY=="auto"||i.overflowY=="scroll")){if(!r.getBoundingClientRect||r===document.body)return getWindowScrollingElement();if(o||t)return r;o=!0}}while(r=r.parentNode);return getWindowScrollingElement()}function extend(e,t){if(e&&t)for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);return e}function isRectEqual(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}var _throttleTimeout;function throttle(e,t){return function(){if(!_throttleTimeout){var r=arguments,o=this;r.length===1?e.call(o,r[0]):e.apply(o,r),_throttleTimeout=setTimeout(function(){_throttleTimeout=void 0},t)}}}function cancelThrottle(){clearTimeout(_throttleTimeout),_throttleTimeout=void 0}function scrollBy(e,t,r){e.scrollLeft+=t,e.scrollTop+=r}function clone(e){var t=window.Polymer,r=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):r?r(e).clone(!0)[0]:e.cloneNode(!0)}function setRect(e,t){css(e,"position","absolute"),css(e,"top",t.top),css(e,"left",t.left),css(e,"width",t.width),css(e,"height",t.height)}function unsetRect(e){css(e,"position",""),css(e,"top",""),css(e,"left",""),css(e,"width",""),css(e,"height","")}var expando="Sortable"+new Date().getTime();function AnimationStateManager(){var e=[],t;return{captureAnimationState:function(){if(e=[],!!this.options.animation){var o=[].slice.call(this.el.children);o.forEach(function(i){if(!(css(i,"display")==="none"||i===Sortable.ghost)){e.push({target:i,rect:getRect(i)});var c=_objectSpread2({},e[e.length-1].rect);if(i.thisAnimationDuration){var a=matrix(i,!0);a&&(c.top-=a.f,c.left-=a.e)}i.fromRect=c}})}},addAnimationState:function(o){e.push(o)},removeAnimationState:function(o){e.splice(indexOfObject(e,{target:o}),1)},animateAll:function(o){var i=this;if(!this.options.animation){clearTimeout(t),typeof o=="function"&&o();return}var c=!1,a=0;e.forEach(function(u){var d=0,f=u.target,m=f.fromRect,g=getRect(f),v=f.prevFromRect,y=f.prevToRect,w=u.rect,b=matrix(f,!0);b&&(g.top-=b.f,g.left-=b.e),f.toRect=g,f.thisAnimationDuration&&isRectEqual(v,g)&&!isRectEqual(m,g)&&(w.top-g.top)/(w.left-g.left)===(m.top-g.top)/(m.left-g.left)&&(d=calculateRealTime(w,v,y,i.options)),isRectEqual(g,m)||(f.prevFromRect=m,f.prevToRect=g,d||(d=i.options.animation),i.animate(f,w,g,d)),d&&(c=!0,a=Math.max(a,d),clearTimeout(f.animationResetTimer),f.animationResetTimer=setTimeout(function(){f.animationTime=0,f.prevFromRect=null,f.fromRect=null,f.prevToRect=null,f.thisAnimationDuration=null},d),f.thisAnimationDuration=d)}),clearTimeout(t),c?t=setTimeout(function(){typeof o=="function"&&o()},a):typeof o=="function"&&o(),e=[]},animate:function(o,i,c,a){if(a){css(o,"transition",""),css(o,"transform","");var u=matrix(this.el),d=u&&u.a,f=u&&u.d,m=(i.left-c.left)/(d||1),g=(i.top-c.top)/(f||1);o.animatingX=!!m,o.animatingY=!!g,css(o,"transform","translate3d("+m+"px,"+g+"px,0)"),this.forRepaintDummy=repaint(o),css(o,"transition","transform "+a+"ms"+(this.options.easing?" "+this.options.easing:"")),css(o,"transform","translate3d(0,0,0)"),typeof o.animated=="number"&&clearTimeout(o.animated),o.animated=setTimeout(function(){css(o,"transition",""),css(o,"transform",""),o.animated=!1,o.animatingX=!1,o.animatingY=!1},a)}}}}function repaint(e){return e.offsetWidth}function calculateRealTime(e,t,r,o){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-r.top,2)+Math.pow(t.left-r.left,2))*o.animation}var plugins=[],defaults={initializeByDefault:!0},PluginManager={mount:function e(t){for(var r in defaults)defaults.hasOwnProperty(r)&&!(r in t)&&(t[r]=defaults[r]);plugins.forEach(function(o){if(o.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),plugins.push(t)},pluginEvent:function e(t,r,o){var i=this;this.eventCanceled=!1,o.cancel=function(){i.eventCanceled=!0};var c=t+"Global";plugins.forEach(function(a){r[a.pluginName]&&(r[a.pluginName][c]&&r[a.pluginName][c](_objectSpread2({sortable:r},o)),r.options[a.pluginName]&&r[a.pluginName][t]&&r[a.pluginName][t](_objectSpread2({sortable:r},o)))})},initializePlugins:function e(t,r,o,i){plugins.forEach(function(u){var d=u.pluginName;if(!(!t.options[d]&&!u.initializeByDefault)){var f=new u(t,r,t.options);f.sortable=t,f.options=t.options,t[d]=f,_extends(o,f.defaults)}});for(var c in t.options)if(t.options.hasOwnProperty(c)){var a=this.modifyOption(t,c,t.options[c]);typeof a<"u"&&(t.options[c]=a)}},getEventProperties:function e(t,r){var o={};return plugins.forEach(function(i){typeof i.eventProperties=="function"&&_extends(o,i.eventProperties.call(r[i.pluginName],t))}),o},modifyOption:function e(t,r,o){var i;return plugins.forEach(function(c){t[c.pluginName]&&c.optionListeners&&typeof c.optionListeners[r]=="function"&&(i=c.optionListeners[r].call(t[c.pluginName],o))}),i}};function dispatchEvent(e){var t=e.sortable,r=e.rootEl,o=e.name,i=e.targetEl,c=e.cloneEl,a=e.toEl,u=e.fromEl,d=e.oldIndex,f=e.newIndex,m=e.oldDraggableIndex,g=e.newDraggableIndex,v=e.originalEvent,y=e.putSortable,w=e.extraEventProperties;if(t=t||r&&r[expando],!!t){var b,S=t.options,_="on"+o.charAt(0).toUpperCase()+o.substr(1);window.CustomEvent&&!IE11OrLess&&!Edge?b=new CustomEvent(o,{bubbles:!0,cancelable:!0}):(b=document.createEvent("Event"),b.initEvent(o,!0,!0)),b.to=a||r,b.from=u||r,b.item=i||r,b.clone=c,b.oldIndex=d,b.newIndex=f,b.oldDraggableIndex=m,b.newDraggableIndex=g,b.originalEvent=v,b.pullMode=y?y.lastPutMode:void 0;var k=_objectSpread2(_objectSpread2({},w),PluginManager.getEventProperties(o,t));for(var C in k)b[C]=k[C];r&&r.dispatchEvent(b),S[_]&&S[_].call(t,b)}}var _excluded=["evt"],pluginEvent=function e(t,r){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=o.evt,c=_objectWithoutProperties(o,_excluded);PluginManager.pluginEvent.bind(Sortable)(t,r,_objectSpread2({dragEl,parentEl,ghostEl,rootEl,nextEl,lastDownEl,cloneEl,cloneHidden,dragStarted:moved,putSortable,activeSortable:Sortable.active,originalEvent:i,oldIndex,oldDraggableIndex,newIndex,newDraggableIndex,hideGhostForTarget:_hideGhostForTarget,unhideGhostForTarget:_unhideGhostForTarget,cloneNowHidden:function(){cloneHidden=!0},cloneNowShown:function(){cloneHidden=!1},dispatchSortableEvent:function(u){_dispatchEvent({sortable:r,name:u,originalEvent:i})}},c))};function _dispatchEvent(e){dispatchEvent(_objectSpread2({putSortable,cloneEl,targetEl:dragEl,rootEl,oldIndex,oldDraggableIndex,newIndex,newDraggableIndex},e))}var dragEl,parentEl,ghostEl,rootEl,nextEl,lastDownEl,cloneEl,cloneHidden,oldIndex,newIndex,oldDraggableIndex,newDraggableIndex,activeGroup,putSortable,awaitingDragStarted=!1,ignoreNextClick=!1,sortables=[],tapEvt,touchEvt,lastDx,lastDy,tapDistanceLeft,tapDistanceTop,moved,lastTarget,lastDirection,pastFirstInvertThresh=!1,isCircumstantialInvert=!1,targetMoveDistance,ghostRelativeParent,ghostRelativeParentInitialScroll=[],_silent=!1,savedInputChecked=[],documentExists=typeof document<"u",PositionGhostAbsolutely=IOS,CSSFloatProperty=Edge||IE11OrLess?"cssFloat":"float",supportDraggable=documentExists&&!ChromeForAndroid&&!IOS&&"draggable"in document.createElement("div"),supportCssPointerEvents=function(){if(documentExists){if(IE11OrLess)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),_detectDirection=function e(t,r){var o=css(t),i=parseInt(o.width)-parseInt(o.paddingLeft)-parseInt(o.paddingRight)-parseInt(o.borderLeftWidth)-parseInt(o.borderRightWidth),c=getChild(t,0,r),a=getChild(t,1,r),u=c&&css(c),d=a&&css(a),f=u&&parseInt(u.marginLeft)+parseInt(u.marginRight)+getRect(c).width,m=d&&parseInt(d.marginLeft)+parseInt(d.marginRight)+getRect(a).width;if(o.display==="flex")return o.flexDirection==="column"||o.flexDirection==="column-reverse"?"vertical":"horizontal";if(o.display==="grid")return o.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(c&&u.float&&u.float!=="none"){var g=u.float==="left"?"left":"right";return a&&(d.clear==="both"||d.clear===g)?"vertical":"horizontal"}return c&&(u.display==="block"||u.display==="flex"||u.display==="table"||u.display==="grid"||f>=i&&o[CSSFloatProperty]==="none"||a&&o[CSSFloatProperty]==="none"&&f+m>i)?"vertical":"horizontal"},_dragElInRowColumn=function e(t,r,o){var i=o?t.left:t.top,c=o?t.right:t.bottom,a=o?t.width:t.height,u=o?r.left:r.top,d=o?r.right:r.bottom,f=o?r.width:r.height;return i===u||c===d||i+a/2===u+f/2},_detectNearestEmptySortable=function e(t,r){var o;return sortables.some(function(i){var c=i[expando].options.emptyInsertThreshold;if(!(!c||lastChild(i))){var a=getRect(i),u=t>=a.left-c&&t<=a.right+c,d=r>=a.top-c&&r<=a.bottom+c;if(u&&d)return o=i}}),o},_prepareGroup=function e(t){function r(c,a){return function(u,d,f,m){var g=u.options.group.name&&d.options.group.name&&u.options.group.name===d.options.group.name;if(c==null&&(a||g))return!0;if(c==null||c===!1)return!1;if(a&&c==="clone")return c;if(typeof c=="function")return r(c(u,d,f,m),a)(u,d,f,m);var v=(a?u:d).options.group.name;return c===!0||typeof c=="string"&&c===v||c.join&&c.indexOf(v)>-1}}var o={},i=t.group;(!i||_typeof(i)!="object")&&(i={name:i}),o.name=i.name,o.checkPull=r(i.pull,!0),o.checkPut=r(i.put),o.revertClone=i.revertClone,t.group=o},_hideGhostForTarget=function e(){!supportCssPointerEvents&&ghostEl&&css(ghostEl,"display","none")},_unhideGhostForTarget=function e(){!supportCssPointerEvents&&ghostEl&&css(ghostEl,"display","")};documentExists&&document.addEventListener("click",function(e){if(ignoreNextClick)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),ignoreNextClick=!1,!1},!0);var nearestEmptyInsertDetectEvent=function e(t){if(dragEl){t=t.touches?t.touches[0]:t;var r=_detectNearestEmptySortable(t.clientX,t.clientY);if(r){var o={};for(var i in t)t.hasOwnProperty(i)&&(o[i]=t[i]);o.target=o.rootEl=r,o.preventDefault=void 0,o.stopPropagation=void 0,r[expando]._onDragOver(o)}}},_checkOutsideTargetEl=function e(t){dragEl&&dragEl.parentNode[expando]._isOutsideThisEl(t.target)};function Sortable(e,t){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=_extends({},t),e[expando]=this;var r={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return _detectDirection(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(a,u){a.setData("Text",u.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Sortable.supportPointer!==!1&&"PointerEvent"in window&&!Safari,emptyInsertThreshold:5};PluginManager.initializePlugins(this,e,r);for(var o in r)!(o in t)&&(t[o]=r[o]);_prepareGroup(t);for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this));this.nativeDraggable=t.forceFallback?!1:supportDraggable,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?on(e,"pointerdown",this._onTapStart):(on(e,"mousedown",this._onTapStart),on(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(on(e,"dragover",this),on(e,"dragenter",this)),sortables.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),_extends(this,AnimationStateManager())}Sortable.prototype={constructor:Sortable,_isOutsideThisEl:function e(t){!this.el.contains(t)&&t!==this.el&&(lastTarget=null)},_getDirection:function e(t,r){return typeof this.options.direction=="function"?this.options.direction.call(this,t,r,dragEl):this.options.direction},_onTapStart:function e(t){if(t.cancelable){var r=this,o=this.el,i=this.options,c=i.preventOnFilter,a=t.type,u=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,d=(u||t).target,f=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||d,m=i.filter;if(_saveInputCheckedState(o),!dragEl&&!(/mousedown|pointerdown/.test(a)&&t.button!==0||i.disabled)&&!f.isContentEditable&&!(!this.nativeDraggable&&Safari&&d&&d.tagName.toUpperCase()==="SELECT")&&(d=closest(d,i.draggable,o,!1),!(d&&d.animated)&&lastDownEl!==d)){if(oldIndex=index(d),oldDraggableIndex=index(d,i.draggable),typeof m=="function"){if(m.call(this,t,d,this)){_dispatchEvent({sortable:r,rootEl:f,name:"filter",targetEl:d,toEl:o,fromEl:o}),pluginEvent("filter",r,{evt:t}),c&&t.cancelable&&t.preventDefault();return}}else if(m&&(m=m.split(",").some(function(g){if(g=closest(f,g.trim(),o,!1),g)return _dispatchEvent({sortable:r,rootEl:g,name:"filter",targetEl:d,fromEl:o,toEl:o}),pluginEvent("filter",r,{evt:t}),!0}),m)){c&&t.cancelable&&t.preventDefault();return}i.handle&&!closest(f,i.handle,o,!1)||this._prepareDragStart(t,u,d)}}},_prepareDragStart:function e(t,r,o){var i=this,c=i.el,a=i.options,u=c.ownerDocument,d;if(o&&!dragEl&&o.parentNode===c){var f=getRect(o);if(rootEl=c,dragEl=o,parentEl=dragEl.parentNode,nextEl=dragEl.nextSibling,lastDownEl=o,activeGroup=a.group,Sortable.dragged=dragEl,tapEvt={target:dragEl,clientX:(r||t).clientX,clientY:(r||t).clientY},tapDistanceLeft=tapEvt.clientX-f.left,tapDistanceTop=tapEvt.clientY-f.top,this._lastX=(r||t).clientX,this._lastY=(r||t).clientY,dragEl.style["will-change"]="all",d=function(){if(pluginEvent("delayEnded",i,{evt:t}),Sortable.eventCanceled){i._onDrop();return}i._disableDelayedDragEvents(),!FireFox&&i.nativeDraggable&&(dragEl.draggable=!0),i._triggerDragStart(t,r),_dispatchEvent({sortable:i,name:"choose",originalEvent:t}),toggleClass(dragEl,a.chosenClass,!0)},a.ignore.split(",").forEach(function(m){find(dragEl,m.trim(),_disableDraggable)}),on(u,"dragover",nearestEmptyInsertDetectEvent),on(u,"mousemove",nearestEmptyInsertDetectEvent),on(u,"touchmove",nearestEmptyInsertDetectEvent),on(u,"mouseup",i._onDrop),on(u,"touchend",i._onDrop),on(u,"touchcancel",i._onDrop),FireFox&&this.nativeDraggable&&(this.options.touchStartThreshold=4,dragEl.draggable=!0),pluginEvent("delayStart",this,{evt:t}),a.delay&&(!a.delayOnTouchOnly||r)&&(!this.nativeDraggable||!(Edge||IE11OrLess))){if(Sortable.eventCanceled){this._onDrop();return}on(u,"mouseup",i._disableDelayedDrag),on(u,"touchend",i._disableDelayedDrag),on(u,"touchcancel",i._disableDelayedDrag),on(u,"mousemove",i._delayedDragTouchMoveHandler),on(u,"touchmove",i._delayedDragTouchMoveHandler),a.supportPointer&&on(u,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(d,a.delay)}else d()}},_delayedDragTouchMoveHandler:function e(t){var r=t.touches?t.touches[0]:t;Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function e(){dragEl&&_disableDraggable(dragEl),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function e(){var t=this.el.ownerDocument;off(t,"mouseup",this._disableDelayedDrag),off(t,"touchend",this._disableDelayedDrag),off(t,"touchcancel",this._disableDelayedDrag),off(t,"mousemove",this._delayedDragTouchMoveHandler),off(t,"touchmove",this._delayedDragTouchMoveHandler),off(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function e(t,r){r=r||t.pointerType=="touch"&&t,!this.nativeDraggable||r?this.options.supportPointer?on(document,"pointermove",this._onTouchMove):r?on(document,"touchmove",this._onTouchMove):on(document,"mousemove",this._onTouchMove):(on(dragEl,"dragend",this),on(rootEl,"dragstart",this._onDragStart));try{document.selection?_nextTick(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function e(t,r){if(awaitingDragStarted=!1,rootEl&&dragEl){pluginEvent("dragStarted",this,{evt:r}),this.nativeDraggable&&on(document,"dragover",_checkOutsideTargetEl);var o=this.options;!t&&toggleClass(dragEl,o.dragClass,!1),toggleClass(dragEl,o.ghostClass,!0),Sortable.active=this,t&&this._appendGhost(),_dispatchEvent({sortable:this,name:"start",originalEvent:r})}else this._nulling()},_emulateDragOver:function e(){if(touchEvt){this._lastX=touchEvt.clientX,this._lastY=touchEvt.clientY,_hideGhostForTarget();for(var t=document.elementFromPoint(touchEvt.clientX,touchEvt.clientY),r=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(touchEvt.clientX,touchEvt.clientY),t!==r);)r=t;if(dragEl.parentNode[expando]._isOutsideThisEl(t),r)do{if(r[expando]){var o=void 0;if(o=r[expando]._onDragOver({clientX:touchEvt.clientX,clientY:touchEvt.clientY,target:t,rootEl:r}),o&&!this.options.dragoverBubble)break}t=r}while(r=r.parentNode);_unhideGhostForTarget()}},_onTouchMove:function e(t){if(tapEvt){var r=this.options,o=r.fallbackTolerance,i=r.fallbackOffset,c=t.touches?t.touches[0]:t,a=ghostEl&&matrix(ghostEl,!0),u=ghostEl&&a&&a.a,d=ghostEl&&a&&a.d,f=PositionGhostAbsolutely&&ghostRelativeParent&&getRelativeScrollOffset(ghostRelativeParent),m=(c.clientX-tapEvt.clientX+i.x)/(u||1)+(f?f[0]-ghostRelativeParentInitialScroll[0]:0)/(u||1),g=(c.clientY-tapEvt.clientY+i.y)/(d||1)+(f?f[1]-ghostRelativeParentInitialScroll[1]:0)/(d||1);if(!Sortable.active&&!awaitingDragStarted){if(o&&Math.max(Math.abs(c.clientX-this._lastX),Math.abs(c.clientY-this._lastY))<o)return;this._onDragStart(t,!0)}if(ghostEl){a?(a.e+=m-(lastDx||0),a.f+=g-(lastDy||0)):a={a:1,b:0,c:0,d:1,e:m,f:g};var v="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");css(ghostEl,"webkitTransform",v),css(ghostEl,"mozTransform",v),css(ghostEl,"msTransform",v),css(ghostEl,"transform",v),lastDx=m,lastDy=g,touchEvt=c}t.cancelable&&t.preventDefault()}},_appendGhost:function e(){if(!ghostEl){var t=this.options.fallbackOnBody?document.body:rootEl,r=getRect(dragEl,!0,PositionGhostAbsolutely,!0,t),o=this.options;if(PositionGhostAbsolutely){for(ghostRelativeParent=t;css(ghostRelativeParent,"position")==="static"&&css(ghostRelativeParent,"transform")==="none"&&ghostRelativeParent!==document;)ghostRelativeParent=ghostRelativeParent.parentNode;ghostRelativeParent!==document.body&&ghostRelativeParent!==document.documentElement?(ghostRelativeParent===document&&(ghostRelativeParent=getWindowScrollingElement()),r.top+=ghostRelativeParent.scrollTop,r.left+=ghostRelativeParent.scrollLeft):ghostRelativeParent=getWindowScrollingElement(),ghostRelativeParentInitialScroll=getRelativeScrollOffset(ghostRelativeParent)}ghostEl=dragEl.cloneNode(!0),toggleClass(ghostEl,o.ghostClass,!1),toggleClass(ghostEl,o.fallbackClass,!0),toggleClass(ghostEl,o.dragClass,!0),css(ghostEl,"transition",""),css(ghostEl,"transform",""),css(ghostEl,"box-sizing","border-box"),css(ghostEl,"margin",0),css(ghostEl,"top",r.top),css(ghostEl,"left",r.left),css(ghostEl,"width",r.width),css(ghostEl,"height",r.height),css(ghostEl,"opacity","0.8"),css(ghostEl,"position",PositionGhostAbsolutely?"absolute":"fixed"),css(ghostEl,"zIndex","100000"),css(ghostEl,"pointerEvents","none"),Sortable.ghost=ghostEl,t.appendChild(ghostEl),css(ghostEl,"transform-origin",tapDistanceLeft/parseInt(ghostEl.style.width)*100+"% "+tapDistanceTop/parseInt(ghostEl.style.height)*100+"%")}},_onDragStart:function e(t,r){var o=this,i=t.dataTransfer,c=o.options;if(pluginEvent("dragStart",this,{evt:t}),Sortable.eventCanceled){this._onDrop();return}pluginEvent("setupClone",this),Sortable.eventCanceled||(cloneEl=clone(dragEl),cloneEl.draggable=!1,cloneEl.style["will-change"]="",this._hideClone(),toggleClass(cloneEl,this.options.chosenClass,!1),Sortable.clone=cloneEl),o.cloneId=_nextTick(function(){pluginEvent("clone",o),!Sortable.eventCanceled&&(o.options.removeCloneOnHide||rootEl.insertBefore(cloneEl,dragEl),o._hideClone(),_dispatchEvent({sortable:o,name:"clone"}))}),!r&&toggleClass(dragEl,c.dragClass,!0),r?(ignoreNextClick=!0,o._loopId=setInterval(o._emulateDragOver,50)):(off(document,"mouseup",o._onDrop),off(document,"touchend",o._onDrop),off(document,"touchcancel",o._onDrop),i&&(i.effectAllowed="move",c.setData&&c.setData.call(o,i,dragEl)),on(document,"drop",o),css(dragEl,"transform","translateZ(0)")),awaitingDragStarted=!0,o._dragStartId=_nextTick(o._dragStarted.bind(o,r,t)),on(document,"selectstart",o),moved=!0,Safari&&css(document.body,"user-select","none")},_onDragOver:function e(t){var r=this.el,o=t.target,i,c,a,u=this.options,d=u.group,f=Sortable.active,m=activeGroup===d,g=u.sort,v=putSortable||f,y,w=this,b=!1;if(_silent)return;function S(M,Z){pluginEvent(M,w,_objectSpread2({evt:t,isOwner:m,axis:y?"vertical":"horizontal",revert:a,dragRect:i,targetRect:c,canSort:g,fromSortable:v,target:o,completed:k,onMove:function(te,W){return _onMove(rootEl,r,dragEl,i,te,getRect(te),t,W)},changed:C},Z))}function _(){S("dragOverAnimationCapture"),w.captureAnimationState(),w!==v&&v.captureAnimationState()}function k(M){return S("dragOverCompleted",{insertion:M}),M&&(m?f._hideClone():f._showClone(w),w!==v&&(toggleClass(dragEl,putSortable?putSortable.options.ghostClass:f.options.ghostClass,!1),toggleClass(dragEl,u.ghostClass,!0)),putSortable!==w&&w!==Sortable.active?putSortable=w:w===Sortable.active&&putSortable&&(putSortable=null),v===w&&(w._ignoreWhileAnimating=o),w.animateAll(function(){S("dragOverAnimationComplete"),w._ignoreWhileAnimating=null}),w!==v&&(v.animateAll(),v._ignoreWhileAnimating=null)),(o===dragEl&&!dragEl.animated||o===r&&!o.animated)&&(lastTarget=null),!u.dragoverBubble&&!t.rootEl&&o!==document&&(dragEl.parentNode[expando]._isOutsideThisEl(t.target),!M&&nearestEmptyInsertDetectEvent(t)),!u.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),b=!0}function C(){newIndex=index(dragEl),newDraggableIndex=index(dragEl,u.draggable),_dispatchEvent({sortable:w,name:"change",toEl:r,newIndex,newDraggableIndex,originalEvent:t})}if(t.preventDefault!==void 0&&t.cancelable&&t.preventDefault(),o=closest(o,u.draggable,r,!0),S("dragOver"),Sortable.eventCanceled)return b;if(dragEl.contains(t.target)||o.animated&&o.animatingX&&o.animatingY||w._ignoreWhileAnimating===o)return k(!1);if(ignoreNextClick=!1,f&&!u.disabled&&(m?g||(a=parentEl!==rootEl):putSortable===this||(this.lastPutMode=activeGroup.checkPull(this,f,dragEl,t))&&d.checkPut(this,f,dragEl,t))){if(y=this._getDirection(t,o)==="vertical",i=getRect(dragEl),S("dragOverValid"),Sortable.eventCanceled)return b;if(a)return parentEl=rootEl,_(),this._hideClone(),S("revert"),Sortable.eventCanceled||(nextEl?rootEl.insertBefore(dragEl,nextEl):rootEl.appendChild(dragEl)),k(!0);var T=lastChild(r,u.draggable);if(!T||_ghostIsLast(t,y,this)&&!T.animated){if(T===dragEl)return k(!1);if(T&&r===t.target&&(o=T),o&&(c=getRect(o)),_onMove(rootEl,r,dragEl,i,o,c,t,!!o)!==!1)return _(),r.appendChild(dragEl),parentEl=r,C(),k(!0)}else if(T&&_ghostIsFirst(t,y,this)){var x=getChild(r,0,u,!0);if(x===dragEl)return k(!1);if(o=x,c=getRect(o),_onMove(rootEl,r,dragEl,i,o,c,t,!1)!==!1)return _(),r.insertBefore(dragEl,x),parentEl=r,C(),k(!0)}else if(o.parentNode===r){c=getRect(o);var R=0,O,A=dragEl.parentNode!==r,N=!_dragElInRowColumn(dragEl.animated&&dragEl.toRect||i,o.animated&&o.toRect||c,y),E=y?"top":"left",P=isScrolledPast(o,"top","top")||isScrolledPast(dragEl,"top","top"),V=P?P.scrollTop:void 0;lastTarget!==o&&(O=c[E],pastFirstInvertThresh=!1,isCircumstantialInvert=!N&&u.invertSwap||A),R=_getSwapDirection(t,o,c,y,N?1:u.swapThreshold,u.invertedSwapThreshold==null?u.swapThreshold:u.invertedSwapThreshold,isCircumstantialInvert,lastTarget===o);var D;if(R!==0){var F=index(dragEl);do F-=R,D=parentEl.children[F];while(D&&(css(D,"display")==="none"||D===ghostEl))}if(R===0||D===o)return k(!1);lastTarget=o,lastDirection=R;var B=o.nextElementSibling,$=!1;$=R===1;var U=_onMove(rootEl,r,dragEl,i,o,c,t,$);if(U!==!1)return(U===1||U===-1)&&($=U===1),_silent=!0,setTimeout(_unsilent,30),_(),$&&!B?r.appendChild(dragEl):o.parentNode.insertBefore(dragEl,$?B:o),P&&scrollBy(P,0,V-P.scrollTop),parentEl=dragEl.parentNode,O!==void 0&&!isCircumstantialInvert&&(targetMoveDistance=Math.abs(O-getRect(o)[E])),C(),k(!0)}if(r.contains(dragEl))return k(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function e(){off(document,"mousemove",this._onTouchMove),off(document,"touchmove",this._onTouchMove),off(document,"pointermove",this._onTouchMove),off(document,"dragover",nearestEmptyInsertDetectEvent),off(document,"mousemove",nearestEmptyInsertDetectEvent),off(document,"touchmove",nearestEmptyInsertDetectEvent)},_offUpEvents:function e(){var t=this.el.ownerDocument;off(t,"mouseup",this._onDrop),off(t,"touchend",this._onDrop),off(t,"pointerup",this._onDrop),off(t,"touchcancel",this._onDrop),off(document,"selectstart",this)},_onDrop:function e(t){var r=this.el,o=this.options;if(newIndex=index(dragEl),newDraggableIndex=index(dragEl,o.draggable),pluginEvent("drop",this,{evt:t}),parentEl=dragEl&&dragEl.parentNode,newIndex=index(dragEl),newDraggableIndex=index(dragEl,o.draggable),Sortable.eventCanceled){this._nulling();return}awaitingDragStarted=!1,isCircumstantialInvert=!1,pastFirstInvertThresh=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),_cancelNextTick(this.cloneId),_cancelNextTick(this._dragStartId),this.nativeDraggable&&(off(document,"drop",this),off(r,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Safari&&css(document.body,"user-select",""),css(dragEl,"transform",""),t&&(moved&&(t.cancelable&&t.preventDefault(),!o.dropBubble&&t.stopPropagation()),ghostEl&&ghostEl.parentNode&&ghostEl.parentNode.removeChild(ghostEl),(rootEl===parentEl||putSortable&&putSortable.lastPutMode!=="clone")&&cloneEl&&cloneEl.parentNode&&cloneEl.parentNode.removeChild(cloneEl),dragEl&&(this.nativeDraggable&&off(dragEl,"dragend",this),_disableDraggable(dragEl),dragEl.style["will-change"]="",moved&&!awaitingDragStarted&&toggleClass(dragEl,putSortable?putSortable.options.ghostClass:this.options.ghostClass,!1),toggleClass(dragEl,this.options.chosenClass,!1),_dispatchEvent({sortable:this,name:"unchoose",toEl:parentEl,newIndex:null,newDraggableIndex:null,originalEvent:t}),rootEl!==parentEl?(newIndex>=0&&(_dispatchEvent({rootEl:parentEl,name:"add",toEl:parentEl,fromEl:rootEl,originalEvent:t}),_dispatchEvent({sortable:this,name:"remove",toEl:parentEl,originalEvent:t}),_dispatchEvent({rootEl:parentEl,name:"sort",toEl:parentEl,fromEl:rootEl,originalEvent:t}),_dispatchEvent({sortable:this,name:"sort",toEl:parentEl,originalEvent:t})),putSortable&&putSortable.save()):newIndex!==oldIndex&&newIndex>=0&&(_dispatchEvent({sortable:this,name:"update",toEl:parentEl,originalEvent:t}),_dispatchEvent({sortable:this,name:"sort",toEl:parentEl,originalEvent:t})),Sortable.active&&((newIndex==null||newIndex===-1)&&(newIndex=oldIndex,newDraggableIndex=oldDraggableIndex),_dispatchEvent({sortable:this,name:"end",toEl:parentEl,originalEvent:t}),this.save()))),this._nulling()},_nulling:function e(){pluginEvent("nulling",this),rootEl=dragEl=parentEl=ghostEl=nextEl=cloneEl=lastDownEl=cloneHidden=tapEvt=touchEvt=moved=newIndex=newDraggableIndex=oldIndex=oldDraggableIndex=lastTarget=lastDirection=putSortable=activeGroup=Sortable.dragged=Sortable.ghost=Sortable.clone=Sortable.active=null,savedInputChecked.forEach(function(t){t.checked=!0}),savedInputChecked.length=lastDx=lastDy=0},handleEvent:function e(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":dragEl&&(this._onDragOver(t),_globalDragOver(t));break;case"selectstart":t.preventDefault();break}},toArray:function e(){for(var t=[],r,o=this.el.children,i=0,c=o.length,a=this.options;i<c;i++)r=o[i],closest(r,a.draggable,this.el,!1)&&t.push(r.getAttribute(a.dataIdAttr)||_generateId(r));return t},sort:function e(t,r){var o={},i=this.el;this.toArray().forEach(function(c,a){var u=i.children[a];closest(u,this.options.draggable,i,!1)&&(o[c]=u)},this),r&&this.captureAnimationState(),t.forEach(function(c){o[c]&&(i.removeChild(o[c]),i.appendChild(o[c]))}),r&&this.animateAll()},save:function e(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function e(t,r){return closest(t,r||this.options.draggable,this.el,!1)},option:function e(t,r){var o=this.options;if(r===void 0)return o[t];var i=PluginManager.modifyOption(this,t,r);typeof i<"u"?o[t]=i:o[t]=r,t==="group"&&_prepareGroup(o)},destroy:function e(){pluginEvent("destroy",this);var t=this.el;t[expando]=null,off(t,"mousedown",this._onTapStart),off(t,"touchstart",this._onTapStart),off(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(off(t,"dragover",this),off(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(r){r.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),sortables.splice(sortables.indexOf(this.el),1),this.el=t=null},_hideClone:function e(){if(!cloneHidden){if(pluginEvent("hideClone",this),Sortable.eventCanceled)return;css(cloneEl,"display","none"),this.options.removeCloneOnHide&&cloneEl.parentNode&&cloneEl.parentNode.removeChild(cloneEl),cloneHidden=!0}},_showClone:function e(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(cloneHidden){if(pluginEvent("showClone",this),Sortable.eventCanceled)return;dragEl.parentNode==rootEl&&!this.options.group.revertClone?rootEl.insertBefore(cloneEl,dragEl):nextEl?rootEl.insertBefore(cloneEl,nextEl):rootEl.appendChild(cloneEl),this.options.group.revertClone&&this.animate(dragEl,cloneEl),css(cloneEl,"display",""),cloneHidden=!1}}};function _globalDragOver(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function _onMove(e,t,r,o,i,c,a,u){var d,f=e[expando],m=f.options.onMove,g;return window.CustomEvent&&!IE11OrLess&&!Edge?d=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(d=document.createEvent("Event"),d.initEvent("move",!0,!0)),d.to=t,d.from=e,d.dragged=r,d.draggedRect=o,d.related=i||t,d.relatedRect=c||getRect(t),d.willInsertAfter=u,d.originalEvent=a,e.dispatchEvent(d),m&&(g=m.call(f,d,a)),g}function _disableDraggable(e){e.draggable=!1}function _unsilent(){_silent=!1}function _ghostIsFirst(e,t,r){var o=getRect(getChild(r.el,0,r.options,!0)),i=10;return t?e.clientX<o.left-i||e.clientY<o.top&&e.clientX<o.right:e.clientY<o.top-i||e.clientY<o.bottom&&e.clientX<o.left}function _ghostIsLast(e,t,r){var o=getRect(lastChild(r.el,r.options.draggable)),i=10;return t?e.clientX>o.right+i||e.clientX<=o.right&&e.clientY>o.bottom&&e.clientX>=o.left:e.clientX>o.right&&e.clientY>o.top||e.clientX<=o.right&&e.clientY>o.bottom+i}function _getSwapDirection(e,t,r,o,i,c,a,u){var d=o?e.clientY:e.clientX,f=o?r.height:r.width,m=o?r.top:r.left,g=o?r.bottom:r.right,v=!1;if(!a){if(u&&targetMoveDistance<f*i){if(!pastFirstInvertThresh&&(lastDirection===1?d>m+f*c/2:d<g-f*c/2)&&(pastFirstInvertThresh=!0),pastFirstInvertThresh)v=!0;else if(lastDirection===1?d<m+targetMoveDistance:d>g-targetMoveDistance)return-lastDirection}else if(d>m+f*(1-i)/2&&d<g-f*(1-i)/2)return _getInsertDirection(t)}return v=v||a,v&&(d<m+f*c/2||d>g-f*c/2)?d>m+f/2?1:-1:0}function _getInsertDirection(e){return index(dragEl)<index(e)?1:-1}function _generateId(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,r=t.length,o=0;r--;)o+=t.charCodeAt(r);return o.toString(36)}function _saveInputCheckedState(e){savedInputChecked.length=0;for(var t=e.getElementsByTagName("input"),r=t.length;r--;){var o=t[r];o.checked&&savedInputChecked.push(o)}}function _nextTick(e){return setTimeout(e,0)}function _cancelNextTick(e){return clearTimeout(e)}documentExists&&on(document,"touchmove",function(e){(Sortable.active||awaitingDragStarted)&&e.cancelable&&e.preventDefault()});Sortable.utils={on,off,css,find,is:function e(t,r){return!!closest(t,r,t,!1)},extend,throttle,closest,toggleClass,clone,index,nextTick:_nextTick,cancelNextTick:_cancelNextTick,detectDirection:_detectDirection,getChild};Sortable.get=function(e){return e[expando]};Sortable.mount=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];t[0].constructor===Array&&(t=t[0]),t.forEach(function(o){if(!o.prototype||!o.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(o));o.utils&&(Sortable.utils=_objectSpread2(_objectSpread2({},Sortable.utils),o.utils)),PluginManager.mount(o)})};Sortable.create=function(e,t){return new Sortable(e,t)};Sortable.version=version;var autoScrolls=[],scrollEl,scrollRootEl,scrolling=!1,lastAutoScrollX,lastAutoScrollY,touchEvt$1,pointerElemChangedInterval;function AutoScrollPlugin(){function e(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var t in this)t.charAt(0)==="_"&&typeof this[t]=="function"&&(this[t]=this[t].bind(this))}return e.prototype={dragStarted:function(r){var o=r.originalEvent;this.sortable.nativeDraggable?on(document,"dragover",this._handleAutoScroll):this.options.supportPointer?on(document,"pointermove",this._handleFallbackAutoScroll):o.touches?on(document,"touchmove",this._handleFallbackAutoScroll):on(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(r){var o=r.originalEvent;!this.options.dragOverBubble&&!o.rootEl&&this._handleAutoScroll(o)},drop:function(){this.sortable.nativeDraggable?off(document,"dragover",this._handleAutoScroll):(off(document,"pointermove",this._handleFallbackAutoScroll),off(document,"touchmove",this._handleFallbackAutoScroll),off(document,"mousemove",this._handleFallbackAutoScroll)),clearPointerElemChangedInterval(),clearAutoScrolls(),cancelThrottle()},nulling:function(){touchEvt$1=scrollRootEl=scrollEl=scrolling=pointerElemChangedInterval=lastAutoScrollX=lastAutoScrollY=null,autoScrolls.length=0},_handleFallbackAutoScroll:function(r){this._handleAutoScroll(r,!0)},_handleAutoScroll:function(r,o){var i=this,c=(r.touches?r.touches[0]:r).clientX,a=(r.touches?r.touches[0]:r).clientY,u=document.elementFromPoint(c,a);if(touchEvt$1=r,o||this.options.forceAutoScrollFallback||Edge||IE11OrLess||Safari){autoScroll(r,this.options,u,o);var d=getParentAutoScrollElement(u,!0);scrolling&&(!pointerElemChangedInterval||c!==lastAutoScrollX||a!==lastAutoScrollY)&&(pointerElemChangedInterval&&clearPointerElemChangedInterval(),pointerElemChangedInterval=setInterval(function(){var f=getParentAutoScrollElement(document.elementFromPoint(c,a),!0);f!==d&&(d=f,clearAutoScrolls()),autoScroll(r,i.options,f,o)},10),lastAutoScrollX=c,lastAutoScrollY=a)}else{if(!this.options.bubbleScroll||getParentAutoScrollElement(u,!0)===getWindowScrollingElement()){clearAutoScrolls();return}autoScroll(r,this.options,getParentAutoScrollElement(u,!1),!1)}}},_extends(e,{pluginName:"scroll",initializeByDefault:!0})}function clearAutoScrolls(){autoScrolls.forEach(function(e){clearInterval(e.pid)}),autoScrolls=[]}function clearPointerElemChangedInterval(){clearInterval(pointerElemChangedInterval)}var autoScroll=throttle(function(e,t,r,o){if(t.scroll){var i=(e.touches?e.touches[0]:e).clientX,c=(e.touches?e.touches[0]:e).clientY,a=t.scrollSensitivity,u=t.scrollSpeed,d=getWindowScrollingElement(),f=!1,m;scrollRootEl!==r&&(scrollRootEl=r,clearAutoScrolls(),scrollEl=t.scroll,m=t.scrollFn,scrollEl===!0&&(scrollEl=getParentAutoScrollElement(r,!0)));var g=0,v=scrollEl;do{var y=v,w=getRect(y),b=w.top,S=w.bottom,_=w.left,k=w.right,C=w.width,T=w.height,x=void 0,R=void 0,O=y.scrollWidth,A=y.scrollHeight,N=css(y),E=y.scrollLeft,P=y.scrollTop;y===d?(x=C<O&&(N.overflowX==="auto"||N.overflowX==="scroll"||N.overflowX==="visible"),R=T<A&&(N.overflowY==="auto"||N.overflowY==="scroll"||N.overflowY==="visible")):(x=C<O&&(N.overflowX==="auto"||N.overflowX==="scroll"),R=T<A&&(N.overflowY==="auto"||N.overflowY==="scroll"));var V=x&&(Math.abs(k-i)<=a&&E+C<O)-(Math.abs(_-i)<=a&&!!E),D=R&&(Math.abs(S-c)<=a&&P+T<A)-(Math.abs(b-c)<=a&&!!P);if(!autoScrolls[g])for(var F=0;F<=g;F++)autoScrolls[F]||(autoScrolls[F]={});(autoScrolls[g].vx!=V||autoScrolls[g].vy!=D||autoScrolls[g].el!==y)&&(autoScrolls[g].el=y,autoScrolls[g].vx=V,autoScrolls[g].vy=D,clearInterval(autoScrolls[g].pid),(V!=0||D!=0)&&(f=!0,autoScrolls[g].pid=setInterval((function(){o&&this.layer===0&&Sortable.active._onTouchMove(touchEvt$1);var B=autoScrolls[this.layer].vy?autoScrolls[this.layer].vy*u:0,$=autoScrolls[this.layer].vx?autoScrolls[this.layer].vx*u:0;typeof m=="function"&&m.call(Sortable.dragged.parentNode[expando],$,B,e,touchEvt$1,autoScrolls[this.layer].el)!=="continue"||scrollBy(autoScrolls[this.layer].el,$,B)}).bind({layer:g}),24))),g++}while(t.bubbleScroll&&v!==d&&(v=getParentAutoScrollElement(v,!1)));scrolling=f}},30),drop=function e(t){var r=t.originalEvent,o=t.putSortable,i=t.dragEl,c=t.activeSortable,a=t.dispatchSortableEvent,u=t.hideGhostForTarget,d=t.unhideGhostForTarget;if(r){var f=o||c;u();var m=r.changedTouches&&r.changedTouches.length?r.changedTouches[0]:r,g=document.elementFromPoint(m.clientX,m.clientY);d(),f&&!f.el.contains(g)&&(a("spill"),this.onSpill({dragEl:i,putSortable:o}))}};function Revert(){}Revert.prototype={startIndex:null,dragStart:function e(t){var r=t.oldDraggableIndex;this.startIndex=r},onSpill:function e(t){var r=t.dragEl,o=t.putSortable;this.sortable.captureAnimationState(),o&&o.captureAnimationState();var i=getChild(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(r,i):this.sortable.el.appendChild(r),this.sortable.animateAll(),o&&o.animateAll()},drop};_extends(Revert,{pluginName:"revertOnSpill"});function Remove(){}Remove.prototype={onSpill:function e(t){var r=t.dragEl,o=t.putSortable,i=o||this.sortable;i.captureAnimationState(),r.parentNode&&r.parentNode.removeChild(r),i.animateAll()},drop};_extends(Remove,{pluginName:"removeOnSpill"});var lastSwapEl;function SwapPlugin(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(r){var o=r.dragEl;lastSwapEl=o},dragOverValid:function(r){var o=r.completed,i=r.target,c=r.onMove,a=r.activeSortable,u=r.changed,d=r.cancel;if(a.options.swap){var f=this.sortable.el,m=this.options;if(i&&i!==f){var g=lastSwapEl;c(i)!==!1?(toggleClass(i,m.swapClass,!0),lastSwapEl=i):lastSwapEl=null,g&&g!==lastSwapEl&&toggleClass(g,m.swapClass,!1)}u(),o(!0),d()}},drop:function(r){var o=r.activeSortable,i=r.putSortable,c=r.dragEl,a=i||this.sortable,u=this.options;lastSwapEl&&toggleClass(lastSwapEl,u.swapClass,!1),lastSwapEl&&(u.swap||i&&i.options.swap)&&c!==lastSwapEl&&(a.captureAnimationState(),a!==o&&o.captureAnimationState(),swapNodes(c,lastSwapEl),a.animateAll(),a!==o&&o.animateAll())},nulling:function(){lastSwapEl=null}},_extends(e,{pluginName:"swap",eventProperties:function(){return{swapItem:lastSwapEl}}})}function swapNodes(e,t){var r=e.parentNode,o=t.parentNode,i,c;!r||!o||r.isEqualNode(t)||o.isEqualNode(e)||(i=index(e),c=index(t),r.isEqualNode(o)&&i<c&&c++,r.insertBefore(t,r.children[i]),o.insertBefore(e,o.children[c]))}var multiDragElements=[],multiDragClones=[],lastMultiDragSelect,multiDragSortable,initialFolding=!1,folding=!1,dragStarted=!1,dragEl$1,clonesFromRect,clonesHidden;function MultiDragPlugin(){function e(t){for(var r in this)r.charAt(0)==="_"&&typeof this[r]=="function"&&(this[r]=this[r].bind(this));t.options.supportPointer?on(document,"pointerup",this._deselectMultiDrag):(on(document,"mouseup",this._deselectMultiDrag),on(document,"touchend",this._deselectMultiDrag)),on(document,"keydown",this._checkKeyDown),on(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(i,c){var a="";multiDragElements.length&&multiDragSortable===t?multiDragElements.forEach(function(u,d){a+=(d?", ":"")+u.textContent}):a=c.textContent,i.setData("Text",a)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(r){var o=r.dragEl;dragEl$1=o},delayEnded:function(){this.isMultiDrag=~multiDragElements.indexOf(dragEl$1)},setupClone:function(r){var o=r.sortable,i=r.cancel;if(this.isMultiDrag){for(var c=0;c<multiDragElements.length;c++)multiDragClones.push(clone(multiDragElements[c])),multiDragClones[c].sortableIndex=multiDragElements[c].sortableIndex,multiDragClones[c].draggable=!1,multiDragClones[c].style["will-change"]="",toggleClass(multiDragClones[c],this.options.selectedClass,!1),multiDragElements[c]===dragEl$1&&toggleClass(multiDragClones[c],this.options.chosenClass,!1);o._hideClone(),i()}},clone:function(r){var o=r.sortable,i=r.rootEl,c=r.dispatchSortableEvent,a=r.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||multiDragElements.length&&multiDragSortable===o&&(insertMultiDragClones(!0,i),c("clone"),a()))},showClone:function(r){var o=r.cloneNowShown,i=r.rootEl,c=r.cancel;this.isMultiDrag&&(insertMultiDragClones(!1,i),multiDragClones.forEach(function(a){css(a,"display","")}),o(),clonesHidden=!1,c())},hideClone:function(r){var o=this;r.sortable;var i=r.cloneNowHidden,c=r.cancel;this.isMultiDrag&&(multiDragClones.forEach(function(a){css(a,"display","none"),o.options.removeCloneOnHide&&a.parentNode&&a.parentNode.removeChild(a)}),i(),clonesHidden=!0,c())},dragStartGlobal:function(r){r.sortable,!this.isMultiDrag&&multiDragSortable&&multiDragSortable.multiDrag._deselectMultiDrag(),multiDragElements.forEach(function(o){o.sortableIndex=index(o)}),multiDragElements=multiDragElements.sort(function(o,i){return o.sortableIndex-i.sortableIndex}),dragStarted=!0},dragStarted:function(r){var o=this,i=r.sortable;if(this.isMultiDrag){if(this.options.sort&&(i.captureAnimationState(),this.options.animation)){multiDragElements.forEach(function(a){a!==dragEl$1&&css(a,"position","absolute")});var c=getRect(dragEl$1,!1,!0,!0);multiDragElements.forEach(function(a){a!==dragEl$1&&setRect(a,c)}),folding=!0,initialFolding=!0}i.animateAll(function(){folding=!1,initialFolding=!1,o.options.animation&&multiDragElements.forEach(function(a){unsetRect(a)}),o.options.sort&&removeMultiDragElements()})}},dragOver:function(r){var o=r.target,i=r.completed,c=r.cancel;folding&&~multiDragElements.indexOf(o)&&(i(!1),c())},revert:function(r){var o=r.fromSortable,i=r.rootEl,c=r.sortable,a=r.dragRect;multiDragElements.length>1&&(multiDragElements.forEach(function(u){c.addAnimationState({target:u,rect:folding?getRect(u):a}),unsetRect(u),u.fromRect=a,o.removeAnimationState(u)}),folding=!1,insertMultiDragElements(!this.options.removeCloneOnHide,i))},dragOverCompleted:function(r){var o=r.sortable,i=r.isOwner,c=r.insertion,a=r.activeSortable,u=r.parentEl,d=r.putSortable,f=this.options;if(c){if(i&&a._hideClone(),initialFolding=!1,f.animation&&multiDragElements.length>1&&(folding||!i&&!a.options.sort&&!d)){var m=getRect(dragEl$1,!1,!0,!0);multiDragElements.forEach(function(v){v!==dragEl$1&&(setRect(v,m),u.appendChild(v))}),folding=!0}if(!i)if(folding||removeMultiDragElements(),multiDragElements.length>1){var g=clonesHidden;a._showClone(o),a.options.animation&&!clonesHidden&&g&&multiDragClones.forEach(function(v){a.addAnimationState({target:v,rect:clonesFromRect}),v.fromRect=clonesFromRect,v.thisAnimationDuration=null})}else a._showClone(o)}},dragOverAnimationCapture:function(r){var o=r.dragRect,i=r.isOwner,c=r.activeSortable;if(multiDragElements.forEach(function(u){u.thisAnimationDuration=null}),c.options.animation&&!i&&c.multiDrag.isMultiDrag){clonesFromRect=_extends({},o);var a=matrix(dragEl$1,!0);clonesFromRect.top-=a.f,clonesFromRect.left-=a.e}},dragOverAnimationComplete:function(){folding&&(folding=!1,removeMultiDragElements())},drop:function(r){var o=r.originalEvent,i=r.rootEl,c=r.parentEl,a=r.sortable,u=r.dispatchSortableEvent,d=r.oldIndex,f=r.putSortable,m=f||this.sortable;if(o){var g=this.options,v=c.children;if(!dragStarted)if(g.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),toggleClass(dragEl$1,g.selectedClass,!~multiDragElements.indexOf(dragEl$1)),~multiDragElements.indexOf(dragEl$1))multiDragElements.splice(multiDragElements.indexOf(dragEl$1),1),lastMultiDragSelect=null,dispatchEvent({sortable:a,rootEl:i,name:"deselect",targetEl:dragEl$1,originalEvt:o});else{if(multiDragElements.push(dragEl$1),dispatchEvent({sortable:a,rootEl:i,name:"select",targetEl:dragEl$1,originalEvt:o}),o.shiftKey&&lastMultiDragSelect&&a.el.contains(lastMultiDragSelect)){var y=index(lastMultiDragSelect),w=index(dragEl$1);if(~y&&~w&&y!==w){var b,S;for(w>y?(S=y,b=w):(S=w,b=y+1);S<b;S++)~multiDragElements.indexOf(v[S])||(toggleClass(v[S],g.selectedClass,!0),multiDragElements.push(v[S]),dispatchEvent({sortable:a,rootEl:i,name:"select",targetEl:v[S],originalEvt:o}))}}else lastMultiDragSelect=dragEl$1;multiDragSortable=m}if(dragStarted&&this.isMultiDrag){if(folding=!1,(c[expando].options.sort||c!==i)&&multiDragElements.length>1){var _=getRect(dragEl$1),k=index(dragEl$1,":not(."+this.options.selectedClass+")");if(!initialFolding&&g.animation&&(dragEl$1.thisAnimationDuration=null),m.captureAnimationState(),!initialFolding&&(g.animation&&(dragEl$1.fromRect=_,multiDragElements.forEach(function(T){if(T.thisAnimationDuration=null,T!==dragEl$1){var x=folding?getRect(T):_;T.fromRect=x,m.addAnimationState({target:T,rect:x})}})),removeMultiDragElements(),multiDragElements.forEach(function(T){v[k]?c.insertBefore(T,v[k]):c.appendChild(T),k++}),d===index(dragEl$1))){var C=!1;multiDragElements.forEach(function(T){if(T.sortableIndex!==index(T)){C=!0;return}}),C&&u("update")}multiDragElements.forEach(function(T){unsetRect(T)}),m.animateAll()}multiDragSortable=m}(i===c||f&&f.lastPutMode!=="clone")&&multiDragClones.forEach(function(T){T.parentNode&&T.parentNode.removeChild(T)})}},nullingGlobal:function(){this.isMultiDrag=dragStarted=!1,multiDragClones.length=0},destroyGlobal:function(){this._deselectMultiDrag(),off(document,"pointerup",this._deselectMultiDrag),off(document,"mouseup",this._deselectMultiDrag),off(document,"touchend",this._deselectMultiDrag),off(document,"keydown",this._checkKeyDown),off(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(r){if(!(typeof dragStarted<"u"&&dragStarted)&&multiDragSortable===this.sortable&&!(r&&closest(r.target,this.options.draggable,this.sortable.el,!1))&&!(r&&r.button!==0))for(;multiDragElements.length;){var o=multiDragElements[0];toggleClass(o,this.options.selectedClass,!1),multiDragElements.shift(),dispatchEvent({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:o,originalEvt:r})}},_checkKeyDown:function(r){r.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(r){r.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},_extends(e,{pluginName:"multiDrag",utils:{select:function(r){var o=r.parentNode[expando];!o||!o.options.multiDrag||~multiDragElements.indexOf(r)||(multiDragSortable&&multiDragSortable!==o&&(multiDragSortable.multiDrag._deselectMultiDrag(),multiDragSortable=o),toggleClass(r,o.options.selectedClass,!0),multiDragElements.push(r))},deselect:function(r){var o=r.parentNode[expando],i=multiDragElements.indexOf(r);!o||!o.options.multiDrag||!~i||(toggleClass(r,o.options.selectedClass,!1),multiDragElements.splice(i,1))}},eventProperties:function(){var r=this,o=[],i=[];return multiDragElements.forEach(function(c){o.push({multiDragElement:c,index:c.sortableIndex});var a;folding&&c!==dragEl$1?a=-1:folding?a=index(c,":not(."+r.options.selectedClass+")"):a=index(c),i.push({multiDragElement:c,index:a})}),{items:_toConsumableArray(multiDragElements),clones:[].concat(multiDragClones),oldIndicies:o,newIndicies:i}},optionListeners:{multiDragKey:function(r){return r=r.toLowerCase(),r==="ctrl"?r="Control":r.length>1&&(r=r.charAt(0).toUpperCase()+r.substr(1)),r}}})}function insertMultiDragElements(e,t){multiDragElements.forEach(function(r,o){var i=t.children[r.sortableIndex+(e?Number(o):0)];i?t.insertBefore(r,i):t.appendChild(r)})}function insertMultiDragClones(e,t){multiDragClones.forEach(function(r,o){var i=t.children[r.sortableIndex+(e?Number(o):0)];i?t.insertBefore(r,i):t.appendChild(r)})}function removeMultiDragElements(){multiDragElements.forEach(function(e){e!==dragEl$1&&e.parentNode&&e.parentNode.removeChild(e)})}Sortable.mount(new AutoScrollPlugin);Sortable.mount(Remove,Revert);const sortable_esm=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:MultiDragPlugin,Sortable,Swap:SwapPlugin,default:Sortable},Symbol.toStringTag,{value:"Module"})),require$$1=getAugmentedNamespace(sortable_esm);(function(e,t){(function(o,i){e.exports=i(require$$0,require$$1)})(typeof self<"u"?self:commonjsGlobal,function(r,o){return function(i){var c={};function a(u){if(c[u])return c[u].exports;var d=c[u]={i:u,l:!1,exports:{}};return i[u].call(d.exports,d,d.exports,a),d.l=!0,d.exports}return a.m=i,a.c=c,a.d=function(u,d,f){a.o(u,d)||Object.defineProperty(u,d,{enumerable:!0,get:f})},a.r=function(u){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(u,"__esModule",{value:!0})},a.t=function(u,d){if(d&1&&(u=a(u)),d&8||d&4&&typeof u=="object"&&u&&u.__esModule)return u;var f=Object.create(null);if(a.r(f),Object.defineProperty(f,"default",{enumerable:!0,value:u}),d&2&&typeof u!="string")for(var m in u)a.d(f,m,(function(g){return u[g]}).bind(null,m));return f},a.n=function(u){var d=u&&u.__esModule?function(){return u.default}:function(){return u};return a.d(d,"a",d),d},a.o=function(u,d){return Object.prototype.hasOwnProperty.call(u,d)},a.p="",a(a.s="fb15")}({"00ee":function(i,c,a){var u=a("b622"),d=u("toStringTag"),f={};f[d]="z",i.exports=String(f)==="[object z]"},"0366":function(i,c,a){var u=a("1c0b");i.exports=function(d,f,m){if(u(d),f===void 0)return d;switch(m){case 0:return function(){return d.call(f)};case 1:return function(g){return d.call(f,g)};case 2:return function(g,v){return d.call(f,g,v)};case 3:return function(g,v,y){return d.call(f,g,v,y)}}return function(){return d.apply(f,arguments)}}},"057f":function(i,c,a){var u=a("fc6a"),d=a("241c").f,f={}.toString,m=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],g=function(v){try{return d(v)}catch{return m.slice()}};i.exports.f=function(y){return m&&f.call(y)=="[object Window]"?g(y):d(u(y))}},"06cf":function(i,c,a){var u=a("83ab"),d=a("d1e7"),f=a("5c6c"),m=a("fc6a"),g=a("c04e"),v=a("5135"),y=a("0cfb"),w=Object.getOwnPropertyDescriptor;c.f=u?w:function(S,_){if(S=m(S),_=g(_,!0),y)try{return w(S,_)}catch{}if(v(S,_))return f(!d.f.call(S,_),S[_])}},"0cfb":function(i,c,a){var u=a("83ab"),d=a("d039"),f=a("cc12");i.exports=!u&&!d(function(){return Object.defineProperty(f("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(i,c,a){var u=a("23e7"),d=a("d58f").left,f=a("a640"),m=a("ae40"),g=f("reduce"),v=m("reduce",{1:0});u({target:"Array",proto:!0,forced:!g||!v},{reduce:function(w){return d(this,w,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(i,c,a){var u=a("c6b6"),d=a("9263");i.exports=function(f,m){var g=f.exec;if(typeof g=="function"){var v=g.call(f,m);if(typeof v!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return v}if(u(f)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return d.call(f,m)}},"159b":function(i,c,a){var u=a("da84"),d=a("fdbc"),f=a("17c2"),m=a("9112");for(var g in d){var v=u[g],y=v&&v.prototype;if(y&&y.forEach!==f)try{m(y,"forEach",f)}catch{y.forEach=f}}},"17c2":function(i,c,a){var u=a("b727").forEach,d=a("a640"),f=a("ae40"),m=d("forEach"),g=f("forEach");i.exports=!m||!g?function(y){return u(this,y,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(i,c,a){var u=a("d066");i.exports=u("document","documentElement")},"1c0b":function(i,c){i.exports=function(a){if(typeof a!="function")throw TypeError(String(a)+" is not a function");return a}},"1c7e":function(i,c,a){var u=a("b622"),d=u("iterator"),f=!1;try{var m=0,g={next:function(){return{done:!!m++}},return:function(){f=!0}};g[d]=function(){return this},Array.from(g,function(){throw 2})}catch{}i.exports=function(v,y){if(!y&&!f)return!1;var w=!1;try{var b={};b[d]=function(){return{next:function(){return{done:w=!0}}}},v(b)}catch{}return w}},"1d80":function(i,c){i.exports=function(a){if(a==null)throw TypeError("Can't call method on "+a);return a}},"1dde":function(i,c,a){var u=a("d039"),d=a("b622"),f=a("2d00"),m=d("species");i.exports=function(g){return f>=51||!u(function(){var v=[],y=v.constructor={};return y[m]=function(){return{foo:1}},v[g](Boolean).foo!==1})}},"23cb":function(i,c,a){var u=a("a691"),d=Math.max,f=Math.min;i.exports=function(m,g){var v=u(m);return v<0?d(v+g,0):f(v,g)}},"23e7":function(i,c,a){var u=a("da84"),d=a("06cf").f,f=a("9112"),m=a("6eeb"),g=a("ce4e"),v=a("e893"),y=a("94ca");i.exports=function(w,b){var S=w.target,_=w.global,k=w.stat,C,T,x,R,O,A;if(_?T=u:k?T=u[S]||g(S,{}):T=(u[S]||{}).prototype,T)for(x in b){if(O=b[x],w.noTargetGet?(A=d(T,x),R=A&&A.value):R=T[x],C=y(_?x:S+(k?".":"#")+x,w.forced),!C&&R!==void 0){if(typeof O==typeof R)continue;v(O,R)}(w.sham||R&&R.sham)&&f(O,"sham",!0),m(T,x,O,w)}}},"241c":function(i,c,a){var u=a("ca84"),d=a("7839"),f=d.concat("length","prototype");c.f=Object.getOwnPropertyNames||function(g){return u(g,f)}},"25f0":function(i,c,a){var u=a("6eeb"),d=a("825a"),f=a("d039"),m=a("ad6d"),g="toString",v=RegExp.prototype,y=v[g],w=f(function(){return y.call({source:"a",flags:"b"})!="/a/b"}),b=y.name!=g;(w||b)&&u(RegExp.prototype,g,function(){var _=d(this),k=String(_.source),C=_.flags,T=String(C===void 0&&_ instanceof RegExp&&!("flags"in v)?m.call(_):C);return"/"+k+"/"+T},{unsafe:!0})},"2ca0":function(i,c,a){var u=a("23e7"),d=a("06cf").f,f=a("50c4"),m=a("5a34"),g=a("1d80"),v=a("ab13"),y=a("c430"),w="".startsWith,b=Math.min,S=v("startsWith"),_=!y&&!S&&!!function(){var k=d(String.prototype,"startsWith");return k&&!k.writable}();u({target:"String",proto:!0,forced:!_&&!S},{startsWith:function(C){var T=String(g(this));m(C);var x=f(b(arguments.length>1?arguments[1]:void 0,T.length)),R=String(C);return w?w.call(T,R,x):T.slice(x,x+R.length)===R}})},"2d00":function(i,c,a){var u=a("da84"),d=a("342f"),f=u.process,m=f&&f.versions,g=m&&m.v8,v,y;g?(v=g.split("."),y=v[0]+v[1]):d&&(v=d.match(/Edge\/(\d+)/),(!v||v[1]>=74)&&(v=d.match(/Chrome\/(\d+)/),v&&(y=v[1]))),i.exports=y&&+y},"342f":function(i,c,a){var u=a("d066");i.exports=u("navigator","userAgent")||""},"35a1":function(i,c,a){var u=a("f5df"),d=a("3f8c"),f=a("b622"),m=f("iterator");i.exports=function(g){if(g!=null)return g[m]||g["@@iterator"]||d[u(g)]}},"37e8":function(i,c,a){var u=a("83ab"),d=a("9bf2"),f=a("825a"),m=a("df75");i.exports=u?Object.defineProperties:function(v,y){f(v);for(var w=m(y),b=w.length,S=0,_;b>S;)d.f(v,_=w[S++],y[_]);return v}},"3bbe":function(i,c,a){var u=a("861d");i.exports=function(d){if(!u(d)&&d!==null)throw TypeError("Can't set "+String(d)+" as a prototype");return d}},"3ca3":function(i,c,a){var u=a("6547").charAt,d=a("69f3"),f=a("7dd0"),m="String Iterator",g=d.set,v=d.getterFor(m);f(String,"String",function(y){g(this,{type:m,string:String(y),index:0})},function(){var w=v(this),b=w.string,S=w.index,_;return S>=b.length?{value:void 0,done:!0}:(_=u(b,S),w.index+=_.length,{value:_,done:!1})})},"3f8c":function(i,c){i.exports={}},4160:function(i,c,a){var u=a("23e7"),d=a("17c2");u({target:"Array",proto:!0,forced:[].forEach!=d},{forEach:d})},"428f":function(i,c,a){var u=a("da84");i.exports=u},"44ad":function(i,c,a){var u=a("d039"),d=a("c6b6"),f="".split;i.exports=u(function(){return!Object("z").propertyIsEnumerable(0)})?function(m){return d(m)=="String"?f.call(m,""):Object(m)}:Object},"44d2":function(i,c,a){var u=a("b622"),d=a("7c73"),f=a("9bf2"),m=u("unscopables"),g=Array.prototype;g[m]==null&&f.f(g,m,{configurable:!0,value:d(null)}),i.exports=function(v){g[m][v]=!0}},"44e7":function(i,c,a){var u=a("861d"),d=a("c6b6"),f=a("b622"),m=f("match");i.exports=function(g){var v;return u(g)&&((v=g[m])!==void 0?!!v:d(g)=="RegExp")}},4930:function(i,c,a){var u=a("d039");i.exports=!!Object.getOwnPropertySymbols&&!u(function(){return!String(Symbol())})},"4d64":function(i,c,a){var u=a("fc6a"),d=a("50c4"),f=a("23cb"),m=function(g){return function(v,y,w){var b=u(v),S=d(b.length),_=f(w,S),k;if(g&&y!=y){for(;S>_;)if(k=b[_++],k!=k)return!0}else for(;S>_;_++)if((g||_ in b)&&b[_]===y)return g||_||0;return!g&&-1}};i.exports={includes:m(!0),indexOf:m(!1)}},"4de4":function(i,c,a){var u=a("23e7"),d=a("b727").filter,f=a("1dde"),m=a("ae40"),g=f("filter"),v=m("filter");u({target:"Array",proto:!0,forced:!g||!v},{filter:function(w){return d(this,w,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(i,c,a){var u=a("0366"),d=a("7b0b"),f=a("9bdd"),m=a("e95a"),g=a("50c4"),v=a("8418"),y=a("35a1");i.exports=function(b){var S=d(b),_=typeof this=="function"?this:Array,k=arguments.length,C=k>1?arguments[1]:void 0,T=C!==void 0,x=y(S),R=0,O,A,N,E,P,V;if(T&&(C=u(C,k>2?arguments[2]:void 0,2)),x!=null&&!(_==Array&&m(x)))for(E=x.call(S),P=E.next,A=new _;!(N=P.call(E)).done;R++)V=T?f(E,C,[N.value,R],!0):N.value,v(A,R,V);else for(O=g(S.length),A=new _(O);O>R;R++)V=T?C(S[R],R):S[R],v(A,R,V);return A.length=R,A}},"4fad":function(i,c,a){var u=a("23e7"),d=a("6f53").entries;u({target:"Object",stat:!0},{entries:function(m){return d(m)}})},"50c4":function(i,c,a){var u=a("a691"),d=Math.min;i.exports=function(f){return f>0?d(u(f),9007199254740991):0}},5135:function(i,c){var a={}.hasOwnProperty;i.exports=function(u,d){return a.call(u,d)}},5319:function(i,c,a){var u=a("d784"),d=a("825a"),f=a("7b0b"),m=a("50c4"),g=a("a691"),v=a("1d80"),y=a("8aa5"),w=a("14c3"),b=Math.max,S=Math.min,_=Math.floor,k=/\$([$&'`]|\d\d?|<[^>]*>)/g,C=/\$([$&'`]|\d\d?)/g,T=function(x){return x===void 0?x:String(x)};u("replace",2,function(x,R,O,A){var N=A.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,E=A.REPLACE_KEEPS_$0,P=N?"$":"$0";return[function(F,B){var $=v(this),U=F==null?void 0:F[x];return U!==void 0?U.call(F,$,B):R.call(String($),F,B)},function(D,F){if(!N&&E||typeof F=="string"&&F.indexOf(P)===-1){var B=O(R,D,this,F);if(B.done)return B.value}var $=d(D),U=String(this),M=typeof F=="function";M||(F=String(F));var Z=$.global;if(Z){var Q=$.unicode;$.lastIndex=0}for(var te=[];;){var W=w($,U);if(W===null||(te.push(W),!Z))break;var j=String(W[0]);j===""&&($.lastIndex=y(U,m($.lastIndex),Q))}for(var le="",me=0,ce=0;ce<te.length;ce++){W=te[ce];for(var q=String(W[0]),K=b(S(g(W.index),U.length),0),z=[],re=1;re<W.length;re++)z.push(T(W[re]));var he=W.groups;if(M){var G=[q].concat(z,K,U);he!==void 0&&G.push(he);var I=String(F.apply(void 0,G))}else I=V(q,U,K,z,he,F);K>=me&&(le+=U.slice(me,K)+I,me=K+q.length)}return le+U.slice(me)}];function V(D,F,B,$,U,M){var Z=B+D.length,Q=$.length,te=C;return U!==void 0&&(U=f(U),te=k),R.call(M,te,function(W,j){var le;switch(j.charAt(0)){case"$":return"$";case"&":return D;case"`":return F.slice(0,B);case"'":return F.slice(Z);case"<":le=U[j.slice(1,-1)];break;default:var me=+j;if(me===0)return W;if(me>Q){var ce=_(me/10);return ce===0?W:ce<=Q?$[ce-1]===void 0?j.charAt(1):$[ce-1]+j.charAt(1):W}le=$[me-1]}return le===void 0?"":le})}})},5692:function(i,c,a){var u=a("c430"),d=a("c6cd");(i.exports=function(f,m){return d[f]||(d[f]=m!==void 0?m:{})})("versions",[]).push({version:"3.6.5",mode:u?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(i,c,a){var u=a("d066"),d=a("241c"),f=a("7418"),m=a("825a");i.exports=u("Reflect","ownKeys")||function(v){var y=d.f(m(v)),w=f.f;return w?y.concat(w(v)):y}},"5a34":function(i,c,a){var u=a("44e7");i.exports=function(d){if(u(d))throw TypeError("The method doesn't accept regular expressions");return d}},"5c6c":function(i,c){i.exports=function(a,u){return{enumerable:!(a&1),configurable:!(a&2),writable:!(a&4),value:u}}},"5db7":function(i,c,a){var u=a("23e7"),d=a("a2bf"),f=a("7b0b"),m=a("50c4"),g=a("1c0b"),v=a("65f0");u({target:"Array",proto:!0},{flatMap:function(w){var b=f(this),S=m(b.length),_;return g(w),_=v(b,0),_.length=d(_,b,b,S,0,1,w,arguments.length>1?arguments[1]:void 0),_}})},6547:function(i,c,a){var u=a("a691"),d=a("1d80"),f=function(m){return function(g,v){var y=String(d(g)),w=u(v),b=y.length,S,_;return w<0||w>=b?m?"":void 0:(S=y.charCodeAt(w),S<55296||S>56319||w+1===b||(_=y.charCodeAt(w+1))<56320||_>57343?m?y.charAt(w):S:m?y.slice(w,w+2):(S-55296<<10)+(_-56320)+65536)}};i.exports={codeAt:f(!1),charAt:f(!0)}},"65f0":function(i,c,a){var u=a("861d"),d=a("e8b5"),f=a("b622"),m=f("species");i.exports=function(g,v){var y;return d(g)&&(y=g.constructor,typeof y=="function"&&(y===Array||d(y.prototype))?y=void 0:u(y)&&(y=y[m],y===null&&(y=void 0))),new(y===void 0?Array:y)(v===0?0:v)}},"69f3":function(i,c,a){var u=a("7f9a"),d=a("da84"),f=a("861d"),m=a("9112"),g=a("5135"),v=a("f772"),y=a("d012"),w=d.WeakMap,b,S,_,k=function(N){return _(N)?S(N):b(N,{})},C=function(N){return function(E){var P;if(!f(E)||(P=S(E)).type!==N)throw TypeError("Incompatible receiver, "+N+" required");return P}};if(u){var T=new w,x=T.get,R=T.has,O=T.set;b=function(N,E){return O.call(T,N,E),E},S=function(N){return x.call(T,N)||{}},_=function(N){return R.call(T,N)}}else{var A=v("state");y[A]=!0,b=function(N,E){return m(N,A,E),E},S=function(N){return g(N,A)?N[A]:{}},_=function(N){return g(N,A)}}i.exports={set:b,get:S,has:_,enforce:k,getterFor:C}},"6eeb":function(i,c,a){var u=a("da84"),d=a("9112"),f=a("5135"),m=a("ce4e"),g=a("8925"),v=a("69f3"),y=v.get,w=v.enforce,b=String(String).split("String");(i.exports=function(S,_,k,C){var T=C?!!C.unsafe:!1,x=C?!!C.enumerable:!1,R=C?!!C.noTargetGet:!1;if(typeof k=="function"&&(typeof _=="string"&&!f(k,"name")&&d(k,"name",_),w(k).source=b.join(typeof _=="string"?_:"")),S===u){x?S[_]=k:m(_,k);return}else T?!R&&S[_]&&(x=!0):delete S[_];x?S[_]=k:d(S,_,k)})(Function.prototype,"toString",function(){return typeof this=="function"&&y(this).source||g(this)})},"6f53":function(i,c,a){var u=a("83ab"),d=a("df75"),f=a("fc6a"),m=a("d1e7").f,g=function(v){return function(y){for(var w=f(y),b=d(w),S=b.length,_=0,k=[],C;S>_;)C=b[_++],(!u||m.call(w,C))&&k.push(v?[C,w[C]]:w[C]);return k}};i.exports={entries:g(!0),values:g(!1)}},"73d9":function(i,c,a){var u=a("44d2");u("flatMap")},7418:function(i,c){c.f=Object.getOwnPropertySymbols},"746f":function(i,c,a){var u=a("428f"),d=a("5135"),f=a("e538"),m=a("9bf2").f;i.exports=function(g){var v=u.Symbol||(u.Symbol={});d(v,g)||m(v,g,{value:f.f(g)})}},7839:function(i,c){i.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(i,c,a){var u=a("1d80");i.exports=function(d){return Object(u(d))}},"7c73":function(i,c,a){var u=a("825a"),d=a("37e8"),f=a("7839"),m=a("d012"),g=a("1be4"),v=a("cc12"),y=a("f772"),w=">",b="<",S="prototype",_="script",k=y("IE_PROTO"),C=function(){},T=function(N){return b+_+w+N+b+"/"+_+w},x=function(N){N.write(T("")),N.close();var E=N.parentWindow.Object;return N=null,E},R=function(){var N=v("iframe"),E="java"+_+":",P;return N.style.display="none",g.appendChild(N),N.src=String(E),P=N.contentWindow.document,P.open(),P.write(T("document.F=Object")),P.close(),P.F},O,A=function(){try{O=document.domain&&new ActiveXObject("htmlfile")}catch{}A=O?x(O):R();for(var N=f.length;N--;)delete A[S][f[N]];return A()};m[k]=!0,i.exports=Object.create||function(E,P){var V;return E!==null?(C[S]=u(E),V=new C,C[S]=null,V[k]=E):V=A(),P===void 0?V:d(V,P)}},"7dd0":function(i,c,a){var u=a("23e7"),d=a("9ed3"),f=a("e163"),m=a("d2bb"),g=a("d44e"),v=a("9112"),y=a("6eeb"),w=a("b622"),b=a("c430"),S=a("3f8c"),_=a("ae93"),k=_.IteratorPrototype,C=_.BUGGY_SAFARI_ITERATORS,T=w("iterator"),x="keys",R="values",O="entries",A=function(){return this};i.exports=function(N,E,P,V,D,F,B){d(P,E,V);var $=function(ce){if(ce===D&&te)return te;if(!C&&ce in Z)return Z[ce];switch(ce){case x:return function(){return new P(this,ce)};case R:return function(){return new P(this,ce)};case O:return function(){return new P(this,ce)}}return function(){return new P(this)}},U=E+" Iterator",M=!1,Z=N.prototype,Q=Z[T]||Z["@@iterator"]||D&&Z[D],te=!C&&Q||$(D),W=E=="Array"&&Z.entries||Q,j,le,me;if(W&&(j=f(W.call(new N)),k!==Object.prototype&&j.next&&(!b&&f(j)!==k&&(m?m(j,k):typeof j[T]!="function"&&v(j,T,A)),g(j,U,!0,!0),b&&(S[U]=A))),D==R&&Q&&Q.name!==R&&(M=!0,te=function(){return Q.call(this)}),(!b||B)&&Z[T]!==te&&v(Z,T,te),S[E]=te,D)if(le={values:$(R),keys:F?te:$(x),entries:$(O)},B)for(me in le)(C||M||!(me in Z))&&y(Z,me,le[me]);else u({target:E,proto:!0,forced:C||M},le);return le}},"7f9a":function(i,c,a){var u=a("da84"),d=a("8925"),f=u.WeakMap;i.exports=typeof f=="function"&&/native code/.test(d(f))},"825a":function(i,c,a){var u=a("861d");i.exports=function(d){if(!u(d))throw TypeError(String(d)+" is not an object");return d}},"83ab":function(i,c,a){var u=a("d039");i.exports=!u(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(i,c,a){var u=a("c04e"),d=a("9bf2"),f=a("5c6c");i.exports=function(m,g,v){var y=u(g);y in m?d.f(m,y,f(0,v)):m[y]=v}},"861d":function(i,c){i.exports=function(a){return typeof a=="object"?a!==null:typeof a=="function"}},8875:function(i,c,a){var u,d,f;(function(m,g){d=[],u=g,f=typeof u=="function"?u.apply(c,d):u,f!==void 0&&(i.exports=f)})(typeof self<"u"?self:this,function(){function m(){var g=Object.getOwnPropertyDescriptor(document,"currentScript");if(!g&&"currentScript"in document&&document.currentScript||g&&g.get!==m&&document.currentScript)return document.currentScript;try{throw new Error}catch(O){var v=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,y=/@([^@]*):(\d+):(\d+)\s*$/ig,w=v.exec(O.stack)||y.exec(O.stack),b=w&&w[1]||!1,S=w&&w[2]||!1,_=document.location.href.replace(document.location.hash,""),k,C,T,x=document.getElementsByTagName("script");b===_&&(k=document.documentElement.outerHTML,C=new RegExp("(?:[^\\n]+?\\n){0,"+(S-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),T=k.replace(C,"$1").trim());for(var R=0;R<x.length;R++)if(x[R].readyState==="interactive"||x[R].src===b||b===_&&x[R].innerHTML&&x[R].innerHTML.trim()===T)return x[R];return null}}return m})},8925:function(i,c,a){var u=a("c6cd"),d=Function.toString;typeof u.inspectSource!="function"&&(u.inspectSource=function(f){return d.call(f)}),i.exports=u.inspectSource},"8aa5":function(i,c,a){var u=a("6547").charAt;i.exports=function(d,f,m){return f+(m?u(d,f).length:1)}},"8bbf":function(i,c){i.exports=r},"90e3":function(i,c){var a=0,u=Math.random();i.exports=function(d){return"Symbol("+String(d===void 0?"":d)+")_"+(++a+u).toString(36)}},9112:function(i,c,a){var u=a("83ab"),d=a("9bf2"),f=a("5c6c");i.exports=u?function(m,g,v){return d.f(m,g,f(1,v))}:function(m,g,v){return m[g]=v,m}},9263:function(i,c,a){var u=a("ad6d"),d=a("9f7f"),f=RegExp.prototype.exec,m=String.prototype.replace,g=f,v=function(){var S=/a/,_=/b*/g;return f.call(S,"a"),f.call(_,"a"),S.lastIndex!==0||_.lastIndex!==0}(),y=d.UNSUPPORTED_Y||d.BROKEN_CARET,w=/()??/.exec("")[1]!==void 0,b=v||w||y;b&&(g=function(_){var k=this,C,T,x,R,O=y&&k.sticky,A=u.call(k),N=k.source,E=0,P=_;return O&&(A=A.replace("y",""),A.indexOf("g")===-1&&(A+="g"),P=String(_).slice(k.lastIndex),k.lastIndex>0&&(!k.multiline||k.multiline&&_[k.lastIndex-1]!==`
`)&&(N="(?: "+N+")",P=" "+P,E++),T=new RegExp("^(?:"+N+")",A)),w&&(T=new RegExp("^"+N+"$(?!\\s)",A)),v&&(C=k.lastIndex),x=f.call(O?T:k,P),O?x?(x.input=x.input.slice(E),x[0]=x[0].slice(E),x.index=k.lastIndex,k.lastIndex+=x[0].length):k.lastIndex=0:v&&x&&(k.lastIndex=k.global?x.index+x[0].length:C),w&&x&&x.length>1&&m.call(x[0],T,function(){for(R=1;R<arguments.length-2;R++)arguments[R]===void 0&&(x[R]=void 0)}),x}),i.exports=g},"94ca":function(i,c,a){var u=a("d039"),d=/#|\.prototype\./,f=function(w,b){var S=g[m(w)];return S==y?!0:S==v?!1:typeof b=="function"?u(b):!!b},m=f.normalize=function(w){return String(w).replace(d,".").toLowerCase()},g=f.data={},v=f.NATIVE="N",y=f.POLYFILL="P";i.exports=f},"99af":function(i,c,a){var u=a("23e7"),d=a("d039"),f=a("e8b5"),m=a("861d"),g=a("7b0b"),v=a("50c4"),y=a("8418"),w=a("65f0"),b=a("1dde"),S=a("b622"),_=a("2d00"),k=S("isConcatSpreadable"),C=9007199254740991,T="Maximum allowed index exceeded",x=_>=51||!d(function(){var N=[];return N[k]=!1,N.concat()[0]!==N}),R=b("concat"),O=function(N){if(!m(N))return!1;var E=N[k];return E!==void 0?!!E:f(N)},A=!x||!R;u({target:"Array",proto:!0,forced:A},{concat:function(E){var P=g(this),V=w(P,0),D=0,F,B,$,U,M;for(F=-1,$=arguments.length;F<$;F++)if(M=F===-1?P:arguments[F],O(M)){if(U=v(M.length),D+U>C)throw TypeError(T);for(B=0;B<U;B++,D++)B in M&&y(V,D,M[B])}else{if(D>=C)throw TypeError(T);y(V,D++,M)}return V.length=D,V}})},"9bdd":function(i,c,a){var u=a("825a");i.exports=function(d,f,m,g){try{return g?f(u(m)[0],m[1]):f(m)}catch(y){var v=d.return;throw v!==void 0&&u(v.call(d)),y}}},"9bf2":function(i,c,a){var u=a("83ab"),d=a("0cfb"),f=a("825a"),m=a("c04e"),g=Object.defineProperty;c.f=u?g:function(y,w,b){if(f(y),w=m(w,!0),f(b),d)try{return g(y,w,b)}catch{}if("get"in b||"set"in b)throw TypeError("Accessors not supported");return"value"in b&&(y[w]=b.value),y}},"9ed3":function(i,c,a){var u=a("ae93").IteratorPrototype,d=a("7c73"),f=a("5c6c"),m=a("d44e"),g=a("3f8c"),v=function(){return this};i.exports=function(y,w,b){var S=w+" Iterator";return y.prototype=d(u,{next:f(1,b)}),m(y,S,!1,!0),g[S]=v,y}},"9f7f":function(i,c,a){var u=a("d039");function d(f,m){return RegExp(f,m)}c.UNSUPPORTED_Y=u(function(){var f=d("a","y");return f.lastIndex=2,f.exec("abcd")!=null}),c.BROKEN_CARET=u(function(){var f=d("^r","gy");return f.lastIndex=2,f.exec("str")!=null})},a2bf:function(i,c,a){var u=a("e8b5"),d=a("50c4"),f=a("0366"),m=function(g,v,y,w,b,S,_,k){for(var C=b,T=0,x=_?f(_,k,3):!1,R;T<w;){if(T in y){if(R=x?x(y[T],T,v):y[T],S>0&&u(R))C=m(g,v,R,d(R.length),C,S-1)-1;else{if(C>=9007199254740991)throw TypeError("Exceed the acceptable array length");g[C]=R}C++}T++}return C};i.exports=m},a352:function(i,c){i.exports=o},a434:function(i,c,a){var u=a("23e7"),d=a("23cb"),f=a("a691"),m=a("50c4"),g=a("7b0b"),v=a("65f0"),y=a("8418"),w=a("1dde"),b=a("ae40"),S=w("splice"),_=b("splice",{ACCESSORS:!0,0:0,1:2}),k=Math.max,C=Math.min,T=9007199254740991,x="Maximum allowed length exceeded";u({target:"Array",proto:!0,forced:!S||!_},{splice:function(O,A){var N=g(this),E=m(N.length),P=d(O,E),V=arguments.length,D,F,B,$,U,M;if(V===0?D=F=0:V===1?(D=0,F=E-P):(D=V-2,F=C(k(f(A),0),E-P)),E+D-F>T)throw TypeError(x);for(B=v(N,F),$=0;$<F;$++)U=P+$,U in N&&y(B,$,N[U]);if(B.length=F,D<F){for($=P;$<E-F;$++)U=$+F,M=$+D,U in N?N[M]=N[U]:delete N[M];for($=E;$>E-F+D;$--)delete N[$-1]}else if(D>F)for($=E-F;$>P;$--)U=$+F-1,M=$+D-1,U in N?N[M]=N[U]:delete N[M];for($=0;$<D;$++)N[$+P]=arguments[$+2];return N.length=E-F+D,B}})},a4d3:function(i,c,a){var u=a("23e7"),d=a("da84"),f=a("d066"),m=a("c430"),g=a("83ab"),v=a("4930"),y=a("fdbf"),w=a("d039"),b=a("5135"),S=a("e8b5"),_=a("861d"),k=a("825a"),C=a("7b0b"),T=a("fc6a"),x=a("c04e"),R=a("5c6c"),O=a("7c73"),A=a("df75"),N=a("241c"),E=a("057f"),P=a("7418"),V=a("06cf"),D=a("9bf2"),F=a("d1e7"),B=a("9112"),$=a("6eeb"),U=a("5692"),M=a("f772"),Z=a("d012"),Q=a("90e3"),te=a("b622"),W=a("e538"),j=a("746f"),le=a("d44e"),me=a("69f3"),ce=a("b727").forEach,q=M("hidden"),K="Symbol",z="prototype",re=te("toPrimitive"),he=me.set,G=me.getterFor(K),I=Object[z],L=d.Symbol,J=f("JSON","stringify"),X=V.f,ee=D.f,ue=E.f,de=F.f,se=U("symbols"),pe=U("op-symbols"),ae=U("string-to-symbol-registry"),ge=U("symbol-to-string-registry"),oe=U("wks"),ie=d.QObject,ve=!ie||!ie[z]||!ie[z].findChild,we=g&&w(function(){return O(ee({},"a",{get:function(){return ee(this,"a",{value:7}).a}})).a!=7})?function(ke,be,_e){var Re=X(I,be);Re&&delete I[be],ee(ke,be,_e),Re&&ke!==I&&ee(I,be,Re)}:ee,Ce=function(ke,be){var _e=se[ke]=O(L[z]);return he(_e,{type:K,tag:ke,description:be}),g||(_e.description=be),_e},H=y?function(ke){return typeof ke=="symbol"}:function(ke){return Object(ke)instanceof L},Y=function(be,_e,Re){be===I&&Y(pe,_e,Re),k(be);var Ee=x(_e,!0);return k(Re),b(se,Ee)?(Re.enumerable?(b(be,q)&&be[q][Ee]&&(be[q][Ee]=!1),Re=O(Re,{enumerable:R(0,!1)})):(b(be,q)||ee(be,q,R(1,{})),be[q][Ee]=!0),we(be,Ee,Re)):ee(be,Ee,Re)},ne=function(be,_e){k(be);var Re=T(_e),Ee=A(Re).concat(Te(Re));return ce(Ee,function(Ne){(!g||ye.call(Re,Ne))&&Y(be,Ne,Re[Ne])}),be},fe=function(be,_e){return _e===void 0?O(be):ne(O(be),_e)},ye=function(be){var _e=x(be,!0),Re=de.call(this,_e);return this===I&&b(se,_e)&&!b(pe,_e)?!1:Re||!b(this,_e)||!b(se,_e)||b(this,q)&&this[q][_e]?Re:!0},Se=function(be,_e){var Re=T(be),Ee=x(_e,!0);if(!(Re===I&&b(se,Ee)&&!b(pe,Ee))){var Ne=X(Re,Ee);return Ne&&b(se,Ee)&&!(b(Re,q)&&Re[q][Ee])&&(Ne.enumerable=!0),Ne}},xe=function(be){var _e=ue(T(be)),Re=[];return ce(_e,function(Ee){!b(se,Ee)&&!b(Z,Ee)&&Re.push(Ee)}),Re},Te=function(be){var _e=be===I,Re=ue(_e?pe:T(be)),Ee=[];return ce(Re,function(Ne){b(se,Ne)&&(!_e||b(I,Ne))&&Ee.push(se[Ne])}),Ee};if(v||(L=function(){if(this instanceof L)throw TypeError("Symbol is not a constructor");var be=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),_e=Q(be),Re=function(Ee){this===I&&Re.call(pe,Ee),b(this,q)&&b(this[q],_e)&&(this[q][_e]=!1),we(this,_e,R(1,Ee))};return g&&ve&&we(I,_e,{configurable:!0,set:Re}),Ce(_e,be)},$(L[z],"toString",function(){return G(this).tag}),$(L,"withoutSetter",function(ke){return Ce(Q(ke),ke)}),F.f=ye,D.f=Y,V.f=Se,N.f=E.f=xe,P.f=Te,W.f=function(ke){return Ce(te(ke),ke)},g&&(ee(L[z],"description",{configurable:!0,get:function(){return G(this).description}}),m||$(I,"propertyIsEnumerable",ye,{unsafe:!0}))),u({global:!0,wrap:!0,forced:!v,sham:!v},{Symbol:L}),ce(A(oe),function(ke){j(ke)}),u({target:K,stat:!0,forced:!v},{for:function(ke){var be=String(ke);if(b(ae,be))return ae[be];var _e=L(be);return ae[be]=_e,ge[_e]=be,_e},keyFor:function(be){if(!H(be))throw TypeError(be+" is not a symbol");if(b(ge,be))return ge[be]},useSetter:function(){ve=!0},useSimple:function(){ve=!1}}),u({target:"Object",stat:!0,forced:!v,sham:!g},{create:fe,defineProperty:Y,defineProperties:ne,getOwnPropertyDescriptor:Se}),u({target:"Object",stat:!0,forced:!v},{getOwnPropertyNames:xe,getOwnPropertySymbols:Te}),u({target:"Object",stat:!0,forced:w(function(){P.f(1)})},{getOwnPropertySymbols:function(be){return P.f(C(be))}}),J){var Oe=!v||w(function(){var ke=L();return J([ke])!="[null]"||J({a:ke})!="{}"||J(Object(ke))!="{}"});u({target:"JSON",stat:!0,forced:Oe},{stringify:function(be,_e,Re){for(var Ee=[be],Ne=1,Pe;arguments.length>Ne;)Ee.push(arguments[Ne++]);if(Pe=_e,!(!_(_e)&&be===void 0||H(be)))return S(_e)||(_e=function(De,Ve){if(typeof Pe=="function"&&(Ve=Pe.call(this,De,Ve)),!H(Ve))return Ve}),Ee[1]=_e,J.apply(null,Ee)}})}L[z][re]||B(L[z],re,L[z].valueOf),le(L,K),Z[q]=!0},a630:function(i,c,a){var u=a("23e7"),d=a("4df4"),f=a("1c7e"),m=!f(function(g){Array.from(g)});u({target:"Array",stat:!0,forced:m},{from:d})},a640:function(i,c,a){var u=a("d039");i.exports=function(d,f){var m=[][d];return!!m&&u(function(){m.call(null,f||function(){throw 1},1)})}},a691:function(i,c){var a=Math.ceil,u=Math.floor;i.exports=function(d){return isNaN(d=+d)?0:(d>0?u:a)(d)}},ab13:function(i,c,a){var u=a("b622"),d=u("match");i.exports=function(f){var m=/./;try{"/./"[f](m)}catch{try{return m[d]=!1,"/./"[f](m)}catch{}}return!1}},ac1f:function(i,c,a){var u=a("23e7"),d=a("9263");u({target:"RegExp",proto:!0,forced:/./.exec!==d},{exec:d})},ad6d:function(i,c,a){var u=a("825a");i.exports=function(){var d=u(this),f="";return d.global&&(f+="g"),d.ignoreCase&&(f+="i"),d.multiline&&(f+="m"),d.dotAll&&(f+="s"),d.unicode&&(f+="u"),d.sticky&&(f+="y"),f}},ae40:function(i,c,a){var u=a("83ab"),d=a("d039"),f=a("5135"),m=Object.defineProperty,g={},v=function(y){throw y};i.exports=function(y,w){if(f(g,y))return g[y];w||(w={});var b=[][y],S=f(w,"ACCESSORS")?w.ACCESSORS:!1,_=f(w,0)?w[0]:v,k=f(w,1)?w[1]:void 0;return g[y]=!!b&&!d(function(){if(S&&!u)return!0;var C={length:-1};S?m(C,1,{enumerable:!0,get:v}):C[1]=1,b.call(C,_,k)})}},ae93:function(i,c,a){var u=a("e163"),d=a("9112"),f=a("5135"),m=a("b622"),g=a("c430"),v=m("iterator"),y=!1,w=function(){return this},b,S,_;[].keys&&(_=[].keys(),"next"in _?(S=u(u(_)),S!==Object.prototype&&(b=S)):y=!0),b==null&&(b={}),!g&&!f(b,v)&&d(b,v,w),i.exports={IteratorPrototype:b,BUGGY_SAFARI_ITERATORS:y}},b041:function(i,c,a){var u=a("00ee"),d=a("f5df");i.exports=u?{}.toString:function(){return"[object "+d(this)+"]"}},b0c0:function(i,c,a){var u=a("83ab"),d=a("9bf2").f,f=Function.prototype,m=f.toString,g=/^\s*function ([^ (]*)/,v="name";u&&!(v in f)&&d(f,v,{configurable:!0,get:function(){try{return m.call(this).match(g)[1]}catch{return""}}})},b622:function(i,c,a){var u=a("da84"),d=a("5692"),f=a("5135"),m=a("90e3"),g=a("4930"),v=a("fdbf"),y=d("wks"),w=u.Symbol,b=v?w:w&&w.withoutSetter||m;i.exports=function(S){return f(y,S)||(g&&f(w,S)?y[S]=w[S]:y[S]=b("Symbol."+S)),y[S]}},b64b:function(i,c,a){var u=a("23e7"),d=a("7b0b"),f=a("df75"),m=a("d039"),g=m(function(){f(1)});u({target:"Object",stat:!0,forced:g},{keys:function(y){return f(d(y))}})},b727:function(i,c,a){var u=a("0366"),d=a("44ad"),f=a("7b0b"),m=a("50c4"),g=a("65f0"),v=[].push,y=function(w){var b=w==1,S=w==2,_=w==3,k=w==4,C=w==6,T=w==5||C;return function(x,R,O,A){for(var N=f(x),E=d(N),P=u(R,O,3),V=m(E.length),D=0,F=A||g,B=b?F(x,V):S?F(x,0):void 0,$,U;V>D;D++)if((T||D in E)&&($=E[D],U=P($,D,N),w)){if(b)B[D]=U;else if(U)switch(w){case 3:return!0;case 5:return $;case 6:return D;case 2:v.call(B,$)}else if(k)return!1}return C?-1:_||k?k:B}};i.exports={forEach:y(0),map:y(1),filter:y(2),some:y(3),every:y(4),find:y(5),findIndex:y(6)}},c04e:function(i,c,a){var u=a("861d");i.exports=function(d,f){if(!u(d))return d;var m,g;if(f&&typeof(m=d.toString)=="function"&&!u(g=m.call(d))||typeof(m=d.valueOf)=="function"&&!u(g=m.call(d))||!f&&typeof(m=d.toString)=="function"&&!u(g=m.call(d)))return g;throw TypeError("Can't convert object to primitive value")}},c430:function(i,c){i.exports=!1},c6b6:function(i,c){var a={}.toString;i.exports=function(u){return a.call(u).slice(8,-1)}},c6cd:function(i,c,a){var u=a("da84"),d=a("ce4e"),f="__core-js_shared__",m=u[f]||d(f,{});i.exports=m},c740:function(i,c,a){var u=a("23e7"),d=a("b727").findIndex,f=a("44d2"),m=a("ae40"),g="findIndex",v=!0,y=m(g);g in[]&&Array(1)[g](function(){v=!1}),u({target:"Array",proto:!0,forced:v||!y},{findIndex:function(b){return d(this,b,arguments.length>1?arguments[1]:void 0)}}),f(g)},c8ba:function(i,c){var a;a=function(){return this}();try{a=a||new Function("return this")()}catch{typeof window=="object"&&(a=window)}i.exports=a},c975:function(i,c,a){var u=a("23e7"),d=a("4d64").indexOf,f=a("a640"),m=a("ae40"),g=[].indexOf,v=!!g&&1/[1].indexOf(1,-0)<0,y=f("indexOf"),w=m("indexOf",{ACCESSORS:!0,1:0});u({target:"Array",proto:!0,forced:v||!y||!w},{indexOf:function(S){return v?g.apply(this,arguments)||0:d(this,S,arguments.length>1?arguments[1]:void 0)}})},ca84:function(i,c,a){var u=a("5135"),d=a("fc6a"),f=a("4d64").indexOf,m=a("d012");i.exports=function(g,v){var y=d(g),w=0,b=[],S;for(S in y)!u(m,S)&&u(y,S)&&b.push(S);for(;v.length>w;)u(y,S=v[w++])&&(~f(b,S)||b.push(S));return b}},caad:function(i,c,a){var u=a("23e7"),d=a("4d64").includes,f=a("44d2"),m=a("ae40"),g=m("indexOf",{ACCESSORS:!0,1:0});u({target:"Array",proto:!0,forced:!g},{includes:function(y){return d(this,y,arguments.length>1?arguments[1]:void 0)}}),f("includes")},cc12:function(i,c,a){var u=a("da84"),d=a("861d"),f=u.document,m=d(f)&&d(f.createElement);i.exports=function(g){return m?f.createElement(g):{}}},ce4e:function(i,c,a){var u=a("da84"),d=a("9112");i.exports=function(f,m){try{d(u,f,m)}catch{u[f]=m}return m}},d012:function(i,c){i.exports={}},d039:function(i,c){i.exports=function(a){try{return!!a()}catch{return!0}}},d066:function(i,c,a){var u=a("428f"),d=a("da84"),f=function(m){return typeof m=="function"?m:void 0};i.exports=function(m,g){return arguments.length<2?f(u[m])||f(d[m]):u[m]&&u[m][g]||d[m]&&d[m][g]}},d1e7:function(i,c,a){var u={}.propertyIsEnumerable,d=Object.getOwnPropertyDescriptor,f=d&&!u.call({1:2},1);c.f=f?function(g){var v=d(this,g);return!!v&&v.enumerable}:u},d28b:function(i,c,a){var u=a("746f");u("iterator")},d2bb:function(i,c,a){var u=a("825a"),d=a("3bbe");i.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var f=!1,m={},g;try{g=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,g.call(m,[]),f=m instanceof Array}catch{}return function(y,w){return u(y),d(w),f?g.call(y,w):y.__proto__=w,y}}():void 0)},d3b7:function(i,c,a){var u=a("00ee"),d=a("6eeb"),f=a("b041");u||d(Object.prototype,"toString",f,{unsafe:!0})},d44e:function(i,c,a){var u=a("9bf2").f,d=a("5135"),f=a("b622"),m=f("toStringTag");i.exports=function(g,v,y){g&&!d(g=y?g:g.prototype,m)&&u(g,m,{configurable:!0,value:v})}},d58f:function(i,c,a){var u=a("1c0b"),d=a("7b0b"),f=a("44ad"),m=a("50c4"),g=function(v){return function(y,w,b,S){u(w);var _=d(y),k=f(_),C=m(_.length),T=v?C-1:0,x=v?-1:1;if(b<2)for(;;){if(T in k){S=k[T],T+=x;break}if(T+=x,v?T<0:C<=T)throw TypeError("Reduce of empty array with no initial value")}for(;v?T>=0:C>T;T+=x)T in k&&(S=w(S,k[T],T,_));return S}};i.exports={left:g(!1),right:g(!0)}},d784:function(i,c,a){a("ac1f");var u=a("6eeb"),d=a("d039"),f=a("b622"),m=a("9263"),g=a("9112"),v=f("species"),y=!d(function(){var k=/./;return k.exec=function(){var C=[];return C.groups={a:"7"},C},"".replace(k,"$<a>")!=="7"}),w=function(){return"a".replace(/./,"$0")==="$0"}(),b=f("replace"),S=function(){return/./[b]?/./[b]("a","$0")==="":!1}(),_=!d(function(){var k=/(?:)/,C=k.exec;k.exec=function(){return C.apply(this,arguments)};var T="ab".split(k);return T.length!==2||T[0]!=="a"||T[1]!=="b"});i.exports=function(k,C,T,x){var R=f(k),O=!d(function(){var D={};return D[R]=function(){return 7},""[k](D)!=7}),A=O&&!d(function(){var D=!1,F=/a/;return k==="split"&&(F={},F.constructor={},F.constructor[v]=function(){return F},F.flags="",F[R]=/./[R]),F.exec=function(){return D=!0,null},F[R](""),!D});if(!O||!A||k==="replace"&&!(y&&w&&!S)||k==="split"&&!_){var N=/./[R],E=T(R,""[k],function(D,F,B,$,U){return F.exec===m?O&&!U?{done:!0,value:N.call(F,B,$)}:{done:!0,value:D.call(B,F,$)}:{done:!1}},{REPLACE_KEEPS_$0:w,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:S}),P=E[0],V=E[1];u(String.prototype,k,P),u(RegExp.prototype,R,C==2?function(D,F){return V.call(D,this,F)}:function(D){return V.call(D,this)})}x&&g(RegExp.prototype[R],"sham",!0)}},d81d:function(i,c,a){var u=a("23e7"),d=a("b727").map,f=a("1dde"),m=a("ae40"),g=f("map"),v=m("map");u({target:"Array",proto:!0,forced:!g||!v},{map:function(w){return d(this,w,arguments.length>1?arguments[1]:void 0)}})},da84:function(i,c,a){(function(u){var d=function(f){return f&&f.Math==Math&&f};i.exports=d(typeof globalThis=="object"&&globalThis)||d(typeof window=="object"&&window)||d(typeof self=="object"&&self)||d(typeof u=="object"&&u)||Function("return this")()}).call(this,a("c8ba"))},dbb4:function(i,c,a){var u=a("23e7"),d=a("83ab"),f=a("56ef"),m=a("fc6a"),g=a("06cf"),v=a("8418");u({target:"Object",stat:!0,sham:!d},{getOwnPropertyDescriptors:function(w){for(var b=m(w),S=g.f,_=f(b),k={},C=0,T,x;_.length>C;)x=S(b,T=_[C++]),x!==void 0&&v(k,T,x);return k}})},dbf1:function(i,c,a){(function(u){a.d(c,"a",function(){return f});function d(){return typeof window<"u"?window.console:u.console}var f=d()}).call(this,a("c8ba"))},ddb0:function(i,c,a){var u=a("da84"),d=a("fdbc"),f=a("e260"),m=a("9112"),g=a("b622"),v=g("iterator"),y=g("toStringTag"),w=f.values;for(var b in d){var S=u[b],_=S&&S.prototype;if(_){if(_[v]!==w)try{m(_,v,w)}catch{_[v]=w}if(_[y]||m(_,y,b),d[b]){for(var k in f)if(_[k]!==f[k])try{m(_,k,f[k])}catch{_[k]=f[k]}}}}},df75:function(i,c,a){var u=a("ca84"),d=a("7839");i.exports=Object.keys||function(m){return u(m,d)}},e01a:function(i,c,a){var u=a("23e7"),d=a("83ab"),f=a("da84"),m=a("5135"),g=a("861d"),v=a("9bf2").f,y=a("e893"),w=f.Symbol;if(d&&typeof w=="function"&&(!("description"in w.prototype)||w().description!==void 0)){var b={},S=function(){var R=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),O=this instanceof S?new w(R):R===void 0?w():w(R);return R===""&&(b[O]=!0),O};y(S,w);var _=S.prototype=w.prototype;_.constructor=S;var k=_.toString,C=String(w("test"))=="Symbol(test)",T=/^Symbol\((.*)\)[^)]+$/;v(_,"description",{configurable:!0,get:function(){var R=g(this)?this.valueOf():this,O=k.call(R);if(m(b,R))return"";var A=C?O.slice(7,-1):O.replace(T,"$1");return A===""?void 0:A}}),u({global:!0,forced:!0},{Symbol:S})}},e163:function(i,c,a){var u=a("5135"),d=a("7b0b"),f=a("f772"),m=a("e177"),g=f("IE_PROTO"),v=Object.prototype;i.exports=m?Object.getPrototypeOf:function(y){return y=d(y),u(y,g)?y[g]:typeof y.constructor=="function"&&y instanceof y.constructor?y.constructor.prototype:y instanceof Object?v:null}},e177:function(i,c,a){var u=a("d039");i.exports=!u(function(){function d(){}return d.prototype.constructor=null,Object.getPrototypeOf(new d)!==d.prototype})},e260:function(i,c,a){var u=a("fc6a"),d=a("44d2"),f=a("3f8c"),m=a("69f3"),g=a("7dd0"),v="Array Iterator",y=m.set,w=m.getterFor(v);i.exports=g(Array,"Array",function(b,S){y(this,{type:v,target:u(b),index:0,kind:S})},function(){var b=w(this),S=b.target,_=b.kind,k=b.index++;return!S||k>=S.length?(b.target=void 0,{value:void 0,done:!0}):_=="keys"?{value:k,done:!1}:_=="values"?{value:S[k],done:!1}:{value:[k,S[k]],done:!1}},"values"),f.Arguments=f.Array,d("keys"),d("values"),d("entries")},e439:function(i,c,a){var u=a("23e7"),d=a("d039"),f=a("fc6a"),m=a("06cf").f,g=a("83ab"),v=d(function(){m(1)}),y=!g||v;u({target:"Object",stat:!0,forced:y,sham:!g},{getOwnPropertyDescriptor:function(b,S){return m(f(b),S)}})},e538:function(i,c,a){var u=a("b622");c.f=u},e893:function(i,c,a){var u=a("5135"),d=a("56ef"),f=a("06cf"),m=a("9bf2");i.exports=function(g,v){for(var y=d(v),w=m.f,b=f.f,S=0;S<y.length;S++){var _=y[S];u(g,_)||w(g,_,b(v,_))}}},e8b5:function(i,c,a){var u=a("c6b6");i.exports=Array.isArray||function(f){return u(f)=="Array"}},e95a:function(i,c,a){var u=a("b622"),d=a("3f8c"),f=u("iterator"),m=Array.prototype;i.exports=function(g){return g!==void 0&&(d.Array===g||m[f]===g)}},f5df:function(i,c,a){var u=a("00ee"),d=a("c6b6"),f=a("b622"),m=f("toStringTag"),g=d(function(){return arguments}())=="Arguments",v=function(y,w){try{return y[w]}catch{}};i.exports=u?d:function(y){var w,b,S;return y===void 0?"Undefined":y===null?"Null":typeof(b=v(w=Object(y),m))=="string"?b:g?d(w):(S=d(w))=="Object"&&typeof w.callee=="function"?"Arguments":S}},f772:function(i,c,a){var u=a("5692"),d=a("90e3"),f=u("keys");i.exports=function(m){return f[m]||(f[m]=d(m))}},fb15:function(i,c,a){if(a.r(c),typeof window<"u"){var u=window.document.currentScript;{var d=a("8875");u=d(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:d})}var f=u&&u.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);f&&(a.p=f[1])}a("99af"),a("4de4"),a("4160"),a("c975"),a("d81d"),a("a434"),a("159b"),a("a4d3"),a("e439"),a("dbb4"),a("b64b");function m(H,Y,ne){return Y in H?Object.defineProperty(H,Y,{value:ne,enumerable:!0,configurable:!0,writable:!0}):H[Y]=ne,H}function g(H,Y){var ne=Object.keys(H);if(Object.getOwnPropertySymbols){var fe=Object.getOwnPropertySymbols(H);Y&&(fe=fe.filter(function(ye){return Object.getOwnPropertyDescriptor(H,ye).enumerable})),ne.push.apply(ne,fe)}return ne}function v(H){for(var Y=1;Y<arguments.length;Y++){var ne=arguments[Y]!=null?arguments[Y]:{};Y%2?g(Object(ne),!0).forEach(function(fe){m(H,fe,ne[fe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(H,Object.getOwnPropertyDescriptors(ne)):g(Object(ne)).forEach(function(fe){Object.defineProperty(H,fe,Object.getOwnPropertyDescriptor(ne,fe))})}return H}function y(H){if(Array.isArray(H))return H}a("e01a"),a("d28b"),a("e260"),a("d3b7"),a("3ca3"),a("ddb0");function w(H,Y){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(H)))){var ne=[],fe=!0,ye=!1,Se=void 0;try{for(var xe=H[Symbol.iterator](),Te;!(fe=(Te=xe.next()).done)&&(ne.push(Te.value),!(Y&&ne.length===Y));fe=!0);}catch(Oe){ye=!0,Se=Oe}finally{try{!fe&&xe.return!=null&&xe.return()}finally{if(ye)throw Se}}return ne}}a("a630"),a("fb6a"),a("b0c0"),a("25f0");function b(H,Y){(Y==null||Y>H.length)&&(Y=H.length);for(var ne=0,fe=new Array(Y);ne<Y;ne++)fe[ne]=H[ne];return fe}function S(H,Y){if(H){if(typeof H=="string")return b(H,Y);var ne=Object.prototype.toString.call(H).slice(8,-1);if(ne==="Object"&&H.constructor&&(ne=H.constructor.name),ne==="Map"||ne==="Set")return Array.from(H);if(ne==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(ne))return b(H,Y)}}function _(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function k(H,Y){return y(H)||w(H,Y)||S(H,Y)||_()}function C(H){if(Array.isArray(H))return b(H)}function T(H){if(typeof Symbol<"u"&&Symbol.iterator in Object(H))return Array.from(H)}function x(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function R(H){return C(H)||T(H)||S(H)||x()}var O=a("a352"),A=a.n(O);function N(H){H.parentElement!==null&&H.parentElement.removeChild(H)}function E(H,Y,ne){var fe=ne===0?H.children[0]:H.children[ne-1].nextSibling;H.insertBefore(Y,fe)}var P=a("dbf1");a("13d5"),a("4fad"),a("ac1f"),a("5319");function V(H){var Y=Object.create(null);return function(fe){var ye=Y[fe];return ye||(Y[fe]=H(fe))}}var D=/-(\w)/g,F=V(function(H){return H.replace(D,function(Y,ne){return ne.toUpperCase()})});a("5db7"),a("73d9");var B=["Start","Add","Remove","Update","End"],$=["Choose","Unchoose","Sort","Filter","Clone"],U=["Move"],M=[U,B,$].flatMap(function(H){return H}).map(function(H){return"on".concat(H)}),Z={manage:U,manageAndEmit:B,emit:$};function Q(H){return M.indexOf(H)!==-1}a("caad"),a("2ca0");var te=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function W(H){return te.includes(H)}function j(H){return["transition-group","TransitionGroup"].includes(H)}function le(H){return["id","class","role","style"].includes(H)||H.startsWith("data-")||H.startsWith("aria-")||H.startsWith("on")}function me(H){return H.reduce(function(Y,ne){var fe=k(ne,2),ye=fe[0],Se=fe[1];return Y[ye]=Se,Y},{})}function ce(H){var Y=H.$attrs,ne=H.componentData,fe=ne===void 0?{}:ne,ye=me(Object.entries(Y).filter(function(Se){var xe=k(Se,2),Te=xe[0];return xe[1],le(Te)}));return v(v({},ye),fe)}function q(H){var Y=H.$attrs,ne=H.callBackBuilder,fe=me(K(Y));Object.entries(ne).forEach(function(Se){var xe=k(Se,2),Te=xe[0],Oe=xe[1];Z[Te].forEach(function(ke){fe["on".concat(ke)]=Oe(ke)})});var ye="[data-draggable]".concat(fe.draggable||"");return v(v({},fe),{},{draggable:ye})}function K(H){return Object.entries(H).filter(function(Y){var ne=k(Y,2),fe=ne[0];return ne[1],!le(fe)}).map(function(Y){var ne=k(Y,2),fe=ne[0],ye=ne[1];return[F(fe),ye]}).filter(function(Y){var ne=k(Y,2),fe=ne[0];return ne[1],!Q(fe)})}a("c740");function z(H,Y){if(!(H instanceof Y))throw new TypeError("Cannot call a class as a function")}function re(H,Y){for(var ne=0;ne<Y.length;ne++){var fe=Y[ne];fe.enumerable=fe.enumerable||!1,fe.configurable=!0,"value"in fe&&(fe.writable=!0),Object.defineProperty(H,fe.key,fe)}}function he(H,Y,ne){return Y&&re(H.prototype,Y),ne&&re(H,ne),H}var G=function(Y){var ne=Y.el;return ne},I=function(Y,ne){return Y.__draggable_context=ne},L=function(Y){return Y.__draggable_context},J=function(){function H(Y){var ne=Y.nodes,fe=ne.header,ye=ne.default,Se=ne.footer,xe=Y.root,Te=Y.realList;z(this,H),this.defaultNodes=ye,this.children=[].concat(R(fe),R(ye),R(Se)),this.externalComponent=xe.externalComponent,this.rootTransition=xe.transition,this.tag=xe.tag,this.realList=Te}return he(H,[{key:"render",value:function(ne,fe){var ye=this.tag,Se=this.children,xe=this._isRootComponent,Te=xe?{default:function(){return Se}}:Se;return ne(ye,fe,Te)}},{key:"updated",value:function(){var ne=this.defaultNodes,fe=this.realList;ne.forEach(function(ye,Se){I(G(ye),{element:fe[Se],index:Se})})}},{key:"getUnderlyingVm",value:function(ne){return L(ne)}},{key:"getVmIndexFromDomIndex",value:function(ne,fe){var ye=this.defaultNodes,Se=ye.length,xe=fe.children,Te=xe.item(ne);if(Te===null)return Se;var Oe=L(Te);if(Oe)return Oe.index;if(Se===0)return 0;var ke=G(ye[0]),be=R(xe).findIndex(function(_e){return _e===ke});return ne<be?0:Se}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),H}(),X=a("8bbf");function ee(H,Y){var ne=H[Y];return ne?ne():[]}function ue(H){var Y=H.$slots,ne=H.realList,fe=H.getKey,ye=ne||[],Se=["header","footer"].map(function(_e){return ee(Y,_e)}),xe=k(Se,2),Te=xe[0],Oe=xe[1],ke=Y.item;if(!ke)throw new Error("draggable element must have an item slot");var be=ye.flatMap(function(_e,Re){return ke({element:_e,index:Re}).map(function(Ee){return Ee.key=fe(_e),Ee.props=v(v({},Ee.props||{}),{},{"data-draggable":!0}),Ee})});if(be.length!==ye.length)throw new Error("Item slot must have only one child");return{header:Te,footer:Oe,default:be}}function de(H){var Y=j(H),ne=!W(H)&&!Y;return{transition:Y,externalComponent:ne,tag:ne?Object(X.resolveComponent)(H):Y?X.TransitionGroup:H}}function se(H){var Y=H.$slots,ne=H.tag,fe=H.realList,ye=H.getKey,Se=ue({$slots:Y,realList:fe,getKey:ye}),xe=de(ne);return new J({nodes:Se,root:xe,realList:fe})}function pe(H,Y){var ne=this;Object(X.nextTick)(function(){return ne.$emit(H.toLowerCase(),Y)})}function ae(H){var Y=this;return function(ne,fe){if(Y.realList!==null)return Y["onDrag".concat(H)](ne,fe)}}function ge(H){var Y=this,ne=ae.call(this,H);return function(fe,ye){ne.call(Y,fe,ye),pe.call(Y,H,fe)}}var oe=null,ie={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:function(Y){return Y}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},ve=["update:modelValue","change"].concat(R([].concat(R(Z.manageAndEmit),R(Z.emit)).map(function(H){return H.toLowerCase()}))),we=Object(X.defineComponent)({name:"draggable",inheritAttrs:!1,props:ie,emits:ve,data:function(){return{error:!1}},render:function(){try{this.error=!1;var Y=this.$slots,ne=this.$attrs,fe=this.tag,ye=this.componentData,Se=this.realList,xe=this.getKey,Te=se({$slots:Y,tag:fe,realList:Se,getKey:xe});this.componentStructure=Te;var Oe=ce({$attrs:ne,componentData:ye});return Te.render(X.h,Oe)}catch(ke){return this.error=!0,Object(X.h)("pre",{style:{color:"red"}},ke.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&P.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var Y=this;if(!this.error){var ne=this.$attrs,fe=this.$el,ye=this.componentStructure;ye.updated();var Se=q({$attrs:ne,callBackBuilder:{manageAndEmit:function(Oe){return ge.call(Y,Oe)},emit:function(Oe){return pe.bind(Y,Oe)},manage:function(Oe){return ae.call(Y,Oe)}}}),xe=fe.nodeType===1?fe:fe.parentElement;this._sortable=new A.a(xe,Se),this.targetDomElement=xe,xe.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList:function(){var Y=this.list;return Y||this.modelValue},getKey:function(){var Y=this.itemKey;return typeof Y=="function"?Y:function(ne){return ne[Y]}}},watch:{$attrs:{handler:function(Y){var ne=this._sortable;ne&&K(Y).forEach(function(fe){var ye=k(fe,2),Se=ye[0],xe=ye[1];ne.option(Se,xe)})},deep:!0}},methods:{getUnderlyingVm:function(Y){return this.componentStructure.getUnderlyingVm(Y)||null},getUnderlyingPotencialDraggableComponent:function(Y){return Y.__draggable_component__},emitChanges:function(Y){var ne=this;Object(X.nextTick)(function(){return ne.$emit("change",Y)})},alterList:function(Y){if(this.list){Y(this.list);return}var ne=R(this.modelValue);Y(ne),this.$emit("update:modelValue",ne)},spliceList:function(){var Y=arguments,ne=function(ye){return ye.splice.apply(ye,R(Y))};this.alterList(ne)},updatePosition:function(Y,ne){var fe=function(Se){return Se.splice(ne,0,Se.splice(Y,1)[0])};this.alterList(fe)},getRelatedContextFromMoveEvent:function(Y){var ne=Y.to,fe=Y.related,ye=this.getUnderlyingPotencialDraggableComponent(ne);if(!ye)return{component:ye};var Se=ye.realList,xe={list:Se,component:ye};if(ne!==fe&&Se){var Te=ye.getUnderlyingVm(fe)||{};return v(v({},Te),xe)}return xe},getVmIndexFromDomIndex:function(Y){return this.componentStructure.getVmIndexFromDomIndex(Y,this.targetDomElement)},onDragStart:function(Y){this.context=this.getUnderlyingVm(Y.item),Y.item._underlying_vm_=this.clone(this.context.element),oe=Y.item},onDragAdd:function(Y){var ne=Y.item._underlying_vm_;if(ne!==void 0){N(Y.item);var fe=this.getVmIndexFromDomIndex(Y.newIndex);this.spliceList(fe,0,ne);var ye={element:ne,newIndex:fe};this.emitChanges({added:ye})}},onDragRemove:function(Y){if(E(this.$el,Y.item,Y.oldIndex),Y.pullMode==="clone"){N(Y.clone);return}var ne=this.context,fe=ne.index,ye=ne.element;this.spliceList(fe,1);var Se={element:ye,oldIndex:fe};this.emitChanges({removed:Se})},onDragUpdate:function(Y){N(Y.item),E(Y.from,Y.item,Y.oldIndex);var ne=this.context.index,fe=this.getVmIndexFromDomIndex(Y.newIndex);this.updatePosition(ne,fe);var ye={element:this.context.element,oldIndex:ne,newIndex:fe};this.emitChanges({moved:ye})},computeFutureIndex:function(Y,ne){if(!Y.element)return 0;var fe=R(ne.to.children).filter(function(Te){return Te.style.display!=="none"}),ye=fe.indexOf(ne.related),Se=Y.component.getVmIndexFromDomIndex(ye),xe=fe.indexOf(oe)!==-1;return xe||!ne.willInsertAfter?Se:Se+1},onDragMove:function(Y,ne){var fe=this.move,ye=this.realList;if(!fe||!ye)return!0;var Se=this.getRelatedContextFromMoveEvent(Y),xe=this.computeFutureIndex(Se,Y),Te=v(v({},this.context),{},{futureIndex:xe}),Oe=v(v({},Y),{},{relatedContext:Se,draggedContext:Te});return fe(Oe,ne)},onDragEnd:function(){oe=null}}}),Ce=we;c.default=Ce},fb6a:function(i,c,a){var u=a("23e7"),d=a("861d"),f=a("e8b5"),m=a("23cb"),g=a("50c4"),v=a("fc6a"),y=a("8418"),w=a("b622"),b=a("1dde"),S=a("ae40"),_=b("slice"),k=S("slice",{ACCESSORS:!0,0:0,1:2}),C=w("species"),T=[].slice,x=Math.max;u({target:"Array",proto:!0,forced:!_||!k},{slice:function(O,A){var N=v(this),E=g(N.length),P=m(O,E),V=m(A===void 0?E:A,E),D,F,B;if(f(N)&&(D=N.constructor,typeof D=="function"&&(D===Array||f(D.prototype))?D=void 0:d(D)&&(D=D[C],D===null&&(D=void 0)),D===Array||D===void 0))return T.call(N,P,V);for(F=new(D===void 0?Array:D)(x(V-P,0)),B=0;P<V;P++,B++)P in N&&y(F,B,N[P]);return F.length=B,F}})},fc6a:function(i,c,a){var u=a("44ad"),d=a("1d80");i.exports=function(f){return u(d(f))}},fdbc:function(i,c){i.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(i,c,a){var u=a("4930");i.exports=u&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(vuedraggable_umd);var vuedraggable_umdExports=vuedraggable_umd.exports;const draggable=getDefaultExportFromCjs(vuedraggable_umdExports),_sfc_main$c=defineComponent$1({name:"IngredientsTable",components:{IngredientsTableRow,draggable},props:{ingredients:{type:Array,default:[]},showNotes:{type:Boolean,default:!0},draggable:{type:Boolean}},data(){return{mutable_ingredients:[]}},mounted(){this.mutable_ingredients=this.ingredients}}),makeVTableProps=propsFactory({fixedHeader:Boolean,fixedFooter:Boolean,height:[Number,String],hover:Boolean,...makeComponentProps(),...makeDensityProps(),...makeTagProps(),...makeThemeProps()},"VTable"),VTable=genericComponent()({name:"VTable",props:makeVTableProps(),setup(e,t){let{slots:r,emit:o}=t;const{themeClasses:i}=provideTheme(e),{densityClasses:c}=useDensity(e);return useRender(()=>createVNode(e.tag,{class:["v-table",{"v-table--fixed-height":!!e.height,"v-table--fixed-header":e.fixedHeader,"v-table--fixed-footer":e.fixedFooter,"v-table--has-top":!!r.top,"v-table--has-bottom":!!r.bottom,"v-table--hover":e.hover},i.value,c.value,e.class],style:e.style},{default:()=>{var a,u,d;return[(a=r.top)==null?void 0:a.call(r),r.default?createVNode("div",{class:"v-table__wrapper",style:{height:convertToUnit(e.height)}},[createVNode("table",null,[r.default()])]):(u=r.wrapper)==null?void 0:u.call(r),(d=r.bottom)==null?void 0:d.call(r)]}})),{}}});function _sfc_render$b(e,t,r,o,i,c){const a=resolveComponent("IngredientsTableRow");return e.ingredients.length>0?(openBlock(),createBlock(VTable,{key:0,density:"compact"},{default:withCtx(()=>[createBaseVNode("tbody",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.ingredients,u=>(openBlock(),createBlock(a,{ingredient:u,key:u.id,"show-notes":e.showNotes,draggable:e.draggable},null,8,["ingredient","show-notes","draggable"]))),128))])]),_:1})):createCommentVNode("",!0)}const IngredientsTable=_export_sfc(_sfc_main$c,[["render",_sfc_render$b]]),_sfc_main$b=defineComponent$1({name:"StepsOverview",components:{IngredientsTable,IngredientsTableRow},props:{steps:{type:Array,default:[]}}}),VExpansionPanelSymbol=Symbol.for("vuetify:v-expansion-panel"),allowedVariants=["default","accordion","inset","popout"],makeVExpansionPanelsProps=propsFactory({color:String,flat:Boolean,focusable:Boolean,static:Boolean,tile:Boolean,variant:{type:String,default:"default",validator:e=>allowedVariants.includes(e)},readonly:Boolean,...makeComponentProps(),...makeGroupProps(),...makeTagProps(),...makeThemeProps()},"VExpansionPanels"),VExpansionPanels=genericComponent()({name:"VExpansionPanels",props:makeVExpansionPanelsProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;useGroup(e,VExpansionPanelSymbol);const{themeClasses:o}=provideTheme(e),i=computed(()=>e.variant&&`v-expansion-panels--variant-${e.variant}`);return provideDefaults({VExpansionPanel:{color:toRef(e,"color"),readonly:toRef(e,"readonly")},VExpansionPanelTitle:{focusable:toRef(e,"focusable"),static:toRef(e,"static")}}),useRender(()=>createVNode(e.tag,{class:["v-expansion-panels",{"v-expansion-panels--flat":e.flat,"v-expansion-panels--tile":e.tile},o.value,i.value,e.class],style:e.style},r)),{}}}),makeVExpansionPanelTextProps=propsFactory({...makeComponentProps(),...makeLazyProps()},"VExpansionPanelText"),VExpansionPanelText=genericComponent()({name:"VExpansionPanelText",props:makeVExpansionPanelTextProps(),setup(e,t){let{slots:r}=t;const o=inject$1(VExpansionPanelSymbol);if(!o)throw new Error("[Vuetify] v-expansion-panel-text needs to be placed inside v-expansion-panel");const{hasContent:i,onAfterLeave:c}=useLazy(e,o.isSelected);return useRender(()=>createVNode(VExpandTransition,{onAfterLeave:c},{default:()=>{var a;return[withDirectives(createVNode("div",{class:["v-expansion-panel-text",e.class],style:e.style},[r.default&&i.value&&createVNode("div",{class:"v-expansion-panel-text__wrapper"},[(a=r.default)==null?void 0:a.call(r)])]),[[vShow,o.isSelected.value]])]}})),{}}}),makeVExpansionPanelTitleProps=propsFactory({color:String,expandIcon:{type:IconValue,default:"$expand"},collapseIcon:{type:IconValue,default:"$collapse"},hideActions:Boolean,focusable:Boolean,static:Boolean,ripple:{type:[Boolean,Object],default:!1},readonly:Boolean,...makeComponentProps()},"VExpansionPanelTitle"),VExpansionPanelTitle=genericComponent()({name:"VExpansionPanelTitle",directives:{Ripple},props:makeVExpansionPanelTitleProps(),setup(e,t){let{slots:r}=t;const o=inject$1(VExpansionPanelSymbol);if(!o)throw new Error("[Vuetify] v-expansion-panel-title needs to be placed inside v-expansion-panel");const{backgroundColorClasses:i,backgroundColorStyles:c}=useBackgroundColor(e,"color"),a=computed(()=>({collapseIcon:e.collapseIcon,disabled:o.disabled.value,expanded:o.isSelected.value,expandIcon:e.expandIcon,readonly:e.readonly}));return useRender(()=>{var u;return withDirectives(createVNode("button",{class:["v-expansion-panel-title",{"v-expansion-panel-title--active":o.isSelected.value,"v-expansion-panel-title--focusable":e.focusable,"v-expansion-panel-title--static":e.static},i.value,e.class],style:[c.value,e.style],type:"button",tabindex:o.disabled.value?-1:void 0,disabled:o.disabled.value,"aria-expanded":o.isSelected.value,onClick:e.readonly?void 0:o.toggle},[createVNode("span",{class:"v-expansion-panel-title__overlay"},null),(u=r.default)==null?void 0:u.call(r,a.value),!e.hideActions&&createVNode("span",{class:"v-expansion-panel-title__icon"},[r.actions?r.actions(a.value):createVNode(VIcon,{icon:o.isSelected.value?e.collapseIcon:e.expandIcon},null)])]),[[resolveDirective("ripple"),e.ripple]])}),{}}}),makeVExpansionPanelProps=propsFactory({title:String,text:String,bgColor:String,...makeComponentProps(),...makeElevationProps(),...makeGroupItemProps(),...makeLazyProps(),...makeRoundedProps(),...makeTagProps(),...makeVExpansionPanelTitleProps()},"VExpansionPanel"),VExpansionPanel=genericComponent()({name:"VExpansionPanel",props:makeVExpansionPanelProps(),emits:{"group:selected":e=>!0},setup(e,t){let{slots:r}=t;const o=useGroupItem(e,VExpansionPanelSymbol),{backgroundColorClasses:i,backgroundColorStyles:c}=useBackgroundColor(e,"bgColor"),{elevationClasses:a}=useElevation(e),{roundedClasses:u}=useRounded(e),d=computed(()=>(o==null?void 0:o.disabled.value)||e.disabled),f=computed(()=>o.group.items.value.reduce((v,y,w)=>(o.group.selected.value.includes(y.id)&&v.push(w),v),[])),m=computed(()=>{const v=o.group.items.value.findIndex(y=>y.id===o.id);return!o.isSelected.value&&f.value.some(y=>y-v===1)}),g=computed(()=>{const v=o.group.items.value.findIndex(y=>y.id===o.id);return!o.isSelected.value&&f.value.some(y=>y-v===-1)});return provide(VExpansionPanelSymbol,o),provideDefaults({VExpansionPanelText:{eager:toRef(e,"eager")},VExpansionPanelTitle:{readonly:toRef(e,"readonly")}}),useRender(()=>{const v=!!(r.text||e.text),y=!!(r.title||e.title);return createVNode(e.tag,{class:["v-expansion-panel",{"v-expansion-panel--active":o.isSelected.value,"v-expansion-panel--before-active":m.value,"v-expansion-panel--after-active":g.value,"v-expansion-panel--disabled":d.value},u.value,i.value,e.class],style:[c.value,e.style]},{default:()=>{var w;return[createVNode("div",{class:["v-expansion-panel__shadow",...a.value]},null),y&&createVNode(VExpansionPanelTitle,{key:"title",collapseIcon:e.collapseIcon,color:e.color,expandIcon:e.expandIcon,hideActions:e.hideActions,ripple:e.ripple},{default:()=>[r.title?r.title():e.title]}),v&&createVNode(VExpansionPanelText,{key:"text"},{default:()=>[r.text?r.text():e.text]}),(w=r.default)==null?void 0:w.call(r)]}})}),{}}}),_hoisted_1$7=createBaseVNode("i",{class:"far fa-list-alt fa-fw me-2"},null,-1),_hoisted_2$5={key:0};function _sfc_render$a(e,t,r,o,i,c){const a=resolveComponent("IngredientsTable");return openBlock(),createBlock(VExpansionPanels,null,{default:withCtx(()=>[createVNode(VExpansionPanel,null,{default:withCtx(()=>[createVNode(VExpansionPanelTitle,null,{default:withCtx(()=>[_hoisted_1$7,createTextVNode(" Steps Overview")]),_:1}),createVNode(VExpansionPanelText,null,{default:withCtx(()=>[createVNode(VContainer,null,{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.steps,(u,d)=>(openBlock(),createBlock(VRow,null,{default:withCtx(()=>[createVNode(VCol,{class:"pa-1"},{default:withCtx(()=>[u.showAsHeader?(openBlock(),createElementBlock("b",_hoisted_2$5,toDisplayString(d+1)+". "+toDisplayString(u.name),1)):createCommentVNode("",!0),createVNode(a,{ingredients:u.ingredients},null,8,["ingredients"])]),_:2},1024)]),_:2},1024))),256))]),_:1})]),_:1})]),_:1})]),_:1})}const StepsOverview=_export_sfc(_sfc_main$b,[["render",_sfc_render$a]]);function roundDecimals(e){return Number(e.toFixed(2))}function calculateFoodAmount(e,t){return roundDecimals(e*t)}const _sfc_main$a={name:"ScalableNumber",props:{number:Number,factor:{type:Number,default:4}},methods:{calculateAmount:function(e){return calculateFoodAmount(e,this.factor)}}},_hoisted_1$6=["innerHTML"];function _sfc_render$9(e,t,r,o,i,c){return openBlock(),createElementBlock("span",{class:normalizeClass(["step__scalable-num",[this.factor===1?"step__scalable-num_scaled_false":this.factor>1?"step__scalable-num_scaled_up":"step__scalable-num_scaled_down"]]),innerHTML:c.calculateAmount(r.number)},null,10,_hoisted_1$6)}const ScalableNumber=_export_sfc(_sfc_main$a,[["render",_sfc_render$9]]),_sfc_main$9=defineComponent$1({name:"Instructions",computed:{},components:{ScalableNumber},props:{instructions_html:{type:String,required:!0},ingredient_factor:{type:Number,required:!0}},data(){return{compiled_instructions:markRaw(defineComponent$1({name:"compiled-instructions-component",props:{instructions_html:{type:String,required:!0},ingredient_factor:{type:Number,required:!0}},components:{ScalableNumber},template:`<div>${this.instructions_html}</div>`}))}},mounted(){}});function _sfc_render$8(e,t,r,o,i,c){return openBlock(),createBlock(resolveDynamicComponent(e.compiled_instructions),{ingredient_factor:e.ingredient_factor,instructions_html:e.instructions_html},null,8,["ingredient_factor","instructions_html"])}const Instructions=_export_sfc(_sfc_main$9,[["render",_sfc_render$8]]),_sfc_main$8=defineComponent$1({name:"Step",computed:{timer_color:function(){return this.timer_end!=null&&this.time_now>this.timer_end?"warning":""},timerProgress:function(){return this.timer_end!=null&&this.timer_start!=null&&this.step.time!=null?Interval.fromDateTimes(this.timer_start,this.time_now).length("seconds")/(this.step.time*60)*100:0},remaining_time:function(){return this.timer_end!=null?Duration.fromMillis(Interval.fromDateTimes(this.time_now,this.timer_end).length()).toFormat("hh:mm:ss"):""},finished_at:function(){return this.timer_end!=null?this.timer_end.toLocaleString(DateTime.TIME_SIMPLE):""}},components:{Instructions,IngredientsTable},props:{step:{type:{},required:!0},ingredient_factor:{type:Number,required:!0}},data(){return{timer_end:null,timer_start:null,time_now:DateTime.now()}},mounted(){setInterval(()=>{this.time_now=DateTime.now()},500)},methods:{startTimer(e){this.timer_start=DateTime.now(),this.timer_end=DateTime.now().plus({minutes:e})},subTimer(){this.timer_end!=null&&(this.timer_end=this.timer_end.minus({minutes:1}))},addTimer(){var e;(e=this.timer_end)==null||e.plus({minutes:1})}}}),VAlertTitle=createSimpleFunctional("v-alert-title"),allowedTypes=["success","info","warning","error"],makeVAlertProps=propsFactory({border:{type:[Boolean,String],validator:e=>typeof e=="boolean"||["top","end","bottom","start"].includes(e)},borderColor:String,closable:Boolean,closeIcon:{type:IconValue,default:"$close"},closeLabel:{type:String,default:"$vuetify.close"},icon:{type:[Boolean,String,Function,Object],default:null},modelValue:{type:Boolean,default:!0},prominent:Boolean,title:String,text:String,type:{type:String,validator:e=>allowedTypes.includes(e)},...makeComponentProps(),...makeDensityProps(),...makeDimensionProps(),...makeElevationProps(),...makeLocationProps(),...makePositionProps(),...makeRoundedProps(),...makeTagProps(),...makeThemeProps(),...makeVariantProps({variant:"flat"})},"VAlert"),VAlert=genericComponent()({name:"VAlert",props:makeVAlertProps(),emits:{"click:close":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{emit:r,slots:o}=t;const i=useProxiedModel(e,"modelValue"),c=computed(()=>{if(e.icon!==!1)return e.type?e.icon??`$${e.type}`:e.icon}),a=computed(()=>({color:e.color??e.type,variant:e.variant})),{themeClasses:u}=provideTheme(e),{colorClasses:d,colorStyles:f,variantClasses:m}=useVariant(a),{densityClasses:g}=useDensity(e),{dimensionStyles:v}=useDimension(e),{elevationClasses:y}=useElevation(e),{locationStyles:w}=useLocation(e),{positionClasses:b}=usePosition(e),{roundedClasses:S}=useRounded(e),{textColorClasses:_,textColorStyles:k}=useTextColor(toRef(e,"borderColor")),{t:C}=useLocale(),T=computed(()=>({"aria-label":C(e.closeLabel),onClick(x){i.value=!1,r("click:close",x)}}));return()=>{const x=!!(o.prepend||c.value),R=!!(o.title||e.title),O=!!(o.close||e.closable);return i.value&&createVNode(e.tag,{class:["v-alert",e.border&&{"v-alert--border":!!e.border,[`v-alert--border-${e.border===!0?"start":e.border}`]:!0},{"v-alert--prominent":e.prominent},u.value,d.value,g.value,y.value,b.value,S.value,m.value,e.class],style:[f.value,v.value,w.value,e.style],role:"alert"},{default:()=>{var A,N;return[genOverlays(!1,"v-alert"),e.border&&createVNode("div",{key:"border",class:["v-alert__border",_.value],style:k.value},null),x&&createVNode("div",{key:"prepend",class:"v-alert__prepend"},[o.prepend?createVNode(VDefaultsProvider,{key:"prepend-defaults",disabled:!c.value,defaults:{VIcon:{density:e.density,icon:c.value,size:e.prominent?44:28}}},o.prepend):createVNode(VIcon,{key:"prepend-icon",density:e.density,icon:c.value,size:e.prominent?44:28},null)]),createVNode("div",{class:"v-alert__content"},[R&&createVNode(VAlertTitle,{key:"title"},{default:()=>{var E;return[((E=o.title)==null?void 0:E.call(o))??e.title]}}),((A=o.text)==null?void 0:A.call(o))??e.text,(N=o.default)==null?void 0:N.call(o)]),o.append&&createVNode("div",{key:"append",class:"v-alert__append"},[o.append()]),O&&createVNode("div",{key:"close",class:"v-alert__close"},[o.close?createVNode(VDefaultsProvider,{key:"close-defaults",defaults:{VBtn:{icon:e.closeIcon,size:"x-small",variant:"text"}}},{default:()=>{var E;return[(E=o.close)==null?void 0:E.call(o,{props:T.value})]}}):createVNode(VBtn,mergeProps({key:"close-btn",icon:e.closeIcon,size:"x-small",variant:"text"},T.value),null)])]}})}}}),_hoisted_1$5=createBaseVNode("i",{class:"fas fa-stopwatch mr-1"},null,-1),_hoisted_2$4=createBaseVNode("i",{class:"fas fa-check"},null,-1),_hoisted_3$3=createBaseVNode("i",{class:"fas fa-stopwatch mr-1"},null,-1),_hoisted_4$3=createBaseVNode("i",{class:"fas fa-minus"},null,-1),_hoisted_5$2=createBaseVNode("i",{class:"fas fa-plus"},null,-1),_hoisted_6$2=createBaseVNode("i",{class:"fas fa-pause"},null,-1),_hoisted_7$2=createBaseVNode("i",{class:"fas fa-stop"},null,-1);function _sfc_render$7(e,t,r,o,i,c){const a=resolveComponent("IngredientsTable"),u=resolveComponent("instructions");return openBlock(),createBlock(VCard,null,{default:withCtx(()=>[createVNode(VCardTitle,null,{default:withCtx(()=>[createVNode(VRow,null,{default:withCtx(()=>[createVNode(VCol,null,{default:withCtx(()=>[createTextVNode(toDisplayString(e.step.name),1)]),_:1}),createVNode(VCol,{class:"text-right"},{default:withCtx(()=>[createVNode(VBtnGroup,{density:"compact",variant:"tonal"},{default:withCtx(()=>[e.step.time!=null&&e.step.time>0?(openBlock(),createBlock(VBtn,{key:0,size:"small",color:"info",onClick:t[0]||(t[0]=d=>e.startTimer(e.step.time))},{default:withCtx(()=>[_hoisted_1$5,createTextVNode(" "+toDisplayString(e.step.time),1)]),_:1})):createCommentVNode("",!0),createVNode(VBtn,{size:"small",color:"success"},{default:withCtx(()=>[_hoisted_2$4]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),e.timer_end!=null?(openBlock(),createBlock(VProgressLinear,{key:0,"model-value":e.timerProgress,color:"success",height:"5"},null,8,["model-value"])):createCommentVNode("",!0),createVNode(VAlert,{color:e.timer_color,closable:"","onClick:close":t[1]||(t[1]=d=>e.timer_end=null)},{close:withCtx(()=>[createVNode(VBtnGroup,{divided:""},{default:withCtx(()=>[createVNode(VBtn,{width:"40",onClick:e.subTimer},{default:withCtx(()=>[_hoisted_4$3,createTextVNode("1")]),_:1},8,["onClick"]),createVNode(VBtn,{width:"40",onClick:e.addTimer},{default:withCtx(()=>[_hoisted_5$2,createTextVNode("1")]),_:1},8,["onClick"]),createVNode(VBtn,{width:"40"},{default:withCtx(()=>[_hoisted_6$2]),_:1}),createVNode(VBtn,{width:"40"},{default:withCtx(()=>[_hoisted_7$2]),_:1})]),_:1})]),default:withCtx(()=>[createVNode(VAlertTitle,null,{default:withCtx(()=>[_hoisted_3$3,createTextVNode(" "+toDisplayString(e.remaining_time),1)]),_:1}),createTextVNode(" Finished at "+toDisplayString(e.finished_at)+" ",1)]),_:1},8,["color"]),createVNode(a,{ingredients:e.step.ingredients},null,8,["ingredients"]),e.step.instructionsMarkdown.length>0?(openBlock(),createBlock(VCardText,{key:1},{default:withCtx(()=>[createVNode(u,{instructions_html:e.step.instructionsMarkdown,ingredient_factor:e.ingredient_factor},null,8,["instructions_html","ingredient_factor"])]),_:1})):createCommentVNode("",!0)]),_:1})}const Step=_export_sfc(_sfc_main$8,[["render",_sfc_render$7]]),_sfc_main$7=defineComponent$1({name:"RecipeActivity",props:{recipe:{type:Object,required:!0}},data(){return{cook_logs:[]}},mounted(){new ApiApi().listCookLogs({recipe:this.recipe.id}).then(t=>{this.cook_logs=t.results})}}),makeVTimelineProps=propsFactory({align:{type:String,default:"center",validator:e=>["center","start"].includes(e)},direction:{type:String,default:"vertical",validator:e=>["vertical","horizontal"].includes(e)},justify:{type:String,default:"auto",validator:e=>["auto","center"].includes(e)},side:{type:String,validator:e=>e==null||["start","end"].includes(e)},lineInset:{type:[String,Number],default:0},lineThickness:{type:[String,Number],default:2},lineColor:String,truncateLine:{type:String,validator:e=>["start","end","both"].includes(e)},...makeComponentProps(),...makeDensityProps(),...makeTagProps(),...makeThemeProps()},"VTimeline"),VTimeline=genericComponent()({name:"VTimeline",props:makeVTimelineProps(),setup(e,t){let{slots:r}=t;const{themeClasses:o}=provideTheme(e),{densityClasses:i}=useDensity(e),{rtlClasses:c}=useRtl();provideDefaults({VTimelineDivider:{lineColor:toRef(e,"lineColor")},VTimelineItem:{density:toRef(e,"density"),lineInset:toRef(e,"lineInset")}});const a=computed(()=>{const d=e.side?e.side:e.density!=="default"?"end":null;return d&&`v-timeline--side-${d}`}),u=computed(()=>{const d=["v-timeline--truncate-line-start","v-timeline--truncate-line-end"];switch(e.truncateLine){case"both":return d;case"start":return d[0];case"end":return d[1];default:return null}});return useRender(()=>createVNode(e.tag,{class:["v-timeline",`v-timeline--${e.direction}`,`v-timeline--align-${e.align}`,`v-timeline--justify-${e.justify}`,u.value,{"v-timeline--inset-line":!!e.lineInset},o.value,i.value,a.value,c.value,e.class],style:[{"--v-timeline-line-thickness":convertToUnit(e.lineThickness)},e.style]},r)),{}}}),makeVTimelineDividerProps=propsFactory({dotColor:String,fillDot:Boolean,hideDot:Boolean,icon:IconValue,iconColor:String,lineColor:String,...makeComponentProps(),...makeRoundedProps(),...makeSizeProps(),...makeElevationProps()},"VTimelineDivider"),VTimelineDivider=genericComponent()({name:"VTimelineDivider",props:makeVTimelineDividerProps(),setup(e,t){let{slots:r}=t;const{sizeClasses:o,sizeStyles:i}=useSize(e,"v-timeline-divider__dot"),{backgroundColorStyles:c,backgroundColorClasses:a}=useBackgroundColor(toRef(e,"dotColor")),{roundedClasses:u}=useRounded(e,"v-timeline-divider__dot"),{elevationClasses:d}=useElevation(e),{backgroundColorClasses:f,backgroundColorStyles:m}=useBackgroundColor(toRef(e,"lineColor"));return useRender(()=>createVNode("div",{class:["v-timeline-divider",{"v-timeline-divider--fill-dot":e.fillDot},e.class],style:e.style},[createVNode("div",{class:["v-timeline-divider__before",f.value],style:m.value},null),!e.hideDot&&createVNode("div",{key:"dot",class:["v-timeline-divider__dot",d.value,u.value,o.value],style:i.value},[createVNode("div",{class:["v-timeline-divider__inner-dot",a.value,u.value],style:c.value},[r.default?createVNode(VDefaultsProvider,{key:"icon-defaults",disabled:!e.icon,defaults:{VIcon:{color:e.iconColor,icon:e.icon,size:e.size}}},r.default):createVNode(VIcon,{key:"icon",color:e.iconColor,icon:e.icon,size:e.size},null)])]),createVNode("div",{class:["v-timeline-divider__after",f.value],style:m.value},null)])),{}}}),makeVTimelineItemProps=propsFactory({density:String,dotColor:String,fillDot:Boolean,hideDot:Boolean,hideOpposite:{type:Boolean,default:void 0},icon:IconValue,iconColor:String,lineInset:[Number,String],...makeComponentProps(),...makeDimensionProps(),...makeElevationProps(),...makeRoundedProps(),...makeSizeProps(),...makeTagProps()},"VTimelineItem"),VTimelineItem=genericComponent()({name:"VTimelineItem",props:makeVTimelineItemProps(),setup(e,t){let{slots:r}=t;const{dimensionStyles:o}=useDimension(e),i=shallowRef(0),c=ref();return watch(c,a=>{var u;a&&(i.value=((u=a.$el.querySelector(".v-timeline-divider__dot"))==null?void 0:u.getBoundingClientRect().width)??0)},{flush:"post"}),useRender(()=>{var a,u;return createVNode("div",{class:["v-timeline-item",{"v-timeline-item--fill-dot":e.fillDot},e.class],style:[{"--v-timeline-dot-size":convertToUnit(i.value),"--v-timeline-line-inset":e.lineInset?`calc(var(--v-timeline-dot-size) / 2 + ${convertToUnit(e.lineInset)})`:convertToUnit(0)},e.style]},[createVNode("div",{class:"v-timeline-item__body",style:o.value},[(a=r.default)==null?void 0:a.call(r)]),createVNode(VTimelineDivider,{ref:c,hideDot:e.hideDot,icon:e.icon,iconColor:e.iconColor,size:e.size,elevation:e.elevation,dotColor:e.dotColor,fillDot:e.fillDot,rounded:e.rounded},{default:r.icon}),e.density!=="compact"&&createVNode("div",{class:"v-timeline-item__opposite"},[!e.hideOpposite&&((u=r.opposite)==null?void 0:u.call(r))])])}),{}}}),_hoisted_1$4=createBaseVNode("h2",null,"Activity",-1),_hoisted_2$3={key:0};function _sfc_render$6(e,t,r,o,i,c){return openBlock(),createBlock(VContainer,null,{default:withCtx(()=>[createVNode(VRow,null,{default:withCtx(()=>[createVNode(VCol,null,{default:withCtx(()=>[_hoisted_1$4,createVNode(VTimeline,{side:"end",align:"start"},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.cook_logs,a=>(openBlock(),createBlock(VTimelineItem,{"dot-color":"grey",size:"xsmall",key:a.id},{default:withCtx(()=>[createVNode(VCard,null,{default:withCtx(()=>[createVNode(VCardText,{class:"bg-primary"},{default:withCtx(()=>[createBaseVNode("small",null,toDisplayString(a.createdAt)+" by "+toDisplayString(a.createdBy.displayName),1)]),_:2},1024),createVNode(VRating,{density:"compact",size:"small",color:"tandoor",modelValue:a.rating,"onUpdate:modelValue":u=>a.rating=u},null,8,["modelValue","onUpdate:modelValue"]),a.servings!=null&&a.servings>0?(openBlock(),createElementBlock("span",_hoisted_2$3,toDisplayString(a.servings)+" "+toDisplayString(e.recipe.servingsText),1)):createCommentVNode("",!0),createBaseVNode("p",null,toDisplayString(a.comment),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1})]),_:1})]),_:1})}const RecipeActivity=_export_sfc(_sfc_main$7,[["render",_sfc_render$6]]),_sfc_main$6=defineComponent$1({name:"RecipeView",components:{KeywordsComponent:KeywordsBar,RecipeContextMenu,RecipeActivity,Step,StepsOverview,IngredientsTable,NumberScalerDialog,KeywordsBar},computed:{ingredient_factor:function(){return this.servings/this.recipe.servings}},data(){return{servings:1}},watch:{"recipe.servings":function(){this.recipe.servings&&(this.servings=this.recipe.servings)}},props:{recipe:{type:Object,required:!0}},mounted(){},methods:{}}),makeVSheetProps=propsFactory({color:String,...makeBorderProps(),...makeComponentProps(),...makeDimensionProps(),...makeElevationProps(),...makeLocationProps(),...makePositionProps(),...makeRoundedProps(),...makeTagProps(),...makeThemeProps()},"VSheet"),VSheet=genericComponent()({name:"VSheet",props:makeVSheetProps(),setup(e,t){let{slots:r}=t;const{themeClasses:o}=provideTheme(e),{backgroundColorClasses:i,backgroundColorStyles:c}=useBackgroundColor(toRef(e,"color")),{borderClasses:a}=useBorder(e),{dimensionStyles:u}=useDimension(e),{elevationClasses:d}=useElevation(e),{locationStyles:f}=useLocation(e),{positionClasses:m}=usePosition(e),{roundedClasses:g}=useRounded(e);return useRender(()=>createVNode(e.tag,{class:["v-sheet",o.value,i.value,a.value,d.value,m.value,g.value,e.class],style:[c.value,u.value,f.value,e.style]},r)),{}}}),_hoisted_1$3={class:"ps-2 text-h5 text-truncate flex-grow-1"},_hoisted_2$2=createBaseVNode("i",{class:"fas fa-cogs"},null,-1),_hoisted_3$2=createBaseVNode("br",null,null,-1),_hoisted_4$2=createBaseVNode("div",{class:"text-grey"},"Working Time",-1),_hoisted_5$1=createBaseVNode("i",{class:"fas fa-hourglass-half"},null,-1),_hoisted_6$1=createBaseVNode("div",{class:"text-grey"},"Waiting Time",-1),_hoisted_7$1={class:"cursor-pointer"},_hoisted_8$1=createBaseVNode("i",{class:"fas fa-calendar-alt"},null,-1),_hoisted_9$1=createBaseVNode("br",null,null,-1),_hoisted_10={class:"text-grey"},_hoisted_11={key:0},_hoisted_12={key:1};function _sfc_render$5(e,t,r,o,i,c){const a=resolveComponent("KeywordsComponent"),u=resolveComponent("recipe-context-menu"),d=resolveComponent("NumberScalerDialog"),f=resolveComponent("StepsOverview"),m=resolveComponent("Step");return e.recipe.name!=null?(openBlock(),createElementBlock(Fragment,{key:0},[createVNode(VCard,{class:"mt-md-4"},{default:withCtx(()=>[e.recipe.image!=null?(openBlock(),createBlock(VImg,{key:0,"max-height":"25vh",cover:"",lazy:"",src:e.recipe.image,class:"align-end"},{default:withCtx(()=>[createVNode(a,{variant:"flat",class:"ms-1 mb-2",keywords:e.recipe.keywords},null,8,["keywords"])]),_:1},8,["src"])):createCommentVNode("",!0),createVNode(VCard,null,{default:withCtx(()=>[createVNode(VSheet,{class:"d-flex align-center"},{default:withCtx(()=>[createBaseVNode("span",_hoisted_1$3,toDisplayString(e.recipe.name),1),createVNode(u,{recipe:e.recipe},null,8,["recipe"])]),_:1})]),_:1})]),_:1}),createVNode(VCard,{class:"mt-1"},{default:withCtx(()=>[createVNode(VContainer,null,{default:withCtx(()=>[createVNode(VRow,{class:"text-center text-body-2"},{default:withCtx(()=>[createVNode(VCol,{class:"pt-1 pb-1"},{default:withCtx(()=>[_hoisted_2$2,createTextVNode(" "+toDisplayString(e.recipe.workingTime)+" min",1),_hoisted_3$2,_hoisted_4$2]),_:1}),createVNode(VCol,{class:"pt-1 pb-1"},{default:withCtx(()=>[createBaseVNode("div",null,[_hoisted_5$1,createTextVNode(" "+toDisplayString(e.recipe.waitingTime)+" min",1)]),_hoisted_6$1]),_:1}),createVNode(VCol,{class:"pt-1 pb-1"},{default:withCtx(()=>[createVNode(d,{number:e.servings,onChange:t[0]||(t[0]=g=>e.servings=g.number),title:"Servings"},{activator:withCtx(()=>{var g;return[createBaseVNode("div",_hoisted_7$1,[_hoisted_8$1,createTextVNode(" "+toDisplayString(e.servings)+" ",1),_hoisted_9$1,createBaseVNode("div",_hoisted_10,[(g=e.recipe)!=null&&g.servingsText?(openBlock(),createElementBlock("span",_hoisted_11,toDisplayString(e.recipe.servingsText),1)):(openBlock(),createElementBlock("span",_hoisted_12,"Servings"))])])]}),_:1},8,["number"])]),_:1})]),_:1})]),_:1})]),_:1}),e.recipe.steps.length>1?(openBlock(),createBlock(VCard,{key:0,class:"mt-1"},{default:withCtx(()=>[createVNode(f,{steps:e.recipe.steps},null,8,["steps"])]),_:1})):createCommentVNode("",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(e.recipe.steps,g=>(openBlock(),createBlock(VCard,{class:"mt-1",key:g.id},{default:withCtx(()=>[createVNode(m,{step:g,ingredient_factor:e.ingredient_factor},null,8,["step","ingredient_factor"])]),_:2},1024))),128))],64)):createCommentVNode("",!0)}const RecipeView=_export_sfc(_sfc_main$6,[["render",_sfc_render$5]]),_sfc_main$5=defineComponent$1({name:"RecipeSearchPage",components:{RecipeView},watch:{id:function(e){this.refreshData(e)}},props:{id:{type:String,required:!0}},data(){return{recipe:{}}},mounted(){this.refreshData(this.id)},methods:{refreshData(e){new ApiApi().apiRecipeRetrieve({id:Number(e)}).then(r=>{this.recipe=r})}}});function _sfc_render$4(e,t,r,o,i,c){const a=resolveComponent("RecipeView");return openBlock(),createBlock(VContainer,{class:"ps-0 pe-0 pt-0"},{default:withCtx(()=>[createVNode(a,{recipe:e.recipe},null,8,["recipe"])]),_:1})}const RecipeViewPage=_export_sfc(_sfc_main$5,[["render",_sfc_render$4]]),luxonPlugin={install:e=>{e.config.globalProperties.$luxon=DateTime}},_sfc_main$4=defineComponent$1({name:"StepMarkdownEditor",emits:{change(e){return e}},watch:{mutable_step:function(){this.$emit("change",{step:this.mutable_step})}},props:{step:{type:Object,required:!0}},data(){return{mutable_step:{},md_editor_toolbars:{bold:!0,italic:!0,header:!0,underline:!0,strikethrough:!0,mark:!1,superscript:!1,subscript:!1,quote:!0,ol:!0,ul:!0,link:!0,imagelink:!1,code:!1,table:!1,fullscreen:!1,readmodel:!1,htmlcode:!1,help:!1,undo:!0,redo:!0,navigation:!1,alignleft:!1,aligncenter:!1,alignright:!1,subfield:!0,preview:!0}}},mounted(){this.mutable_step=this.step}}),_hoisted_1$2=createBaseVNode("span",{class:"op-icon-divider"},null,-1);function _sfc_render$3(e,t,r,o,i,c){const a=resolveComponent("mavon-editor");return openBlock(),createBlock(a,{modelValue:e.mutable_step.instruction,"onUpdate:modelValue":t[1]||(t[1]=u=>e.mutable_step.instruction=u),autofocus:!1,style:{"z-index":"auto"},id:"id_instruction_"+e.mutable_step.id,language:"en",toolbars:e.md_editor_toolbars,defaultOpen:"edit"},{"left-toolbar-after":withCtx(()=>[_hoisted_1$2,createBaseVNode("button",{type:"button",onClick:t[0]||(t[0]=u=>e.mutable_step.instruction+=" {{ scale(100) }}"),class:"op-icon fas fa-calculator","aria-hidden":"true",title:"Scalable Number"})]),_:1},8,["modelValue","id","toolbars"])}const StepMarkdownEditor=_export_sfc(_sfc_main$4,[["render",_sfc_render$3]]);function toValue(e){return typeof e=="function"?e():unref(e)}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const noop=()=>{};function createFilterWrapper(e,t){function r(...o){return new Promise((i,c)=>{Promise.resolve(e(()=>t.apply(this,o),{fn:t,thisArg:this,args:o})).then(i).catch(c)})}return r}function debounceFilter(e,t={}){let r,o,i=noop;const c=u=>{clearTimeout(u),i(),i=noop};return u=>{const d=toValue(e),f=toValue(t.maxWait);return r&&c(r),d<=0||f!==void 0&&f<=0?(o&&(c(o),o=null),Promise.resolve(u())):new Promise((m,g)=>{i=t.rejectOnCancel?g:m,f&&!o&&(o=setTimeout(()=>{r&&c(r),o=null,m(u())},f)),r=setTimeout(()=>{o&&c(o),o=null,m(u())},d)})}}function useDebounceFn(e,t=200,r={}){return createFilterWrapper(debounceFilter(t,r),e)}function getModelFromStr(e){switch(e.toLowerCase()){case"food":return new Food;case"unit":return new Unit;case"keyword":return new Keyword;case"recipe":return new Recipe;default:throw Error(`Invalid Model ${e}, did you forget to register it in Models.ts?`)}}class GenericModel{}class Keyword extends GenericModel{create(t){return new ApiApi().apiKeywordCreate({keyword:{name:t}})}list(t){return new ApiApi().apiKeywordList({query:t}).then(o=>o.results?o.results:[])}}class Food extends GenericModel{create(t){return new ApiApi().apiFoodCreate({food:{name:t}})}list(t){return new ApiApi().apiFoodList({query:t}).then(o=>o.results?o.results:[])}}class Unit extends GenericModel{create(t){return new ApiApi().apiUnitCreate({unit:{name:t}})}list(t){return new ApiApi().apiUnitList({query:t}).then(o=>o.results?o.results:[])}}class Recipe extends GenericModel{create(t){return new ApiApi().apiRecipeCreate({recipe:{name:t}}).then(o=>o)}list(t){return new ApiApi().apiRecipeList({query:t}).then(o=>o.results?o.results:[])}}function isEmpty(e){return e===0?!1:Array.isArray(e)&&e.length===0?!0:!e}function not(e){return(...t)=>!e(...t)}function includes(e,t){return e===void 0&&(e="undefined"),e===null&&(e="null"),e===!1&&(e="false"),e.toString().toLowerCase().indexOf(t.trim())!==-1}function filterOptions(e,t,r,o){return t?e.filter(i=>includes(o(i,r),t)).sort((i,c)=>o(i,r).length-o(c,r).length):e}function stripGroups(e){return e.filter(t=>!t.$isLabel)}function flattenOptions(e,t){return r=>r.reduce((o,i)=>i[e]&&i[e].length?(o.push({$groupLabel:i[t],$isLabel:!0}),o.concat(i[e])):o,[])}function filterGroups(e,t,r,o,i){return c=>c.map(a=>{if(!a[r])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];const u=filterOptions(a[r],e,t,i);return u.length?{[o]:a[o],[r]:u}:[]})}const flow=(...e)=>t=>e.reduce((r,o)=>o(r),t);var multiselectMixin={data(){return{search:"",isOpen:!1,preferredOpenDirection:"below",optimizedHeight:this.maxHeight}},props:{internalSearch:{type:Boolean,default:!0},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},trackBy:{type:String},label:{type:String},searchable:{type:Boolean,default:!0},clearOnSelect:{type:Boolean,default:!0},hideSelected:{type:Boolean,default:!1},placeholder:{type:String,default:"Select option"},allowEmpty:{type:Boolean,default:!0},resetAfter:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},customLabel:{type:Function,default(e,t){return isEmpty(e)?"":t?e[t]:e}},taggable:{type:Boolean,default:!1},tagPlaceholder:{type:String,default:"Press enter to create a tag"},tagPosition:{type:String,default:"top"},max:{type:[Number,Boolean],default:!1},id:{default:null},optionsLimit:{type:Number,default:1e3},groupValues:{type:String},groupLabel:{type:String},groupSelect:{type:Boolean,default:!1},blockKeys:{type:Array,default(){return[]}},preserveSearch:{type:Boolean,default:!1},preselectFirst:{type:Boolean,default:!1},preventAutofocus:{type:Boolean,default:!1}},mounted(){!this.multiple&&this.max&&console.warn("[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false."),this.preselectFirst&&!this.internalValue.length&&this.options.length&&this.select(this.filteredOptions[0])},computed:{internalValue(){return this.modelValue||this.modelValue===0?Array.isArray(this.modelValue)?this.modelValue:[this.modelValue]:[]},filteredOptions(){const e=this.search||"",t=e.toLowerCase().trim();let r=this.options.concat();return this.internalSearch?r=this.groupValues?this.filterAndFlat(r,t,this.label):filterOptions(r,t,this.label,this.customLabel):r=this.groupValues?flattenOptions(this.groupValues,this.groupLabel)(r):r,r=this.hideSelected?r.filter(not(this.isSelected)):r,this.taggable&&t.length&&!this.isExistingOption(t)&&(this.tagPosition==="bottom"?r.push({isTag:!0,label:e}):r.unshift({isTag:!0,label:e})),r.slice(0,this.optionsLimit)},valueKeys(){return this.trackBy?this.internalValue.map(e=>e[this.trackBy]):this.internalValue},optionKeys(){return(this.groupValues?this.flatAndStrip(this.options):this.options).map(t=>this.customLabel(t,this.label).toString().toLowerCase())},currentOptionLabel(){return this.multiple?this.searchable?"":this.placeholder:this.internalValue.length?this.getOptionLabel(this.internalValue[0]):this.searchable?"":this.placeholder}},watch:{internalValue:{handler(){this.resetAfter&&this.internalValue.length&&(this.search="",this.$emit("update:modelValue",this.multiple?[]:null))},deep:!0},search(){this.$emit("search-change",this.search)}},emits:["open","search-change","close","select","update:modelValue","remove","tag"],methods:{getValue(){return this.multiple?this.internalValue:this.internalValue.length===0?null:this.internalValue[0]},filterAndFlat(e,t,r){return flow(filterGroups(t,r,this.groupValues,this.groupLabel,this.customLabel),flattenOptions(this.groupValues,this.groupLabel))(e)},flatAndStrip(e){return flow(flattenOptions(this.groupValues,this.groupLabel),stripGroups)(e)},updateSearch(e){this.search=e},isExistingOption(e){return this.options?this.optionKeys.indexOf(e)>-1:!1},isSelected(e){const t=this.trackBy?e[this.trackBy]:e;return this.valueKeys.indexOf(t)>-1},isOptionDisabled(e){return!!e.$isDisabled},getOptionLabel(e){if(isEmpty(e))return"";if(e.isTag)return e.label;if(e.$isLabel)return e.$groupLabel;const t=this.customLabel(e,this.label);return isEmpty(t)?"":t},select(e,t){if(e.$isLabel&&this.groupSelect){this.selectGroup(e);return}if(!(this.blockKeys.indexOf(t)!==-1||this.disabled||e.$isDisabled||e.$isLabel)&&!(this.max&&this.multiple&&this.internalValue.length===this.max)&&!(t==="Tab"&&!this.pointerDirty)){if(e.isTag)this.$emit("tag",e.label,this.id),this.search="",this.closeOnSelect&&!this.multiple&&this.deactivate();else{if(this.isSelected(e)){t!=="Tab"&&this.removeElement(e);return}this.multiple?this.$emit("update:modelValue",this.internalValue.concat([e])):this.$emit("update:modelValue",e),this.$emit("select",e,this.id),this.clearOnSelect&&(this.search="")}this.closeOnSelect&&this.deactivate()}},selectGroup(e){const t=this.options.find(r=>r[this.groupLabel]===e.$groupLabel);if(t){if(this.wholeGroupSelected(t)){this.$emit("remove",t[this.groupValues],this.id);const r=this.internalValue.filter(o=>t[this.groupValues].indexOf(o)===-1);this.$emit("update:modelValue",r)}else{let r=t[this.groupValues].filter(o=>!(this.isOptionDisabled(o)||this.isSelected(o)));this.max&&r.splice(this.max-this.internalValue.length),this.$emit("select",r,this.id),this.$emit("update:modelValue",this.internalValue.concat(r))}this.closeOnSelect&&this.deactivate()}},wholeGroupSelected(e){return e[this.groupValues].every(t=>this.isSelected(t)||this.isOptionDisabled(t))},wholeGroupDisabled(e){return e[this.groupValues].every(this.isOptionDisabled)},removeElement(e,t=!0){if(this.disabled||e.$isDisabled)return;if(!this.allowEmpty&&this.internalValue.length<=1){this.deactivate();return}const r=typeof e=="object"?this.valueKeys.indexOf(e[this.trackBy]):this.valueKeys.indexOf(e);if(this.multiple){const o=this.internalValue.slice(0,r).concat(this.internalValue.slice(r+1));this.$emit("update:modelValue",o)}else this.$emit("update:modelValue",null);this.$emit("remove",e,this.id),this.closeOnSelect&&t&&this.deactivate()},removeLastElement(){this.blockKeys.indexOf("Delete")===-1&&this.search.length===0&&Array.isArray(this.internalValue)&&this.internalValue.length&&this.removeElement(this.internalValue[this.internalValue.length-1],!1)},activate(){this.isOpen||this.disabled||(this.adjustPosition(),this.groupValues&&this.pointer===0&&this.filteredOptions.length&&(this.pointer=1),this.isOpen=!0,this.searchable?(this.preserveSearch||(this.search=""),this.preventAutofocus||this.$nextTick(()=>this.$refs.search&&this.$refs.search.focus())):this.preventAutofocus||typeof this.$el<"u"&&this.$el.focus(),this.$emit("open",this.id))},deactivate(){this.isOpen&&(this.isOpen=!1,this.searchable?this.$refs.search!==null&&typeof this.$refs.search<"u"&&this.$refs.search.blur():typeof this.$el<"u"&&this.$el.blur(),this.preserveSearch||(this.search=""),this.$emit("close",this.getValue(),this.id))},toggle(){this.isOpen?this.deactivate():this.activate()},adjustPosition(){if(typeof window>"u")return;const e=this.$el.getBoundingClientRect().top,t=window.innerHeight-this.$el.getBoundingClientRect().bottom;t>this.maxHeight||t>e||this.openDirection==="below"||this.openDirection==="bottom"?(this.preferredOpenDirection="below",this.optimizedHeight=Math.min(t-40,this.maxHeight)):(this.preferredOpenDirection="above",this.optimizedHeight=Math.min(e-40,this.maxHeight))}}},pointerMixin={data(){return{pointer:0,pointerDirty:!1}},props:{showPointer:{type:Boolean,default:!0},optionHeight:{type:Number,default:40}},computed:{pointerPosition(){return this.pointer*this.optionHeight},visibleElements(){return this.optimizedHeight/this.optionHeight}},watch:{filteredOptions(){this.pointerAdjust()},isOpen(){this.pointerDirty=!1},pointer(){this.$refs.search&&this.$refs.search.setAttribute("aria-activedescendant",this.id+"-"+this.pointer.toString())}},methods:{optionHighlight(e,t){return{"multiselect__option--highlight":e===this.pointer&&this.showPointer,"multiselect__option--selected":this.isSelected(t)}},groupHighlight(e,t){if(!this.groupSelect)return["multiselect__option--disabled",{"multiselect__option--group":t.$isLabel}];const r=this.options.find(o=>o[this.groupLabel]===t.$groupLabel);return r&&!this.wholeGroupDisabled(r)?["multiselect__option--group",{"multiselect__option--highlight":e===this.pointer&&this.showPointer},{"multiselect__option--group-selected":this.wholeGroupSelected(r)}]:"multiselect__option--disabled"},addPointerElement({key:e}="Enter"){this.filteredOptions.length>0&&this.select(this.filteredOptions[this.pointer],e),this.pointerReset()},pointerForward(){this.pointer<this.filteredOptions.length-1&&(this.pointer++,this.$refs.list.scrollTop<=this.pointerPosition-(this.visibleElements-1)*this.optionHeight&&(this.$refs.list.scrollTop=this.pointerPosition-(this.visibleElements-1)*this.optionHeight),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()),this.pointerDirty=!0},pointerBackward(){this.pointer>0?(this.pointer--,this.$refs.list.scrollTop>=this.pointerPosition&&(this.$refs.list.scrollTop=this.pointerPosition),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerBackward()):this.filteredOptions[this.pointer]&&this.filteredOptions[0].$isLabel&&!this.groupSelect&&this.pointerForward(),this.pointerDirty=!0},pointerReset(){this.closeOnSelect&&(this.pointer=0,this.$refs.list&&(this.$refs.list.scrollTop=0))},pointerAdjust(){this.pointer>=this.filteredOptions.length-1&&(this.pointer=this.filteredOptions.length?this.filteredOptions.length-1:0),this.filteredOptions.length>0&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()},pointerSet(e){this.pointer=e,this.pointerDirty=!0}}},script={name:"vue-multiselect",mixins:[multiselectMixin,pointerMixin],compatConfig:{MODE:3,ATTR_ENUMERATED_COERCION:!1},props:{name:{type:String,default:""},modelValue:{type:null,default(){return[]}},selectLabel:{type:String,default:"Press enter to select"},selectGroupLabel:{type:String,default:"Press enter to select group"},selectedLabel:{type:String,default:"Selected"},deselectLabel:{type:String,default:"Press enter to remove"},deselectGroupLabel:{type:String,default:"Press enter to deselect group"},showLabels:{type:Boolean,default:!0},limit:{type:Number,default:99999},maxHeight:{type:Number,default:300},limitText:{type:Function,default:e=>`and ${e} more`},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},openDirection:{type:String,default:""},showNoOptions:{type:Boolean,default:!0},showNoResults:{type:Boolean,default:!0},tabindex:{type:Number,default:0}},computed:{hasOptionGroup(){return this.groupValues&&this.groupLabel&&this.groupSelect},isSingleLabelVisible(){return(this.singleValue||this.singleValue===0)&&(!this.isOpen||!this.searchable)&&!this.visibleValues.length},isPlaceholderVisible(){return!this.internalValue.length&&(!this.searchable||!this.isOpen)},visibleValues(){return this.multiple?this.internalValue.slice(0,this.limit):[]},singleValue(){return this.internalValue[0]},deselectLabelText(){return this.showLabels?this.deselectLabel:""},deselectGroupLabelText(){return this.showLabels?this.deselectGroupLabel:""},selectLabelText(){return this.showLabels?this.selectLabel:""},selectGroupLabelText(){return this.showLabels?this.selectGroupLabel:""},selectedLabelText(){return this.showLabels?this.selectedLabel:""},inputStyle(){return this.searchable||this.multiple&&this.modelValue&&this.modelValue.length?this.isOpen?{width:"100%"}:{width:"0",position:"absolute",padding:"0"}:""},contentStyle(){return this.options.length?{display:"inline-block"}:{display:"block"}},isAbove(){return this.openDirection==="above"||this.openDirection==="top"?!0:this.openDirection==="below"||this.openDirection==="bottom"?!1:this.preferredOpenDirection==="above"},showSearchInput(){return this.searchable&&(this.hasSingleSelectedSlot&&(this.visibleSingleValue||this.visibleSingleValue===0)?this.isOpen:!0)}}};const _hoisted_1$1={ref:"tags",class:"multiselect__tags"},_hoisted_2$1={class:"multiselect__tags-wrap"},_hoisted_3$1={class:"multiselect__spinner"},_hoisted_4$1={key:0},_hoisted_5={class:"multiselect__option"},_hoisted_6={class:"multiselect__option"},_hoisted_7=createTextVNode("No elements found. Consider changing the search query."),_hoisted_8={class:"multiselect__option"},_hoisted_9=createTextVNode("List is empty.");function render(e,t,r,o,i,c){return openBlock(),createBlock("div",{tabindex:e.searchable?-1:r.tabindex,class:[{"multiselect--active":e.isOpen,"multiselect--disabled":r.disabled,"multiselect--above":c.isAbove,"multiselect--has-options-group":c.hasOptionGroup},"multiselect"],onFocus:t[14]||(t[14]=a=>e.activate()),onBlur:t[15]||(t[15]=a=>e.searchable?!1:e.deactivate()),onKeydown:[t[16]||(t[16]=withKeys(withModifiers(a=>e.pointerForward(),["self","prevent"]),["down"])),t[17]||(t[17]=withKeys(withModifiers(a=>e.pointerBackward(),["self","prevent"]),["up"]))],onKeypress:t[18]||(t[18]=withKeys(withModifiers(a=>e.addPointerElement(a),["stop","self"]),["enter","tab"])),onKeyup:t[19]||(t[19]=withKeys(a=>e.deactivate(),["esc"])),role:"combobox","aria-owns":"listbox-"+e.id},[renderSlot(e.$slots,"caret",{toggle:e.toggle},()=>[createVNode("div",{onMousedown:t[1]||(t[1]=withModifiers(a=>e.toggle(),["prevent","stop"])),class:"multiselect__select"},null,32)]),renderSlot(e.$slots,"clear",{search:e.search}),createVNode("div",_hoisted_1$1,[renderSlot(e.$slots,"selection",{search:e.search,remove:e.removeElement,values:c.visibleValues,isOpen:e.isOpen},()=>[withDirectives(createVNode("div",_hoisted_2$1,[(openBlock(!0),createBlock(Fragment,null,renderList(c.visibleValues,(a,u)=>renderSlot(e.$slots,"tag",{option:a,search:e.search,remove:e.removeElement},()=>[(openBlock(),createBlock("span",{class:"multiselect__tag",key:u},[createVNode("span",{textContent:toDisplayString(e.getOptionLabel(a))},null,8,["textContent"]),createVNode("i",{tabindex:"1",onKeypress:withKeys(withModifiers(d=>e.removeElement(a),["prevent"]),["enter"]),onMousedown:withModifiers(d=>e.removeElement(a),["prevent"]),class:"multiselect__tag-icon"},null,40,["onKeypress","onMousedown"])]))])),256))],512),[[vShow,c.visibleValues.length>0]]),e.internalValue&&e.internalValue.length>r.limit?renderSlot(e.$slots,"limit",{key:0},()=>[createVNode("strong",{class:"multiselect__strong",textContent:toDisplayString(r.limitText(e.internalValue.length-r.limit))},null,8,["textContent"])]):createCommentVNode("v-if",!0)]),createVNode(Transition,{name:"multiselect__loading"},{default:withCtx(()=>[renderSlot(e.$slots,"loading",{},()=>[withDirectives(createVNode("div",_hoisted_3$1,null,512),[[vShow,r.loading]])])]),_:3}),e.searchable?(openBlock(),createBlock("input",{key:0,ref:"search",name:r.name,id:e.id,type:"text",autocomplete:"off",spellcheck:!1,placeholder:e.placeholder,style:c.inputStyle,value:e.search,disabled:r.disabled,tabindex:r.tabindex,onInput:t[2]||(t[2]=a=>e.updateSearch(a.target.value)),onFocus:t[3]||(t[3]=withModifiers(a=>e.activate(),["prevent"])),onBlur:t[4]||(t[4]=withModifiers(a=>e.deactivate(),["prevent"])),onKeyup:t[5]||(t[5]=withKeys(a=>e.deactivate(),["esc"])),onKeydown:[t[6]||(t[6]=withKeys(withModifiers(a=>e.pointerForward(),["prevent"]),["down"])),t[7]||(t[7]=withKeys(withModifiers(a=>e.pointerBackward(),["prevent"]),["up"])),t[9]||(t[9]=withKeys(withModifiers(a=>e.removeLastElement(),["stop"]),["delete"]))],onKeypress:t[8]||(t[8]=withKeys(withModifiers(a=>e.addPointerElement(a),["prevent","stop","self"]),["enter"])),class:"multiselect__input","aria-controls":"listbox-"+e.id},null,44,["name","id","placeholder","value","disabled","tabindex","aria-controls"])):createCommentVNode("v-if",!0),c.isSingleLabelVisible?(openBlock(),createBlock("span",{key:1,class:"multiselect__single",onMousedown:t[10]||(t[10]=withModifiers((...a)=>e.toggle&&e.toggle(...a),["prevent"]))},[renderSlot(e.$slots,"singleLabel",{option:c.singleValue},()=>[createTextVNode(toDisplayString(e.currentOptionLabel),1)])],32)):createCommentVNode("v-if",!0),c.isPlaceholderVisible?(openBlock(),createBlock("span",{key:2,class:"multiselect__placeholder",onMousedown:t[11]||(t[11]=withModifiers((...a)=>e.toggle&&e.toggle(...a),["prevent"]))},[renderSlot(e.$slots,"placeholder",{},()=>[createTextVNode(toDisplayString(e.placeholder),1)])],32)):createCommentVNode("v-if",!0)],512),createVNode(Transition,{name:"multiselect"},{default:withCtx(()=>[withDirectives(createVNode("div",{class:"multiselect__content-wrapper",onFocus:t[12]||(t[12]=(...a)=>e.activate&&e.activate(...a)),tabindex:"-1",onMousedown:t[13]||(t[13]=withModifiers(()=>{},["prevent"])),style:{maxHeight:e.optimizedHeight+"px"},ref:"list"},[createVNode("ul",{class:"multiselect__content",style:c.contentStyle,role:"listbox",id:"listbox-"+e.id},[renderSlot(e.$slots,"beforeList"),e.multiple&&e.max===e.internalValue.length?(openBlock(),createBlock("li",_hoisted_4$1,[createVNode("span",_hoisted_5,[renderSlot(e.$slots,"maxElements",{},()=>[createTextVNode("Maximum of "+toDisplayString(e.max)+" options selected. First remove a selected option to select another.",1)])])])):createCommentVNode("v-if",!0),!e.max||e.internalValue.length<e.max?(openBlock(!0),createBlock(Fragment,{key:1},renderList(e.filteredOptions,(a,u)=>(openBlock(),createBlock("li",{class:"multiselect__element",key:u,id:e.id+"-"+u,role:a&&(a.$isLabel||a.$isDisabled)?null:"option"},[a&&(a.$isLabel||a.$isDisabled)?createCommentVNode("v-if",!0):(openBlock(),createBlock("span",{key:0,class:[e.optionHighlight(u,a),"multiselect__option"],onClick:withModifiers(d=>e.select(a),["stop"]),onMouseenter:withModifiers(d=>e.pointerSet(u),["self"]),"data-select":a&&a.isTag?e.tagPlaceholder:c.selectLabelText,"data-selected":c.selectedLabelText,"data-deselect":c.deselectLabelText},[renderSlot(e.$slots,"option",{option:a,search:e.search,index:u},()=>[createVNode("span",null,toDisplayString(e.getOptionLabel(a)),1)])],42,["onClick","onMouseenter","data-select","data-selected","data-deselect"])),a&&(a.$isLabel||a.$isDisabled)?(openBlock(),createBlock("span",{key:1,"data-select":e.groupSelect&&c.selectGroupLabelText,"data-deselect":e.groupSelect&&c.deselectGroupLabelText,class:[e.groupHighlight(u,a),"multiselect__option"],onMouseenter:withModifiers(d=>e.groupSelect&&e.pointerSet(u),["self"]),onMousedown:withModifiers(d=>e.selectGroup(a),["prevent"])},[renderSlot(e.$slots,"option",{option:a,search:e.search,index:u},()=>[createVNode("span",null,toDisplayString(e.getOptionLabel(a)),1)])],42,["data-select","data-deselect","onMouseenter","onMousedown"])):createCommentVNode("v-if",!0)],8,["id","role"]))),128)):createCommentVNode("v-if",!0),withDirectives(createVNode("li",null,[createVNode("span",_hoisted_6,[renderSlot(e.$slots,"noResult",{search:e.search},()=>[_hoisted_7])])],512),[[vShow,r.showNoResults&&e.filteredOptions.length===0&&e.search&&!r.loading]]),withDirectives(createVNode("li",null,[createVNode("span",_hoisted_8,[renderSlot(e.$slots,"noOptions",{},()=>[_hoisted_9])])],512),[[vShow,r.showNoOptions&&(e.options.length===0||c.hasOptionGroup===!0&&e.filteredOptions.length===0)&&!e.search&&!r.loading]]),renderSlot(e.$slots,"afterList")],12,["id"])],36),[[vShow,e.isOpen]])]),_:3})],42,["tabindex","aria-owns"])}script.render=render;const _sfc_main$3=defineComponent$1({__name:"ModelSelect",props:{model:{type:String,required:!0},multiple:{type:Boolean,default:!0},limit:{type:Number,default:25},allowCreate:{type:Boolean,default:!1},id:{type:String,required:!1,default:Math.random().toString()},search_on_load:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},chips:{type:Boolean,default:void 0},itemName:{type:String,default:"name"},itemValue:{type:String,default:"id"},placeholder:{type:String,default:void 0},label:{type:String,default:"name"},parent_variable:{type:String,default:void 0},sticky_options:{type:Array,default(){return[]}},initial_selection:{type:Array,default(){return[]}},initial_single_selection:{type:Object,default:void 0},disabled:{type:Boolean,default:!1}},setup(e){const t=e,r=ref({}),o=ref([]),i=ref(void 0),c=ref(""),a=ref(!1);onMounted(()=>{r.value=getModelFromStr(t.model),t.search_on_load&&u("")});const u=useDebounceFn(g=>{d(g)},300);function d(g){a.value=!0,r.value.list(g).then(v=>{o.value=v,t.allowCreate&&c.value!=""&&o.value.unshift({id:null,name:`Create "${c.value}"`})}).catch(v=>{}).finally(()=>{a.value=!1})}function f(g){console.log("CREATEING NEW with -> ",g),new ApiApi().apiKeywordList(),r.value.create(g).then(y=>{i.value instanceof Array?i.value.push(y):i.value=y,o.value.push(y)}).catch(y=>{}).finally(()=>{a.value=!1})}function m(){}return(g,v)=>(openBlock(),createBlock(VInput,null,{default:withCtx(()=>[createVNode(unref(script),{id:e.id,modelValue:i.value,"onUpdate:modelValue":v[0]||(v[0]=y=>i.value=y),options:o.value,"close-on-select":!0,"clear-on-select":!0,"hide-selected":e.multiple,"preserve-search":!0,"internal-search":!1,limit:e.limit,placeholder:e.model,label:e.label,"track-by":"id",multiple:e.multiple,taggable:e.allowCreate,"tag-placeholder":"TODO CREATE PLACEHOLDER",loading:a.value,onSearchChange:unref(u),onInput:m,onTag:f,onOpen:v[1]||(v[1]=y=>d("")),disabled:e.disabled},null,8,["id","modelValue","options","hide-selected","limit","placeholder","label","multiple","taggable","loading","onSearchChange","disabled"])]),_:1}))}}),_sfc_main$2=defineComponent$1({name:"StepEditor",components:{ModelSelect:_sfc_main$3,draggable,IngredientsTableRow,IngredientsTable,StepMarkdownEditor},emits:["update:modelValue"],props:{modelValue:{type:Object,required:!0},stepIndex:{type:Number,required:!1}},computed:{step:{get(){return this.modelValue},set(e){this.$emit("update:modelValue",e)}}},data(){return{dialog_markdown_edit:!1}},methods:{sortIngredients(){this.step.ingredients.forEach((e,t)=>{e.order=t})}}}),makeVFormProps=propsFactory({...makeComponentProps(),...makeFormProps()},"VForm"),VForm=genericComponent()({name:"VForm",props:makeVFormProps(),emits:{"update:modelValue":e=>!0,submit:e=>!0},setup(e,t){let{slots:r,emit:o}=t;const i=createForm(e),c=ref();function a(d){d.preventDefault(),i.reset()}function u(d){const f=d,m=i.validate();f.then=m.then.bind(m),f.catch=m.catch.bind(m),f.finally=m.finally.bind(m),o("submit",f),f.defaultPrevented||m.then(g=>{var y;let{valid:v}=g;v&&((y=c.value)==null||y.submit())}),f.preventDefault()}return useRender(()=>{var d;return createVNode("form",{ref:c,class:["v-form",e.class],style:e.style,novalidate:!0,onReset:a,onSubmit:u},[(d=r.default)==null?void 0:d.call(r,i)])}),forwardRefs(i,c)}}),_hoisted_1=createBaseVNode("i",{class:"fas fa-plus-circle fa-fw mr-1"},null,-1),_hoisted_2=createBaseVNode("i",{class:"fas fa-plus-circle fa-fw mr-1"},null,-1),_hoisted_3=createBaseVNode("i",{class:"fas fa-plus-circle fa-fw mr-1"},null,-1),_hoisted_4=createBaseVNode("i",{class:"fas fa-plus-circle fa-fw mr-1"},null,-1);function _sfc_render$2(e,t,r,o,i,c){const a=resolveComponent("IngredientsTableRow"),u=resolveComponent("model-select"),d=resolveComponent("draggable"),f=resolveComponent("step-markdown-editor");return openBlock(),createElementBlock(Fragment,null,[createVNode(VCard,null,{title:withCtx(()=>[e.step.name?(openBlock(),createBlock(VCardTitle,{key:0},{default:withCtx(()=>[createTextVNode(toDisplayString(e.step.name),1)]),_:1})):e.stepIndex!==void 0?(openBlock(),createBlock(VCardTitle,{key:1},{default:withCtx(()=>[createTextVNode("Step "+toDisplayString(e.stepIndex+1),1)]),_:1})):createCommentVNode("",!0)]),append:withCtx(()=>[createVNode(VBtn,{size:"small",variant:"plain",icon:"fas fa-sliders-h"})]),default:withCtx(()=>[createVNode(VCardText,null,{default:withCtx(()=>[createVNode(VTextField,{modelValue:e.step.name,"onUpdate:modelValue":t[0]||(t[0]=m=>e.step.name=m),label:"Step Name"},null,8,["modelValue"]),createVNode(VChipGroup,null,{default:withCtx(()=>[e.step.time==0?(openBlock(),createBlock(VChip,{key:0},{default:withCtx(()=>[_hoisted_1,createTextVNode(" Time")]),_:1})):createCommentVNode("",!0),e.step.instruction==""?(openBlock(),createBlock(VChip,{key:1},{default:withCtx(()=>[_hoisted_2,createTextVNode(" Instructions")]),_:1})):createCommentVNode("",!0),e.step.file==null?(openBlock(),createBlock(VChip,{key:2},{default:withCtx(()=>[_hoisted_3,createTextVNode(" File")]),_:1})):createCommentVNode("",!0),e.step.stepRecipe==null?(openBlock(),createBlock(VChip,{key:3},{default:withCtx(()=>[_hoisted_4,createTextVNode(" Recipe")]),_:1})):createCommentVNode("",!0)]),_:1}),createVNode(VTable,{density:"compact"},{default:withCtx(()=>[createVNode(d,{tag:"tbody",modelValue:e.step.ingredients,"onUpdate:modelValue":t[1]||(t[1]=m=>e.step.ingredients=m),handle:".drag-handle","item-key":"id",onSort:e.sortIngredients},{item:withCtx(({element:m})=>[createVNode(VDialog,null,{activator:withCtx(({props:g})=>[(openBlock(),createBlock(a,mergeProps(g,{ingredient:m,key:m.id,"show-notes":!1,draggable:!0}),null,16,["ingredient"]))]),default:withCtx(({isActive:g})=>[createVNode(VCard,null,{default:withCtx(()=>[createVNode(VCardTitle,null,{default:withCtx(()=>[createTextVNode("Ingredient")]),_:1}),createVNode(VCardText,null,{default:withCtx(()=>[createVNode(VForm,null,{default:withCtx(()=>[createVNode(VTextField,{label:"Amount",modelValue:m.amount,"onUpdate:modelValue":v=>m.amount=v,modelModifiers:{number:!0}},null,8,["modelValue","onUpdate:modelValue"]),createVNode(u,{model:"Unit",modelValue:m.unit,"onUpdate:modelValue":v=>m.unit=v,multiple:!1},null,8,["modelValue","onUpdate:modelValue"]),createVNode(u,{model:"Food",modelValue:m.food,"onUpdate:modelValue":v=>m.food=v,multiple:!1},null,8,["modelValue","onUpdate:modelValue"]),createVNode(VTextField,{label:"Note",modelValue:m.note,"onUpdate:modelValue":v=>m.note=v},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:1},8,["modelValue","onSort"])]),_:1}),createVNode(VAlert,{onClick:t[2]||(t[2]=m=>e.dialog_markdown_edit=!0),class:"mt-2"},{default:withCtx(()=>[createTextVNode(toDisplayString(e.step.instruction),1)]),_:1})]),_:1})]),_:1}),createVNode(VDialog,{modelValue:e.dialog_markdown_edit,"onUpdate:modelValue":t[3]||(t[3]=m=>e.dialog_markdown_edit=m),transition:"dialog-bottom-transition"},{default:withCtx(()=>[createVNode(VCard,null,{default:withCtx(()=>[createVNode(VCardTitle,null,{default:withCtx(()=>[createTextVNode("Ingredient")]),_:1}),createVNode(VForm,null,{default:withCtx(()=>[createVNode(VTextField)]),_:1})]),_:1})]),_:1},8,["modelValue"]),createVNode(VDialog,{modelValue:e.dialog_markdown_edit,"onUpdate:modelValue":t[6]||(t[6]=m=>e.dialog_markdown_edit=m),transition:"dialog-bottom-transition",fullscreen:""},{default:withCtx(()=>[createVNode(VCard,null,{default:withCtx(()=>[createVNode(VToolbar,null,{default:withCtx(()=>[createVNode(VToolbarTitle,null,{default:withCtx(()=>[createTextVNode("Edit Instructions")]),_:1}),createVNode(VBtn,{icon:"fas fa-close",onClick:t[4]||(t[4]=m=>e.dialog_markdown_edit=!1)})]),_:1}),createVNode(f,{class:"h-100",step:e.step,onChange:t[5]||(t[5]=m=>{e.step=m.step})},null,8,["step"])]),_:1})]),_:1},8,["modelValue"])],64)}const StepEditor=_export_sfc(_sfc_main$2,[["render",_sfc_render$2]]),_sfc_main$1=defineComponent$1({name:"RecipeEditPage",components:{StepEditor,StepMarkdownEditor},props:{recipe_id:{type:String,required:!1}},watch:{recipe_id:function(){this.refreshRecipe()}},data(){return{recipe:{},keywords:[]}},mounted(){this.refreshRecipe(),new ApiApi().apiKeywordList({page:1,pageSize:100}).then(t=>{t.results&&(this.keywords=t.results)})},methods:{refreshRecipe(){this.recipe.id!=Number(this.recipe_id)&&new ApiApi().apiRecipeRetrieve({id:Number(this.recipe_id)}).then(t=>{this.recipe=t})},updateRecipe(){new ApiApi().apiRecipeUpdate({id:Number(this.recipe_id),recipe:this.recipe}).then(t=>{this.recipe=t})}}}),VSelectionControlGroupSymbol=Symbol.for("vuetify:selection-control-group"),makeSelectionControlGroupProps=propsFactory({color:String,disabled:{type:Boolean,default:null},defaultsTarget:String,error:Boolean,id:String,inline:Boolean,falseIcon:IconValue,trueIcon:IconValue,ripple:{type:Boolean,default:!0},multiple:{type:Boolean,default:null},name:String,readonly:{type:Boolean,default:null},modelValue:null,type:String,valueComparator:{type:Function,default:deepEqual},...makeComponentProps(),...makeDensityProps(),...makeThemeProps()},"SelectionControlGroup"),makeVSelectionControlGroupProps=propsFactory({...makeSelectionControlGroupProps({defaultsTarget:"VSelectionControl"})},"VSelectionControlGroup");genericComponent()({name:"VSelectionControlGroup",props:makeVSelectionControlGroupProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;const o=useProxiedModel(e,"modelValue"),i=getUid(),c=computed(()=>e.id||`v-selection-control-group-${i}`),a=computed(()=>e.name||c.value),u=new Set;return provide(VSelectionControlGroupSymbol,{modelValue:o,forceUpdate:()=>{u.forEach(d=>d())},onForceUpdate:d=>{u.add(d),onScopeDispose(()=>{u.delete(d)})}}),provideDefaults({[e.defaultsTarget]:{color:toRef(e,"color"),disabled:toRef(e,"disabled"),density:toRef(e,"density"),error:toRef(e,"error"),inline:toRef(e,"inline"),modelValue:o,multiple:computed(()=>!!e.multiple||e.multiple==null&&Array.isArray(o.value)),name:a,falseIcon:toRef(e,"falseIcon"),trueIcon:toRef(e,"trueIcon"),readonly:toRef(e,"readonly"),ripple:toRef(e,"ripple"),type:toRef(e,"type"),valueComparator:toRef(e,"valueComparator")}}),useRender(()=>{var d;return createVNode("div",{class:["v-selection-control-group",{"v-selection-control-group--inline":e.inline},e.class],style:e.style,role:e.type==="radio"?"radiogroup":void 0},[(d=r.default)==null?void 0:d.call(r)])}),{}}});const makeVSelectionControlProps=propsFactory({label:String,baseColor:String,trueValue:null,falseValue:null,value:null,...makeComponentProps(),...makeSelectionControlGroupProps()},"VSelectionControl");function useSelectionControl(e){const t=inject$1(VSelectionControlGroupSymbol,void 0),{densityClasses:r}=useDensity(e),o=useProxiedModel(e,"modelValue"),i=computed(()=>e.trueValue!==void 0?e.trueValue:e.value!==void 0?e.value:!0),c=computed(()=>e.falseValue!==void 0?e.falseValue:!1),a=computed(()=>!!e.multiple||e.multiple==null&&Array.isArray(o.value)),u=computed({get(){const y=t?t.modelValue.value:o.value;return a.value?wrapInArray(y).some(w=>e.valueComparator(w,i.value)):e.valueComparator(y,i.value)},set(y){if(e.readonly)return;const w=y?i.value:c.value;let b=w;a.value&&(b=y?[...wrapInArray(o.value),w]:wrapInArray(o.value).filter(S=>!e.valueComparator(S,i.value))),t?t.modelValue.value=b:o.value=b}}),{textColorClasses:d,textColorStyles:f}=useTextColor(computed(()=>{if(!(e.error||e.disabled))return u.value?e.color:e.baseColor})),{backgroundColorClasses:m,backgroundColorStyles:g}=useBackgroundColor(computed(()=>u.value&&!e.error&&!e.disabled?e.color:void 0)),v=computed(()=>u.value?e.trueIcon:e.falseIcon);return{group:t,densityClasses:r,trueValue:i,falseValue:c,model:u,textColorClasses:d,textColorStyles:f,backgroundColorClasses:m,backgroundColorStyles:g,icon:v}}const VSelectionControl=genericComponent()({name:"VSelectionControl",directives:{Ripple},inheritAttrs:!1,props:makeVSelectionControlProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{attrs:r,slots:o}=t;const{group:i,densityClasses:c,icon:a,model:u,textColorClasses:d,textColorStyles:f,backgroundColorClasses:m,backgroundColorStyles:g,trueValue:v}=useSelectionControl(e),y=getUid(),w=shallowRef(!1),b=shallowRef(!1),S=ref(),_=computed(()=>e.id||`input-${y}`),k=computed(()=>!e.disabled&&!e.readonly);i==null||i.onForceUpdate(()=>{S.value&&(S.value.checked=u.value)});function C(O){k.value&&(w.value=!0,matchesSelector(O.target,":focus-visible")!==!1&&(b.value=!0))}function T(){w.value=!1,b.value=!1}function x(O){O.stopPropagation()}function R(O){k.value&&(e.readonly&&i&&nextTick(()=>i.forceUpdate()),u.value=O.target.checked)}return useRender(()=>{var P,V;const O=o.label?o.label({label:e.label,props:{for:_.value}}):e.label,[A,N]=filterInputAttrs(r),E=createVNode("input",mergeProps({ref:S,checked:u.value,disabled:!!e.disabled,id:_.value,onBlur:T,onFocus:C,onInput:R,"aria-disabled":!!e.disabled,type:e.type,value:v.value,name:e.name,"aria-checked":e.type==="checkbox"?u.value:void 0},N),null);return createVNode("div",mergeProps({class:["v-selection-control",{"v-selection-control--dirty":u.value,"v-selection-control--disabled":e.disabled,"v-selection-control--error":e.error,"v-selection-control--focused":w.value,"v-selection-control--focus-visible":b.value,"v-selection-control--inline":e.inline},c.value,e.class]},A,{style:e.style}),[createVNode("div",{class:["v-selection-control__wrapper",d.value],style:f.value},[(P=o.default)==null?void 0:P.call(o,{backgroundColorClasses:m,backgroundColorStyles:g}),withDirectives(createVNode("div",{class:["v-selection-control__input"]},[((V=o.input)==null?void 0:V.call(o,{model:u,textColorClasses:d,textColorStyles:f,backgroundColorClasses:m,backgroundColorStyles:g,inputNode:E,icon:a.value,props:{onFocus:C,onBlur:T,id:_.value}}))??createVNode(Fragment,null,[a.value&&createVNode(VIcon,{key:"icon",icon:a.value},null),E])]),[[resolveDirective("ripple"),e.ripple&&[!e.disabled&&!e.readonly,null,["center","circle"]]]])]),O&&createVNode(VLabel,{for:_.value,onClick:x},{default:()=>[O]})])}),{isFocused:w,input:S}}}),makeVCheckboxBtnProps=propsFactory({indeterminate:Boolean,indeterminateIcon:{type:IconValue,default:"$checkboxIndeterminate"},...makeVSelectionControlProps({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})},"VCheckboxBtn"),VCheckboxBtn=genericComponent()({name:"VCheckboxBtn",props:makeVCheckboxBtnProps(),emits:{"update:modelValue":e=>!0,"update:indeterminate":e=>!0},setup(e,t){let{slots:r}=t;const o=useProxiedModel(e,"indeterminate"),i=useProxiedModel(e,"modelValue");function c(d){o.value&&(o.value=!1)}const a=computed(()=>o.value?e.indeterminateIcon:e.falseIcon),u=computed(()=>o.value?e.indeterminateIcon:e.trueIcon);return useRender(()=>{const d=omit(VSelectionControl.filterProps(e),["modelValue"]);return createVNode(VSelectionControl,mergeProps(d,{modelValue:i.value,"onUpdate:modelValue":[f=>i.value=f,c],class:["v-checkbox-btn",e.class],style:e.style,type:"checkbox",falseIcon:a.value,trueIcon:u.value,"aria-checked":o.value?"mixed":void 0}),r)}),{}}}),makeVVirtualScrollItemProps=propsFactory({renderless:Boolean,...makeComponentProps()},"VVirtualScrollItem"),VVirtualScrollItem=genericComponent()({name:"VVirtualScrollItem",inheritAttrs:!1,props:makeVVirtualScrollItemProps(),emits:{"update:height":e=>!0},setup(e,t){let{attrs:r,emit:o,slots:i}=t;const{resizeRef:c,contentRect:a}=useResizeObserver(void 0,"border");watch(()=>{var u;return(u=a.value)==null?void 0:u.height},u=>{u!=null&&o("update:height",u)}),useRender(()=>{var u,d;return e.renderless?createVNode(Fragment,null,[(u=i.default)==null?void 0:u.call(i,{itemRef:c})]):createVNode("div",mergeProps({ref:c,class:["v-virtual-scroll__item",e.class],style:e.style},r),[(d=i.default)==null?void 0:d.call(i)])})}}),UP=-1,DOWN=1,BUFFER_PX=100,makeVirtualProps=propsFactory({itemHeight:{type:[Number,String],default:null},height:[Number,String]},"virtual");function useVirtual(e,t){const r=useDisplay(),o=shallowRef(0);watchEffect(()=>{o.value=parseFloat(e.itemHeight||0)});const i=shallowRef(0),c=shallowRef(Math.ceil((parseInt(e.height)||r.height.value)/(o.value||16))||1),a=shallowRef(0),u=shallowRef(0),d=ref(),f=ref();let m=0;const{resizeRef:g,contentRect:v}=useResizeObserver();watchEffect(()=>{g.value=d.value});const y=computed(()=>{var Z;return d.value===document.documentElement?r.height.value:((Z=v.value)==null?void 0:Z.height)||parseInt(e.height)||0}),w=computed(()=>!!(d.value&&f.value&&y.value&&o.value));let b=Array.from({length:t.value.length}),S=Array.from({length:t.value.length});const _=shallowRef(0);let k=-1;function C(Z){return b[Z]||o.value}const T=debounce(()=>{const Z=performance.now();S[0]=0;const Q=t.value.length;for(let te=1;te<=Q-1;te++)S[te]=(S[te-1]||0)+C(te-1);_.value=Math.max(_.value,performance.now()-Z)},_),x=watch(w,Z=>{Z&&(x(),m=f.value.offsetTop,T.immediate(),B(),~k&&nextTick(()=>{IN_BROWSER&&window.requestAnimationFrame(()=>{U(k),k=-1})}))});onScopeDispose(()=>{T.clear()});function R(Z,Q){const te=b[Z],W=o.value;o.value=W?Math.min(o.value,Q):Q,(te!==Q||W!==o.value)&&(b[Z]=Q,T())}function O(Z){return Z=clamp(Z,0,t.value.length-1),S[Z]||0}function A(Z){return binaryClosest(S,Z)}let N=0,E=0,P=0;watch(y,(Z,Q)=>{Q&&(B(),Z<Q&&requestAnimationFrame(()=>{E=0,B()}))});function V(){if(!d.value||!f.value)return;const Z=d.value.scrollTop,Q=performance.now();Q-P>500?(E=Math.sign(Z-N),m=f.value.offsetTop):E=Z-N,N=Z,P=Q,B()}function D(){!d.value||!f.value||(E=0,P=0,B())}let F=-1;function B(){cancelAnimationFrame(F),F=requestAnimationFrame($)}function $(){if(!d.value||!y.value)return;const Z=N-m,Q=Math.sign(E),te=Math.max(0,Z-BUFFER_PX),W=clamp(A(te),0,t.value.length),j=Z+y.value+BUFFER_PX,le=clamp(A(j)+1,W+1,t.value.length);if((Q!==UP||W<i.value)&&(Q!==DOWN||le>c.value)){const me=O(i.value)-O(W),ce=O(le)-O(c.value);Math.max(me,ce)>BUFFER_PX?(i.value=W,c.value=le):(W<=0&&(i.value=W),le>=t.value.length&&(c.value=le))}a.value=O(i.value),u.value=O(t.value.length)-O(c.value)}function U(Z){const Q=O(Z);!d.value||Z&&!Q?k=Z:d.value.scrollTop=Q}const M=computed(()=>t.value.slice(i.value,c.value).map((Z,Q)=>({raw:Z,index:Q+i.value})));return watch(t,()=>{b=Array.from({length:t.value.length}),S=Array.from({length:t.value.length}),T.immediate(),B()},{deep:!0}),{containerRef:d,markerRef:f,computedItems:M,paddingTop:a,paddingBottom:u,scrollToIndex:U,handleScroll:V,handleScrollend:D,handleItemResize:R}}function binaryClosest(e,t){let r=e.length-1,o=0,i=0,c=null,a=-1;if(e[r]<t)return r;for(;o<=r;)if(i=o+r>>1,c=e[i],c>t)r=i-1;else if(c<t)a=i,o=i+1;else return c===t?i:o;return a}const makeVVirtualScrollProps=propsFactory({items:{type:Array,default:()=>[]},renderless:Boolean,...makeVirtualProps(),...makeComponentProps(),...makeDimensionProps()},"VVirtualScroll"),VVirtualScroll=genericComponent()({name:"VVirtualScroll",props:makeVVirtualScrollProps(),setup(e,t){let{slots:r}=t;const o=getCurrentInstance("VVirtualScroll"),{dimensionStyles:i}=useDimension(e),{containerRef:c,markerRef:a,handleScroll:u,handleScrollend:d,handleItemResize:f,scrollToIndex:m,paddingTop:g,paddingBottom:v,computedItems:y}=useVirtual(e,toRef(e,"items"));return useToggleScope(()=>e.renderless,()=>{function w(){var _,k;const S=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1)?"addEventListener":"removeEventListener";c.value===document.documentElement?(document[S]("scroll",u,{passive:!0}),document[S]("scrollend",d)):((_=c.value)==null||_[S]("scroll",u,{passive:!0}),(k=c.value)==null||k[S]("scrollend",d))}onMounted(()=>{c.value=getScrollParent(o.vnode.el,!0),w(!0)}),onScopeDispose(w)}),useRender(()=>{const w=y.value.map(b=>createVNode(VVirtualScrollItem,{key:b.index,renderless:e.renderless,"onUpdate:height":S=>f(b.index,S)},{default:S=>{var _;return(_=r.default)==null?void 0:_.call(r,{item:b.raw,index:b.index,...S})}}));return e.renderless?createVNode(Fragment,null,[createVNode("div",{ref:a,class:"v-virtual-scroll__spacer",style:{paddingTop:convertToUnit(g.value)}},null),w,createVNode("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:convertToUnit(v.value)}},null)]):createVNode("div",{ref:c,class:["v-virtual-scroll",e.class],onScrollPassive:u,onScrollend:d,style:[i.value,e.style]},[createVNode("div",{ref:a,class:"v-virtual-scroll__container",style:{paddingTop:convertToUnit(g.value),paddingBottom:convertToUnit(v.value)}},[w])])}),{scrollToIndex:m}}});function useScrolling(e,t){const r=shallowRef(!1);let o;function i(u){cancelAnimationFrame(o),r.value=!0,o=requestAnimationFrame(()=>{o=requestAnimationFrame(()=>{r.value=!1})})}async function c(){await new Promise(u=>requestAnimationFrame(u)),await new Promise(u=>requestAnimationFrame(u)),await new Promise(u=>requestAnimationFrame(u)),await new Promise(u=>{if(r.value){const d=watch(r,()=>{d(),u()})}else u()})}async function a(u){var m,g;if(u.key==="Tab"&&((m=t.value)==null||m.focus()),!["PageDown","PageUp","Home","End"].includes(u.key))return;const d=(g=e.value)==null?void 0:g.$el;if(!d)return;(u.key==="Home"||u.key==="End")&&d.scrollTo({top:u.key==="Home"?0:d.scrollHeight,behavior:"smooth"}),await c();const f=d.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(u.key==="PageDown"||u.key==="Home"){const v=d.getBoundingClientRect().top;for(const y of f)if(y.getBoundingClientRect().top>=v){y.focus();break}}else{const v=d.getBoundingClientRect().bottom;for(const y of[...f].reverse())if(y.getBoundingClientRect().bottom<=v){y.focus();break}}}return{onListScroll:i,onListKeydown:a}}const makeSelectProps=propsFactory({chips:Boolean,closableChips:Boolean,closeText:{type:String,default:"$vuetify.close"},openText:{type:String,default:"$vuetify.open"},eager:Boolean,hideNoData:Boolean,hideSelected:Boolean,listProps:{type:Object},menu:Boolean,menuIcon:{type:IconValue,default:"$dropdown"},menuProps:{type:Object},multiple:Boolean,noDataText:{type:String,default:"$vuetify.noDataText"},openOnClear:Boolean,itemColor:String,...makeItemsProps({itemChildren:!1})},"Select"),makeVSelectProps=propsFactory({...makeSelectProps(),...omit(makeVTextFieldProps({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...makeTransitionProps$1({transition:{component:VDialogTransition}})},"VSelect");genericComponent()({name:"VSelect",props:makeVSelectProps(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,"update:menu":e=>!0},setup(e,t){let{slots:r}=t;const{t:o}=useLocale(),i=ref(),c=ref(),a=ref(),u=useProxiedModel(e,"menu"),d=computed({get:()=>u.value,set:M=>{var Z;u.value&&!M&&((Z=c.value)!=null&&Z.ΨopenChildren)||(u.value=M)}}),{items:f,transformIn:m,transformOut:g}=useItems(e),v=useProxiedModel(e,"modelValue",[],M=>m(M===null?[null]:wrapInArray(M)),M=>{const Z=g(M);return e.multiple?Z:Z[0]??null}),y=computed(()=>typeof e.counterValue=="function"?e.counterValue(v.value):typeof e.counterValue=="number"?e.counterValue:v.value.length),w=useForm(),b=computed(()=>v.value.map(M=>M.value)),S=shallowRef(!1),_=computed(()=>d.value?e.closeText:e.openText);let k="",C;const T=computed(()=>e.hideSelected?f.value.filter(M=>!v.value.some(Z=>Z===M)):f.value),x=computed(()=>e.hideNoData&&!T.value.length||e.readonly||(w==null?void 0:w.isReadonly.value)),R=computed(()=>{var M;return{...e.menuProps,activatorProps:{...((M=e.menuProps)==null?void 0:M.activatorProps)||{},"aria-haspopup":"listbox"}}}),O=ref(),{onListScroll:A,onListKeydown:N}=useScrolling(O,i);function E(M){e.openOnClear&&(d.value=!0)}function P(){x.value||(d.value=!d.value)}function V(M){var j,le;if(!M.key||e.readonly||w!=null&&w.isReadonly.value)return;["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(M.key)&&M.preventDefault(),["Enter","ArrowDown"," "].includes(M.key)&&(d.value=!0),["Escape","Tab"].includes(M.key)&&(d.value=!1),M.key==="Home"?(j=O.value)==null||j.focus("first"):M.key==="End"&&((le=O.value)==null||le.focus("last"));const Z=1e3;function Q(me){const ce=me.key.length===1,q=!me.ctrlKey&&!me.metaKey&&!me.altKey;return ce&&q}if(e.multiple||!Q(M))return;const te=performance.now();te-C>Z&&(k=""),k+=M.key.toLowerCase(),C=te;const W=f.value.find(me=>me.title.toLowerCase().startsWith(k));W!==void 0&&(v.value=[W])}function D(M){let Z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(!M.props.disabled)if(e.multiple){const Q=v.value.findIndex(W=>e.valueComparator(W.value,M.value)),te=Z??!~Q;if(~Q){const W=te?[...v.value,M]:[...v.value];W.splice(Q,1),v.value=W}else te&&(v.value=[...v.value,M])}else{const Q=Z!==!1;v.value=Q?[M]:[],nextTick(()=>{d.value=!1})}}function F(M){var Z;(Z=O.value)!=null&&Z.$el.contains(M.relatedTarget)||(d.value=!1)}function B(){var M;S.value&&((M=i.value)==null||M.focus())}function $(M){S.value=!0}function U(M){if(M==null)v.value=[];else if(matchesSelector(i.value,":autofill")||matchesSelector(i.value,":-webkit-autofill")){const Z=f.value.find(Q=>Q.title===M);Z&&D(Z)}else i.value&&(i.value.value="")}return watch(d,()=>{if(!e.hideSelected&&d.value&&v.value.length){const M=T.value.findIndex(Z=>v.value.some(Q=>e.valueComparator(Q.value,Z.value)));IN_BROWSER&&window.requestAnimationFrame(()=>{var Z;M>=0&&((Z=a.value)==null||Z.scrollToIndex(M))})}}),watch(()=>e.items,(M,Z)=>{d.value||S.value&&!Z.length&&M.length&&(d.value=!0)}),useRender(()=>{const M=!!(e.chips||r.chip),Z=!!(!e.hideNoData||T.value.length||r["prepend-item"]||r["append-item"]||r["no-data"]),Q=v.value.length>0,te=VTextField.filterProps(e),W=Q||!S.value&&e.label&&!e.persistentPlaceholder?void 0:e.placeholder;return createVNode(VTextField,mergeProps({ref:i},te,{modelValue:v.value.map(j=>j.props.value).join(", "),"onUpdate:modelValue":U,focused:S.value,"onUpdate:focused":j=>S.value=j,validationValue:v.externalValue,counterValue:y.value,dirty:Q,class:["v-select",{"v-select--active-menu":d.value,"v-select--chips":!!e.chips,[`v-select--${e.multiple?"multiple":"single"}`]:!0,"v-select--selected":v.value.length,"v-select--selection-slot":!!r.selection},e.class],style:e.style,inputmode:"none",placeholder:W,"onClick:clear":E,"onMousedown:control":P,onBlur:F,onKeydown:V,"aria-label":o(_.value),title:o(_.value)}),{...r,default:()=>createVNode(Fragment,null,[createVNode(VMenu,mergeProps({ref:c,modelValue:d.value,"onUpdate:modelValue":j=>d.value=j,activator:"parent",contentClass:"v-select__content",disabled:x.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterLeave:B},R.value),{default:()=>[Z&&createVNode(VList,mergeProps({ref:O,selected:b.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:j=>j.preventDefault(),onKeydown:N,onFocusin:$,onScrollPassive:A,tabindex:"-1","aria-live":"polite",color:e.itemColor??e.color},e.listProps),{default:()=>{var j,le,me;return[(j=r["prepend-item"])==null?void 0:j.call(r),!T.value.length&&!e.hideNoData&&(((le=r["no-data"])==null?void 0:le.call(r))??createVNode(VListItem,{title:o(e.noDataText)},null)),createVNode(VVirtualScroll,{ref:a,renderless:!0,items:T.value},{default:ce=>{var he;let{item:q,index:K,itemRef:z}=ce;const re=mergeProps(q.props,{ref:z,key:K,onClick:()=>D(q,null)});return((he=r.item)==null?void 0:he.call(r,{item:q,index:K,props:re}))??createVNode(VListItem,mergeProps(re,{role:"option"}),{prepend:G=>{let{isSelected:I}=G;return createVNode(Fragment,null,[e.multiple&&!e.hideSelected?createVNode(VCheckboxBtn,{key:q.value,modelValue:I,ripple:!1,tabindex:"-1"},null):void 0,q.props.prependAvatar&&createVNode(VAvatar,{image:q.props.prependAvatar},null),q.props.prependIcon&&createVNode(VIcon,{icon:q.props.prependIcon},null)])}})}}),(me=r["append-item"])==null?void 0:me.call(r)]}})]}),v.value.map((j,le)=>{function me(z){z.stopPropagation(),z.preventDefault(),D(j,!1)}const ce={"onClick:close":me,onMousedown(z){z.preventDefault(),z.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0},q=M?!!r.chip:!!r.selection,K=q?ensureValidVNode(M?r.chip({item:j,index:le,props:ce}):r.selection({item:j,index:le})):void 0;if(!(q&&!K))return createVNode("div",{key:j.value,class:"v-select__selection"},[M?r.chip?createVNode(VDefaultsProvider,{key:"chip-defaults",defaults:{VChip:{closable:e.closableChips,size:"small",text:j.title}}},{default:()=>[K]}):createVNode(VChip,mergeProps({key:"chip",closable:e.closableChips,size:"small",text:j.title,disabled:j.props.disabled},ce),null):K??createVNode("span",{class:"v-select__selection-text"},[j.title,e.multiple&&le<v.value.length-1&&createVNode("span",{class:"v-select__selection-comma"},[createTextVNode(",")])])])})]),"append-inner":function(){var ce;for(var j=arguments.length,le=new Array(j),me=0;me<j;me++)le[me]=arguments[me];return createVNode(Fragment,null,[(ce=r["append-inner"])==null?void 0:ce.call(r,...le),e.menuIcon?createVNode(VIcon,{class:"v-select__menu-icon",icon:e.menuIcon},null):void 0])}})}),forwardRefs({isFocused:S,menu:d,select:D},i)}});const defaultFilter=(e,t,r)=>e==null||t==null?-1:e.toString().toLocaleLowerCase().indexOf(t.toString().toLocaleLowerCase()),makeFilterProps=propsFactory({customFilter:Function,customKeyFilter:Object,filterKeys:[Array,String],filterMode:{type:String,default:"intersection"},noFilter:Boolean},"filter");function filterItems(e,t,r){var u;const o=[],i=(r==null?void 0:r.default)??defaultFilter,c=r!=null&&r.filterKeys?wrapInArray(r.filterKeys):!1,a=Object.keys((r==null?void 0:r.customKeyFilter)??{}).length;if(!(e!=null&&e.length))return o;e:for(let d=0;d<e.length;d++){const[f,m=f]=wrapInArray(e[d]),g={},v={};let y=-1;if(t&&!(r!=null&&r.noFilter)){if(typeof f=="object"){const S=c||Object.keys(m);for(const _ of S){const k=getPropertyFromItem(m,_),C=(u=r==null?void 0:r.customKeyFilter)==null?void 0:u[_];if(y=C?C(k,t,f):i(k,t,f),y!==-1&&y!==!1)C?g[_]=y:v[_]=y;else if((r==null?void 0:r.filterMode)==="every")continue e}}else y=i(f,t,f),y!==-1&&y!==!1&&(v.title=y);const w=Object.keys(v).length,b=Object.keys(g).length;if(!w&&!b||(r==null?void 0:r.filterMode)==="union"&&b!==a&&!w||(r==null?void 0:r.filterMode)==="intersection"&&(b!==a||!w))continue}o.push({index:d,matches:{...v,...g}})}return o}function useFilter(e,t,r,o){const i=ref([]),c=ref(new Map),a=computed(()=>o!=null&&o.transform?unref(t).map(d=>[d,o.transform(d)]):unref(t));watchEffect(()=>{const d=typeof r=="function"?r():unref(r),f=typeof d!="string"&&typeof d!="number"?"":String(d),m=filterItems(a.value,f,{customKeyFilter:{...e.customKeyFilter,...unref(o==null?void 0:o.customKeyFilter)},default:e.customFilter,filterKeys:e.filterKeys,filterMode:e.filterMode,noFilter:e.noFilter}),g=unref(t),v=[],y=new Map;m.forEach(w=>{let{index:b,matches:S}=w;const _=g[b];v.push(_),y.set(_.value,S)}),i.value=v,c.value=y});function u(d){return c.value.get(d.value)}return{filteredItems:i,filteredMatches:c,getMatches:u}}function highlightResult$1(e,t,r){if(t==null)return e;if(Array.isArray(t))throw new Error("Multiple matches is not implemented");return typeof t=="number"&&~t?createVNode(Fragment,null,[createVNode("span",{class:"v-combobox__unmask"},[e.substr(0,t)]),createVNode("span",{class:"v-combobox__mask"},[e.substr(t,r)]),createVNode("span",{class:"v-combobox__unmask"},[e.substr(t+r)])]):e}const makeVComboboxProps=propsFactory({autoSelectFirst:{type:[Boolean,String]},clearOnSelect:{type:Boolean,default:!0},delimiters:Array,...makeFilterProps({filterKeys:["title"]}),...makeSelectProps({hideNoData:!0,returnObject:!0}),...omit(makeVTextFieldProps({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...makeTransitionProps$1({transition:!1})},"VCombobox"),VCombobox=genericComponent()({name:"VCombobox",props:makeVComboboxProps(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,"update:search":e=>!0,"update:menu":e=>!0},setup(e,t){var he;let{emit:r,slots:o}=t;const{t:i}=useLocale(),c=ref(),a=shallowRef(!1),u=shallowRef(!0),d=shallowRef(!1),f=ref(),m=ref(),g=useProxiedModel(e,"menu"),v=computed({get:()=>g.value,set:G=>{var I;g.value&&!G&&((I=f.value)!=null&&I.ΨopenChildren)||(g.value=G)}}),y=shallowRef(-1);let w=!1;const b=computed(()=>{var G;return(G=c.value)==null?void 0:G.color}),S=computed(()=>v.value?e.closeText:e.openText),{items:_,transformIn:k,transformOut:C}=useItems(e),{textColorClasses:T,textColorStyles:x}=useTextColor(b),R=useProxiedModel(e,"modelValue",[],G=>k(wrapInArray(G)),G=>{const I=C(G);return e.multiple?I:I[0]??null}),O=useForm(),A=computed(()=>!!(e.chips||o.chip)),N=computed(()=>A.value||!!o.selection),E=shallowRef(!e.multiple&&!N.value?((he=R.value[0])==null?void 0:he.title)??"":""),P=computed({get:()=>E.value,set:G=>{var I;if(E.value=G??"",!e.multiple&&!N.value&&(R.value=[transformItem$1(e,G)]),G&&e.multiple&&((I=e.delimiters)!=null&&I.length)){const L=G.split(new RegExp(`(?:${e.delimiters.join("|")})+`));L.length>1&&(L.forEach(J=>{J=J.trim(),J&&q(transformItem$1(e,J))}),E.value="")}G||(y.value=-1),u.value=!G}}),V=computed(()=>typeof e.counterValue=="function"?e.counterValue(R.value):typeof e.counterValue=="number"?e.counterValue:e.multiple?R.value.length:P.value.length);watch(E,G=>{w?nextTick(()=>w=!1):a.value&&!v.value&&(v.value=!0),r("update:search",G)}),watch(R,G=>{var I;!e.multiple&&!N.value&&(E.value=((I=G[0])==null?void 0:I.title)??"")});const{filteredItems:D,getMatches:F}=useFilter(e,_,()=>u.value?"":P.value),B=computed(()=>e.hideSelected?D.value.filter(G=>!R.value.some(I=>I.value===G.value)):D.value),$=computed(()=>R.value.map(G=>G.value)),U=computed(()=>{var I;return(e.autoSelectFirst===!0||e.autoSelectFirst==="exact"&&P.value===((I=B.value[0])==null?void 0:I.title))&&B.value.length>0&&!u.value&&!d.value}),M=computed(()=>e.hideNoData&&!B.value.length||e.readonly||(O==null?void 0:O.isReadonly.value)),Z=ref(),{onListScroll:Q,onListKeydown:te}=useScrolling(Z,c);function W(G){w=!0,e.openOnClear&&(v.value=!0)}function j(){M.value||(v.value=!0)}function le(G){M.value||(a.value&&(G.preventDefault(),G.stopPropagation()),v.value=!v.value)}function me(G){var J;if(isComposingIgnoreKey(G)||e.readonly||O!=null&&O.isReadonly.value)return;const I=c.value.selectionStart,L=R.value.length;if((y.value>-1||["Enter","ArrowDown","ArrowUp"].includes(G.key))&&G.preventDefault(),["Enter","ArrowDown"].includes(G.key)&&(v.value=!0),["Escape"].includes(G.key)&&(v.value=!1),["Enter","Escape","Tab"].includes(G.key)&&(U.value&&["Enter","Tab"].includes(G.key)&&q(D.value[0]),u.value=!0),G.key==="ArrowDown"&&U.value&&((J=Z.value)==null||J.focus("next")),G.key==="Enter"&&P.value&&(q(transformItem$1(e,P.value)),N.value&&(E.value="")),["Backspace","Delete"].includes(G.key)){if(!e.multiple&&N.value&&R.value.length>0)return q(R.value[0],!1);if(y.value<0){G.key==="Backspace"&&!P.value&&(y.value=L-1);return}const X=y.value;q(R.value[y.value],!1),y.value=X>=L-1?L-2:X}if(e.multiple){if(G.key==="ArrowLeft"){if(y.value<0&&I>0)return;const X=y.value>-1?y.value-1:L-1;R.value[X]?y.value=X:(y.value=-1,c.value.setSelectionRange(P.value.length,P.value.length))}if(G.key==="ArrowRight"){if(y.value<0)return;const X=y.value+1;R.value[X]?y.value=X:(y.value=-1,c.value.setSelectionRange(0,0))}}}function ce(){var G;a.value&&(u.value=!0,(G=c.value)==null||G.focus())}function q(G){let I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(!(!G||G.props.disabled))if(e.multiple){const L=R.value.findIndex(X=>e.valueComparator(X.value,G.value)),J=I??!~L;if(~L){const X=J?[...R.value,G]:[...R.value];X.splice(L,1),R.value=X}else J&&(R.value=[...R.value,G]);e.clearOnSelect&&(P.value="")}else{const L=I!==!1;R.value=L?[G]:[],E.value=L&&!N.value?G.title:"",nextTick(()=>{v.value=!1,u.value=!0})}}function K(G){a.value=!0,setTimeout(()=>{d.value=!0})}function z(G){d.value=!1}function re(G){(G==null||G===""&&!e.multiple)&&(R.value=[])}return watch(a,(G,I)=>{if(!(G||G===I)){if(y.value=-1,v.value=!1,U.value&&!d.value&&!R.value.some(L=>{let{value:J}=L;return J===B.value[0].value})){q(B.value[0]);return}if(P.value){if(e.multiple){q(transformItem$1(e,P.value));return}if(!N.value)return;R.value.some(L=>{let{title:J}=L;return J===P.value})?E.value="":q(transformItem$1(e,P.value))}}}),watch(v,()=>{if(!e.hideSelected&&v.value&&R.value.length){const G=B.value.findIndex(I=>R.value.some(L=>e.valueComparator(L.value,I.value)));IN_BROWSER&&window.requestAnimationFrame(()=>{var I;G>=0&&((I=m.value)==null||I.scrollToIndex(G))})}}),watch(()=>e.items,(G,I)=>{v.value||a.value&&!I.length&&G.length&&(v.value=!0)}),useRender(()=>{const G=!!(!e.hideNoData||B.value.length||o["prepend-item"]||o["append-item"]||o["no-data"]),I=R.value.length>0,L=VTextField.filterProps(e);return createVNode(VTextField,mergeProps({ref:c},L,{modelValue:P.value,"onUpdate:modelValue":[J=>P.value=J,re],focused:a.value,"onUpdate:focused":J=>a.value=J,validationValue:R.externalValue,counterValue:V.value,dirty:I,class:["v-combobox",{"v-combobox--active-menu":v.value,"v-combobox--chips":!!e.chips,"v-combobox--selection-slot":!!N.value,"v-combobox--selecting-index":y.value>-1,[`v-combobox--${e.multiple?"multiple":"single"}`]:!0},e.class],style:e.style,readonly:e.readonly,placeholder:I?void 0:e.placeholder,"onClick:clear":W,"onMousedown:control":j,onKeydown:me}),{...o,default:()=>createVNode(Fragment,null,[createVNode(VMenu,mergeProps({ref:f,modelValue:v.value,"onUpdate:modelValue":J=>v.value=J,activator:"parent",contentClass:"v-combobox__content",disabled:M.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterLeave:ce},e.menuProps),{default:()=>[G&&createVNode(VList,mergeProps({ref:Z,selected:$.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:J=>J.preventDefault(),onKeydown:te,onFocusin:K,onFocusout:z,onScrollPassive:Q,tabindex:"-1","aria-live":"polite",color:e.itemColor??e.color},e.listProps),{default:()=>{var J,X,ee;return[(J=o["prepend-item"])==null?void 0:J.call(o),!B.value.length&&!e.hideNoData&&(((X=o["no-data"])==null?void 0:X.call(o))??createVNode(VListItem,{title:i(e.noDataText)},null)),createVNode(VVirtualScroll,{ref:m,renderless:!0,items:B.value},{default:ue=>{var ge;let{item:de,index:se,itemRef:pe}=ue;const ae=mergeProps(de.props,{ref:pe,key:se,active:U.value&&se===0?!0:void 0,onClick:()=>q(de,null)});return((ge=o.item)==null?void 0:ge.call(o,{item:de,index:se,props:ae}))??createVNode(VListItem,mergeProps(ae,{role:"option"}),{prepend:oe=>{let{isSelected:ie}=oe;return createVNode(Fragment,null,[e.multiple&&!e.hideSelected?createVNode(VCheckboxBtn,{key:de.value,modelValue:ie,ripple:!1,tabindex:"-1"},null):void 0,de.props.prependAvatar&&createVNode(VAvatar,{image:de.props.prependAvatar},null),de.props.prependIcon&&createVNode(VIcon,{icon:de.props.prependIcon},null)])},title:()=>{var oe,ie;return u.value?de.title:highlightResult$1(de.title,(oe=F(de))==null?void 0:oe.title,((ie=P.value)==null?void 0:ie.length)??0)}})}}),(ee=o["append-item"])==null?void 0:ee.call(o)]}})]}),R.value.map((J,X)=>{function ee(pe){pe.stopPropagation(),pe.preventDefault(),q(J,!1)}const ue={"onClick:close":ee,onMousedown(pe){pe.preventDefault(),pe.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0},de=A.value?!!o.chip:!!o.selection,se=de?ensureValidVNode(A.value?o.chip({item:J,index:X,props:ue}):o.selection({item:J,index:X})):void 0;if(!(de&&!se))return createVNode("div",{key:J.value,class:["v-combobox__selection",X===y.value&&["v-combobox__selection--selected",T.value]],style:X===y.value?x.value:{}},[A.value?o.chip?createVNode(VDefaultsProvider,{key:"chip-defaults",defaults:{VChip:{closable:e.closableChips,size:"small",text:J.title}}},{default:()=>[se]}):createVNode(VChip,mergeProps({key:"chip",closable:e.closableChips,size:"small",text:J.title,disabled:J.props.disabled},ue),null):se??createVNode("span",{class:"v-combobox__selection-text"},[J.title,e.multiple&&X<R.value.length-1&&createVNode("span",{class:"v-combobox__selection-comma"},[createTextVNode(",")])])])})]),"append-inner":function(){var ue;for(var J=arguments.length,X=new Array(J),ee=0;ee<J;ee++)X[ee]=arguments[ee];return createVNode(Fragment,null,[(ue=o["append-inner"])==null?void 0:ue.call(o,...X),(!e.hideNoData||e.items.length)&&e.menuIcon?createVNode(VIcon,{class:"v-combobox__menu-icon",icon:e.menuIcon,onMousedown:le,onClick:noop$1,"aria-label":i(S.value),title:i(S.value)},null):void 0])}})}),forwardRefs({isFocused:a,isPristine:u,menu:v,search:P,selectionIndex:y,filteredItems:D,select:q},c)}}),makeVTextareaProps=propsFactory({autoGrow:Boolean,autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,noResize:Boolean,rows:{type:[Number,String],default:5,validator:e=>!isNaN(parseFloat(e))},maxRows:{type:[Number,String],validator:e=>!isNaN(parseFloat(e))},suffix:String,modelModifiers:Object,...makeVInputProps(),...makeVFieldProps()},"VTextarea"),VTextarea=genericComponent()({name:"VTextarea",directives:{Intersect:Intersect$1},inheritAttrs:!1,props:makeVTextareaProps(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{attrs:r,emit:o,slots:i}=t;const c=useProxiedModel(e,"modelValue"),{isFocused:a,focus:u,blur:d}=useFocus(e),f=computed(()=>typeof e.counterValue=="function"?e.counterValue(c.value):(c.value||"").toString().length),m=computed(()=>{if(r.maxlength)return r.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter});function g(P,V){var D,F;!e.autofocus||!P||(F=(D=V[0].target)==null?void 0:D.focus)==null||F.call(D)}const v=ref(),y=ref(),w=shallowRef(""),b=ref(),S=computed(()=>e.persistentPlaceholder||a.value||e.active);function _(){var P;b.value!==document.activeElement&&((P=b.value)==null||P.focus()),a.value||u()}function k(P){_(),o("click:control",P)}function C(P){o("mousedown:control",P)}function T(P){P.stopPropagation(),_(),nextTick(()=>{c.value="",callEvent(e["onClick:clear"],P)})}function x(P){var D;const V=P.target;if(c.value=V.value,(D=e.modelModifiers)!=null&&D.trim){const F=[V.selectionStart,V.selectionEnd];nextTick(()=>{V.selectionStart=F[0],V.selectionEnd=F[1]})}}const R=ref(),O=ref(+e.rows),A=computed(()=>["plain","underlined"].includes(e.variant));watchEffect(()=>{e.autoGrow||(O.value=+e.rows)});function N(){e.autoGrow&&nextTick(()=>{if(!R.value||!y.value)return;const P=getComputedStyle(R.value),V=getComputedStyle(y.value.$el),D=parseFloat(P.getPropertyValue("--v-field-padding-top"))+parseFloat(P.getPropertyValue("--v-input-padding-top"))+parseFloat(P.getPropertyValue("--v-field-padding-bottom")),F=R.value.scrollHeight,B=parseFloat(P.lineHeight),$=Math.max(parseFloat(e.rows)*B+D,parseFloat(V.getPropertyValue("--v-input-control-height"))),U=parseFloat(e.maxRows)*B+D||1/0,M=clamp(F??0,$,U);O.value=Math.floor((M-D)/B),w.value=convertToUnit(M)})}onMounted(N),watch(c,N),watch(()=>e.rows,N),watch(()=>e.maxRows,N),watch(()=>e.density,N);let E;return watch(R,P=>{P?(E=new ResizeObserver(N),E.observe(R.value)):E==null||E.disconnect()}),onBeforeUnmount(()=>{E==null||E.disconnect()}),useRender(()=>{const P=!!(i.counter||e.counter||e.counterValue),V=!!(P||i.details),[D,F]=filterInputAttrs(r),{modelValue:B,...$}=VInput.filterProps(e),U=filterFieldProps(e);return createVNode(VInput,mergeProps({ref:v,modelValue:c.value,"onUpdate:modelValue":M=>c.value=M,class:["v-textarea v-text-field",{"v-textarea--prefixed":e.prefix,"v-textarea--suffixed":e.suffix,"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-textarea--auto-grow":e.autoGrow,"v-textarea--no-resize":e.noResize||e.autoGrow,"v-input--plain-underlined":A.value},e.class],style:e.style},D,$,{centerAffix:O.value===1&&!A.value,focused:a.value}),{...i,default:M=>{let{id:Z,isDisabled:Q,isDirty:te,isReadonly:W,isValid:j}=M;return createVNode(VField,mergeProps({ref:y,style:{"--v-textarea-control-height":w.value},onClick:k,onMousedown:C,"onClick:clear":T,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"]},U,{id:Z.value,active:S.value||te.value,centerAffix:O.value===1&&!A.value,dirty:te.value||e.dirty,disabled:Q.value,focused:a.value,error:j.value===!1}),{...i,default:le=>{let{props:{class:me,...ce}}=le;return createVNode(Fragment,null,[e.prefix&&createVNode("span",{class:"v-text-field__prefix"},[e.prefix]),withDirectives(createVNode("textarea",mergeProps({ref:b,class:me,value:c.value,onInput:x,autofocus:e.autofocus,readonly:W.value,disabled:Q.value,placeholder:e.placeholder,rows:e.rows,name:e.name,onFocus:_,onBlur:d},ce,F),null),[[resolveDirective("intersect"),{handler:g},null,{once:!0}]]),e.autoGrow&&withDirectives(createVNode("textarea",{class:[me,"v-textarea__sizer"],id:`${ce.id}-sizer`,"onUpdate:modelValue":q=>c.value=q,ref:R,readonly:!0,"aria-hidden":"true"},null),[[vModelText,c.value]]),e.suffix&&createVNode("span",{class:"v-text-field__suffix"},[e.suffix])])}})},details:V?M=>{var Z;return createVNode(Fragment,null,[(Z=i.details)==null?void 0:Z.call(i,M),P&&createVNode(Fragment,null,[createVNode("span",null,null),createVNode(VCounter,{active:e.persistentCounter||a.value,value:f.value,max:m.value},i.counter)])])}:void 0})}),forwardRefs({},v,y,b)}});function _sfc_render$1(e,t,r,o,i,c){const a=resolveComponent("step-editor");return openBlock(),createElementBlock(Fragment,null,[createVNode(VContainer,null,{default:withCtx(()=>[createVNode(VRow,null,{default:withCtx(()=>[createVNode(VCol,null,{default:withCtx(()=>[createVNode(VCard,null,{default:withCtx(()=>[createVNode(VCardTitle,null,{default:withCtx(()=>[createTextVNode(toDisplayString(e.recipe.name),1)]),_:1}),createVNode(VCardText,null,{default:withCtx(()=>[createVNode(VForm,null,{default:withCtx(()=>[createVNode(VTextField,{label:"Name",modelValue:e.recipe.name,"onUpdate:modelValue":t[0]||(t[0]=u=>e.recipe.name=u)},null,8,["modelValue"]),createVNode(VTextarea,{label:"Description",modelValue:e.recipe.description,"onUpdate:modelValue":t[1]||(t[1]=u=>e.recipe.description=u),clearable:""},null,8,["modelValue"]),createVNode(VCombobox,{label:"Keywords",modelValue:e.recipe.keywords,"onUpdate:modelValue":t[2]||(t[2]=u=>e.recipe.keywords=u),items:e.keywords,"item-title":"name",multiple:"",clearable:"",chips:""},null,8,["modelValue","items"]),createVNode(VRow,null,{default:withCtx(()=>[createVNode(VCol,null,{default:withCtx(()=>[createVNode(VTextField,{modelValue:e.recipe.waitingTime,"onUpdate:modelValue":t[3]||(t[3]=u=>e.recipe.waitingTime=u),modelModifiers:{number:!0},label:"Waiting Time (min)"},null,8,["modelValue"])]),_:1}),createVNode(VCol,null,{default:withCtx(()=>[createVNode(VTextField,{modelValue:e.recipe.workingTime,"onUpdate:modelValue":t[4]||(t[4]=u=>e.recipe.workingTime=u),modelModifiers:{number:!0},label:"Working Time (min)"},null,8,["modelValue"])]),_:1})]),_:1}),createVNode(VRow,null,{default:withCtx(()=>[createVNode(VCol,null,{default:withCtx(()=>[createVNode(VTextField,{modelValue:e.recipe.servings,"onUpdate:modelValue":t[5]||(t[5]=u=>e.recipe.servings=u),modelModifiers:{number:!0},label:"Servings"},null,8,["modelValue"])]),_:1}),createVNode(VCol,null,{default:withCtx(()=>[createVNode(VTextField,{modelValue:e.recipe.servingsText,"onUpdate:modelValue":t[6]||(t[6]=u=>e.recipe.servingsText=u),label:"Servings Text"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),(openBlock(!0),createElementBlock(Fragment,null,renderList(e.recipe.steps,(u,d)=>(openBlock(),createBlock(VRow,{class:"mt-1"},{default:withCtx(()=>[createVNode(VCol,null,{default:withCtx(()=>[createVNode(a,{modelValue:e.recipe.steps[d],"onUpdate:modelValue":f=>e.recipe.steps[d]=f,"step-index":d},null,8,["modelValue","onUpdate:modelValue","step-index"])]),_:2},1024)]),_:2},1024))),256))]),_:1}),createVNode(VBtn,{onClick:t[7]||(t[7]=u=>e.updateRecipe())},{default:withCtx(()=>[createTextVNode("Save")]),_:1}),createVNode(VBtn,{to:{name:"view_recipe",params:{id:e.recipe_id}}},{default:withCtx(()=>[createTextVNode("View")]),_:1},8,["to"])],64)}const RecipeEditPage=_export_sfc(_sfc_main$1,[["render",_sfc_render$1]]),_sfc_main=defineComponent$1({name:"MealPlanPage",components:{ModelSelect:_sfc_main$3,RecipeCard},data(){return{recipe:{},recipe_not_loaded:{}}},mounted(){new ApiApi().apiRecipeList({pageSize:1}).then(t=>{t.results&&(this.recipe=t.results[0])})}});function highlightResult(e,t,r){if(t==null)return e;if(Array.isArray(t))throw new Error("Multiple matches is not implemented");return typeof t=="number"&&~t?createVNode(Fragment,null,[createVNode("span",{class:"v-autocomplete__unmask"},[e.substr(0,t)]),createVNode("span",{class:"v-autocomplete__mask"},[e.substr(t,r)]),createVNode("span",{class:"v-autocomplete__unmask"},[e.substr(t+r)])]):e}const makeVAutocompleteProps=propsFactory({autoSelectFirst:{type:[Boolean,String]},clearOnSelect:Boolean,search:String,...makeFilterProps({filterKeys:["title"]}),...makeSelectProps(),...omit(makeVTextFieldProps({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...makeTransitionProps$1({transition:!1})},"VAutocomplete"),VAutocomplete=genericComponent()({name:"VAutocomplete",props:makeVAutocompleteProps(),emits:{"update:focused":e=>!0,"update:search":e=>!0,"update:modelValue":e=>!0,"update:menu":e=>!0},setup(e,t){let{slots:r}=t;const{t:o}=useLocale(),i=ref(),c=shallowRef(!1),a=shallowRef(!0),u=shallowRef(!1),d=ref(),f=ref(),m=useProxiedModel(e,"menu"),g=computed({get:()=>m.value,set:re=>{var he;m.value&&!re&&((he=d.value)!=null&&he.ΨopenChildren)||(m.value=re)}}),v=shallowRef(-1),y=computed(()=>{var re;return(re=i.value)==null?void 0:re.color}),w=computed(()=>g.value?e.closeText:e.openText),{items:b,transformIn:S,transformOut:_}=useItems(e),{textColorClasses:k,textColorStyles:C}=useTextColor(y),T=useProxiedModel(e,"search",""),x=useProxiedModel(e,"modelValue",[],re=>S(re===null?[null]:wrapInArray(re)),re=>{const he=_(re);return e.multiple?he:he[0]??null}),R=computed(()=>typeof e.counterValue=="function"?e.counterValue(x.value):typeof e.counterValue=="number"?e.counterValue:x.value.length),O=useForm(),{filteredItems:A,getMatches:N}=useFilter(e,b,()=>a.value?"":T.value),E=computed(()=>e.hideSelected?A.value.filter(re=>!x.value.some(he=>he.value===re.value)):A.value),P=computed(()=>!!(e.chips||r.chip)),V=computed(()=>P.value||!!r.selection),D=computed(()=>x.value.map(re=>re.props.value)),F=computed(()=>{var he;return(e.autoSelectFirst===!0||e.autoSelectFirst==="exact"&&T.value===((he=E.value[0])==null?void 0:he.title))&&E.value.length>0&&!a.value&&!u.value}),B=computed(()=>e.hideNoData&&!E.value.length||e.readonly||(O==null?void 0:O.isReadonly.value)),$=ref(),{onListScroll:U,onListKeydown:M}=useScrolling($,i);function Z(re){e.openOnClear&&(g.value=!0),T.value=""}function Q(){B.value||(g.value=!0)}function te(re){B.value||(c.value&&(re.preventDefault(),re.stopPropagation()),g.value=!g.value)}function W(re){var I,L,J;if(e.readonly||O!=null&&O.isReadonly.value)return;const he=i.value.selectionStart,G=x.value.length;if((v.value>-1||["Enter","ArrowDown","ArrowUp"].includes(re.key))&&re.preventDefault(),["Enter","ArrowDown"].includes(re.key)&&(g.value=!0),["Escape"].includes(re.key)&&(g.value=!1),F.value&&["Enter","Tab"].includes(re.key)&&z(E.value[0]),re.key==="ArrowDown"&&F.value&&((I=$.value)==null||I.focus("next")),["Backspace","Delete"].includes(re.key)){if(!e.multiple&&V.value&&x.value.length>0)return z(x.value[0],!1);if(v.value<0){re.key==="Backspace"&&!T.value&&(v.value=G-1);return}const X=v.value;z(x.value[v.value],!1),v.value=X>=G-1?G-2:X}if(e.multiple){if(re.key==="ArrowLeft"){if(v.value<0&&he>0)return;const X=v.value>-1?v.value-1:G-1;x.value[X]?v.value=X:(v.value=-1,i.value.setSelectionRange((L=T.value)==null?void 0:L.length,(J=T.value)==null?void 0:J.length))}if(re.key==="ArrowRight"){if(v.value<0)return;const X=v.value+1;x.value[X]?v.value=X:(v.value=-1,i.value.setSelectionRange(0,0))}}}function j(re){if(matchesSelector(i.value,":autofill")||matchesSelector(i.value,":-webkit-autofill")){const he=b.value.find(G=>G.title===re.target.value);he&&z(he)}}function le(){var re;c.value&&(a.value=!0,(re=i.value)==null||re.focus())}function me(re){c.value=!0,setTimeout(()=>{u.value=!0})}function ce(re){u.value=!1}function q(re){(re==null||re===""&&!e.multiple)&&(x.value=[])}const K=shallowRef(!1);function z(re){let he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(!(!re||re.props.disabled))if(e.multiple){const G=x.value.findIndex(L=>e.valueComparator(L.value,re.value)),I=he??!~G;if(~G){const L=I?[...x.value,re]:[...x.value];L.splice(G,1),x.value=L}else I&&(x.value=[...x.value,re]);e.clearOnSelect&&(T.value="")}else{const G=he!==!1;x.value=G?[re]:[],T.value=G&&!V.value?re.title:"",nextTick(()=>{g.value=!1,a.value=!0})}}return watch(c,(re,he)=>{var G;re!==he&&(re?(K.value=!0,T.value=e.multiple||V.value?"":String(((G=x.value.at(-1))==null?void 0:G.props.title)??""),a.value=!0,nextTick(()=>K.value=!1)):(!e.multiple&&T.value==null?x.value=[]:F.value&&!u.value&&!x.value.some(I=>{let{value:L}=I;return L===E.value[0].value})&&z(E.value[0]),g.value=!1,T.value="",v.value=-1))}),watch(T,re=>{!c.value||K.value||(re&&(g.value=!0),a.value=!re)}),watch(g,()=>{if(!e.hideSelected&&g.value&&x.value.length){const re=E.value.findIndex(he=>x.value.some(G=>he.value===G.value));IN_BROWSER&&window.requestAnimationFrame(()=>{var he;re>=0&&((he=f.value)==null||he.scrollToIndex(re))})}}),watch(()=>e.items,(re,he)=>{g.value||c.value&&!he.length&&re.length&&(g.value=!0)}),useRender(()=>{const re=!!(!e.hideNoData||E.value.length||r["prepend-item"]||r["append-item"]||r["no-data"]),he=x.value.length>0,G=VTextField.filterProps(e);return createVNode(VTextField,mergeProps({ref:i},G,{modelValue:T.value,"onUpdate:modelValue":[I=>T.value=I,q],focused:c.value,"onUpdate:focused":I=>c.value=I,validationValue:x.externalValue,counterValue:R.value,dirty:he,onChange:j,class:["v-autocomplete",`v-autocomplete--${e.multiple?"multiple":"single"}`,{"v-autocomplete--active-menu":g.value,"v-autocomplete--chips":!!e.chips,"v-autocomplete--selection-slot":!!V.value,"v-autocomplete--selecting-index":v.value>-1},e.class],style:e.style,readonly:e.readonly,placeholder:he?void 0:e.placeholder,"onClick:clear":Z,"onMousedown:control":Q,onKeydown:W}),{...r,default:()=>createVNode(Fragment,null,[createVNode(VMenu,mergeProps({ref:d,modelValue:g.value,"onUpdate:modelValue":I=>g.value=I,activator:"parent",contentClass:"v-autocomplete__content",disabled:B.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterLeave:le},e.menuProps),{default:()=>[re&&createVNode(VList,mergeProps({ref:$,selected:D.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:I=>I.preventDefault(),onKeydown:M,onFocusin:me,onFocusout:ce,onScrollPassive:U,tabindex:"-1","aria-live":"polite",color:e.itemColor??e.color},e.listProps),{default:()=>{var I,L,J;return[(I=r["prepend-item"])==null?void 0:I.call(r),!E.value.length&&!e.hideNoData&&(((L=r["no-data"])==null?void 0:L.call(r))??createVNode(VListItem,{title:o(e.noDataText)},null)),createVNode(VVirtualScroll,{ref:f,renderless:!0,items:E.value},{default:X=>{var pe;let{item:ee,index:ue,itemRef:de}=X;const se=mergeProps(ee.props,{ref:de,key:ue,active:F.value&&ue===0?!0:void 0,onClick:()=>z(ee,null)});return((pe=r.item)==null?void 0:pe.call(r,{item:ee,index:ue,props:se}))??createVNode(VListItem,mergeProps(se,{role:"option"}),{prepend:ae=>{let{isSelected:ge}=ae;return createVNode(Fragment,null,[e.multiple&&!e.hideSelected?createVNode(VCheckboxBtn,{key:ee.value,modelValue:ge,ripple:!1,tabindex:"-1"},null):void 0,ee.props.prependAvatar&&createVNode(VAvatar,{image:ee.props.prependAvatar},null),ee.props.prependIcon&&createVNode(VIcon,{icon:ee.props.prependIcon},null)])},title:()=>{var ae,ge;return a.value?ee.title:highlightResult(ee.title,(ae=N(ee))==null?void 0:ae.title,((ge=T.value)==null?void 0:ge.length)??0)}})}}),(J=r["append-item"])==null?void 0:J.call(r)]}})]}),x.value.map((I,L)=>{function J(de){de.stopPropagation(),de.preventDefault(),z(I,!1)}const X={"onClick:close":J,onMousedown(de){de.preventDefault(),de.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0},ee=P.value?!!r.chip:!!r.selection,ue=ee?ensureValidVNode(P.value?r.chip({item:I,index:L,props:X}):r.selection({item:I,index:L})):void 0;if(!(ee&&!ue))return createVNode("div",{key:I.value,class:["v-autocomplete__selection",L===v.value&&["v-autocomplete__selection--selected",k.value]],style:L===v.value?C.value:{}},[P.value?r.chip?createVNode(VDefaultsProvider,{key:"chip-defaults",defaults:{VChip:{closable:e.closableChips,size:"small",text:I.title}}},{default:()=>[ue]}):createVNode(VChip,mergeProps({key:"chip",closable:e.closableChips,size:"small",text:I.title,disabled:I.props.disabled},X),null):ue??createVNode("span",{class:"v-autocomplete__selection-text"},[I.title,e.multiple&&L<x.value.length-1&&createVNode("span",{class:"v-autocomplete__selection-comma"},[createTextVNode(",")])])])})]),"append-inner":function(){var X;for(var I=arguments.length,L=new Array(I),J=0;J<I;J++)L[J]=arguments[J];return createVNode(Fragment,null,[(X=r["append-inner"])==null?void 0:X.call(r,...L),e.menuIcon?createVNode(VIcon,{class:"v-autocomplete__menu-icon",icon:e.menuIcon,onMousedown:te,onClick:noop$1,"aria-label":o(w.value),title:o(w.value)},null):void 0])}})}),forwardRefs({isFocused:c,isPristine:a,menu:g,search:T,filteredItems:A,select:z},i)}});function _sfc_render(e,t,r,o,i,c){const a=resolveComponent("model-select"),u=resolveComponent("recipe-card");return openBlock(),createBlock(VContainer,null,{default:withCtx(()=>[createVNode(VRow,null,{default:withCtx(()=>[createVNode(VCol,null,{default:withCtx(()=>[createVNode(VCard,null,{default:withCtx(()=>[createVNode(VCardText,null,{default:withCtx(()=>[createTextVNode(" multiple food "),createVNode(a,{model:"Food","allow-create":"",clearable:""}),createTextVNode(" single food "),createVNode(a,{model:"Food",multiple:!1,"allow-create":"",clearable:""}),createTextVNode(" multiple keyowrd "),createVNode(a,{model:"Keyword","allow-create":"",clearable:""}),createVNode(VAutocomplete)]),_:1})]),_:1})]),_:1})]),_:1}),createVNode(VRow,null,{default:withCtx(()=>[createVNode(VCol,null,{default:withCtx(()=>[createVNode(u,{recipe:e.recipe},null,8,["recipe"])]),_:1}),createVNode(VCol,null,{default:withCtx(()=>[createVNode(u,{recipe:e.recipe_not_loaded,loading:!0},null,8,["recipe"])]),_:1})]),_:1})]),_:1})}const MealPlanPage=_export_sfc(_sfc_main,[["render",_sfc_render]]),routes=[{path:"/",redirect:"/search",name:"index"},{path:"/search",component:RecipeSearchPage,name:"view_search"},{path:"/shopping",component:ShoppingListPage,name:"view_shopping"},{path:"/mealplan",component:MealPlanPage,name:"view_mealplan"},{path:"/books",component:ShoppingListPage,name:"view_books"},{path:"/recipe/:id",component:RecipeViewPage,name:"view_recipe",props:!0},{path:"/recipe/edit/:recipe_id",component:RecipeEditPage,name:"edit_recipe",props:!0}],router=createRouter({history:createWebHashHistory(),routes}),app=createApp(App);app.use(createPinia());app.use(vuetify);app.use(router);app.use(luxonPlugin);app.use(mavonEditor);app.mount("#app");