Files
dockerStuff/config/tandoor/staticfiles/vue3/assets/main-BhFWIRV_.7b6b010dbb97.js
2025-11-16 21:46:46 +00:00

1981 lines
1.6 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.
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./FoodEditor-3gejC5zm.js","./useModelEditorFunctions-Du2kfr61.js","./DeleteConfirmDialog.vue_vue_type_script_setup_true_lang-C6y9GBNB.js","./PropertiesEditor.vue_vue_type_script_setup_true_lang-nI_GsYpC.js","./FdcSearchDialog.vue_vue_type_script_setup_true_lang-C-bx54-t.js","./fdc-CkSQIsAv.js","./HierarchyEditor.vue_vue_type_script_setup_true_lang-VFBtIeub.js","./VListItemAction-BR9wagZD.js","./HierarchyEditor-iHBLPXCx.css","./VTabs-BQFRhgOd.js","./VTabs-Bv8FUb0o.css","./VTextarea-Dyu7dPGe.js","./VTextarea-BTR7f0gW.css","./UnitEditor-DgXFUq4e.js","./KeywordEditor-B_K-9QDF.js","./RecipeEditor-Z3qd3Db3.js","./step_utils-C0FnMRXv.js","./model_utils-CVQgSPL_.js","./VSwitch-BzI8Cngm.js","./VSwitch-Mm7Rd7At.css","./useFileApi-4KcBp6Fj.js","./ClosableHelpAlert.vue_vue_type_script_setup_true_lang-Bq7D6yIF.js","./VFileUpload-DmaEfjuX.js","./fileDrop-BjiZTCss.js","./VFileUpload-BVkHABkL.css","./RecipeEditor-DEQYHWxs.css","./MealTypeEditor-CeNz0Pzn.js","./VColorPicker-DN5Oz5I8.js","./VColorPicker-C1f4VLsZ.css","./MealTypeEditor-DBVmorf5.css","./MealPlanEditor-8ZJIBqi6.js","./RecipeCard-ZQiVryVZ.js","./KeywordsBar.vue_vue_type_script_setup_true_lang-9vWdzSaj.js","./PrivateRecipeBadge.vue_vue_type_script_setup_true_lang-CuYHMwhT.js","./BtnCopy.vue_vue_type_script_setup_true_lang-B_1A58TG.js","./VTooltip-CP00KBBq.js","./VTooltip-Czf-fUM7.css","./AddToShoppingDialog.vue_vue_type_script_setup_true_lang-ByrmCw9F.js","./number_utils-1sJWKMUK.js","./number_utils-RsCANmDP.css","./AddToShoppingDialog-BlK8uFkX.css","./RecipeCard-rQ-GRttr.css","./ShoppingListEntryInput.vue_vue_type_style_index_1_lang-DiO3wd3y.js","./ShoppingListEntryInput-gUOw6bx_.css","./RecipeBookEditor-Bfg_IQG9.js","./VDataTableServer-PUUq4Eqa.js","./CustomFilterEditor-CLji5GA1.js","./SupermarketEditor-DNtaUxLT.js","./SupermarketEditor.vue_vue_type_script_setup_true_lang-DaKxST5A.js","./SupermarketCategoryEditor-CEyiKvko.js","./ShoppingListEntryEditor-BO9U6pqW.js","./PropertyTypeEditor-g4a-YJm5.js","./VAutocomplete-b809Bykv.js","./VAutocomplete-hzGuLlUI.css","./PropertyEditor-BAth2eIg.js","./UnitConversionEditor-D05heADw.js","./UserFileEditor-DKIOLwh6.js","./AutomationEditor-CpKec65v.js","./CookLogEditor-DASldgxP.js","./VRating-BGFrV4il.js","./VRating-DXAcz2oI.css","./AccessTokenEditor-XW2vIaqd.js","./UserSpaceEditor-BmTIwJyp.js","./InviteLinkEditor-CVYwkQ1F.js","./SpaceEditor-BVY5PqRN.js","./SpaceEditor.vue_vue_type_script_setup_true_lang-BWOLGWRZ.js","./SpaceEditor-Dwzvf-gD.css","./StorageEditor-Bh3NIW08.js","./SyncEditor-Dx5MYHUU.js","./ConnectorConfigEditor-Csg2P1sE.js","./AiProviderEditor-DzRhWxiT.js","./AiProviderEditor-D3yUbBJX.css","./StartPage-CQln-PMM.js","./WelcomePage-DtDFi2zH.js","./OpenDataImportSettings.vue_vue_type_script_setup_true_lang-DCLFRok1.js","./VStepper-lPKDXqVi.js","./VStepper-CIVMPw6C.css","./AccountSettings-ZDlmay-5.js","./logo_color-BwefLr6I.js","./CosmeticSettings-CLYHAOXx.js","./SpaceSettings-sHmxWilN.js","./OpenDataImportSettings-CAAW1WFm.js","./ExportDataSettings-DvEaRn4n.js","./integration_utils-sX7uYpAT.js","./ApiSettings-Ne4Z0qVl.js","./DatabaseLinkCol.vue_vue_type_script_setup_true_lang-Bnq1B2KL.js","./SearchPage-DRMC5092.js","./BatchDeleteDialog.vue_vue_type_script_setup_true_lang-D0heUVsC.js","./SearchPage-C45eZpxy.css","./ShoppingListPage-B_cxskGt.js","./NumberScalerDialog.vue_vue_type_script_setup_true_lang-BKqLc88N.js","./BookViewPage-B02kp2SW.js","./IngredientsTable.vue_vue_type_script_setup_true_lang-ClY6kQB1.js","./RecipeImportPage-DvlxImUu.js","./RecipeViewPage-CDj_dH5L.js","./RecipeViewPage-CM8b9YNn.css","./ModelListPage-kwiBvRmX.js","./ModelMergeDialog.vue_vue_type_script_setup_true_lang-BaAGJhdt.js","./ModelDeletePage-C4erPWw9.js","./DatabasePage-WBAB7B7z.js","./IngredientEditorPage-C6Hu5jvm.js","./PropertyEditorPage-DFfeym2k.js"])))=>i.map(i=>d[i]);
const scriptRel="modulepreload",assetsURL=function(e,t){return new URL(e,t).href},seen$2={},__vitePreload=function(t,r,i){let a=Promise.resolve();if(r&&r.length>0){let m=function(y){return Promise.all(y.map(v=>Promise.resolve(v).then(w=>({status:"fulfilled",value:w}),w=>({status:"rejected",reason:w}))))};const u=document.getElementsByTagName("link"),d=document.querySelector("meta[property=csp-nonce]"),f=d?.nonce||d?.getAttribute("nonce");a=m(r.map(y=>{if(y=assetsURL(y,i),y in seen$2)return;seen$2[y]=!0;const v=y.endsWith(".css"),w=v?'[rel="stylesheet"]':"";if(!!i)for(let b=u.length-1;b>=0;b--){const k=u[b];if(k.href===y&&(!v||k.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${y}"]${w}`))return;const S=document.createElement("link");if(S.rel=v?"stylesheet":scriptRel,v||(S.as="script"),S.crossOrigin="",S.href=y,f&&S.setAttribute("nonce",f),document.head.appendChild(S),v)return new Promise((b,k)=>{S.addEventListener("load",b),S.addEventListener("error",()=>k(new Error(`Unable to preload CSS for ${y}`)))})}))}function c(u){const d=new Event("vite:preloadError",{cancelable:!0});if(d.payload=u,window.dispatchEvent(d),!d.defaultPrevented)throw u}return a.then(u=>{for(const d of u||[])d.status==="rejected"&&c(d.reason);return t().catch(c)})};/**
* @vue/shared v3.5.17
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**//*! #__NO_SIDE_EFFECTS__ */function makeMap(e){const t=Object.create(null);for(const r of e.split(","))t[r]=1;return r=>r in t}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=Object.assign,remove=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},hasOwnProperty$3=Object.prototype.hasOwnProperty,hasOwn$1=(e,t)=>hasOwnProperty$3.call(e,t),isArray$2=Array.isArray,isMap=e=>toTypeString$1(e)==="[object Map]",isSet=e=>toTypeString$1(e)==="[object Set]",isDate$2=e=>toTypeString$1(e)==="[object Date]",isRegExp$1=e=>toTypeString$1(e)==="[object RegExp]",isFunction$1=e=>typeof e=="function",isString$2=e=>typeof e=="string",isSymbol=e=>typeof e=="symbol",isObject$4=e=>e!==null&&typeof e=="object",isPromise$1=e=>(isObject$4(e)||isFunction$1(e))&&isFunction$1(e.then)&&isFunction$1(e.catch),objectToString$1=Object.prototype.toString,toTypeString$1=e=>objectToString$1.call(e),toRawType=e=>toTypeString$1(e).slice(8,-1),isPlainObject$3=e=>toTypeString$1(e)==="[object Object]",isIntegerKey=e=>isString$2(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,isReservedProp=makeMap(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),isBuiltInDirective=makeMap("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),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$1=cacheStringFunction(e=>e.charAt(0).toUpperCase()+e.slice(1)),toHandlerKey=cacheStringFunction(e=>e?`on${capitalize$1(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,i=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:i,value:r})},looseToNumber=e=>{const t=parseFloat(e);return isNaN(t)?e:t},toNumber=e=>{const t=isString$2(e)?Number(e):NaN;return isNaN(t)?e:t};let _globalThis$1;const getGlobalThis$1=()=>_globalThis$1||(_globalThis$1=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function genCacheKey(e,t){return e+JSON.stringify(t,(r,i)=>typeof i=="function"?i.toString():i)}const 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,Symbol",isGloballyAllowed=makeMap(GLOBALS_ALLOWED);function normalizeStyle(e){if(isArray$2(e)){const t={};for(let r=0;r<e.length;r++){const i=e[r],a=isString$2(i)?parseStringStyle(i):normalizeStyle(i);if(a)for(const c in a)t[c]=a[c]}return t}else if(isString$2(e)||isObject$4(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 i=r.split(propertyDelimiterRE);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function normalizeClass(e){let t="";if(isString$2(e))t=e;else if(isArray$2(e))for(let r=0;r<e.length;r++){const i=normalizeClass(e[r]);i&&(t+=i+" ")}else if(isObject$4(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$2(t)&&(e.class=normalizeClass(t)),r&&(e.style=normalizeStyle(r)),e}const HTML_TAGS="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",SVG_TAGS="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",MATH_TAGS="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",VOID_TAGS="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",isHTMLTag=makeMap(HTML_TAGS),isSVGTag=makeMap(SVG_TAGS),isMathMLTag=makeMap(MATH_TAGS),isVoidTag=makeMap(VOID_TAGS),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 i=0;r&&i<e.length;i++)r=looseEqual(e[i],t[i]);return r}function looseEqual(e,t){if(e===t)return!0;let r=isDate$2(e),i=isDate$2(t);if(r||i)return r&&i?e.getTime()===t.getTime():!1;if(r=isSymbol(e),i=isSymbol(t),r||i)return e===t;if(r=isArray$2(e),i=isArray$2(t),r||i)return r&&i?looseCompareArrays(e,t):!1;if(r=isObject$4(e),i=isObject$4(t),r||i){if(!r||!i)return!1;const a=Object.keys(e).length,c=Object.keys(t).length;if(a!==c)return!1;for(const u in e){const d=e.hasOwnProperty(u),f=t.hasOwnProperty(u);if(d&&!f||!d&&f||!looseEqual(e[u],t[u]))return!1}}return String(e)===String(t)}function looseIndexOf(e,t){return e.findIndex(r=>looseEqual(r,t))}const isRef$1=e=>!!(e&&e.__v_isRef===!0),toDisplayString$1=e=>isString$2(e)?e:e==null?"":isArray$2(e)||isObject$4(e)&&(e.toString===objectToString$1||!isFunction$1(e.toString))?isRef$1(e)?toDisplayString$1(e.value):JSON.stringify(e,replacer,2):String(e),replacer=(e,t)=>isRef$1(t)?replacer(e,t.value):isMap(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[i,a],c)=>(r[stringifySymbol(i,c)+" =>"]=a,r),{})}:isSet(t)?{[`Set(${t.size})`]:[...t.values()].map(r=>stringifySymbol(r))}:isSymbol(t)?stringifySymbol(t):isObject$4(t)&&!isArray$2(t)&&!isPlainObject$3(t)?String(t):t,stringifySymbol=(e,t="")=>{var r;return isSymbol(e)?`Symbol(${(r=e.description)!=null?r:t})`:e};/**
* @vue/reactivity v3.5.17
* (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._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=activeEffectScope,!t&&activeEffectScope&&(this.index=(activeEffectScope.scopes||(activeEffectScope.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,r;if(this.scopes)for(t=0,r=this.scopes.length;t<r;t++)this.scopes[t].pause();for(t=0,r=this.effects.length;t<r;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,r;if(this.scopes)for(t=0,r=this.scopes.length;t<r;t++)this.scopes[t].resume();for(t=0,r=this.effects.length;t<r;t++)this.effects[t].resume()}}run(t){if(this._active){const r=activeEffectScope;try{return activeEffectScope=this,t()}finally{activeEffectScope=r}}}on(){++this._on===1&&(this.prevScope=activeEffectScope,activeEffectScope=this)}off(){this._on>0&&--this._on===0&&(activeEffectScope=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let r,i;for(r=0,i=this.effects.length;r<i;r++)this.effects[r].stop();for(this.effects.length=0,r=0,i=this.cleanups.length;r<i;r++)this.cleanups[r]();if(this.cleanups.length=0,this.scopes){for(r=0,i=this.scopes.length;r<i;r++)this.scopes[r].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const a=this.parent.scopes.pop();a&&a!==this&&(this.parent.scopes[this.index]=a,a.index=this.index)}this.parent=void 0}}}function effectScope(e){return new EffectScope(e)}function getCurrentScope(){return activeEffectScope}function onScopeDispose(e,t=!1){activeEffectScope&&activeEffectScope.cleanups.push(e)}let activeSub;const pausedQueueEffects=new WeakSet;class ReactiveEffect{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,activeEffectScope&&activeEffectScope.active&&activeEffectScope.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,pausedQueueEffects.has(this)&&(pausedQueueEffects.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||batch(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,cleanupEffect(this),prepareDeps(this);const t=activeSub,r=shouldTrack;activeSub=this,shouldTrack=!0;try{return this.fn()}finally{cleanupDeps(this),activeSub=t,shouldTrack=r,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)removeSub(t);this.deps=this.depsTail=void 0,cleanupEffect(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?pausedQueueEffects.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){isDirty(this)&&this.run()}get dirty(){return isDirty(this)}}let batchDepth=0,batchedSub,batchedComputed;function batch(e,t=!1){if(e.flags|=8,t){e.next=batchedComputed,batchedComputed=e;return}e.next=batchedSub,batchedSub=e}function startBatch(){batchDepth++}function endBatch(){if(--batchDepth>0)return;if(batchedComputed){let t=batchedComputed;for(batchedComputed=void 0;t;){const r=t.next;t.next=void 0,t.flags&=-9,t=r}}let e;for(;batchedSub;){let t=batchedSub;for(batchedSub=void 0;t;){const r=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(i){e||(e=i)}t=r}}if(e)throw e}function prepareDeps(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function cleanupDeps(e){let t,r=e.depsTail,i=r;for(;i;){const a=i.prevDep;i.version===-1?(i===r&&(r=a),removeSub(i),removeDep(i)):t=i,i.dep.activeLink=i.prevActiveLink,i.prevActiveLink=void 0,i=a}e.deps=t,e.depsTail=r}function isDirty(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(refreshComputed(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function refreshComputed(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===globalVersion)||(e.globalVersion=globalVersion,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!isDirty(e))))return;e.flags|=2;const t=e.dep,r=activeSub,i=shouldTrack;activeSub=e,shouldTrack=!0;try{prepareDeps(e);const a=e.fn(e._value);(t.version===0||hasChanged(a,e._value))&&(e.flags|=128,e._value=a,t.version++)}catch(a){throw t.version++,a}finally{activeSub=r,shouldTrack=i,cleanupDeps(e),e.flags&=-3}}function removeSub(e,t=!1){const{dep:r,prevSub:i,nextSub:a}=e;if(i&&(i.nextSub=a,e.prevSub=void 0),a&&(a.prevSub=i,e.nextSub=void 0),r.subs===e&&(r.subs=i,!i&&r.computed)){r.computed.flags&=-5;for(let c=r.computed.deps;c;c=c.nextDep)removeSub(c,!0)}!t&&!--r.sc&&r.map&&r.map.delete(r.key)}function removeDep(e){const{prevDep:t,nextDep:r}=e;t&&(t.nextDep=r,e.prevDep=void 0),r&&(r.prevDep=t,e.nextDep=void 0)}function effect$2(e,t){e.effect instanceof ReactiveEffect&&(e=e.effect.fn);const r=new ReactiveEffect(e);t&&extend(r,t);try{r.run()}catch(a){throw r.stop(),a}const i=r.run.bind(r);return i.effect=r,i}function stop(e){e.effect.stop()}let shouldTrack=!0;const trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){const e=trackStack.pop();shouldTrack=e===void 0?!0:e}function cleanupEffect(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const r=activeSub;activeSub=void 0;try{t()}finally{activeSub=r}}}let globalVersion=0,Link$1=class{constructor(t,r){this.sub=t,this.dep=r,this.version=r.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}};class Dep{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!activeSub||!shouldTrack||activeSub===this.computed)return;let r=this.activeLink;if(r===void 0||r.sub!==activeSub)r=this.activeLink=new Link$1(activeSub,this),activeSub.deps?(r.prevDep=activeSub.depsTail,activeSub.depsTail.nextDep=r,activeSub.depsTail=r):activeSub.deps=activeSub.depsTail=r,addSub(r);else if(r.version===-1&&(r.version=this.version,r.nextDep)){const i=r.nextDep;i.prevDep=r.prevDep,r.prevDep&&(r.prevDep.nextDep=i),r.prevDep=activeSub.depsTail,r.nextDep=void 0,activeSub.depsTail.nextDep=r,activeSub.depsTail=r,activeSub.deps===r&&(activeSub.deps=i)}return r}trigger(t){this.version++,globalVersion++,this.notify(t)}notify(t){startBatch();try{for(let r=this.subs;r;r=r.prevSub)r.sub.notify()&&r.sub.dep.notify()}finally{endBatch()}}}function addSub(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let i=t.deps;i;i=i.nextDep)addSub(i)}const r=e.dep.subs;r!==e&&(e.prevSub=r,r&&(r.nextSub=e)),e.dep.subs=e}}const targetMap=new WeakMap,ITERATE_KEY=Symbol(""),MAP_KEY_ITERATE_KEY=Symbol(""),ARRAY_ITERATE_KEY=Symbol("");function track(e,t,r){if(shouldTrack&&activeSub){let i=targetMap.get(e);i||targetMap.set(e,i=new Map);let a=i.get(r);a||(i.set(r,a=new Dep),a.map=i,a.key=r),a.track()}}function trigger(e,t,r,i,a,c){const u=targetMap.get(e);if(!u){globalVersion++;return}const d=f=>{f&&f.trigger()};if(startBatch(),t==="clear")u.forEach(d);else{const f=isArray$2(e),m=f&&isIntegerKey(r);if(f&&r==="length"){const y=Number(i);u.forEach((v,w)=>{(w==="length"||w===ARRAY_ITERATE_KEY||!isSymbol(w)&&w>=y)&&d(v)})}else switch((r!==void 0||u.has(void 0))&&d(u.get(r)),m&&d(u.get(ARRAY_ITERATE_KEY)),t){case"add":f?m&&d(u.get("length")):(d(u.get(ITERATE_KEY)),isMap(e)&&d(u.get(MAP_KEY_ITERATE_KEY)));break;case"delete":f||(d(u.get(ITERATE_KEY)),isMap(e)&&d(u.get(MAP_KEY_ITERATE_KEY)));break;case"set":isMap(e)&&d(u.get(ITERATE_KEY));break}}endBatch()}function getDepFromReactive(e,t){const r=targetMap.get(e);return r&&r.get(t)}function reactiveReadArray(e){const t=toRaw(e);return t===e?t:(track(t,"iterate",ARRAY_ITERATE_KEY),isShallow(e)?t:t.map(toReactive))}function shallowReadArray(e){return track(e=toRaw(e),"iterate",ARRAY_ITERATE_KEY),e}const arrayInstrumentations={__proto__:null,[Symbol.iterator](){return iterator(this,Symbol.iterator,toReactive)},concat(...e){return reactiveReadArray(this).concat(...e.map(t=>isArray$2(t)?reactiveReadArray(t):t))},entries(){return iterator(this,"entries",e=>(e[1]=toReactive(e[1]),e))},every(e,t){return apply$1(this,"every",e,t,void 0,arguments)},filter(e,t){return apply$1(this,"filter",e,t,r=>r.map(toReactive),arguments)},find(e,t){return apply$1(this,"find",e,t,toReactive,arguments)},findIndex(e,t){return apply$1(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return apply$1(this,"findLast",e,t,toReactive,arguments)},findLastIndex(e,t){return apply$1(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return apply$1(this,"forEach",e,t,void 0,arguments)},includes(...e){return searchProxy(this,"includes",e)},indexOf(...e){return searchProxy(this,"indexOf",e)},join(e){return reactiveReadArray(this).join(e)},lastIndexOf(...e){return searchProxy(this,"lastIndexOf",e)},map(e,t){return apply$1(this,"map",e,t,void 0,arguments)},pop(){return noTracking(this,"pop")},push(...e){return noTracking(this,"push",e)},reduce(e,...t){return reduce(this,"reduce",e,t)},reduceRight(e,...t){return reduce(this,"reduceRight",e,t)},shift(){return noTracking(this,"shift")},some(e,t){return apply$1(this,"some",e,t,void 0,arguments)},splice(...e){return noTracking(this,"splice",e)},toReversed(){return reactiveReadArray(this).toReversed()},toSorted(e){return reactiveReadArray(this).toSorted(e)},toSpliced(...e){return reactiveReadArray(this).toSpliced(...e)},unshift(...e){return noTracking(this,"unshift",e)},values(){return iterator(this,"values",toReactive)}};function iterator(e,t,r){const i=shallowReadArray(e),a=i[t]();return i!==e&&!isShallow(e)&&(a._next=a.next,a.next=()=>{const c=a._next();return c.value&&(c.value=r(c.value)),c}),a}const arrayProto=Array.prototype;function apply$1(e,t,r,i,a,c){const u=shallowReadArray(e),d=u!==e&&!isShallow(e),f=u[t];if(f!==arrayProto[t]){const v=f.apply(e,c);return d?toReactive(v):v}let m=r;u!==e&&(d?m=function(v,w){return r.call(this,toReactive(v),w,e)}:r.length>2&&(m=function(v,w){return r.call(this,v,w,e)}));const y=f.call(u,m,i);return d&&a?a(y):y}function reduce(e,t,r,i){const a=shallowReadArray(e);let c=r;return a!==e&&(isShallow(e)?r.length>3&&(c=function(u,d,f){return r.call(this,u,d,f,e)}):c=function(u,d,f){return r.call(this,u,toReactive(d),f,e)}),a[t](c,...i)}function searchProxy(e,t,r){const i=toRaw(e);track(i,"iterate",ARRAY_ITERATE_KEY);const a=i[t](...r);return(a===-1||a===!1)&&isProxy(r[0])?(r[0]=toRaw(r[0]),i[t](...r)):a}function noTracking(e,t,r=[]){pauseTracking(),startBatch();const i=toRaw(e)[t].apply(e,r);return endBatch(),resetTracking(),i}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));function hasOwnProperty$2(e){isSymbol(e)||(e=String(e));const t=toRaw(this);return track(t,"has",e),t.hasOwnProperty(e)}class BaseReactiveHandler{constructor(t=!1,r=!1){this._isReadonly=t,this._isShallow=r}get(t,r,i){if(r==="__v_skip")return t.__v_skip;const a=this._isReadonly,c=this._isShallow;if(r==="__v_isReactive")return!a;if(r==="__v_isReadonly")return a;if(r==="__v_isShallow")return c;if(r==="__v_raw")return i===(a?c?shallowReadonlyMap:readonlyMap:c?shallowReactiveMap:reactiveMap).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(i)?t:void 0;const u=isArray$2(t);if(!a){let f;if(u&&(f=arrayInstrumentations[r]))return f;if(r==="hasOwnProperty")return hasOwnProperty$2}const d=Reflect.get(t,r,isRef(t)?t:i);return(isSymbol(r)?builtInSymbols.has(r):isNonTrackableKeys(r))||(a||track(t,"get",r),c)?d:isRef(d)?u&&isIntegerKey(r)?d:d.value:isObject$4(d)?a?readonly(d):reactive(d):d}}class MutableReactiveHandler extends BaseReactiveHandler{constructor(t=!1){super(!1,t)}set(t,r,i,a){let c=t[r];if(!this._isShallow){const f=isReadonly(c);if(!isShallow(i)&&!isReadonly(i)&&(c=toRaw(c),i=toRaw(i)),!isArray$2(t)&&isRef(c)&&!isRef(i))return f?!1:(c.value=i,!0)}const u=isArray$2(t)&&isIntegerKey(r)?Number(r)<t.length:hasOwn$1(t,r),d=Reflect.set(t,r,i,isRef(t)?t:a);return t===toRaw(a)&&(u?hasChanged(i,c)&&trigger(t,"set",r,i):trigger(t,"add",r,i)),d}deleteProperty(t,r){const i=hasOwn$1(t,r);t[r];const a=Reflect.deleteProperty(t,r);return a&&i&&trigger(t,"delete",r,void 0),a}has(t,r){const i=Reflect.has(t,r);return(!isSymbol(r)||!builtInSymbols.has(r))&&track(t,"has",r),i}ownKeys(t){return track(t,"iterate",isArray$2(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 createIterableMethod(e,t,r){return function(...i){const a=this.__v_raw,c=toRaw(a),u=isMap(c),d=e==="entries"||e===Symbol.iterator&&u,f=e==="keys"&&u,m=a[e](...i),y=r?toShallow:t?toReadonly:toReactive;return!t&&track(c,"iterate",f?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){const{value:v,done:w}=m.next();return w?{value:v,done:w}:{value:d?[y(v[0]),y(v[1])]:y(v),done:w}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function createInstrumentations(e,t){const r={get(a){const c=this.__v_raw,u=toRaw(c),d=toRaw(a);e||(hasChanged(a,d)&&track(u,"get",a),track(u,"get",d));const{has:f}=getProto(u),m=t?toShallow:e?toReadonly:toReactive;if(f.call(u,a))return m(c.get(a));if(f.call(u,d))return m(c.get(d));c!==u&&c.get(a)},get size(){const a=this.__v_raw;return!e&&track(toRaw(a),"iterate",ITERATE_KEY),Reflect.get(a,"size",a)},has(a){const c=this.__v_raw,u=toRaw(c),d=toRaw(a);return e||(hasChanged(a,d)&&track(u,"has",a),track(u,"has",d)),a===d?c.has(a):c.has(a)||c.has(d)},forEach(a,c){const u=this,d=u.__v_raw,f=toRaw(d),m=t?toShallow:e?toReadonly:toReactive;return!e&&track(f,"iterate",ITERATE_KEY),d.forEach((y,v)=>a.call(c,m(y),m(v),u))}};return extend(r,e?{add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear")}:{add(a){!t&&!isShallow(a)&&!isReadonly(a)&&(a=toRaw(a));const c=toRaw(this);return getProto(c).has.call(c,a)||(c.add(a),trigger(c,"add",a,a)),this},set(a,c){!t&&!isShallow(c)&&!isReadonly(c)&&(c=toRaw(c));const u=toRaw(this),{has:d,get:f}=getProto(u);let m=d.call(u,a);m||(a=toRaw(a),m=d.call(u,a));const y=f.call(u,a);return u.set(a,c),m?hasChanged(c,y)&&trigger(u,"set",a,c):trigger(u,"add",a,c),this},delete(a){const c=toRaw(this),{has:u,get:d}=getProto(c);let f=u.call(c,a);f||(a=toRaw(a),f=u.call(c,a)),d&&d.call(c,a);const m=c.delete(a);return f&&trigger(c,"delete",a,void 0),m},clear(){const a=toRaw(this),c=a.size!==0,u=a.clear();return c&&trigger(a,"clear",void 0,void 0),u}}),["keys","values","entries",Symbol.iterator].forEach(a=>{r[a]=createIterableMethod(a,e,t)}),r}function createInstrumentationGetter(e,t){const r=createInstrumentations(e,t);return(i,a,c)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?i:Reflect.get(hasOwn$1(r,a)&&a in i?r:i,a,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,i,a){if(!isObject$4(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const c=getTargetType(e);if(c===0)return e;const u=a.get(e);if(u)return u;const d=new Proxy(e,c===2?i:r);return a.set(e,d),d}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 e?!!e.__v_raw:!1}function toRaw(e){const t=e&&e.__v_raw;return t?toRaw(t):e}function markRaw(e){return!hasOwn$1(e,"__v_skip")&&Object.isExtensible(e)&&def(e,"__v_skip",!0),e}const toReactive=e=>isObject$4(e)?reactive(e):e,toReadonly=e=>isObject$4(e)?readonly(e):e;function isRef(e){return e?e.__v_isRef===!0:!1}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.dep=new Dep,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=r?t:toRaw(t),this._value=r?t:toReactive(t),this.__v_isShallow=r}get value(){return this.dep.track(),this._value}set value(t){const r=this._rawValue,i=this.__v_isShallow||isShallow(t)||isReadonly(t);t=i?t:toRaw(t),hasChanged(t,r)&&(this._rawValue=t,this._value=i?t:toReactive(t),this.dep.trigger())}}function triggerRef(e){e.dep&&e.dep.trigger()}function unref(e){return isRef(e)?e.value:e}function toValue(e){return isFunction$1(e)?e():unref(e)}const shallowUnwrapHandlers={get:(e,t,r)=>t==="__v_raw"?e:unref(Reflect.get(e,t,r)),set:(e,t,r,i)=>{const a=e[t];return isRef(a)&&!isRef(r)?(a.value=r,!0):Reflect.set(e,t,r,i)}};function proxyRefs(e){return isReactive(e)?e:new Proxy(e,shallowUnwrapHandlers)}class CustomRefImpl{constructor(t){this.__v_isRef=!0,this._value=void 0;const r=this.dep=new Dep,{get:i,set:a}=t(r.track.bind(r),r.trigger.bind(r));this._get=i,this._set=a}get value(){return this._value=this._get()}set value(t){this._set(t)}}function customRef(e){return new CustomRefImpl(e)}function toRefs(e){const t=isArray$2(e)?new Array(e.length):{};for(const r in e)t[r]=propertyToRef(e,r);return t}class ObjectRefImpl{constructor(t,r,i){this._object=t,this._key=r,this._defaultValue=i,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=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,this._value=void 0}get value(){return this._value=this._getter()}}function toRef$2(e,t,r){return isRef(e)?e:isFunction$1(e)?new GetterRefImpl(e):isObject$4(e)&&arguments.length>1?propertyToRef(e,t,r):ref(e)}function propertyToRef(e,t,r){const i=e[t];return isRef(i)?i:new ObjectRefImpl(e,t,r)}class ComputedRefImpl{constructor(t,r,i){this.fn=t,this.setter=r,this._value=void 0,this.dep=new Dep(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=globalVersion-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!r,this.isSSR=i}notify(){if(this.flags|=16,!(this.flags&8)&&activeSub!==this)return batch(this,!0),!0}get value(){const t=this.dep.track();return refreshComputed(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function computed$1(e,t,r=!1){let i,a;return isFunction$1(e)?i=e:(i=e.get,a=e.set),new ComputedRefImpl(i,a,r)}const TrackOpTypes={GET:"get",HAS:"has",ITERATE:"iterate"},TriggerOpTypes={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},INITIAL_WATCHER_VALUE={},cleanupMap=new WeakMap;let activeWatcher;function getCurrentWatcher(){return activeWatcher}function onWatcherCleanup(e,t=!1,r=activeWatcher){if(r){let i=cleanupMap.get(r);i||cleanupMap.set(r,i=[]),i.push(e)}}function watch$1(e,t,r=EMPTY_OBJ){const{immediate:i,deep:a,once:c,scheduler:u,augmentJob:d,call:f}=r,m=E=>a?E:isShallow(E)||a===!1||a===0?traverse(E,1):traverse(E);let y,v,w,_,S=!1,b=!1;if(isRef(e)?(v=()=>e.value,S=isShallow(e)):isReactive(e)?(v=()=>m(e),S=!0):isArray$2(e)?(b=!0,S=e.some(E=>isReactive(E)||isShallow(E)),v=()=>e.map(E=>{if(isRef(E))return E.value;if(isReactive(E))return m(E);if(isFunction$1(E))return f?f(E,2):E()})):isFunction$1(e)?t?v=f?()=>f(e,2):e:v=()=>{if(w){pauseTracking();try{w()}finally{resetTracking()}}const E=activeWatcher;activeWatcher=y;try{return f?f(e,3,[_]):e(_)}finally{activeWatcher=E}}:v=NOOP,t&&a){const E=v,A=a===!0?1/0:a;v=()=>traverse(E(),A)}const k=getCurrentScope(),C=()=>{y.stop(),k&&k.active&&remove(k.effects,y)};if(c&&t){const E=t;t=(...A)=>{E(...A),C()}}let O=b?new Array(e.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE;const T=E=>{if(!(!(y.flags&1)||!y.dirty&&!E))if(t){const A=y.run();if(a||S||(b?A.some((P,M)=>hasChanged(P,O[M])):hasChanged(A,O))){w&&w();const P=activeWatcher;activeWatcher=y;try{const M=[A,O===INITIAL_WATCHER_VALUE?void 0:b&&O[0]===INITIAL_WATCHER_VALUE?[]:O,_];O=A,f?f(t,3,M):t(...M)}finally{activeWatcher=P}}}else y.run()};return d&&d(T),y=new ReactiveEffect(v),y.scheduler=u?()=>u(T,!1):T,_=E=>onWatcherCleanup(E,!1,y),w=y.onStop=()=>{const E=cleanupMap.get(y);if(E){if(f)f(E,4);else for(const A of E)A();cleanupMap.delete(y)}},t?i?T(!0):O=y.run():u?u(T.bind(null,!0),!0):y.run(),C.pause=y.pause.bind(y),C.resume=y.resume.bind(y),C.stop=C,C}function traverse(e,t=1/0,r){if(t<=0||!isObject$4(e)||e.__v_skip||(r=r||new Set,r.has(e)))return e;if(r.add(e),t--,isRef(e))traverse(e.value,t,r);else if(isArray$2(e))for(let i=0;i<e.length;i++)traverse(e[i],t,r);else if(isSet(e)||isMap(e))e.forEach(i=>{traverse(i,t,r)});else if(isPlainObject$3(e)){for(const i in e)traverse(e[i],t,r);for(const i of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,i)&&traverse(e[i],t,r)}return e}/**
* @vue/runtime-core v3.5.17
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const stack$1=[];function pushWarningContext(e){stack$1.push(e)}function popWarningContext(){stack$1.pop()}let isWarning=!1;function warn$1(e,...t){if(isWarning)return;isWarning=!0,pauseTracking();const r=stack$1.length?stack$1[stack$1.length-1].component:null,i=r&&r.appContext.config.warnHandler,a=getComponentTrace();if(i)callWithErrorHandling(i,r,11,[e+t.map(c=>{var u,d;return(d=(u=c.toString)==null?void 0:u.call(c))!=null?d:JSON.stringify(c)}).join(""),r&&r.proxy,a.map(({vnode:c})=>`at <${formatComponentName(r,c.type)}>`).join(`
`),a]);else{const c=[`[Vue warn]: ${e}`,...t];a.length&&c.push(`
`,...formatTrace(a)),console.warn(...c)}resetTracking(),isWarning=!1}function getComponentTrace(){let e=stack$1[stack$1.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 i=e.component&&e.component.parent;e=i&&i.vnode}return t}function formatTrace(e){const t=[];return e.forEach((r,i)=>{t.push(...i===0?[]:[`
`],...formatTraceEntry(r))}),t}function formatTraceEntry({vnode:e,recurseCount:t}){const r=t>0?`... (${t} recursive calls)`:"",i=e.component?e.component.parent==null:!1,a=` at <${formatComponentName(e.component,e.type,i)}`,c=">"+r;return e.props?[a,...formatProps(e.props),c]:[a+c]}function formatProps(e){const t=[],r=Object.keys(e);return r.slice(0,3).forEach(i=>{t.push(...formatProp(i,e[i]))}),r.length>3&&t.push(" ..."),t}function formatProp(e,t,r){return isString$2(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$1(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",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",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},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",15:"component update",16:"app unmount cleanup function"};function callWithErrorHandling(e,t,r,i){try{return i?e(...i):e()}catch(a){handleError(a,t,r)}}function callWithAsyncErrorHandling(e,t,r,i){if(isFunction$1(e)){const a=callWithErrorHandling(e,t,r,i);return a&&isPromise$1(a)&&a.catch(c=>{handleError(c,t,r)}),a}if(isArray$2(e)){const a=[];for(let c=0;c<e.length;c++)a.push(callWithAsyncErrorHandling(e[c],t,r,i));return a}}function handleError(e,t,r,i=!0){const a=t?t.vnode:null,{errorHandler:c,throwUnhandledErrorInProduction:u}=t&&t.appContext.config||EMPTY_OBJ;if(t){let d=t.parent;const f=t.proxy,m=`https://vuejs.org/error-reference/#runtime-${r}`;for(;d;){const y=d.ec;if(y){for(let v=0;v<y.length;v++)if(y[v](e,f,m)===!1)return}d=d.parent}if(c){pauseTracking(),callWithErrorHandling(c,null,10,[e,f,m]),resetTracking();return}}logError(e,r,a,i,u)}function logError(e,t,r,i=!0,a=!1){if(a)throw e;console.error(e)}const queue=[];let flushIndex=-1;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$1(e){let t=flushIndex+1,r=queue.length;for(;t<r;){const i=t+r>>>1,a=queue[i],c=getId(a);c<e||c===e&&a.flags&2?t=i+1:r=i}return t}function queueJob(e){if(!(e.flags&1)){const t=getId(e),r=queue[queue.length-1];!r||!(e.flags&2)&&t>=getId(r)?queue.push(e):queue.splice(findInsertionIndex$1(t),0,e),e.flags|=1,queueFlush()}}function queueFlush(){currentFlushPromise||(currentFlushPromise=resolvedPromise.then(flushJobs))}function queuePostFlushCb(e){isArray$2(e)?pendingPostFlushCbs.push(...e):activePostFlushCbs&&e.id===-1?activePostFlushCbs.splice(postFlushIndex+1,0,e):e.flags&1||(pendingPostFlushCbs.push(e),e.flags|=1),queueFlush()}function flushPreFlushCbs(e,t,r=flushIndex+1){for(;r<queue.length;r++){const i=queue[r];if(i&&i.flags&2){if(e&&i.id!==e.uid)continue;queue.splice(r,1),r--,i.flags&4&&(i.flags&=-2),i(),i.flags&4||(i.flags&=-2)}}}function flushPostFlushCbs(e){if(pendingPostFlushCbs.length){const t=[...new Set(pendingPostFlushCbs)].sort((r,i)=>getId(r)-getId(i));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...t);return}for(activePostFlushCbs=t,postFlushIndex=0;postFlushIndex<activePostFlushCbs.length;postFlushIndex++){const r=activePostFlushCbs[postFlushIndex];r.flags&4&&(r.flags&=-2),r.flags&8||r(),r.flags&=-2}activePostFlushCbs=null,postFlushIndex=0}}const getId=e=>e.id==null?e.flags&2?-1:1/0:e.id;function flushJobs(e){try{for(flushIndex=0;flushIndex<queue.length;flushIndex++){const t=queue[flushIndex];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),callWithErrorHandling(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;flushIndex<queue.length;flushIndex++){const t=queue[flushIndex];t&&(t.flags&=-2)}flushIndex=-1,queue.length=0,flushPostFlushCbs(),currentFlushPromise=null,(queue.length||pendingPostFlushCbs.length)&&flushJobs()}}let devtools$1,buffer=[];function setDevtoolsHook$1(e,t){var r,i;devtools$1=e,devtools$1?(devtools$1.enabled=!0,buffer.forEach(({event:a,args:c})=>devtools$1.emit(a,...c)),buffer=[]):typeof window<"u"&&window.HTMLElement&&!((i=(r=window.navigator)==null?void 0:r.userAgent)!=null&&i.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=[]}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 i=(...a)=>{i._d&&setBlockTracking(-1);const c=setCurrentRenderingInstance(t);let u;try{u=e(...a)}finally{setCurrentRenderingInstance(c),i._d&&setBlockTracking(1)}return u};return i._n=!0,i._c=!0,i._d=!0,i}function withDirectives(e,t){if(currentRenderingInstance===null)return e;const r=getComponentPublicInstance(currentRenderingInstance),i=e.dirs||(e.dirs=[]);for(let a=0;a<t.length;a++){let[c,u,d,f=EMPTY_OBJ]=t[a];c&&(isFunction$1(c)&&(c={mounted:c,updated:c}),c.deep&&traverse(u),i.push({dir:c,instance:r,value:u,oldValue:void 0,arg:d,modifiers:f}))}return e}function invokeDirectiveHook(e,t,r,i){const a=e.dirs,c=t&&t.dirs;for(let u=0;u<a.length;u++){const d=a[u];c&&(d.oldValue=c[u].value);let f=d.dir[i];f&&(pauseTracking(),callWithAsyncErrorHandling(f,r,8,[e.el,d,e,t]),resetTracking())}}const TeleportEndKey=Symbol("_vte"),isTeleport=e=>e.__isTeleport,isTeleportDisabled=e=>e&&(e.disabled||e.disabled===""),isTeleportDeferred=e=>e&&(e.defer||e.defer===""),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$2(r)?t?t(r):null:r},TeleportImpl={name:"Teleport",__isTeleport:!0,process(e,t,r,i,a,c,u,d,f,m){const{mc:y,pc:v,pbc:w,o:{insert:_,querySelector:S,createText:b,createComment:k}}=m,C=isTeleportDisabled(t.props);let{shapeFlag:O,children:T,dynamicChildren:E}=t;if(e==null){const A=t.el=b(""),P=t.anchor=b("");_(A,r,i),_(P,r,i);const M=(F,I)=>{O&16&&(a&&a.isCE&&(a.ce._teleportTarget=F),y(T,F,I,a,c,u,d,f))},D=()=>{const F=t.target=resolveTarget(t.props,S),I=prepareAnchor(F,t,b,_);F&&(u!=="svg"&&isTargetSVG(F)?u="svg":u!=="mathml"&&isTargetMathML(F)&&(u="mathml"),C||(M(F,I),updateCssVars(t,!1)))};C&&(M(r,P),updateCssVars(t,!0)),isTeleportDeferred(t.props)?(t.el.__isMounted=!1,queuePostRenderEffect(()=>{D(),delete t.el.__isMounted},c)):D()}else{if(isTeleportDeferred(t.props)&&e.el.__isMounted===!1){queuePostRenderEffect(()=>{TeleportImpl.process(e,t,r,i,a,c,u,d,f,m)},c);return}t.el=e.el,t.targetStart=e.targetStart;const A=t.anchor=e.anchor,P=t.target=e.target,M=t.targetAnchor=e.targetAnchor,D=isTeleportDisabled(e.props),F=D?r:P,I=D?A:M;if(u==="svg"||isTargetSVG(P)?u="svg":(u==="mathml"||isTargetMathML(P))&&(u="mathml"),E?(w(e.dynamicChildren,E,F,a,c,u,d),traverseStaticChildren(e,t,!0)):f||v(e,t,F,I,a,c,u,d,!1),C)D?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):moveTeleport(t,r,A,m,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const U=t.target=resolveTarget(t.props,S);U&&moveTeleport(t,U,null,m,0)}else D&&moveTeleport(t,P,M,m,1);updateCssVars(t,C)}},remove(e,t,r,{um:i,o:{remove:a}},c){const{shapeFlag:u,children:d,anchor:f,targetStart:m,targetAnchor:y,target:v,props:w}=e;if(v&&(a(m),a(y)),c&&a(f),u&16){const _=c||!isTeleportDisabled(w);for(let S=0;S<d.length;S++){const b=d[S];i(b,t,r,_,!!b.dynamicChildren)}}},move:moveTeleport,hydrate:hydrateTeleport};function moveTeleport(e,t,r,{o:{insert:i},m:a},c=2){c===0&&i(e.targetAnchor,t,r);const{el:u,anchor:d,shapeFlag:f,children:m,props:y}=e,v=c===2;if(v&&i(u,t,r),(!v||isTeleportDisabled(y))&&f&16)for(let w=0;w<m.length;w++)a(m[w],t,r,2);v&&i(d,t,r)}function hydrateTeleport(e,t,r,i,a,c,{o:{nextSibling:u,parentNode:d,querySelector:f,insert:m,createText:y}},v){const w=t.target=resolveTarget(t.props,f);if(w){const _=isTeleportDisabled(t.props),S=w._lpa||w.firstChild;if(t.shapeFlag&16)if(_)t.anchor=v(u(e),t,d(e),r,i,a,c),t.targetStart=S,t.targetAnchor=S&&u(S);else{t.anchor=u(e);let b=S;for(;b;){if(b&&b.nodeType===8){if(b.data==="teleport start anchor")t.targetStart=b;else if(b.data==="teleport anchor"){t.targetAnchor=b,w._lpa=t.targetAnchor&&u(t.targetAnchor);break}}b=u(b)}t.targetAnchor||prepareAnchor(w,t,y,m),v(S&&u(S),t,w,r,i,a,c)}updateCssVars(t,_)}return t.anchor&&u(t.anchor)}const Teleport=TeleportImpl;function updateCssVars(e,t){const r=e.ctx;if(r&&r.ut){let i,a;for(t?(i=e.el,a=e.anchor):(i=e.targetStart,a=e.targetAnchor);i&&i!==a;)i.nodeType===1&&i.setAttribute("data-v-owner",r.uid),i=i.nextSibling;r.ut()}}function prepareAnchor(e,t,r,i){const a=t.targetStart=r(""),c=t.targetAnchor=r("");return a[TeleportEndKey]=c,e&&(i(a,e),i(c,e)),c}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},recursiveGetSubtree=e=>{const t=e.subTree;return t.component?recursiveGetSubtree(t.component):t},BaseTransitionImpl={name:"BaseTransition",props:BaseTransitionPropsValidators,setup(e,{slots:t}){const r=getCurrentInstance$1(),i=useTransitionState();return()=>{const a=t.default&&getTransitionRawChildren(t.default(),!0);if(!a||!a.length)return;const c=findNonCommentChild(a),u=toRaw(e),{mode:d}=u;if(i.isLeaving)return emptyPlaceholder(c);const f=getInnerChild$1(c);if(!f)return emptyPlaceholder(c);let m=resolveTransitionHooks(f,u,i,r,v=>m=v);f.type!==Comment$1&&setTransitionHooks(f,m);let y=r.subTree&&getInnerChild$1(r.subTree);if(y&&y.type!==Comment$1&&!isSameVNodeType(f,y)&&recursiveGetSubtree(r).type!==Comment$1){let v=resolveTransitionHooks(y,u,i,r);if(setTransitionHooks(y,v),d==="out-in"&&f.type!==Comment$1)return i.isLeaving=!0,v.afterLeave=()=>{i.isLeaving=!1,r.job.flags&8||r.update(),delete v.afterLeave,y=void 0},emptyPlaceholder(c);d==="in-out"&&f.type!==Comment$1?v.delayLeave=(w,_,S)=>{const b=getLeavingNodesForType(i,y);b[String(y.key)]=y,w[leaveCbKey]=()=>{_(),w[leaveCbKey]=void 0,delete m.delayedLeave,y=void 0},m.delayedLeave=()=>{S(),delete m.delayedLeave,y=void 0}}:y=void 0}else y&&(y=void 0);return c}}};function findNonCommentChild(e){let t=e[0];if(e.length>1){for(const r of e)if(r.type!==Comment$1){t=r;break}}return t}const BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(e,t){const{leavingVNodes:r}=e;let i=r.get(t.type);return i||(i=Object.create(null),r.set(t.type,i)),i}function resolveTransitionHooks(e,t,r,i,a){const{appear:c,mode:u,persisted:d=!1,onBeforeEnter:f,onEnter:m,onAfterEnter:y,onEnterCancelled:v,onBeforeLeave:w,onLeave:_,onAfterLeave:S,onLeaveCancelled:b,onBeforeAppear:k,onAppear:C,onAfterAppear:O,onAppearCancelled:T}=t,E=String(e.key),A=getLeavingNodesForType(r,e),P=(F,I)=>{F&&callWithAsyncErrorHandling(F,i,9,I)},M=(F,I)=>{const U=I[1];P(F,I),isArray$2(F)?F.every($=>$.length<=1)&&U():F.length<=1&&U()},D={mode:u,persisted:d,beforeEnter(F){let I=f;if(!r.isMounted)if(c)I=k||f;else return;F[leaveCbKey]&&F[leaveCbKey](!0);const U=A[E];U&&isSameVNodeType(e,U)&&U.el[leaveCbKey]&&U.el[leaveCbKey](),P(I,[F])},enter(F){let I=m,U=y,$=v;if(!r.isMounted)if(c)I=C||m,U=O||y,$=T||v;else return;let z=!1;const q=F[enterCbKey$1]=G=>{z||(z=!0,G?P($,[F]):P(U,[F]),D.delayedLeave&&D.delayedLeave(),F[enterCbKey$1]=void 0)};I?M(I,[F,q]):q()},leave(F,I){const U=String(e.key);if(F[enterCbKey$1]&&F[enterCbKey$1](!0),r.isUnmounting)return I();P(w,[F]);let $=!1;const z=F[leaveCbKey]=q=>{$||($=!0,I(),q?P(b,[F]):P(S,[F]),F[leaveCbKey]=void 0,A[U]===e&&delete A[U])};A[U]=e,_?M(_,[F,z]):z()},clone(F){const I=resolveTransitionHooks(F,t,r,i,a);return a&&a(I),I}};return D}function emptyPlaceholder(e){if(isKeepAlive(e))return e=cloneVNode(e),e.children=null,e}function getInnerChild$1(e){if(!isKeepAlive(e))return isTeleport(e.type)&&e.children?findNonCommentChild(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:r}=e;if(r){if(t&16)return r[0];if(t&32&&isFunction$1(r.default))return r.default()}}function setTransitionHooks(e,t){e.shapeFlag&6&&e.component?(e.transition=t,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 i=[],a=0;for(let c=0;c<e.length;c++){let u=e[c];const d=r==null?u.key:String(r)+String(u.key!=null?u.key:c);u.type===Fragment?(u.patchFlag&128&&a++,i=i.concat(getTransitionRawChildren(u.children,t,d))):(t||u.type!==Comment$1)&&i.push(d!=null?cloneVNode(u,{key:d}):u)}if(a>1)for(let c=0;c<i.length;c++)i[c].patchFlag=-2;return i}/*! #__NO_SIDE_EFFECTS__ */function defineComponent$1(e,t){return isFunction$1(e)?extend({name:e.name},t,{setup:e}):e}function useId(){const e=getCurrentInstance$1();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function markAsyncBoundary(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function useTemplateRef(e){const t=getCurrentInstance$1(),r=shallowRef(null);if(t){const a=t.refs===EMPTY_OBJ?t.refs={}:t.refs;Object.defineProperty(a,e,{enumerable:!0,get:()=>r.value,set:c=>r.value=c})}return r}function setRef(e,t,r,i,a=!1){if(isArray$2(e)){e.forEach((S,b)=>setRef(S,t&&(isArray$2(t)?t[b]:t),r,i,a));return}if(isAsyncWrapper(i)&&!a){i.shapeFlag&512&&i.type.__asyncResolved&&i.component.subTree.component&&setRef(e,t,r,i.component.subTree);return}const c=i.shapeFlag&4?getComponentPublicInstance(i.component):i.el,u=a?null:c,{i:d,r:f}=e,m=t&&t.r,y=d.refs===EMPTY_OBJ?d.refs={}:d.refs,v=d.setupState,w=toRaw(v),_=v===EMPTY_OBJ?()=>!1:S=>hasOwn$1(w,S);if(m!=null&&m!==f&&(isString$2(m)?(y[m]=null,_(m)&&(v[m]=null)):isRef(m)&&(m.value=null)),isFunction$1(f))callWithErrorHandling(f,d,12,[u,y]);else{const S=isString$2(f),b=isRef(f);if(S||b){const k=()=>{if(e.f){const C=S?_(f)?v[f]:y[f]:f.value;a?isArray$2(C)&&remove(C,c):isArray$2(C)?C.includes(c)||C.push(c):S?(y[f]=[c],_(f)&&(v[f]=y[f])):(f.value=[c],e.k&&(y[e.k]=f.value))}else S?(y[f]=u,_(f)&&(v[f]=u)):b&&(f.value=u,e.k&&(y[e.k]=u))};u?(k.id=-1,queuePostRenderEffect(k,r)):k()}}}let hasLoggedMismatchError=!1;const logMismatchError=()=>{hasLoggedMismatchError||(console.error("Hydration completed but contains mismatches."),hasLoggedMismatchError=!0)},isSVGContainer=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",isMathMLContainer=e=>e.namespaceURI.includes("MathML"),getContainerType=e=>{if(e.nodeType===1){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:i,createText:a,nextSibling:c,parentNode:u,remove:d,insert:f,createComment:m}}=e,y=(T,E)=>{if(!E.hasChildNodes()){r(null,T,E),flushPostFlushCbs(),E._vnode=T;return}v(E.firstChild,T,null,null,null),flushPostFlushCbs(),E._vnode=T},v=(T,E,A,P,M,D=!1)=>{D=D||!!E.dynamicChildren;const F=isComment(T)&&T.data==="[",I=()=>b(T,E,A,P,M,F),{type:U,ref:$,shapeFlag:z,patchFlag:q}=E;let G=T.nodeType;E.el=T,q===-2&&(D=!1,E.dynamicChildren=null);let ee=null;switch(U){case Text$1:G!==3?E.children===""?(f(E.el=a(""),u(T),T),ee=T):ee=I():(T.data!==E.children&&(logMismatchError(),T.data=E.children),ee=c(T));break;case Comment$1:O(T)?(ee=c(T),C(E.el=T.content.firstChild,T,A)):G!==8||F?ee=I():ee=c(T);break;case Static:if(F&&(T=c(T),G=T.nodeType),G===1||G===3){ee=T;const ae=!E.children.length;for(let oe=0;oe<E.staticCount;oe++)ae&&(E.children+=ee.nodeType===1?ee.outerHTML:ee.data),oe===E.staticCount-1&&(E.anchor=ee),ee=c(ee);return F?c(ee):ee}else I();break;case Fragment:F?ee=S(T,E,A,P,M,D):ee=I();break;default:if(z&1)(G!==1||E.type.toLowerCase()!==T.tagName.toLowerCase())&&!O(T)?ee=I():ee=w(T,E,A,P,M,D);else if(z&6){E.slotScopeIds=M;const ae=u(T);if(F?ee=k(T):isComment(T)&&T.data==="teleport start"?ee=k(T,T.data,"teleport end"):ee=c(T),t(E,ae,null,A,P,getContainerType(ae),D),isAsyncWrapper(E)&&!E.type.__asyncResolved){let oe;F?(oe=createVNode(Fragment),oe.anchor=ee?ee.previousSibling:ae.lastChild):oe=T.nodeType===3?createTextVNode(""):createVNode("div"),oe.el=T,E.component.subTree=oe}}else z&64?G!==8?ee=I():ee=E.type.hydrate(T,E,A,P,M,D,e,_):z&128&&(ee=E.type.hydrate(T,E,A,P,getContainerType(u(T)),M,D,e,v))}return $!=null&&setRef($,null,P,E),ee},w=(T,E,A,P,M,D)=>{D=D||!!E.dynamicChildren;const{type:F,props:I,patchFlag:U,shapeFlag:$,dirs:z,transition:q}=E,G=F==="input"||F==="option";if(G||U!==-1){z&&invokeDirectiveHook(E,null,A,"created");let ee=!1;if(O(T)){ee=needTransition(null,q)&&A&&A.vnode.props&&A.vnode.props.appear;const oe=T.content.firstChild;if(ee){const Se=oe.getAttribute("class");Se&&(oe.$cls=Se),q.beforeEnter(oe)}C(oe,T,A),E.el=T=oe}if($&16&&!(I&&(I.innerHTML||I.textContent))){let oe=_(T.firstChild,E,T,A,P,M,D);for(;oe;){isMismatchAllowed(T,1)||logMismatchError();const Se=oe;oe=oe.nextSibling,d(Se)}}else if($&8){let oe=E.children;oe[0]===`
`&&(T.tagName==="PRE"||T.tagName==="TEXTAREA")&&(oe=oe.slice(1)),T.textContent!==oe&&(isMismatchAllowed(T,0)||logMismatchError(),T.textContent=E.children)}if(I){if(G||!D||U&48){const oe=T.tagName.includes("-");for(const Se in I)(G&&(Se.endsWith("value")||Se==="indeterminate")||isOn$1(Se)&&!isReservedProp(Se)||Se[0]==="."||oe)&&i(T,Se,null,I[Se],void 0,A)}else if(I.onClick)i(T,"onClick",null,I.onClick,void 0,A);else if(U&4&&isReactive(I.style))for(const oe in I.style)I.style[oe]}let ae;(ae=I&&I.onVnodeBeforeMount)&&invokeVNodeHook(ae,A,E),z&&invokeDirectiveHook(E,null,A,"beforeMount"),((ae=I&&I.onVnodeMounted)||z||ee)&&queueEffectWithSuspense(()=>{ae&&invokeVNodeHook(ae,A,E),ee&&q.enter(T),z&&invokeDirectiveHook(E,null,A,"mounted")},P)}return T.nextSibling},_=(T,E,A,P,M,D,F)=>{F=F||!!E.dynamicChildren;const I=E.children,U=I.length;for(let $=0;$<U;$++){const z=F?I[$]:I[$]=normalizeVNode(I[$]),q=z.type===Text$1;T?(q&&!F&&$+1<U&&normalizeVNode(I[$+1]).type===Text$1&&(f(a(T.data.slice(z.children.length)),A,c(T)),T.data=z.children),T=v(T,z,P,M,D,F)):q&&!z.children?f(z.el=a(""),A):(isMismatchAllowed(A,1)||logMismatchError(),r(null,z,A,null,P,M,getContainerType(A),D))}return T},S=(T,E,A,P,M,D)=>{const{slotScopeIds:F}=E;F&&(M=M?M.concat(F):F);const I=u(T),U=_(c(T),E,I,A,P,M,D);return U&&isComment(U)&&U.data==="]"?c(E.anchor=U):(logMismatchError(),f(E.anchor=m("]"),I,U),U)},b=(T,E,A,P,M,D)=>{if(isMismatchAllowed(T.parentElement,1)||logMismatchError(),E.el=null,D){const U=k(T);for(;;){const $=c(T);if($&&$!==U)d($);else break}}const F=c(T),I=u(T);return d(T),r(null,E,I,F,A,P,getContainerType(I),M),A&&(A.vnode.el=E.el,updateHOCHostEl(A,E.el)),F},k=(T,E="[",A="]")=>{let P=0;for(;T;)if(T=c(T),T&&isComment(T)&&(T.data===E&&P++,T.data===A)){if(P===0)return c(T);P--}return T},C=(T,E,A)=>{const P=E.parentNode;P&&P.replaceChild(T,E);let M=A;for(;M;)M.vnode.el===E&&(M.vnode.el=M.subTree.el=T),M=M.parent},O=T=>T.nodeType===1&&T.tagName==="TEMPLATE";return[y,v]}const allowMismatchAttr="data-allow-mismatch",MismatchTypeString={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function isMismatchAllowed(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(allowMismatchAttr);)e=e.parentElement;const r=e&&e.getAttribute(allowMismatchAttr);if(r==null)return!1;if(r==="")return!0;{const i=r.split(",");return t===0&&i.includes("children")?!0:i.includes(MismatchTypeString[t])}}const requestIdleCallback$1=getGlobalThis$1().requestIdleCallback||(e=>setTimeout(e,1)),cancelIdleCallback$1=getGlobalThis$1().cancelIdleCallback||(e=>clearTimeout(e)),hydrateOnIdle=(e=1e4)=>t=>{const r=requestIdleCallback$1(t,{timeout:e});return()=>cancelIdleCallback$1(r)};function elementIsVisibleInViewport(e){const{top:t,left:r,bottom:i,right:a}=e.getBoundingClientRect(),{innerHeight:c,innerWidth:u}=window;return(t>0&&t<c||i>0&&i<c)&&(r>0&&r<u||a>0&&a<u)}const hydrateOnVisible=e=>(t,r)=>{const i=new IntersectionObserver(a=>{for(const c of a)if(c.isIntersecting){i.disconnect(),t();break}},e);return r(a=>{if(a instanceof Element){if(elementIsVisibleInViewport(a))return t(),i.disconnect(),!1;i.observe(a)}}),()=>i.disconnect()},hydrateOnMediaQuery=e=>t=>{if(e){const r=matchMedia(e);if(r.matches)t();else return r.addEventListener("change",t,{once:!0}),()=>r.removeEventListener("change",t)}},hydrateOnInteraction=(e=[])=>(t,r)=>{isString$2(e)&&(e=[e]);let i=!1;const a=u=>{i||(i=!0,c(),t(),u.target.dispatchEvent(new u.constructor(u.type,u)))},c=()=>{r(u=>{for(const d of e)u.removeEventListener(d,a)})};return r(u=>{for(const d of e)u.addEventListener(d,a,{once:!0})}),c};function forEachElement(e,t){if(isComment(e)&&e.data==="["){let r=1,i=e.nextSibling;for(;i;){if(i.nodeType===1){if(t(i)===!1)break}else if(isComment(i))if(i.data==="]"){if(--r===0)break}else i.data==="["&&r++;i=i.nextSibling}}else t(e)}const isAsyncWrapper=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function defineAsyncComponent(e){isFunction$1(e)&&(e={loader:e});const{loader:t,loadingComponent:r,errorComponent:i,delay:a=200,hydrate:c,timeout:u,suspensible:d=!0,onError:f}=e;let m=null,y,v=0;const w=()=>(v++,m=null,_()),_=()=>{let S;return m||(S=m=t().catch(b=>{if(b=b instanceof Error?b:new Error(String(b)),f)return new Promise((k,C)=>{f(b,()=>k(w()),()=>C(b),v+1)});throw b}).then(b=>S!==m&&m?m:(b&&(b.__esModule||b[Symbol.toStringTag]==="Module")&&(b=b.default),y=b,b)))};return defineComponent$1({name:"AsyncComponentWrapper",__asyncLoader:_,__asyncHydrate(S,b,k){const C=c?()=>{const T=c(()=>{k()},E=>forEachElement(S,E));T&&(b.bum||(b.bum=[])).push(T),(b.u||(b.u=[])).push(()=>!0)}:k;y?C():_().then(()=>!b.isUnmounted&&C())},get __asyncResolved(){return y},setup(){const S=currentInstance;if(markAsyncBoundary(S),y)return()=>createInnerComp(y,S);const b=T=>{m=null,handleError(T,S,13,!i)};if(d&&S.suspense||isInSSRComponentSetup)return _().then(T=>()=>createInnerComp(T,S)).catch(T=>(b(T),()=>i?createVNode(i,{error:T}):null));const k=ref(!1),C=ref(),O=ref(!!a);return a&&setTimeout(()=>{O.value=!1},a),u!=null&&setTimeout(()=>{if(!k.value&&!C.value){const T=new Error(`Async component timed out after ${u}ms.`);b(T),C.value=T}},u),_().then(()=>{k.value=!0,S.parent&&isKeepAlive(S.parent.vnode)&&S.parent.update()}).catch(T=>{b(T),C.value=T}),()=>{if(k.value&&y)return createInnerComp(y,S);if(C.value&&i)return createVNode(i,{error:C.value});if(r&&!O.value)return createVNode(r)}}})}function createInnerComp(e,t){const{ref:r,props:i,children:a,ce:c}=t.vnode,u=createVNode(e,i,a);return u.ref=r,u.ce=c,delete t.vnode.ce,u}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(),i=r.ctx;if(!i.renderer)return()=>{const O=t.default&&t.default();return O&&O.length===1?O[0]:O};const a=new Map,c=new Set;let u=null;const d=r.suspense,{renderer:{p:f,m,um:y,o:{createElement:v}}}=i,w=v("div");i.activate=(O,T,E,A,P)=>{const M=O.component;m(O,T,E,0,d),f(M.vnode,O,T,E,M,d,A,O.slotScopeIds,P),queuePostRenderEffect(()=>{M.isDeactivated=!1,M.a&&invokeArrayFns(M.a);const D=O.props&&O.props.onVnodeMounted;D&&invokeVNodeHook(D,M.parent,O)},d)},i.deactivate=O=>{const T=O.component;invalidateMount(T.m),invalidateMount(T.a),m(O,w,null,1,d),queuePostRenderEffect(()=>{T.da&&invokeArrayFns(T.da);const E=O.props&&O.props.onVnodeUnmounted;E&&invokeVNodeHook(E,T.parent,O),T.isDeactivated=!0},d)};function _(O){resetShapeFlag(O),y(O,r,d,!0)}function S(O){a.forEach((T,E)=>{const A=getComponentName(T.type);A&&!O(A)&&b(E)})}function b(O){const T=a.get(O);T&&(!u||!isSameVNodeType(T,u))?_(T):u&&resetShapeFlag(u),a.delete(O),c.delete(O)}watch(()=>[e.include,e.exclude],([O,T])=>{O&&S(E=>matches(O,E)),T&&S(E=>!matches(T,E))},{flush:"post",deep:!0});let k=null;const C=()=>{k!=null&&(isSuspense(r.subTree.type)?queuePostRenderEffect(()=>{a.set(k,getInnerChild(r.subTree))},r.subTree.suspense):a.set(k,getInnerChild(r.subTree)))};return onMounted(C),onUpdated(C),onBeforeUnmount(()=>{a.forEach(O=>{const{subTree:T,suspense:E}=r,A=getInnerChild(T);if(O.type===A.type&&O.key===A.key){resetShapeFlag(A);const P=A.component.da;P&&queuePostRenderEffect(P,E);return}_(O)})}),()=>{if(k=null,!t.default)return u=null;const O=t.default(),T=O[0];if(O.length>1)return u=null,O;if(!isVNode$1(T)||!(T.shapeFlag&4)&&!(T.shapeFlag&128))return u=null,T;let E=getInnerChild(T);if(E.type===Comment$1)return u=null,E;const A=E.type,P=getComponentName(isAsyncWrapper(E)?E.type.__asyncResolved||{}:A),{include:M,exclude:D,max:F}=e;if(M&&(!P||!matches(M,P))||D&&P&&matches(D,P))return E.shapeFlag&=-257,u=E,T;const I=E.key==null?A:E.key,U=a.get(I);return E.el&&(E=cloneVNode(E),T.shapeFlag&128&&(T.ssContent=E)),k=I,U?(E.el=U.el,E.component=U.component,E.transition&&setTransitionHooks(E,E.transition),E.shapeFlag|=512,c.delete(I),c.add(I)):(c.add(I),F&&c.size>parseInt(F,10)&&b(c.values().next().value)),E.shapeFlag|=256,u=E,isSuspense(T.type)?T:E}}},KeepAlive=KeepAliveImpl;function matches(e,t){return isArray$2(e)?e.some(r=>matches(r,t)):isString$2(e)?e.split(",").includes(t):isRegExp$1(e)?(e.lastIndex=0,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 i=e.__wdc||(e.__wdc=()=>{let a=r;for(;a;){if(a.isDeactivated)return;a=a.parent}return e()});if(injectHook(t,i,r),r){let a=r.parent;for(;a&&a.parent;)isKeepAlive(a.parent.vnode)&&injectToKeepAliveRoot(i,t,r,a),a=a.parent}}function injectToKeepAliveRoot(e,t,r,i){const a=injectHook(t,e,i,!0);onUnmounted(()=>{remove(i[t],a)},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,i=!1){if(r){const a=r[e]||(r[e]=[]),c=t.__weh||(t.__weh=(...u)=>{pauseTracking();const d=setCurrentInstance(r),f=callWithAsyncErrorHandling(t,r,e,u);return d(),resetTracking(),f});return i?a.unshift(c):a.push(c),c}}const createHook=e=>(t,r=currentInstance)=>{(!isInSSRComponentSetup||e==="sp")&&injectHook(e,(...i)=>t(...i),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)}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$2(e)?resolveAsset(COMPONENTS,e,!1)||e:e||NULL_DYNAMIC_COMPONENT}function resolveDirective(e){return resolveAsset(DIRECTIVES,e)}function resolveAsset(e,t,r=!0,i=!1){const a=currentRenderingInstance||currentInstance;if(a){const c=a.type;if(e===COMPONENTS){const d=getComponentName(c,!1);if(d&&(d===t||d===camelize(t)||d===capitalize$1(camelize(t))))return c}const u=resolve(a[e]||c[e],t)||resolve(a.appContext[e],t);return!u&&i?c:u}}function resolve(e,t){return e&&(e[t]||e[camelize(t)]||e[capitalize$1(camelize(t))])}function renderList(e,t,r,i){let a;const c=r&&r[i],u=isArray$2(e);if(u||isString$2(e)){const d=u&&isReactive(e);let f=!1,m=!1;d&&(f=!isShallow(e),m=isReadonly(e),e=shallowReadArray(e)),a=new Array(e.length);for(let y=0,v=e.length;y<v;y++)a[y]=t(f?m?toReadonly(toReactive(e[y])):toReactive(e[y]):e[y],y,void 0,c&&c[y])}else if(typeof e=="number"){a=new Array(e);for(let d=0;d<e;d++)a[d]=t(d+1,d,void 0,c&&c[d])}else if(isObject$4(e))if(e[Symbol.iterator])a=Array.from(e,(d,f)=>t(d,f,void 0,c&&c[f]));else{const d=Object.keys(e);a=new Array(d.length);for(let f=0,m=d.length;f<m;f++){const y=d[f];a[f]=t(e[y],y,f,c&&c[f])}}else a=[];return r&&(r[i]=a),a}function createSlots(e,t){for(let r=0;r<t.length;r++){const i=t[r];if(isArray$2(i))for(let a=0;a<i.length;a++)e[i[a].name]=i[a].fn;else i&&(e[i.name]=i.key?(...a)=>{const c=i.fn(...a);return c&&(c.key=i.key),c}:i.fn)}return e}function renderSlot$1(e,t,r={},i,a){if(currentRenderingInstance.ce||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&&currentRenderingInstance.parent.ce)return t!=="default"&&(r.name=t),openBlock(),createBlock(Fragment,null,[createVNode("slot",r,i&&i())],64);let c=e[t];c&&c._c&&(c._d=!1),openBlock();const u=c&&ensureValidVNode$1(c(r)),d=r.key||u&&u.key,f=createBlock(Fragment,{key:(d&&!isSymbol(d)?d:`_${t}`)+(!u&&i?"_fb":"")},u||(i?i():[]),u&&e._===1?64:-2);return!a&&f.scopeId&&(f.slotScopeIds=[f.scopeId+"-s"]),c&&c._c&&(c._d=!0),f}function ensureValidVNode$1(e){return e.some(t=>isVNode$1(t)?!(t.type===Comment$1||t.type===Fragment&&!ensureValidVNode$1(t.children)):!0)?e:null}function toHandlers(e,t){const r={};for(const i in e)r[t&&/[A-Z]/.test(i)?`on:${i}`:toHandlerKey(i)]=e[i];return r}const getPublicInstance=e=>e?isStatefulComponent(e)?getComponentPublicInstance(e):getPublicInstance(e.parent):null,publicPropertiesMap=extend(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),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>resolveMergedOptions(e),$forceUpdate:e=>e.f||(e.f=()=>{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$1(e,t),PublicInstanceProxyHandlers={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:r,setupState:i,data:a,props:c,accessCache:u,type:d,appContext:f}=e;let m;if(t[0]!=="$"){const _=u[t];if(_!==void 0)switch(_){case 1:return i[t];case 2:return a[t];case 4:return r[t];case 3:return c[t]}else{if(hasSetupBinding(i,t))return u[t]=1,i[t];if(a!==EMPTY_OBJ&&hasOwn$1(a,t))return u[t]=2,a[t];if((m=e.propsOptions[0])&&hasOwn$1(m,t))return u[t]=3,c[t];if(r!==EMPTY_OBJ&&hasOwn$1(r,t))return u[t]=4,r[t];shouldCacheAccess&&(u[t]=0)}}const y=publicPropertiesMap[t];let v,w;if(y)return t==="$attrs"&&track(e.attrs,"get",""),y(e);if((v=d.__cssModules)&&(v=v[t]))return v;if(r!==EMPTY_OBJ&&hasOwn$1(r,t))return u[t]=4,r[t];if(w=f.config.globalProperties,hasOwn$1(w,t))return w[t]},set({_:e},t,r){const{data:i,setupState:a,ctx:c}=e;return hasSetupBinding(a,t)?(a[t]=r,!0):i!==EMPTY_OBJ&&hasOwn$1(i,t)?(i[t]=r,!0):hasOwn$1(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(c[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:i,appContext:a,propsOptions:c}},u){let d;return!!r[u]||e!==EMPTY_OBJ&&hasOwn$1(e,u)||hasSetupBinding(t,u)||(d=c[0])&&hasOwn$1(d,u)||hasOwn$1(i,u)||hasOwn$1(publicPropertiesMap,u)||hasOwn$1(a.config.globalProperties,u)},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:hasOwn$1(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}},RuntimeCompiledPublicInstanceProxyHandlers=extend({},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$2(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}function mergeDefaults(e,t){const r=normalizePropsOrEmits(e);for(const i in t){if(i.startsWith("__skip"))continue;let a=r[i];a?isArray$2(a)||isFunction$1(a)?a=r[i]={type:a,default:t[i]}:a.default=t[i]:a===null&&(a=r[i]={default:t[i]}),a&&t[`__skip_${i}`]&&(a.skipFactory=!0)}return r}function mergeModels(e,t){return!e||!t?e||t:isArray$2(e)&&isArray$2(t)?e.concat(t):extend({},normalizePropsOrEmits(e),normalizePropsOrEmits(t))}function createPropsRestProxy(e,t){const r={};for(const i in e)t.includes(i)||Object.defineProperty(r,i,{enumerable:!0,get:()=>e[i]});return r}function withAsyncContext(e){const t=getCurrentInstance$1();let r=e();return unsetCurrentInstance(),isPromise$1(r)&&(r=r.catch(i=>{throw setCurrentInstance(t),i})),[r,()=>setCurrentInstance(t)]}let shouldCacheAccess=!0;function applyOptions(e){const t=resolveMergedOptions(e),r=e.proxy,i=e.ctx;shouldCacheAccess=!1,t.beforeCreate&&callHook$1(t.beforeCreate,e,"bc");const{data:a,computed:c,methods:u,watch:d,provide:f,inject:m,created:y,beforeMount:v,mounted:w,beforeUpdate:_,updated:S,activated:b,deactivated:k,beforeDestroy:C,beforeUnmount:O,destroyed:T,unmounted:E,render:A,renderTracked:P,renderTriggered:M,errorCaptured:D,serverPrefetch:F,expose:I,inheritAttrs:U,components:$,directives:z,filters:q}=t;if(m&&resolveInjections(m,i,null),u)for(const ae in u){const oe=u[ae];isFunction$1(oe)&&(i[ae]=oe.bind(r))}if(a){const ae=a.call(r,r);isObject$4(ae)&&(e.data=reactive(ae))}if(shouldCacheAccess=!0,c)for(const ae in c){const oe=c[ae],Se=isFunction$1(oe)?oe.bind(r,r):isFunction$1(oe.get)?oe.get.bind(r,r):NOOP,te=!isFunction$1(oe)&&isFunction$1(oe.set)?oe.set.bind(r):NOOP,se=computed({get:Se,set:te});Object.defineProperty(i,ae,{enumerable:!0,configurable:!0,get:()=>se.value,set:ne=>se.value=ne})}if(d)for(const ae in d)createWatcher(d[ae],i,r,ae);if(f){const ae=isFunction$1(f)?f.call(r):f;Reflect.ownKeys(ae).forEach(oe=>{provide(oe,ae[oe])})}y&&callHook$1(y,e,"c");function ee(ae,oe){isArray$2(oe)?oe.forEach(Se=>ae(Se.bind(r))):oe&&ae(oe.bind(r))}if(ee(onBeforeMount,v),ee(onMounted,w),ee(onBeforeUpdate,_),ee(onUpdated,S),ee(onActivated,b),ee(onDeactivated,k),ee(onErrorCaptured,D),ee(onRenderTracked,P),ee(onRenderTriggered,M),ee(onBeforeUnmount,O),ee(onUnmounted,E),ee(onServerPrefetch,F),isArray$2(I))if(I.length){const ae=e.exposed||(e.exposed={});I.forEach(oe=>{Object.defineProperty(ae,oe,{get:()=>r[oe],set:Se=>r[oe]=Se})})}else e.exposed||(e.exposed={});A&&e.render===NOOP&&(e.render=A),U!=null&&(e.inheritAttrs=U),$&&(e.components=$),z&&(e.directives=z),F&&markAsyncBoundary(e)}function resolveInjections(e,t,r=NOOP){isArray$2(e)&&(e=normalizeInject(e));for(const i in e){const a=e[i];let c;isObject$4(a)?"default"in a?c=inject$1(a.from||i,a.default,!0):c=inject$1(a.from||i):c=inject$1(a),isRef(c)?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>c.value,set:u=>c.value=u}):t[i]=c}}function callHook$1(e,t,r){callWithAsyncErrorHandling(isArray$2(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,r)}function createWatcher(e,t,r,i){let a=i.includes(".")?createPathGetter(r,i):()=>r[i];if(isString$2(e)){const c=t[e];isFunction$1(c)&&watch(a,c)}else if(isFunction$1(e))watch(a,e.bind(r));else if(isObject$4(e))if(isArray$2(e))e.forEach(c=>createWatcher(c,t,r,i));else{const c=isFunction$1(e.handler)?e.handler.bind(r):t[e.handler];isFunction$1(c)&&watch(a,c,e)}}function resolveMergedOptions(e){const t=e.type,{mixins:r,extends:i}=t,{mixins:a,optionsCache:c,config:{optionMergeStrategies:u}}=e.appContext,d=c.get(t);let f;return d?f=d:!a.length&&!r&&!i?f=t:(f={},a.length&&a.forEach(m=>mergeOptions$1(f,m,u,!0)),mergeOptions$1(f,t,u)),isObject$4(t)&&c.set(t,f),f}function mergeOptions$1(e,t,r,i=!1){const{mixins:a,extends:c}=t;c&&mergeOptions$1(e,c,r,!0),a&&a.forEach(u=>mergeOptions$1(e,u,r,!0));for(const u in t)if(!(i&&u==="expose")){const d=internalOptionMergeStrats[u]||r&&r[u];e[u]=d?d(e[u],t[u]):t[u]}return e}const internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray$1,created:mergeAsArray$1,beforeMount:mergeAsArray$1,mounted:mergeAsArray$1,beforeUpdate:mergeAsArray$1,updated:mergeAsArray$1,beforeDestroy:mergeAsArray$1,beforeUnmount:mergeAsArray$1,destroyed:mergeAsArray$1,unmounted:mergeAsArray$1,activated:mergeAsArray$1,deactivated:mergeAsArray$1,errorCaptured:mergeAsArray$1,serverPrefetch:mergeAsArray$1,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(e,t){return t?e?function(){return extend(isFunction$1(e)?e.call(this,this):e,isFunction$1(t)?t.call(this,this):t)}:t:e}function mergeInject(e,t){return mergeObjectOptions(normalizeInject(e),normalizeInject(t))}function normalizeInject(e){if(isArray$2(e)){const t={};for(let r=0;r<e.length;r++)t[e[r]]=e[r];return t}return e}function mergeAsArray$1(e,t){return e?[...new Set([].concat(e,t))]:t}function mergeObjectOptions(e,t){return e?extend(Object.create(null),e,t):t}function mergeEmitsOrPropsOptions(e,t){return e?isArray$2(e)&&isArray$2(t)?[...new Set([...e,...t])]:extend(Object.create(null),normalizePropsOrEmits(e),normalizePropsOrEmits(t??{})):t}function mergeWatchOptions(e,t){if(!e)return t;if(!t)return e;const r=extend(Object.create(null),e);for(const i in t)r[i]=mergeAsArray$1(e[i],t[i]);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(i,a=null){isFunction$1(i)||(i=extend({},i)),a!=null&&!isObject$4(a)&&(a=null);const c=createAppContext(),u=new WeakSet,d=[];let f=!1;const m=c.app={_uid:uid$1++,_component:i,_props:a,_container:null,_context:c,_instance:null,version:version$1,get config(){return c.config},set config(y){},use(y,...v){return u.has(y)||(y&&isFunction$1(y.install)?(u.add(y),y.install(m,...v)):isFunction$1(y)&&(u.add(y),y(m,...v))),m},mixin(y){return c.mixins.includes(y)||c.mixins.push(y),m},component(y,v){return v?(c.components[y]=v,m):c.components[y]},directive(y,v){return v?(c.directives[y]=v,m):c.directives[y]},mount(y,v,w){if(!f){const _=m._ceVNode||createVNode(i,a);return _.appContext=c,w===!0?w="svg":w===!1&&(w=void 0),v&&t?t(_,y):e(_,y,w),f=!0,m._container=y,y.__vue_app__=m,getComponentPublicInstance(_.component)}},onUnmount(y){d.push(y)},unmount(){f&&(callWithAsyncErrorHandling(d,m._instance,16),e(null,m._container),delete m._container.__vue_app__)},provide(y,v){return c.provides[y]=v,m},runWithContext(y){const v=currentApp;currentApp=m;try{return y()}finally{currentApp=v}}};return m}}let currentApp=null;function provide(e,t){if(currentInstance){let r=currentInstance.provides;const i=currentInstance.parent&&currentInstance.parent.provides;i===r&&(r=currentInstance.provides=Object.create(i)),r[e]=t}}function inject$1(e,t,r=!1){const i=currentInstance||currentRenderingInstance;if(i||currentApp){let a=currentApp?currentApp._context.provides:i?i.parent==null||i.ce?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:void 0;if(a&&e in a)return a[e];if(arguments.length>1)return r&&isFunction$1(t)?t.call(i&&i.proxy):t}}function hasInjectionContext(){return!!(currentInstance||currentRenderingInstance||currentApp)}const internalObjectProto={},createInternalObject=()=>Object.create(internalObjectProto),isInternalObject=e=>Object.getPrototypeOf(e)===internalObjectProto;function initProps(e,t,r,i=!1){const a={},c=createInternalObject();e.propsDefaults=Object.create(null),setFullProps(e,t,a,c);for(const u in e.propsOptions[0])u in a||(a[u]=void 0);r?e.props=i?a:shallowReactive(a):e.type.props?e.props=a:e.props=c,e.attrs=c}function updateProps(e,t,r,i){const{props:a,attrs:c,vnode:{patchFlag:u}}=e,d=toRaw(a),[f]=e.propsOptions;let m=!1;if((i||u>0)&&!(u&16)){if(u&8){const y=e.vnode.dynamicProps;for(let v=0;v<y.length;v++){let w=y[v];if(isEmitListener(e.emitsOptions,w))continue;const _=t[w];if(f)if(hasOwn$1(c,w))_!==c[w]&&(c[w]=_,m=!0);else{const S=camelize(w);a[S]=resolvePropValue(f,d,S,_,e,!1)}else _!==c[w]&&(c[w]=_,m=!0)}}}else{setFullProps(e,t,a,c)&&(m=!0);let y;for(const v in d)(!t||!hasOwn$1(t,v)&&((y=hyphenate(v))===v||!hasOwn$1(t,y)))&&(f?r&&(r[v]!==void 0||r[y]!==void 0)&&(a[v]=resolvePropValue(f,d,v,void 0,e,!0)):delete a[v]);if(c!==d)for(const v in c)(!t||!hasOwn$1(t,v))&&(delete c[v],m=!0)}m&&trigger(e.attrs,"set","")}function setFullProps(e,t,r,i){const[a,c]=e.propsOptions;let u=!1,d;if(t)for(let f in t){if(isReservedProp(f))continue;const m=t[f];let y;a&&hasOwn$1(a,y=camelize(f))?!c||!c.includes(y)?r[y]=m:(d||(d={}))[y]=m:isEmitListener(e.emitsOptions,f)||(!(f in i)||m!==i[f])&&(i[f]=m,u=!0)}if(c){const f=toRaw(r),m=d||EMPTY_OBJ;for(let y=0;y<c.length;y++){const v=c[y];r[v]=resolvePropValue(a,f,v,m[v],e,!hasOwn$1(m,v))}}return u}function resolvePropValue(e,t,r,i,a,c){const u=e[r];if(u!=null){const d=hasOwn$1(u,"default");if(d&&i===void 0){const f=u.default;if(u.type!==Function&&!u.skipFactory&&isFunction$1(f)){const{propsDefaults:m}=a;if(r in m)i=m[r];else{const y=setCurrentInstance(a);i=m[r]=f.call(null,t),y()}}else i=f;a.ce&&a.ce._setProp(r,i)}u[0]&&(c&&!d?i=!1:u[1]&&(i===""||i===hyphenate(r))&&(i=!0))}return i}const mixinPropsCache=new WeakMap;function normalizePropsOptions(e,t,r=!1){const i=r?mixinPropsCache:t.propsCache,a=i.get(e);if(a)return a;const c=e.props,u={},d=[];let f=!1;if(!isFunction$1(e)){const y=v=>{f=!0;const[w,_]=normalizePropsOptions(v,t,!0);extend(u,w),_&&d.push(..._)};!r&&t.mixins.length&&t.mixins.forEach(y),e.extends&&y(e.extends),e.mixins&&e.mixins.forEach(y)}if(!c&&!f)return isObject$4(e)&&i.set(e,EMPTY_ARR),EMPTY_ARR;if(isArray$2(c))for(let y=0;y<c.length;y++){const v=camelize(c[y]);validatePropName(v)&&(u[v]=EMPTY_OBJ)}else if(c)for(const y in c){const v=camelize(y);if(validatePropName(v)){const w=c[y],_=u[v]=isArray$2(w)||isFunction$1(w)?{type:w}:extend({},w),S=_.type;let b=!1,k=!0;if(isArray$2(S))for(let C=0;C<S.length;++C){const O=S[C],T=isFunction$1(O)&&O.name;if(T==="Boolean"){b=!0;break}else T==="String"&&(k=!1)}else b=isFunction$1(S)&&S.name==="Boolean";_[0]=b,_[1]=k,(b||hasOwn$1(_,"default"))&&d.push(v)}}const m=[u,d];return isObject$4(e)&&i.set(e,m),m}function validatePropName(e){return e[0]!=="$"&&!isReservedProp(e)}const isInternalKey=e=>e[0]==="_"||e==="$stable",normalizeSlotValue=e=>isArray$2(e)?e.map(normalizeVNode):[normalizeVNode(e)],normalizeSlot$1=(e,t,r)=>{if(t._n)return t;const i=withCtx((...a)=>normalizeSlotValue(t(...a)),r);return i._c=!1,i},normalizeObjectSlots=(e,t,r)=>{const i=e._ctx;for(const a in e){if(isInternalKey(a))continue;const c=e[a];if(isFunction$1(c))t[a]=normalizeSlot$1(a,c,i);else if(c!=null){const u=normalizeSlotValue(c);t[a]=()=>u}}},normalizeVNodeSlots=(e,t)=>{const r=normalizeSlotValue(t);e.slots.default=()=>r},assignSlots=(e,t,r)=>{for(const i in t)(r||!isInternalKey(i))&&(e[i]=t[i])},initSlots=(e,t,r)=>{const i=e.slots=createInternalObject();if(e.vnode.shapeFlag&32){const a=t.__;a&&def(i,"__",a,!0);const c=t._;c?(assignSlots(i,t,r),r&&def(i,"_",c,!0)):normalizeObjectSlots(t,i)}else t&&normalizeVNodeSlots(e,t)},updateSlots=(e,t,r)=>{const{vnode:i,slots:a}=e;let c=!0,u=EMPTY_OBJ;if(i.shapeFlag&32){const d=t._;d?r&&d===1?c=!1:assignSlots(a,t,r):(c=!t.$stable,normalizeObjectSlots(t,a)),u=t}else t&&(normalizeVNodeSlots(e,t),u={default:1});if(c)for(const d in a)!isInternalKey(d)&&u[d]==null&&delete a[d]},queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(e){return baseCreateRenderer(e)}function createHydrationRenderer(e){return baseCreateRenderer(e,createHydrationFunctions)}function baseCreateRenderer(e,t){const r=getGlobalThis$1();r.__VUE__=!0;const{insert:i,remove:a,patchProp:c,createElement:u,createText:d,createComment:f,setText:m,setElementText:y,parentNode:v,nextSibling:w,setScopeId:_=NOOP,insertStaticContent:S}=e,b=(B,H,he,De=null,Ne=null,J=null,j=void 0,ve=null,Ce=!!H.dynamicChildren)=>{if(B===H)return;B&&!isSameVNodeType(B,H)&&(De=re(B),ne(B,Ne,J,!0),B=null),H.patchFlag===-2&&(Ce=!1,H.dynamicChildren=null);const{type:Ie,ref:Fe,shapeFlag:Q}=H;switch(Ie){case Text$1:k(B,H,he,De);break;case Comment$1:C(B,H,he,De);break;case Static:B==null&&O(H,he,De,j);break;case Fragment:$(B,H,he,De,Ne,J,j,ve,Ce);break;default:Q&1?A(B,H,he,De,Ne,J,j,ve,Ce):Q&6?z(B,H,he,De,Ne,J,j,ve,Ce):(Q&64||Q&128)&&Ie.process(B,H,he,De,Ne,J,j,ve,Ce,pe)}Fe!=null&&Ne?setRef(Fe,B&&B.ref,J,H||B,!H):Fe==null&&B&&B.ref!=null&&setRef(B.ref,null,J,B,!0)},k=(B,H,he,De)=>{if(B==null)i(H.el=d(H.children),he,De);else{const Ne=H.el=B.el;H.children!==B.children&&m(Ne,H.children)}},C=(B,H,he,De)=>{B==null?i(H.el=f(H.children||""),he,De):H.el=B.el},O=(B,H,he,De)=>{[B.el,B.anchor]=S(B.children,H,he,De,B.el,B.anchor)},T=({el:B,anchor:H},he,De)=>{let Ne;for(;B&&B!==H;)Ne=w(B),i(B,he,De),B=Ne;i(H,he,De)},E=({el:B,anchor:H})=>{let he;for(;B&&B!==H;)he=w(B),a(B),B=he;a(H)},A=(B,H,he,De,Ne,J,j,ve,Ce)=>{H.type==="svg"?j="svg":H.type==="math"&&(j="mathml"),B==null?P(H,he,De,Ne,J,j,ve,Ce):F(B,H,Ne,J,j,ve,Ce)},P=(B,H,he,De,Ne,J,j,ve)=>{let Ce,Ie;const{props:Fe,shapeFlag:Q,transition:de,dirs:Le}=B;if(Ce=B.el=u(B.type,J,Fe&&Fe.is,Fe),Q&8?y(Ce,B.children):Q&16&&D(B.children,Ce,null,De,Ne,resolveChildrenNamespace(B,J),j,ve),Le&&invokeDirectiveHook(B,null,De,"created"),M(Ce,B,B.scopeId,j,De),Fe){for(const We in Fe)We!=="value"&&!isReservedProp(We)&&c(Ce,We,null,Fe[We],J,De);"value"in Fe&&c(Ce,"value",null,Fe.value,J),(Ie=Fe.onVnodeBeforeMount)&&invokeVNodeHook(Ie,De,B)}Le&&invokeDirectiveHook(B,null,De,"beforeMount");const $e=needTransition(Ne,de);$e&&de.beforeEnter(Ce),i(Ce,H,he),((Ie=Fe&&Fe.onVnodeMounted)||$e||Le)&&queuePostRenderEffect(()=>{Ie&&invokeVNodeHook(Ie,De,B),$e&&de.enter(Ce),Le&&invokeDirectiveHook(B,null,De,"mounted")},Ne)},M=(B,H,he,De,Ne)=>{if(he&&_(B,he),De)for(let J=0;J<De.length;J++)_(B,De[J]);if(Ne){let J=Ne.subTree;if(H===J||isSuspense(J.type)&&(J.ssContent===H||J.ssFallback===H)){const j=Ne.vnode;M(B,j,j.scopeId,j.slotScopeIds,Ne.parent)}}},D=(B,H,he,De,Ne,J,j,ve,Ce=0)=>{for(let Ie=Ce;Ie<B.length;Ie++){const Fe=B[Ie]=ve?cloneIfMounted(B[Ie]):normalizeVNode(B[Ie]);b(null,Fe,H,he,De,Ne,J,j,ve)}},F=(B,H,he,De,Ne,J,j)=>{const ve=H.el=B.el;let{patchFlag:Ce,dynamicChildren:Ie,dirs:Fe}=H;Ce|=B.patchFlag&16;const Q=B.props||EMPTY_OBJ,de=H.props||EMPTY_OBJ;let Le;if(he&&toggleRecurse(he,!1),(Le=de.onVnodeBeforeUpdate)&&invokeVNodeHook(Le,he,H,B),Fe&&invokeDirectiveHook(H,B,he,"beforeUpdate"),he&&toggleRecurse(he,!0),(Q.innerHTML&&de.innerHTML==null||Q.textContent&&de.textContent==null)&&y(ve,""),Ie?I(B.dynamicChildren,Ie,ve,he,De,resolveChildrenNamespace(H,Ne),J):j||oe(B,H,ve,null,he,De,resolveChildrenNamespace(H,Ne),J,!1),Ce>0){if(Ce&16)U(ve,Q,de,he,Ne);else if(Ce&2&&Q.class!==de.class&&c(ve,"class",null,de.class,Ne),Ce&4&&c(ve,"style",Q.style,de.style,Ne),Ce&8){const $e=H.dynamicProps;for(let We=0;We<$e.length;We++){const Ye=$e[We],_t=Q[Ye],St=de[Ye];(St!==_t||Ye==="value")&&c(ve,Ye,_t,St,Ne,he)}}Ce&1&&B.children!==H.children&&y(ve,H.children)}else!j&&Ie==null&&U(ve,Q,de,he,Ne);((Le=de.onVnodeUpdated)||Fe)&&queuePostRenderEffect(()=>{Le&&invokeVNodeHook(Le,he,H,B),Fe&&invokeDirectiveHook(H,B,he,"updated")},De)},I=(B,H,he,De,Ne,J,j)=>{for(let ve=0;ve<H.length;ve++){const Ce=B[ve],Ie=H[ve],Fe=Ce.el&&(Ce.type===Fragment||!isSameVNodeType(Ce,Ie)||Ce.shapeFlag&198)?v(Ce.el):he;b(Ce,Ie,Fe,null,De,Ne,J,j,!0)}},U=(B,H,he,De,Ne)=>{if(H!==he){if(H!==EMPTY_OBJ)for(const J in H)!isReservedProp(J)&&!(J in he)&&c(B,J,H[J],null,Ne,De);for(const J in he){if(isReservedProp(J))continue;const j=he[J],ve=H[J];j!==ve&&J!=="value"&&c(B,J,ve,j,Ne,De)}"value"in he&&c(B,"value",H.value,he.value,Ne)}},$=(B,H,he,De,Ne,J,j,ve,Ce)=>{const Ie=H.el=B?B.el:d(""),Fe=H.anchor=B?B.anchor:d("");let{patchFlag:Q,dynamicChildren:de,slotScopeIds:Le}=H;Le&&(ve=ve?ve.concat(Le):Le),B==null?(i(Ie,he,De),i(Fe,he,De),D(H.children||[],he,Fe,Ne,J,j,ve,Ce)):Q>0&&Q&64&&de&&B.dynamicChildren?(I(B.dynamicChildren,de,he,Ne,J,j,ve),(H.key!=null||Ne&&H===Ne.subTree)&&traverseStaticChildren(B,H,!0)):oe(B,H,he,Fe,Ne,J,j,ve,Ce)},z=(B,H,he,De,Ne,J,j,ve,Ce)=>{H.slotScopeIds=ve,B==null?H.shapeFlag&512?Ne.ctx.activate(H,he,De,j,Ce):q(H,he,De,Ne,J,j,Ce):G(B,H,Ce)},q=(B,H,he,De,Ne,J,j)=>{const ve=B.component=createComponentInstance(B,De,Ne);if(isKeepAlive(B)&&(ve.ctx.renderer=pe),setupComponent(ve,!1,j),ve.asyncDep){if(Ne&&Ne.registerDep(ve,ee,j),!B.el){const Ce=ve.subTree=createVNode(Comment$1);C(null,Ce,H,he)}}else ee(ve,B,H,he,Ne,J,j)},G=(B,H,he)=>{const De=H.component=B.component;if(shouldUpdateComponent(B,H,he))if(De.asyncDep&&!De.asyncResolved){ae(De,H,he);return}else De.next=H,De.update();else H.el=B.el,De.vnode=H},ee=(B,H,he,De,Ne,J,j)=>{const ve=()=>{if(B.isMounted){let{next:Q,bu:de,u:Le,parent:$e,vnode:We}=B;{const Tt=locateNonHydratedAsyncRoot(B);if(Tt){Q&&(Q.el=We.el,ae(B,Q,j)),Tt.asyncDep.then(()=>{B.isUnmounted||ve()});return}}let Ye=Q,_t;toggleRecurse(B,!1),Q?(Q.el=We.el,ae(B,Q,j)):Q=We,de&&invokeArrayFns(de),(_t=Q.props&&Q.props.onVnodeBeforeUpdate)&&invokeVNodeHook(_t,$e,Q,We),toggleRecurse(B,!0);const St=renderComponentRoot(B),Et=B.subTree;B.subTree=St,b(Et,St,v(Et.el),re(Et),B,Ne,J),Q.el=St.el,Ye===null&&updateHOCHostEl(B,St.el),Le&&queuePostRenderEffect(Le,Ne),(_t=Q.props&&Q.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(_t,$e,Q,We),Ne)}else{let Q;const{el:de,props:Le}=H,{bm:$e,m:We,parent:Ye,root:_t,type:St}=B,Et=isAsyncWrapper(H);if(toggleRecurse(B,!1),$e&&invokeArrayFns($e),!Et&&(Q=Le&&Le.onVnodeBeforeMount)&&invokeVNodeHook(Q,Ye,H),toggleRecurse(B,!0),de&&Pe){const Tt=()=>{B.subTree=renderComponentRoot(B),Pe(de,B.subTree,B,Ne,null)};Et&&St.__asyncHydrate?St.__asyncHydrate(de,B,Tt):Tt()}else{_t.ce&&_t.ce._def.shadowRoot!==!1&&_t.ce._injectChildStyle(St);const Tt=B.subTree=renderComponentRoot(B);b(null,Tt,he,De,B,Ne,J),H.el=Tt.el}if(We&&queuePostRenderEffect(We,Ne),!Et&&(Q=Le&&Le.onVnodeMounted)){const Tt=H;queuePostRenderEffect(()=>invokeVNodeHook(Q,Ye,Tt),Ne)}(H.shapeFlag&256||Ye&&isAsyncWrapper(Ye.vnode)&&Ye.vnode.shapeFlag&256)&&B.a&&queuePostRenderEffect(B.a,Ne),B.isMounted=!0,H=he=De=null}};B.scope.on();const Ce=B.effect=new ReactiveEffect(ve);B.scope.off();const Ie=B.update=Ce.run.bind(Ce),Fe=B.job=Ce.runIfDirty.bind(Ce);Fe.i=B,Fe.id=B.uid,Ce.scheduler=()=>queueJob(Fe),toggleRecurse(B,!0),Ie()},ae=(B,H,he)=>{H.component=B;const De=B.vnode.props;B.vnode=H,B.next=null,updateProps(B,H.props,De,he),updateSlots(B,H.children,he),pauseTracking(),flushPreFlushCbs(B),resetTracking()},oe=(B,H,he,De,Ne,J,j,ve,Ce=!1)=>{const Ie=B&&B.children,Fe=B?B.shapeFlag:0,Q=H.children,{patchFlag:de,shapeFlag:Le}=H;if(de>0){if(de&128){te(Ie,Q,he,De,Ne,J,j,ve,Ce);return}else if(de&256){Se(Ie,Q,he,De,Ne,J,j,ve,Ce);return}}Le&8?(Fe&16&&ye(Ie,Ne,J),Q!==Ie&&y(he,Q)):Fe&16?Le&16?te(Ie,Q,he,De,Ne,J,j,ve,Ce):ye(Ie,Ne,J,!0):(Fe&8&&y(he,""),Le&16&&D(Q,he,De,Ne,J,j,ve,Ce))},Se=(B,H,he,De,Ne,J,j,ve,Ce)=>{B=B||EMPTY_ARR,H=H||EMPTY_ARR;const Ie=B.length,Fe=H.length,Q=Math.min(Ie,Fe);let de;for(de=0;de<Q;de++){const Le=H[de]=Ce?cloneIfMounted(H[de]):normalizeVNode(H[de]);b(B[de],Le,he,null,Ne,J,j,ve,Ce)}Ie>Fe?ye(B,Ne,J,!0,!1,Q):D(H,he,De,Ne,J,j,ve,Ce,Q)},te=(B,H,he,De,Ne,J,j,ve,Ce)=>{let Ie=0;const Fe=H.length;let Q=B.length-1,de=Fe-1;for(;Ie<=Q&&Ie<=de;){const Le=B[Ie],$e=H[Ie]=Ce?cloneIfMounted(H[Ie]):normalizeVNode(H[Ie]);if(isSameVNodeType(Le,$e))b(Le,$e,he,null,Ne,J,j,ve,Ce);else break;Ie++}for(;Ie<=Q&&Ie<=de;){const Le=B[Q],$e=H[de]=Ce?cloneIfMounted(H[de]):normalizeVNode(H[de]);if(isSameVNodeType(Le,$e))b(Le,$e,he,null,Ne,J,j,ve,Ce);else break;Q--,de--}if(Ie>Q){if(Ie<=de){const Le=de+1,$e=Le<Fe?H[Le].el:De;for(;Ie<=de;)b(null,H[Ie]=Ce?cloneIfMounted(H[Ie]):normalizeVNode(H[Ie]),he,$e,Ne,J,j,ve,Ce),Ie++}}else if(Ie>de)for(;Ie<=Q;)ne(B[Ie],Ne,J,!0),Ie++;else{const Le=Ie,$e=Ie,We=new Map;for(Ie=$e;Ie<=de;Ie++){const kt=H[Ie]=Ce?cloneIfMounted(H[Ie]):normalizeVNode(H[Ie]);kt.key!=null&&We.set(kt.key,Ie)}let Ye,_t=0;const St=de-$e+1;let Et=!1,Tt=0;const Lt=new Array(St);for(Ie=0;Ie<St;Ie++)Lt[Ie]=0;for(Ie=Le;Ie<=Q;Ie++){const kt=B[Ie];if(_t>=St){ne(kt,Ne,J,!0);continue}let Nt;if(kt.key!=null)Nt=We.get(kt.key);else for(Ye=$e;Ye<=de;Ye++)if(Lt[Ye-$e]===0&&isSameVNodeType(kt,H[Ye])){Nt=Ye;break}Nt===void 0?ne(kt,Ne,J,!0):(Lt[Nt-$e]=Ie+1,Nt>=Tt?Tt=Nt:Et=!0,b(kt,H[Nt],he,null,Ne,J,j,ve,Ce),_t++)}const At=Et?getSequence(Lt):EMPTY_ARR;for(Ye=At.length-1,Ie=St-1;Ie>=0;Ie--){const kt=$e+Ie,Nt=H[kt],Ut=kt+1<Fe?H[kt+1].el:De;Lt[Ie]===0?b(null,Nt,he,Ut,Ne,J,j,ve,Ce):Et&&(Ye<0||Ie!==At[Ye]?se(Nt,he,Ut,2):Ye--)}}},se=(B,H,he,De,Ne=null)=>{const{el:J,type:j,transition:ve,children:Ce,shapeFlag:Ie}=B;if(Ie&6){se(B.component.subTree,H,he,De);return}if(Ie&128){B.suspense.move(H,he,De);return}if(Ie&64){j.move(B,H,he,pe);return}if(j===Fragment){i(J,H,he);for(let Q=0;Q<Ce.length;Q++)se(Ce[Q],H,he,De);i(B.anchor,H,he);return}if(j===Static){T(B,H,he);return}if(De!==2&&Ie&1&&ve)if(De===0)ve.beforeEnter(J),i(J,H,he),queuePostRenderEffect(()=>ve.enter(J),Ne);else{const{leave:Q,delayLeave:de,afterLeave:Le}=ve,$e=()=>{B.ctx.isUnmounted?a(J):i(J,H,he)},We=()=>{Q(J,()=>{$e(),Le&&Le()})};de?de(J,$e,We):We()}else i(J,H,he)},ne=(B,H,he,De=!1,Ne=!1)=>{const{type:J,props:j,ref:ve,children:Ce,dynamicChildren:Ie,shapeFlag:Fe,patchFlag:Q,dirs:de,cacheIndex:Le}=B;if(Q===-2&&(Ne=!1),ve!=null&&(pauseTracking(),setRef(ve,null,he,B,!0),resetTracking()),Le!=null&&(H.renderCache[Le]=void 0),Fe&256){H.ctx.deactivate(B);return}const $e=Fe&1&&de,We=!isAsyncWrapper(B);let Ye;if(We&&(Ye=j&&j.onVnodeBeforeUnmount)&&invokeVNodeHook(Ye,H,B),Fe&6)ke(B.component,he,De);else{if(Fe&128){B.suspense.unmount(he,De);return}$e&&invokeDirectiveHook(B,null,H,"beforeUnmount"),Fe&64?B.type.remove(B,H,he,pe,De):Ie&&!Ie.hasOnce&&(J!==Fragment||Q>0&&Q&64)?ye(Ie,H,he,!1,!0):(J===Fragment&&Q&384||!Ne&&Fe&16)&&ye(Ce,H,he),De&&le(B)}(We&&(Ye=j&&j.onVnodeUnmounted)||$e)&&queuePostRenderEffect(()=>{Ye&&invokeVNodeHook(Ye,H,B),$e&&invokeDirectiveHook(B,null,H,"unmounted")},he)},le=B=>{const{type:H,el:he,anchor:De,transition:Ne}=B;if(H===Fragment){Oe(he,De);return}if(H===Static){E(B);return}const J=()=>{a(he),Ne&&!Ne.persisted&&Ne.afterLeave&&Ne.afterLeave()};if(B.shapeFlag&1&&Ne&&!Ne.persisted){const{leave:j,delayLeave:ve}=Ne,Ce=()=>j(he,J);ve?ve(B.el,J,Ce):Ce()}else J()},Oe=(B,H)=>{let he;for(;B!==H;)he=w(B),a(B),B=he;a(H)},ke=(B,H,he)=>{const{bum:De,scope:Ne,job:J,subTree:j,um:ve,m:Ce,a:Ie,parent:Fe,slots:{__:Q}}=B;invalidateMount(Ce),invalidateMount(Ie),De&&invokeArrayFns(De),Fe&&isArray$2(Q)&&Q.forEach(de=>{Fe.renderCache[de]=void 0}),Ne.stop(),J&&(J.flags|=8,ne(j,B,H,he)),ve&&queuePostRenderEffect(ve,H),queuePostRenderEffect(()=>{B.isUnmounted=!0},H),H&&H.pendingBranch&&!H.isUnmounted&&B.asyncDep&&!B.asyncResolved&&B.suspenseId===H.pendingId&&(H.deps--,H.deps===0&&H.resolve())},ye=(B,H,he,De=!1,Ne=!1,J=0)=>{for(let j=J;j<B.length;j++)ne(B[j],H,he,De,Ne)},re=B=>{if(B.shapeFlag&6)return re(B.component.subTree);if(B.shapeFlag&128)return B.suspense.next();const H=w(B.anchor||B.el),he=H&&H[TeleportEndKey];return he?w(he):H};let ue=!1;const ie=(B,H,he)=>{B==null?H._vnode&&ne(H._vnode,null,null,!0):b(H._vnode||null,B,H,null,null,null,he),H._vnode=B,ue||(ue=!0,flushPreFlushCbs(),flushPostFlushCbs(),ue=!1)},pe={p:b,um:ne,m:se,r:le,mt:q,mc:D,pc:oe,pbc:I,n:re,o:e};let Te,Pe;return t&&([Te,Pe]=t(pe)),{render:ie,hydrate:Te,createApp:createAppAPI(ie,Te)}}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,job:t},r){r?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function needTransition(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function traverseStaticChildren(e,t,r=!1){const i=e.children,a=t.children;if(isArray$2(i)&&isArray$2(a))for(let c=0;c<i.length;c++){const u=i[c];let d=a[c];d.shapeFlag&1&&!d.dynamicChildren&&((d.patchFlag<=0||d.patchFlag===32)&&(d=a[c]=cloneIfMounted(a[c]),d.el=u.el),!r&&d.patchFlag!==-2&&traverseStaticChildren(u,d)),d.type===Text$1&&(d.el=u.el),d.type===Comment$1&&!d.el&&(d.el=u.el)}}function getSequence(e){const t=e.slice(),r=[0];let i,a,c,u,d;const f=e.length;for(i=0;i<f;i++){const m=e[i];if(m!==0){if(a=r[r.length-1],e[a]<m){t[i]=a,r.push(i);continue}for(c=0,u=r.length-1;c<u;)d=c+u>>1,e[r[d]]<m?c=d+1:u=d;m<e[r[c]]&&(c>0&&(t[i]=r[c-1]),r[c]=i)}}for(c=r.length,u=r[c-1];c-- >0;)r[c]=u,u=t[u];return r}function locateNonHydratedAsyncRoot(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:locateNonHydratedAsyncRoot(t)}function invalidateMount(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}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"})}function watch(e,t,r){return doWatch(e,t,r)}function doWatch(e,t,r=EMPTY_OBJ){const{immediate:i,deep:a,flush:c,once:u}=r,d=extend({},r),f=t&&i||!t&&c!=="post";let m;if(isInSSRComponentSetup){if(c==="sync"){const _=useSSRContext();m=_.__watcherHandles||(_.__watcherHandles=[])}else if(!f){const _=()=>{};return _.stop=NOOP,_.resume=NOOP,_.pause=NOOP,_}}const y=currentInstance;d.call=(_,S,b)=>callWithAsyncErrorHandling(_,y,S,b);let v=!1;c==="post"?d.scheduler=_=>{queuePostRenderEffect(_,y&&y.suspense)}:c!=="sync"&&(v=!0,d.scheduler=(_,S)=>{S?_():queueJob(_)}),d.augmentJob=_=>{t&&(_.flags|=4),v&&(_.flags|=2,y&&(_.id=y.uid,_.i=y))};const w=watch$1(e,t,d);return isInSSRComponentSetup&&(m?m.push(w):f&&w()),w}function instanceWatch(e,t,r){const i=this.proxy,a=isString$2(e)?e.includes(".")?createPathGetter(i,e):()=>i[e]:e.bind(i,i);let c;isFunction$1(t)?c=t:(c=t.handler,r=t);const u=setCurrentInstance(this),d=doWatch(a,c.bind(i),r);return u(),d}function createPathGetter(e,t){const r=t.split(".");return()=>{let i=e;for(let a=0;a<r.length&&i;a++)i=i[r[a]];return i}}function useModel(e,t,r=EMPTY_OBJ){const i=getCurrentInstance$1(),a=camelize(t),c=hyphenate(t),u=getModelModifiers(e,a),d=customRef((f,m)=>{let y,v=EMPTY_OBJ,w;return watchSyncEffect(()=>{const _=e[a];hasChanged(y,_)&&(y=_,m())}),{get(){return f(),r.get?r.get(y):y},set(_){const S=r.set?r.set(_):_;if(!hasChanged(S,y)&&!(v!==EMPTY_OBJ&&hasChanged(_,v)))return;const b=i.vnode.props;b&&(t in b||a in b||c in b)&&(`onUpdate:${t}`in b||`onUpdate:${a}`in b||`onUpdate:${c}`in b)||(y=_,m()),i.emit(`update:${t}`,S),hasChanged(_,S)&&hasChanged(_,v)&&!hasChanged(S,w)&&m(),v=_,w=S}}});return d[Symbol.iterator]=()=>{let f=0;return{next(){return f<2?{value:f++?u||EMPTY_OBJ:d,done:!1}:{done:!0}}}},d}const getModelModifiers=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${camelize(t)}Modifiers`]||e[`${hyphenate(t)}Modifiers`];function emit(e,t,...r){if(e.isUnmounted)return;const i=e.vnode.props||EMPTY_OBJ;let a=r;const c=t.startsWith("update:"),u=c&&getModelModifiers(i,t.slice(7));u&&(u.trim&&(a=r.map(y=>isString$2(y)?y.trim():y)),u.number&&(a=r.map(looseToNumber)));let d,f=i[d=toHandlerKey(t)]||i[d=toHandlerKey(camelize(t))];!f&&c&&(f=i[d=toHandlerKey(hyphenate(t))]),f&&callWithAsyncErrorHandling(f,e,6,a);const m=i[d+"Once"];if(m){if(!e.emitted)e.emitted={};else if(e.emitted[d])return;e.emitted[d]=!0,callWithAsyncErrorHandling(m,e,6,a)}}function normalizeEmitsOptions(e,t,r=!1){const i=t.emitsCache,a=i.get(e);if(a!==void 0)return a;const c=e.emits;let u={},d=!1;if(!isFunction$1(e)){const f=m=>{const y=normalizeEmitsOptions(m,t,!0);y&&(d=!0,extend(u,y))};!r&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!c&&!d?(isObject$4(e)&&i.set(e,null),null):(isArray$2(c)?c.forEach(f=>u[f]=null):extend(u,c),isObject$4(e)&&i.set(e,u),u)}function isEmitListener(e,t){return!e||!isOn$1(t)?!1:(t=t.slice(2).replace(/Once$/,""),hasOwn$1(e,t[0].toLowerCase()+t.slice(1))||hasOwn$1(e,hyphenate(t))||hasOwn$1(e,t))}function markAttrsAccessed(){}function renderComponentRoot(e){const{type:t,vnode:r,proxy:i,withProxy:a,propsOptions:[c],slots:u,attrs:d,emit:f,render:m,renderCache:y,props:v,data:w,setupState:_,ctx:S,inheritAttrs:b}=e,k=setCurrentRenderingInstance(e);let C,O;try{if(r.shapeFlag&4){const E=a||i,A=E;C=normalizeVNode(m.call(A,E,y,v,_,w,S)),O=d}else{const E=t;C=normalizeVNode(E.length>1?E(v,{attrs:d,slots:u,emit:f}):E(v,null)),O=t.props?d:getFunctionalFallthrough(d)}}catch(E){blockStack.length=0,handleError(E,e,1),C=createVNode(Comment$1)}let T=C;if(O&&b!==!1){const E=Object.keys(O),{shapeFlag:A}=T;E.length&&A&7&&(c&&E.some(isModelListener)&&(O=filterModelListeners(O,c)),T=cloneVNode(T,O,!1,!0))}return r.dirs&&(T=cloneVNode(T,null,!1,!0),T.dirs=T.dirs?T.dirs.concat(r.dirs):r.dirs),r.transition&&setTransitionHooks(T,r.transition),C=T,setCurrentRenderingInstance(k),C}function filterSingleRoot(e,t=!0){let r;for(let i=0;i<e.length;i++){const a=e[i];if(isVNode$1(a)){if(a.type!==Comment$1||a.children==="v-if"){if(r)return;r=a}}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 i in e)(!isModelListener(i)||!(i.slice(9)in t))&&(r[i]=e[i]);return r};function shouldUpdateComponent(e,t,r){const{props:i,children:a,component:c}=e,{props:u,children:d,patchFlag:f}=t,m=c.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&f>=0){if(f&1024)return!0;if(f&16)return i?hasPropsChanged(i,u,m):!!u;if(f&8){const y=t.dynamicProps;for(let v=0;v<y.length;v++){const w=y[v];if(u[w]!==i[w]&&!isEmitListener(m,w))return!0}}}else return(a||d)&&(!d||!d.$stable)?!0:i===u?!1:i?u?hasPropsChanged(i,u,m):!0:!!u;return!1}function hasPropsChanged(e,t,r){const i=Object.keys(t);if(i.length!==Object.keys(e).length)return!0;for(let a=0;a<i.length;a++){const c=i[a];if(t[c]!==e[c]&&!isEmitListener(r,c))return!0}return!1}function updateHOCHostEl({vnode:e,parent:t},r){for(;t;){const i=t.subTree;if(i.suspense&&i.suspense.activeBranch===e&&(i.el=e.el),i===e)(e=t.vnode).el=r,t=t.parent;else break}}const isSuspense=e=>e.__isSuspense;let suspenseId=0;const SuspenseImpl={name:"Suspense",__isSuspense:!0,process(e,t,r,i,a,c,u,d,f,m){if(e==null)mountSuspense(t,r,i,a,c,u,d,f,m);else{if(c&&c.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}patchSuspense(e,t,r,i,a,u,d,f,m)}},hydrate:hydrateSuspense,normalize:normalizeSuspenseChildren},Suspense=SuspenseImpl;function triggerEvent(e,t){const r=e.props&&e.props[t];isFunction$1(r)&&r()}function mountSuspense(e,t,r,i,a,c,u,d,f){const{p:m,o:{createElement:y}}=f,v=y("div"),w=e.suspense=createSuspenseBoundary(e,a,i,t,v,r,c,u,d,f);m(null,w.pendingBranch=e.ssContent,v,null,i,w,c,u),w.deps>0?(triggerEvent(e,"onPending"),triggerEvent(e,"onFallback"),m(null,e.ssFallback,t,r,i,null,c,u),setActiveBranch(w,e.ssFallback)):w.resolve(!1,!0)}function patchSuspense(e,t,r,i,a,c,u,d,{p:f,um:m,o:{createElement:y}}){const v=t.suspense=e.suspense;v.vnode=t,t.el=e.el;const w=t.ssContent,_=t.ssFallback,{activeBranch:S,pendingBranch:b,isInFallback:k,isHydrating:C}=v;if(b)v.pendingBranch=w,isSameVNodeType(w,b)?(f(b,w,v.hiddenContainer,null,a,v,c,u,d),v.deps<=0?v.resolve():k&&(C||(f(S,_,r,i,a,null,c,u,d),setActiveBranch(v,_)))):(v.pendingId=suspenseId++,C?(v.isHydrating=!1,v.activeBranch=b):m(b,a,v),v.deps=0,v.effects.length=0,v.hiddenContainer=y("div"),k?(f(null,w,v.hiddenContainer,null,a,v,c,u,d),v.deps<=0?v.resolve():(f(S,_,r,i,a,null,c,u,d),setActiveBranch(v,_))):S&&isSameVNodeType(w,S)?(f(S,w,r,i,a,v,c,u,d),v.resolve(!0)):(f(null,w,v.hiddenContainer,null,a,v,c,u,d),v.deps<=0&&v.resolve()));else if(S&&isSameVNodeType(w,S))f(S,w,r,i,a,v,c,u,d),setActiveBranch(v,w);else if(triggerEvent(t,"onPending"),v.pendingBranch=w,w.shapeFlag&512?v.pendingId=w.component.suspenseId:v.pendingId=suspenseId++,f(null,w,v.hiddenContainer,null,a,v,c,u,d),v.deps<=0)v.resolve();else{const{timeout:O,pendingId:T}=v;O>0?setTimeout(()=>{v.pendingId===T&&v.fallback(_)},O):O===0&&v.fallback(_)}}function createSuspenseBoundary(e,t,r,i,a,c,u,d,f,m,y=!1){const{p:v,m:w,um:_,n:S,o:{parentNode:b,remove:k}}=m;let C;const O=isVNodeSuspensible(e);O&&t&&t.pendingBranch&&(C=t.pendingId,t.deps++);const T=e.props?toNumber(e.props.timeout):void 0,E=c,A={vnode:e,parent:t,parentComponent:r,namespace:u,container:i,hiddenContainer:a,deps:0,pendingId:suspenseId++,timeout:typeof T=="number"?T:-1,activeBranch:null,pendingBranch:null,isInFallback:!y,isHydrating:y,isUnmounted:!1,effects:[],resolve(P=!1,M=!1){const{vnode:D,activeBranch:F,pendingBranch:I,pendingId:U,effects:$,parentComponent:z,container:q}=A;let G=!1;A.isHydrating?A.isHydrating=!1:P||(G=F&&I.transition&&I.transition.mode==="out-in",G&&(F.transition.afterLeave=()=>{U===A.pendingId&&(w(I,q,c===E?S(F):c,0),queuePostFlushCb($))}),F&&(b(F.el)===q&&(c=S(F)),_(F,z,A,!0)),G||w(I,q,c,0)),setActiveBranch(A,I),A.pendingBranch=null,A.isInFallback=!1;let ee=A.parent,ae=!1;for(;ee;){if(ee.pendingBranch){ee.effects.push(...$),ae=!0;break}ee=ee.parent}!ae&&!G&&queuePostFlushCb($),A.effects=[],O&&t&&t.pendingBranch&&C===t.pendingId&&(t.deps--,t.deps===0&&!M&&t.resolve()),triggerEvent(D,"onResolve")},fallback(P){if(!A.pendingBranch)return;const{vnode:M,activeBranch:D,parentComponent:F,container:I,namespace:U}=A;triggerEvent(M,"onFallback");const $=S(D),z=()=>{A.isInFallback&&(v(null,P,I,$,F,null,U,d,f),setActiveBranch(A,P))},q=P.transition&&P.transition.mode==="out-in";q&&(D.transition.afterLeave=z),A.isInFallback=!0,_(D,F,null,!0),q||z()},move(P,M,D){A.activeBranch&&w(A.activeBranch,P,M,D),A.container=P},next(){return A.activeBranch&&S(A.activeBranch)},registerDep(P,M,D){const F=!!A.pendingBranch;F&&A.deps++;const I=P.vnode.el;P.asyncDep.catch(U=>{handleError(U,P,0)}).then(U=>{if(P.isUnmounted||A.isUnmounted||A.pendingId!==P.suspenseId)return;P.asyncResolved=!0;const{vnode:$}=P;handleSetupResult(P,U,!1),I&&($.el=I);const z=!I&&P.subTree.el;M(P,$,b(I||P.subTree.el),I?null:S(P.subTree),A,u,D),z&&k(z),updateHOCHostEl(P,$.el),F&&--A.deps===0&&A.resolve()})},unmount(P,M){A.isUnmounted=!0,A.activeBranch&&_(A.activeBranch,r,P,M),A.pendingBranch&&_(A.pendingBranch,r,P,M)}};return A}function hydrateSuspense(e,t,r,i,a,c,u,d,f){const m=t.suspense=createSuspenseBoundary(t,i,r,e.parentNode,document.createElement("div"),null,a,c,u,d,!0),y=f(e,m.pendingBranch=t.ssContent,r,m,c,u);return m.deps===0&&m.resolve(!1,!0),y}function normalizeSuspenseChildren(e){const{shapeFlag:t,children:r}=e,i=t&32;e.ssContent=normalizeSuspenseSlot(i?r.default:r),e.ssFallback=i?normalizeSuspenseSlot(r.fallback):createVNode(Comment$1)}function normalizeSuspenseSlot(e){let t;if(isFunction$1(e)){const r=isBlockTreeEnabled&&e._c;r&&(e._d=!1,openBlock()),e=e(),r&&(e._d=!0,t=currentBlock,closeBlock())}return isArray$2(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$2(e)?t.effects.push(...e):t.effects.push(e):queuePostFlushCb(e)}function setActiveBranch(e,t){e.activeBranch=t;const{vnode:r,parentComponent:i}=e;let a=t.el;for(;!a&&t.component;)t=t.component.subTree,a=t.el;r.el=a,i&&i.subTree===r&&(i.vnode.el=a,updateHOCHostEl(i,a))}function isVNodeSuspensible(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Fragment=Symbol.for("v-fgt"),Text$1=Symbol.for("v-txt"),Comment$1=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,t=!1){isBlockTreeEnabled+=e,e<0&&currentBlock&&t&&(currentBlock.hasOnce=!0)}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,i,a,c){return setupBlock(createBaseVNode(e,t,r,i,a,c,!0))}function createBlock(e,t,r,i,a){return setupBlock(createVNode(e,t,r,i,a,!0))}function isVNode$1(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 normalizeKey=({key:e})=>e??null,normalizeRef=({ref:e,ref_key:t,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?isString$2(e)||isRef(e)||isFunction$1(e)?{i:currentRenderingInstance,r:e,k:t,f:!!r}:e:null);function createBaseVNode(e,t=null,r=null,i=0,a=null,c=e===Fragment?0:1,u=!1,d=!1){const f={__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,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:c,patchFlag:i,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return d?(normalizeChildren(f,r),c&128&&e.normalize(f)):r&&(f.shapeFlag|=isString$2(r)?8:16),isBlockTreeEnabled>0&&!u&&currentBlock&&(f.patchFlag>0||c&6)&&f.patchFlag!==32&&currentBlock.push(f),f}const createVNode=_createVNode;function _createVNode(e,t=null,r=null,i=0,a=null,c=!1){if((!e||e===NULL_DYNAMIC_COMPONENT)&&(e=Comment$1),isVNode$1(e)){const d=cloneVNode(e,t,!0);return r&&normalizeChildren(d,r),isBlockTreeEnabled>0&&!c&&currentBlock&&(d.shapeFlag&6?currentBlock[currentBlock.indexOf(e)]=d:currentBlock.push(d)),d.patchFlag=-2,d}if(isClassComponent(e)&&(e=e.__vccOpts),t){t=guardReactiveProps(t);let{class:d,style:f}=t;d&&!isString$2(d)&&(t.class=normalizeClass(d)),isObject$4(f)&&(isProxy(f)&&!isArray$2(f)&&(f=extend({},f)),t.style=normalizeStyle(f))}const u=isString$2(e)?1:isSuspense(e)?128:isTeleport(e)?64:isObject$4(e)?4:isFunction$1(e)?2:0;return createBaseVNode(e,t,r,i,a,u,c,!0)}function guardReactiveProps(e){return e?isProxy(e)||isInternalObject(e)?extend({},e):e:null}function cloneVNode(e,t,r=!1,i=!1){const{props:a,ref:c,patchFlag:u,children:d,transition:f}=e,m=t?mergeProps(a||{},t):a,y={__v_isVNode:!0,__v_skip:!0,type:e.type,props:m,key:m&&normalizeKey(m),ref:t&&t.ref?r&&c?isArray$2(c)?c.concat(normalizeRef(t)):[c,normalizeRef(t)]:normalizeRef(t):c,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:d,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Fragment?u===-1?16:u|16:u,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:f,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};return f&&i&&setTransitionHooks(y,f.clone(y)),y}function createTextVNode(e=" ",t=0){return createVNode(Text$1,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$1,null,e)):createVNode(Comment$1,null,e)}function normalizeVNode(e){return e==null||typeof e=="boolean"?createVNode(Comment$1):isArray$2(e)?createVNode(Fragment,null,e.slice()):isVNode$1(e)?cloneIfMounted(e):createVNode(Text$1,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:i}=e;if(t==null)t=null;else if(isArray$2(t))r=16;else if(typeof t=="object")if(i&65){const a=t.default;a&&(a._c&&(a._d=!1),normalizeChildren(e,a()),a._c&&(a._d=!0));return}else{r=32;const a=t._;!a&&!isInternalObject(t)?t._ctx=currentRenderingInstance:a===3&&currentRenderingInstance&&(currentRenderingInstance.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else isFunction$1(t)?(t={default:t,_ctx:currentRenderingInstance},r=32):(t=String(t),i&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 i=e[r];for(const a in i)if(a==="class")t.class!==i.class&&(t.class=normalizeClass([t.class,i.class]));else if(a==="style")t.style=normalizeStyle([t.style,i.style]);else if(isOn$1(a)){const c=t[a],u=i[a];u&&c!==u&&!(isArray$2(c)&&c.includes(u))&&(t[a]=c?[].concat(c,u):u)}else a!==""&&(t[a]=i[a])}return t}function invokeVNodeHook(e,t,r,i=null){callWithAsyncErrorHandling(e,t,7,[r,i])}const emptyAppContext=createAppContext();let uid=0;function createComponentInstance(e,t,r){const i=e.type,a=(t?t.appContext:e.appContext)||emptyAppContext,c={uid:uid++,vnode:e,type:i,parent:t,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new EffectScope(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(a.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:normalizePropsOptions(i,a),emitsOptions:normalizeEmitsOptions(i,a),emit:null,emitted:null,propsDefaults:EMPTY_OBJ,inheritAttrs:i.inheritAttrs,ctx:EMPTY_OBJ,data:EMPTY_OBJ,props:EMPTY_OBJ,attrs:EMPTY_OBJ,slots:EMPTY_OBJ,refs:EMPTY_OBJ,setupState:EMPTY_OBJ,setupContext: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$1(),t=(r,i)=>{let a;return(a=e[r])||(a=e[r]=[]),a.push(i),c=>{a.length>1?a.forEach(u=>u(c)):a[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,r=!1){t&&setInSSRSetupState(t);const{props:i,children:a}=e.vnode,c=isStatefulComponent(e);initProps(e,i,c,t),initSlots(e,a,r||t);const u=c?setupStatefulComponent(e,t):void 0;return t&&setInSSRSetupState(!1),u}function setupStatefulComponent(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,PublicInstanceProxyHandlers);const{setup:i}=r;if(i){pauseTracking();const a=e.setupContext=i.length>1?createSetupContext(e):null,c=setCurrentInstance(e),u=callWithErrorHandling(i,e,0,[e.props,a]),d=isPromise$1(u);if(resetTracking(),c(),(d||e.sp)&&!isAsyncWrapper(e)&&markAsyncBoundary(e),d){if(u.then(unsetCurrentInstance,unsetCurrentInstance),t)return u.then(f=>{handleSetupResult(e,f,t)}).catch(f=>{handleError(f,e,0)});e.asyncDep=u}else handleSetupResult(e,u,t)}else finishComponentSetup(e,t)}function handleSetupResult(e,t,r){isFunction$1(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:isObject$4(t)&&(e.setupState=proxyRefs(t)),finishComponentSetup(e,r)}let compile$2,installWithProxy;function registerRuntimeCompiler(e){compile$2=e,installWithProxy=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,RuntimeCompiledPublicInstanceProxyHandlers))}}const isRuntimeOnly=()=>!compile$2;function finishComponentSetup(e,t,r){const i=e.type;if(!e.render){if(!t&&compile$2&&!i.render){const a=i.template||resolveMergedOptions(e).template;if(a){const{isCustomElement:c,compilerOptions:u}=e.appContext.config,{delimiters:d,compilerOptions:f}=i,m=extend(extend({isCustomElement:c,delimiters:d},u),f);i.render=compile$2(a,m)}}e.render=i.render||NOOP,installWithProxy&&installWithProxy(e)}{const a=setCurrentInstance(e);pauseTracking();try{applyOptions(e)}finally{resetTracking(),a()}}}const attrsProxyHandlers={get(e,t){return track(e,"get",""),e[t]}};function createSetupContext(e){const t=r=>{e.exposed=r||{}};return{attrs:new Proxy(e.attrs,attrsProxyHandlers),slots:e.slots,emit:e.emit,expose:t}}function getComponentPublicInstance(e){return e.exposed?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}})):e.proxy}const classifyRE=/(?:^|[-_])(\w)/g,classify=e=>e.replace(classifyRE,t=>t.toUpperCase()).replace(/[-_]/g,"");function getComponentName(e,t=!0){return isFunction$1(e)?e.displayName||e.name:e.name||t&&e.__name}function formatComponentName(e,t,r=!1){let i=getComponentName(t);if(!i&&t.__file){const a=t.__file.match(/([^/\\]+)\.\w+$/);a&&(i=a[1])}if(!i&&e&&e.parent){const a=c=>{for(const u in c)if(c[u]===t)return u};i=a(e.components||e.parent.type.components)||a(e.appContext.components)}return i?classify(i):r?"App":"Anonymous"}function isClassComponent(e){return isFunction$1(e)&&"__vccOpts"in e}const computed=(e,t)=>computed$1(e,t,isInSSRComponentSetup);function h(e,t,r){const i=arguments.length;return i===2?isObject$4(t)&&!isArray$2(t)?isVNode$1(t)?createVNode(e,null,[t]):createVNode(e,t):createVNode(e,null,t):(i>3?r=Array.prototype.slice.call(arguments,2):i===3&&isVNode$1(r)&&(r=[r]),createVNode(e,t,r))}function initCustomFormatter(){}function withMemo(e,t,r,i){const a=r[i];if(a&&isMemoSame(a,e))return a;const c=t();return c.memo=e.slice(),c.cacheIndex=i,r[i]=c}function isMemoSame(e,t){const r=e.memo;if(r.length!=t.length)return!1;for(let i=0;i<r.length;i++)if(hasChanged(r[i],t[i]))return!1;return isBlockTreeEnabled>0&&currentBlock&&currentBlock.push(e),!0}const version$1="3.5.17",warn$2=NOOP,ErrorTypeStrings=ErrorTypeStrings$1,devtools$2=devtools$1,setDevtoolsHook=setDevtoolsHook$1,_ssrUtils={createComponentInstance,setupComponent,renderComponentRoot,setCurrentRenderingInstance,isVNode:isVNode$1,normalizeVNode,getComponentPublicInstance,ensureValidVNode:ensureValidVNode$1,pushWarningContext,popWarningContext},ssrUtils=_ssrUtils,resolveFilter=null,compatUtils=null,DeprecationTypes=null;/**
* @vue/runtime-dom v3.5.17
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let policy;const tt$1=typeof window<"u"&&window.trustedTypes;if(tt$1)try{policy=tt$1.createPolicy("vue",{createHTML:e=>e})}catch{}const unsafeToTrustedHTML=policy?e=>policy.createHTML(e):e=>e,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,i)=>{const a=t==="svg"?doc.createElementNS(svgNS,e):t==="mathml"?doc.createElementNS(mathmlNS,e):r?doc.createElement(e,{is:r}):doc.createElement(e);return e==="select"&&i&&i.multiple!=null&&a.setAttribute("multiple",i.multiple),a},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,i,a,c){const u=r?r.previousSibling:t.lastChild;if(a&&(a===c||a.nextSibling))for(;t.insertBefore(a.cloneNode(!0),r),!(a===c||!(a=a.nextSibling)););else{templateContainer.innerHTML=unsafeToTrustedHTML(i==="svg"?`<svg>${e}</svg>`:i==="mathml"?`<math>${e}</math>`:e);const d=templateContainer.content;if(i==="svg"||i==="mathml"){const f=d.firstChild;for(;f.firstChild;)d.appendChild(f.firstChild);d.removeChild(f)}t.insertBefore(d,r)}return[u?u.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}},TRANSITION$1="transition",ANIMATION="animation",vtcKey=Symbol("_vtc"),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=extend({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),decorate$1=e=>(e.displayName="Transition",e.props=TransitionPropsValidators,e),Transition=decorate$1((e,{slots:t})=>h(BaseTransition,resolveTransitionProps(e),t)),callHook=(e,t=[])=>{isArray$2(e)?e.forEach(r=>r(...t)):e&&e(...t)},hasExplicitCallback=e=>e?isArray$2(e)?e.some(t=>t.length>1):e.length>1:!1;function resolveTransitionProps(e){const t={};for(const $ in e)$ in DOMTransitionPropsValidators||(t[$]=e[$]);if(e.css===!1)return t;const{name:r="v",type:i,duration:a,enterFromClass:c=`${r}-enter-from`,enterActiveClass:u=`${r}-enter-active`,enterToClass:d=`${r}-enter-to`,appearFromClass:f=c,appearActiveClass:m=u,appearToClass:y=d,leaveFromClass:v=`${r}-leave-from`,leaveActiveClass:w=`${r}-leave-active`,leaveToClass:_=`${r}-leave-to`}=e,S=normalizeDuration(a),b=S&&S[0],k=S&&S[1],{onBeforeEnter:C,onEnter:O,onEnterCancelled:T,onLeave:E,onLeaveCancelled:A,onBeforeAppear:P=C,onAppear:M=O,onAppearCancelled:D=T}=t,F=($,z,q,G)=>{$._enterCancelled=G,removeTransitionClass($,z?y:d),removeTransitionClass($,z?m:u),q&&q()},I=($,z)=>{$._isLeaving=!1,removeTransitionClass($,v),removeTransitionClass($,_),removeTransitionClass($,w),z&&z()},U=$=>(z,q)=>{const G=$?M:O,ee=()=>F(z,$,q);callHook(G,[z,ee]),nextFrame(()=>{removeTransitionClass(z,$?f:c),addTransitionClass(z,$?y:d),hasExplicitCallback(G)||whenTransitionEnds(z,i,b,ee)})};return extend(t,{onBeforeEnter($){callHook(C,[$]),addTransitionClass($,c),addTransitionClass($,u)},onBeforeAppear($){callHook(P,[$]),addTransitionClass($,f),addTransitionClass($,m)},onEnter:U(!1),onAppear:U(!0),onLeave($,z){$._isLeaving=!0;const q=()=>I($,z);addTransitionClass($,v),$._enterCancelled?(addTransitionClass($,w),forceReflow()):(forceReflow(),addTransitionClass($,w)),nextFrame(()=>{$._isLeaving&&(removeTransitionClass($,v),addTransitionClass($,_),hasExplicitCallback(E)||whenTransitionEnds($,i,k,q))}),callHook(E,[$,q])},onEnterCancelled($){F($,!1,void 0,!0),callHook(T,[$])},onAppearCancelled($){F($,!0,void 0,!0),callHook(D,[$])},onLeaveCancelled($){I($),callHook(A,[$])}})}function normalizeDuration(e){if(e==null)return null;if(isObject$4(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(i=>i&&e.classList.remove(i));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,i){const a=e._endId=++endId,c=()=>{a===e._endId&&i()};if(r!=null)return setTimeout(c,r);const{type:u,timeout:d,propCount:f}=getTransitionInfo(e,t);if(!u)return i();const m=u+"end";let y=0;const v=()=>{e.removeEventListener(m,w),c()},w=_=>{_.target===e&&++y>=f&&v()};setTimeout(()=>{y<f&&v()},d+1),e.addEventListener(m,w)}function getTransitionInfo(e,t){const r=window.getComputedStyle(e),i=S=>(r[S]||"").split(", "),a=i(`${TRANSITION$1}Delay`),c=i(`${TRANSITION$1}Duration`),u=getTimeout(a,c),d=i(`${ANIMATION}Delay`),f=i(`${ANIMATION}Duration`),m=getTimeout(d,f);let y=null,v=0,w=0;t===TRANSITION$1?u>0&&(y=TRANSITION$1,v=u,w=c.length):t===ANIMATION?m>0&&(y=ANIMATION,v=m,w=f.length):(v=Math.max(u,m),y=v>0?u>m?TRANSITION$1:ANIMATION:null,w=y?y===TRANSITION$1?c.length:f.length:0);const _=y===TRANSITION$1&&/\b(transform|all)(,|$)/.test(i(`${TRANSITION$1}Property`).toString());return{type:y,timeout:v,propCount:w,hasTransform:_}}function getTimeout(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((r,i)=>toMs(r)+toMs(e[i])))}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 i=e[vtcKey];i&&(t=(t?[t,...i]:[...i]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}const vShowOriginalDisplay=Symbol("_vod"),vShowHidden=Symbol("_vsh"),vShow={beforeMount(e,{value:t},{transition:r}){e[vShowOriginalDisplay]=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:i}){!t!=!r&&(i?t?(i.beforeEnter(e),setDisplay(e,!0),i.enter(e)):i.leave(e,()=>{setDisplay(e,!1)}):setDisplay(e,t))},beforeUnmount(e,{value:t}){setDisplay(e,t)}};function setDisplay(e,t){e.style.display=t?e[vShowOriginalDisplay]:"none",e[vShowHidden]=!t}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=(a=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(c=>setVarsOnNode(c,a))},i=()=>{const a=e(t.proxy);t.ce?setVarsOnNode(t.ce,a):setVarsOnVNode(t.subTree,a),r(a)};onBeforeUpdate(()=>{queuePostFlushCb(i)}),onMounted(()=>{watch(i,NOOP,{flush:"post"});const a=new MutationObserver(i);a.observe(t.subTree.el.parentNode,{childList:!0}),onUnmounted(()=>a.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:i}=e;for(;r&&(setVarsOnNode(r,t),r!==i);)r=r.nextSibling}}function setVarsOnNode(e,t){if(e.nodeType===1){const r=e.style;let i="";for(const a in t)r.setProperty(`--${a}`,t[a]),i+=`--${a}: ${t[a]};`;r[CSS_VAR_TEXT]=i}}const displayRE=/(^|;)\s*display\s*:/;function patchStyle(e,t,r){const i=e.style,a=isString$2(r);let c=!1;if(r&&!a){if(t)if(isString$2(t))for(const u of t.split(";")){const d=u.slice(0,u.indexOf(":")).trim();r[d]==null&&setStyle(i,d,"")}else for(const u in t)r[u]==null&&setStyle(i,u,"");for(const u in r)u==="display"&&(c=!0),setStyle(i,u,r[u])}else if(a){if(t!==r){const u=i[CSS_VAR_TEXT];u&&(r+=";"+u),i.cssText=r,c=displayRE.test(r)}}else t&&e.removeAttribute("style");vShowOriginalDisplay in e&&(e[vShowOriginalDisplay]=c?i.display:"",e[vShowHidden]&&(i.display="none"))}const importantRE=/\s*!important$/;function setStyle(e,t,r){if(isArray$2(r))r.forEach(i=>setStyle(e,t,i));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const i=autoPrefix(e,t);importantRE.test(r)?e.setProperty(hyphenate(i),r.replace(importantRE,""),"important"):e[i]=r}}const prefixes=["Webkit","Moz","ms"],prefixCache={};function autoPrefix(e,t){const r=prefixCache[t];if(r)return r;let i=camelize(t);if(i!=="filter"&&i in e)return prefixCache[t]=i;i=capitalize$1(i);for(let a=0;a<prefixes.length;a++){const c=prefixes[a]+i;if(c in e)return prefixCache[t]=c}return t}const xlinkNS="http://www.w3.org/1999/xlink";function patchAttr(e,t,r,i,a,c=isSpecialBooleanAttr(t)){i&&t.startsWith("xlink:")?r==null?e.removeAttributeNS(xlinkNS,t.slice(6,t.length)):e.setAttributeNS(xlinkNS,t,r):r==null||c&&!includeBooleanAttr(r)?e.removeAttribute(t):e.setAttribute(t,c?"":isSymbol(r)?String(r):r)}function patchDOMProp(e,t,r,i,a){if(t==="innerHTML"||t==="textContent"){r!=null&&(e[t]=t==="innerHTML"?unsafeToTrustedHTML(r):r);return}const c=e.tagName;if(t==="value"&&c!=="PROGRESS"&&!c.includes("-")){const d=c==="OPTION"?e.getAttribute("value")||"":e.value,f=r==null?e.type==="checkbox"?"on":"":String(r);(d!==f||!("_value"in e))&&(e.value=f),r==null&&e.removeAttribute(t),e._value=r;return}let u=!1;if(r===""||r==null){const d=typeof e[t];d==="boolean"?r=includeBooleanAttr(r):r==null&&d==="string"?(r="",u=!0):d==="number"&&(r=0,u=!0)}try{e[t]=r}catch{}u&&e.removeAttribute(a||t)}function addEventListener(e,t,r,i){e.addEventListener(t,r,i)}function removeEventListener(e,t,r,i){e.removeEventListener(t,r,i)}const veiKey=Symbol("_vei");function patchEvent(e,t,r,i,a=null){const c=e[veiKey]||(e[veiKey]={}),u=c[t];if(i&&u)u.value=i;else{const[d,f]=parseName(t);if(i){const m=c[t]=createInvoker(i,a);addEventListener(e,d,m,f)}else u&&(removeEventListener(e,d,u,f),c[t]=void 0)}}const optionsModifierRE=/(?:Once|Passive|Capture)$/;function parseName(e){let t;if(optionsModifierRE.test(e)){t={};let i;for(;i=e.match(optionsModifierRE);)e=e.slice(0,e.length-i[0].length),t[i[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=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=r.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(i,r.value),t,5,[i])};return r.value=e,r.attached=getNow(),r}function patchStopImmediatePropagation(e,t){if(isArray$2(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(i=>a=>!a._stopped&&i&&i(a))}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,i,a,c)=>{const u=a==="svg";t==="class"?patchClass(e,i,u):t==="style"?patchStyle(e,r,i):isOn$1(t)?isModelListener(t)||patchEvent(e,t,r,i,c):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):shouldSetAsProp(e,t,i,u))?(patchDOMProp(e,t,i),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&patchAttr(e,t,i,u,c,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!isString$2(i))?patchDOMProp(e,camelize(t),i,c,t):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),patchAttr(e,t,i,u))};function shouldSetAsProp(e,t,r,i){if(i)return!!(t==="innerHTML"||t==="textContent"||t in e&&isNativeOn(t)&&isFunction$1(r));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const a=e.tagName;if(a==="IMG"||a==="VIDEO"||a==="CANVAS"||a==="SOURCE")return!1}return isNativeOn(t)&&isString$2(r)?!1:t in e}const REMOVAL={};/*! #__NO_SIDE_EFFECTS__ */function defineCustomElement(e,t,r){const i=defineComponent$1(e,t);isPlainObject$3(i)&&extend(i,t);class a extends VueElement{constructor(u){super(i,u,r)}}return a.def=i,a}/*! #__NO_SIDE_EFFECTS__ */const defineSSRCustomElement=(e,t)=>defineCustomElement(e,t,createSSRApp),BaseClass=typeof HTMLElement<"u"?HTMLElement:class{};class VueElement extends BaseClass{constructor(t,r={},i=createApp){super(),this._def=t,this._props=r,this._createApp=i,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&i!==createApp?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof VueElement){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,nextTick(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)})}_resolveDef(){if(this._pendingResolve)return;for(let i=0;i<this.attributes.length;i++)this._setAttr(this.attributes[i].name);this._ob=new MutationObserver(i=>{for(const a of i)this._setAttr(a.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(i,a=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:c,styles:u}=i;let d;if(c&&!isArray$2(c))for(const f in c){const m=c[f];(m===Number||m&&m.type===Number)&&(f in this._props&&(this._props[f]=toNumber(this._props[f])),(d||(d=Object.create(null)))[camelize(f)]=!0)}this._numberProps=d,this._resolveProps(i),this.shadowRoot&&this._applyStyles(u),this._mount(i)},r=this._def.__asyncLoader;r?this._pendingResolve=r().then(i=>{i.configureApp=this._def.configureApp,t(this._def=i,!0)}):t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const r=this._instance&&this._instance.exposed;if(r)for(const i in r)hasOwn$1(this,i)||Object.defineProperty(this,i,{get:()=>unref(r[i])})}_resolveProps(t){const{props:r}=t,i=isArray$2(r)?r:Object.keys(r||{});for(const a of Object.keys(this))a[0]!=="_"&&i.includes(a)&&this._setProp(a,this[a]);for(const a of i.map(camelize))Object.defineProperty(this,a,{get(){return this._getProp(a)},set(c){this._setProp(a,c,!0,!0)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const r=this.hasAttribute(t);let i=r?this.getAttribute(t):REMOVAL;const a=camelize(t);r&&this._numberProps&&this._numberProps[a]&&(i=toNumber(i)),this._setProp(a,i,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,r,i=!0,a=!1){if(r!==this._props[t]&&(r===REMOVAL?delete this._props[t]:(this._props[t]=r,t==="key"&&this._app&&(this._app._ceVNode.key=r)),a&&this._instance&&this._update(),i)){const c=this._ob;c&&c.disconnect(),r===!0?this.setAttribute(hyphenate(t),""):typeof r=="string"||typeof r=="number"?this.setAttribute(hyphenate(t),r+""):r||this.removeAttribute(hyphenate(t)),c&&c.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),render$1(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const r=createVNode(this._def,extend(t,this._props));return this._instance||(r.ce=i=>{this._instance=i,i.ce=this,i.isCE=!0;const a=(c,u)=>{this.dispatchEvent(new CustomEvent(c,isPlainObject$3(u[0])?extend({detail:u},u[0]):{detail:u}))};i.emit=(c,...u)=>{a(c,u),hyphenate(c)!==c&&a(hyphenate(c),u)},this._setParent()}),r}_applyStyles(t,r){if(!t)return;if(r){if(r===this._def||this._styleChildren.has(r))return;this._styleChildren.add(r)}const i=this._nonce;for(let a=t.length-1;a>=0;a--){const c=document.createElement("style");i&&c.setAttribute("nonce",i),c.textContent=t[a],this.shadowRoot.prepend(c)}}_parseSlots(){const t=this._slots={};let r;for(;r=this.firstChild;){const i=r.nodeType===1&&r.getAttribute("slot")||"default";(t[i]||(t[i]=[])).push(r),this.removeChild(r)}}_renderSlots(){const t=(this._teleportTarget||this).querySelectorAll("slot"),r=this._instance.type.__scopeId;for(let i=0;i<t.length;i++){const a=t[i],c=a.getAttribute("name")||"default",u=this._slots[c],d=a.parentNode;if(u)for(const f of u){if(r&&f.nodeType===1){const m=r+"-s",y=document.createTreeWalker(f,1);f.setAttribute(m,"");let v;for(;v=y.nextNode();)v.setAttribute(m,"")}d.insertBefore(f,a)}else for(;a.firstChild;)d.insertBefore(a.firstChild,a);d.removeChild(a)}}_injectChildStyle(t){this._applyStyles(t.styles,t)}_removeChildStyle(t){}}function useHost(e){const t=getCurrentInstance$1(),r=t&&t.ce;return r||null}function useShadowRoot(){const e=useHost();return e&&e.shadowRoot}function useCssModule(e="$style"){{const t=getCurrentInstance$1();if(!t)return EMPTY_OBJ;const r=t.type.__cssModules;if(!r)return EMPTY_OBJ;const i=r[e];return i||EMPTY_OBJ}}const positionMap=new WeakMap,newPositionMap=new WeakMap,moveCbKey=Symbol("_moveCb"),enterCbKey=Symbol("_enterCb"),decorate=e=>(delete e.props.mode,e),TransitionGroupImpl=decorate({name:"TransitionGroup",props:extend({},TransitionPropsValidators,{tag:String,moveClass:String}),setup(e,{slots:t}){const r=getCurrentInstance$1(),i=useTransitionState();let a,c;return onUpdated(()=>{if(!a.length)return;const u=e.moveClass||`${e.name||"v"}-move`;if(!hasCSSTransform(a[0].el,r.vnode.el,u)){a=[];return}a.forEach(callPendingCbs),a.forEach(recordPosition);const d=a.filter(applyTranslation);forceReflow(),d.forEach(f=>{const m=f.el,y=m.style;addTransitionClass(m,u),y.transform=y.webkitTransform=y.transitionDuration="";const v=m[moveCbKey]=w=>{w&&w.target!==m||(!w||/transform$/.test(w.propertyName))&&(m.removeEventListener("transitionend",v),m[moveCbKey]=null,removeTransitionClass(m,u))};m.addEventListener("transitionend",v)}),a=[]}),()=>{const u=toRaw(e),d=resolveTransitionProps(u);let f=u.tag||Fragment;if(a=[],c)for(let m=0;m<c.length;m++){const y=c[m];y.el&&y.el instanceof Element&&(a.push(y),setTransitionHooks(y,resolveTransitionHooks(y,d,i,r)),positionMap.set(y,y.el.getBoundingClientRect()))}c=t.default?getTransitionRawChildren(t.default()):[];for(let m=0;m<c.length;m++){const y=c[m];y.key!=null&&setTransitionHooks(y,resolveTransitionHooks(y,d,i,r))}return createVNode(f,null,c)}}}),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),i=t.left-r.left,a=t.top-r.top;if(i||a){const c=e.el.style;return c.transform=c.webkitTransform=`translate(${i}px,${a}px)`,c.transitionDuration="0s",e}}function hasCSSTransform(e,t,r){const i=e.cloneNode(),a=e[vtcKey];a&&a.forEach(d=>{d.split(/\s+/).forEach(f=>f&&i.classList.remove(f))}),r.split(/\s+/).forEach(d=>d&&i.classList.add(d)),i.style.display="none";const c=t.nodeType===1?t:t.parentNode;c.appendChild(i);const{hasTransform:u}=getTransitionInfo(i);return c.removeChild(i),u}const getModelAssigner=e=>{const t=e.props["onUpdate:modelValue"]||!1;return isArray$2(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:i}},a){e[assignKey]=getModelAssigner(a);const c=i||a.props&&a.props.type==="number";addEventListener(e,t?"change":"input",u=>{if(u.target.composing)return;let d=e.value;r&&(d=d.trim()),c&&(d=looseToNumber(d)),e[assignKey](d)}),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,oldValue:r,modifiers:{lazy:i,trim:a,number:c}},u){if(e[assignKey]=getModelAssigner(u),e.composing)return;const d=(c||e.type==="number")&&!/^0\d/.test(e.value)?looseToNumber(e.value):e.value,f=t??"";d!==f&&(document.activeElement===e&&e.type!=="range"&&(i&&t===r||a&&e.value.trim()===f)||(e.value=f))}},vModelCheckbox={deep:!0,created(e,t,r){e[assignKey]=getModelAssigner(r),addEventListener(e,"change",()=>{const i=e._modelValue,a=getValue(e),c=e.checked,u=e[assignKey];if(isArray$2(i)){const d=looseIndexOf(i,a),f=d!==-1;if(c&&!f)u(i.concat(a));else if(!c&&f){const m=[...i];m.splice(d,1),u(m)}}else if(isSet(i)){const d=new Set(i);c?d.add(a):d.delete(a),u(d)}else u(getCheckboxValue(e,c))})},mounted:setChecked,beforeUpdate(e,t,r){e[assignKey]=getModelAssigner(r),setChecked(e,t,r)}};function setChecked(e,{value:t,oldValue:r},i){e._modelValue=t;let a;if(isArray$2(t))a=looseIndexOf(t,i.props.value)>-1;else if(isSet(t))a=t.has(i.props.value);else{if(t===r)return;a=looseEqual(t,getCheckboxValue(e,!0))}e.checked!==a&&(e.checked=a)}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},i){e[assignKey]=getModelAssigner(i),t!==r&&(e.checked=looseEqual(t,i.props.value))}},vModelSelect={deep:!0,created(e,{value:t,modifiers:{number:r}},i){const a=isSet(t);addEventListener(e,"change",()=>{const c=Array.prototype.filter.call(e.options,u=>u.selected).map(u=>r?looseToNumber(getValue(u)):getValue(u));e[assignKey](e.multiple?a?new Set(c):c:c[0]),e._assigning=!0,nextTick(()=>{e._assigning=!1})}),e[assignKey]=getModelAssigner(i)},mounted(e,{value:t}){setSelected(e,t)},beforeUpdate(e,t,r){e[assignKey]=getModelAssigner(r)},updated(e,{value:t}){e._assigning||setSelected(e,t)}};function setSelected(e,t){const r=e.multiple,i=isArray$2(t);if(!(r&&!i&&!isSet(t))){for(let a=0,c=e.options.length;a<c;a++){const u=e.options[a],d=getValue(u);if(r)if(i){const f=typeof d;f==="string"||f==="number"?u.selected=t.some(m=>String(m)===String(d)):u.selected=looseIndexOf(t,d)>-1}else u.selected=t.has(d);else if(looseEqual(getValue(u),t)){e.selectedIndex!==a&&(e.selectedIndex=a);return}}!r&&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,i){callModelHook(e,t,r,i,"beforeUpdate")},updated(e,t,r,i){callModelHook(e,t,r,i,"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,i,a){const u=resolveDynamicModel(e.tagName,r.props&&r.props.type)[a];u&&u(e,t,r,i)}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$2(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={}),i=t.join(".");return r[i]||(r[i]=(a,...c)=>{for(let u=0;u<t.length;u++){const d=modifierGuards[t[u]];if(d&&d(a,t))return}return e(a,...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={}),i=t.join(".");return r[i]||(r[i]=a=>{if(!("key"in a))return;const c=hyphenate(a.key);if(t.some(u=>u===c||keyNames[u]===c))return e(a)})},rendererOptions=extend({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=i=>{const a=normalizeContainer(i);if(!a)return;const c=t._component;!isFunction$1(c)&&!c.render&&!c.template&&(c.template=a.innerHTML),a.nodeType===1&&(a.textContent="");const u=r(a,!1,resolveRootNamespace(a));return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),u},t},createSSRApp=(...e)=>{const t=ensureHydrationRenderer().createApp(...e),{mount:r}=t;return t.mount=i=>{const a=normalizeContainer(i);if(a)return r(a,!0,resolveRootNamespace(a))},t};function resolveRootNamespace(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function normalizeContainer(e){return isString$2(e)?document.querySelector(e):e}let ssrDirectiveInitialized=!1;const initDirectivesForSSR=()=>{ssrDirectiveInitialized||(ssrDirectiveInitialized=!0,initVModelForSSR(),initVShowForSSR())},runtimeDom=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition,BaseTransitionPropsValidators,Comment:Comment$1,DeprecationTypes,EffectScope,ErrorCodes,ErrorTypeStrings,Fragment,KeepAlive,ReactiveEffect,Static,Suspense,Teleport,Text:Text$1,TrackOpTypes,Transition,TransitionGroup,TriggerOpTypes,VueElement,assertNumber,callWithAsyncErrorHandling,callWithErrorHandling,camelize,capitalize:capitalize$1,cloneVNode,compatUtils,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:devtools$2,effect:effect$2,effectScope,getCurrentInstance:getCurrentInstance$1,getCurrentScope,getCurrentWatcher,getTransitionRawChildren,guardReactiveProps,h,handleError,hasInjectionContext,hydrate,hydrateOnIdle,hydrateOnInteraction,hydrateOnMediaQuery,hydrateOnVisible,initCustomFormatter,initDirectivesForSSR,inject:inject$1,isMemoSame,isProxy,isReactive,isReadonly,isRef,isRuntimeOnly,isShallow,isVNode:isVNode$1,markRaw,mergeDefaults,mergeModels,mergeProps,nextTick,normalizeClass,normalizeProps,normalizeStyle,onActivated,onBeforeMount,onBeforeUnmount,onBeforeUpdate,onDeactivated,onErrorCaptured,onMounted,onRenderTracked,onRenderTriggered,onScopeDispose,onServerPrefetch,onUnmounted,onUpdated,onWatcherCleanup,openBlock,popScopeId,provide,proxyRefs,pushScopeId,queuePostFlushCb,reactive,readonly,ref,registerRuntimeCompiler,render:render$1,renderList,renderSlot:renderSlot$1,resolveComponent,resolveDirective,resolveDynamicComponent,resolveFilter,resolveTransitionHooks,setBlockTracking,setDevtoolsHook,setTransitionHooks,shallowReactive,shallowReadonly,shallowRef,ssrContextKey,ssrUtils,stop,toDisplayString:toDisplayString$1,toHandlerKey,toHandlers,toRaw,toRef:toRef$2,toRefs,toValue,transformVNodeArgs,triggerRef,unref,useAttrs,useCssModule,useCssVars,useHost,useId,useModel,useSSRContext,useShadowRoot,useSlots,useTemplateRef,useTransitionState,vModelCheckbox,vModelDynamic,vModelRadio,vModelSelect,vModelText,vShow,version:version$1,warn:warn$2,watch,watchEffect,watchPostEffect,watchSyncEffect,withAsyncContext,withCtx,withDefaults,withDirectives,withKeys,withMemo,withModifiers,withScopeId},Symbol.toStringTag,{value:"Module"}));/**
* @vue/compiler-core v3.5.17
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const FRAGMENT=Symbol(""),TELEPORT=Symbol(""),SUSPENSE=Symbol(""),KEEP_ALIVE=Symbol(""),BASE_TRANSITION=Symbol(""),OPEN_BLOCK=Symbol(""),CREATE_BLOCK=Symbol(""),CREATE_ELEMENT_BLOCK=Symbol(""),CREATE_VNODE=Symbol(""),CREATE_ELEMENT_VNODE=Symbol(""),CREATE_COMMENT=Symbol(""),CREATE_TEXT=Symbol(""),CREATE_STATIC=Symbol(""),RESOLVE_COMPONENT=Symbol(""),RESOLVE_DYNAMIC_COMPONENT=Symbol(""),RESOLVE_DIRECTIVE=Symbol(""),RESOLVE_FILTER=Symbol(""),WITH_DIRECTIVES=Symbol(""),RENDER_LIST=Symbol(""),RENDER_SLOT=Symbol(""),CREATE_SLOTS=Symbol(""),TO_DISPLAY_STRING=Symbol(""),MERGE_PROPS=Symbol(""),NORMALIZE_CLASS=Symbol(""),NORMALIZE_STYLE=Symbol(""),NORMALIZE_PROPS=Symbol(""),GUARD_REACTIVE_PROPS=Symbol(""),TO_HANDLERS=Symbol(""),CAMELIZE=Symbol(""),CAPITALIZE=Symbol(""),TO_HANDLER_KEY=Symbol(""),SET_BLOCK_TRACKING=Symbol(""),PUSH_SCOPE_ID=Symbol(""),POP_SCOPE_ID=Symbol(""),WITH_CTX=Symbol(""),UNREF=Symbol(""),IS_REF=Symbol(""),WITH_MEMO=Symbol(""),IS_MEMO_SAME=Symbol(""),helperNameMap={[FRAGMENT]:"Fragment",[TELEPORT]:"Teleport",[SUSPENSE]:"Suspense",[KEEP_ALIVE]:"KeepAlive",[BASE_TRANSITION]:"BaseTransition",[OPEN_BLOCK]:"openBlock",[CREATE_BLOCK]:"createBlock",[CREATE_ELEMENT_BLOCK]:"createElementBlock",[CREATE_VNODE]:"createVNode",[CREATE_ELEMENT_VNODE]:"createElementVNode",[CREATE_COMMENT]:"createCommentVNode",[CREATE_TEXT]:"createTextVNode",[CREATE_STATIC]:"createStaticVNode",[RESOLVE_COMPONENT]:"resolveComponent",[RESOLVE_DYNAMIC_COMPONENT]:"resolveDynamicComponent",[RESOLVE_DIRECTIVE]:"resolveDirective",[RESOLVE_FILTER]:"resolveFilter",[WITH_DIRECTIVES]:"withDirectives",[RENDER_LIST]:"renderList",[RENDER_SLOT]:"renderSlot",[CREATE_SLOTS]:"createSlots",[TO_DISPLAY_STRING]:"toDisplayString",[MERGE_PROPS]:"mergeProps",[NORMALIZE_CLASS]:"normalizeClass",[NORMALIZE_STYLE]:"normalizeStyle",[NORMALIZE_PROPS]:"normalizeProps",[GUARD_REACTIVE_PROPS]:"guardReactiveProps",[TO_HANDLERS]:"toHandlers",[CAMELIZE]:"camelize",[CAPITALIZE]:"capitalize",[TO_HANDLER_KEY]:"toHandlerKey",[SET_BLOCK_TRACKING]:"setBlockTracking",[PUSH_SCOPE_ID]:"pushScopeId",[POP_SCOPE_ID]:"popScopeId",[WITH_CTX]:"withCtx",[UNREF]:"unref",[IS_REF]:"isRef",[WITH_MEMO]:"withMemo",[IS_MEMO_SAME]:"isMemoSame"};function registerRuntimeHelpers(e){Object.getOwnPropertySymbols(e).forEach(t=>{helperNameMap[t]=e[t]})}const locStub={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function createRoot(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:locStub}}function createVNodeCall(e,t,r,i,a,c,u,d=!1,f=!1,m=!1,y=locStub){return e&&(d?(e.helper(OPEN_BLOCK),e.helper(getVNodeBlockHelper(e.inSSR,m))):e.helper(getVNodeHelper(e.inSSR,m)),u&&e.helper(WITH_DIRECTIVES)),{type:13,tag:t,props:r,children:i,patchFlag:a,dynamicProps:c,directives:u,isBlock:d,disableTracking:f,isComponent:m,loc:y}}function createArrayExpression(e,t=locStub){return{type:17,loc:t,elements:e}}function createObjectExpression(e,t=locStub){return{type:15,loc:t,properties:e}}function createObjectProperty(e,t){return{type:16,loc:locStub,key:isString$2(e)?createSimpleExpression(e,!0):e,value:t}}function createSimpleExpression(e,t=!1,r=locStub,i=0){return{type:4,loc:r,content:e,isStatic:t,constType:t?3:i}}function createCompoundExpression(e,t=locStub){return{type:8,loc:t,children:e}}function createCallExpression(e,t=[],r=locStub){return{type:14,loc:r,callee:e,arguments:t}}function createFunctionExpression(e,t=void 0,r=!1,i=!1,a=locStub){return{type:18,params:e,returns:t,newline:r,isSlot:i,loc:a}}function createConditionalExpression(e,t,r,i=!0){return{type:19,test:e,consequent:t,alternate:r,newline:i,loc:locStub}}function createCacheExpression(e,t,r=!1,i=!1){return{type:20,index:e,value:t,needPauseTracking:r,inVOnce:i,needArraySpread:!1,loc:locStub}}function createBlockStatement(e){return{type:21,body:e,loc:locStub}}function getVNodeHelper(e,t){return e||t?CREATE_VNODE:CREATE_ELEMENT_VNODE}function getVNodeBlockHelper(e,t){return e||t?CREATE_BLOCK:CREATE_ELEMENT_BLOCK}function convertToBlock(e,{helper:t,removeHelper:r,inSSR:i}){e.isBlock||(e.isBlock=!0,r(getVNodeHelper(i,e.isComponent)),t(OPEN_BLOCK),t(getVNodeBlockHelper(i,e.isComponent)))}const defaultDelimitersOpen=new Uint8Array([123,123]),defaultDelimitersClose=new Uint8Array([125,125]);function isTagStartChar(e){return e>=97&&e<=122||e>=65&&e<=90}function isWhitespace(e){return e===32||e===10||e===9||e===12||e===13}function isEndOfTagSection(e){return e===47||e===62||isWhitespace(e)}function toCharCodes(e){const t=new Uint8Array(e.length);for(let r=0;r<e.length;r++)t[r]=e.charCodeAt(r);return t}const Sequences={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class Tokenizer{constructor(t,r){this.stack=t,this.cbs=r,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=defaultDelimitersOpen,this.delimiterClose=defaultDelimitersClose,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=defaultDelimitersOpen,this.delimiterClose=defaultDelimitersClose}getPos(t){let r=1,i=t+1;for(let a=this.newlines.length-1;a>=0;a--){const c=this.newlines[a];if(t>c){r=a+2,i=t-c;break}}return{column:i,line:r,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const r=this.index+1-this.delimiterOpen.length;r>this.sectionStart&&this.cbs.ontext(this.sectionStart,r),this.state=3,this.sectionStart=r}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){const r=this.sequenceIndex===this.currentSequence.length;if(!(r?isEndOfTagSection(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!r){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||isWhitespace(t)){const r=this.index-this.currentSequence.length;if(this.sectionStart<r){const i=this.index;this.index=r,this.cbs.ontext(this.sectionStart,r),this.index=i}this.sectionStart=r+2,this.stateInClosingTagName(t),this.inRCDATA=!1;return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===Sequences.TitleEnd||this.currentSequence===Sequences.TextareaEnd&&!this.inSFCRoot?!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===60)}stateCDATASequence(t){t===Sequences.Cdata[this.sequenceIndex]?++this.sequenceIndex===Sequences.Cdata.length&&(this.state=28,this.currentSequence=Sequences.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length;){const r=this.buffer.charCodeAt(this.index);if(r===10&&this.newlines.push(this.index),r===t)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===Sequences.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(t,r){this.enterRCDATA(t,r),this.state=31}enterRCDATA(t,r){this.inRCDATA=!0,this.currentSequence=t,this.sequenceIndex=r}stateBeforeTagName(t){t===33?(this.state=22,this.sectionStart=this.index+1):t===63?(this.state=24,this.sectionStart=this.index+1):isTagStartChar(t)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:t===116?this.state=30:this.state=t===115?29:6):t===47?this.state=8:(this.state=1,this.stateText(t))}stateInTagName(t){isEndOfTagSection(t)&&this.handleTagName(t)}stateInSFCRootTagName(t){if(isEndOfTagSection(t)){const r=this.buffer.slice(this.sectionStart,this.index);r!=="template"&&this.enterRCDATA(toCharCodes("</"+r),0),this.handleTagName(t)}}handleTagName(t){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)}stateBeforeClosingTagName(t){isWhitespace(t)||(t===62?(this.state=1,this.sectionStart=this.index+1):(this.state=isTagStartChar(t)?9:27,this.sectionStart=this.index))}stateInClosingTagName(t){(t===62||isWhitespace(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){t===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(t){t===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):t===47?this.state=7:t===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):isWhitespace(t)||this.handleAttrStart(t)}handleAttrStart(t){t===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):t===46||t===58||t===64||t===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):isWhitespace(t)||(this.state=11,this.stateBeforeAttrName(t))}stateInAttrName(t){(t===61||isEndOfTagSection(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(t))}stateInDirName(t){t===61||isEndOfTagSection(t)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):t===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(t){t===61||isEndOfTagSection(t)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===91?this.state=15:t===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(t){t===93?this.state=14:(t===61||isEndOfTagSection(t))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(t))}stateInDirModifier(t){t===61||isEndOfTagSection(t)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(t){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(t)}stateAfterAttrName(t){t===61?this.state=18:t===47||t===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)):isWhitespace(t)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(t))}stateBeforeAttrValue(t){t===34?(this.state=19,this.sectionStart=this.index+1):t===39?(this.state=20,this.sectionStart=this.index+1):isWhitespace(t)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(t))}handleInAttrValue(t,r){(t===r||this.fastForwardTo(r))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(r===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(t){this.handleInAttrValue(t,34)}stateInAttrValueSingleQuotes(t){this.handleInAttrValue(t,39)}stateInAttrValueNoQuotes(t){isWhitespace(t)||t===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(t)):(t===39||t===60||t===61||t===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(t){t===91?(this.state=26,this.sequenceIndex=0):this.state=t===45?25:23}stateInDeclaration(t){(t===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(t){t===45?(this.state=28,this.currentSequence=Sequences.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(t){(t===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){t===Sequences.ScriptEnd[3]?this.startSpecial(Sequences.ScriptEnd,4):t===Sequences.StyleEnd[3]?this.startSpecial(Sequences.StyleEnd,4):(this.state=6,this.stateInTagName(t))}stateBeforeSpecialT(t){t===Sequences.TitleEnd[3]?this.startSpecial(Sequences.TitleEnd,4):t===Sequences.TextareaEnd[3]?this.startSpecial(Sequences.TextareaEnd,4):(this.state=6,this.stateInTagName(t))}startEntity(){}stateInEntity(){}parse(t){for(this.buffer=t;this.index<this.buffer.length;){const r=this.buffer.charCodeAt(this.index);switch(r===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:{this.stateText(r);break}case 2:{this.stateInterpolationOpen(r);break}case 3:{this.stateInterpolation(r);break}case 4:{this.stateInterpolationClose(r);break}case 31:{this.stateSpecialStartSequence(r);break}case 32:{this.stateInRCDATA(r);break}case 26:{this.stateCDATASequence(r);break}case 19:{this.stateInAttrValueDoubleQuotes(r);break}case 12:{this.stateInAttrName(r);break}case 13:{this.stateInDirName(r);break}case 14:{this.stateInDirArg(r);break}case 15:{this.stateInDynamicDirArg(r);break}case 16:{this.stateInDirModifier(r);break}case 28:{this.stateInCommentLike(r);break}case 27:{this.stateInSpecialComment(r);break}case 11:{this.stateBeforeAttrName(r);break}case 6:{this.stateInTagName(r);break}case 34:{this.stateInSFCRootTagName(r);break}case 9:{this.stateInClosingTagName(r);break}case 5:{this.stateBeforeTagName(r);break}case 17:{this.stateAfterAttrName(r);break}case 20:{this.stateInAttrValueSingleQuotes(r);break}case 18:{this.stateBeforeAttrValue(r);break}case 8:{this.stateBeforeClosingTagName(r);break}case 10:{this.stateAfterClosingTagName(r);break}case 29:{this.stateBeforeSpecialS(r);break}case 30:{this.stateBeforeSpecialT(r);break}case 21:{this.stateInAttrValueNoQuotes(r);break}case 7:{this.stateInSelfClosingTag(r);break}case 23:{this.stateInDeclaration(r);break}case 22:{this.stateBeforeDeclaration(r);break}case 25:{this.stateBeforeComment(r);break}case 24:{this.stateInProcessingInstruction(r);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const t=this.buffer.length;this.sectionStart>=t||(this.state===28?this.currentSequence===Sequences.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,r){}}function getCompatValue(e,{compatConfig:t}){const r=t&&t[e];return e==="MODE"?r||3:r}function isCompatEnabled(e,t){const r=getCompatValue("MODE",t),i=getCompatValue(e,t);return r===3?i===!0:i!==!1}function checkCompatEnabled(e,t,r,...i){return isCompatEnabled(e,t)}function defaultOnError$1(e){throw e}function defaultOnWarn(e){}function createCompilerError(e,t,r,i){const a=`https://vuejs.org/error-reference/#compiler-${e}`,c=new SyntaxError(String(a));return c.code=e,c.loc=t,c}const isStaticExp=e=>e.type===4&&e.isStatic;function isCoreComponent(e){switch(e){case"Teleport":case"teleport":return TELEPORT;case"Suspense":case"suspense":return SUSPENSE;case"KeepAlive":case"keep-alive":return KEEP_ALIVE;case"BaseTransition":case"base-transition":return BASE_TRANSITION}}const nonIdentifierRE=/^\d|[^\$\w\xA0-\uFFFF]/,isSimpleIdentifier=e=>!nonIdentifierRE.test(e),validFirstIdentCharRE=/[A-Za-z_$\xA0-\uFFFF]/,validIdentCharRE=/[\.\?\w$\xA0-\uFFFF]/,whitespaceRE=/\s+[.[]\s*|\s*[.[]\s+/g,getExpSource=e=>e.type===4?e.content:e.loc.source,isMemberExpressionBrowser=e=>{const t=getExpSource(e).trim().replace(whitespaceRE,d=>d.trim());let r=0,i=[],a=0,c=0,u=null;for(let d=0;d<t.length;d++){const f=t.charAt(d);switch(r){case 0:if(f==="[")i.push(r),r=1,a++;else if(f==="(")i.push(r),r=2,c++;else if(!(d===0?validFirstIdentCharRE:validIdentCharRE).test(f))return!1;break;case 1:f==="'"||f==='"'||f==="`"?(i.push(r),r=3,u=f):f==="["?a++:f==="]"&&(--a||(r=i.pop()));break;case 2:if(f==="'"||f==='"'||f==="`")i.push(r),r=3,u=f;else if(f==="(")c++;else if(f===")"){if(d===t.length-1)return!1;--c||(r=i.pop())}break;case 3:f===u&&(r=i.pop(),u=null);break}}return!a&&!c},isMemberExpression=isMemberExpressionBrowser,fnExpRE=/^\s*(async\s*)?(\([^)]*?\)|[\w$_]+)\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,isFnExpressionBrowser=e=>fnExpRE.test(getExpSource(e)),isFnExpression=isFnExpressionBrowser;function findDir(e,t,r=!1){for(let i=0;i<e.props.length;i++){const a=e.props[i];if(a.type===7&&(r||a.exp)&&(isString$2(t)?a.name===t:t.test(a.name)))return a}}function findProp(e,t,r=!1,i=!1){for(let a=0;a<e.props.length;a++){const c=e.props[a];if(c.type===6){if(r)continue;if(c.name===t&&(c.value||i))return c}else if(c.name==="bind"&&(c.exp||i)&&isStaticArgOf(c.arg,t))return c}}function isStaticArgOf(e,t){return!!(e&&isStaticExp(e)&&e.content===t)}function hasDynamicKeyVBind(e){return e.props.some(t=>t.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function isText$1(e){return e.type===5||e.type===2}function isVSlot(e){return e.type===7&&e.name==="slot"}function isTemplateNode(e){return e.type===1&&e.tagType===3}function isSlotOutlet(e){return e.type===1&&e.tagType===2}const propsHelperSet=new Set([NORMALIZE_PROPS,GUARD_REACTIVE_PROPS]);function getUnnormalizedProps(e,t=[]){if(e&&!isString$2(e)&&e.type===14){const r=e.callee;if(!isString$2(r)&&propsHelperSet.has(r))return getUnnormalizedProps(e.arguments[0],t.concat(e))}return[e,t]}function injectProp(e,t,r){let i,a=e.type===13?e.props:e.arguments[2],c=[],u;if(a&&!isString$2(a)&&a.type===14){const d=getUnnormalizedProps(a);a=d[0],c=d[1],u=c[c.length-1]}if(a==null||isString$2(a))i=createObjectExpression([t]);else if(a.type===14){const d=a.arguments[0];!isString$2(d)&&d.type===15?hasProp(t,d)||d.properties.unshift(t):a.callee===TO_HANDLERS?i=createCallExpression(r.helper(MERGE_PROPS),[createObjectExpression([t]),a]):a.arguments.unshift(createObjectExpression([t])),!i&&(i=a)}else a.type===15?(hasProp(t,a)||a.properties.unshift(t),i=a):(i=createCallExpression(r.helper(MERGE_PROPS),[createObjectExpression([t]),a]),u&&u.callee===GUARD_REACTIVE_PROPS&&(u=c[c.length-2]));e.type===13?u?u.arguments[0]=i:e.props=i:u?u.arguments[0]=i:e.arguments[2]=i}function hasProp(e,t){let r=!1;if(e.key.type===4){const i=e.key.content;r=t.properties.some(a=>a.key.type===4&&a.key.content===i)}return r}function toValidAssetId(e,t){return`_${t}_${e.replace(/[^\w]/g,(r,i)=>r==="-"?"_":e.charCodeAt(i).toString())}`}function getMemoedVNodeCall(e){return e.type===14&&e.callee===WITH_MEMO?e.arguments[1].returns:e}const forAliasRE=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,defaultParserOptions={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:NO,isPreTag:NO,isIgnoreNewlineTag:NO,isCustomElement:NO,onError:defaultOnError$1,onWarn:defaultOnWarn,comments:!1,prefixIdentifiers:!1};let currentOptions=defaultParserOptions,currentRoot=null,currentInput="",currentOpenTag=null,currentProp=null,currentAttrValue="",currentAttrStartIndex=-1,currentAttrEndIndex=-1,inPre=0,inVPre=!1,currentVPreBoundary=null;const stack=[],tokenizer=new Tokenizer(stack,{onerr:emitError,ontext(e,t){onText(getSlice(e,t),e,t)},ontextentity(e,t,r){onText(e,t,r)},oninterpolation(e,t){if(inVPre)return onText(getSlice(e,t),e,t);let r=e+tokenizer.delimiterOpen.length,i=t-tokenizer.delimiterClose.length;for(;isWhitespace(currentInput.charCodeAt(r));)r++;for(;isWhitespace(currentInput.charCodeAt(i-1));)i--;let a=getSlice(r,i);a.includes("&")&&(a=currentOptions.decodeEntities(a,!1)),addNode({type:5,content:createExp(a,!1,getLoc(r,i)),loc:getLoc(e,t)})},onopentagname(e,t){const r=getSlice(e,t);currentOpenTag={type:1,tag:r,ns:currentOptions.getNamespace(r,stack[0],currentOptions.ns),tagType:0,props:[],children:[],loc:getLoc(e-1,t),codegenNode:void 0}},onopentagend(e){endOpenTag(e)},onclosetag(e,t){const r=getSlice(e,t);if(!currentOptions.isVoidTag(r)){let i=!1;for(let a=0;a<stack.length;a++)if(stack[a].tag.toLowerCase()===r.toLowerCase()){i=!0,a>0&&emitError(24,stack[0].loc.start.offset);for(let u=0;u<=a;u++){const d=stack.shift();onCloseTag(d,t,u<a)}break}i||emitError(23,backTrack(e,60))}},onselfclosingtag(e){const t=currentOpenTag.tag;currentOpenTag.isSelfClosing=!0,endOpenTag(e),stack[0]&&stack[0].tag===t&&onCloseTag(stack.shift(),e)},onattribname(e,t){currentProp={type:6,name:getSlice(e,t),nameLoc:getLoc(e,t),value:void 0,loc:getLoc(e)}},ondirname(e,t){const r=getSlice(e,t),i=r==="."||r===":"?"bind":r==="@"?"on":r==="#"?"slot":r.slice(2);if(!inVPre&&i===""&&emitError(26,e),inVPre||i==="")currentProp={type:6,name:r,nameLoc:getLoc(e,t),value:void 0,loc:getLoc(e)};else if(currentProp={type:7,name:i,rawName:r,exp:void 0,arg:void 0,modifiers:r==="."?[createSimpleExpression("prop")]:[],loc:getLoc(e)},i==="pre"){inVPre=tokenizer.inVPre=!0,currentVPreBoundary=currentOpenTag;const a=currentOpenTag.props;for(let c=0;c<a.length;c++)a[c].type===7&&(a[c]=dirToAttr(a[c]))}},ondirarg(e,t){if(e===t)return;const r=getSlice(e,t);if(inVPre)currentProp.name+=r,setLocEnd(currentProp.nameLoc,t);else{const i=r[0]!=="[";currentProp.arg=createExp(i?r:r.slice(1,-1),i,getLoc(e,t),i?3:0)}},ondirmodifier(e,t){const r=getSlice(e,t);if(inVPre)currentProp.name+="."+r,setLocEnd(currentProp.nameLoc,t);else if(currentProp.name==="slot"){const i=currentProp.arg;i&&(i.content+="."+r,setLocEnd(i.loc,t))}else{const i=createSimpleExpression(r,!0,getLoc(e,t));currentProp.modifiers.push(i)}},onattribdata(e,t){currentAttrValue+=getSlice(e,t),currentAttrStartIndex<0&&(currentAttrStartIndex=e),currentAttrEndIndex=t},onattribentity(e,t,r){currentAttrValue+=e,currentAttrStartIndex<0&&(currentAttrStartIndex=t),currentAttrEndIndex=r},onattribnameend(e){const t=currentProp.loc.start.offset,r=getSlice(t,e);currentProp.type===7&&(currentProp.rawName=r),currentOpenTag.props.some(i=>(i.type===7?i.rawName:i.name)===r)&&emitError(2,t)},onattribend(e,t){if(currentOpenTag&&currentProp){if(setLocEnd(currentProp.loc,t),e!==0)if(currentAttrValue.includes("&")&&(currentAttrValue=currentOptions.decodeEntities(currentAttrValue,!0)),currentProp.type===6)currentProp.name==="class"&&(currentAttrValue=condense(currentAttrValue).trim()),e===1&&!currentAttrValue&&emitError(13,t),currentProp.value={type:2,content:currentAttrValue,loc:e===1?getLoc(currentAttrStartIndex,currentAttrEndIndex):getLoc(currentAttrStartIndex-1,currentAttrEndIndex+1)},tokenizer.inSFCRoot&&currentOpenTag.tag==="template"&&currentProp.name==="lang"&&currentAttrValue&&currentAttrValue!=="html"&&tokenizer.enterRCDATA(toCharCodes("</template"),0);else{let r=0;currentProp.exp=createExp(currentAttrValue,!1,getLoc(currentAttrStartIndex,currentAttrEndIndex),0,r),currentProp.name==="for"&&(currentProp.forParseResult=parseForExpression(currentProp.exp));let i=-1;currentProp.name==="bind"&&(i=currentProp.modifiers.findIndex(a=>a.content==="sync"))>-1&&checkCompatEnabled("COMPILER_V_BIND_SYNC",currentOptions,currentProp.loc,currentProp.arg.loc.source)&&(currentProp.name="model",currentProp.modifiers.splice(i,1))}(currentProp.type!==7||currentProp.name!=="pre")&&currentOpenTag.props.push(currentProp)}currentAttrValue="",currentAttrStartIndex=currentAttrEndIndex=-1},oncomment(e,t){currentOptions.comments&&addNode({type:3,content:getSlice(e,t),loc:getLoc(e-4,t+3)})},onend(){const e=currentInput.length;for(let t=0;t<stack.length;t++)onCloseTag(stack[t],e-1),emitError(24,stack[t].loc.start.offset)},oncdata(e,t){stack[0].ns!==0?onText(getSlice(e,t),e,t):emitError(1,e-9)},onprocessinginstruction(e){(stack[0]?stack[0].ns:currentOptions.ns)===0&&emitError(21,e-1)}}),forIteratorRE=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,stripParensRE=/^\(|\)$/g;function parseForExpression(e){const t=e.loc,r=e.content,i=r.match(forAliasRE);if(!i)return;const[,a,c]=i,u=(v,w,_=!1)=>{const S=t.start.offset+w,b=S+v.length;return createExp(v,!1,getLoc(S,b),0,_?1:0)},d={source:u(c.trim(),r.indexOf(c,a.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let f=a.trim().replace(stripParensRE,"").trim();const m=a.indexOf(f),y=f.match(forIteratorRE);if(y){f=f.replace(forIteratorRE,"").trim();const v=y[1].trim();let w;if(v&&(w=r.indexOf(v,m+f.length),d.key=u(v,w,!0)),y[2]){const _=y[2].trim();_&&(d.index=u(_,r.indexOf(_,d.key?w+v.length:m+f.length),!0))}}return f&&(d.value=u(f,m,!0)),d}function getSlice(e,t){return currentInput.slice(e,t)}function endOpenTag(e){tokenizer.inSFCRoot&&(currentOpenTag.innerLoc=getLoc(e+1,e+1)),addNode(currentOpenTag);const{tag:t,ns:r}=currentOpenTag;r===0&&currentOptions.isPreTag(t)&&inPre++,currentOptions.isVoidTag(t)?onCloseTag(currentOpenTag,e):(stack.unshift(currentOpenTag),(r===1||r===2)&&(tokenizer.inXML=!0)),currentOpenTag=null}function onText(e,t,r){{const c=stack[0]&&stack[0].tag;c!=="script"&&c!=="style"&&e.includes("&")&&(e=currentOptions.decodeEntities(e,!1))}const i=stack[0]||currentRoot,a=i.children[i.children.length-1];a&&a.type===2?(a.content+=e,setLocEnd(a.loc,r)):i.children.push({type:2,content:e,loc:getLoc(t,r)})}function onCloseTag(e,t,r=!1){r?setLocEnd(e.loc,backTrack(t,60)):setLocEnd(e.loc,lookAhead(t,62)+1),tokenizer.inSFCRoot&&(e.children.length?e.innerLoc.end=extend({},e.children[e.children.length-1].loc.end):e.innerLoc.end=extend({},e.innerLoc.start),e.innerLoc.source=getSlice(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:i,ns:a,children:c}=e;if(inVPre||(i==="slot"?e.tagType=2:isFragmentTemplate(e)?e.tagType=3:isComponent(e)&&(e.tagType=1)),tokenizer.inRCDATA||(e.children=condenseWhitespace(c)),a===0&&currentOptions.isIgnoreNewlineTag(i)){const u=c[0];u&&u.type===2&&(u.content=u.content.replace(/^\r?\n/,""))}a===0&&currentOptions.isPreTag(i)&&inPre--,currentVPreBoundary===e&&(inVPre=tokenizer.inVPre=!1,currentVPreBoundary=null),tokenizer.inXML&&(stack[0]?stack[0].ns:currentOptions.ns)===0&&(tokenizer.inXML=!1);{const u=e.props;if(!tokenizer.inSFCRoot&&isCompatEnabled("COMPILER_NATIVE_TEMPLATE",currentOptions)&&e.tag==="template"&&!isFragmentTemplate(e)){const f=stack[0]||currentRoot,m=f.children.indexOf(e);f.children.splice(m,1,...e.children)}const d=u.find(f=>f.type===6&&f.name==="inline-template");d&&checkCompatEnabled("COMPILER_INLINE_TEMPLATE",currentOptions,d.loc)&&e.children.length&&(d.value={type:2,content:getSlice(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:d.loc})}}function lookAhead(e,t){let r=e;for(;currentInput.charCodeAt(r)!==t&&r<currentInput.length-1;)r++;return r}function backTrack(e,t){let r=e;for(;currentInput.charCodeAt(r)!==t&&r>=0;)r--;return r}const specialTemplateDir=new Set(["if","else","else-if","for","slot"]);function isFragmentTemplate({tag:e,props:t}){if(e==="template"){for(let r=0;r<t.length;r++)if(t[r].type===7&&specialTemplateDir.has(t[r].name))return!0}return!1}function isComponent({tag:e,props:t}){if(currentOptions.isCustomElement(e))return!1;if(e==="component"||isUpperCase(e.charCodeAt(0))||isCoreComponent(e)||currentOptions.isBuiltInComponent&&currentOptions.isBuiltInComponent(e)||currentOptions.isNativeTag&&!currentOptions.isNativeTag(e))return!0;for(let r=0;r<t.length;r++){const i=t[r];if(i.type===6){if(i.name==="is"&&i.value){if(i.value.content.startsWith("vue:"))return!0;if(checkCompatEnabled("COMPILER_IS_ON_ELEMENT",currentOptions,i.loc))return!0}}else if(i.name==="bind"&&isStaticArgOf(i.arg,"is")&&checkCompatEnabled("COMPILER_IS_ON_ELEMENT",currentOptions,i.loc))return!0}return!1}function isUpperCase(e){return e>64&&e<91}const windowsNewlineRE=/\r\n/g;function condenseWhitespace(e){const t=currentOptions.whitespace!=="preserve";let r=!1;for(let i=0;i<e.length;i++){const a=e[i];if(a.type===2)if(inPre)a.content=a.content.replace(windowsNewlineRE,`
`);else if(isAllWhitespace(a.content)){const c=e[i-1]&&e[i-1].type,u=e[i+1]&&e[i+1].type;!c||!u||t&&(c===3&&(u===3||u===1)||c===1&&(u===3||u===1&&hasNewlineChar(a.content)))?(r=!0,e[i]=null):a.content=" "}else t&&(a.content=condense(a.content))}return r?e.filter(Boolean):e}function isAllWhitespace(e){for(let t=0;t<e.length;t++)if(!isWhitespace(e.charCodeAt(t)))return!1;return!0}function hasNewlineChar(e){for(let t=0;t<e.length;t++){const r=e.charCodeAt(t);if(r===10||r===13)return!0}return!1}function condense(e){let t="",r=!1;for(let i=0;i<e.length;i++)isWhitespace(e.charCodeAt(i))?r||(t+=" ",r=!0):(t+=e[i],r=!1);return t}function addNode(e){(stack[0]||currentRoot).children.push(e)}function getLoc(e,t){return{start:tokenizer.getPos(e),end:t==null?t:tokenizer.getPos(t),source:t==null?t:getSlice(e,t)}}function cloneLoc(e){return getLoc(e.start.offset,e.end.offset)}function setLocEnd(e,t){e.end=tokenizer.getPos(t),e.source=getSlice(e.start.offset,t)}function dirToAttr(e){const t={type:6,name:e.rawName,nameLoc:getLoc(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){const r=e.exp.loc;r.end.offset<e.loc.end.offset&&(r.start.offset--,r.start.column--,r.end.offset++,r.end.column++),t.value={type:2,content:e.exp.content,loc:r}}return t}function createExp(e,t=!1,r,i=0,a=0){return createSimpleExpression(e,t,r,i)}function emitError(e,t,r){currentOptions.onError(createCompilerError(e,getLoc(t,t)))}function reset(){tokenizer.reset(),currentOpenTag=null,currentProp=null,currentAttrValue="",currentAttrStartIndex=-1,currentAttrEndIndex=-1,stack.length=0}function baseParse(e,t){if(reset(),currentInput=e,currentOptions=extend({},defaultParserOptions),t){let a;for(a in t)t[a]!=null&&(currentOptions[a]=t[a])}tokenizer.mode=currentOptions.parseMode==="html"?1:currentOptions.parseMode==="sfc"?2:0,tokenizer.inXML=currentOptions.ns===1||currentOptions.ns===2;const r=t&&t.delimiters;r&&(tokenizer.delimiterOpen=toCharCodes(r[0]),tokenizer.delimiterClose=toCharCodes(r[1]));const i=currentRoot=createRoot([],e);return tokenizer.parse(currentInput),i.loc=getLoc(0,e.length),i.children=condenseWhitespace(i.children),currentRoot=null,i}function cacheStatic(e,t){walk(e,void 0,t,!!getSingleElementRoot(e))}function getSingleElementRoot(e){const t=e.children.filter(r=>r.type!==3);return t.length===1&&t[0].type===1&&!isSlotOutlet(t[0])?t[0]:null}function walk(e,t,r,i=!1,a=!1){const{children:c}=e,u=[];for(let v=0;v<c.length;v++){const w=c[v];if(w.type===1&&w.tagType===0){const _=i?0:getConstantType(w,r);if(_>0){if(_>=2){w.codegenNode.patchFlag=-1,u.push(w);continue}}else{const S=w.codegenNode;if(S.type===13){const b=S.patchFlag;if((b===void 0||b===512||b===1)&&getGeneratedPropsConstantType(w,r)>=2){const k=getNodeProps(w);k&&(S.props=r.hoist(k))}S.dynamicProps&&(S.dynamicProps=r.hoist(S.dynamicProps))}}}else if(w.type===12&&(i?0:getConstantType(w,r))>=2){u.push(w);continue}if(w.type===1){const _=w.tagType===1;_&&r.scopes.vSlot++,walk(w,e,r,!1,a),_&&r.scopes.vSlot--}else if(w.type===11)walk(w,e,r,w.children.length===1,!0);else if(w.type===9)for(let _=0;_<w.branches.length;_++)walk(w.branches[_],e,r,w.branches[_].children.length===1,a)}let d=!1;const f=[];if(u.length===c.length&&e.type===1){if(e.tagType===0&&e.codegenNode&&e.codegenNode.type===13&&isArray$2(e.codegenNode.children))e.codegenNode.children=m(createArrayExpression(e.codegenNode.children)),d=!0;else if(e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!isArray$2(e.codegenNode.children)&&e.codegenNode.children.type===15){const v=y(e.codegenNode,"default");v&&(f.push(r.cached.length),v.returns=m(createArrayExpression(v.returns)),d=!0)}else if(e.tagType===3&&t&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!isArray$2(t.codegenNode.children)&&t.codegenNode.children.type===15){const v=findDir(e,"slot",!0),w=v&&v.arg&&y(t.codegenNode,v.arg);w&&(f.push(r.cached.length),w.returns=m(createArrayExpression(w.returns)),d=!0)}}if(!d)for(const v of u)f.push(r.cached.length),v.codegenNode=r.cache(v.codegenNode);f.length&&e.type===1&&e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!isArray$2(e.codegenNode.children)&&e.codegenNode.children.type===15&&e.codegenNode.children.properties.push(createObjectProperty("__",createSimpleExpression(JSON.stringify(f),!1)));function m(v){const w=r.cache(v);return a&&r.hmr&&(w.needArraySpread=!0),w}function y(v,w){if(v.children&&!isArray$2(v.children)&&v.children.type===15){const _=v.children.properties.find(S=>S.key===w||S.key.content===w);return _&&_.value}}u.length&&r.transformHoist&&r.transformHoist(c,r,e)}function getConstantType(e,t){const{constantCache:r}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;const i=r.get(e);if(i!==void 0)return i;const a=e.codegenNode;if(a.type!==13||a.isBlock&&e.tag!=="svg"&&e.tag!=="foreignObject"&&e.tag!=="math")return 0;if(a.patchFlag===void 0){let u=3;const d=getGeneratedPropsConstantType(e,t);if(d===0)return r.set(e,0),0;d<u&&(u=d);for(let f=0;f<e.children.length;f++){const m=getConstantType(e.children[f],t);if(m===0)return r.set(e,0),0;m<u&&(u=m)}if(u>1)for(let f=0;f<e.props.length;f++){const m=e.props[f];if(m.type===7&&m.name==="bind"&&m.exp){const y=getConstantType(m.exp,t);if(y===0)return r.set(e,0),0;y<u&&(u=y)}}if(a.isBlock){for(let f=0;f<e.props.length;f++)if(e.props[f].type===7)return r.set(e,0),0;t.removeHelper(OPEN_BLOCK),t.removeHelper(getVNodeBlockHelper(t.inSSR,a.isComponent)),a.isBlock=!1,t.helper(getVNodeHelper(t.inSSR,a.isComponent))}return r.set(e,u),u}else return r.set(e,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return getConstantType(e.content,t);case 4:return e.constType;case 8:let c=3;for(let u=0;u<e.children.length;u++){const d=e.children[u];if(isString$2(d)||isSymbol(d))continue;const f=getConstantType(d,t);if(f===0)return 0;f<c&&(c=f)}return c;case 20:return 2;default:return 0}}const allowHoistedHelperSet=new Set([NORMALIZE_CLASS,NORMALIZE_STYLE,NORMALIZE_PROPS,GUARD_REACTIVE_PROPS]);function getConstantTypeOfHelperCall(e,t){if(e.type===14&&!isString$2(e.callee)&&allowHoistedHelperSet.has(e.callee)){const r=e.arguments[0];if(r.type===4)return getConstantType(r,t);if(r.type===14)return getConstantTypeOfHelperCall(r,t)}return 0}function getGeneratedPropsConstantType(e,t){let r=3;const i=getNodeProps(e);if(i&&i.type===15){const{properties:a}=i;for(let c=0;c<a.length;c++){const{key:u,value:d}=a[c],f=getConstantType(u,t);if(f===0)return f;f<r&&(r=f);let m;if(d.type===4?m=getConstantType(d,t):d.type===14?m=getConstantTypeOfHelperCall(d,t):m=0,m===0)return m;m<r&&(r=m)}}return r}function getNodeProps(e){const t=e.codegenNode;if(t.type===13)return t.props}function createTransformContext(e,{filename:t="",prefixIdentifiers:r=!1,hoistStatic:i=!1,hmr:a=!1,cacheHandlers:c=!1,nodeTransforms:u=[],directiveTransforms:d={},transformHoist:f=null,isBuiltInComponent:m=NOOP,isCustomElement:y=NOOP,expressionPlugins:v=[],scopeId:w=null,slotted:_=!0,ssr:S=!1,inSSR:b=!1,ssrCssVars:k="",bindingMetadata:C=EMPTY_OBJ,inline:O=!1,isTS:T=!1,onError:E=defaultOnError$1,onWarn:A=defaultOnWarn,compatConfig:P}){const M=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),D={filename:t,selfName:M&&capitalize$1(camelize(M[1])),prefixIdentifiers:r,hoistStatic:i,hmr:a,cacheHandlers:c,nodeTransforms:u,directiveTransforms:d,transformHoist:f,isBuiltInComponent:m,isCustomElement:y,expressionPlugins:v,scopeId:w,slotted:_,ssr:S,inSSR:b,ssrCssVars:k,bindingMetadata:C,inline:O,isTS:T,onError:E,onWarn:A,compatConfig:P,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(F){const I=D.helpers.get(F)||0;return D.helpers.set(F,I+1),F},removeHelper(F){const I=D.helpers.get(F);if(I){const U=I-1;U?D.helpers.set(F,U):D.helpers.delete(F)}},helperString(F){return`_${helperNameMap[D.helper(F)]}`},replaceNode(F){D.parent.children[D.childIndex]=D.currentNode=F},removeNode(F){const I=D.parent.children,U=F?I.indexOf(F):D.currentNode?D.childIndex:-1;!F||F===D.currentNode?(D.currentNode=null,D.onNodeRemoved()):D.childIndex>U&&(D.childIndex--,D.onNodeRemoved()),D.parent.children.splice(U,1)},onNodeRemoved:NOOP,addIdentifiers(F){},removeIdentifiers(F){},hoist(F){isString$2(F)&&(F=createSimpleExpression(F)),D.hoists.push(F);const I=createSimpleExpression(`_hoisted_${D.hoists.length}`,!1,F.loc,2);return I.hoisted=F,I},cache(F,I=!1,U=!1){const $=createCacheExpression(D.cached.length,F,I,U);return D.cached.push($),$}};return D.filters=new Set,D}function transform$2(e,t){const r=createTransformContext(e,t);traverseNode$1(e,r),t.hoistStatic&&cacheStatic(e,r),t.ssr||createRootCodegen(e,r),e.helpers=new Set([...r.helpers.keys()]),e.components=[...r.components],e.directives=[...r.directives],e.imports=r.imports,e.hoists=r.hoists,e.temps=r.temps,e.cached=r.cached,e.transformed=!0,e.filters=[...r.filters]}function createRootCodegen(e,t){const{helper:r}=t,{children:i}=e;if(i.length===1){const a=getSingleElementRoot(e);if(a&&a.codegenNode){const c=a.codegenNode;c.type===13&&convertToBlock(c,t),e.codegenNode=c}else e.codegenNode=i[0]}else if(i.length>1){let a=64;e.codegenNode=createVNodeCall(t,r(FRAGMENT),void 0,e.children,a,void 0,void 0,!0,void 0,!1)}}function traverseChildren(e,t){let r=0;const i=()=>{r--};for(;r<e.children.length;r++){const a=e.children[r];isString$2(a)||(t.grandParent=t.parent,t.parent=e,t.childIndex=r,t.onNodeRemoved=i,traverseNode$1(a,t))}}function traverseNode$1(e,t){t.currentNode=e;const{nodeTransforms:r}=t,i=[];for(let c=0;c<r.length;c++){const u=r[c](e,t);if(u&&(isArray$2(u)?i.push(...u):i.push(u)),t.currentNode)e=t.currentNode;else return}switch(e.type){case 3:t.ssr||t.helper(CREATE_COMMENT);break;case 5:t.ssr||t.helper(TO_DISPLAY_STRING);break;case 9:for(let c=0;c<e.branches.length;c++)traverseNode$1(e.branches[c],t);break;case 10:case 11:case 1:case 0:traverseChildren(e,t);break}t.currentNode=e;let a=i.length;for(;a--;)i[a]()}function createStructuralDirectiveTransform(e,t){const r=isString$2(e)?i=>i===e:i=>e.test(i);return(i,a)=>{if(i.type===1){const{props:c}=i;if(i.tagType===3&&c.some(isVSlot))return;const u=[];for(let d=0;d<c.length;d++){const f=c[d];if(f.type===7&&r(f.name)){c.splice(d,1),d--;const m=t(i,f,a);m&&u.push(m)}}return u}}}const PURE_ANNOTATION="/*@__PURE__*/",aliasHelper=e=>`${helperNameMap[e]}: _${helperNameMap[e]}`;function createCodegenContext(e,{mode:t="function",prefixIdentifiers:r=t==="module",sourceMap:i=!1,filename:a="template.vue.html",scopeId:c=null,optimizeImports:u=!1,runtimeGlobalName:d="Vue",runtimeModuleName:f="vue",ssrRuntimeModuleName:m="vue/server-renderer",ssr:y=!1,isTS:v=!1,inSSR:w=!1}){const _={mode:t,prefixIdentifiers:r,sourceMap:i,filename:a,scopeId:c,optimizeImports:u,runtimeGlobalName:d,runtimeModuleName:f,ssrRuntimeModuleName:m,ssr:y,isTS:v,inSSR:w,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(b){return`_${helperNameMap[b]}`},push(b,k=-2,C){_.code+=b},indent(){S(++_.indentLevel)},deindent(b=!1){b?--_.indentLevel:S(--_.indentLevel)},newline(){S(_.indentLevel)}};function S(b){_.push(`
`+" ".repeat(b),0)}return _}function generate$1(e,t={}){const r=createCodegenContext(e,t);t.onContextCreated&&t.onContextCreated(r);const{mode:i,push:a,prefixIdentifiers:c,indent:u,deindent:d,newline:f,scopeId:m,ssr:y}=r,v=Array.from(e.helpers),w=v.length>0,_=!c&&i!=="module";genFunctionPreamble(e,r);const b=y?"ssrRender":"render",C=(y?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ");if(a(`function ${b}(${C}) {`),u(),_&&(a("with (_ctx) {"),u(),w&&(a(`const { ${v.map(aliasHelper).join(", ")} } = _Vue
`,-1),f())),e.components.length&&(genAssets(e.components,"component",r),(e.directives.length||e.temps>0)&&f()),e.directives.length&&(genAssets(e.directives,"directive",r),e.temps>0&&f()),e.filters&&e.filters.length&&(f(),genAssets(e.filters,"filter",r),f()),e.temps>0){a("let ");for(let O=0;O<e.temps;O++)a(`${O>0?", ":""}_temp${O}`)}return(e.components.length||e.directives.length||e.temps)&&(a(`
`,0),f()),y||a("return "),e.codegenNode?genNode(e.codegenNode,r):a("null"),_&&(d(),a("}")),d(),a("}"),{ast:e,code:r.code,preamble:"",map:r.map?r.map.toJSON():void 0}}function genFunctionPreamble(e,t){const{ssr:r,prefixIdentifiers:i,push:a,newline:c,runtimeModuleName:u,runtimeGlobalName:d,ssrRuntimeModuleName:f}=t,m=d,y=Array.from(e.helpers);if(y.length>0&&(a(`const _Vue = ${m}
`,-1),e.hoists.length)){const v=[CREATE_VNODE,CREATE_ELEMENT_VNODE,CREATE_COMMENT,CREATE_TEXT,CREATE_STATIC].filter(w=>y.includes(w)).map(aliasHelper).join(", ");a(`const { ${v} } = _Vue
`,-1)}genHoists(e.hoists,t),c(),a("return ")}function genAssets(e,t,{helper:r,push:i,newline:a,isTS:c}){const u=r(t==="filter"?RESOLVE_FILTER:t==="component"?RESOLVE_COMPONENT:RESOLVE_DIRECTIVE);for(let d=0;d<e.length;d++){let f=e[d];const m=f.endsWith("__self");m&&(f=f.slice(0,-6)),i(`const ${toValidAssetId(f,t)} = ${u}(${JSON.stringify(f)}${m?", true":""})${c?"!":""}`),d<e.length-1&&a()}}function genHoists(e,t){if(!e.length)return;t.pure=!0;const{push:r,newline:i}=t;i();for(let a=0;a<e.length;a++){const c=e[a];c&&(r(`const _hoisted_${a+1} = `),genNode(c,t),i())}t.pure=!1}function genNodeListAsArray(e,t){const r=e.length>3||!1;t.push("["),r&&t.indent(),genNodeList(e,t,r),r&&t.deindent(),t.push("]")}function genNodeList(e,t,r=!1,i=!0){const{push:a,newline:c}=t;for(let u=0;u<e.length;u++){const d=e[u];isString$2(d)?a(d,-3):isArray$2(d)?genNodeListAsArray(d,t):genNode(d,t),u<e.length-1&&(r?(i&&a(","),c()):i&&a(", "))}}function genNode(e,t){if(isString$2(e)){t.push(e,-3);return}if(isSymbol(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:genNode(e.codegenNode,t);break;case 2:genText(e,t);break;case 4:genExpression(e,t);break;case 5:genInterpolation(e,t);break;case 12:genNode(e.codegenNode,t);break;case 8:genCompoundExpression(e,t);break;case 3:genComment(e,t);break;case 13:genVNodeCall(e,t);break;case 14:genCallExpression(e,t);break;case 15:genObjectExpression(e,t);break;case 17:genArrayExpression(e,t);break;case 18:genFunctionExpression(e,t);break;case 19:genConditionalExpression(e,t);break;case 20:genCacheExpression(e,t);break;case 21:genNodeList(e.body,t,!0,!1);break}}function genText(e,t){t.push(JSON.stringify(e.content),-3,e)}function genExpression(e,t){const{content:r,isStatic:i}=e;t.push(i?JSON.stringify(r):r,-3,e)}function genInterpolation(e,t){const{push:r,helper:i,pure:a}=t;a&&r(PURE_ANNOTATION),r(`${i(TO_DISPLAY_STRING)}(`),genNode(e.content,t),r(")")}function genCompoundExpression(e,t){for(let r=0;r<e.children.length;r++){const i=e.children[r];isString$2(i)?t.push(i,-3):genNode(i,t)}}function genExpressionAsPropertyKey(e,t){const{push:r}=t;if(e.type===8)r("["),genCompoundExpression(e,t),r("]");else if(e.isStatic){const i=isSimpleIdentifier(e.content)?e.content:JSON.stringify(e.content);r(i,-2,e)}else r(`[${e.content}]`,-3,e)}function genComment(e,t){const{push:r,helper:i,pure:a}=t;a&&r(PURE_ANNOTATION),r(`${i(CREATE_COMMENT)}(${JSON.stringify(e.content)})`,-3,e)}function genVNodeCall(e,t){const{push:r,helper:i,pure:a}=t,{tag:c,props:u,children:d,patchFlag:f,dynamicProps:m,directives:y,isBlock:v,disableTracking:w,isComponent:_}=e;let S;f&&(S=String(f)),y&&r(i(WITH_DIRECTIVES)+"("),v&&r(`(${i(OPEN_BLOCK)}(${w?"true":""}), `),a&&r(PURE_ANNOTATION);const b=v?getVNodeBlockHelper(t.inSSR,_):getVNodeHelper(t.inSSR,_);r(i(b)+"(",-2,e),genNodeList(genNullableArgs([c,u,d,S,m]),t),r(")"),v&&r(")"),y&&(r(", "),genNode(y,t),r(")"))}function genNullableArgs(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(r=>r||"null")}function genCallExpression(e,t){const{push:r,helper:i,pure:a}=t,c=isString$2(e.callee)?e.callee:i(e.callee);a&&r(PURE_ANNOTATION),r(c+"(",-2,e),genNodeList(e.arguments,t),r(")")}function genObjectExpression(e,t){const{push:r,indent:i,deindent:a,newline:c}=t,{properties:u}=e;if(!u.length){r("{}",-2,e);return}const d=u.length>1||!1;r(d?"{":"{ "),d&&i();for(let f=0;f<u.length;f++){const{key:m,value:y}=u[f];genExpressionAsPropertyKey(m,t),r(": "),genNode(y,t),f<u.length-1&&(r(","),c())}d&&a(),r(d?"}":" }")}function genArrayExpression(e,t){genNodeListAsArray(e.elements,t)}function genFunctionExpression(e,t){const{push:r,indent:i,deindent:a}=t,{params:c,returns:u,body:d,newline:f,isSlot:m}=e;m&&r(`_${helperNameMap[WITH_CTX]}(`),r("(",-2,e),isArray$2(c)?genNodeList(c,t):c&&genNode(c,t),r(") => "),(f||d)&&(r("{"),i()),u?(f&&r("return "),isArray$2(u)?genNodeListAsArray(u,t):genNode(u,t)):d&&genNode(d,t),(f||d)&&(a(),r("}")),m&&(e.isNonScopedSlot&&r(", undefined, true"),r(")"))}function genConditionalExpression(e,t){const{test:r,consequent:i,alternate:a,newline:c}=e,{push:u,indent:d,deindent:f,newline:m}=t;if(r.type===4){const v=!isSimpleIdentifier(r.content);v&&u("("),genExpression(r,t),v&&u(")")}else u("("),genNode(r,t),u(")");c&&d(),t.indentLevel++,c||u(" "),u("? "),genNode(i,t),t.indentLevel--,c&&m(),c||u(" "),u(": ");const y=a.type===19;y||t.indentLevel++,genNode(a,t),y||t.indentLevel--,c&&f(!0)}function genCacheExpression(e,t){const{push:r,helper:i,indent:a,deindent:c,newline:u}=t,{needPauseTracking:d,needArraySpread:f}=e;f&&r("[...("),r(`_cache[${e.index}] || (`),d&&(a(),r(`${i(SET_BLOCK_TRACKING)}(-1`),e.inVOnce&&r(", true"),r("),"),u(),r("(")),r(`_cache[${e.index}] = `),genNode(e.value,t),d&&(r(`).cacheIndex = ${e.index},`),u(),r(`${i(SET_BLOCK_TRACKING)}(1),`),u(),r(`_cache[${e.index}]`),c()),r(")"),f&&r(")]")}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");const transformIf=createStructuralDirectiveTransform(/^(if|else|else-if)$/,(e,t,r)=>processIf(e,t,r,(i,a,c)=>{const u=r.parent.children;let d=u.indexOf(i),f=0;for(;d-->=0;){const m=u[d];m&&m.type===9&&(f+=m.branches.length)}return()=>{if(c)i.codegenNode=createCodegenNodeForBranch(a,f,r);else{const m=getParentCondition(i.codegenNode);m.alternate=createCodegenNodeForBranch(a,f+i.branches.length-1,r)}}}));function processIf(e,t,r,i){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const a=t.exp?t.exp.loc:e.loc;r.onError(createCompilerError(28,t.loc)),t.exp=createSimpleExpression("true",!1,a)}if(t.name==="if"){const a=createIfBranch(e,t),c={type:9,loc:cloneLoc(e.loc),branches:[a]};if(r.replaceNode(c),i)return i(c,a,!0)}else{const a=r.parent.children;let c=a.indexOf(e);for(;c-->=-1;){const u=a[c];if(u&&u.type===3){r.removeNode(u);continue}if(u&&u.type===2&&!u.content.trim().length){r.removeNode(u);continue}if(u&&u.type===9){t.name==="else-if"&&u.branches[u.branches.length-1].condition===void 0&&r.onError(createCompilerError(30,e.loc)),r.removeNode();const d=createIfBranch(e,t);u.branches.push(d);const f=i&&i(u,d,!1);traverseNode$1(d,r),f&&f(),r.currentNode=null}else r.onError(createCompilerError(30,e.loc));break}}}function createIfBranch(e,t){const r=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:r&&!findDir(e,"for")?e.children:[e],userKey:findProp(e,"key"),isTemplateIf:r}}function createCodegenNodeForBranch(e,t,r){return e.condition?createConditionalExpression(e.condition,createChildrenCodegenNode(e,t,r),createCallExpression(r.helper(CREATE_COMMENT),['""',"true"])):createChildrenCodegenNode(e,t,r)}function createChildrenCodegenNode(e,t,r){const{helper:i}=r,a=createObjectProperty("key",createSimpleExpression(`${t}`,!1,locStub,2)),{children:c}=e,u=c[0];if(c.length!==1||u.type!==1)if(c.length===1&&u.type===11){const f=u.codegenNode;return injectProp(f,a,r),f}else return createVNodeCall(r,i(FRAGMENT),createObjectExpression([a]),c,64,void 0,void 0,!0,!1,!1,e.loc);else{const f=u.codegenNode,m=getMemoedVNodeCall(f);return m.type===13&&convertToBlock(m,r),injectProp(m,a,r),f}}function getParentCondition(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const transformBind=(e,t,r)=>{const{modifiers:i,loc:a}=e,c=e.arg;let{exp:u}=e;if(u&&u.type===4&&!u.content.trim()&&(u=void 0),!u){if(c.type!==4||!c.isStatic)return r.onError(createCompilerError(52,c.loc)),{props:[createObjectProperty(c,createSimpleExpression("",!0,a))]};transformBindShorthand(e),u=e.exp}return c.type!==4?(c.children.unshift("("),c.children.push(') || ""')):c.isStatic||(c.content=`${c.content} || ""`),i.some(d=>d.content==="camel")&&(c.type===4?c.isStatic?c.content=camelize(c.content):c.content=`${r.helperString(CAMELIZE)}(${c.content})`:(c.children.unshift(`${r.helperString(CAMELIZE)}(`),c.children.push(")"))),r.inSSR||(i.some(d=>d.content==="prop")&&injectPrefix(c,"."),i.some(d=>d.content==="attr")&&injectPrefix(c,"^")),{props:[createObjectProperty(c,u)]}},transformBindShorthand=(e,t)=>{const r=e.arg,i=camelize(r.content);e.exp=createSimpleExpression(i,!1,r.loc)},injectPrefix=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},transformFor=createStructuralDirectiveTransform("for",(e,t,r)=>{const{helper:i,removeHelper:a}=r;return processFor(e,t,r,c=>{const u=createCallExpression(i(RENDER_LIST),[c.source]),d=isTemplateNode(e),f=findDir(e,"memo"),m=findProp(e,"key",!1,!0);m&&m.type===7&&!m.exp&&transformBindShorthand(m);let v=m&&(m.type===6?m.value?createSimpleExpression(m.value.content,!0):void 0:m.exp);const w=m&&v?createObjectProperty("key",v):null,_=c.source.type===4&&c.source.constType>0,S=_?64:m?128:256;return c.codegenNode=createVNodeCall(r,i(FRAGMENT),void 0,u,S,void 0,void 0,!0,!_,!1,e.loc),()=>{let b;const{children:k}=c,C=k.length!==1||k[0].type!==1,O=isSlotOutlet(e)?e:d&&e.children.length===1&&isSlotOutlet(e.children[0])?e.children[0]:null;if(O?(b=O.codegenNode,d&&w&&injectProp(b,w,r)):C?b=createVNodeCall(r,i(FRAGMENT),w?createObjectExpression([w]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(b=k[0].codegenNode,d&&w&&injectProp(b,w,r),b.isBlock!==!_&&(b.isBlock?(a(OPEN_BLOCK),a(getVNodeBlockHelper(r.inSSR,b.isComponent))):a(getVNodeHelper(r.inSSR,b.isComponent))),b.isBlock=!_,b.isBlock?(i(OPEN_BLOCK),i(getVNodeBlockHelper(r.inSSR,b.isComponent))):i(getVNodeHelper(r.inSSR,b.isComponent))),f){const T=createFunctionExpression(createForLoopParams(c.parseResult,[createSimpleExpression("_cached")]));T.body=createBlockStatement([createCompoundExpression(["const _memo = (",f.exp,")"]),createCompoundExpression(["if (_cached",...v?[" && _cached.key === ",v]:[],` && ${r.helperString(IS_MEMO_SAME)}(_cached, _memo)) return _cached`]),createCompoundExpression(["const _item = ",b]),createSimpleExpression("_item.memo = _memo"),createSimpleExpression("return _item")]),u.arguments.push(T,createSimpleExpression("_cache"),createSimpleExpression(String(r.cached.length))),r.cached.push(null)}else u.arguments.push(createFunctionExpression(createForLoopParams(c.parseResult),b,!0))}})});function processFor(e,t,r,i){if(!t.exp){r.onError(createCompilerError(31,t.loc));return}const a=t.forParseResult;if(!a){r.onError(createCompilerError(32,t.loc));return}finalizeForParseResult(a);const{addIdentifiers:c,removeIdentifiers:u,scopes:d}=r,{source:f,value:m,key:y,index:v}=a,w={type:11,loc:t.loc,source:f,valueAlias:m,keyAlias:y,objectIndexAlias:v,parseResult:a,children:isTemplateNode(e)?e.children:[e]};r.replaceNode(w),d.vFor++;const _=i&&i(w);return()=>{d.vFor--,_&&_()}}function finalizeForParseResult(e,t){e.finalized||(e.finalized=!0)}function createForLoopParams({value:e,key:t,index:r},i=[]){return createParamsList([e,t,r,...i])}function createParamsList(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((r,i)=>r||createSimpleExpression("_".repeat(i+1),!1))}const defaultFallback=createSimpleExpression("undefined",!1),trackSlotScopes=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const r=findDir(e,"slot");if(r)return r.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},buildClientSlotFn=(e,t,r,i)=>createFunctionExpression(e,r,!1,!0,r.length?r[0].loc:i);function buildSlots(e,t,r=buildClientSlotFn){t.helper(WITH_CTX);const{children:i,loc:a}=e,c=[],u=[];let d=t.scopes.vSlot>0||t.scopes.vFor>0;const f=findDir(e,"slot",!0);if(f){const{arg:k,exp:C}=f;k&&!isStaticExp(k)&&(d=!0),c.push(createObjectProperty(k||createSimpleExpression("default",!0),r(C,void 0,i,a)))}let m=!1,y=!1;const v=[],w=new Set;let _=0;for(let k=0;k<i.length;k++){const C=i[k];let O;if(!isTemplateNode(C)||!(O=findDir(C,"slot",!0))){C.type!==3&&v.push(C);continue}if(f){t.onError(createCompilerError(37,O.loc));break}m=!0;const{children:T,loc:E}=C,{arg:A=createSimpleExpression("default",!0),exp:P,loc:M}=O;let D;isStaticExp(A)?D=A?A.content:"default":d=!0;const F=findDir(C,"for"),I=r(P,F,T,E);let U,$;if(U=findDir(C,"if"))d=!0,u.push(createConditionalExpression(U.exp,buildDynamicSlot(A,I,_++),defaultFallback));else if($=findDir(C,/^else(-if)?$/,!0)){let z=k,q;for(;z--&&(q=i[z],!(q.type!==3&&isNonWhitespaceContent(q))););if(q&&isTemplateNode(q)&&findDir(q,/^(else-)?if$/)){let G=u[u.length-1];for(;G.alternate.type===19;)G=G.alternate;G.alternate=$.exp?createConditionalExpression($.exp,buildDynamicSlot(A,I,_++),defaultFallback):buildDynamicSlot(A,I,_++)}else t.onError(createCompilerError(30,$.loc))}else if(F){d=!0;const z=F.forParseResult;z?(finalizeForParseResult(z),u.push(createCallExpression(t.helper(RENDER_LIST),[z.source,createFunctionExpression(createForLoopParams(z),buildDynamicSlot(A,I),!0)]))):t.onError(createCompilerError(32,F.loc))}else{if(D){if(w.has(D)){t.onError(createCompilerError(38,M));continue}w.add(D),D==="default"&&(y=!0)}c.push(createObjectProperty(A,I))}}if(!f){const k=(C,O)=>{const T=r(C,void 0,O,a);return t.compatConfig&&(T.isNonScopedSlot=!0),createObjectProperty("default",T)};m?v.length&&v.some(C=>isNonWhitespaceContent(C))&&(y?t.onError(createCompilerError(39,v[0].loc)):c.push(k(void 0,v))):c.push(k(void 0,i))}const S=d?2:hasForwardedSlots(e.children)?3:1;let b=createObjectExpression(c.concat(createObjectProperty("_",createSimpleExpression(S+"",!1))),a);return u.length&&(b=createCallExpression(t.helper(CREATE_SLOTS),[b,createArrayExpression(u)])),{slots:b,hasDynamicSlots:d}}function buildDynamicSlot(e,t,r){const i=[createObjectProperty("name",e),createObjectProperty("fn",t)];return r!=null&&i.push(createObjectProperty("key",createSimpleExpression(String(r),!0))),createObjectExpression(i)}function hasForwardedSlots(e){for(let t=0;t<e.length;t++){const r=e[t];switch(r.type){case 1:if(r.tagType===2||hasForwardedSlots(r.children))return!0;break;case 9:if(hasForwardedSlots(r.branches))return!0;break;case 10:case 11:if(hasForwardedSlots(r.children))return!0;break}}return!1}function isNonWhitespaceContent(e){return e.type!==2&&e.type!==12?!0:e.type===2?!!e.content.trim():isNonWhitespaceContent(e.content)}const directiveImportMap=new WeakMap,transformElement=(e,t)=>function(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:i,props:a}=e,c=e.tagType===1;let u=c?resolveComponentType(e,t):`"${i}"`;const d=isObject$4(u)&&u.callee===RESOLVE_DYNAMIC_COMPONENT;let f,m,y=0,v,w,_,S=d||u===TELEPORT||u===SUSPENSE||!c&&(i==="svg"||i==="foreignObject"||i==="math");if(a.length>0){const b=buildProps(e,t,void 0,c,d);f=b.props,y=b.patchFlag,w=b.dynamicPropNames;const k=b.directives;_=k&&k.length?createArrayExpression(k.map(C=>buildDirectiveArgs(C,t))):void 0,b.shouldUseBlock&&(S=!0)}if(e.children.length>0)if(u===KEEP_ALIVE&&(S=!0,y|=1024),c&&u!==TELEPORT&&u!==KEEP_ALIVE){const{slots:k,hasDynamicSlots:C}=buildSlots(e,t);m=k,C&&(y|=1024)}else if(e.children.length===1&&u!==TELEPORT){const k=e.children[0],C=k.type,O=C===5||C===8;O&&getConstantType(k,t)===0&&(y|=1),O||C===2?m=k:m=e.children}else m=e.children;w&&w.length&&(v=stringifyDynamicPropNames(w)),e.codegenNode=createVNodeCall(t,u,f,m,y===0?void 0:y,v,_,!!S,!1,c,e.loc)};function resolveComponentType(e,t,r=!1){let{tag:i}=e;const a=isComponentTag(i),c=findProp(e,"is",!1,!0);if(c)if(a||isCompatEnabled("COMPILER_IS_ON_ELEMENT",t)){let d;if(c.type===6?d=c.value&&createSimpleExpression(c.value.content,!0):(d=c.exp,d||(d=createSimpleExpression("is",!1,c.arg.loc))),d)return createCallExpression(t.helper(RESOLVE_DYNAMIC_COMPONENT),[d])}else c.type===6&&c.value.content.startsWith("vue:")&&(i=c.value.content.slice(4));const u=isCoreComponent(i)||t.isBuiltInComponent(i);return u?(r||t.helper(u),u):(t.helper(RESOLVE_COMPONENT),t.components.add(i),toValidAssetId(i,"component"))}function buildProps(e,t,r=e.props,i,a,c=!1){const{tag:u,loc:d,children:f}=e;let m=[];const y=[],v=[],w=f.length>0;let _=!1,S=0,b=!1,k=!1,C=!1,O=!1,T=!1,E=!1;const A=[],P=I=>{m.length&&(y.push(createObjectExpression(dedupeProperties(m),d)),m=[]),I&&y.push(I)},M=()=>{t.scopes.vFor>0&&m.push(createObjectProperty(createSimpleExpression("ref_for",!0),createSimpleExpression("true")))},D=({key:I,value:U})=>{if(isStaticExp(I)){const $=I.content,z=isOn$1($);if(z&&(!i||a)&&$.toLowerCase()!=="onclick"&&$!=="onUpdate:modelValue"&&!isReservedProp($)&&(O=!0),z&&isReservedProp($)&&(E=!0),z&&U.type===14&&(U=U.arguments[0]),U.type===20||(U.type===4||U.type===8)&&getConstantType(U,t)>0)return;$==="ref"?b=!0:$==="class"?k=!0:$==="style"?C=!0:$!=="key"&&!A.includes($)&&A.push($),i&&($==="class"||$==="style")&&!A.includes($)&&A.push($)}else T=!0};for(let I=0;I<r.length;I++){const U=r[I];if(U.type===6){const{loc:$,name:z,nameLoc:q,value:G}=U;let ee=!0;if(z==="ref"&&(b=!0,M()),z==="is"&&(isComponentTag(u)||G&&G.content.startsWith("vue:")||isCompatEnabled("COMPILER_IS_ON_ELEMENT",t)))continue;m.push(createObjectProperty(createSimpleExpression(z,!0,q),createSimpleExpression(G?G.content:"",ee,G?G.loc:$)))}else{const{name:$,arg:z,exp:q,loc:G,modifiers:ee}=U,ae=$==="bind",oe=$==="on";if($==="slot"){i||t.onError(createCompilerError(40,G));continue}if($==="once"||$==="memo"||$==="is"||ae&&isStaticArgOf(z,"is")&&(isComponentTag(u)||isCompatEnabled("COMPILER_IS_ON_ELEMENT",t))||oe&&c)continue;if((ae&&isStaticArgOf(z,"key")||oe&&w&&isStaticArgOf(z,"vue:before-update"))&&(_=!0),ae&&isStaticArgOf(z,"ref")&&M(),!z&&(ae||oe)){if(T=!0,q)if(ae){if(P(),isCompatEnabled("COMPILER_V_BIND_OBJECT_ORDER",t)){y.unshift(q);continue}M(),P(),y.push(q)}else P({type:14,loc:G,callee:t.helper(TO_HANDLERS),arguments:i?[q]:[q,"true"]});else t.onError(createCompilerError(ae?34:35,G));continue}ae&&ee.some(te=>te.content==="prop")&&(S|=32);const Se=t.directiveTransforms[$];if(Se){const{props:te,needRuntime:se}=Se(U,e,t);!c&&te.forEach(D),oe&&z&&!isStaticExp(z)?P(createObjectExpression(te,d)):m.push(...te),se&&(v.push(U),isSymbol(se)&&directiveImportMap.set(U,se))}else isBuiltInDirective($)||(v.push(U),w&&(_=!0))}}let F;if(y.length?(P(),y.length>1?F=createCallExpression(t.helper(MERGE_PROPS),y,d):F=y[0]):m.length&&(F=createObjectExpression(dedupeProperties(m),d)),T?S|=16:(k&&!i&&(S|=2),C&&!i&&(S|=4),A.length&&(S|=8),O&&(S|=32)),!_&&(S===0||S===32)&&(b||E||v.length>0)&&(S|=512),!t.inSSR&&F)switch(F.type){case 15:let I=-1,U=-1,$=!1;for(let G=0;G<F.properties.length;G++){const ee=F.properties[G].key;isStaticExp(ee)?ee.content==="class"?I=G:ee.content==="style"&&(U=G):ee.isHandlerKey||($=!0)}const z=F.properties[I],q=F.properties[U];$?F=createCallExpression(t.helper(NORMALIZE_PROPS),[F]):(z&&!isStaticExp(z.value)&&(z.value=createCallExpression(t.helper(NORMALIZE_CLASS),[z.value])),q&&(C||q.value.type===4&&q.value.content.trim()[0]==="["||q.value.type===17)&&(q.value=createCallExpression(t.helper(NORMALIZE_STYLE),[q.value])));break;case 14:break;default:F=createCallExpression(t.helper(NORMALIZE_PROPS),[createCallExpression(t.helper(GUARD_REACTIVE_PROPS),[F])]);break}return{props:F,directives:v,patchFlag:S,dynamicPropNames:A,shouldUseBlock:_}}function dedupeProperties(e){const t=new Map,r=[];for(let i=0;i<e.length;i++){const a=e[i];if(a.key.type===8||!a.key.isStatic){r.push(a);continue}const c=a.key.content,u=t.get(c);u?(c==="style"||c==="class"||isOn$1(c))&&mergeAsArray(u,a):(t.set(c,a),r.push(a))}return r}function mergeAsArray(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=createArrayExpression([e.value,t.value],e.loc)}function buildDirectiveArgs(e,t){const r=[],i=directiveImportMap.get(e);i?r.push(t.helperString(i)):(t.helper(RESOLVE_DIRECTIVE),t.directives.add(e.name),r.push(toValidAssetId(e.name,"directive")));const{loc:a}=e;if(e.exp&&r.push(e.exp),e.arg&&(e.exp||r.push("void 0"),r.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||r.push("void 0"),r.push("void 0"));const c=createSimpleExpression("true",!1,a);r.push(createObjectExpression(e.modifiers.map(u=>createObjectProperty(u,c)),a))}return createArrayExpression(r,e.loc)}function stringifyDynamicPropNames(e){let t="[";for(let r=0,i=e.length;r<i;r++)t+=JSON.stringify(e[r]),r<i-1&&(t+=", ");return t+"]"}function isComponentTag(e){return e==="component"||e==="Component"}const transformSlotOutlet=(e,t)=>{if(isSlotOutlet(e)){const{children:r,loc:i}=e,{slotName:a,slotProps:c}=processSlotOutlet(e,t),u=[t.prefixIdentifiers?"_ctx.$slots":"$slots",a,"{}","undefined","true"];let d=2;c&&(u[2]=c,d=3),r.length&&(u[3]=createFunctionExpression([],r,!1,!1,i),d=4),t.scopeId&&!t.slotted&&(d=5),u.splice(d),e.codegenNode=createCallExpression(t.helper(RENDER_SLOT),u,i)}};function processSlotOutlet(e,t){let r='"default"',i;const a=[];for(let c=0;c<e.props.length;c++){const u=e.props[c];if(u.type===6)u.value&&(u.name==="name"?r=JSON.stringify(u.value.content):(u.name=camelize(u.name),a.push(u)));else if(u.name==="bind"&&isStaticArgOf(u.arg,"name")){if(u.exp)r=u.exp;else if(u.arg&&u.arg.type===4){const d=camelize(u.arg.content);r=u.exp=createSimpleExpression(d,!1,u.arg.loc)}}else u.name==="bind"&&u.arg&&isStaticExp(u.arg)&&(u.arg.content=camelize(u.arg.content)),a.push(u)}if(a.length>0){const{props:c,directives:u}=buildProps(e,t,a,!1,!1);i=c,u.length&&t.onError(createCompilerError(36,u[0].loc))}return{slotName:r,slotProps:i}}const transformOn$1=(e,t,r,i)=>{const{loc:a,modifiers:c,arg:u}=e;!e.exp&&!c.length&&r.onError(createCompilerError(35,a));let d;if(u.type===4)if(u.isStatic){let v=u.content;v.startsWith("vue:")&&(v=`vnode-${v.slice(4)}`);const w=t.tagType!==0||v.startsWith("vnode")||!/[A-Z]/.test(v)?toHandlerKey(camelize(v)):`on:${v}`;d=createSimpleExpression(w,!0,u.loc)}else d=createCompoundExpression([`${r.helperString(TO_HANDLER_KEY)}(`,u,")"]);else d=u,d.children.unshift(`${r.helperString(TO_HANDLER_KEY)}(`),d.children.push(")");let f=e.exp;f&&!f.content.trim()&&(f=void 0);let m=r.cacheHandlers&&!f&&!r.inVOnce;if(f){const v=isMemberExpression(f),w=!(v||isFnExpression(f)),_=f.content.includes(";");(w||m&&v)&&(f=createCompoundExpression([`${w?"$event":"(...args)"} => ${_?"{":"("}`,f,_?"}":")"]))}let y={props:[createObjectProperty(d,f||createSimpleExpression("() => {}",!1,a))]};return i&&(y=i(y)),m&&(y.props[0].value=r.cache(y.props[0].value)),y.props.forEach(v=>v.key.isHandlerKey=!0),y},transformText=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const r=e.children;let i,a=!1;for(let c=0;c<r.length;c++){const u=r[c];if(isText$1(u)){a=!0;for(let d=c+1;d<r.length;d++){const f=r[d];if(isText$1(f))i||(i=r[c]=createCompoundExpression([u],u.loc)),i.children.push(" + ",f),r.splice(d,1),d--;else{i=void 0;break}}}}if(!(!a||r.length===1&&(e.type===0||e.type===1&&e.tagType===0&&!e.props.find(c=>c.type===7&&!t.directiveTransforms[c.name])&&e.tag!=="template")))for(let c=0;c<r.length;c++){const u=r[c];if(isText$1(u)||u.type===8){const d=[];(u.type!==2||u.content!==" ")&&d.push(u),!t.ssr&&getConstantType(u,t)===0&&d.push("1"),r[c]={type:12,content:u,loc:u.loc,codegenNode:createCallExpression(t.helper(CREATE_TEXT),d)}}}}},seen$1=new WeakSet,transformOnce=(e,t)=>{if(e.type===1&&findDir(e,"once",!0))return seen$1.has(e)||t.inVOnce||t.inSSR?void 0:(seen$1.add(e),t.inVOnce=!0,t.helper(SET_BLOCK_TRACKING),()=>{t.inVOnce=!1;const r=t.currentNode;r.codegenNode&&(r.codegenNode=t.cache(r.codegenNode,!0,!0))})},transformModel$1=(e,t,r)=>{const{exp:i,arg:a}=e;if(!i)return r.onError(createCompilerError(41,e.loc)),createTransformProps();const c=i.loc.source.trim(),u=i.type===4?i.content:c,d=r.bindingMetadata[c];if(d==="props"||d==="props-aliased")return r.onError(createCompilerError(44,i.loc)),createTransformProps();if(!u.trim()||!isMemberExpression(i))return r.onError(createCompilerError(42,i.loc)),createTransformProps();const f=a||createSimpleExpression("modelValue",!0),m=a?isStaticExp(a)?`onUpdate:${camelize(a.content)}`:createCompoundExpression(['"onUpdate:" + ',a]):"onUpdate:modelValue";let y;const v=r.isTS?"($event: any)":"$event";y=createCompoundExpression([`${v} => ((`,i,") = $event)"]);const w=[createObjectProperty(f,e.exp),createObjectProperty(m,y)];if(e.modifiers.length&&t.tagType===1){const _=e.modifiers.map(b=>b.content).map(b=>(isSimpleIdentifier(b)?b:JSON.stringify(b))+": true").join(", "),S=a?isStaticExp(a)?`${a.content}Modifiers`:createCompoundExpression([a,' + "Modifiers"']):"modelModifiers";w.push(createObjectProperty(S,createSimpleExpression(`{ ${_} }`,!1,e.loc,2)))}return createTransformProps(w)};function createTransformProps(e=[]){return{props:e}}const validDivisionCharRE=/[\w).+\-_$\]]/,transformFilter=(e,t)=>{isCompatEnabled("COMPILER_FILTERS",t)&&(e.type===5?rewriteFilter(e.content,t):e.type===1&&e.props.forEach(r=>{r.type===7&&r.name!=="for"&&r.exp&&rewriteFilter(r.exp,t)}))};function rewriteFilter(e,t){if(e.type===4)parseFilter(e,t);else for(let r=0;r<e.children.length;r++){const i=e.children[r];typeof i=="object"&&(i.type===4?parseFilter(i,t):i.type===8?rewriteFilter(e,t):i.type===5&&rewriteFilter(i.content,t))}}function parseFilter(e,t){const r=e.content;let i=!1,a=!1,c=!1,u=!1,d=0,f=0,m=0,y=0,v,w,_,S,b=[];for(_=0;_<r.length;_++)if(w=v,v=r.charCodeAt(_),i)v===39&&w!==92&&(i=!1);else if(a)v===34&&w!==92&&(a=!1);else if(c)v===96&&w!==92&&(c=!1);else if(u)v===47&&w!==92&&(u=!1);else if(v===124&&r.charCodeAt(_+1)!==124&&r.charCodeAt(_-1)!==124&&!d&&!f&&!m)S===void 0?(y=_+1,S=r.slice(0,_).trim()):k();else{switch(v){case 34:a=!0;break;case 39:i=!0;break;case 96:c=!0;break;case 40:m++;break;case 41:m--;break;case 91:f++;break;case 93:f--;break;case 123:d++;break;case 125:d--;break}if(v===47){let C=_-1,O;for(;C>=0&&(O=r.charAt(C),O===" ");C--);(!O||!validDivisionCharRE.test(O))&&(u=!0)}}S===void 0?S=r.slice(0,_).trim():y!==0&&k();function k(){b.push(r.slice(y,_).trim()),y=_+1}if(b.length){for(_=0;_<b.length;_++)S=wrapFilter(S,b[_],t);e.content=S,e.ast=void 0}}function wrapFilter(e,t,r){r.helper(RESOLVE_FILTER);const i=t.indexOf("(");if(i<0)return r.filters.add(t),`${toValidAssetId(t,"filter")}(${e})`;{const a=t.slice(0,i),c=t.slice(i+1);return r.filters.add(a),`${toValidAssetId(a,"filter")}(${e}${c!==")"?","+c:c}`}}const seen=new WeakSet,transformMemo=(e,t)=>{if(e.type===1){const r=findDir(e,"memo");return!r||seen.has(e)?void 0:(seen.add(e),()=>{const i=e.codegenNode||t.currentNode.codegenNode;i&&i.type===13&&(e.tagType!==1&&convertToBlock(i,t),e.codegenNode=createCallExpression(t.helper(WITH_MEMO),[r.exp,createFunctionExpression(void 0,i),"_cache",String(t.cached.length)]),t.cached.push(null))})}};function getBaseTransformPreset(e){return[[transformOnce,transformIf,transformMemo,transformFor,transformFilter,transformSlotOutlet,transformElement,trackSlotScopes,transformText],{on:transformOn$1,bind:transformBind,model:transformModel$1}]}function baseCompile$2(e,t={}){const r=t.onError||defaultOnError$1,i=t.mode==="module";t.prefixIdentifiers===!0?r(createCompilerError(47)):i&&r(createCompilerError(48));const a=!1;t.cacheHandlers&&r(createCompilerError(49)),t.scopeId&&!i&&r(createCompilerError(50));const c=extend({},t,{prefixIdentifiers:a}),u=isString$2(e)?baseParse(e,c):e,[d,f]=getBaseTransformPreset();return transform$2(u,extend({},c,{nodeTransforms:[...d,...t.nodeTransforms||[]],directiveTransforms:extend({},f,t.directiveTransforms||{})})),generate$1(u,c)}const noopDirectiveTransform=()=>({props:[]});/**
* @vue/compiler-dom v3.5.17
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const V_MODEL_RADIO=Symbol(""),V_MODEL_CHECKBOX=Symbol(""),V_MODEL_TEXT=Symbol(""),V_MODEL_SELECT=Symbol(""),V_MODEL_DYNAMIC=Symbol(""),V_ON_WITH_MODIFIERS=Symbol(""),V_ON_WITH_KEYS=Symbol(""),V_SHOW=Symbol(""),TRANSITION=Symbol(""),TRANSITION_GROUP=Symbol("");registerRuntimeHelpers({[V_MODEL_RADIO]:"vModelRadio",[V_MODEL_CHECKBOX]:"vModelCheckbox",[V_MODEL_TEXT]:"vModelText",[V_MODEL_SELECT]:"vModelSelect",[V_MODEL_DYNAMIC]:"vModelDynamic",[V_ON_WITH_MODIFIERS]:"withModifiers",[V_ON_WITH_KEYS]:"withKeys",[V_SHOW]:"vShow",[TRANSITION]:"Transition",[TRANSITION_GROUP]:"TransitionGroup"});let decoder;function decodeHtmlBrowser(e,t=!1){return decoder||(decoder=document.createElement("div")),t?(decoder.innerHTML=`<div foo="${e.replace(/"/g,"&quot;")}">`,decoder.children[0].getAttribute("foo")):(decoder.innerHTML=e,decoder.textContent)}const parserOptions={parseMode:"html",isVoidTag,isNativeTag:e=>isHTMLTag(e)||isSVGTag(e)||isMathMLTag(e),isPreTag:e=>e==="pre",isIgnoreNewlineTag:e=>e==="pre"||e==="textarea",decodeEntities:decodeHtmlBrowser,isBuiltInComponent:e=>{if(e==="Transition"||e==="transition")return TRANSITION;if(e==="TransitionGroup"||e==="transition-group")return TRANSITION_GROUP},getNamespace(e,t,r){let i=t?t.ns:r;if(t&&i===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(a=>a.type===6&&a.name==="encoding"&&a.value!=null&&(a.value.content==="text/html"||a.value.content==="application/xhtml+xml"))&&(i=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(i=0);else t&&i===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(i=0);if(i===0){if(e==="svg")return 1;if(e==="math")return 2}return i}},transformStyle=e=>{e.type===1&&e.props.forEach((t,r)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[r]={type:7,name:"bind",arg:createSimpleExpression("style",!0,t.loc),exp:parseInlineCSS(t.value.content,t.loc),modifiers:[],loc:t.loc})})},parseInlineCSS=(e,t)=>{const r=parseStringStyle(e);return createSimpleExpression(JSON.stringify(r),!1,t,3)};function createDOMCompilerError(e,t){return createCompilerError(e,t)}const transformVHtml=(e,t,r)=>{const{exp:i,loc:a}=e;return i||r.onError(createDOMCompilerError(53,a)),t.children.length&&(r.onError(createDOMCompilerError(54,a)),t.children.length=0),{props:[createObjectProperty(createSimpleExpression("innerHTML",!0,a),i||createSimpleExpression("",!0))]}},transformVText=(e,t,r)=>{const{exp:i,loc:a}=e;return i||r.onError(createDOMCompilerError(55,a)),t.children.length&&(r.onError(createDOMCompilerError(56,a)),t.children.length=0),{props:[createObjectProperty(createSimpleExpression("textContent",!0),i?getConstantType(i,r)>0?i:createCallExpression(r.helperString(TO_DISPLAY_STRING),[i],a):createSimpleExpression("",!0))]}},transformModel=(e,t,r)=>{const i=transformModel$1(e,t,r);if(!i.props.length||t.tagType===1)return i;e.arg&&r.onError(createDOMCompilerError(58,e.arg.loc));const{tag:a}=t,c=r.isCustomElement(a);if(a==="input"||a==="textarea"||a==="select"||c){let u=V_MODEL_TEXT,d=!1;if(a==="input"||c){const f=findProp(t,"type");if(f){if(f.type===7)u=V_MODEL_DYNAMIC;else if(f.value)switch(f.value.content){case"radio":u=V_MODEL_RADIO;break;case"checkbox":u=V_MODEL_CHECKBOX;break;case"file":d=!0,r.onError(createDOMCompilerError(59,e.loc));break}}else hasDynamicKeyVBind(t)&&(u=V_MODEL_DYNAMIC)}else a==="select"&&(u=V_MODEL_SELECT);d||(i.needRuntime=r.helper(u))}else r.onError(createDOMCompilerError(57,e.loc));return i.props=i.props.filter(u=>!(u.key.type===4&&u.key.content==="modelValue")),i},isEventOptionModifier=makeMap("passive,once,capture"),isNonKeyModifier=makeMap("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),maybeKeyModifier=makeMap("left,right"),isKeyboardEvent$1=makeMap("onkeyup,onkeydown,onkeypress"),resolveModifiers=(e,t,r,i)=>{const a=[],c=[],u=[];for(let d=0;d<t.length;d++){const f=t[d].content;f==="native"&&checkCompatEnabled("COMPILER_V_ON_NATIVE",r)||isEventOptionModifier(f)?u.push(f):maybeKeyModifier(f)?isStaticExp(e)?isKeyboardEvent$1(e.content.toLowerCase())?a.push(f):c.push(f):(a.push(f),c.push(f)):isNonKeyModifier(f)?c.push(f):a.push(f)}return{keyModifiers:a,nonKeyModifiers:c,eventOptionModifiers:u}},transformClick=(e,t)=>isStaticExp(e)&&e.content.toLowerCase()==="onclick"?createSimpleExpression(t,!0):e.type!==4?createCompoundExpression(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,transformOn=(e,t,r)=>transformOn$1(e,t,r,i=>{const{modifiers:a}=e;if(!a.length)return i;let{key:c,value:u}=i.props[0];const{keyModifiers:d,nonKeyModifiers:f,eventOptionModifiers:m}=resolveModifiers(c,a,r,e.loc);if(f.includes("right")&&(c=transformClick(c,"onContextmenu")),f.includes("middle")&&(c=transformClick(c,"onMouseup")),f.length&&(u=createCallExpression(r.helper(V_ON_WITH_MODIFIERS),[u,JSON.stringify(f)])),d.length&&(!isStaticExp(c)||isKeyboardEvent$1(c.content.toLowerCase()))&&(u=createCallExpression(r.helper(V_ON_WITH_KEYS),[u,JSON.stringify(d)])),m.length){const y=m.map(capitalize$1).join("");c=isStaticExp(c)?createSimpleExpression(`${c.content}${y}`,!0):createCompoundExpression(["(",c,`) + "${y}"`])}return{props:[createObjectProperty(c,u)]}}),transformShow=(e,t,r)=>{const{exp:i,loc:a}=e;return i||r.onError(createDOMCompilerError(61,a)),{props:[],needRuntime:r.helper(V_SHOW)}},ignoreSideEffectTags=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&t.removeNode()},DOMNodeTransforms=[transformStyle],DOMDirectiveTransforms={cloak:noopDirectiveTransform,html:transformVHtml,text:transformVText,model:transformModel,on:transformOn,show:transformShow};function compile$1(e,t={}){return baseCompile$2(e,extend({},parserOptions,t,{nodeTransforms:[ignoreSideEffectTags,...DOMNodeTransforms,...t.nodeTransforms||[]],directiveTransforms:extend({},DOMDirectiveTransforms,t.directiveTransforms||{}),transformHoist:null}))}/**
* vue v3.5.17
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const compileCache$1=Object.create(null);function compileToFunction(e,t){if(!isString$2(e))if(e.nodeType)e=e.innerHTML;else return NOOP;const r=genCacheKey(e,t),i=compileCache$1[r];if(i)return i;if(e[0]==="#"){const d=document.querySelector(e);e=d?d.innerHTML:""}const a=extend({hoistStatic:!0,onError:void 0,onWarn:NOOP},t);!a.isCustomElement&&typeof customElements<"u"&&(a.isCustomElement=d=>!!customElements.get(d));const{code:c}=compile$1(e,a),u=new Function("Vue",c)(runtimeDom);return u._rc=!0,compileCache$1[r]=u}registerRuntimeCompiler(compileToFunction);const vue_esmBundler=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition,BaseTransitionPropsValidators,Comment:Comment$1,DeprecationTypes,EffectScope,ErrorCodes,ErrorTypeStrings,Fragment,KeepAlive,ReactiveEffect,Static,Suspense,Teleport,Text:Text$1,TrackOpTypes,Transition,TransitionGroup,TriggerOpTypes,VueElement,assertNumber,callWithAsyncErrorHandling,callWithErrorHandling,camelize,capitalize:capitalize$1,cloneVNode,compatUtils,compile:compileToFunction,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:devtools$2,effect:effect$2,effectScope,getCurrentInstance:getCurrentInstance$1,getCurrentScope,getCurrentWatcher,getTransitionRawChildren,guardReactiveProps,h,handleError,hasInjectionContext,hydrate,hydrateOnIdle,hydrateOnInteraction,hydrateOnMediaQuery,hydrateOnVisible,initCustomFormatter,initDirectivesForSSR,inject:inject$1,isMemoSame,isProxy,isReactive,isReadonly,isRef,isRuntimeOnly,isShallow,isVNode:isVNode$1,markRaw,mergeDefaults,mergeModels,mergeProps,nextTick,normalizeClass,normalizeProps,normalizeStyle,onActivated,onBeforeMount,onBeforeUnmount,onBeforeUpdate,onDeactivated,onErrorCaptured,onMounted,onRenderTracked,onRenderTriggered,onScopeDispose,onServerPrefetch,onUnmounted,onUpdated,onWatcherCleanup,openBlock,popScopeId,provide,proxyRefs,pushScopeId,queuePostFlushCb,reactive,readonly,ref,registerRuntimeCompiler,render:render$1,renderList,renderSlot:renderSlot$1,resolveComponent,resolveDirective,resolveDynamicComponent,resolveFilter,resolveTransitionHooks,setBlockTracking,setDevtoolsHook,setTransitionHooks,shallowReactive,shallowReadonly,shallowRef,ssrContextKey,ssrUtils,stop,toDisplayString:toDisplayString$1,toHandlerKey,toHandlers,toRaw,toRef:toRef$2,toRefs,toValue,transformVNodeArgs,triggerRef,unref,useAttrs,useCssModule,useCssVars,useHost,useId,useModel,useSSRContext,useShadowRoot,useSlots,useTemplateRef,useTransitionState,vModelCheckbox,vModelDynamic,vModelRadio,vModelSelect,vModelText,vShow,version:version$1,warn:warn$2,watch,watchEffect,watchPostEffect,watchSyncEffect,withAsyncContext,withCtx,withDefaults,withDirectives,withKeys,withMemo,withModifiers,withScopeId},Symbol.toStringTag,{value:"Module"}));/*!
* vue-router v4.5.1
* (c) 2025 Eduardo San Martin Morote
* @license MIT
*/const isBrowser=typeof document<"u";function isRouteComponent(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function isESModule(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&isRouteComponent(e.default)}const assign$2=Object.assign;function applyToParams(e,t){const r={};for(const i in t){const a=t[i];r[i]=isArray$1(a)?a.map(e):e(a)}return r}const noop$3=()=>{},isArray$1=Array.isArray,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}const TRAILING_SLASH_RE=/\/$/,removeTrailingSlash=e=>e.replace(TRAILING_SLASH_RE,"");function parseURL(e,t,r="/"){let i,a={},c="",u="";const d=t.indexOf("#");let f=t.indexOf("?");return d<f&&d>=0&&(f=-1),f>-1&&(i=t.slice(0,f),c=t.slice(f+1,d>-1?d:t.length),a=e(c)),d>-1&&(i=i||t.slice(0,d),u=t.slice(d,t.length)),i=resolveRelativePath(i??t,r),{fullPath:i+(c&&"?")+c+u,path:i,query:a,hash:decode(u)}}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 i=t.matched.length-1,a=r.matched.length-1;return i>-1&&i===a&&isSameRouteRecord(t.matched[i],r.matched[a])&&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$1(e)?isEquivalentArray(e,t):isArray$1(t)?isEquivalentArray(t,e):e===t}function isEquivalentArray(e,t){return isArray$1(t)?e.length===t.length&&e.every((r,i)=>r===t[i]):e.length===1&&e[0]===t}function resolveRelativePath(e,t){if(e.startsWith("/"))return e;if(!e)return t;const r=t.split("/"),i=e.split("/"),a=i[i.length-1];(a===".."||a===".")&&i.push("");let c=r.length-1,u,d;for(u=0;u<i.length;u++)if(d=i[u],d!==".")if(d==="..")c>1&&c--;else break;return r.slice(0,c).join("/")+"/"+i.slice(u).join("/")}const START_LOCATION_NORMALIZED={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};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(),i=e.getBoundingClientRect();return{behavior:t.behavior,left:i.left-r.left-(t.left||0),top:i.top-r.top-(t.top||0)}}const computeScrollPosition=()=>({left:window.scrollX,top:window.scrollY});function scrollToPosition(e){let t;if("el"in e){const r=e.el,i=typeof r=="string"&&r.startsWith("#"),a=typeof r=="string"?i?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!a)return;t=getElementPosition(a,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}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:i,hash:a}=t,c=e.indexOf("#");if(c>-1){let d=a.includes(e.slice(c))?e.slice(c).length:1,f=a.slice(d);return f[0]!=="/"&&(f="/"+f),stripBase(f,"")}return stripBase(r,e)+i+a}function useHistoryListeners(e,t,r,i){let a=[],c=[],u=null;const d=({state:w})=>{const _=createCurrentLocation(e,location),S=r.value,b=t.value;let k=0;if(w){if(r.value=_,t.value=w,u&&u===S){u=null;return}k=b?w.position-b.position:0}else i(_);a.forEach(C=>{C(r.value,S,{delta:k,type:NavigationType.pop,direction:k?k>0?NavigationDirection.forward:NavigationDirection.back:NavigationDirection.unknown})})};function f(){u=r.value}function m(w){a.push(w);const _=()=>{const S=a.indexOf(w);S>-1&&a.splice(S,1)};return c.push(_),_}function y(){const{history:w}=window;w.state&&w.replaceState(assign$2({},w.state,{scroll:computeScrollPosition()}),"")}function v(){for(const w of c)w();c=[],window.removeEventListener("popstate",d),window.removeEventListener("beforeunload",y)}return window.addEventListener("popstate",d),window.addEventListener("beforeunload",y,{passive:!0}),{pauseListeners:f,listen:m,destroy:v}}function buildState(e,t,r,i=!1,a=!1){return{back:e,current:t,forward:r,replaced:i,position:window.history.length,scroll:a?computeScrollPosition():null}}function useHistoryStateNavigation(e){const{history:t,location:r}=window,i={value:createCurrentLocation(e,r)},a={value:t.state};a.value||c(i.value,{back:null,current:i.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function c(f,m,y){const v=e.indexOf("#"),w=v>-1?(r.host&&document.querySelector("base")?e:e.slice(v))+f:createBaseLocation()+e+f;try{t[y?"replaceState":"pushState"](m,"",w),a.value=m}catch(_){console.error(_),r[y?"replace":"assign"](w)}}function u(f,m){const y=assign$2({},t.state,buildState(a.value.back,f,a.value.forward,!0),m,{position:a.value.position});c(f,y,!0),i.value=f}function d(f,m){const y=assign$2({},a.value,t.state,{forward:f,scroll:computeScrollPosition()});c(y.current,y,!0);const v=assign$2({},buildState(i.value,f,null),{position:y.position+1},m);c(f,v,!1),i.value=f}return{location:i,state:a,push:d,replace:u}}function createWebHistory(e){e=normalizeBase(e);const t=useHistoryStateNavigation(e),r=useHistoryListeners(e,t.state,t.location,t.replace);function i(c,u=!0){u||r.pauseListeners(),history.go(c)}const a=assign$2({location:"",base:e,go:i,createHref:createHref.bind(null,e)},t,r);return Object.defineProperty(a,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(a,"state",{enumerable:!0,get:()=>t.state.value}),a}function isRouteLocation(e){return typeof e=="string"||e&&typeof e=="object"}function isRouteName(e){return typeof e=="string"||typeof e=="symbol"}const 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$2(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$2({},BASE_PATH_PARSER_OPTIONS,t),i=[];let a=r.start?"^":"";const c=[];for(const m of e){const y=m.length?[]:[90];r.strict&&!m.length&&(a+="/");for(let v=0;v<m.length;v++){const w=m[v];let _=40+(r.sensitive?.25:0);if(w.type===0)v||(a+="/"),a+=w.value.replace(REGEX_CHARS_RE,"\\$&"),_+=40;else if(w.type===1){const{value:S,repeatable:b,optional:k,regexp:C}=w;c.push({name:S,repeatable:b,optional:k});const O=C||BASE_PARAM_PATTERN;if(O!==BASE_PARAM_PATTERN){_+=10;try{new RegExp(`(${O})`)}catch(E){throw new Error(`Invalid custom RegExp for param "${S}" (${O}): `+E.message)}}let T=b?`((?:${O})(?:/(?:${O}))*)`:`(${O})`;v||(T=k&&m.length<2?`(?:/${T})`:"/"+T),k&&(T+="?"),a+=T,_+=20,k&&(_+=-8),b&&(_+=-20),O===".*"&&(_+=-50)}y.push(_)}i.push(y)}if(r.strict&&r.end){const m=i.length-1;i[m][i[m].length-1]+=.7000000000000001}r.strict||(a+="/?"),r.end?a+="$":r.strict&&!a.endsWith("/")&&(a+="(?:/|$)");const u=new RegExp(a,r.sensitive?"":"i");function d(m){const y=m.match(u),v={};if(!y)return null;for(let w=1;w<y.length;w++){const _=y[w]||"",S=c[w-1];v[S.name]=_&&S.repeatable?_.split("/"):_}return v}function f(m){let y="",v=!1;for(const w of e){(!v||!y.endsWith("/"))&&(y+="/"),v=!1;for(const _ of w)if(_.type===0)y+=_.value;else if(_.type===1){const{value:S,repeatable:b,optional:k}=_,C=S in m?m[S]:"";if(isArray$1(C)&&!b)throw new Error(`Provided param "${S}" is an array but it is not repeatable (* or + modifiers)`);const O=isArray$1(C)?C.join("/"):C;if(!O)if(k)w.length<2&&(y.endsWith("/")?y=y.slice(0,-1):v=!0);else throw new Error(`Missing required param "${S}"`);y+=O}}return y||"/"}return{re:u,score:i,keys:c,parse:d,stringify:f}}function compareScoreArray(e,t){let r=0;for(;r<e.length&&r<t.length;){const i=t[r]-e[r];if(i)return i;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 i=e.score,a=t.score;for(;r<i.length&&r<a.length;){const c=compareScoreArray(i[r],a[r]);if(c)return c;r++}if(Math.abs(a.length-i.length)===1){if(isLastScoreNegative(i))return 1;if(isLastScoreNegative(a))return-1}return a.length-i.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(_){throw new Error(`ERR (${r})/"${m}": ${_}`)}let r=0,i=r;const a=[];let c;function u(){c&&a.push(c),c=[]}let d=0,f,m="",y="";function v(){m&&(r===0?c.push({type:0,value:m}):r===1||r===2||r===3?(c.length>1&&(f==="*"||f==="+")&&t(`A repeatable param (${m}) must be alone in its segment. eg: '/:ids+.`),c.push({type:1,value:m,regexp:y,repeatable:f==="*"||f==="+",optional:f==="*"||f==="?"})):t("Invalid state to consume buffer"),m="")}function w(){m+=f}for(;d<e.length;){if(f=e[d++],f==="\\"&&r!==2){i=r,r=4;continue}switch(r){case 0:f==="/"?(m&&v(),u()):f===":"?(v(),r=1):w();break;case 4:w(),r=i;break;case 1:f==="("?r=2:VALID_PARAM_RE.test(f)?w():(v(),r=0,f!=="*"&&f!=="?"&&f!=="+"&&d--);break;case 2:f===")"?y[y.length-1]=="\\"?y=y.slice(0,-1)+f:r=3:y+=f;break;case 3:v(),r=0,f!=="*"&&f!=="?"&&f!=="+"&&d--,y="";break;default:t("Unknown state");break}}return r===2&&t(`Unfinished custom RegExp for param "${m}"`),v(),u(),a}function createRouteRecordMatcher(e,t,r){const i=tokensToParser(tokenizePath(e.path),r),a=assign$2(i,{record:e,parent:t,children:[],alias:[]});return t&&!a.record.aliasOf==!t.record.aliasOf&&t.children.push(a),a}function createRouterMatcher(e,t){const r=[],i=new Map;t=mergeOptions({strict:!1,end:!0,sensitive:!1},t);function a(v){return i.get(v)}function c(v,w,_){const S=!_,b=normalizeRouteRecord(v);b.aliasOf=_&&_.record;const k=mergeOptions(t,v),C=[b];if("alias"in v){const E=typeof v.alias=="string"?[v.alias]:v.alias;for(const A of E)C.push(normalizeRouteRecord(assign$2({},b,{components:_?_.record.components:b.components,path:A,aliasOf:_?_.record:b})))}let O,T;for(const E of C){const{path:A}=E;if(w&&A[0]!=="/"){const P=w.record.path,M=P[P.length-1]==="/"?"":"/";E.path=w.record.path+(A&&M+A)}if(O=createRouteRecordMatcher(E,w,k),_?_.alias.push(O):(T=T||O,T!==O&&T.alias.push(O),S&&v.name&&!isAliasRecord(O)&&u(v.name)),isMatchable(O)&&f(O),b.children){const P=b.children;for(let M=0;M<P.length;M++)c(P[M],O,_&&_.children[M])}_=_||O}return T?()=>{u(T)}:noop$3}function u(v){if(isRouteName(v)){const w=i.get(v);w&&(i.delete(v),r.splice(r.indexOf(w),1),w.children.forEach(u),w.alias.forEach(u))}else{const w=r.indexOf(v);w>-1&&(r.splice(w,1),v.record.name&&i.delete(v.record.name),v.children.forEach(u),v.alias.forEach(u))}}function d(){return r}function f(v){const w=findInsertionIndex(v,r);r.splice(w,0,v),v.record.name&&!isAliasRecord(v)&&i.set(v.record.name,v)}function m(v,w){let _,S={},b,k;if("name"in v&&v.name){if(_=i.get(v.name),!_)throw createRouterError(1,{location:v});k=_.record.name,S=assign$2(paramsFromLocation(w.params,_.keys.filter(T=>!T.optional).concat(_.parent?_.parent.keys.filter(T=>T.optional):[]).map(T=>T.name)),v.params&&paramsFromLocation(v.params,_.keys.map(T=>T.name))),b=_.stringify(S)}else if(v.path!=null)b=v.path,_=r.find(T=>T.re.test(b)),_&&(S=_.parse(b),k=_.record.name);else{if(_=w.name?i.get(w.name):r.find(T=>T.re.test(w.path)),!_)throw createRouterError(1,{location:v,currentLocation:w});k=_.record.name,S=assign$2({},w.params,v.params),b=_.stringify(S)}const C=[];let O=_;for(;O;)C.unshift(O.record),O=O.parent;return{name:k,path:b,params:S,matched:C,meta:mergeMetaFields(C)}}e.forEach(v=>c(v));function y(){r.length=0,i.clear()}return{addRoute:c,resolve:m,removeRoute:u,clearRoutes:y,getRoutes:d,getRecordMatcher:a}}function paramsFromLocation(e,t){const r={};for(const i of t)i in e&&(r[i]=e[i]);return r}function normalizeRouteRecord(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,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}};return Object.defineProperty(t,"mods",{value:{}}),t}function normalizeRecordProps(e){const t={},r=e.props||!1;if("component"in e)t.default=r;else for(const i in e.components)t[i]=typeof r=="object"?r[i]: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$2(t,r.meta),{})}function mergeOptions(e,t){const r={};for(const i in e)r[i]=i in t?t[i]:e[i];return r}function findInsertionIndex(e,t){let r=0,i=t.length;for(;r!==i;){const c=r+i>>1;comparePathParserScore(e,t[c])<0?i=c:r=c+1}const a=getInsertionAncestor(e);return a&&(i=t.lastIndexOf(a,i-1)),i}function getInsertionAncestor(e){let t=e;for(;t=t.parent;)if(isMatchable(t)&&comparePathParserScore(e,t)===0)return t}function isMatchable({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function parseQuery(e){const t={};if(e===""||e==="?")return t;const i=(e[0]==="?"?e.slice(1):e).split("&");for(let a=0;a<i.length;++a){const c=i[a].replace(PLUS_RE," "),u=c.indexOf("="),d=decode(u<0?c:c.slice(0,u)),f=u<0?null:decode(c.slice(u+1));if(d in t){let m=t[d];isArray$1(m)||(m=t[d]=[m]),m.push(f)}else t[d]=f}return t}function stringifyQuery(e){let t="";for(let r in e){const i=e[r];if(r=encodeQueryKey(r),i==null){i!==void 0&&(t+=(t.length?"&":"")+r);continue}(isArray$1(i)?i.map(c=>c&&encodeQueryValue(c)):[i&&encodeQueryValue(i)]).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 i=e[r];i!==void 0&&(t[r]=isArray$1(i)?i.map(a=>a==null?null:""+a):i==null?i:""+i)}return t}const matchedRouteKey=Symbol(""),viewDepthKey=Symbol(""),routerKey=Symbol(""),routeLocationKey=Symbol(""),routerViewLocationKey=Symbol("");function useCallbacks(){let e=[];function t(i){return e.push(i),()=>{const a=e.indexOf(i);a>-1&&e.splice(a,1)}}function r(){e=[]}return{add:t,list:()=>e.slice(),reset:r}}function registerGuard(e,t,r){const i=()=>{e[t].delete(r)};onUnmounted(i),onDeactivated(i),onActivated(()=>{e[t].add(r)}),e[t].add(r)}function onBeforeRouteLeave(e){const t=inject$1(matchedRouteKey,{}).value;t&&registerGuard(t,"leaveGuards",e)}function guardToPromiseFn(e,t,r,i,a,c=u=>u()){const u=i&&(i.enterCallbacks[a]=i.enterCallbacks[a]||[]);return()=>new Promise((d,f)=>{const m=w=>{w===!1?f(createRouterError(4,{from:r,to:t})):w instanceof Error?f(w):isRouteLocation(w)?f(createRouterError(2,{from:t,to:w})):(u&&i.enterCallbacks[a]===u&&typeof w=="function"&&u.push(w),d())},y=c(()=>e.call(i&&i.instances[a],t,r,m));let v=Promise.resolve(y);e.length<3&&(v=v.then(m)),v.catch(w=>f(w))})}function extractComponentsGuards(e,t,r,i,a=c=>c()){const c=[];for(const u of e)for(const d in u.components){let f=u.components[d];if(!(t!=="beforeRouteEnter"&&!u.instances[d]))if(isRouteComponent(f)){const y=(f.__vccOpts||f)[t];y&&c.push(guardToPromiseFn(y,r,i,u,d,a))}else{let m=f();c.push(()=>m.then(y=>{if(!y)throw new Error(`Couldn't resolve component "${d}" at "${u.path}"`);const v=isESModule(y)?y.default:y;u.mods[d]=y,u.components[d]=v;const _=(v.__vccOpts||v)[t];return _&&guardToPromiseFn(_,r,i,u,d,a)()}))}}return c}function useLink$1(e){const t=inject$1(routerKey),r=inject$1(routeLocationKey),i=computed(()=>{const f=unref(e.to);return t.resolve(f)}),a=computed(()=>{const{matched:f}=i.value,{length:m}=f,y=f[m-1],v=r.matched;if(!y||!v.length)return-1;const w=v.findIndex(isSameRouteRecord.bind(null,y));if(w>-1)return w;const _=getOriginalPath(f[m-2]);return m>1&&getOriginalPath(y)===_&&v[v.length-1].path!==_?v.findIndex(isSameRouteRecord.bind(null,f[m-2])):w}),c=computed(()=>a.value>-1&&includesParams(r.params,i.value.params)),u=computed(()=>a.value>-1&&a.value===r.matched.length-1&&isSameRouteLocationParams(r.params,i.value.params));function d(f={}){if(guardEvent(f)){const m=t[unref(e.replace)?"replace":"push"](unref(e.to)).catch(noop$3);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>m),m}return Promise.resolve()}return{route:i,href:computed(()=>i.value.href),isActive:c,isExactActive:u,navigate:d}}function preferSingleVNode(e){return e.length===1?e[0]:e}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"},viewTransition:Boolean},useLink:useLink$1,setup(e,{slots:t}){const r=reactive(useLink$1(e)),{options:i}=inject$1(routerKey),a=computed(()=>({[getLinkClass(e.activeClass,i.linkActiveClass,"router-link-active")]:r.isActive,[getLinkClass(e.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive}));return()=>{const c=t.default&&preferSingleVNode(t.default(r));return e.custom?c:h("a",{"aria-current":r.isExactActive?e.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:a.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 i=t[r],a=e[r];if(typeof i=="string"){if(i!==a)return!1}else if(!isArray$1(a)||a.length!==i.length||i.some((c,u)=>c!==a[u]))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 i=inject$1(routerViewLocationKey),a=computed(()=>e.route||i.value),c=inject$1(viewDepthKey,0),u=computed(()=>{let m=unref(c);const{matched:y}=a.value;let v;for(;(v=y[m])&&!v.components;)m++;return m}),d=computed(()=>a.value.matched[u.value]);provide(viewDepthKey,computed(()=>u.value+1)),provide(matchedRouteKey,d),provide(routerViewLocationKey,a);const f=ref();return watch(()=>[f.value,d.value,e.name],([m,y,v],[w,_,S])=>{y&&(y.instances[v]=m,_&&_!==y&&m&&m===w&&(y.leaveGuards.size||(y.leaveGuards=_.leaveGuards),y.updateGuards.size||(y.updateGuards=_.updateGuards))),m&&y&&(!_||!isSameRouteRecord(y,_)||!w)&&(y.enterCallbacks[v]||[]).forEach(b=>b(m))},{flush:"post"}),()=>{const m=a.value,y=e.name,v=d.value,w=v&&v.components[y];if(!w)return normalizeSlot(r.default,{Component:w,route:m});const _=v.props[y],S=_?_===!0?m.params:typeof _=="function"?_(m):_:null,k=h(w,assign$2({},S,t,{onVnodeUnmounted:C=>{C.component.isUnmounted&&(v.instances[y]=null)},ref:f}));return normalizeSlot(r.default,{Component:k,route:m})||k}}});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,i=e.stringifyQuery||stringifyQuery,a=e.history,c=useCallbacks(),u=useCallbacks(),d=useCallbacks(),f=shallowRef(START_LOCATION_NORMALIZED);let m=START_LOCATION_NORMALIZED;isBrowser&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const y=applyToParams.bind(null,re=>""+re),v=applyToParams.bind(null,encodeParam),w=applyToParams.bind(null,decode);function _(re,ue){let ie,pe;return isRouteName(re)?(ie=t.getRecordMatcher(re),pe=ue):pe=re,t.addRoute(pe,ie)}function S(re){const ue=t.getRecordMatcher(re);ue&&t.removeRoute(ue)}function b(){return t.getRoutes().map(re=>re.record)}function k(re){return!!t.getRecordMatcher(re)}function C(re,ue){if(ue=assign$2({},ue||f.value),typeof re=="string"){const H=parseURL(r,re,ue.path),he=t.resolve({path:H.path},ue),De=a.createHref(H.fullPath);return assign$2(H,he,{params:w(he.params),hash:decode(H.hash),redirectedFrom:void 0,href:De})}let ie;if(re.path!=null)ie=assign$2({},re,{path:parseURL(r,re.path,ue.path).path});else{const H=assign$2({},re.params);for(const he in H)H[he]==null&&delete H[he];ie=assign$2({},re,{params:v(H)}),ue.params=v(ue.params)}const pe=t.resolve(ie,ue),Te=re.hash||"";pe.params=y(w(pe.params));const Pe=stringifyURL(i,assign$2({},re,{hash:encodeHash(Te),path:pe.path})),B=a.createHref(Pe);return assign$2({fullPath:Pe,hash:Te,query:i===stringifyQuery?normalizeQuery(re.query):re.query||{}},pe,{redirectedFrom:void 0,href:B})}function O(re){return typeof re=="string"?parseURL(r,re,f.value.path):assign$2({},re)}function T(re,ue){if(m!==re)return createRouterError(8,{from:ue,to:re})}function E(re){return M(re)}function A(re){return E(assign$2(O(re),{replace:!0}))}function P(re){const ue=re.matched[re.matched.length-1];if(ue&&ue.redirect){const{redirect:ie}=ue;let pe=typeof ie=="function"?ie(re):ie;return typeof pe=="string"&&(pe=pe.includes("?")||pe.includes("#")?pe=O(pe):{path:pe},pe.params={}),assign$2({query:re.query,hash:re.hash,params:pe.path!=null?{}:re.params},pe)}}function M(re,ue){const ie=m=C(re),pe=f.value,Te=re.state,Pe=re.force,B=re.replace===!0,H=P(ie);if(H)return M(assign$2(O(H),{state:typeof H=="object"?assign$2({},Te,H.state):Te,force:Pe,replace:B}),ue||ie);const he=ie;he.redirectedFrom=ue;let De;return!Pe&&isSameRouteLocation(i,pe,ie)&&(De=createRouterError(16,{to:he,from:pe}),se(pe,pe,!0,!1)),(De?Promise.resolve(De):I(he,pe)).catch(Ne=>isNavigationFailure(Ne)?isNavigationFailure(Ne,2)?Ne:te(Ne):oe(Ne,he,pe)).then(Ne=>{if(Ne){if(isNavigationFailure(Ne,2))return M(assign$2({replace:B},O(Ne.to),{state:typeof Ne.to=="object"?assign$2({},Te,Ne.to.state):Te,force:Pe}),ue||he)}else Ne=$(he,pe,!0,B,Te);return U(he,pe,Ne),Ne})}function D(re,ue){const ie=T(re,ue);return ie?Promise.reject(ie):Promise.resolve()}function F(re){const ue=Oe.values().next().value;return ue&&typeof ue.runWithContext=="function"?ue.runWithContext(re):re()}function I(re,ue){let ie;const[pe,Te,Pe]=extractChangingRecords(re,ue);ie=extractComponentsGuards(pe.reverse(),"beforeRouteLeave",re,ue);for(const H of pe)H.leaveGuards.forEach(he=>{ie.push(guardToPromiseFn(he,re,ue))});const B=D.bind(null,re,ue);return ie.push(B),ye(ie).then(()=>{ie=[];for(const H of c.list())ie.push(guardToPromiseFn(H,re,ue));return ie.push(B),ye(ie)}).then(()=>{ie=extractComponentsGuards(Te,"beforeRouteUpdate",re,ue);for(const H of Te)H.updateGuards.forEach(he=>{ie.push(guardToPromiseFn(he,re,ue))});return ie.push(B),ye(ie)}).then(()=>{ie=[];for(const H of Pe)if(H.beforeEnter)if(isArray$1(H.beforeEnter))for(const he of H.beforeEnter)ie.push(guardToPromiseFn(he,re,ue));else ie.push(guardToPromiseFn(H.beforeEnter,re,ue));return ie.push(B),ye(ie)}).then(()=>(re.matched.forEach(H=>H.enterCallbacks={}),ie=extractComponentsGuards(Pe,"beforeRouteEnter",re,ue,F),ie.push(B),ye(ie))).then(()=>{ie=[];for(const H of u.list())ie.push(guardToPromiseFn(H,re,ue));return ie.push(B),ye(ie)}).catch(H=>isNavigationFailure(H,8)?H:Promise.reject(H))}function U(re,ue,ie){d.list().forEach(pe=>F(()=>pe(re,ue,ie)))}function $(re,ue,ie,pe,Te){const Pe=T(re,ue);if(Pe)return Pe;const B=ue===START_LOCATION_NORMALIZED,H=isBrowser?history.state:{};ie&&(pe||B?a.replace(re.fullPath,assign$2({scroll:B&&H&&H.scroll},Te)):a.push(re.fullPath,Te)),f.value=re,se(re,ue,ie,B),te()}let z;function q(){z||(z=a.listen((re,ue,ie)=>{if(!ke.listening)return;const pe=C(re),Te=P(pe);if(Te){M(assign$2(Te,{replace:!0,force:!0}),pe).catch(noop$3);return}m=pe;const Pe=f.value;isBrowser&&saveScrollPosition(getScrollKey(Pe.fullPath,ie.delta),computeScrollPosition()),I(pe,Pe).catch(B=>isNavigationFailure(B,12)?B:isNavigationFailure(B,2)?(M(assign$2(O(B.to),{force:!0}),pe).then(H=>{isNavigationFailure(H,20)&&!ie.delta&&ie.type===NavigationType.pop&&a.go(-1,!1)}).catch(noop$3),Promise.reject()):(ie.delta&&a.go(-ie.delta,!1),oe(B,pe,Pe))).then(B=>{B=B||$(pe,Pe,!1),B&&(ie.delta&&!isNavigationFailure(B,8)?a.go(-ie.delta,!1):ie.type===NavigationType.pop&&isNavigationFailure(B,20)&&a.go(-1,!1)),U(pe,Pe,B)}).catch(noop$3)}))}let G=useCallbacks(),ee=useCallbacks(),ae;function oe(re,ue,ie){te(re);const pe=ee.list();return pe.length?pe.forEach(Te=>Te(re,ue,ie)):console.error(re),Promise.reject(re)}function Se(){return ae&&f.value!==START_LOCATION_NORMALIZED?Promise.resolve():new Promise((re,ue)=>{G.add([re,ue])})}function te(re){return ae||(ae=!re,q(),G.list().forEach(([ue,ie])=>re?ie(re):ue()),G.reset()),re}function se(re,ue,ie,pe){const{scrollBehavior:Te}=e;if(!isBrowser||!Te)return Promise.resolve();const Pe=!ie&&getSavedScrollPosition(getScrollKey(re.fullPath,0))||(pe||!ie)&&history.state&&history.state.scroll||null;return nextTick().then(()=>Te(re,ue,Pe)).then(B=>B&&scrollToPosition(B)).catch(B=>oe(B,re,ue))}const ne=re=>a.go(re);let le;const Oe=new Set,ke={currentRoute:f,listening:!0,addRoute:_,removeRoute:S,clearRoutes:t.clearRoutes,hasRoute:k,getRoutes:b,resolve:C,options:e,push:E,replace:A,go:ne,back:()=>ne(-1),forward:()=>ne(1),beforeEach:c.add,beforeResolve:u.add,afterEach:d.add,onError:ee.add,isReady:Se,install(re){const ue=this;re.component("RouterLink",RouterLink),re.component("RouterView",RouterView),re.config.globalProperties.$router=ue,Object.defineProperty(re.config.globalProperties,"$route",{enumerable:!0,get:()=>unref(f)}),isBrowser&&!le&&f.value===START_LOCATION_NORMALIZED&&(le=!0,E(a.location).catch(Te=>{}));const ie={};for(const Te in START_LOCATION_NORMALIZED)Object.defineProperty(ie,Te,{get:()=>f.value[Te],enumerable:!0});re.provide(routerKey,ue),re.provide(routeLocationKey,shallowReactive(ie)),re.provide(routerViewLocationKey,f);const pe=re.unmount;Oe.add(re),re.unmount=function(){Oe.delete(re),Oe.size<1&&(m=START_LOCATION_NORMALIZED,z&&z(),z=null,f.value=START_LOCATION_NORMALIZED,le=!1,ae=!1),pe()}}};function ye(re){return re.reduce((ue,ie)=>ue.then(()=>F(ie)),Promise.resolve())}return ke}function extractChangingRecords(e,t){const r=[],i=[],a=[],c=Math.max(t.matched.length,e.matched.length);for(let u=0;u<c;u++){const d=t.matched[u];d&&(e.matched.find(m=>isSameRouteRecord(m,d))?i.push(d):r.push(d));const f=e.matched[u];f&&(t.matched.find(m=>isSameRouteRecord(m,f))||a.push(f))}return[r,i,a]}function useRouter$1(){return inject$1(routerKey)}function useRoute$1(e){return inject$1(routeLocationKey)}/*!
* pinia v3.0.3
* (c) 2025 Eduardo San Martin Morote
* @license MIT
*/let activePinia;const setActivePinia=e=>activePinia=e,piniaSymbol=Symbol();function isPlainObject$2(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=[],i=[];const a=markRaw({install(c){setActivePinia(a),a._a=c,c.provide(piniaSymbol,a),c.config.globalProperties.$pinia=a,i.forEach(u=>r.push(u)),i=[]},use(c){return this._a?r.push(c):i.push(c),this},_p:r,_a:null,_e:e,_s:new Map,state:t});return a}const noop$2=()=>{};function addSubscription(e,t,r,i=noop$2){e.push(t);const a=()=>{const c=e.indexOf(t);c>-1&&(e.splice(c,1),i())};return!r&&getCurrentScope()&&onScopeDispose(a),a}function triggerSubscriptions(e,...t){e.slice().forEach(r=>{r(...t)})}const fallbackRunWithContext=e=>e(),ACTION_MARKER=Symbol(),ACTION_NAME=Symbol();function mergeReactiveObjects(e,t){e instanceof Map&&t instanceof Map?t.forEach((r,i)=>e.set(i,r)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const r in t){if(!t.hasOwnProperty(r))continue;const i=t[r],a=e[r];isPlainObject$2(a)&&isPlainObject$2(i)&&e.hasOwnProperty(r)&&!isRef(i)&&!isReactive(i)?e[r]=mergeReactiveObjects(a,i):e[r]=i}return e}const skipHydrateSymbol=Symbol();function shouldHydrate(e){return!isPlainObject$2(e)||!Object.prototype.hasOwnProperty.call(e,skipHydrateSymbol)}const{assign:assign$1}=Object;function isComputed(e){return!!(isRef(e)&&e.effect)}function createOptionsStore(e,t,r,i){const{state:a,actions:c,getters:u}=t,d=r.state.value[e];let f;function m(){d||(r.state.value[e]=a?a():{});const y=toRefs(r.state.value[e]);return assign$1(y,c,Object.keys(u||{}).reduce((v,w)=>(v[w]=markRaw(computed(()=>{setActivePinia(r);const _=r._s.get(e);return u[w].call(_,_)})),v),{}))}return f=createSetupStore(e,m,t,r,i,!0),f}function createSetupStore(e,t,r={},i,a,c){let u;const d=assign$1({actions:{}},r),f={deep:!0};let m,y,v=[],w=[],_;const S=i.state.value[e];!c&&!S&&(i.state.value[e]={}),ref({});let b;function k(D){let F;m=y=!1,typeof D=="function"?(D(i.state.value[e]),F={type:MutationType.patchFunction,storeId:e,events:_}):(mergeReactiveObjects(i.state.value[e],D),F={type:MutationType.patchObject,payload:D,storeId:e,events:_});const I=b=Symbol();nextTick().then(()=>{b===I&&(m=!0)}),y=!0,triggerSubscriptions(v,F,i.state.value[e])}const C=c?function(){const{state:F}=r,I=F?F():{};this.$patch(U=>{assign$1(U,I)})}:noop$2;function O(){u.stop(),v=[],w=[],i._s.delete(e)}const T=(D,F="")=>{if(ACTION_MARKER in D)return D[ACTION_NAME]=F,D;const I=function(){setActivePinia(i);const U=Array.from(arguments),$=[],z=[];function q(ae){$.push(ae)}function G(ae){z.push(ae)}triggerSubscriptions(w,{args:U,name:I[ACTION_NAME],store:A,after:q,onError:G});let ee;try{ee=D.apply(this&&this.$id===e?this:A,U)}catch(ae){throw triggerSubscriptions(z,ae),ae}return ee instanceof Promise?ee.then(ae=>(triggerSubscriptions($,ae),ae)).catch(ae=>(triggerSubscriptions(z,ae),Promise.reject(ae))):(triggerSubscriptions($,ee),ee)};return I[ACTION_MARKER]=!0,I[ACTION_NAME]=F,I},E={_p:i,$id:e,$onAction:addSubscription.bind(null,w),$patch:k,$reset:C,$subscribe(D,F={}){const I=addSubscription(v,D,F.detached,()=>U()),U=u.run(()=>watch(()=>i.state.value[e],$=>{(F.flush==="sync"?y:m)&&D({storeId:e,type:MutationType.direct,events:_},$)},assign$1({},f,F)));return I},$dispose:O},A=reactive(E);i._s.set(e,A);const M=(i._a&&i._a.runWithContext||fallbackRunWithContext)(()=>i._e.run(()=>(u=effectScope()).run(()=>t({action:T}))));for(const D in M){const F=M[D];if(isRef(F)&&!isComputed(F)||isReactive(F))c||(S&&shouldHydrate(F)&&(isRef(F)?F.value=S[D]:mergeReactiveObjects(F,S[D])),i.state.value[e][D]=F);else if(typeof F=="function"){const I=T(F,D);M[D]=I,d.actions[D]=F}}return assign$1(A,M),assign$1(toRaw(A),M),Object.defineProperty(A,"$state",{get:()=>i.state.value[e],set:D=>{k(F=>{assign$1(F,D)})}}),i._p.forEach(D=>{assign$1(A,u.run(()=>D({store:A,app:i._a,pinia:i,options:d})))}),S&&c&&r.hydrate&&r.hydrate(A.$state,S),m=!0,y=!0,A}/*! #__NO_SIDE_EFFECTS__ */function defineStore(e,t,r){let i;const a=typeof t=="function";i=a?r:t;function c(u,d){const f=hasInjectionContext();return u=u||(f?inject$1(piniaSymbol,null):null),u&&setActivePinia(u),u=activePinia,u._s.has(e)||(a?createSetupStore(e,t,i,u):createOptionsStore(e,i,u)),u._s.get(e)}return c.$id=e,c}const _imports_0$1=""+new URL("brand_logo-DHt4CyHb.svg",import.meta.url).href;function getCookie(e){let t=null;if(document.cookie&&document.cookie!==""){const r=document.cookie.split(";");for(let i=0;i<r.length;i++){const a=r[i].trim();if(a.substring(0,e.length+1)===e+"="){t=decodeURIComponent(a.substring(e.length+1));break}}}return t}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;class BaseAPI{constructor(t=DefaultConfig){this.configuration=t,this.middleware=t.middleware}static jsonRegex=new RegExp("^(:?application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(:?;.*)?$","i");middleware;withMiddleware(...t){const r=this.clone();return r.middleware=r.middleware.concat(...t),r}withPreMiddleware(...t){const r=t.map(i=>({pre:i}));return this.withMiddleware(...r)}withPostMiddleware(...t){const r=t.map(i=>({post:i}));return this.withMiddleware(...r)}isJsonMime(t){return t?BaseAPI.jsonRegex.test(t):!1}async request(t,r){const{url:i,init:a}=await this.createFetchParams(t,r),c=await this.fetchApi(i,a);if(c&&c.status>=200&&c.status<300)return c;throw new ResponseError(c,"Response returned an error code")}async createFetchParams(t,r){let i=this.configuration.basePath+t.path;t.query!==void 0&&Object.keys(t.query).length!==0&&(i+="?"+this.configuration.queryParamsStringify(t.query));const a=Object.assign({},this.configuration.headers,t.headers,{"X-CSRFToken":getCookie("csrftoken")});Object.keys(a).forEach(y=>a[y]===void 0?delete a[y]:{});const c=typeof r=="function"?r:async()=>r,u={method:t.method,headers:a,body:t.body,credentials:this.configuration.credentials},d={...u,...await c({init:u,context:t})};let f;isFormData(d.body)||d.body instanceof URLSearchParams||isBlob(d.body)?f=d.body:this.isJsonMime(a["Content-Type"])?f=JSON.stringify(d.body):f=d.body;const m={...d,body:f};return{url:i,init:m}}fetchApi=async(t,r)=>{let i={url:t,init:r};for(const c of this.middleware)c.pre&&(i=await c.pre({fetch:this.fetchApi,...i})||i);let a;try{a=await(this.configuration.fetchApi||fetch)(i.url,i.init)}catch(c){for(const u of this.middleware)u.onError&&(a=await u.onError({fetch:this.fetchApi,url:i.url,init:i.init,error:c,response:a?a.clone():void 0})||a);if(a===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&&(a=await c.post({fetch:this.fetchApi,url:i.url,init:i.init,response:a.clone()})||a);return a};clone(){const t=this.constructor,r=new t(this.configuration);return r.middleware=this.middleware.slice(),r}}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(t,r){super(r),this.response=t}name="ResponseError"}class FetchError extends Error{constructor(t,r){super(r),this.cause=t}name="FetchError"}class RequiredError extends Error{constructor(t,r){super(r),this.field=t}name="RequiredError"}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 i=r+(r.length?`[${e}]`:e);if(t instanceof Array){const a=t.map(c=>encodeURIComponent(String(c))).join(`&${encodeURIComponent(i)}=`);return`${encodeURIComponent(i)}=${a}`}if(t instanceof Set){const a=Array.from(t);return querystringSingleKey(e,a,r)}return t instanceof Date?`${encodeURIComponent(i)}=${encodeURIComponent(t.toISOString())}`:t instanceof Object?querystring(t,i):`${encodeURIComponent(i)}=${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=i=>i){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==null?void 0: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:{id:e.id,expires:e.expires.toISOString(),scope:e.scope}}function AiProviderFromJSON(e){return AiProviderFromJSONTyped(e)}function AiProviderFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0:e.id,name:e.name,description:e.description==null?void 0:e.description,apiKey:e.api_key==null?void 0:e.api_key,modelName:e.model_name,url:e.url==null?void 0:e.url,logCreditCost:e.log_credit_cost==null?void 0:e.log_credit_cost,space:e.space==null?void 0:e.space,createdAt:new Date(e.created_at),updatedAt:new Date(e.updated_at)}}function AiProviderToJSON(e){return e==null?e:{id:e.id,name:e.name,description:e.description,api_key:e.apiKey,model_name:e.modelName,url:e.url,log_credit_cost:e.logCreditCost,space:e.space}}function AiLogFromJSON(e){return AiLogFromJSONTyped(e)}function AiLogFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0:e.id,aiProvider:AiProviderFromJSON(e.ai_provider),_function:e.function,creditCost:e.credit_cost,creditsFromBalance:e.credits_from_balance==null?void 0:e.credits_from_balance,inputTokens:e.input_tokens==null?void 0:e.input_tokens,outputTokens:e.output_tokens==null?void 0:e.output_tokens,startTime:e.start_time==null?void 0:new Date(e.start_time),endTime:e.end_time==null?void 0:new Date(e.end_time),createdBy:e.created_by==null?void 0:e.created_by,createdAt:new Date(e.created_at),updatedAt:new Date(e.updated_at)}}function AlignmentEnumFromJSON(e){return AlignmentEnumFromJSONTyped(e)}function AlignmentEnumFromJSONTyped(e,t){return e}function AlignmentEnumToJSON(e){return e}function UserFromJSON(e){return UserFromJSONTyped(e)}function UserFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0: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,isStaff:e.is_staff,isSuperuser:e.is_superuser,isActive:e.is_active}}function UserToJSON(e){return e==null?e:{id:e.id,first_name:e.firstName,last_name:e.lastName}}function AutoMealPlanFromJSON(e){return AutoMealPlanFromJSONTyped(e)}function AutoMealPlanFromJSONTyped(e,t){return e==null?e:{startDate:new Date(e.start_date),endDate:new Date(e.end_date),mealTypeId:e.meal_type_id,keywordIds:e.keyword_ids,servings:e.servings,shared:e.shared==null?void 0:e.shared.map(UserFromJSON),addshopping:e.addshopping}}function AutoMealPlanToJSON(e){return e==null?e:{start_date:e.startDate.toISOString(),end_date:e.endDate.toISOString(),meal_type_id:e.mealTypeId,keyword_ids:e.keywordIds,servings:e.servings,shared:e.shared==null?void 0:e.shared.map(UserToJSON),addshopping:e.addshopping}}function AutomationTypeEnumFromJSON(e){return AutomationTypeEnumFromJSONTyped(e)}function AutomationTypeEnumFromJSONTyped(e,t){return e}function AutomationTypeEnumToJSON(e){return e}function AutomationFromJSON(e){return AutomationFromJSONTyped(e)}function AutomationFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0:e.id,type:AutomationTypeEnumFromJSON(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:{id:e.id,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 BaseUnitEnumFromJSON(e){return BaseUnitEnumFromJSONTyped(e)}function BaseUnitEnumFromJSONTyped(e,t){return e}function BaseUnitEnumToJSON(e){return e}function BookmarkletImportFromJSON(e){return BookmarkletImportFromJSONTyped(e)}function BookmarkletImportFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0: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:{id:e.id,url:e.url,html:e.html}}function BookmarkletImportListFromJSON(e){return BookmarkletImportListFromJSONTyped(e)}function BookmarkletImportListFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0:e.id,url:e.url==null?void 0:e.url,createdBy:e.created_by,createdAt:new Date(e.created_at)}}function ConnectorConfigTypeEnumFromJSON(e){return ConnectorConfigTypeEnumFromJSONTyped(e)}function ConnectorConfigTypeEnumFromJSONTyped(e,t){return e}function ConnectorConfigTypeEnumToJSON(e){return e}function ConnectorConfigFromJSON(e){return ConnectorConfigFromJSONTyped(e)}function ConnectorConfigFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0:e.id,name:e.name,type:e.type==null?void 0:ConnectorConfigTypeEnumFromJSON(e.type),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,supportsDescriptionField:e.supports_description_field==null?void 0:e.supports_description_field,createdBy:e.created_by}}function ConnectorConfigToJSON(e){return e==null?e:{id:e.id,name:e.name,type:e.type,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,supports_description_field:e.supportsDescriptionField}}function CookLogFromJSON(e){return CookLogFromJSONTyped(e)}function CookLogFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0: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:{id:e.id,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==null?void 0: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:{id:e.id,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 EnterpriseKeywordFromJSON(e){return EnterpriseKeywordFromJSONTyped(e)}function EnterpriseKeywordFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0:e.id,name:e.name,label:e.label,description:e.description==null?void 0:e.description}}function EnterpriseSocialEmbedTypeEnumFromJSON(e){return EnterpriseSocialEmbedTypeEnumFromJSONTyped(e)}function EnterpriseSocialEmbedTypeEnumFromJSONTyped(e,t){return e}function EnterpriseSocialEmbedTypeEnumToJSON(e){return e}function KeywordFromJSON(e){return KeywordFromJSONTyped(e)}function KeywordFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0: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:{id:e.id,name:e.name,description:e.description}}function EnterpriseSocialEmbedFromJSON(e){return EnterpriseSocialEmbedFromJSONTyped(e)}function EnterpriseSocialEmbedFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0:e.id,name:e.name,type:EnterpriseSocialEmbedTypeEnumFromJSON(e.type),keywords:e.keywords.map(KeywordFromJSON),alignment:e.alignment==null?void 0:AlignmentEnumFromJSON(e.alignment),backgroundColor:e.background_color==null?void 0:e.background_color,accentColor:e.accent_color==null?void 0:e.accent_color,uuid:e.uuid==null?void 0:e.uuid}}function EnterpriseSocialEmbedToJSON(e){return e==null?e:{id:e.id,name:e.name,type:e.type,keywords:e.keywords.map(KeywordToJSON),alignment:e.alignment,background_color:e.backgroundColor,accent_color:e.accentColor,uuid:e.uuid}}function EnterpriseSocialRecipeSearchFromJSON(e){return EnterpriseSocialRecipeSearchFromJSONTyped(e)}function EnterpriseSocialRecipeSearchFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0:e.id,name:e.name,image:e.image,keywords:e.keywords.map(EnterpriseKeywordFromJSON)}}function EnterpriseSpaceFromJSON(e){return EnterpriseSpaceFromJSONTyped(e)}function EnterpriseSpaceFromJSONTyped(e,t){return e==null?e:{space:e.space,licensedModules:e.licensed_modules}}function EnterpriseSpaceToJSON(e){return e==null?e:{space:e.space,licensed_modules:e.licensedModules}}function ExportLogFromJSON(e){return ExportLogFromJSONTyped(e)}function ExportLogFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0: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:{id:e.id,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 RecipeSimpleFromJSON(e){return RecipeSimpleFromJSONTyped(e)}function RecipeSimpleFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0:e.id,name:e.name,url:e.url}}function RecipeSimpleToJSON(e){return e==null?e:{id:e.id,name:e.name}}function ExportRequestToJSON(e){return e==null?e:{type:e.type,all:e.all,recipes:e.recipes==null?void 0:e.recipes.map(RecipeSimpleToJSON),custom_filter:CustomFilterToJSON(e.customFilter)}}function FdcQueryFoodsFromJSON(e){return FdcQueryFoodsFromJSONTyped(e)}function FdcQueryFoodsFromJSONTyped(e,t){return e==null?e:{fdcId:e.fdcId,description:e.description,dataType:e.dataType}}function FdcQueryFromJSON(e){return FdcQueryFromJSONTyped(e)}function FdcQueryFromJSONTyped(e,t){return e==null?e:{totalHits:e.totalHits,currentPage:e.currentPage,totalPages:e.totalPages,foods:e.foods.map(FdcQueryFoodsFromJSON)}}function SupermarketCategoryFromJSON(e){return SupermarketCategoryFromJSONTyped(e)}function SupermarketCategoryFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0:e.id,name:e.name,description:e.description==null?void 0:e.description,openDataSlug:e.open_data_slug==null?void 0:e.open_data_slug}}function SupermarketCategoryToJSON(e){return e==null?e:{id:e.id,name:e.name,description:e.description,open_data_slug:e.openDataSlug}}function UnitFromJSON(e){return UnitFromJSONTyped(e)}function UnitFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0: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:{id:e.id,name:e.name,plural_name:e.pluralName,description:e.description,base_unit:e.baseUnit,open_data_slug:e.openDataSlug}}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==null?void 0:e.id,propertyAmount:e.property_amount,propertyType:PropertyTypeFromJSON(e.property_type)}}function PropertyToJSON(e){return e==null?e:{id:e.id,property_amount:e.propertyAmount,property_type:PropertyTypeToJSON(e.propertyType)}}function FoodInheritFieldFromJSON(e){return FoodInheritFieldFromJSONTyped(e)}function FoodInheritFieldFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0: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:{id:e.id,name:e.name,field:e.field}}function FoodSimpleFromJSON(e){return FoodSimpleFromJSONTyped(e)}function FoodSimpleFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0:e.id,name:e.name,pluralName:e.plural_name==null?void 0:e.plural_name}}function FoodSimpleToJSON(e){return e==null?e:{id:e.id,name:e.name,plural_name:e.pluralName}}function FoodFromJSON(e){return FoodFromJSONTyped(e)}function FoodFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0: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:{id:e.id,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 FoodBatchUpdateFromJSON(e){return FoodBatchUpdateFromJSONTyped(e)}function FoodBatchUpdateFromJSONTyped(e,t){return e==null?e:{foods:e.foods,category:e.category==null?void 0:e.category,substituteAdd:e.substitute_add,substituteRemove:e.substitute_remove,substituteSet:e.substitute_set,substituteRemoveAll:e.substitute_remove_all==null?void 0:e.substitute_remove_all,inheritFieldsAdd:e.inherit_fields_add,inheritFieldsRemove:e.inherit_fields_remove,inheritFieldsSet:e.inherit_fields_set,inheritFieldsRemoveAll:e.inherit_fields_remove_all==null?void 0:e.inherit_fields_remove_all,childInheritFieldsAdd:e.child_inherit_fields_add,childInheritFieldsRemove:e.child_inherit_fields_remove,childInheritFieldsSet:e.child_inherit_fields_set,childInheritFieldsRemoveAll:e.child_inherit_fields_remove_all==null?void 0:e.child_inherit_fields_remove_all,substituteChildren:e.substitute_children==null?void 0:e.substitute_children,substituteSiblings:e.substitute_siblings==null?void 0:e.substitute_siblings,ignoreShopping:e.ignore_shopping==null?void 0:e.ignore_shopping,onHand:e.on_hand==null?void 0:e.on_hand,parentRemove:e.parent_remove==null?void 0:e.parent_remove,parentSet:e.parent_set==null?void 0:e.parent_set}}function FoodBatchUpdateToJSON(e){return e==null?e:{foods:e.foods,category:e.category,substitute_add:e.substituteAdd,substitute_remove:e.substituteRemove,substitute_set:e.substituteSet,substitute_remove_all:e.substituteRemoveAll,inherit_fields_add:e.inheritFieldsAdd,inherit_fields_remove:e.inheritFieldsRemove,inherit_fields_set:e.inheritFieldsSet,inherit_fields_remove_all:e.inheritFieldsRemoveAll,child_inherit_fields_add:e.childInheritFieldsAdd,child_inherit_fields_remove:e.childInheritFieldsRemove,child_inherit_fields_set:e.childInheritFieldsSet,child_inherit_fields_remove_all:e.childInheritFieldsRemoveAll,substitute_children:e.substituteChildren,substitute_siblings:e.substituteSiblings,ignore_shopping:e.ignoreShopping,on_hand:e.onHand,parent_remove:e.parentRemove,parent_set:e.parentSet}}function FoodShoppingUpdateFromJSON(e){return FoodShoppingUpdateFromJSONTyped(e)}function FoodShoppingUpdateFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0: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:{id:e.id,amount:e.amount,unit:e.unit,delete:e._delete}}function GenericModelReferenceFromJSON(e){return GenericModelReferenceFromJSONTyped(e)}function GenericModelReferenceFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0:e.id,model:e.model,name:e.name}}function GroupFromJSON(e){return GroupFromJSONTyped(e)}function GroupFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0:e.id,name:e.name}}function GroupToJSON(e){return e==null?e:{id:e.id}}function ImportLogFromJSON(e){return ImportLogFromJSONTyped(e)}function ImportLogFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0: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:{id:e.id,type:e.type,msg:e.msg,running:e.running,total_recipes:e.totalRecipes,imported_recipes:e.importedRecipes}}function ImportOpenDataToJSON(e){return e==null?e:{selected_version:e.selectedVersion,selected_datatypes:e.selectedDatatypes,update_existing:e.updateExisting,use_metric:e.useMetric}}function ImportOpenDataVersionMetaDataFromJSON(e){return ImportOpenDataVersionMetaDataFromJSONTyped(e)}function ImportOpenDataVersionMetaDataFromJSONTyped(e,t){return e==null?e:{food:e.food,unit:e.unit,category:e.category,property:e.property,store:e.store,conversion:e.conversion}}function ImportOpenDataMetaDataFromJSON(e){return ImportOpenDataMetaDataFromJSONTyped(e)}function ImportOpenDataMetaDataFromJSONTyped(e,t){return e==null?e:{versions:e.versions,datatypes:e.datatypes,base:ImportOpenDataVersionMetaDataFromJSON(e.base),cs:ImportOpenDataVersionMetaDataFromJSON(e.cs),da:ImportOpenDataVersionMetaDataFromJSON(e.da),de:ImportOpenDataVersionMetaDataFromJSON(e.de),el:ImportOpenDataVersionMetaDataFromJSON(e.el),en:ImportOpenDataVersionMetaDataFromJSON(e.en),es:ImportOpenDataVersionMetaDataFromJSON(e.es),fr:ImportOpenDataVersionMetaDataFromJSON(e.fr),hu:ImportOpenDataVersionMetaDataFromJSON(e.hu),it:ImportOpenDataVersionMetaDataFromJSON(e.it),nbNO:ImportOpenDataVersionMetaDataFromJSON(e.nb_NO),nl:ImportOpenDataVersionMetaDataFromJSON(e.nl),pl:ImportOpenDataVersionMetaDataFromJSON(e.pl),pt:ImportOpenDataVersionMetaDataFromJSON(e.pt),ptBR:ImportOpenDataVersionMetaDataFromJSON(e.pt_BR),sk:ImportOpenDataVersionMetaDataFromJSON(e.sk),sl:ImportOpenDataVersionMetaDataFromJSON(e.sl),zhHans:ImportOpenDataVersionMetaDataFromJSON(e.zh_Hans)}}function ImportOpenDataResponseDetailFromJSON(e){return ImportOpenDataResponseDetailFromJSONTyped(e)}function ImportOpenDataResponseDetailFromJSONTyped(e,t){return e==null?e:{totalCreated:e.total_created==null?void 0:e.total_created,totalUpdated:e.total_updated==null?void 0:e.total_updated,totalUntouched:e.total_untouched==null?void 0:e.total_untouched,totalErrored:e.total_errored==null?void 0:e.total_errored}}function ImportOpenDataResponseFromJSON(e){return ImportOpenDataResponseFromJSONTyped(e)}function ImportOpenDataResponseFromJSONTyped(e,t){return e==null?e:{food:e.food==null?void 0:ImportOpenDataResponseDetailFromJSON(e.food),unit:e.unit==null?void 0:ImportOpenDataResponseDetailFromJSON(e.unit),category:e.category==null?void 0:ImportOpenDataResponseDetailFromJSON(e.category),property:e.property==null?void 0:ImportOpenDataResponseDetailFromJSON(e.property),store:e.store==null?void 0:ImportOpenDataResponseDetailFromJSON(e.store),conversion:e.conversion==null?void 0:ImportOpenDataResponseDetailFromJSON(e.conversion)}}function IngredientFromJSON(e){return IngredientFromJSONTyped(e)}function IngredientFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0: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:{id:e.id,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 IngredientStringToJSON(e){return e==null?e:{text:e.text}}function InviteLinkFromJSON(e){return InviteLinkFromJSONTyped(e)}function InviteLinkFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0: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,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:{id:e.id,email:e.email,group:GroupToJSON(e.group),valid_until:e.validUntil==null?void 0:e.validUntil.toISOString().substring(0,10),reusable:e.reusable,internal_note:e.internalNote}}function KeywordLabelFromJSON(e){return KeywordLabelFromJSONTyped(e)}function KeywordLabelFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0:e.id,label:e.label}}function LocalizationFromJSON(e){return LocalizationFromJSONTyped(e)}function LocalizationFromJSONTyped(e,t){return e==null?e:{code:e.code,language:e.language}}function MealTypeFromJSON(e){return MealTypeFromJSONTyped(e)}function MealTypeFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0:e.id,name:e.name,order:e.order==null?void 0:e.order,time:e.time==null?void 0:e.time,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:{id:e.id,name:e.name,order:e.order,time:e.time,color:e.color,default:e._default}}function RecipeOverviewFromJSON(e){return RecipeOverviewFromJSONTyped(e)}function RecipeOverviewFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0:e.id,name:e.name,description:e.description==null?void 0:e.description,image:e.image,keywords:e.keywords.map(KeywordLabelFromJSON),workingTime:e.working_time,waitingTime:e.waiting_time,createdBy:UserFromJSON(e.created_by),createdAt:new Date(e.created_at),updatedAt:new Date(e.updated_at),internal:e.internal,_private:e.private==null?void 0:e.private,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:{id:e.id,name:e.name,description:e.description,private:e._private}}function MealPlanFromJSON(e){return MealPlanFromJSONTyped(e)}function MealPlanFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0: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,addshopping:e.addshopping==null?void 0:e.addshopping}}function MealPlanToJSON(e){return e==null?e:{id:e.id,title:e.title,recipe:RecipeOverviewToJSON(e.recipe),servings:e.servings,note:e.note,from_date:e.fromDate.toISOString(),to_date:e.toDate==null?void 0:e.toDate.toISOString(),meal_type:MealTypeToJSON(e.mealType),shared:e.shared==null?void 0:e.shared.map(UserToJSON),addshopping:e.addshopping}}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==null?void 0: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:{id:e.id,carbohydrates:e.carbohydrates,fats:e.fats,proteins:e.proteins,calories:e.calories,source:e.source}}function OpenDataVersionFromJSON(e){return OpenDataVersionFromJSONTyped(e)}function OpenDataVersionFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0:e.id,name:e.name,code:e.code,comment:e.comment==null?void 0:e.comment}}function OpenDataVersionToJSON(e){return e==null?e:{id:e.id,name:e.name,code:e.code,comment:e.comment}}function OpenDataCategoryFromJSON(e){return OpenDataCategoryFromJSONTyped(e)}function OpenDataCategoryFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0:e.id,version:OpenDataVersionFromJSON(e.version),slug:e.slug,name:e.name,description:e.description==null?void 0:e.description,comment:e.comment==null?void 0:e.comment,createdBy:e.created_by}}function OpenDataCategoryToJSON(e){return e==null?e:{id:e.id,version:OpenDataVersionToJSON(e.version),slug:e.slug,name:e.name,description:e.description,comment:e.comment}}function OpenDataUnitTypeEnumFromJSON(e){return OpenDataUnitTypeEnumFromJSONTyped(e)}function OpenDataUnitTypeEnumFromJSONTyped(e,t){return e}function OpenDataUnitTypeEnumToJSON(e){return e}function OpenDataUnitFromJSON(e){return OpenDataUnitFromJSONTyped(e)}function OpenDataUnitFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0:e.id,version:OpenDataVersionFromJSON(e.version),slug:e.slug,name:e.name,pluralName:e.plural_name==null?void 0:e.plural_name,baseUnit:e.base_unit==null?void 0:BaseUnitEnumFromJSON(e.base_unit),type:OpenDataUnitTypeEnumFromJSON(e.type),comment:e.comment==null?void 0:e.comment,createdBy:e.created_by}}function OpenDataUnitToJSON(e){return e==null?e:{id:e.id,version:OpenDataVersionToJSON(e.version),slug:e.slug,name:e.name,plural_name:e.pluralName,base_unit:e.baseUnit,type:e.type,comment:e.comment}}function OpenDataPropertyFromJSON(e){return OpenDataPropertyFromJSONTyped(e)}function OpenDataPropertyFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0:e.id,version:OpenDataVersionFromJSON(e.version),slug:e.slug,name:e.name,unit:e.unit==null?void 0:e.unit,fdcId:e.fdc_id==null?void 0:e.fdc_id,comment:e.comment==null?void 0:e.comment,createdBy:e.created_by}}function OpenDataPropertyToJSON(e){return e==null?e:{id:e.id,version:OpenDataVersionToJSON(e.version),slug:e.slug,name:e.name,unit:e.unit,fdc_id:e.fdcId,comment:e.comment}}function OpenDataFoodPropertyFromJSON(e){return OpenDataFoodPropertyFromJSONTyped(e)}function OpenDataFoodPropertyFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0:e.id,property:OpenDataPropertyFromJSON(e.property),propertyAmount:e.property_amount}}function OpenDataFoodPropertyToJSON(e){return e==null?e:{id:e.id,property:OpenDataPropertyToJSON(e.property),property_amount:e.propertyAmount}}function OpenDataFoodFromJSON(e){return OpenDataFoodFromJSONTyped(e)}function OpenDataFoodFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0:e.id,version:OpenDataVersionFromJSON(e.version),slug:e.slug,name:e.name,pluralName:e.plural_name,storeCategory:OpenDataCategoryFromJSON(e.store_category),preferredUnitMetric:e.preferred_unit_metric==null?void 0:OpenDataUnitFromJSON(e.preferred_unit_metric),preferredShoppingUnitMetric:e.preferred_shopping_unit_metric==null?void 0:OpenDataUnitFromJSON(e.preferred_shopping_unit_metric),preferredUnitImperial:e.preferred_unit_imperial==null?void 0:OpenDataUnitFromJSON(e.preferred_unit_imperial),preferredShoppingUnitImperial:e.preferred_shopping_unit_imperial==null?void 0:OpenDataUnitFromJSON(e.preferred_shopping_unit_imperial),properties:e.properties==null?null:e.properties.map(OpenDataFoodPropertyFromJSON),propertiesFoodAmount:e.properties_food_amount==null?void 0:e.properties_food_amount,propertiesFoodUnit:OpenDataUnitFromJSON(e.properties_food_unit),propertiesSource:e.properties_source==null?void 0:e.properties_source,fdcId:e.fdc_id==null?void 0:e.fdc_id,comment:e.comment==null?void 0:e.comment,createdBy:e.created_by}}function OpenDataFoodToJSON(e){return e==null?e:{id:e.id,version:OpenDataVersionToJSON(e.version),slug:e.slug,name:e.name,plural_name:e.pluralName,store_category:OpenDataCategoryToJSON(e.storeCategory),preferred_unit_metric:OpenDataUnitToJSON(e.preferredUnitMetric),preferred_shopping_unit_metric:OpenDataUnitToJSON(e.preferredShoppingUnitMetric),preferred_unit_imperial:OpenDataUnitToJSON(e.preferredUnitImperial),preferred_shopping_unit_imperial:OpenDataUnitToJSON(e.preferredShoppingUnitImperial),properties:e.properties==null?null:e.properties.map(OpenDataFoodPropertyToJSON),properties_food_amount:e.propertiesFoodAmount,properties_food_unit:OpenDataUnitToJSON(e.propertiesFoodUnit),properties_source:e.propertiesSource,fdc_id:e.fdcId,comment:e.comment}}function OpenDataConversionFromJSON(e){return OpenDataConversionFromJSONTyped(e)}function OpenDataConversionFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0:e.id,version:OpenDataVersionFromJSON(e.version),slug:e.slug,food:OpenDataFoodFromJSON(e.food),baseAmount:e.base_amount,baseUnit:OpenDataUnitFromJSON(e.base_unit),convertedAmount:e.converted_amount,convertedUnit:OpenDataUnitFromJSON(e.converted_unit),source:e.source,comment:e.comment==null?void 0:e.comment,createdBy:e.created_by}}function OpenDataConversionToJSON(e){return e==null?e:{id:e.id,version:OpenDataVersionToJSON(e.version),slug:e.slug,food:OpenDataFoodToJSON(e.food),base_amount:e.baseAmount,base_unit:OpenDataUnitToJSON(e.baseUnit),converted_amount:e.convertedAmount,converted_unit:OpenDataUnitToJSON(e.convertedUnit),source:e.source,comment:e.comment}}function OpenDataStoreCategoryFromJSON(e){return OpenDataStoreCategoryFromJSONTyped(e)}function OpenDataStoreCategoryFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0:e.id,category:OpenDataCategoryFromJSON(e.category),store:e.store,order:e.order==null?void 0:e.order}}function OpenDataStoreCategoryToJSON(e){return e==null?e:{id:e.id,category:OpenDataCategoryToJSON(e.category),store:e.store,order:e.order}}function OpenDataStoreFromJSON(e){return OpenDataStoreFromJSONTyped(e)}function OpenDataStoreFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0:e.id,version:OpenDataVersionFromJSON(e.version),slug:e.slug,name:e.name,categoryToStore:e.category_to_store==null?null:e.category_to_store.map(OpenDataStoreCategoryFromJSON),comment:e.comment==null?void 0:e.comment,createdBy:e.created_by}}function OpenDataStoreToJSON(e){return e==null?e:{id:e.id,version:OpenDataVersionToJSON(e.version),slug:e.slug,name:e.name,category_to_store:e.categoryToStore==null?null:e.categoryToStore.map(OpenDataStoreCategoryToJSON),comment:e.comment}}function PaginatedAiLogListFromJSON(e){return PaginatedAiLogListFromJSONTyped(e)}function PaginatedAiLogListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(AiLogFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function PaginatedAiProviderListFromJSON(e){return PaginatedAiProviderListFromJSONTyped(e)}function PaginatedAiProviderListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(AiProviderFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function PaginatedAutomationListFromJSON(e){return PaginatedAutomationListFromJSONTyped(e)}function PaginatedAutomationListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(AutomationFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function PaginatedBookmarkletImportListListFromJSON(e){return PaginatedBookmarkletImportListListFromJSONTyped(e)}function PaginatedBookmarkletImportListListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(BookmarkletImportListFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function PaginatedConnectorConfigListFromJSON(e){return PaginatedConnectorConfigListFromJSONTyped(e)}function PaginatedConnectorConfigListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(ConnectorConfigFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function PaginatedCookLogListFromJSON(e){return PaginatedCookLogListFromJSONTyped(e)}function PaginatedCookLogListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(CookLogFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function PaginatedCustomFilterListFromJSON(e){return PaginatedCustomFilterListFromJSONTyped(e)}function PaginatedCustomFilterListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(CustomFilterFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function PaginatedEnterpriseSocialEmbedListFromJSON(e){return PaginatedEnterpriseSocialEmbedListFromJSONTyped(e)}function PaginatedEnterpriseSocialEmbedListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(EnterpriseSocialEmbedFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function PaginatedEnterpriseSocialRecipeSearchListFromJSON(e){return PaginatedEnterpriseSocialRecipeSearchListFromJSONTyped(e)}function PaginatedEnterpriseSocialRecipeSearchListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(EnterpriseSocialRecipeSearchFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function PaginatedEnterpriseSpaceListFromJSON(e){return PaginatedEnterpriseSpaceListFromJSONTyped(e)}function PaginatedEnterpriseSpaceListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(EnterpriseSpaceFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function PaginatedExportLogListFromJSON(e){return PaginatedExportLogListFromJSONTyped(e)}function PaginatedExportLogListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(ExportLogFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function PaginatedFoodListFromJSON(e){return PaginatedFoodListFromJSONTyped(e)}function PaginatedFoodListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(FoodFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function PaginatedGenericModelReferenceListFromJSON(e){return PaginatedGenericModelReferenceListFromJSONTyped(e)}function PaginatedGenericModelReferenceListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(GenericModelReferenceFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function PaginatedImportLogListFromJSON(e){return PaginatedImportLogListFromJSONTyped(e)}function PaginatedImportLogListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(ImportLogFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function PaginatedIngredientListFromJSON(e){return PaginatedIngredientListFromJSONTyped(e)}function PaginatedIngredientListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(IngredientFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function PaginatedInviteLinkListFromJSON(e){return PaginatedInviteLinkListFromJSONTyped(e)}function PaginatedInviteLinkListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(InviteLinkFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function PaginatedKeywordListFromJSON(e){return PaginatedKeywordListFromJSONTyped(e)}function PaginatedKeywordListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(KeywordFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function PaginatedMealPlanListFromJSON(e){return PaginatedMealPlanListFromJSONTyped(e)}function PaginatedMealPlanListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(MealPlanFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function PaginatedMealTypeListFromJSON(e){return PaginatedMealTypeListFromJSONTyped(e)}function PaginatedMealTypeListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(MealTypeFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function PaginatedOpenDataCategoryListFromJSON(e){return PaginatedOpenDataCategoryListFromJSONTyped(e)}function PaginatedOpenDataCategoryListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(OpenDataCategoryFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function PaginatedOpenDataConversionListFromJSON(e){return PaginatedOpenDataConversionListFromJSONTyped(e)}function PaginatedOpenDataConversionListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(OpenDataConversionFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function PaginatedOpenDataFoodListFromJSON(e){return PaginatedOpenDataFoodListFromJSONTyped(e)}function PaginatedOpenDataFoodListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(OpenDataFoodFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function PaginatedOpenDataPropertyListFromJSON(e){return PaginatedOpenDataPropertyListFromJSONTyped(e)}function PaginatedOpenDataPropertyListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(OpenDataPropertyFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function PaginatedOpenDataStoreListFromJSON(e){return PaginatedOpenDataStoreListFromJSONTyped(e)}function PaginatedOpenDataStoreListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(OpenDataStoreFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function PaginatedOpenDataUnitListFromJSON(e){return PaginatedOpenDataUnitListFromJSONTyped(e)}function PaginatedOpenDataUnitListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(OpenDataUnitFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function PaginatedOpenDataVersionListFromJSON(e){return PaginatedOpenDataVersionListFromJSONTyped(e)}function PaginatedOpenDataVersionListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(OpenDataVersionFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function PaginatedPropertyListFromJSON(e){return PaginatedPropertyListFromJSONTyped(e)}function PaginatedPropertyListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(PropertyFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function PaginatedPropertyTypeListFromJSON(e){return PaginatedPropertyTypeListFromJSONTyped(e)}function PaginatedPropertyTypeListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(PropertyTypeFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function RecipeBookFromJSON(e){return RecipeBookFromJSONTyped(e)}function RecipeBookFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0:e.id,name:e.name,description:e.description==null?void 0:e.description,shared:e.shared.map(UserFromJSON),createdBy:UserFromJSON(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:{id:e.id,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==null?void 0:e.id,book:e.book,bookContent:RecipeBookFromJSON(e.book_content),recipe:e.recipe,recipeContent:RecipeOverviewFromJSON(e.recipe_content)}}function RecipeBookEntryToJSON(e){return e==null?e:{id:e.id,book:e.book,recipe:e.recipe}}function PaginatedRecipeBookEntryListFromJSON(e){return PaginatedRecipeBookEntryListFromJSONTyped(e)}function PaginatedRecipeBookEntryListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(RecipeBookEntryFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function PaginatedRecipeBookListFromJSON(e){return PaginatedRecipeBookListFromJSONTyped(e)}function PaginatedRecipeBookListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(RecipeBookFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function RecipeImportFromJSON(e){return RecipeImportFromJSONTyped(e)}function RecipeImportFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0:e.id,name:e.name,fileUid:e.file_uid==null?void 0:e.file_uid,filePath:e.file_path==null?void 0:e.file_path,createdAt:new Date(e.created_at),storage:e.storage,space:e.space}}function RecipeImportToJSON(e){return e==null?e:{id:e.id,name:e.name,file_uid:e.fileUid,file_path:e.filePath,storage:e.storage,space:e.space}}function PaginatedRecipeImportListFromJSON(e){return PaginatedRecipeImportListFromJSONTyped(e)}function PaginatedRecipeImportListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(RecipeImportFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function PaginatedRecipeOverviewListFromJSON(e){return PaginatedRecipeOverviewListFromJSONTyped(e)}function PaginatedRecipeOverviewListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(RecipeOverviewFromJSON)}}function ShoppingListRecipeFromJSON(e){return ShoppingListRecipeFromJSONTyped(e)}function ShoppingListRecipeFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0:e.id,name:e.name==null?void 0:e.name,recipe:e.recipe==null?void 0:e.recipe,recipeData:RecipeOverviewFromJSON(e.recipe_data),mealplan:e.mealplan==null?void 0:e.mealplan,mealPlanData:MealPlanFromJSON(e.meal_plan_data),servings:e.servings,createdBy:UserFromJSON(e.created_by)}}function ShoppingListRecipeToJSON(e){return e==null?e:{id:e.id,name:e.name,recipe:e.recipe,mealplan:e.mealplan,servings:e.servings}}function ShoppingListEntryFromJSON(e){return ShoppingListEntryFromJSONTyped(e)}function ShoppingListEntryFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0: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,ingredient:e.ingredient==null?void 0:e.ingredient,listRecipeData:ShoppingListRecipeFromJSON(e.list_recipe_data),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),mealplanId:e.mealplan_id==null?void 0:e.mealplan_id}}function ShoppingListEntryToJSON(e){return e==null?e:{id:e.id,list_recipe:e.listRecipe,food:FoodToJSON(e.food),unit:UnitToJSON(e.unit),amount:e.amount,order:e.order,checked:e.checked,ingredient:e.ingredient,completed_at:e.completedAt==null?void 0:e.completedAt.toISOString(),delay_until:e.delayUntil==null?void 0:e.delayUntil.toISOString(),mealplan_id:e.mealplanId}}function PaginatedShoppingListEntryListFromJSON(e){return PaginatedShoppingListEntryListFromJSONTyped(e)}function PaginatedShoppingListEntryListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(ShoppingListEntryFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function PaginatedShoppingListRecipeListFromJSON(e){return PaginatedShoppingListRecipeListFromJSONTyped(e)}function PaginatedShoppingListRecipeListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(ShoppingListRecipeFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function UserFileViewFromJSON(e){return UserFileViewFromJSONTyped(e)}function UserFileViewFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0:e.id,name:e.name,fileDownload:e.file_download,preview:e.preview,fileSizeKb:e.file_size_kb,createdBy:UserFromJSON(e.created_by),createdAt:new Date(e.created_at)}}function UserFileViewToJSON(e){return e==null?e:{id:e.id,name:e.name}}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 SpaceFromJSON(e){return SpaceFromJSONTyped(e)}function SpaceFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0:e.id,name:e.name==null?void 0:e.name,createdBy:UserFromJSON(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==null?void 0: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),aiCreditsMonthly:e.ai_credits_monthly==null?void 0:e.ai_credits_monthly,aiCreditsBalance:e.ai_credits_balance==null?void 0:e.ai_credits_balance,aiMonthlyCreditsUsed:e.ai_monthly_credits_used,aiEnabled:e.ai_enabled==null?void 0:e.ai_enabled,aiDefaultProvider:e.ai_default_provider==null?void 0:AiProviderFromJSON(e.ai_default_provider),spaceSetupCompleted:e.space_setup_completed==null?void 0:e.space_setup_completed}}function SpaceToJSON(e){return e==null?e:{id:e.id,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),ai_credits_monthly:e.aiCreditsMonthly,ai_credits_balance:e.aiCreditsBalance,ai_enabled:e.aiEnabled,ai_default_provider:AiProviderToJSON(e.aiDefaultProvider),space_setup_completed:e.spaceSetupCompleted}}function PaginatedSpaceListFromJSON(e){return PaginatedSpaceListFromJSONTyped(e)}function PaginatedSpaceListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(SpaceFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function StepFromJSON(e){return StepFromJSONTyped(e)}function StepFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0: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:{id:e.id,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,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(StepFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function StorageFromJSON(e){return StorageFromJSONTyped(e)}function StorageFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0: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,url:e.url==null?void 0:e.url,path:e.path==null?void 0:e.path,createdBy:e.created_by}}function StorageToJSON(e){return e==null?e:{id:e.id,name:e.name,method:e.method,username:e.username,password:e.password,token:e.token,url:e.url,path:e.path}}function PaginatedStorageListFromJSON(e){return PaginatedStorageListFromJSONTyped(e)}function PaginatedStorageListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(StorageFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function PaginatedSupermarketCategoryListFromJSON(e){return PaginatedSupermarketCategoryListFromJSONTyped(e)}function PaginatedSupermarketCategoryListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(SupermarketCategoryFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function SupermarketCategoryRelationFromJSON(e){return SupermarketCategoryRelationFromJSONTyped(e)}function SupermarketCategoryRelationFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0:e.id,category:SupermarketCategoryFromJSON(e.category),supermarket:e.supermarket,order:e.order==null?void 0:e.order}}function SupermarketCategoryRelationToJSON(e){return e==null?e:{id:e.id,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,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(SupermarketCategoryRelationFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function SupermarketFromJSON(e){return SupermarketFromJSONTyped(e)}function SupermarketFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0: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:{id:e.id,name:e.name,description:e.description,open_data_slug:e.openDataSlug}}function PaginatedSupermarketListFromJSON(e){return PaginatedSupermarketListFromJSONTyped(e)}function PaginatedSupermarketListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(SupermarketFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function SyncFromJSON(e){return SyncFromJSONTyped(e)}function SyncFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0:e.id,storage:StorageFromJSON(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:{id:e.id,storage:StorageToJSON(e.storage),path:e.path,active:e.active,last_checked:e.lastChecked==null?void 0:e.lastChecked.toISOString()}}function PaginatedSyncListFromJSON(e){return PaginatedSyncListFromJSONTyped(e)}function PaginatedSyncListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(SyncFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function SyncLogFromJSON(e){return SyncLogFromJSONTyped(e)}function SyncLogFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0:e.id,sync:SyncFromJSON(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,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(SyncLogFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function UnitConversionFromJSON(e){return UnitConversionFromJSONTyped(e)}function UnitConversionFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0: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:{id:e.id,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 PaginatedUnitConversionListFromJSON(e){return PaginatedUnitConversionListFromJSONTyped(e)}function PaginatedUnitConversionListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(UnitConversionFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function PaginatedUnitListFromJSON(e){return PaginatedUnitListFromJSONTyped(e)}function PaginatedUnitListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(UnitFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function UserFileFromJSON(e){return UserFileFromJSONTyped(e)}function UserFileFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0:e.id,name:e.name,file:e.file==null?void 0:e.file,fileDownload:e.file_download,preview:e.preview,fileSizeKb:e.file_size_kb,createdBy:UserFromJSON(e.created_by),createdAt:new Date(e.created_at)}}function PaginatedUserFileListFromJSON(e){return PaginatedUserFileListFromJSONTyped(e)}function PaginatedUserFileListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(UserFileFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function UserSpaceFromJSON(e){return UserSpaceFromJSONTyped(e)}function UserSpaceFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0: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 UserSpaceToJSON(e){return e==null?e:{id:e.id,groups:e.groups.map(GroupToJSON),active:e.active,internal_note:e.internalNote}}function PaginatedUserSpaceListFromJSON(e){return PaginatedUserSpaceListFromJSONTyped(e)}function PaginatedUserSpaceListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(UserSpaceFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function ViewLogFromJSON(e){return ViewLogFromJSONTyped(e)}function ViewLogFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0:e.id,recipe:e.recipe,createdBy:e.created_by,createdAt:new Date(e.created_at)}}function ViewLogToJSON(e){return e==null?e:{id:e.id,recipe:e.recipe}}function PaginatedViewLogListFromJSON(e){return PaginatedViewLogListFromJSONTyped(e)}function PaginatedViewLogListFromJSONTyped(e,t){return e==null?e:{count:e.count,next:e.next==null?void 0:e.next,previous:e.previous==null?void 0:e.previous,results:e.results.map(ViewLogFromJSON),timestamp:e.timestamp==null?void 0:new Date(e.timestamp)}}function ParsedIngredientFromJSON(e){return ParsedIngredientFromJSONTyped(e)}function ParsedIngredientFromJSONTyped(e,t){return e==null?e:{amount:e.amount,unit:e.unit,food:e.food,note:e.note,originalText:e.original_text}}function PatchedAccessTokenToJSON(e){return e==null?e:{id:e.id,expires:e.expires==null?void 0:e.expires.toISOString(),scope:e.scope}}function PatchedAiProviderToJSON(e){return e==null?e:{id:e.id,name:e.name,description:e.description,api_key:e.apiKey,model_name:e.modelName,url:e.url,log_credit_cost:e.logCreditCost,space:e.space}}function PatchedAutomationToJSON(e){return e==null?e:{id:e.id,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:{id:e.id,url:e.url,html:e.html}}function PatchedConnectorConfigToJSON(e){return e==null?e:{id:e.id,name:e.name,type:e.type,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,supports_description_field:e.supportsDescriptionField}}function PatchedCookLogToJSON(e){return e==null?e:{id:e.id,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:{id:e.id,name:e.name,search:e.search,shared:e.shared==null?void 0:e.shared.map(UserToJSON)}}function PatchedEnterpriseSocialEmbedToJSON(e){return e==null?e:{id:e.id,name:e.name,type:e.type,keywords:e.keywords==null?void 0:e.keywords.map(KeywordToJSON),alignment:e.alignment,background_color:e.backgroundColor,accent_color:e.accentColor,uuid:e.uuid}}function PatchedEnterpriseSpaceToJSON(e){return e==null?e:{space:e.space,licensed_modules:e.licensedModules}}function PatchedExportLogToJSON(e){return e==null?e:{id:e.id,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:{id:e.id,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:{id:e.id,type:e.type,msg:e.msg,running:e.running,total_recipes:e.totalRecipes,imported_recipes:e.importedRecipes}}function PatchedIngredientToJSON(e){return e==null?e:{id:e.id,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:{id:e.id,email:e.email,group:GroupToJSON(e.group),valid_until:e.validUntil==null?void 0:e.validUntil.toISOString().substring(0,10),reusable:e.reusable,internal_note:e.internalNote}}function PatchedKeywordToJSON(e){return e==null?e:{id:e.id,name:e.name,description:e.description}}function PatchedMealPlanToJSON(e){return e==null?e:{id:e.id,title:e.title,recipe:RecipeOverviewToJSON(e.recipe),servings:e.servings,note:e.note,from_date:e.fromDate==null?void 0:e.fromDate.toISOString(),to_date:e.toDate==null?void 0:e.toDate.toISOString(),meal_type:MealTypeToJSON(e.mealType),shared:e.shared==null?void 0:e.shared.map(UserToJSON),addshopping:e.addshopping}}function PatchedMealTypeToJSON(e){return e==null?e:{id:e.id,name:e.name,order:e.order,time:e.time,color:e.color,default:e._default}}function PatchedOpenDataCategoryToJSON(e){return e==null?e:{id:e.id,version:OpenDataVersionToJSON(e.version),slug:e.slug,name:e.name,description:e.description,comment:e.comment}}function PatchedOpenDataConversionToJSON(e){return e==null?e:{id:e.id,version:OpenDataVersionToJSON(e.version),slug:e.slug,food:OpenDataFoodToJSON(e.food),base_amount:e.baseAmount,base_unit:OpenDataUnitToJSON(e.baseUnit),converted_amount:e.convertedAmount,converted_unit:OpenDataUnitToJSON(e.convertedUnit),source:e.source,comment:e.comment}}function PatchedOpenDataFoodToJSON(e){return e==null?e:{id:e.id,version:OpenDataVersionToJSON(e.version),slug:e.slug,name:e.name,plural_name:e.pluralName,store_category:OpenDataCategoryToJSON(e.storeCategory),preferred_unit_metric:OpenDataUnitToJSON(e.preferredUnitMetric),preferred_shopping_unit_metric:OpenDataUnitToJSON(e.preferredShoppingUnitMetric),preferred_unit_imperial:OpenDataUnitToJSON(e.preferredUnitImperial),preferred_shopping_unit_imperial:OpenDataUnitToJSON(e.preferredShoppingUnitImperial),properties:e.properties==null?void 0:e.properties.map(OpenDataFoodPropertyToJSON),properties_food_amount:e.propertiesFoodAmount,properties_food_unit:OpenDataUnitToJSON(e.propertiesFoodUnit),properties_source:e.propertiesSource,fdc_id:e.fdcId,comment:e.comment}}function PatchedOpenDataPropertyToJSON(e){return e==null?e:{id:e.id,version:OpenDataVersionToJSON(e.version),slug:e.slug,name:e.name,unit:e.unit,fdc_id:e.fdcId,comment:e.comment}}function PatchedOpenDataStoreToJSON(e){return e==null?e:{id:e.id,version:OpenDataVersionToJSON(e.version),slug:e.slug,name:e.name,category_to_store:e.categoryToStore==null?void 0:e.categoryToStore.map(OpenDataStoreCategoryToJSON),comment:e.comment}}function PatchedOpenDataUnitToJSON(e){return e==null?e:{id:e.id,version:OpenDataVersionToJSON(e.version),slug:e.slug,name:e.name,plural_name:e.pluralName,base_unit:e.baseUnit,type:e.type,comment:e.comment}}function PatchedOpenDataVersionToJSON(e){return e==null?e:{id:e.id,name:e.name,code:e.code,comment:e.comment}}function PatchedPropertyToJSON(e){return e==null?e:{id:e.id,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:{id:e.id,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:{id:e.id,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:{id:e.id,book:e.book,recipe:e.recipe}}function PatchedRecipeImportToJSON(e){return e==null?e:{id:e.id,name:e.name,file_uid:e.fileUid,file_path:e.filePath,storage:e.storage,space:e.space}}function SearchFieldsFromJSON(e){return SearchFieldsFromJSONTyped(e)}function SearchFieldsFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0:e.id,name:e.name==null?void 0:e.name,field:e.field==null?void 0:e.field}}function SearchFieldsToJSON(e){return e==null?e:{id:e.id,name:e.name,field:e.field}}function SearchEnumFromJSON(e){return SearchEnumFromJSONTyped(e)}function SearchEnumFromJSONTyped(e,t){return e}function SearchEnumToJSON(e){return e}function PatchedSearchPreferenceToJSON(e){return e==null?e:{search:e.search,lookup:e.lookup,unaccent:e.unaccent==null?void 0:e.unaccent.map(SearchFieldsToJSON),icontains:e.icontains==null?void 0:e.icontains.map(SearchFieldsToJSON),istartswith:e.istartswith==null?void 0:e.istartswith.map(SearchFieldsToJSON),trigram:e.trigram==null?void 0:e.trigram.map(SearchFieldsToJSON),fulltext:e.fulltext==null?void 0:e.fulltext.map(SearchFieldsToJSON),trigram_threshold:e.trigramThreshold}}function PatchedShoppingListEntryToJSON(e){return e==null?e:{id:e.id,list_recipe:e.listRecipe,food:FoodToJSON(e.food),unit:UnitToJSON(e.unit),amount:e.amount,order:e.order,checked:e.checked,ingredient:e.ingredient,completed_at:e.completedAt==null?void 0:e.completedAt.toISOString(),delay_until:e.delayUntil==null?void 0:e.delayUntil.toISOString(),mealplan_id:e.mealplanId}}function PatchedShoppingListRecipeToJSON(e){return e==null?e:{id:e.id,name:e.name,recipe:e.recipe,mealplan:e.mealplan,servings:e.servings}}function PatchedSpaceToJSON(e){return e==null?e:{id:e.id,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),ai_credits_monthly:e.aiCreditsMonthly,ai_credits_balance:e.aiCreditsBalance,ai_enabled:e.aiEnabled,ai_default_provider:AiProviderToJSON(e.aiDefaultProvider),space_setup_completed:e.spaceSetupCompleted}}function PatchedStepToJSON(e){return e==null?e:{id:e.id,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:{id:e.id,name:e.name,method:e.method,username:e.username,password:e.password,token:e.token,url:e.url,path:e.path}}function PatchedSupermarketToJSON(e){return e==null?e:{id:e.id,name:e.name,description:e.description,open_data_slug:e.openDataSlug}}function PatchedSupermarketCategoryToJSON(e){return e==null?e:{id:e.id,name:e.name,description:e.description,open_data_slug:e.openDataSlug}}function PatchedSupermarketCategoryRelationToJSON(e){return e==null?e:{id:e.id,category:SupermarketCategoryToJSON(e.category),supermarket:e.supermarket,order:e.order}}function PatchedSyncToJSON(e){return e==null?e:{id:e.id,storage:StorageToJSON(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:{id:e.id,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:{id:e.id,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:{id:e.id,first_name:e.firstName,last_name:e.lastName}}function UserPreferenceNavTextColorEnumFromJSON(e){return UserPreferenceNavTextColorEnumFromJSONTyped(e)}function UserPreferenceNavTextColorEnumFromJSONTyped(e,t){return e}function UserPreferenceNavTextColorEnumToJSON(e){return e}function ThemeEnumFromJSON(e){return ThemeEnumFromJSONTyped(e)}function ThemeEnumFromJSONTyped(e,t){return e}function ThemeEnumToJSON(e){return e}function PatchedUserPreferenceToJSON(e){return e==null?e:{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:{id:e.id,groups:e.groups==null?void 0:e.groups.map(GroupToJSON),active:e.active,internal_note:e.internalNote}}function PatchedViewLogToJSON(e){return e==null?e:{id:e.id,recipe:e.recipe}}function RecipeFromJSON(e){return RecipeFromJSONTyped(e)}function RecipeFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0: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:UserFromJSON(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:{id:e.id,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 RecipeBatchUpdateFromJSON(e){return RecipeBatchUpdateFromJSONTyped(e)}function RecipeBatchUpdateFromJSONTyped(e,t){return e==null?e:{recipes:e.recipes,keywordsAdd:e.keywords_add,keywordsRemove:e.keywords_remove,keywordsSet:e.keywords_set,keywordsRemoveAll:e.keywords_remove_all==null?void 0:e.keywords_remove_all,workingTime:e.working_time==null?void 0:e.working_time,waitingTime:e.waiting_time==null?void 0:e.waiting_time,servings:e.servings==null?void 0:e.servings,servingsText:e.servings_text==null?void 0:e.servings_text,_private:e.private==null?void 0:e.private,sharedAdd:e.shared_add,sharedRemove:e.shared_remove,sharedSet:e.shared_set,sharedRemoveAll:e.shared_remove_all==null?void 0:e.shared_remove_all,showIngredientOverview:e.show_ingredient_overview==null?void 0:e.show_ingredient_overview,clearDescription:e.clear_description==null?void 0:e.clear_description}}function RecipeBatchUpdateToJSON(e){return e==null?e:{recipes:e.recipes,keywords_add:e.keywordsAdd,keywords_remove:e.keywordsRemove,keywords_set:e.keywordsSet,keywords_remove_all:e.keywordsRemoveAll,working_time:e.workingTime,waiting_time:e.waitingTime,servings:e.servings,servings_text:e.servingsText,private:e._private,shared_add:e.sharedAdd,shared_remove:e.sharedRemove,shared_set:e.sharedSet,shared_remove_all:e.sharedRemoveAll,show_ingredient_overview:e.showIngredientOverview,clear_description:e.clearDescription}}function RecipeFlatFromJSON(e){return RecipeFlatFromJSONTyped(e)}function RecipeFlatFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0:e.id,name:e.name,image:e.image}}function RecipeFromSourceToJSON(e){return e==null?e:{url:e.url,data:e.data,bookmarklet:e.bookmarklet}}function SourceImportDuplicateFromJSON(e){return SourceImportDuplicateFromJSONTyped(e)}function SourceImportDuplicateFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0:e.id,name:e.name}}function SourceImportUnitFromJSON(e){return SourceImportUnitFromJSONTyped(e)}function SourceImportUnitFromJSONTyped(e,t){return e==null?e:{name:e.name}}function SourceImportFoodFromJSON(e){return SourceImportFoodFromJSONTyped(e)}function SourceImportFoodFromJSONTyped(e,t){return e==null?e:{name:e.name}}function SourceImportIngredientFromJSON(e){return SourceImportIngredientFromJSONTyped(e)}function SourceImportIngredientFromJSONTyped(e,t){return e==null?e:{amount:e.amount,food:SourceImportFoodFromJSON(e.food),unit:SourceImportUnitFromJSON(e.unit),note:e.note==null?void 0:e.note,originalText:e.original_text}}function SourceImportStepFromJSON(e){return SourceImportStepFromJSONTyped(e)}function SourceImportStepFromJSONTyped(e,t){return e==null?e:{instruction:e.instruction,ingredients:e.ingredients.map(SourceImportIngredientFromJSON),showIngredientsTable:e.show_ingredients_table==null?void 0:e.show_ingredients_table}}function SourceImportPropertyTypeFromJSON(e){return SourceImportPropertyTypeFromJSONTyped(e)}function SourceImportPropertyTypeFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0:e.id,name:e.name}}function SourceImportPropertyFromJSON(e){return SourceImportPropertyFromJSONTyped(e)}function SourceImportPropertyFromJSONTyped(e,t){return e==null?e:{propertyType:SourceImportPropertyTypeFromJSON(e.property_type),propertyAmount:e.property_amount}}function SourceImportKeywordFromJSON(e){return SourceImportKeywordFromJSONTyped(e)}function SourceImportKeywordFromJSONTyped(e,t){return e==null?e:{id:e.id==null?void 0:e.id,label:e.label,name:e.name,importKeyword:e.import_keyword==null?void 0:e.import_keyword}}function SourceImportRecipeFromJSON(e){return SourceImportRecipeFromJSONTyped(e)}function SourceImportRecipeFromJSONTyped(e,t){return e==null?e:{steps:e.steps.map(SourceImportStepFromJSON),internal:e.internal==null?void 0:e.internal,sourceUrl:e.source_url,name:e.name,description:e.description==null?void 0:e.description,servings:e.servings==null?void 0:e.servings,servingsText:e.servings_text==null?void 0:e.servings_text,workingTime:e.working_time==null?void 0:e.working_time,waitingTime:e.waiting_time==null?void 0:e.waiting_time,imageUrl:e.image_url==null?void 0:e.image_url,keywords:e.keywords==null?void 0:e.keywords.map(SourceImportKeywordFromJSON),properties:e.properties==null?void 0:e.properties.map(SourceImportPropertyFromJSON)}}function RecipeFromSourceResponseFromJSON(e){return RecipeFromSourceResponseFromJSONTyped(e)}function RecipeFromSourceResponseFromJSONTyped(e,t){return e==null?e:{recipe:e.recipe==null?void 0:SourceImportRecipeFromJSON(e.recipe),recipeId:e.recipe_id==null?void 0:e.recipe_id,images:e.images==null?void 0:e.images,error:e.error==null?void 0:e.error,msg:e.msg==null?void 0:e.msg,duplicates:e.duplicates==null?void 0:e.duplicates.map(SourceImportDuplicateFromJSON)}}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==null?void 0:e.id,listRecipe:e.list_recipe==null?void 0:e.list_recipe,ingredients:e.ingredients,servings:e.servings==null?void 0:e.servings}}function RecipeShoppingUpdateToJSON(e){return e==null?e:{id:e.id,list_recipe:e.listRecipe,ingredients:e.ingredients,servings:e.servings}}function SearchPreferenceFromJSON(e){return SearchPreferenceFromJSONTyped(e)}function SearchPreferenceFromJSONTyped(e,t){return e==null?e:{user:UserFromJSON(e.user),search:e.search==null?void 0:SearchEnumFromJSON(e.search),lookup:e.lookup==null?void 0:e.lookup,unaccent:e.unaccent==null?void 0:e.unaccent.map(SearchFieldsFromJSON),icontains:e.icontains==null?void 0:e.icontains.map(SearchFieldsFromJSON),istartswith:e.istartswith==null?void 0:e.istartswith.map(SearchFieldsFromJSON),trigram:e.trigram==null?void 0:e.trigram.map(SearchFieldsFromJSON),fulltext:e.fulltext==null?void 0:e.fulltext.map(SearchFieldsFromJSON),trigramThreshold:e.trigram_threshold==null?void 0:e.trigram_threshold}}function ServerSettingsFromJSON(e){return ServerSettingsFromJSONTyped(e)}function ServerSettingsFromJSONTyped(e,t){return e==null?e:{shoppingMinAutosyncInterval:e.shopping_min_autosync_interval,enablePdfExport:e.enable_pdf_export,disableExternalConnectors:e.disable_external_connectors,termsUrl:e.terms_url,privacyUrl:e.privacy_url,imprintUrl:e.imprint_url,hosted:e.hosted,debug:e.debug,version:e.version,unauthenticatedThemeFromSpace:e.unauthenticated_theme_from_space,forceThemeFromSpace:e.force_theme_from_space,logoColor32:e.logo_color_32==null?void 0:e.logo_color_32,logoColor128:e.logo_color_128==null?void 0:e.logo_color_128,logoColor144:e.logo_color_144==null?void 0:e.logo_color_144,logoColor180:e.logo_color_180==null?void 0:e.logo_color_180,logoColor192:e.logo_color_192==null?void 0:e.logo_color_192,logoColor512:e.logo_color_512==null?void 0:e.logo_color_512,logoColorSvg:e.logo_color_svg==null?void 0:e.logo_color_svg,customSpaceTheme:e.custom_space_theme==null?void 0:e.custom_space_theme,navLogo:e.nav_logo==null?void 0:e.nav_logo,navBgColor:e.nav_bg_color==null?void 0:e.nav_bg_color}}function ShareLinkFromJSON(e){return ShareLinkFromJSONTyped(e)}function ShareLinkFromJSONTyped(e,t){return e==null?e:{pk:e.pk,share:e.share,link:e.link}}function ShoppingListEntryBulkFromJSON(e){return ShoppingListEntryBulkFromJSONTyped(e)}function ShoppingListEntryBulkFromJSONTyped(e,t){return e==null?e:{ids:e.ids,checked:e.checked,timestamp:new Date(e.timestamp)}}function ShoppingListEntryBulkToJSON(e){return e==null?e:{ids:e.ids,checked:e.checked}}function ShoppingListEntrySimpleCreateFromJSON(e){return ShoppingListEntrySimpleCreateFromJSONTyped(e)}function ShoppingListEntrySimpleCreateFromJSONTyped(e,t){return e==null?e:{amount:e.amount,unitId:e.unit_id,foodId:e.food_id,ingredientId:e.ingredient_id}}function ShoppingListEntrySimpleCreateToJSON(e){return e==null?e:{amount:e.amount,unit_id:e.unitId,food_id:e.foodId,ingredient_id:e.ingredientId}}function ShoppingListEntryBulkCreateFromJSON(e){return ShoppingListEntryBulkCreateFromJSONTyped(e)}function ShoppingListEntryBulkCreateFromJSONTyped(e,t){return e==null?e:{entries:e.entries.map(ShoppingListEntrySimpleCreateFromJSON)}}function ShoppingListEntryBulkCreateToJSON(e){return e==null?e:{entries:e.entries.map(ShoppingListEntrySimpleCreateToJSON)}}function UserPreferenceFromJSON(e){return UserPreferenceFromJSONTyped(e)}function UserPreferenceFromJSONTyped(e,t){return e==null?e:{user:UserFromJSON(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:FoodInheritFieldFromJSON(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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/access-token/",method:"POST",headers:a,query:i,body:AccessTokenToJSON(t.accessToken)},r);return new JSONApiResponse(c,u=>AccessTokenFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new VoidApiResponse(c)}async apiAccessTokenDestroy(t,r){await this.apiAccessTokenDestroyRaw(t,r)}async apiAccessTokenListRaw(t){const r={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const a=await this.request({path:"/api/access-token/",method:"GET",headers:i,query:r},t);return new JSONApiResponse(a,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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:PatchedAccessTokenToJSON(t.patchedAccessToken)},r);return new JSONApiResponse(c,u=>AccessTokenFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new JSONApiResponse(c,u=>AccessTokenFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:AccessTokenToJSON(t.accessToken)},r);return new JSONApiResponse(c,u=>AccessTokenFromJSON(u))}async apiAccessTokenUpdate(t,r){return await(await this.apiAccessTokenUpdateRaw(t,r)).value()}async apiAiImportCreateRaw(t,r){if(t.aiProviderId==null)throw new RequiredError("aiProviderId",'Required parameter "aiProviderId" was null or undefined when calling apiAiImportCreate().');if(t.file==null)throw new RequiredError("file",'Required parameter "file" was null or undefined when calling apiAiImportCreate().');if(t.text==null)throw new RequiredError("text",'Required parameter "text" was null or undefined when calling apiAiImportCreate().');if(t.recipeId==null)throw new RequiredError("recipeId",'Required parameter "recipeId" was null or undefined when calling apiAiImportCreate().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization")),canConsumeForm([{contentType:"multipart/form-data"}]);let u;u=new URLSearchParams,t.aiProviderId!=null&&u.append("ai_provider_id",t.aiProviderId),t.file!=null&&u.append("file",t.file),t.text!=null&&u.append("text",t.text),t.recipeId!=null&&u.append("recipe_id",t.recipeId);const d=await this.request({path:"/api/ai-import/",method:"POST",headers:a,query:i,body:u},r);return new JSONApiResponse(d,f=>RecipeFromSourceResponseFromJSON(f))}async apiAiImportCreate(t,r){return await(await this.apiAiImportCreateRaw(t,r)).value()}async apiAiLogListRaw(t,r){const i={};t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/ai-log/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedAiLogListFromJSON(u))}async apiAiLogList(t={},r){return await(await this.apiAiLogListRaw(t,r)).value()}async apiAiLogRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiAiLogRetrieve().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/ai-log/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>AiLogFromJSON(u))}async apiAiLogRetrieve(t,r){return await(await this.apiAiLogRetrieveRaw(t,r)).value()}async apiAiProviderCascadingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiAiProviderCascadingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/ai-provider/{id}/cascading/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiAiProviderCascadingList(t,r){return await(await this.apiAiProviderCascadingListRaw(t,r)).value()}async apiAiProviderCreateRaw(t,r){if(t.aiProvider==null)throw new RequiredError("aiProvider",'Required parameter "aiProvider" was null or undefined when calling apiAiProviderCreate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/ai-provider/",method:"POST",headers:a,query:i,body:AiProviderToJSON(t.aiProvider)},r);return new JSONApiResponse(c,u=>AiProviderFromJSON(u))}async apiAiProviderCreate(t,r){return await(await this.apiAiProviderCreateRaw(t,r)).value()}async apiAiProviderDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiAiProviderDestroy().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/ai-provider/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:a,query:i},r);return new VoidApiResponse(c)}async apiAiProviderDestroy(t,r){await this.apiAiProviderDestroyRaw(t,r)}async apiAiProviderListRaw(t,r){const i={};t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/ai-provider/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedAiProviderListFromJSON(u))}async apiAiProviderList(t={},r){return await(await this.apiAiProviderListRaw(t,r)).value()}async apiAiProviderNullingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiAiProviderNullingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/ai-provider/{id}/nulling/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiAiProviderNullingList(t,r){return await(await this.apiAiProviderNullingListRaw(t,r)).value()}async apiAiProviderPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiAiProviderPartialUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/ai-provider/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:a,query:i,body:PatchedAiProviderToJSON(t.patchedAiProvider)},r);return new JSONApiResponse(c,u=>AiProviderFromJSON(u))}async apiAiProviderPartialUpdate(t,r){return await(await this.apiAiProviderPartialUpdateRaw(t,r)).value()}async apiAiProviderProtectingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiAiProviderProtectingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/ai-provider/{id}/protecting/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiAiProviderProtectingList(t,r){return await(await this.apiAiProviderProtectingListRaw(t,r)).value()}async apiAiProviderRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiAiProviderRetrieve().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/ai-provider/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>AiProviderFromJSON(u))}async apiAiProviderRetrieve(t,r){return await(await this.apiAiProviderRetrieveRaw(t,r)).value()}async apiAiProviderUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiAiProviderUpdate().');if(t.aiProvider==null)throw new RequiredError("aiProvider",'Required parameter "aiProvider" was null or undefined when calling apiAiProviderUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/ai-provider/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:a,query:i,body:AiProviderToJSON(t.aiProvider)},r);return new JSONApiResponse(c,u=>AiProviderFromJSON(u))}async apiAiProviderUpdate(t,r){return await(await this.apiAiProviderUpdateRaw(t,r)).value()}async apiAiStepSortCreateRaw(t,r){if(t.recipe==null)throw new RequiredError("recipe",'Required parameter "recipe" was null or undefined when calling apiAiStepSortCreate().');const i={};t.provider!=null&&(i.provider=t.provider);const a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/ai-step-sort/",method:"POST",headers:a,query:i,body:RecipeToJSON(t.recipe)},r);return new JSONApiResponse(c,u=>RecipeFromJSON(u))}async apiAiStepSortCreate(t,r){return await(await this.apiAiStepSortCreateRaw(t,r)).value()}async apiAutoPlanCreateRaw(t,r){if(t.autoMealPlan==null)throw new RequiredError("autoMealPlan",'Required parameter "autoMealPlan" was null or undefined when calling apiAutoPlanCreate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/auto-plan/",method:"POST",headers:a,query:i,body:AutoMealPlanToJSON(t.autoMealPlan)},r);return new JSONApiResponse(c,u=>AutoMealPlanFromJSON(u))}async apiAutoPlanCreate(t,r){return await(await this.apiAutoPlanCreateRaw(t,r)).value()}async apiAutomationCreateRaw(t,r){if(t.automation==null)throw new RequiredError("automation",'Required parameter "automation" was null or undefined when calling apiAutomationCreate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/automation/",method:"POST",headers:a,query:i,body:AutomationToJSON(t.automation)},r);return new JSONApiResponse(c,u=>AutomationFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/automation/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:a,query:i},r);return new VoidApiResponse(c)}async apiAutomationDestroy(t,r){await this.apiAutomationDestroyRaw(t,r)}async apiAutomationListRaw(t,r){const i={};t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize),t.type!=null&&(i.type=t.type);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/automation/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedAutomationListFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/automation/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:a,query:i,body:PatchedAutomationToJSON(t.patchedAutomation)},r);return new JSONApiResponse(c,u=>AutomationFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/automation/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>AutomationFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/automation/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:a,query:i,body:AutomationToJSON(t.automation)},r);return new JSONApiResponse(c,u=>AutomationFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/bookmarklet-import/",method:"POST",headers:a,query:i,body:BookmarkletImportToJSON(t.bookmarkletImport)},r);return new JSONApiResponse(c,u=>BookmarkletImportFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new VoidApiResponse(c)}async apiBookmarkletImportDestroy(t,r){await this.apiBookmarkletImportDestroyRaw(t,r)}async apiBookmarkletImportListRaw(t,r){const i={};t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/bookmarklet-import/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedBookmarkletImportListListFromJSON(u))}async apiBookmarkletImportList(t={},r){return await(await this.apiBookmarkletImportListRaw(t,r)).value()}async apiBookmarkletImportPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiBookmarkletImportPartialUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:PatchedBookmarkletImportToJSON(t.patchedBookmarkletImport)},r);return new JSONApiResponse(c,u=>BookmarkletImportFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new JSONApiResponse(c,u=>BookmarkletImportFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:BookmarkletImportToJSON(t.bookmarkletImport)},r);return new JSONApiResponse(c,u=>BookmarkletImportFromJSON(u))}async apiBookmarkletImportUpdate(t,r){return await(await this.apiBookmarkletImportUpdateRaw(t,r)).value()}async apiConnectorConfigCascadingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiConnectorConfigCascadingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/connector-config/{id}/cascading/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiConnectorConfigCascadingList(t,r){return await(await this.apiConnectorConfigCascadingListRaw(t,r)).value()}async apiConnectorConfigCreateRaw(t,r){if(t.connectorConfig==null)throw new RequiredError("connectorConfig",'Required parameter "connectorConfig" was null or undefined when calling apiConnectorConfigCreate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/connector-config/",method:"POST",headers:a,query:i,body:ConnectorConfigToJSON(t.connectorConfig)},r);return new JSONApiResponse(c,u=>ConnectorConfigFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new VoidApiResponse(c)}async apiConnectorConfigDestroy(t,r){await this.apiConnectorConfigDestroyRaw(t,r)}async apiConnectorConfigListRaw(t,r){const i={};t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/connector-config/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedConnectorConfigListFromJSON(u))}async apiConnectorConfigList(t={},r){return await(await this.apiConnectorConfigListRaw(t,r)).value()}async apiConnectorConfigNullingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiConnectorConfigNullingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/connector-config/{id}/nulling/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiConnectorConfigNullingList(t,r){return await(await this.apiConnectorConfigNullingListRaw(t,r)).value()}async apiConnectorConfigPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiConnectorConfigPartialUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:PatchedConnectorConfigToJSON(t.patchedConnectorConfig)},r);return new JSONApiResponse(c,u=>ConnectorConfigFromJSON(u))}async apiConnectorConfigPartialUpdate(t,r){return await(await this.apiConnectorConfigPartialUpdateRaw(t,r)).value()}async apiConnectorConfigProtectingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiConnectorConfigProtectingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/connector-config/{id}/protecting/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiConnectorConfigProtectingList(t,r){return await(await this.apiConnectorConfigProtectingListRaw(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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new JSONApiResponse(c,u=>ConnectorConfigFromJSON(u))}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.connectorConfig==null)throw new RequiredError("connectorConfig",'Required parameter "connectorConfig" was null or undefined when calling apiConnectorConfigUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:ConnectorConfigToJSON(t.connectorConfig)},r);return new JSONApiResponse(c,u=>ConnectorConfigFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/cook-log/",method:"POST",headers:a,query:i,body:CookLogToJSON(t.cookLog)},r);return new JSONApiResponse(c,u=>CookLogFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new VoidApiResponse(c)}async apiCookLogDestroy(t,r){await this.apiCookLogDestroyRaw(t,r)}async apiCookLogListRaw(t,r){const i={};t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize),t.recipe!=null&&(i.recipe=t.recipe);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/cook-log/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedCookLogListFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:PatchedCookLogToJSON(t.patchedCookLog)},r);return new JSONApiResponse(c,u=>CookLogFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new JSONApiResponse(c,u=>CookLogFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:CookLogToJSON(t.cookLog)},r);return new JSONApiResponse(c,u=>CookLogFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/custom-filter/",method:"POST",headers:a,query:i,body:CustomFilterToJSON(t.customFilter)},r);return new JSONApiResponse(c,u=>CustomFilterFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new VoidApiResponse(c)}async apiCustomFilterDestroy(t,r){await this.apiCustomFilterDestroyRaw(t,r)}async apiCustomFilterListRaw(t,r){const i={};t.limit!=null&&(i.limit=t.limit),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize),t.query!=null&&(i.query=t.query),t.random!=null&&(i.random=t.random),t.type!=null&&(i.type=t.type),t.updatedAt!=null&&(i.updated_at=t.updatedAt);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/custom-filter/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedCustomFilterListFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:PatchedCustomFilterToJSON(t.patchedCustomFilter)},r);return new JSONApiResponse(c,u=>CustomFilterFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new JSONApiResponse(c,u=>CustomFilterFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:CustomFilterToJSON(t.customFilter)},r);return new JSONApiResponse(c,u=>CustomFilterFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new VoidApiResponse(c)}async apiDownloadFileRetrieve(t,r){await this.apiDownloadFileRetrieveRaw(t,r)}async apiEnterpriseSocialEmbedCreateRaw(t,r){if(t.enterpriseSocialEmbed==null)throw new RequiredError("enterpriseSocialEmbed",'Required parameter "enterpriseSocialEmbed" was null or undefined when calling apiEnterpriseSocialEmbedCreate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/enterprise-social-embed/",method:"POST",headers:a,query:i,body:EnterpriseSocialEmbedToJSON(t.enterpriseSocialEmbed)},r);return new JSONApiResponse(c,u=>EnterpriseSocialEmbedFromJSON(u))}async apiEnterpriseSocialEmbedCreate(t,r){return await(await this.apiEnterpriseSocialEmbedCreateRaw(t,r)).value()}async apiEnterpriseSocialEmbedDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiEnterpriseSocialEmbedDestroy().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/enterprise-social-embed/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:a,query:i},r);return new VoidApiResponse(c)}async apiEnterpriseSocialEmbedDestroy(t,r){await this.apiEnterpriseSocialEmbedDestroyRaw(t,r)}async apiEnterpriseSocialEmbedListRaw(t,r){const i={};t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize),t.token!=null&&(i.token=t.token);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/enterprise-social-embed/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedEnterpriseSocialEmbedListFromJSON(u))}async apiEnterpriseSocialEmbedList(t={},r){return await(await this.apiEnterpriseSocialEmbedListRaw(t,r)).value()}async apiEnterpriseSocialEmbedPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiEnterpriseSocialEmbedPartialUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/enterprise-social-embed/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:a,query:i,body:PatchedEnterpriseSocialEmbedToJSON(t.patchedEnterpriseSocialEmbed)},r);return new JSONApiResponse(c,u=>EnterpriseSocialEmbedFromJSON(u))}async apiEnterpriseSocialEmbedPartialUpdate(t,r){return await(await this.apiEnterpriseSocialEmbedPartialUpdateRaw(t,r)).value()}async apiEnterpriseSocialEmbedRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiEnterpriseSocialEmbedRetrieve().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/enterprise-social-embed/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>EnterpriseSocialEmbedFromJSON(u))}async apiEnterpriseSocialEmbedRetrieve(t,r){return await(await this.apiEnterpriseSocialEmbedRetrieveRaw(t,r)).value()}async apiEnterpriseSocialEmbedUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiEnterpriseSocialEmbedUpdate().');if(t.enterpriseSocialEmbed==null)throw new RequiredError("enterpriseSocialEmbed",'Required parameter "enterpriseSocialEmbed" was null or undefined when calling apiEnterpriseSocialEmbedUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/enterprise-social-embed/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:a,query:i,body:EnterpriseSocialEmbedToJSON(t.enterpriseSocialEmbed)},r);return new JSONApiResponse(c,u=>EnterpriseSocialEmbedFromJSON(u))}async apiEnterpriseSocialEmbedUpdate(t,r){return await(await this.apiEnterpriseSocialEmbedUpdateRaw(t,r)).value()}async apiEnterpriseSocialKeywordCascadingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiEnterpriseSocialKeywordCascadingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/enterprise-social-keyword/{id}/cascading/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiEnterpriseSocialKeywordCascadingList(t,r){return await(await this.apiEnterpriseSocialKeywordCascadingListRaw(t,r)).value()}async apiEnterpriseSocialKeywordCreateRaw(t,r){if(t.keyword==null)throw new RequiredError("keyword",'Required parameter "keyword" was null or undefined when calling apiEnterpriseSocialKeywordCreate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/enterprise-social-keyword/",method:"POST",headers:a,query:i,body:KeywordToJSON(t.keyword)},r);return new JSONApiResponse(c,u=>KeywordFromJSON(u))}async apiEnterpriseSocialKeywordCreate(t,r){return await(await this.apiEnterpriseSocialKeywordCreateRaw(t,r)).value()}async apiEnterpriseSocialKeywordDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiEnterpriseSocialKeywordDestroy().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/enterprise-social-keyword/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:a,query:i},r);return new VoidApiResponse(c)}async apiEnterpriseSocialKeywordDestroy(t,r){await this.apiEnterpriseSocialKeywordDestroyRaw(t,r)}async apiEnterpriseSocialKeywordListRaw(t,r){const i={};t.limit!=null&&(i.limit=t.limit),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize),t.query!=null&&(i.query=t.query),t.random!=null&&(i.random=t.random),t.root!=null&&(i.root=t.root),t.rootTree!=null&&(i.root_tree=t.rootTree),t.tree!=null&&(i.tree=t.tree),t.updatedAt!=null&&(i.updated_at=t.updatedAt);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/enterprise-social-keyword/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedKeywordListFromJSON(u))}async apiEnterpriseSocialKeywordList(t={},r){return await(await this.apiEnterpriseSocialKeywordListRaw(t,r)).value()}async apiEnterpriseSocialKeywordMergeUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiEnterpriseSocialKeywordMergeUpdate().');if(t.target==null)throw new RequiredError("target",'Required parameter "target" was null or undefined when calling apiEnterpriseSocialKeywordMergeUpdate().');if(t.keyword==null)throw new RequiredError("keyword",'Required parameter "keyword" was null or undefined when calling apiEnterpriseSocialKeywordMergeUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/enterprise-social-keyword/{id}/merge/{target}/".replace("{id}",encodeURIComponent(String(t.id))).replace("{target}",encodeURIComponent(String(t.target))),method:"PUT",headers:a,query:i,body:KeywordToJSON(t.keyword)},r);return new JSONApiResponse(c,u=>KeywordFromJSON(u))}async apiEnterpriseSocialKeywordMergeUpdate(t,r){return await(await this.apiEnterpriseSocialKeywordMergeUpdateRaw(t,r)).value()}async apiEnterpriseSocialKeywordMoveUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiEnterpriseSocialKeywordMoveUpdate().');if(t.parent==null)throw new RequiredError("parent",'Required parameter "parent" was null or undefined when calling apiEnterpriseSocialKeywordMoveUpdate().');if(t.keyword==null)throw new RequiredError("keyword",'Required parameter "keyword" was null or undefined when calling apiEnterpriseSocialKeywordMoveUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/enterprise-social-keyword/{id}/move/{parent}/".replace("{id}",encodeURIComponent(String(t.id))).replace("{parent}",encodeURIComponent(String(t.parent))),method:"PUT",headers:a,query:i,body:KeywordToJSON(t.keyword)},r);return new JSONApiResponse(c,u=>KeywordFromJSON(u))}async apiEnterpriseSocialKeywordMoveUpdate(t,r){return await(await this.apiEnterpriseSocialKeywordMoveUpdateRaw(t,r)).value()}async apiEnterpriseSocialKeywordNullingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiEnterpriseSocialKeywordNullingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/enterprise-social-keyword/{id}/nulling/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiEnterpriseSocialKeywordNullingList(t,r){return await(await this.apiEnterpriseSocialKeywordNullingListRaw(t,r)).value()}async apiEnterpriseSocialKeywordPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiEnterpriseSocialKeywordPartialUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/enterprise-social-keyword/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:a,query:i,body:PatchedKeywordToJSON(t.patchedKeyword)},r);return new JSONApiResponse(c,u=>KeywordFromJSON(u))}async apiEnterpriseSocialKeywordPartialUpdate(t,r){return await(await this.apiEnterpriseSocialKeywordPartialUpdateRaw(t,r)).value()}async apiEnterpriseSocialKeywordProtectingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiEnterpriseSocialKeywordProtectingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/enterprise-social-keyword/{id}/protecting/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiEnterpriseSocialKeywordProtectingList(t,r){return await(await this.apiEnterpriseSocialKeywordProtectingListRaw(t,r)).value()}async apiEnterpriseSocialKeywordRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiEnterpriseSocialKeywordRetrieve().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/enterprise-social-keyword/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>KeywordFromJSON(u))}async apiEnterpriseSocialKeywordRetrieve(t,r){return await(await this.apiEnterpriseSocialKeywordRetrieveRaw(t,r)).value()}async apiEnterpriseSocialKeywordUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiEnterpriseSocialKeywordUpdate().');if(t.keyword==null)throw new RequiredError("keyword",'Required parameter "keyword" was null or undefined when calling apiEnterpriseSocialKeywordUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/enterprise-social-keyword/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:a,query:i,body:KeywordToJSON(t.keyword)},r);return new JSONApiResponse(c,u=>KeywordFromJSON(u))}async apiEnterpriseSocialKeywordUpdate(t,r){return await(await this.apiEnterpriseSocialKeywordUpdateRaw(t,r)).value()}async apiEnterpriseSocialRecipeAipropertiesCreateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiEnterpriseSocialRecipeAipropertiesCreate().');if(t.recipe==null)throw new RequiredError("recipe",'Required parameter "recipe" was null or undefined when calling apiEnterpriseSocialRecipeAipropertiesCreate().');const i={};t.provider!=null&&(i.provider=t.provider);const a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/enterprise-social-recipe/{id}/aiproperties/".replace("{id}",encodeURIComponent(String(t.id))),method:"POST",headers:a,query:i,body:RecipeToJSON(t.recipe)},r);return new JSONApiResponse(c,u=>RecipeFromJSON(u))}async apiEnterpriseSocialRecipeAipropertiesCreate(t,r){return await(await this.apiEnterpriseSocialRecipeAipropertiesCreateRaw(t,r)).value()}async apiEnterpriseSocialRecipeBatchUpdateUpdateRaw(t,r){if(t.recipeBatchUpdate==null)throw new RequiredError("recipeBatchUpdate",'Required parameter "recipeBatchUpdate" was null or undefined when calling apiEnterpriseSocialRecipeBatchUpdateUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/enterprise-social-recipe/batch_update/",method:"PUT",headers:a,query:i,body:RecipeBatchUpdateToJSON(t.recipeBatchUpdate)},r);return new JSONApiResponse(c,u=>RecipeBatchUpdateFromJSON(u))}async apiEnterpriseSocialRecipeBatchUpdateUpdate(t,r){return await(await this.apiEnterpriseSocialRecipeBatchUpdateUpdateRaw(t,r)).value()}async apiEnterpriseSocialRecipeCascadingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiEnterpriseSocialRecipeCascadingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/enterprise-social-recipe/{id}/cascading/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiEnterpriseSocialRecipeCascadingList(t,r){return await(await this.apiEnterpriseSocialRecipeCascadingListRaw(t,r)).value()}async apiEnterpriseSocialRecipeCreateRaw(t,r){if(t.recipe==null)throw new RequiredError("recipe",'Required parameter "recipe" was null or undefined when calling apiEnterpriseSocialRecipeCreate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/enterprise-social-recipe/",method:"POST",headers:a,query:i,body:RecipeToJSON(t.recipe)},r);return new JSONApiResponse(c,u=>RecipeFromJSON(u))}async apiEnterpriseSocialRecipeCreate(t,r){return await(await this.apiEnterpriseSocialRecipeCreateRaw(t,r)).value()}async apiEnterpriseSocialRecipeDeleteExternalPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiEnterpriseSocialRecipeDeleteExternalPartialUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/enterprise-social-recipe/{id}/delete_external/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:a,query:i,body:PatchedRecipeToJSON(t.patchedRecipe)},r);return new JSONApiResponse(c,u=>RecipeFromJSON(u))}async apiEnterpriseSocialRecipeDeleteExternalPartialUpdate(t,r){return await(await this.apiEnterpriseSocialRecipeDeleteExternalPartialUpdateRaw(t,r)).value()}async apiEnterpriseSocialRecipeDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiEnterpriseSocialRecipeDestroy().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/enterprise-social-recipe/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:a,query:i},r);return new VoidApiResponse(c)}async apiEnterpriseSocialRecipeDestroy(t,r){await this.apiEnterpriseSocialRecipeDestroyRaw(t,r)}async apiEnterpriseSocialRecipeFlatListRaw(t){const r={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const a=await this.request({path:"/api/enterprise-social-recipe/flat/",method:"GET",headers:i,query:r},t);return new JSONApiResponse(a,c=>c.map(RecipeFlatFromJSON))}async apiEnterpriseSocialRecipeFlatList(t){return await(await this.apiEnterpriseSocialRecipeFlatListRaw(t)).value()}async apiEnterpriseSocialRecipeImageUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiEnterpriseSocialRecipeImageUpdate().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization")),canConsumeForm([{contentType:"multipart/form-data"}]);let u;u=new URLSearchParams,t.image!=null&&u.append("image",t.image),t.imageUrl!=null&&u.append("image_url",t.imageUrl);const d=await this.request({path:"/api/enterprise-social-recipe/{id}/image/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:a,query:i,body:u},r);return new JSONApiResponse(d,f=>RecipeImageFromJSON(f))}async apiEnterpriseSocialRecipeImageUpdate(t,r){return await(await this.apiEnterpriseSocialRecipeImageUpdateRaw(t,r)).value()}async apiEnterpriseSocialRecipeListRaw(t,r){const i={};t.books!=null&&(i.books=t.books),t.booksAnd!=null&&(i.books_and=t.booksAnd),t.booksAndNot!=null&&(i.books_and_not=t.booksAndNot),t.booksOr!=null&&(i.books_or=t.booksOr),t.booksOrNot!=null&&(i.books_or_not=t.booksOrNot),t.cookedonGte!=null&&(i.cookedon_gte=t.cookedonGte.toISOString().substring(0,10)),t.cookedonLte!=null&&(i.cookedon_lte=t.cookedonLte.toISOString().substring(0,10)),t.createdby!=null&&(i.createdby=t.createdby),t.createdon!=null&&(i.createdon=t.createdon.toISOString().substring(0,10)),t.createdonGte!=null&&(i.createdon_gte=t.createdonGte.toISOString().substring(0,10)),t.createdonLte!=null&&(i.createdon_lte=t.createdonLte.toISOString().substring(0,10)),t.filter!=null&&(i.filter=t.filter),t.foods!=null&&(i.foods=t.foods),t.foodsAnd!=null&&(i.foods_and=t.foodsAnd),t.foodsAndNot!=null&&(i.foods_and_not=t.foodsAndNot),t.foodsOr!=null&&(i.foods_or=t.foodsOr),t.foodsOrNot!=null&&(i.foods_or_not=t.foodsOrNot),t.internal!=null&&(i.internal=t.internal),t.keyword!=null&&(i.keyword=t.keyword),t.keywords!=null&&(i.keywords=t.keywords),t.keywordsAnd!=null&&(i.keywords_and=t.keywordsAnd),t.keywordsAndNot!=null&&(i.keywords_and_not=t.keywordsAndNot),t.keywordsOr!=null&&(i.keywords_or=t.keywordsOr),t.keywordsOrNot!=null&&(i.keywords_or_not=t.keywordsOrNot),t.makenow!=null&&(i.makenow=t.makenow),t._new!=null&&(i.new=t._new),t.numRecent!=null&&(i.num_recent=t.numRecent),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize),t.query!=null&&(i.query=t.query),t.random!=null&&(i.random=t.random),t.rating!=null&&(i.rating=t.rating),t.ratingGte!=null&&(i.rating_gte=t.ratingGte),t.ratingLte!=null&&(i.rating_lte=t.ratingLte),t.sortOrder!=null&&(i.sort_order=t.sortOrder),t.timescooked!=null&&(i.timescooked=t.timescooked),t.timescookedGte!=null&&(i.timescooked_gte=t.timescookedGte),t.timescookedLte!=null&&(i.timescooked_lte=t.timescookedLte),t.token!=null&&(i.token=t.token),t.units!=null&&(i.units=t.units),t.updatedon!=null&&(i.updatedon=t.updatedon.toISOString().substring(0,10)),t.updatedonGte!=null&&(i.updatedon_gte=t.updatedonGte.toISOString().substring(0,10)),t.updatedonLte!=null&&(i.updatedon_lte=t.updatedonLte.toISOString().substring(0,10)),t.viewedonGte!=null&&(i.viewedon_gte=t.viewedonGte.toISOString().substring(0,10)),t.viewedonLte!=null&&(i.viewedon_lte=t.viewedonLte.toISOString().substring(0,10));const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/enterprise-social-recipe/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedEnterpriseSocialRecipeSearchListFromJSON(u))}async apiEnterpriseSocialRecipeList(t={},r){return await(await this.apiEnterpriseSocialRecipeListRaw(t,r)).value()}async apiEnterpriseSocialRecipeNullingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiEnterpriseSocialRecipeNullingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/enterprise-social-recipe/{id}/nulling/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiEnterpriseSocialRecipeNullingList(t,r){return await(await this.apiEnterpriseSocialRecipeNullingListRaw(t,r)).value()}async apiEnterpriseSocialRecipePartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiEnterpriseSocialRecipePartialUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/enterprise-social-recipe/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:a,query:i,body:PatchedRecipeToJSON(t.patchedRecipe)},r);return new JSONApiResponse(c,u=>RecipeFromJSON(u))}async apiEnterpriseSocialRecipePartialUpdate(t,r){return await(await this.apiEnterpriseSocialRecipePartialUpdateRaw(t,r)).value()}async apiEnterpriseSocialRecipeProtectingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiEnterpriseSocialRecipeProtectingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/enterprise-social-recipe/{id}/protecting/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiEnterpriseSocialRecipeProtectingList(t,r){return await(await this.apiEnterpriseSocialRecipeProtectingListRaw(t,r)).value()}async apiEnterpriseSocialRecipeRelatedListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiEnterpriseSocialRecipeRelatedList().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/enterprise-social-recipe/{id}/related/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>u.map(RecipeSimpleFromJSON))}async apiEnterpriseSocialRecipeRelatedList(t,r){return await(await this.apiEnterpriseSocialRecipeRelatedListRaw(t,r)).value()}async apiEnterpriseSocialRecipeRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiEnterpriseSocialRecipeRetrieve().');const i={};t.share!=null&&(i.share=t.share),t.token!=null&&(i.token=t.token);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/enterprise-social-recipe/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>RecipeFromJSON(u))}async apiEnterpriseSocialRecipeRetrieve(t,r){return await(await this.apiEnterpriseSocialRecipeRetrieveRaw(t,r)).value()}async apiEnterpriseSocialRecipeShoppingUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiEnterpriseSocialRecipeShoppingUpdate().');if(t.recipeShoppingUpdate==null)throw new RequiredError("recipeShoppingUpdate",'Required parameter "recipeShoppingUpdate" was null or undefined when calling apiEnterpriseSocialRecipeShoppingUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/enterprise-social-recipe/{id}/shopping/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:a,query:i,body:RecipeShoppingUpdateToJSON(t.recipeShoppingUpdate)},r);return new JSONApiResponse(c,u=>RecipeShoppingUpdateFromJSON(u))}async apiEnterpriseSocialRecipeShoppingUpdate(t,r){return await(await this.apiEnterpriseSocialRecipeShoppingUpdateRaw(t,r)).value()}async apiEnterpriseSocialRecipeUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiEnterpriseSocialRecipeUpdate().');if(t.recipe==null)throw new RequiredError("recipe",'Required parameter "recipe" was null or undefined when calling apiEnterpriseSocialRecipeUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/enterprise-social-recipe/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:a,query:i,body:RecipeToJSON(t.recipe)},r);return new JSONApiResponse(c,u=>RecipeFromJSON(u))}async apiEnterpriseSocialRecipeUpdate(t,r){return await(await this.apiEnterpriseSocialRecipeUpdateRaw(t,r)).value()}async apiEnterpriseSpaceCreateRaw(t,r){if(t.enterpriseSpace==null)throw new RequiredError("enterpriseSpace",'Required parameter "enterpriseSpace" was null or undefined when calling apiEnterpriseSpaceCreate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/enterprise-space/",method:"POST",headers:a,query:i,body:EnterpriseSpaceToJSON(t.enterpriseSpace)},r);return new JSONApiResponse(c,u=>EnterpriseSpaceFromJSON(u))}async apiEnterpriseSpaceCreate(t,r){return await(await this.apiEnterpriseSpaceCreateRaw(t,r)).value()}async apiEnterpriseSpaceCurrentRetrieveRaw(t){const r={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const a=await this.request({path:"/api/enterprise-space/current/",method:"GET",headers:i,query:r},t);return new JSONApiResponse(a,c=>EnterpriseSpaceFromJSON(c))}async apiEnterpriseSpaceCurrentRetrieve(t){return await(await this.apiEnterpriseSpaceCurrentRetrieveRaw(t)).value()}async apiEnterpriseSpaceDestroyRaw(t,r){if(t.space==null)throw new RequiredError("space",'Required parameter "space" was null or undefined when calling apiEnterpriseSpaceDestroy().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/enterprise-space/{space}/".replace("{space}",encodeURIComponent(String(t.space))),method:"DELETE",headers:a,query:i},r);return new VoidApiResponse(c)}async apiEnterpriseSpaceDestroy(t,r){await this.apiEnterpriseSpaceDestroyRaw(t,r)}async apiEnterpriseSpaceListRaw(t,r){const i={};t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/enterprise-space/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedEnterpriseSpaceListFromJSON(u))}async apiEnterpriseSpaceList(t={},r){return await(await this.apiEnterpriseSpaceListRaw(t,r)).value()}async apiEnterpriseSpacePartialUpdateRaw(t,r){if(t.space==null)throw new RequiredError("space",'Required parameter "space" was null or undefined when calling apiEnterpriseSpacePartialUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/enterprise-space/{space}/".replace("{space}",encodeURIComponent(String(t.space))),method:"PATCH",headers:a,query:i,body:PatchedEnterpriseSpaceToJSON(t.patchedEnterpriseSpace)},r);return new JSONApiResponse(c,u=>EnterpriseSpaceFromJSON(u))}async apiEnterpriseSpacePartialUpdate(t,r){return await(await this.apiEnterpriseSpacePartialUpdateRaw(t,r)).value()}async apiEnterpriseSpaceRetrieveRaw(t,r){if(t.space==null)throw new RequiredError("space",'Required parameter "space" was null or undefined when calling apiEnterpriseSpaceRetrieve().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/enterprise-space/{space}/".replace("{space}",encodeURIComponent(String(t.space))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>EnterpriseSpaceFromJSON(u))}async apiEnterpriseSpaceRetrieve(t,r){return await(await this.apiEnterpriseSpaceRetrieveRaw(t,r)).value()}async apiEnterpriseSpaceUpdateRaw(t,r){if(t.space==null)throw new RequiredError("space",'Required parameter "space" was null or undefined when calling apiEnterpriseSpaceUpdate().');if(t.enterpriseSpace==null)throw new RequiredError("enterpriseSpace",'Required parameter "enterpriseSpace" was null or undefined when calling apiEnterpriseSpaceUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/enterprise-space/{space}/".replace("{space}",encodeURIComponent(String(t.space))),method:"PUT",headers:a,query:i,body:EnterpriseSpaceToJSON(t.enterpriseSpace)},r);return new JSONApiResponse(c,u=>EnterpriseSpaceFromJSON(u))}async apiEnterpriseSpaceUpdate(t,r){return await(await this.apiEnterpriseSpaceUpdateRaw(t,r)).value()}async apiExportCreateRaw(t,r){if(t.exportRequest==null)throw new RequiredError("exportRequest",'Required parameter "exportRequest" was null or undefined when calling apiExportCreate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/export/",method:"POST",headers:a,query:i,body:ExportRequestToJSON(t.exportRequest)},r);return new JSONApiResponse(c,u=>ExportLogFromJSON(u))}async apiExportCreate(t,r){return await(await this.apiExportCreateRaw(t,r)).value()}async apiExportLogCreateRaw(t,r){if(t.exportLog==null)throw new RequiredError("exportLog",'Required parameter "exportLog" was null or undefined when calling apiExportLogCreate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/export-log/",method:"POST",headers:a,query:i,body:ExportLogToJSON(t.exportLog)},r);return new JSONApiResponse(c,u=>ExportLogFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new VoidApiResponse(c)}async apiExportLogDestroy(t,r){await this.apiExportLogDestroyRaw(t,r)}async apiExportLogListRaw(t,r){const i={};t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/export-log/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedExportLogListFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:PatchedExportLogToJSON(t.patchedExportLog)},r);return new JSONApiResponse(c,u=>ExportLogFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new JSONApiResponse(c,u=>ExportLogFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:ExportLogToJSON(t.exportLog)},r);return new JSONApiResponse(c,u=>ExportLogFromJSON(u))}async apiExportLogUpdate(t,r){return await(await this.apiExportLogUpdateRaw(t,r)).value()}async apiFdcSearchRetrieveRaw(t,r){const i={};t.dataType!=null&&(i.dataType=t.dataType),t.query!=null&&(i.query=t.query);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/fdc-search/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>FdcQueryFromJSON(u))}async apiFdcSearchRetrieve(t={},r){return await(await this.apiFdcSearchRetrieveRaw(t,r)).value()}async apiFoodAipropertiesCreateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiFoodAipropertiesCreate().');if(t.food==null)throw new RequiredError("food",'Required parameter "food" was null or undefined when calling apiFoodAipropertiesCreate().');const i={};t.provider!=null&&(i.provider=t.provider);const a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/food/{id}/aiproperties/".replace("{id}",encodeURIComponent(String(t.id))),method:"POST",headers:a,query:i,body:FoodToJSON(t.food)},r);return new JSONApiResponse(c,u=>FoodFromJSON(u))}async apiFoodAipropertiesCreate(t,r){return await(await this.apiFoodAipropertiesCreateRaw(t,r)).value()}async apiFoodBatchUpdateUpdateRaw(t,r){if(t.foodBatchUpdate==null)throw new RequiredError("foodBatchUpdate",'Required parameter "foodBatchUpdate" was null or undefined when calling apiFoodBatchUpdateUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/food/batch_update/",method:"PUT",headers:a,query:i,body:FoodBatchUpdateToJSON(t.foodBatchUpdate)},r);return new JSONApiResponse(c,u=>FoodBatchUpdateFromJSON(u))}async apiFoodBatchUpdateUpdate(t,r){return await(await this.apiFoodBatchUpdateUpdateRaw(t,r)).value()}async apiFoodCascadingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiFoodCascadingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/food/{id}/cascading/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiFoodCascadingList(t,r){return await(await this.apiFoodCascadingListRaw(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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/food/",method:"POST",headers:a,query:i,body:FoodToJSON(t.food)},r);return new JSONApiResponse(c,u=>FoodFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/food/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:a,query:i},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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:FoodToJSON(t.food)},r);return new JSONApiResponse(c,u=>FoodFromJSON(u))}async apiFoodFdcCreate(t,r){return await(await this.apiFoodFdcCreateRaw(t,r)).value()}async apiFoodInheritFieldListRaw(t){const r={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const a=await this.request({path:"/api/food-inherit-field/",method:"GET",headers:i,query:r},t);return new JSONApiResponse(a,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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new JSONApiResponse(c,u=>FoodInheritFieldFromJSON(u))}async apiFoodInheritFieldRetrieve(t,r){return await(await this.apiFoodInheritFieldRetrieveRaw(t,r)).value()}async apiFoodListRaw(t,r){const i={};t.limit!=null&&(i.limit=t.limit),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize),t.query!=null&&(i.query=t.query),t.random!=null&&(i.random=t.random),t.root!=null&&(i.root=t.root),t.rootTree!=null&&(i.root_tree=t.rootTree),t.tree!=null&&(i.tree=t.tree),t.updatedAt!=null&&(i.updated_at=t.updatedAt);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/food/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedFoodListFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:FoodToJSON(t.food)},r);return new JSONApiResponse(c,u=>FoodFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:FoodToJSON(t.food)},r);return new JSONApiResponse(c,u=>FoodFromJSON(u))}async apiFoodMoveUpdate(t,r){return await(await this.apiFoodMoveUpdateRaw(t,r)).value()}async apiFoodNullingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiFoodNullingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/food/{id}/nulling/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiFoodNullingList(t,r){return await(await this.apiFoodNullingListRaw(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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/food/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:a,query:i,body:PatchedFoodToJSON(t.patchedFood)},r);return new JSONApiResponse(c,u=>FoodFromJSON(u))}async apiFoodPartialUpdate(t,r){return await(await this.apiFoodPartialUpdateRaw(t,r)).value()}async apiFoodProtectingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiFoodProtectingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/food/{id}/protecting/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiFoodProtectingList(t,r){return await(await this.apiFoodProtectingListRaw(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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/food/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>FoodFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:FoodShoppingUpdateToJSON(t.foodShoppingUpdate)},r);return new JSONApiResponse(c,u=>FoodShoppingUpdateFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/food/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:a,query:i,body:FoodToJSON(t.food)},r);return new JSONApiResponse(c,u=>FoodFromJSON(u))}async apiFoodUpdate(t,r){return await(await this.apiFoodUpdateRaw(t,r)).value()}async apiGetExternalFileLinkRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiGetExternalFileLinkRetrieve().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/get_external_file_link/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new VoidApiResponse(c)}async apiGetExternalFileLinkRetrieve(t,r){await this.apiGetExternalFileLinkRetrieveRaw(t,r)}async apiGetRecipeFileRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiGetRecipeFileRetrieve().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/get_recipe_file/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new VoidApiResponse(c)}async apiGetRecipeFileRetrieve(t,r){await this.apiGetRecipeFileRetrieveRaw(t,r)}async apiGroupListRaw(t){const r={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const a=await this.request({path:"/api/group/",method:"GET",headers:i,query:r},t);return new JSONApiResponse(a,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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/group/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>GroupFromJSON(u))}async apiGroupRetrieve(t,r){return await(await this.apiGroupRetrieveRaw(t,r)).value()}async apiImportCreateRaw(t,r){if(t.aiProviderId==null)throw new RequiredError("aiProviderId",'Required parameter "aiProviderId" was null or undefined when calling apiImportCreate().');if(t.file==null)throw new RequiredError("file",'Required parameter "file" was null or undefined when calling apiImportCreate().');if(t.text==null)throw new RequiredError("text",'Required parameter "text" was null or undefined when calling apiImportCreate().');if(t.recipeId==null)throw new RequiredError("recipeId",'Required parameter "recipeId" was null or undefined when calling apiImportCreate().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization")),canConsumeForm([{contentType:"multipart/form-data"}]);let u;u=new URLSearchParams,t.aiProviderId!=null&&u.append("ai_provider_id",t.aiProviderId),t.file!=null&&u.append("file",t.file),t.text!=null&&u.append("text",t.text),t.recipeId!=null&&u.append("recipe_id",t.recipeId);const d=await this.request({path:"/api/import/",method:"POST",headers:a,query:i,body:u},r);return new JSONApiResponse(d,f=>RecipeFromSourceResponseFromJSON(f))}async apiImportCreate(t,r){return await(await this.apiImportCreateRaw(t,r)).value()}async apiImportLogCreateRaw(t,r){if(t.importLog==null)throw new RequiredError("importLog",'Required parameter "importLog" was null or undefined when calling apiImportLogCreate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/import-log/",method:"POST",headers:a,query:i,body:ImportLogToJSON(t.importLog)},r);return new JSONApiResponse(c,u=>ImportLogFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new VoidApiResponse(c)}async apiImportLogDestroy(t,r){await this.apiImportLogDestroyRaw(t,r)}async apiImportLogListRaw(t,r){const i={};t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/import-log/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedImportLogListFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:PatchedImportLogToJSON(t.patchedImportLog)},r);return new JSONApiResponse(c,u=>ImportLogFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new JSONApiResponse(c,u=>ImportLogFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:ImportLogToJSON(t.importLog)},r);return new JSONApiResponse(c,u=>ImportLogFromJSON(u))}async apiImportLogUpdate(t,r){return await(await this.apiImportLogUpdateRaw(t,r)).value()}async apiImportOpenDataCreateRaw(t,r){if(t.importOpenData==null)throw new RequiredError("importOpenData",'Required parameter "importOpenData" was null or undefined when calling apiImportOpenDataCreate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/import-open-data/",method:"POST",headers:a,query:i,body:ImportOpenDataToJSON(t.importOpenData)},r);return new JSONApiResponse(c,u=>ImportOpenDataResponseFromJSON(u))}async apiImportOpenDataCreate(t,r){return await(await this.apiImportOpenDataCreateRaw(t,r)).value()}async apiImportOpenDataRetrieveRaw(t){const r={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const a=await this.request({path:"/api/import-open-data/",method:"GET",headers:i,query:r},t);return new JSONApiResponse(a,c=>ImportOpenDataMetaDataFromJSON(c))}async apiImportOpenDataRetrieve(t){return await(await this.apiImportOpenDataRetrieveRaw(t)).value()}async apiIngredientCreateRaw(t,r){if(t.ingredient==null)throw new RequiredError("ingredient",'Required parameter "ingredient" was null or undefined when calling apiIngredientCreate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/ingredient/",method:"POST",headers:a,query:i,body:IngredientToJSON(t.ingredient)},r);return new JSONApiResponse(c,u=>IngredientFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/ingredient/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:a,query:i},r);return new VoidApiResponse(c)}async apiIngredientDestroy(t,r){await this.apiIngredientDestroyRaw(t,r)}async apiIngredientFromStringCreateRaw(t,r){if(t.ingredientString==null)throw new RequiredError("ingredientString",'Required parameter "ingredientString" was null or undefined when calling apiIngredientFromStringCreate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/ingredient-from-string/",method:"POST",headers:a,query:i,body:IngredientStringToJSON(t.ingredientString)},r);return new JSONApiResponse(c,u=>ParsedIngredientFromJSON(u))}async apiIngredientFromStringCreate(t,r){return await(await this.apiIngredientFromStringCreateRaw(t,r)).value()}async apiIngredientListRaw(t,r){const i={};t.food!=null&&(i.food=t.food),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize),t.unit!=null&&(i.unit=t.unit);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/ingredient/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedIngredientListFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/ingredient/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:a,query:i,body:PatchedIngredientToJSON(t.patchedIngredient)},r);return new JSONApiResponse(c,u=>IngredientFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/ingredient/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>IngredientFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/ingredient/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:a,query:i,body:IngredientToJSON(t.ingredient)},r);return new JSONApiResponse(c,u=>IngredientFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/invite-link/",method:"POST",headers:a,query:i,body:InviteLinkToJSON(t.inviteLink)},r);return new JSONApiResponse(c,u=>InviteLinkFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new VoidApiResponse(c)}async apiInviteLinkDestroy(t,r){await this.apiInviteLinkDestroyRaw(t,r)}async apiInviteLinkListRaw(t,r){const i={};t.internalNote!=null&&(i.internal_note=t.internalNote),t.limit!=null&&(i.limit=t.limit),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize),t.query!=null&&(i.query=t.query),t.random!=null&&(i.random=t.random),t.unused!=null&&(i.unused=t.unused),t.updatedAt!=null&&(i.updated_at=t.updatedAt);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/invite-link/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedInviteLinkListFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:PatchedInviteLinkToJSON(t.patchedInviteLink)},r);return new JSONApiResponse(c,u=>InviteLinkFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new JSONApiResponse(c,u=>InviteLinkFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:InviteLinkToJSON(t.inviteLink)},r);return new JSONApiResponse(c,u=>InviteLinkFromJSON(u))}async apiInviteLinkUpdate(t,r){return await(await this.apiInviteLinkUpdateRaw(t,r)).value()}async apiKeywordCascadingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiKeywordCascadingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/keyword/{id}/cascading/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiKeywordCascadingList(t,r){return await(await this.apiKeywordCascadingListRaw(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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/keyword/",method:"POST",headers:a,query:i,body:KeywordToJSON(t.keyword)},r);return new JSONApiResponse(c,u=>KeywordFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/keyword/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:a,query:i},r);return new VoidApiResponse(c)}async apiKeywordDestroy(t,r){await this.apiKeywordDestroyRaw(t,r)}async apiKeywordListRaw(t,r){const i={};t.limit!=null&&(i.limit=t.limit),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize),t.query!=null&&(i.query=t.query),t.random!=null&&(i.random=t.random),t.root!=null&&(i.root=t.root),t.rootTree!=null&&(i.root_tree=t.rootTree),t.tree!=null&&(i.tree=t.tree),t.updatedAt!=null&&(i.updated_at=t.updatedAt);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/keyword/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedKeywordListFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:KeywordToJSON(t.keyword)},r);return new JSONApiResponse(c,u=>KeywordFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:KeywordToJSON(t.keyword)},r);return new JSONApiResponse(c,u=>KeywordFromJSON(u))}async apiKeywordMoveUpdate(t,r){return await(await this.apiKeywordMoveUpdateRaw(t,r)).value()}async apiKeywordNullingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiKeywordNullingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/keyword/{id}/nulling/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiKeywordNullingList(t,r){return await(await this.apiKeywordNullingListRaw(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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/keyword/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:a,query:i,body:PatchedKeywordToJSON(t.patchedKeyword)},r);return new JSONApiResponse(c,u=>KeywordFromJSON(u))}async apiKeywordPartialUpdate(t,r){return await(await this.apiKeywordPartialUpdateRaw(t,r)).value()}async apiKeywordProtectingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiKeywordProtectingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/keyword/{id}/protecting/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiKeywordProtectingList(t,r){return await(await this.apiKeywordProtectingListRaw(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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/keyword/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>KeywordFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/keyword/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:a,query:i,body:KeywordToJSON(t.keyword)},r);return new JSONApiResponse(c,u=>KeywordFromJSON(u))}async apiKeywordUpdate(t,r){return await(await this.apiKeywordUpdateRaw(t,r)).value()}async apiLocalizationListRaw(t){const r={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const a=await this.request({path:"/api/localization/",method:"GET",headers:i,query:r},t);return new JSONApiResponse(a,c=>c.map(LocalizationFromJSON))}async apiLocalizationList(t){return await(await this.apiLocalizationListRaw(t)).value()}async apiMealPlanCreateRaw(t,r){if(t.mealPlan==null)throw new RequiredError("mealPlan",'Required parameter "mealPlan" was null or undefined when calling apiMealPlanCreate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/meal-plan/",method:"POST",headers:a,query:i,body:MealPlanToJSON(t.mealPlan)},r);return new JSONApiResponse(c,u=>MealPlanFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new VoidApiResponse(c)}async apiMealPlanDestroy(t,r){await this.apiMealPlanDestroyRaw(t,r)}async apiMealPlanIcalRetrieveRaw(t,r){const i={};t.fromDate!=null&&(i.from_date=t.fromDate),t.mealType!=null&&(i.meal_type=t.mealType),t.toDate!=null&&(i.to_date=t.toDate);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/meal-plan/ical/",method:"GET",headers:a,query:i},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 i={};t.fromDate!=null&&(i.from_date=t.fromDate),t.mealType!=null&&(i.meal_type=t.mealType),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize),t.toDate!=null&&(i.to_date=t.toDate);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/meal-plan/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedMealPlanListFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:PatchedMealPlanToJSON(t.patchedMealPlan)},r);return new JSONApiResponse(c,u=>MealPlanFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new JSONApiResponse(c,u=>MealPlanFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:MealPlanToJSON(t.mealPlan)},r);return new JSONApiResponse(c,u=>MealPlanFromJSON(u))}async apiMealPlanUpdate(t,r){return await(await this.apiMealPlanUpdateRaw(t,r)).value()}async apiMealTypeCascadingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiMealTypeCascadingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/meal-type/{id}/cascading/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiMealTypeCascadingList(t,r){return await(await this.apiMealTypeCascadingListRaw(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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/meal-type/",method:"POST",headers:a,query:i,body:MealTypeToJSON(t.mealType)},r);return new JSONApiResponse(c,u=>MealTypeFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new VoidApiResponse(c)}async apiMealTypeDestroy(t,r){await this.apiMealTypeDestroyRaw(t,r)}async apiMealTypeListRaw(t,r){const i={};t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/meal-type/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedMealTypeListFromJSON(u))}async apiMealTypeList(t={},r){return await(await this.apiMealTypeListRaw(t,r)).value()}async apiMealTypeNullingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiMealTypeNullingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/meal-type/{id}/nulling/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiMealTypeNullingList(t,r){return await(await this.apiMealTypeNullingListRaw(t,r)).value()}async apiMealTypePartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiMealTypePartialUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:PatchedMealTypeToJSON(t.patchedMealType)},r);return new JSONApiResponse(c,u=>MealTypeFromJSON(u))}async apiMealTypePartialUpdate(t,r){return await(await this.apiMealTypePartialUpdateRaw(t,r)).value()}async apiMealTypeProtectingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiMealTypeProtectingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/meal-type/{id}/protecting/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiMealTypeProtectingList(t,r){return await(await this.apiMealTypeProtectingListRaw(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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new JSONApiResponse(c,u=>MealTypeFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:MealTypeToJSON(t.mealType)},r);return new JSONApiResponse(c,u=>MealTypeFromJSON(u))}async apiMealTypeUpdate(t,r){return await(await this.apiMealTypeUpdateRaw(t,r)).value()}async apiOpenDataCategoryCreateRaw(t,r){if(t.openDataCategory==null)throw new RequiredError("openDataCategory",'Required parameter "openDataCategory" was null or undefined when calling apiOpenDataCategoryCreate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-category/",method:"POST",headers:a,query:i,body:OpenDataCategoryToJSON(t.openDataCategory)},r);return new JSONApiResponse(c,u=>OpenDataCategoryFromJSON(u))}async apiOpenDataCategoryCreate(t,r){return await(await this.apiOpenDataCategoryCreateRaw(t,r)).value()}async apiOpenDataCategoryDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiOpenDataCategoryDestroy().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-category/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:a,query:i},r);return new VoidApiResponse(c)}async apiOpenDataCategoryDestroy(t,r){await this.apiOpenDataCategoryDestroyRaw(t,r)}async apiOpenDataCategoryListRaw(t,r){const i={};t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-category/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedOpenDataCategoryListFromJSON(u))}async apiOpenDataCategoryList(t={},r){return await(await this.apiOpenDataCategoryListRaw(t,r)).value()}async apiOpenDataCategoryPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiOpenDataCategoryPartialUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-category/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:a,query:i,body:PatchedOpenDataCategoryToJSON(t.patchedOpenDataCategory)},r);return new JSONApiResponse(c,u=>OpenDataCategoryFromJSON(u))}async apiOpenDataCategoryPartialUpdate(t,r){return await(await this.apiOpenDataCategoryPartialUpdateRaw(t,r)).value()}async apiOpenDataCategoryRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiOpenDataCategoryRetrieve().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-category/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>OpenDataCategoryFromJSON(u))}async apiOpenDataCategoryRetrieve(t,r){return await(await this.apiOpenDataCategoryRetrieveRaw(t,r)).value()}async apiOpenDataCategoryUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiOpenDataCategoryUpdate().');if(t.openDataCategory==null)throw new RequiredError("openDataCategory",'Required parameter "openDataCategory" was null or undefined when calling apiOpenDataCategoryUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-category/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:a,query:i,body:OpenDataCategoryToJSON(t.openDataCategory)},r);return new JSONApiResponse(c,u=>OpenDataCategoryFromJSON(u))}async apiOpenDataCategoryUpdate(t,r){return await(await this.apiOpenDataCategoryUpdateRaw(t,r)).value()}async apiOpenDataConversionCreateRaw(t,r){if(t.openDataConversion==null)throw new RequiredError("openDataConversion",'Required parameter "openDataConversion" was null or undefined when calling apiOpenDataConversionCreate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-conversion/",method:"POST",headers:a,query:i,body:OpenDataConversionToJSON(t.openDataConversion)},r);return new JSONApiResponse(c,u=>OpenDataConversionFromJSON(u))}async apiOpenDataConversionCreate(t,r){return await(await this.apiOpenDataConversionCreateRaw(t,r)).value()}async apiOpenDataConversionDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiOpenDataConversionDestroy().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-conversion/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:a,query:i},r);return new VoidApiResponse(c)}async apiOpenDataConversionDestroy(t,r){await this.apiOpenDataConversionDestroyRaw(t,r)}async apiOpenDataConversionListRaw(t,r){const i={};t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-conversion/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedOpenDataConversionListFromJSON(u))}async apiOpenDataConversionList(t={},r){return await(await this.apiOpenDataConversionListRaw(t,r)).value()}async apiOpenDataConversionPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiOpenDataConversionPartialUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-conversion/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:a,query:i,body:PatchedOpenDataConversionToJSON(t.patchedOpenDataConversion)},r);return new JSONApiResponse(c,u=>OpenDataConversionFromJSON(u))}async apiOpenDataConversionPartialUpdate(t,r){return await(await this.apiOpenDataConversionPartialUpdateRaw(t,r)).value()}async apiOpenDataConversionRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiOpenDataConversionRetrieve().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-conversion/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>OpenDataConversionFromJSON(u))}async apiOpenDataConversionRetrieve(t,r){return await(await this.apiOpenDataConversionRetrieveRaw(t,r)).value()}async apiOpenDataConversionUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiOpenDataConversionUpdate().');if(t.openDataConversion==null)throw new RequiredError("openDataConversion",'Required parameter "openDataConversion" was null or undefined when calling apiOpenDataConversionUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-conversion/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:a,query:i,body:OpenDataConversionToJSON(t.openDataConversion)},r);return new JSONApiResponse(c,u=>OpenDataConversionFromJSON(u))}async apiOpenDataConversionUpdate(t,r){return await(await this.apiOpenDataConversionUpdateRaw(t,r)).value()}async apiOpenDataFDCRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiOpenDataFDCRetrieve().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-FDC/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new VoidApiResponse(c)}async apiOpenDataFDCRetrieve(t,r){await this.apiOpenDataFDCRetrieveRaw(t,r)}async apiOpenDataFoodCreateRaw(t,r){if(t.openDataFood==null)throw new RequiredError("openDataFood",'Required parameter "openDataFood" was null or undefined when calling apiOpenDataFoodCreate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-food/",method:"POST",headers:a,query:i,body:OpenDataFoodToJSON(t.openDataFood)},r);return new JSONApiResponse(c,u=>OpenDataFoodFromJSON(u))}async apiOpenDataFoodCreate(t,r){return await(await this.apiOpenDataFoodCreateRaw(t,r)).value()}async apiOpenDataFoodDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiOpenDataFoodDestroy().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-food/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:a,query:i},r);return new VoidApiResponse(c)}async apiOpenDataFoodDestroy(t,r){await this.apiOpenDataFoodDestroyRaw(t,r)}async apiOpenDataFoodFdcCreateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiOpenDataFoodFdcCreate().');if(t.openDataFood==null)throw new RequiredError("openDataFood",'Required parameter "openDataFood" was null or undefined when calling apiOpenDataFoodFdcCreate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-food/{id}/fdc/".replace("{id}",encodeURIComponent(String(t.id))),method:"POST",headers:a,query:i,body:OpenDataFoodToJSON(t.openDataFood)},r);return new JSONApiResponse(c,u=>OpenDataFoodFromJSON(u))}async apiOpenDataFoodFdcCreate(t,r){return await(await this.apiOpenDataFoodFdcCreateRaw(t,r)).value()}async apiOpenDataFoodListRaw(t,r){const i={};t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-food/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedOpenDataFoodListFromJSON(u))}async apiOpenDataFoodList(t={},r){return await(await this.apiOpenDataFoodListRaw(t,r)).value()}async apiOpenDataFoodPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiOpenDataFoodPartialUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-food/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:a,query:i,body:PatchedOpenDataFoodToJSON(t.patchedOpenDataFood)},r);return new JSONApiResponse(c,u=>OpenDataFoodFromJSON(u))}async apiOpenDataFoodPartialUpdate(t,r){return await(await this.apiOpenDataFoodPartialUpdateRaw(t,r)).value()}async apiOpenDataFoodRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiOpenDataFoodRetrieve().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-food/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>OpenDataFoodFromJSON(u))}async apiOpenDataFoodRetrieve(t,r){return await(await this.apiOpenDataFoodRetrieveRaw(t,r)).value()}async apiOpenDataFoodUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiOpenDataFoodUpdate().');if(t.openDataFood==null)throw new RequiredError("openDataFood",'Required parameter "openDataFood" was null or undefined when calling apiOpenDataFoodUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-food/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:a,query:i,body:OpenDataFoodToJSON(t.openDataFood)},r);return new JSONApiResponse(c,u=>OpenDataFoodFromJSON(u))}async apiOpenDataFoodUpdate(t,r){return await(await this.apiOpenDataFoodUpdateRaw(t,r)).value()}async apiOpenDataPropertyCreateRaw(t,r){if(t.openDataProperty==null)throw new RequiredError("openDataProperty",'Required parameter "openDataProperty" was null or undefined when calling apiOpenDataPropertyCreate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-property/",method:"POST",headers:a,query:i,body:OpenDataPropertyToJSON(t.openDataProperty)},r);return new JSONApiResponse(c,u=>OpenDataPropertyFromJSON(u))}async apiOpenDataPropertyCreate(t,r){return await(await this.apiOpenDataPropertyCreateRaw(t,r)).value()}async apiOpenDataPropertyDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiOpenDataPropertyDestroy().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-property/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:a,query:i},r);return new VoidApiResponse(c)}async apiOpenDataPropertyDestroy(t,r){await this.apiOpenDataPropertyDestroyRaw(t,r)}async apiOpenDataPropertyListRaw(t,r){const i={};t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-property/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedOpenDataPropertyListFromJSON(u))}async apiOpenDataPropertyList(t={},r){return await(await this.apiOpenDataPropertyListRaw(t,r)).value()}async apiOpenDataPropertyPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiOpenDataPropertyPartialUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-property/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:a,query:i,body:PatchedOpenDataPropertyToJSON(t.patchedOpenDataProperty)},r);return new JSONApiResponse(c,u=>OpenDataPropertyFromJSON(u))}async apiOpenDataPropertyPartialUpdate(t,r){return await(await this.apiOpenDataPropertyPartialUpdateRaw(t,r)).value()}async apiOpenDataPropertyRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiOpenDataPropertyRetrieve().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-property/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>OpenDataPropertyFromJSON(u))}async apiOpenDataPropertyRetrieve(t,r){return await(await this.apiOpenDataPropertyRetrieveRaw(t,r)).value()}async apiOpenDataPropertyUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiOpenDataPropertyUpdate().');if(t.openDataProperty==null)throw new RequiredError("openDataProperty",'Required parameter "openDataProperty" was null or undefined when calling apiOpenDataPropertyUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-property/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:a,query:i,body:OpenDataPropertyToJSON(t.openDataProperty)},r);return new JSONApiResponse(c,u=>OpenDataPropertyFromJSON(u))}async apiOpenDataPropertyUpdate(t,r){return await(await this.apiOpenDataPropertyUpdateRaw(t,r)).value()}async apiOpenDataStatsRetrieveRaw(t){const r={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const a=await this.request({path:"/api/open-data-stats/",method:"GET",headers:i,query:r},t);return new VoidApiResponse(a)}async apiOpenDataStatsRetrieve(t){await this.apiOpenDataStatsRetrieveRaw(t)}async apiOpenDataStoreCreateRaw(t,r){if(t.openDataStore==null)throw new RequiredError("openDataStore",'Required parameter "openDataStore" was null or undefined when calling apiOpenDataStoreCreate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-store/",method:"POST",headers:a,query:i,body:OpenDataStoreToJSON(t.openDataStore)},r);return new JSONApiResponse(c,u=>OpenDataStoreFromJSON(u))}async apiOpenDataStoreCreate(t,r){return await(await this.apiOpenDataStoreCreateRaw(t,r)).value()}async apiOpenDataStoreDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiOpenDataStoreDestroy().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-store/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:a,query:i},r);return new VoidApiResponse(c)}async apiOpenDataStoreDestroy(t,r){await this.apiOpenDataStoreDestroyRaw(t,r)}async apiOpenDataStoreListRaw(t,r){const i={};t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-store/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedOpenDataStoreListFromJSON(u))}async apiOpenDataStoreList(t={},r){return await(await this.apiOpenDataStoreListRaw(t,r)).value()}async apiOpenDataStorePartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiOpenDataStorePartialUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-store/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:a,query:i,body:PatchedOpenDataStoreToJSON(t.patchedOpenDataStore)},r);return new JSONApiResponse(c,u=>OpenDataStoreFromJSON(u))}async apiOpenDataStorePartialUpdate(t,r){return await(await this.apiOpenDataStorePartialUpdateRaw(t,r)).value()}async apiOpenDataStoreRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiOpenDataStoreRetrieve().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-store/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>OpenDataStoreFromJSON(u))}async apiOpenDataStoreRetrieve(t,r){return await(await this.apiOpenDataStoreRetrieveRaw(t,r)).value()}async apiOpenDataStoreUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiOpenDataStoreUpdate().');if(t.openDataStore==null)throw new RequiredError("openDataStore",'Required parameter "openDataStore" was null or undefined when calling apiOpenDataStoreUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-store/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:a,query:i,body:OpenDataStoreToJSON(t.openDataStore)},r);return new JSONApiResponse(c,u=>OpenDataStoreFromJSON(u))}async apiOpenDataStoreUpdate(t,r){return await(await this.apiOpenDataStoreUpdateRaw(t,r)).value()}async apiOpenDataUnitCreateRaw(t,r){if(t.openDataUnit==null)throw new RequiredError("openDataUnit",'Required parameter "openDataUnit" was null or undefined when calling apiOpenDataUnitCreate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-unit/",method:"POST",headers:a,query:i,body:OpenDataUnitToJSON(t.openDataUnit)},r);return new JSONApiResponse(c,u=>OpenDataUnitFromJSON(u))}async apiOpenDataUnitCreate(t,r){return await(await this.apiOpenDataUnitCreateRaw(t,r)).value()}async apiOpenDataUnitDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiOpenDataUnitDestroy().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-unit/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:a,query:i},r);return new VoidApiResponse(c)}async apiOpenDataUnitDestroy(t,r){await this.apiOpenDataUnitDestroyRaw(t,r)}async apiOpenDataUnitListRaw(t,r){const i={};t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-unit/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedOpenDataUnitListFromJSON(u))}async apiOpenDataUnitList(t={},r){return await(await this.apiOpenDataUnitListRaw(t,r)).value()}async apiOpenDataUnitPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiOpenDataUnitPartialUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-unit/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:a,query:i,body:PatchedOpenDataUnitToJSON(t.patchedOpenDataUnit)},r);return new JSONApiResponse(c,u=>OpenDataUnitFromJSON(u))}async apiOpenDataUnitPartialUpdate(t,r){return await(await this.apiOpenDataUnitPartialUpdateRaw(t,r)).value()}async apiOpenDataUnitRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiOpenDataUnitRetrieve().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-unit/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>OpenDataUnitFromJSON(u))}async apiOpenDataUnitRetrieve(t,r){return await(await this.apiOpenDataUnitRetrieveRaw(t,r)).value()}async apiOpenDataUnitUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiOpenDataUnitUpdate().');if(t.openDataUnit==null)throw new RequiredError("openDataUnit",'Required parameter "openDataUnit" was null or undefined when calling apiOpenDataUnitUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-unit/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:a,query:i,body:OpenDataUnitToJSON(t.openDataUnit)},r);return new JSONApiResponse(c,u=>OpenDataUnitFromJSON(u))}async apiOpenDataUnitUpdate(t,r){return await(await this.apiOpenDataUnitUpdateRaw(t,r)).value()}async apiOpenDataVersionCreateRaw(t,r){if(t.openDataVersion==null)throw new RequiredError("openDataVersion",'Required parameter "openDataVersion" was null or undefined when calling apiOpenDataVersionCreate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-version/",method:"POST",headers:a,query:i,body:OpenDataVersionToJSON(t.openDataVersion)},r);return new JSONApiResponse(c,u=>OpenDataVersionFromJSON(u))}async apiOpenDataVersionCreate(t,r){return await(await this.apiOpenDataVersionCreateRaw(t,r)).value()}async apiOpenDataVersionDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiOpenDataVersionDestroy().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-version/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:a,query:i},r);return new VoidApiResponse(c)}async apiOpenDataVersionDestroy(t,r){await this.apiOpenDataVersionDestroyRaw(t,r)}async apiOpenDataVersionListRaw(t,r){const i={};t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-version/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedOpenDataVersionListFromJSON(u))}async apiOpenDataVersionList(t={},r){return await(await this.apiOpenDataVersionListRaw(t,r)).value()}async apiOpenDataVersionPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiOpenDataVersionPartialUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-version/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:a,query:i,body:PatchedOpenDataVersionToJSON(t.patchedOpenDataVersion)},r);return new JSONApiResponse(c,u=>OpenDataVersionFromJSON(u))}async apiOpenDataVersionPartialUpdate(t,r){return await(await this.apiOpenDataVersionPartialUpdateRaw(t,r)).value()}async apiOpenDataVersionRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiOpenDataVersionRetrieve().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-version/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>OpenDataVersionFromJSON(u))}async apiOpenDataVersionRetrieve(t,r){return await(await this.apiOpenDataVersionRetrieveRaw(t,r)).value()}async apiOpenDataVersionUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiOpenDataVersionUpdate().');if(t.openDataVersion==null)throw new RequiredError("openDataVersion",'Required parameter "openDataVersion" was null or undefined when calling apiOpenDataVersionUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/open-data-version/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:a,query:i,body:OpenDataVersionToJSON(t.openDataVersion)},r);return new JSONApiResponse(c,u=>OpenDataVersionFromJSON(u))}async apiOpenDataVersionUpdate(t,r){return await(await this.apiOpenDataVersionUpdateRaw(t,r)).value()}async apiPropertyCreateRaw(t,r){if(t.property==null)throw new RequiredError("property",'Required parameter "property" was null or undefined when calling apiPropertyCreate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/property/",method:"POST",headers:a,query:i,body:PropertyToJSON(t.property)},r);return new JSONApiResponse(c,u=>PropertyFromJSON(u))}async apiPropertyCreate(t,r){return await(await this.apiPropertyCreateRaw(t,r)).value()}async apiPropertyDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiPropertyDestroy().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/property/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:a,query:i},r);return new VoidApiResponse(c)}async apiPropertyDestroy(t,r){await this.apiPropertyDestroyRaw(t,r)}async apiPropertyListRaw(t,r){const i={};t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/property/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedPropertyListFromJSON(u))}async apiPropertyList(t={},r){return await(await this.apiPropertyListRaw(t,r)).value()}async apiPropertyPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiPropertyPartialUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/property/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:a,query:i,body:PatchedPropertyToJSON(t.patchedProperty)},r);return new JSONApiResponse(c,u=>PropertyFromJSON(u))}async apiPropertyPartialUpdate(t,r){return await(await this.apiPropertyPartialUpdateRaw(t,r)).value()}async apiPropertyRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiPropertyRetrieve().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/property/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PropertyFromJSON(u))}async apiPropertyRetrieve(t,r){return await(await this.apiPropertyRetrieveRaw(t,r)).value()}async apiPropertyTypeCascadingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiPropertyTypeCascadingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/property-type/{id}/cascading/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiPropertyTypeCascadingList(t,r){return await(await this.apiPropertyTypeCascadingListRaw(t,r)).value()}async apiPropertyTypeCreateRaw(t,r){if(t.propertyType==null)throw new RequiredError("propertyType",'Required parameter "propertyType" was null or undefined when calling apiPropertyTypeCreate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/property-type/",method:"POST",headers:a,query:i,body:PropertyTypeToJSON(t.propertyType)},r);return new JSONApiResponse(c,u=>PropertyTypeFromJSON(u))}async apiPropertyTypeCreate(t,r){return await(await this.apiPropertyTypeCreateRaw(t,r)).value()}async apiPropertyTypeDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiPropertyTypeDestroy().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/property-type/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:a,query:i},r);return new VoidApiResponse(c)}async apiPropertyTypeDestroy(t,r){await this.apiPropertyTypeDestroyRaw(t,r)}async apiPropertyTypeListRaw(t,r){const i={};t.category!=null&&(i.category=t.category),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/property-type/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedPropertyTypeListFromJSON(u))}async apiPropertyTypeList(t={},r){return await(await this.apiPropertyTypeListRaw(t,r)).value()}async apiPropertyTypeNullingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiPropertyTypeNullingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/property-type/{id}/nulling/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiPropertyTypeNullingList(t,r){return await(await this.apiPropertyTypeNullingListRaw(t,r)).value()}async apiPropertyTypePartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiPropertyTypePartialUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/property-type/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:a,query:i,body:PatchedPropertyTypeToJSON(t.patchedPropertyType)},r);return new JSONApiResponse(c,u=>PropertyTypeFromJSON(u))}async apiPropertyTypePartialUpdate(t,r){return await(await this.apiPropertyTypePartialUpdateRaw(t,r)).value()}async apiPropertyTypeProtectingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiPropertyTypeProtectingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/property-type/{id}/protecting/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiPropertyTypeProtectingList(t,r){return await(await this.apiPropertyTypeProtectingListRaw(t,r)).value()}async apiPropertyTypeRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiPropertyTypeRetrieve().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/property-type/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PropertyTypeFromJSON(u))}async apiPropertyTypeRetrieve(t,r){return await(await this.apiPropertyTypeRetrieveRaw(t,r)).value()}async apiPropertyTypeUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiPropertyTypeUpdate().');if(t.propertyType==null)throw new RequiredError("propertyType",'Required parameter "propertyType" was null or undefined when calling apiPropertyTypeUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/property-type/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:a,query:i,body:PropertyTypeToJSON(t.propertyType)},r);return new JSONApiResponse(c,u=>PropertyTypeFromJSON(u))}async apiPropertyTypeUpdate(t,r){return await(await this.apiPropertyTypeUpdateRaw(t,r)).value()}async apiPropertyUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiPropertyUpdate().');if(t.property==null)throw new RequiredError("property",'Required parameter "property" was null or undefined when calling apiPropertyUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/property/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:a,query:i,body:PropertyToJSON(t.property)},r);return new JSONApiResponse(c,u=>PropertyFromJSON(u))}async apiPropertyUpdate(t,r){return await(await this.apiPropertyUpdateRaw(t,r)).value()}async apiRecipeAipropertiesCreateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeAipropertiesCreate().');if(t.recipe==null)throw new RequiredError("recipe",'Required parameter "recipe" was null or undefined when calling apiRecipeAipropertiesCreate().');const i={};t.provider!=null&&(i.provider=t.provider);const a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe/{id}/aiproperties/".replace("{id}",encodeURIComponent(String(t.id))),method:"POST",headers:a,query:i,body:RecipeToJSON(t.recipe)},r);return new JSONApiResponse(c,u=>RecipeFromJSON(u))}async apiRecipeAipropertiesCreate(t,r){return await(await this.apiRecipeAipropertiesCreateRaw(t,r)).value()}async apiRecipeBatchUpdateUpdateRaw(t,r){if(t.recipeBatchUpdate==null)throw new RequiredError("recipeBatchUpdate",'Required parameter "recipeBatchUpdate" was null or undefined when calling apiRecipeBatchUpdateUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe/batch_update/",method:"PUT",headers:a,query:i,body:RecipeBatchUpdateToJSON(t.recipeBatchUpdate)},r);return new JSONApiResponse(c,u=>RecipeBatchUpdateFromJSON(u))}async apiRecipeBatchUpdateUpdate(t,r){return await(await this.apiRecipeBatchUpdateUpdateRaw(t,r)).value()}async apiRecipeBookCascadingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeBookCascadingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe-book/{id}/cascading/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiRecipeBookCascadingList(t,r){return await(await this.apiRecipeBookCascadingListRaw(t,r)).value()}async apiRecipeBookCreateRaw(t,r){if(t.recipeBook==null)throw new RequiredError("recipeBook",'Required parameter "recipeBook" was null or undefined when calling apiRecipeBookCreate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe-book/",method:"POST",headers:a,query:i,body:RecipeBookToJSON(t.recipeBook)},r);return new JSONApiResponse(c,u=>RecipeBookFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe-book-entry/",method:"POST",headers:a,query:i,body:RecipeBookEntryToJSON(t.recipeBookEntry)},r);return new JSONApiResponse(c,u=>RecipeBookEntryFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new VoidApiResponse(c)}async apiRecipeBookEntryDestroy(t,r){await this.apiRecipeBookEntryDestroyRaw(t,r)}async apiRecipeBookEntryListRaw(t,r){const i={};t.book!=null&&(i.book=t.book),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize),t.recipe!=null&&(i.recipe=t.recipe);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe-book-entry/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedRecipeBookEntryListFromJSON(u))}async apiRecipeBookEntryList(t={},r){return await(await this.apiRecipeBookEntryListRaw(t,r)).value()}async apiRecipeBookEntryPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeBookEntryPartialUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:PatchedRecipeBookEntryToJSON(t.patchedRecipeBookEntry)},r);return new JSONApiResponse(c,u=>RecipeBookEntryFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new JSONApiResponse(c,u=>RecipeBookEntryFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:RecipeBookEntryToJSON(t.recipeBookEntry)},r);return new JSONApiResponse(c,u=>RecipeBookEntryFromJSON(u))}async apiRecipeBookEntryUpdate(t,r){return await(await this.apiRecipeBookEntryUpdateRaw(t,r)).value()}async apiRecipeBookListRaw(t,r){const i={};t.limit!=null&&(i.limit=t.limit),t.orderDirection!=null&&(i.order_direction=t.orderDirection),t.orderField!=null&&(i.order_field=t.orderField),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize),t.query!=null&&(i.query=t.query),t.random!=null&&(i.random=t.random),t.updatedAt!=null&&(i.updated_at=t.updatedAt);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe-book/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedRecipeBookListFromJSON(u))}async apiRecipeBookList(t={},r){return await(await this.apiRecipeBookListRaw(t,r)).value()}async apiRecipeBookNullingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeBookNullingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe-book/{id}/nulling/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiRecipeBookNullingList(t,r){return await(await this.apiRecipeBookNullingListRaw(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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:PatchedRecipeBookToJSON(t.patchedRecipeBook)},r);return new JSONApiResponse(c,u=>RecipeBookFromJSON(u))}async apiRecipeBookPartialUpdate(t,r){return await(await this.apiRecipeBookPartialUpdateRaw(t,r)).value()}async apiRecipeBookProtectingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeBookProtectingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe-book/{id}/protecting/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiRecipeBookProtectingList(t,r){return await(await this.apiRecipeBookProtectingListRaw(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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new JSONApiResponse(c,u=>RecipeBookFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:RecipeBookToJSON(t.recipeBook)},r);return new JSONApiResponse(c,u=>RecipeBookFromJSON(u))}async apiRecipeBookUpdate(t,r){return await(await this.apiRecipeBookUpdateRaw(t,r)).value()}async apiRecipeCascadingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeCascadingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe/{id}/cascading/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiRecipeCascadingList(t,r){return await(await this.apiRecipeCascadingListRaw(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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe/",method:"POST",headers:a,query:i,body:RecipeToJSON(t.recipe)},r);return new JSONApiResponse(c,u=>RecipeFromJSON(u))}async apiRecipeCreate(t,r){return await(await this.apiRecipeCreateRaw(t,r)).value()}async apiRecipeDeleteExternalPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeDeleteExternalPartialUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe/{id}/delete_external/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:a,query:i,body:PatchedRecipeToJSON(t.patchedRecipe)},r);return new JSONApiResponse(c,u=>RecipeFromJSON(u))}async apiRecipeDeleteExternalPartialUpdate(t,r){return await(await this.apiRecipeDeleteExternalPartialUpdateRaw(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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:a,query:i},r);return new VoidApiResponse(c)}async apiRecipeDestroy(t,r){await this.apiRecipeDestroyRaw(t,r)}async apiRecipeFlatListRaw(t){const r={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const a=await this.request({path:"/api/recipe/flat/",method:"GET",headers:i,query:r},t);return new JSONApiResponse(a,c=>c.map(RecipeFlatFromJSON))}async apiRecipeFlatList(t){return await(await this.apiRecipeFlatListRaw(t)).value()}async apiRecipeFromSourceCreateRaw(t,r){const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe-from-source/",method:"POST",headers:a,query:i,body:RecipeFromSourceToJSON(t.recipeFromSource)},r);return new JSONApiResponse(c,u=>RecipeFromSourceResponseFromJSON(u))}async apiRecipeFromSourceCreate(t={},r){return await(await this.apiRecipeFromSourceCreateRaw(t,r)).value()}async apiRecipeImageUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeImageUpdate().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization")),canConsumeForm([{contentType:"multipart/form-data"}]);let u;u=new URLSearchParams,t.image!=null&&u.append("image",t.image),t.imageUrl!=null&&u.append("image_url",t.imageUrl);const d=await this.request({path:"/api/recipe/{id}/image/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:a,query:i,body:u},r);return new JSONApiResponse(d,f=>RecipeImageFromJSON(f))}async apiRecipeImageUpdate(t,r){return await(await this.apiRecipeImageUpdateRaw(t,r)).value()}async apiRecipeImportCreateRaw(t,r){if(t.recipeImport==null)throw new RequiredError("recipeImport",'Required parameter "recipeImport" was null or undefined when calling apiRecipeImportCreate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe-import/",method:"POST",headers:a,query:i,body:RecipeImportToJSON(t.recipeImport)},r);return new JSONApiResponse(c,u=>RecipeImportFromJSON(u))}async apiRecipeImportCreate(t,r){return await(await this.apiRecipeImportCreateRaw(t,r)).value()}async apiRecipeImportDestroyRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeImportDestroy().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe-import/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:a,query:i},r);return new VoidApiResponse(c)}async apiRecipeImportDestroy(t,r){await this.apiRecipeImportDestroyRaw(t,r)}async apiRecipeImportImportAllCreateRaw(t,r){if(t.recipeImport==null)throw new RequiredError("recipeImport",'Required parameter "recipeImport" was null or undefined when calling apiRecipeImportImportAllCreate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe-import/import_all/",method:"POST",headers:a,query:i,body:RecipeImportToJSON(t.recipeImport)},r);return new JSONApiResponse(c,u=>RecipeImportFromJSON(u))}async apiRecipeImportImportAllCreate(t,r){return await(await this.apiRecipeImportImportAllCreateRaw(t,r)).value()}async apiRecipeImportImportRecipeCreateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeImportImportRecipeCreate().');if(t.recipeImport==null)throw new RequiredError("recipeImport",'Required parameter "recipeImport" was null or undefined when calling apiRecipeImportImportRecipeCreate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe-import/{id}/import_recipe/".replace("{id}",encodeURIComponent(String(t.id))),method:"POST",headers:a,query:i,body:RecipeImportToJSON(t.recipeImport)},r);return new JSONApiResponse(c,u=>RecipeFromJSON(u))}async apiRecipeImportImportRecipeCreate(t,r){return await(await this.apiRecipeImportImportRecipeCreateRaw(t,r)).value()}async apiRecipeImportListRaw(t,r){const i={};t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe-import/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedRecipeImportListFromJSON(u))}async apiRecipeImportList(t={},r){return await(await this.apiRecipeImportListRaw(t,r)).value()}async apiRecipeImportPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeImportPartialUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe-import/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:a,query:i,body:PatchedRecipeImportToJSON(t.patchedRecipeImport)},r);return new JSONApiResponse(c,u=>RecipeImportFromJSON(u))}async apiRecipeImportPartialUpdate(t,r){return await(await this.apiRecipeImportPartialUpdateRaw(t,r)).value()}async apiRecipeImportRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeImportRetrieve().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe-import/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>RecipeImportFromJSON(u))}async apiRecipeImportRetrieve(t,r){return await(await this.apiRecipeImportRetrieveRaw(t,r)).value()}async apiRecipeImportUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeImportUpdate().');if(t.recipeImport==null)throw new RequiredError("recipeImport",'Required parameter "recipeImport" was null or undefined when calling apiRecipeImportUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe-import/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:a,query:i,body:RecipeImportToJSON(t.recipeImport)},r);return new JSONApiResponse(c,u=>RecipeImportFromJSON(u))}async apiRecipeImportUpdate(t,r){return await(await this.apiRecipeImportUpdateRaw(t,r)).value()}async apiRecipeListRaw(t,r){const i={};t.books!=null&&(i.books=t.books),t.booksAnd!=null&&(i.books_and=t.booksAnd),t.booksAndNot!=null&&(i.books_and_not=t.booksAndNot),t.booksOr!=null&&(i.books_or=t.booksOr),t.booksOrNot!=null&&(i.books_or_not=t.booksOrNot),t.cookedonGte!=null&&(i.cookedon_gte=t.cookedonGte.toISOString().substring(0,10)),t.cookedonLte!=null&&(i.cookedon_lte=t.cookedonLte.toISOString().substring(0,10)),t.createdby!=null&&(i.createdby=t.createdby),t.createdon!=null&&(i.createdon=t.createdon.toISOString().substring(0,10)),t.createdonGte!=null&&(i.createdon_gte=t.createdonGte.toISOString().substring(0,10)),t.createdonLte!=null&&(i.createdon_lte=t.createdonLte.toISOString().substring(0,10)),t.filter!=null&&(i.filter=t.filter),t.foods!=null&&(i.foods=t.foods),t.foodsAnd!=null&&(i.foods_and=t.foodsAnd),t.foodsAndNot!=null&&(i.foods_and_not=t.foodsAndNot),t.foodsOr!=null&&(i.foods_or=t.foodsOr),t.foodsOrNot!=null&&(i.foods_or_not=t.foodsOrNot),t.internal!=null&&(i.internal=t.internal),t.keywords!=null&&(i.keywords=t.keywords),t.keywordsAnd!=null&&(i.keywords_and=t.keywordsAnd),t.keywordsAndNot!=null&&(i.keywords_and_not=t.keywordsAndNot),t.keywordsOr!=null&&(i.keywords_or=t.keywordsOr),t.keywordsOrNot!=null&&(i.keywords_or_not=t.keywordsOrNot),t.makenow!=null&&(i.makenow=t.makenow),t._new!=null&&(i.new=t._new),t.numRecent!=null&&(i.num_recent=t.numRecent),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize),t.query!=null&&(i.query=t.query),t.random!=null&&(i.random=t.random),t.rating!=null&&(i.rating=t.rating),t.ratingGte!=null&&(i.rating_gte=t.ratingGte),t.ratingLte!=null&&(i.rating_lte=t.ratingLte),t.sortOrder!=null&&(i.sort_order=t.sortOrder),t.timescooked!=null&&(i.timescooked=t.timescooked),t.timescookedGte!=null&&(i.timescooked_gte=t.timescookedGte),t.timescookedLte!=null&&(i.timescooked_lte=t.timescookedLte),t.units!=null&&(i.units=t.units),t.updatedon!=null&&(i.updatedon=t.updatedon.toISOString().substring(0,10)),t.updatedonGte!=null&&(i.updatedon_gte=t.updatedonGte.toISOString().substring(0,10)),t.updatedonLte!=null&&(i.updatedon_lte=t.updatedonLte.toISOString().substring(0,10)),t.viewedonGte!=null&&(i.viewedon_gte=t.viewedonGte.toISOString().substring(0,10)),t.viewedonLte!=null&&(i.viewedon_lte=t.viewedonLte.toISOString().substring(0,10));const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedRecipeOverviewListFromJSON(u))}async apiRecipeList(t={},r){return await(await this.apiRecipeListRaw(t,r)).value()}async apiRecipeNullingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeNullingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe/{id}/nulling/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiRecipeNullingList(t,r){return await(await this.apiRecipeNullingListRaw(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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:a,query:i,body:PatchedRecipeToJSON(t.patchedRecipe)},r);return new JSONApiResponse(c,u=>RecipeFromJSON(u))}async apiRecipePartialUpdate(t,r){return await(await this.apiRecipePartialUpdateRaw(t,r)).value()}async apiRecipeProtectingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeProtectingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe/{id}/protecting/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiRecipeProtectingList(t,r){return await(await this.apiRecipeProtectingListRaw(t,r)).value()}async apiRecipeRelatedListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiRecipeRelatedList().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new JSONApiResponse(c,u=>u.map(RecipeSimpleFromJSON))}async apiRecipeRelatedList(t,r){return await(await this.apiRecipeRelatedListRaw(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 i={};t.share!=null&&(i.share=t.share);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>RecipeFromJSON(u))}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().');if(t.recipeShoppingUpdate==null)throw new RequiredError("recipeShoppingUpdate",'Required parameter "recipeShoppingUpdate" was null or undefined when calling apiRecipeShoppingUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:RecipeShoppingUpdateToJSON(t.recipeShoppingUpdate)},r);return new JSONApiResponse(c,u=>RecipeShoppingUpdateFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/recipe/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:a,query:i,body:RecipeToJSON(t.recipe)},r);return new JSONApiResponse(c,u=>RecipeFromJSON(u))}async apiRecipeUpdate(t,r){return await(await this.apiRecipeUpdateRaw(t,r)).value()}async apiResetFoodInheritanceCreateRaw(t){const r={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const a=await this.request({path:"/api/reset-food-inheritance/",method:"POST",headers:i,query:r},t);return new VoidApiResponse(a)}async apiResetFoodInheritanceCreate(t){await this.apiResetFoodInheritanceCreateRaw(t)}async apiSearchFieldsListRaw(t){const r={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const a=await this.request({path:"/api/search-fields/",method:"GET",headers:i,query:r},t);return new JSONApiResponse(a,c=>c.map(SearchFieldsFromJSON))}async apiSearchFieldsList(t){return await(await this.apiSearchFieldsListRaw(t)).value()}async apiSearchFieldsRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSearchFieldsRetrieve().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/search-fields/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>SearchFieldsFromJSON(u))}async apiSearchFieldsRetrieve(t,r){return await(await this.apiSearchFieldsRetrieveRaw(t,r)).value()}async apiSearchPreferenceListRaw(t){const r={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const a=await this.request({path:"/api/search-preference/",method:"GET",headers:i,query:r},t);return new JSONApiResponse(a,c=>c.map(SearchPreferenceFromJSON))}async apiSearchPreferenceList(t){return await(await this.apiSearchPreferenceListRaw(t)).value()}async apiSearchPreferencePartialUpdateRaw(t,r){if(t.user==null)throw new RequiredError("user",'Required parameter "user" was null or undefined when calling apiSearchPreferencePartialUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/search-preference/{user}/".replace("{user}",encodeURIComponent(String(t.user))),method:"PATCH",headers:a,query:i,body:PatchedSearchPreferenceToJSON(t.patchedSearchPreference)},r);return new JSONApiResponse(c,u=>SearchPreferenceFromJSON(u))}async apiSearchPreferencePartialUpdate(t,r){return await(await this.apiSearchPreferencePartialUpdateRaw(t,r)).value()}async apiSearchPreferenceRetrieveRaw(t,r){if(t.user==null)throw new RequiredError("user",'Required parameter "user" was null or undefined when calling apiSearchPreferenceRetrieve().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/search-preference/{user}/".replace("{user}",encodeURIComponent(String(t.user))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>SearchPreferenceFromJSON(u))}async apiSearchPreferenceRetrieve(t,r){return await(await this.apiSearchPreferenceRetrieveRaw(t,r)).value()}async apiServerSettingsCurrentRetrieveRaw(t){const r={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const a=await this.request({path:"/api/server-settings/current/",method:"GET",headers:i,query:r},t);return new JSONApiResponse(a,c=>ServerSettingsFromJSON(c))}async apiServerSettingsCurrentRetrieve(t){return await(await this.apiServerSettingsCurrentRetrieveRaw(t)).value()}async apiShareLinkRetrieveRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiShareLinkRetrieve().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new JSONApiResponse(c,u=>ShareLinkFromJSON(u))}async apiShareLinkRetrieve(t,r){return await(await this.apiShareLinkRetrieveRaw(t,r)).value()}async apiShoppingListEntryBulkCreateRaw(t,r){if(t.shoppingListEntryBulk==null)throw new RequiredError("shoppingListEntryBulk",'Required parameter "shoppingListEntryBulk" was null or undefined when calling apiShoppingListEntryBulkCreate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/shopping-list-entry/bulk/",method:"POST",headers:a,query:i,body:ShoppingListEntryBulkToJSON(t.shoppingListEntryBulk)},r);return new JSONApiResponse(c,u=>ShoppingListEntryBulkFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/shopping-list-entry/",method:"POST",headers:a,query:i,body:ShoppingListEntryToJSON(t.shoppingListEntry)},r);return new JSONApiResponse(c,u=>ShoppingListEntryFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new VoidApiResponse(c)}async apiShoppingListEntryDestroy(t,r){await this.apiShoppingListEntryDestroyRaw(t,r)}async apiShoppingListEntryListRaw(t,r){const i={};t.mealplan!=null&&(i.mealplan=t.mealplan),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize),t.updatedAfter!=null&&(i.updated_after=t.updatedAfter.toISOString());const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/shopping-list-entry/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedShoppingListEntryListFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:PatchedShoppingListEntryToJSON(t.patchedShoppingListEntry)},r);return new JSONApiResponse(c,u=>ShoppingListEntryFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new JSONApiResponse(c,u=>ShoppingListEntryFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:ShoppingListEntryToJSON(t.shoppingListEntry)},r);return new JSONApiResponse(c,u=>ShoppingListEntryFromJSON(u))}async apiShoppingListEntryUpdate(t,r){return await(await this.apiShoppingListEntryUpdateRaw(t,r)).value()}async apiShoppingListRecipeBulkCreateEntriesCreateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiShoppingListRecipeBulkCreateEntriesCreate().');if(t.shoppingListEntryBulkCreate==null)throw new RequiredError("shoppingListEntryBulkCreate",'Required parameter "shoppingListEntryBulkCreate" was null or undefined when calling apiShoppingListRecipeBulkCreateEntriesCreate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/shopping-list-recipe/{id}/bulk_create_entries/".replace("{id}",encodeURIComponent(String(t.id))),method:"POST",headers:a,query:i,body:ShoppingListEntryBulkCreateToJSON(t.shoppingListEntryBulkCreate)},r);return new JSONApiResponse(c,u=>ShoppingListEntryBulkCreateFromJSON(u))}async apiShoppingListRecipeBulkCreateEntriesCreate(t,r){return await(await this.apiShoppingListRecipeBulkCreateEntriesCreateRaw(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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/shopping-list-recipe/",method:"POST",headers:a,query:i,body:ShoppingListRecipeToJSON(t.shoppingListRecipe)},r);return new JSONApiResponse(c,u=>ShoppingListRecipeFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new VoidApiResponse(c)}async apiShoppingListRecipeDestroy(t,r){await this.apiShoppingListRecipeDestroyRaw(t,r)}async apiShoppingListRecipeListRaw(t,r){const i={};t.mealplan!=null&&(i.mealplan=t.mealplan),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/shopping-list-recipe/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedShoppingListRecipeListFromJSON(u))}async apiShoppingListRecipeList(t={},r){return await(await this.apiShoppingListRecipeListRaw(t,r)).value()}async apiShoppingListRecipePartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiShoppingListRecipePartialUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:PatchedShoppingListRecipeToJSON(t.patchedShoppingListRecipe)},r);return new JSONApiResponse(c,u=>ShoppingListRecipeFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new JSONApiResponse(c,u=>ShoppingListRecipeFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:ShoppingListRecipeToJSON(t.shoppingListRecipe)},r);return new JSONApiResponse(c,u=>ShoppingListRecipeFromJSON(u))}async apiShoppingListRecipeUpdate(t,r){return await(await this.apiShoppingListRecipeUpdateRaw(t,r)).value()}async apiSpaceCreateRaw(t,r){const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/space/",method:"POST",headers:a,query:i,body:SpaceToJSON(t.space)},r);return new JSONApiResponse(c,u=>SpaceFromJSON(u))}async apiSpaceCreate(t={},r){return await(await this.apiSpaceCreateRaw(t,r)).value()}async apiSpaceCurrentRetrieveRaw(t){const r={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const a=await this.request({path:"/api/space/current/",method:"GET",headers:i,query:r},t);return new JSONApiResponse(a,c=>SpaceFromJSON(c))}async apiSpaceCurrentRetrieve(t){return await(await this.apiSpaceCurrentRetrieveRaw(t)).value()}async apiSpaceListRaw(t,r){const i={};t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/space/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedSpaceListFromJSON(u))}async apiSpaceList(t={},r){return await(await this.apiSpaceListRaw(t,r)).value()}async apiSpacePartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSpacePartialUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/space/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:a,query:i,body:PatchedSpaceToJSON(t.patchedSpace)},r);return new JSONApiResponse(c,u=>SpaceFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/space/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>SpaceFromJSON(u))}async apiSpaceRetrieve(t,r){return await(await this.apiSpaceRetrieveRaw(t,r)).value()}async apiSpaceUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSpaceUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/space/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:a,query:i,body:SpaceToJSON(t.space)},r);return new JSONApiResponse(c,u=>SpaceFromJSON(u))}async apiSpaceUpdate(t,r){return await(await this.apiSpaceUpdateRaw(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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/step/",method:"POST",headers:a,query:i,body:StepToJSON(t.step)},r);return new JSONApiResponse(c,u=>StepFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/step/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:a,query:i},r);return new VoidApiResponse(c)}async apiStepDestroy(t,r){await this.apiStepDestroyRaw(t,r)}async apiStepListRaw(t,r){const i={};t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize),t.query!=null&&(i.query=t.query),t.recipe!=null&&(i.recipe=t.recipe);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/step/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedStepListFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/step/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:a,query:i,body:PatchedStepToJSON(t.patchedStep)},r);return new JSONApiResponse(c,u=>StepFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/step/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>StepFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/step/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:a,query:i,body:StepToJSON(t.step)},r);return new JSONApiResponse(c,u=>StepFromJSON(u))}async apiStepUpdate(t,r){return await(await this.apiStepUpdateRaw(t,r)).value()}async apiStorageCascadingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiStorageCascadingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/storage/{id}/cascading/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiStorageCascadingList(t,r){return await(await this.apiStorageCascadingListRaw(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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/storage/",method:"POST",headers:a,query:i,body:StorageToJSON(t.storage)},r);return new JSONApiResponse(c,u=>StorageFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/storage/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:a,query:i},r);return new VoidApiResponse(c)}async apiStorageDestroy(t,r){await this.apiStorageDestroyRaw(t,r)}async apiStorageListRaw(t,r){const i={};t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/storage/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedStorageListFromJSON(u))}async apiStorageList(t={},r){return await(await this.apiStorageListRaw(t,r)).value()}async apiStorageNullingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiStorageNullingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/storage/{id}/nulling/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiStorageNullingList(t,r){return await(await this.apiStorageNullingListRaw(t,r)).value()}async apiStoragePartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiStoragePartialUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/storage/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:a,query:i,body:PatchedStorageToJSON(t.patchedStorage)},r);return new JSONApiResponse(c,u=>StorageFromJSON(u))}async apiStoragePartialUpdate(t,r){return await(await this.apiStoragePartialUpdateRaw(t,r)).value()}async apiStorageProtectingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiStorageProtectingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/storage/{id}/protecting/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiStorageProtectingList(t,r){return await(await this.apiStorageProtectingListRaw(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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/storage/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>StorageFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/storage/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:a,query:i,body:StorageToJSON(t.storage)},r);return new JSONApiResponse(c,u=>StorageFromJSON(u))}async apiStorageUpdate(t,r){return await(await this.apiStorageUpdateRaw(t,r)).value()}async apiSupermarketCascadingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSupermarketCascadingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/supermarket/{id}/cascading/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiSupermarketCascadingList(t,r){return await(await this.apiSupermarketCascadingListRaw(t,r)).value()}async apiSupermarketCategoryCascadingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSupermarketCategoryCascadingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/supermarket-category/{id}/cascading/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiSupermarketCategoryCascadingList(t,r){return await(await this.apiSupermarketCategoryCascadingListRaw(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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/supermarket-category/",method:"POST",headers:a,query:i,body:SupermarketCategoryToJSON(t.supermarketCategory)},r);return new JSONApiResponse(c,u=>SupermarketCategoryFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new VoidApiResponse(c)}async apiSupermarketCategoryDestroy(t,r){await this.apiSupermarketCategoryDestroyRaw(t,r)}async apiSupermarketCategoryListRaw(t,r){const i={};t.limit!=null&&(i.limit=t.limit),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize),t.query!=null&&(i.query=t.query),t.random!=null&&(i.random=t.random),t.updatedAt!=null&&(i.updated_at=t.updatedAt);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/supermarket-category/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedSupermarketCategoryListFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:SupermarketCategoryToJSON(t.supermarketCategory)},r);return new JSONApiResponse(c,u=>SupermarketCategoryFromJSON(u))}async apiSupermarketCategoryMergeUpdate(t,r){return await(await this.apiSupermarketCategoryMergeUpdateRaw(t,r)).value()}async apiSupermarketCategoryNullingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSupermarketCategoryNullingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/supermarket-category/{id}/nulling/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiSupermarketCategoryNullingList(t,r){return await(await this.apiSupermarketCategoryNullingListRaw(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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:PatchedSupermarketCategoryToJSON(t.patchedSupermarketCategory)},r);return new JSONApiResponse(c,u=>SupermarketCategoryFromJSON(u))}async apiSupermarketCategoryPartialUpdate(t,r){return await(await this.apiSupermarketCategoryPartialUpdateRaw(t,r)).value()}async apiSupermarketCategoryProtectingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSupermarketCategoryProtectingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/supermarket-category/{id}/protecting/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiSupermarketCategoryProtectingList(t,r){return await(await this.apiSupermarketCategoryProtectingListRaw(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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/supermarket-category-relation/",method:"POST",headers:a,query:i,body:SupermarketCategoryRelationToJSON(t.supermarketCategoryRelation)},r);return new JSONApiResponse(c,u=>SupermarketCategoryRelationFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new VoidApiResponse(c)}async apiSupermarketCategoryRelationDestroy(t,r){await this.apiSupermarketCategoryRelationDestroyRaw(t,r)}async apiSupermarketCategoryRelationListRaw(t,r){const i={};t.limit!=null&&(i.limit=t.limit),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize),t.query!=null&&(i.query=t.query),t.random!=null&&(i.random=t.random),t.updatedAt!=null&&(i.updated_at=t.updatedAt);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/supermarket-category-relation/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedSupermarketCategoryRelationListFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:PatchedSupermarketCategoryRelationToJSON(t.patchedSupermarketCategoryRelation)},r);return new JSONApiResponse(c,u=>SupermarketCategoryRelationFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new JSONApiResponse(c,u=>SupermarketCategoryRelationFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:SupermarketCategoryRelationToJSON(t.supermarketCategoryRelation)},r);return new JSONApiResponse(c,u=>SupermarketCategoryRelationFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new JSONApiResponse(c,u=>SupermarketCategoryFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:SupermarketCategoryToJSON(t.supermarketCategory)},r);return new JSONApiResponse(c,u=>SupermarketCategoryFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/supermarket/",method:"POST",headers:a,query:i,body:SupermarketToJSON(t.supermarket)},r);return new JSONApiResponse(c,u=>SupermarketFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/supermarket/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:a,query:i},r);return new VoidApiResponse(c)}async apiSupermarketDestroy(t,r){await this.apiSupermarketDestroyRaw(t,r)}async apiSupermarketListRaw(t,r){const i={};t.limit!=null&&(i.limit=t.limit),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize),t.query!=null&&(i.query=t.query),t.random!=null&&(i.random=t.random),t.updatedAt!=null&&(i.updated_at=t.updatedAt);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/supermarket/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedSupermarketListFromJSON(u))}async apiSupermarketList(t={},r){return await(await this.apiSupermarketListRaw(t,r)).value()}async apiSupermarketNullingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSupermarketNullingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/supermarket/{id}/nulling/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiSupermarketNullingList(t,r){return await(await this.apiSupermarketNullingListRaw(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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/supermarket/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:a,query:i,body:PatchedSupermarketToJSON(t.patchedSupermarket)},r);return new JSONApiResponse(c,u=>SupermarketFromJSON(u))}async apiSupermarketPartialUpdate(t,r){return await(await this.apiSupermarketPartialUpdateRaw(t,r)).value()}async apiSupermarketProtectingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSupermarketProtectingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/supermarket/{id}/protecting/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiSupermarketProtectingList(t,r){return await(await this.apiSupermarketProtectingListRaw(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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/supermarket/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>SupermarketFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/supermarket/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:a,query:i,body:SupermarketToJSON(t.supermarket)},r);return new JSONApiResponse(c,u=>SupermarketFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new VoidApiResponse(c)}async apiSwitchActiveSpaceRetrieve(t,r){await this.apiSwitchActiveSpaceRetrieveRaw(t,r)}async apiSyncCascadingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSyncCascadingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/sync/{id}/cascading/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiSyncCascadingList(t,r){return await(await this.apiSyncCascadingListRaw(t,r)).value()}async apiSyncCreateRaw(t,r){if(t.sync==null)throw new RequiredError("sync",'Required parameter "sync" was null or undefined when calling apiSyncCreate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/sync/",method:"POST",headers:a,query:i,body:SyncToJSON(t.sync)},r);return new JSONApiResponse(c,u=>SyncFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/sync/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:a,query:i},r);return new VoidApiResponse(c)}async apiSyncDestroy(t,r){await this.apiSyncDestroyRaw(t,r)}async apiSyncListRaw(t,r){const i={};t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/sync/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedSyncListFromJSON(u))}async apiSyncList(t={},r){return await(await this.apiSyncListRaw(t,r)).value()}async apiSyncLogListRaw(t,r){const i={};t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/sync-log/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedSyncLogListFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new JSONApiResponse(c,u=>SyncLogFromJSON(u))}async apiSyncLogRetrieve(t,r){return await(await this.apiSyncLogRetrieveRaw(t,r)).value()}async apiSyncNullingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSyncNullingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/sync/{id}/nulling/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiSyncNullingList(t,r){return await(await this.apiSyncNullingListRaw(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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/sync/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:a,query:i,body:PatchedSyncToJSON(t.patchedSync)},r);return new JSONApiResponse(c,u=>SyncFromJSON(u))}async apiSyncPartialUpdate(t,r){return await(await this.apiSyncPartialUpdateRaw(t,r)).value()}async apiSyncProtectingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSyncProtectingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/sync/{id}/protecting/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiSyncProtectingList(t,r){return await(await this.apiSyncProtectingListRaw(t,r)).value()}async apiSyncQuerySyncedFolderCreateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiSyncQuerySyncedFolderCreate().');if(t.sync==null)throw new RequiredError("sync",'Required parameter "sync" was null or undefined when calling apiSyncQuerySyncedFolderCreate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/sync/{id}/query_synced_folder/".replace("{id}",encodeURIComponent(String(t.id))),method:"POST",headers:a,query:i,body:SyncToJSON(t.sync)},r);return new JSONApiResponse(c,u=>SyncLogFromJSON(u))}async apiSyncQuerySyncedFolderCreate(t,r){return await(await this.apiSyncQuerySyncedFolderCreateRaw(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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/sync/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>SyncFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/sync/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:a,query:i,body:SyncToJSON(t.sync)},r);return new JSONApiResponse(c,u=>SyncFromJSON(u))}async apiSyncUpdate(t,r){return await(await this.apiSyncUpdateRaw(t,r)).value()}async apiUnitCascadingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUnitCascadingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/unit/{id}/cascading/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiUnitCascadingList(t,r){return await(await this.apiUnitCascadingListRaw(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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/unit-conversion/",method:"POST",headers:a,query:i,body:UnitConversionToJSON(t.unitConversion)},r);return new JSONApiResponse(c,u=>UnitConversionFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new VoidApiResponse(c)}async apiUnitConversionDestroy(t,r){await this.apiUnitConversionDestroyRaw(t,r)}async apiUnitConversionListRaw(t,r){const i={};t.foodId!=null&&(i.food_id=t.foodId),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize),t.query!=null&&(i.query=t.query);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/unit-conversion/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedUnitConversionListFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:PatchedUnitConversionToJSON(t.patchedUnitConversion)},r);return new JSONApiResponse(c,u=>UnitConversionFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new JSONApiResponse(c,u=>UnitConversionFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:UnitConversionToJSON(t.unitConversion)},r);return new JSONApiResponse(c,u=>UnitConversionFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/unit/",method:"POST",headers:a,query:i,body:UnitToJSON(t.unit)},r);return new JSONApiResponse(c,u=>UnitFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/unit/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"DELETE",headers:a,query:i},r);return new VoidApiResponse(c)}async apiUnitDestroy(t,r){await this.apiUnitDestroyRaw(t,r)}async apiUnitListRaw(t,r){const i={};t.limit!=null&&(i.limit=t.limit),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize),t.query!=null&&(i.query=t.query),t.random!=null&&(i.random=t.random),t.updatedAt!=null&&(i.updated_at=t.updatedAt);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/unit/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedUnitListFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:UnitToJSON(t.unit)},r);return new JSONApiResponse(c,u=>UnitFromJSON(u))}async apiUnitMergeUpdate(t,r){return await(await this.apiUnitMergeUpdateRaw(t,r)).value()}async apiUnitNullingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUnitNullingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/unit/{id}/nulling/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiUnitNullingList(t,r){return await(await this.apiUnitNullingListRaw(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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/unit/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:a,query:i,body:PatchedUnitToJSON(t.patchedUnit)},r);return new JSONApiResponse(c,u=>UnitFromJSON(u))}async apiUnitPartialUpdate(t,r){return await(await this.apiUnitPartialUpdateRaw(t,r)).value()}async apiUnitProtectingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUnitProtectingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/unit/{id}/protecting/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiUnitProtectingList(t,r){return await(await this.apiUnitProtectingListRaw(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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/unit/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>UnitFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/unit/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:a,query:i,body:UnitToJSON(t.unit)},r);return new JSONApiResponse(c,u=>UnitFromJSON(u))}async apiUnitUpdate(t,r){return await(await this.apiUnitUpdateRaw(t,r)).value()}async apiUserFileCascadingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUserFileCascadingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/user-file/{id}/cascading/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiUserFileCascadingList(t,r){return await(await this.apiUserFileCascadingListRaw(t,r)).value()}async apiUserFileCreateRaw(t,r){if(t.name==null)throw new RequiredError("name",'Required parameter "name" 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().');if(t.createdBy==null)throw new RequiredError("createdBy",'Required parameter "createdBy" was null or undefined when calling apiUserFileCreate().');if(t.createdAt==null)throw new RequiredError("createdAt",'Required parameter "createdAt" was null or undefined when calling apiUserFileCreate().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization")),canConsumeForm([{contentType:"multipart/form-data"}]);let u;u=new URLSearchParams,t.id!=null&&u.append("id",t.id),t.name!=null&&u.append("name",t.name),t.file!=null&&u.append("file",t.file),t.fileDownload!=null&&u.append("file_download",t.fileDownload),t.preview!=null&&u.append("preview",t.preview),t.fileSizeKb!=null&&u.append("file_size_kb",t.fileSizeKb),t.createdBy!=null&&u.append("created_by",new Blob([JSON.stringify(UserToJSON(t.createdBy))],{type:"application/json"})),t.createdAt!=null&&u.append("created_at",t.createdAt);const d=await this.request({path:"/api/user-file/",method:"POST",headers:a,query:i,body:u},r);return new JSONApiResponse(d,f=>UserFileFromJSON(f))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new VoidApiResponse(c)}async apiUserFileDestroy(t,r){await this.apiUserFileDestroyRaw(t,r)}async apiUserFileListRaw(t,r){const i={};t.limit!=null&&(i.limit=t.limit),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize),t.query!=null&&(i.query=t.query),t.random!=null&&(i.random=t.random),t.updatedAt!=null&&(i.updated_at=t.updatedAt);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/user-file/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedUserFileListFromJSON(u))}async apiUserFileList(t={},r){return await(await this.apiUserFileListRaw(t,r)).value()}async apiUserFileNullingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUserFileNullingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/user-file/{id}/nulling/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiUserFileNullingList(t,r){return await(await this.apiUserFileNullingListRaw(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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization")),canConsumeForm([{contentType:"multipart/form-data"}]);let u;u=new URLSearchParams,t.id2!=null&&u.append("id",t.id2),t.name!=null&&u.append("name",t.name),t.file!=null&&u.append("file",t.file),t.fileDownload!=null&&u.append("file_download",t.fileDownload),t.preview!=null&&u.append("preview",t.preview),t.fileSizeKb!=null&&u.append("file_size_kb",t.fileSizeKb),t.createdBy!=null&&u.append("created_by",new Blob([JSON.stringify(UserToJSON(t.createdBy))],{type:"application/json"})),t.createdAt!=null&&u.append("created_at",t.createdAt);const d=await this.request({path:"/api/user-file/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:a,query:i,body:u},r);return new JSONApiResponse(d,f=>UserFileFromJSON(f))}async apiUserFilePartialUpdate(t,r){return await(await this.apiUserFilePartialUpdateRaw(t,r)).value()}async apiUserFileProtectingListRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUserFileProtectingList().');const i={};t.cache!=null&&(i.cache=t.cache),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/user-file/{id}/protecting/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedGenericModelReferenceListFromJSON(u))}async apiUserFileProtectingList(t,r){return await(await this.apiUserFileProtectingListRaw(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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new JSONApiResponse(c,u=>UserFileFromJSON(u))}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.name==null)throw new RequiredError("name",'Required parameter "name" 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().');if(t.createdBy==null)throw new RequiredError("createdBy",'Required parameter "createdBy" was null or undefined when calling apiUserFileUpdate().');if(t.createdAt==null)throw new RequiredError("createdAt",'Required parameter "createdAt" was null or undefined when calling apiUserFileUpdate().');const i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization")),canConsumeForm([{contentType:"multipart/form-data"}]);let u;u=new URLSearchParams,t.id2!=null&&u.append("id",t.id2),t.name!=null&&u.append("name",t.name),t.file!=null&&u.append("file",t.file),t.fileDownload!=null&&u.append("file_download",t.fileDownload),t.preview!=null&&u.append("preview",t.preview),t.fileSizeKb!=null&&u.append("file_size_kb",t.fileSizeKb),t.createdBy!=null&&u.append("created_by",new Blob([JSON.stringify(UserToJSON(t.createdBy))],{type:"application/json"})),t.createdAt!=null&&u.append("created_at",t.createdAt);const d=await this.request({path:"/api/user-file/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:a,query:i,body:u},r);return new JSONApiResponse(d,f=>UserFileFromJSON(f))}async apiUserFileUpdate(t,r){return await(await this.apiUserFileUpdateRaw(t,r)).value()}async apiUserListRaw(t,r){const i={};t.filterList!=null&&(i.filter_list=t.filterList);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/user/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>u.map(UserFromJSON))}async apiUserList(t={},r){return await(await this.apiUserListRaw(t,r)).value()}async apiUserPartialUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUserPartialUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/user/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PATCH",headers:a,query:i,body:PatchedUserToJSON(t.patchedUser)},r);return new JSONApiResponse(c,u=>UserFromJSON(u))}async apiUserPartialUpdate(t,r){return await(await this.apiUserPartialUpdateRaw(t,r)).value()}async apiUserPreferenceListRaw(t){const r={},i={};this.configuration&&this.configuration.apiKey&&(i.Authorization=await this.configuration.apiKey("Authorization"));const a=await this.request({path:"/api/user-preference/",method:"GET",headers:i,query:r},t);return new JSONApiResponse(a,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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:PatchedUserPreferenceToJSON(t.patchedUserPreference)},r);return new JSONApiResponse(c,u=>UserPreferenceFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new JSONApiResponse(c,u=>UserPreferenceFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/user/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>UserFromJSON(u))}async apiUserRetrieve(t,r){return await(await this.apiUserRetrieveRaw(t,r)).value()}async apiUserSpaceAllPersonalListRaw(t,r){const i={};t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/user-space/all_personal/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedUserSpaceListFromJSON(u))}async apiUserSpaceAllPersonalList(t={},r){return await(await this.apiUserSpaceAllPersonalListRaw(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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new VoidApiResponse(c)}async apiUserSpaceDestroy(t,r){await this.apiUserSpaceDestroyRaw(t,r)}async apiUserSpaceListRaw(t,r){const i={};t.internalNote!=null&&(i.internal_note=t.internalNote),t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/user-space/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedUserSpaceListFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:PatchedUserSpaceToJSON(t.patchedUserSpace)},r);return new JSONApiResponse(c,u=>UserSpaceFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new JSONApiResponse(c,u=>UserSpaceFromJSON(u))}async apiUserSpaceRetrieve(t,r){return await(await this.apiUserSpaceRetrieveRaw(t,r)).value()}async apiUserSpaceUpdateRaw(t,r){if(t.id==null)throw new RequiredError("id",'Required parameter "id" was null or undefined when calling apiUserSpaceUpdate().');if(t.userSpace==null)throw new RequiredError("userSpace",'Required parameter "userSpace" was null or undefined when calling apiUserSpaceUpdate().');const i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/user-space/{id}/".replace("{id}",encodeURIComponent(String(t.id))),method:"PUT",headers:a,query:i,body:UserSpaceToJSON(t.userSpace)},r);return new JSONApiResponse(c,u=>UserSpaceFromJSON(u))}async apiUserSpaceUpdate(t,r){return await(await this.apiUserSpaceUpdateRaw(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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/view-log/",method:"POST",headers:a,query:i,body:ViewLogToJSON(t.viewLog)},r);return new JSONApiResponse(c,u=>ViewLogFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new VoidApiResponse(c)}async apiViewLogDestroy(t,r){await this.apiViewLogDestroyRaw(t,r)}async apiViewLogListRaw(t,r){const i={};t.page!=null&&(i.page=t.page),t.pageSize!=null&&(i.page_size=t.pageSize);const a={};this.configuration&&this.configuration.apiKey&&(a.Authorization=await this.configuration.apiKey("Authorization"));const c=await this.request({path:"/api/view-log/",method:"GET",headers:a,query:i},r);return new JSONApiResponse(c,u=>PaginatedViewLogListFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:PatchedViewLogToJSON(t.patchedViewLog)},r);return new JSONApiResponse(c,u=>ViewLogFromJSON(u))}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 i={},a={};this.configuration&&this.configuration.apiKey&&(a.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:a,query:i},r);return new JSONApiResponse(c,u=>ViewLogFromJSON(u))}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 i={},a={};a["Content-Type"]="application/json",this.configuration&&this.configuration.apiKey&&(a.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:a,query:i,body:ViewLogToJSON(t.viewLog)},r);return new JSONApiResponse(c,u=>ViewLogFromJSON(u))}async apiViewLogUpdate(t,r){return await(await this.apiViewLogUpdateRaw(t,r)).value()}}function useToggleScope(e,t){let r;function i(){r=effectScope(),r.run(()=>t.length?t(()=>{r?.stop(),i()}):t())}watch(e,a=>{a&&!r?i():a||(r?.stop(),r=void 0)},{immediate:!0}),onScopeDispose(()=>{r?.stop()})}const IN_BROWSER=typeof window<"u",SUPPORTS_INTERSECTION=IN_BROWSER&&"IntersectionObserver"in window,SUPPORTS_TOUCH=IN_BROWSER&&("ontouchstart"in window||window.navigator.maxTouchPoints>0),SUPPORTS_EYE_DROPPER=IN_BROWSER&&"EyeDropper"in window,SUPPORTS_MATCH_MEDIA=IN_BROWSER&&"matchMedia"in window&&typeof window.matchMedia=="function";function _classPrivateFieldInitSpec(e,t,r){_checkPrivateRedeclaration(e,t),t.set(e,r)}function _checkPrivateRedeclaration(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function _classPrivateFieldSet(e,t,r){return e.set(_assertClassBrand(e,t),r),r}function _classPrivateFieldGet(e,t){return e.get(_assertClassBrand(e,t))}function _assertClassBrand(e,t,r){if(typeof e=="function"?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}function getNestedValue(e,t,r){const i=t.length-1;if(i<0)return e===void 0?r:e;for(let a=0;a<i;a++){if(e==null)return r;e=e[t[a]]}return e==null||e[t[i]]===void 0?r:e[t[i]]}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(i=>deepEqual(e[i],t[i]))}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 a=t(e,r);return typeof a>"u"?r:a}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 i=t(e,r);return typeof i>"u"?r:i}function createRange(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:e},(r,i)=>t+i)}function convertToUnit(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(e==null||e==="")return;const r=Number(e);return isNaN(r)?String(e):isFinite(r)?`${r}${t}`:void 0}function isObject$3(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function isPlainObject$1(e){let t;return e!==null&&typeof e=="object"&&((t=Object.getPrototypeOf(e))===Object.prototype||t===null)}function refElement(e){if(e&&"$el"in e){const t=e.$el;return t?.nodeType===Node.TEXT_NODE?t.nextElementSibling:t}return e}const keyValues=Object.freeze({enter:"Enter",tab:"Tab",delete:"Delete",esc:"Escape",space:"Space",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",end:"End",home:"Home",del:"Delete",backspace:"Backspace",insert:"Insert",pageup:"PageUp",pagedown:"PageDown",shift:"Shift"});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={};for(const i of t)Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=e[i]);return r}function pickWithRest(e,t,r){const i=Object.create(null),a=Object.create(null);for(const c in e)t.some(u=>u instanceof RegExp?u.test(c):u===c)?i[c]=e[c]:a[c]=e[c];return[i,a]}function omit(e,t){const r={...e};return t.forEach(i=>delete r[i]),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]),i=omit(t,bubblingEvents),[a,c]=pickWithRest(r,["class","style","id",/^data-/]);return Object.assign(a,t),Object.assign(c,i),[a,c]}function wrapInArray(e){return e==null?[]:Array.isArray(e)?e:[e]}function debounce$1(e,t){let r=0;const i=function(){for(var a=arguments.length,c=new Array(a),u=0;u<a;u++)c[u]=arguments[u];clearTimeout(r),r=setTimeout(()=>e(...c),unref(t))};return i.clear=()=>{clearTimeout(r)},i.immediate=e,i}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 getDecimals(e){const t=e.toString().trim();return t.includes(".")?t.length-t.indexOf(".")-1:0}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 i=0;for(;i<e.length;)r.push(e.substr(i,t)),i+=t;return r}function humanReadableFileSize(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1e3;if(e<t)return`${e} B`;const r=t===1024?["Ki","Mi","Gi"]:["k","M","G"];let i=-1;for(;Math.abs(e)>=t&&i<r.length-1;)e/=t,++i;return`${e.toFixed(1)} ${r[i]}B`}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 i={};for(const a in e)i[a]=e[a];for(const a in t){const c=e[a],u=t[a];if(isPlainObject$1(c)&&isPlainObject$1(u)){i[a]=mergeDeep(c,u,r);continue}if(r&&Array.isArray(c)&&Array.isArray(u)){i[a]=r(c,u);continue}i[a]=u}return i}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(t.suspense)return findChildrenWithProvide(e,t.ssContent);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[]}var _arr=new WeakMap,_pointer=new WeakMap;class CircularBuffer{constructor(t){_classPrivateFieldInitSpec(this,_arr,[]),_classPrivateFieldInitSpec(this,_pointer,0),this.size=t}get isFull(){return _classPrivateFieldGet(_arr,this).length===this.size}push(t){_classPrivateFieldGet(_arr,this)[_classPrivateFieldGet(_pointer,this)]=t,_classPrivateFieldSet(_pointer,this,(_classPrivateFieldGet(_pointer,this)+1)%this.size)}values(){return _classPrivateFieldGet(_arr,this).slice(_classPrivateFieldGet(_pointer,this)).concat(_classPrivateFieldGet(_arr,this).slice(0,_classPrivateFieldGet(_pointer,this)))}clear(){_classPrivateFieldGet(_arr,this).length=0,_classPrivateFieldSet(_pointer,this,0)}}function getEventCoordinates(e){return"touches"in e?{clientX:e.touches[0].clientX,clientY:e.touches[0].clientY}:{clientX:e.clientX,clientY:e.clientY}}function destructComputed(e){const t=reactive({});watchEffect(()=>{const i=e();for(const a in i)t[a]=i[a]},{flush:"sync"});const r={};for(const i in t)r[i]=toRef$2(()=>t[i]);return r}function includes(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$1(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),i=1;i<t;i++)r[i-1]=arguments[i];if(Array.isArray(e))for(const a of e)a(...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(i=>`${i}${t?':not([tabindex="-1"])':""}:not([disabled])`).join(", ");return[...e.querySelectorAll(r)]}function getNextElement(e,t,r){let i,a=e.indexOf(document.activeElement);const c=t==="next"?1:-1;do a+=c,i=e[a];while((!i||i.offsetParent==null||!(r?.(i)??!0))&&a<e.length&&a>=0);return i}function focusChild(e,t){const r=focusableChildren(e);if(t==null)(e===document.activeElement||!e.contains(document.activeElement))&&r[0]?.focus();else if(t==="first")r[0]?.focus();else if(t==="last")r.at(-1)?.focus();else if(typeof t=="number")r[t]?.focus();else{const i=getNextElement(r,t);i?i.focus():focusChild(e,t==="next"?"first":"last")}}function isEmpty(e){return e==null||typeof e=="string"&&e.trim()===""}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$1(t)?t.type===Comment$1?!1:t.type!==Fragment||ensureValidVNode(t.children):!0)?e:null}function renderSlot(e,t,r){return e?.(t)??r?.(t)}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,i=e.clientY,a=t.getBoundingClientRect(),c=a.left,u=a.top,d=a.right,f=a.bottom;return r>=c&&r<=d&&i>=u&&i<=f}function templateRef(){const e=shallowRef(),t=r=>{e.value=r};return Object.defineProperty(t,"value",{enumerable:!0,get:()=>e.value,set:r=>e.value=r}),Object.defineProperty(t,"el",{enumerable:!0,get:()=>refElement(e.value)}),t}function checkPrintable(e){const t=e.key.length===1,r=!e.ctrlKey&&!e.metaKey&&!e.altKey;return t&&r}function isPrimitive(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="bigint"}function escapeForRegex(e){return"\\^$*+?.()|{}[]".includes(e)?`\\${e}`:e}function extractNumber(e,t,r){const i=new RegExp(`[\\d\\-${escapeForRegex(r)}]`),a=e.split("").filter(u=>i.test(u)).filter((u,d,f)=>d===0&&/[-]/.test(u)||u===r&&d===f.indexOf(u)||/\d/.test(u)).join("");if(t===0)return a.split(r)[0];const c=new RegExp(`${escapeForRegex(r)}\\d`);if(t!==null&&c.test(a)){const u=a.split(r);return[u[0],u[1].substring(0,t)].join(r)}return a}function camelizeProps(e){const t={};for(const r in e)t[camelize(r)]=e[r];return t}function onlyDefinedProps(e){const t=["checked","disabled"];return Object.fromEntries(Object.entries(e).filter(r=>{let[i,a]=r;return t.includes(i)?!!a:a!==void 0}))}const block=["top","bottom"],inline=["start","end","left","right"];function parseAnchor(e,t){let[r,i]=e.split(" ");return i||(i=includes(block,r)?"start":includes(inline,r)?"top":"center"),{side:toPhysical(r,t),align:toPhysical(i,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(block,e.side)?"y":"x"}class Box{constructor(t){let{x:r,y:i,width:a,height:c}=t;this.x=r,this.y=i,this.width=a,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 getElementBox(e){if(e===document.documentElement)return visualViewport?new Box({x:visualViewport.scale>1?0:visualViewport.offsetLeft,y:visualViewport.scale>1?0:visualViewport.offsetTop,width:visualViewport.width*visualViewport.scale,height:visualViewport.height*visualViewport.scale}):new Box({x:0,y:0,width:document.documentElement.clientWidth,height:document.documentElement.clientHeight});{const t=e.getBoundingClientRect();return new Box({x:t.x,y:t.y,width:e.clientWidth,height:e.clientHeight})}}function nullifyTransforms(e){const t=e.getBoundingClientRect(),r=getComputedStyle(e),i=r.transform;if(i){let a,c,u,d,f;if(i.startsWith("matrix3d("))a=i.slice(9,-1).split(/, /),c=Number(a[0]),u=Number(a[5]),d=Number(a[12]),f=Number(a[13]);else if(i.startsWith("matrix("))a=i.slice(7,-1).split(/, /),c=Number(a[0]),u=Number(a[3]),d=Number(a[4]),f=Number(a[5]);else return new Box(t);const m=r.transformOrigin,y=t.x-d-(1-c)*parseFloat(m),v=t.y-f-(1-u)*parseFloat(m.slice(m.indexOf(" ")+1)),w=c?t.width/c:e.offsetWidth+1,_=u?t.height/u:e.offsetHeight+1;return new Box({x:y,y:v,width:w,height:_})}else return new Box(t)}function animate(e,t,r){if(typeof e.animate>"u")return{finished:Promise.resolve()};let i;try{i=e.animate(t,r)}catch{return{finished:Promise.resolve()}}return typeof i.finished>"u"&&(i.finished=new Promise(a=>{i.onfinish=()=>{a(i)}})),i}const handlers$1=new WeakMap;function bindProps(e,t){Object.keys(t).forEach(r=>{if(isOn(r)){const i=eventName(r),a=handlers$1.get(e);if(t[r]==null)a?.forEach(c=>{const[u,d]=c;u===i&&(e.removeEventListener(i,d),a.delete(c))});else if(!a||![...a].some(c=>c[0]===i&&c[1]===t[r])){e.addEventListener(i,t[r]);const c=a||new Set;c.add([i,t[r]]),handlers$1.has(e)||handlers$1.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 i=eventName(r),a=handlers$1.get(e);a?.forEach(c=>{const[u,d]=c;u===i&&(e.removeEventListener(i,d),a.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,i=(e.g/255)**mainTRC,a=(e.b/255)**mainTRC,c=(t.r/255)**mainTRC,u=(t.g/255)**mainTRC,d=(t.b/255)**mainTRC;let f=r*Rco+i*Gco+a*Bco,m=c*Rco+u*Gco+d*Bco;if(f<=blkThrs&&(f+=(blkThrs-f)**blkClmp),m<=blkThrs&&(m+=(blkThrs-m)**blkClmp),Math.abs(m-f)<deltaYmin)return 0;let y;if(m>f){const v=(m**normBG-f**normTXT)*scaleBoW;y=v<loClip?0:v<loConThresh?v-v*loConFactor*loConOffset:v-loConOffset}else{const v=(m**revBG-f**revTXT)*scaleWoB;y=v>-loClip?0:v>-loConThresh?v-v*loConFactor*loConOffset:v+loConOffset}return y*100}function consoleWarn(e){}function consoleError(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,i=srgbForwardMatrix;for(let a=0;a<3;++a)t[a]=Math.round(clamp(r(i[a][0]*e[0]+i[a][1]*e[1]+i[a][2]*e[2]))*255);return{r:t[0],g:t[1],b:t[2]}}function toXYZ(e){let{r:t,g:r,b:i}=e;const a=[0,0,0],c=srgbReverseTransform,u=srgbReverseMatrix;t=c(t/255),r=c(r/255),i=c(i/255);for(let d=0;d<3;++d)a[d]=u[d][0]*t+u[d][1]*r+u[d][2]*i;return a}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,i)=>({r:e,g:t,b:r,a:i}),rgba:(e,t,r,i)=>({r:e,g:t,b:r,a:i}),hsl:(e,t,r,i)=>HSLtoRGB({h:e,s:t,l:r,a:i}),hsla:(e,t,r,i)=>HSLtoRGB({h:e,s:t,l:r,a:i}),hsv:(e,t,r,i)=>HSVtoRGB({h:e,s:t,v:r,a:i}),hsva:(e,t,r,i)=>HSVtoRGB({h:e,s:t,v:r,a:i})};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:i}=t,a=i.split(/,\s*|\s*\/\s*|\s+/).map((c,u)=>c.endsWith("%")||u>0&&u<3&&["hsl","hsla","hsv","hsva"].includes(r)?parseFloat(c)/100:parseFloat(c));return mappers[r](...a)}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:i,a}=e,c=d=>{const f=(d+t/60)%6;return i-i*r*Math.max(Math.min(f,4-f,1),0)},u=[c(5),c(3),c(1)].map(d=>Math.round(d*255));return{r:u[0],g:u[1],b:u[2],a}}function HSLtoRGB(e){return HSVtoRGB(HSLtoHSV(e))}function RGBtoHSV(e){if(!e)return{h:0,s:1,v:1,a:1};const t=e.r/255,r=e.g/255,i=e.b/255,a=Math.max(t,r,i),c=Math.min(t,r,i);let u=0;a!==c&&(a===t?u=60*(0+(r-i)/(a-c)):a===r?u=60*(2+(i-t)/(a-c)):a===i&&(u=60*(4+(t-r)/(a-c)))),u<0&&(u=u+360);const d=a===0?0:(a-c)/a,f=[u,d,a];return{h:f[0],s:f[1],v:f[2],a:e.a}}function HSVtoHSL(e){const{h:t,s:r,v:i,a}=e,c=i-i*r/2,u=c===1||c===0?0:(i-c)/Math.min(c,1-c);return{h:t,s:u,l:c,a}}function HSLtoHSV(e){const{h:t,s:r,l:i,a}=e,c=i+r*Math.min(i,1-i),u=c===0?0:2-2*i/c;return{h:t,s:u,v:c,a}}function RGBtoCSS(e){let{r:t,g:r,b:i,a}=e;return a===void 0?`rgb(${t}, ${r}, ${i})`:`rgba(${t}, ${r}, ${i}, ${a})`}function HSVtoCSS(e){return RGBtoCSS(HSVtoRGB(e))}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:i,a}=e;return`#${[toHex(t),toHex(r),toHex(i),a!==void 0?toHex(Math.round(a*255)):""].join("")}`}function HexToRGB(e){e=parseHex(e);let[t,r,i,a]=chunk(e,2).map(c=>parseInt(c,16));return a=a===void 0?a:a/255,{r:t,g:r,b:i,a}}function HexToHSV(e){const t=HexToRGB(e);return RGBtoHSV(t)}function HSVtoHex(e){return RGBtoHex(HSVtoRGB(e))}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 getContrast(e,t){const r=getLuma(e),i=getLuma(t),a=Math.max(r,i),c=Math.min(r,i);return(a+.05)/(c+.05)}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((i,a)=>{const u=typeof e[a]=="object"&&e[a]!=null&&!Array.isArray(e[a])?e[a]:{type:e[a]};return r&&a in r?i[a]={...u,default:r[a]}:i[a]=u,t&&!i[a].source&&(i[a].source=t),i},{})}const makeComponentProps=propsFactory({class:[String,Array,Object],style:{type:[String,Array,Object],default:null}},"component");function getCurrentInstance(e,t){const r=getCurrentInstance$1();if(!r)throw new Error(`[Vuetify] ${e} 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?.aliasName||t?.name)}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]}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(),i=ref(e),a=computed(()=>{if(unref(t?.disabled))return r.value;const u=unref(t?.scoped),d=unref(t?.reset),f=unref(t?.root);if(i.value==null&&!(u||d||f))return r.value;let m=mergeDeep(i.value,{prev:r.value});if(u)return m;if(d||f){const y=Number(d||1/0);for(let v=0;v<=y&&!(!m||!("prev"in m));v++)m=m.prev;return m&&typeof f=="string"&&f in m&&(m=mergeDeep(mergeDeep(m,{prev:m}),m[f])),m}return m.prev?mergeDeep(m.prev,m):m});return provide(DefaultsSymbol,a),a}function propIsDefined(e,t){return e.props&&(typeof e.props[t]<"u"||typeof e.props[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 i=getCurrentInstance("useDefaults");if(t=t??i.type.name??i.type.__name,!t)throw new Error("[Vuetify] Could not determine component name");const a=computed(()=>r.value?.[e._as??t]),c=new Proxy(e,{get(f,m){const y=Reflect.get(f,m);if(m==="class"||m==="style")return[a.value?.[m],y].filter(_=>_!=null);if(propIsDefined(i.vnode,m))return y;const v=a.value?.[m];if(v!==void 0)return v;const w=r.value?.global?.[m];return w!==void 0?w:y}}),u=shallowRef();watchEffect(()=>{if(a.value){const f=Object.entries(a.value).filter(m=>{let[y]=m;return y.startsWith(y[0].toUpperCase())});u.value=f.length?Object.fromEntries(f):void 0}else u.value=void 0});function d(){const f=injectSelf(DefaultsSymbol,i);provide(DefaultsSymbol,computed(()=>u.value?mergeDeep(f?.value??{},u.value):f?.value))}return{props:c,provideSubDefaults:d}}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(i){return pick$1(i,t)},e.props._as=String,e.setup=function(i,a){const c=injectDefaults();if(!c.value)return e._setup(i,a);const{props:u,provideSubDefaults:d}=internalUseDefaults(i,i._as??e.name,c),f=e._setup(u,a);return d(),f}}return e}function genericComponent(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return t=>(e?defineComponent:defineComponent$1)(t)}function defineFunctionalComponent(e,t){return t.props=e,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$1(camelize(e.replace(/__/g,"-"))),props:{tag:{type:String,default:t},...makeComponentProps()},setup(i,a){let{slots:c}=a;return()=>h(i.tag,{class:[e,i.class],style:i.style},c.default?.())}})}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)",easingPatterns={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 getPrefixedEventHandlers(e,t,r){return Object.keys(e).filter(i=>isOn(i)&&i.endsWith(t)).reduce((i,a)=>(i[a.slice(0,-t.length)]=c=>e[a](c,r(c)),i),{})}function getScrollParent$1(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),r=t.overflowY==="scroll"||t.overflowY==="auto"&&e.scrollHeight>e.clientHeight,i=t.overflowX==="scroll"||t.overflowX==="auto"&&e.scrollWidth>e.clientWidth;return r||i}function isPotentiallyScrollable(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const t=window.getComputedStyle(e);return["scroll","auto"].includes(t.overflowY)}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}function useProxiedModel(e,t,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:v=>v,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:v=>v;const c=getCurrentInstance("useProxiedModel"),u=ref(e[t]!==void 0?e[t]:r),d=toKebabCase(t),m=computed(d!==t?()=>(e[t],!!((c.vnode.props?.hasOwnProperty(t)||c.vnode.props?.hasOwnProperty(d))&&(c.vnode.props?.hasOwnProperty(`onUpdate:${t}`)||c.vnode.props?.hasOwnProperty(`onUpdate:${d}`)))):()=>(e[t],!!(c.vnode.props?.hasOwnProperty(t)&&c.vnode.props?.hasOwnProperty(`onUpdate:${t}`))));useToggleScope(()=>!m.value,()=>{watch(()=>e[t],v=>{u.value=v})});const y=computed({get(){const v=e[t];return i(m.value?v:u.value)},set(v){const w=a(v),_=toRaw(m.value?e[t]:u.value);_===w||i(_)===v||(u.value=w,c?.emit(`update:${t}`,w))}});return Object.defineProperty(y,"externalValue",{get:()=>m.value?e[t]:u.value}),y}const en$2={badge:"Badge",open:"Open",close:"Close",dismiss:"Dismiss",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"},ariaLabel:{previousMonth:"Previous month",nextMonth:"Next month",selectYear:"Select year",selectDate:"{0}",currentDate:"Today, {0}"}},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)"},fileUpload:{title:"Drag and drop files here",divider:"or",browse:"Browse Files"},timePicker:{am:"AM",pm:"PM",title:"Select Time"},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"},rules:{required:"This field is required",email:"Please enter a valid email",number:"This field can only contain numbers",integer:"This field can only contain integer values",capital:"This field can only contain uppercase letters",maxLength:"You must enter a maximum of {0} characters",minLength:"You must enter a minimum of {0} characters",strictLength:"The length of the entered field is invalid",exclude:"The {0} character is not allowed",notEmpty:"Please choose at least one value",pattern:"Invalid format"},hotkey:{then:"then",ctrl:"Ctrl",command:"Command",space:"Space",shift:"Shift",alt:"Alt",enter:"Enter",escape:"Escape",upArrow:"Up Arrow",downArrow:"Down Arrow",leftArrow:"Left Arrow",rightArrow:"Right Arrow",backspace:"Backspace",option:"Option",plus:"plus",shortcut:"Keyboard shortcut: {0}"},video:{play:"Play",pause:"Pause",seek:"Seek",volume:"Volume",showVolume:"Show volume control",mute:"Mute",unmute:"Unmute",enterFullscreen:"Full screen",exitFullscreen:"Exit full screen"},colorPicker:{ariaLabel:{eyedropper:"Select color with eyedropper",hueSlider:"Hue",alphaSlider:"Alpha",redInput:"Red value",greenInput:"Green value",blueInput:"Blue value",alphaInput:"Alpha value",hueInput:"Hue value",saturationInput:"Saturation value",lightnessInput:"Lightness value",hexInput:"HEX value",hexaInput:"HEX with alpha value",changeFormat:"Change color format"}}},LANG_PREFIX="$vuetify.",replace=(e,t)=>e.replace(/\{(\d+)\}/g,(r,i)=>String(t[Number(i)])),createTranslateFunction=(e,t,r)=>function(i){for(var a=arguments.length,c=new Array(a>1?a-1:0),u=1;u<a;u++)c[u-1]=arguments[u];if(!i.startsWith(LANG_PREFIX))return replace(i,c);const d=i.replace(LANG_PREFIX,""),f=e.value&&r.value[e.value],m=t.value&&r.value[t.value];let y=getObjectValueByPath(f,d,null);return y||(`${i}${e.value}`,y=getObjectValueByPath(m,d,null)),y||(y=i),typeof y!="string"&&(y=i),replace(y,c)};function createNumberFunction(e,t){return(r,i)=>new Intl.NumberFormat([e.value,t.value],i).format(r)}function inferDecimalSeparator(e,t){return createNumberFunction(e,t)(.1).includes(",")?",":"."}function useProvided(e,t,r){const i=useProxiedModel(e,t,e[t]??r.value);return i.value=e[t]??r.value,watch(r,a=>{e[t]==null&&(i.value=r.value)}),i}function createProvideFunction(e){return t=>{const r=useProvided(t,"locale",e.current),i=useProvided(t,"fallback",e.fallback),a=useProvided(t,"messages",e.messages);return{name:"vuetify",current:r,fallback:i,messages:a,decimalSeparator:toRef$2(()=>inferDecimalSeparator(r,i)),t:createTranslateFunction(r,i,a),n:createNumberFunction(r,i),provide:createProvideFunction({current:r,fallback:i,messages:a})}}}function createVuetifyAdapter(e){const t=shallowRef(e?.locale??"en"),r=shallowRef(e?.fallback??"en"),i=ref({en:en$2,...e?.messages});return{name:"vuetify",current:t,fallback:r,messages:i,decimalSeparator:toRef$2(()=>e?.decimalSeparator??inferDecimalSeparator(t,r)),t:createTranslateFunction(t,r,i),n:createNumberFunction(t,r),provide:createProvideFunction({current:t,fallback:r,messages:i})}}const LocaleSymbol=Symbol.for("vuetify:locale");function isLocaleInstance(e){return e.name!=null}function createLocale(e){const t=e?.adapter&&isLocaleInstance(e?.adapter)?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$3(){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?.rtl??genDefaults$3()),i=computed(()=>r.value[e.current.value]??!1);return{isRtl:i,rtl:r,rtlClasses:toRef$2(()=>`v-locale--is-${i.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}}function weekInfo(e){const t=e.slice(-2).toUpperCase();switch(!0){case e==="GB-alt-variant":return{firstDay:0,firstWeekSize:4};case e==="001":return{firstDay:1,firstWeekSize:1};case`AG AS BD BR BS BT BW BZ CA CO DM DO ET GT GU HK HN ID IL IN JM JP KE
KH KR LA MH MM MO MT MX MZ NI NP PA PE PH PK PR PY SA SG SV TH TT TW UM US
VE VI WS YE ZA ZW`.includes(t):return{firstDay:0,firstWeekSize:1};case`AI AL AM AR AU AZ BA BM BN BY CL CM CN CR CY EC GE HR KG KZ LB LK LV
MD ME MK MN MY NZ RO RS SI TJ TM TR UA UY UZ VN XK`.includes(t):return{firstDay:1,firstWeekSize:1};case`AD AN AT AX BE BG CH CZ DE DK EE ES FI FJ FO FR GB GF GP GR HU IE IS
IT LI LT LU MC MQ NL NO PL RE RU SE SK SM VA`.includes(t):return{firstDay:1,firstWeekSize:4};case"AE AF BH DJ DZ EG IQ IR JO KW LY OM QA SD SY".includes(t):return{firstDay:6,firstWeekSize:1};case t==="MV":return{firstDay:5,firstWeekSize:1};case t==="PT":return{firstDay:0,firstWeekSize:4};default:return null}}function getWeekArray(e,t,r){const i=[];let a=[];const c=startOfMonth(e),u=endOfMonth(e),d=r??weekInfo(t)?.firstDay??0,f=(c.getDay()-d+7)%7,m=(u.getDay()-d+7)%7;for(let y=0;y<f;y++){const v=new Date(c);v.setDate(v.getDate()-(f-y)),a.push(v)}for(let y=1;y<=u.getDate();y++){const v=new Date(e.getFullYear(),e.getMonth(),y);a.push(v),a.length===7&&(i.push(a),a=[])}for(let y=1;y<7-m;y++){const v=new Date(u);v.setDate(v.getDate()+y),a.push(v)}return a.length>0&&i.push(a),i}function startOfWeek(e,t,r){let i=(r??weekInfo(t)?.firstDay??0)%7;[0,1,2,3,4,5,6].includes(i)||(i=0);const a=new Date(e);for(;a.getDay()!==i;)a.setDate(a.getDate()-1);return a}function endOfWeek(e,t){const r=new Date(e),i=((weekInfo(t)?.firstDay??0)+6)%7;for(;r.getDay()!==i;)r.setDate(r.getDate()+1);return r}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,t,r){const i=t??weekInfo(e)?.firstDay??0;return createRange(7).map(a=>{const c=new Date(sundayJanuarySecond2000);return c.setDate(sundayJanuarySecond2000.getDate()+i+a),new Intl.DateTimeFormat(e,{weekday:r??"narrow"}).format(c)})}function format$1(e,t,r,i){const a=date(e)??new Date,c=i?.[t];if(typeof c=="function")return c(a,t,r);let u={};switch(t){case"fullDate":u={year:"numeric",month:"short",day:"numeric"};break;case"fullDateWithWeekday":u={weekday:"long",year:"numeric",month:"long",day:"numeric"};break;case"normalDate":const d=a.getDate(),f=new Intl.DateTimeFormat(r,{month:"long"}).format(a);return`${d} ${f}`;case"normalDateWithWeekday":u={weekday:"short",day:"numeric",month:"short"};break;case"shortDate":u={month:"short",day:"numeric"};break;case"year":u={year:"numeric"};break;case"month":u={month:"long"};break;case"monthShort":u={month:"short"};break;case"monthAndYear":u={month:"long",year:"numeric"};break;case"monthAndDate":u={month:"long",day:"numeric"};break;case"weekday":u={weekday:"long"};break;case"weekdayShort":u={weekday:"short"};break;case"dayOfMonth":return new Intl.NumberFormat(r).format(a.getDate());case"hours12h":u={hour:"numeric",hour12:!0};break;case"hours24h":u={hour:"numeric",hour12:!1};break;case"minutes":u={minute:"numeric"};break;case"seconds":u={second:"numeric"};break;case"fullTime":u={hour:"numeric",minute:"numeric"};break;case"fullTime12h":u={hour:"numeric",minute:"numeric",hour12:!0};break;case"fullTime24h":u={hour:"numeric",minute:"numeric",hour12:!1};break;case"fullDateTime":u={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"};break;case"fullDateTime12h":u={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",hour12:!0};break;case"fullDateTime24h":u={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",hour12:!1};break;case"keyboardDate":u={year:"numeric",month:"2-digit",day:"2-digit"};break;case"keyboardDateTime":return u={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric"},new Intl.DateTimeFormat(r,u).format(a).replace(/, /g," ");case"keyboardDateTime12h":return u={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",hour12:!0},new Intl.DateTimeFormat(r,u).format(a).replace(/, /g," ");case"keyboardDateTime24h":return u={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",hour12:!1},new Intl.DateTimeFormat(r,u).format(a).replace(/, /g," ");default:u=c??{timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(r,u).format(a)}function toISO(e,t){const r=e.toJsDate(t),i=r.getFullYear(),a=padStart$1(String(r.getMonth()+1),2,"0"),c=padStart$1(String(r.getDate()),2,"0");return`${i}-${a}-${c}`}function parseISO(e){const[t,r,i]=e.split("-").map(Number);return new Date(t,r-1,i)}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.setDate(1),r.setMonth(r.getMonth()+t),r}function getYear(e){return e.getFullYear()}function getMonth(e){return e.getMonth()}function getWeek(e,t,r,i){const a=weekInfo(t),c=r??a?.firstDay??0,u=i??a?.firstWeekSize??1;function d(_){const S=new Date(_,0,1);return 7-getDiff(S,startOfWeek(S,t,c),"days")}let f=getYear(e);const m=addDays(startOfWeek(e,t,c),6);f<getYear(m)&&d(f+1)>=u&&f++;const y=new Date(f,0,1),v=d(f),w=v>=u?addDays(y,v-7):addDays(y,v);return 1+getDiff(endOfDay(e),startOfDay(w),"weeks")}function getDate(e){return e.getDate()}function getNextMonth(e){return new Date(e.getFullYear(),e.getMonth()+1,1)}function getPreviousMonth(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 isAfterDay(e,t){return isAfter(startOfDay(e),startOfDay(t))}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 isSameYear(e,t){return e.getFullYear()===t.getFullYear()}function getDiff(e,t,r){const i=new Date(e),a=new Date(t);switch(r){case"years":return i.getFullYear()-a.getFullYear();case"quarters":return Math.floor((i.getMonth()-a.getMonth()+(i.getFullYear()-a.getFullYear())*12)/4);case"months":return i.getMonth()-a.getMonth()+(i.getFullYear()-a.getFullYear())*12;case"weeks":return Math.floor((i.getTime()-a.getTime())/(1e3*60*60*24*7));case"days":return Math.floor((i.getTime()-a.getTime())/(1e3*60*60*24));case"hours":return Math.floor((i.getTime()-a.getTime())/(1e3*60*60));case"minutes":return Math.floor((i.getTime()-a.getTime())/(1e3*60));case"seconds":return Math.floor((i.getTime()-a.getTime())/1e3);default:return i.getTime()-a.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 setDate(e,t){const r=new Date(e);return r.setDate(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,r){const i=r!==void 0?Number(r):void 0;return getWeekArray(t,this.locale,i)}startOfWeek(t,r){const i=r!==void 0?Number(r):void 0;return startOfWeek(t,this.locale,i)}endOfWeek(t){return endOfWeek(t,this.locale)}startOfMonth(t){return startOfMonth(t)}endOfMonth(t){return endOfMonth(t)}format(t,r){return format$1(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)}isAfterDay(t,r){return isAfterDay(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)}isSameYear(t,r){return isSameYear(t,r)}setMinutes(t,r){return setMinutes(t,r)}setHours(t,r){return setHours(t,r)}setMonth(t,r){return setMonth(t,r)}setDate(t,r){return setDate(t,r)}setYear(t,r){return setYear(t,r)}getDiff(t,r,i){return getDiff(t,r,i)}getWeekdays(t,r){const i=t!==void 0?Number(t):void 0;return getWeekdays(this.locale,i,r)}getYear(t){return getYear(t)}getMonth(t){return getMonth(t)}getWeek(t,r,i){const a=r!==void 0?Number(r):void 0;return getWeek(t,this.locale,a,i)}getDate(t){return getDate(t)}getNextMonth(t){return getNextMonth(t)}getPreviousMonth(t){return getPreviousMonth(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 createDateRange(e,t,r){const i=e.getDiff(e.endOfDay(r??t),e.startOfDay(t),"days"),a=[t];for(let c=1;c<i;c++){const u=e.addDays(t,c);a.push(u)}return r&&a.push(e.endOfDay(r)),a}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,i=>{r.locale=e.locale[i]??i??r.locale}),r}function useDate(){const e=inject$1(DateOptionsSymbol);if(!e)throw new Error("[Vuetify] Could not find injected date options");const t=useLocale();return createInstance(e,t)}const 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(S){return!!t.match(S)}const i=r(/android/i),a=r(/iphone|ipad|ipod/i),c=r(/cordova/i),u=r(/electron/i),d=r(/chrome/i),f=r(/edge/i),m=r(/firefox/i),y=r(/opera/i),v=r(/win/i),w=r(/mac/i),_=r(/linux/i);return{android:i,ios:a,cordova:c,electron:u,chrome:d,edge:f,firefox:m,opera:y,win:v,mac:w,linux:_,touch:SUPPORTS_TOUCH,ssr:t==="ssr"}}function createDisplay(e,t){const{thresholds:r,mobileBreakpoint:i}=parseDisplayOptions(e),a=shallowRef(getClientHeight(t)),c=shallowRef(getPlatform(t)),u=reactive({}),d=shallowRef(getClientWidth(t));function f(){a.value=getClientHeight(),d.value=getClientWidth()}function m(){f(),c.value=getPlatform()}return watchEffect(()=>{const y=d.value<r.sm,v=d.value<r.md&&!y,w=d.value<r.lg&&!(v||y),_=d.value<r.xl&&!(w||v||y),S=d.value<r.xxl&&!(_||w||v||y),b=d.value>=r.xxl,k=y?"xs":v?"sm":w?"md":_?"lg":S?"xl":"xxl",C=typeof i=="number"?i:r[i],O=d.value<C;u.xs=y,u.sm=v,u.md=w,u.lg=_,u.xl=S,u.xxl=b,u.smAndUp=!y,u.mdAndUp=!(y||v),u.lgAndUp=!(y||v||w),u.xlAndUp=!(y||v||w||_),u.smAndDown=!(w||_||S||b),u.mdAndDown=!(_||S||b),u.lgAndDown=!(S||b),u.xlAndDown=!b,u.name=k,u.height=a.value,u.width=d.value,u.mobile=O,u.mobileBreakpoint=i,u.platform=c.value,u.thresholds=r}),IN_BROWSER&&(window.addEventListener("resize",f,{passive:!0}),onScopeDispose(()=>{window.removeEventListener("resize",f)},!0)),{...toRefs(u),update:m,ssr:!!t}}const makeDisplayProps=propsFactory({mobile:{type:Boolean,default:!1},mobileBreakpoint:[Number,String]},"display");function useDisplay(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{mobile:null},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 i=computed(()=>e.mobile?!0:typeof e.mobileBreakpoint=="number"?r.width.value<e.mobileBreakpoint:e.mobileBreakpoint?r.width.value<r.thresholds.value[e.mobileBreakpoint]:e.mobile===null?r.mobile.value:!1),a=toRef$2(()=>t?{[`${t}--mobile`]:i.value}:{});return{...r,displayClasses:a,mobile:i}}const GoToSymbol=Symbol.for("vuetify:goto");function genDefaults$2(){return{container:void 0,duration:300,layout:!1,offset:0,easing:"easeInOutCubic",patterns:easingPatterns}}function getContainer(e){return getTarget$1(e)??(document.scrollingElement||document.body)}function getTarget$1(e){return typeof e=="string"?document.querySelector(e):refElement(e)}function getOffset$1(e,t,r){if(typeof e=="number")return t&&r?-e:e;let i=getTarget$1(e),a=0;for(;i;)a+=t?i.offsetLeft:i.offsetTop,i=i.offsetParent;return a}function createGoTo(e,t){return{rtl:t.isRtl,options:mergeDeep(genDefaults$2(),e)}}async function scrollTo(e,t,r,i){const a=r?"scrollLeft":"scrollTop",c=mergeDeep(i?.options??genDefaults$2(),t),u=i?.rtl.value,d=(typeof e=="number"?e:getTarget$1(e))??0,f=c.container==="parent"&&d instanceof HTMLElement?d.parentElement:getContainer(c.container),m=typeof c.easing=="function"?c.easing:c.patterns[c.easing];if(!m)throw new TypeError(`Easing function "${c.easing}" not found.`);let y;if(typeof d=="number")y=getOffset$1(d,r,u);else if(y=getOffset$1(d,r,u)-getOffset$1(f,r,u),c.layout){const S=window.getComputedStyle(d).getPropertyValue("--v-layout-top");S&&(y-=parseInt(S,10))}y+=c.offset,y=clampTarget(f,y,!!u,!!r);const v=f[a]??0;if(y===v)return Promise.resolve(y);const w=performance.now();return new Promise(_=>requestAnimationFrame(function S(b){const C=(b-w)/c.duration,O=Math.floor(v+(y-v)*m(clamp(C,0,1)));if(f[a]=O,C>=1&&Math.abs(O-f[a])<10)return _(y);if(C>2)return _(f[a]);requestAnimationFrame(S)}))}function useGoTo(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const t=inject$1(GoToSymbol),{isRtl:r}=useRtl();if(!t)throw new Error("[Vuetify] Could not find injected goto instance");const i={...t,rtl:toRef$2(()=>t.rtl.value||r.value)};async function a(c,u){return scrollTo(c,mergeDeep(e,u),!1,i)}return a.horizontal=async(c,u)=>scrollTo(c,mergeDeep(e,u),!0,i),a}function clampTarget(e,t,r,i){const{scrollWidth:a,scrollHeight:c}=e,[u,d]=e===document.scrollingElement?[window.innerWidth,window.innerHeight]:[e.offsetWidth,e.offsetHeight];let f,m;return i?r?(f=-(a-u),m=0):(f=0,m=a-u):(f=0,m=c+-d),clamp(t,f,m)}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",upload:"mdi-cloud-upload",color:"mdi-palette",command:"mdi-apple-keyboard-command",ctrl:"mdi-apple-keyboard-control",space:"mdi-keyboard-space",shift:"mdi-apple-keyboard-shift",alt:"mdi-apple-keyboard-option",enter:"mdi-keyboard-return",arrowup:"mdi-arrow-up",arrowdown:"mdi-arrow-down",arrowleft:"mdi-arrow-left",arrowright:"mdi-arrow-right",backspace:"mdi-backspace",play:"mdi-play",pause:"mdi-pause",fullscreen:"mdi-fullscreen",fullscreenExit:"mdi-fullscreen-exit",volumeHigh:"mdi-volume-high",volumeMedium:"mdi-volume-medium",volumeLow:"mdi-volume-low",volumeOff:"mdi-volume-variant-off"},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,Object,Function],required:!0}},"icon"),VComponentIcon=genericComponent()({name:"VComponentIcon",props:makeIconProps(),setup(e,t){let{slots:r}=t;return()=>{const i=e.icon;return createVNode(e.tag,null,{default:()=>[e.icon?createVNode(i,null,null):r.default?.()]})}}}),VSvgIcon=defineComponent({name:"VSvgIcon",inheritAttrs:!1,props:makeIconProps(),setup(e,t){let{attrs:r}=t;return()=>createVNode(e.tag,mergeProps(r,{style:null}),{default:()=>[createBaseVNode("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(i=>Array.isArray(i)?createBaseVNode("path",{d:i[0],"fill-opacity":i[1]},null):createBaseVNode("path",{d:i},null)):createBaseVNode("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:normalizeClass(e.icon)},null)}});function genDefaults$1(){return{svg:{component:VSvgIcon},class:{component:VClassIcon}}}function createIcons(e){const t=genDefaults$1(),r=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","vuetify-play":["m6.376 13.184-4.11-7.192C1.505 4.66 2.467 3 4.003 3h8.532l-.953 1.576-.006.01-.396.677c-.429.732-.214 1.507.194 2.015.404.503 1.092.878 1.869.806a3.72 3.72 0 0 1 1.005.022c.276.053.434.143.523.237.138.146.38.635-.25 2.09-.893 1.63-1.553 1.722-1.847 1.677-.213-.033-.468-.158-.756-.406a4.95 4.95 0 0 1-.8-.927c-.39-.564-1.04-.84-1.66-.846-.625-.006-1.316.27-1.693.921l-.478.826-.911 1.506Z",["M9.093 11.552c.046-.079.144-.15.32-.148a.53.53 0 0 1 .43.207c.285.414.636.847 1.046 1.2.405.35.914.662 1.516.754 1.334.205 2.502-.698 3.48-2.495l.014-.028.013-.03c.687-1.574.774-2.852-.005-3.675-.37-.391-.861-.586-1.333-.676a5.243 5.243 0 0 0-1.447-.044c-.173.016-.393-.073-.54-.257-.145-.18-.127-.316-.082-.392l.393-.672L14.287 3h5.71c1.536 0 2.499 1.659 1.737 2.992l-7.997 13.996c-.768 1.344-2.706 1.344-3.473 0l-3.037-5.314 1.377-2.278.004-.006.004-.007.481-.831Z",.6]]}},e)}const useIcon=e=>{const t=inject$1(IconSymbol);if(!t)throw new Error("Missing Vuetify Icons provide!");return{iconData:computed(()=>{const i=toValue(e);if(!i)return{component:VComponentIcon};let a=i;if(typeof a=="string"&&(a=a.trim(),a.startsWith("$")&&(a=t.aliases?.[a.slice(1)])),Array.isArray(a))return{component:VSvgIcon,icon:a};if(typeof a!="string")return{component:VComponentIcon,icon:a};const c=Object.keys(t.sets).find(f=>typeof a=="string"&&a.startsWith(`${f}:`)),u=c?a.slice(c.length+1):a;return{component:t.sets[c??t.defaultSet].component,icon:u}})}},ThemeSymbol=Symbol.for("vuetify:theme"),makeThemeProps=propsFactory({theme:String},"theme");function genDefaults(){return{defaultTheme:"light",prefix:"v-",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":"#EEEEEE","theme-on-kbd":"#000000","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-light":"#424242","surface-variant":"#c8c8c8","on-surface-variant":"#000000",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":"#424242","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}},stylesheetId:"vuetify-theme-stylesheet",scoped:!1,unimportant:!1,utilities:!0}}function parseThemeOptions(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:genDefaults();const t=genDefaults();if(!e)return{...t,isDisabled:!0};const r={};for(const[i,a]of Object.entries(e.themes??{})){const c=a.dark||i==="dark"?t.themes?.dark:t.themes?.light;r[i]=mergeDeep(c,a)}return mergeDeep(t,{...e,themes:r})}function createCssClass(e,t,r,i){e.push(`${getScopedSelector(t,i)} {
`,...r.map(a=>` ${a};
`),`}
`)}function genCssVariables(e,t){const r=e.dark?2:1,i=e.dark?1:2,a=[];for(const[c,u]of Object.entries(e.colors)){const d=parseColor(u);a.push(`--${t}theme-${c}: ${d.r},${d.g},${d.b}`),c.startsWith("on-")||a.push(`--${t}theme-${c}-overlay-multiplier: ${getLuma(u)>.18?r:i}`)}for(const[c,u]of Object.entries(e.variables)){const d=typeof u=="string"&&u.startsWith("#")?parseColor(u):void 0,f=d?`${d.r}, ${d.g}, ${d.b}`:void 0;a.push(`--${t}${c}: ${f??u}`)}return a}function genVariation(e,t,r){const i={};if(r)for(const a of["lighten","darken"]){const c=a==="lighten"?lighten:darken;for(const u of createRange(r[a],1))i[`${e}-${a}-${u}`]=RGBtoHex(c(parseColor(t),u))}return i}function genVariations(e,t){if(!t)return{};let r={};for(const i of t.colors){const a=e[i];a&&(r={...r,...genVariation(i,a,t)})}return r}function genOnColors(e){const t={};for(const r of Object.keys(e)){if(r.startsWith("on-")||e[`on-${r}`])continue;const i=`on-${r}`,a=parseColor(e[r]);t[i]=getForeground(a)}return t}function getScopedSelector(e,t){if(!t)return e;const r=`:where(${t})`;return e===":root"?r:`${r} ${e}`}function upsertStyles(e,t,r){const i=getOrCreateStyleElement(e,t);i&&(i.innerHTML=r)}function getOrCreateStyleElement(e,t){if(!IN_BROWSER)return null;let r=document.getElementById(e);return r||(r=document.createElement("style"),r.id=e,r.type="text/css",t&&r.setAttribute("nonce",t),document.head.appendChild(r)),r}function createTheme(e){const t=parseThemeOptions(e),r=shallowRef(t.defaultTheme),i=ref(t.themes),a=shallowRef("light"),c=computed({get(){return r.value==="system"?a.value:r.value},set(C){r.value=C}}),u=computed(()=>{const C={};for(const[O,T]of Object.entries(i.value)){const E={...T.colors,...genVariations(T.colors,t.variations)};C[O]={...T,colors:{...E,...genOnColors(E)}}}return C}),d=toRef$2(()=>u.value[c.value]),f=toRef$2(()=>r.value==="system"),m=computed(()=>{const C=[],O=t.unimportant?"":" !important",T=t.scoped?t.prefix:"";d.value?.dark&&createCssClass(C,":root",["color-scheme: dark"],t.scope),createCssClass(C,":root",genCssVariables(d.value,t.prefix),t.scope);for(const[E,A]of Object.entries(u.value))createCssClass(C,`.${t.prefix}theme--${E}`,[`color-scheme: ${A.dark?"dark":"normal"}`,...genCssVariables(A,t.prefix)],t.scope);if(t.utilities){const E=[],A=[],P=new Set(Object.values(u.value).flatMap(M=>Object.keys(M.colors)));for(const M of P)M.startsWith("on-")?createCssClass(A,`.${M}`,[`color: rgb(var(--${t.prefix}theme-${M}))${O}`],t.scope):(createCssClass(E,`.${T}bg-${M}`,[`--${t.prefix}theme-overlay-multiplier: var(--${t.prefix}theme-${M}-overlay-multiplier)`,`background-color: rgb(var(--${t.prefix}theme-${M}))${O}`,`color: rgb(var(--${t.prefix}theme-on-${M}))${O}`],t.scope),createCssClass(A,`.${T}text-${M}`,[`color: rgb(var(--${t.prefix}theme-${M}))${O}`],t.scope),createCssClass(A,`.${T}border-${M}`,[`--${t.prefix}border-color: var(--${t.prefix}theme-${M})`],t.scope));C.push(...E,...A)}return C.map((E,A)=>A===0?E:` ${E}`).join("")}),y=toRef$2(()=>t.isDisabled?void 0:`${t.prefix}theme--${c.value}`),v=toRef$2(()=>Object.keys(u.value));if(SUPPORTS_MATCH_MEDIA){let O=function(){a.value=C.matches?"dark":"light"};const C=window.matchMedia("(prefers-color-scheme: dark)");O(),C.addEventListener("change",O,{passive:!0}),getCurrentScope()&&onScopeDispose(()=>{C.removeEventListener("change",O)})}function w(C){if(t.isDisabled)return;const O=C._context.provides.usehead;if(O){let T=function(){return{style:[{textContent:m.value,id:t.stylesheetId,nonce:t.cspNonce||!1}]}};if(O.push){const E=O.push(T);IN_BROWSER&&watch(m,()=>{E.patch(T)})}else IN_BROWSER?(O.addHeadObjs(toRef$2(T)),watchEffect(()=>O.updateDOM())):O.addHeadObjs(T())}else{let T=function(){upsertStyles(t.stylesheetId,t.cspNonce,m.value)};IN_BROWSER?watch(m,T,{immediate:!0}):T()}}function _(C){C!=="system"&&!v.value.includes(C)||(c.value=C)}function S(){let C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:v.value;const O=C.indexOf(c.value),T=O===-1?0:(O+1)%C.length;_(C[T])}function b(){let C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["light","dark"];S(C)}const k=new Proxy(c,{get(C,O){return Reflect.get(C,O)},set(C,O,T){return O==="value"&&deprecate(`theme.global.name.value = ${T}`,`theme.change('${T}')`),Reflect.set(C,O,T)}});return{install:w,change:_,cycle:S,toggle:b,isDisabled:t.isDisabled,isSystem:f,name:c,themes:i,current:d,computedThemes:u,prefix:t.prefix,themeClasses:y,styles:m,global:{name:k,current:d}}}function provideTheme(e){getCurrentInstance("provideTheme");const t=inject$1(ThemeSymbol,null);if(!t)throw new Error("Could not find Vuetify theme injection");const r=toRef$2(()=>e.theme??t.name.value),i=toRef$2(()=>t.themes.value[r.value]),a=toRef$2(()=>t.isDisabled?void 0:`${t.prefix}theme--${r.value}`),c={...t,name:r,current:i,themeClasses:a};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 useResizeObserver(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"content";const r=templateRef(),i=ref();if(IN_BROWSER){const a=new ResizeObserver(c=>{e?.(c,a),c.length&&(t==="content"?i.value=c[0].contentRect:i.value=c[0].target.getBoundingClientRect())});onBeforeUnmount(()=>{a.disconnect()}),watch(()=>r.el,(c,u)=>{u&&(a.unobserve(u),i.value=void 0),c&&a.observe(c)},{flush:"post"})}return{resizeRef:r,contentRect:readonly(i)}}const 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-${useId()}`,i=getCurrentInstance("useLayoutItem");provide(VuetifyLayoutItemKey,{id:r});const a=shallowRef(!1);onDeactivated(()=>a.value=!0),onActivated(()=>a.value=!1);const{layoutItemStyles:c,layoutItemScrimStyles:u}=t.register(i,{...e,active:computed(()=>a.value?!1:e.active.value),id:r});return onBeforeUnmount(()=>t.unregister(r)),{layoutItemStyles:c,layoutRect:t.layoutRect,layoutItemScrimStyles:u}}const generateLayers=(e,t,r,i)=>{let a={top:0,left:0,right:0,bottom:0};const c=[{id:"",layer:{...a}}];for(const u of e){const d=t.get(u),f=r.get(u),m=i.get(u);if(!d||!f||!m)continue;const y={...a,[d.value]:parseInt(a[d.value],10)+(m.value?parseInt(f.value,10):0)};c.push({id:u,layer:y}),a=y}return c};function createLayout(e){const t=inject$1(VuetifyLayoutKey,null),r=computed(()=>t?t.rootZIndex.value-100:ROOT_ZINDEX),i=ref([]),a=reactive(new Map),c=reactive(new Map),u=reactive(new Map),d=reactive(new Map),f=reactive(new Map),{resizeRef:m,contentRect:y}=useResizeObserver(),v=computed(()=>{const P=new Map,M=e.overlaps??[];for(const D of M.filter(F=>F.includes(":"))){const[F,I]=D.split(":");if(!i.value.includes(F)||!i.value.includes(I))continue;const U=a.get(F),$=a.get(I),z=c.get(F),q=c.get(I);!U||!$||!z||!q||(P.set(I,{position:U.value,amount:parseInt(z.value,10)}),P.set(F,{position:$.value,amount:-parseInt(q.value,10)}))}return P}),w=computed(()=>{const P=[...new Set([...u.values()].map(D=>D.value))].sort((D,F)=>D-F),M=[];for(const D of P){const F=i.value.filter(I=>u.get(I)?.value===D);M.push(...F)}return generateLayers(M,a,c,d)}),_=computed(()=>!Array.from(f.values()).some(P=>P.value)),S=computed(()=>w.value[w.value.length-1].layer),b=toRef$2(()=>({"--v-layout-left":convertToUnit(S.value.left),"--v-layout-right":convertToUnit(S.value.right),"--v-layout-top":convertToUnit(S.value.top),"--v-layout-bottom":convertToUnit(S.value.bottom),..._.value?void 0:{transition:"none"}})),k=computed(()=>w.value.slice(1).map((P,M)=>{let{id:D}=P;const{layer:F}=w.value[M],I=c.get(D),U=a.get(D);return{id:D,...F,size:Number(I.value),position:U.value}})),C=P=>k.value.find(M=>M.id===P),O=getCurrentInstance("createLayout"),T=shallowRef(!1);onMounted(()=>{T.value=!0}),provide(VuetifyLayoutKey,{register:(P,M)=>{let{id:D,order:F,position:I,layoutSize:U,elementSize:$,active:z,disableTransitions:q,absolute:G}=M;u.set(D,F),a.set(D,I),c.set(D,U),d.set(D,z),q&&f.set(D,q);const ae=findChildrenWithProvide(VuetifyLayoutItemKey,O?.vnode).indexOf(P);ae>-1?i.value.splice(ae,0,D):i.value.push(D);const oe=computed(()=>k.value.findIndex(ne=>ne.id===D)),Se=computed(()=>r.value+w.value.length*2-oe.value*2),te=computed(()=>{const ne=I.value==="left"||I.value==="right",le=I.value==="right",Oe=I.value==="bottom",ke=$.value??U.value,ye=ke===0?"%":"px",re={[I.value]:0,zIndex:Se.value,transform:`translate${ne?"X":"Y"}(${(z.value?0:-(ke===0?100:ke))*(le||Oe?-1:1)}${ye})`,position:G.value||r.value!==ROOT_ZINDEX?"absolute":"fixed",..._.value?void 0:{transition:"none"}};if(!T.value)return re;const ue=k.value[oe.value],ie=v.value.get(D);return ie&&(ue[ie.position]+=ie.amount),{...re,height:ne?`calc(100% - ${ue.top}px - ${ue.bottom}px)`:$.value?`${$.value}px`:void 0,left:le?void 0:`${ue.left}px`,right:le?`${ue.right}px`:void 0,top:I.value!=="bottom"?`${ue.top}px`:void 0,bottom:I.value!=="top"?`${ue.bottom}px`:void 0,width:ne?$.value?`${$.value}px`:void 0:`calc(100% - ${ue.left}px - ${ue.right}px)`}}),se=computed(()=>({zIndex:Se.value-1}));return{layoutItemStyles:te,layoutItemScrimStyles:se,zIndex:Se}},unregister:P=>{u.delete(P),a.delete(P),c.delete(P),d.delete(P),f.delete(P),i.value=i.value.filter(M=>M!==P)},mainRect:S,mainStyles:b,getLayoutItem:C,items:k,layoutRect:y,rootZIndex:r});const E=toRef$2(()=>["v-layout",{"v-layout--full-height":e.fullHeight}]),A=toRef$2(()=>({zIndex:t?r.value:void 0,position:t?"relative":void 0,overflow:t?"hidden":void 0}));return{layoutClasses:E,layoutStyles:A,getLayoutItem:C,items:k,layoutRect:y,layoutRef:m}}function createVuetify(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:t,...r}=e,i=mergeDeep(t,r),{aliases:a={},components:c={},directives:u={}}=i,d=effectScope();return d.run(()=>{const f=createDefaults(i.defaults),m=createDisplay(i.display,i.ssr),y=createTheme(i.theme),v=createIcons(i.icons),w=createLocale(i.locale),_=createDate(i.date,w),S=createGoTo(i.goTo,w);function b(C){for(const T in u)C.directive(T,u[T]);for(const T in c)C.component(T,c[T]);for(const T in a)C.component(T,defineComponent({...a[T],name:T,aliasName:a[T].name}));const O=effectScope();if(O.run(()=>{y.install(C)}),C.onUnmount(()=>O.stop()),C.provide(DefaultsSymbol,f),C.provide(DisplaySymbol,m),C.provide(ThemeSymbol,y),C.provide(IconSymbol,v),C.provide(LocaleSymbol,w),C.provide(DateOptionsSymbol,_.options),C.provide(DateAdapterSymbol,_.instance),C.provide(GoToSymbol,S),IN_BROWSER&&i.ssr)if(C.$nuxt)C.$nuxt.hook("app:suspense:resolve",()=>{m.update()});else{const{mount:T}=C;C.mount=function(){const E=T(...arguments);return nextTick(()=>m.update()),C.mount=T,E}}C.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)})}}})}function k(){d.stop()}return{install:b,unmount:k,defaults:f,display:m,theme:y,icons:v,locale:w,date:_,goTo:S}})}const version="3.9.7";createVuetify.version=version;function inject(e){const t=this.$,r=t.parent?.provides??t.vnode.appContext?.provides;if(r&&e in r)return r[e]}const 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 i=e.border;return i===!0||i===""?`${t}--border`:typeof i=="string"||i===0?String(i).split(" ").map(a=>`border-${a}`):[]})}}const 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:toRef$2(()=>`${t}--density-${e.density}`)}}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:toRef$2(()=>{const r=isRef(e)?e.value:e.elevation;return r==null?[]:[`elevation-${r}`]})}}const 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 i=isRef(e)?e.value:e.rounded,a=isRef(e)?e.value:e.tile,c=[];if(a||i===!1)c.push("rounded-0");else if(i===!0||i==="")c.push(`${t}--rounded`);else if(typeof i=="string"||i===0)for(const u of String(i).split(" "))c.push(`rounded-${u}`);return c})}}const makeTagProps=propsFactory({tag:{type:[String,Object,Function],default:"div"}},"tag");function useColor(e){return destructComputed(()=>{const t=toValue(e),r=[],i={};if(t.background)if(isCssColor(t.background)){if(i.backgroundColor=t.background,!t.text&&isParsableColor(t.background)){const a=parseColor(t.background);if(a.a==null||a.a===1){const c=getForeground(a);i.color=c,i.caretColor=c}}}else r.push(`bg-${t.background}`);return t.text&&(isCssColor(t.text)?(i.color=t.text,i.caretColor=t.text):r.push(`text-${t.text}`)),{colorClasses:r,colorStyles:i}})}function useTextColor(e){const{colorClasses:t,colorStyles:r}=useColor(()=>({text:toValue(e)}));return{textColorClasses:t,textColorStyles:r}}function useBackgroundColor(e){const{colorClasses:t,colorStyles:r}=useColor(()=>({background:toValue(e)}));return{backgroundColorClasses:t,backgroundColorStyles:r}}const allowedVariants$1=["elevated","flat","tonal","outlined","text","plain"];function genOverlays(e,t){return createBaseVNode(Fragment,null,[e&&createBaseVNode("span",{key:"overlay",class:normalizeClass(`${t}__overlay`)},null),createBaseVNode("span",{key:"underlay",class:normalizeClass(`${t}__underlay`)},null)])}const makeVariantProps=propsFactory({color:String,variant:{type:String,default:"elevated",validator:e=>allowedVariants$1.includes(e)}},"variant");function useVariant(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName();const r=toRef$2(()=>{const{variant:c}=toValue(e);return`${t}--variant-${c}`}),{colorClasses:i,colorStyles:a}=useColor(()=>{const{variant:c,color:u}=toValue(e);return{[["elevated","flat"].includes(c)?"background":"text"]:u}});return{colorClasses:i,colorStyles:a,variantClasses:r}}const makeVBtnGroupProps=propsFactory({baseColor:String,divided:Boolean,direction:{type:String,default:"horizontal"},...makeBorderProps(),...makeComponentProps(),...makeDensityProps(),...makeElevationProps(),...makeRoundedProps(),...makeTagProps(),...makeThemeProps(),...makeVariantProps()},"VBtnGroup"),VBtnGroup=genericComponent()({name:"VBtnGroup",props:makeVBtnGroupProps(),setup(e,t){let{slots:r}=t;const{themeClasses:i}=provideTheme(e),{densityClasses:a}=useDensity(e),{borderClasses:c}=useBorder(e),{elevationClasses:u}=useElevation(e),{roundedClasses:d}=useRounded(e);provideDefaults({VBtn:{height:toRef$2(()=>e.direction==="horizontal"?"auto":null),baseColor:toRef$2(()=>e.baseColor),color:toRef$2(()=>e.color),density:toRef$2(()=>e.density),flat:!0,variant:toRef$2(()=>e.variant)}}),useRender(()=>createVNode(e.tag,{class:normalizeClass(["v-btn-group",`v-btn-group--${e.direction}`,{"v-btn-group--divided":e.divided},i.value,c.value,a.value,u.value,d.value,e.class]),style:normalizeStyle(e.style)},r))}}),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 i=getCurrentInstance("useGroupItem");if(!i)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const a=useId();provide(Symbol.for(`${t.description}:id`),a);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 u=toRef$2(()=>e.value),d=computed(()=>!!(c.disabled.value||e.disabled));c.register({id:a,value:u,disabled:d},i),onBeforeUnmount(()=>{c.unregister(a)});const f=computed(()=>c.isSelected(a)),m=computed(()=>c.items.value[0].id===a),y=computed(()=>c.items.value[c.items.value.length-1].id===a),v=computed(()=>f.value&&[c.selectedClass.value,e.selectedClass]);return watch(f,w=>{i.emit("group:selected",{value:w})},{flush:"sync"}),{id:a,isSelected:f,isFirst:m,isLast:y,toggle:()=>c.select(a,!f.value),select:w=>c.select(a,w),selectedClass:v,value:u,disabled:d,group:c}}function useGroup(e,t){let r=!1;const i=reactive([]),a=useProxiedModel(e,"modelValue",[],w=>w==null?[]:getIds(i,wrapInArray(w)),w=>{const _=getValues(i,w);return e.multiple?_:_[0]}),c=getCurrentInstance("useGroup");function u(w,_){const S=w,b=Symbol.for(`${t.description}:id`),C=findChildrenWithProvide(b,c?.vnode).indexOf(_);unref(S.value)==null&&(S.value=C,S.useIndexAsValue=!0),C>-1?i.splice(C,0,S):i.push(S)}function d(w){if(r)return;f();const _=i.findIndex(S=>S.id===w);i.splice(_,1)}function f(){const w=i.find(_=>!_.disabled);w&&e.mandatory==="force"&&!a.value.length&&(a.value=[w.id])}onMounted(()=>{f()}),onBeforeUnmount(()=>{r=!0}),onUpdated(()=>{for(let w=0;w<i.length;w++)i[w].useIndexAsValue&&(i[w].value=w)});function m(w,_){const S=i.find(b=>b.id===w);if(!(_&&S?.disabled))if(e.multiple){const b=a.value.slice(),k=b.findIndex(O=>O===w),C=~k;if(_=_??!C,C&&e.mandatory&&b.length<=1||!C&&e.max!=null&&b.length+1>e.max)return;k<0&&_?b.push(w):k>=0&&!_&&b.splice(k,1),a.value=b}else{const b=a.value.includes(w);if(e.mandatory&&b||!b&&!_)return;a.value=_??!b?[w]:[]}}function y(w){if(e.multiple,a.value.length){const _=a.value[0],S=i.findIndex(C=>C.id===_);let b=(S+w)%i.length,k=i[b];for(;k.disabled&&b!==S;)b=(b+w)%i.length,k=i[b];if(k.disabled)return;a.value=[i[b].id]}else{const _=i.find(S=>!S.disabled);_&&(a.value=[_.id])}}const v={register:u,unregister:d,selected:a,select:m,disabled:toRef$2(()=>e.disabled),prev:()=>y(i.length-1),next:()=>y(1),isSelected:w=>a.value.includes(w),selectedClass:toRef$2(()=>e.selectedClass),items:toRef$2(()=>i),getItemIndex:w=>getItemIndex(i,w)};return provide(t,v),v}function getItemIndex(e,t){const r=getIds(e,[t]);return r.length?e.findIndex(i=>i.id===r[0]):-1}function getIds(e,t){const r=[];return t.forEach(i=>{const a=e.find(u=>deepEqual(i,u.value)),c=e[i];a?.value!=null?r.push(a.id):c?.useIndexAsValue&&r.push(c.id)}),r}function getValues(e,t){const r=[];return t.forEach(i=>{const a=e.findIndex(c=>c.id===i);if(~a){const c=e[a];r.push(c.value!=null?c.value:a)}}),r}const VBtnToggleSymbol=Symbol.for("vuetify:v-btn-toggle"),makeVBtnToggleProps=propsFactory({...makeVBtnGroupProps(),...makeGroupProps()},"VBtnToggle"),VBtnToggle=genericComponent()({name:"VBtnToggle",props:makeVBtnToggleProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;const{isSelected:i,next:a,prev:c,select:u,selected:d}=useGroup(e,VBtnToggleSymbol);return useRender(()=>{const f=VBtnGroup.filterProps(e);return createVNode(VBtnGroup,mergeProps({class:["v-btn-toggle",e.class]},f,{style:e.style}),{default:()=>[r.default?.({isSelected:i,next:a,prev:c,select:u,selected:d})]})}),{next:a,prev:c,select:u}}}),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:i,disabled:a,reset:c,root:u,scoped:d}=toRefs(e);return provideDefaults(i,{reset:c,root:u,scoped:d,disabled:a}),()=>r.default?.()}}),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(()=>{const r=e.size;let i,a;return includes(predefinedSizes,r)?i=`${t}--size-${r}`:r&&(a={width:convertToUnit(r),height:convertToUnit(r)}),{sizeClasses:i,sizeStyles:a}})}const makeVIconProps=propsFactory({color:String,disabled:Boolean,start:Boolean,end:Boolean,icon:IconValue,opacity:[String,Number],...makeComponentProps(),...makeSizeProps(),...makeTagProps({tag:"i"}),...makeThemeProps()},"VIcon"),VIcon=genericComponent()({name:"VIcon",props:makeVIconProps(),setup(e,t){let{attrs:r,slots:i}=t;const a=shallowRef(),{themeClasses:c}=useTheme(),{iconData:u}=useIcon(()=>a.value||e.icon),{sizeClasses:d}=useSize(e),{textColorClasses:f,textColorStyles:m}=useTextColor(()=>e.color);return useRender(()=>{const y=i.default?.();y&&(a.value=flattenFragments(y).filter(w=>w.type===Text$1&&w.children&&typeof w.children=="string")[0]?.children);const v=!!(r.onClick||r.onClickOnce);return createVNode(u.value.component,{tag:e.tag,icon:u.value.icon,class:normalizeClass(["v-icon","notranslate",c.value,d.value,f.value,{"v-icon--clickable":v,"v-icon--disabled":e.disabled,"v-icon--start":e.start,"v-icon--end":e.end},e.class]),style:normalizeStyle([{"--v-icon-opacity":e.opacity},d.value?void 0:{fontSize:convertToUnit(e.size),height:convertToUnit(e.size),width:convertToUnit(e.size)},m.value,e.style]),role:v?"button":void 0,"aria-hidden":!v,tabindex:v?e.disabled?-1:0:void 0},{default:()=>[y]})}),{}}});function useIntersectionObserver(e,t){const r=ref(),i=shallowRef(!1);if(SUPPORTS_INTERSECTION){const a=new IntersectionObserver(c=>{i.value=!!c.find(u=>u.isIntersecting)},t);onScopeDispose(()=>{a.disconnect()}),watch(r,(c,u)=>{u&&(a.unobserve(u),i.value=!1),c&&a.observe(c)},{flush:"post"})}return{intersectionRef:r,isIntersecting:i}}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 i=20,a=2*Math.PI*i,c=ref(),{themeClasses:u}=provideTheme(e),{sizeClasses:d,sizeStyles:f}=useSize(e),{textColorClasses:m,textColorStyles:y}=useTextColor(()=>e.color),{textColorClasses:v,textColorStyles:w}=useTextColor(()=>e.bgColor),{intersectionRef:_,isIntersecting:S}=useIntersectionObserver(),{resizeRef:b,contentRect:k}=useResizeObserver(),C=toRef$2(()=>clamp(parseFloat(e.modelValue),0,100)),O=toRef$2(()=>Number(e.width)),T=toRef$2(()=>f.value?Number(e.size):k.value?k.value.width:Math.max(O.value,32)),E=toRef$2(()=>i/(1-O.value/T.value)*2),A=toRef$2(()=>O.value/T.value*E.value),P=toRef$2(()=>convertToUnit((100-C.value)/100*a));return watchEffect(()=>{_.value=c.value,b.value=c.value}),useRender(()=>createVNode(e.tag,{ref:c,class:normalizeClass(["v-progress-circular",{"v-progress-circular--indeterminate":!!e.indeterminate,"v-progress-circular--visible":S.value,"v-progress-circular--disable-shrink":e.indeterminate==="disable-shrink"},u.value,d.value,m.value,e.class]),style:normalizeStyle([f.value,y.value,e.style]),role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e.indeterminate?void 0:C.value},{default:()=>[createBaseVNode("svg",{style:{transform:`rotate(calc(-90deg + ${Number(e.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${E.value} ${E.value}`},[createBaseVNode("circle",{class:normalizeClass(["v-progress-circular__underlay",v.value]),style:normalizeStyle(w.value),fill:"transparent",cx:"50%",cy:"50%",r:i,"stroke-width":A.value,"stroke-dasharray":a,"stroke-dashoffset":0},null),createBaseVNode("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:i,"stroke-width":A.value,"stroke-dasharray":a,"stroke-dashoffset":P.value},null)]),r.default&&createBaseVNode("div",{class:"v-progress-circular__content"},[r.default({value:C.value})])]})),{}}}),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(()=>{const r={},i=convertToUnit(e.height),a=convertToUnit(e.maxHeight),c=convertToUnit(e.maxWidth),u=convertToUnit(e.minHeight),d=convertToUnit(e.minWidth),f=convertToUnit(e.width);return i!=null&&(r.height=i),a!=null&&(r.maxHeight=a),c!=null&&(r.maxWidth=c),u!=null&&(r.minHeight=u),d!=null&&(r.minWidth=d),f!=null&&(r.width=f),r})}}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:i}=useRtl();return{locationStyles:computed(()=>{if(!e.location)return{};const{side:c,align:u}=parseAnchor(e.location.split(" ").length>1?e.location:`${e.location} center`,i.value);function d(m){return r?r(m):0}const f={};return c!=="center"&&(t?f[oppositeMap[c]]=`calc(100% - ${d(c)}px)`:f[c]=0),u!=="center"?t?f[oppositeMap[u]]=`calc(100% - ${d(u)}px)`:f[u]=0:(c==="center"?f.top=f.left="50%":f[{top:"left",bottom:"left",left:"top",right:"top"}[c]]="50%",f.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[c]),f})}}const makeVProgressLinearProps=propsFactory({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},bufferColor:String,bufferOpacity:[Number,String],clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},opacity:[Number,String],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 i=useProxiedModel(e,"modelValue"),{isRtl:a,rtlClasses:c}=useRtl(),{themeClasses:u}=provideTheme(e),{locationStyles:d}=useLocation(e),{textColorClasses:f,textColorStyles:m}=useTextColor(()=>e.color),{backgroundColorClasses:y,backgroundColorStyles:v}=useBackgroundColor(()=>e.bgColor||e.color),{backgroundColorClasses:w,backgroundColorStyles:_}=useBackgroundColor(()=>e.bufferColor||e.bgColor||e.color),{backgroundColorClasses:S,backgroundColorStyles:b}=useBackgroundColor(()=>e.color),{roundedClasses:k}=useRounded(e),{intersectionRef:C,isIntersecting:O}=useIntersectionObserver(),T=computed(()=>parseFloat(e.max)),E=computed(()=>parseFloat(e.height)),A=computed(()=>clamp(parseFloat(e.bufferValue)/T.value*100,0,100)),P=computed(()=>clamp(parseFloat(i.value)/T.value*100,0,100)),M=computed(()=>a.value!==e.reverse),D=computed(()=>e.indeterminate?"fade-transition":"slide-x-transition");function F(I){if(!C.value)return;const{left:U,right:$,width:z}=C.value.getBoundingClientRect(),q=M.value?z-I.clientX+($-z):I.clientX-U;i.value=Math.round(q/z*T.value)}return useRender(()=>createVNode(e.tag,{ref:C,class:normalizeClass(["v-progress-linear",{"v-progress-linear--absolute":e.absolute,"v-progress-linear--active":e.active&&O.value,"v-progress-linear--reverse":M.value,"v-progress-linear--rounded":e.rounded,"v-progress-linear--rounded-bar":e.roundedBar,"v-progress-linear--striped":e.striped,"v-progress-linear--clickable":e.clickable},k.value,u.value,c.value,e.class]),style:normalizeStyle([{bottom:e.location==="bottom"?0:void 0,top:e.location==="top"?0:void 0,height:e.active?convertToUnit(E.value):0,"--v-progress-linear-height":convertToUnit(E.value),...e.absolute?d.value:{}},e.style]),role:"progressbar","aria-hidden":e.active?"false":"true","aria-valuemin":"0","aria-valuemax":e.max,"aria-valuenow":e.indeterminate?void 0:Math.min(parseFloat(i.value),T.value),onClick:e.clickable&&F},{default:()=>[e.stream&&createBaseVNode("div",{key:"stream",class:normalizeClass(["v-progress-linear__stream",f.value]),style:{...m.value,[M.value?"left":"right"]:convertToUnit(-E.value),borderTop:`${convertToUnit(E.value/2)} dotted`,opacity:parseFloat(e.bufferOpacity),top:`calc(50% - ${convertToUnit(E.value/4)})`,width:convertToUnit(100-A.value,"%"),"--v-progress-linear-stream-to":convertToUnit(E.value*(M.value?1:-1))}},null),createBaseVNode("div",{class:normalizeClass(["v-progress-linear__background",y.value]),style:normalizeStyle([v.value,{opacity:parseFloat(e.bgOpacity),width:e.stream?0:void 0}])},null),createBaseVNode("div",{class:normalizeClass(["v-progress-linear__buffer",w.value]),style:normalizeStyle([_.value,{opacity:parseFloat(e.bufferOpacity),width:convertToUnit(A.value,"%")}])},null),createVNode(Transition,{name:D.value},{default:()=>[e.indeterminate?createBaseVNode("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map(I=>createBaseVNode("div",{key:I,class:normalizeClass(["v-progress-linear__indeterminate",I,S.value]),style:normalizeStyle(b.value)},null))]):createBaseVNode("div",{class:normalizeClass(["v-progress-linear__determinate",S.value]),style:normalizeStyle([b.value,{width:convertToUnit(P.value,"%")}])},null)]}),r.default&&createBaseVNode("div",{class:"v-progress-linear__content"},[r.default({value:P.value,buffer:A.value})])]})),{}}}),makeLoaderProps=propsFactory({loading:[Boolean,String]},"loader");function useLoader(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:getCurrentInstanceName();return{loaderClasses:toRef$2(()=>({[`${t}--loading`]:e.loading}))}}function LoaderSlot(e,t){let{slots:r}=t;return createBaseVNode("div",{class:normalizeClass(`${e.name}__loader`)},[r.default?.({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:toRef$2(()=>e.position?`${t}--${e.position}`:void 0)}}function useRoute(){const e=getCurrentInstance("useRoute");return computed(()=>e?.proxy?.$route)}function useRouter(){return getCurrentInstance("useRouter")?.proxy?.$router}function useLink(e,t){const r=resolveDynamicComponent("RouterLink"),i=toRef$2(()=>!!(e.href||e.to)),a=computed(()=>i?.value||hasEvent(t,"click")||hasEvent(e,"click"));if(typeof r=="string"||!("useLink"in r)){const y=toRef$2(()=>e.href);return{isLink:i,isClickable:a,href:y,linkProps:reactive({href:y})}}const c=r.useLink({to:toRef$2(()=>e.to||""),replace:toRef$2(()=>e.replace)}),u=computed(()=>e.to?c:void 0),d=useRoute(),f=computed(()=>u.value?e.exact?d.value?u.value.isExactActive?.value&&deepEqual(u.value.route.value.query,d.value.query):u.value.isExactActive?.value??!1:u.value.isActive?.value??!1:!1),m=computed(()=>e.to?u.value?.route.value.href:e.href);return{isLink:i,isClickable:a,isActive:f,route:u.value?.route,navigate:u.value?.navigate,href:m,linkProps:reactive({href:m,"aria-current":toRef$2(()=>f.value?"page":void 0)})}}const makeRouterProps=propsFactory({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let inTransition=!1;function useBackButton(e,t){let r=!1,i,a;IN_BROWSER&&e?.beforeEach&&(nextTick(()=>{window.addEventListener("popstate",c),i=e.beforeEach((u,d,f)=>{inTransition?r?t(f):f():setTimeout(()=>r?t(f):f()),inTransition=!0}),a=e?.afterEach(()=>{inTransition=!1})}),onScopeDispose(()=>{window.removeEventListener("popstate",c),i?.(),a?.()}));function c(u){u.state?.replaced||(r=!0,setTimeout(()=>r=!1))}}function useSelectLink(e,t){watch(()=>e.isActive?.value,r=>{e.isLink.value&&r!=null&&t&&nextTick(()=>{t(r)})},{immediate:!0})}const stopSymbol=Symbol("rippleStop"),DELAY_RIPPLE=80;function transform$1(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){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=0,a=0;if(!isKeyboardEvent(e)){const v=t.getBoundingClientRect(),w=isTouchEvent(e)?e.touches[e.touches.length-1]:e;i=w.clientX-v.left,a=w.clientY-v.top}let c=0,u=.3;t._ripple?.circle?(u=.15,c=t.clientWidth/2,c=r.center?c:c+Math.sqrt((i-c)**2+(a-c)**2)/4):c=Math.sqrt(t.clientWidth**2+t.clientHeight**2)/2;const d=`${(t.clientWidth-c*2)/2}px`,f=`${(t.clientHeight-c*2)/2}px`,m=r.center?d:`${i-c}px`,y=r.center?f:`${a-c}px`;return{radius:c,scale:u,x:m,y,centerX:d,centerY:f}},ripples={show(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!t?._ripple?.enabled)return;const i=document.createElement("span"),a=document.createElement("span");i.appendChild(a),i.className="v-ripple__container",r.class&&(i.className+=` ${r.class}`);const{radius:c,scale:u,x:d,y:f,centerX:m,centerY:y}=calculate(e,t,r),v=`${c*2}px`;a.className="v-ripple__animation",a.style.width=v,a.style.height=v,t.appendChild(i);const w=window.getComputedStyle(t);w&&w.position==="static"&&(t.style.position="relative",t.dataset.previousPosition="static"),a.classList.add("v-ripple__animation--enter"),a.classList.add("v-ripple__animation--visible"),transform$1(a,`translate(${d}, ${f}) scale3d(${u},${u},${u})`),a.dataset.activated=String(performance.now()),requestAnimationFrame(()=>{requestAnimationFrame(()=>{a.classList.remove("v-ripple__animation--enter"),a.classList.add("v-ripple__animation--in"),transform$1(a,`translate(${m}, ${y}) scale3d(1,1,1)`)})})},hide(e){if(!e?._ripple?.enabled)return;const t=e.getElementsByClassName("v-ripple__animation");if(t.length===0)return;const r=Array.from(t).findLast(c=>!c.dataset.isHiding);if(r)r.dataset.isHiding="true";else return;const i=performance.now()-Number(r.dataset.activated),a=Math.max(250-i,0);setTimeout(()=>{r.classList.remove("v-ripple__animation--in"),r.classList.add("v-ripple__animation--out"),setTimeout(()=>{e.getElementsByClassName("v-ripple__animation").length===1&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),r.parentNode?.parentNode===e&&e.removeChild(r.parentNode)},300)},a)}};function isRippleEnabled(e){return typeof e>"u"||!!e}function rippleShow(e){const t={},r=e.currentTarget;if(!(!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(()=>{r?._ripple?.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?._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?._ripple&&(t._ripple.showTimerCommit&&(t._ripple.showTimerCommit=null),window.clearTimeout(t._ripple.showTimer))}let keyboardRipple=!1;function keyboardRippleShow(e,t){!keyboardRipple&&t.includes(e.key)&&(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:i,modifiers:a}=t,c=isRippleEnabled(i);c||ripples.hide(e),e._ripple=e._ripple??{},e._ripple.enabled=c,e._ripple.centered=a.center,e._ripple.circle=a.circle;const u=isObject$3(i)?i:{};u.class&&(e._ripple.class=u.class);const d=u.keys??["Enter","Space"];if(e._ripple.keyDownHandler=f=>keyboardRippleShow(f,d),c&&!r){if(a.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",f=>keyboardRippleShow(f,d)),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._ripple?.keyDownHandler&&e.removeEventListener("keydown",e._ripple.keyDownHandler),e.removeEventListener("keyup",keyboardRippleHide),e.removeEventListener("dragstart",rippleHide),e.removeEventListener("blur",focusRippleHide)}function mounted$2(e,t){updateRipple(e,t,!1)}function unmounted$2(e){removeListeners(e),delete e._ripple}function updated(e,t){if(t.value===t.oldValue)return;const r=isRippleEnabled(t.oldValue);updateRipple(e,t,r)}const Ripple={mounted:mounted$2,unmounted:unmounted$2,updated},makeVBtnProps=propsFactory({active:{type:Boolean,default:void 0},activeColor:String,baseColor:String,symbol:{type:null,default:VBtnToggleSymbol},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:IconValue,appendIcon:IconValue,block:Boolean,readonly:Boolean,slim:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:{type:[String,Number,Boolean],default:void 0},...makeBorderProps(),...makeComponentProps(),...makeDensityProps(),...makeDimensionProps(),...makeElevationProps(),...makeGroupItemProps(),...makeLoaderProps(),...makeLocationProps(),...makePositionProps(),...makeRoundedProps(),...makeRouterProps(),...makeSizeProps(),...makeTagProps({tag:"button"}),...makeThemeProps(),...makeVariantProps({variant:"elevated"})},"VBtn"),VBtn=genericComponent()({name:"VBtn",props:makeVBtnProps(),emits:{"group:selected":e=>!0},setup(e,t){let{attrs:r,slots:i}=t;const{themeClasses:a}=provideTheme(e),{borderClasses:c}=useBorder(e),{densityClasses:u}=useDensity(e),{dimensionStyles:d}=useDimension(e),{elevationClasses:f}=useElevation(e),{loaderClasses:m}=useLoader(e),{locationStyles:y}=useLocation(e),{positionClasses:v}=usePosition(e),{roundedClasses:w}=useRounded(e),{sizeClasses:_,sizeStyles:S}=useSize(e),b=useGroupItem(e,e.symbol,!1),k=useLink(e,r),C=computed(()=>e.active!==void 0?e.active:k.isLink.value?k.isActive?.value:b?.isSelected.value),O=toRef$2(()=>C.value?e.activeColor??e.color:e.color),T=computed(()=>({color:b?.isSelected.value&&(!k.isLink.value||k.isActive?.value)||!b||k.isActive?.value?O.value??e.baseColor:e.baseColor,variant:e.variant})),{colorClasses:E,colorStyles:A,variantClasses:P}=useVariant(T),M=computed(()=>b?.disabled.value||e.disabled),D=toRef$2(()=>e.variant==="elevated"&&!(e.disabled||e.flat||e.border)),F=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 I(U){M.value||k.isLink.value&&(U.metaKey||U.ctrlKey||U.shiftKey||U.button!==0||r.target==="_blank")||(k.navigate?.(U),b?.toggle())}return useSelectLink(k,b?.select),useRender(()=>{const U=k.isLink.value?"a":e.tag,$=!!(e.prependIcon||i.prepend),z=!!(e.appendIcon||i.append),q=!!(e.icon&&e.icon!==!0);return withDirectives(createVNode(U,mergeProps({type:U==="a"?void 0:"button",class:["v-btn",b?.selectedClass.value,{"v-btn--active":C.value,"v-btn--block":e.block,"v-btn--disabled":M.value,"v-btn--elevated":D.value,"v-btn--flat":e.flat,"v-btn--icon":!!e.icon,"v-btn--loading":e.loading,"v-btn--readonly":e.readonly,"v-btn--slim":e.slim,"v-btn--stacked":e.stacked},a.value,c.value,E.value,u.value,f.value,m.value,v.value,w.value,_.value,P.value,e.class],style:[A.value,d.value,y.value,S.value,e.style],"aria-busy":e.loading?!0:void 0,disabled:M.value||void 0,tabindex:e.loading||e.readonly?-1:void 0,onClick:I,value:F.value},k.linkProps),{default:()=>[genOverlays(!0,"v-btn"),!e.icon&&$&&createBaseVNode("span",{key:"prepend",class:"v-btn__prepend"},[i.prepend?createVNode(VDefaultsProvider,{key:"prepend-defaults",disabled:!e.prependIcon,defaults:{VIcon:{icon:e.prependIcon}}},i.prepend):createVNode(VIcon,{key:"prepend-icon",icon:e.prependIcon},null)]),createBaseVNode("span",{class:"v-btn__content","data-no-activator":""},[!i.default&&q?createVNode(VIcon,{key:"content-icon",icon:e.icon},null):createVNode(VDefaultsProvider,{key:"content-defaults",disabled:!q,defaults:{VIcon:{icon:e.icon}}},{default:()=>[i.default?.()??toDisplayString$1(e.text)]})]),!e.icon&&z&&createBaseVNode("span",{key:"append",class:"v-btn__append"},[i.append?createVNode(VDefaultsProvider,{key:"append-defaults",disabled:!e.appendIcon,defaults:{VIcon:{icon:e.appendIcon}}},i.append):createVNode(VIcon,{key:"append-icon",icon:e.appendIcon},null)]),!!e.loading&&createBaseVNode("span",{key:"loader",class:"v-btn__loader"},[i.loader?.()??createVNode(VProgressCircular,{color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0,width:"2"},null)])]}),[[Ripple,!M.value&&e.ripple,"",{center:!!e.icon}]])}),{group:b}}}),VCardActions=genericComponent()({name:"VCardActions",props:makeComponentProps(),setup(e,t){let{slots:r}=t;return provideDefaults({VBtn:{slim:!0,variant:"text"}}),useRender(()=>createBaseVNode("div",{class:normalizeClass(["v-card-actions",e.class]),style:normalizeStyle(e.style)},[r.default?.()])),{}}}),makeVCardSubtitleProps=propsFactory({opacity:[Number,String],...makeComponentProps(),...makeTagProps()},"VCardSubtitle"),VCardSubtitle=genericComponent()({name:"VCardSubtitle",props:makeVCardSubtitleProps(),setup(e,t){let{slots:r}=t;return useRender(()=>createVNode(e.tag,{class:normalizeClass(["v-card-subtitle",e.class]),style:normalizeStyle([{"--v-card-subtitle-opacity":e.opacity},e.style])},r)),{}}}),VCardTitle=createSimpleFunctional("v-card-title");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:null,inline:Boolean,...makeComponentProps(),...makeDimensionProps()},"VResponsive"),VResponsive=genericComponent()({name:"VResponsive",props:makeVResponsiveProps(),setup(e,t){let{slots:r}=t;const{aspectStyles:i}=useAspectStyles(e),{dimensionStyles:a}=useDimension(e);return useRender(()=>createBaseVNode("div",{class:normalizeClass(["v-responsive",{"v-responsive--inline":e.inline},e.class]),style:normalizeStyle([a.value,e.style])},[createBaseVNode("div",{class:"v-responsive__sizer",style:normalizeStyle(i.value)},null),r.additional?.(),r.default&&createBaseVNode("div",{class:normalizeClass(["v-responsive__content",e.contentClass])},[r.default()])])),{}}}),makeTransitionProps$1=propsFactory({transition:{type:null,default:"fade-transition",validator:e=>e!==!0}},"transition"),MaybeTransition=(e,t)=>{let{slots:r}=t;const{transition:i,disabled:a,group:c,...u}=e,{component:d=c?TransitionGroup:Transition,...f}=isObject$3(i)?i:{};let m;return isObject$3(i)?m=mergeProps(f,onlyDefinedProps({disabled:a,group:c}),u):m=mergeProps({name:a||!i?"":i},u),h(d,m,r)};function mounted$1(e,t){if(!SUPPORTS_INTERSECTION)return;const r=t.modifiers||{},i=t.value,{handler:a,options:c}=typeof i=="object"?i:{handler:i,options:{}},u=new IntersectionObserver(function(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],f=arguments.length>1?arguments[1]:void 0;const m=e._observe?.[t.instance.$.uid];if(!m)return;const y=d.some(v=>v.isIntersecting);a&&(!r.quiet||m.init)&&(!r.once||y||m.init)&&a(y,d,f),y&&r.once?unmounted$1(e,t):m.init=!0},c);e._observe=Object(e._observe),e._observe[t.instance.$.uid]={init:!1,observer:u},u.observe(e)}function unmounted$1(e,t){const r=e._observe?.[t.instance.$.uid];r&&(r.observer.unobserve(e),delete e._observe[t.instance.$.uid])}const Intersect={mounted:mounted$1,unmounted:unmounted$1},makeVImgProps=propsFactory({absolute:Boolean,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:{vIntersect:Intersect},props:makeVImgProps(),emits:{loadstart:e=>!0,load:e=>!0,error:e=>!0},setup(e,t){let{emit:r,slots:i}=t;const{backgroundColorClasses:a,backgroundColorStyles:c}=useBackgroundColor(()=>e.color),{roundedClasses:u}=useRounded(e),d=getCurrentInstance("VImg"),f=shallowRef(""),m=ref(),y=shallowRef(e.eager?"loading":"idle"),v=shallowRef(),w=shallowRef(),_=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)}),S=computed(()=>_.value.aspect||v.value/w.value||0);watch(()=>e.src,()=>{b(y.value!=="idle")}),watch(S,($,z)=>{!$&&z&&m.value&&E(m.value)}),onBeforeMount(()=>b());function b($){if(!(e.eager&&$)&&!(SUPPORTS_INTERSECTION&&!$&&!e.eager)){if(y.value="loading",_.value.lazySrc){const z=new Image;z.src=_.value.lazySrc,E(z,null)}_.value.src&&nextTick(()=>{r("loadstart",m.value?.currentSrc||_.value.src),setTimeout(()=>{if(!d.isUnmounted)if(m.value?.complete){if(m.value.naturalWidth||C(),y.value==="error")return;S.value||E(m.value,null),y.value==="loading"&&k()}else S.value||E(m.value),O()})})}}function k(){d.isUnmounted||(O(),E(m.value),y.value="loaded",r("load",m.value?.currentSrc||_.value.src))}function C(){d.isUnmounted||(y.value="error",r("error",m.value?.currentSrc||_.value.src))}function O(){const $=m.value;$&&(f.value=$.currentSrc||$.src)}let T=-1;onBeforeUnmount(()=>{clearTimeout(T)});function E($){let z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:100;const q=()=>{if(clearTimeout(T),d.isUnmounted)return;const{naturalHeight:G,naturalWidth:ee}=$;G||ee?(v.value=ee,w.value=G):!$.complete&&y.value==="loading"&&z!=null?T=window.setTimeout(q,z):($.currentSrc.endsWith(".svg")||$.currentSrc.startsWith("data:image/svg+xml"))&&(v.value=1,w.value=1)};q()}const A=toRef$2(()=>({"v-img__img--cover":e.cover,"v-img__img--contain":!e.cover})),P=()=>{if(!_.value.src||y.value==="idle")return null;const $=createBaseVNode("img",{class:normalizeClass(["v-img__img",A.value]),style:{objectPosition:e.position},crossorigin:e.crossorigin,src:_.value.src,srcset:_.value.srcset,alt:e.alt,referrerpolicy:e.referrerpolicy,draggable:e.draggable,sizes:e.sizes,ref:m,onLoad:k,onError:C},null),z=i.sources?.();return createVNode(MaybeTransition,{transition:e.transition,appear:!0},{default:()=>[withDirectives(z?createBaseVNode("picture",{class:"v-img__picture"},[z,$]):$,[[vShow,y.value==="loaded"]])]})},M=()=>createVNode(MaybeTransition,{transition:e.transition},{default:()=>[_.value.lazySrc&&y.value!=="loaded"&&createBaseVNode("img",{class:normalizeClass(["v-img__img","v-img__img--preload",A.value]),style:{objectPosition:e.position},crossorigin:e.crossorigin,src:_.value.lazySrc,alt:e.alt,referrerpolicy:e.referrerpolicy,draggable:e.draggable},null)]}),D=()=>i.placeholder?createVNode(MaybeTransition,{transition:e.transition,appear:!0},{default:()=>[(y.value==="loading"||y.value==="error"&&!i.error)&&createBaseVNode("div",{class:"v-img__placeholder"},[i.placeholder()])]}):null,F=()=>i.error?createVNode(MaybeTransition,{transition:e.transition,appear:!0},{default:()=>[y.value==="error"&&createBaseVNode("div",{class:"v-img__error"},[i.error()])]}):null,I=()=>e.gradient?createBaseVNode("div",{class:"v-img__gradient",style:{backgroundImage:`linear-gradient(${e.gradient})`}},null):null,U=shallowRef(!1);{const $=watch(S,z=>{z&&(requestAnimationFrame(()=>{requestAnimationFrame(()=>{U.value=!0})}),$())})}return useRender(()=>{const $=VResponsive.filterProps(e);return withDirectives(createVNode(VResponsive,mergeProps({class:["v-img",{"v-img--absolute":e.absolute,"v-img--booting":!U.value},a.value,u.value,e.class],style:[{width:convertToUnit(e.width==="auto"?v.value:e.width)},c.value,e.style]},$,{aspectRatio:S.value,"aria-label":e.alt,role:e.alt?"img":void 0}),{additional:()=>createBaseVNode(Fragment,null,[createVNode(P,null,null),createVNode(M,null,null),createVNode(I,null,null),createVNode(D,null,null),createVNode(F,null,null)]),default:i.default}),[[Intersect,{handler:b,options:e.options},null,{once:!0}]])}),{currentSrc:f,image:m,state:y,naturalWidth:v,naturalHeight:w}}}),makeVAvatarProps=propsFactory({start:Boolean,end:Boolean,icon:IconValue,image:String,text:String,...makeBorderProps(),...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:i}=provideTheme(e),{borderClasses:a}=useBorder(e),{colorClasses:c,colorStyles:u,variantClasses:d}=useVariant(e),{densityClasses:f}=useDensity(e),{roundedClasses:m}=useRounded(e),{sizeClasses:y,sizeStyles:v}=useSize(e);return useRender(()=>createVNode(e.tag,{class:normalizeClass(["v-avatar",{"v-avatar--start":e.start,"v-avatar--end":e.end},i.value,a.value,c.value,f.value,m.value,y.value,d.value,e.class]),style:normalizeStyle([u.value,v.value,e.style])},{default:()=>[r.default?createVNode(VDefaultsProvider,{key:"content-defaults",defaults:{VImg:{cover:!0,src: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")]})),{}}}),makeCardItemProps=propsFactory({appendAvatar:String,appendIcon:IconValue,prependAvatar:String,prependIcon:IconValue,subtitle:{type:[String,Number,Boolean],default:void 0},title:{type:[String,Number,Boolean],default:void 0},...makeComponentProps(),...makeDensityProps()},"VCardItem"),VCardItem=genericComponent()({name:"VCardItem",props:makeCardItemProps(),setup(e,t){let{slots:r}=t;return useRender(()=>{const i=!!(e.prependAvatar||e.prependIcon),a=!!(i||r.prepend),c=!!(e.appendAvatar||e.appendIcon),u=!!(c||r.append),d=!!(e.title!=null||r.title),f=!!(e.subtitle!=null||r.subtitle);return createBaseVNode("div",{class:normalizeClass(["v-card-item",e.class]),style:normalizeStyle(e.style)},[a&&createBaseVNode("div",{key:"prepend",class:"v-card-item__prepend"},[r.prepend?createVNode(VDefaultsProvider,{key:"prepend-defaults",disabled:!i,defaults:{VAvatar:{density:e.density,image:e.prependAvatar},VIcon:{density:e.density,icon:e.prependIcon}}},r.prepend):createBaseVNode(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)])]),createBaseVNode("div",{class:"v-card-item__content"},[d&&createVNode(VCardTitle,{key:"title"},{default:()=>[r.title?.()??toDisplayString$1(e.title)]}),f&&createVNode(VCardSubtitle,{key:"subtitle"},{default:()=>[r.subtitle?.()??toDisplayString$1(e.subtitle)]}),r.default?.()]),u&&createBaseVNode("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):createBaseVNode(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)])])])}),{}}}),makeVCardTextProps=propsFactory({opacity:[Number,String],...makeComponentProps(),...makeTagProps()},"VCardText"),VCardText=genericComponent()({name:"VCardText",props:makeVCardTextProps(),setup(e,t){let{slots:r}=t;return useRender(()=>createVNode(e.tag,{class:normalizeClass(["v-card-text",e.class]),style:normalizeStyle([{"--v-card-text-opacity":e.opacity},e.style])},r)),{}}}),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:{type:[String,Number,Boolean],default:void 0},text:{type:[String,Number,Boolean],default:void 0},title:{type:[String,Number,Boolean],default:void 0},...makeBorderProps(),...makeComponentProps(),...makeDensityProps(),...makeDimensionProps(),...makeElevationProps(),...makeLoaderProps(),...makeLocationProps(),...makePositionProps(),...makeRoundedProps(),...makeRouterProps(),...makeTagProps(),...makeThemeProps(),...makeVariantProps({variant:"elevated"})},"VCard"),VCard=genericComponent()({name:"VCard",directives:{vRipple:Ripple},props:makeVCardProps(),setup(e,t){let{attrs:r,slots:i}=t;const{themeClasses:a}=provideTheme(e),{borderClasses:c}=useBorder(e),{colorClasses:u,colorStyles:d,variantClasses:f}=useVariant(e),{densityClasses:m}=useDensity(e),{dimensionStyles:y}=useDimension(e),{elevationClasses:v}=useElevation(e),{loaderClasses:w}=useLoader(e),{locationStyles:_}=useLocation(e),{positionClasses:S}=usePosition(e),{roundedClasses:b}=useRounded(e),k=useLink(e,r);return useRender(()=>{const C=e.link!==!1&&k.isLink.value,O=!e.disabled&&e.link!==!1&&(e.link||k.isClickable.value),T=C?"a":e.tag,E=!!(i.title||e.title!=null),A=!!(i.subtitle||e.subtitle!=null),P=E||A,M=!!(i.append||e.appendAvatar||e.appendIcon),D=!!(i.prepend||e.prependAvatar||e.prependIcon),F=!!(i.image||e.image),I=P||D||M,U=!!(i.text||e.text!=null);return withDirectives(createVNode(T,mergeProps({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":O},a.value,c.value,u.value,m.value,v.value,w.value,S.value,b.value,f.value,e.class],style:[d.value,y.value,_.value,e.style],onClick:O&&k.navigate,tabindex:e.disabled?-1:void 0},k.linkProps),{default:()=>[F&&createBaseVNode("div",{key:"image",class:"v-card__image"},[i.image?createVNode(VDefaultsProvider,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},i.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:i.loader}),I&&createVNode(VCardItem,{key:"item",prependAvatar:e.prependAvatar,prependIcon:e.prependIcon,title:e.title,subtitle:e.subtitle,appendAvatar:e.appendAvatar,appendIcon:e.appendIcon},{default:i.item,prepend:i.prepend,title:i.title,subtitle:i.subtitle,append:i.append}),U&&createVNode(VCardText,{key:"text"},{default:()=>[i.text?.()??e.text]}),i.default?.(),i.actions&&createVNode(VCardActions,null,{default:i.actions}),genOverlays(O,"v-card")]}),[[Ripple,O&&e.ripple]])}),{}}}),makeVContainerProps=propsFactory({fluid:{type:Boolean,default:!1},...makeComponentProps(),...makeDimensionProps(),...makeTagProps()},"VContainer"),VContainer=genericComponent()({name:"VContainer",props:makeVContainerProps(),setup(e,t){let{slots:r}=t;const{rtlClasses:i}=useRtl(),{dimensionStyles:a}=useDimension(e);return useRender(()=>createVNode(e.tag,{class:normalizeClass(["v-container",{"v-container--fluid":e.fluid},i.value,e.class]),style:normalizeStyle([a.value,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$1(t);return e[r]={type:[String,Number],default:null},e},{}),orderProps=breakpoints.reduce((e,t)=>{const r="order"+capitalize$1(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 i=e;if(!(r==null||r===!1)){if(t){const a=t.replace(e,"");i+=`-${a}`}return e==="col"&&(i="v-"+i),e==="col"&&(r===""||r===!0)||(i+=`-${r}`),i.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 i=computed(()=>{const a=[];let c;for(c in propMap$1)propMap$1[c].forEach(d=>{const f=e[d],m=breakpointClass$1(c,d,f);m&&a.push(m)});const u=a.some(d=>d.startsWith("v-col-"));return a.push({"v-col":!u||!e.cols,[`v-col-${e.cols}`]:e.cols,[`offset-${e.offset}`]:e.offset,[`order-${e.order}`]:e.order,[`align-self-${e.alignSelf}`]:e.alignSelf}),a});return()=>h(e.tag,{class:[i.value,e.class],style:e.style},r.default?.())}}),ALIGNMENT=["start","end","center"],SPACE=["space-between","space-around","space-evenly"];function makeRowProps(e,t){return breakpoints.reduce((r,i)=>{const a=e+capitalize$1(i);return r[a]=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 i=classMap[e];if(r!=null){if(t){const a=t.replace(e,"");i+=`-${a}`}return i+=`-${r}`,i.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 i=computed(()=>{const a=[];let c;for(c in propMap)propMap[c].forEach(u=>{const d=e[u],f=breakpointClass(c,u,d);f&&a.push(f)});return a.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}),a});return()=>h(e.tag,{class:["v-row",i.value,e.class],style:e.style},r.default?.())}}),VSpacer=createSimpleFunctional("v-spacer","div","VSpacer"),_sfc_main$f=defineComponent$1({__name:"VClosableCardTitle",props:mergeModels({title:{type:String,default:""},icon:{type:String,default:""},subTitle:{type:String,default:""},hideClose:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:mergeModels(["close"],["update:modelValue"]),setup(e,{emit:t}){const r=t,i=e,a=useModel(e,"modelValue");return(c,u)=>(openBlock(),createBlock(VCardTitle,{class:"pb-1 pt-1 pl-1 pr-1"},{default:withCtx(()=>[createVNode(VRow,{"no-gutters":"",align:"center"},{default:withCtx(()=>[createVNode(VCol,{cols:"10",md:"11",class:"text-truncate pt-0 pb-0 pl-2"},{default:withCtx(()=>[renderSlot$1(c.$slots,"content",{},()=>[i.icon!=""?(openBlock(),createElementBlock("i",{key:0,class:normalizeClass(i.icon)},null,2)):createCommentVNode("",!0),createTextVNode(" "+toDisplayString$1(i.title)+" ",1),i.subTitle!=""?(openBlock(),createBlock(VCardSubtitle,{key:1,class:"pa-0"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(i.subTitle),1)]),_:1})):createCommentVNode("",!0)])]),_:3}),createVNode(VCol,{cols:"2",md:"1"},{default:withCtx(()=>[i.hideClose?createCommentVNode("",!0):(openBlock(),createBlock(VBtn,{key:0,class:"float-right pr-2",icon:"$close",variant:"plain",onClick:u[0]||(u[0]=d=>{a.value=!1,r("close")})}))]),_:1})]),_:3})]),_:3}))}});function tryOnScopeDispose(e){return getCurrentScope()?(onScopeDispose(e),!0):!1}const localProvidedStateMap=new WeakMap,injectLocal=(...e)=>{var t;const r=e[0],i=(t=getCurrentInstance$1())==null?void 0:t.proxy;if(i==null&&!hasInjectionContext())throw new Error("injectLocal must be called in setup");return i&&localProvidedStateMap.has(i)&&r in localProvidedStateMap.get(i)?localProvidedStateMap.get(i)[r]:inject$1(...e)},isClient=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const notNullish=e=>e!=null,toString=Object.prototype.toString,isObject$2=e=>toString.call(e)==="[object Object]",noop=()=>{};function toRef$1(...e){if(e.length!==1)return toRef$2(...e);const t=e[0];return typeof t=="function"?readonly(customRef(()=>({get:t,set:noop}))):ref(t)}function createFilterWrapper(e,t){function r(...i){return new Promise((a,c)=>{Promise.resolve(e(()=>t.apply(this,i),{fn:t,thisArg:this,args:i})).then(a).catch(c)})}return r}const bypassFilter=e=>e();function debounceFilter(e,t={}){let r,i,a=noop;const c=f=>{clearTimeout(f),a(),a=noop};let u;return f=>{const m=toValue(e),y=toValue(t.maxWait);return r&&c(r),m<=0||y!==void 0&&y<=0?(i&&(c(i),i=void 0),Promise.resolve(f())):new Promise((v,w)=>{a=t.rejectOnCancel?w:v,u=f,y&&!i&&(i=setTimeout(()=>{r&&c(r),i=void 0,v(u())},y)),r=setTimeout(()=>{i&&c(i),i=void 0,v(f())},m)})}}function pausableFilter(e=bypassFilter,t={}){const{initialState:r="active"}=t,i=toRef$1(r==="active");function a(){i.value=!1}function c(){i.value=!0}const u=(...d)=>{i.value&&e(...d)};return{isActive:readonly(i),pause:a,resume:c,eventFilter:u}}function createSingletonPromise(e){let t;function r(){return t||(t=e()),t}return r.reset=async()=>{const i=t;t=void 0,i&&await i},r}function pxValue(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function toArray(e){return Array.isArray(e)?e:[e]}function getLifeCycleTarget(e){return getCurrentInstance$1()}function useDebounceFn(e,t=200,r={}){return createFilterWrapper(debounceFilter(t,r),e)}function watchWithFilter(e,t,r={}){const{eventFilter:i=bypassFilter,...a}=r;return watch(e,createFilterWrapper(i,t),a)}function watchPausable(e,t,r={}){const{eventFilter:i,initialState:a="active",...c}=r,{eventFilter:u,pause:d,resume:f,isActive:m}=pausableFilter(i,{initialState:a});return{stop:watchWithFilter(e,t,{...c,eventFilter:u}),pause:d,resume:f,isActive:m}}function tryOnMounted(e,t=!0,r){getLifeCycleTarget()?onMounted(e,r):t?e():nextTick(e)}function useTimeoutFn(e,t,r={}){const{immediate:i=!0,immediateCallback:a=!1}=r,c=shallowRef(!1);let u;function d(){u&&(clearTimeout(u),u=void 0)}function f(){c.value=!1,d()}function m(...y){a&&e(),d(),c.value=!0,u=setTimeout(()=>{c.value=!1,u=void 0,e(...y)},toValue(t))}return i&&(c.value=!0,isClient&&m()),tryOnScopeDispose(f),{isPending:shallowReadonly(c),start:m,stop:f}}function watchImmediate(e,t,r){return watch(e,t,{...r,immediate:!0})}function whenever(e,t,r){return watch(e,(a,c,u)=>{a&&t(a,c,u)},{...r,once:!1})}const defaultWindow=isClient?window:void 0,defaultDocument=isClient?window.document:void 0,defaultNavigator=isClient?window.navigator:void 0;function unrefElement(e){var t;const r=toValue(e);return(t=r?.$el)!=null?t:r}function useEventListener(...e){const t=[],r=()=>{t.forEach(d=>d()),t.length=0},i=(d,f,m,y)=>(d.addEventListener(f,m,y),()=>d.removeEventListener(f,m,y)),a=computed(()=>{const d=toArray(toValue(e[0])).filter(f=>f!=null);return d.every(f=>typeof f!="string")?d:void 0}),c=watchImmediate(()=>{var d,f;return[(f=(d=a.value)==null?void 0:d.map(m=>unrefElement(m)))!=null?f:[defaultWindow].filter(m=>m!=null),toArray(toValue(a.value?e[1]:e[0])),toArray(unref(a.value?e[2]:e[1])),toValue(a.value?e[3]:e[2])]},([d,f,m,y])=>{if(r(),!d?.length||!f?.length||!m?.length)return;const v=isObject$2(y)?{...y}:y;t.push(...d.flatMap(w=>f.flatMap(_=>m.map(S=>i(w,_,S,v)))))},{flush:"post"}),u=()=>{c(),r()};return tryOnScopeDispose(r),u}function useMounted(){const e=shallowRef(!1),t=getCurrentInstance$1();return t&&onMounted(()=>{e.value=!0},t),e}function useSupported(e){const t=useMounted();return computed(()=>(t.value,!!e()))}function useMutationObserver(e,t,r={}){const{window:i=defaultWindow,...a}=r;let c;const u=useSupported(()=>i&&"MutationObserver"in i),d=()=>{c&&(c.disconnect(),c=void 0)},f=computed(()=>{const w=toValue(e),_=toArray(w).map(unrefElement).filter(notNullish);return new Set(_)}),m=watch(()=>f.value,w=>{d(),u.value&&w.size&&(c=new MutationObserver(t),w.forEach(_=>c.observe(_,a)))},{immediate:!0,flush:"post"}),y=()=>c?.takeRecords(),v=()=>{m(),d()};return tryOnScopeDispose(v),{isSupported:u,stop:v,takeRecords:y}}const ssrWidthSymbol=Symbol("vueuse-ssr-width");function useSSRWidth(){const e=hasInjectionContext()?injectLocal(ssrWidthSymbol,null):null;return typeof e=="number"?e:void 0}function useMediaQuery(e,t={}){const{window:r=defaultWindow,ssrWidth:i=useSSRWidth()}=t,a=useSupported(()=>r&&"matchMedia"in r&&typeof r.matchMedia=="function"),c=shallowRef(typeof i=="number"),u=shallowRef(),d=shallowRef(!1),f=m=>{d.value=m.matches};return watchEffect(()=>{if(c.value){c.value=!a.value;const m=toValue(e).split(",");d.value=m.some(y=>{const v=y.includes("not all"),w=y.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),_=y.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let S=!!(w||_);return w&&S&&(S=i>=pxValue(w[1])),_&&S&&(S=i<=pxValue(_[1])),v?!S:S});return}a.value&&(u.value=r.matchMedia(toValue(e)),d.value=u.value.matches)}),useEventListener(u,"change",f,{passive:!0}),computed(()=>d.value)}function usePermission(e,t={}){const{controls:r=!1,navigator:i=defaultNavigator}=t,a=useSupported(()=>i&&"permissions"in i),c=shallowRef(),u=typeof e=="string"?{name:e}:e,d=shallowRef(),f=()=>{var y,v;d.value=(v=(y=c.value)==null?void 0:y.state)!=null?v:"prompt"};useEventListener(c,"change",f,{passive:!0});const m=createSingletonPromise(async()=>{if(a.value){if(!c.value)try{c.value=await i.permissions.query(u)}catch{c.value=void 0}finally{f()}if(r)return toRaw(c.value)}});return m(),r?{state:d,isSupported:a,query:m}:d}function useClipboard(e={}){const{navigator:t=defaultNavigator,read:r=!1,source:i,copiedDuring:a=1500,legacy:c=!1}=e,u=useSupported(()=>t&&"clipboard"in t),d=usePermission("clipboard-read"),f=usePermission("clipboard-write"),m=computed(()=>u.value||c),y=shallowRef(""),v=shallowRef(!1),w=useTimeoutFn(()=>v.value=!1,a,{immediate:!1});async function _(){let O=!(u.value&&C(d.value));if(!O)try{y.value=await t.clipboard.readText()}catch{O=!0}O&&(y.value=k())}m.value&&r&&useEventListener(["copy","cut"],_,{passive:!0});async function S(O=toValue(i)){if(m.value&&O!=null){let T=!(u.value&&C(f.value));if(!T)try{await t.clipboard.writeText(O)}catch{T=!0}T&&b(O),y.value=O,v.value=!0,w.start()}}function b(O){const T=document.createElement("textarea");T.value=O??"",T.style.position="absolute",T.style.opacity="0",document.body.appendChild(T),T.select(),document.execCommand("copy"),T.remove()}function k(){var O,T,E;return(E=(T=(O=document?.getSelection)==null?void 0:O.call(document))==null?void 0:T.toString())!=null?E:""}function C(O){return O==="granted"||O==="prompt"}return{isSupported:m,text:y,copied:v,copy:S}}const _global=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},globalKey="__vueuse_ssr_handlers__",handlers=getHandlers();function getHandlers(){return globalKey in _global||(_global[globalKey]=_global[globalKey]||{}),_global[globalKey]}function getSSRHandler(e,t){return handlers[e]||t}function guessSerializerType(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const StorageSerializers={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},customStorageEventName="vueuse-storage";function useStorage(e,t,r,i={}){var a;const{flush:c="pre",deep:u=!0,listenToStorageChanges:d=!0,writeDefaults:f=!0,mergeDefaults:m=!1,shallow:y,window:v=defaultWindow,eventFilter:w,onError:_=q=>{console.error(q)},initOnMounted:S}=i,b=(y?shallowRef:ref)(typeof t=="function"?t():t),k=computed(()=>toValue(e));if(!r)try{r=getSSRHandler("getDefaultStorage",()=>{var q;return(q=defaultWindow)==null?void 0:q.localStorage})()}catch(q){_(q)}if(!r)return b;const C=toValue(t),O=guessSerializerType(C),T=(a=i.serializer)!=null?a:StorageSerializers[O],{pause:E,resume:A}=watchPausable(b,()=>I(b.value),{flush:c,deep:u,eventFilter:w});watch(k,()=>$(),{flush:c});let P=!1;const M=q=>{S&&!P||$(q)},D=q=>{S&&!P||z(q)};v&&d&&(r instanceof Storage?useEventListener(v,"storage",M,{passive:!0}):useEventListener(v,customStorageEventName,D)),S?tryOnMounted(()=>{P=!0,$()}):$();function F(q,G){if(v){const ee={key:k.value,oldValue:q,newValue:G,storageArea:r};v.dispatchEvent(r instanceof Storage?new StorageEvent("storage",ee):new CustomEvent(customStorageEventName,{detail:ee}))}}function I(q){try{const G=r.getItem(k.value);if(q==null)F(G,null),r.removeItem(k.value);else{const ee=T.write(q);G!==ee&&(r.setItem(k.value,ee),F(G,ee))}}catch(G){_(G)}}function U(q){const G=q?q.newValue:r.getItem(k.value);if(G==null)return f&&C!=null&&r.setItem(k.value,T.write(C)),C;if(!q&&m){const ee=T.read(G);return typeof m=="function"?m(ee,C):O==="object"&&!Array.isArray(ee)?{...C,...ee}:ee}else return typeof G!="string"?G:T.read(G)}function $(q){if(!(q&&q.storageArea!==r)){if(q&&q.key==null){b.value=C;return}if(!(q&&q.key!==k.value)){E();try{q?.newValue!==T.write(b.value)&&(b.value=U(q))}catch(G){_(G)}finally{q?nextTick(A):A()}}}}function z(q){$(q.detail)}return b}function useDocumentVisibility(e={}){const{document:t=defaultDocument}=e;if(!t)return shallowRef("visible");const r=shallowRef(t.visibilityState);return useEventListener(t,"visibilitychange",()=>{r.value=t.visibilityState},{passive:!0}),r}function useTitle(e=null,t={}){var r,i,a;const{document:c=defaultDocument,restoreOnUnmount:u=v=>v}=t,d=(r=c?.title)!=null?r:"",f=toRef$1((i=e??c?.title)!=null?i:null),m=!!(e&&typeof e=="function");function y(v){if(!("titleTemplate"in t))return v;const w=t.titleTemplate||"%s";return typeof w=="function"?w(v):toValue(w).replace(/%s/g,v)}return watch(f,(v,w)=>{v!==w&&c&&(c.title=y(v??""))},{immediate:!0}),t.observe&&!t.titleTemplate&&c&&!m&&useMutationObserver((a=c.head)==null?void 0:a.querySelector("title"),()=>{c&&c.title!==f.value&&(f.value=y(c.title))},{childList:!0}),tryOnScopeDispose(()=>{if(u){const v=u(d,f.value||"");v!=null&&c&&(c.title=v)}}),f}function useUrlSearchParams(e="history",t={}){const{initialValue:r={},removeNullishValues:i=!0,removeFalsyValues:a=!1,write:c=!0,writeMode:u="replace",window:d=defaultWindow,stringify:f=E=>E.toString()}=t;if(!d)return reactive(r);const m=reactive({});function y(){if(e==="history")return d.location.search||"";if(e==="hash"){const E=d.location.hash||"",A=E.indexOf("?");return A>0?E.slice(A):""}else return(d.location.hash||"").replace(/^#/,"")}function v(E){const A=f(E);if(e==="history")return`${A?`?${A}`:""}${d.location.hash||""}`;if(e==="hash-params")return`${d.location.search||""}${A?`#${A}`:""}`;const P=d.location.hash||"#",M=P.indexOf("?");return M>0?`${d.location.search||""}${P.slice(0,M)}${A?`?${A}`:""}`:`${d.location.search||""}${P}${A?`?${A}`:""}`}function w(){return new URLSearchParams(y())}function _(E){const A=new Set(Object.keys(m));for(const P of E.keys()){const M=E.getAll(P);m[P]=M.length>1?M:E.get(P)||"",A.delete(P)}Array.from(A).forEach(P=>delete m[P])}const{pause:S,resume:b}=watchPausable(m,()=>{const E=new URLSearchParams("");Object.keys(m).forEach(A=>{const P=m[A];Array.isArray(P)?P.forEach(M=>E.append(A,M)):i&&P==null||a&&!P?E.delete(A):E.set(A,P)}),k(E,!1)},{deep:!0});function k(E,A){S(),A&&_(E),u==="replace"?d.history.replaceState(d.history.state,d.document.title,d.location.pathname+v(E)):d.history.pushState(d.history.state,d.document.title,d.location.pathname+v(E)),b()}function C(){c&&k(w(),!0)}const O={passive:!0};useEventListener(d,"popstate",C,O),e!=="history"&&useEventListener(d,"hashchange",C,O);const T=w();return T.keys().next().value?_(T):Object.assign(m,r),m}function useWakeLock(e={}){const{navigator:t=defaultNavigator,document:r=defaultDocument}=e,i=shallowRef(!1),a=shallowRef(null),c=useDocumentVisibility({document:r}),u=useSupported(()=>t&&"wakeLock"in t),d=computed(()=>!!a.value&&c.value==="visible");u.value&&(useEventListener(a,"release",()=>{var v,w;i.value=(w=(v=a.value)==null?void 0:v.type)!=null?w:!1},{passive:!0}),whenever(()=>c.value==="visible"&&r?.visibilityState==="visible"&&i.value,v=>{i.value=!1,f(v)}));async function f(v){var w;await((w=a.value)==null?void 0:w.release()),a.value=u.value?await t.wakeLock.request(v):null}async function m(v){c.value==="visible"?await f(v):i.value=v}async function y(){i.value=!1;const v=a.value;a.value=null,await v?.release()}return{sentinel:a,isSupported:u,isActive:d,request:m,forceRequest:f,release:y}}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$1="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$1,day:n},DATE_HUGE={year:n,month:l$1,day:n,weekday:l$1},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$1},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$1},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$1,day:n,hour:n,minute:n,timeZoneName:s},DATETIME_FULL_WITH_SECONDS={year:n,month:l$1,day:n,hour:n,minute:n,second:n,timeZoneName:s},DATETIME_HUGE={year:n,month:l$1,day:n,weekday:l$1,hour:n,minute:n,timeZoneName:l$1},DATETIME_HUGE_WITH_SECONDS={year:n,month:l$1,day:n,weekday:l$1,hour:n,minute:n,second:n,timeZoneName:l$1};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:i}){return parseZoneInfo(t,r,i)}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}}const dtfCache=new Map;function makeDTF(e){let t=dtfCache.get(e);return t===void 0&&(t=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.set(e,t)),t}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,""),i=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r),[,a,c,u,d,f,m,y]=i;return[u,a,c,d,f,m,y]}function partsOffset(e,t){const r=e.formatToParts(t),i=[];for(let a=0;a<r.length;a++){const{type:c,value:u}=r[a],d=typeToPos[c];c==="era"?i[d]=u:isUndefined(d)||(i[d]=parseInt(u,10))}return i}const ianaZoneCache=new Map;class IANAZone extends Zone{static create(t){let r=ianaZoneCache.get(t);return r===void 0&&ianaZoneCache.set(t,r=new IANAZone(t)),r}static resetCache(){ianaZoneCache.clear(),dtfCache.clear()}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:i}){return parseZoneInfo(t,r,i,this.name)}formatOffset(t,r){return formatOffset(this.offset(t),r)}offset(t){if(!this.valid)return NaN;const r=new Date(t);if(isNaN(r))return NaN;const i=makeDTF(this.name);let[a,c,u,d,f,m,y]=i.formatToParts?partsOffset(i,r):hackyOffset(i,r);d==="BC"&&(a=-Math.abs(a)+1);const w=objToLocalTS({year:a,month:c,day:u,hour:f===24?0:f,minute:m,second:y,millisecond:0});let _=+r;const S=_%1e3;return _-=S>=0?S:1e3+S,(w-_)/(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 i=intlLFCache[r];return i||(i=new Intl.ListFormat(e,t),intlLFCache[r]=i),i}const intlDTCache=new Map;function getCachedDTF(e,t={}){const r=JSON.stringify([e,t]);let i=intlDTCache.get(r);return i===void 0&&(i=new Intl.DateTimeFormat(e,t),intlDTCache.set(r,i)),i}const intlNumCache=new Map;function getCachedINF(e,t={}){const r=JSON.stringify([e,t]);let i=intlNumCache.get(r);return i===void 0&&(i=new Intl.NumberFormat(e,t),intlNumCache.set(r,i)),i}const intlRelCache=new Map;function getCachedRTF(e,t={}){const{base:r,...i}=t,a=JSON.stringify([e,i]);let c=intlRelCache.get(a);return c===void 0&&(c=new Intl.RelativeTimeFormat(e,t),intlRelCache.set(a,c)),c}let sysLocaleCache=null;function systemLocale(){return sysLocaleCache||(sysLocaleCache=new Intl.DateTimeFormat().resolvedOptions().locale,sysLocaleCache)}const intlResolvedOptionsCache=new Map;function getCachedIntResolvedOptions(e){let t=intlResolvedOptionsCache.get(e);return t===void 0&&(t=new Intl.DateTimeFormat(e).resolvedOptions(),intlResolvedOptionsCache.set(e,t)),t}const weekInfoCache=new Map;function getCachedWeekInfo(e){let t=weekInfoCache.get(e);if(!t){const r=new Intl.Locale(e);t="getWeekInfo"in r?r.getWeekInfo():r.weekInfo,"minimalDays"in t||(t={...fallbackWeekSettings,...t}),weekInfoCache.set(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 i,a;try{i=getCachedDTF(e).resolvedOptions(),a=e}catch{const f=e.substring(0,r);i=getCachedDTF(f).resolvedOptions(),a=f}const{numberingSystem:c,calendar:u}=i;return[a,c,u]}}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 i=DateTime.utc(2009,r,1);t.push(e(i))}return t}function mapWeekdays(e){const t=[];for(let r=1;r<=7;r++){const i=DateTime.utc(2016,11,13+r);t.push(e(i))}return t}function listStuff(e,t,r,i){const a=e.listingMode();return a==="error"?null:a==="en"?r(t):i(t)}function supportsFastNumbers(e){return e.numberingSystem&&e.numberingSystem!=="latn"?!1:e.numberingSystem==="latn"||!e.locale||e.locale.startsWith("en")||getCachedIntResolvedOptions(e.locale).numberingSystem==="latn"}class PolyNumberFormatter{constructor(t,r,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:a,floor:c,...u}=i;if(!r||Object.keys(u).length>0){const d={useGrouping:!1,...i};i.padTo>0&&(d.minimumIntegerDigits=i.padTo),this.inf=getCachedINF(t,d)}}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,i){this.opts=i,this.originalZone=void 0;let a;if(this.opts.timeZone)this.dt=t;else if(t.zone.type==="fixed"){const u=-1*(t.offset/60),d=u>=0?`Etc/GMT+${u}`:`Etc/GMT${u}`;t.offset!==0&&IANAZone.create(d).valid?(a=d,this.dt=t):(a="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,a=t.zone.name):(a="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const c={...this.opts};c.timeZone=c.timeZone||a,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 i=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...r,value:i}}else return r}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class PolyRelFormatter{constructor(t,r,i){this.opts={style:"long",...i},!r&&hasRelative()&&(this.rtf=getCachedRTF(t,i))}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,i,a,c=!1){const u=t||Settings$1.defaultLocale,d=u||(c?"en-US":systemLocale()),f=r||Settings$1.defaultNumberingSystem,m=i||Settings$1.defaultOutputCalendar,y=validateWeekSettings(a)||Settings$1.defaultWeekSettings;return new Locale(d,f,m,y,u)}static resetCache(){sysLocaleCache=null,intlDTCache.clear(),intlNumCache.clear(),intlRelCache.clear(),intlResolvedOptionsCache.clear(),weekInfoCache.clear()}static fromObject({locale:t,numberingSystem:r,outputCalendar:i,weekSettings:a}={}){return Locale.create(t,r,i,a)}constructor(t,r,i,a,c){const[u,d,f]=parseLocaleString(t);this.locale=u,this.numberingSystem=r||d||null,this.outputCalendar=i||f||null,this.weekSettings=a,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 i=this.intl==="ja"||this.intl.startsWith("ja-");r&=!i;const a=r?{month:t,day:"numeric"}:{month:t},c=r?"format":"standalone";if(!this.monthsCache[c][t]){const u=i?d=>this.dtFormatter(d,a).format():d=>this.extract(d,a,"month");this.monthsCache[c][t]=mapMonths(u)}return this.monthsCache[c][t]})}weekdays(t,r=!1){return listStuff(this,t,weekdays,()=>{const i=r?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},a=r?"format":"standalone";return this.weekdaysCache[a][t]||(this.weekdaysCache[a][t]=mapWeekdays(c=>this.extract(c,i,"weekday"))),this.weekdaysCache[a][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(i=>this.extract(i,r,"era"))),this.eraCache[t]})}extract(t,r,i){const a=this.dtFormatter(t,r),c=a.formatToParts(),u=c.find(d=>d.type.toLowerCase()===i);return u?u.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"||getCachedIntResolvedOptions(this.intl).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}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.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$1(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$1(e)?FixedOffsetZone.instance(e):typeof e=="object"&&"offset"in e&&typeof e.offset=="function"?e:new InvalidZone(e)}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 i=e.charCodeAt(r);if(e[r].search(numberingSystems.hanidec)!==-1)t+=hanidecChars.indexOf(e[r]);else for(const a in numberingSystemsUTF16){const[c,u]=numberingSystemsUTF16[a];i>=c&&i<=u&&(t+=i-c)}}return parseInt(t,10)}else return t}const digitRegexCache=new Map;function resetDigitRegexCache(){digitRegexCache.clear()}function digitRegex({numberingSystem:e},t=""){const r=e||"latn";let i=digitRegexCache.get(r);i===void 0&&(i=new Map,digitRegexCache.set(r,i));let a=i.get(t);return a===void 0&&(a=new RegExp(`${numberingSystems[r]}${t}`),i.set(t,a)),a}let now=()=>Date.now(),defaultZone="system",defaultLocale=null,defaultNumberingSystem=null,defaultOutputCalendar=null,twoDigitCutoffYear=60,throwOnInvalid,defaultWeekSettings=null,Settings$1=class{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(),DateTime.resetCache(),resetDigitRegexCache()}};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 i=new Date(Date.UTC(e,t-1,r));e<100&&e>=0&&i.setUTCFullYear(i.getUTCFullYear()-1900);const a=i.getUTCDay();return a===0?7:a}function computeOrdinal(e,t,r){return r+(isLeapYear(e)?leapLadder:nonLeapLadder)[t-1]}function uncomputeOrdinal(e,t){const r=isLeapYear(e)?leapLadder:nonLeapLadder,i=r.findIndex(c=>c<t),a=t-r[i];return{month:i+1,day:a}}function isoWeekdayToLocal(e,t){return(e-t+7)%7+1}function gregorianToWeek(e,t=4,r=1){const{year:i,month:a,day:c}=e,u=computeOrdinal(i,a,c),d=isoWeekdayToLocal(dayOfWeek(i,a,c),r);let f=Math.floor((u-d+14-t)/7),m;return f<1?(m=i-1,f=weeksInWeekYear(m,t,r)):f>weeksInWeekYear(i,t,r)?(m=i+1,f=1):m=i,{weekYear:m,weekNumber:f,weekday:d,...timeObject(e)}}function weekToGregorian(e,t=4,r=1){const{weekYear:i,weekNumber:a,weekday:c}=e,u=isoWeekdayToLocal(dayOfWeek(i,1,t),r),d=daysInYear(i);let f=a*7+c-u-7+t,m;f<1?(m=i-1,f+=daysInYear(m)):f>d?(m=i+1,f-=daysInYear(i)):m=i;const{month:y,day:v}=uncomputeOrdinal(m,f);return{year:m,month:y,day:v,...timeObject(e)}}function gregorianToOrdinal(e){const{year:t,month:r,day:i}=e,a=computeOrdinal(t,r,i);return{year:t,ordinal:a,...timeObject(e)}}function ordinalToGregorian(e){const{year:t,ordinal:r}=e,{month:i,day:a}=uncomputeOrdinal(t,r);return{year:t,month:i,day:a,...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 i=isInteger(e.weekYear),a=integerBetween(e.weekNumber,1,weeksInWeekYear(e.weekYear,t,r)),c=integerBetween(e.weekday,1,7);return i?a?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),i=integerBetween(e.day,1,daysInMonth(e.year,e.month));return t?r?i?!1:unitOutOfRange("day",e.day):unitOutOfRange("month",e.month):unitOutOfRange("year",e.year)}function hasInvalidTimeData(e){const{hour:t,minute:r,second:i,millisecond:a}=e,c=integerBetween(t,0,23)||t===24&&r===0&&i===0&&a===0,u=integerBetween(r,0,59),d=integerBetween(i,0,59),f=integerBetween(a,0,999);return c?u?d?f?!1:unitOutOfRange("millisecond",a):unitOutOfRange("second",i):unitOutOfRange("minute",r):unitOutOfRange("hour",t)}function isUndefined(e){return typeof e>"u"}function isNumber$1(e){return typeof e=="number"}function isInteger(e){return typeof e=="number"&&e%1===0}function isString$1(e){return typeof e=="string"}function isDate$1(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((i,a)=>{const c=[t(a),a];return i&&r(i[0],c[0])===i[0]?i:c},null)[1]}function pick(e,t){return t.reduce((r,i)=>(r[i]=e[i],r),{})}function hasOwnProperty$1(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 i;return r?i="-"+(""+-e).padStart(t,"0"):i=(""+e).padStart(t,"0"),i}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="round"){const i=10**t;switch(r){case"expand":return e>0?Math.ceil(e*i)/i:Math.floor(e*i)/i;case"trunc":return Math.trunc(e*i)/i;case"round":return Math.round(e*i)/i;case"floor":return Math.floor(e*i)/i;case"ceil":return Math.ceil(e*i)/i;default:throw new RangeError(`Value rounding ${r} is out of range`)}}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,i=e+(t-r)/12;return r===2?isLeapYear(i)?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 i=firstWeekOffset(e,t,r),a=firstWeekOffset(e+1,t,r);return(daysInYear(e)-i+a)/7}function untruncateYear(e){return e>99?e:e>Settings$1.twoDigitCutoffYear?1900+e:2e3+e}function parseZoneInfo(e,t,r,i=null){const a=new Date(e),c={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};i&&(c.timeZone=i);const u={timeZoneName:t,...c},d=new Intl.DateTimeFormat(r,u).formatToParts(a).find(f=>f.type.toLowerCase()==="timezonename");return d?d.value:null}function signedOffset(e,t){let r=parseInt(e,10);Number.isNaN(r)&&(r=0);const i=parseInt(t,10)||0,a=r<0||Object.is(r,-0)?-i:i;return r*60+a}function asNumber(e){const t=Number(e);if(typeof e=="boolean"||e===""||!Number.isFinite(t))throw new InvalidArgumentError(`Invalid unit value ${e}`);return t}function normalizeObject(e,t){const r={};for(const i in e)if(hasOwnProperty$1(e,i)){const a=e[i];if(a==null)continue;r[t(i)]=asNumber(a)}return r}function formatOffset(e,t){const r=Math.trunc(Math.abs(e/60)),i=Math.trunc(Math.abs(e%60)),a=e>=0?"+":"-";switch(t){case"short":return`${a}${padStart(r,2)}:${padStart(i,2)}`;case"narrow":return`${a}${r}${i>0?`:${i}`:""}`;case"techie":return`${a}${padStart(r,2)}${padStart(i,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",i=!1){const a={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 v=e==="days";switch(t){case 1:return v?"tomorrow":`next ${a[e][0]}`;case-1:return v?"yesterday":`last ${a[e][0]}`;case 0:return v?"today":`this ${a[e][0]}`}}const u=Object.is(t,-0)||t<0,d=Math.abs(t),f=d===1,m=a[e],y=i?f?m[1]:m[2]||m[1]:f?a[e][0]:e;return u?`${d} ${y} ago`:`in ${d} ${y}`}function stringifyTokens(e,t){let r="";for(const i of e)i.literal?r+=i.val:r+=t(i.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,i="",a=!1;const c=[];for(let u=0;u<t.length;u++){const d=t.charAt(u);d==="'"?((i.length>0||a)&&c.push({literal:a||/^\s+$/.test(i),val:i===""?"'":i}),r=null,i="",a=!a):a||d===r?i+=d:(i.length>0&&c.push({literal:/^\s+$/.test(i),val:i}),i=d,r=d)}return i.length>0&&c.push({literal:a||/^\s+$/.test(i),val:i}),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,i=void 0){if(this.opts.forceSimple)return padStart(t,r);const a={...this.opts};return r>0&&(a.padTo=r),i&&(a.signDisplay=i),this.loc.numberFormatter(a).format(t)}formatDateTimeFromString(t,r){const i=this.loc.listingMode()==="en",a=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",c=(_,S)=>this.loc.extract(t,_,S),u=_=>t.isOffsetFixed&&t.offset===0&&_.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,_.format):"",d=()=>i?meridiemForDateTime(t):c({hour:"numeric",hourCycle:"h12"},"dayperiod"),f=(_,S)=>i?monthForDateTime(t,_):c(S?{month:_}:{month:_,day:"numeric"},"month"),m=(_,S)=>i?weekdayForDateTime(t,_):c(S?{weekday:_}:{weekday:_,month:"long",day:"numeric"},"weekday"),y=_=>{const S=Formatter.macroTokenToFormatOpts(_);return S?this.formatWithSystemDefault(t,S):_},v=_=>i?eraForDateTime(t,_):c({era:_},"era"),w=_=>{switch(_){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 u({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return u({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return u({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 d();case"d":return a?c({day:"numeric"},"day"):this.num(t.day);case"dd":return a?c({day:"2-digit"},"day"):this.num(t.day,2);case"c":return this.num(t.weekday);case"ccc":return m("short",!0);case"cccc":return m("long",!0);case"ccccc":return m("narrow",!0);case"E":return this.num(t.weekday);case"EEE":return m("short",!1);case"EEEE":return m("long",!1);case"EEEEE":return m("narrow",!1);case"L":return a?c({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return a?c({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return f("short",!0);case"LLLL":return f("long",!0);case"LLLLL":return f("narrow",!0);case"M":return a?c({month:"numeric"},"month"):this.num(t.month);case"MM":return a?c({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return f("short",!1);case"MMMM":return f("long",!1);case"MMMMM":return f("narrow",!1);case"y":return a?c({year:"numeric"},"year"):this.num(t.year);case"yy":return a?c({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return a?c({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return a?c({year:"numeric"},"year"):this.num(t.year,6);case"G":return v("short");case"GG":return v("long");case"GGGGG":return v("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 y(_)}};return stringifyTokens(Formatter.parseFormat(r),w)}formatDurationFromString(t,r){const i=this.opts.signMode==="negativeLargestOnly"?-1:1,a=y=>{switch(y[0]){case"S":return"milliseconds";case"s":return"seconds";case"m":return"minutes";case"h":return"hours";case"d":return"days";case"w":return"weeks";case"M":return"months";case"y":return"years";default:return null}},c=(y,v)=>w=>{const _=a(w);if(_){const S=v.isNegativeDuration&&_!==v.largestUnit?i:1;let b;return this.opts.signMode==="negativeLargestOnly"&&_!==v.largestUnit?b="never":this.opts.signMode==="all"?b="always":b="auto",this.num(y.get(_)*S,w.length,b)}else return w},u=Formatter.parseFormat(r),d=u.reduce((y,{literal:v,val:w})=>v?y:y.concat(w),[]),f=t.shiftTo(...d.map(a).filter(y=>y)),m={isNegativeDuration:f<0,largestUnit:Object.keys(f.values)[0]};return stringifyTokens(u,c(f,m))}}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,i)=>r+i.source,"");return RegExp(`^${t}$`)}function combineExtractors(...e){return t=>e.reduce(([r,i,a],c)=>{const[u,d,f]=c(t,a);return[{...r,...u},d||i,f]},[{},null,1]).slice(0,2)}function parse$2(e,...t){if(e==null)return[null,null];for(const[r,i]of t){const a=r.exec(e);if(a)return i(a)}return[null,null]}function simpleParse(...e){return(t,r)=>{const i={};let a;for(a=0;a<e.length;a++)i[e[a]]=parseInteger(t[r+a]);return[i,null,r+a]}}const offsetRegex=/(?:([Zz])|([+-]\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(`(?:[Tt]${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 i=e[t];return isUndefined(i)?r:parseInteger(i)}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],i=signedOffset(e[t+1],e[t+2]),a=r?null:FixedOffsetZone.instance(i);return[{},a,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,i,a,c,u,d,f,m]=e,y=t[0]==="-",v=f&&f[0]==="-",w=(_,S=!1)=>_!==void 0&&(S||_&&y)?-_:_;return[{years:w(parseFloating(r)),months:w(parseFloating(i)),weeks:w(parseFloating(a)),days:w(parseFloating(c)),hours:w(parseFloating(u)),minutes:w(parseFloating(d)),seconds:w(parseFloating(f),f==="-0"),milliseconds:w(parseMillis(m),v)}]}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,i,a,c,u){const d={year:t.length===2?untruncateYear(parseInteger(t)):parseInteger(t),month:monthsShort.indexOf(r)+1,day:parseInteger(i),hour:parseInteger(a),minute:parseInteger(c)};return u&&(d.second=parseInteger(u)),e&&(d.weekday=e.length>3?weekdaysLong.indexOf(e)+1:weekdaysShort.indexOf(e)+1),d}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,i,a,c,u,d,f,m,y,v]=e,w=fromStrings(t,a,i,r,c,u,d);let _;return f?_=obsOffsets[f]:m?_=0:_=signedOffset(y,v),[w,new FixedOffsetZone(_)]}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,i,a,c,u,d]=e;return[fromStrings(t,a,i,r,c,u,d),FixedOffsetZone.utcInstance]}function extractASCII(e){const[,t,r,i,a,c,u,d]=e;return[fromStrings(t,d,r,i,a,c,u),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$2(e,[isoYmdWithTimeExtensionRegex,extractISOYmdTimeAndOffset],[isoWeekWithTimeExtensionRegex,extractISOWeekTimeAndOffset],[isoOrdinalWithTimeExtensionRegex,extractISOOrdinalDateAndTime],[isoTimeCombinedRegex,extractISOTimeAndOffset])}function parseRFC2822Date(e){return parse$2(preprocessRFC2822(e),[rfc2822,extractRFC2822])}function parseHTTPDate(e){return parse$2(e,[rfc1123,extractRFC1123Or850],[rfc850,extractRFC1123Or850],[ascii,extractASCII])}function parseISODuration(e){return parse$2(e,[isoDuration,extractISODuration])}const extractISOTimeOnly=combineExtractors(extractISOTime);function parseISOTimeOnly(e){return parse$2(e,[isoTimeOnly,extractISOTimeOnly])}const sqlYmdWithTimeExtensionRegex=combineRegexes(sqlYmdRegex,sqlTimeExtensionRegex),sqlTimeCombinedRegex=combineRegexes(sqlTimeRegex),extractISOTimeOffsetAndIANAZone=combineExtractors(extractISOTime,extractISOOffset,extractIANAZone);function parseSQL(e){return parse$2(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$1(e,t,r=!1){const i={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(i)}function durationToMillis(e,t){let r=t.milliseconds??0;for(const i of reverseUnits.slice(1))t[i]&&(r+=t[i]*e[i].milliseconds);return r}function normalizeValues(e,t){const r=durationToMillis(e,t)<0?-1:1;orderedUnits$1.reduceRight((i,a)=>{if(isUndefined(t[a]))return i;if(i){const c=t[i]*r,u=e[a][i],d=Math.floor(c/u);t[a]+=d*r,t[i]-=d*u*r}return a},null),orderedUnits$1.reduce((i,a)=>{if(isUndefined(t[a]))return i;if(i){const c=t[i]%1;t[i]-=c,t[a]+=c*e[i][a]}return a},null)}function removeZeroes(e){const t={};for(const[r,i]of Object.entries(e))i!==0&&(t[r]=i);return t}class Duration{constructor(t){const r=t.conversionAccuracy==="longterm"||!1;let i=r?accurateMatrix:casualMatrix;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Locale.create(),this.conversionAccuracy=r?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,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$1(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[i]=parseISODuration(t);return i?Duration.fromObject(i,r):Duration.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,r){const[i]=parseISOTimeOnly(t);return i?Duration.fromObject(i,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 i=t instanceof Invalid?t:new Invalid(t,r);if(Settings$1.throwOnInvalid)throw new InvalidDurationError(i);return new Duration({invalid:i})}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 i={...r,floor:r.round!==!1&&r.floor!==!1};return this.isValid?Formatter.create(this.loc,i).formatDurationFromString(this,t):INVALID$2}toHuman(t={}){if(!this.isValid)return INVALID$2;const r=t.showZeros!==!1,i=orderedUnits$1.map(a=>{const c=this.values[a];return isUndefined(c)||c===0&&!r?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:a.slice(0,-1)}).format(c)}).filter(a=>a);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(i)}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),i={};for(const a of orderedUnits$1)(hasOwnProperty$1(r.values,a)||hasOwnProperty$1(this.values,a))&&(i[a]=r.get(a)+this.get(a));return clone$1(this,{values:i},!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 i of Object.keys(this.values))r[i]=asNumber(t(this.values[i],i));return clone$1(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$1(this,{values:r})}reconfigure({locale:t,numberingSystem:r,conversionAccuracy:i,matrix:a}={}){const u={loc:this.loc.clone({locale:t,numberingSystem:r}),matrix:a,conversionAccuracy:i};return clone$1(this,u)}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$1(this,{values:t},!0)}rescale(){if(!this.isValid)return this;const t=removeZeroes(this.normalize().shiftToAll().toObject());return clone$1(this,{values:t},!0)}shiftTo(...t){if(!this.isValid)return this;if(t.length===0)return this;t=t.map(u=>Duration.normalizeUnit(u));const r={},i={},a=this.toObject();let c;for(const u of orderedUnits$1)if(t.indexOf(u)>=0){c=u;let d=0;for(const m in i)d+=this.matrix[m][u]*i[m],i[m]=0;isNumber$1(a[u])&&(d+=a[u]);const f=Math.trunc(d);r[u]=f,i[u]=(d*1e3-f*1e3)/1e3}else isNumber$1(a[u])&&(i[u]=a[u]);for(const u in i)i[u]!==0&&(r[c]+=u===c?i[u]:i[u]/this.matrix[c][u]);return normalizeValues(this.matrix,r),clone$1(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$1(this,{values:t},!0)}removeZeros(){if(!this.isValid)return this;const t=removeZeroes(this.values);return clone$1(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(i,a){return i===void 0||i===0?a===void 0||a===0:i===a}for(const i of orderedUnits$1)if(!r(this.values[i],t.values[i]))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 i=t instanceof Invalid?t:new Invalid(t,r);if(Settings$1.throwOnInvalid)throw new InvalidIntervalError(i);return new Interval({invalid:i})}static fromDateTimes(t,r){const i=friendlyDateTime(t),a=friendlyDateTime(r),c=validateStartEnd(i,a);return c??new Interval({start:i,end:a})}static after(t,r){const i=Duration.fromDurationLike(r),a=friendlyDateTime(t);return Interval.fromDateTimes(a,a.plus(i))}static before(t,r){const i=Duration.fromDurationLike(r),a=friendlyDateTime(t);return Interval.fromDateTimes(a.minus(i),a)}static fromISO(t,r){const[i,a]=(t||"").split("/",2);if(i&&a){let c,u;try{c=DateTime.fromISO(i,r),u=c.isValid}catch{u=!1}let d,f;try{d=DateTime.fromISO(a,r),f=d.isValid}catch{f=!1}if(u&&f)return Interval.fromDateTimes(c,d);if(u){const m=Duration.fromISO(a,r);if(m.isValid)return Interval.after(c,m)}else if(f){const m=Duration.fromISO(i,r);if(m.isValid)return Interval.before(d,m)}}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 lastDateTime(){return this.isValid&&this.e?this.e.minus(1):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 i=this.start.startOf(t,r);let a;return r?.useLocaleWeeks?a=this.end.reconfigure({locale:i.locale}):a=this.end,a=a.startOf(t,r),Math.floor(a.diff(i,t).get(t))+(a.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(u=>this.contains(u)).sort((u,d)=>u.toMillis()-d.toMillis()),i=[];let{s:a}=this,c=0;for(;a<this.e;){const u=r[c]||this.e,d=+u>+this.e?this.e:u;i.push(Interval.fromDateTimes(a,d)),a=d,c+=1}return i}splitBy(t){const r=Duration.fromDurationLike(t);if(!this.isValid||!r.isValid||r.as("milliseconds")===0)return[];let{s:i}=this,a=1,c;const u=[];for(;i<this.e;){const d=this.start.plus(r.mapUnits(f=>f*a));c=+d>+this.e?this.e:d,u.push(Interval.fromDateTimes(i,c)),i=c,a+=1}return u}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,i=this.e<t.e?this.e:t.e;return r>=i?null:Interval.fromDateTimes(r,i)}union(t){if(!this.isValid)return this;const r=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return Interval.fromDateTimes(r,i)}static merge(t){const[r,i]=t.sort((a,c)=>a.s-c.s).reduce(([a,c],u)=>c?c.overlaps(u)||c.abutsStart(u)?[a,c.union(u)]:[a.concat([c]),u]:[a,u],[[],null]);return i&&r.push(i),r}static xor(t){let r=null,i=0;const a=[],c=t.map(f=>[{time:f.s,type:"s"},{time:f.e,type:"e"}]),u=Array.prototype.concat(...c),d=u.sort((f,m)=>f.time-m.time);for(const f of d)i+=f.type==="s"?1:-1,i===1?r=f.time:(r&&+r!=+f.time&&a.push(Interval.fromDateTimes(r,f.time)),r=null);return Interval.merge(a)}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$1.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$1.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:i=null,locObj:a=null,outputCalendar:c="gregory"}={}){return(a||Locale.create(r,i,c)).months(t)}static monthsFormat(t="long",{locale:r=null,numberingSystem:i=null,locObj:a=null,outputCalendar:c="gregory"}={}){return(a||Locale.create(r,i,c)).months(t,!0)}static weekdays(t="long",{locale:r=null,numberingSystem:i=null,locObj:a=null}={}){return(a||Locale.create(r,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:r=null,numberingSystem:i=null,locObj:a=null}={}){return(a||Locale.create(r,i,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=a=>a.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),i=r(t)-r(e);return Math.floor(Duration.fromMillis(i).as("days"))}function highOrderDiffs(e,t,r){const i=[["years",(f,m)=>m.year-f.year],["quarters",(f,m)=>m.quarter-f.quarter+(m.year-f.year)*4],["months",(f,m)=>m.month-f.month+(m.year-f.year)*12],["weeks",(f,m)=>{const y=dayDiff(f,m);return(y-y%7)/7}],["days",dayDiff]],a={},c=e;let u,d;for(const[f,m]of i)r.indexOf(f)>=0&&(u=f,a[f]=m(e,t),d=c.plus(a),d>t?(a[f]--,e=c.plus(a),e>t&&(d=e,a[f]--,e=c.plus(a))):e=d);return[e,a,d,u]}function diff(e,t,r,i){let[a,c,u,d]=highOrderDiffs(e,t,r);const f=t-a,m=r.filter(v=>["hours","minutes","seconds","milliseconds"].indexOf(v)>=0);m.length===0&&(u<t&&(u=a.plus({[d]:1})),u!==a&&(c[d]=(c[d]||0)+f/(u-a)));const y=Duration.fromObject(c,i);return m.length>0?Duration.fromMillis(f,i).shiftTo(...m).plus(y):y}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(i=>stripInsensitivities(r)===stripInsensitivities(i))+t}}function offset(e,t){return{regex:e,deser:([,r,i])=>signedOffset(r,i),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),i=digitRegex(t,"{2}"),a=digitRegex(t,"{3}"),c=digitRegex(t,"{4}"),u=digitRegex(t,"{6}"),d=digitRegex(t,"{1,2}"),f=digitRegex(t,"{1,3}"),m=digitRegex(t,"{1,6}"),y=digitRegex(t,"{1,9}"),v=digitRegex(t,"{2,4}"),w=digitRegex(t,"{4,6}"),_=k=>({regex:RegExp(escapeToken(k.val)),deser:([C])=>C,literal:!0}),b=(k=>{if(e.literal)return _(k);switch(k.val){case"G":return oneOf(t.eras("short"),0);case"GG":return oneOf(t.eras("long"),0);case"y":return intUnit(m);case"yy":return intUnit(v,untruncateYear);case"yyyy":return intUnit(c);case"yyyyy":return intUnit(w);case"yyyyyy":return intUnit(u);case"M":return intUnit(d);case"MM":return intUnit(i);case"MMM":return oneOf(t.months("short",!0),1);case"MMMM":return oneOf(t.months("long",!0),1);case"L":return intUnit(d);case"LL":return intUnit(i);case"LLL":return oneOf(t.months("short",!1),1);case"LLLL":return oneOf(t.months("long",!1),1);case"d":return intUnit(d);case"dd":return intUnit(i);case"o":return intUnit(f);case"ooo":return intUnit(a);case"HH":return intUnit(i);case"H":return intUnit(d);case"hh":return intUnit(i);case"h":return intUnit(d);case"mm":return intUnit(i);case"m":return intUnit(d);case"q":return intUnit(d);case"qq":return intUnit(i);case"s":return intUnit(d);case"ss":return intUnit(i);case"S":return intUnit(f);case"SSS":return intUnit(a);case"u":return simple(y);case"uu":return simple(d);case"uuu":return intUnit(r);case"a":return oneOf(t.meridiems(),0);case"kkkk":return intUnit(c);case"kk":return intUnit(v,untruncateYear);case"W":return intUnit(d);case"WW":return intUnit(i);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(`([+-]${d.source})(?::(${i.source}))?`),2);case"ZZZ":return offset(new RegExp(`([+-]${d.source})(${i.source})?`),2);case"z":return simple(/[a-z_+-/]{1,256}?/i);case" ":return simple(/[^\S\n\r]/);default:return _(k)}})(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:i,value:a}=e;if(i==="literal"){const f=/^\s+$/.test(a);return{literal:!f,val:f?" ":a}}const c=t[i];let u=i;i==="hour"&&(t.hour12!=null?u=t.hour12?"hour12":"hour24":t.hourCycle!=null?t.hourCycle==="h11"||t.hourCycle==="h12"?u="hour12":u="hour24":u=r.hour12?"hour12":"hour24");let d=partTypeStyleToTokenVal[u];if(typeof d=="object"&&(d=d[c]),d)return{literal:!1,val:d}}function buildRegex(e){return[`^${e.map(r=>r.regex).reduce((r,i)=>`${r}(${i.source})`,"")}$`,e]}function match(e,t,r){const i=e.match(t);if(i){const a={};let c=1;for(const u in r)if(hasOwnProperty$1(r,u)){const d=r[u],f=d.groups?d.groups+1:1;!d.literal&&d.token&&(a[d.token.val[0]]=d.deser(i.slice(c,c+f))),c+=f}return[i,a]}else return[i,{}]}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,i;return isUndefined(e.z)||(r=IANAZone.create(e.z)),isUndefined(e.Z)||(r||(r=new FixedOffsetZone(e.Z)),i=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,u)=>{const d=t(u);return d&&(c[d]=e[u]),c},{}),r,i]}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),i=formatOptsToTokens(r,t);return i==null||i.includes(void 0)?e:i}function expandMacroTokens(e,t){return Array.prototype.concat(...e.map(r=>maybeExpandMacroToken(r,t)))}class TokenParser{constructor(t,r){if(this.locale=t,this.format=r,this.tokens=expandMacroTokens(Formatter.parseFormat(r),t),this.units=this.tokens.map(i=>unitForToken(i,t)),this.disqualifyingUnit=this.units.find(i=>i.invalidReason),!this.disqualifyingUnit){const[i,a]=buildRegex(this.units);this.regex=RegExp(i,"i"),this.handlers=a}}explainFromTokens(t){if(this.isValid){const[r,i]=match(t,this.regex,this.handlers),[a,c,u]=i?dateTimeFromMatches(i):[null,null,void 0];if(hasOwnProperty$1(i,"a")&&hasOwnProperty$1(i,"H"))throw new ConflictingSpecificationError("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:r,matches:i,result:a,zone:c,specificOffset:u}}else return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function explainFromTokens(e,t,r){return new TokenParser(e,r).explainFromTokens(t)}function parseFromTokens(e,t,r){const{result:i,zone:a,specificOffset:c,invalidReason:u}=explainFromTokens(e,t,r);return[i,a,c,u]}function formatOptsToTokens(e,t){if(!e)return null;const i=Formatter.create(t,e).dtFormatter(getDummyDateTime()),a=i.formatToParts(),c=i.resolvedOptions();return a.map(u=>tokenForPart(u,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(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 i=e-t*60*1e3;const a=r.offset(i);if(t===a)return[i,t];i-=(a-t)*60*1e3;const c=r.offset(i);return a===c?[i,a]:[e-Math.min(a,c)*60*1e3,Math.max(a,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,i=e.c.year+Math.trunc(t.years),a=e.c.month+Math.trunc(t.months)+Math.trunc(t.quarters)*3,c={...e.c,year:i,month:a,day:Math.min(e.c.day,daysInMonth(i,a))+Math.trunc(t.days)+Math.trunc(t.weeks)*7},u=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"),d=objToLocalTS(c);let[f,m]=fixOffset(d,r,e.zone);return u!==0&&(f+=u,m=e.zone.offset(f)),{ts:f,o:m}}function parseDataToDateTime(e,t,r,i,a,c){const{setZone:u,zone:d}=r;if(e&&Object.keys(e).length!==0||t){const f=t||d,m=DateTime.fromObject(e,{...r,zone:f,specificOffset:c});return u?m:m.setZone(d)}else return DateTime.invalid(new Invalid("unparsable",`the input "${a}" can't be parsed as ${i}`))}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,r){const i=e.c.year>9999||e.c.year<0;let a="";if(i&&e.c.year>=0&&(a+="+"),a+=padStart(e.c.year,i?6:4),r==="year")return a;if(t){if(a+="-",a+=padStart(e.c.month),r==="month")return a;a+="-"}else if(a+=padStart(e.c.month),r==="month")return a;return a+=padStart(e.c.day),a}function toISOTime(e,t,r,i,a,c,u){let d=!r||e.c.millisecond!==0||e.c.second!==0,f="";switch(u){case"day":case"month":case"year":break;default:if(f+=padStart(e.c.hour),u==="hour")break;if(t){if(f+=":",f+=padStart(e.c.minute),u==="minute")break;d&&(f+=":",f+=padStart(e.c.second))}else{if(f+=padStart(e.c.minute),u==="minute")break;d&&(f+=padStart(e.c.second))}if(u==="second")break;d&&(!i||e.c.millisecond!==0)&&(f+=".",f+=padStart(e.c.millisecond,3))}return a&&(e.isOffsetFixed&&e.offset===0&&!c?f+="Z":e.o<0?(f+="-",f+=padStart(Math.trunc(-e.o/60)),f+=":",f+=padStart(Math.trunc(-e.o%60))):(f+="+",f+=padStart(Math.trunc(e.o/60)),f+=":",f+=padStart(Math.trunc(e.o%60)))),c&&(f+="["+e.zone.ianaName+"]"),f}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 guessOffsetForZone(e){if(zoneOffsetTs===void 0&&(zoneOffsetTs=Settings$1.now()),e.type!=="iana")return e.offset(zoneOffsetTs);const t=e.name;let r=zoneOffsetGuessCache.get(t);return r===void 0&&(r=e.offset(zoneOffsetTs),zoneOffsetGuessCache.set(t,r)),r}function quickDT(e,t){const r=normalizeZone(t.zone,Settings$1.defaultZone);if(!r.isValid)return DateTime.invalid(unsupportedZone(r));const i=Locale.fromObject(t);let a,c;if(isUndefined(e.year))a=Settings$1.now();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=guessOffsetForZone(r);[a,c]=objToTS(e,d,r)}return new DateTime({ts:a,zone:r,loc:i,o:c})}function diffRelative(e,t,r){const i=isUndefined(r.round)?!0:r.round,a=isUndefined(r.rounding)?"trunc":r.rounding,c=(d,f)=>(d=roundTo(d,i||r.calendary?0:2,r.calendary?"round":a),t.loc.clone(r).relFormatter(r).format(d,f)),u=d=>r.calendary?t.hasSame(e,d)?0:t.startOf(d).diff(e.startOf(d),d).get(d):t.diff(e,d).get(d);if(r.unit)return c(u(r.unit),r.unit);for(const d of r.units){const f=u(d);if(Math.abs(f)>=1)return c(f,d)}return c(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]}let zoneOffsetTs;const zoneOffsetGuessCache=new Map;class DateTime{constructor(t){const r=t.zone||Settings$1.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new Invalid("invalid input"):null)||(r.isValid?null:unsupportedZone(r));this.ts=isUndefined(t.ts)?Settings$1.now():t.ts;let a=null,c=null;if(!i)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(r))[a,c]=[t.old.c,t.old.o];else{const d=isNumber$1(t.o)&&!t.old?t.o:r.offset(this.ts);a=tsToObj(this.ts,d),i=Number.isNaN(a.year)?new Invalid("invalid input"):null,a=i?null:a,c=i?null:d}this._zone=r,this.loc=t.loc||Locale.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=a,this.o=c,this.isLuxonDateTime=!0}static now(){return new DateTime({})}static local(){const[t,r]=lastOpts(arguments),[i,a,c,u,d,f,m]=r;return quickDT({year:i,month:a,day:c,hour:u,minute:d,second:f,millisecond:m},t)}static utc(){const[t,r]=lastOpts(arguments),[i,a,c,u,d,f,m]=r;return t.zone=FixedOffsetZone.utcInstance,quickDT({year:i,month:a,day:c,hour:u,minute:d,second:f,millisecond:m},t)}static fromJSDate(t,r={}){const i=isDate$1(t)?t.valueOf():NaN;if(Number.isNaN(i))return DateTime.invalid("invalid input");const a=normalizeZone(r.zone,Settings$1.defaultZone);return a.isValid?new DateTime({ts:i,zone:a,loc:Locale.fromObject(r)}):DateTime.invalid(unsupportedZone(a))}static fromMillis(t,r={}){if(isNumber$1(t))return t<-MAX_DATE||t>MAX_DATE?DateTime.invalid("Timestamp out of range"):new DateTime({ts:t,zone:normalizeZone(r.zone,Settings$1.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$1(t))return new DateTime({ts:t*1e3,zone:normalizeZone(r.zone,Settings$1.defaultZone),loc:Locale.fromObject(r)});throw new InvalidArgumentError("fromSeconds requires a numerical input")}static fromObject(t,r={}){t=t||{};const i=normalizeZone(r.zone,Settings$1.defaultZone);if(!i.isValid)return DateTime.invalid(unsupportedZone(i));const a=Locale.fromObject(r),c=normalizeObject(t,normalizeUnitWithLocalWeeks),{minDaysInFirstWeek:u,startOfWeek:d}=usesLocalWeekValues(c,a),f=Settings$1.now(),m=isUndefined(r.specificOffset)?i.offset(f):r.specificOffset,y=!isUndefined(c.ordinal),v=!isUndefined(c.year),w=!isUndefined(c.month)||!isUndefined(c.day),_=v||w,S=c.weekYear||c.weekNumber;if((_||y)&&S)throw new ConflictingSpecificationError("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(w&&y)throw new ConflictingSpecificationError("Can't mix ordinal dates with month/day");const b=S||c.weekday&&!_;let k,C,O=tsToObj(f,m);b?(k=orderedWeekUnits,C=defaultWeekUnitValues,O=gregorianToWeek(O,u,d)):y?(k=orderedOrdinalUnits,C=defaultOrdinalUnitValues,O=gregorianToOrdinal(O)):(k=orderedUnits,C=defaultUnitValues);let T=!1;for(const I of k){const U=c[I];isUndefined(U)?T?c[I]=C[I]:c[I]=O[I]:T=!0}const E=b?hasInvalidWeekData(c,u,d):y?hasInvalidOrdinalData(c):hasInvalidGregorianData(c),A=E||hasInvalidTimeData(c);if(A)return DateTime.invalid(A);const P=b?weekToGregorian(c,u,d):y?ordinalToGregorian(c):c,[M,D]=objToTS(P,m,i),F=new DateTime({ts:M,zone:i,o:D,loc:a});return c.weekday&&_&&t.weekday!==F.weekday?DateTime.invalid("mismatched weekday",`you can't specify both a weekday of ${c.weekday} and a date of ${F.toISO()}`):F.isValid?F:DateTime.invalid(F.invalid)}static fromISO(t,r={}){const[i,a]=parseISODate(t);return parseDataToDateTime(i,a,r,"ISO 8601",t)}static fromRFC2822(t,r={}){const[i,a]=parseRFC2822Date(t);return parseDataToDateTime(i,a,r,"RFC 2822",t)}static fromHTTP(t,r={}){const[i,a]=parseHTTPDate(t);return parseDataToDateTime(i,a,r,"HTTP",r)}static fromFormat(t,r,i={}){if(isUndefined(t)||isUndefined(r))throw new InvalidArgumentError("fromFormat requires an input string and a format");const{locale:a=null,numberingSystem:c=null}=i,u=Locale.fromOpts({locale:a,numberingSystem:c,defaultToEN:!0}),[d,f,m,y]=parseFromTokens(u,t,r);return y?DateTime.invalid(y):parseDataToDateTime(d,f,i,`format ${r}`,t,m)}static fromString(t,r,i={}){return DateTime.fromFormat(t,r,i)}static fromSQL(t,r={}){const[i,a]=parseSQL(t);return parseDataToDateTime(i,a,r,"SQL",t)}static invalid(t,r=null){if(!t)throw new InvalidArgumentError("need to specify a reason the DateTime is invalid");const i=t instanceof Invalid?t:new Invalid(t,r);if(Settings$1.throwOnInvalid)throw new InvalidDateTimeError(i);return new DateTime({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,r={}){const i=formatOptsToTokens(t,Locale.fromObject(r));return i?i.map(a=>a?a.val:null).join(""):null}static expandFormat(t,r={}){return expandMacroTokens(Formatter.parseFormat(t),Locale.fromObject(r)).map(a=>a.val).join("")}static resetCache(){zoneOffsetTs=void 0,zoneOffsetGuessCache.clear()}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,i=objToLocalTS(this.c),a=this.zone.offset(i-t),c=this.zone.offset(i+t),u=this.zone.offset(i-a*r),d=this.zone.offset(i-c*r);if(u===d)return[this];const f=i-u*r,m=i-d*r,y=tsToObj(f,u),v=tsToObj(m,d);return y.hour===v.hour&&y.minute===v.minute&&y.second===v.second&&y.millisecond===v.millisecond?[clone(this,{ts:f}),clone(this,{ts:m})]:[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:i,calendar:a}=Formatter.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:r,numberingSystem:i,outputCalendar:a}}toUTC(t=0,r={}){return this.setZone(FixedOffsetZone.instance(t),r)}toLocal(){return this.setZone(Settings$1.defaultZone)}setZone(t,{keepLocalTime:r=!1,keepCalendarTime:i=!1}={}){if(t=normalizeZone(t,Settings$1.defaultZone),t.equals(this.zone))return this;if(t.isValid){let a=this.ts;if(r||i){const c=t.offset(this.ts),u=this.toObject();[a]=objToTS(u,c,t)}return clone(this,{ts:a,zone:t})}else return DateTime.invalid(unsupportedZone(t))}reconfigure({locale:t,numberingSystem:r,outputCalendar:i}={}){const a=this.loc.clone({locale:t,numberingSystem:r,outputCalendar:i});return clone(this,{loc:a})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const r=normalizeObject(t,normalizeUnitWithLocalWeeks),{minDaysInFirstWeek:i,startOfWeek:a}=usesLocalWeekValues(r,this.loc),c=!isUndefined(r.weekYear)||!isUndefined(r.weekNumber)||!isUndefined(r.weekday),u=!isUndefined(r.ordinal),d=!isUndefined(r.year),f=!isUndefined(r.month)||!isUndefined(r.day),m=d||f,y=r.weekYear||r.weekNumber;if((m||u)&&y)throw new ConflictingSpecificationError("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(f&&u)throw new ConflictingSpecificationError("Can't mix ordinal dates with month/day");let v;c?v=weekToGregorian({...gregorianToWeek(this.c,i,a),...r},i,a):isUndefined(r.ordinal)?(v={...this.toObject(),...r},isUndefined(r.day)&&(v.day=Math.min(daysInMonth(v.year,v.month),v.day))):v=ordinalToGregorian({...gregorianToOrdinal(this.c),...r});const[w,_]=objToTS(v,this.o,this.zone);return clone(this,{ts:w,o:_})}plus(t){if(!this.isValid)return this;const r=Duration.fromDurationLike(t);return clone(this,adjustTime(this,r))}minus(t){if(!this.isValid)return this;const r=Duration.fromDurationLike(t).negate();return clone(this,adjustTime(this,r))}startOf(t,{useLocaleWeeks:r=!1}={}){if(!this.isValid)return this;const i={},a=Duration.normalizeUnit(t);switch(a){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0;break}if(a==="weeks")if(r){const c=this.loc.getStartOfWeek(),{weekday:u}=this;u<c&&(i.weekNumber=this.weekNumber-1),i.weekday=c}else i.weekday=1;if(a==="quarters"){const c=Math.ceil(this.month/3);i.month=(c-1)*3+1}return this.set(i)}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:i=!1,includeOffset:a=!0,extendedZone:c=!1,precision:u="milliseconds"}={}){if(!this.isValid)return null;u=normalizeUnit(u);const d=t==="extended";let f=toISODate(this,d,u);return orderedUnits.indexOf(u)>=3&&(f+="T"),f+=toISOTime(this,d,r,i,a,c,u),f}toISODate({format:t="extended",precision:r="day"}={}){return this.isValid?toISODate(this,t==="extended",normalizeUnit(r)):null}toISOWeekDate(){return toTechFormat(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:r=!1,includeOffset:i=!0,includePrefix:a=!1,extendedZone:c=!1,format:u="extended",precision:d="milliseconds"}={}){return this.isValid?(d=normalizeUnit(d),(a&&orderedUnits.indexOf(d)>=3?"T":"")+toISOTime(this,u==="extended",r,t,i,c,d)):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:i=!0}={}){let a="HH:mm:ss.SSS";return(r||t)&&(i&&(a+=" "),r?a+="z":t&&(a+="ZZ")),toTechFormat(this,a,!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",i={}){if(!this.isValid||!t.isValid)return Duration.invalid("created by diffing an invalid DateTime");const a={locale:this.locale,numberingSystem:this.numberingSystem,...i},c=maybeArray(r).map(Duration.normalizeUnit),u=t.valueOf()>this.valueOf(),d=u?this:t,f=u?t:this,m=diff(d,f,c,a);return u?m.negate():m}diffNow(t="milliseconds",r={}){return this.diff(DateTime.now(),t,r)}until(t){return this.isValid?Interval.fromDateTimes(this,t):this}hasSame(t,r,i){if(!this.isValid)return!1;const a=t.valueOf(),c=this.setZone(t.zone,{keepLocalTime:!0});return c.startOf(r,i)<=a&&a<=c.endOf(r,i)}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}),i=t.padding?this<r?-t.padding:t.padding:0;let a=["years","months","days","hours","minutes","seconds"],c=t.unit;return Array.isArray(t.unit)&&(a=t.unit,c=void 0),diffRelative(r,this.plus(i),{...t,numeric:"always",units:a,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,i={}){const{locale:a=null,numberingSystem:c=null}=i,u=Locale.fromOpts({locale:a,numberingSystem:c,defaultToEN:!0});return explainFromTokens(u,t,r)}static fromStringExplain(t,r,i={}){return DateTime.fromFormatExplain(t,r,i)}static buildFormatParser(t,r={}){const{locale:i=null,numberingSystem:a=null}=r,c=Locale.fromOpts({locale:i,numberingSystem:a,defaultToEN:!0});return new TokenParser(c,t)}static fromFormatParser(t,r,i={}){if(isUndefined(t)||isUndefined(r))throw new InvalidArgumentError("fromFormatParser requires an input string and a format parser");const{locale:a=null,numberingSystem:c=null}=i,u=Locale.fromOpts({locale:a,numberingSystem:c,defaultToEN:!0});if(!u.equals(r.locale))throw new InvalidArgumentError(`fromFormatParser called with a locale of ${u}, but the format parser was created for ${r.locale}`);const{result:d,zone:f,specificOffset:m,invalidReason:y}=r.explainFromTokens(t);return y?DateTime.invalid(y):parseDataToDateTime(d,f,i,`format ${r.format}`,t,m)}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$1(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}`)}/*!
* shared v11.1.11
* (c) 2025 kazuya kawaguchi
* Released under the MIT License.
*/function warn(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const inBrowser=typeof window<"u",makeSymbol=(e,t=!1)=>t?Symbol.for(e):Symbol(e),generateFormatCacheKey=(e,t,r)=>friendlyJSONstringify({l:e,k:t,s:r}),friendlyJSONstringify=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),isNumber=e=>typeof e=="number"&&isFinite(e),isDate=e=>toTypeString(e)==="[object Date]",isRegExp=e=>toTypeString(e)==="[object RegExp]",isEmptyObject=e=>isPlainObject(e)&&Object.keys(e).length===0,assign=Object.assign,_create=Object.create,create=(e=null)=>_create(e);let _globalThis;const getGlobalThis=()=>_globalThis||(_globalThis=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:create());function escapeHtml(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/\//g,"&#x2F;").replace(/=/g,"&#x3D;")}function escapeAttributeValue(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function sanitizeTranslatedHtml(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(i,a,c)=>`${a}="${escapeAttributeValue(c)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(i,a,c)=>`${a}='${escapeAttributeValue(c)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1&#111;n$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(i=>{e=e.replace(i,"$1javascript&#58;")}),e}const hasOwnProperty=Object.prototype.hasOwnProperty;function hasOwn(e,t){return hasOwnProperty.call(e,t)}const isArray=Array.isArray,isFunction=e=>typeof e=="function",isString=e=>typeof e=="string",isBoolean=e=>typeof e=="boolean",isObject$1=e=>e!==null&&typeof e=="object",isPromise=e=>isObject$1(e)&&isFunction(e.then)&&isFunction(e.catch),objectToString=Object.prototype.toString,toTypeString=e=>objectToString.call(e),isPlainObject=e=>toTypeString(e)==="[object Object]",toDisplayString=e=>e==null?"":isArray(e)||isPlainObject(e)&&e.toString===objectToString?JSON.stringify(e,null,2):String(e);function join(e,t=""){return e.reduce((r,i,a)=>a===0?r+i:r+t+i,"")}const isNotObjectOrIsArray=e=>!isObject$1(e)||isArray(e);function deepCopy(e,t){if(isNotObjectOrIsArray(e)||isNotObjectOrIsArray(t))throw new Error("Invalid value");const r=[{src:e,des:t}];for(;r.length;){const{src:i,des:a}=r.pop();Object.keys(i).forEach(c=>{c!=="__proto__"&&(isObject$1(i[c])&&!isObject$1(a[c])&&(a[c]=Array.isArray(i[c])?[]:create()),isNotObjectOrIsArray(a[c])||isNotObjectOrIsArray(i[c])?a[c]=i[c]:r.push({src:i[c],des:a[c]}))})}}/*!
* message-compiler v11.1.11
* (c) 2025 kazuya kawaguchi
* Released under the MIT License.
*/function createPosition(e,t,r){return{line:e,column:t,offset:r}}function createLocation(e,t,r){return{start:e,end:t}}const CompileErrorCodes={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14},COMPILE_ERROR_CODES_EXTEND_POINT=17;function createCompileError(e,t,r={}){const{domain:i,messages:a,args:c}=r,u=e,d=new SyntaxError(String(u));return d.code=e,t&&(d.location=t),d.domain=i,d}function defaultOnError(e){throw e}const CHAR_SP=" ",CHAR_CR="\r",CHAR_LF=`
`,CHAR_LS="\u2028",CHAR_PS="\u2029";function createScanner(e){const t=e;let r=0,i=1,a=1,c=0;const u=M=>t[M]===CHAR_CR&&t[M+1]===CHAR_LF,d=M=>t[M]===CHAR_LF,f=M=>t[M]===CHAR_PS,m=M=>t[M]===CHAR_LS,y=M=>u(M)||d(M)||f(M)||m(M),v=()=>r,w=()=>i,_=()=>a,S=()=>c,b=M=>u(M)||f(M)||m(M)?CHAR_LF:t[M],k=()=>b(r),C=()=>b(r+c);function O(){return c=0,y(r)&&(i++,a=0),u(r)&&r++,r++,a++,t[r]}function T(){return u(r+c)&&c++,c++,t[r+c]}function E(){r=0,i=1,a=1,c=0}function A(M=0){c=M}function P(){const M=r+c;for(;M!==r;)O();c=0}return{index:v,line:w,column:_,peekOffset:S,charAt:b,currentChar:k,currentPeek:C,next:O,peek:T,reset:E,resetPeek:A,skipToPeek:P}}const EOF=void 0,DOT=".",LITERAL_DELIMITER="'",ERROR_DOMAIN$3="tokenizer";function createTokenizer(e,t={}){const r=t.location!==!1,i=createScanner(e),a=()=>i.index(),c=()=>createPosition(i.line(),i.column(),i.index()),u=c(),d=a(),f={currentType:13,offset:d,startLoc:u,endLoc:u,lastType:13,lastOffset:d,lastStartLoc:u,lastEndLoc:u,braceNest:0,inLinked:!1,text:""},m=()=>f,{onError:y}=t;function v(J,j,ve,...Ce){const Ie=m();if(j.column+=ve,j.offset+=ve,y){const Fe=r?createLocation(Ie.startLoc,j):null,Q=createCompileError(J,Fe,{domain:ERROR_DOMAIN$3,args:Ce});y(Q)}}function w(J,j,ve){J.endLoc=c(),J.currentType=j;const Ce={type:j};return r&&(Ce.loc=createLocation(J.startLoc,J.endLoc)),ve!=null&&(Ce.value=ve),Ce}const _=J=>w(J,13);function S(J,j){return J.currentChar()===j?(J.next(),j):(v(CompileErrorCodes.EXPECTED_TOKEN,c(),0,j),"")}function b(J){let j="";for(;J.currentPeek()===CHAR_SP||J.currentPeek()===CHAR_LF;)j+=J.currentPeek(),J.peek();return j}function k(J){const j=b(J);return J.skipToPeek(),j}function C(J){if(J===EOF)return!1;const j=J.charCodeAt(0);return j>=97&&j<=122||j>=65&&j<=90||j===95}function O(J){if(J===EOF)return!1;const j=J.charCodeAt(0);return j>=48&&j<=57}function T(J,j){const{currentType:ve}=j;if(ve!==2)return!1;b(J);const Ce=C(J.currentPeek());return J.resetPeek(),Ce}function E(J,j){const{currentType:ve}=j;if(ve!==2)return!1;b(J);const Ce=J.currentPeek()==="-"?J.peek():J.currentPeek(),Ie=O(Ce);return J.resetPeek(),Ie}function A(J,j){const{currentType:ve}=j;if(ve!==2)return!1;b(J);const Ce=J.currentPeek()===LITERAL_DELIMITER;return J.resetPeek(),Ce}function P(J,j){const{currentType:ve}=j;if(ve!==7)return!1;b(J);const Ce=J.currentPeek()===".";return J.resetPeek(),Ce}function M(J,j){const{currentType:ve}=j;if(ve!==8)return!1;b(J);const Ce=C(J.currentPeek());return J.resetPeek(),Ce}function D(J,j){const{currentType:ve}=j;if(!(ve===7||ve===11))return!1;b(J);const Ce=J.currentPeek()===":";return J.resetPeek(),Ce}function F(J,j){const{currentType:ve}=j;if(ve!==9)return!1;const Ce=()=>{const Fe=J.currentPeek();return Fe==="{"?C(J.peek()):Fe==="@"||Fe==="|"||Fe===":"||Fe==="."||Fe===CHAR_SP||!Fe?!1:Fe===CHAR_LF?(J.peek(),Ce()):U(J,!1)},Ie=Ce();return J.resetPeek(),Ie}function I(J){b(J);const j=J.currentPeek()==="|";return J.resetPeek(),j}function U(J,j=!0){const ve=(Ie=!1,Fe="")=>{const Q=J.currentPeek();return Q==="{"||Q==="@"||!Q?Ie:Q==="|"?!(Fe===CHAR_SP||Fe===CHAR_LF):Q===CHAR_SP?(J.peek(),ve(!0,CHAR_SP)):Q===CHAR_LF?(J.peek(),ve(!0,CHAR_LF)):!0},Ce=ve();return j&&J.resetPeek(),Ce}function $(J,j){const ve=J.currentChar();return ve===EOF?EOF:j(ve)?(J.next(),ve):null}function z(J){const j=J.charCodeAt(0);return j>=97&&j<=122||j>=65&&j<=90||j>=48&&j<=57||j===95||j===36}function q(J){return $(J,z)}function G(J){const j=J.charCodeAt(0);return j>=97&&j<=122||j>=65&&j<=90||j>=48&&j<=57||j===95||j===36||j===45}function ee(J){return $(J,G)}function ae(J){const j=J.charCodeAt(0);return j>=48&&j<=57}function oe(J){return $(J,ae)}function Se(J){const j=J.charCodeAt(0);return j>=48&&j<=57||j>=65&&j<=70||j>=97&&j<=102}function te(J){return $(J,Se)}function se(J){let j="",ve="";for(;j=oe(J);)ve+=j;return ve}function ne(J){let j="";for(;;){const ve=J.currentChar();if(ve==="{"||ve==="}"||ve==="@"||ve==="|"||!ve)break;if(ve===CHAR_SP||ve===CHAR_LF)if(U(J))j+=ve,J.next();else{if(I(J))break;j+=ve,J.next()}else j+=ve,J.next()}return j}function le(J){k(J);let j="",ve="";for(;j=ee(J);)ve+=j;return J.currentChar()===EOF&&v(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,c(),0),ve}function Oe(J){k(J);let j="";return J.currentChar()==="-"?(J.next(),j+=`-${se(J)}`):j+=se(J),J.currentChar()===EOF&&v(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,c(),0),j}function ke(J){return J!==LITERAL_DELIMITER&&J!==CHAR_LF}function ye(J){k(J),S(J,"'");let j="",ve="";for(;j=$(J,ke);)j==="\\"?ve+=re(J):ve+=j;const Ce=J.currentChar();return Ce===CHAR_LF||Ce===EOF?(v(CompileErrorCodes.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,c(),0),Ce===CHAR_LF&&(J.next(),S(J,"'")),ve):(S(J,"'"),ve)}function re(J){const j=J.currentChar();switch(j){case"\\":case"'":return J.next(),`\\${j}`;case"u":return ue(J,j,4);case"U":return ue(J,j,6);default:return v(CompileErrorCodes.UNKNOWN_ESCAPE_SEQUENCE,c(),0,j),""}}function ue(J,j,ve){S(J,j);let Ce="";for(let Ie=0;Ie<ve;Ie++){const Fe=te(J);if(!Fe){v(CompileErrorCodes.INVALID_UNICODE_ESCAPE_SEQUENCE,c(),0,`\\${j}${Ce}${J.currentChar()}`);break}Ce+=Fe}return`\\${j}${Ce}`}function ie(J){return J!=="{"&&J!=="}"&&J!==CHAR_SP&&J!==CHAR_LF}function pe(J){k(J);let j="",ve="";for(;j=$(J,ie);)ve+=j;return ve}function Te(J){let j="",ve="";for(;j=q(J);)ve+=j;return ve}function Pe(J){const j=ve=>{const Ce=J.currentChar();return Ce==="{"||Ce==="@"||Ce==="|"||Ce==="("||Ce===")"||!Ce||Ce===CHAR_SP?ve:(ve+=Ce,J.next(),j(ve))};return j("")}function B(J){k(J);const j=S(J,"|");return k(J),j}function H(J,j){let ve=null;switch(J.currentChar()){case"{":return j.braceNest>=1&&v(CompileErrorCodes.NOT_ALLOW_NEST_PLACEHOLDER,c(),0),J.next(),ve=w(j,2,"{"),k(J),j.braceNest++,ve;case"}":return j.braceNest>0&&j.currentType===2&&v(CompileErrorCodes.EMPTY_PLACEHOLDER,c(),0),J.next(),ve=w(j,3,"}"),j.braceNest--,j.braceNest>0&&k(J),j.inLinked&&j.braceNest===0&&(j.inLinked=!1),ve;case"@":return j.braceNest>0&&v(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,c(),0),ve=he(J,j)||_(j),j.braceNest=0,ve;default:{let Ie=!0,Fe=!0,Q=!0;if(I(J))return j.braceNest>0&&v(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,c(),0),ve=w(j,1,B(J)),j.braceNest=0,j.inLinked=!1,ve;if(j.braceNest>0&&(j.currentType===4||j.currentType===5||j.currentType===6))return v(CompileErrorCodes.UNTERMINATED_CLOSING_BRACE,c(),0),j.braceNest=0,De(J,j);if(Ie=T(J,j))return ve=w(j,4,le(J)),k(J),ve;if(Fe=E(J,j))return ve=w(j,5,Oe(J)),k(J),ve;if(Q=A(J,j))return ve=w(j,6,ye(J)),k(J),ve;if(!Ie&&!Fe&&!Q)return ve=w(j,12,pe(J)),v(CompileErrorCodes.INVALID_TOKEN_IN_PLACEHOLDER,c(),0,ve.value),k(J),ve;break}}return ve}function he(J,j){const{currentType:ve}=j;let Ce=null;const Ie=J.currentChar();switch((ve===7||ve===8||ve===11||ve===9)&&(Ie===CHAR_LF||Ie===CHAR_SP)&&v(CompileErrorCodes.INVALID_LINKED_FORMAT,c(),0),Ie){case"@":return J.next(),Ce=w(j,7,"@"),j.inLinked=!0,Ce;case".":return k(J),J.next(),w(j,8,".");case":":return k(J),J.next(),w(j,9,":");default:return I(J)?(Ce=w(j,1,B(J)),j.braceNest=0,j.inLinked=!1,Ce):P(J,j)||D(J,j)?(k(J),he(J,j)):M(J,j)?(k(J),w(j,11,Te(J))):F(J,j)?(k(J),Ie==="{"?H(J,j)||Ce:w(j,10,Pe(J))):(ve===7&&v(CompileErrorCodes.INVALID_LINKED_FORMAT,c(),0),j.braceNest=0,j.inLinked=!1,De(J,j))}}function De(J,j){let ve={type:13};if(j.braceNest>0)return H(J,j)||_(j);if(j.inLinked)return he(J,j)||_(j);switch(J.currentChar()){case"{":return H(J,j)||_(j);case"}":return v(CompileErrorCodes.UNBALANCED_CLOSING_BRACE,c(),0),J.next(),w(j,3,"}");case"@":return he(J,j)||_(j);default:{if(I(J))return ve=w(j,1,B(J)),j.braceNest=0,j.inLinked=!1,ve;if(U(J))return w(j,0,ne(J));break}}return ve}function Ne(){const{currentType:J,offset:j,startLoc:ve,endLoc:Ce}=f;return f.lastType=J,f.lastOffset=j,f.lastStartLoc=ve,f.lastEndLoc=Ce,f.offset=a(),f.startLoc=c(),i.currentChar()===EOF?w(f,13):De(i,f)}return{nextToken:Ne,currentOffset:a,currentPosition:c,context:m}}const ERROR_DOMAIN$2="parser",KNOWN_ESCAPES=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function fromEscapeSequence(e,t,r){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const i=parseInt(t||r,16);return i<=55295||i>=57344?String.fromCodePoint(i):"<22>"}}}function createParser(e={}){const t=e.location!==!1,{onError:r}=e;function i(C,O,T,E,...A){const P=C.currentPosition();if(P.offset+=E,P.column+=E,r){const M=t?createLocation(T,P):null,D=createCompileError(O,M,{domain:ERROR_DOMAIN$2,args:A});r(D)}}function a(C,O,T){const E={type:C};return t&&(E.start=O,E.end=O,E.loc={start:T,end:T}),E}function c(C,O,T,E){t&&(C.end=O,C.loc&&(C.loc.end=T))}function u(C,O){const T=C.context(),E=a(3,T.offset,T.startLoc);return E.value=O,c(E,C.currentOffset(),C.currentPosition()),E}function d(C,O){const T=C.context(),{lastOffset:E,lastStartLoc:A}=T,P=a(5,E,A);return P.index=parseInt(O,10),C.nextToken(),c(P,C.currentOffset(),C.currentPosition()),P}function f(C,O){const T=C.context(),{lastOffset:E,lastStartLoc:A}=T,P=a(4,E,A);return P.key=O,C.nextToken(),c(P,C.currentOffset(),C.currentPosition()),P}function m(C,O){const T=C.context(),{lastOffset:E,lastStartLoc:A}=T,P=a(9,E,A);return P.value=O.replace(KNOWN_ESCAPES,fromEscapeSequence),C.nextToken(),c(P,C.currentOffset(),C.currentPosition()),P}function y(C){const O=C.nextToken(),T=C.context(),{lastOffset:E,lastStartLoc:A}=T,P=a(8,E,A);return O.type!==11?(i(C,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_MODIFIER,T.lastStartLoc,0),P.value="",c(P,E,A),{nextConsumeToken:O,node:P}):(O.value==null&&i(C,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,getTokenCaption(O)),P.value=O.value||"",c(P,C.currentOffset(),C.currentPosition()),{node:P})}function v(C,O){const T=C.context(),E=a(7,T.offset,T.startLoc);return E.value=O,c(E,C.currentOffset(),C.currentPosition()),E}function w(C){const O=C.context(),T=a(6,O.offset,O.startLoc);let E=C.nextToken();if(E.type===8){const A=y(C);T.modifier=A.node,E=A.nextConsumeToken||C.nextToken()}switch(E.type!==9&&i(C,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,O.lastStartLoc,0,getTokenCaption(E)),E=C.nextToken(),E.type===2&&(E=C.nextToken()),E.type){case 10:E.value==null&&i(C,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,O.lastStartLoc,0,getTokenCaption(E)),T.key=v(C,E.value||"");break;case 4:E.value==null&&i(C,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,O.lastStartLoc,0,getTokenCaption(E)),T.key=f(C,E.value||"");break;case 5:E.value==null&&i(C,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,O.lastStartLoc,0,getTokenCaption(E)),T.key=d(C,E.value||"");break;case 6:E.value==null&&i(C,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,O.lastStartLoc,0,getTokenCaption(E)),T.key=m(C,E.value||"");break;default:{i(C,CompileErrorCodes.UNEXPECTED_EMPTY_LINKED_KEY,O.lastStartLoc,0);const A=C.context(),P=a(7,A.offset,A.startLoc);return P.value="",c(P,A.offset,A.startLoc),T.key=P,c(T,A.offset,A.startLoc),{nextConsumeToken:E,node:T}}}return c(T,C.currentOffset(),C.currentPosition()),{node:T}}function _(C){const O=C.context(),T=O.currentType===1?C.currentOffset():O.offset,E=O.currentType===1?O.endLoc:O.startLoc,A=a(2,T,E);A.items=[];let P=null;do{const F=P||C.nextToken();switch(P=null,F.type){case 0:F.value==null&&i(C,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,O.lastStartLoc,0,getTokenCaption(F)),A.items.push(u(C,F.value||""));break;case 5:F.value==null&&i(C,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,O.lastStartLoc,0,getTokenCaption(F)),A.items.push(d(C,F.value||""));break;case 4:F.value==null&&i(C,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,O.lastStartLoc,0,getTokenCaption(F)),A.items.push(f(C,F.value||""));break;case 6:F.value==null&&i(C,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,O.lastStartLoc,0,getTokenCaption(F)),A.items.push(m(C,F.value||""));break;case 7:{const I=w(C);A.items.push(I.node),P=I.nextConsumeToken||null;break}}}while(O.currentType!==13&&O.currentType!==1);const M=O.currentType===1?O.lastOffset:C.currentOffset(),D=O.currentType===1?O.lastEndLoc:C.currentPosition();return c(A,M,D),A}function S(C,O,T,E){const A=C.context();let P=E.items.length===0;const M=a(1,O,T);M.cases=[],M.cases.push(E);do{const D=_(C);P||(P=D.items.length===0),M.cases.push(D)}while(A.currentType!==13);return P&&i(C,CompileErrorCodes.MUST_HAVE_MESSAGES_IN_PLURAL,T,0),c(M,C.currentOffset(),C.currentPosition()),M}function b(C){const O=C.context(),{offset:T,startLoc:E}=O,A=_(C);return O.currentType===13?A:S(C,T,E,A)}function k(C){const O=createTokenizer(C,assign({},e)),T=O.context(),E=a(0,T.offset,T.startLoc);return t&&E.loc&&(E.loc.source=C),E.body=b(O),e.onCacheKey&&(E.cacheKey=e.onCacheKey(C)),T.currentType!==13&&i(O,CompileErrorCodes.UNEXPECTED_LEXICAL_ANALYSIS,T.lastStartLoc,0,C[T.offset]||""),c(E,O.currentOffset(),O.currentPosition()),E}return{parse:k}}function getTokenCaption(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function createTransformer(e,t={}){const r={ast:e,helpers:new Set};return{context:()=>r,helper:c=>(r.helpers.add(c),c)}}function traverseNodes(e,t){for(let r=0;r<e.length;r++)traverseNode(e[r],t)}function traverseNode(e,t){switch(e.type){case 1:traverseNodes(e.cases,t),t.helper("plural");break;case 2:traverseNodes(e.items,t);break;case 6:{traverseNode(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function transform(e,t={}){const r=createTransformer(e);r.helper("normalize"),e.body&&traverseNode(e.body,r);const i=r.context();e.helpers=Array.from(i.helpers)}function optimize(e){const t=e.body;return t.type===2?optimizeMessageNode(t):t.cases.forEach(r=>optimizeMessageNode(r)),e}function optimizeMessageNode(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let r=0;r<e.items.length;r++){const i=e.items[r];if(!(i.type===3||i.type===9)||i.value==null)break;t.push(i.value)}if(t.length===e.items.length){e.static=join(t);for(let r=0;r<e.items.length;r++){const i=e.items[r];(i.type===3||i.type===9)&&delete i.value}}}}function minify(e){switch(e.t=e.type,e.type){case 0:{const t=e;minify(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,r=t.cases;for(let i=0;i<r.length;i++)minify(r[i]);t.c=r,delete t.cases;break}case 2:{const t=e,r=t.items;for(let i=0;i<r.length;i++)minify(r[i]);t.i=r,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;minify(t.key),t.k=t.key,delete t.key,t.modifier&&(minify(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}}delete e.type}function createCodeGenerator(e,t){const{filename:r,breakLineCode:i,needIndent:a}=t,c=t.location!==!1,u={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:i,needIndent:a,indentLevel:0};c&&e.loc&&(u.source=e.loc.source);const d=()=>u;function f(b,k){u.code+=b}function m(b,k=!0){const C=k?i:"";f(a?C+" ".repeat(b):C)}function y(b=!0){const k=++u.indentLevel;b&&m(k)}function v(b=!0){const k=--u.indentLevel;b&&m(k)}function w(){m(u.indentLevel)}return{context:d,push:f,indent:y,deindent:v,newline:w,helper:b=>`_${b}`,needIndent:()=>u.needIndent}}function generateLinkedNode(e,t){const{helper:r}=e;e.push(`${r("linked")}(`),generateNode(e,t.key),t.modifier?(e.push(", "),generateNode(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function generateMessageNode(e,t){const{helper:r,needIndent:i}=e;e.push(`${r("normalize")}([`),e.indent(i());const a=t.items.length;for(let c=0;c<a&&(generateNode(e,t.items[c]),c!==a-1);c++)e.push(", ");e.deindent(i()),e.push("])")}function generatePluralNode(e,t){const{helper:r,needIndent:i}=e;if(t.cases.length>1){e.push(`${r("plural")}([`),e.indent(i());const a=t.cases.length;for(let c=0;c<a&&(generateNode(e,t.cases[c]),c!==a-1);c++)e.push(", ");e.deindent(i()),e.push("])")}}function generateResource(e,t){t.body?generateNode(e,t.body):e.push("null")}function generateNode(e,t){const{helper:r}=e;switch(t.type){case 0:generateResource(e,t);break;case 1:generatePluralNode(e,t);break;case 2:generateMessageNode(e,t);break;case 6:generateLinkedNode(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${r("interpolate")}(${r("list")}(${t.index}))`,t);break;case 4:e.push(`${r("interpolate")}(${r("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break}}const generate=(e,t={})=>{const r=isString(t.mode)?t.mode:"normal",i=isString(t.filename)?t.filename:"message.intl";t.sourceMap;const a=t.breakLineCode!=null?t.breakLineCode:r==="arrow"?";":`
`,c=t.needIndent?t.needIndent:r!=="arrow",u=e.helpers||[],d=createCodeGenerator(e,{filename:i,breakLineCode:a,needIndent:c});d.push(r==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),d.indent(c),u.length>0&&(d.push(`const { ${join(u.map(y=>`${y}: _${y}`),", ")} } = ctx`),d.newline()),d.push("return "),generateNode(d,e),d.deindent(c),d.push("}"),delete e.helpers;const{code:f,map:m}=d.context();return{ast:e,code:f,map:m?m.toJSON():void 0}};function baseCompile$1(e,t={}){const r=assign({},t),i=!!r.jit,a=!!r.minify,c=r.optimize==null?!0:r.optimize,d=createParser(r).parse(e);return i?(c&&optimize(d),a&&minify(d),{ast:d,code:""}):(transform(d,r),generate(d,r))}/*!
* core-base v11.1.11
* (c) 2025 kazuya kawaguchi
* Released under the MIT License.
*/function initFeatureFlags$1(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(getGlobalThis().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function isMessageAST(e){return isObject$1(e)&&resolveType(e)===0&&(hasOwn(e,"b")||hasOwn(e,"body"))}const PROPS_BODY=["b","body"];function resolveBody(e){return resolveProps(e,PROPS_BODY)}const PROPS_CASES=["c","cases"];function resolveCases(e){return resolveProps(e,PROPS_CASES,[])}const PROPS_STATIC=["s","static"];function resolveStatic(e){return resolveProps(e,PROPS_STATIC)}const PROPS_ITEMS=["i","items"];function resolveItems(e){return resolveProps(e,PROPS_ITEMS,[])}const PROPS_TYPE=["t","type"];function resolveType(e){return resolveProps(e,PROPS_TYPE)}const PROPS_VALUE=["v","value"];function resolveValue$1(e,t){const r=resolveProps(e,PROPS_VALUE);if(r!=null)return r;throw createUnhandleNodeError(t)}const PROPS_MODIFIER=["m","modifier"];function resolveLinkedModifier(e){return resolveProps(e,PROPS_MODIFIER)}const PROPS_KEY=["k","key"];function resolveLinkedKey(e){const t=resolveProps(e,PROPS_KEY);if(t)return t;throw createUnhandleNodeError(6)}function resolveProps(e,t,r){for(let i=0;i<t.length;i++){const a=t[i];if(hasOwn(e,a)&&e[a]!=null)return e[a]}return r}const AST_NODE_PROPS_KEYS=[...PROPS_BODY,...PROPS_CASES,...PROPS_STATIC,...PROPS_ITEMS,...PROPS_KEY,...PROPS_MODIFIER,...PROPS_VALUE,...PROPS_TYPE];function createUnhandleNodeError(e){return new Error(`unhandled node type: ${e}`)}function format(e){return r=>formatParts(r,e)}function formatParts(e,t){const r=resolveBody(t);if(r==null)throw createUnhandleNodeError(0);if(resolveType(r)===1){const c=resolveCases(r);return e.plural(c.reduce((u,d)=>[...u,formatMessageParts(e,d)],[]))}else return formatMessageParts(e,r)}function formatMessageParts(e,t){const r=resolveStatic(t);if(r!=null)return e.type==="text"?r:e.normalize([r]);{const i=resolveItems(t).reduce((a,c)=>[...a,formatMessagePart(e,c)],[]);return e.normalize(i)}}function formatMessagePart(e,t){const r=resolveType(t);switch(r){case 3:return resolveValue$1(t,r);case 9:return resolveValue$1(t,r);case 4:{const i=t;if(hasOwn(i,"k")&&i.k)return e.interpolate(e.named(i.k));if(hasOwn(i,"key")&&i.key)return e.interpolate(e.named(i.key));throw createUnhandleNodeError(r)}case 5:{const i=t;if(hasOwn(i,"i")&&isNumber(i.i))return e.interpolate(e.list(i.i));if(hasOwn(i,"index")&&isNumber(i.index))return e.interpolate(e.list(i.index));throw createUnhandleNodeError(r)}case 6:{const i=t,a=resolveLinkedModifier(i),c=resolveLinkedKey(i);return e.linked(formatMessagePart(e,c),a?formatMessagePart(e,a):void 0,e.type)}case 7:return resolveValue$1(t,r);case 8:return resolveValue$1(t,r);default:throw new Error(`unhandled node on format message part: ${r}`)}}const defaultOnCacheKey=e=>e;let compileCache=create();function baseCompile(e,t={}){let r=!1;const i=t.onError||defaultOnError;return t.onError=a=>{r=!0,i(a)},{...baseCompile$1(e,t),detectError:r}}function compile(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&isString(e)){isBoolean(t.warnHtmlMessage)&&t.warnHtmlMessage;const i=(t.onCacheKey||defaultOnCacheKey)(e),a=compileCache[i];if(a)return a;const{ast:c,detectError:u}=baseCompile(e,{...t,location:!1,jit:!0}),d=format(c);return u?d:compileCache[i]=d}else{const r=e.cacheKey;if(r){const i=compileCache[r];return i||(compileCache[r]=format(e))}else return format(e)}}let devtools=null;function setDevToolsHook(e){devtools=e}function initI18nDevTools(e,t,r){devtools&&devtools.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:r})}const translateDevTools=createDevToolsHook("function:translate");function createDevToolsHook(e){return t=>devtools&&devtools.emit(e,t)}const CoreErrorCodes={INVALID_ARGUMENT:COMPILE_ERROR_CODES_EXTEND_POINT,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},CORE_ERROR_CODES_EXTEND_POINT=24;function createCoreError(e){return createCompileError(e,null,void 0)}function getLocale(e,t){return t.locale!=null?resolveLocale(t.locale):resolveLocale(e.locale)}let _resolveLocale;function resolveLocale(e){if(isString(e))return e;if(isFunction(e)){if(e.resolvedOnce&&_resolveLocale!=null)return _resolveLocale;if(e.constructor.name==="Function"){const t=e();if(isPromise(t))throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return _resolveLocale=t}else throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw createCoreError(CoreErrorCodes.NOT_SUPPORT_LOCALE_TYPE)}function fallbackWithSimple(e,t,r){return[...new Set([r,...isArray(t)?t:isObject$1(t)?Object.keys(t):isString(t)?[t]:[r]])]}function fallbackWithLocaleChain(e,t,r){const i=isString(r)?r:DEFAULT_LOCALE,a=e;a.__localeChainCache||(a.__localeChainCache=new Map);let c=a.__localeChainCache.get(i);if(!c){c=[];let u=[r];for(;isArray(u);)u=appendBlockToChain(c,u,t);const d=isArray(t)||!isPlainObject(t)?t:t.default?t.default:null;u=isString(d)?[d]:d,isArray(u)&&appendBlockToChain(c,u,!1),a.__localeChainCache.set(i,c)}return c}function appendBlockToChain(e,t,r){let i=!0;for(let a=0;a<t.length&&isBoolean(i);a++){const c=t[a];isString(c)&&(i=appendLocaleToChain(e,t[a],r))}return i}function appendLocaleToChain(e,t,r){let i;const a=t.split("-");do{const c=a.join("-");i=appendItemToChain(e,c,r),a.splice(-1,1)}while(a.length&&i===!0);return i}function appendItemToChain(e,t,r){let i=!1;if(!e.includes(t)&&(i=!0,t)){i=t[t.length-1]!=="!";const a=t.replace(/!/g,"");e.push(a),(isArray(r)||isPlainObject(r))&&r[a]&&(i=r[a])}return i}const pathStateMachine=[];pathStateMachine[0]={w:[0],i:[3,0],"[":[4],o:[7]};pathStateMachine[1]={w:[1],".":[2],"[":[4],o:[7]};pathStateMachine[2]={w:[2],i:[3,0],0:[3,0]};pathStateMachine[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};pathStateMachine[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};pathStateMachine[5]={"'":[4,0],o:8,l:[5,0]};pathStateMachine[6]={'"':[4,0],o:8,l:[6,0]};const literalValueRE=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function isLiteral(e){return literalValueRE.test(e)}function stripQuotes(e){const t=e.charCodeAt(0),r=e.charCodeAt(e.length-1);return t===r&&(t===34||t===39)?e.slice(1,-1):e}function getPathCharType(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function formatSubPath(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:isLiteral(t)?stripQuotes(t):"*"+t}function parse$1(e){const t=[];let r=-1,i=0,a=0,c,u,d,f,m,y,v;const w=[];w[0]=()=>{u===void 0?u=d:u+=d},w[1]=()=>{u!==void 0&&(t.push(u),u=void 0)},w[2]=()=>{w[0](),a++},w[3]=()=>{if(a>0)a--,i=4,w[0]();else{if(a=0,u===void 0||(u=formatSubPath(u),u===!1))return!1;w[1]()}};function _(){const S=e[r+1];if(i===5&&S==="'"||i===6&&S==='"')return r++,d="\\"+S,w[0](),!0}for(;i!==null;)if(r++,c=e[r],!(c==="\\"&&_())){if(f=getPathCharType(c),v=pathStateMachine[i],m=v[f]||v.l||8,m===8||(i=m[0],m[1]!==void 0&&(y=w[m[1]],y&&(d=c,y()===!1))))return;if(i===7)return t}}const cache=new Map;function resolveWithKeyValue(e,t){return isObject$1(e)?e[t]:null}function resolveValue(e,t){if(!isObject$1(e))return null;let r=cache.get(t);if(r||(r=parse$1(t),r&&cache.set(t,r)),!r)return null;const i=r.length;let a=e,c=0;for(;c<i;){const u=r[c];if(AST_NODE_PROPS_KEYS.includes(u)&&isMessageAST(a))return null;const d=a[u];if(d===void 0||isFunction(a))return null;a=d,c++}return a}const VERSION$1="11.1.11",NOT_REOSLVED=-1,DEFAULT_LOCALE="en-US",MISSING_RESOLVE_VALUE="",capitalize=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function getDefaultLinkedModifiers(){return{upper:(e,t)=>t==="text"&&isString(e)?e.toUpperCase():t==="vnode"&&isObject$1(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&isString(e)?e.toLowerCase():t==="vnode"&&isObject$1(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&isString(e)?capitalize(e):t==="vnode"&&isObject$1(e)&&"__v_isVNode"in e?capitalize(e.children):e}}let _compiler;function registerMessageCompiler(e){_compiler=e}let _resolver;function registerMessageResolver(e){_resolver=e}let _fallbacker;function registerLocaleFallbacker(e){_fallbacker=e}let _additionalMeta=null;const setAdditionalMeta=e=>{_additionalMeta=e},getAdditionalMeta=()=>_additionalMeta;let _fallbackContext=null;const setFallbackContext=e=>{_fallbackContext=e},getFallbackContext=()=>_fallbackContext;let _cid=0;function createCoreContext(e={}){const t=isFunction(e.onWarn)?e.onWarn:warn,r=isString(e.version)?e.version:VERSION$1,i=isString(e.locale)||isFunction(e.locale)?e.locale:DEFAULT_LOCALE,a=isFunction(i)?DEFAULT_LOCALE:i,c=isArray(e.fallbackLocale)||isPlainObject(e.fallbackLocale)||isString(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a,u=isPlainObject(e.messages)?e.messages:createResources(a),d=isPlainObject(e.datetimeFormats)?e.datetimeFormats:createResources(a),f=isPlainObject(e.numberFormats)?e.numberFormats:createResources(a),m=assign(create(),e.modifiers,getDefaultLinkedModifiers()),y=e.pluralRules||create(),v=isFunction(e.missing)?e.missing:null,w=isBoolean(e.missingWarn)||isRegExp(e.missingWarn)?e.missingWarn:!0,_=isBoolean(e.fallbackWarn)||isRegExp(e.fallbackWarn)?e.fallbackWarn:!0,S=!!e.fallbackFormat,b=!!e.unresolving,k=isFunction(e.postTranslation)?e.postTranslation:null,C=isPlainObject(e.processor)?e.processor:null,O=isBoolean(e.warnHtmlMessage)?e.warnHtmlMessage:!0,T=!!e.escapeParameter,E=isFunction(e.messageCompiler)?e.messageCompiler:_compiler,A=isFunction(e.messageResolver)?e.messageResolver:_resolver||resolveWithKeyValue,P=isFunction(e.localeFallbacker)?e.localeFallbacker:_fallbacker||fallbackWithSimple,M=isObject$1(e.fallbackContext)?e.fallbackContext:void 0,D=e,F=isObject$1(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,I=isObject$1(D.__numberFormatters)?D.__numberFormatters:new Map,U=isObject$1(D.__meta)?D.__meta:{};_cid++;const $={version:r,cid:_cid,locale:i,fallbackLocale:c,messages:u,modifiers:m,pluralRules:y,missing:v,missingWarn:w,fallbackWarn:_,fallbackFormat:S,unresolving:b,postTranslation:k,processor:C,warnHtmlMessage:O,escapeParameter:T,messageCompiler:E,messageResolver:A,localeFallbacker:P,fallbackContext:M,onWarn:t,__meta:U};return $.datetimeFormats=d,$.numberFormats=f,$.__datetimeFormatters=F,$.__numberFormatters=I,__INTLIFY_PROD_DEVTOOLS__&&initI18nDevTools($,r,U),$}const createResources=e=>({[e]:create()});function handleMissing(e,t,r,i,a){const{missing:c,onWarn:u}=e;if(c!==null){const d=c(e,r,t,a);return isString(d)?d:t}else return t}function updateFallbackLocale(e,t,r){const i=e;i.__localeChainCache=new Map,e.localeFallbacker(e,r,t)}function isAlmostSameLocale(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function isImplicitFallback(e,t){const r=t.indexOf(e);if(r===-1)return!1;for(let i=r+1;i<t.length;i++)if(isAlmostSameLocale(e,t[i]))return!0;return!1}function datetime(e,...t){const{datetimeFormats:r,unresolving:i,fallbackLocale:a,onWarn:c,localeFallbacker:u}=e,{__datetimeFormatters:d}=e,[f,m,y,v]=parseDateTimeArgs(...t),w=isBoolean(y.missingWarn)?y.missingWarn:e.missingWarn;isBoolean(y.fallbackWarn)?y.fallbackWarn:e.fallbackWarn;const _=!!y.part,S=getLocale(e,y),b=u(e,a,S);if(!isString(f)||f==="")return new Intl.DateTimeFormat(S,v).format(m);let k={},C,O=null;const T="datetime format";for(let P=0;P<b.length&&(C=b[P],k=r[C]||{},O=k[f],!isPlainObject(O));P++)handleMissing(e,f,C,w,T);if(!isPlainObject(O)||!isString(C))return i?NOT_REOSLVED:f;let E=`${C}__${f}`;isEmptyObject(v)||(E=`${E}__${JSON.stringify(v)}`);let A=d.get(E);return A||(A=new Intl.DateTimeFormat(C,assign({},O,v)),d.set(E,A)),_?A.formatToParts(m):A.format(m)}const DATETIME_FORMAT_OPTIONS_KEYS=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function parseDateTimeArgs(...e){const[t,r,i,a]=e,c=create();let u=create(),d;if(isString(t)){const f=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!f)throw createCoreError(CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT);const m=f[3]?f[3].trim().startsWith("T")?`${f[1].trim()}${f[3].trim()}`:`${f[1].trim()}T${f[3].trim()}`:f[1].trim();d=new Date(m);try{d.toISOString()}catch{throw createCoreError(CoreErrorCodes.INVALID_ISO_DATE_ARGUMENT)}}else if(isDate(t)){if(isNaN(t.getTime()))throw createCoreError(CoreErrorCodes.INVALID_DATE_ARGUMENT);d=t}else if(isNumber(t))d=t;else throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);return isString(r)?c.key=r:isPlainObject(r)&&Object.keys(r).forEach(f=>{DATETIME_FORMAT_OPTIONS_KEYS.includes(f)?u[f]=r[f]:c[f]=r[f]}),isString(i)?c.locale=i:isPlainObject(i)&&(u=i),isPlainObject(a)&&(u=a),[c.key||"",d,c,u]}function clearDateTimeFormat(e,t,r){const i=e;for(const a in r){const c=`${t}__${a}`;i.__datetimeFormatters.has(c)&&i.__datetimeFormatters.delete(c)}}function number(e,...t){const{numberFormats:r,unresolving:i,fallbackLocale:a,onWarn:c,localeFallbacker:u}=e,{__numberFormatters:d}=e,[f,m,y,v]=parseNumberArgs(...t),w=isBoolean(y.missingWarn)?y.missingWarn:e.missingWarn;isBoolean(y.fallbackWarn)?y.fallbackWarn:e.fallbackWarn;const _=!!y.part,S=getLocale(e,y),b=u(e,a,S);if(!isString(f)||f==="")return new Intl.NumberFormat(S,v).format(m);let k={},C,O=null;const T="number format";for(let P=0;P<b.length&&(C=b[P],k=r[C]||{},O=k[f],!isPlainObject(O));P++)handleMissing(e,f,C,w,T);if(!isPlainObject(O)||!isString(C))return i?NOT_REOSLVED:f;let E=`${C}__${f}`;isEmptyObject(v)||(E=`${E}__${JSON.stringify(v)}`);let A=d.get(E);return A||(A=new Intl.NumberFormat(C,assign({},O,v)),d.set(E,A)),_?A.formatToParts(m):A.format(m)}const NUMBER_FORMAT_OPTIONS_KEYS=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function parseNumberArgs(...e){const[t,r,i,a]=e,c=create();let u=create();if(!isNumber(t))throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);const d=t;return isString(r)?c.key=r:isPlainObject(r)&&Object.keys(r).forEach(f=>{NUMBER_FORMAT_OPTIONS_KEYS.includes(f)?u[f]=r[f]:c[f]=r[f]}),isString(i)?c.locale=i:isPlainObject(i)&&(u=i),isPlainObject(a)&&(u=a),[c.key||"",d,c,u]}function clearNumberFormat(e,t,r){const i=e;for(const a in r){const c=`${t}__${a}`;i.__numberFormatters.has(c)&&i.__numberFormatters.delete(c)}}const DEFAULT_MODIFIER=e=>e,DEFAULT_MESSAGE=e=>"",DEFAULT_MESSAGE_DATA_TYPE="text",DEFAULT_NORMALIZE=e=>e.length===0?"":join(e),DEFAULT_INTERPOLATE=toDisplayString;function pluralDefault(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function getPluralIndex(e){const t=isNumber(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(isNumber(e.named.count)||isNumber(e.named.n))?isNumber(e.named.count)?e.named.count:isNumber(e.named.n)?e.named.n:t:t}function normalizeNamed(e,t){t.count||(t.count=e),t.n||(t.n=e)}function createMessageContext(e={}){const t=e.locale,r=getPluralIndex(e),i=isObject$1(e.pluralRules)&&isString(t)&&isFunction(e.pluralRules[t])?e.pluralRules[t]:pluralDefault,a=isObject$1(e.pluralRules)&&isString(t)&&isFunction(e.pluralRules[t])?pluralDefault:void 0,c=C=>C[i(r,C.length,a)],u=e.list||[],d=C=>u[C],f=e.named||create();isNumber(e.pluralIndex)&&normalizeNamed(r,f);const m=C=>f[C];function y(C,O){const T=isFunction(e.messages)?e.messages(C,!!O):isObject$1(e.messages)?e.messages[C]:!1;return T||(e.parent?e.parent.message(C):DEFAULT_MESSAGE)}const v=C=>e.modifiers?e.modifiers[C]:DEFAULT_MODIFIER,w=isPlainObject(e.processor)&&isFunction(e.processor.normalize)?e.processor.normalize:DEFAULT_NORMALIZE,_=isPlainObject(e.processor)&&isFunction(e.processor.interpolate)?e.processor.interpolate:DEFAULT_INTERPOLATE,S=isPlainObject(e.processor)&&isString(e.processor.type)?e.processor.type:DEFAULT_MESSAGE_DATA_TYPE,k={list:d,named:m,plural:c,linked:(C,...O)=>{const[T,E]=O;let A="text",P="";O.length===1?isObject$1(T)?(P=T.modifier||P,A=T.type||A):isString(T)&&(P=T||P):O.length===2&&(isString(T)&&(P=T||P),isString(E)&&(A=E||A));const M=y(C,!0)(k),D=A==="vnode"&&isArray(M)&&P?M[0]:M;return P?v(P)(D,A):D},message:y,type:S,interpolate:_,normalize:w,values:assign(create(),u,f)};return k}const NOOP_MESSAGE_FUNCTION=()=>"",isMessageFunction=e=>isFunction(e);function translate(e,...t){const{fallbackFormat:r,postTranslation:i,unresolving:a,messageCompiler:c,fallbackLocale:u,messages:d}=e,[f,m]=parseTranslateArgs(...t),y=isBoolean(m.missingWarn)?m.missingWarn:e.missingWarn,v=isBoolean(m.fallbackWarn)?m.fallbackWarn:e.fallbackWarn,w=isBoolean(m.escapeParameter)?m.escapeParameter:e.escapeParameter,_=!!m.resolvedMessage,S=isString(m.default)||isBoolean(m.default)?isBoolean(m.default)?c?f:()=>f:m.default:r?c?f:()=>f:null,b=r||S!=null&&(isString(S)||isFunction(S)),k=getLocale(e,m);w&&escapeParams(m);let[C,O,T]=_?[f,k,d[k]||create()]:resolveMessageFormat(e,f,k,u,v,y),E=C,A=f;if(!_&&!(isString(E)||isMessageAST(E)||isMessageFunction(E))&&b&&(E=S,A=E),!_&&(!(isString(E)||isMessageAST(E)||isMessageFunction(E))||!isString(O)))return a?NOT_REOSLVED:f;let P=!1;const M=()=>{P=!0},D=isMessageFunction(E)?E:compileMessageFormat(e,f,O,E,A,M);if(P)return E;const F=getMessageContextOptions(e,O,T,m),I=createMessageContext(F),U=evaluateMessage(e,D,I);let $=i?i(U,f):U;if(w&&isString($)&&($=sanitizeTranslatedHtml($)),__INTLIFY_PROD_DEVTOOLS__){const z={timestamp:Date.now(),key:isString(f)?f:isMessageFunction(E)?E.key:"",locale:O||(isMessageFunction(E)?E.locale:""),format:isString(E)?E:isMessageFunction(E)?E.source:"",message:$};z.meta=assign({},e.__meta,getAdditionalMeta()||{}),translateDevTools(z)}return $}function escapeParams(e){isArray(e.list)?e.list=e.list.map(t=>isString(t)?escapeHtml(t):t):isObject$1(e.named)&&Object.keys(e.named).forEach(t=>{isString(e.named[t])&&(e.named[t]=escapeHtml(e.named[t]))})}function resolveMessageFormat(e,t,r,i,a,c){const{messages:u,onWarn:d,messageResolver:f,localeFallbacker:m}=e,y=m(e,i,r);let v=create(),w,_=null;const S="translate";for(let b=0;b<y.length&&(w=y[b],v=u[w]||create(),(_=f(v,t))===null&&(_=v[t]),!(isString(_)||isMessageAST(_)||isMessageFunction(_)));b++)if(!isImplicitFallback(w,y)){const k=handleMissing(e,t,w,c,S);k!==t&&(_=k)}return[_,w,v]}function compileMessageFormat(e,t,r,i,a,c){const{messageCompiler:u,warnHtmlMessage:d}=e;if(isMessageFunction(i)){const m=i;return m.locale=m.locale||r,m.key=m.key||t,m}if(u==null){const m=()=>i;return m.locale=r,m.key=t,m}const f=u(i,getCompileContext(e,r,a,i,d,c));return f.locale=r,f.key=t,f.source=i,f}function evaluateMessage(e,t,r){return t(r)}function parseTranslateArgs(...e){const[t,r,i]=e,a=create();if(!isString(t)&&!isNumber(t)&&!isMessageFunction(t)&&!isMessageAST(t))throw createCoreError(CoreErrorCodes.INVALID_ARGUMENT);const c=isNumber(t)?String(t):(isMessageFunction(t),t);return isNumber(r)?a.plural=r:isString(r)?a.default=r:isPlainObject(r)&&!isEmptyObject(r)?a.named=r:isArray(r)&&(a.list=r),isNumber(i)?a.plural=i:isString(i)?a.default=i:isPlainObject(i)&&assign(a,i),[c,a]}function getCompileContext(e,t,r,i,a,c){return{locale:t,key:r,warnHtmlMessage:a,onError:u=>{throw c&&c(u),u},onCacheKey:u=>generateFormatCacheKey(t,r,u)}}function getMessageContextOptions(e,t,r,i){const{modifiers:a,pluralRules:c,messageResolver:u,fallbackLocale:d,fallbackWarn:f,missingWarn:m,fallbackContext:y}=e,w={locale:t,modifiers:a,pluralRules:c,messages:(_,S)=>{let b=u(r,_);if(b==null&&(y||S)){const[,,k]=resolveMessageFormat(y||e,_,t,d,f,m);b=u(k,_)}if(isString(b)||isMessageAST(b)){let k=!1;const O=compileMessageFormat(e,_,t,b,_,()=>{k=!0});return k?NOOP_MESSAGE_FUNCTION:O}else return isMessageFunction(b)?b:NOOP_MESSAGE_FUNCTION}};return e.processor&&(w.processor=e.processor),i.list&&(w.list=i.list),i.named&&(w.named=i.named),isNumber(i.plural)&&(w.pluralIndex=i.plural),w}initFeatureFlags$1();/*!
* vue-i18n v11.1.11
* (c) 2025 kazuya kawaguchi
* Released under the MIT License.
*/const VERSION="11.1.11";function initFeatureFlags(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(getGlobalThis().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(getGlobalThis().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(getGlobalThis().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(getGlobalThis().__INTLIFY_PROD_DEVTOOLS__=!1)}const I18nErrorCodes={UNEXPECTED_RETURN_TYPE:CORE_ERROR_CODES_EXTEND_POINT,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32};function createI18nError(e,...t){return createCompileError(e,null,void 0)}const TranslateVNodeSymbol=makeSymbol("__translateVNode"),DatetimePartsSymbol=makeSymbol("__datetimeParts"),NumberPartsSymbol=makeSymbol("__numberParts"),SetPluralRulesSymbol=makeSymbol("__setPluralRules"),InejctWithOptionSymbol=makeSymbol("__injectWithOption"),DisposeSymbol=makeSymbol("__dispose");function handleFlatJson(e){if(!isObject$1(e)||isMessageAST(e))return e;for(const t in e)if(hasOwn(e,t))if(!t.includes("."))isObject$1(e[t])&&handleFlatJson(e[t]);else{const r=t.split("."),i=r.length-1;let a=e,c=!1;for(let u=0;u<i;u++){if(r[u]==="__proto__")throw new Error(`unsafe key: ${r[u]}`);if(r[u]in a||(a[r[u]]=create()),!isObject$1(a[r[u]])){c=!0;break}a=a[r[u]]}if(c||(isMessageAST(a)?AST_NODE_PROPS_KEYS.includes(r[i])||delete e[t]:(a[r[i]]=e[t],delete e[t])),!isMessageAST(a)){const u=a[r[i]];isObject$1(u)&&handleFlatJson(u)}}return e}function getLocaleMessages(e,t){const{messages:r,__i18n:i,messageResolver:a,flatJson:c}=t,u=isPlainObject(r)?r:isArray(i)?create():{[e]:create()};if(isArray(i)&&i.forEach(d=>{if("locale"in d&&"resource"in d){const{locale:f,resource:m}=d;f?(u[f]=u[f]||create(),deepCopy(m,u[f])):deepCopy(m,u)}else isString(d)&&deepCopy(JSON.parse(d),u)}),a==null&&c)for(const d in u)hasOwn(u,d)&&handleFlatJson(u[d]);return u}function getComponentOptions(e){return e.type}function adjustI18nResources(e,t,r){let i=isObject$1(t.messages)?t.messages:create();"__i18nGlobal"in r&&(i=getLocaleMessages(e.locale.value,{messages:i,__i18n:r.__i18nGlobal}));const a=Object.keys(i);a.length&&a.forEach(c=>{e.mergeLocaleMessage(c,i[c])});{if(isObject$1(t.datetimeFormats)){const c=Object.keys(t.datetimeFormats);c.length&&c.forEach(u=>{e.mergeDateTimeFormat(u,t.datetimeFormats[u])})}if(isObject$1(t.numberFormats)){const c=Object.keys(t.numberFormats);c.length&&c.forEach(u=>{e.mergeNumberFormat(u,t.numberFormats[u])})}}}function createTextNode(e){return createVNode(Text$1,null,e,0)}const DEVTOOLS_META="__INTLIFY_META__",NOOP_RETURN_ARRAY=()=>[],NOOP_RETURN_FALSE=()=>!1;let composerID=0;function defineCoreMissingHandler(e){return(t,r,i,a)=>e(r,i,getCurrentInstance$1()||void 0,a)}const getMetaInfo=()=>{const e=getCurrentInstance$1();let t=null;return e&&(t=getComponentOptions(e)[DEVTOOLS_META])?{[DEVTOOLS_META]:t}:null};function createComposer(e={}){const{__root:t,__injectWithOption:r}=e,i=t===void 0,a=e.flatJson,c=inBrowser?ref:shallowRef;let u=isBoolean(e.inheritLocale)?e.inheritLocale:!0;const d=c(t&&u?t.locale.value:isString(e.locale)?e.locale:DEFAULT_LOCALE),f=c(t&&u?t.fallbackLocale.value:isString(e.fallbackLocale)||isArray(e.fallbackLocale)||isPlainObject(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:d.value),m=c(getLocaleMessages(d.value,e)),y=c(isPlainObject(e.datetimeFormats)?e.datetimeFormats:{[d.value]:{}}),v=c(isPlainObject(e.numberFormats)?e.numberFormats:{[d.value]:{}});let w=t?t.missingWarn:isBoolean(e.missingWarn)||isRegExp(e.missingWarn)?e.missingWarn:!0,_=t?t.fallbackWarn:isBoolean(e.fallbackWarn)||isRegExp(e.fallbackWarn)?e.fallbackWarn:!0,S=t?t.fallbackRoot:isBoolean(e.fallbackRoot)?e.fallbackRoot:!0,b=!!e.fallbackFormat,k=isFunction(e.missing)?e.missing:null,C=isFunction(e.missing)?defineCoreMissingHandler(e.missing):null,O=isFunction(e.postTranslation)?e.postTranslation:null,T=t?t.warnHtmlMessage:isBoolean(e.warnHtmlMessage)?e.warnHtmlMessage:!0,E=!!e.escapeParameter;const A=t?t.modifiers:isPlainObject(e.modifiers)?e.modifiers:{};let P=e.pluralRules||t&&t.pluralRules,M;M=(()=>{i&&setFallbackContext(null);const Q={version:VERSION,locale:d.value,fallbackLocale:f.value,messages:m.value,modifiers:A,pluralRules:P,missing:C===null?void 0:C,missingWarn:w,fallbackWarn:_,fallbackFormat:b,unresolving:!0,postTranslation:O===null?void 0:O,warnHtmlMessage:T,escapeParameter:E,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};Q.datetimeFormats=y.value,Q.numberFormats=v.value,Q.__datetimeFormatters=isPlainObject(M)?M.__datetimeFormatters:void 0,Q.__numberFormatters=isPlainObject(M)?M.__numberFormatters:void 0;const de=createCoreContext(Q);return i&&setFallbackContext(de),de})(),updateFallbackLocale(M,d.value,f.value);function F(){return[d.value,f.value,m.value,y.value,v.value]}const I=computed({get:()=>d.value,set:Q=>{M.locale=Q,d.value=Q}}),U=computed({get:()=>f.value,set:Q=>{M.fallbackLocale=Q,f.value=Q,updateFallbackLocale(M,d.value,Q)}}),$=computed(()=>m.value),z=computed(()=>y.value),q=computed(()=>v.value);function G(){return isFunction(O)?O:null}function ee(Q){O=Q,M.postTranslation=Q}function ae(){return k}function oe(Q){Q!==null&&(C=defineCoreMissingHandler(Q)),k=Q,M.missing=C}const Se=(Q,de,Le,$e,We,Ye)=>{F();let _t;try{__INTLIFY_PROD_DEVTOOLS__,i||(M.fallbackContext=t?getFallbackContext():void 0),_t=Q(M)}finally{__INTLIFY_PROD_DEVTOOLS__,i||(M.fallbackContext=void 0)}if(Le!=="translate exists"&&isNumber(_t)&&_t===NOT_REOSLVED||Le==="translate exists"&&!_t){const[St,Et]=de();return t&&S?$e(t):We(St)}else{if(Ye(_t))return _t;throw createI18nError(I18nErrorCodes.UNEXPECTED_RETURN_TYPE)}};function te(...Q){return Se(de=>Reflect.apply(translate,null,[de,...Q]),()=>parseTranslateArgs(...Q),"translate",de=>Reflect.apply(de.t,de,[...Q]),de=>de,de=>isString(de))}function se(...Q){const[de,Le,$e]=Q;if($e&&!isObject$1($e))throw createI18nError(I18nErrorCodes.INVALID_ARGUMENT);return te(de,Le,assign({resolvedMessage:!0},$e||{}))}function ne(...Q){return Se(de=>Reflect.apply(datetime,null,[de,...Q]),()=>parseDateTimeArgs(...Q),"datetime format",de=>Reflect.apply(de.d,de,[...Q]),()=>MISSING_RESOLVE_VALUE,de=>isString(de)||isArray(de))}function le(...Q){return Se(de=>Reflect.apply(number,null,[de,...Q]),()=>parseNumberArgs(...Q),"number format",de=>Reflect.apply(de.n,de,[...Q]),()=>MISSING_RESOLVE_VALUE,de=>isString(de)||isArray(de))}function Oe(Q){return Q.map(de=>isString(de)||isNumber(de)||isBoolean(de)?createTextNode(String(de)):de)}const ye={normalize:Oe,interpolate:Q=>Q,type:"vnode"};function re(...Q){return Se(de=>{let Le;const $e=de;try{$e.processor=ye,Le=Reflect.apply(translate,null,[$e,...Q])}finally{$e.processor=null}return Le},()=>parseTranslateArgs(...Q),"translate",de=>de[TranslateVNodeSymbol](...Q),de=>[createTextNode(de)],de=>isArray(de))}function ue(...Q){return Se(de=>Reflect.apply(number,null,[de,...Q]),()=>parseNumberArgs(...Q),"number format",de=>de[NumberPartsSymbol](...Q),NOOP_RETURN_ARRAY,de=>isString(de)||isArray(de))}function ie(...Q){return Se(de=>Reflect.apply(datetime,null,[de,...Q]),()=>parseDateTimeArgs(...Q),"datetime format",de=>de[DatetimePartsSymbol](...Q),NOOP_RETURN_ARRAY,de=>isString(de)||isArray(de))}function pe(Q){P=Q,M.pluralRules=P}function Te(Q,de){return Se(()=>{if(!Q)return!1;const Le=isString(de)?de:d.value,$e=H(Le),We=M.messageResolver($e,Q);return isMessageAST(We)||isMessageFunction(We)||isString(We)},()=>[Q],"translate exists",Le=>Reflect.apply(Le.te,Le,[Q,de]),NOOP_RETURN_FALSE,Le=>isBoolean(Le))}function Pe(Q){let de=null;const Le=fallbackWithLocaleChain(M,f.value,d.value);for(let $e=0;$e<Le.length;$e++){const We=m.value[Le[$e]]||{},Ye=M.messageResolver(We,Q);if(Ye!=null){de=Ye;break}}return de}function B(Q){const de=Pe(Q);return de??(t?t.tm(Q)||{}:{})}function H(Q){return m.value[Q]||{}}function he(Q,de){if(a){const Le={[Q]:de};for(const $e in Le)hasOwn(Le,$e)&&handleFlatJson(Le[$e]);de=Le[Q]}m.value[Q]=de,M.messages=m.value}function De(Q,de){m.value[Q]=m.value[Q]||{};const Le={[Q]:de};if(a)for(const $e in Le)hasOwn(Le,$e)&&handleFlatJson(Le[$e]);de=Le[Q],deepCopy(de,m.value[Q]),M.messages=m.value}function Ne(Q){return y.value[Q]||{}}function J(Q,de){y.value[Q]=de,M.datetimeFormats=y.value,clearDateTimeFormat(M,Q,de)}function j(Q,de){y.value[Q]=assign(y.value[Q]||{},de),M.datetimeFormats=y.value,clearDateTimeFormat(M,Q,de)}function ve(Q){return v.value[Q]||{}}function Ce(Q,de){v.value[Q]=de,M.numberFormats=v.value,clearNumberFormat(M,Q,de)}function Ie(Q,de){v.value[Q]=assign(v.value[Q]||{},de),M.numberFormats=v.value,clearNumberFormat(M,Q,de)}composerID++,t&&inBrowser&&(watch(t.locale,Q=>{u&&(d.value=Q,M.locale=Q,updateFallbackLocale(M,d.value,f.value))}),watch(t.fallbackLocale,Q=>{u&&(f.value=Q,M.fallbackLocale=Q,updateFallbackLocale(M,d.value,f.value))}));const Fe={id:composerID,locale:I,fallbackLocale:U,get inheritLocale(){return u},set inheritLocale(Q){u=Q,Q&&t&&(d.value=t.locale.value,f.value=t.fallbackLocale.value,updateFallbackLocale(M,d.value,f.value))},get availableLocales(){return Object.keys(m.value).sort()},messages:$,get modifiers(){return A},get pluralRules(){return P||{}},get isGlobal(){return i},get missingWarn(){return w},set missingWarn(Q){w=Q,M.missingWarn=w},get fallbackWarn(){return _},set fallbackWarn(Q){_=Q,M.fallbackWarn=_},get fallbackRoot(){return S},set fallbackRoot(Q){S=Q},get fallbackFormat(){return b},set fallbackFormat(Q){b=Q,M.fallbackFormat=b},get warnHtmlMessage(){return T},set warnHtmlMessage(Q){T=Q,M.warnHtmlMessage=Q},get escapeParameter(){return E},set escapeParameter(Q){E=Q,M.escapeParameter=Q},t:te,getLocaleMessage:H,setLocaleMessage:he,mergeLocaleMessage:De,getPostTranslationHandler:G,setPostTranslationHandler:ee,getMissingHandler:ae,setMissingHandler:oe,[SetPluralRulesSymbol]:pe};return Fe.datetimeFormats=z,Fe.numberFormats=q,Fe.rt=se,Fe.te=Te,Fe.tm=B,Fe.d=ne,Fe.n=le,Fe.getDateTimeFormat=Ne,Fe.setDateTimeFormat=J,Fe.mergeDateTimeFormat=j,Fe.getNumberFormat=ve,Fe.setNumberFormat=Ce,Fe.mergeNumberFormat=Ie,Fe[InejctWithOptionSymbol]=r,Fe[TranslateVNodeSymbol]=re,Fe[DatetimePartsSymbol]=ie,Fe[NumberPartsSymbol]=ue,Fe}function convertComposerOptions(e){const t=isString(e.locale)?e.locale:DEFAULT_LOCALE,r=isString(e.fallbackLocale)||isArray(e.fallbackLocale)||isPlainObject(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,i=isFunction(e.missing)?e.missing:void 0,a=isBoolean(e.silentTranslationWarn)||isRegExp(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,c=isBoolean(e.silentFallbackWarn)||isRegExp(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,u=isBoolean(e.fallbackRoot)?e.fallbackRoot:!0,d=!!e.formatFallbackMessages,f=isPlainObject(e.modifiers)?e.modifiers:{},m=e.pluralizationRules,y=isFunction(e.postTranslation)?e.postTranslation:void 0,v=isString(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,w=!!e.escapeParameterHtml,_=isBoolean(e.sync)?e.sync:!0;let S=e.messages;if(isPlainObject(e.sharedMessages)){const A=e.sharedMessages;S=Object.keys(A).reduce((M,D)=>{const F=M[D]||(M[D]={});return assign(F,A[D]),M},S||{})}const{__i18n:b,__root:k,__injectWithOption:C}=e,O=e.datetimeFormats,T=e.numberFormats,E=e.flatJson;return{locale:t,fallbackLocale:r,messages:S,flatJson:E,datetimeFormats:O,numberFormats:T,missing:i,missingWarn:a,fallbackWarn:c,fallbackRoot:u,fallbackFormat:d,modifiers:f,pluralRules:m,postTranslation:y,warnHtmlMessage:v,escapeParameter:w,messageResolver:e.messageResolver,inheritLocale:_,__i18n:b,__root:k,__injectWithOption:C}}function createVueI18n(e={}){const t=createComposer(convertComposerOptions(e)),{__extender:r}=e,i={id:t.id,get locale(){return t.locale.value},set locale(a){t.locale.value=a},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(a){t.fallbackLocale.value=a},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(a){t.setMissingHandler(a)},get silentTranslationWarn(){return isBoolean(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(a){t.missingWarn=isBoolean(a)?!a:a},get silentFallbackWarn(){return isBoolean(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(a){t.fallbackWarn=isBoolean(a)?!a:a},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(a){t.fallbackFormat=a},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(a){t.setPostTranslationHandler(a)},get sync(){return t.inheritLocale},set sync(a){t.inheritLocale=a},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(a){t.warnHtmlMessage=a!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(a){t.escapeParameter=a},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...a){return Reflect.apply(t.t,t,[...a])},rt(...a){return Reflect.apply(t.rt,t,[...a])},te(a,c){return t.te(a,c)},tm(a){return t.tm(a)},getLocaleMessage(a){return t.getLocaleMessage(a)},setLocaleMessage(a,c){t.setLocaleMessage(a,c)},mergeLocaleMessage(a,c){t.mergeLocaleMessage(a,c)},d(...a){return Reflect.apply(t.d,t,[...a])},getDateTimeFormat(a){return t.getDateTimeFormat(a)},setDateTimeFormat(a,c){t.setDateTimeFormat(a,c)},mergeDateTimeFormat(a,c){t.mergeDateTimeFormat(a,c)},n(...a){return Reflect.apply(t.n,t,[...a])},getNumberFormat(a){return t.getNumberFormat(a)},setNumberFormat(a,c){t.setNumberFormat(a,c)},mergeNumberFormat(a,c){t.mergeNumberFormat(a,c)}};return i.__extender=r,i}function defineMixin(e,t,r){return{beforeCreate(){const i=getCurrentInstance$1();if(!i)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);const a=this.$options;if(a.i18n){const c=a.i18n;if(a.__i18n&&(c.__i18n=a.__i18n),c.__root=t,this===this.$root)this.$i18n=mergeToGlobal(e,c);else{c.__injectWithOption=!0,c.__extender=r.__vueI18nExtend,this.$i18n=createVueI18n(c);const u=this.$i18n;u.__extender&&(u.__disposer=u.__extender(this.$i18n))}}else if(a.__i18n)if(this===this.$root)this.$i18n=mergeToGlobal(e,a);else{this.$i18n=createVueI18n({__i18n:a.__i18n,__injectWithOption:!0,__extender:r.__vueI18nExtend,__root:t});const c=this.$i18n;c.__extender&&(c.__disposer=c.__extender(this.$i18n))}else this.$i18n=e;a.__i18nGlobal&&adjustI18nResources(t,a,a),this.$t=(...c)=>this.$i18n.t(...c),this.$rt=(...c)=>this.$i18n.rt(...c),this.$te=(c,u)=>this.$i18n.te(c,u),this.$d=(...c)=>this.$i18n.d(...c),this.$n=(...c)=>this.$i18n.n(...c),this.$tm=c=>this.$i18n.tm(c),r.__setInstance(i,this.$i18n)},mounted(){},unmounted(){const i=getCurrentInstance$1();if(!i)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);const a=this.$i18n;delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,a.__disposer&&(a.__disposer(),delete a.__disposer,delete a.__extender),r.__deleteInstance(i),delete this.$i18n}}}function mergeToGlobal(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[SetPluralRulesSymbol](t.pluralizationRules||e.pluralizationRules);const r=getLocaleMessages(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(r).forEach(i=>e.mergeLocaleMessage(i,r[i])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(i=>e.mergeDateTimeFormat(i,t.datetimeFormats[i])),t.numberFormats&&Object.keys(t.numberFormats).forEach(i=>e.mergeNumberFormat(i,t.numberFormats[i])),e}const baseFormatProps={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function getInterpolateArg({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((i,a)=>[...i,...a.type===Fragment?a.children:[a]],[]):t.reduce((r,i)=>{const a=e[i];return a&&(r[i]=a()),r},create())}function getFragmentableTag(){return Fragment}const TranslationImpl=defineComponent$1({name:"i18n-t",props:assign({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>isNumber(e)||!isNaN(e)}},baseFormatProps),setup(e,t){const{slots:r,attrs:i}=t,a=e.i18n||useI18n$1({useScope:e.scope,__useComponent:!0});return()=>{const c=Object.keys(r).filter(v=>v[0]!=="_"),u=create();e.locale&&(u.locale=e.locale),e.plural!==void 0&&(u.plural=isString(e.plural)?+e.plural:e.plural);const d=getInterpolateArg(t,c),f=a[TranslateVNodeSymbol](e.keypath,d,u),m=assign(create(),i),y=isString(e.tag)||isObject$1(e.tag)?e.tag:getFragmentableTag();return h(y,m,f)}}}),Translation=TranslationImpl;function isVNode(e){return isArray(e)&&!isString(e[0])}function renderFormatter(e,t,r,i){const{slots:a,attrs:c}=t;return()=>{const u={part:!0};let d=create();e.locale&&(u.locale=e.locale),isString(e.format)?u.key=e.format:isObject$1(e.format)&&(isString(e.format.key)&&(u.key=e.format.key),d=Object.keys(e.format).reduce((w,_)=>r.includes(_)?assign(create(),w,{[_]:e.format[_]}):w,create()));const f=i(e.value,u,d);let m=[u.key];isArray(f)?m=f.map((w,_)=>{const S=a[w.type],b=S?S({[w.type]:w.value,index:_,parts:f}):[w.value];return isVNode(b)&&(b[0].key=`${w.type}-${_}`),b}):isString(f)&&(m=[f]);const y=assign(create(),c),v=isString(e.tag)||isObject$1(e.tag)?e.tag:getFragmentableTag();return h(v,y,m)}}const NumberFormatImpl=defineComponent$1({name:"i18n-n",props:assign({value:{type:Number,required:!0},format:{type:[String,Object]}},baseFormatProps),setup(e,t){const r=e.i18n||useI18n$1({useScope:e.scope,__useComponent:!0});return renderFormatter(e,t,NUMBER_FORMAT_OPTIONS_KEYS,(...i)=>r[NumberPartsSymbol](...i))}}),NumberFormat=NumberFormatImpl;function getComposer$1(e,t){const r=e;if(e.mode==="composition")return r.__getInstance(t)||e.global;{const i=r.__getInstance(t);return i!=null?i.__composer:e.global.__composer}}function vTDirective(e){const t=u=>{const{instance:d,value:f}=u;if(!d||!d.$)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);const m=getComposer$1(e,d.$),y=parseValue(f);return[Reflect.apply(m.t,m,[...makeParams(y)]),m]};return{created:(u,d)=>{const[f,m]=t(d);inBrowser&&e.global===m&&(u.__i18nWatcher=watch(m.locale,()=>{d.instance&&d.instance.$forceUpdate()})),u.__composer=m,u.textContent=f},unmounted:u=>{inBrowser&&u.__i18nWatcher&&(u.__i18nWatcher(),u.__i18nWatcher=void 0,delete u.__i18nWatcher),u.__composer&&(u.__composer=void 0,delete u.__composer)},beforeUpdate:(u,{value:d})=>{if(u.__composer){const f=u.__composer,m=parseValue(d);u.textContent=Reflect.apply(f.t,f,[...makeParams(m)])}},getSSRProps:u=>{const[d]=t(u);return{textContent:d}}}}function parseValue(e){if(isString(e))return{path:e};if(isPlainObject(e)){if(!("path"in e))throw createI18nError(I18nErrorCodes.REQUIRED_VALUE,"path");return e}else throw createI18nError(I18nErrorCodes.INVALID_VALUE)}function makeParams(e){const{path:t,locale:r,args:i,choice:a,plural:c}=e,u={},d=i||{};return isString(r)&&(u.locale=r),isNumber(a)&&(u.plural=a),isNumber(c)&&(u.plural=c),[t,d,u]}function apply(e,t,...r){const i=isPlainObject(r[0])?r[0]:{};(isBoolean(i.globalInstall)?i.globalInstall:!0)&&([Translation.name,"I18nT"].forEach(c=>e.component(c,Translation)),[NumberFormat.name,"I18nN"].forEach(c=>e.component(c,NumberFormat)),[DatetimeFormat.name,"I18nD"].forEach(c=>e.component(c,DatetimeFormat))),e.directive("t",vTDirective(t))}const I18nInjectionKey=makeSymbol("global-vue-i18n");function createI18n(e={}){const t=__VUE_I18N_LEGACY_API__&&isBoolean(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=isBoolean(e.globalInjection)?e.globalInjection:!0,i=new Map,[a,c]=createGlobal(e,t),u=makeSymbol("");function d(v){return i.get(v)||null}function f(v,w){i.set(v,w)}function m(v){i.delete(v)}const y={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(v,...w){if(v.__VUE_I18N_SYMBOL__=u,v.provide(v.__VUE_I18N_SYMBOL__,y),isPlainObject(w[0])){const b=w[0];y.__composerExtend=b.__composerExtend,y.__vueI18nExtend=b.__vueI18nExtend}let _=null;!t&&r&&(_=injectGlobalFields(v,y.global)),__VUE_I18N_FULL_INSTALL__&&apply(v,y,...w),__VUE_I18N_LEGACY_API__&&t&&v.mixin(defineMixin(c,c.__composer,y));const S=v.unmount;v.unmount=()=>{_&&_(),y.dispose(),S()}},get global(){return c},dispose(){a.stop()},__instances:i,__getInstance:d,__setInstance:f,__deleteInstance:m};return y}function useI18n$1(e={}){const t=getCurrentInstance$1();if(t==null)throw createI18nError(I18nErrorCodes.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw createI18nError(I18nErrorCodes.NOT_INSTALLED);const r=getI18nInstance(t),i=getGlobalComposer(r),a=getComponentOptions(t),c=getScope(e,a);if(c==="global")return adjustI18nResources(i,e,a),i;if(c==="parent"){let f=getComposer(r,t,e.__useComponent);return f==null&&(f=i),f}const u=r;let d=u.__getInstance(t);if(d==null){const f=assign({},e);"__i18n"in a&&(f.__i18n=a.__i18n),i&&(f.__root=i),d=createComposer(f),u.__composerExtend&&(d[DisposeSymbol]=u.__composerExtend(d)),setupLifeCycle(u,t,d),u.__setInstance(t,d)}return d}function createGlobal(e,t){const r=effectScope(),i=__VUE_I18N_LEGACY_API__&&t?r.run(()=>createVueI18n(e)):r.run(()=>createComposer(e));if(i==null)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);return[r,i]}function getI18nInstance(e){const t=inject$1(e.isCE?I18nInjectionKey:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw createI18nError(e.isCE?I18nErrorCodes.NOT_INSTALLED_WITH_PROVIDE:I18nErrorCodes.UNEXPECTED_ERROR);return t}function getScope(e,t){return isEmptyObject(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function getGlobalComposer(e){return e.mode==="composition"?e.global:e.global.__composer}function getComposer(e,t,r=!1){let i=null;const a=t.root;let c=getParentComponentInstance(t,r);for(;c!=null;){const u=e;if(e.mode==="composition")i=u.__getInstance(c);else if(__VUE_I18N_LEGACY_API__){const d=u.__getInstance(c);d!=null&&(i=d.__composer,r&&i&&!i[InejctWithOptionSymbol]&&(i=null))}if(i!=null||a===c)break;c=c.parent}return i}function getParentComponentInstance(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function setupLifeCycle(e,t,r){onMounted(()=>{},t),onUnmounted(()=>{const i=r;e.__deleteInstance(t);const a=i[DisposeSymbol];a&&(a(),delete i[DisposeSymbol])},t)}const globalExportProps=["locale","fallbackLocale","availableLocales"],globalExportMethods=["t","rt","d","n","tm","te"];function injectGlobalFields(e,t){const r=Object.create(null);return globalExportProps.forEach(a=>{const c=Object.getOwnPropertyDescriptor(t,a);if(!c)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);const u=isRef(c.value)?{get(){return c.value.value},set(d){c.value.value=d}}:{get(){return c.get&&c.get()}};Object.defineProperty(r,a,u)}),e.config.globalProperties.$i18n=r,globalExportMethods.forEach(a=>{const c=Object.getOwnPropertyDescriptor(t,a);if(!c||!c.value)throw createI18nError(I18nErrorCodes.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${a}`,c)}),()=>{delete e.config.globalProperties.$i18n,globalExportMethods.forEach(a=>{delete e.config.globalProperties[`$${a}`]})}}const DatetimeFormatImpl=defineComponent$1({name:"i18n-d",props:assign({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},baseFormatProps),setup(e,t){const r=e.i18n||useI18n$1({useScope:e.scope,__useComponent:!0});return renderFormatter(e,t,DATETIME_FORMAT_OPTIONS_KEYS,(...i)=>r[DatetimePartsSymbol](...i))}}),DatetimeFormat=DatetimeFormatImpl;initFeatureFlags();registerMessageCompiler(compile);registerMessageResolver(resolveValue);registerLocaleFallbacker(fallbackWithLocaleChain);if(__INTLIFY_PROD_DEVTOOLS__){const e=getGlobalThis();e.__INTLIFY__=!0,setDevToolsHook(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}var MessageType=(e=>(e.ERROR="error",e.WARNING="warning",e.INFO="info",e.SUCCESS="success",e))(MessageType||{}),ErrorMessageType=(e=>(e.FETCH_ERROR="FETCH_ERROR",e.UPDATE_ERROR="UPDATE_ERROR",e.DELETE_ERROR="DELETE_ERROR",e.CREATE_ERROR="CREATE_ERROR",e))(ErrorMessageType||{}),PreparedMessage=(e=>(e.UPDATE_SUCCESS="UPDATE_SUCCESS",e.CREATE_SUCCESS="CREATE_SUCCESS",e.DELETE_SUCCESS="DELETE_SUCCESS",e.MERGE_SUCCESS="MERGE_SUCCESS",e.MOVE_SUCCESS="MOVE_SUCCESS",e.NOT_FOUND="NOT_FOUND",e.RATE_LIMIT="RATE_LIMIT",e))(PreparedMessage||{});let Message$1=class{type={};createdAt=-1;showTimeout=0;msg={};data={};code="";constructor(t,r,i,a){typeof i>"u"&&(i=0),typeof a>"u"&&(a={}),typeof r=="string"&&(r={title:"",text:r}),this.type=t,this.msg=r,this.showTimeout=i,this.data=a,this.createdAt=DateTime.now().toSeconds()}toString(){return{type:this.type,createdAt:this.createdAt,msg:this.msg,data:this.data}}};const useMessageStore=defineStore("message_store",()=>{let e=useStorage("LOCAL_MESSAGES",[]),t=ref([]);const{t:r}=useI18n$1();function i(f,m,y,v){typeof m=="string"&&(m={title:"",text:m});let w=new Message$1(f,m,y,v);e.value.push(w),w.showTimeout>0&&t.value.push(w)}function a(f,m){if(m instanceof ResponseError){let y="";y+=`URL: ${m.response.url}
Errors:
`;try{m.response.json().then(v=>{let w=u(v);for(let _ in w)y+=` - ${_}: ${w[_]}
`;i("error",{title:`${r(f)} - ${m.response.statusText} (${m.response.status})`,text:y},5e3+Object.keys(v).length*1500,v)}).catch(()=>{i("error",{title:r(f),text:""},7e3,m)})}catch{i("error",{title:r(f),text:""},7e3,m)}}else i("error",{title:r(f),text:""},7e3,m)}function c(f,m){f=="UPDATE_SUCCESS"&&i("success",{title:r("Updated"),text:""},1500,m),f=="DELETE_SUCCESS"&&i("success",{title:r("Deleted"),text:""},1500,m),f=="CREATE_SUCCESS"&&i("success",{title:r("Created"),text:""},1500,m),f=="MERGE_SUCCESS"&&i("success",{title:r("Merge"),text:""},1500,m),f=="MOVE_SUCCESS"&&i("success",{title:r("Move"),text:""},1500,m),f=="NOT_FOUND"&&i("warning",{title:r("NotFound"),text:r("NotFoundHelp")},6e3,m),f=="RATE_LIMIT"&&m.response.json().then(y=>{i("warning",{title:r(""),text:r("RateLimitHelp")+`
`+y.detail},6e3,m)}).catch(()=>{i("warning",{title:r(""),text:r("RateLimitHelp")},6e3,m)})}function u(f,m=""){return Object.keys(f).reduce((y,v)=>(typeof f[v]=="object"?Object.assign(y,u(f[v],(m.length?m+".":"")+v)):y[m]=f[v],y),{})}function d(){e.value=[]}return{snackbarQueue:t,messages:e,addMessage:i,addError:a,addPreparedMessage:c,deleteAllMessages:d}}),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(i,a){let{slots:c}=a;const u={onBeforeEnter(d){i.origin&&(d.style.transformOrigin=i.origin)},onLeave(d){if(i.leaveAbsolute){const{offsetTop:f,offsetLeft:m,offsetWidth:y,offsetHeight:v}=d;d._transitionInitialStyles={position:d.style.position,top:d.style.top,left:d.style.left,width:d.style.width,height:d.style.height},d.style.position="absolute",d.style.top=`${f}px`,d.style.left=`${m}px`,d.style.width=`${y}px`,d.style.height=`${v}px`}i.hideOnLeave&&d.style.setProperty("display","none","important")},onAfterLeave(d){if(i.leaveAbsolute&&d?._transitionInitialStyles){const{position:f,top:m,left:y,width:v,height:w}=d._transitionInitialStyles;delete d._transitionInitialStyles,d.style.position=f||"",d.style.top=m||"",d.style.left=y||"",d.style.width=v||"",d.style.height=w||""}}};return()=>{const d=i.group?TransitionGroup:Transition;return h(d,{name:i.disabled?"":e,css:!i.disabled,...i.group?void 0:{mode:i.mode},...i.disabled?{}:u},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,group:Boolean},setup(i,a){let{slots:c}=a;const u=i.group?TransitionGroup:Transition;return()=>h(u,{name:i.disabled?"":e,css:!i.disabled,...i.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",i=camelize(`offset-${r}`);return{onBeforeEnter(u){u._parent=u.parentNode,u._initialStyle={transition:u.style.transition,overflow:u.style.overflow,[r]:u.style[r]}},onEnter(u){const d=u._initialStyle;if(!d)return;u.style.setProperty("transition","none","important"),u.style.overflow="hidden";const f=`${u[i]}px`;u.style[r]="0",u.offsetHeight,u.style.transition=d.transition,e&&u._parent&&u._parent.classList.add(e),requestAnimationFrame(()=>{u.style[r]=f})},onAfterEnter:c,onEnterCancelled:c,onLeave(u){u._initialStyle={transition:"",overflow:u.style.overflow,[r]:u.style[r]},u.style.overflow="hidden",u.style[r]=`${u[i]}px`,u.offsetHeight,requestAnimationFrame(()=>u.style[r]="0")},onAfterLeave:a,onLeaveCancelled:a};function a(u){e&&u._parent&&u._parent.classList.remove(e),c(u)}function c(u){if(!u._initialStyle)return;const d=u._initialStyle[r];u.style.overflow=u._initialStyle.overflow,d!=null&&(u.style[r]=d),delete u._initialStyle}}const makeVDialogTransitionProps=propsFactory({target:[Object,Array]},"v-dialog-transition"),saved=new WeakMap,VDialogTransition=genericComponent()({name:"VDialogTransition",props:makeVDialogTransitionProps(),setup(e,t){let{slots:r}=t;const i={onBeforeEnter(a){a.style.pointerEvents="none",a.style.visibility="hidden"},async onEnter(a,c){await new Promise(_=>requestAnimationFrame(_)),await new Promise(_=>requestAnimationFrame(_)),a.style.visibility="";const u=getDimensions(e.target,a),{x:d,y:f,sx:m,sy:y,speed:v}=u;saved.set(a,u);const w=animate(a,[{transform:`translate(${d}px, ${f}px) scale(${m}, ${y})`,opacity:0},{}],{duration:225*v,easing:deceleratedEasing});getChildren(a)?.forEach(_=>{animate(_,[{opacity:0},{opacity:0,offset:.33},{}],{duration:225*2*v,easing:standardEasing})}),w.finished.then(()=>c())},onAfterEnter(a){a.style.removeProperty("pointer-events")},onBeforeLeave(a){a.style.pointerEvents="none"},async onLeave(a,c){await new Promise(_=>requestAnimationFrame(_));let u;!saved.has(a)||Array.isArray(e.target)||e.target.offsetParent||e.target.getClientRects().length?u=getDimensions(e.target,a):u=saved.get(a);const{x:d,y:f,sx:m,sy:y,speed:v}=u;animate(a,[{},{transform:`translate(${d}px, ${f}px) scale(${m}, ${y})`,opacity:0}],{duration:125*v,easing:acceleratedEasing}).finished.then(()=>c()),getChildren(a)?.forEach(_=>{animate(_,[{},{opacity:0,offset:.2},{opacity:0}],{duration:125*2*v,easing:standardEasing})})},onAfterLeave(a){a.style.removeProperty("pointer-events")}};return()=>e.target?createVNode(Transition,mergeProps({name:"dialog-transition"},i,{css:!1}),r):createVNode(Transition,{name:"dialog-transition"},r)}});function getChildren(e){const t=e.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list")?.children;return t&&[...t]}function getDimensions(e,t){const r=getTargetBox(e),i=nullifyTransforms(t),[a,c]=getComputedStyle(t).transformOrigin.split(" ").map(C=>parseFloat(C)),[u,d]=getComputedStyle(t).getPropertyValue("--v-overlay-anchor-origin").split(" ");let f=r.left+r.width/2;u==="left"||d==="left"?f-=r.width/2:(u==="right"||d==="right")&&(f+=r.width/2);let m=r.top+r.height/2;u==="top"||d==="top"?m-=r.height/2:(u==="bottom"||d==="bottom")&&(m+=r.height/2);const y=r.width/i.width,v=r.height/i.height,w=Math.max(1,y,v),_=y/w||0,S=v/w||0,b=i.width*i.height/(window.innerWidth*window.innerHeight),k=b>.12?Math.min(1.5,(b-.12)*10+1):1;return{x:f-(a+i.left),y:m-(c+i.top),sx:_,sy:S,speed:k}}createCssTransition("fab-transition","center center","out-in");createCssTransition("dialog-bottom-transition");createCssTransition("dialog-top-transition");const VFadeTransition=createCssTransition("fade-transition"),VScaleTransition=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));function calculateUpdatedTarget(e){let{selectedElement:t,containerElement:r,isRtl:i,isHorizontal:a}=e;const c=getOffsetSize(a,r),u=getScrollPosition(a,i,r),d=getOffsetSize(a,t),f=getOffsetPosition(a,t),m=d*.4;return u>f?f-m:u+c<f+d?f-c+d+m:u}function calculateCenteredTarget(e){let{selectedElement:t,containerElement:r,isHorizontal:i}=e;const a=getOffsetSize(i,r),c=getOffsetPosition(i,t),u=getOffsetSize(i,t);return c-a/2+u/2}function getScrollSize(e,t){return t?.[e?"scrollWidth":"scrollHeight"]||0}function getClientSize(e,t){return t?.[e?"clientWidth":"clientHeight"]||0}function getScrollPosition(e,t,r){if(!r)return 0;const{scrollLeft:i,offsetWidth:a,scrollWidth:c}=r;return e?t?c-a+i:i:r.scrollTop}function getOffsetSize(e,t){return t?.[e?"offsetWidth":"offsetHeight"]||0}function getOffsetPosition(e,t){return t?.[e?"offsetLeft":"offsetTop"]||0}const VSlideGroupSymbol=Symbol.for("vuetify:v-slide-group"),makeVSlideGroupProps=propsFactory({centerActive:Boolean,contentClass:null,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({mobile:null}),...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:i}=useRtl(),{displayClasses:a,mobile:c}=useDisplay(e),u=useGroup(e,e.symbol),d=shallowRef(!1),f=shallowRef(0),m=shallowRef(0),y=shallowRef(0),v=computed(()=>e.direction==="horizontal"),{resizeRef:w,contentRect:_}=useResizeObserver(),{resizeRef:S,contentRect:b}=useResizeObserver(),k=useGoTo(),C=computed(()=>({container:w.el,duration:200,easing:"easeOutQuart"})),O=computed(()=>u.selected.value.length?u.items.value.findIndex(ne=>ne.id===u.selected.value[0]):-1),T=computed(()=>u.selected.value.length?u.items.value.findIndex(ne=>ne.id===u.selected.value[u.selected.value.length-1]):-1);if(IN_BROWSER){let ne=-1;watch(()=>[u.selected.value,_.value,b.value,v.value],()=>{cancelAnimationFrame(ne),ne=requestAnimationFrame(()=>{if(_.value&&b.value){const le=v.value?"width":"height";m.value=_.value[le],y.value=b.value[le],d.value=m.value+1<y.value}if(O.value>=0&&S.el){const le=S.el.children[T.value];A(le,e.centerActive)}})})}const E=shallowRef(!1);function A(ne,le){let Oe=0;le?Oe=calculateCenteredTarget({containerElement:w.el,isHorizontal:v.value,selectedElement:ne}):Oe=calculateUpdatedTarget({containerElement:w.el,isHorizontal:v.value,isRtl:i.value,selectedElement:ne}),P(Oe)}function P(ne){if(!IN_BROWSER||!w.el)return;const le=getOffsetSize(v.value,w.el),Oe=getScrollPosition(v.value,i.value,w.el);if(!(getScrollSize(v.value,w.el)<=le||Math.abs(ne-Oe)<16)){if(v.value&&i.value&&w.el){const{scrollWidth:ye,offsetWidth:re}=w.el;ne=ye-re-ne}v.value?k.horizontal(ne,C.value):k(ne,C.value)}}function M(ne){const{scrollTop:le,scrollLeft:Oe}=ne.target;f.value=v.value?Oe:le}function D(ne){if(E.value=!0,!(!d.value||!S.el)){for(const le of ne.composedPath())for(const Oe of S.el.children)if(Oe===le){A(Oe);return}}}function F(ne){E.value=!1}let I=!1;function U(ne){!I&&!E.value&&!(ne.relatedTarget&&S.el?.contains(ne.relatedTarget))&&G(),I=!1}function $(){I=!0}function z(ne){if(!S.el)return;function le(Oe){ne.preventDefault(),G(Oe)}v.value?ne.key==="ArrowRight"?le(i.value?"prev":"next"):ne.key==="ArrowLeft"&&le(i.value?"next":"prev"):ne.key==="ArrowDown"?le("next"):ne.key==="ArrowUp"&&le("prev"),ne.key==="Home"?le("first"):ne.key==="End"&&le("last")}function q(ne,le){if(!ne)return;let Oe=ne;do Oe=Oe?.[le==="next"?"nextElementSibling":"previousElementSibling"];while(Oe?.hasAttribute("disabled"));return Oe}function G(ne){if(!S.el)return;let le;if(!ne)le=focusableChildren(S.el)[0];else if(ne==="next"){if(le=q(S.el.querySelector(":focus"),ne),!le)return G("first")}else if(ne==="prev"){if(le=q(S.el.querySelector(":focus"),ne),!le)return G("last")}else ne==="first"?(le=S.el.firstElementChild,le?.hasAttribute("disabled")&&(le=q(le,"next"))):ne==="last"&&(le=S.el.lastElementChild,le?.hasAttribute("disabled")&&(le=q(le,"prev")));le&&le.focus({preventScroll:!0})}function ee(ne){const le=v.value&&i.value?-1:1,Oe=(ne==="prev"?-le:le)*m.value;let ke=f.value+Oe;if(v.value&&i.value&&w.el){const{scrollWidth:ye,offsetWidth:re}=w.el;ke+=ye-re}P(ke)}const ae=computed(()=>({next:u.next,prev:u.prev,select:u.select,isSelected:u.isSelected})),oe=computed(()=>d.value||Math.abs(f.value)>0),Se=computed(()=>{switch(e.showArrows){case"always":return!0;case"desktop":return!c.value;case!0:return oe.value;case"mobile":return c.value||oe.value;default:return!c.value&&oe.value}}),te=computed(()=>Math.abs(f.value)>1),se=computed(()=>{if(!w.value||!oe.value)return!1;const ne=getScrollSize(v.value,w.el),le=getClientSize(v.value,w.el);return ne-le-Math.abs(f.value)>1});return useRender(()=>createVNode(e.tag,{class:normalizeClass(["v-slide-group",{"v-slide-group--vertical":!v.value,"v-slide-group--has-affixes":Se.value,"v-slide-group--is-overflowing":d.value},a.value,e.class]),style:normalizeStyle(e.style),tabindex:E.value||u.selected.value.length?-1:0,onFocus:U},{default:()=>[Se.value&&createBaseVNode("div",{key:"prev",class:normalizeClass(["v-slide-group__prev",{"v-slide-group__prev--disabled":!te.value}]),onMousedown:$,onClick:()=>te.value&&ee("prev")},[r.prev?.(ae.value)??createVNode(VFadeTransition,null,{default:()=>[createVNode(VIcon,{icon:i.value?e.nextIcon:e.prevIcon},null)]})]),createBaseVNode("div",{key:"container",ref:w,class:normalizeClass(["v-slide-group__container",e.contentClass]),onScroll:M},[createBaseVNode("div",{ref:S,class:"v-slide-group__content",onFocusin:D,onFocusout:F,onKeydown:z},[r.default?.(ae.value)])]),Se.value&&createBaseVNode("div",{key:"next",class:normalizeClass(["v-slide-group__next",{"v-slide-group__next--disabled":!se.value}]),onMousedown:$,onClick:()=>se.value&&ee("next")},[r.next?.(ae.value)??createVNode(VFadeTransition,null,{default:()=>[createVNode(VIcon,{icon:i.value?e.prevIcon:e.nextIcon},null)]})])]})),{selected:u.selected,scrollTo:ee,scrollOffset:f,focus:G,hasPrev:te,hasNext:se}}}),VChipGroupSymbol=Symbol.for("vuetify:v-chip-group"),makeVChipGroupProps=propsFactory({baseColor:String,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:i}=provideTheme(e),{isSelected:a,select:c,next:u,prev:d,selected:f}=useGroup(e,VChipGroupSymbol);return provideDefaults({VChip:{baseColor:toRef$2(()=>e.baseColor),color:toRef$2(()=>e.color),disabled:toRef$2(()=>e.disabled),filter:toRef$2(()=>e.filter),variant:toRef$2(()=>e.variant)}}),useRender(()=>{const m=VSlideGroup.filterProps(e);return createVNode(VSlideGroup,mergeProps(m,{class:["v-chip-group",{"v-chip-group--column":e.column},i.value,e.class],style:e.style}),{default:()=>[r.default?.({isSelected:a,select:c,next:u,prev:d,selected:f.value})]})}),{}}}),makeVChipProps=propsFactory({activeClass:String,appendAvatar:String,appendIcon:IconValue,baseColor:String,closable:Boolean,closeIcon:{type:IconValue,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:IconValue,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:IconValue,ripple:{type:[Boolean,Object],default:!0},text:{type:[String,Number,Boolean],default:void 0},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:{vRipple: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:i,slots:a}=t;const{t:c}=useLocale(),{borderClasses:u}=useBorder(e),{densityClasses:d}=useDensity(e),{elevationClasses:f}=useElevation(e),{roundedClasses:m}=useRounded(e),{sizeClasses:y}=useSize(e),{themeClasses:v}=provideTheme(e),w=useProxiedModel(e,"modelValue"),_=useGroupItem(e,VChipGroupSymbol,!1),S=useLink(e,r),b=toRef$2(()=>e.link!==!1&&S.isLink.value),k=computed(()=>!e.disabled&&e.link!==!1&&(!!_||e.link||S.isClickable.value)),C=toRef$2(()=>({"aria-label":c(e.closeLabel),disabled:e.disabled,onClick(M){M.preventDefault(),M.stopPropagation(),w.value=!1,i("click:close",M)}})),{colorClasses:O,colorStyles:T,variantClasses:E}=useVariant(()=>({color:!_||_.isSelected.value?e.color??e.baseColor:e.baseColor,variant:e.variant}));function A(M){i("click",M),k.value&&(S.navigate?.(M),_?.toggle())}function P(M){(M.key==="Enter"||M.key===" ")&&(M.preventDefault(),A(M))}return()=>{const M=S.isLink.value?"a":e.tag,D=!!(e.appendIcon||e.appendAvatar),F=!!(D||a.append),I=!!(a.close||e.closable),U=!!(a.filter||e.filter)&&_,$=!!(e.prependIcon||e.prependAvatar),z=!!($||a.prepend);return w.value&&withDirectives(createVNode(M,mergeProps({class:["v-chip",{"v-chip--disabled":e.disabled,"v-chip--label":e.label,"v-chip--link":k.value,"v-chip--filter":U,"v-chip--pill":e.pill,[`${e.activeClass}`]:e.activeClass&&S.isActive?.value},v.value,u.value,O.value,d.value,f.value,m.value,y.value,E.value,_?.selectedClass.value,e.class],style:[T.value,e.style],disabled:e.disabled||void 0,draggable:e.draggable,tabindex:k.value?0:void 0,onClick:A,onKeydown:k.value&&!b.value&&P},S.linkProps),{default:()=>[genOverlays(k.value,"v-chip"),U&&createVNode(VExpandXTransition,{key:"filter"},{default:()=>[withDirectives(createBaseVNode("div",{class:"v-chip__filter"},[a.filter?createVNode(VDefaultsProvider,{key:"filter-defaults",disabled:!e.filterIcon,defaults:{VIcon:{icon:e.filterIcon}}},a.filter):createVNode(VIcon,{key:"filter-icon",icon:e.filterIcon},null)]),[[vShow,_.isSelected.value]])]}),z&&createBaseVNode("div",{key:"prepend",class:"v-chip__prepend"},[a.prepend?createVNode(VDefaultsProvider,{key:"prepend-defaults",disabled:!$,defaults:{VAvatar:{image:e.prependAvatar,start:!0},VIcon:{icon:e.prependIcon,start:!0}}},a.prepend):createBaseVNode(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)])]),createBaseVNode("div",{class:"v-chip__content","data-no-activator":""},[a.default?.({isSelected:_?.isSelected.value,selectedClass:_?.selectedClass.value,select:_?.select,toggle:_?.toggle,value:_?.value.value,disabled:e.disabled})??toDisplayString$1(e.text)]),F&&createBaseVNode("div",{key:"append",class:"v-chip__append"},[a.append?createVNode(VDefaultsProvider,{key:"append-defaults",disabled:!D,defaults:{VAvatar:{end:!0,image:e.appendAvatar},VIcon:{end:!0,icon:e.appendIcon}}},a.append):createBaseVNode(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)])]),I&&createBaseVNode("button",mergeProps({key:"close",class:"v-chip__close",type:"button","data-testid":"close-chip"},C.value),[a.close?createVNode(VDefaultsProvider,{key:"close-defaults",defaults:{VIcon:{icon:e.closeIcon,size:"x-small"}}},a.close):createVNode(VIcon,{key:"close-icon",icon:e.closeIcon,size:"x-small"},null)])]}),[[Ripple,k.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:i}=e,a=i==="left"?0:i==="center"?t.width/2:i==="right"?t.width:i,c=r==="top"?0:r==="bottom"?t.height:r;return elementToViewport({x:a,y:c},t)}else if(e.side==="left"||e.side==="right"){const{side:r,align:i}=e,a=r==="left"?0:r==="right"?t.width:r,c=i==="top"?0:i==="center"?t.height/2:i==="bottom"?t.height:i;return elementToViewport({x:a,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({}),i=ref();IN_BROWSER&&useToggleScope(()=>!!(t.isActive.value&&e.locationStrategy),d=>{watch(()=>e.locationStrategy,d),onScopeDispose(()=>{window.removeEventListener("resize",a),visualViewport?.removeEventListener("resize",c),visualViewport?.removeEventListener("scroll",u),i.value=void 0}),window.addEventListener("resize",a,{passive:!0}),visualViewport?.addEventListener("resize",c,{passive:!0}),visualViewport?.addEventListener("scroll",u,{passive:!0}),typeof e.locationStrategy=="function"?i.value=e.locationStrategy(t,e,r)?.updateLocation:i.value=locationStrategies[e.locationStrategy](t,e,r)?.updateLocation});function a(d){i.value?.(d)}function c(d){i.value?.(d)}function u(d){i.value?.(d)}return{contentStyles:r,updateLocation:i}}function staticLocationStrategy(){}function getIntrinsicSize(e,t){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:a,preferredOrigin:c}=destructComputed(()=>{const C=parseAnchor(t.location,e.isRtl.value),O=t.origin==="overlap"?C:t.origin==="auto"?flipSide(C):parseAnchor(t.origin,e.isRtl.value);return C.side===O.side&&C.align===flipAlign(O).align?{preferredAnchor:flipCorner(C),preferredOrigin:flipCorner(O)}:{preferredAnchor:C,preferredOrigin:O}}),[u,d,f,m]=["minWidth","minHeight","maxWidth","maxHeight"].map(C=>computed(()=>{const O=parseFloat(t[C]);return isNaN(O)?1/0:O})),y=computed(()=>{if(Array.isArray(t.offset))return t.offset;if(typeof t.offset=="string"){const C=t.offset.split(" ").map(parseFloat);return C.length<2&&C.push(0),C}return typeof t.offset=="number"?[t.offset,0]:[0,0]});let v=!1,w=-1;const _=new CircularBuffer(4),S=new ResizeObserver(()=>{if(!v)return;if(requestAnimationFrame(O=>{O!==w&&_.clear(),requestAnimationFrame(T=>{w=T})}),_.isFull){const O=_.values();if(deepEqual(O.at(-1),O.at(-3))&&!deepEqual(O.at(-1),O.at(-2)))return}const C=k();C&&_.push(C.flipped)});let b=new Box({x:0,y:0,width:0,height:0});watch(e.target,(C,O)=>{O&&!Array.isArray(O)&&S.unobserve(O),Array.isArray(C)?deepEqual(C,O)||k():C&&S.observe(C)},{immediate:!0}),watch(e.contentEl,(C,O)=>{O&&S.unobserve(O),C&&S.observe(C)},{immediate:!0}),onScopeDispose(()=>{S.disconnect()});function k(){if(v=!1,requestAnimationFrame(()=>v=!0),!e.target.value||!e.contentEl.value)return;(Array.isArray(e.target.value)||e.target.value.offsetParent||e.target.value.getClientRects().length)&&(b=getTargetBox(e.target.value));const C=getIntrinsicSize(e.contentEl.value,e.isRtl.value),O=getScrollParents(e.contentEl.value),T=12;O.length||(O.push(document.documentElement),e.contentEl.value.style.top&&e.contentEl.value.style.left||(C.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),C.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const E=O.reduce((z,q)=>{const G=getElementBox(q);return z?new Box({x:Math.max(z.left,G.left),y:Math.max(z.top,G.top),width:Math.min(z.right,G.right)-Math.max(z.left,G.left),height:Math.min(z.bottom,G.bottom)-Math.max(z.top,G.top)}):G},void 0);E.x+=T,E.y+=T,E.width-=T*2,E.height-=T*2;let A={anchor:a.value,origin:c.value};function P(z){const q=new Box(C),G=anchorToPoint(z.anchor,b),ee=anchorToPoint(z.origin,q);let{x:ae,y:oe}=getOffset(G,ee);switch(z.anchor.side){case"top":oe-=y.value[0];break;case"bottom":oe+=y.value[0];break;case"left":ae-=y.value[0];break;case"right":ae+=y.value[0];break}switch(z.anchor.align){case"top":oe-=y.value[1];break;case"bottom":oe+=y.value[1];break;case"left":ae-=y.value[1];break;case"right":ae+=y.value[1];break}return q.x+=ae,q.y+=oe,q.width=Math.min(q.width,f.value),q.height=Math.min(q.height,m.value),{overflows:getOverflow(q,E),x:ae,y:oe}}let M=0,D=0;const F={x:0,y:0},I={x:!1,y:!1};let U=-1;for(;!(U++>10);){const{x:z,y:q,overflows:G}=P(A);M+=z,D+=q,C.x+=z,C.y+=q;{const ee=getAxis(A.anchor),ae=G.x.before||G.x.after,oe=G.y.before||G.y.after;let Se=!1;if(["x","y"].forEach(te=>{if(te==="x"&&ae&&!I.x||te==="y"&&oe&&!I.y){const se={anchor:{...A.anchor},origin:{...A.origin}},ne=te==="x"?ee==="y"?flipAlign:flipSide:ee==="y"?flipSide:flipAlign;se.anchor=ne(se.anchor),se.origin=ne(se.origin);const{overflows:le}=P(se);(le[te].before<=G[te].before&&le[te].after<=G[te].after||le[te].before+le[te].after<(G[te].before+G[te].after)/2)&&(A=se,Se=I[te]=!0)}}),Se)continue}G.x.before&&(M+=G.x.before,C.x+=G.x.before),G.x.after&&(M-=G.x.after,C.x-=G.x.after),G.y.before&&(D+=G.y.before,C.y+=G.y.before),G.y.after&&(D-=G.y.after,C.y-=G.y.after);{const ee=getOverflow(C,E);F.x=E.width-ee.x.before-ee.x.after,F.y=E.height-ee.y.before-ee.y.after,M+=ee.x.before,C.x+=ee.x.before,D+=ee.y.before,C.y+=ee.y.before}break}const $=getAxis(A.anchor);return Object.assign(r.value,{"--v-overlay-anchor-origin":`${A.anchor.side} ${A.anchor.align}`,transformOrigin:`${A.origin.side} ${A.origin.align}`,top:convertToUnit(pixelRound(D)),left:e.isRtl.value?void 0:convertToUnit(pixelRound(M)),right:e.isRtl.value?convertToUnit(pixelRound(-M)):void 0,minWidth:convertToUnit($==="y"?Math.min(u.value,b.width):u.value),maxWidth:convertToUnit(pixelCeil(clamp(F.x,u.value===1/0?0:u.value,f.value))),maxHeight:convertToUnit(pixelCeil(clamp(F.y,d.value===1/0?0:d.value,m.value)))}),{available:F,contentBox:C,flipped:I}}return watch(()=>[a.value,c.value,t.offset,t.minWidth,t.minHeight,t.maxWidth,t.maxHeight],()=>k()),nextTick(()=>{const C=k();if(!C)return;const{available:O,contentBox:T}=C;T.height>O.y&&requestAnimationFrame(()=>{k(),requestAnimationFrame(()=>{k()})})}),{updateLocation:k}}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?.stop(),t.isActive.value&&e.scrollStrategy&&(r=effectScope(),await new Promise(i=>setTimeout(i)),r.active&&r.run(()=>{typeof e.scrollStrategy=="function"?e.scrollStrategy(t,e,r):scrollStrategies[e.scrollStrategy]?.(t,e,r)}))}),onScopeDispose(()=>{r?.stop()})}function closeScrollStrategy(e){function t(r){e.isActive.value=!1}bindScroll(getTargetEl(e.target.value,e.contentEl.value),t)}function blockScrollStrategy(e,t){const r=e.root.value?.offsetParent,i=getTargetEl(e.target.value,e.contentEl.value),a=[...new Set([...getScrollParents(i,t.contained?r:void 0),...getScrollParents(e.contentEl.value,t.contained?r:void 0)])].filter(d=>!d.classList.contains("v-overlay-scroll-blocked")),c=window.innerWidth-document.documentElement.offsetWidth,u=(d=>hasScrollbar(d)&&d)(r||document.documentElement);u&&e.root.value.classList.add("v-overlay--scroll-blocked"),a.forEach((d,f)=>{d.style.setProperty("--v-body-scroll-x",convertToUnit(-d.scrollLeft)),d.style.setProperty("--v-body-scroll-y",convertToUnit(-d.scrollTop)),d!==document.documentElement&&d.style.setProperty("--v-scrollbar-offset",convertToUnit(c)),d.classList.add("v-overlay-scroll-blocked")}),onScopeDispose(()=>{a.forEach((d,f)=>{const m=parseFloat(d.style.getPropertyValue("--v-body-scroll-x")),y=parseFloat(d.style.getPropertyValue("--v-body-scroll-y")),v=d.style.scrollBehavior;d.style.scrollBehavior="auto",d.style.removeProperty("--v-body-scroll-x"),d.style.removeProperty("--v-body-scroll-y"),d.style.removeProperty("--v-scrollbar-offset"),d.classList.remove("v-overlay-scroll-blocked"),d.scrollLeft=-m,d.scrollTop=-y,d.style.scrollBehavior=v}),u&&e.root.value.classList.remove("v-overlay--scroll-blocked")})}function repositionScrollStrategy(e,t,r){let i=!1,a=-1,c=-1;function u(d){requestNewFrame(()=>{const f=performance.now();e.updateLocation.value?.(d),i=(performance.now()-f)/(1e3/60)>2})}c=(typeof requestIdleCallback>"u"?d=>d():requestIdleCallback)(()=>{r.run(()=>{bindScroll(getTargetEl(e.target.value,e.contentEl.value),d=>{i?(cancelAnimationFrame(a),a=requestAnimationFrame(()=>{a=requestAnimationFrame(()=>{u(d)})})):u(d)})})}),onScopeDispose(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(c),cancelAnimationFrame(a)})}function getTargetEl(e,t){return Array.isArray(e)?document.elementsFromPoint(...e).find(r=>!t?.contains(r)):e??t}function bindScroll(e,t){const r=[document,...getScrollParents(e)];r.forEach(i=>{i.addEventListener("scroll",t,{passive:!0})}),onScopeDispose(()=>{r.forEach(i=>{i.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 i(u){r?.();const d=Number(u?e.openDelay:e.closeDelay);return new Promise(f=>{r=defer(d,()=>{t?.(u),f(u)})})}function a(){return i(!0)}function c(){return i(!1)}return{clearDelay:r,runOpenDelay:a,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:i,contentEl:a}=t;const c=getCurrentInstance("useActivator"),u=ref();let d=!1,f=!1,m=!0;const y=computed(()=>e.openOnFocus||e.openOnFocus==null&&e.openOnHover),v=computed(()=>e.openOnClick||e.openOnClick==null&&!e.openOnHover&&!y.value),{runOpenDelay:w,runCloseDelay:_}=useDelay(e,D=>{D===(e.openOnHover&&d||y.value&&f)&&!(e.openOnHover&&r.value&&!i.value)&&(r.value!==D&&(m=!0),r.value=D)}),S=ref(),b={onClick:D=>{D.stopPropagation(),u.value=D.currentTarget||D.target,r.value||(S.value=[D.clientX,D.clientY]),r.value=!r.value},onMouseenter:D=>{D.sourceCapabilities?.firesTouchEvents||(d=!0,u.value=D.currentTarget||D.target,w())},onMouseleave:D=>{d=!1,_()},onFocus:D=>{matchesSelector(D.target,":focus-visible")!==!1&&(f=!0,D.stopPropagation(),u.value=D.currentTarget||D.target,w())},onBlur:D=>{f=!1,D.stopPropagation(),_()}},k=computed(()=>{const D={};return v.value&&(D.onClick=b.onClick),e.openOnHover&&(D.onMouseenter=b.onMouseenter,D.onMouseleave=b.onMouseleave),y.value&&(D.onFocus=b.onFocus,D.onBlur=b.onBlur),D}),C=computed(()=>{const D={};if(e.openOnHover&&(D.onMouseenter=()=>{d=!0,w()},D.onMouseleave=()=>{d=!1,_()}),y.value&&(D.onFocusin=()=>{f=!0,w()},D.onFocusout=()=>{f=!1,_()}),e.closeOnContentClick){const F=inject$1(VMenuSymbol,null);D.onClick=()=>{r.value=!1,F?.closeParents()}}return D}),O=computed(()=>{const D={};return e.openOnHover&&(D.onMouseenter=()=>{m&&(d=!0,m=!1,w())},D.onMouseleave=()=>{d=!1,_()}),D});watch(i,D=>{D&&(e.openOnHover&&!d&&(!y.value||!f)||y.value&&!f&&(!e.openOnHover||!d))&&!a.value?.contains(document.activeElement)&&(r.value=!1)}),watch(r,D=>{D||setTimeout(()=>{S.value=void 0})},{flush:"post"});const T=templateRef();watchEffect(()=>{T.value&&nextTick(()=>{u.value=T.el})});const E=templateRef(),A=computed(()=>e.target==="cursor"&&S.value?S.value:E.value?E.el:getTarget(e.target,c)||u.value),P=computed(()=>Array.isArray(A.value)?void 0:A.value);let M;return watch(()=>!!e.activator,D=>{D&&IN_BROWSER?(M=effectScope(),M.run(()=>{_useActivator(e,c,{activatorEl:u,activatorEvents:k})})):M&&M.stop()},{flush:"post",immediate:!0}),onScopeDispose(()=>{M?.stop()}),{activatorEl:u,activatorRef:T,target:A,targetEl:P,targetRef:E,activatorEvents:k,contentEvents:C,scrimEvents:O}}function _useActivator(e,t,r){let{activatorEl:i,activatorEvents:a}=r;watch(()=>e.activator,(f,m)=>{if(m&&f!==m){const y=d(m);y&&u(y)}f&&nextTick(()=>c())},{immediate:!0}),watch(()=>e.activatorProps,()=>{c()}),onScopeDispose(()=>{u()});function c(){let f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:d(),m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;f&&bindProps(f,mergeProps(a.value,m))}function u(){let f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:d(),m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;f&&unbindProps(f,mergeProps(a.value,m))}function d(){let f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activator;const m=getTarget(f,t);return i.value=m?.nodeType===Node.ELEMENT_NODE?m:void 0,i.value}}function getTarget(e,t){if(!e)return;let r;if(e==="parent"){let i=t?.proxy?.$el?.parentNode;for(;i?.hasAttribute("data-no-activator");)i=i.parentNode;r=i}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),i=toRef$2(()=>r.value||e.eager||t.value);watch(t,()=>r.value=!0);function a(){e.eager||(r.value=!1)}return{isBooted:r,hasContent:i,onAfterLeave:a}}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 i=getCurrentInstance("useStack"),a=!r,c=inject$1(StackSymbol,void 0),u=reactive({activeChildren:new Set});provide(StackSymbol,u);const d=shallowRef(Number(toValue(t)));useToggleScope(e,()=>{const y=globalStack.at(-1)?.[1];d.value=y?y+10:Number(toValue(t)),a&&globalStack.push([i.uid,d.value]),c?.activeChildren.add(i.uid),onScopeDispose(()=>{if(a){const v=toRaw(globalStack).findIndex(w=>w[0]===i.uid);globalStack.splice(v,1)}c?.activeChildren.delete(i.uid)})});const f=shallowRef(!0);a&&watchEffect(()=>{const y=globalStack.at(-1)?.[0]===i.uid;setTimeout(()=>f.value=y)});const m=toRef$2(()=>!u.activeChildren.size);return{globalTop:readonly(f),localTop:m,stackStyles:toRef$2(()=>({zIndex:d.value}))}}function useTeleport(e){return{teleportTarget:computed(()=>{const r=e();if(r===!0||!IN_BROWSER)return;const i=r===!1?document.body:typeof r=="string"?document.querySelector(r):r;if(i==null)return;let a=[...i.children].find(c=>c.matches(".v-overlay-container"));return a||(a=document.createElement("div"),a.className="v-overlay-container",i.appendChild(a)),a})}}function defaultConditional(){return!0}function checkEvent(e,t,r){if(!e||checkIsActive(e,r)===!1)return!1;const i=attachedRoot(t);if(typeof ShadowRoot<"u"&&i instanceof ShadowRoot&&i.host===e.target)return!1;const a=(typeof r.value=="object"&&r.value.include||(()=>[]))();return a.push(t),!a.some(c=>c?.contains(e.target))}function checkIsActive(e,t){return(typeof t.value=="object"&&t.value.closeConditional||defaultConditional)(e)}function directive(e,t,r){const i=typeof r.value=="function"?r.value:r.value.handler;e.shadowTarget=e.target,t._clickOutside.lastMousedownWasOutside&&checkEvent(e,t,r)&&setTimeout(()=>{checkIsActive(e,r)&&i&&i(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=a=>directive(a,e,t),i=a=>{e._clickOutside.lastMousedownWasOutside=checkEvent(a,e,t)};handleShadow(e,a=>{a.addEventListener("click",r,!0),a.addEventListener("mousedown",i,!0)}),e._clickOutside||(e._clickOutside={lastMousedownWasOutside:!1}),e._clickOutside[t.instance.$.uid]={onClick:r,onMousedown:i}},beforeUnmount(e,t){e._clickOutside&&(handleShadow(e,r=>{if(!r||!e._clickOutside?.[t.instance.$.uid])return;const{onClick:i,onMousedown:a}=e._clickOutside[t.instance.$.uid];r.removeEventListener("click",i,!0),r.removeEventListener("mousedown",a,!0)}),delete e._clickOutside[t.instance.$.uid])}};function Scrim(e){const{modelValue:t,color:r,...i}=e;return createVNode(Transition,{name:"fade-transition",appear:!0},{default:()=>[e.modelValue&&createBaseVNode("div",mergeProps({class:["v-overlay__scrim",e.color.backgroundColorClasses.value],style:e.color.backgroundColorStyles.value},i),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:{vClickOutside:ClickOutside},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...makeVOverlayProps()},emits:{"click:outside":e=>!0,"update:modelValue":e=>!0,keydown:e=>!0,afterEnter:()=>!0,afterLeave:()=>!0},setup(e,t){let{slots:r,attrs:i,emit:a}=t;const c=getCurrentInstance("VOverlay"),u=ref(),d=ref(),f=ref(),m=useProxiedModel(e,"modelValue"),y=computed({get:()=>m.value,set:re=>{re&&e.disabled||(m.value=re)}}),{themeClasses:v}=provideTheme(e),{rtlClasses:w,isRtl:_}=useRtl(),{hasContent:S,onAfterLeave:b}=useLazy(e,y),k=useBackgroundColor(()=>typeof e.scrim=="string"?e.scrim:null),{globalTop:C,localTop:O,stackStyles:T}=useStack(y,()=>e.zIndex,e._disableGlobalStack),{activatorEl:E,activatorRef:A,target:P,targetEl:M,targetRef:D,activatorEvents:F,contentEvents:I,scrimEvents:U}=useActivator(e,{isActive:y,isTop:O,contentEl:f}),{teleportTarget:$}=useTeleport(()=>{const re=e.attach||e.contained;if(re)return re;const ue=E?.value?.getRootNode()||c.proxy?.$el?.getRootNode();return ue instanceof ShadowRoot?ue:!1}),{dimensionStyles:z}=useDimension(e),q=useHydration(),{scopeId:G}=useScopeId();watch(()=>e.disabled,re=>{re&&(y.value=!1)});const{contentStyles:ee,updateLocation:ae}=useLocationStrategies(e,{isRtl:_,contentEl:f,target:P,isActive:y});useScrollStrategies(e,{root:u,contentEl:f,targetEl:M,target:P,isActive:y,updateLocation:ae});function oe(re){a("click:outside",re),e.persistent?Oe():y.value=!1}function Se(re){return y.value&&C.value&&(!e.scrim||re.target===d.value||re instanceof MouseEvent&&re.shadowTarget===d.value)}IN_BROWSER&&watch(y,re=>{re?window.addEventListener("keydown",te):window.removeEventListener("keydown",te)},{immediate:!0}),onBeforeUnmount(()=>{IN_BROWSER&&window.removeEventListener("keydown",te)});function te(re){re.key==="Escape"&&C.value&&(f.value?.contains(document.activeElement)||a("keydown",re),e.persistent?Oe():(y.value=!1,f.value?.contains(document.activeElement)&&E.value?.focus()))}function se(re){re.key==="Escape"&&!C.value||a("keydown",re)}const ne=useRouter();useToggleScope(()=>e.closeOnBack,()=>{useBackButton(ne,re=>{C.value&&y.value?(re(!1),e.persistent?Oe():y.value=!1):re()})});const le=ref();watch(()=>y.value&&(e.absolute||e.contained)&&$.value==null,re=>{if(re){const ue=getScrollParent$1(u.value);ue&&ue!==document.scrollingElement&&(le.value=ue.scrollTop)}});function Oe(){e.noClickAnimation||f.value&&animate(f.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:standardEasing})}function ke(){a("afterEnter")}function ye(){b(),a("afterLeave")}return useRender(()=>createBaseVNode(Fragment,null,[r.activator?.({isActive:y.value,targetRef:D,props:mergeProps({ref:A},F.value,e.activatorProps)}),q.value&&S.value&&createVNode(Teleport,{disabled:!$.value,to:$.value},{default:()=>[createBaseVNode("div",mergeProps({class:["v-overlay",{"v-overlay--absolute":e.absolute||e.contained,"v-overlay--active":y.value,"v-overlay--contained":e.contained},v.value,w.value,e.class],style:[T.value,{"--v-overlay-opacity":e.opacity,top:convertToUnit(le.value)},e.style],ref:u,onKeydown:se},G,i),[createVNode(Scrim,mergeProps({color:k,modelValue:y.value&&!!e.scrim,ref:d},U.value),null),createVNode(MaybeTransition,{appear:!0,persisted:!0,transition:e.transition,target:P.value,onAfterEnter:ke,onAfterLeave:ye},{default:()=>[withDirectives(createBaseVNode("div",mergeProps({ref:f,class:["v-overlay__content",e.contentClass],style:[z.value,ee.value]},I.value,e.contentProps),[r.default?.({isActive:y})]),[[vShow,y.value],[ClickOutside,{handler:oe,closeConditional:Se,include:()=>[E.value]}]])]})])]})])),{activatorEl:E,scrimEl:d,target:P,animateClick:Oe,contentEl:f,globalTop:C,localTop:O,updateLocation:ae}}}),Refs=Symbol("Forwarded refs");function getDescriptor(e,t){let r=e;for(;r;){const i=Reflect.getOwnPropertyDescriptor(r,t);if(i)return i;r=Object.getPrototypeOf(r)}}function forwardRefs(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];return e[Refs]=r,new Proxy(e,{get(a,c){if(Reflect.has(a,c))return Reflect.get(a,c);if(!(typeof c=="symbol"||c.startsWith("$")||c.startsWith("__"))){for(const u of r)if(u.value&&Reflect.has(u.value,c)){const d=Reflect.get(u.value,c);return typeof d=="function"?d.bind(u.value):d}}},has(a,c){if(Reflect.has(a,c))return!0;if(typeof c=="symbol"||c.startsWith("$")||c.startsWith("__"))return!1;for(const u of r)if(u.value&&Reflect.has(u.value,c))return!0;return!1},set(a,c,u){if(Reflect.has(a,c))return Reflect.set(a,c,u);if(typeof c=="symbol"||c.startsWith("$")||c.startsWith("__"))return!1;for(const d of r)if(d.value&&Reflect.has(d.value,c))return Reflect.set(d.value,c,u);return!1},getOwnPropertyDescriptor(a,c){const u=Reflect.getOwnPropertyDescriptor(a,c);if(u)return u;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(d.value._?.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 y=m.shift(),v=getDescriptor(y.value,c);if(v)return v;const w=y.value&&y.value[Refs];w&&m.push(...w)}}}}})}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,afterEnter:()=>!0,afterLeave:()=>!0},setup(e,t){let{emit:r,slots:i}=t;const a=useProxiedModel(e,"modelValue"),{scopeId:c}=useScopeId(),u=ref();function d(y){const v=y.relatedTarget,w=y.target;if(v!==w&&u.value?.contentEl&&u.value?.globalTop&&![document,u.value.contentEl].includes(w)&&!u.value.contentEl.contains(w)){const _=focusableChildren(u.value.contentEl);if(!_.length)return;const S=_[0],b=_[_.length-1];v===S?b.focus():S.focus()}}onBeforeUnmount(()=>{document.removeEventListener("focusin",d)}),IN_BROWSER&&watch(()=>a.value&&e.retainFocus,y=>{y?document.addEventListener("focusin",d):document.removeEventListener("focusin",d)},{immediate:!0});function f(){r("afterEnter"),(e.scrim||e.retainFocus)&&u.value?.contentEl&&!u.value.contentEl.contains(document.activeElement)&&u.value.contentEl.focus({preventScroll:!0})}function m(){r("afterLeave")}return watch(a,async y=>{y||(await nextTick(),u.value.activatorEl?.focus({preventScroll:!0}))}),useRender(()=>{const y=VOverlay.filterProps(e),v=mergeProps({"aria-haspopup":"dialog"},e.activatorProps),w=mergeProps({tabindex:-1},e.contentProps);return createVNode(VOverlay,mergeProps({ref:u,class:["v-dialog",{"v-dialog--fullscreen":e.fullscreen,"v-dialog--scrollable":e.scrollable},e.class],style:e.style},y,{modelValue:a.value,"onUpdate:modelValue":_=>a.value=_,"aria-modal":"true",activatorProps:v,contentProps:w,height:e.fullscreen?void 0:e.height,width:e.fullscreen?void 0:e.width,maxHeight:e.fullscreen?void 0:e.maxHeight,maxWidth:e.fullscreen?void 0:e.maxWidth,role:"dialog",onAfterEnter:f,onAfterLeave:m},c),{activator:i.activator,default:function(){for(var _=arguments.length,S=new Array(_),b=0;b<_;b++)S[b]=arguments[b];return createVNode(VDefaultsProvider,{root:"VDialog"},{default:()=>[i.default?.(...S)]})}})}),forwardRefs({},u)}}),makeVDividerProps=propsFactory({color:String,inset:Boolean,length:[Number,String],opacity:[Number,String],thickness:[Number,String],vertical:Boolean,...makeComponentProps(),...makeThemeProps()},"VDivider"),VDivider=genericComponent()({name:"VDivider",props:makeVDividerProps(),setup(e,t){let{attrs:r,slots:i}=t;const{themeClasses:a}=provideTheme(e),{textColorClasses:c,textColorStyles:u}=useTextColor(()=>e.color),d=computed(()=>{const f={};return e.length&&(f[e.vertical?"height":"width"]=convertToUnit(e.length)),e.thickness&&(f[e.vertical?"borderRightWidth":"borderTopWidth"]=convertToUnit(e.thickness)),f});return useRender(()=>{const f=createBaseVNode("hr",{class:normalizeClass([{"v-divider":!0,"v-divider--inset":e.inset,"v-divider--vertical":e.vertical},a.value,c.value,e.class]),style:normalizeStyle([d.value,u.value,{"--v-border-opacity":e.opacity},e.style]),"aria-orientation":!r.role||r.role==="separator"?e.vertical?"vertical":"horizontal":void 0,role:`${r.role||"separator"}`},null);return i.default?createBaseVNode("div",{class:normalizeClass(["v-divider__wrapper",{"v-divider__wrapper--vertical":e.vertical,"v-divider__wrapper--inset":e.inset}])},[f,createBaseVNode("div",{class:"v-divider__content"},[i.default()]),f]):f}),{}}}),makeVCounterProps=propsFactory({active:Boolean,disabled: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 i=toRef$2(()=>e.max?`${e.value} / ${e.max}`:String(e.value));return useRender(()=>createVNode(MaybeTransition,{transition:e.transition},{default:()=>[withDirectives(createBaseVNode("div",{class:normalizeClass(["v-counter",{"text-error":e.max&&!e.disabled&&parseFloat(e.value)>parseFloat(e.max)},e.class]),style:normalizeStyle(e.style)},[r.default?r.default({counter:i.value,max:e.max,value:e.value}):i.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(()=>createBaseVNode("label",{class:normalizeClass(["v-label",{"v-label--clickable":!!e.onClick},e.class]),style:normalizeStyle(e.style),onClick:e.onClick},[e.text,r.default?.()])),{}}}),makeVFieldLabelProps=propsFactory({floating:Boolean,...makeComponentProps()},"VFieldLabel"),VFieldLabel=genericComponent()({name:"VFieldLabel",props:makeVFieldLabelProps(),setup(e,t){let{slots:r}=t;return useRender(()=>createVNode(VLabel,{class:normalizeClass(["v-field-label",{"v-field-label--floating":e.floating},e.class]),style:normalizeStyle(e.style)},r)),{}}});function useInputIcon(e){const{t}=useLocale();function r(i){let{name:a,color:c,...u}=i;const d={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[a],f=e[`onClick:${a}`];function m(v){v.key!=="Enter"&&v.key!==" "||(v.preventDefault(),v.stopPropagation(),callEvent(f,new PointerEvent("click",v)))}const y=f&&d?t(`$vuetify.input.${d}`,e.label??""):void 0;return createVNode(VIcon,mergeProps({icon:e[`${a}Icon`],"aria-label":y,onClick:f,onKeydown:m,color:c},u),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"),i=toRef$2(()=>({[`${t}--focused`]:r.value}));function a(){r.value=!0}function c(){r.value=!1}return{focusClasses:i,isFocused:r,focus:a,blur:c}}const allowedVariants=["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,details:Boolean,dirty:Boolean,disabled:{type:Boolean,default:null},glow:Boolean,error:Boolean,flat:Boolean,iconColor:[Boolean,String],label:String,persistentClear:Boolean,prependInnerIcon:IconValue,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:e=>allowedVariants.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:i,slots:a}=t;const{themeClasses:c}=provideTheme(e),{loaderClasses:u}=useLoader(e),{focusClasses:d,isFocused:f,focus:m,blur:y}=useFocus(e),{InputIcon:v}=useInputIcon(e),{roundedClasses:w}=useRounded(e),{rtlClasses:_}=useRtl(),S=toRef$2(()=>e.dirty||e.active),b=toRef$2(()=>!!(e.label||a.label)),k=toRef$2(()=>!e.singleLine&&b.value),C=useId(),O=computed(()=>e.id||`input-${C}`),T=toRef$2(()=>e.details?`${O.value}-messages`:void 0),E=ref(),A=ref(),P=ref(),M=computed(()=>["plain","underlined"].includes(e.variant)),D=computed(()=>e.error||e.disabled?void 0:S.value&&f.value?e.color:e.baseColor),F=computed(()=>{if(!(!e.iconColor||e.glow&&!f.value))return e.iconColor===!0?D.value:e.iconColor}),{backgroundColorClasses:I,backgroundColorStyles:U}=useBackgroundColor(()=>e.bgColor),{textColorClasses:$,textColorStyles:z}=useTextColor(D);watch(S,ee=>{if(k.value){const ae=E.value.$el,oe=A.value.$el;requestAnimationFrame(()=>{const Se=nullifyTransforms(ae),te=oe.getBoundingClientRect(),se=te.x-Se.x,ne=te.y-Se.y-(Se.height/2-te.height/2),le=te.width/.75,Oe=Math.abs(le-Se.width)>1?{maxWidth:convertToUnit(le)}:void 0,ke=getComputedStyle(ae),ye=getComputedStyle(oe),re=parseFloat(ke.transitionDuration)*1e3||150,ue=parseFloat(ye.getPropertyValue("--v-field-label-scale")),ie=ye.getPropertyValue("color");ae.style.visibility="visible",oe.style.visibility="hidden",animate(ae,{transform:`translate(${se}px, ${ne}px) scale(${ue})`,color:ie,...Oe},{duration:re,easing:standardEasing,direction:ee?"normal":"reverse"}).finished.then(()=>{ae.style.removeProperty("visibility"),oe.style.removeProperty("visibility")})})}},{flush:"post"});const q=computed(()=>({isActive:S,isFocused:f,controlRef:P,blur:y,focus:m}));function G(ee){ee.target!==document.activeElement&&ee.preventDefault()}return useRender(()=>{const ee=e.variant==="outlined",ae=!!(a["prepend-inner"]||e.prependInnerIcon),oe=!!(e.clearable||a.clear)&&!e.disabled,Se=!!(a["append-inner"]||e.appendInnerIcon||oe),te=()=>a.label?a.label({...q.value,label:e.label,props:{for:O.value}}):e.label;return createBaseVNode("div",mergeProps({class:["v-field",{"v-field--active":S.value,"v-field--appended":Se,"v-field--center-affix":e.centerAffix??!M.value,"v-field--disabled":e.disabled,"v-field--dirty":e.dirty,"v-field--error":e.error,"v-field--glow":e.glow,"v-field--flat":e.flat,"v-field--has-background":!!e.bgColor,"v-field--persistent-clear":e.persistentClear,"v-field--prepended":ae,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!te(),[`v-field--variant-${e.variant}`]:!0},c.value,I.value,d.value,u.value,w.value,_.value,e.class],style:[U.value,e.style],onClick:G},r),[createBaseVNode("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:a.loader}),ae&&createBaseVNode("div",{key:"prepend",class:"v-field__prepend-inner"},[e.prependInnerIcon&&createVNode(v,{key:"prepend-icon",name:"prependInner",color:F.value},null),a["prepend-inner"]?.(q.value)]),createBaseVNode("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&k.value&&createVNode(VFieldLabel,{key:"floating-label",ref:A,class:normalizeClass([$.value]),floating:!0,for:O.value,"aria-hidden":!S.value,style:normalizeStyle(z.value)},{default:()=>[te()]}),b.value&&createVNode(VFieldLabel,{key:"label",ref:E,for:O.value},{default:()=>[te()]}),a.default?.({...q.value,props:{id:O.value,class:"v-field__input","aria-describedby":T.value},focus:m,blur:y})??createBaseVNode("div",{id:O.value,class:"v-field__input","aria-describedby":T.value},null)]),oe&&createVNode(VExpandXTransition,{key:"clear"},{default:()=>[withDirectives(createBaseVNode("div",{class:"v-field__clearable",onMousedown:se=>{se.preventDefault(),se.stopPropagation()}},[createVNode(VDefaultsProvider,{defaults:{VIcon:{icon:e.clearIcon}}},{default:()=>[a.clear?a.clear({...q.value,props:{onFocus:m,onBlur:y,onClick:e["onClick:clear"],tabindex:-1}}):createVNode(v,{name:"clear",onFocus:m,onBlur:y,tabindex:-1},null)]})]),[[vShow,e.dirty]])]}),Se&&createBaseVNode("div",{key:"append",class:"v-field__append-inner"},[a["append-inner"]?.(q.value),e.appendInnerIcon&&createVNode(v,{key:"append-icon",name:"appendInner",color:F.value},null)]),createBaseVNode("div",{class:normalizeClass(["v-field__outline",$.value]),style:normalizeStyle(z.value)},[ee&&createBaseVNode(Fragment,null,[createBaseVNode("div",{class:"v-field__outline__start"},null),k.value&&createBaseVNode("div",{class:"v-field__outline__notch"},[createVNode(VFieldLabel,{ref:A,floating:!0,for:O.value,"aria-hidden":!S.value},{default:()=>[te()]})]),createBaseVNode("div",{class:"v-field__outline__end"},null)]),M.value&&k.value&&createVNode(VFieldLabel,{ref:A,floating:!0,for:O.value,"aria-hidden":!S.value},{default:()=>[te()]})])])}),{controlRef:P,fieldIconColor:F}}}),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 i=computed(()=>wrapInArray(e.messages)),{textColorClasses:a,textColorStyles:c}=useTextColor(()=>e.color);return useRender(()=>createVNode(MaybeTransition,{transition:e.transition,tag:"div",class:normalizeClass(["v-messages",a.value,e.class]),style:normalizeStyle([c.value,e.style])},{default:()=>[e.active&&i.value.map((u,d)=>createBaseVNode("div",{class:"v-messages__message",key:`${d}-${i.value}`},[r.message?r.message({message:u}):u]))]})),{}}}),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=toRef$2(()=>e.disabled),i=toRef$2(()=>e.readonly),a=shallowRef(!1),c=ref([]),u=ref([]);async function d(){const y=[];let v=!0;u.value=[],a.value=!0;for(const w of c.value){const _=await w.validate();if(_.length>0&&(v=!1,y.push({id:w.id,errorMessages:_})),!v&&e.fastFail)break}return u.value=y,a.value=!1,{valid:v,errors:u.value}}function f(){c.value.forEach(y=>y.reset())}function m(){c.value.forEach(y=>y.resetValidation())}return watch(c,()=>{let y=0,v=0;const w=[];for(const _ of c.value)_.isValid===!1?(v++,w.push({id:_.id,errorMessages:_.errorMessages})):_.isValid===!0&&y++;u.value=w,t.value=v>0?!1:y===c.value.length?!0:null},{deep:!0,flush:"post"}),provide(FormKey,{register:y=>{let{id:v,vm:w,validate:_,reset:S,resetValidation:b}=y;c.value.some(k=>k.id===v),c.value.push({id:v,validate:_,reset:S,resetValidation:b,vm:markRaw(w),isValid:null,errorMessages:[]})},unregister:y=>{c.value=c.value.filter(v=>v.id!==y)},update:(y,v,w)=>{const _=c.value.find(S=>S.id===y);_&&(_.isValid=v,_.errorMessages=w)},isDisabled:r,isReadonly:i,isValidating:a,isValid:t,items:c,validateOn:toRef$2(()=>e.validateOn)}),{errors:u,isDisabled:r,isReadonly:i,isValidating:a,isValid:t,items:c,validate:d,reset:f,resetValidation:m}}function useForm(e){const t=inject$1(FormKey,null);return{...t,isReadonly:computed(()=>!!(e?.readonly??t?.isReadonly.value)),isDisabled:computed(()=>!!(e?.disabled??t?.isDisabled.value))}}function createRules(e,t){const{t:r}=t,i={required:c=>u=>u===0||!!u||r(c||"$vuetify.rules.required"),email:c=>u=>!u||typeof u=="string"&&/^.+@\S+\.\S+$/.test(u)||r(c||"$vuetify.rules.email"),number:c=>u=>!!Number(u)||r(c||"$vuetify.rules.number"),integer:c=>u=>/^[\d]*$/.test(u)||r(c||"$vuetify.rules.integer"),capital:c=>u=>/^[A-Z]*$/.test(u)||r(c||"$vuetify.rules.capital"),maxLength:(c,u)=>d=>!d||d.length<=c||r(u||"$vuetify.rules.maxLength",[c]),minLength:(c,u)=>d=>!d||d.length>=c||r(u||"$vuetify.rules.minLength",[c]),strictLength:(c,u)=>d=>!d||d.length===c||r(u||"$vuetify.rules.strictLength",[c]),exclude:(c,u)=>d=>{let f=!0;for(const m of c)d.includes(m)&&(f=u||r("$vuetify.rules.exclude",m));return f},notEmpty:c=>u=>u&&u.length>0||r(c||"$vuetify.rules.notEmpty"),pattern:(c,u)=>d=>!d||c.test(d)||r(u||"$vuetify.rules.pattern"),...e?.aliases};function a(c){return computed(()=>c().map(u=>{let d=null,f=[void 0];return Array.isArray(u)?(d=u[0],f=u.slice(1)):typeof u=="string"&&(d=u),d!==null?(d.startsWith("$")&&(d=d.slice(1)),i[d]?.(...f)):u}))}return{resolve:a,aliases:i}}const RulesSymbol=Symbol.for("vuetify:rules");function useRules(e){const t=inject$1(RulesSymbol,null);if(!e){if(!t)throw new Error("Could not find Vuetify rules injection");return t.aliases}return t?.resolve(e)??toRef$2(e)}function createRulesPlugin(e,t){return{install(r){r.provide(RulesSymbol,createRules(e,t))}}}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]:useId();const i=useProxiedModel(e,"modelValue"),a=computed(()=>e.validationValue===void 0?i.value:e.validationValue),c=useForm(e),u=useRules(()=>e.rules),d=ref([]),f=shallowRef(!0),m=computed(()=>!!(wrapInArray(i.value===""?null:i.value).length||wrapInArray(a.value===""?null:a.value).length)),y=computed(()=>e.errorMessages?.length?wrapInArray(e.errorMessages).concat(d.value).slice(0,Math.max(0,Number(e.maxErrors))):d.value),v=computed(()=>{let E=(e.validateOn??c.validateOn?.value)||"input";E==="lazy"&&(E="input lazy"),E==="eager"&&(E="input eager");const A=new Set(E?.split(" ")??[]);return{input:A.has("input"),blur:A.has("blur")||A.has("input")||A.has("invalid-input"),invalidInput:A.has("invalid-input"),lazy:A.has("lazy"),eager:A.has("eager")}}),w=computed(()=>e.error||e.errorMessages?.length?!1:e.rules.length?f.value?d.value.length||v.value.lazy?null:!0:!d.value.length:!0),_=shallowRef(!1),S=computed(()=>({[`${t}--error`]:w.value===!1,[`${t}--dirty`]:m.value,[`${t}--disabled`]:c.isDisabled.value,[`${t}--readonly`]:c.isReadonly.value})),b=getCurrentInstance("validation"),k=computed(()=>e.name??unref(r));onBeforeMount(()=>{c.register?.({id:k.value,vm:b,validate:T,reset:C,resetValidation:O})}),onBeforeUnmount(()=>{c.unregister?.(k.value)}),onMounted(async()=>{v.value.lazy||await T(!v.value.eager),c.update?.(k.value,w.value,y.value)}),useToggleScope(()=>v.value.input||v.value.invalidInput&&w.value===!1,()=>{watch(a,()=>{if(a.value!=null)T();else if(e.focused){const E=watch(()=>e.focused,A=>{A||T(),E()})}})}),useToggleScope(()=>v.value.blur,()=>{watch(()=>e.focused,E=>{E||T()})}),watch([w,y],()=>{c.update?.(k.value,w.value,y.value)});async function C(){i.value=null,await nextTick(),await O()}async function O(){f.value=!0,v.value.lazy?d.value=[]:await T(!v.value.eager)}async function T(){let E=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const A=[];_.value=!0;for(const P of u.value){if(A.length>=Number(e.maxErrors??1))break;const D=await(typeof P=="function"?P:()=>P)(a.value);if(D!==!0){if(D!==!1&&typeof D!="string"){console.warn(`${D} is not a valid value. Rule functions must return boolean true or a string.`);continue}A.push(D||"")}}return d.value=A,_.value=!1,f.value=E,d.value}return{errorMessages:y,isDirty:m,isDisabled:c.isDisabled,isReadonly:c.isReadonly,isPristine:f,isValid:w,isValidating:_,reset:C,resetValidation:O,validate:T,validationClasses:S}}const makeVInputProps=propsFactory({id:String,appendIcon:IconValue,baseColor:String,centerAffix:{type:Boolean,default:!0},color:String,glow:Boolean,iconColor:[Boolean,String],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(),...pick$1(makeDimensionProps(),["maxWidth","minWidth","width"]),...makeThemeProps(),...makeValidationProps()},"VInput"),VInput=genericComponent()({name:"VInput",props:{...makeVInputProps()},emits:{"update:modelValue":e=>!0},setup(e,t){let{attrs:r,slots:i,emit:a}=t;const{densityClasses:c}=useDensity(e),{dimensionStyles:u}=useDimension(e),{themeClasses:d}=provideTheme(e),{rtlClasses:f}=useRtl(),{InputIcon:m}=useInputIcon(e),y=useId(),v=computed(()=>e.id||`input-${y}`),{errorMessages:w,isDirty:_,isDisabled:S,isReadonly:b,isPristine:k,isValid:C,isValidating:O,reset:T,resetValidation:E,validate:A,validationClasses:P}=useValidation(e,"v-input",v),M=computed(()=>e.errorMessages?.length||!k.value&&w.value.length?w.value:e.hint&&(e.persistentHint||e.focused)?e.hint:e.messages),D=toRef$2(()=>M.value.length>0),F=toRef$2(()=>!e.hideDetails||e.hideDetails==="auto"&&(D.value||!!i.details)),I=computed(()=>F.value?`${v.value}-messages`:void 0),U=computed(()=>({id:v,messagesId:I,isDirty:_,isDisabled:S,isReadonly:b,isPristine:k,isValid:C,isValidating:O,hasDetails:F,reset:T,resetValidation:E,validate:A})),$=toRef$2(()=>e.error||e.disabled?void 0:e.focused?e.color:e.baseColor),z=toRef$2(()=>{if(e.iconColor)return e.iconColor===!0?$.value:e.iconColor});return useRender(()=>{const q=!!(i.prepend||e.prependIcon),G=!!(i.append||e.appendIcon);return createBaseVNode("div",{class:normalizeClass(["v-input",`v-input--${e.direction}`,{"v-input--center-affix":e.centerAffix,"v-input--focused":e.focused,"v-input--glow":e.glow,"v-input--hide-spin-buttons":e.hideSpinButtons},c.value,d.value,f.value,P.value,e.class]),style:normalizeStyle([u.value,e.style])},[q&&createBaseVNode("div",{key:"prepend",class:"v-input__prepend"},[i.prepend?.(U.value),e.prependIcon&&createVNode(m,{key:"prepend-icon",name:"prepend",color:z.value},null)]),i.default&&createBaseVNode("div",{class:"v-input__control"},[i.default?.(U.value)]),G&&createBaseVNode("div",{key:"append",class:"v-input__append"},[e.appendIcon&&createVNode(m,{key:"append-icon",name:"append",color:z.value},null),i.append?.(U.value)]),F.value&&createBaseVNode("div",{id:I.value,class:"v-input__details",role:"alert","aria-live":"polite"},[createVNode(VMessages,{active:D.value,messages:M.value},{message:i.message}),i.details?.(U.value)])])}),{reset:T,resetValidation:E,validate:A,isValid:C,errorMessages:w}}});function useAutofocus(e){function t(r,i){!e.autofocus||!r||i[0].target?.focus?.()}return{onIntersect:t}}const 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:{vIntersect:Intersect},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:i,slots:a}=t;const c=useProxiedModel(e,"modelValue"),{isFocused:u,focus:d,blur:f}=useFocus(e),{onIntersect:m}=useAutofocus(e),y=computed(()=>typeof e.counterValue=="function"?e.counterValue(c.value):typeof e.counterValue=="number"?e.counterValue:(c.value??"").toString().length),v=computed(()=>{if(r.maxlength)return r.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter}),w=computed(()=>["plain","underlined"].includes(e.variant)),_=ref(),S=ref(),b=ref(),k=computed(()=>activeTypes.includes(e.type)||e.persistentPlaceholder||u.value||e.active);function C(){u.value||d(),nextTick(()=>{b.value!==document.activeElement&&b.value?.focus()})}function O(P){i("mousedown:control",P),P.target!==b.value&&(C(),P.preventDefault())}function T(P){i("click:control",P)}function E(P,M){P.stopPropagation(),C(),nextTick(()=>{c.value=null,M(),callEvent(e["onClick:clear"],P)})}function A(P){const M=P.target;if(c.value=M.value,e.modelModifiers?.trim&&["text","search","password","tel","url"].includes(e.type)){const D=[M.selectionStart,M.selectionEnd];nextTick(()=>{M.selectionStart=D[0],M.selectionEnd=D[1]})}}return useRender(()=>{const P=!!(a.counter||e.counter!==!1&&e.counter!=null),M=!!(P||a.details),[D,F]=filterInputAttrs(r),{modelValue:I,...U}=VInput.filterProps(e),$=VField.filterProps(e);return createVNode(VInput,mergeProps({ref:_,modelValue:c.value,"onUpdate:modelValue":z=>c.value=z,class:["v-text-field",{"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-input--plain-underlined":w.value},e.class],style:e.style},D,U,{centerAffix:!w.value,focused:u.value}),{...a,default:z=>{let{id:q,isDisabled:G,isDirty:ee,isReadonly:ae,isValid:oe,hasDetails:Se,reset:te}=z;return createVNode(VField,mergeProps({ref:S,onMousedown:O,onClick:T,"onClick:clear":se=>E(se,te),"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"],role:e.role},omit($,["onClick:clear"]),{id:q.value,active:k.value||ee.value,dirty:ee.value||e.dirty,disabled:G.value,focused:u.value,details:Se.value,error:oe.value===!1}),{...a,default:se=>{let{props:{class:ne,...le}}=se;const Oe=withDirectives(createBaseVNode("input",mergeProps({ref:b,value:c.value,onInput:A,autofocus:e.autofocus,readonly:ae.value,disabled:G.value,name:e.name,placeholder:e.placeholder,size:1,role:e.role,type:e.type,onFocus:d,onBlur:f},le,F),null),[[Intersect,{handler:m},null,{once:!0}]]);return createBaseVNode(Fragment,null,[e.prefix&&createBaseVNode("span",{class:"v-text-field__prefix"},[createBaseVNode("span",{class:"v-text-field__prefix__text"},[e.prefix])]),a.default?createBaseVNode("div",{class:normalizeClass(ne),"data-no-activator":""},[a.default(),Oe]):cloneVNode(Oe,{class:ne}),e.suffix&&createBaseVNode("span",{class:"v-text-field__suffix"},[createBaseVNode("span",{class:"v-text-field__suffix__text"},[e.suffix])])])}})},details:M?z=>createBaseVNode(Fragment,null,[a.details?.(z),P&&createBaseVNode(Fragment,null,[createBaseVNode("span",null,null),createVNode(VCounter,{active:e.persistentCounter||u.value,value:y.value,max:v.value,disabled:e.disabled},a.counter)])]):void 0})}),forwardRefs({},_,S,b)}}),_hoisted_1$8={class:"d-none d-sm-block"},_hoisted_2$7={class:"mr-2"},_hoisted_3$7={class:"mr-2"},_sfc_main$e=defineComponent$1({__name:"GlobalSearchDialog",setup(e){const t=useRouter$1(),{mobile:r}=useDisplay(),{t:i}=useI18n$1(),a=ref(!1);ref([]);const c=ref([]),u=ref(null),d=ref(0),f=ref([]),m=ref(!1),y=ref(!1),v=computed(()=>{let b=[];return u.value!=""&&u.value!=null?(c.value.filter(k=>k.name.toLowerCase().includes(u.value.toLowerCase())).slice(0,10).forEach(k=>{b.push({name:k.name,image:k.image,recipeId:k.id,type:"recipe"})}),b.length<3&&f.value.slice(0,5).forEach(k=>{b.findIndex(C=>C.recipeId==k.id)==-1&&b.push({name:k.name,image:k.image,recipeId:k.id,type:"recipe"})}),b.push({name:u.value,icon:"fas fa-search",type:"link_advanced_search"})):(b.push({name:i("AllRecipes"),icon:"fas fa-search",type:"link_advanced_search"}),c.value.slice(0,5).forEach(k=>{b.push({name:k.name,image:k.image,recipeId:k.id})})),b});watch(a,b=>{u.value="",setTimeout(()=>{if(b){let k=document.getElementById("id_global_search_input");k?.focus()}},20)}),watch(u,()=>{d.value>=v.value.length&&(d.value=v.value.length-1)}),onMounted(()=>{window.addEventListener("keydown",k=>{a.value?(k.key=="ArrowUp"&&(d.value=Math.max(0,d.value-1)),k.key=="ArrowDown"&&(d.value=Math.min(v.value.length,d.value+1)),k.key=="Enter"&&S(d.value)):k.key=="k"&&k.ctrlKey&&(k.preventDefault(),a.value=!0)}),m.value=!0,new ApiApi().apiRecipeFlatList().then(k=>{c.value=k}).catch(k=>{useMessageStore().addError(ErrorMessageType.FETCH_ERROR,k)}).finally(()=>{m.value=!1})});const w=useDebounceFn(()=>{if(u.value!=null&&u.value!=""){let b=new ApiApi;y.value=!0,b.apiRecipeList({query:u.value}).then(k=>{f.value=k.results}).catch(k=>{useMessageStore().addError(ErrorMessageType.FETCH_ERROR,k)}).finally(()=>{y.value=!1})}},300);function _(b){return d.value==b?"tonal":"elevated"}function S(b){a.value=!1;let k=v.value[b];k.type=="link_advanced_search"?t.push({name:"SearchPage",query:{query:u.value}}):(console.log("going to",k.recipeId),k.recipeId!=null&&t.push({name:"RecipeViewPage",params:{id:k.recipeId}}))}return(b,k)=>(openBlock(),createElementBlock(Fragment,null,[renderSlot$1(b.$slots,"activator",{},()=>[unref(r)?(openBlock(),createBlock(VBtn,{key:0,onClick:k[0]||(k[0]=C=>a.value=!0),variant:"plain",icon:"fa-solid fa-search",class:"mr-1 fa-fw d-print-none"})):(openBlock(),createBlock(VBtn,{key:1,onClick:k[1]||(k[1]=C=>a.value=!0),variant:"plain",class:"d-print-none"},{default:withCtx(()=>[createVNode(VIcon,{icon:"fa-solid fa-search",class:"mr-1 fa-fw"}),createBaseVNode("span",_hoisted_1$8,toDisplayString$1(b.$t("Search")),1),createVNode(VChip,{size:"x-small",variant:"tonal",class:"d-none d-md-flex ml-1",label:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(b.$t("Ctrl+K")),1)]),_:1})]),_:1}))]),createVNode(VDialog,{modelValue:a.value,"onUpdate:modelValue":k[6]||(k[6]=C=>a.value=C),location:"id_dialog_anchor","location-strategy":"connected","max-width":unref(r)?"100vw":"800px",fullscreen:unref(r)},{default:withCtx(()=>[createVNode(VCard,null,{default:withCtx(()=>[createVNode(_sfc_main$f,{title:b.$t("Search"),modelValue:a.value,"onUpdate:modelValue":k[2]||(k[2]=C=>a.value=C)},null,8,["title","modelValue"]),createVNode(VCardText,{class:"pt-0 pt-md-2"},{default:withCtx(()=>[createVNode(VTextField,{id:"id_global_search_input",modelValue:u.value,"onUpdate:modelValue":[k[3]||(k[3]=C=>u.value=C),unref(w)],autocomplete:"off",clearable:"",placeholder:"Search","prepend-inner-icon":"fas fa-search",variant:"solo"},null,8,["modelValue","onUpdate:modelValue"]),(openBlock(!0),createElementBlock(Fragment,null,renderList(v.value,(C,O)=>(openBlock(),createBlock(VCard,{variant:_(O),hover:"",class:"mt-1",onClick:T=>d.value=O,key:O},{default:withCtx(()=>[createVNode(VCardTitle,{onClick:T=>S(O)},{default:withCtx(()=>[C.image?(openBlock(),createBlock(VAvatar,{key:0,image:C.image},null,8,["image"])):C.recipeId!==void 0?(openBlock(),createBlock(VAvatar,{key:1,color:"tandoor"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(C.name.charAt(0)),1)]),_:2},1024)):createCommentVNode("",!0),C.icon?(openBlock(),createBlock(VIcon,{key:2,icon:C.icon},null,8,["icon"])):createCommentVNode("",!0),createTextVNode(" "+toDisplayString$1(C.name),1)]),_:2},1032,["onClick"])]),_: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(()=>k[7]||(k[7]=[createBaseVNode("i",{class:"fas fa-arrow-up"},null,-1)])),_:1,__:[7]}),createVNode(VChip,{size:"x-small",class:"mr-1",label:""},{default:withCtx(()=>k[8]||(k[8]=[createBaseVNode("i",{class:"fas fa-arrow-down"},null,-1)])),_:1,__:[8]}),createBaseVNode("small",_hoisted_2$7,toDisplayString$1(b.$t("to_navigate")),1),createVNode(VChip,{size:"x-small",class:"mr-1",label:""},{default:withCtx(()=>k[9]||(k[9]=[createBaseVNode("i",{class:"fas fa-level-down-alt fa-rotate-90"},null,-1)])),_:1,__:[9]}),createBaseVNode("small",_hoisted_3$7,toDisplayString$1(b.$t("to_select")),1),createVNode(VChip,{size:"x-small",class:"mr-1",label:""},{default:withCtx(()=>k[10]||(k[10]=[createTextVNode(" esc")])),_:1,__:[10]}),createBaseVNode("small",null,toDisplayString$1(b.$t("to_close")),1)]),_:1}),createVNode(VCardActions,null,{default:withCtx(()=>[createVNode(VBtn,{onClick:k[4]||(k[4]=C=>a.value=!1),to:{name:"SearchPage"},variant:"plain","prepend-icon":"$search"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(b.$t("Advanced")),1)]),_:1}),createVNode(VBtn,{onClick:k[5]||(k[5]=C=>a.value=!1),variant:"plain"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(b.$t("Close")),1)]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","max-width","fullscreen"])],64))}});function useRefs$1(){const e=ref([]);onBeforeUpdate(()=>e.value=[]);function t(r,i){e.value[i]=r}return{refs:e,updateRef:t}}const makeVPaginationProps=propsFactory({activeColor:String,start:{type:[Number,String],default:1},modelValue:{type:Number,default:e=>e.start},disabled:Boolean,length:{type:[Number,String],default:1,validator:e=>e%1===0},totalVisible:[Number,String],firstIcon:{type:IconValue,default:"$first"},prevIcon:{type:IconValue,default:"$prev"},nextIcon:{type:IconValue,default:"$next"},lastIcon:{type:IconValue,default:"$last"},ariaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.root"},pageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.page"},currentPageAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.currentPage"},firstAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.first"},previousAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.previous"},nextAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.next"},lastAriaLabel:{type:String,default:"$vuetify.pagination.ariaLabel.last"},ellipsis:{type:String,default:"..."},showFirstLastPage:Boolean,...makeBorderProps(),...makeComponentProps(),...makeDensityProps(),...makeElevationProps(),...makeRoundedProps(),...makeSizeProps(),...makeTagProps({tag:"nav"}),...makeThemeProps(),...makeVariantProps({variant:"text"})},"VPagination"),VPagination=genericComponent()({name:"VPagination",props:makeVPaginationProps(),emits:{"update:modelValue":e=>!0,first:e=>!0,prev:e=>!0,next:e=>!0,last:e=>!0},setup(e,t){let{slots:r,emit:i}=t;const a=useProxiedModel(e,"modelValue"),{t:c,n:u}=useLocale(),{isRtl:d}=useRtl(),{themeClasses:f}=provideTheme(e),{width:m}=useDisplay(),y=shallowRef(-1);provideDefaults(void 0,{scoped:!0});const{resizeRef:v}=useResizeObserver(D=>{if(!D.length)return;const{target:F,contentRect:I}=D[0],U=F.querySelector(".v-pagination__list > *");if(!U)return;const $=I.width,z=U.offsetWidth+parseFloat(getComputedStyle(U).marginRight)*2;y.value=b($,z)}),w=computed(()=>parseInt(e.length,10)),_=computed(()=>parseInt(e.start,10)),S=computed(()=>e.totalVisible!=null?parseInt(e.totalVisible,10):y.value>=0?y.value:b(m.value,58));function b(D,F){const I=e.showFirstLastPage?5:3;return Math.max(0,Math.floor(Number(((D-F*I)/F).toFixed(2))))}const k=computed(()=>{if(w.value<=0||isNaN(w.value)||w.value>Number.MAX_SAFE_INTEGER)return[];if(S.value<=0)return[];if(S.value===1)return[a.value];if(w.value<=S.value)return createRange(w.value,_.value);const D=S.value%2===0,F=D?S.value/2:Math.floor(S.value/2),I=D?F:F+1,U=w.value-F;if(I-a.value>=0)return[...createRange(Math.max(1,S.value-1),_.value),e.ellipsis,w.value];if(a.value-U>=(D?1:0)){const $=S.value-1,z=w.value-$+_.value;return[_.value,e.ellipsis,...createRange($,z)]}else{const $=Math.max(1,S.value-2),z=$===1?a.value:a.value-Math.ceil($/2)+_.value;return[_.value,e.ellipsis,...createRange($,z),e.ellipsis,w.value]}});function C(D,F,I){D.preventDefault(),a.value=F,I&&i(I,F)}const{refs:O,updateRef:T}=useRefs$1();provideDefaults({VPaginationBtn:{color:toRef$2(()=>e.color),border:toRef$2(()=>e.border),density:toRef$2(()=>e.density),size:toRef$2(()=>e.size),variant:toRef$2(()=>e.variant),rounded:toRef$2(()=>e.rounded),elevation:toRef$2(()=>e.elevation)}});const E=computed(()=>k.value.map((D,F)=>{const I=U=>T(U,F);if(typeof D=="string")return{isActive:!1,key:`ellipsis-${F}`,page:D,props:{ref:I,ellipsis:!0,icon:!0,disabled:!0}};{const U=D===a.value;return{isActive:U,key:D,page:u(D),props:{ref:I,ellipsis:!1,icon:!0,disabled:!!e.disabled||Number(e.length)<2,color:U?e.activeColor:e.color,"aria-current":U,"aria-label":c(U?e.currentPageAriaLabel:e.pageAriaLabel,D),onClick:$=>C($,D)}}}})),A=computed(()=>{const D=!!e.disabled||a.value<=_.value,F=!!e.disabled||a.value>=_.value+w.value-1;return{first:e.showFirstLastPage?{icon:d.value?e.lastIcon:e.firstIcon,onClick:I=>C(I,_.value,"first"),disabled:D,"aria-label":c(e.firstAriaLabel),"aria-disabled":D}:void 0,prev:{icon:d.value?e.nextIcon:e.prevIcon,onClick:I=>C(I,a.value-1,"prev"),disabled:D,"aria-label":c(e.previousAriaLabel),"aria-disabled":D},next:{icon:d.value?e.prevIcon:e.nextIcon,onClick:I=>C(I,a.value+1,"next"),disabled:F,"aria-label":c(e.nextAriaLabel),"aria-disabled":F},last:e.showFirstLastPage?{icon:d.value?e.firstIcon:e.lastIcon,onClick:I=>C(I,_.value+w.value-1,"last"),disabled:F,"aria-label":c(e.lastAriaLabel),"aria-disabled":F}:void 0}});function P(){const D=a.value-_.value;O.value[D]?.$el.focus()}function M(D){D.key===keyValues.left&&!e.disabled&&a.value>Number(e.start)?(a.value=a.value-1,nextTick(P)):D.key===keyValues.right&&!e.disabled&&a.value<_.value+w.value-1&&(a.value=a.value+1,nextTick(P))}return useRender(()=>createVNode(e.tag,{ref:v,class:normalizeClass(["v-pagination",f.value,e.class]),style:normalizeStyle(e.style),role:"navigation","aria-label":c(e.ariaLabel),onKeydown:M,"data-test":"v-pagination-root"},{default:()=>[createBaseVNode("ul",{class:"v-pagination__list"},[e.showFirstLastPage&&createBaseVNode("li",{key:"first",class:"v-pagination__first","data-test":"v-pagination-first"},[r.first?r.first(A.value.first):createVNode(VBtn,mergeProps({_as:"VPaginationBtn"},A.value.first),null)]),createBaseVNode("li",{key:"prev",class:"v-pagination__prev","data-test":"v-pagination-prev"},[r.prev?r.prev(A.value.prev):createVNode(VBtn,mergeProps({_as:"VPaginationBtn"},A.value.prev),null)]),E.value.map((D,F)=>createBaseVNode("li",{key:D.key,class:normalizeClass(["v-pagination__item",{"v-pagination__item--is-active":D.isActive}]),"data-test":"v-pagination-item"},[r.item?r.item(D):createVNode(VBtn,mergeProps({_as:"VPaginationBtn"},D.props),{default:()=>[D.page]})])),createBaseVNode("li",{key:"next",class:"v-pagination__next","data-test":"v-pagination-next"},[r.next?r.next(A.value.next):createVNode(VBtn,mergeProps({_as:"VPaginationBtn"},A.value.next),null)]),e.showFirstLastPage&&createBaseVNode("li",{key:"last",class:"v-pagination__last","data-test":"v-pagination-last"},[r.last?r.last(A.value.last):createVNode(VBtn,mergeProps({_as:"VPaginationBtn"},A.value.last),null)])])]})),{}}}),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,Object],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 i=useProxiedModel(e,"modelValue"),a=useId(),c=toRef$2(()=>e.id||`v-selection-control-group-${a}`),u=toRef$2(()=>e.name||c.value),d=new Set;return provide(VSelectionControlGroupSymbol,{modelValue:i,forceUpdate:()=>{d.forEach(f=>f())},onForceUpdate:f=>{d.add(f),onScopeDispose(()=>{d.delete(f)})}}),provideDefaults({[e.defaultsTarget]:{color:toRef$2(()=>e.color),disabled:toRef$2(()=>e.disabled),density:toRef$2(()=>e.density),error:toRef$2(()=>e.error),inline:toRef$2(()=>e.inline),modelValue:i,multiple:toRef$2(()=>!!e.multiple||e.multiple==null&&Array.isArray(i.value)),name:u,falseIcon:toRef$2(()=>e.falseIcon),trueIcon:toRef$2(()=>e.trueIcon),readonly:toRef$2(()=>e.readonly),ripple:toRef$2(()=>e.ripple),type:toRef$2(()=>e.type),valueComparator:toRef$2(()=>e.valueComparator)}}),useRender(()=>createBaseVNode("div",{class:normalizeClass(["v-selection-control-group",{"v-selection-control-group--inline":e.inline},e.class]),style:normalizeStyle(e.style),role:e.type==="radio"?"radiogroup":void 0},[r.default?.()])),{}}});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),i=useProxiedModel(e,"modelValue"),a=computed(()=>e.trueValue!==void 0?e.trueValue:e.value!==void 0?e.value:!0),c=computed(()=>e.falseValue!==void 0?e.falseValue:!1),u=computed(()=>!!e.multiple||e.multiple==null&&Array.isArray(i.value)),d=computed({get(){const _=t?t.modelValue.value:i.value;return u.value?wrapInArray(_).some(S=>e.valueComparator(S,a.value)):e.valueComparator(_,a.value)},set(_){if(e.readonly)return;const S=_?a.value:c.value;let b=S;u.value&&(b=_?[...wrapInArray(i.value),S]:wrapInArray(i.value).filter(k=>!e.valueComparator(k,a.value))),t?t.modelValue.value=b:i.value=b}}),{textColorClasses:f,textColorStyles:m}=useTextColor(()=>{if(!(e.error||e.disabled))return d.value?e.color:e.baseColor}),{backgroundColorClasses:y,backgroundColorStyles:v}=useBackgroundColor(()=>d.value&&!e.error&&!e.disabled?e.color:e.baseColor),w=computed(()=>d.value?e.trueIcon:e.falseIcon);return{group:t,densityClasses:r,trueValue:a,falseValue:c,model:d,textColorClasses:f,textColorStyles:m,backgroundColorClasses:y,backgroundColorStyles:v,icon:w}}const VSelectionControl=genericComponent()({name:"VSelectionControl",directives:{vRipple:Ripple},inheritAttrs:!1,props:makeVSelectionControlProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{attrs:r,slots:i}=t;const{group:a,densityClasses:c,icon:u,model:d,textColorClasses:f,textColorStyles:m,backgroundColorClasses:y,backgroundColorStyles:v,trueValue:w}=useSelectionControl(e),_=useId(),S=shallowRef(!1),b=shallowRef(!1),k=ref(),C=toRef$2(()=>e.id||`input-${_}`),O=toRef$2(()=>!e.disabled&&!e.readonly);a?.onForceUpdate(()=>{k.value&&(k.value.checked=d.value)});function T(M){O.value&&(S.value=!0,matchesSelector(M.target,":focus-visible")!==!1&&(b.value=!0))}function E(){S.value=!1,b.value=!1}function A(M){M.stopPropagation()}function P(M){if(!O.value){k.value&&(k.value.checked=d.value);return}e.readonly&&a&&nextTick(()=>a.forceUpdate()),d.value=M.target.checked}return useRender(()=>{const M=i.label?i.label({label:e.label,props:{for:C.value}}):e.label,[D,F]=filterInputAttrs(r),I=createBaseVNode("input",mergeProps({ref:k,checked:d.value,disabled:!!e.disabled,id:C.value,onBlur:E,onFocus:T,onInput:P,"aria-disabled":!!e.disabled,"aria-label":e.label,type:e.type,value:w.value,name:e.name,"aria-checked":e.type==="checkbox"?d.value:void 0},F),null);return createBaseVNode("div",mergeProps({class:["v-selection-control",{"v-selection-control--dirty":d.value,"v-selection-control--disabled":e.disabled,"v-selection-control--error":e.error,"v-selection-control--focused":S.value,"v-selection-control--focus-visible":b.value,"v-selection-control--inline":e.inline},c.value,e.class]},D,{style:e.style}),[createBaseVNode("div",{class:normalizeClass(["v-selection-control__wrapper",f.value]),style:normalizeStyle(m.value)},[i.default?.({backgroundColorClasses:y,backgroundColorStyles:v}),withDirectives(createBaseVNode("div",{class:normalizeClass(["v-selection-control__input"])},[i.input?.({model:d,textColorClasses:f,textColorStyles:m,backgroundColorClasses:y,backgroundColorStyles:v,inputNode:I,icon:u.value,props:{onFocus:T,onBlur:E,id:C.value}})??createBaseVNode(Fragment,null,[u.value&&createVNode(VIcon,{key:"icon",icon:u.value},null),I])]),[[Ripple,!e.disabled&&!e.readonly&&e.ripple,null,{center:!0,circle:!0}]])]),M&&createVNode(VLabel,{for:C.value,onClick:A},{default:()=>[M]})])}),{isFocused:S,input:k}}}),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 i=useProxiedModel(e,"indeterminate"),a=useProxiedModel(e,"modelValue");function c(f){i.value&&(i.value=!1)}const u=toRef$2(()=>i.value?e.indeterminateIcon:e.falseIcon),d=toRef$2(()=>i.value?e.indeterminateIcon:e.trueIcon);return useRender(()=>{const f=omit(VSelectionControl.filterProps(e),["modelValue"]);return createVNode(VSelectionControl,mergeProps(f,{modelValue:a.value,"onUpdate:modelValue":[m=>a.value=m,c],class:["v-checkbox-btn",e.class],style:e.style,type:"checkbox",falseIcon:u.value,trueIcon:d.value,"aria-checked":i.value?"mixed":void 0}),r)}),{}}}),makeVCheckboxProps=propsFactory({...makeVInputProps(),...omit(makeVCheckboxBtnProps(),["inline"])},"VCheckbox"),VCheckbox=genericComponent()({name:"VCheckbox",inheritAttrs:!1,props:makeVCheckboxProps(),emits:{"update:modelValue":e=>!0,"update:focused":e=>!0},setup(e,t){let{attrs:r,slots:i}=t;const a=useProxiedModel(e,"modelValue"),{isFocused:c,focus:u,blur:d}=useFocus(e),f=ref(),m=useId();return useRender(()=>{const[y,v]=filterInputAttrs(r),w=VInput.filterProps(e),_=VCheckboxBtn.filterProps(e);return createVNode(VInput,mergeProps({ref:f,class:["v-checkbox",e.class]},y,w,{modelValue:a.value,"onUpdate:modelValue":S=>a.value=S,id:e.id||`checkbox-${m}`,focused:c.value,style:e.style}),{...i,default:S=>{let{id:b,messagesId:k,isDisabled:C,isReadonly:O,isValid:T}=S;return createVNode(VCheckboxBtn,mergeProps(_,{id:b.value,"aria-describedby":k.value,disabled:C.value,readonly:O.value},v,{error:T.value===!1,modelValue:a.value,"onUpdate:modelValue":E=>a.value=E,onFocus:u,onBlur:d}),i)}})}),forwardRefs({},f)}}),ListKey=Symbol.for("vuetify:list");function createList(){let{filterable:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{filterable:!1};const t=inject$1(ListKey,{filterable:!1,hasPrepend:shallowRef(!1),updateHasPrepend:()=>null}),r={filterable:t.filterable||e,hasPrepend:shallowRef(!1),updateHasPrepend:i=>{i&&(r.hasPrepend.value=i)}};return provide(ListKey,r),t}function useList(){return inject$1(ListKey,null)}const independentActiveStrategy=e=>{const t={activate:r=>{let{id:i,value:a,activated:c}=r;return i=toRaw(i),e&&!a&&c.size===1&&c.has(i)||(a?c.add(i):c.delete(i)),c},in:(r,i,a)=>{let c=new Set;if(r!=null)for(const u of wrapInArray(r))c=t.activate({id:u,value:!0,activated:new Set(c),children:i,parents:a});return c},out:r=>Array.from(r)};return t},independentSingleActiveStrategy=e=>{const t=independentActiveStrategy(e);return{activate:i=>{let{activated:a,id:c,...u}=i;c=toRaw(c);const d=a.has(c)?new Set([c]):new Set;return t.activate({...u,id:c,activated:d})},in:(i,a,c)=>{let u=new Set;if(i!=null){const d=wrapInArray(i);d.length&&(u=t.in(d.slice(0,1),a,c))}return u},out:(i,a,c)=>t.out(i,a,c)}},leafActiveStrategy=e=>{const t=independentActiveStrategy(e);return{activate:i=>{let{id:a,activated:c,children:u,...d}=i;return a=toRaw(a),u.has(a)?c:t.activate({id:a,activated:c,children:u,...d})},in:t.in,out:t.out}},leafSingleActiveStrategy=e=>{const t=independentSingleActiveStrategy(e);return{activate:i=>{let{id:a,activated:c,children:u,...d}=i;return a=toRaw(a),u.has(a)?c:t.activate({id:a,activated:c,children:u,...d})},in:t.in,out:t.out}},singleOpenStrategy={open:e=>{let{id:t,value:r,opened:i,parents:a}=e;if(r){const c=new Set;c.add(t);let u=a.get(t);for(;u!=null;)c.add(u),u=a.get(u);return c}else return i.delete(t),i},select:()=>null},multipleOpenStrategy={open:e=>{let{id:t,value:r,opened:i,parents:a}=e;if(r){let c=a.get(t);for(i.add(t);c!=null&&c!==t;)i.add(c),c=a.get(c);return i}else i.delete(t);return i},select:()=>null},listOpenStrategy={open:multipleOpenStrategy.open,select:e=>{let{id:t,value:r,opened:i,parents:a}=e;if(!r)return i;const c=[];let u=a.get(t);for(;u!=null;)c.push(u),u=a.get(u);return new Set(c)}},independentSelectStrategy=e=>{const t={select:r=>{let{id:i,value:a,selected:c}=r;if(i=toRaw(i),e&&!a){const u=Array.from(c.entries()).reduce((d,f)=>{let[m,y]=f;return y==="on"&&d.push(m),d},[]);if(u.length===1&&u[0]===i)return c}return c.set(i,a?"on":"off"),c},in:(r,i,a,c)=>{const u=new Map;for(const d of r||[])t.select({id:d,value:!0,selected:u,children:i,parents:a,disabled:c});return u},out:r=>{const i=[];for(const[a,c]of r.entries())c==="on"&&i.push(a);return i}};return t},independentSingleSelectStrategy=e=>{const t=independentSelectStrategy(e);return{select:i=>{let{selected:a,id:c,...u}=i;c=toRaw(c);const d=a.has(c)?new Map([[c,a.get(c)]]):new Map;return t.select({...u,id:c,selected:d})},in:(i,a,c,u)=>i?.length?t.in(i.slice(0,1),a,c,u):new Map,out:(i,a,c)=>t.out(i,a,c)}},leafSelectStrategy=e=>{const t=independentSelectStrategy(e);return{select:i=>{let{id:a,selected:c,children:u,...d}=i;return a=toRaw(a),u.has(a)?c:t.select({id:a,selected:c,children:u,...d})},in:t.in,out:t.out}},leafSingleSelectStrategy=e=>{const t=independentSingleSelectStrategy(e);return{select:i=>{let{id:a,selected:c,children:u,...d}=i;return a=toRaw(a),u.has(a)?c:t.select({id:a,selected:c,children:u,...d})},in:t.in,out:t.out}},classicSelectStrategy=e=>{const t={select:r=>{let{id:i,value:a,selected:c,children:u,parents:d,disabled:f}=r;i=toRaw(i);const m=new Map(c),y=[i];for(;y.length;){const w=y.shift();f.has(w)||c.set(toRaw(w),a?"on":"off"),u.has(w)&&y.push(...u.get(w))}let v=toRaw(d.get(i));for(;v;){let w=!0,_=!0;for(const S of u.get(v)){const b=toRaw(S);if(!f.has(b)&&(c.get(b)!=="on"&&(w=!1),c.has(b)&&c.get(b)!=="off"&&(_=!1),!w&&!_))break}c.set(v,w?"on":_?"off":"indeterminate"),v=toRaw(d.get(v))}return e&&!a&&Array.from(c.entries()).reduce((_,S)=>{let[b,k]=S;return k==="on"&&_.push(b),_},[]).length===0?m:c},in:(r,i,a,c)=>{let u=new Map;for(const d of r||[])u=t.select({id:d,value:!0,selected:u,children:i,parents:a,disabled:c});return u},out:(r,i)=>{const a=[];for(const[c,u]of r.entries())u==="on"&&!i.has(c)&&a.push(c);return a}};return t},trunkSelectStrategy=e=>{const t=classicSelectStrategy(e);return{select:t.select,in:t.in,out:(i,a,c)=>{const u=[];for(const[d,f]of i.entries())if(f==="on"){if(c.has(d)){const m=c.get(d);if(i.get(m)==="on")continue}u.push(d)}return u}}},VNestedSymbol=Symbol.for("vuetify:nested"),emptyNested={id:shallowRef(),root:{register:()=>null,unregister:()=>null,children:ref(new Map),parents:ref(new Map),disabled:ref(new Set),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([]),getPath:()=>[]}},makeNestedProps=propsFactory({activatable:Boolean,selectable:Boolean,activeStrategy:[String,Function,Object],selectStrategy:[String,Function,Object],openStrategy:[String,Object],opened:null,activated:null,selected:null,mandatory:Boolean},"nested"),useNested=e=>{let t=!1;const r=shallowRef(new Map),i=shallowRef(new Map),a=shallowRef(new Set),c=useProxiedModel(e,"opened",e.opened,b=>new Set(Array.isArray(b)?b.map(k=>toRaw(k)):b),b=>[...b.values()]),u=computed(()=>{if(typeof e.activeStrategy=="object")return e.activeStrategy;if(typeof e.activeStrategy=="function")return e.activeStrategy(e.mandatory);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)}}),d=computed(()=>{if(typeof e.selectStrategy=="object")return e.selectStrategy;if(typeof e.selectStrategy=="function")return e.selectStrategy(e.mandatory);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"trunk":return trunkSelectStrategy(e.mandatory);case"classic":default:return classicSelectStrategy(e.mandatory)}}),f=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}}),m=useProxiedModel(e,"activated",e.activated,b=>u.value.in(b,r.value,i.value),b=>u.value.out(b,r.value,i.value)),y=useProxiedModel(e,"selected",e.selected,b=>d.value.in(b,r.value,i.value,a.value),b=>d.value.out(b,r.value,i.value));onBeforeUnmount(()=>{t=!0});function v(b){const k=[];let C=toRaw(b);for(;C!==void 0;)k.unshift(C),C=i.value.get(C);return k}const w=getCurrentInstance("nested"),_=new Set,S={id:shallowRef(),root:{opened:c,activatable:toRef$2(()=>e.activatable),selectable:toRef$2(()=>e.selectable),activated:m,selected:y,selectedValues:computed(()=>{const b=[];for(const[k,C]of y.value.entries())C==="on"&&b.push(k);return b}),register:(b,k,C,O)=>{if(_.has(b)){v(b).map(String).join(" -> "),v(k).concat(b).map(String).join(" -> ");return}else _.add(b);k&&b!==k&&i.value.set(b,k),C&&a.value.add(b),O&&r.value.set(b,[]),k!=null&&r.value.set(k,[...r.value.get(k)||[],b])},unregister:b=>{if(t)return;_.delete(b),r.value.delete(b),a.value.delete(b);const k=i.value.get(b);if(k){const C=r.value.get(k)??[];r.value.set(k,C.filter(O=>O!==b))}i.value.delete(b)},open:(b,k,C)=>{w.emit("click:open",{id:b,value:k,path:v(b),event:C});const O=f.value.open({id:b,value:k,opened:new Set(c.value),children:r.value,parents:i.value,event:C});O&&(c.value=O)},openOnSelect:(b,k,C)=>{const O=f.value.select({id:b,value:k,selected:new Map(y.value),opened:new Set(c.value),children:r.value,parents:i.value,event:C});O&&(c.value=O)},select:(b,k,C)=>{w.emit("click:select",{id:b,value:k,path:v(b),event:C});const O=d.value.select({id:b,value:k,selected:new Map(y.value),children:r.value,parents:i.value,disabled:a.value,event:C});O&&(y.value=O),S.root.openOnSelect(b,k,C)},activate:(b,k,C)=>{if(!e.activatable)return S.root.select(b,!0,C);w.emit("click:activate",{id:b,value:k,path:v(b),event:C});const O=u.value.activate({id:b,value:k,activated:new Set(m.value),children:r.value,parents:i.value,event:C});if(O.size!==m.value.size)m.value=O;else{for(const T of O)if(!m.value.has(T)){m.value=O;return}for(const T of m.value)if(!O.has(T)){m.value=O;return}}},children:r,parents:i,disabled:a,getPath:v}};return provide(VNestedSymbol,S),S.root},useNestedItem=(e,t,r)=>{const i=inject$1(VNestedSymbol,emptyNested),a=Symbol("nested item"),c=computed(()=>{const d=toRaw(toValue(e));return d!==void 0?d:a}),u={...i,id:c,open:(d,f)=>i.root.open(c.value,d,f),openOnSelect:(d,f)=>i.root.openOnSelect(c.value,d,f),isOpen:computed(()=>i.root.opened.value.has(c.value)),parent:computed(()=>i.root.parents.value.get(c.value)),activate:(d,f)=>i.root.activate(c.value,d,f),isActivated:computed(()=>i.root.activated.value.has(c.value)),select:(d,f)=>i.root.select(c.value,d,f),isSelected:computed(()=>i.root.selected.value.get(c.value)==="on"),isIndeterminate:computed(()=>i.root.selected.value.get(c.value)==="indeterminate"),isLeaf:computed(()=>!i.root.children.value.get(c.value)),isGroupActivator:i.isGroupActivator};return onBeforeMount(()=>{i.isGroupActivator||i.root.register(c.value,i.id.value,toValue(t),r)}),onBeforeUnmount(()=>{i.isGroupActivator||i.root.unregister(c.value)}),r&&provide(VNestedSymbol,u),u},useNestedGroupActivator=()=>{const e=inject$1(VNestedSymbol,emptyNested);provide(VNestedSymbol,{...e,isGroupActivator:!0})};function useSsrBoot(){const e=shallowRef(!1);return onMounted(()=>{window.requestAnimationFrame(()=>{e.value=!0})}),{ssrBootStyles:toRef$2(()=>e.value?void 0:{transition:"none !important"}),isBooted:readonly(e)}}const VListGroupActivator=defineComponent({name:"VListGroupActivator",setup(e,t){let{slots:r}=t;return useNestedGroupActivator(),()=>r.default?.()}}),makeVListGroupProps=propsFactory({activeColor:String,baseColor:String,color:String,collapseIcon:{type:IconValue,default:"$collapse"},disabled:Boolean,expandIcon:{type:IconValue,default:"$expand"},rawId:[String,Number],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:i,open:a,id:c}=useNestedItem(()=>e.value,()=>e.disabled,!0),u=computed(()=>`v-list-group--id-${String(e.rawId??c.value)}`),d=useList(),{isBooted:f}=useSsrBoot();function m(_){["INPUT","TEXTAREA"].includes(_.target?.tagName)||a(!i.value,_)}const y=computed(()=>({onClick:m,class:"v-list-group__header",id:u.value})),v=computed(()=>i.value?e.collapseIcon:e.expandIcon),w=computed(()=>({VListItem:{activeColor:e.activeColor,baseColor:e.baseColor,color:e.color,prependIcon:e.prependIcon||e.subgroup&&v.value,appendIcon:e.appendIcon||!e.subgroup&&v.value,title:e.title,value:e.value}}));return useRender(()=>createVNode(e.tag,{class:normalizeClass(["v-list-group",{"v-list-group--prepend":d?.hasPrepend.value,"v-list-group--fluid":e.fluid,"v-list-group--subgroup":e.subgroup,"v-list-group--open":i.value},e.class]),style:normalizeStyle(e.style)},{default:()=>[r.activator&&createVNode(VDefaultsProvider,{defaults:w.value},{default:()=>[createVNode(VListGroupActivator,null,{default:()=>[r.activator({props:y.value,isOpen:i.value})]})]}),createVNode(MaybeTransition,{transition:{component:VExpandTransition},disabled:!f.value},{default:()=>[withDirectives(createBaseVNode("div",{class:"v-list-group__items",role:"group","aria-labelledby":u.value},[r.default?.()]),[[vShow,i.value]])]})]})),{isOpen:i}}}),makeVListItemSubtitleProps=propsFactory({opacity:[Number,String],...makeComponentProps(),...makeTagProps()},"VListItemSubtitle"),VListItemSubtitle=genericComponent()({name:"VListItemSubtitle",props:makeVListItemSubtitleProps(),setup(e,t){let{slots:r}=t;return useRender(()=>createVNode(e.tag,{class:normalizeClass(["v-list-item-subtitle",e.class]),style:normalizeStyle([{"--v-list-item-subtitle-opacity":e.opacity},e.style])},r)),{}}}),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:[Boolean,String],link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:IconValue,ripple:{type:[Boolean,Object],default:!0},slim:Boolean,subtitle:{type:[String,Number,Boolean],default:void 0},title:{type:[String,Number,Boolean],default:void 0},value:null,onClick:EventProp(),onClickOnce:EventProp(),...makeBorderProps(),...makeComponentProps(),...makeDensityProps(),...makeDimensionProps(),...makeElevationProps(),...makeRoundedProps(),...makeRouterProps(),...makeTagProps(),...makeThemeProps(),...makeVariantProps({variant:"text"})},"VListItem"),VListItem=genericComponent()({name:"VListItem",directives:{vRipple:Ripple},props:makeVListItemProps(),emits:{click:e=>!0},setup(e,t){let{attrs:r,slots:i,emit:a}=t;const c=useLink(e,r),u=computed(()=>e.value===void 0?c.href.value:e.value),{activate:d,isActivated:f,select:m,isOpen:y,isSelected:v,isIndeterminate:w,isGroupActivator:_,root:S,parent:b,openOnSelect:k,id:C}=useNestedItem(u,()=>e.disabled,!1),O=useList(),T=computed(()=>e.active!==!1&&(e.active||c.isActive?.value||(S.activatable.value?f.value:v.value))),E=toRef$2(()=>e.link!==!1&&c.isLink.value),A=computed(()=>!!O&&(S.selectable.value||S.activatable.value||e.value!=null)),P=computed(()=>!e.disabled&&e.link!==!1&&(e.link||c.isClickable.value||A.value)),M=toRef$2(()=>e.rounded||e.nav),D=toRef$2(()=>e.color??e.activeColor),F=toRef$2(()=>({color:T.value?D.value??e.baseColor:e.baseColor,variant:e.variant}));watch(()=>c.isActive?.value,ke=>{ke&&I()}),onBeforeMount(()=>{c.isActive?.value&&I()});function I(){b.value!=null&&S.open(b.value,!0),k(!0)}const{themeClasses:U}=provideTheme(e),{borderClasses:$}=useBorder(e),{colorClasses:z,colorStyles:q,variantClasses:G}=useVariant(F),{densityClasses:ee}=useDensity(e),{dimensionStyles:ae}=useDimension(e),{elevationClasses:oe}=useElevation(e),{roundedClasses:Se}=useRounded(M),te=toRef$2(()=>e.lines?`v-list-item--${e.lines}-line`:void 0),se=toRef$2(()=>e.ripple!==void 0&&e.ripple&&O?.filterable?{keys:["Enter"]}:e.ripple),ne=computed(()=>({isActive:T.value,select:m,isOpen:y.value,isSelected:v.value,isIndeterminate:w.value}));function le(ke){a("click",ke),!["INPUT","TEXTAREA"].includes(ke.target?.tagName)&&P.value&&(c.navigate?.(ke),!_&&(S.activatable.value?d(!f.value,ke):(S.selectable.value||e.value!=null)&&m(!v.value,ke)))}function Oe(ke){const ye=ke.target;["INPUT","TEXTAREA"].includes(ye.tagName)||(ke.key==="Enter"||ke.key===" "&&!O?.filterable)&&(ke.preventDefault(),ke.stopPropagation(),ke.target.dispatchEvent(new MouseEvent("click",ke)))}return useRender(()=>{const ke=E.value?"a":e.tag,ye=i.title||e.title!=null,re=i.subtitle||e.subtitle!=null,ue=!!(e.appendAvatar||e.appendIcon),ie=!!(ue||i.append),pe=!!(e.prependAvatar||e.prependIcon),Te=!!(pe||i.prepend);return O?.updateHasPrepend(Te),e.activeColor&&deprecate("active-color",["color","base-color"]),withDirectives(createVNode(ke,mergeProps({class:["v-list-item",{"v-list-item--active":T.value,"v-list-item--disabled":e.disabled,"v-list-item--link":P.value,"v-list-item--nav":e.nav,"v-list-item--prepend":!Te&&O?.hasPrepend.value,"v-list-item--slim":e.slim,[`${e.activeClass}`]:e.activeClass&&T.value},U.value,$.value,z.value,ee.value,oe.value,te.value,Se.value,G.value,e.class],style:[q.value,ae.value,e.style],tabindex:P.value?O?-2:0:void 0,"aria-selected":A.value?S.activatable.value?f.value:S.selectable.value?v.value:T.value:void 0,onClick:le,onKeydown:P.value&&!E.value&&Oe},c.linkProps),{default:()=>[genOverlays(P.value||T.value,"v-list-item"),Te&&createBaseVNode("div",{key:"prepend",class:"v-list-item__prepend"},[i.prepend?createVNode(VDefaultsProvider,{key:"prepend-defaults",disabled:!pe,defaults:{VAvatar:{density:e.density,image:e.prependAvatar},VIcon:{density:e.density,icon:e.prependIcon},VListItemAction:{start:!0}}},{default:()=>[i.prepend?.(ne.value)]}):createBaseVNode(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)]),createBaseVNode("div",{class:"v-list-item__spacer"},null)]),createBaseVNode("div",{class:"v-list-item__content","data-no-activator":""},[ye&&createVNode(VListItemTitle,{key:"title"},{default:()=>[i.title?.({title:e.title})??toDisplayString$1(e.title)]}),re&&createVNode(VListItemSubtitle,{key:"subtitle"},{default:()=>[i.subtitle?.({subtitle:e.subtitle})??toDisplayString$1(e.subtitle)]}),i.default?.(ne.value)]),ie&&createBaseVNode("div",{key:"append",class:"v-list-item__append"},[i.append?createVNode(VDefaultsProvider,{key:"append-defaults",disabled:!ue,defaults:{VAvatar:{density:e.density,image:e.appendAvatar},VIcon:{density:e.density,icon:e.appendIcon},VListItemAction:{end:!0}}},{default:()=>[i.append?.(ne.value)]}):createBaseVNode(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)]),createBaseVNode("div",{class:"v-list-item__spacer"},null)])]}),[[Ripple,P.value&&se.value]])}),{activate:d,isActivated:f,isGroupActivator:_,isSelected:v,list:O,select:m,root:S,id:C,link:c}}}),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:i,textColorStyles:a}=useTextColor(()=>e.color);return useRender(()=>{const c=!!(r.default||e.title);return createVNode(e.tag,{class:normalizeClass(["v-list-subheader",{"v-list-subheader--inset":e.inset,"v-list-subheader--sticky":e.sticky},i.value,e.class]),style:normalizeStyle([{textColorStyles:a},e.style])},{default:()=>[c&&createBaseVNode("div",{class:"v-list-subheader__text"},[r.default?.()??e.title])]})}),{}}}),makeVListChildrenProps=propsFactory({items:Array,returnObject:Boolean},"VListChildren"),VListChildren=genericComponent()({name:"VListChildren",props:makeVListChildrenProps(),setup(e,t){let{slots:r}=t;return createList(),()=>r.default?.()??e.items?.map(i=>{let{children:a,props:c,type:u,raw:d}=i;if(u==="divider")return r.divider?.({props:c})??createVNode(VDivider,c,null);if(u==="subheader")return r.subheader?.({props:c})??createVNode(VListSubheader,c,null);const f={subtitle:r.subtitle?y=>r.subtitle?.({...y,item:d}):void 0,prepend:r.prepend?y=>r.prepend?.({...y,item:d}):void 0,append:r.append?y=>r.append?.({...y,item:d}):void 0,title:r.title?y=>r.title?.({...y,item:d}):void 0},m=VListGroup.filterProps(c);return a?createVNode(VListGroup,mergeProps(m,{value:e.returnObject?d:c?.value,rawId:c?.value}),{activator:y=>{let{props:v}=y;const w=mergeProps(c,v,{value:e.returnObject?d:c.value});return r.header?r.header({props:w}):createVNode(VListItem,w,f)},default:()=>createVNode(VListChildren,{items:a,returnObject:e.returnObject},r)}):r.item?r.item({props:c}):createVNode(VListItem,mergeProps(c,{value:e.returnObject?d:c.value}),f)})}}),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"},itemType:{type:[Boolean,String,Array,Function],default:"type"},returnObject:Boolean,valueComparator:Function},"list-items"),itemTypes$1=new Set(["item","divider","subheader"]);function transformItem$2(e,t){const r=getPropertyFromItem(t,e.itemTitle,t),i=getPropertyFromItem(t,e.itemValue,r),a=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);let u=getPropertyFromItem(t,e.itemType,"item");itemTypes$1.has(u)||(u="item");const d={title:r,value:i,...c};return{type:u,title:String(d.title??""),value:d.value,props:d,children:u==="item"&&Array.isArray(a)?transformItems$2(e,a):void 0,raw:t}}transformItem$2.neededProps=["itemTitle","itemValue","itemChildren","itemProps","itemType"];function transformItems$2(e,t){const r=pick$1(e,transformItem$2.neededProps),i=[];for(const a of t)i.push(transformItem$2(r,a));return i}function useItems(e){const t=computed(()=>transformItems$2(e,e.items)),r=computed(()=>t.value.some(d=>d.value===null)),i=shallowRef(new Map),a=shallowRef([]);watchEffect(()=>{const d=t.value,f=new Map,m=[];for(let y=0;y<d.length;y++){const v=d[y];if(isPrimitive(v.value)||v.value===null){let w=f.get(v.value);w||(w=[],f.set(v.value,w)),w.push(v)}else m.push(v)}i.value=f,a.value=m});function c(d){const f=i.value,m=t.value,y=a.value,v=r.value,w=e.returnObject,_=!!e.valueComparator,S=e.valueComparator||deepEqual,b=pick$1(e,transformItem$2.neededProps),k=[];e:for(const C of d){if(!v&&C===null)continue;if(w&&typeof C=="string"){k.push(transformItem$2(b,C));continue}const O=f.get(C);if(_||!O){for(const T of _?m:y)if(S(C,T.value)){k.push(T);continue e}k.push(transformItem$2(b,C));continue}k.push(...O)}return k}function u(d){return e.returnObject?d.map(f=>{let{raw:m}=f;return m}):d.map(f=>{let{value:m}=f;return m})}return{items:t,transformIn:c,transformOut:u}}const itemTypes=new Set(["item","divider","subheader"]);function transformItem$1(e,t){const r=isPrimitive(t)?t:getPropertyFromItem(t,e.itemTitle),i=isPrimitive(t)?t:getPropertyFromItem(t,e.itemValue,void 0),a=getPropertyFromItem(t,e.itemChildren),c=e.itemProps===!0?omit(t,["children"]):getPropertyFromItem(t,e.itemProps);let u=getPropertyFromItem(t,e.itemType,"item");itemTypes.has(u)||(u="item");const d={title:r,value:i,...c};return{type:u,title:d.title,value:d.value,props:d,children:u==="item"&&a?transformItems$1(e,a):void 0,raw:t}}function transformItems$1(e,t){const r=[];for(const i of t)r.push(transformItem$1(e,i));return r}function useListItems(e){return{items:computed(()=>transformItems$1(e,e.items))}}const makeVListProps=propsFactory({baseColor:String,activeColor:String,activeClass:String,bgColor:String,disabled:Boolean,filterable:Boolean,expandIcon:IconValue,collapseIcon:IconValue,lines:{type:[Boolean,String],default:"one"},slim:Boolean,nav:Boolean,"onClick:open":EventProp(),"onClick:select":EventProp(),"onUpdate:opened":EventProp(),...makeNestedProps({selectStrategy:"single-leaf",openStrategy:"list"}),...makeBorderProps(),...makeComponentProps(),...makeDensityProps(),...makeDimensionProps(),...makeElevationProps(),...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:i}=useListItems(e),{themeClasses:a}=provideTheme(e),{backgroundColorClasses:c,backgroundColorStyles:u}=useBackgroundColor(()=>e.bgColor),{borderClasses:d}=useBorder(e),{densityClasses:f}=useDensity(e),{dimensionStyles:m}=useDimension(e),{elevationClasses:y}=useElevation(e),{roundedClasses:v}=useRounded(e),{children:w,open:_,parents:S,select:b,getPath:k}=useNested(e),C=toRef$2(()=>e.lines?`v-list--${e.lines}-line`:void 0),O=toRef$2(()=>e.activeColor),T=toRef$2(()=>e.baseColor),E=toRef$2(()=>e.color);createList({filterable:e.filterable}),provideDefaults({VListGroup:{activeColor:O,baseColor:T,color:E,expandIcon:toRef$2(()=>e.expandIcon),collapseIcon:toRef$2(()=>e.collapseIcon)},VListItem:{activeClass:toRef$2(()=>e.activeClass),activeColor:O,baseColor:T,color:E,density:toRef$2(()=>e.density),disabled:toRef$2(()=>e.disabled),lines:toRef$2(()=>e.lines),nav:toRef$2(()=>e.nav),slim:toRef$2(()=>e.slim),variant:toRef$2(()=>e.variant)}});const A=shallowRef(!1),P=ref();function M(z){A.value=!0}function D(z){A.value=!1}function F(z){!A.value&&!(z.relatedTarget&&P.value?.contains(z.relatedTarget))&&$()}function I(z){const q=z.target;if(!(!P.value||q.tagName==="INPUT"&&["Home","End"].includes(z.key)||q.tagName==="TEXTAREA")){if(z.key==="ArrowDown")$("next");else if(z.key==="ArrowUp")$("prev");else if(z.key==="Home")$("first");else if(z.key==="End")$("last");else return;z.preventDefault()}}function U(z){A.value=!0}function $(z){if(P.value)return focusChild(P.value,z)}return useRender(()=>createVNode(e.tag,{ref:P,class:normalizeClass(["v-list",{"v-list--disabled":e.disabled,"v-list--nav":e.nav,"v-list--slim":e.slim},a.value,c.value,d.value,f.value,y.value,C.value,v.value,e.class]),style:normalizeStyle([u.value,m.value,e.style]),tabindex:e.disabled?-1:0,role:"listbox","aria-activedescendant":void 0,onFocusin:M,onFocusout:D,onFocus:F,onKeydown:I,onMousedown:U},{default:()=>[createVNode(VListChildren,{items:i.value,returnObject:e.returnObject},r)]})),{open:_,select:b,focus:$,children:w,parents:S,getPath:k}}}),makeVMenuProps=propsFactory({id:String,submenu:Boolean,disableInitialFocus:Boolean,...omit(makeVOverlayProps({closeDelay:250,closeOnContentClick:!0,locationStrategy:"connected",location:void 0,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 i=useProxiedModel(e,"modelValue"),{scopeId:a}=useScopeId(),{isRtl:c}=useRtl(),u=useId(),d=toRef$2(()=>e.id||`v-menu-${u}`),f=ref(),m=inject$1(VMenuSymbol,null),y=shallowRef(new Set);provide(VMenuSymbol,{register(){y.value.add(u)},unregister(){y.value.delete(u)},closeParents(k){setTimeout(()=>{!y.value.size&&!e.persistent&&(k==null||f.value?.contentEl&&!isClickInsideElement(k,f.value.contentEl))&&(i.value=!1,m?.closeParents())},40)}}),onBeforeUnmount(()=>{m?.unregister(),document.removeEventListener("focusin",v)}),onDeactivated(()=>i.value=!1);async function v(k){const C=k.relatedTarget,O=k.target;await nextTick(),i.value&&C!==O&&f.value?.contentEl&&f.value?.globalTop&&![document,f.value.contentEl].includes(O)&&!f.value.contentEl.contains(O)&&focusableChildren(f.value.contentEl)[0]?.focus()}watch(i,k=>{k?(m?.register(),IN_BROWSER&&!e.disableInitialFocus&&document.addEventListener("focusin",v,{once:!0})):(m?.unregister(),IN_BROWSER&&document.removeEventListener("focusin",v))},{immediate:!0});function w(k){m?.closeParents(k)}function _(k){if(!e.disabled)if(k.key==="Tab"||k.key==="Enter"&&!e.closeOnContentClick){if(k.key==="Enter"&&(k.target instanceof HTMLTextAreaElement||k.target instanceof HTMLInputElement&&k.target.closest("form")))return;k.key==="Enter"&&k.preventDefault(),getNextElement(focusableChildren(f.value?.contentEl,!1),k.shiftKey?"prev":"next",O=>O.tabIndex>=0)||(i.value=!1,f.value?.activatorEl?.focus())}else e.submenu&&k.key===(c.value?"ArrowRight":"ArrowLeft")&&(i.value=!1,f.value?.activatorEl?.focus())}function S(k){if(e.disabled)return;const C=f.value?.contentEl;C&&i.value?k.key==="ArrowDown"?(k.preventDefault(),k.stopImmediatePropagation(),focusChild(C,"next")):k.key==="ArrowUp"?(k.preventDefault(),k.stopImmediatePropagation(),focusChild(C,"prev")):e.submenu&&(k.key===(c.value?"ArrowRight":"ArrowLeft")?i.value=!1:k.key===(c.value?"ArrowLeft":"ArrowRight")&&(k.preventDefault(),focusChild(C,"first"))):(e.submenu?k.key===(c.value?"ArrowLeft":"ArrowRight"):["ArrowDown","ArrowUp"].includes(k.key))&&(i.value=!0,k.preventDefault(),setTimeout(()=>setTimeout(()=>S(k))))}const b=computed(()=>mergeProps({"aria-haspopup":"menu","aria-expanded":String(i.value),"aria-controls":d.value,onKeydown:S},e.activatorProps));return useRender(()=>{const k=VOverlay.filterProps(e);return createVNode(VOverlay,mergeProps({ref:f,id:d.value,class:["v-menu",e.class],style:e.style},k,{modelValue:i.value,"onUpdate:modelValue":C=>i.value=C,absolute:!0,activatorProps:b.value,location:e.location??(e.submenu?"end":"bottom"),"onClick:outside":w,onKeydown:_},a),{activator:r.activator,default:function(){for(var C=arguments.length,O=new Array(C),T=0;T<C;T++)O[T]=arguments[T];return createVNode(VDefaultsProvider,{root:"VMenu"},{default:()=>[r.default?.(...O)]})}})}),forwardRefs({id:d,ΨopenChildren:y},f)}}),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:i,slots:a}=t;const{resizeRef:c,contentRect:u}=useResizeObserver(void 0,"border");watch(()=>u.value?.height,d=>{d!=null&&i("update:height",d)}),useRender(()=>e.renderless?createBaseVNode(Fragment,null,[a.default?.({itemRef:c})]):createBaseVNode("div",mergeProps({ref:c,class:["v-virtual-scroll__item",e.class],style:e.style},r),[a.default?.()]))}}),UP=-1,DOWN=1,BUFFER_PX=100,makeVirtualProps=propsFactory({itemHeight:{type:[Number,String],default:null},itemKey:{type:[String,Array,Function],default:null},height:[Number,String]},"virtual");function useVirtual(e,t){const r=useDisplay(),i=shallowRef(0);watchEffect(()=>{i.value=parseFloat(e.itemHeight||0)});const a=shallowRef(0),c=shallowRef(Math.ceil((parseInt(e.height)||r.height.value)/(i.value||16))||1),u=shallowRef(0),d=shallowRef(0),f=ref(),m=ref();let y=0;const{resizeRef:v,contentRect:w}=useResizeObserver();watchEffect(()=>{v.value=f.value});const _=computed(()=>f.value===document.documentElement?r.height.value:w.value?.height||parseInt(e.height)||0),S=computed(()=>!!(f.value&&m.value&&_.value&&i.value));let b=Array.from({length:t.value.length}),k=Array.from({length:t.value.length});const C=shallowRef(0);let O=-1;function T(te){return b[te]||i.value}const E=debounce$1(()=>{const te=performance.now();k[0]=0;const se=t.value.length;for(let ne=1;ne<=se-1;ne++)k[ne]=(k[ne-1]||0)+T(ne-1);C.value=Math.max(C.value,performance.now()-te)},C),A=watch(S,te=>{te&&(A(),y=m.value.offsetTop,E.immediate(),ee(),~O&&nextTick(()=>{IN_BROWSER&&window.requestAnimationFrame(()=>{oe(O),O=-1})}))});onScopeDispose(()=>{E.clear()});function P(te,se){const ne=b[te],le=i.value;i.value=le?Math.min(i.value,se):se,(ne!==se||le!==i.value)&&(b[te]=se,E())}function M(te){te=clamp(te,0,t.value.length-1);const se=Math.floor(te),ne=te%1,le=se+1,Oe=k[se]||0,ke=k[le]||Oe;return Oe+(ke-Oe)*ne}function D(te){return binaryClosest(k,te)}let F=0,I=0,U=0;watch(_,(te,se)=>{se&&(ee(),te<se&&requestAnimationFrame(()=>{I=0,ee()}))});let $=-1;function z(){if(!f.value||!m.value)return;const te=f.value.scrollTop,se=performance.now();se-U>500?(I=Math.sign(te-F),y=m.value.offsetTop):I=te-F,F=te,U=se,window.clearTimeout($),$=window.setTimeout(q,500),ee()}function q(){!f.value||!m.value||(I=0,U=0,window.clearTimeout($),ee())}let G=-1;function ee(){cancelAnimationFrame(G),G=requestAnimationFrame(ae)}function ae(){if(!f.value||!_.value||!i.value)return;const te=F-y,se=Math.sign(I),ne=Math.max(0,te-BUFFER_PX),le=clamp(D(ne),0,t.value.length),Oe=te+_.value+BUFFER_PX,ke=clamp(D(Oe)+1,le+1,t.value.length);if((se!==UP||le<a.value)&&(se!==DOWN||ke>c.value)){const ye=M(a.value)-M(le),re=M(ke)-M(c.value);Math.max(ye,re)>BUFFER_PX?(a.value=le,c.value=ke):(le<=0&&(a.value=le),ke>=t.value.length&&(c.value=ke))}u.value=M(a.value),d.value=M(t.value.length)-M(c.value)}function oe(te){const se=M(te);!f.value||te&&!se?O=te:f.value.scrollTop=se}const Se=computed(()=>t.value.slice(a.value,c.value).map((te,se)=>{const ne=se+a.value;return{raw:te,index:ne,key:getPropertyFromItem(te,e.itemKey,ne)}}));return watch(t,()=>{b=Array.from({length:t.value.length}),k=Array.from({length:t.value.length}),E.immediate(),ee()},{deep:1}),{calculateVisibleItems:ee,containerRef:f,markerRef:m,computedItems:Se,paddingTop:u,paddingBottom:d,scrollToIndex:oe,handleScroll:z,handleScrollend:q,handleItemResize:P}}function binaryClosest(e,t){let r=e.length-1,i=0,a=0,c=null,u=-1;if(e[r]<t)return r;for(;i<=r;)if(a=i+r>>1,c=e[a],c>t)r=a-1;else if(c<t)u=a,i=a+1;else return c===t?a:i;return u}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 i=getCurrentInstance("VVirtualScroll"),{dimensionStyles:a}=useDimension(e),{calculateVisibleItems:c,containerRef:u,markerRef:d,handleScroll:f,handleScrollend:m,handleItemResize:y,scrollToIndex:v,paddingTop:w,paddingBottom:_,computedItems:S}=useVirtual(e,toRef$2(()=>e.items));return useToggleScope(()=>e.renderless,()=>{function b(){const C=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1)?"addEventListener":"removeEventListener";u.value===document.documentElement?(document[C]("scroll",f,{passive:!0}),document[C]("scrollend",m)):(u.value?.[C]("scroll",f,{passive:!0}),u.value?.[C]("scrollend",m))}onMounted(()=>{u.value=getScrollParent$1(i.vnode.el,!0),b(!0)}),onScopeDispose(b)}),useRender(()=>{const b=S.value.map(k=>createVNode(VVirtualScrollItem,{key:k.key,renderless:e.renderless,"onUpdate:height":C=>y(k.index,C)},{default:C=>r.default?.({item:k.raw,index:k.index,...C})}));return e.renderless?createBaseVNode(Fragment,null,[createBaseVNode("div",{ref:d,class:"v-virtual-scroll__spacer",style:{paddingTop:convertToUnit(w.value)}},null),b,createBaseVNode("div",{class:"v-virtual-scroll__spacer",style:{paddingBottom:convertToUnit(_.value)}},null)]):createBaseVNode("div",{ref:u,class:normalizeClass(["v-virtual-scroll",e.class]),onScrollPassive:f,onScrollend:m,style:normalizeStyle([a.value,e.style])},[createBaseVNode("div",{ref:d,class:"v-virtual-scroll__container",style:{paddingTop:convertToUnit(w.value),paddingBottom:convertToUnit(_.value)}},[b])])}),{calculateVisibleItems:c,scrollToIndex:v}}});function useScrolling(e,t){const r=shallowRef(!1);let i;function a(d){cancelAnimationFrame(i),r.value=!0,i=requestAnimationFrame(()=>{i=requestAnimationFrame(()=>{r.value=!1})})}async function c(){await new Promise(d=>requestAnimationFrame(d)),await new Promise(d=>requestAnimationFrame(d)),await new Promise(d=>requestAnimationFrame(d)),await new Promise(d=>{if(r.value){const f=watch(r,()=>{f(),d()})}else d()})}async function u(d){if(d.key==="Tab"&&t.value?.focus(),!["PageDown","PageUp","Home","End"].includes(d.key))return;const f=e.value?.$el;if(!f)return;(d.key==="Home"||d.key==="End")&&f.scrollTo({top:d.key==="Home"?0:f.scrollHeight,behavior:"smooth"}),await c();const m=f.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");if(d.key==="PageDown"||d.key==="Home"){const y=f.getBoundingClientRect().top;for(const v of m)if(v.getBoundingClientRect().top>=y){v.focus();break}}else{const y=f.getBoundingClientRect().bottom;for(const v of[...m].reverse())if(v.getBoundingClientRect().bottom<=y){v.focus();break}}}return{onScrollPassive:a,onKeydown:u}}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,noAutoScroll:Boolean,...makeItemsProps({itemChildren:!1})},"Select"),makeVSelectProps=propsFactory({...makeSelectProps(),...omit(makeVTextFieldProps({modelValue:null,role:"combobox"}),["validationValue","dirty","appendInnerIcon"]),...makeTransitionProps$1({transition:{component:VDialogTransition}})},"VSelect"),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:i}=useLocale(),a=ref(),c=ref(),u=ref(),{items:d,transformIn:f,transformOut:m}=useItems(e),y=useProxiedModel(e,"modelValue",[],te=>f(te===null?[null]:wrapInArray(te)),te=>{const se=m(te);return e.multiple?se:se[0]??null}),v=computed(()=>typeof e.counterValue=="function"?e.counterValue(y.value):typeof e.counterValue=="number"?e.counterValue:y.value.length),w=useForm(e),_=computed(()=>y.value.map(te=>te.value)),S=shallowRef(!1);let b="",k=-1,C;const O=computed(()=>e.hideSelected?d.value.filter(te=>!y.value.some(se=>(e.valueComparator||deepEqual)(se,te))):d.value),T=computed(()=>e.hideNoData&&!O.value.length||w.isReadonly.value||w.isDisabled.value),E=useProxiedModel(e,"menu"),A=computed({get:()=>E.value,set:te=>{E.value&&!te&&c.value?.ΨopenChildren.size||te&&T.value||(E.value=te)}}),P=toRef$2(()=>A.value?e.closeText:e.openText),M=computed(()=>({...e.menuProps,activatorProps:{...e.menuProps?.activatorProps||{},"aria-haspopup":"listbox"}})),D=ref(),F=useScrolling(D,a);function I(te){e.openOnClear&&(A.value=!0)}function U(){T.value||(A.value=!A.value)}function $(te){checkPrintable(te)&&z(te)}function z(te){if(!te.key||w.isReadonly.value)return;["Enter"," ","ArrowDown","ArrowUp","Home","End"].includes(te.key)&&te.preventDefault(),["Enter","ArrowDown"," "].includes(te.key)&&(A.value=!0),["Escape","Tab"].includes(te.key)&&(A.value=!1),te.key==="Home"?D.value?.focus("first"):te.key==="End"&&D.value?.focus("last");const se=1e3;if(!checkPrintable(te))return;const ne=performance.now();ne-C>se&&(b="",k=-1),b+=te.key.toLowerCase(),C=ne;const le=O.value;function Oe(){let ie=ke();return ie||b.at(-1)===b.at(-2)&&(b=b.slice(0,-1),ie=ke(),ie)||(k=-1,ie=ke(),ie)?ie:(b=te.key.toLowerCase(),ke())}function ke(){for(let ie=k+1;ie<le.length;ie++){const pe=le[ie];if(pe.title.toLowerCase().startsWith(b))return[pe,ie]}}const ye=Oe();if(!ye)return;const[re,ue]=ye;k=ue,D.value?.focus(ue),e.multiple||(y.value=[re])}function q(te){let se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(!te.props.disabled)if(e.multiple){const ne=y.value.findIndex(Oe=>(e.valueComparator||deepEqual)(Oe.value,te.value)),le=se??!~ne;if(~ne){const Oe=le?[...y.value,te]:[...y.value];Oe.splice(ne,1),y.value=Oe}else le&&(y.value=[...y.value,te])}else{const ne=se!==!1;y.value=ne?[te]:[],nextTick(()=>{A.value=!1})}}function G(te){D.value?.$el.contains(te.relatedTarget)||(A.value=!1)}function ee(){e.eager&&u.value?.calculateVisibleItems()}function ae(){S.value&&a.value?.focus()}function oe(te){S.value=!0}function Se(te){if(te==null)y.value=[];else if(matchesSelector(a.value,":autofill")||matchesSelector(a.value,":-webkit-autofill")){const se=d.value.find(ne=>ne.title===te);se&&q(se)}else a.value&&(a.value.value="")}return watch(A,()=>{if(!e.hideSelected&&A.value&&y.value.length){const te=O.value.findIndex(se=>y.value.some(ne=>(e.valueComparator||deepEqual)(ne.value,se.value)));IN_BROWSER&&!e.noAutoScroll&&window.requestAnimationFrame(()=>{te>=0&&u.value?.scrollToIndex(te)})}}),watch(()=>e.items,(te,se)=>{A.value||S.value&&e.hideNoData&&!se.length&&te.length&&(A.value=!0)}),useRender(()=>{const te=!!(e.chips||r.chip),se=!!(!e.hideNoData||O.value.length||r["prepend-item"]||r["append-item"]||r["no-data"]),ne=y.value.length>0,le=VTextField.filterProps(e),Oe=ne||!S.value&&e.label&&!e.persistentPlaceholder?void 0:e.placeholder;return createVNode(VTextField,mergeProps({ref:a},le,{modelValue:y.value.map(ke=>ke.props.title).join(", "),"onUpdate:modelValue":Se,focused:S.value,"onUpdate:focused":ke=>S.value=ke,validationValue:y.externalValue,counterValue:v.value,dirty:ne,class:["v-select",{"v-select--active-menu":A.value,"v-select--chips":!!e.chips,[`v-select--${e.multiple?"multiple":"single"}`]:!0,"v-select--selected":y.value.length,"v-select--selection-slot":!!r.selection},e.class],style:e.style,inputmode:"none",placeholder:Oe,"onClick:clear":I,"onMousedown:control":U,onBlur:G,onKeydown:z,"aria-label":i(P.value),title:i(P.value)}),{...r,default:()=>createBaseVNode(Fragment,null,[createVNode(VMenu,mergeProps({ref:c,modelValue:A.value,"onUpdate:modelValue":ke=>A.value=ke,activator:"parent",contentClass:"v-select__content",disabled:T.value,eager:e.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,transition:e.transition,onAfterEnter:ee,onAfterLeave:ae},M.value),{default:()=>[se&&createVNode(VList,mergeProps({ref:D,selected:_.value,selectStrategy:e.multiple?"independent":"single-independent",onMousedown:ke=>ke.preventDefault(),onKeydown:$,onFocusin:oe,tabindex:"-1","aria-live":"polite","aria-label":`${e.label}-list`,color:e.itemColor??e.color},F,e.listProps),{default:()=>[r["prepend-item"]?.(),!O.value.length&&!e.hideNoData&&(r["no-data"]?.()??createVNode(VListItem,{key:"no-data",title:i(e.noDataText)},null)),createVNode(VVirtualScroll,{ref:u,renderless:!0,items:O.value,itemKey:"value"},{default:ke=>{let{item:ye,index:re,itemRef:ue}=ke;const ie=camelizeProps(ye.props),pe=mergeProps(ye.props,{ref:ue,key:ye.value,onClick:()=>q(ye,null)});return ye.type==="divider"?r.divider?.({props:ye.raw,index:re})??createVNode(VDivider,mergeProps(ye.props,{key:`divider-${re}`}),null):ye.type==="subheader"?r.subheader?.({props:ye.raw,index:re})??createVNode(VListSubheader,mergeProps(ye.props,{key:`subheader-${re}`}),null):r.item?.({item:ye,index:re,props:pe})??createVNode(VListItem,mergeProps(pe,{role:"option"}),{prepend:Te=>{let{isSelected:Pe}=Te;return createBaseVNode(Fragment,null,[e.multiple&&!e.hideSelected?createVNode(VCheckboxBtn,{key:ye.value,modelValue:Pe,ripple:!1,tabindex:"-1"},null):void 0,ie.prependAvatar&&createVNode(VAvatar,{image:ie.prependAvatar},null),ie.prependIcon&&createVNode(VIcon,{icon:ie.prependIcon},null)])}})}}),r["append-item"]?.()]})]}),y.value.map((ke,ye)=>{function re(Te){Te.stopPropagation(),Te.preventDefault(),q(ke,!1)}const ue={"onClick:close":re,onKeydown(Te){Te.key!=="Enter"&&Te.key!==" "||(Te.preventDefault(),Te.stopPropagation(),re(Te))},onMousedown(Te){Te.preventDefault(),Te.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0},ie=te?!!r.chip:!!r.selection,pe=ie?ensureValidVNode(te?r.chip({item:ke,index:ye,props:ue}):r.selection({item:ke,index:ye})):void 0;if(!(ie&&!pe))return createBaseVNode("div",{key:ke.value,class:"v-select__selection"},[te?r.chip?createVNode(VDefaultsProvider,{key:"chip-defaults",defaults:{VChip:{closable:e.closableChips,size:"small",text:ke.title}}},{default:()=>[pe]}):createVNode(VChip,mergeProps({key:"chip",closable:e.closableChips,size:"small",text:ke.title,disabled:ke.props.disabled},ue),null):pe??createBaseVNode("span",{class:"v-select__selection-text"},[ke.title,e.multiple&&ye<y.value.length-1&&createBaseVNode("span",{class:"v-select__selection-comma"},[createTextVNode(",")])])])})]),"append-inner":function(){for(var ke=arguments.length,ye=new Array(ke),re=0;re<ke;re++)ye[re]=arguments[re];return createBaseVNode(Fragment,null,[r["append-inner"]?.(...ye),e.menuIcon?createVNode(VIcon,{class:"v-select__menu-icon",color:a.value?.fieldIconColor,icon:e.menuIcon},null):void 0])}})}),forwardRefs({isFocused:S,menu:A,select:q},a)}}),makeDataTablePaginateProps=propsFactory({page:{type:[Number,String],default:1},itemsPerPage:{type:[Number,String],default:10}},"DataTable-paginate"),VDataTablePaginationSymbol=Symbol.for("vuetify:data-table-pagination");function createPagination(e){const t=useProxiedModel(e,"page",void 0,i=>Number(i??1)),r=useProxiedModel(e,"itemsPerPage",void 0,i=>Number(i??10));return{page:t,itemsPerPage:r}}function providePagination(e){const{page:t,itemsPerPage:r,itemsLength:i}=e,a=computed(()=>r.value===-1?0:r.value*(t.value-1)),c=computed(()=>r.value===-1?i.value:Math.min(i.value,a.value+r.value)),u=computed(()=>r.value===-1||i.value===0?1:Math.ceil(i.value/r.value));watch([t,u],()=>{t.value>u.value&&(t.value=u.value)});function d(w){r.value=w,t.value=1}function f(){t.value=clamp(t.value+1,1,u.value)}function m(){t.value=clamp(t.value-1,1,u.value)}function y(w){t.value=clamp(w,1,u.value)}const v={page:t,itemsPerPage:r,startIndex:a,stopIndex:c,pageCount:u,itemsLength:i,nextPage:f,prevPage:m,setPage:y,setItemsPerPage:d};return provide(VDataTablePaginationSymbol,v),v}function usePagination(){const e=inject$1(VDataTablePaginationSymbol);if(!e)throw new Error("Missing pagination!");return e}function usePaginatedItems(e){const t=getCurrentInstance("usePaginatedItems"),{items:r,startIndex:i,stopIndex:a,itemsPerPage:c}=e,u=computed(()=>c.value<=0?r.value:r.value.slice(i.value,a.value));return watch(u,d=>{t.emit("update:currentItems",d)},{immediate:!0}),{paginatedItems:u}}const makeVDataTableFooterProps=propsFactory({prevIcon:{type:IconValue,default:"$prev"},nextIcon:{type:IconValue,default:"$next"},firstIcon:{type:IconValue,default:"$first"},lastIcon:{type:IconValue,default:"$last"},itemsPerPageText:{type:String,default:"$vuetify.dataFooter.itemsPerPageText"},pageText:{type:String,default:"$vuetify.dataFooter.pageText"},firstPageLabel:{type:String,default:"$vuetify.dataFooter.firstPage"},prevPageLabel:{type:String,default:"$vuetify.dataFooter.prevPage"},nextPageLabel:{type:String,default:"$vuetify.dataFooter.nextPage"},lastPageLabel:{type:String,default:"$vuetify.dataFooter.lastPage"},itemsPerPageOptions:{type:Array,default:()=>[{value:10,title:"10"},{value:25,title:"25"},{value:50,title:"50"},{value:100,title:"100"},{value:-1,title:"$vuetify.dataFooter.itemsPerPageAll"}]},showCurrentPage:Boolean},"VDataTableFooter"),VDataTableFooter=genericComponent()({name:"VDataTableFooter",props:makeVDataTableFooterProps(),setup(e,t){let{slots:r}=t;const{t:i}=useLocale(),{page:a,pageCount:c,startIndex:u,stopIndex:d,itemsLength:f,itemsPerPage:m,setItemsPerPage:y}=usePagination(),v=computed(()=>e.itemsPerPageOptions.map(w=>typeof w=="number"?{value:w,title:w===-1?i("$vuetify.dataFooter.itemsPerPageAll"):String(w)}:{...w,title:isNaN(Number(w.title))?i(w.title):w.title}));return useRender(()=>{const w=VPagination.filterProps(e);return createBaseVNode("div",{class:"v-data-table-footer"},[r.prepend?.(),createBaseVNode("div",{class:"v-data-table-footer__items-per-page"},[createBaseVNode("span",{"aria-label":i(e.itemsPerPageText)},[i(e.itemsPerPageText)]),createVNode(VSelect,{items:v.value,modelValue:m.value,"onUpdate:modelValue":_=>y(Number(_)),density:"compact",variant:"outlined",hideDetails:!0},null)]),createBaseVNode("div",{class:"v-data-table-footer__info"},[createBaseVNode("div",null,[i(e.pageText,f.value?u.value+1:0,d.value,f.value)])]),createBaseVNode("div",{class:"v-data-table-footer__pagination"},[createVNode(VPagination,mergeProps({modelValue:a.value,"onUpdate:modelValue":_=>a.value=_,density:"comfortable",firstAriaLabel:e.firstPageLabel,lastAriaLabel:e.lastPageLabel,length:c.value,nextAriaLabel:e.nextPageLabel,previousAriaLabel:e.prevPageLabel,rounded:!0,showFirstLastPage:!0,totalVisible:e.showCurrentPage?1:0,variant:"plain"},w),null)])])}),{}}}),VDataTableColumn=defineFunctionalComponent({align:{type:String,default:"start"},fixed:{type:[Boolean,String],default:!1},fixedOffset:[Number,String],fixedEndOffset:[Number,String],height:[Number,String],lastFixed:Boolean,firstFixedEnd:Boolean,noPadding:Boolean,tag:String,width:[Number,String],maxWidth:[Number,String],nowrap:Boolean},(e,t)=>{let{slots:r}=t;const i=e.tag??"td",a=typeof e.fixed=="string"?e.fixed:e.fixed?"start":"none";return createVNode(i,{class:normalizeClass(["v-data-table__td",{"v-data-table-column--fixed":a==="start","v-data-table-column--fixed-end":a==="end","v-data-table-column--last-fixed":e.lastFixed,"v-data-table-column--first-fixed-end":e.firstFixedEnd,"v-data-table-column--no-padding":e.noPadding,"v-data-table-column--nowrap":e.nowrap},`v-data-table-column--align-${e.align}`]),style:{height:convertToUnit(e.height),width:convertToUnit(e.width),maxWidth:convertToUnit(e.maxWidth),left:a==="start"?convertToUnit(e.fixedOffset||null):void 0,right:a==="end"?convertToUnit(e.fixedEndOffset||null):void 0}},{default:()=>[r.default?.()]})}),makeDataTableHeaderProps=propsFactory({headers:Array},"DataTable-header"),VDataTableHeadersSymbol=Symbol.for("vuetify:data-table-headers"),defaultHeader={title:"",sortable:!1},defaultActionHeader={...defaultHeader,width:48};function priorityQueue(){const t=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:[]).map(r=>({element:r,priority:0}));return{enqueue:(r,i)=>{let a=!1;for(let c=0;c<t.length;c++)if(t[c].priority>i){t.splice(c,0,{element:r,priority:i}),a=!0;break}a||t.push({element:r,priority:i})},size:()=>t.length,count:()=>{let r=0;if(!t.length)return 0;const i=Math.floor(t[0].priority);for(let a=0;a<t.length;a++)Math.floor(t[a].priority)===i&&(r+=1);return r},dequeue:()=>t.shift()}}function extractLeaves(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];if(!e.children)t.push(e);else for(const r of e.children)extractLeaves(r,t);return t}function extractKeys(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new Set;for(const r of e)r.key&&t.add(r.key),r.children&&extractKeys(r.children,t);return t}function getDefaultItem(e){if(e.key){if(e.key==="data-table-group")return defaultHeader;if(["data-table-expand","data-table-select"].includes(e.key))return defaultActionHeader}}function getDepth(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return e.children?Math.max(t,...e.children.map(r=>getDepth(r,t+1))):t}function parseFixedColumns(e){let t=!1;function r(c,u){let d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"none";if(c)if(d!=="none"&&(c.fixed=d),c.fixed===!0&&(c.fixed="start"),c.fixed===u)if(c.children)if(u==="start")for(let f=c.children.length-1;f>=0;f--)r(c.children[f],u,u);else for(let f=0;f<c.children.length;f++)r(c.children[f],u,u);else!t&&u==="start"?c.lastFixed=!0:!t&&u==="end"?c.firstFixedEnd=!0:isNaN(Number(c.width))?(`${c.key}`,void 0):c.minWidth=Math.max(Number(c.width)||0,Number(c.minWidth)||0),t=!0;else if(c.children)if(u==="start")for(let f=c.children.length-1;f>=0;f--)r(c.children[f],u);else for(let f=0;f<c.children.length;f++)r(c.children[f],u);else t=!1}for(let c=e.length-1;c>=0;c--)r(e[c],"start");for(let c=0;c<e.length;c++)r(e[c],"end");let i=0;for(let c=0;c<e.length;c++)i=setFixedOffset(e[c],i);let a=0;for(let c=e.length-1;c>=0;c--)a=setFixedEndOffset(e[c],a)}function setFixedOffset(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(!e)return t;if(e.children){e.fixedOffset=t;for(const r of e.children)t=setFixedOffset(r,t)}else e.fixed&&e.fixed!=="end"&&(e.fixedOffset=t,t+=parseFloat(e.width||"0")||0);return t}function setFixedEndOffset(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(!e)return t;if(e.children){e.fixedEndOffset=t;for(const r of e.children)t=setFixedEndOffset(r,t)}else e.fixed==="end"&&(e.fixedEndOffset=t,t+=parseFloat(e.width||"0")||0);return t}function parse(e,t){const r=[];let i=0;const a=priorityQueue(e);for(;a.size()>0;){let u=a.count();const d=[];let f=1;for(;u>0;){const{element:m,priority:y}=a.dequeue(),v=t-i-getDepth(m);if(d.push({...m,rowspan:v??1,colspan:m.children?extractLeaves(m).length:1}),m.children)for(const w of m.children){const _=y%1+f/Math.pow(10,i+2);a.enqueue(w,i+v+_)}f+=1,u-=1}i+=1,r.push(d)}return{columns:e.map(u=>extractLeaves(u)).flat(),headers:r}}function convertToInternalHeaders(e){const t=[];for(const r of e){const i={...getDefaultItem(r),...r},a=i.key??(typeof i.value=="string"?i.value:null),c=i.value??a??null,u={...i,key:a,value:c,sortable:i.sortable??(i.key!=null||!!i.sort),children:i.children?convertToInternalHeaders(i.children):void 0};t.push(u)}return t}function createHeaders(e,t){const r=ref([]),i=ref([]),a=ref({}),c=ref({}),u=ref({});watchEffect(()=>{const m=(e.headers||Object.keys(e.items[0]??{}).map(b=>({key:b,title:capitalize$1(b)}))).slice(),y=extractKeys(m);t?.groupBy?.value.length&&!y.has("data-table-group")&&m.unshift({key:"data-table-group",title:"Group"}),t?.showSelect?.value&&!y.has("data-table-select")&&m.unshift({key:"data-table-select"}),t?.showExpand?.value&&!y.has("data-table-expand")&&m.push({key:"data-table-expand"});const v=convertToInternalHeaders(m);parseFixedColumns(v);const w=Math.max(...v.map(b=>getDepth(b)))+1,_=parse(v,w);r.value=_.headers,i.value=_.columns;const S=_.headers.flat(1);for(const b of S)b.key&&(b.sortable&&(b.sort&&(a.value[b.key]=b.sort),b.sortRaw&&(c.value[b.key]=b.sortRaw)),b.filter&&(u.value[b.key]=b.filter))});const d={headers:r,columns:i,sortFunctions:a,sortRawFunctions:c,filterFunctions:u};return provide(VDataTableHeadersSymbol,d),d}function useHeaders(){const e=inject$1(VDataTableHeadersSymbol);if(!e)throw new Error("Missing headers!");return e}const singleSelectStrategy={showSelectAll:!1,allSelected:()=>[],select:e=>{let{items:t,value:r}=e;return new Set(r?[t[0]?.value]:[])},selectAll:e=>{let{selected:t}=e;return t}},pageSelectStrategy={showSelectAll:!0,allSelected:e=>{let{currentPage:t}=e;return t},select:e=>{let{items:t,value:r,selected:i}=e;for(const a of t)r?i.add(a.value):i.delete(a.value);return i},selectAll:e=>{let{value:t,currentPage:r,selected:i}=e;return pageSelectStrategy.select({items:r,value:t,selected:i})}},allSelectStrategy={showSelectAll:!0,allSelected:e=>{let{allItems:t}=e;return t},select:e=>{let{items:t,value:r,selected:i}=e;for(const a of t)r?i.add(a.value):i.delete(a.value);return i},selectAll:e=>{let{value:t,allItems:r,selected:i}=e;return allSelectStrategy.select({items:r,value:t,selected:i})}},makeDataTableSelectProps=propsFactory({showSelect:Boolean,selectStrategy:{type:[String,Object],default:"page"},modelValue:{type:Array,default:()=>[]},valueComparator:{type:Function,default:deepEqual}},"DataTable-select"),VDataTableSelectionSymbol=Symbol.for("vuetify:data-table-selection");function provideSelection(e,t){let{allItems:r,currentPage:i}=t;const a=useProxiedModel(e,"modelValue",e.modelValue,O=>new Set(wrapInArray(O).map(T=>r.value.find(E=>e.valueComparator(T,E.value))?.value??T)),O=>[...O.values()]),c=computed(()=>r.value.filter(O=>O.selectable)),u=computed(()=>i.value.filter(O=>O.selectable)),d=computed(()=>{if(typeof e.selectStrategy=="object")return e.selectStrategy;switch(e.selectStrategy){case"single":return singleSelectStrategy;case"all":return allSelectStrategy;case"page":default:return pageSelectStrategy}}),f=shallowRef(null);function m(O){return wrapInArray(O).every(T=>a.value.has(T.value))}function y(O){return wrapInArray(O).some(T=>a.value.has(T.value))}function v(O,T){const E=d.value.select({items:O,value:T,selected:new Set(a.value)});a.value=E}function w(O,T,E){const A=[];if(T=T??i.value.findIndex(P=>P.value===O.value),e.selectStrategy!=="single"&&E?.shiftKey&&f.value!==null){const[P,M]=[f.value,T].sort((D,F)=>D-F);A.push(...i.value.slice(P,M+1).filter(D=>D.selectable))}else A.push(O),f.value=T;v(A,!m([O]))}function _(O){const T=d.value.selectAll({value:O,allItems:c.value,currentPage:u.value,selected:new Set(a.value)});a.value=T}const S=computed(()=>a.value.size>0),b=computed(()=>{const O=d.value.allSelected({allItems:c.value,currentPage:u.value});return!!O.length&&m(O)}),k=toRef$2(()=>d.value.showSelectAll),C={toggleSelect:w,select:v,selectAll:_,isSelected:m,isSomeSelected:y,someSelected:S,allSelected:b,showSelectAll:k,lastSelectedIndex:f,selectStrategy:d};return provide(VDataTableSelectionSymbol,C),C}function useSelection(){const e=inject$1(VDataTableSelectionSymbol);if(!e)throw new Error("Missing selection!");return e}const makeDataTableSortProps=propsFactory({sortBy:{type:Array,default:()=>[]},customKeySort:Object,multiSort:Boolean,mustSort:Boolean},"DataTable-sort"),VDataTableSortSymbol=Symbol.for("vuetify:data-table-sort");function createSort(e){const t=useProxiedModel(e,"sortBy"),r=toRef$2(()=>e.mustSort),i=toRef$2(()=>e.multiSort);return{sortBy:t,mustSort:r,multiSort:i}}function provideSort(e){const{sortBy:t,mustSort:r,multiSort:i,page:a}=e,c=f=>{if(f.key==null)return;let m=t.value.map(v=>({...v}))??[];const y=m.find(v=>v.key===f.key);y?y.order==="desc"?r.value&&m.length===1?y.order="asc":m=m.filter(v=>v.key!==f.key):y.order="desc":i.value?m.push({key:f.key,order:"asc"}):m=[{key:f.key,order:"asc"}],t.value=m,a&&(a.value=1)};function u(f){return!!t.value.find(m=>m.key===f.key)}const d={sortBy:t,toggleSort:c,isSorted:u};return provide(VDataTableSortSymbol,d),d}function useSort(){const e=inject$1(VDataTableSortSymbol);if(!e)throw new Error("Missing sort!");return e}function useSortedItems(e,t,r,i){const a=useLocale();return{sortedItems:computed(()=>r.value.length?sortItems(t.value,r.value,a.current.value,{transform:i?.transform,sortFunctions:{...e.customKeySort,...i?.sortFunctions?.value},sortRawFunctions:i?.sortRawFunctions?.value}):t.value)}}function sortItems(e,t,r,i){const a=new Intl.Collator(r,{sensitivity:"accent",usage:"sort"});return e.map(u=>[u,i?.transform?i.transform(u):u]).sort((u,d)=>{for(let f=0;f<t.length;f++){let m=!1;const y=t[f].key,v=t[f].order??"asc";if(v===!1)continue;let w=getObjectValueByPath(u[1],y),_=getObjectValueByPath(d[1],y),S=u[0].raw,b=d[0].raw;if(v==="desc"&&([w,_]=[_,w],[S,b]=[b,S]),i?.sortRawFunctions?.[y]){const k=i.sortRawFunctions[y](S,b);if(k==null)continue;if(m=!0,k)return k}if(i?.sortFunctions?.[y]){const k=i.sortFunctions[y](w,_);if(k==null)continue;if(m=!0,k)return k}if(!m&&(w instanceof Date&&_ instanceof Date&&(w=w.getTime(),_=_.getTime()),[w,_]=[w,_].map(k=>k!=null?k.toString().toLocaleLowerCase():k),w!==_))return isEmpty(w)&&isEmpty(_)?0:isEmpty(w)?-1:isEmpty(_)?1:!isNaN(w)&&!isNaN(_)?Number(w)-Number(_):a.compare(w,_)}return 0}).map(u=>{let[d]=u;return d})}const makeVDataTableHeadersProps=propsFactory({color:String,disableSort:Boolean,fixedHeader:Boolean,multiSort:Boolean,sortAscIcon:{type:IconValue,default:"$sortAsc"},sortDescIcon:{type:IconValue,default:"$sortDesc"},headerProps:{type:Object},sticky:Boolean,...makeDisplayProps(),...makeLoaderProps()},"VDataTableHeaders"),VDataTableHeaders=genericComponent()({name:"VDataTableHeaders",props:makeVDataTableHeadersProps(),setup(e,t){let{slots:r}=t;const{t:i}=useLocale(),{toggleSort:a,sortBy:c,isSorted:u}=useSort(),{someSelected:d,allSelected:f,selectAll:m,showSelectAll:y}=useSelection(),{columns:v,headers:w}=useHeaders(),{loaderClasses:_}=useLoader(e);function S(F,I){if(!(e.sticky||e.fixedHeader)&&!F.fixed)return;const U=typeof F.fixed=="string"?F.fixed:F.fixed?"start":"none";return{position:"sticky",left:U==="start"?convertToUnit(F.fixedOffset):void 0,right:U==="end"?convertToUnit(F.fixedEndOffset):void 0,top:e.sticky||e.fixedHeader?`calc(var(--v-table-header-height) * ${I})`:void 0}}function b(F,I){F.key==="Enter"&&!e.disableSort&&a(I)}function k(F){const I=c.value.find(U=>U.key===F.key);return I?I.order==="asc"?e.sortAscIcon:e.sortDescIcon:e.sortAscIcon}const{backgroundColorClasses:C,backgroundColorStyles:O}=useBackgroundColor(()=>e.color),{displayClasses:T,mobile:E}=useDisplay(e),A=computed(()=>({headers:w.value,columns:v.value,toggleSort:a,isSorted:u,sortBy:c.value,someSelected:d.value,allSelected:f.value,selectAll:m,getSortIcon:k})),P=computed(()=>["v-data-table__th",{"v-data-table__th--sticky":e.sticky||e.fixedHeader},T.value,_.value]),M=F=>{let{column:I,x:U,y:$}=F;const z=I.key==="data-table-select"||I.key==="data-table-expand",q=mergeProps(e.headerProps??{},I.headerProps??{});return createVNode(VDataTableColumn,mergeProps({tag:"th",align:I.align,class:[{"v-data-table__th--sortable":I.sortable&&!e.disableSort,"v-data-table__th--sorted":u(I),"v-data-table__th--fixed":I.fixed},...P.value],style:{width:convertToUnit(I.width),minWidth:convertToUnit(I.minWidth),maxWidth:convertToUnit(I.maxWidth),...S(I,$)},colspan:I.colspan,rowspan:I.rowspan,fixed:I.fixed,nowrap:I.nowrap,lastFixed:I.lastFixed,firstFixedEnd:I.firstFixedEnd,noPadding:z,tabindex:I.sortable?0:void 0,onClick:I.sortable?()=>a(I):void 0,onKeydown:I.sortable?G=>b(G,I):void 0},q),{default:()=>{const G=`header.${I.key}`,ee={column:I,selectAll:m,isSorted:u,toggleSort:a,sortBy:c.value,someSelected:d.value,allSelected:f.value,getSortIcon:k};return r[G]?r[G](ee):I.key==="data-table-select"?r["header.data-table-select"]?.(ee)??(y.value&&createVNode(VCheckboxBtn,{modelValue:f.value,indeterminate:d.value&&!f.value,"onUpdate:modelValue":m},null)):createBaseVNode("div",{class:"v-data-table-header__content"},[createBaseVNode("span",null,[I.title]),I.sortable&&!e.disableSort&&createVNode(VIcon,{key:"icon",class:"v-data-table-header__sort-icon",icon:k(I)},null),e.multiSort&&u(I)&&createBaseVNode("div",{key:"badge",class:normalizeClass(["v-data-table-header__sort-badge",...C.value]),style:normalizeStyle(O.value)},[c.value.findIndex(ae=>ae.key===I.key)+1])])}})},D=()=>{const F=computed(()=>v.value.filter(U=>U?.sortable&&!e.disableSort)),I=computed(()=>{if(v.value.find($=>$.key==="data-table-select")!=null)return f.value?"$checkboxOn":d.value?"$checkboxIndeterminate":"$checkboxOff"});return createVNode(VDataTableColumn,mergeProps({tag:"th",class:[...P.value],colspan:w.value.length+1},e.headerProps),{default:()=>[createBaseVNode("div",{class:"v-data-table-header__content"},[createVNode(VSelect,{chips:!0,class:"v-data-table__td-sort-select",clearable:!0,density:"default",items:F.value,label:i("$vuetify.dataTable.sortBy"),multiple:e.multiSort,variant:"underlined","onClick:clear":()=>c.value=[],appendIcon:I.value,"onClick:append":()=>m(!f.value)},{chip:U=>createVNode(VChip,{onClick:U.item.raw?.sortable?()=>a(U.item.raw):void 0,onMousedown:$=>{$.preventDefault(),$.stopPropagation()}},{default:()=>[U.item.title,createVNode(VIcon,{class:normalizeClass(["v-data-table__td-sort-icon",u(U.item.raw)&&"v-data-table__td-sort-icon-active"]),icon:k(U.item.raw),size:"small"},null)]})})])]})};useRender(()=>E.value?createBaseVNode("tr",null,[createVNode(D,null,null)]):createBaseVNode(Fragment,null,[r.headers?r.headers(A.value):w.value.map((F,I)=>createBaseVNode("tr",null,[F.map((U,$)=>createVNode(M,{column:U,x:$,y:I},null))])),e.loading&&createBaseVNode("tr",{class:"v-data-table-progress"},[createBaseVNode("th",{colspan:v.value.length},[createVNode(LoaderSlot,{name:"v-data-table-progress",absolute:!0,active:!0,color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0},{default:r.loader})])])]))}}),makeDataTableGroupProps=propsFactory({groupBy:{type:Array,default:()=>[]}},"DataTable-group"),VDataTableGroupSymbol=Symbol.for("vuetify:data-table-group");function createGroupBy(e){return{groupBy:useProxiedModel(e,"groupBy")}}function provideGroupBy(e){const{disableSort:t,groupBy:r,sortBy:i}=e,a=ref(new Set),c=computed(()=>r.value.map(y=>({...y,order:y.order??!1})).concat(t?.value?[]:i.value));function u(y){return a.value.has(y.id)}function d(y){const v=new Set(a.value);u(y)?v.delete(y.id):v.add(y.id),a.value=v}function f(y){function v(w){const _=[];for(const S of w.items)"type"in S&&S.type==="group"?_.push(...v(S)):_.push(S);return[...new Set(_)]}return v({items:y})}const m={sortByWithGroups:c,toggleGroup:d,opened:a,groupBy:r,extractRows:f,isGroupOpen:u};return provide(VDataTableGroupSymbol,m),m}function useGroupBy(){const e=inject$1(VDataTableGroupSymbol);if(!e)throw new Error("Missing group!");return e}function groupItemsByProperty(e,t){if(!e.length)return[];const r=new Map;for(const i of e){const a=getObjectValueByPath(i.raw,t);r.has(a)||r.set(a,[]),r.get(a).push(i)}return r}function groupItems(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"root";if(!t.length)return[];const a=groupItemsByProperty(e,t[0]),c=[],u=t.slice(1);return a.forEach((d,f)=>{const m=t[0],y=`${i}_${m}_${f}`;c.push({depth:r,id:y,key:m,value:f,items:u.length?groupItems(d,u,r+1,y):d,type:"group"})}),c}function flattenItems(e,t){const r=[];for(const i of e)"type"in i&&i.type==="group"?(i.value!=null&&r.push(i),(t.has(i.id)||i.value==null)&&r.push(...flattenItems(i.items,t))):r.push(i);return r}function useGroupedItems(e,t,r){return{flatItems:computed(()=>{if(!t.value.length)return e.value;const a=groupItems(e.value,t.value.map(c=>c.key));return flattenItems(a,r.value)})}}const makeVDataTableGroupHeaderRowProps=propsFactory({item:{type:Object,required:!0}},"VDataTableGroupHeaderRow"),VDataTableGroupHeaderRow=genericComponent()({name:"VDataTableGroupHeaderRow",props:makeVDataTableGroupHeaderRowProps(),setup(e,t){let{slots:r}=t;const{isGroupOpen:i,toggleGroup:a,extractRows:c}=useGroupBy(),{isSelected:u,isSomeSelected:d,select:f}=useSelection(),{columns:m}=useHeaders(),y=computed(()=>c([e.item]));return()=>createBaseVNode("tr",{class:"v-data-table-group-header-row",style:{"--v-data-table-group-header-row-depth":e.item.depth}},[m.value.map(v=>{if(v.key==="data-table-group"){const w=i(e.item)?"$expand":"$next",_=()=>a(e.item);return r["data-table-group"]?.({item:e.item,count:y.value.length,props:{icon:w,onClick:_}})??createVNode(VDataTableColumn,{class:"v-data-table-group-header-row__column"},{default:()=>[createVNode(VBtn,{size:"small",variant:"text",icon:w,onClick:_},null),createBaseVNode("span",null,[e.item.value]),createBaseVNode("span",null,[createTextVNode("("),y.value.length,createTextVNode(")")])]})}if(v.key==="data-table-select"){const w=u(y.value),_=d(y.value)&&!w,S=b=>f(y.value,b);return r["data-table-select"]?.({props:{modelValue:w,indeterminate:_,"onUpdate:modelValue":S}})??createBaseVNode("td",null,[createVNode(VCheckboxBtn,{modelValue:w,indeterminate:_,"onUpdate:modelValue":S},null)])}return createBaseVNode("td",null,null)})])}}),makeDataTableExpandProps=propsFactory({expandOnClick:Boolean,showExpand:Boolean,expanded:{type:Array,default:()=>[]}},"DataTable-expand"),VDataTableExpandedKey=Symbol.for("vuetify:datatable:expanded");function provideExpanded(e){const t=toRef$2(()=>e.expandOnClick),r=useProxiedModel(e,"expanded",e.expanded,d=>new Set(d),d=>[...d.values()]);function i(d,f){const m=new Set(r.value);f?m.add(d.value):m.delete(d.value),r.value=m}function a(d){return r.value.has(d.value)}function c(d){i(d,!a(d))}const u={expand:i,expanded:r,expandOnClick:t,isExpanded:a,toggleExpand:c};return provide(VDataTableExpandedKey,u),u}function useExpanded(){const e=inject$1(VDataTableExpandedKey);if(!e)throw new Error("foo");return e}const makeVDataTableRowProps=propsFactory({index:Number,item:Object,cellProps:[Object,Function],onClick:EventProp(),onContextmenu:EventProp(),onDblclick:EventProp(),...makeDisplayProps()},"VDataTableRow"),VDataTableRow=genericComponent()({name:"VDataTableRow",props:makeVDataTableRowProps(),setup(e,t){let{slots:r}=t;const{displayClasses:i,mobile:a}=useDisplay(e,"v-data-table__tr"),{isSelected:c,toggleSelect:u,someSelected:d,allSelected:f,selectAll:m}=useSelection(),{isExpanded:y,toggleExpand:v}=useExpanded(),{toggleSort:w,sortBy:_,isSorted:S}=useSort(),{columns:b}=useHeaders();useRender(()=>createBaseVNode("tr",{class:normalizeClass(["v-data-table__tr",{"v-data-table__tr--clickable":!!(e.onClick||e.onContextmenu||e.onDblclick)},i.value]),onClick:e.onClick,onContextmenu:e.onContextmenu,onDblclick:e.onDblclick},[e.item&&b.value.map((k,C)=>{const O=e.item,T=`item.${k.key}`,E=`header.${k.key}`,A={index:e.index,item:O.raw,internalItem:O,value:getObjectValueByPath(O.columns,k.key),column:k,isSelected:c,toggleSelect:u,isExpanded:y,toggleExpand:v},P={column:k,selectAll:m,isSorted:S,toggleSort:w,sortBy:_.value,someSelected:d.value,allSelected:f.value,getSortIcon:()=>""},M=typeof e.cellProps=="function"?e.cellProps({index:A.index,item:A.item,internalItem:A.internalItem,value:A.value,column:k}):e.cellProps,D=typeof k.cellProps=="function"?k.cellProps({index:A.index,item:A.item,internalItem:A.internalItem,value:A.value}):k.cellProps;return createVNode(VDataTableColumn,mergeProps({align:k.align,class:{"v-data-table__td--expanded-row":k.key==="data-table-expand","v-data-table__td--select-row":k.key==="data-table-select"},fixed:k.fixed,fixedOffset:k.fixedOffset,fixedEndOffset:k.fixedEndOffset,lastFixed:k.lastFixed,firstFixedEnd:k.firstFixedEnd,maxWidth:a.value?void 0:k.maxWidth,noPadding:k.key==="data-table-select"||k.key==="data-table-expand",nowrap:k.nowrap,width:a.value?void 0:k.width},M,D),{default:()=>{if(k.key==="data-table-select")return r["item.data-table-select"]?.({...A,props:{disabled:!O.selectable,modelValue:c([O]),onClick:withModifiers(()=>u(O),["stop"])}})??createVNode(VCheckboxBtn,{disabled:!O.selectable,modelValue:c([O]),onClick:withModifiers(I=>u(O,e.index,I),["stop"])},null);if(k.key==="data-table-expand")return r["item.data-table-expand"]?.({...A,props:{icon:y(O)?"$collapse":"$expand",size:"small",variant:"text",onClick:withModifiers(()=>v(O),["stop"])}})??createVNode(VBtn,{icon:y(O)?"$collapse":"$expand",size:"small",variant:"text",onClick:withModifiers(()=>v(O),["stop"])},null);if(r[T]&&!a.value)return r[T](A);const F=toDisplayString$1(A.value);return a.value?createBaseVNode(Fragment,null,[createBaseVNode("div",{class:"v-data-table__td-title"},[r[E]?.(P)??k.title]),createBaseVNode("div",{class:"v-data-table__td-value"},[r[T]?.(A)??F])]):F}})})]))}}),makeVDataTableRowsProps=propsFactory({loading:[Boolean,String],loadingText:{type:String,default:"$vuetify.dataIterator.loadingText"},hideNoData:Boolean,items:{type:Array,default:()=>[]},noDataText:{type:String,default:"$vuetify.noDataText"},rowProps:[Object,Function],cellProps:[Object,Function],...makeDisplayProps()},"VDataTableRows"),VDataTableRows=genericComponent()({name:"VDataTableRows",inheritAttrs:!1,props:makeVDataTableRowsProps(),setup(e,t){let{attrs:r,slots:i}=t;const{columns:a}=useHeaders(),{expandOnClick:c,toggleExpand:u,isExpanded:d}=useExpanded(),{isSelected:f,toggleSelect:m}=useSelection(),{toggleGroup:y,isGroupOpen:v}=useGroupBy(),{t:w}=useLocale(),{mobile:_}=useDisplay(e);return useRender(()=>e.loading&&(!e.items.length||i.loading)?createBaseVNode("tr",{class:"v-data-table-rows-loading",key:"loading"},[createBaseVNode("td",{colspan:a.value.length},[i.loading?.()??w(e.loadingText)])]):!e.loading&&!e.items.length&&!e.hideNoData?createBaseVNode("tr",{class:"v-data-table-rows-no-data",key:"no-data"},[createBaseVNode("td",{colspan:a.value.length},[i["no-data"]?.()??w(e.noDataText)])]):createBaseVNode(Fragment,null,[e.items.map((S,b)=>{if(S.type==="group"){const O={index:b,item:S,columns:a.value,isExpanded:d,toggleExpand:u,isSelected:f,toggleSelect:m,toggleGroup:y,isGroupOpen:v};return i["group-header"]?i["group-header"](O):createVNode(VDataTableGroupHeaderRow,mergeProps({key:`group-header_${S.id}`,item:S},getPrefixedEventHandlers(r,":group-header",()=>O)),i)}const k={index:b,item:S.raw,internalItem:S,columns:a.value,isExpanded:d,toggleExpand:u,isSelected:f,toggleSelect:m},C={...k,props:mergeProps({key:`item_${S.key??S.index}`,onClick:c.value?()=>{u(S)}:void 0,index:b,item:S,cellProps:e.cellProps,mobile:_.value},getPrefixedEventHandlers(r,":row",()=>k),typeof e.rowProps=="function"?e.rowProps({item:k.item,index:k.index,internalItem:k.internalItem}):e.rowProps)};return createBaseVNode(Fragment,{key:C.props.key},[i.item?i.item(C):createVNode(VDataTableRow,C.props,i),d(S)&&i["expanded-row"]?.(k)])})])),{}}}),makeVTableProps=propsFactory({fixedHeader:Boolean,fixedFooter:Boolean,height:[Number,String],hover:Boolean,striped:{type:String,default:null,validator:e=>["even","odd"].includes(e)},...makeComponentProps(),...makeDensityProps(),...makeTagProps(),...makeThemeProps()},"VTable"),VTable=genericComponent()({name:"VTable",props:makeVTableProps(),setup(e,t){let{slots:r,emit:i}=t;const{themeClasses:a}=provideTheme(e),{densityClasses:c}=useDensity(e);return useRender(()=>{const u={VCheckboxBtn:{density:e.density}};return createVNode(e.tag,{class:normalizeClass(["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,"v-table--striped-even":e.striped==="even","v-table--striped-odd":e.striped==="odd"},a.value,c.value,e.class]),style:normalizeStyle(e.style)},{default:()=>[r.top?.(),createVNode(VDefaultsProvider,{defaults:u},{default:()=>[r.default?createBaseVNode("div",{class:"v-table__wrapper",style:{height:convertToUnit(e.height)}},[createBaseVNode("table",null,[r.default()])]):r.wrapper?.()]}),r.bottom?.()]})}),{}}}),makeDataTableItemsProps=propsFactory({items:{type:Array,default:()=>[]},itemValue:{type:[String,Array,Function],default:"id"},itemSelectable:{type:[String,Array,Function],default:null},rowProps:[Object,Function],cellProps:[Object,Function],returnObject:Boolean},"DataTable-items");function transformItem(e,t,r,i){const a=e.returnObject?t:getPropertyFromItem(t,e.itemValue),c=getPropertyFromItem(t,e.itemSelectable,!0),u=i.reduce((d,f)=>(f.key!=null&&(d[f.key]=getPropertyFromItem(t,f.value)),d),{});return{type:"item",key:e.returnObject?getPropertyFromItem(t,e.itemValue):a,index:r,value:a,selectable:c,columns:u,raw:t}}function transformItems(e,t,r){return t.map((i,a)=>transformItem(e,i,a,r))}function useDataTableItems(e,t){return{items:computed(()=>transformItems(e,e.items,t.value))}}function useOptions$1(e){let{page:t,itemsPerPage:r,sortBy:i,groupBy:a,search:c}=e;const u=getCurrentInstance("VDataTable"),d=()=>({page:t.value,itemsPerPage:r.value,sortBy:i.value,groupBy:a.value,search:c.value});let f=null;watch(d,m=>{deepEqual(f,m)||(f&&f.search!==m.search&&(t.value=1),u.emit("update:options",m),f=m)},{deep:!0,immediate:!0})}const defaultFilter=(e,t,r)=>{if(e==null||t==null)return-1;if(!t.length)return 0;e=e.toString().toLocaleLowerCase(),t=t.toString().toLocaleLowerCase();const i=[];let a=e.indexOf(t);for(;~a;)i.push([a,a+t.length]),a=e.indexOf(t,a+t.length);return i.length?i:-1};function normaliseMatch(e,t){if(!(e==null||typeof e=="boolean"||e===-1))return typeof e=="number"?[[e,e+t.length]]:Array.isArray(e[0])?e:[e]}const makeFilterProps=propsFactory({customFilter:Function,customKeyFilter:Object,filterKeys:[Array,String],filterMode:{type:String,default:"intersection"},noFilter:Boolean},"filter");function filterItems(e,t,r){const i=[],a=r?.default??defaultFilter,c=r?.filterKeys?wrapInArray(r.filterKeys):!1,u=Object.keys(r?.customKeyFilter??{}).length;if(!e?.length)return i;e:for(let d=0;d<e.length;d++){const[f,m=f]=wrapInArray(e[d]),y={},v={};let w=-1;if((t||u>0)&&!r?.noFilter){let _=!1;if(typeof f=="object"){if(f.type==="divider"||f.type==="subheader")continue;const k=c||Object.keys(m);_=k.length===u;for(const C of k){const O=getPropertyFromItem(m,C),T=r?.customKeyFilter?.[C];if(w=T?T(O,t,f):a(O,t,f),w!==-1&&w!==!1)T?y[C]=normaliseMatch(w,t):v[C]=normaliseMatch(w,t);else if(r?.filterMode==="every")continue e}}else w=a(f,t,f),w!==-1&&w!==!1&&(v.title=normaliseMatch(w,t));const S=Object.keys(v).length,b=Object.keys(y).length;if(!S&&!b||r?.filterMode==="union"&&b!==u&&!S||r?.filterMode==="intersection"&&(b!==u||!S&&u>0&&!_))continue}i.push({index:d,matches:{...v,...y}})}return i}function useFilter(e,t,r,i){const a=shallowRef([]),c=shallowRef(new Map),u=computed(()=>i?.transform?unref(t).map(f=>[f,i.transform(f)]):unref(t));watchEffect(()=>{const f=typeof r=="function"?r():unref(r),m=typeof f!="string"&&typeof f!="number"?"":String(f),y=filterItems(u.value,m,{customKeyFilter:{...e.customKeyFilter,...unref(i?.customKeyFilter)},default:e.customFilter,filterKeys:e.filterKeys,filterMode:e.filterMode,noFilter:e.noFilter}),v=unref(t),w=[],_=new Map;y.forEach(S=>{let{index:b,matches:k}=S;const C=v[b];w.push(C),_.set(C.value,k)}),a.value=w,c.value=_});function d(f){return c.value.get(f.value)}return{filteredItems:a,filteredMatches:c,getMatches:d}}function highlightResult(e,t,r){return r==null||!r.length?t:r.map((i,a)=>{const c=a===0?0:r[a-1][1],u=[createBaseVNode("span",{class:normalizeClass(`${e}__unmask`)},[t.slice(c,i[0])]),createBaseVNode("span",{class:normalizeClass(`${e}__mask`)},[t.slice(i[0],i[1])])];return a===r.length-1&&u.push(createBaseVNode("span",{class:normalizeClass(`${e}__unmask`)},[t.slice(i[1])])),createBaseVNode(Fragment,null,[u])})}const makeDataTableProps=propsFactory({...makeVDataTableRowsProps(),hideDefaultBody:Boolean,hideDefaultFooter:Boolean,hideDefaultHeader:Boolean,width:[String,Number],search:String,...makeDataTableExpandProps(),...makeDataTableGroupProps(),...makeDataTableHeaderProps(),...makeDataTableItemsProps(),...makeDataTableSelectProps(),...makeDataTableSortProps(),...makeVDataTableHeadersProps(),...makeVTableProps()},"DataTable"),makeVDataTableProps=propsFactory({...makeDataTablePaginateProps(),...makeDataTableProps(),...makeFilterProps(),...makeVDataTableFooterProps()},"VDataTable"),VDataTable=genericComponent()({name:"VDataTable",props:makeVDataTableProps(),emits:{"update:modelValue":e=>!0,"update:page":e=>!0,"update:itemsPerPage":e=>!0,"update:sortBy":e=>!0,"update:options":e=>!0,"update:groupBy":e=>!0,"update:expanded":e=>!0,"update:currentItems":e=>!0},setup(e,t){let{attrs:r,slots:i}=t;const{groupBy:a}=createGroupBy(e),{sortBy:c,multiSort:u,mustSort:d}=createSort(e),{page:f,itemsPerPage:m}=createPagination(e),{disableSort:y}=toRefs(e),{columns:v,headers:w,sortFunctions:_,sortRawFunctions:S,filterFunctions:b}=createHeaders(e,{groupBy:a,showSelect:toRef$2(()=>e.showSelect),showExpand:toRef$2(()=>e.showExpand)}),{items:k}=useDataTableItems(e,v),C=toRef$2(()=>e.search),{filteredItems:O}=useFilter(e,k,C,{transform:re=>re.columns,customKeyFilter:b}),{toggleSort:T}=provideSort({sortBy:c,multiSort:u,mustSort:d,page:f}),{sortByWithGroups:E,opened:A,extractRows:P,isGroupOpen:M,toggleGroup:D}=provideGroupBy({groupBy:a,sortBy:c,disableSort:y}),{sortedItems:F}=useSortedItems(e,O,E,{transform:re=>({...re.raw,...re.columns}),sortFunctions:_,sortRawFunctions:S}),{flatItems:I}=useGroupedItems(F,a,A),U=computed(()=>I.value.length),{startIndex:$,stopIndex:z,pageCount:q,setItemsPerPage:G}=providePagination({page:f,itemsPerPage:m,itemsLength:U}),{paginatedItems:ee}=usePaginatedItems({items:I,startIndex:$,stopIndex:z,itemsPerPage:m}),ae=computed(()=>P(ee.value)),{isSelected:oe,select:Se,selectAll:te,toggleSelect:se,someSelected:ne,allSelected:le}=provideSelection(e,{allItems:k,currentPage:ae}),{isExpanded:Oe,toggleExpand:ke}=provideExpanded(e);useOptions$1({page:f,itemsPerPage:m,sortBy:c,groupBy:a,search:C}),provideDefaults({VDataTableRows:{hideNoData:toRef$2(()=>e.hideNoData),noDataText:toRef$2(()=>e.noDataText),loading:toRef$2(()=>e.loading),loadingText:toRef$2(()=>e.loadingText)}});const ye=computed(()=>({page:f.value,itemsPerPage:m.value,sortBy:c.value,pageCount:q.value,toggleSort:T,setItemsPerPage:G,someSelected:ne.value,allSelected:le.value,isSelected:oe,select:Se,selectAll:te,toggleSelect:se,isExpanded:Oe,toggleExpand:ke,isGroupOpen:M,toggleGroup:D,items:ae.value.map(re=>re.raw),internalItems:ae.value,groupedItems:ee.value,columns:v.value,headers:w.value}));return useRender(()=>{const re=VDataTableFooter.filterProps(e),ue=VDataTableHeaders.filterProps(e),ie=VDataTableRows.filterProps(e),pe=VTable.filterProps(e);return createVNode(VTable,mergeProps({class:["v-data-table",{"v-data-table--show-select":e.showSelect,"v-data-table--loading":e.loading},e.class],style:e.style},pe,{fixedHeader:e.fixedHeader||e.sticky}),{top:()=>i.top?.(ye.value),default:()=>i.default?i.default(ye.value):createBaseVNode(Fragment,null,[i.colgroup?.(ye.value),!e.hideDefaultHeader&&createBaseVNode("thead",{key:"thead"},[createVNode(VDataTableHeaders,ue,i)]),i.thead?.(ye.value),!e.hideDefaultBody&&createBaseVNode("tbody",null,[i["body.prepend"]?.(ye.value),i.body?i.body(ye.value):createVNode(VDataTableRows,mergeProps(r,ie,{items:ee.value}),i),i["body.append"]?.(ye.value)]),i.tbody?.(ye.value),i.tfoot?.(ye.value)]),bottom:()=>i.bottom?i.bottom(ye.value):!e.hideDefaultFooter&&createBaseVNode(Fragment,null,[createVNode(VDivider,null,null),createVNode(VDataTableFooter,re,{prepend:i["footer.prepend"]})])})}),{}}}),_hoisted_1$7={key:0},_hoisted_2$6={key:0},_hoisted_3$6={class:"text-pre"},_hoisted_4$5={key:1,style:{"white-space":"pre-wrap"}},_sfc_main$d=defineComponent$1({__name:"MessageListDialog",props:{activator:{default:"parent"}},setup(e){const{copy:t}=useClipboard(),{t:r}=useI18n$1(),i=computed(()=>{let v=[];return useMessageStore().messages.forEach(w=>{d.value.includes(w.type)&&v.push(w)}),v}),a=ref([{key:"createdAt",order:"desc"}]),c=ref(""),u=ref([{title:r("Type"),key:"type"},{title:r("Created"),key:"createdAt"},{title:r("Message"),key:"msg"},{title:r("Actions"),key:"actions",align:"end"}]),d=ref([MessageType.SUCCESS,MessageType.INFO,MessageType.WARNING,MessageType.ERROR]),f=ref({}),m=ref(!1);function y(){let v=[MessageType.SUCCESS,MessageType.ERROR,MessageType.INFO,MessageType.WARNING];useMessageStore().addMessage(v[Math.floor(Math.random()*v.length)],{title:"Test",text:`Lorem Ipsum Lorem Ipsum Lorem Ipsum LINEBREAK
Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum Lorem Ipsum ${Math.random()*1e3}`},5e3,{json:"data",msg:"whatever",data:1})}return(v,w)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(VDialog,{"max-width":"70vw","min-height":"80vh",activator:e.activator},{default:withCtx(({isActive:_})=>[createVNode(VCard,null,{default:withCtx(()=>[createVNode(VCardTitle,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(v.$t("Messages")),1)]),_:1}),createVNode(VCardText,null,{default:withCtx(()=>[w[7]||(w[7]=createBaseVNode("h4",null,"Filter",-1)),createVNode(VTextField,{class:"mt-2",modelValue:c.value,"onUpdate:modelValue":w[0]||(w[0]=S=>c.value=S),label:"Search","prepend-inner-icon":"$search",variant:"outlined",clearable:"","hide-details":"","single-line":""},null,8,["modelValue"]),createVNode(VBtnToggle,{class:"mt-2",modelValue:d.value,"onUpdate:modelValue":w[1]||(w[1]=S=>d.value=S),variant:"outlined",divided:"",multiple:""},{default:withCtx(()=>[createVNode(VBtn,{value:unref(MessageType).SUCCESS},{default:withCtx(()=>[createVNode(VIcon,{icon:"fa-regular fa-eye",color:"success",class:"me-2"}),createTextVNode(" "+toDisplayString$1(v.$t("Success")),1)]),_:1},8,["value"]),createVNode(VBtn,{value:unref(MessageType).INFO},{default:withCtx(()=>[createVNode(VIcon,{icon:"fa-regular fa-eye",color:"info",class:"me-2"}),createTextVNode(" "+toDisplayString$1(v.$t("Information")),1)]),_:1},8,["value"]),createVNode(VBtn,{value:unref(MessageType).WARNING},{default:withCtx(()=>[createVNode(VIcon,{icon:"fa-regular fa-eye",color:"warning",class:"me-2"}),createTextVNode(" "+toDisplayString$1(v.$t("Warning")),1)]),_:1},8,["value"]),createVNode(VBtn,{value:unref(MessageType).ERROR},{default:withCtx(()=>[createVNode(VIcon,{icon:"fa-regular fa-eye",color:"error",class:"me-2"}),createTextVNode(" "+toDisplayString$1(v.$t("Error")),1)]),_:1},8,["value"])]),_:1},8,["modelValue"]),createVNode(VDataTable,{headers:u.value,items:i.value,"sort-by":a.value,search:c.value},{"item.createdAt":withCtx(({value:S})=>[createTextVNode(toDisplayString$1(unref(DateTime).fromSeconds(S).toLocaleString(unref(DateTime).DATETIME_MED)),1)]),"item.type":withCtx(({value:S})=>[createVNode(VChip,{color:S},{default:withCtx(()=>[createTextVNode(toDisplayString$1(S),1)]),_:2},1032,["color"])]),"item.msg":withCtx(({value:S})=>[S.title?(openBlock(),createElementBlock("b",_hoisted_1$7,[createTextVNode(toDisplayString$1(S.title),1),w[6]||(w[6]=createBaseVNode("br",null,null,-1))])):createCommentVNode("",!0),createTextVNode(" "+toDisplayString$1(S.text),1)]),"item.actions":withCtx(({item:S})=>[createVNode(VIcon,{icon:"$search",onClick:b=>{m.value=!0,f.value=S}},null,8,["onClick"]),createVNode(VIcon,{class:"ms-1",icon:"$copy",onClick:b=>{unref(t)(JSON.stringify({type:S.type,createdAt:S.createdAt,msg:S.msg,data:S.data}))}},null,8,["onClick"])]),_:1},8,["headers","items","sort-by","search"])]),_:1,__:[7]}),createVNode(VCardActions,null,{default:withCtx(()=>[createVNode(VSpacer),createVNode(VBtn,{onClick:w[2]||(w[2]=S=>unref(useMessageStore)().deleteAllMessages()),color:"error"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(v.$t("Delete_All")),1)]),_:1}),createVNode(VBtn,{onClick:w[3]||(w[3]=S=>y()),color:"warning"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(v.$t("Add")),1)]),_:1}),createVNode(VBtn,{onClick:S=>_.value=!1},{default:withCtx(()=>[createTextVNode(toDisplayString$1(v.$t("Close")),1)]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1024)]),_:1},8,["activator"]),createVNode(VDialog,{modelValue:m.value,"onUpdate:modelValue":w[5]||(w[5]=_=>m.value=_),"max-width":"50vw"},{default:withCtx(()=>[createVNode(VCard,null,{default:withCtx(()=>[createVNode(VCardTitle,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(v.$t("Created"))+" ",1),createBaseVNode("small",null,toDisplayString$1(unref(DateTime).fromSeconds(f.value.createdAt).toLocaleString(unref(DateTime).DATETIME_MED)),1)]),_:1}),createVNode(VDivider),createVNode(VCardText,null,{default:withCtx(()=>[createVNode(VLabel,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(v.$t("Type")),1)]),_:1}),w[9]||(w[9]=createBaseVNode("br",null,null,-1)),createVNode(VChip,{color:f.value.type},{default:withCtx(()=>[createTextVNode(toDisplayString$1(f.value.type),1)]),_:1},8,["color"]),w[10]||(w[10]=createBaseVNode("br",null,null,-1)),createVNode(VLabel,{class:"mt-2"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(v.$t("Messages")),1)]),_:1}),w[11]||(w[11]=createBaseVNode("br",null,null,-1)),f.value.msg.title?(openBlock(),createElementBlock("b",_hoisted_2$6,[createTextVNode(toDisplayString$1(f.value.msg.title),1),w[8]||(w[8]=createBaseVNode("br",null,null,-1))])):createCommentVNode("",!0),createBaseVNode("span",_hoisted_3$6,toDisplayString$1(f.value.msg.text),1),createVNode(VLabel,{class:"mt-2"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(v.$t("Information")),1)]),_:1}),f.value.data!=null?(openBlock(),createElementBlock("pre",_hoisted_4$5,toDisplayString$1(f.value.data),1)):createCommentVNode("",!0)]),_:1,__:[9,10,11]}),createVNode(VCardActions,null,{default:withCtx(()=>[createVNode(VSpacer),createVNode(VBtn,{text:"Close Dialog",onClick:w[4]||(w[4]=_=>m.value=!1)})]),_:1})]),_:1})]),_:1},8,["modelValue"])],64))}});function useCountdown(e){const t=shallowRef(e());let r=-1;function i(){clearInterval(r)}function a(){i(),nextTick(()=>t.value=e())}function c(u){const d=u?getComputedStyle(u):{transitionDuration:.2},f=parseFloat(d.transitionDuration)*1e3||200;if(i(),t.value<=0)return;const m=performance.now();r=window.setInterval(()=>{const y=performance.now()-m+f;t.value=Math.max(e()-y,0),t.value<=0&&i()},f)}return onScopeDispose(i),{clear:i,time:t,start:c,reset:a}}const makeVSnackbarProps=propsFactory({multiLine:Boolean,text:String,timer:[Boolean,String],timeout:{type:[Number,String],default:5e3},vertical:Boolean,...makeLocationProps({location:"bottom"}),...makePositionProps(),...makeRoundedProps(),...makeVariantProps(),...makeThemeProps(),...omit(makeVOverlayProps({transition:"v-snackbar-transition"}),["persistent","noClickAnimation","scrim","scrollStrategy"])},"VSnackbar"),VSnackbar=genericComponent()({name:"VSnackbar",props:makeVSnackbarProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;const i=useProxiedModel(e,"modelValue"),{positionClasses:a}=usePosition(e),{scopeId:c}=useScopeId(),{themeClasses:u}=provideTheme(e),{colorClasses:d,colorStyles:f,variantClasses:m}=useVariant(e),{roundedClasses:y}=useRounded(e),v=useCountdown(()=>Number(e.timeout)),w=ref(),_=ref(),S=shallowRef(!1),b=shallowRef(0),k=ref(),C=inject$1(VuetifyLayoutKey,void 0);useToggleScope(()=>!!C,()=>{const U=useLayout();watchEffect(()=>{k.value=U.mainStyles.value})}),watch(i,T),watch(()=>e.timeout,T),onMounted(()=>{i.value&&T()});let O=-1;function T(){v.reset(),window.clearTimeout(O);const U=Number(e.timeout);if(!i.value||U===-1)return;const $=refElement(_.value);v.start($),O=window.setTimeout(()=>{i.value=!1},U)}function E(){v.reset(),window.clearTimeout(O)}function A(){S.value=!0,E()}function P(){S.value=!1,T()}function M(U){b.value=U.touches[0].clientY}function D(U){Math.abs(b.value-U.changedTouches[0].clientY)>50&&(i.value=!1)}function F(){S.value&&P()}const I=computed(()=>e.location.split(" ").reduce((U,$)=>(U[`v-snackbar--${$}`]=!0,U),{}));return useRender(()=>{const U=VOverlay.filterProps(e),$=!!(r.default||r.text||e.text);return createVNode(VOverlay,mergeProps({ref:w,class:["v-snackbar",{"v-snackbar--active":i.value,"v-snackbar--multi-line":e.multiLine&&!e.vertical,"v-snackbar--timer":!!e.timer,"v-snackbar--vertical":e.vertical},I.value,a.value,e.class],style:[k.value,e.style]},U,{modelValue:i.value,"onUpdate:modelValue":z=>i.value=z,contentProps:mergeProps({class:["v-snackbar__wrapper",u.value,d.value,y.value,m.value],style:[f.value],onPointerenter:A,onPointerleave:P},U.contentProps),persistent:!0,noClickAnimation:!0,scrim:!1,scrollStrategy:"none",_disableGlobalStack:!0,onTouchstartPassive:M,onTouchend:D,onAfterLeave:F},c),{default:()=>[genOverlays(!1,"v-snackbar"),e.timer&&!S.value&&createBaseVNode("div",{key:"timer",class:"v-snackbar__timer"},[createVNode(VProgressLinear,{ref:_,color:typeof e.timer=="string"?e.timer:"info",max:e.timeout,modelValue:v.time.value},null)]),$&&createBaseVNode("div",{key:"content",class:"v-snackbar__content",role:"status","aria-live":"polite"},[r.text?.()??e.text,r.default?.()]),r.actions&&createVNode(VDefaultsProvider,{defaults:{VBtn:{variant:"text",ripple:!1,slim:!0}}},{default:()=>[createBaseVNode("div",{class:"v-snackbar__actions"},[r.actions({isActive:i})])]})],activator:r.activator})}),forwardRefs({},w)}}),_hoisted_1$6={key:0},_hoisted_2$5={style:{"white-space":"pre-wrap"}},_hoisted_3$5={key:0},_hoisted_4$4={key:1},_sfc_main$c=defineComponent$1({__name:"VSnackbarQueued",props:{location:{required:!1,type:String,default:"bottom"},vertical:{required:!1,type:Boolean,default:!1}},setup(e){const t=e,r=computed(()=>Object.keys(c.value).length>0?Object.keys(c.value.data).length>0:!1),i=useTemplateRef("ref_btn_view"),a=ref(-1),c=ref({}),u=ref(!1);useMessageStore().$subscribe((m,y)=>{"snackbarQueue"in y&&d()});function d(){a.value==-1&&useMessageStore().snackbarQueue.length>0&&(c.value=useMessageStore().snackbarQueue[0],u.value=!0,a.value=setTimeout(()=>{useMessageStore().snackbarQueue.shift(),a.value=-1,d()},c.value.showTimeout+50))}function f(){u.value=!1,clearTimeout(a.value),a.value=-1,useMessageStore().snackbarQueue.shift(),d()}return(m,y)=>(openBlock(),createElementBlock("div",null,[createVNode(VSnackbar,{modelValue:u.value,"onUpdate:modelValue":y[2]||(y[2]=v=>u.value=v),timer:!0,timeout:c.value.showTimeout,color:c.value.type,vertical:r.value&&t.vertical,location:t.location,"close-on-back":!1,"multi-line":r.value},createSlots({default:withCtx(()=>[c.value.msg.title?(openBlock(),createElementBlock("h3",_hoisted_1$6,toDisplayString$1(c.value.msg.title),1)):createCommentVNode("",!0),createBaseVNode("span",_hoisted_2$5,toDisplayString$1(c.value.msg.text),1)]),_:2},[r.value?{name:"actions",fn:withCtx(()=>[createVNode(VBtn,{ref:"ref_btn_view"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(m.$t("View")),1)]),_:1},512),createVNode(VBtn,{variant:"text",onClick:y[0]||(y[0]=v=>f())},{default:withCtx(()=>[unref(useMessageStore)().snackbarQueue.length>1?(openBlock(),createElementBlock("span",_hoisted_3$5,toDisplayString$1(m.$t("Next"))+" ("+toDisplayString$1(unref(useMessageStore)().snackbarQueue.length-1)+")",1)):(openBlock(),createElementBlock("span",_hoisted_4$4,toDisplayString$1(m.$t("Close")),1))]),_:1})]),key:"0"}:{name:"actions",fn:withCtx(()=>[createVNode(VBtn,{icon:"$close",size:"x-small",onClick:y[1]||(y[1]=v=>f())})]),key:"1"}]),1032,["modelValue","timeout","color","vertical","location","multi-line"]),createVNode(_sfc_main$d,{activator:i.value},null,8,["activator"])]))}});var ShoppingGroupingOptions=(e=>(e.CATEGORY="Category",e.CREATED_BY="CreatedBy",e.RECIPE="Recipe",e))(ShoppingGroupingOptions||{});const DEVICE_SETTINGS_KEY="TANDOOR_DEVICE_SETTINGS",USER_PREFERENCE_KEY="TANDOOR_USER_PREFERENCE",SERVER_SETTINGS_KEY="TANDOOR_SERVER_SETTINGS",ACTIVE_SPACE_KEY="TANDOOR_ACTIVE_SPACE",USER_SPACES_KEY="TANDOOR_USER_SPACES",SPACES_KEY="TANDOOR_SPACES",useUserPreferenceStore=defineStore("user_preference_store",()=>{let e=useStorage(DEVICE_SETTINGS_KEY,A(),localStorage,{mergeDefaults:!0}),t=useStorage(USER_PREFERENCE_KEY,{}),r=useStorage(SERVER_SETTINGS_KEY,{}),i=useStorage(ACTIVE_SPACE_KEY,{}),a=useStorage(USER_SPACES_KEY,[]),c=useStorage(SPACES_KEY,[]),u=ref(!1);const d=ref(!1),f=ref(null),m=useTheme(),y=useRouter$1();let v=computed(()=>{let D=null;return a.value.forEach(F=>{F.space==i.value.id&&(D=F)}),D});function w(){return console.log("loading user settings from DB"),new ApiApi().apiUserPreferenceList().then(F=>{F.length==1?(t.value=F[0],u.value=!0,P(),_()):useMessageStore().addError(ErrorMessageType.FETCH_ERROR,F)}).catch(F=>{F.response.status!=403&&useMessageStore().addError(ErrorMessageType.FETCH_ERROR,F)})}function _(){let D=new ApiApi;t.value.defaultUnit&&D.apiUnitList({query:t.value.defaultUnit}).then(F=>{F.results.forEach(I=>{I.name==t.value.defaultUnit&&(f.value=I)})}).catch(F=>{F.response.status!=403&&useMessageStore().addError(ErrorMessageType.FETCH_ERROR,F)})}function S(D=!1){return new ApiApi().apiUserPreferencePartialUpdate({user:t.value.user.id,patchedUserPreference:t.value}).then(I=>{t.value=I,P(),D||useMessageStore().addPreparedMessage(PreparedMessage.UPDATE_SUCCESS)}).catch(I=>{useMessageStore().addError(ErrorMessageType.UPDATE_ERROR,I)})}function b(){return new ApiApi().apiServerSettingsCurrentRetrieve().then(F=>{r.value=F}).catch(F=>{useMessageStore().addError(ErrorMessageType.FETCH_ERROR,F)})}function k(){return new ApiApi().apiSpaceCurrentRetrieve().then(F=>{i.value=F}).catch(F=>{F.response.status!=403&&useMessageStore().addError(ErrorMessageType.FETCH_ERROR,F)})}function C(){return new ApiApi().apiUserSpaceAllPersonalList().then(F=>{a.value=F.results}).catch(F=>{F.response.status!=403&&useMessageStore().addError(ErrorMessageType.FETCH_ERROR,F)})}function O(){return new ApiApi().apiSpaceList().then(F=>{c.value=F.results}).catch(F=>{F.response.status!=403&&useMessageStore().addError(ErrorMessageType.FETCH_ERROR,F)})}function T(D){new ApiApi().apiSwitchActiveSpaceRetrieve({spaceId:D.id}).then(I=>{k().then(()=>{y.push({name:"StartPage"}).then(()=>{location.reload()})})}).catch(I=>{useMessageStore().addError(ErrorMessageType.FETCH_ERROR,I)})}function E(){e.value=A()}function A(){return{shopping_show_checked_entries:!1,shopping_show_delayed_entries:!1,shopping_show_selected_supermarket_only:!1,shopping_selected_grouping:ShoppingGroupingOptions.CATEGORY,shopping_selected_supermarket:null,shopping_item_info_created_by:!1,shopping_item_info_mealplan:!0,shopping_item_info_recipe:!0,shopping_input_autocomplete:!0,shopping_show_debug:!1,mealplan_displayPeriod:"week",mealplan_displayPeriodCount:3,mealplan_startingDayOfWeek:1,mealplan_displayWeekNumbers:!0,recipe_mergeStepOverview:!1,search_itemsPerPage:50,search_viewMode:"grid",search_visibleFilters:[],start_showMealPlan:!0,general_tableItemsPerPage:10,general_closedHelpAlerts:[]}}function P(){t.value.theme=="TANDOOR"?m.change("light"):t.value.theme=="TANDOOR_DARK"&&m.change("dark")}function M(){const D=[];return D.push(w()),D.push(b()),D.push(k()),D.push(C()),D.push(O()),P(),Promise.allSettled(D).then(()=>{d.value=!0})}return{init:M,deviceSettings:e,userSettings:t,serverSettings:r,activeSpace:i,userSpaces:a,spaces:c,activeUserSpace:v,isAuthenticated:u,initCompleted:d,defaultUnitObj:f,loadUserSettings:w,loadServerSettings:b,updateUserSettings:S,switchSpace:T,resetDeviceSettings:E,updateTheme:P}}),_sfc_main$b=defineComponent$1({__name:"MealPlanDeviceSettings",setup(e){const{t}=useI18n$1(),r=ref([{title:t("Week"),value:"week"},{title:t("Month"),value:"month"},{title:t("Year"),value:"year"}]),i=ref([{title:t("Sunday"),value:0},{title:t("Monday"),value:1},{title:t("Tuesday"),value:2},{title:t("Wednesday"),value:3},{title:t("Thursday"),value:4},{title:t("Friday"),value:5},{title:t("Saturday"),value:6}]),a=ref([1,2,3,4]);return(c,u)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(VSelect,{modelValue:unref(useUserPreferenceStore)().deviceSettings.mealplan_displayPeriod,"onUpdate:modelValue":u[0]||(u[0]=d=>unref(useUserPreferenceStore)().deviceSettings.mealplan_displayPeriod=d),label:c.$t("Period"),hint:c.$t("Plan_Period_To_Show"),items:r.value,"persistent-hint":""},null,8,["modelValue","label","hint","items"]),createVNode(VSelect,{modelValue:unref(useUserPreferenceStore)().deviceSettings.mealplan_displayPeriodCount,"onUpdate:modelValue":u[1]||(u[1]=d=>unref(useUserPreferenceStore)().deviceSettings.mealplan_displayPeriodCount=d),label:c.$t("Periods"),hint:c.$t("Plan_Show_How_Many_Periods"),items:a.value,"persistent-hint":""},null,8,["modelValue","label","hint","items"]),createVNode(VSelect,{modelValue:unref(useUserPreferenceStore)().deviceSettings.mealplan_startingDayOfWeek,"onUpdate:modelValue":u[2]||(u[2]=d=>unref(useUserPreferenceStore)().deviceSettings.mealplan_startingDayOfWeek=d),label:c.$t("Starting_Day"),hint:c.$t("Starting_Day"),items:i.value,"persistent-hint":""},null,8,["modelValue","label","hint","items"]),createVNode(VCheckbox,{modelValue:unref(useUserPreferenceStore)().deviceSettings.mealplan_displayWeekNumbers,"onUpdate:modelValue":u[3]||(u[3]=d=>unref(useUserPreferenceStore)().deviceSettings.mealplan_displayWeekNumbers=d),label:c.$t("Week_Numbers"),hint:c.$t("Show_Week_Numbers"),"persistent-hint":""},null,8,["modelValue","label","hint"])],64))}});function getNestedProperty(e,t){return t.split(".").reduce((i,a)=>{if(i&&typeof i=="object")return i[a]},e)}function toNumberArray(e){return Array.isArray(e)?e.map(Number):[parseInt(e)]}const routeQueryDateTransformer={get:e=>e==null?null:new Date(e),set:e=>e==null?null:DateTime.fromJSDate(new Date(e)).toISODate()};function getGenericModelFromString(e,t){return SUPPORTED_MODELS.has(e.toLowerCase())?new GenericModel(SUPPORTED_MODELS.get(e.toLowerCase()),t):!1}function registerModel(e){SUPPORTED_MODELS.set(e.name.toLowerCase(),e)}let SUPPORTED_MODELS=new Map;const TFood={name:"Food",localizationKey:"Food",localizationKeyDescription:"FoodHelp",icon:"fa-solid fa-carrot",editorComponent:defineAsyncComponent(()=>__vitePreload(()=>import("./FoodEditor-3gejC5zm.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]),import.meta.url)),isPaginated:!0,isAdvancedDelete:!0,isMerge:!0,isTree:!0,mergeAutomation:"FOOD_ALIAS",toStringKeys:["name"],tableHeaders:[{title:"Name",key:"name"},{title:"Category",key:"supermarketCategory.name"},{title:"Plural",key:"plural",hidden:!0},{title:"Actions",key:"action",align:"end"}]};registerModel(TFood);const TUnit={name:"Unit",localizationKey:"Unit",localizationKeyDescription:"UnitHelp",icon:"fa-solid fa-scale-balanced",editorComponent:defineAsyncComponent(()=>__vitePreload(()=>import("./UnitEditor-DgXFUq4e.js"),__vite__mapDeps([13,1,2,11,12]),import.meta.url)),isPaginated:!0,isAdvancedDelete:!0,isMerge:!0,mergeAutomation:"UNIT_ALIAS",toStringKeys:["name"],tableHeaders:[{title:"Name",key:"name"},{title:"Plural",key:"plural",hidden:!0},{title:"Actions",key:"action",align:"end"}]};registerModel(TUnit);const TKeyword={name:"Keyword",localizationKey:"Keyword",localizationKeyDescription:"KeywordHelp",icon:"fa-solid fa-tags",editorComponent:defineAsyncComponent(()=>__vitePreload(()=>import("./KeywordEditor-B_K-9QDF.js"),__vite__mapDeps([14,1,2,6,7,8,9,10,11,12]),import.meta.url)),isPaginated:!0,isAdvancedDelete:!0,isMerge:!0,isTree:!0,mergeAutomation:"KEYWORD_ALIAS",toStringKeys:["name"],tableHeaders:[{title:"Name",key:"name"},{title:"Actions",key:"action",align:"end"}]};registerModel(TKeyword);const TRecipe={name:"Recipe",localizationKey:"Recipe",localizationKeyDescription:"RecipeHelp",icon:"fa-solid fa-book",editorComponent:defineAsyncComponent(()=>__vitePreload(()=>import("./RecipeEditor-Z3qd3Db3.js"),__vite__mapDeps([15,1,2,16,17,18,19,11,12,3,20,21,9,10,22,23,24,25]),import.meta.url)),isPaginated:!0,isAdvancedDelete:!0,toStringKeys:["name"],disableListView:!0,tableHeaders:[{title:"Name",key:"name"},{title:"Actions",key:"action",align:"end"}]};registerModel(TRecipe);const TStep={name:"Step",localizationKey:"Step",localizationKeyDescription:"StepHelp",icon:"fa-solid fa-list",isPaginated:!0,toStringKeys:["name"],disableListView:!0,tableHeaders:[{title:"Name",key:"name"},{title:"Actions",key:"action",align:"end"}]};registerModel(TStep);const TIngredient={name:"Ingredient",localizationKey:"Ingredient",localizationKeyDescription:"IngredientHelp",icon:"fa-solid fa-jar",isPaginated:!0,toStringKeys:["id"],disableListView:!0,tableHeaders:[{title:"Name",key:"id"},{title:"Actions",key:"action",align:"end"}]};registerModel(TIngredient);const TMealType={name:"MealType",localizationKey:"Meal_Type",localizationKeyDescription:"MealTypeHelp",icon:"fa-solid fa-utensils",editorComponent:defineAsyncComponent(()=>__vitePreload(()=>import("./MealTypeEditor-CeNz0Pzn.js"),__vite__mapDeps([26,1,2,27,28,29]),import.meta.url)),isPaginated:!0,isAdvancedDelete:!0,toStringKeys:["name"],tableHeaders:[{title:"Name",key:"name"},{title:"Actions",key:"action",align:"end"}]};registerModel(TMealType);const TMealPlan={name:"MealPlan",localizationKey:"Meal_Plan",localizationKeyDescription:"MealPlanHelp",icon:"fa-solid fa-calendar-days",editorComponent:defineAsyncComponent(()=>__vitePreload(()=>import("./MealPlanEditor-8ZJIBqi6.js"),__vite__mapDeps([30,1,2,31,32,33,34,35,36,37,38,39,17,40,20,41,42,43,21,9,10,11,12]),import.meta.url)),isPaginated:!0,toStringKeys:["title","recipe.name"],disableListView:!0,tableHeaders:[{title:"Title",key:"title"},{title:"StartDate",key:"startDate"},{title:"Actions",key:"action",align:"end"}]};registerModel(TMealPlan);const TRecipeBook={name:"RecipeBook",localizationKey:"Recipe_Book",localizationKeyDescription:"RecipeBookHelp",icon:"fa-solid fa-book-bookmark",editorComponent:defineAsyncComponent(()=>__vitePreload(()=>import("./RecipeBookEditor-Bfg_IQG9.js"),__vite__mapDeps([44,1,2,9,10,11,12,45]),import.meta.url)),isPaginated:!0,isAdvancedDelete:!0,toStringKeys:["name"],disableListView:!0,tableHeaders:[{title:"Name",key:"name"},{title:"Actions",key:"action",align:"end"}]};registerModel(TRecipeBook);const TRecipeBookEntry={name:"RecipeBookEntry",localizationKey:"Recipe_Book",localizationKeyDescription:"RecipeBookEntryHelp",icon:"fa-solid fa-book-bookmark",isPaginated:!0,toStringKeys:["book.name","recipe.name"],disableListView:!0,tableHeaders:[{title:"Book",key:"book.name"},{title:"Recipe",key:"recipe.name"},{title:"Actions",key:"action",align:"end"}]};registerModel(TRecipeBookEntry);const TCustomFilter={name:"CustomFilter",localizationKey:"SavedSearch",localizationKeyDescription:"SavedSearchHelp",icon:"fa-solid fa-filter",editorComponent:defineAsyncComponent(()=>__vitePreload(()=>import("./CustomFilterEditor-CLji5GA1.js"),__vite__mapDeps([46,1,2]),import.meta.url)),isPaginated:!0,toStringKeys:["name"],tableHeaders:[{title:"Name",key:"name"},{title:"Actions",key:"action",align:"end"}]};registerModel(TCustomFilter);const TUser={name:"User",localizationKey:"User",localizationKeyDescription:"UserHelp",icon:"fa-solid fa-user",disableCreate:!0,disableDelete:!0,disableUpdate:!0,disableListView:!0,isPaginated:!1,toStringKeys:["displayName"],itemLabel:"displayName",tableHeaders:[{title:"Name",key:"displayName"},{title:"Actions",key:"action",align:"end"}]};registerModel(TUser);const TSupermarket={name:"Supermarket",localizationKey:"Supermarket",localizationKeyDescription:"SupermarketHelp",icon:"fa-solid fa-store",editorComponent:defineAsyncComponent(()=>__vitePreload(()=>import("./SupermarketEditor-DNtaUxLT.js"),__vite__mapDeps([47,48,1,2,9,10,11,12]),import.meta.url)),isPaginated:!0,isAdvancedDelete:!0,toStringKeys:["name"],tableHeaders:[{title:"Name",key:"name"},{title:"Actions",key:"action",align:"end"}]};registerModel(TSupermarket);const TSupermarketCategory={name:"SupermarketCategory",localizationKey:"Category",localizationKeyDescription:"SupermarketCategoryHelp",icon:"fa-solid fa-boxes-stacked",editorComponent:defineAsyncComponent(()=>__vitePreload(()=>import("./SupermarketCategoryEditor-CEyiKvko.js"),__vite__mapDeps([49,1,2,11,12]),import.meta.url)),isPaginated:!0,isAdvancedDelete:!0,isMerge:!0,toStringKeys:["name"],tableHeaders:[{title:"Name",key:"name"},{title:"Actions",key:"action",align:"end"}]};registerModel(TSupermarketCategory);const TShoppingListEntry={name:"ShoppingListEntry",localizationKey:"ShoppingListEntry",localizationKeyDescription:"ShoppingListEntryHelp",icon:"fa-solid fa-list-check",editorComponent:defineAsyncComponent(()=>__vitePreload(()=>import("./ShoppingListEntryEditor-BO9U6pqW.js"),__vite__mapDeps([50,1,2]),import.meta.url)),disableListView:!0,isPaginated:!0,toStringKeys:["amount","unit.name","food.name"],tableHeaders:[{title:"Amount",key:"amount"},{title:"Unit",key:"unit.name"},{title:"Food",key:"food.name"},{title:"Actions",key:"action",align:"end"}]};registerModel(TShoppingListEntry);const TPropertyType={name:"PropertyType",localizationKey:"Property",localizationKeyDescription:"PropertyTypeHelp",icon:"fa-solid fa-database",editorComponent:defineAsyncComponent(()=>__vitePreload(()=>import("./PropertyTypeEditor-g4a-YJm5.js"),__vite__mapDeps([51,1,2,5,11,12,52,53]),import.meta.url)),isPaginated:!0,isAdvancedDelete:!0,toStringKeys:["name"],tableHeaders:[{title:"Name",key:"name"},{title:"Actions",key:"action",align:"end"}]};registerModel(TPropertyType);const TProperty={name:"Property",localizationKey:"Property",localizationKeyDescription:"PropertyHelp",icon:"fa-solid fa-database",editorComponent:defineAsyncComponent(()=>__vitePreload(()=>import("./PropertyEditor-BAth2eIg.js"),__vite__mapDeps([54,1,2]),import.meta.url)),disableListView:!0,isPaginated:!0,toStringKeys:["propertyAmount","propertyType.name"],tableHeaders:[{title:"Amount",key:"propertyAmount"},{title:"PropertyType",key:"propertyType.name"},{title:"Actions",key:"action",align:"end"}]};registerModel(TProperty);const TUnitConversion={name:"UnitConversion",localizationKey:"UnitConversion",localizationKeyDescription:"UnitConversionHelp",icon:"fa-solid fa-exchange-alt",editorComponent:defineAsyncComponent(()=>__vitePreload(()=>import("./UnitConversionEditor-D05heADw.js"),__vite__mapDeps([55,1,2]),import.meta.url)),isPaginated:!0,toStringKeys:["food.name","baseUnit.name","convertedUnit.name"],tableHeaders:[{title:"Food",key:"food.name"},{title:"base_amount",key:"baseAmount"},{title:"base_unit",key:"baseUnit.name"},{title:"converted_amount",key:"convertedAmount"},{title:"converted_unit",key:"convertedUnit.name"},{title:"Actions",key:"action",align:"end"}]};registerModel(TUnitConversion);const TUserFile={name:"UserFile",localizationKey:"File",localizationKeyDescription:"UserFileHelp",icon:"fa-solid fa-file",editorComponent:defineAsyncComponent(()=>__vitePreload(()=>import("./UserFileEditor-DKIOLwh6.js"),__vite__mapDeps([56,1,2,20,22,23,24]),import.meta.url)),isPaginated:!0,isAdvancedDelete:!0,toStringKeys:["name"],tableHeaders:[{title:"Name",key:"name"},{title:"Actions",key:"action",align:"end"}]};registerModel(TUserFile);const TAutomation={name:"Automation",localizationKey:"Automation",localizationKeyDescription:"AutomationHelp",icon:"fa-solid fa-robot",editorComponent:defineAsyncComponent(()=>__vitePreload(()=>import("./AutomationEditor-CpKec65v.js"),__vite__mapDeps([57,1,2,11,12]),import.meta.url)),isPaginated:!0,toStringKeys:["name"],tableHeaders:[{title:"Name",key:"name"},{title:"Type",key:"type"},{title:"Actions",key:"action",align:"end"}]};registerModel(TAutomation);const TCookLog={name:"CookLog",localizationKey:"CookLog",localizationKeyDescription:"CookLogHelp",icon:"fa-solid fa-table-list",editorComponent:defineAsyncComponent(()=>__vitePreload(()=>import("./CookLogEditor-DASldgxP.js"),__vite__mapDeps([58,1,2,11,12,59,60]),import.meta.url)),disableCreate:!0,isPaginated:!0,toStringKeys:["recipe"],tableHeaders:[{title:"Recipe",key:"recipe"},{title:"Created",key:"createdAt"},{title:"Actions",key:"action",align:"end"}]};registerModel(TCookLog);const TViewLog={name:"ViewLog",localizationKey:"History",localizationKeyDescription:"ViewLogHelp",icon:"fa-solid fa-clock-rotate-left",isPaginated:!0,disableCreate:!0,disableUpdate:!0,disableDelete:!0,toStringKeys:["recipe"],tableHeaders:[{title:"Recipe",key:"recipe"},{title:"Created",key:"createdAt"},{title:"Actions",key:"action",align:"end"}]};registerModel(TViewLog);const TAccessToken={name:"AccessToken",localizationKey:"Access_Token",localizationKeyDescription:"AccessTokenHelp",icon:"fa-solid fa-key",editorComponent:defineAsyncComponent(()=>__vitePreload(()=>import("./AccessTokenEditor-XW2vIaqd.js"),__vite__mapDeps([61,34,35,36,1,2]),import.meta.url)),disableListView:!0,isPaginated:!0,toStringKeys:["token"],tableHeaders:[{title:"Access_Token",key:"token"},{title:"Created",key:"createdAt"},{title:"Actions",key:"action",align:"end"}]};registerModel(TAccessToken);const TUserSpace={name:"UserSpace",localizationKey:"SpaceMembers",localizationKeyDescription:"SpaceMembersHelp",icon:"fa-solid fa-users",editorComponent:defineAsyncComponent(()=>__vitePreload(()=>import("./UserSpaceEditor-BmTIwJyp.js"),__vite__mapDeps([62,1,2]),import.meta.url)),disableListView:!0,isPaginated:!0,toStringKeys:["user.displayName"],disableCreate:!0,tableHeaders:[{title:"User",key:"user.displayName"},{title:"Group",key:"groups"},{title:"Actions",key:"action",align:"end"}]};registerModel(TUserSpace);const TInviteLink={name:"InviteLink",localizationKey:"Invite_Link",localizationKeyDescription:"InviteLinkHelp",icon:"fa-solid fa-link",editorComponent:defineAsyncComponent(()=>__vitePreload(()=>import("./InviteLinkEditor-CVYwkQ1F.js"),__vite__mapDeps([63,1,2,34,35,36,11,12]),import.meta.url)),disableSearch:!0,isPaginated:!0,toStringKeys:["email","role"],tableHeaders:[{title:"Email",key:"email"},{title:"Role",key:"group.name"},{title:"Valid Until",key:"validUntil"},{title:"Actions",key:"action",align:"end"}]};registerModel(TInviteLink);const TSpace={name:"Space",localizationKey:"Space",localizationKeyDescription:"SpaceHelp",icon:"fa-solid fa-hard-drive",editorComponent:defineAsyncComponent(()=>__vitePreload(()=>import("./SpaceEditor-BVY5PqRN.js"),__vite__mapDeps([64,65,1,2,9,10,23,11,12,27,28,66]),import.meta.url)),disableDelete:!0,isPaginated:!0,toStringKeys:["name"],tableHeaders:[{title:"Name",key:"name"},{title:"Owner",key:"createdBy.displayName"},{title:"Active",key:"active"},{title:"Actions",key:"action",align:"end"}]};registerModel(TSpace);const TStorage={name:"Storage",localizationKey:"Storage",localizationKeyDescription:"StorageHelp",icon:"fa-solid fa-cloud",editorComponent:defineAsyncComponent(()=>__vitePreload(()=>import("./StorageEditor-Bh3NIW08.js"),__vite__mapDeps([67,1,2]),import.meta.url)),disableListView:!1,toStringKeys:["name"],isPaginated:!0,isAdvancedDelete:!0,tableHeaders:[{title:"Name",key:"name"},{title:"Actions",key:"action",align:"end"}]};registerModel(TStorage);const TSync={name:"Sync",localizationKey:"SyncedPath",localizationKeyDescription:"SyncedPathHelp",icon:"fa-solid fa-folder-plus",editorComponent:defineAsyncComponent(()=>__vitePreload(()=>import("./SyncEditor-Dx5MYHUU.js"),__vite__mapDeps([68,1,2]),import.meta.url)),disableListView:!1,toStringKeys:["path"],isPaginated:!0,isAdvancedDelete:!0,tableHeaders:[{title:"SyncedPath",key:"path"},{title:"ExternalStorage",key:"storage.name"},{title:"Updated",key:"lastChecked"},{title:"Actions",key:"action",align:"end"}]};registerModel(TSync);const TSyncLog={name:"SyncLog",localizationKey:"SyncLog",localizationKeyDescription:"SyncLogHelp",icon:"fa-solid fa-bars-staggered",disableListView:!1,toStringKeys:["sync.path"],isPaginated:!0,disableCreate:!0,disableDelete:!0,disableUpdate:!0,tableHeaders:[{title:"SyncedPath",key:"sync.path"},{title:"Status",key:"status"},{title:"Created",key:"createdAt"},{title:"Actions",key:"action",align:"end"}]};registerModel(TSyncLog);const TRecipeImport={name:"RecipeImport",localizationKey:"ExternalRecipeImport",localizationKeyDescription:"ExternalRecipeImportHelp",icon:"fa-solid fa-file-half-dashed",disableListView:!1,toStringKeys:["name"],isPaginated:!0,disableCreate:!0,disableDelete:!1,disableUpdate:!1,tableHeaders:[{title:"Name",key:"name"},{title:"Storage",key:"storage.name"},{title:"Created",key:"createdAt"},{title:"Actions",key:"action",align:"end"}]};registerModel(TRecipeImport);const TConnectorConfig={name:"ConnectorConfig",localizationKey:"ConnectorConfig",localizationKeyDescription:"ConnectorConfigHelp",icon:"fa-solid fa-arrows-turn-to-dots",editorComponent:defineAsyncComponent(()=>__vitePreload(()=>import("./ConnectorConfigEditor-Csg2P1sE.js"),__vite__mapDeps([69,1,2]),import.meta.url)),disableListView:!1,toStringKeys:["name"],isPaginated:!0,isAdvancedDelete:!0,disableCreate:!1,disableDelete:!1,disableUpdate:!1,tableHeaders:[{title:"Name",key:"name"},{title:"Type",key:"type"},{title:"Actions",key:"action",align:"end"}]};registerModel(TConnectorConfig);const TAiProvider={name:"AiProvider",localizationKey:"AiProvider",localizationKeyDescription:"AiProviderHelp",icon:"fa-solid fa-wand-magic-sparkles",editorComponent:defineAsyncComponent(()=>__vitePreload(()=>import("./AiProviderEditor-DzRhWxiT.js"),__vite__mapDeps([70,1,2,11,12,71]),import.meta.url)),disableListView:!1,toStringKeys:["name"],isPaginated:!0,isAdvancedDelete:!0,disableCreate:!1,disableDelete:!1,disableUpdate:!1,tableHeaders:[{title:"Name",key:"name"},{title:"Global",key:"space"},{title:"Actions",key:"action",align:"end"}]};registerModel(TAiProvider);const TAiLog={name:"AiLog",localizationKey:"AiLog",localizationKeyDescription:"AiLogHelp",icon:"fa-solid fa-wand-magic-sparkles",disableListView:!1,toStringKeys:["aiProvider.name","function","created_at"],isPaginated:!0,disableCreate:!0,disableDelete:!0,disableUpdate:!0,tableHeaders:[{title:"Type",key:"_function"},{title:"AiProvider",key:"aiProvider.name"},{title:"Credits",key:"creditCost"},{title:"FromBalance",key:"creditsFromBalance"},{title:"CreatedAt",key:"createdAt"},{title:"Actions",key:"action",align:"end"}]};registerModel(TAiLog);const TFoodInheritField={name:"FoodInheritField",localizationKey:"FoodInherit",localizationKeyDescription:"food_inherit_info",icon:"fa-solid fa-list",disableListView:!0,toStringKeys:["name"],disableCreate:!0,disableDelete:!0,disableUpdate:!0,isPaginated:!1};registerModel(TFoodInheritField);const TSearchFields={name:"SearchFields",localizationKey:"SearchFields",localizationKeyDescription:"",icon:"fa-solid fa-search",disableListView:!0,toStringKeys:["name"],disableCreate:!0,disableDelete:!0,disableUpdate:!0,isPaginated:!1};registerModel(TSearchFields);class GenericModel{api;model;t;constructor(t,r){this.model=t,this.api=new ApiApi,this.t=r}getTableHeaders(){let t=[];return this.model.tableHeaders.forEach(r=>{r.hidden||(r.title=this.t(r.title),t.push(r))}),t}list(t){if(this.model.disableList)throw new Error("Cannot list on this model!");return this.api[`api${this.model.name}List`](t)}create(t){if(this.model.disableCreate)throw new Error("Cannot create on this model!");{let r={};return r[this.model.name.charAt(0).toLowerCase()+this.model.name.slice(1)]=t,this.api[`api${this.model.name}Create`](r)}}update(t,r){if(this.model.disableUpdate)throw new Error("Cannot update on this model!");{let i={};return i.id=t,i[this.model.name.charAt(0).toLowerCase()+this.model.name.slice(1)]=r,this.api[`api${this.model.name}Update`](i)}}retrieve(t){if(this.model.disableRetrieve)throw new Error("Cannot delete on this model!");{let r={};return r.id=t,this.api[`api${this.model.name}Retrieve`](r)}}destroy(t){if(this.model.disableDelete)throw new Error("Cannot delete on this model!");{let r={};return r.id=t,this.api[`api${this.model.name}Destroy`](r)}}merge(t,r){if(this.model.isMerge){let i={id:t.id,target:r.id};return i[this.model.name.charAt(0).toLowerCase()+this.model.name.slice(1)]={},this.api[`api${this.model.name}MergeUpdate`](i)}else throw new Error("Cannot merge on this model!")}move(t,r){if(this.model.isTree){let i={id:t.id,parent:r};return i[this.model.name.charAt(0).toLowerCase()+this.model.name.slice(1)]=t,this.api[`api${this.model.name}MoveUpdate`](i)}else throw new Error("This model does not support trees!")}getDeleteProtecting(t){return this.api[`api${this.model.name}ProtectingList`](t)}getDeleteCascading(t){return this.api[`api${this.model.name}CascadingList`](t)}getDeleteNulling(t){return this.api[`api${this.model.name}NullingList`](t)}getLabel(t){let r="";return t&&this.model.toStringKeys.forEach(i=>{let a=getNestedProperty(t,i);r+=" "+(a??"")}),r}}function isNullish(e){return e==null}function useData(e,t,r){const{object:i,valueProp:a,mode:c}=toRefs(e),u=getCurrentInstance$1().proxy,d=r.iv,f=(v,w=!0)=>{d.value=y(v);const _=m(v);t.emit("change",_,u),w&&(t.emit("input",_),t.emit("update:modelValue",_))},m=v=>i.value||isNullish(v)?v:Array.isArray(v)?v.map(w=>w[a.value]):v[a.value],y=v=>isNullish(v)?c.value==="single"?{}:[]:v;return{update:f}}function toRef(e){return customRef(()=>({get:e,set:()=>{}}))}function useValue(e,t){const{value:r,modelValue:i,mode:a,valueProp:c}=toRefs(e),u=ref(a.value!=="single"?[]:{}),d=toRef(()=>i.value!==void 0?i.value:r.value),f=computed(()=>a.value==="single"?u.value[c.value]:u.value.map(y=>y[c.value])),m=toRef(()=>a.value!=="single"?u.value.map(y=>y[c.value]).join(","):u.value[c.value]);return{iv:u,internalValue:u,ev:d,externalValue:d,textValue:m,plainValue:f}}function useSearch(e,t,r){const{regex:i}=toRefs(e),a=getCurrentInstance$1().proxy,c=r.isOpen,u=r.open,d=ref(null),f=()=>{d.value=""},m=w=>{d.value=w.target.value},y=w=>{if(i.value){let _=i.value;typeof _=="string"&&(_=new RegExp(_)),w.key.match(_)||w.preventDefault()}},v=w=>{if(i.value){let S=(w.clipboardData||window.clipboardData).getData("Text"),b=i.value;typeof b=="string"&&(b=new RegExp(b)),S.split("").every(k=>!!k.match(b))||w.preventDefault()}t.emit("paste",w,a)};return watch(d,w=>{!c.value&&w&&u(),t.emit("search-change",w,a)}),{search:d,clearSearch:f,handleSearchInput:m,handleKeypress:y,handlePaste:v}}function usePointer$1(e,t,r){const{groupSelect:i,mode:a,groups:c,disabledProp:u}=toRefs(e),d=ref(null),f=y=>{y===void 0||y!==null&&y[u.value]||c.value&&y&&y.group&&(a.value==="single"||!i.value)||(d.value=y)};return{pointer:d,setPointer:f,clearPointer:()=>{f(null)}}}function normalize(e,t=!0){return t?String(e).toLowerCase().trim():String(e).toLowerCase().normalize("NFD").trim().replace(/æ/g,"ae").replace(/œ/g,"oe").replace(/ø/g,"o").replace(new RegExp("\\p{Diacritic}","gu"),"")}function isObject(e){return Object.prototype.toString.call(e)==="[object Object]"}function arraysEqual(e,t){if(e.length!==t.length)return!1;const r=t.slice().sort();return e.slice().sort().every(function(i,a){return i===r[a]})}const objectsEqual=(e,t)=>{if(e===t)return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;const r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;for(let a of r)if(!i.includes(a)||!objectsEqual(e[a],t[a]))return!1;return!0};function useOptions(e,t,r){const{options:i,mode:a,trackBy:c,limit:u,hideSelected:d,createTag:f,createOption:m,label:y,appendNewTag:v,appendNewOption:w,multipleLabel:_,object:S,loading:b,delay:k,resolveOnLoad:C,minChars:O,filterResults:T,clearOnSearch:E,clearOnSelect:A,valueProp:P,allowAbsent:M,groupLabel:D,canDeselect:F,max:I,strict:U,closeOnSelect:$,closeOnDeselect:z,groups:q,reverse:G,infinite:ee,groupOptions:ae,groupHideEmpty:oe,groupSelect:Se,onCreate:te,disabledProp:se,searchStart:ne,searchFilter:le}=toRefs(e),Oe=getCurrentInstance$1().proxy,ke=r.iv,ye=r.ev,re=r.search,ue=r.clearSearch,ie=r.update,pe=r.pointer,Te=r.setPointer,Pe=r.clearPointer,B=r.focus,H=r.deactivate,he=r.close,De=r.localize,Ne=ref([]),J=ref([]),j=ref(!1),ve=ref(null),Ce=ref(ee.value&&u.value===-1?10:u.value),Ie=computed({get:()=>J.value,set:be=>J.value=be}),Fe=toRef(()=>f.value||m.value||!1),Q=toRef(()=>v.value!==void 0?v.value:w.value!==void 0?w.value:!0),de=computed(()=>{if(q.value){let be=We.value||[],Me=[];return be.forEach(wt=>{Gt(wt[ae.value]).forEach(Rt=>{Me.push(Object.assign({},Rt,wt[se.value]?{[se.value]:!0}:{}))})}),Me}else{let be=Gt(J.value||[]);return Ne.value.length&&(be=be.concat(Ne.value)),be}}),Le=computed(()=>{let be=de.value;return G.value&&(be=be.reverse()),At.value.length&&(be=At.value.concat(be)),Wt(be)}),$e=computed(()=>{let be=Le.value;return Ce.value>0&&(be=be.slice(0,Ce.value)),be}),We=computed(()=>{if(!q.value)return[];let be=[],Me=J.value||[];return Ne.value.length&&be.push({[D.value]:" ",[ae.value]:[...Ne.value],__CREATE__:!0}),be.concat(Me)}),Ye=computed(()=>{let be=[...We.value].map(Me=>({...Me}));return At.value.length&&(be[0]&&be[0].__CREATE__?be[0][ae.value]=[...At.value,...be[0][ae.value]]:be=[{[D.value]:" ",[ae.value]:[...At.value],__CREATE__:!0}].concat(be)),be}),_t=computed(()=>{if(!q.value)return[];let be=Ye.value;return mn((be||[]).map((Me,wt)=>{const Rt=Gt(Me[ae.value]);return{...Me,index:wt,group:!0,[ae.value]:Wt(Rt,!1).map(Vt=>Object.assign({},Vt,Me[se.value]?{[se.value]:!0}:{})),__VISIBLE__:Wt(Rt).map(Vt=>Object.assign({},Vt,Me[se.value]?{[se.value]:!0}:{}))}}))}),St=computed(()=>{switch(a.value){case"single":return!isNullish(ke.value[P.value]);case"multiple":case"tags":return!isNullish(ke.value)&&ke.value.length>0}}),Et=computed(()=>_.value!==void 0?_.value(ke.value,Oe):ke.value&&ke.value.length>1?`${ke.value.length} options selected`:"1 option selected"),Tt=toRef(()=>!de.value.length&&!j.value&&!At.value.length),Lt=toRef(()=>de.value.length>0&&$e.value.length==0&&(re.value&&q.value||!q.value)),At=computed(()=>Fe.value===!1||!re.value?[]:pn(re.value)!==-1?[]:[{[P.value]:re.value,[kt.value[0]]:re.value,[y.value]:re.value,__CREATE__:!0}]),kt=computed(()=>c.value?Array.isArray(c.value)?c.value:[c.value]:[y.value]),Nt=toRef(()=>{switch(a.value){case"single":return null;case"multiple":case"tags":return[]}}),Ut=toRef(()=>b.value||j.value),Ft=be=>{switch(typeof be!="object"&&(be=xt(be)),a.value){case"single":ie(be);break;case"multiple":case"tags":ie(ke.value.concat(be));break}t.emit("select",Zt(be),be,Oe)},$t=be=>{switch(typeof be!="object"&&(be=xt(be)),a.value){case"single":Xt();break;case"tags":case"multiple":ie(Array.isArray(be)?ke.value.filter(Me=>be.map(wt=>wt[P.value]).indexOf(Me[P.value])===-1):ke.value.filter(Me=>Me[P.value]!=be[P.value]));break}t.emit("deselect",Zt(be),be,Oe)},Zt=be=>S.value?be:be[P.value],jt=be=>{$t(be)},an=(be,Me)=>{if(Me.button!==0){Me.preventDefault();return}jt(be)},Xt=()=>{ie(Nt.value),t.emit("clear",Oe)},It=be=>{if(be.group!==void 0)return a.value==="single"?!1:dn(be[ae.value])&&be[ae.value].length;switch(a.value){case"single":return!isNullish(ke.value)&&(ke.value[P.value]==be[P.value]||typeof ke.value[P.value]=="object"&&typeof be[P.value]=="object"&&objectsEqual(ke.value[P.value],be[P.value]));case"tags":case"multiple":return!isNullish(ke.value)&&ke.value.map(Me=>Me[P.value]).indexOf(be[P.value])!==-1}},Ht=be=>be[se.value]===!0,Kt=()=>I===void 0||I.value===-1||!St.value&&I.value>0?!1:ke.value.length>=I.value,sn=be=>{if(!Ht(be)){if(te.value&&!It(be)&&be.__CREATE__&&(be={...be},delete be.__CREATE__,be=te.value(be,Oe),be instanceof Promise)){j.value=!0,be.then(Me=>{j.value=!1,Qt(Me)});return}Qt(be)}},Qt=be=>{switch(be.__CREATE__&&(be={...be},delete be.__CREATE__),a.value){case"single":if(be&&It(be)){F.value&&$t(be),z.value&&(Pe(),he());return}be&&qt(be),A.value&&ue(),$.value&&(Pe(),he()),be&&Ft(be);break;case"multiple":if(be&&It(be)){$t(be),z.value&&(Pe(),he());return}if(Kt()){t.emit("max",Oe);return}be&&(qt(be),Ft(be)),A.value&&ue(),d.value&&Pe(),$.value&&he();break;case"tags":if(be&&It(be)){$t(be),z.value&&(Pe(),he());return}if(Kt()){t.emit("max",Oe);return}be&&qt(be),A.value&&ue(),be&&Ft(be),d.value&&Pe(),$.value&&he();break}$.value||B()},ln=be=>{if(!(Ht(be)||a.value==="single"||!Se.value)){switch(a.value){case"multiple":case"tags":un(be[ae.value])?$t(be[ae.value]):Ft(be[ae.value].filter(Me=>ke.value.map(wt=>wt[P.value]).indexOf(Me[P.value])===-1).filter(Me=>!Me[se.value]).filter((Me,wt)=>ke.value.length+1+wt<=I.value||I.value===-1)),d.value&&pe.value&&Te(_t.value.filter(Me=>!Me[se.value])[pe.value.index]);break}$.value&&H()}},qt=be=>{xt(be[P.value])===void 0&&Fe.value&&(t.emit("tag",be[P.value],Oe),t.emit("option",be[P.value],Oe),t.emit("create",be[P.value],Oe),Q.value&&hn(be),ue())},cn=()=>{a.value!=="single"&&Ft($e.value.filter(be=>!be.disabled&&!It(be)))},un=be=>be.find(Me=>!It(Me)&&!Me[se.value])===void 0,dn=be=>be.find(Me=>!It(Me))===void 0,xt=be=>de.value[de.value.map(Me=>String(Me[P.value])).indexOf(String(be))],pn=be=>de.value.findIndex(Me=>kt.value.some(wt=>(parseInt(Me[wt])==Me[wt]?parseInt(Me[wt]):Me[wt])===(parseInt(be)==be?parseInt(be):be))),fn=be=>["tags","multiple"].indexOf(a.value)!==-1&&d.value&&It(be),hn=be=>{Ne.value.push(be)},mn=be=>oe.value?be.filter(Me=>re.value?Me.__VISIBLE__.length:Me[ae.value].length):be.filter(Me=>re.value?Me.__VISIBLE__.length:!0),Wt=(be,Me=!0)=>{let wt=be;if(re.value&&T.value){let Rt=le.value;Rt||(Rt=(Vt,nn,vn)=>kt.value.some(yn=>{let rn=normalize(De(Vt[yn]),U.value);return ne.value?rn.startsWith(normalize(nn,U.value)):rn.indexOf(normalize(nn,U.value))!==-1})),wt=wt.filter(Vt=>Rt(Vt,re.value,Oe))}return d.value&&Me&&(wt=wt.filter(Rt=>!fn(Rt))),wt},Gt=be=>{let Me=be;return isObject(Me)&&(Me=Object.keys(Me).map(wt=>{let Rt=Me[wt];return{[P.value]:wt,[kt.value[0]]:Rt,[y.value]:Rt}})),Me&&Array.isArray(Me)?Me=Me.map(wt=>typeof wt=="object"?wt:{[P.value]:wt,[kt.value[0]]:wt,[y.value]:wt}):Me=[],Me},Bt=()=>{isNullish(ye.value)||(ke.value=Jt(ye.value))},zt=be=>(j.value=!0,new Promise((Me,wt)=>{i.value(re.value,Oe).then(Rt=>{J.value=Rt||[],typeof be=="function"&&be(Rt),j.value=!1}).catch(Rt=>{console.error(Rt),J.value=[],j.value=!1}).finally(()=>{Me()})})),Yt=()=>{if(St.value)if(a.value==="single"){let be=xt(ke.value[P.value]);if(be!==void 0){let Me=be[y.value];ke.value[y.value]=Me,S.value&&(ye.value[y.value]=Me)}}else ke.value.forEach((be,Me)=>{let wt=xt(ke.value[Me][P.value]);if(wt!==void 0){let Rt=wt[y.value];ke.value[Me][y.value]=Rt,S.value&&(ye.value[Me][y.value]=Rt)}})},gn=be=>{zt(be)},Jt=be=>isNullish(be)?a.value==="single"?{}:[]:S.value?be:a.value==="single"?xt(be)||(M.value?{[y.value]:be,[P.value]:be,[kt.value[0]]:be}:{}):be.filter(Me=>!!xt(Me)||M.value).map(Me=>xt(Me)||{[y.value]:Me,[P.value]:Me,[kt.value[0]]:Me}),tn=()=>{ve.value=watch(re,be=>{be.length<O.value||!be&&O.value!==0||(j.value=!0,E.value&&(J.value=[]),setTimeout(()=>{be==re.value&&i.value(re.value,Oe).then(Me=>{(be==re.value||!re.value)&&(J.value=Me,pe.value=$e.value.filter(wt=>wt[se.value]!==!0)[0]||null,j.value=!1)}).catch(Me=>{console.error(Me)})},k.value))},{flush:"sync"})};if(a.value!=="single"&&!isNullish(ye.value)&&!Array.isArray(ye.value))throw new Error(`v-model must be an array when using "${a.value}" mode`);return i&&typeof i.value=="function"?C.value?zt(Bt):S.value==!0&&Bt():(J.value=i.value,Bt()),k.value>-1&&tn(),watch(k,(be,Me)=>{ve.value&&ve.value(),be>=0&&tn()}),watch(ye,be=>{if(isNullish(be)){ie(Jt(be),!1);return}switch(a.value){case"single":(S.value?be[P.value]!=ke.value[P.value]:be!=ke.value[P.value])&&ie(Jt(be),!1);break;case"multiple":case"tags":arraysEqual(S.value?be.map(Me=>Me[P.value]):be,ke.value.map(Me=>Me[P.value]))||ie(Jt(be),!1);break}},{deep:!0}),watch(i,(be,Me)=>{typeof e.options=="function"?C.value&&(!Me||be&&be.toString()!==Me.toString())&&zt():(J.value=e.options,Object.keys(ke.value).length||Bt(),Yt())}),watch(y,Yt),watch(u,(be,Me)=>{Ce.value=ee.value&&be===-1?10:be}),{resolvedOptions:Ie,pfo:Le,fo:$e,filteredOptions:$e,hasSelected:St,multipleLabelText:Et,eo:de,extendedOptions:de,eg:We,extendedGroups:We,fg:_t,filteredGroups:_t,noOptions:Tt,noResults:Lt,resolving:j,busy:Ut,offset:Ce,select:Ft,deselect:$t,remove:jt,selectAll:cn,clear:Xt,isSelected:It,isDisabled:Ht,isMax:Kt,getOption:xt,handleOptionClick:sn,handleGroupClick:ln,handleTagRemove:an,refreshOptions:gn,resolveOptions:zt,refreshLabels:Yt}}function usePointer(e,t,r){const{valueProp:i,showOptions:a,searchable:c,groupLabel:u,groups:d,mode:f,groupSelect:m,disabledProp:y,groupOptions:v}=toRefs(e),w=r.fo,_=r.fg,S=r.handleOptionClick,b=r.handleGroupClick,k=r.search,C=r.pointer,O=r.setPointer,T=r.clearPointer,E=r.multiselect,A=r.isOpen,P=computed(()=>w.value.filter(ye=>!ye[y.value])),M=computed(()=>_.value.filter(ye=>!ye[y.value])),D=toRef(()=>f.value!=="single"&&m.value),F=toRef(()=>C.value&&C.value.group),I=computed(()=>Oe(C.value)),U=computed(()=>{const ye=F.value?C.value:Oe(C.value),re=M.value.map(ie=>ie[u.value]).indexOf(ye[u.value]);let ue=M.value[re-1];return ue===void 0&&(ue=z.value),ue}),$=computed(()=>{let ye=M.value.map(re=>re.label).indexOf(F.value?C.value[u.value]:Oe(C.value)[u.value])+1;return M.value.length<=ye&&(ye=0),M.value[ye]}),z=computed(()=>[...M.value].slice(-1)[0]),q=computed(()=>C.value.__VISIBLE__.filter(ye=>!ye[y.value])[0]),G=computed(()=>{const ye=I.value.__VISIBLE__.filter(re=>!re[y.value]);return ye[ye.map(re=>re[i.value]).indexOf(C.value[i.value])-1]}),ee=computed(()=>{const ye=Oe(C.value).__VISIBLE__.filter(re=>!re[y.value]);return ye[ye.map(re=>re[i.value]).indexOf(C.value[i.value])+1]}),ae=computed(()=>[...U.value.__VISIBLE__.filter(ye=>!ye[y.value])].slice(-1)[0]),oe=computed(()=>[...z.value.__VISIBLE__.filter(ye=>!ye[y.value])].slice(-1)[0]),Se=ye=>C.value&&(!ye.group&&C.value[i.value]===ye[i.value]||ye.group!==void 0&&C.value[u.value]===ye[u.value])?!0:void 0,te=()=>{O(P.value[0]||null)},se=()=>{!C.value||C.value[y.value]===!0||(F.value?b(C.value):S(C.value))},ne=()=>{if(C.value===null)O((d.value&&D.value?M.value[0].__CREATE__?P.value[0]:M.value[0]:P.value[0])||null);else if(d.value&&D.value){let ye=F.value?q.value:ee.value;ye===void 0&&(ye=$.value,ye.__CREATE__&&(ye=ye[v.value][0])),O(ye||null)}else{let ye=P.value.map(re=>re[i.value]).indexOf(C.value[i.value])+1;P.value.length<=ye&&(ye=0),O(P.value[ye]||null)}nextTick(()=>{ke()})},le=()=>{if(C.value===null){let ye=P.value[P.value.length-1];d.value&&D.value&&(ye=oe.value,ye===void 0&&(ye=z.value)),O(ye||null)}else if(d.value&&D.value){let ye=F.value?ae.value:G.value;ye===void 0&&(ye=F.value?U.value:I.value,ye.__CREATE__&&(ye=ae.value,ye===void 0&&(ye=U.value))),O(ye||null)}else{let ye=P.value.map(re=>re[i.value]).indexOf(C.value[i.value])-1;ye<0&&(ye=P.value.length-1),O(P.value[ye]||null)}nextTick(()=>{ke()})},Oe=ye=>M.value.find(re=>re.__VISIBLE__.map(ue=>ue[i.value]).indexOf(ye[i.value])!==-1),ke=()=>{let ye=E.value.querySelector("[data-pointed]");if(!ye)return;let re=ye.parentElement.parentElement;d.value&&(re=F.value?ye.parentElement.parentElement.parentElement:ye.parentElement.parentElement.parentElement.parentElement),ye.offsetTop+ye.offsetHeight>re.clientHeight+re.scrollTop&&(re.scrollTop=ye.offsetTop+ye.offsetHeight-re.clientHeight),ye.offsetTop<re.scrollTop&&(re.scrollTop=ye.offsetTop)};return watch(k,ye=>{c.value&&(ye.length&&a.value?te():T())}),watch(A,ye=>{if(ye&&E&&E.value){let re=E.value.querySelectorAll("[data-selected]")[0];if(!re)return;let ue=re.parentElement.parentElement;nextTick(()=>{ue.scrollTop=re.offsetTop})}}),{pointer:C,canPointGroups:D,isPointed:Se,setPointerFirst:te,selectPointer:se,forwardPointer:ne,backwardPointer:le}}function getWindow(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function isElement(e){var t=getWindow(e).Element;return e instanceof t||e instanceof Element}function isHTMLElement(e){var t=getWindow(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function isShadowRoot(e){if(typeof ShadowRoot>"u")return!1;var t=getWindow(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var max=Math.max,min$1=Math.min,round=Math.round;function getUAString(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function isLayoutViewport(){return!/^((?!chrome|android).)*safari/i.test(getUAString())}function getBoundingClientRect(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var i=e.getBoundingClientRect(),a=1,c=1;t&&isHTMLElement(e)&&(a=e.offsetWidth>0&&round(i.width)/e.offsetWidth||1,c=e.offsetHeight>0&&round(i.height)/e.offsetHeight||1);var u=isElement(e)?getWindow(e):window,d=u.visualViewport,f=!isLayoutViewport()&&r,m=(i.left+(f&&d?d.offsetLeft:0))/a,y=(i.top+(f&&d?d.offsetTop:0))/c,v=i.width/a,w=i.height/c;return{width:v,height:w,top:y,right:m+v,bottom:y+w,left:m,x:m,y}}function getWindowScroll(e){var t=getWindow(e),r=t.pageXOffset,i=t.pageYOffset;return{scrollLeft:r,scrollTop:i}}function getHTMLElementScroll(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function getNodeScroll(e){return e===getWindow(e)||!isHTMLElement(e)?getWindowScroll(e):getHTMLElementScroll(e)}function getNodeName(e){return e?(e.nodeName||"").toLowerCase():null}function getDocumentElement(e){return((isElement(e)?e.ownerDocument:e.document)||window.document).documentElement}function getWindowScrollBarX(e){return getBoundingClientRect(getDocumentElement(e)).left+getWindowScroll(e).scrollLeft}function getComputedStyle$1(e){return getWindow(e).getComputedStyle(e)}function isScrollParent(e){var t=getComputedStyle$1(e),r=t.overflow,i=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+i)}function isElementScaled(e){var t=e.getBoundingClientRect(),r=round(t.width)/e.offsetWidth||1,i=round(t.height)/e.offsetHeight||1;return r!==1||i!==1}function getCompositeRect(e,t,r){r===void 0&&(r=!1);var i=isHTMLElement(t),a=isHTMLElement(t)&&isElementScaled(t),c=getDocumentElement(t),u=getBoundingClientRect(e,a,r),d={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(i||!i&&!r)&&((getNodeName(t)!=="body"||isScrollParent(c))&&(d=getNodeScroll(t)),isHTMLElement(t)?(f=getBoundingClientRect(t,!0),f.x+=t.clientLeft,f.y+=t.clientTop):c&&(f.x=getWindowScrollBarX(c))),{x:u.left+d.scrollLeft-f.x,y:u.top+d.scrollTop-f.y,width:u.width,height:u.height}}function getLayoutRect(e){var t=getBoundingClientRect(e),r=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:i}}function getParentNode(e){return getNodeName(e)==="html"?e:e.assignedSlot||e.parentNode||(isShadowRoot(e)?e.host:null)||getDocumentElement(e)}function getScrollParent(e){return["html","body","#document"].indexOf(getNodeName(e))>=0?e.ownerDocument.body:isHTMLElement(e)&&isScrollParent(e)?e:getScrollParent(getParentNode(e))}function listScrollParents(e,t){var r;t===void 0&&(t=[]);var i=getScrollParent(e),a=i===((r=e.ownerDocument)==null?void 0:r.body),c=getWindow(i),u=a?[c].concat(c.visualViewport||[],isScrollParent(i)?i:[]):i,d=t.concat(u);return a?d:d.concat(listScrollParents(getParentNode(u)))}function isTableElement(e){return["table","td","th"].indexOf(getNodeName(e))>=0}function getTrueOffsetParent(e){return!isHTMLElement(e)||getComputedStyle$1(e).position==="fixed"?null:e.offsetParent}function getContainingBlock(e){var t=/firefox/i.test(getUAString()),r=/Trident/i.test(getUAString());if(r&&isHTMLElement(e)){var i=getComputedStyle$1(e);if(i.position==="fixed")return null}var a=getParentNode(e);for(isShadowRoot(a)&&(a=a.host);isHTMLElement(a)&&["html","body"].indexOf(getNodeName(a))<0;){var c=getComputedStyle$1(a);if(c.transform!=="none"||c.perspective!=="none"||c.contain==="paint"||["transform","perspective"].indexOf(c.willChange)!==-1||t&&c.willChange==="filter"||t&&c.filter&&c.filter!=="none")return a;a=a.parentNode}return null}function getOffsetParent(e){for(var t=getWindow(e),r=getTrueOffsetParent(e);r&&isTableElement(r)&&getComputedStyle$1(r).position==="static";)r=getTrueOffsetParent(r);return r&&(getNodeName(r)==="html"||getNodeName(r)==="body"&&getComputedStyle$1(r).position==="static")?t:r||getContainingBlock(e)||t}var top="top",bottom="bottom",right="right",left="left",auto="auto",basePlacements=[top,bottom,right,left],start="start",end="end",clippingParents="clippingParents",viewport="viewport",popper="popper",reference="reference",variationPlacements=basePlacements.reduce(function(e,t){return e.concat([t+"-"+start,t+"-"+end])},[]),placements=[].concat(basePlacements,[auto]).reduce(function(e,t){return e.concat([t,t+"-"+start,t+"-"+end])},[]),beforeRead="beforeRead",read="read",afterRead="afterRead",beforeMain="beforeMain",main="main",afterMain="afterMain",beforeWrite="beforeWrite",write="write",afterWrite="afterWrite",modifierPhases=[beforeRead,read,afterRead,beforeMain,main,afterMain,beforeWrite,write,afterWrite];function order(e){var t=new Map,r=new Set,i=[];e.forEach(function(c){t.set(c.name,c)});function a(c){r.add(c.name);var u=[].concat(c.requires||[],c.requiresIfExists||[]);u.forEach(function(d){if(!r.has(d)){var f=t.get(d);f&&a(f)}}),i.push(c)}return e.forEach(function(c){r.has(c.name)||a(c)}),i}function orderModifiers(e){var t=order(e);return modifierPhases.reduce(function(r,i){return r.concat(t.filter(function(a){return a.phase===i}))},[])}function debounce(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function mergeByName(e){var t=e.reduce(function(r,i){var a=r[i.name];return r[i.name]=a?Object.assign({},a,i,{options:Object.assign({},a.options,i.options),data:Object.assign({},a.data,i.data)}):i,r},{});return Object.keys(t).map(function(r){return t[r]})}function getViewportRect(e,t){var r=getWindow(e),i=getDocumentElement(e),a=r.visualViewport,c=i.clientWidth,u=i.clientHeight,d=0,f=0;if(a){c=a.width,u=a.height;var m=isLayoutViewport();(m||!m&&t==="fixed")&&(d=a.offsetLeft,f=a.offsetTop)}return{width:c,height:u,x:d+getWindowScrollBarX(e),y:f}}function getDocumentRect(e){var t,r=getDocumentElement(e),i=getWindowScroll(e),a=(t=e.ownerDocument)==null?void 0:t.body,c=max(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),u=max(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),d=-i.scrollLeft+getWindowScrollBarX(e),f=-i.scrollTop;return getComputedStyle$1(a||r).direction==="rtl"&&(d+=max(r.clientWidth,a?a.clientWidth:0)-c),{width:c,height:u,x:d,y:f}}function contains(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&isShadowRoot(r)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function rectToClientRect(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function getInnerBoundingClientRect(e,t){var r=getBoundingClientRect(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function getClientRectFromMixedType(e,t,r){return t===viewport?rectToClientRect(getViewportRect(e,r)):isElement(t)?getInnerBoundingClientRect(t,r):rectToClientRect(getDocumentRect(getDocumentElement(e)))}function getClippingParents(e){var t=listScrollParents(getParentNode(e)),r=["absolute","fixed"].indexOf(getComputedStyle$1(e).position)>=0,i=r&&isHTMLElement(e)?getOffsetParent(e):e;return isElement(i)?t.filter(function(a){return isElement(a)&&contains(a,i)&&getNodeName(a)!=="body"}):[]}function getClippingRect(e,t,r,i){var a=t==="clippingParents"?getClippingParents(e):[].concat(t),c=[].concat(a,[r]),u=c[0],d=c.reduce(function(f,m){var y=getClientRectFromMixedType(e,m,i);return f.top=max(y.top,f.top),f.right=min$1(y.right,f.right),f.bottom=min$1(y.bottom,f.bottom),f.left=max(y.left,f.left),f},getClientRectFromMixedType(e,u,i));return d.width=d.right-d.left,d.height=d.bottom-d.top,d.x=d.left,d.y=d.top,d}function getBasePlacement(e){return e.split("-")[0]}function getVariation(e){return e.split("-")[1]}function getMainAxisFromPlacement(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function computeOffsets(e){var t=e.reference,r=e.element,i=e.placement,a=i?getBasePlacement(i):null,c=i?getVariation(i):null,u=t.x+t.width/2-r.width/2,d=t.y+t.height/2-r.height/2,f;switch(a){case top:f={x:u,y:t.y-r.height};break;case bottom:f={x:u,y:t.y+t.height};break;case right:f={x:t.x+t.width,y:d};break;case left:f={x:t.x-r.width,y:d};break;default:f={x:t.x,y:t.y}}var m=a?getMainAxisFromPlacement(a):null;if(m!=null){var y=m==="y"?"height":"width";switch(c){case start:f[m]=f[m]-(t[y]/2-r[y]/2);break;case end:f[m]=f[m]+(t[y]/2-r[y]/2);break}}return f}function getFreshSideObject(){return{top:0,right:0,bottom:0,left:0}}function mergePaddingObject(e){return Object.assign({},getFreshSideObject(),e)}function expandToHashMap(e,t){return t.reduce(function(r,i){return r[i]=e,r},{})}function detectOverflow(e,t){t===void 0&&(t={});var r=t,i=r.placement,a=i===void 0?e.placement:i,c=r.strategy,u=c===void 0?e.strategy:c,d=r.boundary,f=d===void 0?clippingParents:d,m=r.rootBoundary,y=m===void 0?viewport:m,v=r.elementContext,w=v===void 0?popper:v,_=r.altBoundary,S=_===void 0?!1:_,b=r.padding,k=b===void 0?0:b,C=mergePaddingObject(typeof k!="number"?k:expandToHashMap(k,basePlacements)),O=w===popper?reference:popper,T=e.rects.popper,E=e.elements[S?O:w],A=getClippingRect(isElement(E)?E:E.contextElement||getDocumentElement(e.elements.popper),f,y,u),P=getBoundingClientRect(e.elements.reference),M=computeOffsets({reference:P,element:T,placement:a}),D=rectToClientRect(Object.assign({},T,M)),F=w===popper?D:P,I={top:A.top-F.top+C.top,bottom:F.bottom-A.bottom+C.bottom,left:A.left-F.left+C.left,right:F.right-A.right+C.right},U=e.modifiersData.offset;if(w===popper&&U){var $=U[a];Object.keys(I).forEach(function(z){var q=[right,bottom].indexOf(z)>=0?1:-1,G=[top,bottom].indexOf(z)>=0?"y":"x";I[z]+=$[G]*q})}return I}var DEFAULT_OPTIONS={placement:"bottom",modifiers:[],strategy:"absolute"};function areValidElements(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(i){return!(i&&typeof i.getBoundingClientRect=="function")})}function popperGenerator(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,i=r===void 0?[]:r,a=t.defaultOptions,c=a===void 0?DEFAULT_OPTIONS:a;return function(d,f,m){m===void 0&&(m=c);var y={placement:"bottom",orderedModifiers:[],options:Object.assign({},DEFAULT_OPTIONS,c),modifiersData:{},elements:{reference:d,popper:f},attributes:{},styles:{}},v=[],w=!1,_={state:y,setOptions:function(C){var O=typeof C=="function"?C(y.options):C;b(),y.options=Object.assign({},c,y.options,O),y.scrollParents={reference:isElement(d)?listScrollParents(d):d.contextElement?listScrollParents(d.contextElement):[],popper:listScrollParents(f)};var T=orderModifiers(mergeByName([].concat(i,y.options.modifiers)));return y.orderedModifiers=T.filter(function(E){return E.enabled}),S(),_.update()},forceUpdate:function(){if(!w){var C=y.elements,O=C.reference,T=C.popper;if(areValidElements(O,T)){y.rects={reference:getCompositeRect(O,getOffsetParent(T),y.options.strategy==="fixed"),popper:getLayoutRect(T)},y.reset=!1,y.placement=y.options.placement,y.orderedModifiers.forEach(function(I){return y.modifiersData[I.name]=Object.assign({},I.data)});for(var E=0;E<y.orderedModifiers.length;E++){if(y.reset===!0){y.reset=!1,E=-1;continue}var A=y.orderedModifiers[E],P=A.fn,M=A.options,D=M===void 0?{}:M,F=A.name;typeof P=="function"&&(y=P({state:y,options:D,name:F,instance:_})||y)}}}},update:debounce(function(){return new Promise(function(k){_.forceUpdate(),k(y)})}),destroy:function(){b(),w=!0}};if(!areValidElements(d,f))return _;_.setOptions(m).then(function(k){!w&&m.onFirstUpdate&&m.onFirstUpdate(k)});function S(){y.orderedModifiers.forEach(function(k){var C=k.name,O=k.options,T=O===void 0?{}:O,E=k.effect;if(typeof E=="function"){var A=E({state:y,name:C,instance:_,options:T}),P=function(){};v.push(A||P)}})}function b(){v.forEach(function(k){return k()}),v=[]}return _}}var passive={passive:!0};function effect$1(e){var t=e.state,r=e.instance,i=e.options,a=i.scroll,c=a===void 0?!0:a,u=i.resize,d=u===void 0?!0:u,f=getWindow(t.elements.popper),m=[].concat(t.scrollParents.reference,t.scrollParents.popper);return c&&m.forEach(function(y){y.addEventListener("scroll",r.update,passive)}),d&&f.addEventListener("resize",r.update,passive),function(){c&&m.forEach(function(y){y.removeEventListener("scroll",r.update,passive)}),d&&f.removeEventListener("resize",r.update,passive)}}var eventListeners={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:effect$1,data:{}};function popperOffsets(e){var t=e.state,r=e.name;t.modifiersData[r]=computeOffsets({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var popperOffsets$1={name:"popperOffsets",enabled:!0,phase:"read",fn:popperOffsets,data:{}},unsetSides={top:"auto",right:"auto",bottom:"auto",left:"auto"};function roundOffsetsByDPR(e,t){var r=e.x,i=e.y,a=t.devicePixelRatio||1;return{x:round(r*a)/a||0,y:round(i*a)/a||0}}function mapToStyles(e){var t,r=e.popper,i=e.popperRect,a=e.placement,c=e.variation,u=e.offsets,d=e.position,f=e.gpuAcceleration,m=e.adaptive,y=e.roundOffsets,v=e.isFixed,w=u.x,_=w===void 0?0:w,S=u.y,b=S===void 0?0:S,k=typeof y=="function"?y({x:_,y:b}):{x:_,y:b};_=k.x,b=k.y;var C=u.hasOwnProperty("x"),O=u.hasOwnProperty("y"),T=left,E=top,A=window;if(m){var P=getOffsetParent(r),M="clientHeight",D="clientWidth";if(P===getWindow(r)&&(P=getDocumentElement(r),getComputedStyle$1(P).position!=="static"&&d==="absolute"&&(M="scrollHeight",D="scrollWidth")),P=P,a===top||(a===left||a===right)&&c===end){E=bottom;var F=v&&P===A&&A.visualViewport?A.visualViewport.height:P[M];b-=F-i.height,b*=f?1:-1}if(a===left||(a===top||a===bottom)&&c===end){T=right;var I=v&&P===A&&A.visualViewport?A.visualViewport.width:P[D];_-=I-i.width,_*=f?1:-1}}var U=Object.assign({position:d},m&&unsetSides),$=y===!0?roundOffsetsByDPR({x:_,y:b},getWindow(r)):{x:_,y:b};if(_=$.x,b=$.y,f){var z;return Object.assign({},U,(z={},z[E]=O?"0":"",z[T]=C?"0":"",z.transform=(A.devicePixelRatio||1)<=1?"translate("+_+"px, "+b+"px)":"translate3d("+_+"px, "+b+"px, 0)",z))}return Object.assign({},U,(t={},t[E]=O?b+"px":"",t[T]=C?_+"px":"",t.transform="",t))}function computeStyles(e){var t=e.state,r=e.options,i=r.gpuAcceleration,a=i===void 0?!0:i,c=r.adaptive,u=c===void 0?!0:c,d=r.roundOffsets,f=d===void 0?!0:d,m={placement:getBasePlacement(t.placement),variation:getVariation(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,mapToStyles(Object.assign({},m,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:u,roundOffsets:f})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,mapToStyles(Object.assign({},m,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var computeStyles$1={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:computeStyles,data:{}};function applyStyles(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var i=t.styles[r]||{},a=t.attributes[r]||{},c=t.elements[r];!isHTMLElement(c)||!getNodeName(c)||(Object.assign(c.style,i),Object.keys(a).forEach(function(u){var d=a[u];d===!1?c.removeAttribute(u):c.setAttribute(u,d===!0?"":d)}))})}function effect(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(i){var a=t.elements[i],c=t.attributes[i]||{},u=Object.keys(t.styles.hasOwnProperty(i)?t.styles[i]:r[i]),d=u.reduce(function(f,m){return f[m]="",f},{});!isHTMLElement(a)||!getNodeName(a)||(Object.assign(a.style,d),Object.keys(c).forEach(function(f){a.removeAttribute(f)}))})}}var applyStyles$1={name:"applyStyles",enabled:!0,phase:"write",fn:applyStyles,effect,requires:["computeStyles"]},defaultModifiers=[eventListeners,popperOffsets$1,computeStyles$1,applyStyles$1],createPopper=popperGenerator({defaultModifiers});function getAltAxis(e){return e==="x"?"y":"x"}function within(e,t,r){return max(e,min$1(t,r))}function withinMaxClamp(e,t,r){var i=within(e,t,r);return i>r?r:i}function preventOverflow(e){var t=e.state,r=e.options,i=e.name,a=r.mainAxis,c=a===void 0?!0:a,u=r.altAxis,d=u===void 0?!1:u,f=r.boundary,m=r.rootBoundary,y=r.altBoundary,v=r.padding,w=r.tether,_=w===void 0?!0:w,S=r.tetherOffset,b=S===void 0?0:S,k=detectOverflow(t,{boundary:f,rootBoundary:m,padding:v,altBoundary:y}),C=getBasePlacement(t.placement),O=getVariation(t.placement),T=!O,E=getMainAxisFromPlacement(C),A=getAltAxis(E),P=t.modifiersData.popperOffsets,M=t.rects.reference,D=t.rects.popper,F=typeof b=="function"?b(Object.assign({},t.rects,{placement:t.placement})):b,I=typeof F=="number"?{mainAxis:F,altAxis:F}:Object.assign({mainAxis:0,altAxis:0},F),U=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,$={x:0,y:0};if(P){if(c){var z,q=E==="y"?top:left,G=E==="y"?bottom:right,ee=E==="y"?"height":"width",ae=P[E],oe=ae+k[q],Se=ae-k[G],te=_?-D[ee]/2:0,se=O===start?M[ee]:D[ee],ne=O===start?-D[ee]:-M[ee],le=t.elements.arrow,Oe=_&&le?getLayoutRect(le):{width:0,height:0},ke=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:getFreshSideObject(),ye=ke[q],re=ke[G],ue=within(0,M[ee],Oe[ee]),ie=T?M[ee]/2-te-ue-ye-I.mainAxis:se-ue-ye-I.mainAxis,pe=T?-M[ee]/2+te+ue+re+I.mainAxis:ne+ue+re+I.mainAxis,Te=t.elements.arrow&&getOffsetParent(t.elements.arrow),Pe=Te?E==="y"?Te.clientTop||0:Te.clientLeft||0:0,B=(z=U?.[E])!=null?z:0,H=ae+ie-B-Pe,he=ae+pe-B,De=within(_?min$1(oe,H):oe,ae,_?max(Se,he):Se);P[E]=De,$[E]=De-ae}if(d){var Ne,J=E==="x"?top:left,j=E==="x"?bottom:right,ve=P[A],Ce=A==="y"?"height":"width",Ie=ve+k[J],Fe=ve-k[j],Q=[top,left].indexOf(C)!==-1,de=(Ne=U?.[A])!=null?Ne:0,Le=Q?Ie:ve-M[Ce]-D[Ce]-de+I.altAxis,$e=Q?ve+M[Ce]+D[Ce]-de-I.altAxis:Fe,We=_&&Q?withinMaxClamp(Le,ve,$e):within(_?Le:Ie,ve,_?$e:Fe);P[A]=We,$[A]=We-ve}t.modifiersData[i]=$}}var preventOverflow$1={name:"preventOverflow",enabled:!0,phase:"main",fn:preventOverflow,requiresIfExists:["offset"]},hash$1={left:"right",right:"left",bottom:"top",top:"bottom"};function getOppositePlacement(e){return e.replace(/left|right|bottom|top/g,function(t){return hash$1[t]})}var hash={start:"end",end:"start"};function getOppositeVariationPlacement(e){return e.replace(/start|end/g,function(t){return hash[t]})}function computeAutoPlacement(e,t){t===void 0&&(t={});var r=t,i=r.placement,a=r.boundary,c=r.rootBoundary,u=r.padding,d=r.flipVariations,f=r.allowedAutoPlacements,m=f===void 0?placements:f,y=getVariation(i),v=y?d?variationPlacements:variationPlacements.filter(function(S){return getVariation(S)===y}):basePlacements,w=v.filter(function(S){return m.indexOf(S)>=0});w.length===0&&(w=v);var _=w.reduce(function(S,b){return S[b]=detectOverflow(e,{placement:b,boundary:a,rootBoundary:c,padding:u})[getBasePlacement(b)],S},{});return Object.keys(_).sort(function(S,b){return _[S]-_[b]})}function getExpandedFallbackPlacements(e){if(getBasePlacement(e)===auto)return[];var t=getOppositePlacement(e);return[getOppositeVariationPlacement(e),t,getOppositeVariationPlacement(t)]}function flip(e){var t=e.state,r=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var a=r.mainAxis,c=a===void 0?!0:a,u=r.altAxis,d=u===void 0?!0:u,f=r.fallbackPlacements,m=r.padding,y=r.boundary,v=r.rootBoundary,w=r.altBoundary,_=r.flipVariations,S=_===void 0?!0:_,b=r.allowedAutoPlacements,k=t.options.placement,C=getBasePlacement(k),O=C===k,T=f||(O||!S?[getOppositePlacement(k)]:getExpandedFallbackPlacements(k)),E=[k].concat(T).reduce(function(Oe,ke){return Oe.concat(getBasePlacement(ke)===auto?computeAutoPlacement(t,{placement:ke,boundary:y,rootBoundary:v,padding:m,flipVariations:S,allowedAutoPlacements:b}):ke)},[]),A=t.rects.reference,P=t.rects.popper,M=new Map,D=!0,F=E[0],I=0;I<E.length;I++){var U=E[I],$=getBasePlacement(U),z=getVariation(U)===start,q=[top,bottom].indexOf($)>=0,G=q?"width":"height",ee=detectOverflow(t,{placement:U,boundary:y,rootBoundary:v,altBoundary:w,padding:m}),ae=q?z?right:left:z?bottom:top;A[G]>P[G]&&(ae=getOppositePlacement(ae));var oe=getOppositePlacement(ae),Se=[];if(c&&Se.push(ee[$]<=0),d&&Se.push(ee[ae]<=0,ee[oe]<=0),Se.every(function(Oe){return Oe})){F=U,D=!1;break}M.set(U,Se)}if(D)for(var te=S?3:1,se=function(ke){var ye=E.find(function(re){var ue=M.get(re);if(ue)return ue.slice(0,ke).every(function(ie){return ie})});if(ye)return F=ye,"break"},ne=te;ne>0;ne--){var le=se(ne);if(le==="break")break}t.placement!==F&&(t.modifiersData[i]._skip=!0,t.placement=F,t.reset=!0)}}var flip$1={name:"flip",enabled:!0,phase:"main",fn:flip,requiresIfExists:["offset"],data:{_skip:!1}};function useDropdown(e,t,r){const{disabled:i,appendTo:a,appendToBody:c,openDirection:u}=toRefs(e),d=getCurrentInstance$1().proxy,f=r.multiselect,m=r.dropdown,y=ref(!1),v=ref(null),w=ref(null),_=toRef(()=>a.value||c.value),S=toRef(()=>u.value==="top"&&w.value==="bottom"||u.value==="bottom"&&w.value!=="top"?"bottom":"top"),b=()=>{y.value||i.value||(y.value=!0,t.emit("open",d),_.value&&nextTick(()=>{C()}))},k=()=>{y.value&&(y.value=!1,t.emit("close",d))},C=()=>{if(!v.value)return;let T=parseInt(window.getComputedStyle(m.value).borderTopWidth.replace("px","")),E=parseInt(window.getComputedStyle(m.value).borderBottomWidth.replace("px",""));v.value.setOptions(A=>({...A,modifiers:[...A.modifiers,{name:"offset",options:{offset:[0,(S.value==="top"?T:E)*-1]}}]})),v.value.update()},O=T=>{for(;T&&T!==document.body;){if(getComputedStyle(T).position==="fixed")return!0;T=T.parentElement}return!1};return onMounted(()=>{_.value&&(v.value=createPopper(f.value,m.value,{strategy:O(f.value)?"fixed":void 0,placement:u.value,modifiers:[preventOverflow$1,flip$1,{name:"sameWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:T})=>{T.styles.popper.width=`${T.rects.reference.width}px`},effect:({state:T})=>{T.elements.popper.style.width=`${T.elements.reference.offsetWidth}px`}},{name:"toggleClass",enabled:!0,phase:"write",fn({state:T}){w.value=T.placement}}]}))}),onBeforeUnmount(()=>{!_.value||!v.value||(v.value.destroy(),v.value=null)}),{popper:v,isOpen:y,open:b,close:k,placement:S,updatePopper:C}}function useMultiselect(e,t,r){const{searchable:i,disabled:a,clearOnBlur:c}=toRefs(e),u=r.input,d=r.open,f=r.close,m=r.clearSearch,y=r.isOpen,v=r.wrapper,w=r.tags,_=ref(!1),S=ref(!1),b=toRef(()=>i.value||a.value?-1:0),k=()=>{i.value&&u.value.blur(),v.value.blur()},C=()=>{i.value&&!a.value&&u.value.focus()},O=(D=!0)=>{a.value||(_.value=!0,D&&d())},T=()=>{_.value=!1,setTimeout(()=>{_.value||(f(),c.value&&m())},1)};return{tabindex:b,isActive:_,mouseClicked:S,blur:k,focus:C,activate:O,deactivate:T,handleFocusIn:D=>{D.target.closest("[data-tags]")&&D.target.nodeName!=="INPUT"||D.target.closest("[data-clear]")||O(S.value)},handleFocusOut:()=>{T()},handleCaretClick:()=>{T(),k()},handleMousedown:D=>{S.value=!0,y.value&&(D.target.isEqualNode(v.value)||D.target.isEqualNode(w.value))?setTimeout(()=>{T()},0):!y.value&&(document.activeElement.isEqualNode(v.value)||document.activeElement.isEqualNode(u.value))&&O(),setTimeout(()=>{S.value=!1},0)}}}function useKeyboard(e,t,r){const{mode:i,addTagOn:a,openDirection:c,searchable:u,showOptions:d,valueProp:f,groups:m,addOptionOn:y,createTag:v,createOption:w,reverse:_}=toRefs(e),S=getCurrentInstance$1().proxy,b=r.iv,k=r.update,C=r.deselect,O=r.search,T=r.setPointer,E=r.selectPointer,A=r.backwardPointer,P=r.forwardPointer,M=r.multiselect,D=r.wrapper,F=r.tags,I=r.isOpen,U=r.open,$=r.blur,z=r.fo,q=toRef(()=>v.value||w.value||!1),G=toRef(()=>a.value!==void 0?a.value:y.value!==void 0?y.value:["enter"]),ee=()=>{i.value==="tags"&&!d.value&&q.value&&u.value&&!m.value&&T(z.value[z.value.map(Se=>Se[f.value]).indexOf(O.value)])};return{handleKeydown:Se=>{t.emit("keydown",Se,S);let te,se;switch(["ArrowLeft","ArrowRight","Enter"].indexOf(Se.key)!==-1&&i.value==="tags"&&(te=[...M.value.querySelectorAll("[data-tags] > *")].filter(ne=>ne!==F.value),se=te.findIndex(ne=>ne===document.activeElement)),Se.key){case"Backspace":if(i.value==="single"||u.value&&[null,""].indexOf(O.value)===-1||b.value.length===0)return;let ne=b.value.filter(le=>!le.disabled&&le.remove!==!1);ne.length&&C(ne[ne.length-1]);break;case"Enter":if(Se.preventDefault(),Se.keyCode===229)return;if(se!==-1&&se!==void 0){k([...b.value].filter((le,Oe)=>Oe!==se)),se===te.length-1&&(te.length-1?te[te.length-2].focus():u.value?F.value.querySelector("input").focus():D.value.focus());return}if(G.value.indexOf("enter")===-1&&q.value)return;ee(),E();break;case" ":if(!q.value&&!u.value){Se.preventDefault(),ee(),E();return}if(!q.value)return!1;if(G.value.indexOf("space")===-1&&q.value)return;Se.preventDefault(),ee(),E();break;case"Tab":case";":case",":if(G.value.indexOf(Se.key.toLowerCase())===-1||!q.value)return;ee(),E(),Se.preventDefault();break;case"Escape":$();break;case"ArrowUp":if(Se.preventDefault(),!d.value)return;I.value||U(),A();break;case"ArrowDown":if(Se.preventDefault(),!d.value)return;I.value||U(),P();break;case"ArrowLeft":if(u.value&&F.value&&F.value.querySelector("input").selectionStart||Se.shiftKey||i.value!=="tags"||!b.value||!b.value.length)return;Se.preventDefault(),se===-1?te[te.length-1].focus():se>0&&te[se-1].focus();break;case"ArrowRight":if(se===-1||Se.shiftKey||i.value!=="tags"||!b.value||!b.value.length)return;Se.preventDefault(),te.length>se+1?te[se+1].focus():u.value?F.value.querySelector("input").focus():u.value||D.value.focus();break}},handleKeyup:Se=>{t.emit("keyup",Se,S)},preparePointer:ee}}function useClasses(e,t,r){const{classes:i,disabled:a,showOptions:c,breakTags:u}=toRefs(e),d=r.isOpen,f=r.isPointed,m=r.isSelected,y=r.isDisabled,v=r.isActive,w=r.canPointGroups,_=r.resolving,S=r.fo,b=r.placement,k=toRef(()=>({container:"multiselect",containerDisabled:"is-disabled",containerOpen:"is-open",containerOpenTop:"is-open-top",containerActive:"is-active",wrapper:"multiselect-wrapper",singleLabel:"multiselect-single-label",singleLabelText:"multiselect-single-label-text",multipleLabel:"multiselect-multiple-label",search:"multiselect-search",tags:"multiselect-tags",tag:"multiselect-tag",tagWrapper:"multiselect-tag-wrapper",tagWrapperBreak:"multiselect-tag-wrapper-break",tagDisabled:"is-disabled",tagRemove:"multiselect-tag-remove",tagRemoveIcon:"multiselect-tag-remove-icon",tagsSearchWrapper:"multiselect-tags-search-wrapper",tagsSearch:"multiselect-tags-search",tagsSearchCopy:"multiselect-tags-search-copy",placeholder:"multiselect-placeholder",caret:"multiselect-caret",caretOpen:"is-open",clear:"multiselect-clear",clearIcon:"multiselect-clear-icon",spinner:"multiselect-spinner",inifinite:"multiselect-inifite",inifiniteSpinner:"multiselect-inifite-spinner",dropdown:"multiselect-dropdown",dropdownTop:"is-top",dropdownHidden:"is-hidden",options:"multiselect-options",optionsTop:"is-top",group:"multiselect-group",groupLabel:"multiselect-group-label",groupLabelPointable:"is-pointable",groupLabelPointed:"is-pointed",groupLabelSelected:"is-selected",groupLabelDisabled:"is-disabled",groupLabelSelectedPointed:"is-selected is-pointed",groupLabelSelectedDisabled:"is-selected is-disabled",groupOptions:"multiselect-group-options",option:"multiselect-option",optionPointed:"is-pointed",optionSelected:"is-selected",optionDisabled:"is-disabled",optionSelectedPointed:"is-selected is-pointed",optionSelectedDisabled:"is-selected is-disabled",noOptions:"multiselect-no-options",noResults:"multiselect-no-results",fakeInput:"multiselect-fake-input",assist:"multiselect-assistive-text",spacer:"multiselect-spacer",...i.value})),C=toRef(()=>!!(d.value&&c.value&&(!_.value||_.value&&S.value.length)));return{classList:computed(()=>{const T=k.value;return{container:[T.container].concat(a.value?T.containerDisabled:[]).concat(C.value&&b.value==="top"?T.containerOpenTop:[]).concat(C.value&&b.value!=="top"?T.containerOpen:[]).concat(v.value?T.containerActive:[]),wrapper:T.wrapper,spacer:T.spacer,singleLabel:T.singleLabel,singleLabelText:T.singleLabelText,multipleLabel:T.multipleLabel,search:T.search,tags:T.tags,tag:[T.tag].concat(a.value?T.tagDisabled:[]),tagWrapper:[T.tagWrapper,u.value?T.tagWrapperBreak:null],tagDisabled:T.tagDisabled,tagRemove:T.tagRemove,tagRemoveIcon:T.tagRemoveIcon,tagsSearchWrapper:T.tagsSearchWrapper,tagsSearch:T.tagsSearch,tagsSearchCopy:T.tagsSearchCopy,placeholder:T.placeholder,caret:[T.caret].concat(d.value?T.caretOpen:[]),clear:T.clear,clearIcon:T.clearIcon,spinner:T.spinner,inifinite:T.inifinite,inifiniteSpinner:T.inifiniteSpinner,dropdown:[T.dropdown].concat(b.value==="top"?T.dropdownTop:[]).concat(!d.value||!c.value||!C.value?T.dropdownHidden:[]),options:[T.options].concat(b.value==="top"?T.optionsTop:[]),group:T.group,groupLabel:E=>{let A=[T.groupLabel];return f(E)?A.push(m(E)?T.groupLabelSelectedPointed:T.groupLabelPointed):m(E)&&w.value?A.push(y(E)?T.groupLabelSelectedDisabled:T.groupLabelSelected):y(E)&&A.push(T.groupLabelDisabled),w.value&&A.push(T.groupLabelPointable),A},groupOptions:T.groupOptions,option:(E,A)=>{let P=[T.option];return f(E)?P.push(m(E)?T.optionSelectedPointed:T.optionPointed):m(E)?P.push(y(E)?T.optionSelectedDisabled:T.optionSelected):(y(E)||A&&y(A))&&P.push(T.optionDisabled),P},noOptions:T.noOptions,noResults:T.noResults,assist:T.assist,fakeInput:T.fakeInput}}),showDropdown:C}}function useScroll$1(e,t,r){const{limit:i,infinite:a}=toRefs(e),c=r.isOpen,u=r.offset,d=r.search,f=r.pfo,m=r.eo,y=ref(null),v=shallowRef(null),w=toRef(()=>u.value<f.value.length),_=b=>{const{isIntersecting:k,target:C}=b[0];if(k){const O=C.offsetParent,T=O.scrollTop;u.value+=i.value==-1?10:i.value,nextTick(()=>{O.scrollTop=T})}},S=()=>{c.value&&u.value<f.value.length?y.value.observe(v.value):!c.value&&y.value&&y.value.disconnect()};return watch(c,()=>{a.value&&S()}),watch(d,()=>{a.value&&(u.value=i.value,S())},{flush:"post"}),watch(m,()=>{a.value&&S()},{immediate:!1,flush:"post"}),onMounted(()=>{window&&window.IntersectionObserver&&(y.value=new IntersectionObserver(_))}),{hasMore:w,infiniteLoader:v}}function useA11y(e,t,r){const{placeholder:i,id:a,valueProp:c,label:u,mode:d,groupLabel:f,aria:m,searchable:y}=toRefs(e),v=r.pointer,w=r.iv,_=r.hasSelected,S=r.multipleLabelText,b=ref(null),k=toRef(()=>`${a.value?a.value+"-":""}assist`),C=toRef(()=>`${a.value?a.value+"-":""}multiselect-options`),O=toRef(()=>{if(v.value){let $=a.value?`${a.value}-`:"";return $+=`${v.value.group?"multiselect-group":"multiselect-option"}-`,$+=v.value.group?v.value.index:v.value[c.value],$}}),T=toRef(()=>i.value),E=toRef(()=>d.value!=="single"),A=computed(()=>d.value==="single"&&_.value?w.value[u.value]:d.value==="multiple"&&_.value?S.value:d.value==="tags"&&_.value?w.value.map($=>$[u.value]).join(", "):""),P=computed(()=>{let $={...m.value};return y.value&&($["aria-labelledby"]=$["aria-labelledby"]?`${k.value} ${$["aria-labelledby"]}`:k.value,A.value&&$["aria-label"]&&($["aria-label"]=`${A.value}, ${$["aria-label"]}`)),$}),M=$=>`${a.value?a.value+"-":""}multiselect-option-${$[c.value]}`,D=$=>`${a.value?a.value+"-":""}multiselect-group-${$.index}`,F=$=>`${$}`,I=$=>`${$}`,U=$=>`${$} ❎`;return onMounted(()=>{if(a.value&&document&&document.querySelector){let $=document.querySelector(`[for="${a.value}"]`);b.value=$?$.innerText:null}}),{arias:P,ariaLabel:A,ariaAssist:k,ariaControls:C,ariaPlaceholder:T,ariaMultiselectable:E,ariaActiveDescendant:O,ariaOptionId:M,ariaOptionLabel:F,ariaGroupId:D,ariaGroupLabel:I,ariaTagLabel:U}}function useI18n(e,t,r){const{locale:i,fallbackLocale:a}=toRefs(e);return{localize:u=>!u||typeof u!="object"?u:u&&u[i.value]?u[i.value]:u&&i.value&&u[i.value.toUpperCase()]?u[i.value.toUpperCase()]:u&&u[a.value]?u[a.value]:u&&a.value&&u[a.value.toUpperCase()]?u[a.value.toUpperCase()]:u&&Object.keys(u)[0]?u[Object.keys(u)[0]]:""}}function useRefs(e,t,r){const i=shallowRef(null),a=shallowRef(null),c=shallowRef(null),u=shallowRef(null),d=shallowRef(null);return{multiselect:i,wrapper:a,tags:c,input:u,dropdown:d}}function resolveDeps(e,t,r,i={}){return r.forEach(a=>{i={...i,...a(e,t,i)}}),i}var script={name:"Multiselect",emits:["paste","open","close","select","deselect","input","search-change","tag","option","update:modelValue","change","clear","keydown","keyup","max","create"],props:{value:{required:!1},modelValue:{required:!1},options:{type:[Array,Object,Function],required:!1,default:()=>[]},id:{type:[String,Number],required:!1,default:void 0},name:{type:[String,Number],required:!1,default:"multiselect"},disabled:{type:Boolean,required:!1,default:!1},label:{type:String,required:!1,default:"label"},trackBy:{type:[String,Array],required:!1,default:void 0},valueProp:{type:String,required:!1,default:"value"},placeholder:{type:String,required:!1,default:null},mode:{type:String,required:!1,default:"single"},searchable:{type:Boolean,required:!1,default:!1},limit:{type:Number,required:!1,default:-1},hideSelected:{type:Boolean,required:!1,default:!0},createTag:{type:Boolean,required:!1,default:void 0},createOption:{type:Boolean,required:!1,default:void 0},appendNewTag:{type:Boolean,required:!1,default:void 0},appendNewOption:{type:Boolean,required:!1,default:void 0},addTagOn:{type:Array,required:!1,default:void 0},addOptionOn:{type:Array,required:!1,default:void 0},caret:{type:Boolean,required:!1,default:!0},loading:{type:Boolean,required:!1,default:!1},noOptionsText:{type:[String,Object],required:!1,default:"The list is empty"},noResultsText:{type:[String,Object],required:!1,default:"No results found"},multipleLabel:{type:Function,required:!1,default:void 0},object:{type:Boolean,required:!1,default:!1},delay:{type:Number,required:!1,default:-1},minChars:{type:Number,required:!1,default:0},resolveOnLoad:{type:Boolean,required:!1,default:!0},filterResults:{type:Boolean,required:!1,default:!0},clearOnSearch:{type:Boolean,required:!1,default:!1},clearOnSelect:{type:Boolean,required:!1,default:!0},canDeselect:{type:Boolean,required:!1,default:!0},canClear:{type:Boolean,required:!1,default:!0},max:{type:Number,required:!1,default:-1},showOptions:{type:Boolean,required:!1,default:!0},required:{type:Boolean,required:!1,default:!1},openDirection:{type:String,required:!1,default:"bottom"},nativeSupport:{type:Boolean,required:!1,default:!1},classes:{type:Object,required:!1,default:()=>({})},strict:{type:Boolean,required:!1,default:!0},closeOnSelect:{type:Boolean,required:!1,default:!0},closeOnDeselect:{type:Boolean,required:!1,default:!1},autocomplete:{type:String,required:!1,default:void 0},groups:{type:Boolean,required:!1,default:!1},groupLabel:{type:String,required:!1,default:"label"},groupOptions:{type:String,required:!1,default:"options"},groupHideEmpty:{type:Boolean,required:!1,default:!1},groupSelect:{type:Boolean,required:!1,default:!0},inputType:{type:String,required:!1,default:"text"},attrs:{required:!1,type:Object,default:()=>({})},onCreate:{required:!1,type:Function,default:void 0},disabledProp:{type:String,required:!1,default:"disabled"},searchStart:{type:Boolean,required:!1,default:!1},reverse:{type:Boolean,required:!1,default:!1},regex:{type:[Object,String,RegExp],required:!1,default:void 0},rtl:{type:Boolean,required:!1,default:!1},infinite:{type:Boolean,required:!1,default:!1},aria:{required:!1,type:Object,default:()=>({})},clearOnBlur:{required:!1,type:Boolean,default:!0},locale:{required:!1,type:String,default:null},fallbackLocale:{required:!1,type:String,default:"en"},searchFilter:{required:!1,type:Function,default:null},allowAbsent:{required:!1,type:Boolean,default:!1},appendToBody:{required:!1,type:Boolean,default:!1},closeOnScroll:{required:!1,type:Boolean,default:!1},breakTags:{required:!1,type:Boolean,default:!1},appendTo:{required:!1,type:String,default:void 0}},setup(e,t){return resolveDeps(e,t,[useRefs,useI18n,useValue,usePointer$1,useDropdown,useSearch,useData,useMultiselect,useOptions,useScroll$1,usePointer,useKeyboard,useClasses,useA11y])},beforeMount(){(this.$root.constructor&&this.$root.constructor.version&&this.$root.constructor.version.match(/^2\./)||this.vueVersionMs===2)&&(this.$options.components.Teleport||(this.$options.components.Teleport={render(){return this.$slots.default?this.$slots.default[0]:null}}))}};const _hoisted_1$5=["id","dir"],_hoisted_2$4=["tabindex","aria-controls","aria-placeholder","aria-expanded","aria-activedescendant","aria-multiselectable","role"],_hoisted_3$4=["type","modelValue","value","autocomplete","id","aria-controls","aria-placeholder","aria-expanded","aria-activedescendant","aria-multiselectable"],_hoisted_4$3=["onKeyup","aria-label"],_hoisted_5$1=["onClick"],_hoisted_6=["type","modelValue","value","id","autocomplete","aria-controls","aria-placeholder","aria-expanded","aria-activedescendant","aria-multiselectable"],_hoisted_7=["innerHTML"],_hoisted_8=["id"],_hoisted_9=["id"],_hoisted_10=["id","aria-label","aria-selected"],_hoisted_11=["data-pointed","onMouseenter","onClick"],_hoisted_12=["innerHTML"],_hoisted_13=["aria-label"],_hoisted_14=["data-pointed","data-selected","onMouseenter","onClick","id","aria-selected","aria-label"],_hoisted_15=["data-pointed","data-selected","onMouseenter","onClick","id","aria-selected","aria-label"],_hoisted_16=["innerHTML"],_hoisted_17=["innerHTML"],_hoisted_18=["value"],_hoisted_19=["name","value"],_hoisted_20=["name","value"],_hoisted_21=["id"];function render(e,t,r,i,a,c){return openBlock(),createElementBlock("div",{ref:"multiselect",class:normalizeClass(e.classList.container),id:r.searchable?void 0:r.id,dir:r.rtl?"rtl":void 0,onFocusin:t[12]||(t[12]=(...u)=>e.handleFocusIn&&e.handleFocusIn(...u)),onFocusout:t[13]||(t[13]=(...u)=>e.handleFocusOut&&e.handleFocusOut(...u)),onKeyup:t[14]||(t[14]=(...u)=>e.handleKeyup&&e.handleKeyup(...u)),onKeydown:t[15]||(t[15]=(...u)=>e.handleKeydown&&e.handleKeydown(...u))},[createBaseVNode("div",mergeProps({class:e.classList.wrapper,onMousedown:t[9]||(t[9]=(...u)=>e.handleMousedown&&e.handleMousedown(...u)),ref:"wrapper",tabindex:e.tabindex,"aria-controls":r.searchable?void 0:e.ariaControls,"aria-placeholder":r.searchable?void 0:e.ariaPlaceholder,"aria-expanded":r.searchable?void 0:e.isOpen,"aria-activedescendant":r.searchable?void 0:e.ariaActiveDescendant,"aria-multiselectable":r.searchable?void 0:e.ariaMultiselectable,role:r.searchable?void 0:"combobox"},r.searchable?{}:e.arias),[createCommentVNode(" Search "),r.mode!=="tags"&&r.searchable&&!r.disabled?(openBlock(),createElementBlock("input",mergeProps({key:0,type:r.inputType,modelValue:e.search,value:e.search,class:e.classList.search,autocomplete:r.autocomplete,id:r.searchable?r.id:void 0,onInput:t[0]||(t[0]=(...u)=>e.handleSearchInput&&e.handleSearchInput(...u)),onKeypress:t[1]||(t[1]=(...u)=>e.handleKeypress&&e.handleKeypress(...u)),onPaste:t[2]||(t[2]=withModifiers((...u)=>e.handlePaste&&e.handlePaste(...u),["stop"])),ref:"input","aria-controls":e.ariaControls,"aria-placeholder":e.ariaPlaceholder,"aria-expanded":e.isOpen,"aria-activedescendant":e.ariaActiveDescendant,"aria-multiselectable":e.ariaMultiselectable,role:"combobox"},{...r.attrs,...e.arias}),null,16,_hoisted_3$4)):createCommentVNode("v-if",!0),createCommentVNode(" Tags (with search) "),r.mode=="tags"?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(e.classList.tags),"data-tags":""},[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.iv,(u,d,f)=>renderSlot$1(e.$slots,"tag",{option:u,handleTagRemove:e.handleTagRemove,disabled:r.disabled},()=>[(openBlock(),createElementBlock("span",{class:normalizeClass([e.classList.tag,u.disabled?e.classList.tagDisabled:null]),tabindex:"-1",onKeyup:withKeys(m=>e.handleTagRemove(u,m),["enter"]),key:f,"aria-label":e.ariaTagLabel(e.localize(u[r.label]))},[createBaseVNode("span",{class:normalizeClass(e.classList.tagWrapper)},toDisplayString$1(e.localize(u[r.label])),3),!r.disabled&&!u.disabled?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(e.classList.tagRemove),onClick:withModifiers(m=>e.handleTagRemove(u,m),["stop"])},[createBaseVNode("span",{class:normalizeClass(e.classList.tagRemoveIcon)},null,2)],10,_hoisted_5$1)):createCommentVNode("v-if",!0)],42,_hoisted_4$3))])),256)),createBaseVNode("div",{class:normalizeClass(e.classList.tagsSearchWrapper),ref:"tags"},[createCommentVNode(" Used for measuring search width "),createBaseVNode("span",{class:normalizeClass(e.classList.tagsSearchCopy)},toDisplayString$1(e.search),3),createCommentVNode(" Actual search input "),r.searchable&&!r.disabled?(openBlock(),createElementBlock("input",mergeProps({key:0,type:r.inputType,modelValue:e.search,value:e.search,class:e.classList.tagsSearch,id:r.searchable?r.id:void 0,autocomplete:r.autocomplete,onInput:t[3]||(t[3]=(...u)=>e.handleSearchInput&&e.handleSearchInput(...u)),onKeypress:t[4]||(t[4]=(...u)=>e.handleKeypress&&e.handleKeypress(...u)),onPaste:t[5]||(t[5]=withModifiers((...u)=>e.handlePaste&&e.handlePaste(...u),["stop"])),ref:"input","aria-controls":e.ariaControls,"aria-placeholder":e.ariaPlaceholder,"aria-expanded":e.isOpen,"aria-activedescendant":e.ariaActiveDescendant,"aria-multiselectable":e.ariaMultiselectable,role:"combobox"},{...r.attrs,...e.arias}),null,16,_hoisted_6)):createCommentVNode("v-if",!0)],2)],2)):createCommentVNode("v-if",!0),createCommentVNode(" Single label "),r.mode=="single"&&e.hasSelected&&!e.search&&e.iv?renderSlot$1(e.$slots,"singlelabel",{key:2,value:e.iv},()=>[createBaseVNode("div",{class:normalizeClass(e.classList.singleLabel)},[createBaseVNode("span",{class:normalizeClass(e.classList.singleLabelText)},toDisplayString$1(e.localize(e.iv[r.label])),3)],2)]):createCommentVNode("v-if",!0),createCommentVNode(" Multiple label "),r.mode=="multiple"&&e.hasSelected&&!e.search?renderSlot$1(e.$slots,"multiplelabel",{key:3,values:e.iv},()=>[createBaseVNode("div",{class:normalizeClass(e.classList.multipleLabel),innerHTML:e.multipleLabelText},null,10,_hoisted_7)]):createCommentVNode("v-if",!0),createCommentVNode(" Placeholder "),r.placeholder&&!e.hasSelected&&!e.search?renderSlot$1(e.$slots,"placeholder",{key:4},()=>[createBaseVNode("div",{class:normalizeClass(e.classList.placeholder),"aria-hidden":"true"},toDisplayString$1(r.placeholder),3)]):createCommentVNode("v-if",!0),createCommentVNode(" Spinner "),r.loading||e.resolving?renderSlot$1(e.$slots,"spinner",{key:5},()=>[createBaseVNode("span",{class:normalizeClass(e.classList.spinner),"aria-hidden":"true"},null,2)]):createCommentVNode("v-if",!0),createCommentVNode(" Clear "),e.hasSelected&&!r.disabled&&r.canClear&&!e.busy?renderSlot$1(e.$slots,"clear",{key:6,clear:e.clear},()=>[createBaseVNode("span",{"aria-hidden":"true",tabindex:"0",role:"button","data-clear":"","aria-roledescription":"❎",class:normalizeClass(e.classList.clear),onClick:t[6]||(t[6]=(...u)=>e.clear&&e.clear(...u)),onKeyup:t[7]||(t[7]=withKeys((...u)=>e.clear&&e.clear(...u),["enter"]))},[createBaseVNode("span",{class:normalizeClass(e.classList.clearIcon)},null,2)],34)]):createCommentVNode("v-if",!0),createCommentVNode(" Caret "),r.caret&&r.showOptions?renderSlot$1(e.$slots,"caret",{key:7,handleCaretClick:e.handleCaretClick,isOpen:e.isOpen},()=>[createBaseVNode("span",{class:normalizeClass(e.classList.caret),onClick:t[8]||(t[8]=(...u)=>e.handleCaretClick&&e.handleCaretClick(...u)),"aria-hidden":"true"},null,2)]):createCommentVNode("v-if",!0)],16,_hoisted_2$4),createCommentVNode(" Options "),(openBlock(),createBlock(Teleport,{to:r.appendTo||"body",disabled:!r.appendToBody&&!r.appendTo},[createBaseVNode("div",{id:r.id?`${r.id}-dropdown`:void 0,class:normalizeClass(e.classList.dropdown),tabindex:"-1",ref:"dropdown",onFocusin:t[10]||(t[10]=(...u)=>e.handleFocusIn&&e.handleFocusIn(...u)),onFocusout:t[11]||(t[11]=(...u)=>e.handleFocusOut&&e.handleFocusOut(...u))},[renderSlot$1(e.$slots,"beforelist",{options:e.fo}),createBaseVNode("ul",{class:normalizeClass(e.classList.options),id:e.ariaControls,role:"listbox"},[r.groups?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(e.fg,(u,d,f)=>(openBlock(),createElementBlock("li",{class:normalizeClass(e.classList.group),key:f,id:e.ariaGroupId(u),"aria-label":e.ariaGroupLabel(e.localize(u[r.groupLabel])),"aria-selected":e.isSelected(u),role:"option"},[u.__CREATE__?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(e.classList.groupLabel(u)),"data-pointed":e.isPointed(u),onMouseenter:m=>e.setPointer(u,d),onClick:m=>e.handleGroupClick(u)},[renderSlot$1(e.$slots,"grouplabel",{group:u,isSelected:e.isSelected,isPointed:e.isPointed},()=>[createBaseVNode("span",{innerHTML:e.localize(u[r.groupLabel])},null,8,_hoisted_12)])],42,_hoisted_11)),createBaseVNode("ul",{class:normalizeClass(e.classList.groupOptions),"aria-label":e.ariaGroupLabel(e.localize(u[r.groupLabel])),role:"group"},[(openBlock(!0),createElementBlock(Fragment,null,renderList(u.__VISIBLE__,(m,y,v)=>(openBlock(),createElementBlock("li",{class:normalizeClass(e.classList.option(m,u)),"data-pointed":e.isPointed(m),"data-selected":e.isSelected(m)||void 0,key:v,onMouseenter:w=>e.setPointer(m),onClick:w=>e.handleOptionClick(m),id:e.ariaOptionId(m),"aria-selected":e.isSelected(m),"aria-label":e.ariaOptionLabel(e.localize(m[r.label])),role:"option"},[renderSlot$1(e.$slots,"option",{option:m,isSelected:e.isSelected,isPointed:e.isPointed,search:e.search},()=>[createBaseVNode("span",null,toDisplayString$1(e.localize(m[r.label])),1)])],42,_hoisted_14))),128))],10,_hoisted_13)],10,_hoisted_10))),128)):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(e.fo,(u,d,f)=>(openBlock(),createElementBlock("li",{class:normalizeClass(e.classList.option(u)),"data-pointed":e.isPointed(u),"data-selected":e.isSelected(u)||void 0,key:f,onMouseenter:m=>e.setPointer(u),onClick:m=>e.handleOptionClick(u),id:e.ariaOptionId(u),"aria-selected":e.isSelected(u),"aria-label":e.ariaOptionLabel(e.localize(u[r.label])),role:"option"},[renderSlot$1(e.$slots,"option",{option:u,isSelected:e.isSelected,isPointed:e.isPointed,search:e.search},()=>[createBaseVNode("span",null,toDisplayString$1(e.localize(u[r.label])),1)])],42,_hoisted_15))),128))],10,_hoisted_9),e.noOptions?renderSlot$1(e.$slots,"nooptions",{key:0},()=>[createBaseVNode("div",{class:normalizeClass(e.classList.noOptions),innerHTML:e.localize(r.noOptionsText)},null,10,_hoisted_16)]):createCommentVNode("v-if",!0),e.noResults?renderSlot$1(e.$slots,"noresults",{key:1},()=>[createBaseVNode("div",{class:normalizeClass(e.classList.noResults),innerHTML:e.localize(r.noResultsText)},null,10,_hoisted_17)]):createCommentVNode("v-if",!0),r.infinite&&e.hasMore?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(e.classList.inifinite),ref:"infiniteLoader"},[renderSlot$1(e.$slots,"infinite",{},()=>[createBaseVNode("span",{class:normalizeClass(e.classList.inifiniteSpinner)},null,2)])],2)):createCommentVNode("v-if",!0),renderSlot$1(e.$slots,"afterlist",{options:e.fo})],42,_hoisted_8)],8,["to","disabled"])),createCommentVNode(" Hacky input element to show HTML5 required warning "),r.required?(openBlock(),createElementBlock("input",{key:0,class:normalizeClass(e.classList.fakeInput),tabindex:"-1",value:e.textValue,required:""},null,10,_hoisted_18)):createCommentVNode("v-if",!0),createCommentVNode(" Native input support "),r.nativeSupport?(openBlock(),createElementBlock(Fragment,{key:1},[r.mode=="single"?(openBlock(),createElementBlock("input",{key:0,type:"hidden",name:r.name,value:e.plainValue!==void 0?e.plainValue:""},null,8,_hoisted_19)):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(e.plainValue,(u,d)=>(openBlock(),createElementBlock("input",{type:"hidden",name:`${r.name}[]`,value:u,key:d},null,8,_hoisted_20))),128))],64)):createCommentVNode("v-if",!0),createCommentVNode(" Screen reader assistive text "),r.searchable&&e.hasSelected?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(e.classList.assist),id:e.ariaAssist,"aria-hidden":"true"},toDisplayString$1(e.ariaLabel),11,_hoisted_21)):createCommentVNode("v-if",!0),createCommentVNode(" Create height for empty input "),createBaseVNode("div",{class:normalizeClass(e.classList.spacer)},null,2)],42,_hoisted_1$5)}script.render=render;script.__file="src/Multiselect.vue";const _hoisted_1$4={class:"d-flex align-center justify-space-between w-100"},_hoisted_2$3={class:"d-none d-lg-block"},_hoisted_3$3=["onClick"],_hoisted_4$2={class:"text-disabled font-italic text-caption ms-3"},_sfc_main$a=defineComponent$1({__name:"ModelSelect",props:mergeModels({model:{type:String,required:!0},id:{type:String,required:!1,default:Math.floor(Math.random()*1e4).toString()},limit:{type:Number,default:25},disabled:{type:Boolean,default:!1},canClear:{type:Boolean,default:!0},mode:{type:String,default:"single"},appendToBody:{type:Boolean,default:!1},object:{type:Boolean,default:!0},allowCreate:{type:Boolean,default:!1},placeholder:{type:String,default:void 0},noOptionsText:{type:String,default:void 0},noResultsText:{type:String,default:void 0},label:{type:String,default:""},hint:{type:String,default:""},hideDetails:{type:Boolean,default:!1},density:{type:String,default:""},searchOnLoad:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:mergeModels(["update:modelValue","create"],["update:modelValue"]),setup(e,{emit:t}){const{t:r}=useI18n$1(),i=t,a=e,c=computed(()=>f.value.model.itemValue?f.value.model.itemValue:"id"),u=computed(()=>f.value.model.itemLabel?f.value.model.itemLabel:"name"),d=useModel(e,"modelValue"),f=ref({}),m=ref(!1),y=ref(!1),v=useTemplateRef(`ref_${a.id}`);onBeforeMount(()=>{f.value=getGenericModelFromString(a.model,r)});function w(S){return m.value=!0,f.value.list({query:S,page:1,pageSize:a.limit}).then(b=>f.value.model.isPaginated?(y.value=!!b.next,b.results):(y.value=!1,b)).catch(b=>{useMessageStore().addError(ErrorMessageType.FETCH_ERROR,b)}).finally(()=>{m.value=!1})}async function _(S,b){return await f.value.create({name:S[u.value]}).then(k=>(useMessageStore().addPreparedMessage(PreparedMessage.CREATE_SUCCESS,k),i("create",S),k)).catch(k=>{useMessageStore().addError(ErrorMessageType.CREATE_ERROR,k)})}return(S,b)=>(openBlock(),createElementBlock(Fragment,null,[a.label?(openBlock(),createBlock(VLabel,{key:0,class:"mt-2"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(a.label),1)]),_:1})):createCommentVNode("",!0),createVNode(VInput,{hint:a.hint,"persistent-hint":"",label:a.label,"hide-details":a.hideDetails,disabled:a.disabled},createSlots({default:withCtx(()=>[createVNode(unref(script),{ref:`ref_${a.id}`,class:normalizeClass(["material-multiselect",{"model-select--density-compact":a.density=="compact","model-select--density-comfortable":a.density=="comfortable","model-select--density-default":a.density==""}]),"resolve-on-load":a.searchOnLoad,modelValue:d.value,"onUpdate:modelValue":b[0]||(b[0]=k=>d.value=k),options:w,"on-create":_,createOption:a.allowCreate,delay:300,object:a.object,valueProp:c.value,label:u.value,searchable:!0,strict:!1,disabled:a.disabled,mode:a.mode,"can-clear":a.canClear,"can-deselect":a.canClear,limit:a.limit,placeholder:S.$t(f.value.model.localizationKey),noOptionsText:S.$t("No_Results"),noResultsText:S.$t("No_Results"),loading:m.value,onOpen:b[1]||(b[1]=k=>v.value.refreshOptions()),"append-to-body":a.appendToBody,classes:{dropdown:"multiselect-dropdown z-3000",containerActive:"",containerDisabled:"text-disabled"}},createSlots({_:2},[a.allowCreate?{name:"option",fn:withCtx(({option:k})=>[createBaseVNode("div",_hoisted_1$4,[createBaseVNode("span",null,toDisplayString$1(k[u.value]),1),k.__CREATE__?(openBlock(),createBlock(VChip,{key:0,size:"x-small",variant:"flat",color:"create",class:"ml-2"},{default:withCtx(()=>[createVNode(VIcon,{icon:"$create"}),createBaseVNode("template",_hoisted_2$3,[createTextVNode(toDisplayString$1(S.$t("Create")),1)])]),_:1})):createCommentVNode("",!0)])]),key:"0"}:void 0,a.canClear?{name:"clear",fn:withCtx(({clear:k})=>[createBaseVNode("span",{onClick:k,"aria-hidden":"true",tabindex:"-1",role:"button","data-clear":"","aria-roledescription":"❎",class:"multiselect-clear"},b[2]||(b[2]=[createBaseVNode("span",{class:"multiselect-clear-icon"},null,-1)]),8,_hoisted_3$3)]),key:"1"}:void 0,y.value&&!m.value?{name:"afterlist",fn:withCtx(()=>[createBaseVNode("span",_hoisted_4$2,toDisplayString$1(S.$t("ModelSelectResultsHelp")),1)]),key:"2"}:void 0]),1032,["class","resolve-on-load","modelValue","createOption","object","valueProp","label","disabled","mode","can-clear","can-deselect","limit","placeholder","noOptionsText","noResultsText","loading","append-to-body"])]),_:2},[S.$slots.prepend?{name:"prepend",fn:withCtx(()=>[renderSlot$1(S.$slots,"prepend")]),key:"0"}:void 0,S.$slots.append?{name:"append",fn:withCtx(()=>[renderSlot$1(S.$slots,"append")]),key:"1"}:void 0]),1032,["hint","label","hide-details","disabled"])],64))}}),makeVConfirmEditProps=propsFactory({modelValue:null,color:String,cancelText:{type:String,default:"$vuetify.confirmEdit.cancel"},okText:{type:String,default:"$vuetify.confirmEdit.ok"},disabled:{type:[Boolean,Array],default:void 0},hideActions:Boolean},"VConfirmEdit"),VConfirmEdit=genericComponent()({name:"VConfirmEdit",props:makeVConfirmEditProps(),emits:{cancel:()=>!0,save:e=>!0,"update:modelValue":e=>!0},setup(e,t){let{emit:r,slots:i}=t;const a=useProxiedModel(e,"modelValue"),c=ref();watchEffect(()=>{c.value=structuredClone(toRaw(a.value))});const{t:u}=useLocale(),d=computed(()=>deepEqual(a.value,c.value));function f(b){return typeof e.disabled=="boolean"?e.disabled:Array.isArray(e.disabled)?e.disabled.includes(b):d.value}const m=computed(()=>f("save")),y=computed(()=>f("cancel"));function v(){a.value=c.value,r("save",c.value)}function w(){c.value=structuredClone(toRaw(a.value)),r("cancel")}function _(b){return createBaseVNode(Fragment,null,[createVNode(VBtn,mergeProps({disabled:y.value,variant:"text",color:e.color,onClick:w,text:u(e.cancelText)},b),null),createVNode(VBtn,mergeProps({disabled:m.value,variant:"text",color:e.color,onClick:v,text:u(e.okText)},b),null)])}let S=!1;return useRender(()=>createBaseVNode(Fragment,null,[i.default?.({model:c,save:v,cancel:w,isPristine:d.value,get actions(){return S=!0,_}}),!e.hideActions&&!S&&_()])),{save:v,cancel:w,isPristine:d}}}),makeVDatePickerControlsProps=propsFactory({active:{type:[String,Array],default:void 0},controlHeight:[Number,String],disabled:{type:[Boolean,String,Array],default:null},nextIcon:{type:IconValue,default:"$next"},prevIcon:{type:IconValue,default:"$prev"},modeIcon:{type:IconValue,default:"$subgroup"},text:String,viewMode:{type:String,default:"month"}},"VDatePickerControls"),VDatePickerControls=genericComponent()({name:"VDatePickerControls",props:makeVDatePickerControlsProps(),emits:{"click:year":()=>!0,"click:month":()=>!0,"click:prev":()=>!0,"click:next":()=>!0,"click:text":()=>!0},setup(e,t){let{emit:r}=t;const{t:i}=useLocale(),a=computed(()=>Array.isArray(e.disabled)?e.disabled.includes("text"):!!e.disabled),c=computed(()=>Array.isArray(e.disabled)?e.disabled.includes("mode"):!!e.disabled),u=computed(()=>Array.isArray(e.disabled)?e.disabled.includes("prev"):!!e.disabled),d=computed(()=>Array.isArray(e.disabled)?e.disabled.includes("next"):!!e.disabled);function f(){r("click:prev")}function m(){r("click:next")}function y(){r("click:year")}function v(){r("click:month")}return useRender(()=>createBaseVNode("div",{class:normalizeClass(["v-date-picker-controls"]),style:{"--v-date-picker-controls-height":convertToUnit(e.controlHeight)}},[createVNode(VBtn,{class:"v-date-picker-controls__month-btn","data-testid":"month-btn",disabled:a.value,text:e.text,variant:"text",rounded:!0,onClick:v},null),createVNode(VBtn,{class:"v-date-picker-controls__mode-btn","data-testid":"year-btn",disabled:c.value,density:"comfortable",icon:e.modeIcon,variant:"text","aria-label":i("$vuetify.datePicker.ariaLabel.selectYear"),onClick:y},null),createVNode(VSpacer,null,null),createBaseVNode("div",{class:"v-date-picker-controls__month"},[createVNode(VBtn,{"data-testid":"prev-month",disabled:u.value,density:"comfortable",icon:e.prevIcon,variant:"text","aria-label":i("$vuetify.datePicker.ariaLabel.previousMonth"),onClick:f},null),createVNode(VBtn,{"data-testid":"next-month",disabled:d.value,icon:e.nextIcon,density:"comfortable",variant:"text","aria-label":i("$vuetify.datePicker.ariaLabel.nextMonth"),onClick:m},null)])])),{}}}),makeVDatePickerHeaderProps=propsFactory({appendIcon:IconValue,color:String,header:String,transition:String,onClick:EventProp()},"VDatePickerHeader"),VDatePickerHeader=genericComponent()({name:"VDatePickerHeader",props:makeVDatePickerHeaderProps(),emits:{click:()=>!0,"click:append":()=>!0},setup(e,t){let{emit:r,slots:i}=t;const{backgroundColorClasses:a,backgroundColorStyles:c}=useBackgroundColor(()=>e.color);function u(){r("click")}function d(){r("click:append")}return useRender(()=>{const f=!!(i.default||e.header),m=!!(i.append||e.appendIcon);return createBaseVNode("div",{class:normalizeClass(["v-date-picker-header",{"v-date-picker-header--clickable":!!e.onClick},a.value]),style:normalizeStyle(c.value),onClick:u},[i.prepend&&createBaseVNode("div",{key:"prepend",class:"v-date-picker-header__prepend"},[i.prepend()]),f&&createVNode(MaybeTransition,{key:"content",name:e.transition},{default:()=>[createBaseVNode("div",{key:e.header,class:"v-date-picker-header__content"},[i.default?.()??e.header])]}),m&&createBaseVNode("div",{class:"v-date-picker-header__append"},[i.append?createVNode(VDefaultsProvider,{key:"append-defaults",disabled:!e.appendIcon,defaults:{VBtn:{icon:e.appendIcon,variant:"text"}}},{default:()=>[i.append?.()]}):createVNode(VBtn,{key:"append-btn",icon:e.appendIcon,variant:"text",onClick:d},null)])])}),{}}}),makeCalendarProps=propsFactory({allowedDates:[Array,Function],disabled:{type:Boolean,default:null},displayValue:null,modelValue:Array,month:[Number,String],max:null,min:null,showAdjacentMonths:Boolean,year:[Number,String],weekdays:{type:Array,default:()=>[0,1,2,3,4,5,6]},weeksInMonth:{type:String,default:"dynamic"},firstDayOfWeek:{type:[Number,String],default:void 0},weekdayFormat:String},"calendar");function useCalendar(e){const t=useDate(),r=useProxiedModel(e,"modelValue",[],_=>wrapInArray(_).map(S=>t.date(S))),i=computed(()=>e.displayValue?t.date(e.displayValue):r.value.length>0?t.date(r.value[0]):e.min?t.date(e.min):Array.isArray(e.allowedDates)?t.date(e.allowedDates[0]):t.date()),a=useProxiedModel(e,"year",void 0,_=>{const S=_!=null?Number(_):t.getYear(i.value);return t.startOfYear(t.setYear(t.date(),S))},_=>t.getYear(_)),c=useProxiedModel(e,"month",void 0,_=>{const S=_!=null?Number(_):t.getMonth(i.value),b=t.setYear(t.startOfMonth(t.date()),t.getYear(a.value));return t.setMonth(b,S)},_=>t.getMonth(_)),u=computed(()=>{const _=t.toJsDate(t.startOfWeek(t.date(),e.firstDayOfWeek)).getDay();return t.getWeekdays(e.firstDayOfWeek,e.weekdayFormat).filter((S,b)=>e.weekdays.includes((b+_)%7))}),d=computed(()=>{const _=t.getWeekArray(c.value,e.firstDayOfWeek),S=_.flat(),b=6*7;if(e.weeksInMonth==="static"&&S.length<b){const k=S[S.length-1];let C=[];for(let O=1;O<=b-S.length;O++)C.push(t.addDays(k,O)),O%7===0&&(_.push(C),C=[])}return _});function f(_,S){return _.filter(b=>e.weekdays.includes(t.toJsDate(b).getDay())).map((b,k)=>{const C=t.toISO(b),O=!t.isSameMonth(b,c.value),T=t.isSameDay(b,t.startOfMonth(c.value)),E=t.isSameDay(b,t.endOfMonth(c.value)),A=t.isSameDay(b,c.value),P=e.weekdays.length;return{date:b,formatted:t.format(b,"keyboardDate"),isAdjacent:O,isDisabled:w(b),isEnd:E,isHidden:O&&!e.showAdjacentMonths,isSame:A,isSelected:r.value.some(M=>t.isSameDay(b,M)),isStart:T,isToday:t.isSameDay(b,S),isWeekEnd:k%P===P-1,isWeekStart:k%P===0,isoDate:C,localized:t.format(b,"dayOfMonth"),month:t.getMonth(b),year:t.getYear(b)}})}const m=computed(()=>{const _=t.startOfWeek(i.value,e.firstDayOfWeek),S=[];for(let k=0;k<=6;k++)S.push(t.addDays(_,k));const b=t.date();return f(S,b)}),y=computed(()=>{const _=d.value.flat(),S=t.date();return f(_,S)}),v=computed(()=>d.value.map(_=>_.length?t.getWeek(_[0],e.firstDayOfWeek):null));function w(_){if(e.disabled)return!0;const S=t.date(_);return e.min&&t.isBefore(t.endOfDay(S),t.date(e.min))||e.max&&t.isAfter(S,t.date(e.max))?!0:Array.isArray(e.allowedDates)&&e.allowedDates.length>0?!e.allowedDates.some(b=>t.isSameDay(t.date(b),S)):typeof e.allowedDates=="function"?!e.allowedDates(S):!1}return{displayValue:i,daysInMonth:y,daysInWeek:m,genDays:f,model:r,weeksInMonth:d,weekdayLabels:u,weekNumbers:v}}const makeVDatePickerMonthProps=propsFactory({color:String,hideWeekdays:Boolean,multiple:[Boolean,Number,String],showWeek:Boolean,transition:{type:String,default:"picker-transition"},reverseTransition:{type:String,default:"picker-reverse-transition"},...omit(makeCalendarProps(),["displayValue"])},"VDatePickerMonth"),VDatePickerMonth=genericComponent()({name:"VDatePickerMonth",props:makeVDatePickerMonthProps(),emits:{"update:modelValue":e=>!0,"update:month":e=>!0,"update:year":e=>!0},setup(e,t){let{emit:r,slots:i}=t;const a=ref(),{t:c}=useLocale(),{daysInMonth:u,model:d,weekNumbers:f,weekdayLabels:m}=useCalendar(e),y=useDate(),v=shallowRef(),w=shallowRef(),_=shallowRef(!1),S=toRef$2(()=>_.value?e.reverseTransition:e.transition);e.multiple==="range"&&d.value.length>0&&(v.value=d.value[0],d.value.length>1&&(w.value=d.value[d.value.length-1]));const b=computed(()=>{const E=["number","string"].includes(typeof e.multiple)?Number(e.multiple):1/0;return d.value.length>=E});watch(u,(E,A)=>{A&&(_.value=y.isBefore(E[0].date,A[0].date))});function k(E){const A=y.startOfDay(E);if(d.value.length===0?v.value=void 0:d.value.length===1&&(v.value=d.value[0],w.value=void 0),!v.value)v.value=A,d.value=[v.value];else if(w.value)v.value=E,w.value=void 0,d.value=[v.value];else{if(y.isSameDay(A,v.value)){v.value=void 0,d.value=[];return}else y.isBefore(A,v.value)?(w.value=y.endOfDay(v.value),v.value=A):w.value=y.endOfDay(A);d.value=createDateRange(y,v.value,w.value)}}function C(E){const A=y.format(E.date,"fullDateWithWeekday"),P=E.isToday?"currentDate":"selectDate";return c(`$vuetify.datePicker.ariaLabel.${P}`,A)}function O(E){const A=d.value.findIndex(P=>y.isSameDay(P,E));if(A===-1)d.value=[...d.value,E];else{const P=[...d.value];P.splice(A,1),d.value=P}}function T(E){e.multiple==="range"?k(E):e.multiple?O(E):d.value=[E]}useRender(()=>createBaseVNode("div",{class:"v-date-picker-month",style:{"--v-date-picker-days-in-week":e.weekdays.length}},[e.showWeek&&createBaseVNode("div",{key:"weeks",class:"v-date-picker-month__weeks"},[!e.hideWeekdays&&createBaseVNode("div",{key:"hide-week-days",class:"v-date-picker-month__day"},[createTextVNode(" ")]),f.value.map(E=>createBaseVNode("div",{class:normalizeClass(["v-date-picker-month__day","v-date-picker-month__day--adjacent"])},[E]))]),createVNode(MaybeTransition,{name:S.value},{default:()=>[createBaseVNode("div",{ref:a,key:u.value[0].date?.toString(),class:"v-date-picker-month__days"},[!e.hideWeekdays&&m.value.map(E=>createBaseVNode("div",{class:normalizeClass(["v-date-picker-month__day","v-date-picker-month__weekday"])},[E])),u.value.map((E,A)=>{const P={props:{class:"v-date-picker-month__day-btn",color:E.isSelected||E.isToday?e.color:void 0,disabled:E.isDisabled,icon:!0,ripple:!1,text:E.localized,variant:E.isSelected?"flat":E.isToday?"outlined":"text","aria-label":C(E),"aria-current":E.isToday?"date":void 0,onClick:()=>T(E.date)},item:E,i:A};return b.value&&!E.isSelected&&(E.isDisabled=!0),createBaseVNode("div",{class:normalizeClass(["v-date-picker-month__day",{"v-date-picker-month__day--adjacent":E.isAdjacent,"v-date-picker-month__day--hide-adjacent":E.isHidden,"v-date-picker-month__day--selected":E.isSelected,"v-date-picker-month__day--week-end":E.isWeekEnd,"v-date-picker-month__day--week-start":E.isWeekStart}]),"data-v-date":E.isDisabled?void 0:E.isoDate},[(e.showAdjacentMonths||!E.isAdjacent)&&(i.day?.(P)??createVNode(VBtn,P.props,null))])})])]})]))}}),makeVDatePickerMonthsProps=propsFactory({color:String,height:[String,Number],min:null,max:null,modelValue:Number,year:Number,allowedMonths:[Array,Function]},"VDatePickerMonths"),VDatePickerMonths=genericComponent()({name:"VDatePickerMonths",props:makeVDatePickerMonthsProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{emit:r,slots:i}=t;const a=useDate(),c=useProxiedModel(e,"modelValue"),u=computed(()=>{let f=a.startOfYear(a.date());return e.year&&(f=a.setYear(f,e.year)),createRange(12).map(m=>{const y=a.format(f,"monthShort"),v=a.format(f,"month"),w=!!(!d(m)||e.min&&a.isAfter(a.startOfMonth(a.date(e.min)),f)||e.max&&a.isAfter(f,a.startOfMonth(a.date(e.max))));return f=a.getNextMonth(f),{isDisabled:w,text:y,label:v,value:m}})});watchEffect(()=>{c.value=c.value??a.getMonth(a.date())});function d(f){return Array.isArray(e.allowedMonths)&&e.allowedMonths.length?e.allowedMonths.includes(f):typeof e.allowedMonths=="function"?e.allowedMonths(f):!0}return useRender(()=>createBaseVNode("div",{class:"v-date-picker-months",style:{height:convertToUnit(e.height)}},[createBaseVNode("div",{class:"v-date-picker-months__content"},[u.value.map((f,m)=>{const y={active:c.value===m,ariaLabel:f.label,color:c.value===m?e.color:void 0,disabled:f.isDisabled,rounded:!0,text:f.text,variant:c.value===f.value?"flat":"text",onClick:()=>v(m)};function v(w){if(c.value===w){r("update:modelValue",c.value);return}c.value=w}return i.month?.({month:f,i:m,props:y})??createVNode(VBtn,mergeProps({key:"month"},y),null)})])])),{}}}),makeVDatePickerYearsProps=propsFactory({color:String,height:[String,Number],min:null,max:null,modelValue:Number,allowedYears:[Array,Function]},"VDatePickerYears"),VDatePickerYears=genericComponent()({name:"VDatePickerYears",props:makeVDatePickerYearsProps(),directives:{vIntersect:Intersect},emits:{"update:modelValue":e=>!0},setup(e,t){let{emit:r,slots:i}=t;const a=useDate(),c=useProxiedModel(e,"modelValue"),u=computed(()=>{const y=a.getYear(a.date());let v=y-100,w=y+52;e.min&&(v=a.getYear(a.date(e.min))),e.max&&(w=a.getYear(a.date(e.max)));let _=a.startOfYear(a.date());return _=a.setYear(_,v),createRange(w-v+1,v).map(S=>{const b=a.format(_,"year");return _=a.setYear(_,a.getYear(_)+1),{text:b,value:S,isDisabled:!m(S)}})});watchEffect(()=>{c.value=c.value??a.getYear(a.date())});const d=templateRef();function f(){d.el?.focus(),d.el?.scrollIntoView({block:"center"})}function m(y){return Array.isArray(e.allowedYears)&&e.allowedYears.length?e.allowedYears.includes(y):typeof e.allowedYears=="function"?e.allowedYears(y):!0}return useRender(()=>withDirectives(createBaseVNode("div",{class:"v-date-picker-years",style:{height:convertToUnit(e.height)}},[createBaseVNode("div",{class:"v-date-picker-years__content"},[u.value.map((y,v)=>{const w={ref:c.value===y.value?d:void 0,active:c.value===y.value,color:c.value===y.value?e.color:void 0,rounded:!0,text:y.text,disabled:y.isDisabled,variant:c.value===y.value?"flat":"text",onClick:()=>{if(c.value===y.value){r("update:modelValue",c.value);return}c.value=y.value}};return i.year?.({year:y,i:v,props:w})??createVNode(VBtn,mergeProps({key:"month"},w),null)})])]),[[Intersect,{handler:f},null,{once:!0}]])),{}}}),VPickerTitle=createSimpleFunctional("v-picker-title"),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:i}=provideTheme(e),{backgroundColorClasses:a,backgroundColorStyles:c}=useBackgroundColor(()=>e.color),{borderClasses:u}=useBorder(e),{dimensionStyles:d}=useDimension(e),{elevationClasses:f}=useElevation(e),{locationStyles:m}=useLocation(e),{positionClasses:y}=usePosition(e),{roundedClasses:v}=useRounded(e);return useRender(()=>createVNode(e.tag,{class:normalizeClass(["v-sheet",i.value,a.value,u.value,f.value,y.value,v.value,e.class]),style:normalizeStyle([c.value,d.value,m.value,e.style])},r)),{}}}),makeVPickerProps=propsFactory({bgColor:String,divided:Boolean,landscape:Boolean,title:String,hideHeader:Boolean,...makeVSheetProps()},"VPicker"),VPicker=genericComponent()({name:"VPicker",props:makeVPickerProps(),setup(e,t){let{slots:r}=t;const{backgroundColorClasses:i,backgroundColorStyles:a}=useBackgroundColor(()=>e.color);return useRender(()=>{const c=VSheet.filterProps(e),u=!!(e.title||r.title);return createVNode(VSheet,mergeProps(c,{color:e.bgColor,class:["v-picker",{"v-picker--divided":e.divided,"v-picker--landscape":e.landscape,"v-picker--with-actions":!!r.actions},e.class],style:e.style}),{default:()=>[!e.hideHeader&&createBaseVNode("div",{key:"header",class:normalizeClass([i.value]),style:normalizeStyle([a.value])},[u&&createVNode(VPickerTitle,{key:"picker-title"},{default:()=>[r.title?.()??e.title]}),r.header&&createBaseVNode("div",{class:"v-picker__header"},[r.header()])]),createBaseVNode("div",{class:"v-picker__body"},[r.default?.()]),r.actions&&createVNode(VDefaultsProvider,{defaults:{VBtn:{slim:!0,variant:"text"}}},{default:()=>[createBaseVNode("div",{class:"v-picker__actions"},[r.actions()])]})]})}),{}}}),makeVDatePickerProps=propsFactory({header:{type:String,default:"$vuetify.datePicker.header"},headerColor:String,...makeVDatePickerControlsProps(),...makeVDatePickerMonthProps({weeksInMonth:"static"}),...omit(makeVDatePickerMonthsProps(),["modelValue"]),...omit(makeVDatePickerYearsProps(),["modelValue"]),...makeVPickerProps({title:"$vuetify.datePicker.title"}),modelValue:null},"VDatePicker"),VDatePicker=genericComponent()({name:"VDatePicker",props:makeVDatePickerProps(),emits:{"update:modelValue":e=>!0,"update:month":e=>!0,"update:year":e=>!0,"update:viewMode":e=>!0},setup(e,t){let{emit:r,slots:i}=t;const a=useDate(),{t:c}=useLocale(),{rtlClasses:u}=useRtl(),d=useProxiedModel(e,"modelValue",void 0,oe=>wrapInArray(oe).map(Se=>a.date(Se)),oe=>e.multiple?oe:oe[0]),f=useProxiedModel(e,"viewMode"),m=computed(()=>{const oe=a.date(e.min);return e.min&&a.isValid(oe)?oe:null}),y=computed(()=>{const oe=a.date(e.max);return e.max&&a.isValid(oe)?oe:null}),v=computed(()=>{const oe=a.date();let Se=oe;return d.value?.[0]?Se=a.date(d.value[0]):m.value&&a.isBefore(oe,m.value)?Se=m.value:y.value&&a.isAfter(oe,y.value)&&(Se=y.value),Se&&a.isValid(Se)?Se:oe}),w=toRef$2(()=>e.headerColor??e.color),_=useProxiedModel(e,"month"),S=computed({get:()=>Number(_.value??a.getMonth(a.startOfMonth(v.value))),set:oe=>_.value=oe}),b=useProxiedModel(e,"year"),k=computed({get:()=>Number(b.value??a.getYear(a.startOfYear(a.setMonth(v.value,S.value)))),set:oe=>b.value=oe}),C=shallowRef(!1),O=computed(()=>e.multiple&&d.value.length>1?c("$vuetify.datePicker.itemsSelected",d.value.length):d.value[0]&&a.isValid(d.value[0])?a.format(a.date(d.value[0]),"normalDateWithWeekday"):c(e.header)),T=computed(()=>{let oe=a.date();return oe=a.setDate(oe,1),oe=a.setMonth(oe,S.value),oe=a.setYear(oe,k.value),a.format(oe,"monthAndYear")}),E=toRef$2(()=>`date-picker-header${C.value?"-reverse":""}-transition`),A=computed(()=>{if(e.disabled)return!0;const oe=[];if(f.value!=="month")oe.push("prev","next");else{let Se=a.date();if(Se=a.startOfMonth(Se),Se=a.setMonth(Se,S.value),Se=a.setYear(Se,k.value),m.value){const te=a.addDays(a.startOfMonth(Se),-1);a.isAfter(m.value,te)&&oe.push("prev")}if(y.value){const te=a.addDays(a.endOfMonth(Se),1);a.isAfter(te,y.value)&&oe.push("next")}}return oe}),P=computed(()=>e.allowedYears||F),M=computed(()=>e.allowedMonths||I);function D(oe,Se){const te=e.allowedDates;if(typeof te!="function")return!0;const se=a.getDiff(Se,oe,"days");for(let ne=0;ne<se;ne++)if(te(a.addDays(oe,ne)))return!0;return!1}function F(oe){if(typeof e.allowedDates=="function"){const Se=a.parseISO(`${oe}-01-01`);return D(Se,a.endOfYear(Se))}if(Array.isArray(e.allowedDates)&&e.allowedDates.length){for(const Se of e.allowedDates)if(a.getYear(a.date(Se))===oe)return!0;return!1}return!0}function I(oe){if(typeof e.allowedDates=="function"){const Se=String(oe+1).padStart(2,"0"),te=a.parseISO(`${k.value}-${Se}-01`);return D(te,a.endOfMonth(te))}if(Array.isArray(e.allowedDates)&&e.allowedDates.length){for(const Se of e.allowedDates)if(a.getYear(a.date(Se))===k.value&&a.getMonth(a.date(Se))===oe)return!0;return!1}return!0}function U(){S.value<11?S.value++:(k.value++,S.value=0,ae()),ee()}function $(){S.value>0?S.value--:(k.value--,S.value=11,ae()),ee()}function z(){f.value="month"}function q(){f.value=f.value==="months"?"month":"months"}function G(){f.value=f.value==="year"?"month":"year"}function ee(){f.value==="months"&&q()}function ae(){f.value==="year"&&G()}return watch(d,(oe,Se)=>{const te=wrapInArray(Se),se=wrapInArray(oe);if(!se.length)return;const ne=a.date(te[te.length-1]),le=a.date(se[se.length-1]),Oe=a.getMonth(le),ke=a.getYear(le);Oe!==S.value&&(S.value=Oe,ee()),ke!==k.value&&(k.value=ke,ae()),C.value=a.isBefore(ne,le)}),useRender(()=>{const oe=VPicker.filterProps(e),Se=VDatePickerControls.filterProps(e),te=VDatePickerHeader.filterProps(e),se=VDatePickerMonth.filterProps(e),ne=omit(VDatePickerMonths.filterProps(e),["modelValue"]),le=omit(VDatePickerYears.filterProps(e),["modelValue"]),Oe={color:w.value,header:O.value,transition:E.value};return createVNode(VPicker,mergeProps(oe,{color:w.value,class:["v-date-picker",`v-date-picker--${f.value}`,{"v-date-picker--show-week":e.showWeek},u.value,e.class],style:e.style}),{title:()=>i.title?.()??createBaseVNode("div",{class:"v-date-picker__title"},[c(e.title)]),header:()=>i.header?createVNode(VDefaultsProvider,{defaults:{VDatePickerHeader:{...Oe}}},{default:()=>[i.header?.(Oe)]}):createVNode(VDatePickerHeader,mergeProps({key:"header"},te,Oe,{onClick:f.value!=="month"?z:void 0}),{prepend:i.prepend,append:i.append}),default:()=>createBaseVNode(Fragment,null,[createVNode(VDatePickerControls,mergeProps(Se,{disabled:A.value,text:T.value,"onClick:next":U,"onClick:prev":$,"onClick:month":q,"onClick:year":G}),null),createVNode(VFadeTransition,{hideOnLeave:!0},{default:()=>[f.value==="months"?createVNode(VDatePickerMonths,mergeProps({key:"date-picker-months"},ne,{modelValue:S.value,"onUpdate:modelValue":[ke=>S.value=ke,ee],min:m.value,max:y.value,year:k.value,allowedMonths:M.value}),{month:i.month}):f.value==="year"?createVNode(VDatePickerYears,mergeProps({key:"date-picker-years"},le,{modelValue:k.value,"onUpdate:modelValue":[ke=>k.value=ke,ae],min:m.value,max:y.value,allowedYears:P.value}),{year:i.year}):createVNode(VDatePickerMonth,mergeProps({key:"date-picker-month"},se,{modelValue:d.value,"onUpdate:modelValue":ke=>d.value=ke,month:S.value,"onUpdate:month":[ke=>S.value=ke,ee],year:k.value,"onUpdate:year":[ke=>k.value=ke,ae],min:m.value,max:y.value}),{day:i.day})]})]),actions:i.actions})}),{}}});class DateFormatSpec{constructor(t,r){this.order=t,this.separator=r}get format(){return this.order.split("").map(t=>`${t}${t}`).join(this.separator).replace("yy","yyyy")}static canBeParsed(t){if(typeof t!="string")return!1;const r=t.toLowerCase();return["y","m","d"].every(i=>r.includes(i))&&["/","-","."].some(i=>t.includes(i))}static parse(t){if(!DateFormatSpec.canBeParsed(t))throw new Error(`[${t}] cannot be parsed into date format specification`);const r=t.toLowerCase().split("").filter((a,c,u)=>"dmy".includes(a)&&u.indexOf(a)===c).join(""),i=["/","-","."].find(a=>t.includes(a));return new DateFormatSpec(r,i)}}const makeDateFormatProps=propsFactory({inputFormat:{type:String,validator:e=>!e||DateFormatSpec.canBeParsed(e)}},"date-format");function useDateFormat(e,t){const r=useDate();function i(){const f=t.value??"en-US",m=Intl.DateTimeFormat(f,{year:"numeric",month:"2-digit",day:"2-digit"}).format(r.toJsDate(r.parseISO("1999-12-07"))).replace(/(07)|(٠٧)|(٢٩)|(۱۶)|()/,"dd").replace(/(12)|(١٢)|(٠٨)|(۰۹)|(১২)/,"mm").replace(/(1999)|(2542)|(١٩٩٩)|(١٤٢٠)|(۱۳۷۸)|(১৯৯৯)/,"yyyy").replace(/[^ymd\-/.]/g,"").replace(/\.$/,"");return DateFormatSpec.canBeParsed(m)?m:"mm/dd/yyyy"}const a=toRef$2(()=>DateFormatSpec.canBeParsed(e.inputFormat)?DateFormatSpec.parse(e.inputFormat):DateFormatSpec.parse(i()));function c(f){function m(O){const T=O.trim().split(a.value.separator);return{y:Number(T[a.value.order.indexOf("y")]),m:Number(T[a.value.order.indexOf("m")]),d:Number(T[a.value.order.indexOf("d")])}}function y(O){const{y:T,m:E,d:A}=O;return!T||!E||!A||E<1||E>12||A<1||A>31?null:{year:v(T),month:E,day:A}}function v(O){const T=r.getYear(r.date());if(O>100||T%100>=50)return O;const E=~~(T/100)*100;return O<50?E+O:E-100+O}const w=m(f),_=y(w);if(!_)return null;const{year:S,month:b,day:k}=_,C=O=>String(O).padStart(2,"0");return r.parseISO(`${S}-${C(b)}-${C(k)}`)}function u(f){return!!c(f)}function d(f){const m=r.toISO(f).split("T")[0].split("-");return a.value.order.split("").map(y=>m["ymd".indexOf(y)]).join(a.value.separator)}return{isValid:u,parseDate:c,formatDate:d,parserFormat:toRef$2(()=>a.value.format)}}const makeVDateInputProps=propsFactory({displayFormat:{type:[Function,String],default:void 0},location:{type:String,default:"bottom start"},menu:Boolean,updateOn:{type:Array,default:()=>["blur","enter"]},...makeDateFormatProps(),...makeDisplayProps({mobile:null}),...makeFocusProps(),...makeVConfirmEditProps({hideActions:!0}),...makeVTextFieldProps({prependIcon:"$calendar"}),...omit(makeVDatePickerProps({hideHeader:!0,showAdjacentMonths:!0}),["active","location","rounded"])},"VDateInput"),VDateInput=genericComponent()({name:"VDateInput",props:makeVDateInputProps(),emits:{save:e=>!0,cancel:()=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0,"update:menu":e=>!0},setup(e,t){let{emit:r,slots:i}=t;const{t:a,current:c}=useLocale(),u=useDate(),{isValid:d,parseDate:f,formatDate:m,parserFormat:y}=useDateFormat(e,c),{mobile:v}=useDisplay(e),w=()=>e.multiple?[]:null,_=useProxiedModel(e,"modelValue",w(),G=>Array.isArray(G)?G.map(ee=>u.toJsDate(ee)):G&&u.toJsDate(G),G=>Array.isArray(G)?G.map(ee=>u.date(ee)):G&&u.date(G)),S=useProxiedModel(e,"menu"),b=shallowRef(!1),k=shallowRef(e.focused),C=ref(),O=ref(["save"]);function T(G){return typeof e.displayFormat=="function"?e.displayFormat(G):e.displayFormat?u.format(G,e.displayFormat??"keyboardDate"):m(G)}const E=computed(()=>{const G=wrapInArray(_.value);if(!G.length)return null;if(e.multiple===!0)return a("$vuetify.datePicker.itemsSelected",G.length);if(e.multiple==="range"){const ee=G[0],ae=G[G.length-1];return!u.isValid(ee)||!u.isValid(ae)?"":`${T(u.date(ee))} - ${T(u.date(ae))}`}return u.isValid(_.value)?T(u.date(_.value)):""}),A=computed(()=>{if(v.value)return b.value?"text":"none"}),P=computed(()=>!e.disabled&&!e.readonly),M=computed(()=>e.updateOn.length?!(v.value&&b.value)&&e.readonly:!0);watch(S,G=>{G||(b.value=!1,O.value=["save"])});function D(G){G.key==="Enter"&&((!S.value||!k.value)&&(S.value=!0),e.updateOn.includes("enter")&&q(G.target))}function F(G){G.preventDefault(),G.stopPropagation(),S.value&&v.value?b.value=!0:S.value=!0}function I(){r("cancel"),S.value=!1,b.value=!1}function U(G){r("save",G),S.value=!1}function $(G){G==null&&(_.value=w())}function z(G){e.updateOn.includes("blur")&&q(G.target),v.value&&b.value&&!k.value&&(S.value=!1,b.value=!1)}function q(G){let{value:ee}=G;if(!ee.trim())_.value=w();else if(!e.multiple)d(ee)&&(_.value=f(ee));else{const ae=ee.trim().split(/\D+-\D+|[^\d\-/.]+/);if(ae.every(d))if(e.multiple==="range"){const[oe,Se]=ae.map(f).toSorted((te,se)=>u.isAfter(te,se)?1:-1);_.value=createDateRange(u,oe,Se)}else _.value=ae.map(f)}}return useRender(()=>{const G=VConfirmEdit.filterProps(e),ee=VDatePicker.filterProps(omit(e,["active","location","rounded"])),ae=pick$1(i,["title","header","day","month","year"]),oe=VTextField.filterProps(omit(e,["placeholder"]));return createVNode(VTextField,mergeProps({ref:C},oe,{class:e.class,style:e.style,modelValue:E.value,inputmode:A.value,placeholder:e.placeholder??y.value,readonly:M.value,onKeydown:P.value?D:void 0,focused:S.value||k.value,onBlur:z,validationValue:_.value,"onClick:control":P.value?F:void 0,"onClick:prepend":P.value?F:void 0,"onUpdate:modelValue":$,"onUpdate:focused":Se=>k.value=Se}),{...i,default:()=>createBaseVNode(Fragment,null,[createVNode(VMenu,{modelValue:S.value,"onUpdate:modelValue":Se=>S.value=Se,activator:"parent",minWidth:"0",eager:k.value,location:e.location,closeOnContentClick:!1,openOnClick:!1},{default:()=>[createVNode(VConfirmEdit,mergeProps(G,{modelValue:_.value,"onUpdate:modelValue":Se=>_.value=Se,disabled:O.value,onSave:U,onCancel:I}),{default:Se=>{let{actions:te,model:se,save:ne,cancel:le,isPristine:Oe}=Se;function ke(ye){e.hideActions?(_.value=ye,e.multiple||(S.value=!1)):se.value=ye,r("save",ye),O.value=[]}return createVNode(VDatePicker,mergeProps(ee,{modelValue:e.hideActions?_.value:se.value,"onUpdate:modelValue":ye=>ke(ye),onMousedown:ye=>ye.preventDefault()}),{...ae,actions:e.hideActions?void 0:()=>i.actions?.({save:ne,cancel:le,isPristine:Oe})??te()})}})]}),i.default?.()])})}),forwardRefs({},C)}}),_STORE_ID="meal_plan_store",useMealPlanStore=defineStore(_STORE_ID,()=>{let e=ref(new Map),t=ref([new Date(0),new Date(0)]);const r=ref(!1);ref({});const i=ref(new Date),a=ref(new Date),c=computed(()=>{let _=[];return e.value.forEach((S,b)=>{_.push(S)}),_});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 u(){d(i.value,a.value)}function d(_,S){return t.value[0]!==_||t.value[1]!==S?(i.value=_,a.value=S,t.value=[_,S],r.value=!0,e.value=new Map,f(_,S)):new Promise(()=>{})}function f(_,S,b=1){return new ApiApi().apiMealPlanList({fromDate:DateTime.fromJSDate(_).toISODate(),toDate:DateTime.fromJSDate(S).toISODate(),pageSize:100,page:b}).then(C=>{if(C.results.forEach(O=>{e.value.set(O.id,O)}),C.next)return f(_,S,b+1);r.value=!1,t.value=[new Date(0),new Date(0)]}).catch(C=>{useMessageStore().addError(ErrorMessageType.FETCH_ERROR,C)})}function m(_){return _.id==null?y(_):v(_)}function y(_){const S=new ApiApi;return r.value=!0,S.apiMealPlanCreate({mealPlan:_}).then(b=>(useMessageStore().addPreparedMessage(PreparedMessage.CREATE_SUCCESS),e.value.set(b.id,b),b)).catch(b=>{useMessageStore().addError(ErrorMessageType.CREATE_ERROR,b)}).finally(()=>{r.value=!1})}function v(_){return new ApiApi().apiMealPlanUpdate({id:_.id,mealPlan:_}).then(b=>{useMessageStore().addPreparedMessage(PreparedMessage.UPDATE_SUCCESS),e.value.set(b.id,b)}).catch(b=>{useMessageStore().addError(ErrorMessageType.UPDATE_ERROR,b)})}function w(_){const S=new ApiApi;return r.value=!0,S.apiMealPlanDestroy({id:_.id}).then(b=>{useMessageStore().addPreparedMessage(PreparedMessage.DELETE_SUCCESS),e.value.delete(_.id)}).catch(b=>{useMessageStore().addError(ErrorMessageType.DELETE_ERROR,b)}).finally(()=>{r.value=!1})}return{plans:e,currently_updating:t,planList:c,loading:r,refreshFromAPI:d,createObject:y,updateObject:v,deleteObject:w,refreshLastUpdatedPeriod:u,createOrUpdate:m}}),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:i}=t;const a=createForm(e),c=ref();function u(f){f.preventDefault(),a.reset()}function d(f){const m=f,y=a.validate();m.then=y.then.bind(y),m.catch=y.catch.bind(y),m.finally=y.finally.bind(y),i("submit",m),m.defaultPrevented||y.then(v=>{let{valid:w}=v;w&&c.value?.submit()}),m.preventDefault()}return useRender(()=>createBaseVNode("form",{ref:c,class:normalizeClass(["v-form",e.class]),style:normalizeStyle(e.style),novalidate:!0,onReset:u,onSubmit:d},[r.default?.(a)])),forwardRefs(a,c)}}),HOLD_REPEAT=50,HOLD_DELAY=500;function useHold(e){let{toggleUpDown:t}=e,r=-1,i=-1;onScopeDispose(c);function a(d){c(),u(d),window.addEventListener("pointerup",c),document.addEventListener("blur",c),r=window.setTimeout(()=>{i=window.setInterval(()=>u(d),HOLD_REPEAT)},HOLD_DELAY)}function c(){window.clearTimeout(r),window.clearInterval(i),window.removeEventListener("pointerup",c),document.removeEventListener("blur",c)}function u(d){t(d==="up")}return{holdStart:a,holdStop:c}}const makeVNumberInputProps=propsFactory({controlVariant:{type:String,default:"default"},inset:Boolean,hideInput:Boolean,modelValue:{type:Number,default:null},min:{type:Number,default:Number.MIN_SAFE_INTEGER},max:{type:Number,default:Number.MAX_SAFE_INTEGER},step:{type:Number,default:1},precision:{type:Number,default:0},minFractionDigits:{type:Number,default:null},decimalSeparator:{type:String,validator:e=>!e||e.length===1},...omit(makeVTextFieldProps(),["modelValue","validationValue"])},"VNumberInput"),VNumberInput=genericComponent()({name:"VNumberInput",props:{...makeVNumberInputProps()},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;const i=ref(),{holdStart:a,holdStop:c}=useHold({toggleUpDown:F}),u=useForm(e),d=computed(()=>u.isDisabled.value||u.isReadonly.value),f=shallowRef(e.focused),{decimalSeparator:m}=useLocale(),y=computed(()=>e.decimalSeparator?.[0]||m.value);function v(se){let ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.precision,le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const Oe=ne==null?String(se):se.toFixed(ne);if(f.value&&le)return Number(Oe).toString().replace(".",y.value);if(e.minFractionDigits===null||ne!==null&&ne<e.minFractionDigits)return Oe.replace(".",y.value);let[ke,ye]=Oe.split(".");return ye=(ye??"").padEnd(e.minFractionDigits,"0").replace(new RegExp(`(?<=\\d{${e.minFractionDigits}})0+$`,"g"),""),[ke,ye].filter(Boolean).join(y.value)}const w=useProxiedModel(e,"modelValue",null,se=>se??null,se=>se==null?se??null:clamp(Number(se),e.min,e.max)),_=shallowRef(null);watchEffect(()=>{f.value&&!d.value||(w.value==null?_.value=null:isNaN(w.value)||(_.value=v(w.value)))});const S=computed({get:()=>_.value,set(se){if(se===null||se===""){w.value=null,_.value=null;return}const ne=Number(se.replace(y.value,"."));!isNaN(ne)&&ne<=e.max&&ne>=e.min&&(w.value=ne,_.value=se)}}),b=computed(()=>d.value?!1:(w.value??0)+e.step<=e.max),k=computed(()=>d.value?!1:(w.value??0)-e.step>=e.min),C=computed(()=>e.hideInput?"stacked":e.controlVariant),O=toRef$2(()=>C.value==="split"?"$plus":"$collapse"),T=toRef$2(()=>C.value==="split"?"$minus":"$expand"),E=toRef$2(()=>C.value==="split"?"default":"small"),A=toRef$2(()=>C.value==="stacked"?"auto":"100%"),P={props:{onClick:$,onPointerup:z,onPointerdown:q,onPointercancel:z}},M={props:{onClick:$,onPointerup:z,onPointerdown:G,onPointercancel:z}};watch(()=>e.precision,()=>ae()),watch(()=>e.minFractionDigits,()=>ae()),onMounted(()=>{ee()});function D(se){if(se==null)return 0;const ne=se.toString(),le=ne.indexOf(".");return~le?ne.length-le:0}function F(){let se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;if(d.value)return;if(w.value==null){S.value=v(clamp(0,e.min,e.max));return}let ne=Math.max(D(w.value),D(e.step));e.precision!=null&&(ne=Math.max(ne,e.precision)),se?b.value&&(S.value=v(w.value+e.step,ne)):k.value&&(S.value=v(w.value-e.step,ne))}function I(se){if(!se.data)return;const ne=se.target,{value:le,selectionStart:Oe,selectionEnd:ke}=ne??{},ye=le?le.slice(0,Oe)+se.data+le.slice(ke):se.data,re=extractNumber(ye,e.precision,y.value);if(new RegExp(`^-?\\d*${escapeForRegex(y.value)}?\\d*$`).test(ye)||(se.preventDefault(),ne.value=re),e.precision!=null){if(ye.split(y.value)[1]?.length>e.precision){se.preventDefault(),ne.value=re;const ue=(Oe??0)+se.data.length;ne.setSelectionRange(ue,ue)}e.precision===0&&ye.includes(y.value)&&(se.preventDefault(),ne.value=re)}}async function U(se){["Enter","ArrowLeft","ArrowRight","Backspace","Delete","Tab"].includes(se.key)||se.ctrlKey||["ArrowDown","ArrowUp"].includes(se.key)&&(se.preventDefault(),se.stopPropagation(),ee(),await nextTick(),se.key==="ArrowDown"?F(!1):F())}function $(se){se.stopPropagation()}function z(se){se.currentTarget?.releasePointerCapture(se.pointerId),se.preventDefault(),c()}function q(se){se.currentTarget?.setPointerCapture(se.pointerId),se.preventDefault(),se.stopPropagation(),a("up")}function G(se){se.currentTarget?.setPointerCapture(se.pointerId),se.preventDefault(),se.stopPropagation(),a("down")}function ee(){if(d.value||!i.value)return;const se=i.value.value,ne=Number(se.replace(y.value,"."));se&&!isNaN(ne)?S.value=v(clamp(ne,e.min,e.max)):S.value=null}function ae(){d.value||(S.value=w.value!==null&&!isNaN(w.value)?v(w.value,e.precision,!1):null)}function oe(){if(!d.value){if(w.value===null||isNaN(w.value)){S.value=null;return}S.value=w.value.toString().replace(".",y.value)}}function Se(){oe()}function te(){ee()}return useRender(()=>{const{modelValue:se,...ne}=VTextField.filterProps(e);function le(){return r.increment?createVNode(VDefaultsProvider,{key:"increment-defaults",defaults:{VBtn:{disabled:!b.value,height:A.value,size:E.value,icon:O.value,variant:"text"}}},{default:()=>[r.increment(P)]}):createVNode(VBtn,{"aria-hidden":"true","data-testid":"increment",disabled:!b.value,height:A.value,icon:O.value,key:"increment-btn",onClick:$,onPointerdown:q,onPointerup:z,onPointercancel:z,size:E.value,variant:"text",tabindex:"-1"},null)}function Oe(){return r.decrement?createVNode(VDefaultsProvider,{key:"decrement-defaults",defaults:{VBtn:{disabled:!k.value,height:A.value,size:E.value,icon:T.value,variant:"text"}}},{default:()=>[r.decrement(M)]}):createVNode(VBtn,{"aria-hidden":"true","data-testid":"decrement",disabled:!k.value,height:A.value,icon:T.value,key:"decrement-btn",onClick:$,onPointerdown:G,onPointerup:z,onPointercancel:z,size:E.value,variant:"text",tabindex:"-1"},null)}function ke(){return createBaseVNode("div",{class:"v-number-input__control"},[Oe(),createVNode(VDivider,{vertical:C.value!=="stacked"},null),le()])}function ye(){return!e.hideInput&&!e.inset?createVNode(VDivider,{vertical:!0},null):void 0}const re=C.value==="split"?createBaseVNode("div",{class:"v-number-input__control"},[createVNode(VDivider,{vertical:!0},null),le()]):e.reverse||C.value==="hidden"?void 0:createBaseVNode(Fragment,null,[ye(),ke()]),ue=r["append-inner"]||re,ie=C.value==="split"?createBaseVNode("div",{class:"v-number-input__control"},[Oe(),createVNode(VDivider,{vertical:!0},null)]):e.reverse&&C.value!=="hidden"?createBaseVNode(Fragment,null,[ke(),ye()]):void 0,pe=r["prepend-inner"]||ie;return createVNode(VTextField,mergeProps({ref:i},ne,{modelValue:S.value,"onUpdate:modelValue":Te=>S.value=Te,focused:f.value,"onUpdate:focused":Te=>f.value=Te,validationValue:w.value,onBeforeinput:I,onFocus:Se,onBlur:te,onKeydown:U,class:["v-number-input",{"v-number-input--default":C.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":C.value==="split","v-number-input--stacked":C.value==="stacked"},e.class],style:e.style,inputmode:"decimal"}),{...r,"append-inner":ue?function(){for(var Te=arguments.length,Pe=new Array(Te),B=0;B<Te;B++)Pe[B]=arguments[B];return createBaseVNode(Fragment,null,[r["append-inner"]?.(...Pe),re])}:void 0,"prepend-inner":pe?function(){for(var Te=arguments.length,Pe=new Array(Te),B=0;B<Te;B++)Pe[B]=arguments[B];return createBaseVNode(Fragment,null,[ie,r["prepend-inner"]?.(...Pe)])}:void 0})}),forwardRefs({},i)}}),_sfc_main$9=defineComponent$1({__name:"AutoPlanDialog",props:mergeModels({activator:{type:String,default:"parent"}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:mergeModels(["change"],["update:modelValue"]),setup(e,{emit:t}){const r=e,{t:i}=useI18n$1(),a=useModel(e,"modelValue"),c=ref(!1),u=ref([]),d=ref({});onMounted(()=>{f()});function f(){d.value={servings:1,startDate:DateTime.now().toJSDate(),endDate:DateTime.now().plus({day:7}).toJSDate(),shared:useUserPreferenceStore().userSettings.planShare,addshopping:useUserPreferenceStore().userSettings.mealplanAutoaddShopping},u.value=[];let y=DateTime.fromJSDate(d.value.startDate).plus({day:1}).toJSDate();for(;y<=d.value.endDate;)u.value.push(y),y=DateTime.fromJSDate(y).plus({day:1}).toJSDate()}function m(){let y=new ApiApi;c.value=!0,d.value.startDate=u.value[0],d.value.endDate=u.value[u.value.length-1],console.log("requesting auto plan from ",d.value.startDate," to ",d.value.endDate),y.apiAutoPlanCreate({autoMealPlan:d.value}).then(v=>{a.value=!1,useMealPlanStore().refreshLastUpdatedPeriod(),f(),useMessageStore().addPreparedMessage(PreparedMessage.CREATE_SUCCESS)}).catch(v=>{useMessageStore().addError(ErrorMessageType.CREATE_ERROR,v)}).finally(()=>{c.value=!1})}return(y,v)=>(openBlock(),createBlock(VDialog,{"max-width":"600px",activator:r.activator,modelValue:a.value,"onUpdate:modelValue":v[9]||(v[9]=w=>a.value=w)},{default:withCtx(()=>[createVNode(VCard,{loading:c.value},{default:withCtx(()=>[createVNode(_sfc_main$f,{modelValue:a.value,"onUpdate:modelValue":v[0]||(v[0]=w=>a.value=w),title:y.$t("Auto_Planner"),icon:"fa-solid fa-calendar-plus"},null,8,["modelValue","title"]),createVNode(VCardText,null,{default:withCtx(()=>[createVNode(VForm,null,{default:withCtx(()=>[createVNode(_sfc_main$a,{model:"MealType",modelValue:d.value.mealTypeId,"onUpdate:modelValue":v[1]||(v[1]=w=>d.value.mealTypeId=w),object:!1},null,8,["modelValue"]),createVNode(_sfc_main$a,{model:"Keyword",modelValue:d.value.keywordIds,"onUpdate:modelValue":v[2]||(v[2]=w=>d.value.keywordIds=w),mode:"tags",object:!1},null,8,["modelValue"]),createVNode(VNumberInput,{label:y.$t("Servings"),modelValue:d.value.servings,"onUpdate:modelValue":v[3]||(v[3]=w=>d.value.servings=w)},null,8,["label","modelValue"]),createVNode(unref(VDateInput),{label:y.$t("Date"),multiple:"range",modelValue:u.value,"onUpdate:modelValue":v[4]||(v[4]=w=>u.value=w),"first-day-of-week":unref(useUserPreferenceStore)().deviceSettings.mealplan_startingDayOfWeek,"show-week":unref(useUserPreferenceStore)().deviceSettings.mealplan_displayWeekNumbers,"prepend-icon":"","prepend-inner-icon":"$calendar"},null,8,["label","modelValue","first-day-of-week","show-week"]),createVNode(_sfc_main$a,{model:"User",modelValue:d.value.shared,"onUpdate:modelValue":v[5]||(v[5]=w=>d.value.shared=w),mode:"tags"},null,8,["modelValue"]),createVNode(VCheckbox,{modelValue:d.value.addshopping,"onUpdate:modelValue":v[6]||(v[6]=w=>d.value.addshopping=w),label:y.$t("AddToShopping"),"hide-details":""},null,8,["modelValue","label"])]),_:1})]),_:1}),createVNode(VCardActions,null,{default:withCtx(()=>[createVNode(VBtn,{onClick:v[7]||(v[7]=w=>a.value=!1)},{default:withCtx(()=>[createTextVNode(toDisplayString$1(y.$t("Cancel")),1)]),_:1}),createVNode(VBtn,{color:"create","prepend-icon":"fa-solid fa-person-running",onClick:v[8]||(v[8]=w=>m()),loading:c.value},{default:withCtx(()=>[createTextVNode(toDisplayString$1(y.$t("Create")),1)]),_:1},8,["loading"])]),_:1})]),_:1},8,["loading"])]),_:1},8,["activator","modelValue"]))}}),_sfc_main$8=defineComponent$1({__name:"NavigationDrawerContextMenu",setup(e){const t=useRoute$1();return(r,i)=>unref(t).name=="MealPlanPage"?(openBlock(),createElementBlock(Fragment,{key:0},[createVNode(VDivider),createVNode(VListItem,{"prepend-icon":"fa-solid fa-calendar-plus",link:""},{default:withCtx(()=>[createTextVNode(toDisplayString$1(r.$t("Auto_Planner"))+" ",1),createVNode(_sfc_main$9)]),_:1}),createVNode(VListSubheader,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(r.$t("Settings")),1)]),_:1}),createVNode(VListItem,null,{default:withCtx(()=>[createVNode(_sfc_main$b)]),_:1})],64)):createCommentVNode("",!0)}});function useDjangoUrls(){const e=localStorage.getItem("BASE_PATH");function t(r,i=!0){return r.startsWith("/")&&(r=r.substring(1)),!r.endsWith("/")&&i&&(r=r+"/"),`${e}/${r}`}return{basePath:e,getDjangoUrl:t}}function isEntryVisible(e,t){let r=!0;return isDelayed(e)&&!t.shopping_show_delayed_entries&&(r=!1),e.checked&&!t.shopping_show_checked_entries&&(r=!1),r}function isShoppingListFoodVisible(e,t){let r=!1;return e.entries.forEach(i=>{r=r||isEntryVisible(i,t)}),r}function isDelayed(e){return e.delayUntil!=null&&e.delayUntil>new Date}function isShoppingListFoodDelayed(e){let t=!1;return e.entries.forEach(r=>{t=t||isDelayed(r)}),t}function isShoppingCategoryVisible(e){let t=e.stats.countUnchecked;return useUserPreferenceStore().deviceSettings.shopping_show_checked_entries&&(t+=e.stats.countChecked),useUserPreferenceStore().deviceSettings.shopping_show_delayed_entries&&(t+=e.stats.countUncheckedDelayed),t>0}function isSpaceAboveLimit(e){return isSpaceAboveUserLimit(e)||isSpaceAboveRecipeLimit(e)||isSpaceAboveStorageLimit(e)}function isSpaceAboveUserLimit(e){return e.userCount>e.maxUsers&&e.maxUsers>0}function isSpaceAboveRecipeLimit(e){return e.recipeCount>e.maxRecipes&&e.maxRecipes>0}function isSpaceAtRecipeLimit(e){return e.recipeCount>=e.maxRecipes&&e.maxRecipes>0}function isSpaceAboveStorageLimit(e){return e.fileSizeMb>e.maxFileStorageMb&&e.maxFileStorageMb>0}const VAlertTitle=createSimpleFunctional("v-alert-title"),makeIconSizeProps=propsFactory({iconSize:[Number,String],iconSizes:{type:Array,default:()=>[["x-small",10],["small",16],["default",24],["large",28],["x-large",32]]}},"iconSize");function useIconSizes(e,t){return{iconSize:computed(()=>{const i=new Map(e.iconSizes),a=e.iconSize??t()??"default";return i.has(a)?i.get(a):a})}}const 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(),...makeIconSizeProps(),...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:i}=t;const a=useProxiedModel(e,"modelValue"),c=toRef$2(()=>{if(e.icon!==!1)return e.type?e.icon??`$${e.type}`:e.icon}),{iconSize:u}=useIconSizes(e,()=>e.prominent?44:void 0),{themeClasses:d}=provideTheme(e),{colorClasses:f,colorStyles:m,variantClasses:y}=useVariant(()=>({color:e.color??e.type,variant:e.variant})),{densityClasses:v}=useDensity(e),{dimensionStyles:w}=useDimension(e),{elevationClasses:_}=useElevation(e),{locationStyles:S}=useLocation(e),{positionClasses:b}=usePosition(e),{roundedClasses:k}=useRounded(e),{textColorClasses:C,textColorStyles:O}=useTextColor(()=>e.borderColor),{t:T}=useLocale(),E=toRef$2(()=>({"aria-label":T(e.closeLabel),onClick(A){a.value=!1,r("click:close",A)}}));return()=>{const A=!!(i.prepend||c.value),P=!!(i.title||e.title),M=!!(i.close||e.closable),D={density:e.density,icon:c.value,size:e.iconSize||e.prominent?u.value:void 0};return a.value&&createVNode(e.tag,{class:normalizeClass(["v-alert",e.border&&{"v-alert--border":!!e.border,[`v-alert--border-${e.border===!0?"start":e.border}`]:!0},{"v-alert--prominent":e.prominent},d.value,f.value,v.value,_.value,b.value,k.value,y.value,e.class]),style:normalizeStyle([m.value,w.value,S.value,e.style]),role:"alert"},{default:()=>[genOverlays(!1,"v-alert"),e.border&&createBaseVNode("div",{key:"border",class:normalizeClass(["v-alert__border",C.value]),style:normalizeStyle(O.value)},null),A&&createBaseVNode("div",{key:"prepend",class:"v-alert__prepend"},[i.prepend?createVNode(VDefaultsProvider,{key:"prepend-defaults",disabled:!c.value,defaults:{VIcon:{...D}}},i.prepend):createVNode(VIcon,mergeProps({key:"prepend-icon"},D),null)]),createBaseVNode("div",{class:"v-alert__content"},[P&&createVNode(VAlertTitle,{key:"title"},{default:()=>[i.title?.()??e.title]}),i.text?.()??e.text,i.default?.()]),i.append&&createBaseVNode("div",{key:"append",class:"v-alert__append"},[i.append()]),M&&createBaseVNode("div",{key:"close",class:"v-alert__close"},[i.close?createVNode(VDefaultsProvider,{key:"close-defaults",defaults:{VBtn:{icon:e.closeIcon,size:"x-small",variant:"text"}}},{default:()=>[i.close?.({props:E.value})]}):createVNode(VBtn,mergeProps({key:"close-btn",icon:e.closeIcon,size:"x-small",variant:"text"},E.value),null)])]})}}}),makeVLayoutProps=propsFactory({...makeComponentProps(),...makeDimensionProps(),...makeLayoutProps()},"VLayout"),VLayout=genericComponent()({name:"VLayout",props:makeVLayoutProps(),setup(e,t){let{slots:r}=t;const{layoutClasses:i,layoutStyles:a,getLayoutItem:c,items:u,layoutRef:d}=createLayout(e),{dimensionStyles:f}=useDimension(e);return useRender(()=>createBaseVNode("div",{ref:d,class:normalizeClass([i.value,e.class]),style:normalizeStyle([f.value,a.value,e.style])},[r.default?.()])),{getLayoutItem:c,items:u}}}),makeVMainProps=propsFactory({scrollable:Boolean,...makeComponentProps(),...makeDimensionProps(),...makeTagProps({tag:"main"})},"VMain"),VMain=genericComponent()({name:"VMain",props:makeVMainProps(),setup(e,t){let{slots:r}=t;const{dimensionStyles:i}=useDimension(e),{mainStyles:a}=useLayout(),{ssrBootStyles:c}=useSsrBoot();return useRender(()=>createVNode(e.tag,{class:normalizeClass(["v-main",{"v-main--scrollable":e.scrollable},e.class]),style:normalizeStyle([a.value,c.value,i.value,e.style])},{default:()=>[e.scrollable?createBaseVNode("div",{class:"v-main__scroller"},[r.default?.()]):r.default?.()]})),{}}});function useSticky(e){let{rootEl:t,isSticky:r,layoutItemStyles:i}=e;const a=shallowRef(!1),c=shallowRef(0),u=computed(()=>{const m=typeof a.value=="boolean"?"top":a.value;return[r.value?{top:"auto",bottom:"auto",height:void 0}:void 0,a.value?{[m]:convertToUnit(c.value)}:{top:i.value.top}]});onMounted(()=>{watch(r,m=>{m?window.addEventListener("scroll",f,{passive:!0}):window.removeEventListener("scroll",f)},{immediate:!0})}),onBeforeUnmount(()=>{window.removeEventListener("scroll",f)});let d=0;function f(){const m=d>window.scrollY?"up":"down",y=t.value.getBoundingClientRect(),v=parseFloat(i.value.top??0),w=window.scrollY-Math.max(0,c.value-v),_=y.height+Math.max(c.value,v)-window.scrollY-window.innerHeight,S=parseFloat(getComputedStyle(t.value).getPropertyValue("--v-body-scroll-y"))||0;y.height<window.innerHeight-v?(a.value="top",c.value=v):m==="up"&&a.value==="bottom"||m==="down"&&a.value==="top"?(c.value=window.scrollY+y.top-S,a.value=!0):m==="down"&&_<=0?(c.value=0,a.value="bottom"):m==="up"&&w<=0&&(S?a.value!=="top"&&(c.value=-w+S+v,a.value="top"):(c.value=y.top+w,a.value="top")),d=window.scrollY}return{isStuck:a,stickyStyles:u}}const HORIZON=100,HISTORY=20;function kineticEnergyToVelocity(e){return(e<0?-1:1)*Math.sqrt(Math.abs(e))*1.41421356237}function calculateImpulseVelocity(e){if(e.length<2)return 0;if(e.length===2)return e[1].t===e[0].t?0:(e[1].d-e[0].d)/(e[1].t-e[0].t);let t=0;for(let r=e.length-1;r>0;r--){if(e[r].t===e[r-1].t)continue;const i=kineticEnergyToVelocity(t),a=(e[r].d-e[r-1].d)/(e[r].t-e[r-1].t);t+=(a-i)*Math.abs(a),r===e.length-1&&(t*=.5)}return kineticEnergyToVelocity(t)*1e3}function useVelocity(){const e={};function t(a){Array.from(a.changedTouches).forEach(c=>{(e[c.identifier]??(e[c.identifier]=new CircularBuffer(HISTORY))).push([a.timeStamp,c])})}function r(a){Array.from(a.changedTouches).forEach(c=>{delete e[c.identifier]})}function i(a){const c=e[a]?.values().reverse();if(!c)throw new Error(`No samples for touch id ${a}`);const u=c[0],d=[],f=[];for(const m of c){if(u[0]-m[0]>HORIZON)break;d.push({t:m[0],d:m[1].clientX}),f.push({t:m[0],d:m[1].clientY})}return{x:calculateImpulseVelocity(d),y:calculateImpulseVelocity(f),get direction(){const{x:m,y}=this,[v,w]=[Math.abs(m),Math.abs(y)];return v>w&&m>=0?"right":v>w&&m<=0?"left":w>v&&y>=0?"down":w>v&&y<=0?"up":oops$1()}}}return{addMovement:t,endTouch:r,getVelocity:i}}function oops$1(){throw new Error}function useTouch(e){let{el:t,isActive:r,isTemporary:i,width:a,touchless:c,position:u}=e;onMounted(()=>{window.addEventListener("touchstart",O,{passive:!0}),window.addEventListener("touchmove",T,{passive:!1}),window.addEventListener("touchend",E,{passive:!0})}),onBeforeUnmount(()=>{window.removeEventListener("touchstart",O),window.removeEventListener("touchmove",T),window.removeEventListener("touchend",E)});const d=computed(()=>["left","right"].includes(u.value)),{addMovement:f,endTouch:m,getVelocity:y}=useVelocity();let v=!1;const w=shallowRef(!1),_=shallowRef(0),S=shallowRef(0);let b;function k(P,M){return(u.value==="left"?P:u.value==="right"?document.documentElement.clientWidth-P:u.value==="top"?P:u.value==="bottom"?document.documentElement.clientHeight-P:oops())-(M?a.value:0)}function C(P){let M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const D=u.value==="left"?(P-S.value)/a.value:u.value==="right"?(document.documentElement.clientWidth-P-S.value)/a.value:u.value==="top"?(P-S.value)/a.value:u.value==="bottom"?(document.documentElement.clientHeight-P-S.value)/a.value:oops();return M?clamp(D):D}function O(P){if(c.value)return;const M=P.changedTouches[0].clientX,D=P.changedTouches[0].clientY,F=25,I=u.value==="left"?M<F:u.value==="right"?M>document.documentElement.clientWidth-F:u.value==="top"?D<F:u.value==="bottom"?D>document.documentElement.clientHeight-F:oops(),U=r.value&&(u.value==="left"?M<a.value:u.value==="right"?M>document.documentElement.clientWidth-a.value:u.value==="top"?D<a.value:u.value==="bottom"?D>document.documentElement.clientHeight-a.value:oops());(I||U||r.value&&i.value)&&(b=[M,D],S.value=k(d.value?M:D,r.value),_.value=C(d.value?M:D),v=S.value>-20&&S.value<80,m(P),f(P))}function T(P){const M=P.changedTouches[0].clientX,D=P.changedTouches[0].clientY;if(v){if(!P.cancelable){v=!1;return}const I=Math.abs(M-b[0]),U=Math.abs(D-b[1]);(d.value?I>U&&I>3:U>I&&U>3)?(w.value=!0,v=!1):(d.value?U:I)>3&&(v=!1)}if(!w.value)return;P.preventDefault(),f(P);const F=C(d.value?M:D,!1);_.value=Math.max(0,Math.min(1,F)),F>1?S.value=k(d.value?M:D,!0):F<0&&(S.value=k(d.value?M:D,!1))}function E(P){if(v=!1,!w.value)return;f(P),w.value=!1;const M=y(P.changedTouches[0].identifier),D=Math.abs(M.x),F=Math.abs(M.y);(d.value?D>F&&D>400:F>D&&F>3)?r.value=M.direction===({left:"right",right:"left",top:"down",bottom:"up"}[u.value]||oops()):r.value=_.value>.5}const A=computed(()=>w.value?{transform:u.value==="left"?`translateX(calc(-100% + ${_.value*a.value}px))`:u.value==="right"?`translateX(calc(100% - ${_.value*a.value}px))`:u.value==="top"?`translateY(calc(-100% + ${_.value*a.value}px))`:u.value==="bottom"?`translateY(calc(100% - ${_.value*a.value}px))`:oops(),transition:"none"}:void 0);return useToggleScope(w,()=>{const P=t.value?.style.transform??null,M=t.value?.style.transition??null;watchEffect(()=>{t.value?.style.setProperty("transform",A.value?.transform||"none"),t.value?.style.setProperty("transition",A.value?.transition||null)}),onScopeDispose(()=>{t.value?.style.setProperty("transform",P),t.value?.style.setProperty("transition",M)})}),{isDragging:w,dragProgress:_,dragStyles:A}}function oops(){throw new Error}const locations=["start","end","left","right","top","bottom"],makeVNavigationDrawerProps=propsFactory({color:String,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expandOnHover:Boolean,floating:Boolean,modelValue:{type:Boolean,default:null},permanent:Boolean,rail:{type:Boolean,default:null},railWidth:{type:[Number,String],default:56},scrim:{type:[Boolean,String],default:!0},image:String,temporary:Boolean,persistent:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},location:{type:String,default:"start",validator:e=>locations.includes(e)},sticky:Boolean,...makeBorderProps(),...makeComponentProps(),...makeDelayProps(),...makeDisplayProps({mobile:null}),...makeElevationProps(),...makeLayoutItemProps(),...makeRoundedProps(),...makeTagProps({tag:"nav"}),...makeThemeProps()},"VNavigationDrawer"),VNavigationDrawer=genericComponent()({name:"VNavigationDrawer",props:makeVNavigationDrawerProps(),emits:{"update:modelValue":e=>!0,"update:rail":e=>!0},setup(e,t){let{attrs:r,emit:i,slots:a}=t;const{isRtl:c}=useRtl(),{themeClasses:u}=provideTheme(e),{borderClasses:d}=useBorder(e),{backgroundColorClasses:f,backgroundColorStyles:m}=useBackgroundColor(()=>e.color),{elevationClasses:y}=useElevation(e),{displayClasses:v,mobile:w}=useDisplay(e),{roundedClasses:_}=useRounded(e),S=useRouter(),b=useProxiedModel(e,"modelValue",null,te=>!!te),{ssrBootStyles:k}=useSsrBoot(),{scopeId:C}=useScopeId(),O=ref(),T=shallowRef(!1),{runOpenDelay:E,runCloseDelay:A}=useDelay(e,te=>{T.value=te}),P=computed(()=>e.rail&&e.expandOnHover&&T.value?Number(e.width):Number(e.rail?e.railWidth:e.width)),M=computed(()=>toPhysical(e.location,c.value)),D=toRef$2(()=>e.persistent),F=computed(()=>!e.permanent&&(w.value||e.temporary)),I=computed(()=>e.sticky&&!F.value&&M.value!=="bottom");useToggleScope(()=>e.expandOnHover&&e.rail!=null,()=>{watch(T,te=>i("update:rail",!te))}),useToggleScope(()=>!e.disableResizeWatcher,()=>{watch(F,te=>!e.permanent&&nextTick(()=>b.value=!te))}),useToggleScope(()=>!e.disableRouteWatcher&&!!S,()=>{watch(S.currentRoute,()=>F.value&&(b.value=!1))}),watch(()=>e.permanent,te=>{te&&(b.value=!0)}),e.modelValue==null&&!F.value&&(b.value=e.permanent||!w.value);const{isDragging:U,dragProgress:$}=useTouch({el:O,isActive:b,isTemporary:F,width:P,touchless:toRef$2(()=>e.touchless),position:M}),z=computed(()=>{const te=F.value?0:e.rail&&e.expandOnHover?Number(e.railWidth):P.value;return U.value?te*$.value:te}),{layoutItemStyles:q,layoutItemScrimStyles:G}=useLayoutItem({id:e.name,order:computed(()=>parseInt(e.order,10)),position:M,layoutSize:z,elementSize:P,active:readonly(b),disableTransitions:toRef$2(()=>U.value),absolute:computed(()=>e.absolute||I.value&&typeof ee.value!="string")}),{isStuck:ee,stickyStyles:ae}=useSticky({rootEl:O,isSticky:I,layoutItemStyles:q}),oe=useBackgroundColor(()=>typeof e.scrim=="string"?e.scrim:null),Se=computed(()=>({...U.value?{opacity:$.value*.2,transition:"none"}:void 0,...G.value}));return provideDefaults({VList:{bgColor:"transparent"}}),useRender(()=>{const te=a.image||e.image;return createBaseVNode(Fragment,null,[createVNode(e.tag,mergeProps({ref:O,onMouseenter:E,onMouseleave:A,class:["v-navigation-drawer",`v-navigation-drawer--${M.value}`,{"v-navigation-drawer--expand-on-hover":e.expandOnHover,"v-navigation-drawer--floating":e.floating,"v-navigation-drawer--is-hovering":T.value,"v-navigation-drawer--rail":e.rail,"v-navigation-drawer--temporary":F.value,"v-navigation-drawer--persistent":D.value,"v-navigation-drawer--active":b.value,"v-navigation-drawer--sticky":I.value},u.value,f.value,d.value,v.value,y.value,_.value,e.class],style:[m.value,q.value,k.value,ae.value,e.style]},C,r),{default:()=>[te&&createBaseVNode("div",{key:"image",class:"v-navigation-drawer__img"},[a.image?createVNode(VDefaultsProvider,{key:"image-defaults",disabled:!e.image,defaults:{VImg:{alt:"",cover:!0,height:"inherit",src:e.image}}},a.image):createVNode(VImg,{key:"image-img",alt:"",cover:!0,height:"inherit",src:e.image},null)]),a.prepend&&createBaseVNode("div",{class:"v-navigation-drawer__prepend"},[a.prepend?.()]),createBaseVNode("div",{class:"v-navigation-drawer__content"},[a.default?.()]),a.append&&createBaseVNode("div",{class:"v-navigation-drawer__append"},[a.append?.()])]}),createVNode(Transition,{name:"fade-transition"},{default:()=>[F.value&&(U.value||b.value)&&!!e.scrim&&createBaseVNode("div",mergeProps({class:["v-navigation-drawer__scrim",oe.backgroundColorClasses.value],style:[Se.value,oe.backgroundColorStyles.value],onClick:()=>{D.value||(b.value=!1)}},C),null)]})])}),{isStuck:ee}}}),handleGesture=e=>{const{touchstartX:t,touchendX:r,touchstartY:i,touchendY:a}=e,c=.5,u=16;e.offsetX=r-t,e.offsetY=a-i,Math.abs(e.offsetY)<c*Math.abs(e.offsetX)&&(e.left&&r<t-u&&e.left(e),e.right&&r>t+u&&e.right(e)),Math.abs(e.offsetX)<c*Math.abs(e.offsetY)&&(e.up&&a<i-u&&e.up(e),e.down&&a>i+u&&e.down(e))};function touchstart(e,t){const r=e.changedTouches[0];t.touchstartX=r.clientX,t.touchstartY=r.clientY,t.start?.({originalEvent:e,...t})}function touchend(e,t){const r=e.changedTouches[0];t.touchendX=r.clientX,t.touchendY=r.clientY,t.end?.({originalEvent:e,...t}),handleGesture(t)}function touchmove(e,t){const r=e.changedTouches[0];t.touchmoveX=r.clientX,t.touchmoveY=r.clientY,t.move?.({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){const r=t.value,i=r?.parent?e.parentElement:e,a=r?.options??{passive:!0},c=t.instance?.$.uid;if(!i||c===void 0)return;const u=createHandlers(t.value);i._touchHandlers=i._touchHandlers??Object.create(null),i._touchHandlers[c]=u,keys(u).forEach(d=>{i.addEventListener(d,u[d],a)})}function unmounted(e,t){const r=t.value?.parent?e.parentElement:e,i=t.instance?.$.uid;if(!r?._touchHandlers||i===void 0)return;const a=r._touchHandlers[i];keys(a).forEach(c=>{r.removeEventListener(c,a[c])}),delete r._touchHandlers[i]}const Touch={mounted,unmounted},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"},verticalArrows:[Boolean,String],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:{vTouch:Touch},props:makeVWindowProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;const{themeClasses:i}=provideTheme(e),{isRtl:a}=useRtl(),{t:c}=useLocale(),u=useGroup(e,VWindowGroupSymbol),d=ref(),f=computed(()=>a.value?!e.reverse:e.reverse),m=shallowRef(!1),y=computed(()=>{const E=e.direction==="vertical"?"y":"x",P=(f.value?!m.value:m.value)?"-reverse":"";return`v-window-${E}${P}-transition`}),v=shallowRef(0),w=ref(void 0),_=computed(()=>u.items.value.findIndex(E=>u.selected.value.includes(E.id)));watch(_,(E,A)=>{const P=u.items.value.length,M=P-1;P<=2?m.value=E<A:E===M&&A===0?m.value=!0:E===0&&A===M?m.value=!1:m.value=E<A}),provide(VWindowSymbol,{transition:y,isReversed:m,transitionCount:v,transitionHeight:w,rootRef:d});const S=toRef$2(()=>e.continuous||_.value!==0),b=toRef$2(()=>e.continuous||_.value!==u.items.value.length-1);function k(){S.value&&u.prev()}function C(){b.value&&u.next()}const O=computed(()=>{const E=[],A={icon:a.value?e.nextIcon:e.prevIcon,class:`v-window__${f.value?"right":"left"}`,onClick:u.prev,"aria-label":c("$vuetify.carousel.prev")};E.push(S.value?r.prev?r.prev({props:A}):createVNode(VBtn,A,null):createBaseVNode("div",null,null));const P={icon:a.value?e.prevIcon:e.nextIcon,class:`v-window__${f.value?"left":"right"}`,onClick:u.next,"aria-label":c("$vuetify.carousel.next")};return E.push(b.value?r.next?r.next({props:P}):createVNode(VBtn,P,null):createBaseVNode("div",null,null)),E}),T=computed(()=>e.touch===!1?e.touch:{...{left:()=>{f.value?k():C()},right:()=>{f.value?C():k()},start:A=>{let{originalEvent:P}=A;P.stopPropagation()}},...e.touch===!0?{}:e.touch});return useRender(()=>withDirectives(createVNode(e.tag,{ref:d,class:normalizeClass(["v-window",{"v-window--show-arrows-on-hover":e.showArrows==="hover","v-window--vertical-arrows":!!e.verticalArrows},i.value,e.class]),style:normalizeStyle(e.style)},{default:()=>[createBaseVNode("div",{class:"v-window__container",style:{height:w.value}},[r.default?.({group:u}),e.showArrows!==!1&&createBaseVNode("div",{class:normalizeClass(["v-window__controls",{"v-window__controls--left":e.verticalArrows==="left"||e.verticalArrows===!0},{"v-window__controls--right":e.verticalArrows==="right"}])},[O.value])]),r.additional?.({group:u})]}),[[Touch,T.value]])),{group:u}}}),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:{vTouch:Touch},props:makeVWindowItemProps(),emits:{"group:selected":e=>!0},setup(e,t){let{slots:r}=t;const i=inject$1(VWindowSymbol),a=useGroupItem(e,VWindowGroupSymbol),{isBooted:c}=useSsrBoot();if(!i||!a)throw new Error("[Vuetify] VWindowItem must be used inside VWindow");const u=shallowRef(!1),d=computed(()=>c.value&&(i.isReversed.value?e.reverseTransition!==!1:e.transition!==!1));function f(){!u.value||!i||(u.value=!1,i.transitionCount.value>0&&(i.transitionCount.value-=1,i.transitionCount.value===0&&(i.transitionHeight.value=void 0)))}function m(){u.value||!i||(u.value=!0,i.transitionCount.value===0&&(i.transitionHeight.value=convertToUnit(i.rootRef.value?.clientHeight)),i.transitionCount.value+=1)}function y(){f()}function v(S){u.value&&nextTick(()=>{!d.value||!u.value||!i||(i.transitionHeight.value=convertToUnit(S.clientHeight))})}const w=computed(()=>{const S=i.isReversed.value?e.reverseTransition:e.transition;return d.value?{name:typeof S!="string"?i.transition.value:S,onBeforeEnter:m,onAfterEnter:f,onEnterCancelled:y,onBeforeLeave:m,onAfterLeave:f,onLeaveCancelled:y,onEnter:v}:!1}),{hasContent:_}=useLazy(e,a.isSelected);return useRender(()=>createVNode(MaybeTransition,{transition:w.value,disabled:!c.value},{default:()=>[withDirectives(createBaseVNode("div",{class:normalizeClass(["v-window-item",a.selectedClass.value,e.class]),style:normalizeStyle(e.style)},[_.value&&r.default?.()]),[[vShow,a.isSelected.value]])]})),{groupItem:a}}}),_hoisted_1$3={key:0,class:"mt-3"},_hoisted_2$2={key:1,class:"mt-3"},_hoisted_3$2={key:2,class:"mt-3"},_hoisted_4$1={key:3,class:"mt-3"},_hoisted_5={class:"mt-3"},_sfc_main$7=defineComponent$1({__name:"HelpView",props:{modelValue:{},modelModifiers:{}},emits:["update:modelValue"],setup(e){const t=useModel(e,"modelValue"),r=ref("start");return(i,a)=>(openBlock(),createBlock(VLayout,{style:{height:"70vh"}},{default:withCtx(()=>[createVNode(VNavigationDrawer,{style:{height:"calc(100% + 0px)"},modelValue:t.value,"onUpdate:modelValue":a[15]||(a[15]=c=>t.value=c)},{default:withCtx(()=>[createVNode(VList,null,{default:withCtx(()=>[createVNode(VListItem,{link:"",title:"Start",onClick:a[0]||(a[0]=c=>r.value="start"),"prepend-icon":"fa-solid fa-house"}),createVNode(VListItem,{link:"",title:"Space",onClick:a[1]||(a[1]=c=>r.value="space"),"prepend-icon":"fa-solid fa-database"}),createVNode(VListItem,{link:"",title:i.$t("Recipes"),onClick:a[2]||(a[2]=c=>r.value="recipes"),"prepend-icon":"$recipes"},null,8,["title"]),createVNode(VListItem,{link:"",title:i.$t("Import"),onClick:a[3]||(a[3]=c=>r.value="import"),"prepend-icon":"$import"},null,8,["title"]),createVNode(VListItem,{link:"",title:i.$t("AI"),onClick:a[4]||(a[4]=c=>r.value="ai"),"prepend-icon":"$ai"},null,8,["title"]),createVNode(VListItem,{link:"",title:i.$t("Unit"),onClick:a[5]||(a[5]=c=>r.value="unit"),"prepend-icon":"fa-solid fa-scale-balanced"},null,8,["title"]),createVNode(VListItem,{link:"",title:i.$t("Food"),onClick:a[6]||(a[6]=c=>r.value="food"),"prepend-icon":"fa-solid fa-carrot"},null,8,["title"]),createVNode(VListItem,{link:"",title:i.$t("Keyword"),onClick:a[7]||(a[7]=c=>r.value="keyword"),"prepend-icon":"fa-solid fa-tags"},null,8,["title"]),createVNode(VListItem,{link:"",title:"Recipe Structure",onClick:a[8]||(a[8]=c=>r.value="recipe_structure"),"prepend-icon":"fa-solid fa-diagram-project"}),createVNode(VListItem,{link:"",title:i.$t("Properties"),onClick:a[9]||(a[9]=c=>r.value="properties"),"prepend-icon":"fa-solid fa-database"},null,8,["title"]),createVNode(VListItem,{link:"",title:i.$t("Search"),onClick:a[10]||(a[10]=c=>r.value="recipe_search"),"prepend-icon":"$search"},null,8,["title"]),createVNode(VListItem,{link:"",title:i.$t("SavedSearch"),onClick:a[11]||(a[11]=c=>r.value="search_filter"),"prepend-icon":"fa-solid fa-sd-card"},null,8,["title"]),createVNode(VListItem,{link:"",title:i.$t("Books"),onClick:a[12]||(a[12]=c=>r.value="books"),"prepend-icon":"$books"},null,8,["title"]),createVNode(VListItem,{link:"",title:i.$t("Shopping"),onClick:a[13]||(a[13]=c=>r.value="shopping"),"prepend-icon":"$shopping"},null,8,["title"]),createVNode(VListItem,{link:"",title:i.$t("Meal_Plan"),onClick:a[14]||(a[14]=c=>r.value="meal_plan"),"prepend-icon":"$mealplan"},null,8,["title"])]),_:1})]),_:1},8,["modelValue"]),createVNode(VMain,null,{default:withCtx(()=>[createVNode(VContainer,null,{default:withCtx(()=>[createVNode(VWindow,{modelValue:r.value,"onUpdate:modelValue":a[16]||(a[16]=c=>r.value=c)},{default:withCtx(()=>[createVNode(VWindowItem,{value:"start"},{default:withCtx(()=>[a[24]||(a[24]=createBaseVNode("h2",null,"Welcome to Tandoor 2",-1)),a[25]||(a[25]=createBaseVNode("p",{class:"mt-3"},"Tandoor is one of the most most powerful recipe management suits available. It has constantly been improved since its first version in 2018. This knowledgebase explains all important features and concepts. Explore it to find out how Tandoor can help you improve your daily cooking routine or search for specific features to help you understand them.",-1)),createVNode(VBtn,{class:"mt-2",color:"primary",href:"https://tandoor.dev",target:"_blank","prepend-icon":"fa-solid fa-globe"},{default:withCtx(()=>a[17]||(a[17]=[createTextVNode(" Website ")])),_:1,__:[17]}),createVNode(VBtn,{class:"mt-2 ms-2",color:"info",href:"https://github.com/TandoorRecipes/recipes",target:"_blank","prepend-icon":"fa-solid fa-code-branch"},{default:withCtx(()=>a[18]||(a[18]=[createTextVNode("GitHub ")])),_:1,__:[18]}),!unref(useUserPreferenceStore)().serverSettings.hosted&&!unref(useUserPreferenceStore)().activeSpace.demo?(openBlock(),createBlock(VAlert,{key:0,class:"mt-3",border:"start",variant:"tonal",color:"success"},{default:withCtx(()=>[createVNode(VAlertTitle,null,{default:withCtx(()=>a[19]||(a[19]=[createTextVNode("Did you know?")])),_:1,__:[19]}),a[22]||(a[22]=createTextVNode(" Tandoor is Open Source and available to anyone for free to host on their own server. Thousands of hours have been spend making Tandoor what it is today. You can help make Tandoor even better by contributing or helping financing the effort. ")),a[23]||(a[23]=createBaseVNode("br",null,null,-1)),createVNode(VBtn,{class:"mt-2",color:"secondary",href:"https://docs.tandoor.dev/contribute/contribute/",target:"_blank","prepend-icon":"fa-solid fa-code-branch"},{default:withCtx(()=>a[20]||(a[20]=[createTextVNode(" Contribute ")])),_:1,__:[20]}),createVNode(VBtn,{class:"mt-2 ms-2",color:"success",href:"https://github.com/sponsors/vabene1111",target:"_blank","prepend-icon":"fa-solid fa-dollar-sign"},{default:withCtx(()=>a[21]||(a[21]=[createTextVNode("Sponsor ")])),_:1,__:[21]})]),_:1,__:[22,23]})):createCommentVNode("",!0)]),_:1,__:[24,25]}),createVNode(VWindowItem,{value:"space"},{default:withCtx(()=>[a[26]||(a[26]=createBaseVNode("p",{class:"mt-3"},"All your data is stored in a Space where you can invite other people to collaborate on your recipe database. Typcially the members of a space belong to one family/household/organization.",-1)),a[27]||(a[27]=createBaseVNode("p",{class:"mt-3"},"While everyone can access all recipes by default, Books, Shopping Lists and Mealplans are not shared by default. You can share them with other members of your space using the settings. ",-1)),a[28]||(a[28]=createBaseVNode("p",{class:"mt-3"},"You can create and be a member of multiple spaces. Switch between them freely using the navigation or space settings. Depending on the permission configured by the space owner you might not have access to all features of a space.",-1)),a[29]||(a[29]=createBaseVNode("p",{class:"mt-3"},null,-1)),createVNode(VBtn,{color:"primary",variant:"tonal","prepend-icon":"fa-solid fa-database",class:"me-2",to:{name:"UserSpaceSettings"}},{default:withCtx(()=>[createTextVNode(toDisplayString$1(i.$t("YourSpaces")),1)]),_:1}),createVNode(VBtn,{color:"primary",variant:"tonal","prepend-icon":"$settings",class:"me-2",to:{name:"SpaceSettings"}},{default:withCtx(()=>[createTextVNode(toDisplayString$1(i.$t("SpaceSettings")),1)]),_:1}),createVNode(VBtn,{color:"primary",variant:"tonal","prepend-icon":"fa-solid fa-users",class:"me-2",to:{name:"SpaceMemberSettings"}},{default:withCtx(()=>[createTextVNode(toDisplayString$1(i.$t("Invites")),1)]),_:1})]),_:1,__:[26,27,28,29]}),createVNode(VWindowItem,{value:"recipes"},{default:withCtx(()=>[a[30]||(a[30]=createBaseVNode("p",{class:"mt-3"},"Recipes are the foundation of your Tandoor space. A Recipe has one or more steps that contain ingredients, instructions and other information. Ingredients in turn consist of an amount, a unit and a food, allowing recipes to be scaled, nutrition's to be calculated and shopping to be organized. ",-1)),a[31]||(a[31]=createBaseVNode("p",{class:"mt-3"},"Besides manually creating them you can also import them from various different places. ",-1)),a[32]||(a[32]=createBaseVNode("p",{class:"mt-3"},"Recipes, by default, are visible to all members of your space. Setting them to private means only you can see it. After setting it to private you can manually specify the people who should be able to view the recipe. You can also create a share link for the recipe to share it with everyone that has access to the link. ",-1)),a[33]||(a[33]=createBaseVNode("p",{class:"mt-3"},null,-1)),createVNode(VBtn,{color:"primary",variant:"tonal","prepend-icon":"$create",class:"me-2",to:{name:"ModelEditPage",params:{model:"Recipe"}}},{default:withCtx(()=>[createTextVNode(toDisplayString$1(i.$t("Create")),1)]),_:1}),createVNode(VBtn,{color:"primary",variant:"tonal","prepend-icon":"$search",class:"me-2",to:{name:"SearchPage"}},{default:withCtx(()=>[createTextVNode(toDisplayString$1(i.$t("Search")),1)]),_:1})]),_:1,__:[30,31,32,33]}),createVNode(VWindowItem,{value:"import"},{default:withCtx(()=>[a[34]||(a[34]=createBaseVNode("p",{class:"mt-3"},"The Recipe importer is one of the most powerful features of Tandoor and allows you to quickly add recipes in multiple different ways. ",-1)),a[35]||(a[35]=createBaseVNode("p",{class:"mt-3"},"The easiest is to import from a URL. If that is not enough you can also import from an Image or PDF file using AI. ",-1)),a[36]||(a[36]=createBaseVNode("p",{class:"mt-3"},"If you already have an existing Recipe database in another format there is also a good chance Tandoor will have an importer for that program. ",-1)),a[37]||(a[37]=createBaseVNode("p",{class:"mt-3"},null,-1)),createVNode(VBtn,{color:"primary",variant:"tonal","prepend-icon":"$import",class:"me-2",to:{name:"RecipeImportPage"}},{default:withCtx(()=>[createTextVNode(toDisplayString$1(i.$t("Import")),1)]),_:1})]),_:1,__:[34,35,36,37]}),createVNode(VWindowItem,{value:"ai"},{default:withCtx(()=>[a[38]||(a[38]=createBaseVNode("p",{class:"mt-3"},"Tandoor has several functions that allow you to use AI to automatically perform certain tasks like importing recipes from a PDFs or images. ",-1)),unref(useUserPreferenceStore)().serverSettings.hosted?(openBlock(),createElementBlock("p",_hoisted_1$3," To use AI you must first configure an AI Provider. This can also be done globally for all spaces by the person operating your Tandoor Server. ")):createCommentVNode("",!0),unref(useUserPreferenceStore)().serverSettings.hosted?createCommentVNode("",!0):(openBlock(),createElementBlock("p",_hoisted_2$2," Some AI Providers are available globally for every space to use. You can also configure additional AI Providers for your space only. ")),unref(useUserPreferenceStore)().serverSettings.hosted?(openBlock(),createElementBlock("p",_hoisted_3$2," To prevent accidental AI cost you can review your AI usage using the AI Log. The Server Administrator can also set AI usage limits for your space (either monthly or using a balance). ")):createCommentVNode("",!0),unref(useUserPreferenceStore)().serverSettings.hosted?createCommentVNode("",!0):(openBlock(),createElementBlock("p",_hoisted_4$1," Depending on your subscription you will have different AI Credits available for your space every month. Additionally you might have a Credit balance that will be used once your monthly limit is reached. ")),createVNode(VBtn,{color:"primary",variant:"tonal","prepend-icon":"$ai",class:"me-2",to:{name:"ModelListPage",params:{model:"AiProvider"}}},{default:withCtx(()=>[createTextVNode(toDisplayString$1(i.$t("AiProvider")),1)]),_:1}),createVNode(VBtn,{color:"primary",variant:"tonal","prepend-icon":"$ai",class:"me-2",to:{name:"ModelListPage",params:{model:"AiLog"}}},{default:withCtx(()=>[createTextVNode(toDisplayString$1(i.$t("AiLog")),1)]),_:1}),createVNode(VBtn,{color:"primary",variant:"tonal","prepend-icon":"$ai",class:"me-2",to:{name:"SpaceSettings"}},{default:withCtx(()=>[createTextVNode(toDisplayString$1(i.$t("SpaceSettings")),1)]),_:1}),createVNode(VBtn,{color:"primary",variant:"tonal","prepend-icon":"$import",class:"me-2",to:{name:"RecipeImportPage"}},{default:withCtx(()=>[createTextVNode(toDisplayString$1(i.$t("Import")),1)]),_:1})]),_:1,__:[38]}),createVNode(VWindowItem,{value:"unit"},{default:withCtx(()=>[a[39]||(a[39]=createBaseVNode("p",{class:"mt-3"},"Units allow you to measure how much of something you need in a recipe or on a shopping list. They are also essential for the calculation of Properties. ",-1)),a[40]||(a[40]=createBaseVNode("p",{class:"mt-3"},"Setting a base unit allows you to name your Unit however you want (e.g. grams, g, G, gram) while allowing Tandoor to automatically convert between the units in the same system (weight/volume, e.g. from g to kg or from cup to pint). ",-1)),a[41]||(a[41]=createBaseVNode("p",{class:"mt-3"},"Additionally you can use custom unit conversion to convert between volume and weight trough the specific density of a food (e.g. 1 cup of flour = 120 g). These conversions are used to calculate the Properties for a Recipe and might allow cosmetic display changes later. ",-1)),createVNode(VBtn,{color:"primary",variant:"tonal","prepend-icon":"fa-solid fa-scale-balanced",class:"me-2",to:{name:"ModelListPage",params:{model:"Unit"}}},{default:withCtx(()=>[createTextVNode(toDisplayString$1(i.$t("Unit")),1)]),_:1}),createVNode(VBtn,{color:"primary",variant:"tonal","prepend-icon":"fa-solid fa-exchange-alt",class:"me-2",to:{name:"ModelListPage",params:{model:"UnitConversion"}}},{default:withCtx(()=>[createTextVNode(toDisplayString$1(i.$t("Conversion")),1)]),_:1})]),_:1,__:[39,40,41]}),createVNode(VWindowItem,{value:"food"},{default:withCtx(()=>[a[42]||(a[42]=createBaseVNode("p",{class:"mt-3"},"Foods have multiple uses in Tandoor. Their most important task is to be part of recipe ingredients together with an amount and a unit. ",-1)),a[43]||(a[43]=createBaseVNode("p",{class:"mt-3"},"Using the Food editor you can also add properties to a food or link the food to another recipe or external URL. ",-1)),a[44]||(a[44]=createBaseVNode("p",{class:"mt-3"},"Foods are also used or created when adding entries to the shopping list. ",-1)),createVNode(VBtn,{color:"primary",variant:"tonal","prepend-icon":"fa-solid fa-carrot",class:"me-2",to:{name:"ModelListPage",params:{model:"Food"}}},{default:withCtx(()=>[createTextVNode(toDisplayString$1(i.$t("Food")),1)]),_:1})]),_:1,__:[42,43,44]}),createVNode(VWindowItem,{value:"keyword"},{default:withCtx(()=>[a[45]||(a[45]=createBaseVNode("p",{class:"mt-3"},"Keywords are a very flexible Tool to help you organize your recipe collection. Keywords can quickly be created when editing a Recipe by just typing into the Keywords field or they can be created trough the Keyword Editor. ",-1)),a[46]||(a[46]=createBaseVNode("p",{class:"mt-3"},"Typical keywords include meal types (breakfast, lunch, dinner, ...), couise (american, italian, ...) or diet (vegan, vegetarian, ..). ",-1)),a[47]||(a[47]=createBaseVNode("p",{class:"mt-3"},"Tip: Using Emojis in Keywords makes them easy to recognize. ",-1)),createVNode(VBtn,{color:"primary",variant:"tonal","prepend-icon":"fa-solid fa-tags",class:"me-2",to:{name:"ModelListPage",params:{model:"Keyword"}}},{default:withCtx(()=>[createTextVNode(toDisplayString$1(i.$t("Keyword")),1)]),_:1})]),_:1,__:[45,46,47]}),createVNode(VWindowItem,{value:"recipe_structure"},{default:withCtx(()=>a[48]||(a[48]=[createBaseVNode("p",{class:"mt-3"},"A Recipe consists of multiple Steps. ",-1),createBaseVNode("p",{class:"mt-3"},"Each Step has Ingreditens (which are at least a Food but typically consist of amount, Unit and Food). A Step can also contain instuctions, times, files or link to another Recipe. ",-1),createBaseVNode("p",{class:"mt-3"},"Additionally a Recipe can have Properties, Comments, Keywords and more. ",-1)])),_:1,__:[48]}),createVNode(VWindowItem,{value:"properties"},{default:withCtx(()=>[a[49]||(a[49]=createBaseVNode("p",{class:"mt-3"},"The Properties system allows you to add additional data to your Foods and Recipes in the respective editors. Most commonly you would use this to add nutrition facts but the system can also be used to track prices, dietary points or any other kind of property. ",-1)),a[50]||(a[50]=createBaseVNode("p",{class:"mt-3"},"You first need to create the Property Types that you need (e.g. Carbohydrates, Sugar, Price, Points, ..). Setting the FDC ID for a Property Type allows Tandoor to connect your custom Property Type to a property in the FDC database. You can then go to a Food, set its FDC ID and Tandoor can automatically pull the properties you want from the FDC database. ",-1)),a[51]||(a[51]=createBaseVNode("p",{class:"mt-3"},"When adding a Property to the Recipe it will just be statically displayed in the Recipe view. Adding properties to a Foods will allow Tandoor to calculate the properties for all the Ingredients in a Recipe based on the Foods and their respective Units and Amounts. ",-1)),a[52]||(a[52]=createBaseVNode("p",{class:"mt-3"},"Food Properties are entered based on a certain amount of food (often 100 g). Unit Conversions allow Tandoor to calculate the property amount if a Food is given in a different unit (e.g. 1kg or 1 cup). ",-1)),createVNode(VBtn,{color:"primary",variant:"tonal","prepend-icon":"fa-solid fa-database",class:"me-2 mt-2 mb-2",to:{name:"ModelListPage",params:{model:"PropertyType"}}},{default:withCtx(()=>[createTextVNode(toDisplayString$1(i.$t("Property")),1)]),_:1}),a[53]||(a[53]=createBaseVNode("h3",null,"Editor",-1)),a[54]||(a[54]=createBaseVNode("p",{class:"mt-3"},"Adding Properties manually to every food can be cumbersome. To make it easier you can import the Community curated Open Data Database. If that is not enough you can open the Property Editor trough the context menu on your recipe. ",-1)),a[55]||(a[55]=createBaseVNode("p",{class:"mt-3"},"Here you can view all Foods in a Recipe and their respective properties. You can also quickly assign FDC ID's to both Foods and Property Types and import the data from the FDC Database. ",-1)),a[56]||(a[56]=createBaseVNode("h3",null,"View",-1)),a[57]||(a[57]=createBaseVNode("p",{class:"mt-3"}," Properties are shown below every recipe as soon as you setup your first Property Types. A small warning triangle is shown if there are missing values for one of the Foods in the recipe. ",-1)),a[58]||(a[58]=createBaseVNode("p",{class:"mt-3"}," Clicking on the warning triangle allows you to see the individual property amounts of each food and where Properties or Unit Conversions are missing. ",-1))]),_:1,__:[49,50,51,52,53,54,55,56,57,58]}),createVNode(VWindowItem,{value:"recipe_search"},{default:withCtx(()=>[a[59]||(a[59]=createBaseVNode("p",{class:"mt-3"},"There are two ways to search for Recipes. ",-1)),a[60]||(a[60]=createBaseVNode("p",{class:"mt-3"},"The global quick search can be opened from any page in Tandoor by pressing the search icon in the top right corner. Here you can quickly search trough your recipes and open them. ",-1)),a[61]||(a[61]=createBaseVNode("p",{class:"mt-3"}," If you need a bit more fine tuning for your search you can open the advances search and search for all kinds of different things like keywords, foods or ratings. ",-1)),createVNode(VBtn,{color:"primary",variant:"tonal","prepend-icon":"$search",class:"me-2",to:{name:"SearchPage"}},{default:withCtx(()=>[createTextVNode(toDisplayString$1(i.$t("Search")),1)]),_:1})]),_:1,__:[59,60,61]}),createVNode(VWindowItem,{value:"search_filter"},{default:withCtx(()=>a[62]||(a[62]=[createBaseVNode("p",{class:"mt-3"},"Once you have performed an advanced search you can save the search filter to easily retrieve it later. ",-1),createBaseVNode("p",{class:"mt-3"}," This is done by hitting the save button in the advanced search form. To load a search filter you simply select it from the selection box and hit the load button. ",-1),createBaseVNode("p",{class:"mt-3"}," You can use saved search filters to automatically create recipe books. ",-1)])),_:1,__:[62]}),createVNode(VWindowItem,{value:"books"},{default:withCtx(()=>[a[63]||(a[63]=createBaseVNode("p",{class:"mt-3"},"Books are a a way to structure and explore your recipe collection. They are similar to keywords but show you a bit more details when looking trough them. ",-1)),a[64]||(a[64]=createBaseVNode("p",{class:"mt-3"},"After creating a new Book on the books page you can either add recipes manually or you can add a Saved Search Filter to automatically load recipes into your book based on pre defined search criteria. ",-1)),createVNode(VBtn,{color:"primary",variant:"tonal","prepend-icon":"$books",class:"me-2",to:{name:"BooksPage"}},{default:withCtx(()=>[createTextVNode(toDisplayString$1(i.$t("Books")),1)]),_:1})]),_:1,__:[63,64]}),createVNode(VWindowItem,{value:"shopping"},{default:withCtx(()=>[a[69]||(a[69]=createBaseVNode("p",{class:"mt-3"}," You can add inidivitual Foods (including non Food items of course) or whole recipes to your shopping list. By default only you can see the entries you make, by going to the settings you can share them with other users and they can share them with you. ",-1)),a[70]||(a[70]=createBaseVNode("p",{class:"mt-3"}," You can assign Supermarket Categories to your Foods, either trough the Food Editor or directly by clicking on a Shopping List Entry, to automatically sort the list according to the Category Order defined in the Supermarket. ",-1)),a[71]||(a[71]=createBaseVNode("p",{class:"mt-3"}," Each line in the shopping list can contain multiple entries of the same Food. By clicking on a line you can open a dialog that allows you to see the details and perform various actions. ",-1)),createVNode(VList,null,{default:withCtx(()=>[createVNode(VListItem,null,{default:withCtx(()=>a[65]||(a[65]=[createTextVNode("Postpone: Hide the entry from the shopping list for a certain time (specified in the settings)")])),_:1,__:[65]}),createVNode(VListItem,null,{default:withCtx(()=>a[66]||(a[66]=[createTextVNode("Ignore: Check this Food of the list and do not add it again when adding a recipe to the shopping list")])),_:1,__:[66]}),createVNode(VListItem,null,{default:withCtx(()=>a[67]||(a[67]=[createTextVNode("Edit: Open the Food's Editor")])),_:1,__:[67]}),createVNode(VListItem,null,{default:withCtx(()=>a[68]||(a[68]=[createTextVNode("Delete all: Delete all entries associated with this line.")])),_:1,__:[68]})]),_:1}),a[72]||(a[72]=createBaseVNode("p",{class:"mt-3"}," The Shopping list automatically syncronizes when multiple people have it open so you can shop with multiple devices. ",-1)),a[73]||(a[73]=createBaseVNode("p",{class:"mt-3"}," Trough the menu you can also configure which information you want to be displayed or how the list should be sorted. ",-1)),createVNode(VBtn,{color:"primary",variant:"tonal","prepend-icon":"$shopping",class:"me-2",to:{name:"ShoppingListPage"}},{default:withCtx(()=>[createTextVNode(toDisplayString$1(i.$t("Shopping")),1)]),_:1}),createVNode(VBtn,{color:"primary",variant:"tonal","prepend-icon":"$settings",class:"me-2",to:{name:"ShoppingSettings"}},{default:withCtx(()=>[createTextVNode(toDisplayString$1(i.$t("Settings")),1)]),_:1})]),_:1,__:[69,70,71,72,73]}),createVNode(VWindowItem,{value:"meal_plan"},{default:withCtx(()=>[a[74]||(a[74]=createBaseVNode("p",{class:"mt-3"}," To plan what you want to eat you can create a Meal Plan. Each Meal Plan consists of at least a title or a recipe, a date and a Meal Type. Meal Plan entries a private by default and can either be shared individually or using a preset in the meal plan settings. ",-1)),a[75]||(a[75]=createBaseVNode("p",{class:"mt-3"}," When selecting a Recipe in a Meal Plan you can automatically add its ingredients to the shopping list. You can also manually add more entries trough the shopping tab in the Meal Plan editor. When deleting a Meal Plan all Shopping List Entries associated with that Meal Plan are deleted as well. When changing the number of servings in a Meal Plan the Servings of the connected Recipe in the Shopping list are automatically changed as well. ",-1)),createVNode(VBtn,{color:"primary",variant:"tonal","prepend-icon":"$mealplan",class:"me-2 mt-2",to:{name:"MealPlanPage"}},{default:withCtx(()=>[createTextVNode(toDisplayString$1(i.$t("Meal_Plan")),1)]),_:1}),createBaseVNode("h3",_hoisted_5,toDisplayString$1(i.$t("Meal_Type")),1),a[76]||(a[76]=createBaseVNode("p",{class:"mt-3"}," Meal Types allow you to categorize the different Meal Plan Entries. ",-1)),a[77]||(a[77]=createBaseVNode("p",{class:"mt-3"}," You can also define a time that is used for sorting and calendar integration. ",-1)),createVNode(VBtn,{color:"primary",variant:"tonal","prepend-icon":"fa-solid fa-utensils",class:"me-2 mt-2",to:{name:"ModelListPage",params:{model:"MealType"}}},{default:withCtx(()=>[createTextVNode(toDisplayString$1(i.$t("Meal_Type")),1)]),_:1})]),_:1,__:[74,75,76,77]})]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}))}}),_hoisted_1$2={class:"d-flex align-center"},_sfc_main$6=defineComponent$1({__name:"HelpDialog",setup(e){const t=ref(!1),r=ref(!0);return(i,a)=>(openBlock(),createBlock(VDialog,{"max-width":"1200px",activator:"parent",modelValue:t.value,"onUpdate:modelValue":a[3]||(a[3]=c=>t.value=c)},{default:withCtx(()=>[createVNode(VCard,null,{default:withCtx(()=>[createVNode(_sfc_main$f,{modelValue:t.value,"onUpdate:modelValue":a[1]||(a[1]=c=>t.value=c),title:i.$t("Help"),icon:"fa-solid fa-question"},{content:withCtx(()=>[createBaseVNode("div",_hoisted_1$2,[createVNode(VBtn,{variant:"text",icon:"fa-solid fa-bars",onClick:a[0]||(a[0]=withModifiers(c=>r.value=!r.value,["stop"]))}),createBaseVNode("span",null,toDisplayString$1(i.$t("Help")),1)])]),_:1},8,["modelValue","title"]),createVNode(VDivider),createVNode(VCardText,{class:"pa-0"},{default:withCtx(()=>[createVNode(_sfc_main$7,{modelValue:r.value,"onUpdate:modelValue":a[2]||(a[2]=c=>r.value=c)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1},8,["modelValue"]))}}),makeVAppProps=propsFactory({...makeComponentProps(),...omit(makeLayoutProps(),["fullHeight"]),...makeThemeProps()},"VApp"),VApp=genericComponent()({name:"VApp",props:makeVAppProps(),setup(e,t){let{slots:r}=t;const i=provideTheme(e),{layoutClasses:a,getLayoutItem:c,items:u,layoutRef:d}=createLayout({...e,fullHeight:!0}),{rtlClasses:f}=useRtl();return useRender(()=>createBaseVNode("div",{ref:d,class:normalizeClass(["v-application",i.themeClasses.value,a.value,f.value,e.class]),style:normalizeStyle([e.style])},[createBaseVNode("div",{class:"v-application__wrap"},[r.default?.()])])),{getLayoutItem:c,items:u,theme:i}}}),makeVToolbarTitleProps=propsFactory({text:String,...makeComponentProps(),...makeTagProps()},"VToolbarTitle"),VToolbarTitle=genericComponent()({name:"VToolbarTitle",props:makeVToolbarTitleProps(),setup(e,t){let{slots:r}=t;return useRender(()=>{const i=!!(r.default||r.text||e.text);return createVNode(e.tag,{class:normalizeClass(["v-toolbar-title",e.class]),style:normalizeStyle(e.style)},{default:()=>[i&&createBaseVNode("div",{class:"v-toolbar-title__placeholder"},[r.text?r.text():e.text,r.default?.()])]})}),{}}}),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:{type:Boolean,default:null},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){let{slots:r}=t;const{backgroundColorClasses:i,backgroundColorStyles:a}=useBackgroundColor(()=>e.color),{borderClasses:c}=useBorder(e),{elevationClasses:u}=useElevation(e),{roundedClasses:d}=useRounded(e),{themeClasses:f}=provideTheme(e),{rtlClasses:m}=useRtl(),y=shallowRef(e.extended===null?!!r.extension?.():e.extended),v=computed(()=>parseInt(Number(e.height)+(e.density==="prominent"?Number(e.height):0)-(e.density==="comfortable"?8:0)-(e.density==="compact"?16:0),10)),w=computed(()=>y.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(()=>{const _=!!(e.title||r.title),S=!!(r.image||e.image),b=r.extension?.();return y.value=e.extended===null?!!b:e.extended,createVNode(e.tag,{class:normalizeClass(["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},i.value,c.value,u.value,d.value,f.value,m.value,e.class]),style:normalizeStyle([a.value,e.style])},{default:()=>[S&&createBaseVNode("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(v.value)}}},{default:()=>[createBaseVNode("div",{class:"v-toolbar__content",style:{height:convertToUnit(v.value)}},[r.prepend&&createBaseVNode("div",{class:"v-toolbar__prepend"},[r.prepend?.()]),_&&createVNode(VToolbarTitle,{key:"title",text:e.title},{text:r.title}),r.default?.(),r.append&&createBaseVNode("div",{class:"v-toolbar__append"},[r.append?.()])])]}),createVNode(VDefaultsProvider,{defaults:{VTabs:{height:convertToUnit(w.value)}}},{default:()=>[createVNode(VExpandTransition,null,{default:()=>[y.value&&createBaseVNode("div",{class:"v-toolbar__extension",style:{height:convertToUnit(w.value)}},[b])]})]})]})}),{contentHeight:v,extensionHeight:w}}}),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 i=0,a=0;const c=ref(null),u=shallowRef(0),d=shallowRef(0),f=shallowRef(0),m=shallowRef(!1),y=shallowRef(!1),v=computed(()=>Number(e.scrollThreshold)),w=computed(()=>clamp((v.value-u.value)/v.value||0)),_=()=>{const S=c.value;if(!S||r&&!r.value)return;i=u.value,u.value="window"in S?S.pageYOffset:S.scrollTop;const b=S instanceof Window?document.documentElement.scrollHeight:S.scrollHeight;if(a!==b){a=b;return}y.value=u.value<i,f.value=Math.abs(u.value-v.value)};return watch(y,()=>{d.value=d.value||u.value}),watch(m,()=>{d.value=0}),onMounted(()=>{watch(()=>e.scrollTarget,S=>{const b=S?document.querySelector(S):window;b&&b!==c.value&&(c.value?.removeEventListener("scroll",_),c.value=b,c.value.addEventListener("scroll",_,{passive:!0}))},{immediate:!0})}),onBeforeUnmount(()=>{c.value?.removeEventListener("scroll",_)}),r&&watch(r,_,{immediate:!0}),{scrollThreshold:v,currentScroll:u,currentThreshold:f,isScrollActive:m,scrollRatio:w,isScrollingUp:y,savedScroll:d}}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 i=ref(),a=useProxiedModel(e,"modelValue"),c=computed(()=>{const O=new Set(e.scrollBehavior?.split(" ")??[]);return{hide:O.has("hide"),fullyHide:O.has("fully-hide"),inverted:O.has("inverted"),collapse:O.has("collapse"),elevate:O.has("elevate"),fadeImage:O.has("fade-image")}}),u=computed(()=>{const O=c.value;return O.hide||O.fullyHide||O.inverted||O.collapse||O.elevate||O.fadeImage||!a.value}),{currentScroll:d,scrollThreshold:f,isScrollingUp:m,scrollRatio:y}=useScroll(e,{canScroll:u}),v=toRef$2(()=>c.value.hide||c.value.fullyHide),w=computed(()=>e.collapse||c.value.collapse&&(c.value.inverted?y.value>0:y.value===0)),_=computed(()=>e.flat||c.value.fullyHide&&!a.value||c.value.elevate&&(c.value.inverted?d.value>0:d.value===0)),S=computed(()=>c.value.fadeImage?c.value.inverted?1-y.value:y.value:void 0),b=computed(()=>{if(c.value.hide&&c.value.inverted)return 0;const O=i.value?.contentHeight??0,T=i.value?.extensionHeight??0;return v.value?d.value<f.value||c.value.fullyHide?O+T:O:O+T});useToggleScope(()=>!!e.scrollBehavior,()=>{watchEffect(()=>{v.value?c.value.inverted?a.value=d.value>f.value:a.value=m.value||d.value<f.value:a.value=!0})});const{ssrBootStyles:k}=useSsrBoot(),{layoutItemStyles:C}=useLayoutItem({id:e.name,order:computed(()=>parseInt(e.order,10)),position:toRef$2(()=>e.location),layoutSize:b,elementSize:shallowRef(void 0),active:a,absolute:toRef$2(()=>e.absolute)});return useRender(()=>{const O=VToolbar.filterProps(e);return createVNode(VToolbar,mergeProps({ref:i,class:["v-app-bar",{"v-app-bar--bottom":e.location==="bottom"},e.class],style:[{...C.value,"--v-toolbar-image-opacity":S.value,height:void 0,...k.value},e.style]},O,{collapse:w.value,flat:_.value}),r)}),{}}}),makeVBottomNavigationProps=propsFactory({baseColor:String,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({selectedClass:"v-btn--selected"}),...makeThemeProps()},"VBottomNavigation"),VBottomNavigation=genericComponent()({name:"VBottomNavigation",props:makeVBottomNavigationProps(),emits:{"update:active":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;const{themeClasses:i}=useTheme(),{borderClasses:a}=useBorder(e),{backgroundColorClasses:c,backgroundColorStyles:u}=useBackgroundColor(()=>e.bgColor),{densityClasses:d}=useDensity(e),{elevationClasses:f}=useElevation(e),{roundedClasses:m}=useRounded(e),{ssrBootStyles:y}=useSsrBoot(),v=computed(()=>Number(e.height)-(e.density==="comfortable"?8:0)-(e.density==="compact"?16:0)),w=useProxiedModel(e,"active",e.active),{layoutItemStyles:_}=useLayoutItem({id:e.name,order:computed(()=>parseInt(e.order,10)),position:toRef$2(()=>"bottom"),layoutSize:toRef$2(()=>w.value?v.value:0),elementSize:v,active:w,absolute:toRef$2(()=>e.absolute)});return useGroup(e,VBtnToggleSymbol),provideDefaults({VBtn:{baseColor:toRef$2(()=>e.baseColor),color:toRef$2(()=>e.color),density:toRef$2(()=>e.density),stacked:toRef$2(()=>e.mode!=="horizontal"),variant:"text"}},{scoped:!0}),useRender(()=>createVNode(e.tag,{class:normalizeClass(["v-bottom-navigation",{"v-bottom-navigation--active":w.value,"v-bottom-navigation--grow":e.grow,"v-bottom-navigation--shift":e.mode==="shift"},i.value,c.value,a.value,d.value,f.value,m.value,e.class]),style:normalizeStyle([u.value,_.value,{height:convertToUnit(v.value)},y.value,e.style])},{default:()=>[r.default&&createBaseVNode("div",{class:"v-bottom-navigation__content"},[r.default()])]})),{}}}),makeVBottomSheetProps=propsFactory({inset:Boolean,...makeVDialogProps({transition:"bottom-sheet-transition"})},"VBottomSheet"),VBottomSheet=genericComponent()({name:"VBottomSheet",props:makeVBottomSheetProps(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:r}=t;const i=useProxiedModel(e,"modelValue");return useRender(()=>{const a=VDialog.filterProps(e);return createVNode(VDialog,mergeProps(a,{contentClass:["v-bottom-sheet__content",e.contentClass],modelValue:i.value,"onUpdate:modelValue":c=>i.value=c,class:["v-bottom-sheet",{"v-bottom-sheet--inset":e.inset},e.class],style:e.style}),r)}),{}}}),pluginModules=Object.assign({});let TANDOOR_PLUGINS=[];Object.values(pluginModules).forEach(e=>{e.plugin.disabled||TANDOOR_PLUGINS.push(e.plugin)});function useNavigation(){const{t:e}=useI18n$1();function t(){let a=[{component:VListItem,prependIcon:"$recipes",title:"Home",to:{name:"StartPage",params:{}}},{component:VListItem,prependIcon:"$search",title:e("Search"),to:{name:"SearchPage",params:{}}},{component:VListItem,prependIcon:"$mealplan",title:e("Meal_Plan"),to:{name:"MealPlanPage",params:{}}},{component:VListItem,prependIcon:"$shopping",title:e("Shopping_list"),to:{name:"ShoppingListPage",params:{}}},{component:VListItem,prependIcon:"fas fa-globe",title:e("Import"),to:{name:"RecipeImportPage",params:{}}},{component:VListItem,prependIcon:"$books",title:e("Books"),to:{name:"BooksPage",params:{}}},{component:VListItem,prependIcon:"fa-solid fa-folder-tree",title:e("Database"),to:{name:"DatabasePage",params:{}}}];return TANDOOR_PLUGINS.forEach(c=>{c.navigationDrawer.forEach(u=>{let d=Object.assign({},u);"title"in d&&(d.title=e(d.title)),a.push(d)})}),a}function r(){let a=[{component:VListItem,prependIcon:"fa-solid fa-sliders",title:e("Settings"),to:{name:"SettingsPage",params:{}}},{component:VListItem,prependIcon:"fas fa-globe",title:e("Import"),to:{name:"RecipeImportPage",params:{}}},{component:VListItem,prependIcon:"fa-solid fa-folder-tree",title:e("Database"),to:{name:"DatabasePage",params:{}}},{component:VListItem,prependIcon:"$books",title:e("Books"),to:{name:"BooksPage",params:{}}}];return TANDOOR_PLUGINS.forEach(c=>{c.bottomNavigation.forEach(u=>{let d=Object.assign({},u);"title"in d&&(d.title=e(d.title)),a.push(d)})}),a}function i(){let a=[];return a.push({component:VListItem,prependIcon:"fa-solid fa-sliders",title:e("Settings"),to:{name:"SettingsPage",params:{}}}),a.push({component:VListItem,prependIcon:"fa-solid fa-question",title:e("Help"),to:{name:"HelpPage",params:{}}}),useUserPreferenceStore().userSettings.user.isSuperuser&&a.push({component:VListItem,prependIcon:"fa-solid fa-shield",title:e("Admin"),href:useDjangoUrls().getDjangoUrl("admin")}),useUserPreferenceStore().spaces.length>1&&(a.push({component:VDivider}),useUserPreferenceStore().spaces.forEach(c=>{a.push({component:VListItem,prependIcon:useUserPreferenceStore().activeSpace.id==c.id?"fa-solid fa-circle-dot":"fa-solid fa-circle",title:c.name,onClick:()=>{useUserPreferenceStore().switchSpace(c)}})}),a.push({component:VDivider})),TANDOOR_PLUGINS.forEach(c=>{c.userNavigation.forEach(u=>{let d=Object.assign({},u);"title"in d&&(d.title=e(d.title)),a.push(d)})}),a.push({component:VListItem,prependIcon:"fa-solid fa-arrow-right-from-bracket",title:e("Logout"),href:useDjangoUrls().getDjangoUrl("accounts/logout")}),a}return{getNavigationDrawer:t,getBottomNavigation:r,getUserNavigation:i}}const _hoisted_1$1={class:"text-center w-100"},_hoisted_2$1={class:"text-center w-100"},_hoisted_3$1={class:"text-center w-100"},_sfc_main$5=defineComponent$1({__name:"Tandoor",setup(e){const{lgAndUp:t}=useDisplay(),{getDjangoUrl:r}=useDjangoUrls(),{t:i}=useI18n$1(),a=useTitle(),c=useRouter$1(),u=useMediaQuery("print");return onMounted(()=>{useUserPreferenceStore().init().then(()=>{useUserPreferenceStore().activeSpace.spaceSetupCompleted!=null&&!useUserPreferenceStore().activeSpace.spaceSetupCompleted&&c.push({name:"WelcomePage"})})}),c.afterEach((d,f)=>{d.name=="StartPage"&&useUserPreferenceStore().initCompleted&&!useUserPreferenceStore().activeSpace.spaceSetupCompleted!=null&&!useUserPreferenceStore().activeSpace.spaceSetupCompleted&&useUserPreferenceStore().activeSpace.createdBy.id==useUserPreferenceStore().userSettings.user.id&&c.push({name:"WelcomePage"}),nextTick(()=>{d.meta.title?a.value=i(d.meta.title):a.value="Tandoor"})}),(d,f)=>{const m=resolveComponent("router-link"),y=resolveComponent("router-view");return openBlock(),createBlock(VApp,null,{default:withCtx(()=>[unref(useUserPreferenceStore)().isAuthenticated?createCommentVNode("",!0):(openBlock(),createBlock(VAppBar,{key:0,color:"tandoor",flat:"",density:"comfortable"})),unref(useUserPreferenceStore)().isAuthenticated?(openBlock(),createBlock(VAppBar,{key:1,color:unref(useUserPreferenceStore)().activeSpace.navBgColor?unref(useUserPreferenceStore)().activeSpace.navBgColor:unref(useUserPreferenceStore)().userSettings.navBgColor,flat:"",density:"comfortable","scroll-behavior":unref(useUserPreferenceStore)().userSettings.navSticky?"":"hide"},{default:withCtx(()=>[createVNode(m,{to:{name:"StartPage",params:{}}},{default:withCtx(()=>[unref(useUserPreferenceStore)().userSettings.navShowLogo&&!unref(useUserPreferenceStore)().activeSpace.navLogo?(openBlock(),createBlock(VImg,{key:0,src:_imports_0$1,width:"140px",class:"ms-2"})):createCommentVNode("",!0),unref(useUserPreferenceStore)().userSettings.navShowLogo&&unref(useUserPreferenceStore)().activeSpace.navLogo!=null?(openBlock(),createBlock(VImg,{key:1,src:unref(useUserPreferenceStore)().activeSpace.navLogo.preview,width:"140px",class:"ms-2"},null,8,["src"])):createCommentVNode("",!0)]),_:1}),createVNode(VSpacer),createVNode(_sfc_main$e),createVNode(VBtn,{icon:"$add",class:"d-print-none"},{default:withCtx(()=>[createVNode(VIcon,{icon:"$add",class:"fa-fw"}),createVNode(VMenu,{activator:"parent"},{default:withCtx(()=>[createVNode(VList,null,{default:withCtx(()=>[createVNode(VListItem,{"prepend-icon":"$add",to:{name:"ModelEditPage",params:{model:"recipe"}}},{default:withCtx(()=>[createTextVNode(toDisplayString$1(d.$t("Create Recipe")),1)]),_:1}),createVNode(VListItem,{"prepend-icon":"fa-solid fa-globe",to:{name:"RecipeImportPage",params:{}}},{default:withCtx(()=>[createTextVNode(toDisplayString$1(d.$t("Import Recipe")),1)]),_:1})]),_:1})]),_:1})]),_:1}),createVNode(VAvatar,{color:"primary",class:"me-2 cursor-pointer d-print-none"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(useUserPreferenceStore)().userSettings.user.displayName.charAt(0))+" ",1),createVNode(VMenu,{activator:"parent"},{default:withCtx(()=>[createVNode(VList,{density:"compact"},{default:withCtx(()=>[createVNode(VListItem,{class:"mb-1"},{prepend:withCtx(()=>[createVNode(VAvatar,{color:"primary"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(useUserPreferenceStore)().userSettings.user.displayName.charAt(0)),1)]),_:1})]),default:withCtx(()=>[createVNode(VListItemTitle,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(useUserPreferenceStore)().userSettings.user.displayName),1)]),_:1}),createVNode(VListItemSubtitle,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(useUserPreferenceStore)().activeSpace.name),1)]),_:1})]),_:1}),createVNode(VDivider),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(useNavigation)().getUserNavigation(),v=>(openBlock(),createBlock(resolveDynamicComponent(v.component),mergeProps({ref_for:!0},v,{key:v.title}),null,16))),128))]),_:1})]),_:1})]),_:1})]),_:1},8,["color","scroll-behavior"])):createCommentVNode("",!0),unref(useUserPreferenceStore)().isAuthenticated&&unref(useUserPreferenceStore)().activeSpace.maxRecipes==10&&unref(useUserPreferenceStore)().serverSettings.hosted?(openBlock(),createBlock(VAppBar,{key:2,color:"info",density:"compact"},{default:withCtx(()=>[createBaseVNode("p",_hoisted_1$1,[createTextVNode(toDisplayString$1(d.$t("HostedFreeVersion"))+" ",1),createVNode(VBtn,{color:"success",variant:"flat",href:"https://tandoor.dev/manage"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(d.$t("UpgradeNow")),1)]),_:1})])]),_:1})):createCommentVNode("",!0),unref(useUserPreferenceStore)().isAuthenticated&&unref(isSpaceAboveLimit)(unref(useUserPreferenceStore)().activeSpace)?(openBlock(),createBlock(VAppBar,{key:3,color:"warning",density:"compact"},{default:withCtx(()=>[createBaseVNode("p",_hoisted_2$1,[createTextVNode(toDisplayString$1(d.$t("SpaceLimitExceeded"))+" ",1),createVNode(VBtn,{color:"success",variant:"flat",to:{name:"SpaceSettings"}},{default:withCtx(()=>[createTextVNode(toDisplayString$1(d.$t("SpaceSettings")),1)]),_:1})])]),_:1})):createCommentVNode("",!0),unref(useUserPreferenceStore)().isAuthenticated&&unref(useUserPreferenceStore)().activeSpace.message!=""?(openBlock(),createBlock(VAppBar,{key:4,color:"info",density:"compact"},{default:withCtx(()=>[createBaseVNode("p",_hoisted_3$1,toDisplayString$1(unref(useUserPreferenceStore)().activeSpace.message),1)]),_:1})):createCommentVNode("",!0),createVNode(VMain,null,{default:withCtx(()=>[createVNode(y)]),_:1}),unref(t)&&unref(useUserPreferenceStore)().isAuthenticated&&!unref(u)?(openBlock(),createBlock(VNavigationDrawer,{key:5},{append:withCtx(()=>[createVNode(VList,{nav:""},{default:withCtx(()=>[createVNode(VListItem,{"prepend-icon":"fas fa-sliders",title:d.$t("Settings"),to:{name:"SettingsPage",params:{}}},null,8,["title"]),createVNode(VListItem,{"prepend-icon":"fa-solid fa-heart",link:""},{default:withCtx(()=>[createTextVNode(" Tandoor "+toDisplayString$1(unref(useUserPreferenceStore)().serverSettings.version)+" ",1),createVNode(_sfc_main$6)]),_:1})]),_:1})]),default:withCtx(()=>[createVNode(VList,{nav:""},{default:withCtx(()=>[createVNode(VListItem,{to:{name:"SettingsPage",params:{}}},{prepend:withCtx(()=>[createVNode(VAvatar,{color:"primary"},{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(useUserPreferenceStore)().userSettings.user.displayName.charAt(0)),1)]),_:1})]),default:withCtx(()=>[createVNode(VListItemTitle,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(useUserPreferenceStore)().userSettings.user.displayName),1)]),_:1}),createVNode(VListItemSubtitle,null,{default:withCtx(()=>[createTextVNode(toDisplayString$1(unref(useUserPreferenceStore)().activeSpace.name),1)]),_:1})]),_:1}),createVNode(VDivider),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(useNavigation)().getNavigationDrawer(),v=>(openBlock(),createBlock(resolveDynamicComponent(v.component),mergeProps({ref_for:!0},v,{key:v.title}),null,16))),128)),createVNode(_sfc_main$8)]),_:1})]),_:1})):createCommentVNode("",!0),unref(useUserPreferenceStore)().isAuthenticated&&!unref(t)?(openBlock(),createBlock(VBottomNavigation,{key:6,grow:""},{default:withCtx(()=>[createVNode(VBtn,{value:"recent",to:{name:"StartPage",params:{}}},{default:withCtx(()=>[createVNode(VIcon,{icon:"fa-fw fas fa-book "})]),_:1}),createVNode(VBtn,{value:"favorites",to:"/mealplan"},{default:withCtx(()=>[createVNode(VIcon,{icon:"fa-fw fas fa-calendar-alt"})]),_:1}),createVNode(VBtn,{value:"nearby",to:"/shopping"},{default:withCtx(()=>[createVNode(VIcon,{icon:"fa-fw fas fa-shopping-cart"})]),_:1}),createVNode(VBtn,{value:"nearby"},{default:withCtx(()=>[createVNode(VIcon,{icon:"fa-fw fas fa-bars"}),createVNode(VBottomSheet,{activator:"parent","close-on-content-click":""},{default:withCtx(()=>[createVNode(VList,{nav:""},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(useNavigation)().getBottomNavigation(),v=>(openBlock(),createBlock(resolveDynamicComponent(v.component),mergeProps({ref_for:!0},v,{key:v.title}),null,16))),128))]),_:1})]),_:1})]),_:1})]),_:1})):createCommentVNode("",!0),createVNode(_sfc_main$c,{vertical:!0,location:"top center"})]),_:1})}}}),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",upload:"fas fa-cloud-upload-alt",color:"fas fa-palette",command:"fas fa-keyboard",ctrl:"fas fa-keyboard",shift:"fas fa-arrow-up",alt:"fas fa-keyboard",space:"fas fa-square",enter:"fas fa-reply",arrowup:"fas fa-arrow-up",arrowdown:"fas fa-arrow-down",arrowleft:"fas fa-arrow-left",arrowright:"fas fa-arrow-right",backspace:"fas fa-backspace",play:"fas fa-play",pause:"fas fa-pause",fullscreen:"fas fa-fullscreen",fullscreenExit:"fas fa-compress",volumeHigh:"fas fa-volume-high",volumeMedium:"fas fa-volume-low",volumeLow:"fas fa-volume-off",volumeOff:"fas fa-volume-off"},fa={component:VClassIcon},vuetify=createVuetify({defaults:{VCardActions:{class:"float-right"},VContainer:{maxWidth:"1400px"},VDateInput:{displayFormat:e=>DateTime.fromJSDate(e).toLocaleString()},VSwitch:{color:"primary"},VNumberInput:{decimalSeparator:.1.toLocaleString().replace(/\d/g,"")}},theme:{defaultTheme:"light",themes:{light:{colors:{background:"#f5efea",tandoor:"#ddbf86",primary:"#b98766",secondary:"#b55e4f",success:"#82aa8b",info:"#385f84",warning:"#eaaa21",error:"#a7240e",save:"#82aa8b",create:"#82aa8b",edit:"#385f84",delete:"#a7240e",cancel:"#eaaa21",recipeImagePlaceholderBg:"#ffffff"}},dark:{colors:{tandoor:"#ddbf86",primary:"#b98766",secondary:"#b55e4f",success:"#82aa8b",info:"#385f84",warning:"#eaaa21",error:"#a7240e",save:"#82aa8b",create:"#82aa8b",edit:"#385f84",delete:"#a7240e",cancel:"#eaaa21",recipeImagePlaceholderBg:"#212121"}}}},icons:{defaultSet:"fa",aliases:{...aliases,save:"fa-solid fa-floppy-disk",delete:"fa-solid fa-trash-can",edit:"fa-solid fa-pencil",create:"fa-solid fa-plus",upload:"fa-solid fa-file-arrow-up",search:"fa-solid fa-magnifying-glass",copy:"fa-solid fa-copy",add:"fa-solid fa-plus",close:"fa-solid fa-xmark",help:"fa-solid fa-info",settings:"fa-solid fa-sliders",dragHandle:"fa-solid fa-grip-vertical",spaces:"fa-solid fa-database",shopping:"fa-solid fa-cart-shopping",mealplan:"fa-solid fa-calendar-days",recipes:"fa-solid fa-book",books:"fa-solid fa-book-bookmark",menu:"fa-solid fa-ellipsis-vertical",import:"fa-solid fa-globe",properties:"fa-solid fa-database",automation:"fa-solid fa-robot",ai:"fa-solid fa-wand-magic-sparkles"},sets:{fa}}});function getDefaultExportFromCjs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function getAugmentedNamespace(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var r=function i(){var a=!1;try{a=this instanceof i}catch{}return a?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(i){var a=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(r,i,a.get?a:{enumerable:!0,get:function(){return e[i]}})}),r}var mavonEditor$1={exports:{}};const require$$0=getAugmentedNamespace(vue_esmBundler);var hasRequiredMavonEditor;function requireMavonEditor(){return hasRequiredMavonEditor||(hasRequiredMavonEditor=1,function(module,exports){(function(e,t){module.exports=t(require$$0)})(window,function(__WEBPACK_EXTERNAL_MODULE__0__){return function(e){var t={};function r(i){if(t[i])return t[i].exports;var a=t[i]={i,l:!1,exports:{}};return e[i].call(a.exports,a,a.exports,r),a.l=!0,a.exports}return r.m=e,r.c=t,r.d=function(i,a,c){r.o(i,a)||Object.defineProperty(i,a,{enumerable:!0,get:c})},r.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},r.t=function(i,a){if(1&a&&(i=r(i)),8&a||4&a&&typeof i=="object"&&i&&i.__esModule)return i;var c=Object.create(null);if(r.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:i}),2&a&&typeof i!="string")for(var u in i)r.d(c,u,(function(d){return i[d]}).bind(null,u));return c},r.n=function(i){var a=i&&i.__esModule?function(){return i.default}:function(){return i};return r.d(a,"a",a),a},r.o=function(i,a){return Object.prototype.hasOwnProperty.call(i,a)},r.p="",r(r.s=79)}([function(e,t){e.exports=__WEBPACK_EXTERNAL_MODULE__0__},function(e,t,r){var i=Object.prototype.hasOwnProperty;function a(C,O){return i.call(C,O)}function c(C){return!(C>=55296&&C<=57343)&&!(C>=64976&&C<=65007)&&(65535&C)!=65535&&(65535&C)!=65534&&!(C>=0&&C<=8)&&C!==11&&!(C>=14&&C<=31)&&!(C>=127&&C<=159)&&!(C>1114111)}function u(C){if(C>65535){var O=55296+((C-=65536)>>10),T=56320+(1023&C);return String.fromCharCode(O,T)}return String.fromCharCode(C)}var d=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,f=new RegExp(d.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),m=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,y=r(62),v=/[&<>"]/,w=/[&<>"]/g,_={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function S(C){return _[C]}var b=/[.?*+^$[\]\\(){}|-]/g,k=r(40);t.lib={},t.lib.mdurl=r(63),t.lib.ucmicro=r(147),t.assign=function(C){var O=Array.prototype.slice.call(arguments,1);return O.forEach(function(T){if(T){if(typeof T!="object")throw new TypeError(T+"must be object");Object.keys(T).forEach(function(E){C[E]=T[E]})}}),C},t.isString=function(C){return function(O){return Object.prototype.toString.call(O)}(C)==="[object String]"},t.has=a,t.unescapeMd=function(C){return C.indexOf("\\")<0?C:C.replace(d,"$1")},t.unescapeAll=function(C){return C.indexOf("\\")<0&&C.indexOf("&")<0?C:C.replace(f,function(O,T,E){return T||function(A,P){var M=0;return a(y,P)?y[P]:P.charCodeAt(0)===35&&m.test(P)&&c(M=P[1].toLowerCase()==="x"?parseInt(P.slice(2),16):parseInt(P.slice(1),10))?u(M):A}(O,E)})},t.isValidEntityCode=c,t.fromCodePoint=u,t.escapeHtml=function(C){return v.test(C)?C.replace(w,S):C},t.arrayReplaceAt=function(C,O,T){return[].concat(C.slice(0,O),T,C.slice(O+1))},t.isSpace=function(C){switch(C){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(C){if(C>=8192&&C<=8202)return!0;switch(C){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(C){switch(C){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(C){return k.test(C)},t.escapeRE=function(C){return C.replace(b,"\\$&")},t.normalizeReference=function(C){return C=C.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(C=C.replace(/ẞ/g,"ß")),C.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=(i,a)=>{const c=i.__vccOpts||i;for(const[u,d]of a)c[u]=d;return c}},function(e,t){var r={}.hasOwnProperty;e.exports=function(i,a){return r.call(i,a)}},function(e,t,r){var i=r(6),a=r(16);e.exports=r(7)?function(c,u,d){return i.f(c,u,a(1,d))}:function(c,u,d){return c[u]=d,c}},function(e,t,r){var i=r(14),a=r(47),c=r(28),u=Object.defineProperty;t.f=r(7)?Object.defineProperty:function(d,f,m){if(i(d),f=c(f,!0),i(m),a)try{return u(d,f,m)}catch{}if("get"in m||"set"in m)throw TypeError("Accessors not supported!");return"value"in m&&(d[f]=m.value),d}},function(e,t,r){e.exports=!r(15)(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},function(e,t,r){var i=r(89),a=r(27);e.exports=function(c){return i(a(c))}},function(e,t,r){var i=r(32)("wks"),a=r(17),c=r(2).Symbol,u=typeof c=="function";(e.exports=function(d){return i[d]||(i[d]=u&&c[d]||(u?c:a)("Symbol."+d))}).store=i},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__(134),_markdown2=_interopRequireDefault(_markdown),_mdToolbarLeft=__webpack_require__(70),_mdToolbarLeft2=_interopRequireDefault(_mdToolbarLeft),_mdToolbarRight=__webpack_require__(72),_mdToolbarRight2=_interopRequireDefault(_mdToolbarRight),_autoTextarea=__webpack_require__(218),_autoTextarea2=_interopRequireDefault(_autoTextarea);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}__webpack_require__(224),__webpack_require__(233),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(i){return"https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.3.1/languages/"+i+".min.js"},hljs_css:function(i){return _langHljsCss2.default[i]?"https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.3.1/styles/"+i+".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 i={css:_extraFunction.loadLink,js:_extraFunction.loadScript};i.hasOwnProperty(t)&&i[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",i=t==="boolean",a=0;a<e.length;a++)i&&!this.externalLink||r&&this.externalLink[e[a]]===!1?this.p_external_link[e[a]]=!1:r&&typeof this.externalLink[e[a]]=="function"?this.p_external_link[e[a]]=this.externalLink[e[a]]:this.p_external_link[e[a]]=this.s_external_link[e[a]]},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 i=t.types||[],a=null,c=0;c<i.length;c++)if(i[c]==="Files"){a=r[c];break}if(a&&a.kind==="file"){(0,_util.stopEvent)(e);var u=a.getAsFile();this.$refs.toolbar_left.$imgFilesAdd([u])}}},$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 i=this;if(this.__rFilter==null&&(this.__rFilter=/^image\//i),this.__oFReader=new FileReader,this.__oFReader.onload=function(c){i.markdownIt.image_add(e,c.target.result),t.miniurl=c.target.result,r===!0&&(t._name=t.name.replace(/[\[\]\(\)\+\{\}&\|\\\*^%$#@\-]/g,""),i.insertText(i.getTextareaDom(),{prefix:"!["+t._name+"]("+e+")",subfix:"",str:""}),i.$nextTick(function(){i.$emit("imgAdd",e,t)}))},t){var a=t;this.__rFilter.test(a.type)&&this.__oFReader.readAsDataURL(a)}},$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,i=t.subfix,a=t.str,c=t.type;(0,_extraFunction.insertTextAtCaret)(e,{prefix:r,subfix:i,str:a,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 i=r(10);e.exports=function(a){if(!i(a))throw TypeError(a+" is not an object!");return a}},function(e,t){e.exports=function(r){try{return!!r()}catch{return!0}}},function(e,t){e.exports=function(r,i){return{enumerable:!(1&r),configurable:!(2&r),writable:!(4&r),value:i}}},function(e,t){var r=0,i=Math.random();e.exports=function(a){return"Symbol(".concat(a===void 0?"":a,")_",(++r+i).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(i){var a=this;this.link_type=i,this.link_text=this.link_addr="",this.s_img_link_open=!0,this.$nextTick(function(){a.$refs.linkTextInput.focus()}),this.s_img_dropdown_open=!1},$imgFileListClick:function(i){this.$emit("imgTouch",this.img_file[i])},$changeUrl:function(i,a){this.img_file[i][0]=a},$imgFileAdd:function(i){this.img_file.push([++this.num,i]),this.$emit("imgAdd",this.num,i),this.s_img_dropdown_open=!1},$imgFilesAdd:function(i){for(var a=typeof this.image_filter=="function",c=0;c<i.length;c++)(a&&this.image_filter(i[c])===!0||!a&&i[c].type.match(/^image\//i))&&this.$imgFileAdd(i[c])},$imgAdd:function(i){this.$imgFilesAdd(i.target.files),i.target.value=""},$imgDel:function(i){this.$emit("imgDel",this.img_file[i]),this.img_file.splice(i,1),this.num--,this.s_img_dropdown_open=!1},isEqualName:function(i,a){return!(!this.img_file[a][1]||this.img_file[a][1].name!==i&&this.img_file[a][1]._name!==i)},$imgDelByFilename:function(i){for(var a=0;this.img_file.length>a;){if(this.img_file[a][1]===i||this.isEqualName(i,a))return this.$imgDel(a),!0;a+=1}return!1},$imgAddByFilename:function(i,a){for(var c=0;c<this.img_file.length;c++)if(this.img_file[c][0]===i)return!1;return this.img_file[0][0]=i,this.img_file[0][1]=a,this.img_file[0][2]=i,this.img_file.unshift(["./"+this.num,null]),this.$emit("imgAdd",this.img_file[1][0],a,!1),!0},$imgAddByUrl:function(i,a){for(var c=0;c<this.img_file.length;c++)if(this.img_file[c][0]===i)return!1;return this.img_file[0][0]=i,this.img_file[0][1]=a,this.img_file.unshift(["./"+this.num,null]),!0},$imgUpdateByFilename:function(i,a){for(var c=0;c<this.img_file.length;c++)if(this.img_file[c][0]===i||this.isEqualName(i,c))return this.img_file[c][1]=a,this.$emit("imgAdd",i,a,!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 i=this;this.img_timer=setTimeout(function(){i.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 i=this;this.header_timer=setTimeout(function(){i.s_header_dropdown_open=!1},200)},$clicks:function(i){this.editable&&this.$emit("toolbar_left_click",i)},$click_header:function(i){this.$emit("toolbar_left_click",i),this.s_header_dropdown_open=!1},handleClose:function(i){this.s_img_dropdown_open=!1}},watch:{s_img_link_open:function(i){this.$parent.$el.style.zIndex=i?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(i){this.$emit("toolbar_right_click",i)}}}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default={emits:["update:modelValue"],data:function(){var i=this;return{temp_value:i.modelValue,s_autofocus:function(){if(i.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(i){this.onchange&&this.onchange(this.temp_value,i)}},watch:{modelValue:function(i,a){this.temp_value=i},temp_value:function(i,a){this.$emit("update:modelValue",i)}}}},function(e,t,r){r.r(t);var i=r(11),a=r.n(i);for(var c in r.d(t,"default",function(){return a.a}),i)["default"].indexOf(c)<0&&function(u){r.d(t,u,function(){return i[u]})}(c)},function(e,t,r){r.r(t);var i=r(18),a=r.n(i);for(var c in r.d(t,"default",function(){return a.a}),i)["default"].indexOf(c)<0&&function(u){r.d(t,u,function(){return i[u]})}(c)},function(e,t,r){r.r(t);var i=r(19),a=r.n(i);for(var c in r.d(t,"default",function(){return a.a}),i)["default"].indexOf(c)<0&&function(u){r.d(t,u,function(){return i[u]})}(c)},function(e,t,r){r.r(t);var i=r(20),a=r.n(i);for(var c in r.d(t,"default",function(){return a.a}),i)["default"].indexOf(c)<0&&function(u){r.d(t,u,function(){return i[u]})}(c)},function(e,t,r){t.__esModule=!0;var i=u(r(81)),a=u(r(99)),c=typeof a.default=="function"&&typeof i.default=="symbol"?function(d){return typeof d}:function(d){return d&&typeof a.default=="function"&&d.constructor===a.default&&d!==a.default.prototype?"symbol":typeof d};function u(d){return d&&d.__esModule?d:{default:d}}t.default=typeof a.default=="function"&&c(i.default)==="symbol"?function(d){return d===void 0?"undefined":c(d)}:function(d){return d&&typeof a.default=="function"&&d.constructor===a.default&&d!==a.default.prototype?"symbol":d===void 0?"undefined":c(d)}},function(e,t){var r=Math.ceil,i=Math.floor;e.exports=function(a){return isNaN(a=+a)?0:(a>0?i:r)(a)}},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 i=r(10);e.exports=function(a,c){if(!i(a))return a;var u,d;if(c&&typeof(u=a.toString)=="function"&&!i(d=u.call(a))||typeof(u=a.valueOf)=="function"&&!i(d=u.call(a))||!c&&typeof(u=a.toString)=="function"&&!i(d=u.call(a)))return d;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports={}},function(e,t,r){var i=r(51),a=r(33);e.exports=Object.keys||function(c){return i(c,a)}},function(e,t,r){var i=r(32)("keys"),a=r(17);e.exports=function(c){return i[c]||(i[c]=a(c))}},function(e,t,r){var i=r(13),a=r(2),c=a["__core-js_shared__"]||(a["__core-js_shared__"]={});(e.exports=function(u,d){return c[u]||(c[u]=d!==void 0?d:{})})("versions",[]).push({version:i.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 i=r(6).f,a=r(4),c=r(9)("toStringTag");e.exports=function(u,d,f){u&&!a(u=f?u:u.prototype,c)&&i(u,c,{configurable:!0,value:d})}},function(e,t,r){t.f=r(9)},function(e,t,r){var i=r(2),a=r(13),c=r(12),u=r(35),d=r(6).f;e.exports=function(f){var m=a.Symbol||(a.Symbol=c?{}:i.Symbol||{});f.charAt(0)=="_"||f in m||d(m,f,{value:u.f(f)})}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,r){var i=r(59),a=r(137);for(var c in(t=e.exports=function(u,d){return new a(d).process(u)}).FilterCSS=a,i)t[c]=i[c];typeof window<"u"&&(window.filterCSS=e.exports)},function(e,t){e.exports={indexOf:function(r,i){var a,c;if(Array.prototype.indexOf)return r.indexOf(i);for(a=0,c=r.length;a<c;a++)if(r[a]===i)return a;return-1},forEach:function(r,i,a){var c,u;if(Array.prototype.forEach)return r.forEach(i,a);for(c=0,u=r.length;c<u;c++)i.call(a,r[c],c,r)},trim:function(r){return String.prototype.trim?r.trim():r.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(r){var i=/\s|\n|\t/.exec(r);return i?i.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 i(){this.__rules__=[],this.__cache__=null}i.prototype.__find__=function(a){for(var c=0;c<this.__rules__.length;c++)if(this.__rules__[c].name===a)return c;return-1},i.prototype.__compile__=function(){var a=this,c=[""];a.__rules__.forEach(function(u){u.enabled&&u.alt.forEach(function(d){c.indexOf(d)<0&&c.push(d)})}),a.__cache__={},c.forEach(function(u){a.__cache__[u]=[],a.__rules__.forEach(function(d){d.enabled&&(u&&d.alt.indexOf(u)<0||a.__cache__[u].push(d.fn))})})},i.prototype.at=function(a,c,u){var d=this.__find__(a),f=u||{};if(d===-1)throw new Error("Parser rule not found: "+a);this.__rules__[d].fn=c,this.__rules__[d].alt=f.alt||[],this.__cache__=null},i.prototype.before=function(a,c,u,d){var f=this.__find__(a),m=d||{};if(f===-1)throw new Error("Parser rule not found: "+a);this.__rules__.splice(f,0,{name:c,enabled:!0,fn:u,alt:m.alt||[]}),this.__cache__=null},i.prototype.after=function(a,c,u,d){var f=this.__find__(a),m=d||{};if(f===-1)throw new Error("Parser rule not found: "+a);this.__rules__.splice(f+1,0,{name:c,enabled:!0,fn:u,alt:m.alt||[]}),this.__cache__=null},i.prototype.push=function(a,c,u){var d=u||{};this.__rules__.push({name:a,enabled:!0,fn:c,alt:d.alt||[]}),this.__cache__=null},i.prototype.enable=function(a,c){Array.isArray(a)||(a=[a]);var u=[];return a.forEach(function(d){var f=this.__find__(d);if(f<0){if(c)return;throw new Error("Rules manager: invalid rule name "+d)}this.__rules__[f].enabled=!0,u.push(d)},this),this.__cache__=null,u},i.prototype.enableOnly=function(a,c){Array.isArray(a)||(a=[a]),this.__rules__.forEach(function(u){u.enabled=!1}),this.enable(a,c)},i.prototype.disable=function(a,c){Array.isArray(a)||(a=[a]);var u=[];return a.forEach(function(d){var f=this.__find__(d);if(f<0){if(c)return;throw new Error("Rules manager: invalid rule name "+d)}this.__rules__[f].enabled=!1,u.push(d)},this),this.__cache__=null,u},i.prototype.getRules=function(a){return this.__cache__===null&&this.__compile__(),this.__cache__[a]||[]},e.exports=i},function(e,t,r){function i(a,c,u){this.type=a,this.tag=c,this.attrs=null,this.map=null,this.nesting=u,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}i.prototype.attrIndex=function(a){var c,u,d;if(!this.attrs)return-1;for(u=0,d=(c=this.attrs).length;u<d;u++)if(c[u][0]===a)return u;return-1},i.prototype.attrPush=function(a){this.attrs?this.attrs.push(a):this.attrs=[a]},i.prototype.attrSet=function(a,c){var u=this.attrIndex(a),d=[a,c];u<0?this.attrPush(d):this.attrs[u]=d},i.prototype.attrGet=function(a){var c=this.attrIndex(a),u=null;return c>=0&&(u=this.attrs[c][1]),u},i.prototype.attrJoin=function(a,c){var u=this.attrIndex(a);u<0?this.attrPush([a,c]):this.attrs[u][1]=this.attrs[u][1]+" "+c},e.exports=i},function(e,t,r){e.exports=function(i){var a=[];return a.toString=function(){return this.map(function(c){var u=function(d,f){var m=d[1]||"",y=d[3];if(!y)return m;if(f&&typeof btoa=="function"){var v=(_=y,S=btoa(unescape(encodeURIComponent(JSON.stringify(_)))),b="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(S),"/*# ".concat(b," */")),w=y.sources.map(function(k){return"/*# sourceURL=".concat(y.sourceRoot||"").concat(k," */")});return[m].concat(w).concat([v]).join(`
`)}var _,S,b;return[m].join(`
`)}(c,i);return c[2]?"@media ".concat(c[2]," {").concat(u,"}"):u}).join("")},a.i=function(c,u,d){typeof c=="string"&&(c=[[null,c,""]]);var f={};if(d)for(var m=0;m<this.length;m++){var y=this[m][0];y!=null&&(f[y]=!0)}for(var v=0;v<c.length;v++){var w=[].concat(c[v]);d&&f[w[0]]||(u&&(w[2]?w[2]="".concat(u," and ").concat(w[2]):w[2]=u),a.push(w))}},a}},function(e,t,r){function i(A,P){for(var M=[],D={},F=0;F<P.length;F++){var I=P[F],U=I[0],$={id:A+":"+F,css:I[1],media:I[2],sourceMap:I[3]};D[U]?D[U].parts.push($):M.push(D[U]={id:U,parts:[$]})}return M}r.r(t),r.d(t,"default",function(){return _});var a=typeof document<"u";if(typeof DEBUG<"u"&&DEBUG&&!a)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={},u=a&&(document.head||document.getElementsByTagName("head")[0]),d=null,f=0,m=!1,y=function(){},v=null,w=typeof navigator<"u"&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function _(A,P,M,D){m=M,v=D||{};var F=i(A,P);return S(F),function(I){for(var U=[],$=0;$<F.length;$++){var z=F[$];(q=c[z.id]).refs--,U.push(q)}for(I?S(F=i(A,I)):F=[],$=0;$<U.length;$++){var q;if((q=U[$]).refs===0){for(var G=0;G<q.parts.length;G++)q.parts[G]();delete c[q.id]}}}}function S(A){for(var P=0;P<A.length;P++){var M=A[P],D=c[M.id];if(D){D.refs++;for(var F=0;F<D.parts.length;F++)D.parts[F](M.parts[F]);for(;F<M.parts.length;F++)D.parts.push(k(M.parts[F]));D.parts.length>M.parts.length&&(D.parts.length=M.parts.length)}else{var I=[];for(F=0;F<M.parts.length;F++)I.push(k(M.parts[F]));c[M.id]={id:M.id,refs:1,parts:I}}}}function b(){var A=document.createElement("style");return A.type="text/css",u.appendChild(A),A}function k(A){var P,M,D=document.querySelector('style[data-vue-ssr-id~="'+A.id+'"]');if(D){if(m)return y;D.parentNode.removeChild(D)}if(w){var F=f++;D=d||(d=b()),P=T.bind(null,D,F,!1),M=T.bind(null,D,F,!0)}else D=b(),P=E.bind(null,D),M=function(){D.parentNode.removeChild(D)};return P(A),function(I){if(I){if(I.css===A.css&&I.media===A.media&&I.sourceMap===A.sourceMap)return;P(A=I)}else M()}}var C,O=(C=[],function(A,P){return C[A]=P,C.filter(Boolean).join(`
`)});function T(A,P,M,D){var F=M?"":D.css;if(A.styleSheet)A.styleSheet.cssText=O(P,F);else{var I=document.createTextNode(F),U=A.childNodes;U[P]&&A.removeChild(U[P]),U.length?A.insertBefore(I,U[P]):A.appendChild(I)}}function E(A,P){var M=P.css,D=P.media,F=P.sourceMap;if(D&&A.setAttribute("media",D),v.ssrId&&A.setAttribute("data-vue-ssr-id",P.id),F&&(M+=`
/*# sourceURL=`+F.sources[0]+" */",M+=`
/*# sourceMappingURL=data:application/json;base64,`+btoa(unescape(encodeURIComponent(JSON.stringify(F))))+" */"),A.styleSheet)A.styleSheet.cssText=M;else{for(;A.firstChild;)A.removeChild(A.firstChild);A.appendChild(document.createTextNode(M))}}},function(e,t,r){var i=r(12),a=r(46),c=r(49),u=r(5),d=r(29),f=r(87),m=r(34),y=r(94),v=r(9)("iterator"),w=!([].keys&&"next"in[].keys()),_=function(){return this};e.exports=function(S,b,k,C,O,T,E){f(k,b,C);var A,P,M,D=function(ae){if(!w&&ae in $)return $[ae];switch(ae){case"keys":case"values":return function(){return new k(this,ae)}}return function(){return new k(this,ae)}},F=b+" Iterator",I=O=="values",U=!1,$=S.prototype,z=$[v]||$["@@iterator"]||O&&$[O],q=z||D(O),G=O?I?D("entries"):q:void 0,ee=b=="Array"&&$.entries||z;if(ee&&(M=y(ee.call(new S)))!==Object.prototype&&M.next&&(m(M,F,!0),i||typeof M[v]=="function"||u(M,v,_)),I&&z&&z.name!=="values"&&(U=!0,q=function(){return z.call(this)}),i&&!E||!w&&!U&&$[v]||u($,v,q),d[b]=q,d[F]=_,O)if(A={values:I?q:D("values"),keys:T?q:D("keys"),entries:G},E)for(P in A)P in $||c($,P,A[P]);else a(a.P+a.F*(w||U),b,A);return A}},function(e,t,r){var i=r(2),a=r(13),c=r(85),u=r(5),d=r(4),f=function(m,y,v){var w,_,S,b=m&f.F,k=m&f.G,C=m&f.S,O=m&f.P,T=m&f.B,E=m&f.W,A=k?a:a[y]||(a[y]={}),P=A.prototype,M=k?i:C?i[y]:(i[y]||{}).prototype;for(w in k&&(v=y),v)(_=!b&&M&&M[w]!==void 0)&&d(A,w)||(S=_?M[w]:v[w],A[w]=k&&typeof M[w]!="function"?v[w]:T&&_?c(S,i):E&&M[w]==S?function(D){var F=function(I,U,$){if(this instanceof D){switch(arguments.length){case 0:return new D;case 1:return new D(I);case 2:return new D(I,U)}return new D(I,U,$)}return D.apply(this,arguments)};return F.prototype=D.prototype,F}(S):O&&typeof S=="function"?c(Function.call,S):S,O&&((A.virtual||(A.virtual={}))[w]=S,m&f.R&&P&&!P[w]&&u(P,w,S)))};f.F=1,f.G=2,f.S=4,f.P=8,f.B=16,f.W=32,f.U=64,f.R=128,e.exports=f},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 i=r(10),a=r(2).document,c=i(a)&&i(a.createElement);e.exports=function(u){return c?a.createElement(u):{}}},function(e,t,r){e.exports=r(5)},function(e,t,r){var i=r(14),a=r(88),c=r(33),u=r(31)("IE_PROTO"),d=function(){},f=function(){var m,y=r(48)("iframe"),v=c.length;for(y.style.display="none",r(93).appendChild(y),y.src="javascript:",(m=y.contentWindow.document).open(),m.write("<script>document.F=Object<\/script>"),m.close(),f=m.F;v--;)delete f.prototype[c[v]];return f()};e.exports=Object.create||function(m,y){var v;return m!==null?(d.prototype=i(m),v=new d,d.prototype=null,v[u]=m):v=f(),y===void 0?v:a(v,y)}},function(e,t,r){var i=r(4),a=r(8),c=r(90)(!1),u=r(31)("IE_PROTO");e.exports=function(d,f){var m,y=a(d),v=0,w=[];for(m in y)m!=u&&i(y,m)&&w.push(m);for(;f.length>v;)i(y,m=f[v++])&&(~c(w,m)||w.push(m));return w}},function(e,t){var r={}.toString;e.exports=function(i){return r.call(i).slice(8,-1)}},function(e,t,r){var i=r(27);e.exports=function(a){return Object(i(a))}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,r){var i=r(51),a=r(33).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(c){return i(c,a)}},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(f,m){typeof m!="function"&&(m=function(){});var y=document.querySelectorAll("script[src='"+f+"']");if(y.length>0)return y[0].addEventListener("load",function(){m()}),void m();var v=document.createElement("script"),w=document.getElementsByTagName("head")[0];v.type="text/javascript",v.charset="UTF-8",v.src=f,v.addEventListener?v.addEventListener("load",function(){m()},!1):v.attachEvent&&v.attachEvent("onreadystatechange",function(){window.event.srcElement.readyState==="loaded"&&m()}),w.appendChild(v)},t.loadLink=function(f,m,y){if(typeof m!="function"&&(m=function(){}),document.querySelectorAll("link[href='"+f+"']").length>0)return void m();if(y){var v=document.querySelectorAll("link#"+y);if(v.length)return void(v[0].href=f)}var w=document.createElement("link"),_=document.getElementsByTagName("head")[0];w.rel="stylesheet",w.href=f,y&&(w.id=y),w.addEventListener?w.addEventListener("load",function(){m()},!1):w.attachEvent&&w.attachEvent("onreadystatechange",function(){window.event.srcElement.readyState==="loaded"&&m()}),_.appendChild(w)},t.insertTextAtCaret=function(f,m,y){var v=m.prefix,w=m.subfix,_=m.str;if(m.type,f.focus(),d(f)){var S=f.selectionStart,b=f.selectionEnd,k=f.value;S===b?(f.value=k.substring(0,S)+v+_+w+k.substring(b,k.length),f.selectionStart=S+v.length,f.selectionEnd=S+(_.length+v.length)):k.substring(S-v.length,S)===v&&k.substring(b,b+w.length)===w&&function(C,O,T,E,A){return!(C==="*"&&O==="*"&&T.substring(E-2,E-1)==="*"&&T.substring(A+1,A+2)==="*")}(v,w,k,S,b)?(f.value=k.substring(0,S-v.length)+k.substring(S,b)+k.substring(b+w.length,k.length),f.selectionStart=S-v.length,f.selectionEnd=b-v.length):(f.value=k.substring(0,S)+v+k.substring(S,b)+w+k.substring(b,k.length),f.selectionStart=S+v.length,f.selectionEnd=S+(b-S+v.length))}else alert("Error: Browser version is too low");y.d_value=f.value,f.focus()};var i="```",a="\n```\n",c="language";t.insertCodeBlock=function(f){var m=f.getTextareaDom();if(d(m)){var y=c,v=m.selectionStart,w=m.selectionEnd,_=m.value;v===w?u(y,"",m):function(S){var b=S.selectionStart,k=S.selectionEnd,C=S.value,O=i,T=a;return C.substring(b-1,b)===`
`?O+=`
`:T=`
`+T,C.substring(b-O.length,b)===O&&C.substring(k,k+T.length)===T}(m)?function(S){var b=i,k=a,C=c,O=S.selectionStart,T=S.selectionEnd,E=S.value,A=E.substring(O,T);if(E.substring(O-1,O)===`
`)b+=`
`;else if(b+C+(k=`
`+k)===E.substring(O-b.length,T+k.length)){var P=E.substring(0,O-b.length);return P+=E.substring(T+k.length,E.length),S.value=P,S.selectionStart=O-b.length,void(S.selectionEnd=S.selectionStart)}var M=E.substring(0,O-b.length);M+=A,M+=E.substring(T+k.length,E.length),S.value=M,S.selectionStart=O-b.length,S.selectionEnd=S.selectionStart+A.length}(m):u("",_.substring(v,w),m),f.d_value=m.value,m.focus()}else alert("Error: Browser version is too low")};function u(f,m,y){var v=i,w=a,_=y.selectionStart,S=y.selectionEnd,b=y.value,k=b.substring(0,_);k+=v+f+`
`,k+=m,k+=w,k+=b.substring(S,b.length),y.value=k,y.selectionStart=_+v.length+(f?0:1),y.selectionEnd=y.selectionStart+f.length+m.length}function d(f){return typeof f.selectionStart=="number"&&typeof f.selectionEnd=="number"}t.insertOl=function(f){var m=f.getTextareaDom();if(d(m)){var y=m.selectionStart,v=m.selectionEnd,w=m.value;if(y===v)m.value=w.substring(0,y)+"1. "+w.substring(v,w.length),m.selectionEnd=m.selectionStart=y+3;else{for(var _=y;_>0&&w.substring(_-1,_)!==`
`;)_--;for(var S=w.substring(_,v),b=S.split(`
`),k=0;k<b.length;k++)b[k]=k+1+". "+b[k];var C=b.join(`
`);m.value=w.substring(0,_)+C+w.substring(v,w.length),m.selectionStart=_,m.selectionEnd=v+C.length-S.length}}else alert("Error: Browser version is too low");f.d_value=m.value,m.focus()},t.removeLine=function(f){var m=f.getTextareaDom();if(d(m)){for(var y=m.selectionStart,v=m.selectionEnd,w=m.value,_=y;_>0&&w.substring(_-1,_)!==`
`;)_--;for(var S=v;S<w.length&&w.substring(S,S+1)!==`
`;)S++;S<w.length&&S++,m.value=w.substring(0,_)+w.substring(S,w.length),m.selectionEnd=m.selectionStart=_===0?0:_-1}else alert("Error: Browser version is too low");f.d_value=m.value,m.focus()},t.insertUl=function(f){var m=f.getTextareaDom();if(d(m)){var y=m.selectionStart,v=m.selectionEnd,w=m.value;if(y===v)m.value=w.substring(0,y)+"- "+w.substring(v,w.length),m.selectionEnd=m.selectionStart=y+2;else{for(var _=y;_>0&&w.substring(_-1,_)!==`
`;)_--;var S=w.substring(_,v),b=S.replace(/\n/g,`
- `);b="- "+b,m.value=w.substring(0,_)+b+w.substring(v,w.length),m.selectionStart=_,m.selectionEnd=v+b.length-S.length}}else alert("Error: Browser version is too low");f.d_value=m.value,m.focus()},t.insertTab=function(f,m){m=m?new Array(m).fill(" ").join(""):" ";var y=f.getTextareaDom();if(d(y)){var v=y.selectionStart,w=y.selectionEnd,_=y.value,S=_.substring(0,v).split(`
`).pop();if(S.match(/^\s*[0-9]+\.\s+\S*/)){var b=S.replace(/(\d+)/,1);y.value=_.substring(0,v-b.length)+m+b+_.substring(w,_.length)}else S.match(/^\s*-\s+\S*/)?y.value=_.substring(0,v-S.length)+m+S+_.substring(w,_.length):y.value=_.substring(0,v)+m+_.substring(w,_.length);y.selectionStart=y.selectionEnd=v+m.length}else alert("Error: Browser version is too low");f.d_value=y.value,y.focus()},t.unInsertTab=function(f,m){var y=new RegExp(m?"\\s{"+m+"}":" ");console.log("regTab:",y);var v=f.getTextareaDom();if(d(v)){var w=v.selectionStart,_=v.selectionEnd,S=v.value,b=S.substring(0,w).split(`
`).pop();b.search(y)>=0&&(v.value=S.substring(0,w-b.length)+b.replace(y,"")+S.substring(_,S.length),v.selectionStart=v.selectionEnd=w-(m||1))}else alert("Error: Browser version is too low");f.d_value=v.value,v.focus()},t.insertEnter=function(f,m){var y=f.getTextareaDom();if(d(y)){var v=y.selectionStart,w=y.selectionEnd,_=y.value,S=_.substring(0,v).split(`
`).pop(),b=S.match(/^\s*(?:[0-9]+\.|-)\s+\S+/);if(b){m.preventDefault();var k=b.shift().match(/^\s*(?:[0-9]+\.|-)\s/).shift();if(k.search(/-/)>=0)y.value=_.substring(0,v)+`
`+k+_.substring(w,_.length),y.selectionStart=y.selectionEnd=v+k.length+1;else{var C=k.replace(/(\d+)/,parseInt(k)+1);y.value=_.substring(0,v)+`
`+C+_.substring(w,_.length),y.selectionStart=y.selectionEnd=v+C.length+1}}else{var O=S.match(/^\s*(?:[0-9]+\.|-)\s+$/);if(O){m.preventDefault();var T=O.shift().length;y.value=_.substring(0,v-T)+`
`+_.substring(w,_.length),y.selectionStart=y.selectionEnd=v-T}}}else alert("Error: Browser version is too low");f.d_value=y.value,y.focus()},t.getNavigation=function(f,m){var y=void 0;(y=f.$refs.navigationContent).innerHTML=f.d_render;var v=y.children;if(v.length)for(var w=0;w<v.length;w++)_(v[w],w);function _(S,b,k){/^H[1-6]{1}$/.exec(S.tagName)?S.onclick=function(){var C=f.$refs.vShowContent,O=f.$refs.vNoteEdit;f.s_subfield?f.s_preview_switch&&(O.scrollTop=C.children[b].offsetTop*(O.scrollHeight-O.offsetHeight)/(C.scrollHeight-C.offsetHeight)):f.s_preview_switch&&(C.scrollTop=C.children[b].offsetTop)}:S.style.display="none"}},t.scrollLink=function(f,m){var y=f.srcElement?f.srcElement:f.target,v=y.scrollTop/(y.scrollHeight-y.offsetHeight);m.edit_scroll_height>=0&&y.scrollHeight!==m.edit_scroll_height&&y.scrollHeight-y.offsetHeight-y.scrollTop<=30&&(m.$refs.vNoteEdit.scrollTop=y.scrollHeight-y.offsetHeight,v=1),m.edit_scroll_height=y.scrollHeight,m.$refs.vShowContent.scrollHeight>m.$refs.vShowContent.offsetHeight&&(m.$refs.vShowContent.scrollTop=(m.$refs.vShowContent.scrollHeight-m.$refs.vShowContent.offsetHeight)*v)},t.fullscreenchange=function(f){f.$el.addEventListener("fullscreenchange",function(m){f.$toolbar_right_read_change_status()},!1),f.$el.addEventListener("mozfullscreenchange",function(m){f.$toolbar_right_read_change_status()},!1),f.$el.addEventListener("webkitfullscreenchange",function(m){f.$toolbar_right_read_change_status()},!1),f.$el.addEventListener("msfullscreenchange",function(m){f.$toolbar_right_read_change_status()},!1)},t.windowResize=function(f){function m(){f.$el.clientWidth>768?f.s_subfield=f.subfield:f.s_subfield=!1}m(),window.addEventListener("resize",m)},t.ImagePreviewListener=function(f){f.$refs.vShowContent.addEventListener("click",function(m){var y=(m=m||window.event).srcElement?m.srcElement:m.target;y.tagName==="IMG"&&(f.imageClick!=null?f.imageClick(y):f.d_preview_imgsrc=y.src)})}},function(e,t,r){var i=r(38).FilterCSS,a=r(38).getDefaultWhiteList,c=r(39);function u(){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","loading"],ins:["datetime"],kbd:[],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 d=new i;function f(I){return I.replace(m,"&lt;").replace(y,"&gt;")}var m=/</g,y=/>/g,v=/"/g,w=/&quot;/g,_=/&#([a-zA-Z0-9]*);?/gim,S=/&colon;?/gim,b=/&newline;?/gim,k=/((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,C=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,O=/u\s*r\s*l\s*\(.*/gi;function T(I){return I.replace(v,"&quot;")}function E(I){return I.replace(w,'"')}function A(I){return I.replace(_,function(U,$){return $[0]==="x"||$[0]==="X"?String.fromCharCode(parseInt($.substr(1),16)):String.fromCharCode(parseInt($,10))})}function P(I){return I.replace(S,":").replace(b," ")}function M(I){for(var U="",$=0,z=I.length;$<z;$++)U+=I.charCodeAt($)<32?" ":I.charAt($);return c.trim(U)}function D(I){return I=M(I=P(I=A(I=E(I))))}function F(I){return I=f(I=T(I))}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","loading"],ins:["datetime"],kbd:[],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=u,t.onTag=function(I,U,$){},t.onIgnoreTag=function(I,U,$){},t.onTagAttr=function(I,U,$){},t.onIgnoreTagAttr=function(I,U,$){},t.safeAttrValue=function(I,U,$,z){if($=D($),U==="href"||U==="src"){if(($=c.trim($))==="#")return"#";if($.substr(0,7)!=="http://"&&$.substr(0,8)!=="https://"&&$.substr(0,7)!=="mailto:"&&$.substr(0,4)!=="tel:"&&$.substr(0,11)!=="data:image/"&&$.substr(0,6)!=="ftp://"&&$.substr(0,2)!=="./"&&$.substr(0,3)!=="../"&&$[0]!=="#"&&$[0]!=="/")return""}else if(U==="background"){if(k.lastIndex=0,k.test($))return""}else if(U==="style"){if(C.lastIndex=0,C.test($)||(O.lastIndex=0,O.test($)&&(k.lastIndex=0,k.test($))))return"";z!==!1&&($=(z=z||d).process($))}return $=F($)},t.escapeHtml=f,t.escapeQuote=T,t.unescapeQuote=E,t.escapeHtmlEntities=A,t.escapeDangerHtml5Entities=P,t.clearNonPrintableCharacter=M,t.friendlyAttrValue=D,t.escapeAttrValue=F,t.onIgnoreTagStripAll=function(){return""},t.StripTagBody=function(I,U){typeof U!="function"&&(U=function(){});var $=!Array.isArray(I),z=[],q=!1;return{onIgnoreTag:function(G,ee,ae){if(function(te){return!!$||c.indexOf(I,te)!==-1}(G)){if(ae.isClosing){var oe="[/removed]",Se=ae.position+oe.length;return z.push([q!==!1?q:ae.position,Se]),q=!1,oe}return q||(q=ae.position),"[removed]"}return U(G,ee,ae)},remove:function(G){var ee="",ae=0;return c.forEach(z,function(oe){ee+=G.slice(ae,oe[0]),ae=oe[1]}),ee+=G.slice(ae)}}},t.stripCommentTag=function(I){for(var U="",$=0;$<I.length;){var z=I.indexOf("<!--",$);if(z===-1){U+=I.slice($);break}U+=I.slice($,z);var q=I.indexOf("-->",z);if(q===-1)break;$=q+3}return U},t.stripBlankChar=function(I){var U=I.split("");return(U=U.filter(function($){var z=$.charCodeAt(0);return z!==127&&(!(z<=31)||z===10||z===13)})).join("")},t.attributeWrapSign='"',t.cssFilter=d,t.getDefaultCSSWhiteList=a},function(e,t){function r(){var a={"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 a}var i=/javascript\s*\:/gim;t.whiteList=r(),t.getDefaultWhiteList=r,t.onAttr=function(a,c,u){},t.onIgnoreAttr=function(a,c,u){},t.safeAttrValue=function(a,c){return i.test(c)?"":c}},function(e,t){e.exports={indexOf:function(r,i){var a,c;if(Array.prototype.indexOf)return r.indexOf(i);for(a=0,c=r.length;a<c;a++)if(r[a]===i)return a;return-1},forEach:function(r,i,a){var c,u;if(Array.prototype.forEach)return r.forEach(i,a);for(c=0,u=r.length;c<u;c++)i.call(a,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 i=r(39);function a(v){var w,_=i.spaceIndex(v);return w=_===-1?v.slice(1,-1):v.slice(1,_+1),(w=i.trim(w).toLowerCase()).slice(0,1)==="/"&&(w=w.slice(1)),w.slice(-1)==="/"&&(w=w.slice(0,-1)),w}function c(v){return v.slice(0,2)==="</"}var u=/[^a-zA-Z0-9\\_:.-]/gim;function d(v,w){for(;w<v.length;w++){var _=v[w];if(_!==" ")return _==="="?w:-1}}function f(v,w){for(;w<v.length;w++){var _=v[w];if(_!==" ")return _==="'"||_==='"'?w:-1}}function m(v,w){for(;w>0;w--){var _=v[w];if(_!==" ")return _==="="?w:-1}}function y(v){return function(w){return w[0]==='"'&&w[w.length-1]==='"'||w[0]==="'"&&w[w.length-1]==="'"}(v)?v.substr(1,v.length-2):v}t.parseTag=function(v,w,_){var S="",b=0,k=!1,C=!1,O=0,T=v.length,E="",A="";e:for(O=0;O<T;O++){var P=v.charAt(O);if(k===!1){if(P==="<"){k=O;continue}}else if(C===!1){if(P==="<"){S+=_(v.slice(b,O)),k=O,b=O;continue}if(P===">"||O===T-1){S+=_(v.slice(b,k)),E=a(A=v.slice(k,O+1)),S+=w(k,S.length,E,A,c(A)),b=O+1,k=!1;continue}if(P==='"'||P==="'")for(var M=1,D=v.charAt(O-M);D.trim()===""||D==="=";){if(D==="="){C=P;continue e}D=v.charAt(O-++M)}}else if(P===C){C=!1;continue}}return b<T&&(S+=_(v.substr(b))),S},t.parseAttr=function(v,w){var _=0,S=0,b=[],k=!1,C=v.length;function O(P,M){if(!((P=(P=i.trim(P)).replace(u,"").toLowerCase()).length<1)){var D=w(P,M||"");D&&b.push(D)}}for(var T=0;T<C;T++){var E,A=v.charAt(T);if(k!==!1||A!=="=")if(k===!1||T!==S){if(/\s|\n|\t/.test(A)){if(v=v.replace(/\s|\n|\t/g," "),k===!1){if((E=d(v,T))===-1){O(i.trim(v.slice(_,T))),k=!1,_=T+1;continue}T=E-1;continue}if((E=m(v,T-1))===-1){O(k,y(i.trim(v.slice(_,T)))),k=!1,_=T+1;continue}}}else{if((E=v.indexOf(A,T+1))===-1)break;O(k,i.trim(v.slice(S+1,E))),k=!1,_=(T=E)+1}else k=v.slice(_,T),_=T+1,S=v.charAt(_)==='"'||v.charAt(_)==="'"?_:f(v,T+1)}return _<v.length&&(k===!1?O(v.slice(_)):O(k,y(i.trim(v.slice(_))))),i.trim(b.join(" "))}},function(e,t,r){e.exports=r(142)},function(e,t,r){e.exports.encode=r(143),e.exports.decode=r(144),e.exports.format=r(145),e.exports.parse=r(146)},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 i=`<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^"'=<>\`\\x00-\\x20]+|'[^']*'|"[^"]*"))?)*\\s*\\/?>`,a="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",c=new RegExp("^(?:"+i+"|"+a+"|<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->|<[?].*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),u=new RegExp("^(?:"+i+"|"+a+")");e.exports.HTML_TAG_RE=c,e.exports.HTML_OPEN_CLOSE_TAG_RE=u},function(e,t,r){function i(a,c){var u,d,f,m,y,v=[],w=c.length;for(u=0;u<w;u++)(f=c[u]).marker===126&&f.end!==-1&&(m=c[f.end],(y=a.tokens[f.token]).type="s_open",y.tag="s",y.nesting=1,y.markup="~~",y.content="",(y=a.tokens[m.token]).type="s_close",y.tag="s",y.nesting=-1,y.markup="~~",y.content="",a.tokens[m.token-1].type==="text"&&a.tokens[m.token-1].content==="~"&&v.push(m.token-1));for(;v.length;){for(d=(u=v.pop())+1;d<a.tokens.length&&a.tokens[d].type==="s_close";)d++;u!==--d&&(y=a.tokens[d],a.tokens[d]=a.tokens[u],a.tokens[u]=y)}}e.exports.tokenize=function(a,c){var u,d,f,m,y=a.pos,v=a.src.charCodeAt(y);if(c||v!==126||(f=(d=a.scanDelims(a.pos,!0)).length,m=String.fromCharCode(v),f<2))return!1;for(f%2&&(a.push("text","",0).content=m,f--),u=0;u<f;u+=2)a.push("text","",0).content=m+m,a.delimiters.push({marker:v,length:0,jump:u,token:a.tokens.length-1,end:-1,open:d.can_open,close:d.can_close});return a.pos+=d.length,!0},e.exports.postProcess=function(a){var c,u=a.tokens_meta,d=a.tokens_meta.length;for(i(a,a.delimiters),c=0;c<d;c++)u[c]&&u[c].delimiters&&i(a,u[c].delimiters)}},function(e,t,r){function i(a,c){var u,d,f,m,y,v;for(u=c.length-1;u>=0;u--)(d=c[u]).marker!==95&&d.marker!==42||d.end!==-1&&(f=c[d.end],v=u>0&&c[u-1].end===d.end+1&&c[u-1].token===d.token-1&&c[d.end+1].token===f.token+1&&c[u-1].marker===d.marker,y=String.fromCharCode(d.marker),(m=a.tokens[d.token]).type=v?"strong_open":"em_open",m.tag=v?"strong":"em",m.nesting=1,m.markup=v?y+y:y,m.content="",(m=a.tokens[f.token]).type=v?"strong_close":"em_close",m.tag=v?"strong":"em",m.nesting=-1,m.markup=v?y+y:y,m.content="",v&&(a.tokens[c[u-1].token].content="",a.tokens[c[d.end+1].token].content="",u--))}e.exports.tokenize=function(a,c){var u,d,f=a.pos,m=a.src.charCodeAt(f);if(c||m!==95&&m!==42)return!1;for(d=a.scanDelims(a.pos,m===42),u=0;u<d.length;u++)a.push("text","",0).content=String.fromCharCode(m),a.delimiters.push({marker:m,length:d.length,jump:u,token:a.tokens.length-1,end:-1,open:d.can_open,close:d.can_close});return a.pos+=d.length,!0},e.exports.postProcess=function(a){var c,u=a.tokens_meta,d=a.tokens_meta.length;for(i(a,a.delimiters),c=0;c<d;c++)u[c]&&u[c].delimiters&&i(a,u[c].delimiters)}},function(e,t,r){r.r(t);var i=r(76),a=r(22);for(var c in a)["default"].indexOf(c)<0&&function(f){r.d(t,f,function(){return a[f]})}(c);r(216);var u=r(3);const d=r.n(u)()(a.default,[["render",i.a],["__scopeId","data-v-218640b4"]]);t.default=d},function(e,t,r){var i=r(217);i.__esModule&&(i=i.default),typeof i=="string"&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals),(0,r(44).default)("74ee9320",i,!1,{})},function(e,t,r){r.r(t);var i=r(77),a=r(23);for(var c in a)["default"].indexOf(c)<0&&function(f){r.d(t,f,function(){return a[f]})}(c);var u=r(3);const d=r.n(u)()(a.default,[["render",i.a]]);t.default=d},function(e,t,r){var i=r(220);i.__esModule&&(i=i.default),typeof i=="string"&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals),(0,r(44).default)("4958985a",i,!1,{})},function(e,t,r){var i=r(222);i.__esModule&&(i=i.default),typeof i=="string"&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals),(0,r(44).default)("200b97d3",i,!1,{})},function(e,t,r){r.d(t,"a",function(){return v});var i=r(0);const a={class:"v-note-panel"},c=["innerHTML"],u={class:"v-note-navigation-title"},d={ref:"help"},f=["innerHTML"],m=["src"],y=["innerHTML"];function v(w,_,S,b,k,C){const O=Object(i.resolveComponent)("v-md-toolbar-left"),T=Object(i.resolveComponent)("v-md-toolbar-right"),E=Object(i.resolveComponent)("v-autoTextarea");return Object(i.openBlock)(),Object(i.createElementBlock)("div",{class:Object(i.normalizeClass)([[{fullscreen:k.s_fullScreen,shadow:S.boxShadow}],"v-note-wrapper markdown-body"]),style:Object(i.normalizeStyle)({"box-shadow":S.boxShadow?S.boxShadowStyle:""})},[Object(i.createCommentVNode)("工具栏"),Object(i.withDirectives)(Object(i.createElementVNode)("div",{class:"v-note-op",style:Object(i.normalizeStyle)({background:S.toolbarsBackground})},[Object(i.createVNode)(O,{ref:"toolbar_left",editable:S.editable,transition:S.transition,d_words:k.d_words,onToolbar_left_click:C.toolbar_left_click,onToolbar_left_addlink:C.toolbar_left_addlink,toolbars:S.toolbars,onImgAdd:C.$imgAdd,onImgDel:C.$imgDel,onImgTouch:C.$imgTouch,image_filter:S.imageFilter,class:Object(i.normalizeClass)({transition:S.transition})},{"left-toolbar-before":Object(i.withCtx)(()=>[Object(i.renderSlot)(w.$slots,"left-toolbar-before",{},void 0,!0)]),"left-toolbar-after":Object(i.withCtx)(()=>[Object(i.renderSlot)(w.$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(i.createVNode)(T,{ref:"toolbar_right",d_words:k.d_words,onToolbar_right_click:C.toolbar_right_click,toolbars:S.toolbars,s_subfield:k.s_subfield,s_preview_switch:k.s_preview_switch,s_fullScreen:k.s_fullScreen,s_html_code:k.s_html_code,s_navigation:k.s_navigation,class:Object(i.normalizeClass)({transition:S.transition})},{"right-toolbar-before":Object(i.withCtx)(()=>[Object(i.renderSlot)(w.$slots,"right-toolbar-before",{},void 0,!0)]),"right-toolbar-after":Object(i.withCtx)(()=>[Object(i.renderSlot)(w.$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),[[i.vShow,S.toolbarsFlag]]),Object(i.createCommentVNode)("编辑展示区域"),Object(i.createElementVNode)("div",a,[Object(i.createCommentVNode)("编辑区"),Object(i.createElementVNode)("div",{ref:"vNoteEdit",onScroll:_[1]||(_[1]=(...A)=>C.$v_edit_scroll&&C.$v_edit_scroll(...A)),class:Object(i.normalizeClass)(["v-note-edit divarea-wrapper",{"scroll-style":k.s_scrollStyle,"scroll-style-border-radius":k.s_scrollStyle&&!k.s_preview_switch&&!k.s_html_code,"single-edit":!k.s_preview_switch&&!k.s_html_code,"single-show":!k.s_subfield&&k.s_preview_switch||!k.s_subfield&&k.s_html_code,transition:S.transition}]),onClick:_[2]||(_[2]=(...A)=>C.textAreaFocus&&C.textAreaFocus(...A))},[Object(i.createElementVNode)("div",{class:"content-input-wrapper",style:Object(i.normalizeStyle)({"background-color":S.editorBackground})},[Object(i.createCommentVNode)(" 双栏 "),Object(i.createVNode)(E,{ref:"vNoteTextarea",placeholder:S.placeholder?S.placeholder:k.d_words.start_editor,class:"content-input",fontSize:S.fontSize,lineHeight:"1.5",modelValue:k.d_value,"onUpdate:modelValue":_[0]||(_[0]=A=>k.d_value=A),fullHeight:"",style:Object(i.normalizeStyle)({"background-color":S.editorBackground})},null,8,["placeholder","fontSize","modelValue","style"])],4)],34),Object(i.createCommentVNode)("展示区"),Object(i.withDirectives)(Object(i.createElementVNode)("div",{class:Object(i.normalizeClass)([{"single-show":!k.s_subfield&&k.s_preview_switch||!k.s_subfield&&k.s_html_code},"v-note-show"])},[Object(i.withDirectives)(Object(i.createElementVNode)("div",{ref:"vShowContent",innerHTML:k.d_render,class:Object(i.normalizeClass)([{"scroll-style":k.s_scrollStyle,"scroll-style-border-radius":k.s_scrollStyle},"v-show-content"]),style:Object(i.normalizeStyle)({"background-color":S.previewBackground})},null,14,c),[[i.vShow,!k.s_html_code]]),Object(i.withDirectives)(Object(i.createElementVNode)("div",{class:Object(i.normalizeClass)([{"scroll-style":k.s_scrollStyle,"scroll-style-border-radius":k.s_scrollStyle},"v-show-content-html"]),style:Object(i.normalizeStyle)({"background-color":S.previewBackground})},Object(i.toDisplayString)(k.d_render),7),[[i.vShow,k.s_html_code]])],2),[[i.vShow,k.s_preview_switch||k.s_html_code]]),Object(i.createCommentVNode)("标题导航"),Object(i.createVNode)(i.Transition,{name:"slideTop",persisted:""},{default:Object(i.withCtx)(()=>[Object(i.withDirectives)(Object(i.createElementVNode)("div",{class:Object(i.normalizeClass)(["v-note-navigation-wrapper",{transition:S.transition}])},[Object(i.createElementVNode)("div",u,[Object(i.createTextVNode)(Object(i.toDisplayString)(k.d_words.navigation_title),1),Object(i.createElementVNode)("i",{onClick:_[3]||(_[3]=A=>C.toolbar_right_click("navigation")),class:"fa fa-mavon-times v-note-navigation-close","aria-hidden":"true"})]),Object(i.createElementVNode)("div",{ref:"navigationContent",class:Object(i.normalizeClass)(["v-note-navigation-content",{"scroll-style":k.s_scrollStyle}])},null,2)],2),[[i.vShow,k.s_navigation]])]),_:1})]),Object(i.createCommentVNode)("帮助文档"),Object(i.createVNode)(i.Transition,{name:"fade"},{default:Object(i.withCtx)(()=>[Object(i.createElementVNode)("div",d,[k.s_help?(Object(i.openBlock)(),Object(i.createElementBlock)("div",{key:0,onClick:_[5]||(_[5]=Object(i.withModifiers)(A=>C.toolbar_right_click("help"),["self"])),class:"v-note-help-wrapper"},[Object(i.createElementVNode)("div",{class:Object(i.normalizeClass)(["v-note-help-content markdown-body",{shadow:S.boxShadow}])},[Object(i.createElementVNode)("i",{onClick:_[4]||(_[4]=Object(i.withModifiers)(A=>C.toolbar_right_click("help"),["stop","prevent"])),class:"fa fa-mavon-times","aria-hidden":"true"}),Object(i.createElementVNode)("div",{class:"scroll-style v-note-help-show",innerHTML:k.d_help},null,8,f)],2)])):Object(i.createCommentVNode)("v-if",!0)],512)]),_:1}),Object(i.createCommentVNode)(" 预览图片 "),Object(i.createVNode)(i.Transition,{name:"fade"},{default:Object(i.withCtx)(()=>[k.d_preview_imgsrc?(Object(i.openBlock)(),Object(i.createElementBlock)("div",{key:0,onClick:_[6]||(_[6]=A=>k.d_preview_imgsrc=null),class:"v-note-img-wrapper"},[Object(i.createElementVNode)("img",{src:k.d_preview_imgsrc,alt:"none"},null,8,m)])):Object(i.createCommentVNode)("v-if",!0)]),_:1}),Object(i.createCommentVNode)("阅读模式"),Object(i.createElementVNode)("div",{class:Object(i.normalizeClass)([{show:k.s_readmodel},"v-note-read-model scroll-style"]),ref:"vReadModel"},[Object(i.createElementVNode)("div",{ref:"vNoteReadContent",class:"v-note-read-content",innerHTML:k.d_render},null,8,y)],2)],6)}},function(e,t,r){r.d(t,"a",function(){return ye});var i=r(0);const a={class:"v-left-item"},c=["disabled","title"],u=["disabled","title"],d=["disabled","title"],f={key:3,class:"op-icon-divider"},m=["disabled","title"],y=["disabled","title"],v=["disabled","title"],w=["disabled","title"],_=["disabled","title"],S=["disabled","title"],b=["disabled","title"],k=["disabled","title"],C={key:12,class:"op-icon-divider"},O=["disabled","title"],T=["disabled","title"],E=["disabled","title"],A={key:16,class:"op-icon-divider"},P=["disabled","title"],M=["disabled"],D={class:"dropdown-item",style:{overflow:"hidden"}},F=["title","onClick"],I=["onClick","title"],U=["src"],$=["disabled","title"],z=["disabled","title"],q={key:21,class:"op-icon-divider"},G=["title"],ee=["title"],ae=["title"],oe=["title"],Se={key:0,class:"add-image-link-wrapper"},te={class:"add-image-link"},se={class:"title"},ne={class:"link-text input-wrapper"},le=["placeholder"],Oe={class:"link-addr input-wrapper"},ke=["placeholder"];function ye(re,ue,ie,pe,Te,Pe){return Object(i.openBlock)(),Object(i.createElementBlock)("div",a,[Object(i.renderSlot)(re.$slots,"left-toolbar-before",{},void 0,!0),ie.toolbars.bold?(Object(i.openBlock)(),Object(i.createElementBlock)("button",{key:0,disabled:!ie.editable,type:"button",onClick:ue[0]||(ue[0]=B=>Pe.$clicks("bold")),class:"op-icon fa fa-mavon-bold","aria-hidden":"true",title:ie.d_words.tl_bold+" (ctrl+b)"},null,8,c)):Object(i.createCommentVNode)("v-if",!0),ie.toolbars.italic?(Object(i.openBlock)(),Object(i.createElementBlock)("button",{key:1,disabled:!ie.editable,type:"button",onClick:ue[1]||(ue[1]=B=>Pe.$clicks("italic")),class:"op-icon fa fa-mavon-italic","aria-hidden":"true",title:ie.d_words.tl_italic+" (ctrl+i)"},null,8,u)):Object(i.createCommentVNode)("v-if",!0),ie.toolbars.header?(Object(i.openBlock)(),Object(i.createElementBlock)("div",{key:2,class:Object(i.normalizeClass)([{selected:Te.s_header_dropdown_open},"op-icon fa fa-mavon-header dropdown dropdown-wrapper"]),disabled:!ie.editable,type:"button",onMouseleave:ue[10]||(ue[10]=(...B)=>Pe.$mouseleave_header_dropdown&&Pe.$mouseleave_header_dropdown(...B)),onMouseenter:ue[11]||(ue[11]=(...B)=>Pe.$mouseenter_header_dropdown&&Pe.$mouseenter_header_dropdown(...B)),"aria-hidden":"true",title:ie.d_words.tl_header+" (ctrl+h)"},[Object(i.createVNode)(i.Transition,{name:"fade",persisted:""},{default:Object(i.withCtx)(()=>[Object(i.withDirectives)(Object(i.createElementVNode)("div",{class:Object(i.normalizeClass)(["op-header popup-dropdown",{transition:ie.transition}]),onMouseenter:ue[8]||(ue[8]=(...B)=>Pe.$mouseenter_header_dropdown&&Pe.$mouseenter_header_dropdown(...B)),onMouseleave:ue[9]||(ue[9]=(...B)=>Pe.$mouseleave_header_dropdown&&Pe.$mouseleave_header_dropdown(...B))},[Object(i.createElementVNode)("div",{title:"#",class:"dropdown-item",onClick:ue[2]||(ue[2]=Object(i.withModifiers)(B=>Pe.$click_header("header1"),["stop"]))},[Object(i.createElementVNode)("span",null,Object(i.toDisplayString)(ie.d_words.tl_header_one),1)]),Object(i.createElementVNode)("div",{title:"## ",class:"dropdown-item",onClick:ue[3]||(ue[3]=Object(i.withModifiers)(B=>Pe.$click_header("header2"),["stop"]))},[Object(i.createElementVNode)("span",null,Object(i.toDisplayString)(ie.d_words.tl_header_two),1)]),Object(i.createElementVNode)("div",{title:"### ",class:"dropdown-item",onClick:ue[4]||(ue[4]=Object(i.withModifiers)(B=>Pe.$click_header("header3"),["stop"]))},[Object(i.createElementVNode)("span",null,Object(i.toDisplayString)(ie.d_words.tl_header_three),1)]),Object(i.createElementVNode)("div",{title:"#### ",class:"dropdown-item",onClick:ue[5]||(ue[5]=Object(i.withModifiers)(B=>Pe.$click_header("header4"),["stop"]))},[Object(i.createElementVNode)("span",null,Object(i.toDisplayString)(ie.d_words.tl_header_four),1)]),Object(i.createElementVNode)("div",{title:"##### ",class:"dropdown-item",onClick:ue[6]||(ue[6]=Object(i.withModifiers)(B=>Pe.$click_header("header5"),["stop"]))},[Object(i.createElementVNode)("span",null,Object(i.toDisplayString)(ie.d_words.tl_header_five),1)]),Object(i.createElementVNode)("div",{title:"###### ",class:"dropdown-item",onClick:ue[7]||(ue[7]=Object(i.withModifiers)(B=>Pe.$click_header("header6"),["stop"]))},[Object(i.createElementVNode)("span",null,Object(i.toDisplayString)(ie.d_words.tl_header_six),1)])],34),[[i.vShow,Te.s_header_dropdown_open]])]),_:1})],42,d)):Object(i.createCommentVNode)("v-if",!0),ie.toolbars.header||ie.toolbars.italic||ie.toolbars.bold?(Object(i.openBlock)(),Object(i.createElementBlock)("span",f)):Object(i.createCommentVNode)("v-if",!0),ie.toolbars.underline?(Object(i.openBlock)(),Object(i.createElementBlock)("button",{key:4,disabled:!ie.editable,type:"button",onClick:ue[12]||(ue[12]=B=>Pe.$clicks("underline")),class:"op-icon fa fa-mavon-underline",title:ie.d_words.tl_underline+" (ctrl+u)","aria-hidden":"true"},null,8,m)):Object(i.createCommentVNode)("v-if",!0),ie.toolbars.strikethrough?(Object(i.openBlock)(),Object(i.createElementBlock)("button",{key:5,disabled:!ie.editable,type:"button",onClick:ue[13]||(ue[13]=B=>Pe.$clicks("strikethrough")),class:"op-icon fa fa-mavon-strikethrough",title:ie.d_words.tl_strikethrough+" (ctrl+shift+d)","aria-hidden":"true"},null,8,y)):Object(i.createCommentVNode)("v-if",!0),ie.toolbars.mark?(Object(i.openBlock)(),Object(i.createElementBlock)("button",{key:6,disabled:!ie.editable,type:"button",onClick:ue[14]||(ue[14]=B=>Pe.$clicks("mark")),class:"op-icon fa fa-mavon-thumb-tack",title:ie.d_words.tl_mark+" (ctrl+m)","aria-hidden":"true"},null,8,v)):Object(i.createCommentVNode)("v-if",!0),ie.toolbars.superscript?(Object(i.openBlock)(),Object(i.createElementBlock)("button",{key:7,disabled:!ie.editable,type:"button",onClick:ue[15]||(ue[15]=B=>Pe.$clicks("superscript")),class:"op-icon fa fa-mavon-superscript","aria-hidden":"true",title:ie.d_words.tl_superscript+" (ctrl+alt+s)"},null,8,w)):Object(i.createCommentVNode)("v-if",!0),ie.toolbars.subscript?(Object(i.openBlock)(),Object(i.createElementBlock)("button",{key:8,disabled:!ie.editable,type:"button",onClick:ue[16]||(ue[16]=B=>Pe.$clicks("subscript")),class:"op-icon fa fa-mavon-subscript","aria-hidden":"true",title:ie.d_words.tl_subscript+" (ctrl+shift+s)"},null,8,_)):Object(i.createCommentVNode)("v-if",!0),ie.toolbars.alignleft?(Object(i.openBlock)(),Object(i.createElementBlock)("button",{key:9,disabled:!ie.editable,type:"button",onClick:ue[17]||(ue[17]=B=>Pe.$clicks("alignleft")),class:"op-icon fa fa-mavon-align-left","aria-hidden":"true",title:ie.d_words.tl_alignleft+" (ctrl+l)"},null,8,S)):Object(i.createCommentVNode)("v-if",!0),ie.toolbars.aligncenter?(Object(i.openBlock)(),Object(i.createElementBlock)("button",{key:10,disabled:!ie.editable,type:"button",onClick:ue[18]||(ue[18]=B=>Pe.$clicks("aligncenter")),class:"op-icon fa fa-mavon-align-center","aria-hidden":"true",title:ie.d_words.tl_aligncenter+" (ctrl+e)"},null,8,b)):Object(i.createCommentVNode)("v-if",!0),ie.toolbars.alignright?(Object(i.openBlock)(),Object(i.createElementBlock)("button",{key:11,disabled:!ie.editable,type:"button",onClick:ue[19]||(ue[19]=B=>Pe.$clicks("alignright")),class:"op-icon fa fa-mavon-align-right","aria-hidden":"true",title:ie.d_words.tl_alignright+" (ctrl+r)"},null,8,k)):Object(i.createCommentVNode)("v-if",!0),ie.toolbars.superscript||ie.toolbars.subscript||ie.toolbars.underline||ie.toolbars.strikethrough||ie.toolbars.mark?(Object(i.openBlock)(),Object(i.createElementBlock)("span",C)):Object(i.createCommentVNode)("v-if",!0),ie.toolbars.quote?(Object(i.openBlock)(),Object(i.createElementBlock)("button",{key:13,disabled:!ie.editable,type:"button",onClick:ue[20]||(ue[20]=B=>Pe.$clicks("quote")),class:"op-icon fa fa-mavon-quote-left","aria-hidden":"true",title:ie.d_words.tl_quote+" (ctrl+q)"},null,8,O)):Object(i.createCommentVNode)("v-if",!0),ie.toolbars.ol?(Object(i.openBlock)(),Object(i.createElementBlock)("button",{key:14,disabled:!ie.editable,type:"button",onClick:ue[21]||(ue[21]=B=>Pe.$clicks("ol")),class:"op-icon fa fa-mavon-list-ol","aria-hidden":"true",title:ie.d_words.tl_ol+" (ctrl+o)"},null,8,T)):Object(i.createCommentVNode)("v-if",!0),ie.toolbars.ul?(Object(i.openBlock)(),Object(i.createElementBlock)("button",{key:15,disabled:!ie.editable,type:"button",onClick:ue[22]||(ue[22]=B=>Pe.$clicks("ul")),class:"op-icon fa fa-mavon-list-ul","aria-hidden":"true",title:ie.d_words.tl_ul+" (ctrl+alt+u)"},null,8,E)):Object(i.createCommentVNode)("v-if",!0),ie.toolbars.ul||ie.toolbars.ol||ie.toolbars.quote?(Object(i.openBlock)(),Object(i.createElementBlock)("span",A)):Object(i.createCommentVNode)("v-if",!0),ie.toolbars.link?(Object(i.openBlock)(),Object(i.createElementBlock)("button",{key:17,disabled:!ie.editable,type:"button",onClick:ue[23]||(ue[23]=Object(i.withModifiers)(B=>Pe.$toggle_imgLinkAdd("link"),["stop"])),class:"op-icon fa fa-mavon-link","aria-hidden":"true",title:ie.d_words.tl_link+" (ctrl+l)"},null,8,P)):Object(i.createCommentVNode)("v-if",!0),ie.toolbars.imagelink?(Object(i.openBlock)(),Object(i.createElementBlock)("div",{key:18,disabled:!ie.editable,class:Object(i.normalizeClass)([{selected:Te.s_img_dropdown_open},"op-icon fa fa-mavon-picture-o dropdown dropdown-wrapper"]),type:"button",onMouseleave:ue[28]||(ue[28]=(...B)=>Pe.$mouseleave_img_dropdown&&Pe.$mouseleave_img_dropdown(...B)),onMouseenter:ue[29]||(ue[29]=(...B)=>Pe.$mouseenter_img_dropdown&&Pe.$mouseenter_img_dropdown(...B)),"aria-hidden":"true"},[Object(i.createVNode)(i.Transition,{name:"fade",persisted:""},{default:Object(i.withCtx)(()=>[Object(i.withDirectives)(Object(i.createElementVNode)("div",{class:Object(i.normalizeClass)(["op-image popup-dropdown",{transition:ie.transition}]),onMouseleave:ue[26]||(ue[26]=(...B)=>Pe.$mouseleave_img_dropdown&&Pe.$mouseleave_img_dropdown(...B)),onMouseenter:ue[27]||(ue[27]=(...B)=>Pe.$mouseenter_img_dropdown&&Pe.$mouseenter_img_dropdown(...B))},[Object(i.createElementVNode)("div",{class:"dropdown-item",onClick:ue[24]||(ue[24]=Object(i.withModifiers)(B=>Pe.$toggle_imgLinkAdd("imagelink"),["stop"]))},[Object(i.createElementVNode)("span",null,Object(i.toDisplayString)(ie.d_words.tl_image),1)]),Object(i.createElementVNode)("div",D,[Object(i.createElementVNode)("input",{type:"file",accept:"image/gif,image/jpeg,image/jpg,image/png,image/svg",onChange:ue[25]||(ue[25]=B=>Pe.$imgAdd(B)),multiple:"multiple"},null,32),Object(i.createTextVNode)(Object(i.toDisplayString)(ie.d_words.tl_upload),1)]),(Object(i.openBlock)(!0),Object(i.createElementBlock)(i.Fragment,null,Object(i.renderList)(Te.img_file,(B,H)=>(Object(i.openBlock)(),Object(i.createElementBlock)(i.Fragment,{key:H},[B&&B[1]?(Object(i.openBlock)(),Object(i.createElementBlock)("div",{key:0,class:"dropdown-item dropdown-images",title:B[1].name,onClick:Object(i.withModifiers)(he=>Pe.$imgFileListClick(H),["stop"])},[Object(i.createElementVNode)("span",null,Object(i.toDisplayString)(B[1].name),1),Object(i.createElementVNode)("button",{type:"button",onClick:Object(i.withModifiers)(he=>Pe.$imgDel(H),["stop"]),class:"op-icon fa fa-mavon-times","aria-hidden":"true",title:ie.d_words.tl_upload_remove},null,8,I),Object(i.createCommentVNode)(" 缩略图展示 "),Object(i.createElementVNode)("img",{class:Object(i.normalizeClass)(["image-show",{transition:ie.transition}]),src:B[1].miniurl,alt:"none"},null,10,U)],8,F)):Object(i.createCommentVNode)("v-if",!0)],64))),128))],34),[[i.vShow,Te.s_img_dropdown_open]])]),_:1})],42,M)):Object(i.createCommentVNode)("v-if",!0),ie.toolbars.code?(Object(i.openBlock)(),Object(i.createElementBlock)("button",{key:19,disabled:!ie.editable,type:"button",onClick:ue[30]||(ue[30]=B=>Pe.$clicks("code")),class:"op-icon fa fa-mavon-code","aria-hidden":"true",title:ie.d_words.tl_code+" (ctrl+alt+c)"},null,8,$)):Object(i.createCommentVNode)("v-if",!0),ie.toolbars.table?(Object(i.openBlock)(),Object(i.createElementBlock)("button",{key:20,disabled:!ie.editable,type:"button",onClick:ue[31]||(ue[31]=B=>Pe.$clicks("table")),class:"op-icon fa fa-mavon-table","aria-hidden":"true",title:ie.d_words.tl_table+" (ctrl+alt+t)"},null,8,z)):Object(i.createCommentVNode)("v-if",!0),ie.toolbars.link||ie.toolbars.imagelink||ie.toolbars.code||ie.toolbars.table?(Object(i.openBlock)(),Object(i.createElementBlock)("span",q)):Object(i.createCommentVNode)("v-if",!0),ie.toolbars.undo?(Object(i.openBlock)(),Object(i.createElementBlock)("button",{key:22,type:"button",onClick:ue[32]||(ue[32]=B=>Pe.$clicks("undo")),class:"op-icon fa fa-mavon-undo","aria-hidden":"true",title:ie.d_words.tl_undo+" (ctrl+z)"},null,8,G)):Object(i.createCommentVNode)("v-if",!0),ie.toolbars.redo?(Object(i.openBlock)(),Object(i.createElementBlock)("button",{key:23,type:"button",onClick:ue[33]||(ue[33]=B=>Pe.$clicks("redo")),class:"op-icon fa fa-mavon-repeat","aria-hidden":"true",title:ie.d_words.tl_redo+" (ctrl+y)"},null,8,ee)):Object(i.createCommentVNode)("v-if",!0),ie.toolbars.trash?(Object(i.openBlock)(),Object(i.createElementBlock)("button",{key:24,type:"button",onClick:ue[34]||(ue[34]=B=>Pe.$clicks("trash")),class:"op-icon fa fa-mavon-trash-o","aria-hidden":"true",title:ie.d_words.tl_trash+" (ctrl+breakspace)"},null,8,ae)):Object(i.createCommentVNode)("v-if",!0),ie.toolbars.save?(Object(i.openBlock)(),Object(i.createElementBlock)("button",{key:25,type:"button",onClick:ue[35]||(ue[35]=B=>Pe.$clicks("save")),class:"op-icon fa fa-mavon-floppy-o","aria-hidden":"true",title:ie.d_words.tl_save+" (ctrl+s)"},null,8,oe)):Object(i.createCommentVNode)("v-if",!0),Object(i.renderSlot)(re.$slots,"left-toolbar-after",{},void 0,!0),Object(i.createCommentVNode)(" 添加image链接 "),Object(i.createVNode)(i.Transition,{name:"fade"},{default:Object(i.withCtx)(()=>[Te.s_img_link_open?(Object(i.openBlock)(),Object(i.createElementBlock)("div",Se,[Object(i.createElementVNode)("div",te,[Object(i.createElementVNode)("i",{onClick:ue[36]||(ue[36]=Object(i.withModifiers)(B=>Te.s_img_link_open=!1,["stop","prevent"])),class:"fa fa-mavon-times","aria-hidden":"true"}),Object(i.createElementVNode)("h3",se,Object(i.toDisplayString)(Te.link_type=="link"?ie.d_words.tl_popup_link_title:ie.d_words.tl_popup_img_link_title),1),Object(i.createElementVNode)("div",ne,[Object(i.withDirectives)(Object(i.createElementVNode)("input",{ref:"linkTextInput",type:"text","onUpdate:modelValue":ue[37]||(ue[37]=B=>Te.link_text=B),placeholder:Te.link_type=="link"?ie.d_words.tl_popup_link_text:ie.d_words.tl_popup_img_link_text},null,8,le),[[i.vModelText,Te.link_text]])]),Object(i.createElementVNode)("div",Oe,[Object(i.withDirectives)(Object(i.createElementVNode)("input",{type:"text","onUpdate:modelValue":ue[38]||(ue[38]=B=>Te.link_addr=B),placeholder:Te.link_type=="link"?ie.d_words.tl_popup_link_addr:ie.d_words.tl_popup_img_link_addr},null,8,ke),[[i.vModelText,Te.link_addr]])]),Object(i.createElementVNode)("div",{class:"op-btn cancel",onClick:ue[39]||(ue[39]=Object(i.withModifiers)(B=>Te.s_img_link_open=!1,["stop"]))},Object(i.toDisplayString)(ie.d_words.tl_popup_link_cancel),1),Object(i.createElementVNode)("div",{class:"op-btn sure",onClick:ue[40]||(ue[40]=Object(i.withModifiers)(B=>Pe.$imgLinkAdd(),["stop"]))},Object(i.toDisplayString)(ie.d_words.tl_popup_link_sure),1)])])):Object(i.createCommentVNode)("v-if",!0)]),_:1})])}},function(e,t,r){r.d(t,"a",function(){return C});var i=r(0);const a={class:"v-right-item"},c=["title"],u=["title"],d=["title"],f=["title"],m=["title"],y=["title"],v=["title"],w=["title"],_={key:8,class:"op-icon-divider"},S=["title"],b=["title"],k=["title"];function C(O,T,E,A,P,M){return Object(i.openBlock)(),Object(i.createElementBlock)("div",a,[Object(i.renderSlot)(O.$slots,"right-toolbar-before"),E.toolbars.navigation?Object(i.withDirectives)((Object(i.openBlock)(),Object(i.createElementBlock)("button",{key:0,type:"button",onClick:T[0]||(T[0]=D=>M.$clicks("navigation")),class:"op-icon fa fa-mavon-bars","aria-hidden":"true",title:E.d_words.tl_navigation_on+" (F8)"},null,8,c)),[[i.vShow,!E.s_navigation]]):Object(i.createCommentVNode)("v-if",!0),E.toolbars.navigation?Object(i.withDirectives)((Object(i.openBlock)(),Object(i.createElementBlock)("button",{key:1,type:"button",onClick:T[1]||(T[1]=D=>M.$clicks("navigation")),class:"op-icon fa fa-mavon-bars selected","aria-hidden":"true",title:E.d_words.tl_navigation_off+" (F8)"},null,8,u)),[[i.vShow,E.s_navigation]]):Object(i.createCommentVNode)("v-if",!0),E.toolbars.preview?Object(i.withDirectives)((Object(i.openBlock)(),Object(i.createElementBlock)("button",{key:2,type:"button",onClick:T[2]||(T[2]=D=>M.$clicks("preview")),class:"op-icon fa fa-mavon-eye-slash selected","aria-hidden":"true",title:E.d_words.tl_edit+" (F9)"},null,8,d)),[[i.vShow,E.s_preview_switch]]):Object(i.createCommentVNode)("v-if",!0),E.toolbars.preview?Object(i.withDirectives)((Object(i.openBlock)(),Object(i.createElementBlock)("button",{key:3,type:"button",onClick:T[3]||(T[3]=D=>M.$clicks("preview")),class:"op-icon fa fa-mavon-eye","aria-hidden":"true",title:E.d_words.tl_preview+" (F9)"},null,8,f)),[[i.vShow,!E.s_preview_switch]]):Object(i.createCommentVNode)("v-if",!0),E.toolbars.fullscreen?Object(i.withDirectives)((Object(i.openBlock)(),Object(i.createElementBlock)("button",{key:4,type:"button",onClick:T[4]||(T[4]=D=>M.$clicks("fullscreen")),class:"op-icon fa fa-mavon-arrows-alt",title:E.d_words.tl_fullscreen_on+" (F10)","aria-hidden":"true"},null,8,m)),[[i.vShow,!E.s_fullScreen]]):Object(i.createCommentVNode)("v-if",!0),E.toolbars.fullscreen?Object(i.withDirectives)((Object(i.openBlock)(),Object(i.createElementBlock)("button",{key:5,type:"button",onClick:T[5]||(T[5]=D=>M.$clicks("fullscreen")),class:"op-icon fa fa-mavon-compress selected",title:E.d_words.tl_fullscreen_off+" (F10)","aria-hidden":"true"},null,8,y)),[[i.vShow,E.s_fullScreen]]):Object(i.createCommentVNode)("v-if",!0),E.toolbars.readmodel?(Object(i.openBlock)(),Object(i.createElementBlock)("button",{key:6,type:"button",onClick:T[6]||(T[6]=D=>M.$clicks("read")),class:"op-icon fa fa-mavon-window-maximize","aria-hidden":"true",title:E.d_words.tl_read+" (F11)"},null,8,v)):Object(i.createCommentVNode)("v-if",!0),E.toolbars.subfield?(Object(i.openBlock)(),Object(i.createElementBlock)("button",{key:7,type:"button",onClick:T[7]||(T[7]=D=>M.$clicks("subfield")),class:Object(i.normalizeClass)(["op-icon fa fa-mavon-columns",{selected:E.s_subfield}]),"aria-hidden":"true",title:(E.s_subfield?E.d_words.tl_single_column:E.d_words.tl_double_column)+" (F12)"},null,10,w)):Object(i.createCommentVNode)("v-if",!0),E.toolbars.help&&E.toolbars.htmlcode&&E.toolbars.readmodel&&E.toolbars.fullscreen&&E.toolbars.subfield&&E.toolbars.navigation?(Object(i.openBlock)(),Object(i.createElementBlock)("span",_)):Object(i.createCommentVNode)("v-if",!0),E.toolbars.htmlcode?Object(i.withDirectives)((Object(i.openBlock)(),Object(i.createElementBlock)("button",{key:9,type:"button",onClick:T[8]||(T[8]=D=>M.$clicks("html")),class:"op-icon fa fa-mavon-code",title:E.d_words.tl_html_on,"aria-hidden":"true"},null,8,S)),[[i.vShow,!E.s_html_code]]):Object(i.createCommentVNode)("v-if",!0),E.toolbars.htmlcode?Object(i.withDirectives)((Object(i.openBlock)(),Object(i.createElementBlock)("button",{key:10,type:"button",onClick:T[9]||(T[9]=D=>M.$clicks("html")),class:"op-icon fa fa-mavon-code selected",title:E.d_words.tl_html_off,"aria-hidden":"true"},null,8,b)),[[i.vShow,E.s_html_code]]):Object(i.createCommentVNode)("v-if",!0),E.toolbars.help?(Object(i.openBlock)(),Object(i.createElementBlock)("button",{key:11,type:"button",onClick:T[10]||(T[10]=D=>M.$clicks("help")),class:"op-icon fa fa-mavon-question-circle",style:{"font-size":"17px",padding:"5px 6px 5px 3px"},title:E.d_words.tl_help,"aria-hidden":"true"},null,8,k)):Object(i.createCommentVNode)("v-if",!0),Object(i.renderSlot)(O.$slots,"right-toolbar-after")])}},function(e,t,r){r.d(t,"a",function(){return c});var i=r(0);const a=["autofocus","placeholder"];function c(u,d,f,m,y,v){return Object(i.openBlock)(),Object(i.createElementBlock)("div",{style:Object(i.normalizeStyle)({fontSize:f.fontSize,lineHeight:f.lineHeight,height:f.fullHeight?"100%":"auto"}),class:"auto-textarea-wrapper"},[Object(i.createElementVNode)("pre",{style:Object(i.normalizeStyle)({fontSize:f.fontSize,lineHeight:f.lineHeight,minHeight:f.fullHeight?"100%":"auto"}),class:"auto-textarea-block"},[d[2]||(d[2]=Object(i.createElementVNode)("br",null,null,-1)),Object(i.createTextVNode)(Object(i.toDisplayString)(y.temp_value)+" ",1)],4),Object(i.withDirectives)(Object(i.createElementVNode)("textarea",{ref:"vTextarea",autofocus:y.s_autofocus,onKeyup:d[0]||(d[0]=(...w)=>v.change&&v.change(...w)),spellcheck:"false",placeholder:f.placeholder,"onUpdate:modelValue":d[1]||(d[1]=w=>y.temp_value=w),style:Object(i.normalizeStyle)({fontSize:f.fontSize,lineHeight:f.lineHeight}),class:Object(i.normalizeClass)([{"no-border":!f.border,"no-resize":!f.resize},"auto-textarea-input"])}," ",46,a),[[i.vModelText,y.temp_value]])],4)}},function(e,t,r){var i=r(80).default,a={markdownIt:i.mixins[0].data().markdownIt,mavonEditor:i,LeftToolbar:r(70).default,RightToolbar:r(72).default,install:function(c){c.component("mavon-editor",i)}};e.exports=a},function(e,t,r){r.r(t);var i=r(75),a=r(21);for(var c in a)["default"].indexOf(c)<0&&function(f){r.d(t,f,function(){return a[f]})}(c);r(221),r(223);var u=r(3);const d=r.n(u)()(a.default,[["render",i.a],["__scopeId","data-v-33c11741"]]);t.default=d},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 i=r(84)(!0);r(45)(String,"String",function(a){this._t=String(a),this._i=0},function(){var a,c=this._t,u=this._i;return u>=c.length?{value:void 0,done:!0}:(a=i(c,u),this._i+=a.length,{value:a,done:!1})})},function(e,t,r){var i=r(26),a=r(27);e.exports=function(c){return function(u,d){var f,m,y=String(a(u)),v=i(d),w=y.length;return v<0||v>=w?c?"":void 0:(f=y.charCodeAt(v))<55296||f>56319||v+1===w||(m=y.charCodeAt(v+1))<56320||m>57343?c?y.charAt(v):f:c?y.slice(v,v+2):m-56320+(f-55296<<10)+65536}}},function(e,t,r){var i=r(86);e.exports=function(a,c,u){if(i(a),c===void 0)return a;switch(u){case 1:return function(d){return a.call(c,d)};case 2:return function(d,f){return a.call(c,d,f)};case 3:return function(d,f,m){return a.call(c,d,f,m)}}return function(){return a.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 i=r(50),a=r(16),c=r(34),u={};r(5)(u,r(9)("iterator"),function(){return this}),e.exports=function(d,f,m){d.prototype=i(u,{next:a(1,m)}),c(d,f+" Iterator")}},function(e,t,r){var i=r(6),a=r(14),c=r(30);e.exports=r(7)?Object.defineProperties:function(u,d){a(u);for(var f,m=c(d),y=m.length,v=0;y>v;)i.f(u,f=m[v++],d[f]);return u}},function(e,t,r){var i=r(52);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(a){return i(a)=="String"?a.split(""):Object(a)}},function(e,t,r){var i=r(8),a=r(91),c=r(92);e.exports=function(u){return function(d,f,m){var y,v=i(d),w=a(v.length),_=c(m,w);if(u&&f!=f){for(;w>_;)if((y=v[_++])!=y)return!0}else for(;w>_;_++)if((u||_ in v)&&v[_]===f)return u||_||0;return!u&&-1}}},function(e,t,r){var i=r(26),a=Math.min;e.exports=function(c){return c>0?a(i(c),9007199254740991):0}},function(e,t,r){var i=r(26),a=Math.max,c=Math.min;e.exports=function(u,d){return(u=i(u))<0?a(u+d,0):c(u,d)}},function(e,t,r){var i=r(2).document;e.exports=i&&i.documentElement},function(e,t,r){var i=r(4),a=r(53),c=r(31)("IE_PROTO"),u=Object.prototype;e.exports=Object.getPrototypeOf||function(d){return d=a(d),i(d,c)?d[c]:typeof d.constructor=="function"&&d instanceof d.constructor?d.constructor.prototype:d instanceof Object?u:null}},function(e,t,r){r(96);for(var i=r(2),a=r(5),c=r(29),u=r(9)("toStringTag"),d="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(","),f=0;f<d.length;f++){var m=d[f],y=i[m],v=y&&y.prototype;v&&!v[u]&&a(v,u,m),c[m]=c.Array}},function(e,t,r){var i=r(97),a=r(98),c=r(29),u=r(8);e.exports=r(45)(Array,"Array",function(d,f){this._t=u(d),this._i=0,this._k=f},function(){var d=this._t,f=this._k,m=this._i++;return!d||m>=d.length?(this._t=void 0,a(1)):a(0,f=="keys"?m:f=="values"?d[m]:[m,d[m]])},"values"),c.Arguments=c.Array,i("keys"),i("values"),i("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(r,i){return{value:i,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 i=r(2),a=r(4),c=r(7),u=r(46),d=r(49),f=r(102).KEY,m=r(15),y=r(32),v=r(34),w=r(17),_=r(9),S=r(35),b=r(36),k=r(103),C=r(104),O=r(14),T=r(10),E=r(53),A=r(8),P=r(28),M=r(16),D=r(50),F=r(105),I=r(106),U=r(54),$=r(6),z=r(30),q=I.f,G=$.f,ee=F.f,ae=i.Symbol,oe=i.JSON,Se=oe&&oe.stringify,te=_("_hidden"),se=_("toPrimitive"),ne={}.propertyIsEnumerable,le=y("symbol-registry"),Oe=y("symbols"),ke=y("op-symbols"),ye=Object.prototype,re=typeof ae=="function"&&!!U.f,ue=i.QObject,ie=!ue||!ue.prototype||!ue.prototype.findChild,pe=c&&m(function(){return D(G({},"a",{get:function(){return G(this,"a",{value:7}).a}})).a!=7})?function(Q,de,Le){var $e=q(ye,de);$e&&delete ye[de],G(Q,de,Le),$e&&Q!==ye&&G(ye,de,$e)}:G,Te=function(Q){var de=Oe[Q]=D(ae.prototype);return de._k=Q,de},Pe=re&&typeof ae.iterator=="symbol"?function(Q){return typeof Q=="symbol"}:function(Q){return Q instanceof ae},B=function(Q,de,Le){return Q===ye&&B(ke,de,Le),O(Q),de=P(de,!0),O(Le),a(Oe,de)?(Le.enumerable?(a(Q,te)&&Q[te][de]&&(Q[te][de]=!1),Le=D(Le,{enumerable:M(0,!1)})):(a(Q,te)||G(Q,te,M(1,{})),Q[te][de]=!0),pe(Q,de,Le)):G(Q,de,Le)},H=function(Q,de){O(Q);for(var Le,$e=k(de=A(de)),We=0,Ye=$e.length;Ye>We;)B(Q,Le=$e[We++],de[Le]);return Q},he=function(Q){var de=ne.call(this,Q=P(Q,!0));return!(this===ye&&a(Oe,Q)&&!a(ke,Q))&&(!(de||!a(this,Q)||!a(Oe,Q)||a(this,te)&&this[te][Q])||de)},De=function(Q,de){if(Q=A(Q),de=P(de,!0),Q!==ye||!a(Oe,de)||a(ke,de)){var Le=q(Q,de);return!Le||!a(Oe,de)||a(Q,te)&&Q[te][de]||(Le.enumerable=!0),Le}},Ne=function(Q){for(var de,Le=ee(A(Q)),$e=[],We=0;Le.length>We;)a(Oe,de=Le[We++])||de==te||de==f||$e.push(de);return $e},J=function(Q){for(var de,Le=Q===ye,$e=ee(Le?ke:A(Q)),We=[],Ye=0;$e.length>Ye;)!a(Oe,de=$e[Ye++])||Le&&!a(ye,de)||We.push(Oe[de]);return We};re||(d((ae=function(){if(this instanceof ae)throw TypeError("Symbol is not a constructor!");var Q=w(arguments.length>0?arguments[0]:void 0),de=function(Le){this===ye&&de.call(ke,Le),a(this,te)&&a(this[te],Q)&&(this[te][Q]=!1),pe(this,Q,M(1,Le))};return c&&ie&&pe(ye,Q,{configurable:!0,set:de}),Te(Q)}).prototype,"toString",function(){return this._k}),I.f=De,$.f=B,r(55).f=F.f=Ne,r(37).f=he,U.f=J,c&&!r(12)&&d(ye,"propertyIsEnumerable",he,!0),S.f=function(Q){return Te(_(Q))}),u(u.G+u.W+u.F*!re,{Symbol:ae});for(var j="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ve=0;j.length>ve;)_(j[ve++]);for(var Ce=z(_.store),Ie=0;Ce.length>Ie;)b(Ce[Ie++]);u(u.S+u.F*!re,"Symbol",{for:function(Q){return a(le,Q+="")?le[Q]:le[Q]=ae(Q)},keyFor:function(Q){if(!Pe(Q))throw TypeError(Q+" is not a symbol!");for(var de in le)if(le[de]===Q)return de},useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),u(u.S+u.F*!re,"Object",{create:function(Q,de){return de===void 0?D(Q):H(D(Q),de)},defineProperty:B,defineProperties:H,getOwnPropertyDescriptor:De,getOwnPropertyNames:Ne,getOwnPropertySymbols:J});var Fe=m(function(){U.f(1)});u(u.S+u.F*Fe,"Object",{getOwnPropertySymbols:function(Q){return U.f(E(Q))}}),oe&&u(u.S+u.F*(!re||m(function(){var Q=ae();return Se([Q])!="[null]"||Se({a:Q})!="{}"||Se(Object(Q))!="{}"})),"JSON",{stringify:function(Q){for(var de,Le,$e=[Q],We=1;arguments.length>We;)$e.push(arguments[We++]);if(Le=de=$e[1],(T(de)||Q!==void 0)&&!Pe(Q))return C(de)||(de=function(Ye,_t){if(typeof Le=="function"&&(_t=Le.call(this,Ye,_t)),!Pe(_t))return _t}),$e[1]=de,Se.apply(oe,$e)}}),ae.prototype[se]||r(5)(ae.prototype,se,ae.prototype.valueOf),v(ae,"Symbol"),v(Math,"Math",!0),v(i.JSON,"JSON",!0)},function(e,t,r){var i=r(17)("meta"),a=r(10),c=r(4),u=r(6).f,d=0,f=Object.isExtensible||function(){return!0},m=!r(15)(function(){return f(Object.preventExtensions({}))}),y=function(w){u(w,i,{value:{i:"O"+ ++d,w:{}}})},v=e.exports={KEY:i,NEED:!1,fastKey:function(w,_){if(!a(w))return typeof w=="symbol"?w:(typeof w=="string"?"S":"P")+w;if(!c(w,i)){if(!f(w))return"F";if(!_)return"E";y(w)}return w[i].i},getWeak:function(w,_){if(!c(w,i)){if(!f(w))return!0;if(!_)return!1;y(w)}return w[i].w},onFreeze:function(w){return m&&v.NEED&&f(w)&&!c(w,i)&&y(w),w}}},function(e,t,r){var i=r(30),a=r(54),c=r(37);e.exports=function(u){var d=i(u),f=a.f;if(f)for(var m,y=f(u),v=c.f,w=0;y.length>w;)v.call(u,m=y[w++])&&d.push(m);return d}},function(e,t,r){var i=r(52);e.exports=Array.isArray||function(a){return i(a)=="Array"}},function(e,t,r){var i=r(8),a=r(55).f,c={}.toString,u=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(d){return u&&c.call(d)=="[object Window]"?function(f){try{return a(f)}catch{return u.slice()}}(d):a(i(d))}},function(e,t,r){var i=r(37),a=r(16),c=r(8),u=r(28),d=r(4),f=r(47),m=Object.getOwnPropertyDescriptor;t.f=r(7)?m:function(y,v){if(y=c(y),v=u(v,!0),f)try{return m(y,v)}catch{}if(d(y,v))return a(!i.f.call(y,v),y[v])}},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 i=119,a=120,c=121,u=122,d=123,f=66,m=73,y=72,v=85,w=68,_=77,S=81,b=79,k=76,C=83,O=90,T=89,E=67,A=84,P=82,M=8,D=9,F=13,I=97,U=98,$=99,z=100,q=101,G=102,ee=49,ae=50,oe=51,Se=52,te=53,se=54;t.keydownListen=function(ne){ne.shortCut&&ne.$el.addEventListener("keydown",function(le){if(le.ctrlKey||le.metaKey||le.altKey||le.shiftKey)if(!le.ctrlKey&&!le.metaKey||le.altKey||le.shiftKey){if((le.ctrlKey||le.metaKey)&&le.altKey&&!le.shiftKey)switch(le.keyCode){case C:le.preventDefault(),ne.toolbar_left_click("superscript");break;case v:le.preventDefault(),ne.toolbar_left_click("ul");break;case k:le.preventDefault(),ne.toolbar_left_click("imagelink");break;case E:le.preventDefault(),ne.toolbar_left_click("code");break;case A:le.preventDefault(),ne.toolbar_left_click("table")}else if((le.ctrlKey||le.metaKey)&&le.shiftKey&&!le.altKey)switch(le.keyCode){case C:le.preventDefault(),ne.toolbar_left_click("subscript");break;case w:le.preventDefault(),ne.toolbar_left_click("strikethrough");break;case k:le.preventDefault(),ne.toolbar_left_click("alignleft");break;case P:le.preventDefault(),ne.toolbar_left_click("alignright");break;case E:le.preventDefault(),ne.toolbar_left_click("aligncenter")}else if(!le.ctrlKey&&!le.metaKey&&le.shiftKey&&!le.altKey)switch(le.keyCode){case D:ne.$refs.toolbar_left.s_img_link_open||(le.preventDefault(),ne.unInsertTab())}}else switch(le.keyCode){case f:le.preventDefault(),ne.toolbar_left_click("bold");break;case m:le.preventDefault(),ne.toolbar_left_click("italic");break;case y:le.preventDefault(),ne.toolbar_left_click("header");break;case v:le.preventDefault(),ne.toolbar_left_click("underline");break;case w:le.preventDefault(),ne.toolbar_left_click("removeLine");break;case _:le.preventDefault(),ne.toolbar_left_click("mark");break;case S:le.preventDefault(),ne.toolbar_left_click("quote");break;case b:le.preventDefault(),ne.toolbar_left_click("ol");break;case k:le.preventDefault(),ne.toolbar_left_click("link");break;case C:le.preventDefault(),ne.toolbar_left_click("save");break;case O:le.preventDefault(),ne.toolbar_left_click("undo");break;case T:le.preventDefault(),ne.toolbar_left_click("redo");break;case M:le.preventDefault(),ne.toolbar_left_click("trash");break;case I:le.preventDefault(),ne.toolbar_left_click("header1");break;case U:le.preventDefault(),ne.toolbar_left_click("header2");break;case $:le.preventDefault(),ne.toolbar_left_click("header3");break;case z:le.preventDefault(),ne.toolbar_left_click("header4");break;case q:le.preventDefault(),ne.toolbar_left_click("header5");break;case G:le.preventDefault(),ne.toolbar_left_click("header6");break;case ee:le.preventDefault(),ne.toolbar_left_click("header1");break;case ae:le.preventDefault(),ne.toolbar_left_click("header2");break;case oe:le.preventDefault(),ne.toolbar_left_click("header3");break;case Se:le.preventDefault(),ne.toolbar_left_click("header4");break;case te:le.preventDefault(),ne.toolbar_left_click("header5");break;case se:le.preventDefault(),ne.toolbar_left_click("header6")}else switch(le.keyCode){case i:ne.toolbars.navigation&&(le.preventDefault(),ne.toolbar_right_click("navigation"));break;case a:ne.toolbars.preview&&(le.preventDefault(),ne.toolbar_right_click("preview"));break;case c:ne.toolbars.fullscreen&&(le.preventDefault(),ne.toolbar_right_click("fullscreen"));break;case u:ne.toolbars.readmodel&&(le.preventDefault(),ne.toolbar_right_click("read"));break;case d:ne.toolbars.subfield&&(le.preventDefault(),ne.toolbar_right_click("subfield"));break;case D:ne.$refs.toolbar_left.s_img_link_open||(le.preventDefault(),ne.insertTab());break;case F:ne.$refs.toolbar_left.s_img_link_open?(le.preventDefault(),ne.$refs.toolbar_left.$imgLinkAdd()):ne.insertEnter(le)}})}},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 i,a=r(25),c=(i=a)&&i.__esModule?i:{default:i};t.p_ObjectCopy_DEEP=function u(d,f){for(var m in f){var y=(0,c.default)(f[m]);!d[m]||y!=="Object"&&y!=="object"?d[m]=f[m]:d[m]=u(d[m],f[m])}return d},t.p_urlParse=function(){var u=window.location.search,d={},f=u.match(/[?&][^?&]+=[^?&]+/g);return f&&f.forEach(function(m){var y=m.substring(1).split("="),v=decodeURIComponent(y[0]),w=decodeURIComponent(y[1]);d[v]=w}),d},t.stopEvent=function(u){u&&(u.preventDefault&&u.preventDefault(),u.stopPropagation&&u.stopPropagation())}},function(e,t,r){function i(v){v.d_history_index>0&&v.d_history_index--,v.$nextTick(function(){var w=v.textarea_selectionEnds[v.d_history_index];v.getTextareaDom().selectionStart=w,v.getTextareaDom().selectionEnd=w}),v.getTextareaDom().focus()}function a(v){v.d_history_index<v.d_history.length-1&&v.d_history_index++,v.$nextTick(function(){var w=v.textarea_selectionEnds[v.d_history_index];v.getTextareaDom().selectionStart=w,v.getTextareaDom().selectionEnd=w}),v.getTextareaDom().focus()}function c(v){v.d_value="",v.getTextareaDom().focus()}function u(v){v.save(v.d_value,v.d_render)}function d(v){v.insertOl()}function f(v){v.insertUl()}function m(v){v.removeLine()}function y(v){v.insertCodeBlock()}Object.defineProperty(t,"__esModule",{value:!0}),t.toolbar_left_addlink=function(v,w,_,S){var b={prefix:v==="link"?"["+w+"](":"!["+w+"](",subfix:")",str:_};S.insertText(S.getTextareaDom(),b)},t.toolbar_left_click=function(v,w){var _={bold:{prefix:"**",subfix:"**",str:w.d_words.tl_bold},italic:{prefix:"*",subfix:"*",str:w.d_words.tl_italic},header:{prefix:"# ",subfix:"",str:w.d_words.tl_header},header1:{prefix:"# ",subfix:"",str:w.d_words.tl_header_one},header2:{prefix:"## ",subfix:"",str:w.d_words.tl_header_two},header3:{prefix:"### ",subfix:"",str:w.d_words.tl_header_three},header4:{prefix:"#### ",subfix:"",str:w.d_words.tl_header_four},header5:{prefix:"##### ",subfix:"",str:w.d_words.tl_header_five},header6:{prefix:"###### ",subfix:"",str:w.d_words.tl_header_six},underline:{prefix:"++",subfix:"++",str:w.d_words.tl_underline},strikethrough:{prefix:"~~",subfix:"~~",str:w.d_words.tl_strikethrough},mark:{prefix:"==",subfix:"==",str:w.d_words.tl_mark},superscript:{prefix:"^",subfix:"^",str:w.d_words.tl_superscript},subscript:{prefix:"~",subfix:"~",str:w.d_words.tl_subscript},quote:{prefix:"> ",subfix:"",str:w.d_words.tl_quote},link:{prefix:"[](",subfix:")",str:w.d_words.tl_link},imagelink:{prefix:"![](",subfix:")",str:w.d_words.tl_image},table:{prefix:"",subfix:"",str:`|column1|column2|column3|
|-|-|-|
|content1|content2|content3|
`},aligncenter:{prefix:`::: hljs-center
`,subfix:`
:::
`,str:w.d_words.tl_aligncenter},alignright:{prefix:`::: hljs-right
`,subfix:`
:::
`,str:w.d_words.tl_alignright},alignleft:{prefix:`::: hljs-left
`,subfix:`
:::
`,str:w.d_words.tl_alignleft}};_.hasOwnProperty(v)&&w.insertText(w.getTextareaDom(),_[v]);var S={undo:i,redo:a,trash:c,save:u,ol:d,ul:f,removeLine:m,code:y};S.hasOwnProperty(v)&&S[v](w)}},function(e,t,r){function i(y){y.s_html_code=!y.s_html_code,y.htmlcode&&y.htmlcode(y.s_html_code,y.d_value)}function a(y){y.s_help=!y.s_help,y.helptoggle&&y.helptoggle(y.s_help,y.d_value)}function c(y){var v=y.$refs.vReadModel;v.requestFullscreen?v.requestFullscreen():v.mozRequestFullScreen?v.mozRequestFullScreen():v.webkitRequestFullscreen?v.webkitRequestFullscreen():v.msRequestFullscreen&&v.msRequestFullscreen()}function u(y){y.s_preview_switch=!y.s_preview_switch,y.previewtoggle&&y.previewtoggle(y.s_preview_switch,y.d_value)}function d(y){y.s_fullScreen=!y.s_fullScreen,y.fullscreen&&y.fullscreen(y.s_fullScreen,y.d_value)}function f(y){y.s_subfield=!y.s_subfield,y.s_preview_switch=y.s_subfield,y.previewtoggle&&y.previewtoggle(y.s_preview_switch,y.d_value),y.subfieldtoggle&&y.subfieldtoggle(y.s_subfield,y.d_value)}function m(y){y.s_navigation=!y.s_navigation,y.s_navigation&&(y.s_preview_switch=!0),y.navigationtoggle&&y.navigationtoggle(y.s_navigation,y.d_value),y.s_navigation&&y.getNavigation(y,!1)}Object.defineProperty(t,"__esModule",{value:!0}),t.toolbar_right_click=function(y,v){var w={help:a,html:i,read:c,preview:u,fullscreen:d,navigation:m,subfield:f};w.hasOwnProperty(y)&&w[y](v)}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.CONFIG=void 0;var i=E(r(116)),a=E(r(117)),c=E(r(118)),u=E(r(119)),d=E(r(120)),f=E(r(121)),m=E(r(122)),y=E(r(123)),v=(E(r(124)),E(r(125))),w=E(r(126)),_=E(r(127)),S=E(r(128)),b=E(r(129)),k=E(r(130)),C=E(r(131)),O=E(r(132)),T=E(r(133));function E(A){return A&&A.__esModule?A:{default:A}}t.CONFIG={"help_zh-CN":i.default,"help_zh-TW":a.default,"help_pt-BR":d.default,help_en:c.default,help_fr:u.default,help_ru:f.default,help_de:m.default,help_ja:y.default,"words_zh-CN":v.default,"words_zh-TW":w.default,"words_pt-BR":b.default,words_en:_.default,words_fr:S.default,words_ru:k.default,words_de:C.default,words_ja:O.default,words_kr:T.default,langList:["en","zh-CN","zh-TW","fr","pt-BR","ru","de","ja","kr"],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,t){e.exports=`@[toc](Catalog)\r
\r
\r
마크다운 가이드\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
> quote 1\r
>> quote 2\r
>>> quote 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] task 1\r
- [ ] task 2\r
\r
\`\`\`\r
- [x] task 1\r
- [ ] task 2\r
\`\`\`\r
\r
## 링크\r
\`\`\`\r
텍스트 링크\r
[Text](www.baidu.com)\r
\r
이미지 링크\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
## Footnote\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
\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
Detailed: [katex](http://www.intmath.com/cg5/katex-mathjax-comparison.php) and [katex function](https://github.com/Khan/KaTeX/wiki/Function-Support-in-KaTeX) and [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
## 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){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){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":"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":"링크주소","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,t,r){Object.defineProperty(t,"__esModule",{value:!0});var i=d(r(25));t.initMarkdown=U;var a=d(r(56)),c=r(57),u=d(r(135));function d($){return $&&$.__esModule?$:{default:$}}var f={html:!0,xhtmlOut:!0,breaks:!0,langPrefix:"lang-",linkify:!1,typographer:!0,quotes:"“”‘’"},m=r(140),y=r(197),v=r(203),w=r(204),_=r(205),S=r(206),b=r(207),k=r(208),C=r(209),O=r(210),T=r(211),E=r(212),A=r(213),P=r(214),M=r(215),D={},F=[],I={hljs:"auto",highlighted:!0,langCheck:function($){$&&a.default[$]&&!D[$]&&(D[$]=1,F.push(a.default[$]))}};function U(){var $=new m(f),z=$.renderer.rules.link_open||function(q,G,ee,ae,oe){return oe.renderToken(q,G,ee)};return $.renderer.rules.link_open=function(q,G,ee,ae,oe){var Se=q[G].attrIndex("href");if(q[G].attrs[Se][1].startsWith("#"))return z(q,G,ee,ae,oe);var te=q[G].attrIndex("target");return te<0?q[G].attrPush(["target","_blank"]):q[G].attrs[te][1]="_blank",z(q,G,ee,ae,oe)},$.use(A,I).use(y).use(w).use(v).use(T).use(T,"hljs-left").use(T,"hljs-center").use(T,"hljs-right").use(_).use(S).use(b).use(k).use(C).use(T).use(M).use(P).use(O).use(E),$}t.default={data:function(){return{markdownIt:null}},created:function(){this.markdownIt=U(),this.html?(0,i.default)(this.xssOptions)==="object"&&this.markdownIt.use(u.default,this.xssOptions):(this.markdownIt.set({html:!1}),this.xssOptions=!1)},mounted:function(){I.highlighted=this.ishljs},methods:{$render:function($,z){D={},F=[];var q=this.markdownIt.render($);this.ishljs&&F.length>0&&this.$_render($,z,q),z(q)},$_render:function($,z,q){for(var G=this,ee=0,ae=0;ae<F.length;ae++){var oe=G.p_external_link.hljs_lang(F[ae]);(0,c.loadScript)(oe,function(){(ee+=1)===F.length&&(q=G.markdownIt.render($),z(q))})}}},watch:{ishljs:function($){I.highlighted=$}}}},function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(u,d){u.options.html&&(a=new i.FilterXSS(d),u.core.ruler.push("mavoneditor_sanitizer",c))};var i=r(136),a=void 0;function c(u){a&&function d(f,m){for(var y=void 0,v=void 0,w=0;w<f.length;w++)m.indexOf(f[w].type)!==-1&&(y=f[w].content,v=f[w].children,f[w].content=a.process(y),v&&v.length&&y!==f[w].content&&d(v,["html_inline"]))}(u.tokens,["inline","html_block"])}},function(e,t,r){var i=r(58),a=r(61),c=r(139);function u(d,f){return new c(f).process(d)}(t=e.exports=u).filterXSS=u,t.FilterXSS=c,function(){for(var d in i)t[d]=i[d];for(var f in a)t[f]=a[f]}(),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 i=r(59),a=r(138);r(60);function c(d){return d==null}function u(d){(d=function(f){var m={};for(var y in f)m[y]=f[y];return m}(d||{})).whiteList=d.whiteList||i.whiteList,d.onAttr=d.onAttr||i.onAttr,d.onIgnoreAttr=d.onIgnoreAttr||i.onIgnoreAttr,d.safeAttrValue=d.safeAttrValue||i.safeAttrValue,this.options=d}u.prototype.process=function(d){if(!(d=(d=d||"").toString()))return"";var f=this.options,m=f.whiteList,y=f.onAttr,v=f.onIgnoreAttr,w=f.safeAttrValue;return a(d,function(_,S,b,k,C){var O=m[b],T=!1;if(O===!0?T=O:typeof O=="function"?T=O(k):O instanceof RegExp&&(T=O.test(k)),T!==!0&&(T=!1),k=w(b,k)){var E,A={position:S,sourcePosition:_,source:C,isWhite:T};return T?c(E=y(b,k,A))?b+":"+k:E:c(E=v(b,k,A))?void 0:E}})},e.exports=u},function(e,t,r){var i=r(60);e.exports=function(a,c){(a=i.trimRight(a))[a.length-1]!==";"&&(a+=";");var u=a.length,d=!1,f=0,m=0,y="";function v(){if(!d){var S=i.trim(a.slice(f,m)),b=S.indexOf(":");if(b!==-1){var k=i.trim(S.slice(0,b)),C=i.trim(S.slice(b+1));if(k){var O=c(f,y.length,k,C,S);O&&(y+=O+"; ")}}}f=m+1}for(;m<u;m++){var w=a[m];if(w==="/"&&a[m+1]==="*"){var _=a.indexOf("*/",m+2);if(_===-1)break;f=(m=_+1)+1,d=!1}else w==="("?d=!0:w===")"?d=!1:w===";"?d||v():w===`
`&&v()}return i.trim(y)}},function(e,t,r){var i=r(38).FilterCSS,a=r(58),c=r(61),u=c.parseTag,d=c.parseAttr,f=r(39);function m(v){return v==null}function y(v){(v=function(w){var _={};for(var S in w)_[S]=w[S];return _}(v||{})).stripIgnoreTag&&(v.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),v.onIgnoreTag=a.onIgnoreTagStripAll),v.whiteList||v.allowList?v.whiteList=function(w){var _={};for(var S in w)Array.isArray(w[S])?_[S.toLowerCase()]=w[S].map(function(b){return b.toLowerCase()}):_[S.toLowerCase()]=w[S];return _}(v.whiteList||v.allowList):v.whiteList=a.whiteList,this.attributeWrapSign=v.singleQuotedAttributeValue===!0?"'":a.attributeWrapSign,v.onTag=v.onTag||a.onTag,v.onTagAttr=v.onTagAttr||a.onTagAttr,v.onIgnoreTag=v.onIgnoreTag||a.onIgnoreTag,v.onIgnoreTagAttr=v.onIgnoreTagAttr||a.onIgnoreTagAttr,v.safeAttrValue=v.safeAttrValue||a.safeAttrValue,v.escapeHtml=v.escapeHtml||a.escapeHtml,this.options=v,v.css===!1?this.cssFilter=!1:(v.css=v.css||{},this.cssFilter=new i(v.css))}y.prototype.process=function(v){if(!(v=(v=v||"").toString()))return"";var w=this.options,_=w.whiteList,S=w.onTag,b=w.onIgnoreTag,k=w.onTagAttr,C=w.onIgnoreTagAttr,O=w.safeAttrValue,T=w.escapeHtml,E=this.attributeWrapSign,A=this.cssFilter;w.stripBlankChar&&(v=a.stripBlankChar(v)),w.allowCommentTag||(v=a.stripCommentTag(v));var P=!1;w.stripIgnoreTagBody&&(P=a.StripTagBody(w.stripIgnoreTagBody,b),b=P.onIgnoreTag);var M=u(v,function(D,F,I,U,$){var z={sourcePosition:D,position:F,isClosing:$,isWhite:Object.prototype.hasOwnProperty.call(_,I)},q=S(I,U,z);if(!m(q))return q;if(z.isWhite){if(z.isClosing)return"</"+I+">";var G=function(oe){var Se=f.spaceIndex(oe);if(Se===-1)return{html:"",closing:oe[oe.length-2]==="/"};var te=(oe=f.trim(oe.slice(Se+1,-1)))[oe.length-1]==="/";return te&&(oe=f.trim(oe.slice(0,-1))),{html:oe,closing:te}}(U),ee=_[I],ae=d(G.html,function(oe,Se){var te=f.indexOf(ee,oe)!==-1,se=k(I,oe,Se,te);return m(se)?te?(Se=O(I,oe,Se,A))?oe+"="+E+Se+E:oe:m(se=C(I,oe,Se,te))?void 0:se:se});return U="<"+I,ae&&(U+=" "+ae),G.closing&&(U+=" /"),U+=">"}return m(q=b(I,U,z))?T(U):q},T);return P&&(M=P.remove(M)),M},e.exports=y},function(e,t,r){e.exports=r(141)},function(e,t,r){var i=r(1),a=r(149),c=r(153),u=r(154),d=r(162),f=r(176),m=r(189),y=r(63),v=r(191),w={default:r(194),zero:r(195),commonmark:r(196)},_=/^(vbscript|javascript|file|data):/,S=/^data:image\/(gif|png|jpeg|webp);/;function b(E){var A=E.trim().toLowerCase();return!_.test(A)||!!S.test(A)}var k=["http:","https:","mailto:"];function C(E){var A=y.parse(E,!0);if(A.hostname&&(!A.protocol||k.indexOf(A.protocol)>=0))try{A.hostname=v.toASCII(A.hostname)}catch{}return y.encode(y.format(A))}function O(E){var A=y.parse(E,!0);if(A.hostname&&(!A.protocol||k.indexOf(A.protocol)>=0))try{A.hostname=v.toUnicode(A.hostname)}catch{}return y.decode(y.format(A))}function T(E,A){if(!(this instanceof T))return new T(E,A);A||i.isString(E)||(A=E||{},E="default"),this.inline=new f,this.block=new d,this.core=new u,this.renderer=new c,this.linkify=new m,this.validateLink=b,this.normalizeLink=C,this.normalizeLinkText=O,this.utils=i,this.helpers=i.assign({},a),this.options={},this.configure(E),A&&this.set(A)}T.prototype.set=function(E){return i.assign(this.options,E),this},T.prototype.configure=function(E){var A,P=this;if(i.isString(E)&&!(E=w[A=E]))throw new Error('Wrong `markdown-it` preset "'+A+'", check name');if(!E)throw new Error("Wrong `markdown-it` preset, can't be empty");return E.options&&P.set(E.options),E.components&&Object.keys(E.components).forEach(function(M){E.components[M].rules&&P[M].ruler.enableOnly(E.components[M].rules),E.components[M].rules2&&P[M].ruler2.enableOnly(E.components[M].rules2)}),this},T.prototype.enable=function(E,A){var P=[];Array.isArray(E)||(E=[E]),["core","block","inline"].forEach(function(D){P=P.concat(this[D].ruler.enable(E,!0))},this),P=P.concat(this.inline.ruler2.enable(E,!0));var M=E.filter(function(D){return P.indexOf(D)<0});if(M.length&&!A)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+M);return this},T.prototype.disable=function(E,A){var P=[];Array.isArray(E)||(E=[E]),["core","block","inline"].forEach(function(D){P=P.concat(this[D].ruler.disable(E,!0))},this),P=P.concat(this.inline.ruler2.disable(E,!0));var M=E.filter(function(D){return P.indexOf(D)<0});if(M.length&&!A)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+M);return this},T.prototype.use=function(E){var A=[this].concat(Array.prototype.slice.call(arguments,1));return E.apply(E,A),this},T.prototype.parse=function(E,A){if(typeof E!="string")throw new Error("Input data should be a String");var P=new this.core.State(E,this,A);return this.core.process(P),P.tokens},T.prototype.render=function(E,A){return A=A||{},this.renderer.render(this.parse(E,A),this.options,A)},T.prototype.parseInline=function(E,A){var P=new this.core.State(E,this,A);return P.inlineMode=!0,this.core.process(P),P.tokens},T.prototype.renderInline=function(E,A){return A=A||{},this.renderer.render(this.parseInline(E,A),this.options,A)},e.exports=T},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 i={};function a(c,u,d){var f,m,y,v,w,_="";for(typeof u!="string"&&(d=u,u=a.defaultChars),d===void 0&&(d=!0),w=function(S){var b,k,C=i[S];if(C)return C;for(C=i[S]=[],b=0;b<128;b++)k=String.fromCharCode(b),/^[0-9a-z]$/i.test(k)?C.push(k):C.push("%"+("0"+b.toString(16).toUpperCase()).slice(-2));for(b=0;b<S.length;b++)C[S.charCodeAt(b)]=S[b];return C}(u),f=0,m=c.length;f<m;f++)if(y=c.charCodeAt(f),d&&y===37&&f+2<m&&/^[0-9a-f]{2}$/i.test(c.slice(f+1,f+3)))_+=c.slice(f,f+3),f+=2;else if(y<128)_+=w[y];else if(y>=55296&&y<=57343){if(y>=55296&&y<=56319&&f+1<m&&(v=c.charCodeAt(f+1))>=56320&&v<=57343){_+=encodeURIComponent(c[f]+c[f+1]),f++;continue}_+="%EF%BF%BD"}else _+=encodeURIComponent(c[f]);return _}a.defaultChars=";/?:@&=+$,-_.!~*'()#",a.componentChars="-_.!~*'()",e.exports=a},function(e,t,r){var i={};function a(c,u){var d;return typeof u!="string"&&(u=a.defaultChars),d=function(f){var m,y,v=i[f];if(v)return v;for(v=i[f]=[],m=0;m<128;m++)y=String.fromCharCode(m),v.push(y);for(m=0;m<f.length;m++)v[y=f.charCodeAt(m)]="%"+("0"+y.toString(16).toUpperCase()).slice(-2);return v}(u),c.replace(/(%[a-f0-9]{2})+/gi,function(f){var m,y,v,w,_,S,b,k="";for(m=0,y=f.length;m<y;m+=3)(v=parseInt(f.slice(m+1,m+3),16))<128?k+=d[v]:(224&v)==192&&m+3<y&&(192&(w=parseInt(f.slice(m+4,m+6),16)))==128?(k+=(b=v<<6&1984|63&w)<128?"<22><>":String.fromCharCode(b),m+=3):(240&v)==224&&m+6<y&&(w=parseInt(f.slice(m+4,m+6),16),_=parseInt(f.slice(m+7,m+9),16),(192&w)==128&&(192&_)==128)?(k+=(b=v<<12&61440|w<<6&4032|63&_)<2048||b>=55296&&b<=57343?"<22><><EFBFBD>":String.fromCharCode(b),m+=6):(248&v)==240&&m+9<y&&(w=parseInt(f.slice(m+4,m+6),16),_=parseInt(f.slice(m+7,m+9),16),S=parseInt(f.slice(m+10,m+12),16),(192&w)==128&&(192&_)==128&&(192&S)==128)?((b=v<<18&1835008|w<<12&258048|_<<6&4032|63&S)<65536||b>1114111?k+="<22><><EFBFBD><EFBFBD>":(b-=65536,k+=String.fromCharCode(55296+(b>>10),56320+(1023&b))),m+=9):k+="<22>";return k})}a.defaultChars=";/?:@&=+$,#",a.componentChars="",e.exports=a},function(e,t,r){e.exports=function(i){var a="";return a+=i.protocol||"",a+=i.slashes?"//":"",a+=i.auth?i.auth+"@":"",i.hostname&&i.hostname.indexOf(":")!==-1?a+="["+i.hostname+"]":a+=i.hostname||"",a+=i.port?":"+i.port:"",a+=i.pathname||"",a+=i.search||"",a+=i.hash||""}},function(e,t,r){function i(){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 a=/^([a-z0-9.+-]+:)/i,c=/:[0-9]*$/,u=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,d=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",`
`," "]),f=["'"].concat(d),m=["%","/","?",";","#"].concat(f),y=["/","?","#"],v=/^[+a-z0-9A-Z_-]{0,63}$/,w=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,_={javascript:!0,"javascript:":!0},S={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};i.prototype.parse=function(b,k){var C,O,T,E,A,P=b;if(P=P.trim(),!k&&b.split("#").length===1){var M=u.exec(P);if(M)return this.pathname=M[1],M[2]&&(this.search=M[2]),this}var D=a.exec(P);if(D&&(T=(D=D[0]).toLowerCase(),this.protocol=D,P=P.substr(D.length)),(k||D||P.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(A=P.substr(0,2)==="//")||D&&_[D]||(P=P.substr(2),this.slashes=!0)),!_[D]&&(A||D&&!S[D])){var F,I,U=-1;for(C=0;C<y.length;C++)(E=P.indexOf(y[C]))!==-1&&(U===-1||E<U)&&(U=E);for((I=U===-1?P.lastIndexOf("@"):P.lastIndexOf("@",U))!==-1&&(F=P.slice(0,I),P=P.slice(I+1),this.auth=F),U=-1,C=0;C<m.length;C++)(E=P.indexOf(m[C]))!==-1&&(U===-1||E<U)&&(U=E);U===-1&&(U=P.length),P[U-1]===":"&&U--;var $=P.slice(0,U);P=P.slice(U),this.parseHost($),this.hostname=this.hostname||"";var z=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!z){var q=this.hostname.split(/\./);for(C=0,O=q.length;C<O;C++){var G=q[C];if(G&&!G.match(v)){for(var ee="",ae=0,oe=G.length;ae<oe;ae++)G.charCodeAt(ae)>127?ee+="x":ee+=G[ae];if(!ee.match(v)){var Se=q.slice(0,C),te=q.slice(C+1),se=G.match(w);se&&(Se.push(se[1]),te.unshift(se[2])),te.length&&(P=te.join(".")+P),this.hostname=Se.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),z&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var ne=P.indexOf("#");ne!==-1&&(this.hash=P.substr(ne),P=P.slice(0,ne));var le=P.indexOf("?");return le!==-1&&(this.search=P.substr(le),P=P.slice(0,le)),P&&(this.pathname=P),S[T]&&this.hostname&&!this.pathname&&(this.pathname=""),this},i.prototype.parseHost=function(b){var k=c.exec(b);k&&((k=k[0])!==":"&&(this.port=k.substr(1)),b=b.substr(0,b.length-k.length)),b&&(this.hostname=b)},e.exports=function(b,k){if(b&&b instanceof i)return b;var C=new i;return C.parse(b,k),C}},function(e,t,r){t.Any=r(64),t.Cc=r(65),t.Cf=r(148),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(150),t.parseLinkDestination=r(151),t.parseLinkTitle=r(152)},function(e,t,r){e.exports=function(i,a,c){var u,d,f,m,y=-1,v=i.posMax,w=i.pos;for(i.pos=a+1,u=1;i.pos<v;){if((f=i.src.charCodeAt(i.pos))===93&&--u===0){d=!0;break}if(m=i.pos,i.md.inline.skipToken(i),f===91){if(m===i.pos-1)u++;else if(c)return i.pos=w,-1}}return d&&(y=i.pos),i.pos=w,y}},function(e,t,r){var i=r(1).unescapeAll;e.exports=function(a,c,u){var d,f,m=c,y={ok:!1,pos:0,lines:0,str:""};if(a.charCodeAt(c)===60){for(c++;c<u;){if((d=a.charCodeAt(c))===10)return y;if(d===62)return y.pos=c+1,y.str=i(a.slice(m+1,c)),y.ok=!0,y;d===92&&c+1<u?c+=2:c++}return y}for(f=0;c<u&&(d=a.charCodeAt(c))!==32&&!(d<32||d===127);)if(d===92&&c+1<u)c+=2;else{if(d===40&&f++,d===41){if(f===0)break;f--}c++}return m===c||f!==0||(y.str=i(a.slice(m,c)),y.lines=0,y.pos=c,y.ok=!0),y}},function(e,t,r){var i=r(1).unescapeAll;e.exports=function(a,c,u){var d,f,m=0,y=c,v={ok:!1,pos:0,lines:0,str:""};if(c>=u||(f=a.charCodeAt(c))!==34&&f!==39&&f!==40)return v;for(c++,f===40&&(f=41);c<u;){if((d=a.charCodeAt(c))===f)return v.pos=c+1,v.lines=m,v.str=i(a.slice(y+1,c)),v.ok=!0,v;d===10?m++:d===92&&c+1<u&&(c++,a.charCodeAt(c)===10&&m++),c++}return v}},function(e,t,r){var i=r(1).assign,a=r(1).unescapeAll,c=r(1).escapeHtml,u={};function d(){this.rules=i({},u)}u.code_inline=function(f,m,y,v,w){var _=f[m];return"<code"+w.renderAttrs(_)+">"+c(f[m].content)+"</code>"},u.code_block=function(f,m,y,v,w){var _=f[m];return"<pre"+w.renderAttrs(_)+"><code>"+c(f[m].content)+`</code></pre>
`},u.fence=function(f,m,y,v,w){var _,S,b,k,C=f[m],O=C.info?a(C.info).trim():"",T="";return O&&(T=O.split(/\s+/g)[0]),(_=y.highlight&&y.highlight(C.content,T)||c(C.content)).indexOf("<pre")===0?_+`
`:O?(S=C.attrIndex("class"),b=C.attrs?C.attrs.slice():[],S<0?b.push(["class",y.langPrefix+T]):b[S][1]+=" "+y.langPrefix+T,k={attrs:b},"<pre><code"+w.renderAttrs(k)+">"+_+`</code></pre>
`):"<pre><code"+w.renderAttrs(C)+">"+_+`</code></pre>
`},u.image=function(f,m,y,v,w){var _=f[m];return _.attrs[_.attrIndex("alt")][1]=w.renderInlineAsText(_.children,y,v),w.renderToken(f,m,y)},u.hardbreak=function(f,m,y){return y.xhtmlOut?`<br />
`:`<br>
`},u.softbreak=function(f,m,y){return y.breaks?y.xhtmlOut?`<br />
`:`<br>
`:`
`},u.text=function(f,m){return c(f[m].content)},u.html_block=function(f,m){return f[m].content},u.html_inline=function(f,m){return f[m].content},d.prototype.renderAttrs=function(f){var m,y,v;if(!f.attrs)return"";for(v="",m=0,y=f.attrs.length;m<y;m++)v+=" "+c(f.attrs[m][0])+'="'+c(f.attrs[m][1])+'"';return v},d.prototype.renderToken=function(f,m,y){var v,w="",_=!1,S=f[m];return S.hidden?"":(S.block&&S.nesting!==-1&&m&&f[m-1].hidden&&(w+=`
`),w+=(S.nesting===-1?"</":"<")+S.tag,w+=this.renderAttrs(S),S.nesting===0&&y.xhtmlOut&&(w+=" /"),S.block&&(_=!0,S.nesting===1&&m+1<f.length&&((v=f[m+1]).type==="inline"||v.hidden||v.nesting===-1&&v.tag===S.tag)&&(_=!1)),w+=_?`>
`:">")},d.prototype.renderInline=function(f,m,y){for(var v,w="",_=this.rules,S=0,b=f.length;S<b;S++)_[v=f[S].type]!==void 0?w+=_[v](f,S,m,y,this):w+=this.renderToken(f,S,m);return w},d.prototype.renderInlineAsText=function(f,m,y){for(var v="",w=0,_=f.length;w<_;w++)f[w].type==="text"?v+=f[w].content:f[w].type==="image"&&(v+=this.renderInlineAsText(f[w].children,m,y));return v},d.prototype.render=function(f,m,y){var v,w,_,S="",b=this.rules;for(v=0,w=f.length;v<w;v++)(_=f[v].type)==="inline"?S+=this.renderInline(f[v].children,m,y):b[_]!==void 0?S+=b[f[v].type](f,v,m,y,this):S+=this.renderToken(f,v,m,y);return S},e.exports=d},function(e,t,r){var i=r(41),a=[["normalize",r(155)],["block",r(156)],["inline",r(157)],["linkify",r(158)],["replacements",r(159)],["smartquotes",r(160)]];function c(){this.ruler=new i;for(var u=0;u<a.length;u++)this.ruler.push(a[u][0],a[u][1])}c.prototype.process=function(u){var d,f,m;for(d=0,f=(m=this.ruler.getRules("")).length;d<f;d++)m[d](u)},c.prototype.State=r(161),e.exports=c},function(e,t,r){var i=/\r\n?|\n/g,a=/\0/g;e.exports=function(c){var u;u=(u=c.src.replace(i,`
`)).replace(a,"<22>"),c.src=u}},function(e,t,r){e.exports=function(i){var a;i.inlineMode?((a=new i.Token("inline","",0)).content=i.src,a.map=[0,1],a.children=[],i.tokens.push(a)):i.md.block.parse(i.src,i.md,i.env,i.tokens)}},function(e,t,r){e.exports=function(i){var a,c,u,d=i.tokens;for(c=0,u=d.length;c<u;c++)(a=d[c]).type==="inline"&&i.md.inline.parse(a.content,i.md,i.env,a.children)}},function(e,t,r){var i=r(1).arrayReplaceAt;function a(c){return/^<\/a\s*>/i.test(c)}e.exports=function(c){var u,d,f,m,y,v,w,_,S,b,k,C,O,T,E,A,P,M,D=c.tokens;if(c.md.options.linkify){for(d=0,f=D.length;d<f;d++)if(D[d].type==="inline"&&c.md.linkify.pretest(D[d].content))for(O=0,u=(m=D[d].children).length-1;u>=0;u--)if((v=m[u]).type!=="link_close"){if(v.type==="html_inline"&&(M=v.content,/^<a[>\s]/i.test(M)&&O>0&&O--,a(v.content)&&O++),!(O>0)&&v.type==="text"&&c.md.linkify.test(v.content)){for(S=v.content,P=c.md.linkify.match(S),w=[],C=v.level,k=0,_=0;_<P.length;_++)T=P[_].url,E=c.md.normalizeLink(T),c.md.validateLink(E)&&(A=P[_].text,A=P[_].schema?P[_].schema!=="mailto:"||/^mailto:/i.test(A)?c.md.normalizeLinkText(A):c.md.normalizeLinkText("mailto:"+A).replace(/^mailto:/,""):c.md.normalizeLinkText("http://"+A).replace(/^http:\/\//,""),(b=P[_].index)>k&&((y=new c.Token("text","",0)).content=S.slice(k,b),y.level=C,w.push(y)),(y=new c.Token("link_open","a",1)).attrs=[["href",E]],y.level=C++,y.markup="linkify",y.info="auto",w.push(y),(y=new c.Token("text","",0)).content=A,y.level=C,w.push(y),(y=new c.Token("link_close","a",-1)).level=--C,y.markup="linkify",y.info="auto",w.push(y),k=P[_].lastIndex);k<S.length&&((y=new c.Token("text","",0)).content=S.slice(k),y.level=C,w.push(y)),D[d].children=m=i(m,u,w)}}else for(u--;m[u].level!==v.level&&m[u].type!=="link_open";)u--}}},function(e,t,r){var i=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,a=/\((c|tm|r|p)\)/i,c=/\((c|tm|r|p)\)/gi,u={c:"©",r:"®",p:"§",tm:"™"};function d(y,v){return u[v.toLowerCase()]}function f(y){var v,w,_=0;for(v=y.length-1;v>=0;v--)(w=y[v]).type!=="text"||_||(w.content=w.content.replace(c,d)),w.type==="link_open"&&w.info==="auto"&&_--,w.type==="link_close"&&w.info==="auto"&&_++}function m(y){var v,w,_=0;for(v=y.length-1;v>=0;v--)(w=y[v]).type!=="text"||_||i.test(w.content)&&(w.content=w.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")),w.type==="link_open"&&w.info==="auto"&&_--,w.type==="link_close"&&w.info==="auto"&&_++}e.exports=function(y){var v;if(y.md.options.typographer)for(v=y.tokens.length-1;v>=0;v--)y.tokens[v].type==="inline"&&(a.test(y.tokens[v].content)&&f(y.tokens[v].children),i.test(y.tokens[v].content)&&m(y.tokens[v].children))}},function(e,t,r){var i=r(1).isWhiteSpace,a=r(1).isPunctChar,c=r(1).isMdAsciiPunct,u=/['"]/,d=/['"]/g;function f(y,v,w){return y.substr(0,v)+w+y.substr(v+1)}function m(y,v){var w,_,S,b,k,C,O,T,E,A,P,M,D,F,I,U,$,z,q,G,ee;for(q=[],w=0;w<y.length;w++){for(_=y[w],O=y[w].level,$=q.length-1;$>=0&&!(q[$].level<=O);$--);if(q.length=$+1,_.type==="text"){k=0,C=(S=_.content).length;e:for(;k<C&&(d.lastIndex=k,b=d.exec(S));){if(I=U=!0,k=b.index+1,z=b[0]==="'",E=32,b.index-1>=0)E=S.charCodeAt(b.index-1);else for($=w-1;$>=0&&y[$].type!=="softbreak"&&y[$].type!=="hardbreak";$--)if(y[$].type==="text"){E=y[$].content.charCodeAt(y[$].content.length-1);break}if(A=32,k<C)A=S.charCodeAt(k);else for($=w+1;$<y.length&&y[$].type!=="softbreak"&&y[$].type!=="hardbreak";$++)if(y[$].type==="text"){A=y[$].content.charCodeAt(0);break}if(P=c(E)||a(String.fromCharCode(E)),M=c(A)||a(String.fromCharCode(A)),D=i(E),(F=i(A))?I=!1:M&&(D||P||(I=!1)),D?U=!1:P&&(F||M||(U=!1)),A===34&&b[0]==='"'&&E>=48&&E<=57&&(U=I=!1),I&&U&&(I=!1,U=M),I||U){if(U){for($=q.length-1;$>=0&&(T=q[$],!(q[$].level<O));$--)if(T.single===z&&q[$].level===O){T=q[$],z?(G=v.md.options.quotes[2],ee=v.md.options.quotes[3]):(G=v.md.options.quotes[0],ee=v.md.options.quotes[1]),_.content=f(_.content,b.index,ee),y[T.token].content=f(y[T.token].content,T.pos,G),k+=ee.length-1,T.token===w&&(k+=G.length-1),C=(S=_.content).length,q.length=$;continue e}}I?q.push({token:w,pos:b.index,single:z,level:O}):U&&z&&(_.content=f(_.content,b.index,""))}else z&&(_.content=f(_.content,b.index,""))}}}}e.exports=function(y){var v;if(y.md.options.typographer)for(v=y.tokens.length-1;v>=0;v--)y.tokens[v].type==="inline"&&u.test(y.tokens[v].content)&&m(y.tokens[v].children,y)}},function(e,t,r){var i=r(42);function a(c,u,d){this.src=c,this.env=d,this.tokens=[],this.inlineMode=!1,this.md=u}a.prototype.Token=i,e.exports=a},function(e,t,r){var i=r(41),a=[["table",r(163),["paragraph","reference"]],["code",r(164)],["fence",r(165),["paragraph","reference","blockquote","list"]],["blockquote",r(166),["paragraph","reference","blockquote","list"]],["hr",r(167),["paragraph","reference","blockquote","list"]],["list",r(168),["paragraph","reference","blockquote"]],["reference",r(169)],["heading",r(170),["paragraph","reference","blockquote"]],["lheading",r(171)],["html_block",r(172),["paragraph","reference","blockquote"]],["paragraph",r(174)]];function c(){this.ruler=new i;for(var u=0;u<a.length;u++)this.ruler.push(a[u][0],a[u][1],{alt:(a[u][2]||[]).slice()})}c.prototype.tokenize=function(u,d,f){for(var m,y=this.ruler.getRules(""),v=y.length,w=d,_=!1,S=u.md.options.maxNesting;w<f&&(u.line=w=u.skipEmptyLines(w),!(w>=f))&&!(u.sCount[w]<u.blkIndent);){if(u.level>=S){u.line=f;break}for(m=0;m<v&&!y[m](u,w,f,!1);m++);u.tight=!_,u.isEmpty(u.line-1)&&(_=!0),(w=u.line)<f&&u.isEmpty(w)&&(_=!0,w++,u.line=w)}},c.prototype.parse=function(u,d,f,m){var y;u&&(y=new this.State(u,d,f,m),this.tokenize(y,y.line,y.lineMax))},c.prototype.State=r(175),e.exports=c},function(e,t,r){var i=r(1).isSpace;function a(u,d){var f=u.bMarks[d]+u.blkIndent,m=u.eMarks[d];return u.src.substr(f,m-f)}function c(u){var d,f=[],m=0,y=u.length,v=0,w=0,_=!1,S=0;for(d=u.charCodeAt(m);m<y;)d===96?_?(_=!1,S=m):v%2==0&&(_=!0,S=m):d!==124||v%2!=0||_||(f.push(u.substring(w,m)),w=m+1),d===92?v++:v=0,++m===y&&_&&(_=!1,m=S+1),d=u.charCodeAt(m);return f.push(u.substring(w)),f}e.exports=function(u,d,f,m){var y,v,w,_,S,b,k,C,O,T,E,A;if(d+2>f||(S=d+1,u.sCount[S]<u.blkIndent)||u.sCount[S]-u.blkIndent>=4||(w=u.bMarks[S]+u.tShift[S])>=u.eMarks[S]||(y=u.src.charCodeAt(w++))!==124&&y!==45&&y!==58)return!1;for(;w<u.eMarks[S];){if((y=u.src.charCodeAt(w))!==124&&y!==45&&y!==58&&!i(y))return!1;w++}for(b=(v=a(u,d+1)).split("|"),O=[],_=0;_<b.length;_++){if(!(T=b[_].trim())){if(_===0||_===b.length-1)continue;return!1}if(!/^:?-+:?$/.test(T))return!1;T.charCodeAt(T.length-1)===58?O.push(T.charCodeAt(0)===58?"center":"right"):T.charCodeAt(0)===58?O.push("left"):O.push("")}if((v=a(u,d).trim()).indexOf("|")===-1||u.sCount[d]-u.blkIndent>=4||(k=(b=c(v.replace(/^\||\|$/g,""))).length)>O.length)return!1;if(m)return!0;for((C=u.push("table_open","table",1)).map=E=[d,0],(C=u.push("thead_open","thead",1)).map=[d,d+1],(C=u.push("tr_open","tr",1)).map=[d,d+1],_=0;_<b.length;_++)(C=u.push("th_open","th",1)).map=[d,d+1],O[_]&&(C.attrs=[["style","text-align:"+O[_]]]),(C=u.push("inline","",0)).content=b[_].trim(),C.map=[d,d+1],C.children=[],C=u.push("th_close","th",-1);for(C=u.push("tr_close","tr",-1),C=u.push("thead_close","thead",-1),(C=u.push("tbody_open","tbody",1)).map=A=[d+2,0],S=d+2;S<f&&!(u.sCount[S]<u.blkIndent)&&(v=a(u,S).trim()).indexOf("|")!==-1&&!(u.sCount[S]-u.blkIndent>=4);S++){for(b=c(v.replace(/^\||\|$/g,"")),C=u.push("tr_open","tr",1),_=0;_<k;_++)C=u.push("td_open","td",1),O[_]&&(C.attrs=[["style","text-align:"+O[_]]]),(C=u.push("inline","",0)).content=b[_]?b[_].trim():"",C.children=[],C=u.push("td_close","td",-1);C=u.push("tr_close","tr",-1)}return C=u.push("tbody_close","tbody",-1),C=u.push("table_close","table",-1),E[1]=A[1]=S,u.line=S,!0}},function(e,t,r){e.exports=function(i,a,c){var u,d,f;if(i.sCount[a]-i.blkIndent<4)return!1;for(d=u=a+1;u<c;)if(i.isEmpty(u))u++;else{if(!(i.sCount[u]-i.blkIndent>=4))break;d=++u}return i.line=d,(f=i.push("code_block","code",0)).content=i.getLines(a,d,4+i.blkIndent,!0),f.map=[a,i.line],!0}},function(e,t,r){e.exports=function(i,a,c,u){var d,f,m,y,v,w,_,S=!1,b=i.bMarks[a]+i.tShift[a],k=i.eMarks[a];if(i.sCount[a]-i.blkIndent>=4||b+3>k||(d=i.src.charCodeAt(b))!==126&&d!==96||(v=b,(f=(b=i.skipChars(b,d))-v)<3)||(_=i.src.slice(v,b),m=i.src.slice(b,k),d===96&&m.indexOf(String.fromCharCode(d))>=0))return!1;if(u)return!0;for(y=a;!(++y>=c)&&!((b=v=i.bMarks[y]+i.tShift[y])<(k=i.eMarks[y])&&i.sCount[y]<i.blkIndent);)if(i.src.charCodeAt(b)===d&&!(i.sCount[y]-i.blkIndent>=4||(b=i.skipChars(b,d))-v<f||(b=i.skipSpaces(b))<k)){S=!0;break}return f=i.sCount[a],i.line=y+(S?1:0),(w=i.push("fence","code",0)).info=m,w.content=i.getLines(a+1,y,f,!0),w.markup=_,w.map=[a,i.line],!0}},function(e,t,r){var i=r(1).isSpace;e.exports=function(a,c,u,d){var f,m,y,v,w,_,S,b,k,C,O,T,E,A,P,M,D,F,I,U,$=a.lineMax,z=a.bMarks[c]+a.tShift[c],q=a.eMarks[c];if(a.sCount[c]-a.blkIndent>=4||a.src.charCodeAt(z++)!==62)return!1;if(d)return!0;for(v=k=a.sCount[c]+z-(a.bMarks[c]+a.tShift[c]),a.src.charCodeAt(z)===32?(z++,v++,k++,f=!1,M=!0):a.src.charCodeAt(z)===9?(M=!0,(a.bsCount[c]+k)%4==3?(z++,v++,k++,f=!1):f=!0):M=!1,C=[a.bMarks[c]],a.bMarks[c]=z;z<q&&(m=a.src.charCodeAt(z),i(m));)m===9?k+=4-(k+a.bsCount[c]+(f?1:0))%4:k++,z++;for(O=[a.bsCount[c]],a.bsCount[c]=a.sCount[c]+1+(M?1:0),_=z>=q,A=[a.sCount[c]],a.sCount[c]=k-v,P=[a.tShift[c]],a.tShift[c]=z-a.bMarks[c],F=a.md.block.ruler.getRules("blockquote"),E=a.parentType,a.parentType="blockquote",U=!1,b=c+1;b<u&&(a.sCount[b]<a.blkIndent&&(U=!0),!((z=a.bMarks[b]+a.tShift[b])>=(q=a.eMarks[b])));b++)if(a.src.charCodeAt(z++)!==62||U){if(_)break;for(D=!1,y=0,w=F.length;y<w;y++)if(F[y](a,b,u,!0)){D=!0;break}if(D){a.lineMax=b,a.blkIndent!==0&&(C.push(a.bMarks[b]),O.push(a.bsCount[b]),P.push(a.tShift[b]),A.push(a.sCount[b]),a.sCount[b]-=a.blkIndent);break}C.push(a.bMarks[b]),O.push(a.bsCount[b]),P.push(a.tShift[b]),A.push(a.sCount[b]),a.sCount[b]=-1}else{for(v=k=a.sCount[b]+z-(a.bMarks[b]+a.tShift[b]),a.src.charCodeAt(z)===32?(z++,v++,k++,f=!1,M=!0):a.src.charCodeAt(z)===9?(M=!0,(a.bsCount[b]+k)%4==3?(z++,v++,k++,f=!1):f=!0):M=!1,C.push(a.bMarks[b]),a.bMarks[b]=z;z<q&&(m=a.src.charCodeAt(z),i(m));)m===9?k+=4-(k+a.bsCount[b]+(f?1:0))%4:k++,z++;_=z>=q,O.push(a.bsCount[b]),a.bsCount[b]=a.sCount[b]+1+(M?1:0),A.push(a.sCount[b]),a.sCount[b]=k-v,P.push(a.tShift[b]),a.tShift[b]=z-a.bMarks[b]}for(T=a.blkIndent,a.blkIndent=0,(I=a.push("blockquote_open","blockquote",1)).markup=">",I.map=S=[c,0],a.md.block.tokenize(a,c,b),(I=a.push("blockquote_close","blockquote",-1)).markup=">",a.lineMax=$,a.parentType=E,S[1]=a.line,y=0;y<P.length;y++)a.bMarks[y+c]=C[y],a.tShift[y+c]=P[y],a.sCount[y+c]=A[y],a.bsCount[y+c]=O[y];return a.blkIndent=T,!0}},function(e,t,r){var i=r(1).isSpace;e.exports=function(a,c,u,d){var f,m,y,v,w=a.bMarks[c]+a.tShift[c],_=a.eMarks[c];if(a.sCount[c]-a.blkIndent>=4||(f=a.src.charCodeAt(w++))!==42&&f!==45&&f!==95)return!1;for(m=1;w<_;){if((y=a.src.charCodeAt(w++))!==f&&!i(y))return!1;y===f&&m++}return!(m<3)&&(d||(a.line=c+1,(v=a.push("hr","hr",0)).map=[c,a.line],v.markup=Array(m+1).join(String.fromCharCode(f))),!0)}},function(e,t,r){var i=r(1).isSpace;function a(u,d){var f,m,y,v;return m=u.bMarks[d]+u.tShift[d],y=u.eMarks[d],(f=u.src.charCodeAt(m++))!==42&&f!==45&&f!==43||m<y&&(v=u.src.charCodeAt(m),!i(v))?-1:m}function c(u,d){var f,m=u.bMarks[d]+u.tShift[d],y=m,v=u.eMarks[d];if(y+1>=v||(f=u.src.charCodeAt(y++))<48||f>57)return-1;for(;;){if(y>=v)return-1;if(!((f=u.src.charCodeAt(y++))>=48&&f<=57)){if(f===41||f===46)break;return-1}if(y-m>=10)return-1}return y<v&&(f=u.src.charCodeAt(y),!i(f))?-1:y}e.exports=function(u,d,f,m){var y,v,w,_,S,b,k,C,O,T,E,A,P,M,D,F,I,U,$,z,q,G,ee,ae,oe,Se,te,se,ne=!1,le=!0;if(u.sCount[d]-u.blkIndent>=4||u.listIndent>=0&&u.sCount[d]-u.listIndent>=4&&u.sCount[d]<u.blkIndent)return!1;if(m&&u.parentType==="paragraph"&&u.tShift[d]>=u.blkIndent&&(ne=!0),(ee=c(u,d))>=0){if(k=!0,oe=u.bMarks[d]+u.tShift[d],P=Number(u.src.substr(oe,ee-oe-1)),ne&&P!==1)return!1}else{if(!((ee=a(u,d))>=0))return!1;k=!1}if(ne&&u.skipSpaces(ee)>=u.eMarks[d])return!1;if(A=u.src.charCodeAt(ee-1),m)return!0;for(E=u.tokens.length,k?(se=u.push("ordered_list_open","ol",1),P!==1&&(se.attrs=[["start",P]])):se=u.push("bullet_list_open","ul",1),se.map=T=[d,0],se.markup=String.fromCharCode(A),D=d,ae=!1,te=u.md.block.ruler.getRules("list"),U=u.parentType,u.parentType="list";D<f;){for(G=ee,M=u.eMarks[D],b=F=u.sCount[D]+ee-(u.bMarks[d]+u.tShift[d]);G<M;){if((y=u.src.charCodeAt(G))===9)F+=4-(F+u.bsCount[D])%4;else{if(y!==32)break;F++}G++}if((S=(v=G)>=M?1:F-b)>4&&(S=1),_=b+S,(se=u.push("list_item_open","li",1)).markup=String.fromCharCode(A),se.map=C=[d,0],q=u.tight,z=u.tShift[d],$=u.sCount[d],I=u.listIndent,u.listIndent=u.blkIndent,u.blkIndent=_,u.tight=!0,u.tShift[d]=v-u.bMarks[d],u.sCount[d]=F,v>=M&&u.isEmpty(d+1)?u.line=Math.min(u.line+2,f):u.md.block.tokenize(u,d,f,!0),u.tight&&!ae||(le=!1),ae=u.line-d>1&&u.isEmpty(u.line-1),u.blkIndent=u.listIndent,u.listIndent=I,u.tShift[d]=z,u.sCount[d]=$,u.tight=q,(se=u.push("list_item_close","li",-1)).markup=String.fromCharCode(A),D=d=u.line,C[1]=D,v=u.bMarks[d],D>=f||u.sCount[D]<u.blkIndent||u.sCount[d]-u.blkIndent>=4)break;for(Se=!1,w=0,O=te.length;w<O;w++)if(te[w](u,D,f,!0)){Se=!0;break}if(Se)break;if(k){if((ee=c(u,D))<0)break}else if((ee=a(u,D))<0)break;if(A!==u.src.charCodeAt(ee-1))break}return(se=k?u.push("ordered_list_close","ol",-1):u.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(A),T[1]=D,u.line=D,u.parentType=U,le&&function(Oe,ke){var ye,re,ue=Oe.level+2;for(ye=ke+2,re=Oe.tokens.length-2;ye<re;ye++)Oe.tokens[ye].level===ue&&Oe.tokens[ye].type==="paragraph_open"&&(Oe.tokens[ye+2].hidden=!0,Oe.tokens[ye].hidden=!0,ye+=2)}(u,E),!0}},function(e,t,r){var i=r(1).normalizeReference,a=r(1).isSpace;e.exports=function(c,u,d,f){var m,y,v,w,_,S,b,k,C,O,T,E,A,P,M,D,F=0,I=c.bMarks[u]+c.tShift[u],U=c.eMarks[u],$=u+1;if(c.sCount[u]-c.blkIndent>=4||c.src.charCodeAt(I)!==91)return!1;for(;++I<U;)if(c.src.charCodeAt(I)===93&&c.src.charCodeAt(I-1)!==92){if(I+1===U||c.src.charCodeAt(I+1)!==58)return!1;break}for(w=c.lineMax,M=c.md.block.ruler.getRules("reference"),O=c.parentType,c.parentType="reference";$<w&&!c.isEmpty($);$++)if(!(c.sCount[$]-c.blkIndent>3||c.sCount[$]<0)){for(P=!1,S=0,b=M.length;S<b;S++)if(M[S](c,$,w,!0)){P=!0;break}if(P)break}for(U=(A=c.getLines(u,$,c.blkIndent,!1).trim()).length,I=1;I<U;I++){if((m=A.charCodeAt(I))===91)return!1;if(m===93){C=I;break}(m===10||m===92&&++I<U&&A.charCodeAt(I)===10)&&F++}if(C<0||A.charCodeAt(C+1)!==58)return!1;for(I=C+2;I<U;I++)if((m=A.charCodeAt(I))===10)F++;else if(!a(m))break;if(!(T=c.md.helpers.parseLinkDestination(A,I,U)).ok||(_=c.md.normalizeLink(T.str),!c.md.validateLink(_)))return!1;for(y=I=T.pos,v=F+=T.lines,E=I;I<U;I++)if((m=A.charCodeAt(I))===10)F++;else if(!a(m))break;for(T=c.md.helpers.parseLinkTitle(A,I,U),I<U&&E!==I&&T.ok?(D=T.str,I=T.pos,F+=T.lines):(D="",I=y,F=v);I<U&&(m=A.charCodeAt(I),a(m));)I++;if(I<U&&A.charCodeAt(I)!==10&&D)for(D="",I=y,F=v;I<U&&(m=A.charCodeAt(I),a(m));)I++;return!(I<U&&A.charCodeAt(I)!==10)&&!!(k=i(A.slice(1,C)))&&(f||(c.env.references===void 0&&(c.env.references={}),c.env.references[k]===void 0&&(c.env.references[k]={title:D,href:_}),c.parentType=O,c.line=u+F+1),!0)}},function(e,t,r){var i=r(1).isSpace;e.exports=function(a,c,u,d){var f,m,y,v,w=a.bMarks[c]+a.tShift[c],_=a.eMarks[c];if(a.sCount[c]-a.blkIndent>=4||(f=a.src.charCodeAt(w))!==35||w>=_)return!1;for(m=1,f=a.src.charCodeAt(++w);f===35&&w<_&&m<=6;)m++,f=a.src.charCodeAt(++w);return!(m>6||w<_&&!i(f))&&(d||(_=a.skipSpacesBack(_,w),(y=a.skipCharsBack(_,35,w))>w&&i(a.src.charCodeAt(y-1))&&(_=y),a.line=c+1,(v=a.push("heading_open","h"+String(m),1)).markup="########".slice(0,m),v.map=[c,a.line],(v=a.push("inline","",0)).content=a.src.slice(w,_).trim(),v.map=[c,a.line],v.children=[],(v=a.push("heading_close","h"+String(m),-1)).markup="########".slice(0,m)),!0)}},function(e,t,r){e.exports=function(i,a,c){var u,d,f,m,y,v,w,_,S,b,k=a+1,C=i.md.block.ruler.getRules("paragraph");if(i.sCount[a]-i.blkIndent>=4)return!1;for(b=i.parentType,i.parentType="paragraph";k<c&&!i.isEmpty(k);k++)if(!(i.sCount[k]-i.blkIndent>3)){if(i.sCount[k]>=i.blkIndent&&(v=i.bMarks[k]+i.tShift[k])<(w=i.eMarks[k])&&((S=i.src.charCodeAt(v))===45||S===61)&&(v=i.skipChars(v,S),(v=i.skipSpaces(v))>=w)){_=S===61?1:2;break}if(!(i.sCount[k]<0)){for(d=!1,f=0,m=C.length;f<m;f++)if(C[f](i,k,c,!0)){d=!0;break}if(d)break}}return!!_&&(u=i.getLines(a,k,i.blkIndent,!1).trim(),i.line=k+1,(y=i.push("heading_open","h"+String(_),1)).markup=String.fromCharCode(S),y.map=[a,i.line],(y=i.push("inline","",0)).content=u,y.map=[a,i.line-1],y.children=[],(y=i.push("heading_close","h"+String(_),-1)).markup=String.fromCharCode(S),i.parentType=b,!0)}},function(e,t,r){var i=r(173),a=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("^</?("+i.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(a.source+"\\s*$"),/^$/,!1]];e.exports=function(u,d,f,m){var y,v,w,_,S=u.bMarks[d]+u.tShift[d],b=u.eMarks[d];if(u.sCount[d]-u.blkIndent>=4||!u.md.options.html||u.src.charCodeAt(S)!==60)return!1;for(_=u.src.slice(S,b),y=0;y<c.length&&!c[y][0].test(_);y++);if(y===c.length)return!1;if(m)return c[y][2];if(v=d+1,!c[y][1].test(_)){for(;v<f&&!(u.sCount[v]<u.blkIndent);v++)if(S=u.bMarks[v]+u.tShift[v],b=u.eMarks[v],_=u.src.slice(S,b),c[y][1].test(_)){_.length!==0&&v++;break}}return u.line=v,(w=u.push("html_block","",0)).map=[d,v],w.content=u.getLines(d,v,u.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(i,a){var c,u,d,f,m,y,v=a+1,w=i.md.block.ruler.getRules("paragraph"),_=i.lineMax;for(y=i.parentType,i.parentType="paragraph";v<_&&!i.isEmpty(v);v++)if(!(i.sCount[v]-i.blkIndent>3||i.sCount[v]<0)){for(u=!1,d=0,f=w.length;d<f;d++)if(w[d](i,v,_,!0)){u=!0;break}if(u)break}return c=i.getLines(a,v,i.blkIndent,!1).trim(),i.line=v,(m=i.push("paragraph_open","p",1)).map=[a,i.line],(m=i.push("inline","",0)).content=c,m.map=[a,i.line],m.children=[],m=i.push("paragraph_close","p",-1),i.parentType=y,!0}},function(e,t,r){var i=r(42),a=r(1).isSpace;function c(u,d,f,m){var y,v,w,_,S,b,k,C;for(this.src=u,this.md=d,this.env=f,this.tokens=m,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="",C=!1,w=_=b=k=0,S=(v=this.src).length;_<S;_++){if(y=v.charCodeAt(_),!C){if(a(y)){b++,y===9?k+=4-k%4:k++;continue}C=!0}y!==10&&_!==S-1||(y!==10&&_++,this.bMarks.push(w),this.eMarks.push(_),this.tShift.push(b),this.sCount.push(k),this.bsCount.push(0),C=!1,b=0,k=0,w=_+1)}this.bMarks.push(v.length),this.eMarks.push(v.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}c.prototype.push=function(u,d,f){var m=new i(u,d,f);return m.block=!0,f<0&&this.level--,m.level=this.level,f>0&&this.level++,this.tokens.push(m),m},c.prototype.isEmpty=function(u){return this.bMarks[u]+this.tShift[u]>=this.eMarks[u]},c.prototype.skipEmptyLines=function(u){for(var d=this.lineMax;u<d&&!(this.bMarks[u]+this.tShift[u]<this.eMarks[u]);u++);return u},c.prototype.skipSpaces=function(u){for(var d,f=this.src.length;u<f&&(d=this.src.charCodeAt(u),a(d));u++);return u},c.prototype.skipSpacesBack=function(u,d){if(u<=d)return u;for(;u>d;)if(!a(this.src.charCodeAt(--u)))return u+1;return u},c.prototype.skipChars=function(u,d){for(var f=this.src.length;u<f&&this.src.charCodeAt(u)===d;u++);return u},c.prototype.skipCharsBack=function(u,d,f){if(u<=f)return u;for(;u>f;)if(d!==this.src.charCodeAt(--u))return u+1;return u},c.prototype.getLines=function(u,d,f,m){var y,v,w,_,S,b,k,C=u;if(u>=d)return"";for(b=new Array(d-u),y=0;C<d;C++,y++){for(v=0,k=_=this.bMarks[C],S=C+1<d||m?this.eMarks[C]+1:this.eMarks[C];_<S&&v<f;){if(w=this.src.charCodeAt(_),a(w))w===9?v+=4-(v+this.bsCount[C])%4:v++;else{if(!(_-k<this.tShift[C]))break;v++}_++}b[y]=v>f?new Array(v-f+1).join(" ")+this.src.slice(_,S):this.src.slice(_,S)}return b.join("")},c.prototype.Token=i,e.exports=c},function(e,t,r){var i=r(41),a=[["text",r(177)],["newline",r(178)],["escape",r(179)],["backticks",r(180)],["strikethrough",r(68).tokenize],["emphasis",r(69).tokenize],["link",r(181)],["image",r(182)],["autolink",r(183)],["html_inline",r(184)],["entity",r(185)]],c=[["balance_pairs",r(186)],["strikethrough",r(68).postProcess],["emphasis",r(69).postProcess],["text_collapse",r(187)]];function u(){var d;for(this.ruler=new i,d=0;d<a.length;d++)this.ruler.push(a[d][0],a[d][1]);for(this.ruler2=new i,d=0;d<c.length;d++)this.ruler2.push(c[d][0],c[d][1])}u.prototype.skipToken=function(d){var f,m,y=d.pos,v=this.ruler.getRules(""),w=v.length,_=d.md.options.maxNesting,S=d.cache;if(S[y]===void 0){if(d.level<_)for(m=0;m<w&&(d.level++,f=v[m](d,!0),d.level--,!f);m++);else d.pos=d.posMax;f||d.pos++,S[y]=d.pos}else d.pos=S[y]},u.prototype.tokenize=function(d){for(var f,m,y=this.ruler.getRules(""),v=y.length,w=d.posMax,_=d.md.options.maxNesting;d.pos<w;){if(d.level<_)for(m=0;m<v&&!(f=y[m](d,!1));m++);if(f){if(d.pos>=w)break}else d.pending+=d.src[d.pos++]}d.pending&&d.pushPending()},u.prototype.parse=function(d,f,m,y){var v,w,_,S=new this.State(d,f,m,y);for(this.tokenize(S),_=(w=this.ruler2.getRules("")).length,v=0;v<_;v++)w[v](S)},u.prototype.State=r(188),e.exports=u},function(e,t,r){function i(a){switch(a){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(a,c){for(var u=a.pos;u<a.posMax&&!i(a.src.charCodeAt(u));)u++;return u!==a.pos&&(c||(a.pending+=a.src.slice(a.pos,u)),a.pos=u,!0)}},function(e,t,r){var i=r(1).isSpace;e.exports=function(a,c){var u,d,f=a.pos;if(a.src.charCodeAt(f)!==10)return!1;for(u=a.pending.length-1,d=a.posMax,c||(u>=0&&a.pending.charCodeAt(u)===32?u>=1&&a.pending.charCodeAt(u-1)===32?(a.pending=a.pending.replace(/ +$/,""),a.push("hardbreak","br",0)):(a.pending=a.pending.slice(0,-1),a.push("softbreak","br",0)):a.push("softbreak","br",0)),f++;f<d&&i(a.src.charCodeAt(f));)f++;return a.pos=f,!0}},function(e,t,r){for(var i=r(1).isSpace,a=[],c=0;c<256;c++)a.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(u){a[u.charCodeAt(0)]=1}),e.exports=function(u,d){var f,m=u.pos,y=u.posMax;if(u.src.charCodeAt(m)!==92)return!1;if(++m<y){if((f=u.src.charCodeAt(m))<256&&a[f]!==0)return d||(u.pending+=u.src[m]),u.pos+=2,!0;if(f===10){for(d||u.push("hardbreak","br",0),m++;m<y&&(f=u.src.charCodeAt(m),i(f));)m++;return u.pos=m,!0}}return d||(u.pending+="\\"),u.pos++,!0}},function(e,t,r){e.exports=function(i,a){var c,u,d,f,m,y,v=i.pos;if(i.src.charCodeAt(v)!==96)return!1;for(c=v,v++,u=i.posMax;v<u&&i.src.charCodeAt(v)===96;)v++;for(d=i.src.slice(c,v),f=m=v;(f=i.src.indexOf("`",m))!==-1;){for(m=f+1;m<u&&i.src.charCodeAt(m)===96;)m++;if(m-f===d.length)return a||((y=i.push("code_inline","code",0)).markup=d,y.content=i.src.slice(v,f).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),i.pos=m,!0}return a||(i.pending+=d),i.pos+=d.length,!0}},function(e,t,r){var i=r(1).normalizeReference,a=r(1).isSpace;e.exports=function(c,u){var d,f,m,y,v,w,_,S,b,k="",C=c.pos,O=c.posMax,T=c.pos,E=!0;if(c.src.charCodeAt(c.pos)!==91||(v=c.pos+1,(y=c.md.helpers.parseLinkLabel(c,c.pos,!0))<0))return!1;if((w=y+1)<O&&c.src.charCodeAt(w)===40){for(E=!1,w++;w<O&&(f=c.src.charCodeAt(w),a(f)||f===10);w++);if(w>=O)return!1;for(T=w,(_=c.md.helpers.parseLinkDestination(c.src,w,c.posMax)).ok&&(k=c.md.normalizeLink(_.str),c.md.validateLink(k)?w=_.pos:k=""),T=w;w<O&&(f=c.src.charCodeAt(w),a(f)||f===10);w++);if(_=c.md.helpers.parseLinkTitle(c.src,w,c.posMax),w<O&&T!==w&&_.ok)for(b=_.str,w=_.pos;w<O&&(f=c.src.charCodeAt(w),a(f)||f===10);w++);else b="";(w>=O||c.src.charCodeAt(w)!==41)&&(E=!0),w++}if(E){if(c.env.references===void 0)return!1;if(w<O&&c.src.charCodeAt(w)===91?(T=w+1,(w=c.md.helpers.parseLinkLabel(c,w))>=0?m=c.src.slice(T,w++):w=y+1):w=y+1,m||(m=c.src.slice(v,y)),!(S=c.env.references[i(m)]))return c.pos=C,!1;k=S.href,b=S.title}return u||(c.pos=v,c.posMax=y,c.push("link_open","a",1).attrs=d=[["href",k]],b&&d.push(["title",b]),c.md.inline.tokenize(c),c.push("link_close","a",-1)),c.pos=w,c.posMax=O,!0}},function(e,t,r){var i=r(1).normalizeReference,a=r(1).isSpace;e.exports=function(c,u){var d,f,m,y,v,w,_,S,b,k,C,O,T,E="",A=c.pos,P=c.posMax;if(c.src.charCodeAt(c.pos)!==33||c.src.charCodeAt(c.pos+1)!==91||(w=c.pos+2,(v=c.md.helpers.parseLinkLabel(c,c.pos+1,!1))<0))return!1;if((_=v+1)<P&&c.src.charCodeAt(_)===40){for(_++;_<P&&(f=c.src.charCodeAt(_),a(f)||f===10);_++);if(_>=P)return!1;for(T=_,(b=c.md.helpers.parseLinkDestination(c.src,_,c.posMax)).ok&&(E=c.md.normalizeLink(b.str),c.md.validateLink(E)?_=b.pos:E=""),T=_;_<P&&(f=c.src.charCodeAt(_),a(f)||f===10);_++);if(b=c.md.helpers.parseLinkTitle(c.src,_,c.posMax),_<P&&T!==_&&b.ok)for(k=b.str,_=b.pos;_<P&&(f=c.src.charCodeAt(_),a(f)||f===10);_++);else k="";if(_>=P||c.src.charCodeAt(_)!==41)return c.pos=A,!1;_++}else{if(c.env.references===void 0)return!1;if(_<P&&c.src.charCodeAt(_)===91?(T=_+1,(_=c.md.helpers.parseLinkLabel(c,_))>=0?y=c.src.slice(T,_++):_=v+1):_=v+1,y||(y=c.src.slice(w,v)),!(S=c.env.references[i(y)]))return c.pos=A,!1;E=S.href,k=S.title}return u||(m=c.src.slice(w,v),c.md.inline.parse(m,c.md,c.env,O=[]),(C=c.push("image","img",0)).attrs=d=[["src",E],["alt",""]],C.children=O,C.content=m,k&&d.push(["title",k])),c.pos=_,c.posMax=P,!0}},function(e,t,r){var i=/^<([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])?)*)>/,a=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;e.exports=function(c,u){var d,f,m,y,v,w,_=c.pos;return c.src.charCodeAt(_)===60&&!((d=c.src.slice(_)).indexOf(">")<0)&&(a.test(d)?(y=(f=d.match(a))[0].slice(1,-1),v=c.md.normalizeLink(y),!!c.md.validateLink(v)&&(u||((w=c.push("link_open","a",1)).attrs=[["href",v]],w.markup="autolink",w.info="auto",(w=c.push("text","",0)).content=c.md.normalizeLinkText(y),(w=c.push("link_close","a",-1)).markup="autolink",w.info="auto"),c.pos+=f[0].length,!0)):!!i.test(d)&&(y=(m=d.match(i))[0].slice(1,-1),v=c.md.normalizeLink("mailto:"+y),!!c.md.validateLink(v)&&(u||((w=c.push("link_open","a",1)).attrs=[["href",v]],w.markup="autolink",w.info="auto",(w=c.push("text","",0)).content=c.md.normalizeLinkText(y),(w=c.push("link_close","a",-1)).markup="autolink",w.info="auto"),c.pos+=m[0].length,!0)))}},function(e,t,r){var i=r(67).HTML_TAG_RE;e.exports=function(a,c){var u,d,f,m=a.pos;return!!a.md.options.html&&(f=a.posMax,!(a.src.charCodeAt(m)!==60||m+2>=f)&&!((u=a.src.charCodeAt(m+1))!==33&&u!==63&&u!==47&&!function(y){var v=32|y;return v>=97&&v<=122}(u))&&!!(d=a.src.slice(m).match(i))&&(c||(a.push("html_inline","",0).content=a.src.slice(m,m+d[0].length)),a.pos+=d[0].length,!0))}},function(e,t,r){var i=r(62),a=r(1).has,c=r(1).isValidEntityCode,u=r(1).fromCodePoint,d=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,f=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(m,y){var v,w,_=m.pos,S=m.posMax;if(m.src.charCodeAt(_)!==38)return!1;if(_+1<S){if(m.src.charCodeAt(_+1)===35){if(w=m.src.slice(_).match(d))return y||(v=w[1][0].toLowerCase()==="x"?parseInt(w[1].slice(1),16):parseInt(w[1],10),m.pending+=c(v)?u(v):u(65533)),m.pos+=w[0].length,!0}else if((w=m.src.slice(_).match(f))&&a(i,w[1]))return y||(m.pending+=i[w[1]]),m.pos+=w[0].length,!0}return y||(m.pending+="&"),m.pos++,!0}},function(e,t,r){function i(a,c){var u,d,f,m,y,v,w,_,S={},b=c.length;for(u=0;u<b;u++)if((f=c[u]).length=f.length||0,f.close){for(S.hasOwnProperty(f.marker)||(S[f.marker]=[-1,-1,-1]),y=S[f.marker][f.length%3],v=-1,d=u-f.jump-1;d>y;d-=m.jump+1)if((m=c[d]).marker===f.marker&&(v===-1&&(v=d),m.open&&m.end<0&&m.level===f.level&&(w=!1,(m.close||f.open)&&(m.length+f.length)%3==0&&(m.length%3==0&&f.length%3==0||(w=!0)),!w))){_=d>0&&!c[d-1].open?c[d-1].jump+1:0,f.jump=u-d+_,f.open=!1,m.end=u,m.jump=_,m.close=!1,v=-1;break}v!==-1&&(S[f.marker][(f.length||0)%3]=v)}}e.exports=function(a){var c,u=a.tokens_meta,d=a.tokens_meta.length;for(i(0,a.delimiters),c=0;c<d;c++)u[c]&&u[c].delimiters&&i(0,u[c].delimiters)}},function(e,t,r){e.exports=function(i){var a,c,u=0,d=i.tokens,f=i.tokens.length;for(a=c=0;a<f;a++)d[a].nesting<0&&u--,d[a].level=u,d[a].nesting>0&&u++,d[a].type==="text"&&a+1<f&&d[a+1].type==="text"?d[a+1].content=d[a].content+d[a+1].content:(a!==c&&(d[c]=d[a]),c++);a!==c&&(d.length=c)}},function(e,t,r){var i=r(42),a=r(1).isWhiteSpace,c=r(1).isPunctChar,u=r(1).isMdAsciiPunct;function d(f,m,y,v){this.src=f,this.env=y,this.md=m,this.tokens=v,this.tokens_meta=Array(v.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[]}d.prototype.pushPending=function(){var f=new i("text","",0);return f.content=this.pending,f.level=this.pendingLevel,this.tokens.push(f),this.pending="",f},d.prototype.push=function(f,m,y){this.pending&&this.pushPending();var v=new i(f,m,y),w=null;return y<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),v.level=this.level,y>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],w={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(v),this.tokens_meta.push(w),v},d.prototype.scanDelims=function(f,m){var y,v,w,_,S,b,k,C,O,T=f,E=!0,A=!0,P=this.posMax,M=this.src.charCodeAt(f);for(y=f>0?this.src.charCodeAt(f-1):32;T<P&&this.src.charCodeAt(T)===M;)T++;return w=T-f,v=T<P?this.src.charCodeAt(T):32,k=u(y)||c(String.fromCharCode(y)),O=u(v)||c(String.fromCharCode(v)),b=a(y),(C=a(v))?E=!1:O&&(b||k||(E=!1)),b?A=!1:k&&(C||O||(A=!1)),m?(_=E,S=A):(_=E&&(!A||k),S=A&&(!E||O)),{can_open:_,can_close:S,length:w}},d.prototype.Token=i,e.exports=d},function(e,t,r){function i(S){var b=Array.prototype.slice.call(arguments,1);return b.forEach(function(k){k&&Object.keys(k).forEach(function(C){S[C]=k[C]})}),S}function a(S){return Object.prototype.toString.call(S)}function c(S){return a(S)==="[object Function]"}function u(S){return S.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var d={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},f={"http:":{validate:function(S,b,k){var C=S.slice(b);return k.re.http||(k.re.http=new RegExp("^\\/\\/"+k.re.src_auth+k.re.src_host_port_strict+k.re.src_path,"i")),k.re.http.test(C)?C.match(k.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(S,b,k){var C=S.slice(b);return k.re.no_http||(k.re.no_http=new RegExp("^"+k.re.src_auth+"(?:localhost|(?:(?:"+k.re.src_domain+")\\.)+"+k.re.src_domain_root+")"+k.re.src_port+k.re.src_host_terminator+k.re.src_path,"i")),k.re.no_http.test(C)?b>=3&&S[b-3]===":"||b>=3&&S[b-3]==="/"?0:C.match(k.re.no_http)[0].length:0}},"mailto:":{validate:function(S,b,k){var C=S.slice(b);return k.re.mailto||(k.re.mailto=new RegExp("^"+k.re.src_email_name+"@"+k.re.src_host_strict,"i")),k.re.mailto.test(C)?C.match(k.re.mailto)[0].length:0}}},m="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function y(S){var b=S.re=r(190)(S.__opts__),k=S.__tlds__.slice();function C(A){return A.replace("%TLDS%",b.src_tlds)}S.onCompile(),S.__tlds_replaced__||k.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]"),k.push(b.src_xn),b.src_tlds=k.join("|"),b.email_fuzzy=RegExp(C(b.tpl_email_fuzzy),"i"),b.link_fuzzy=RegExp(C(b.tpl_link_fuzzy),"i"),b.link_no_ip_fuzzy=RegExp(C(b.tpl_link_no_ip_fuzzy),"i"),b.host_fuzzy_test=RegExp(C(b.tpl_host_fuzzy_test),"i");var O=[];function T(A,P){throw new Error('(LinkifyIt) Invalid schema "'+A+'": '+P)}S.__compiled__={},Object.keys(S.__schemas__).forEach(function(A){var P=S.__schemas__[A];if(P!==null){var M={validate:null,link:null};if(S.__compiled__[A]=M,a(P)==="[object Object]")return function(D){return a(D)==="[object RegExp]"}(P.validate)?M.validate=function(D){return function(F,I){var U=F.slice(I);return D.test(U)?U.match(D)[0].length:0}}(P.validate):c(P.validate)?M.validate=P.validate:T(A,P),void(c(P.normalize)?M.normalize=P.normalize:P.normalize?T(A,P):M.normalize=function(D,F){F.normalize(D)});(function(D){return a(D)==="[object String]"})(P)?O.push(A):T(A,P)}}),O.forEach(function(A){S.__compiled__[S.__schemas__[A]]&&(S.__compiled__[A].validate=S.__compiled__[S.__schemas__[A]].validate,S.__compiled__[A].normalize=S.__compiled__[S.__schemas__[A]].normalize)}),S.__compiled__[""]={validate:null,normalize:function(A,P){P.normalize(A)}};var E=Object.keys(S.__compiled__).filter(function(A){return A.length>0&&S.__compiled__[A]}).map(u).join("|");S.re.schema_test=RegExp("(^|(?!_)(?:[><]|"+b.src_ZPCc+"))("+E+")","i"),S.re.schema_search=RegExp("(^|(?!_)(?:[><]|"+b.src_ZPCc+"))("+E+")","ig"),S.re.pretest=RegExp("("+S.re.schema_test.source+")|("+S.re.host_fuzzy_test.source+")|@","i"),function(A){A.__index__=-1,A.__text_cache__=""}(S)}function v(S,b){var k=S.__index__,C=S.__last_index__,O=S.__text_cache__.slice(k,C);this.schema=S.__schema__.toLowerCase(),this.index=k+b,this.lastIndex=C+b,this.raw=O,this.text=O,this.url=O}function w(S,b){var k=new v(S,b);return S.__compiled__[k.schema].normalize(k,S),k}function _(S,b){if(!(this instanceof _))return new _(S,b);var k;b||(k=S,Object.keys(k||{}).reduce(function(C,O){return C||d.hasOwnProperty(O)},!1)&&(b=S,S={})),this.__opts__=i({},d,b),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=i({},f,S),this.__compiled__={},this.__tlds__=m,this.__tlds_replaced__=!1,this.re={},y(this)}_.prototype.add=function(S,b){return this.__schemas__[S]=b,y(this),this},_.prototype.set=function(S){return this.__opts__=i(this.__opts__,S),this},_.prototype.test=function(S){if(this.__text_cache__=S,this.__index__=-1,!S.length)return!1;var b,k,C,O,T,E,A,P;if(this.re.schema_test.test(S)){for((A=this.re.schema_search).lastIndex=0;(b=A.exec(S))!==null;)if(O=this.testSchemaAt(S,b[2],A.lastIndex)){this.__schema__=b[2],this.__index__=b.index+b[1].length,this.__last_index__=b.index+b[0].length+O;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(P=S.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||P<this.__index__)&&(k=S.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(T=k.index+k[1].length,(this.__index__<0||T<this.__index__)&&(this.__schema__="",this.__index__=T,this.__last_index__=k.index+k[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&S.indexOf("@")>=0&&(C=S.match(this.re.email_fuzzy))!==null&&(T=C.index+C[1].length,E=C.index+C[0].length,(this.__index__<0||T<this.__index__||T===this.__index__&&E>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=T,this.__last_index__=E)),this.__index__>=0},_.prototype.pretest=function(S){return this.re.pretest.test(S)},_.prototype.testSchemaAt=function(S,b,k){return this.__compiled__[b.toLowerCase()]?this.__compiled__[b.toLowerCase()].validate(S,k,this):0},_.prototype.match=function(S){var b=0,k=[];this.__index__>=0&&this.__text_cache__===S&&(k.push(w(this,b)),b=this.__last_index__);for(var C=b?S.slice(b):S;this.test(C);)k.push(w(this,b)),C=C.slice(this.__last_index__),b+=this.__last_index__;return k.length?k:null},_.prototype.tlds=function(S,b){return S=Array.isArray(S)?S:[S],b?(this.__tlds__=this.__tlds__.concat(S).sort().filter(function(k,C,O){return k!==O[C-1]}).reverse(),y(this),this):(this.__tlds__=S.slice(),this.__tlds_replaced__=!0,y(this),this)},_.prototype.normalize=function(S){S.schema||(S.url="http://"+S.url),S.schema!=="mailto:"||/^mailto:/i.test(S.url)||(S.url="mailto:"+S.url)},_.prototype.onCompile=function(){},e.exports=_},function(e,t,r){e.exports=function(i){var a={};return a.src_Any=r(64).source,a.src_Cc=r(65).source,a.src_Z=r(66).source,a.src_P=r(40).source,a.src_ZPCc=[a.src_Z,a.src_P,a.src_Cc].join("|"),a.src_ZCc=[a.src_Z,a.src_Cc].join("|"),a.src_pseudo_letter="(?:(?![><]|"+a.src_ZPCc+")"+a.src_Any+")",a.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]?)",a.src_auth="(?:(?:(?!"+a.src_ZCc+"|[@/\\[\\]()]).)+@)?",a.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",a.src_host_terminator="(?=$|[><]|"+a.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+a.src_ZPCc+"))",a.src_path="(?:[/?#](?:(?!"+a.src_ZCc+`|[><]|[()[\\]{}.,"'?!\\-]).|\\[(?:(?!`+a.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+a.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+a.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+a.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+a.src_ZCc+"|[']).)+\\'|\\'(?="+a.src_pseudo_letter+"|[-]).|\\.{2,4}[a-zA-Z0-9%/]|\\.(?!"+a.src_ZCc+"|[.]).|"+(i&&i["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+a.src_ZCc+").|\\!(?!"+a.src_ZCc+"|[!]).|\\?(?!"+a.src_ZCc+"|[?]).)+|\\/)?",a.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',a.src_xn="xn--[a-z0-9\\-]{1,59}",a.src_domain_root="(?:"+a.src_xn+"|"+a.src_pseudo_letter+"{1,63})",a.src_domain="(?:"+a.src_xn+"|(?:"+a.src_pseudo_letter+")|(?:"+a.src_pseudo_letter+"(?:-|"+a.src_pseudo_letter+"){0,61}"+a.src_pseudo_letter+"))",a.src_host="(?:(?:(?:(?:"+a.src_domain+")\\.)*"+a.src_domain+"))",a.tpl_host_fuzzy="(?:"+a.src_ip4+"|(?:(?:(?:"+a.src_domain+")\\.)+(?:%TLDS%)))",a.tpl_host_no_ip_fuzzy="(?:(?:(?:"+a.src_domain+")\\.)+(?:%TLDS%))",a.src_host_strict=a.src_host+a.src_host_terminator,a.tpl_host_fuzzy_strict=a.tpl_host_fuzzy+a.src_host_terminator,a.src_host_port_strict=a.src_host+a.src_port+a.src_host_terminator,a.tpl_host_port_fuzzy_strict=a.tpl_host_fuzzy+a.src_port+a.src_host_terminator,a.tpl_host_port_no_ip_fuzzy_strict=a.tpl_host_no_ip_fuzzy+a.src_port+a.src_host_terminator,a.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+a.src_ZPCc+"|>|$))",a.tpl_email_fuzzy='(^|[><]|"|\\(|'+a.src_ZCc+")("+a.src_email_name+"@"+a.tpl_host_fuzzy_strict+")",a.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|]|"+a.src_ZPCc+"))((?![$+<=>^`|])"+a.tpl_host_port_fuzzy_strict+a.src_path+")",a.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|]|"+a.src_ZPCc+"))((?![$+<=>^`|])"+a.tpl_host_port_no_ip_fuzzy_strict+a.src_path+")",a}},function(e,t,r){(function(i,a){var c;/*! https://mths.be/punycode v1.4.1 by @mathias */(function(u){t&&t.nodeType,i&&i.nodeType;var d=typeof a=="object"&&a;d.global!==d&&d.window!==d&&d.self;var f,m=2147483647,y=/^xn--/,v=/[^\x20-\x7E]/,w=/[\x2E\u3002\uFF0E\uFF61]/g,_={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},S=Math.floor,b=String.fromCharCode;function k(F){throw new RangeError(_[F])}function C(F,I){for(var U=F.length,$=[];U--;)$[U]=I(F[U]);return $}function O(F,I){var U=F.split("@"),$="";return U.length>1&&($=U[0]+"@",F=U[1]),$+C((F=F.replace(w,".")).split("."),I).join(".")}function T(F){for(var I,U,$=[],z=0,q=F.length;z<q;)(I=F.charCodeAt(z++))>=55296&&I<=56319&&z<q?(64512&(U=F.charCodeAt(z++)))==56320?$.push(((1023&I)<<10)+(1023&U)+65536):($.push(I),z--):$.push(I);return $}function E(F){return C(F,function(I){var U="";return I>65535&&(U+=b((I-=65536)>>>10&1023|55296),I=56320|1023&I),U+=b(I)}).join("")}function A(F,I){return F+22+75*(F<26)-((I!=0)<<5)}function P(F,I,U){var $=0;for(F=U?S(F/700):F>>1,F+=S(F/I);F>455;$+=36)F=S(F/35);return S($+36*F/(F+38))}function M(F){var I,U,$,z,q,G,ee,ae,oe,Se,te,se=[],ne=F.length,le=0,Oe=128,ke=72;for((U=F.lastIndexOf("-"))<0&&(U=0),$=0;$<U;++$)F.charCodeAt($)>=128&&k("not-basic"),se.push(F.charCodeAt($));for(z=U>0?U+1:0;z<ne;){for(q=le,G=1,ee=36;z>=ne&&k("invalid-input"),((ae=(te=F.charCodeAt(z++))-48<10?te-22:te-65<26?te-65:te-97<26?te-97:36)>=36||ae>S((m-le)/G))&&k("overflow"),le+=ae*G,!(ae<(oe=ee<=ke?1:ee>=ke+26?26:ee-ke));ee+=36)G>S(m/(Se=36-oe))&&k("overflow"),G*=Se;ke=P(le-q,I=se.length+1,q==0),S(le/I)>m-Oe&&k("overflow"),Oe+=S(le/I),le%=I,se.splice(le++,0,Oe)}return E(se)}function D(F){var I,U,$,z,q,G,ee,ae,oe,Se,te,se,ne,le,Oe,ke=[];for(se=(F=T(F)).length,I=128,U=0,q=72,G=0;G<se;++G)(te=F[G])<128&&ke.push(b(te));for($=z=ke.length,z&&ke.push("-");$<se;){for(ee=m,G=0;G<se;++G)(te=F[G])>=I&&te<ee&&(ee=te);for(ee-I>S((m-U)/(ne=$+1))&&k("overflow"),U+=(ee-I)*ne,I=ee,G=0;G<se;++G)if((te=F[G])<I&&++U>m&&k("overflow"),te==I){for(ae=U,oe=36;!(ae<(Se=oe<=q?1:oe>=q+26?26:oe-q));oe+=36)Oe=ae-Se,le=36-Se,ke.push(b(A(Se+Oe%le,0))),ae=S(Oe/le);ke.push(b(A(ae,0))),q=P(U,ne,$==z),U=0,++$}++U,++I}return ke.join("")}f={version:"1.4.1",ucs2:{decode:T,encode:E},decode:M,encode:D,toASCII:function(F){return O(F,function(I){return v.test(I)?"xn--"+D(I):I})},toUnicode:function(F){return O(F,function(I){return y.test(I)?M(I.slice(4).toLowerCase()):I})}},(c=(function(){return f}).call(t,r,t,i))===void 0||(i.exports=c)})()}).call(this,r(192)(e),r(193))},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 i=r(198),a=r(199),c=r(200),u=r(201),d=r(202);e.exports=function(f,m){var y={defs:i,shortcuts:a,enabled:[]},v=d(f.utils.assign({},y,m||{}));f.renderer.rules.emoji=c,f.core.ruler.push("emoji",u(f,v.defs,v.shortcuts,v.scanRE,v.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(i,a){return i[a].content}},function(e,t,r){e.exports=function(i,a,c,u,d){var f=i.utils.arrayReplaceAt,m=i.utils.lib.ucmicro,y=new RegExp([m.Z.source,m.P.source,m.Cc.source].join("|"));function v(w,_,S){var b,k=0,C=[];return w.replace(d,function(O,T,E){var A;if(c.hasOwnProperty(O)){if(A=c[O],T>0&&!y.test(E[T-1])||T+O.length<E.length&&!y.test(E[T+O.length]))return}else A=O.slice(1,-1);T>k&&((b=new S("text","",0)).content=w.slice(k,T),C.push(b)),(b=new S("emoji","",0)).markup=A,b.content=a[A],C.push(b),k=T+O.length}),k<w.length&&((b=new S("text","",0)).content=w.slice(k),C.push(b)),C}return function(w){var _,S,b,k,C,O=w.tokens,T=0;for(S=0,b=O.length;S<b;S++)if(O[S].type==="inline")for(_=(k=O[S].children).length-1;_>=0;_--)(C=k[_]).type!=="link_open"&&C.type!=="link_close"||C.info==="auto"&&(T-=C.nesting),C.type==="text"&&T===0&&u.test(C.content)&&(O[S].children=k=f(k,_,v(C.content,C.level,w.Token)))}}},function(e,t,r){e.exports=function(i){var a,c=i.defs;i.enabled.length&&(c=Object.keys(c).reduce(function(m,y){return i.enabled.indexOf(y)>=0&&(m[y]=c[y]),m},{})),a=Object.keys(i.shortcuts).reduce(function(m,y){return c[y]?Array.isArray(i.shortcuts[y])?(i.shortcuts[y].forEach(function(v){m[v]=y}),m):(m[i.shortcuts[y]]=y,m):m},{});var u=Object.keys(c).map(function(m){return":"+m+":"}).concat(Object.keys(a)).sort().reverse().map(function(m){return m.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}).join("|"),d=RegExp(u),f=RegExp(u,"g");return{defs:c,shortcuts:a,scanRE:d,replaceRE:f}}},function(e,t,r){var i=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;function a(c,u){var d,f,m=c.posMax,y=c.pos;if(c.src.charCodeAt(y)!==126||u||y+2>=m)return!1;for(c.pos=y+1;c.pos<m;){if(c.src.charCodeAt(c.pos)===126){d=!0;break}c.md.inline.skipToken(c)}return d&&y+1!==c.pos?(f=c.src.slice(y+1,c.pos)).match(/(^|[^\\])(\\\\)*\s/)?(c.pos=y,!1):(c.posMax=c.pos,c.pos=y+1,c.push("sub_open","sub",1).markup="~",c.push("text","",0).content=f.replace(i,"$1"),c.push("sub_close","sub",-1).markup="~",c.pos=c.posMax+1,c.posMax=m,!0):(c.pos=y,!1)}e.exports=function(c){c.inline.ruler.after("emphasis","sub",a)}},function(e,t,r){var i=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;function a(c,u){var d,f,m=c.posMax,y=c.pos;if(c.src.charCodeAt(y)!==94||u||y+2>=m)return!1;for(c.pos=y+1;c.pos<m;){if(c.src.charCodeAt(c.pos)===94){d=!0;break}c.md.inline.skipToken(c)}return d&&y+1!==c.pos?(f=c.src.slice(y+1,c.pos)).match(/(^|[^\\])(\\\\)*\s/)?(c.pos=y,!1):(c.posMax=c.pos,c.pos=y+1,c.push("sup_open","sup",1).markup="^",c.push("text","",0).content=f.replace(i,"$1"),c.push("sup_close","sup",-1).markup="^",c.pos=c.posMax+1,c.posMax=m,!0):(c.pos=y,!1)}e.exports=function(c){c.inline.ruler.after("emphasis","sup",a)}},function(e,t,r){e.exports=function(i){var a=i.utils.isSpace;function c(u,d){var f,m,y=u.bMarks[d]+u.tShift[d],v=u.eMarks[d];return y>=v||(m=u.src.charCodeAt(y++))!==126&&m!==58||y===(f=u.skipSpaces(y))||f>=v?-1:y}i.block.ruler.before("paragraph","deflist",function(u,d,f,m){var y,v,w,_,S,b,k,C,O,T,E,A,P,M,D,F,I,U,$,z;if(m)return!(u.ddIndent<0)&&c(u,d)>=0;if((O=d+1)>=f||u.isEmpty(O)&&++O>=f||u.sCount[O]<u.blkIndent||(v=c(u,O))<0)return!1;k=u.tokens.length,$=!0,(z=u.push("dl_open","dl",1)).map=b=[d,0],_=d,w=O;e:for(;;){for(U=!1,(z=u.push("dt_open","dt",1)).map=[_,_],(z=u.push("inline","",0)).map=[_,_],z.content=u.getLines(_,_+1,u.blkIndent,!1).trim(),z.children=[],z=u.push("dt_close","dt",-1);;){for((z=u.push("dd_open","dd",1)).map=S=[O,0],I=v,C=u.eMarks[w],T=u.sCount[w]+v-(u.bMarks[w]+u.tShift[w]);I<C&&(y=u.src.charCodeAt(I),a(y));)y===9?T+=4-T%4:T++,I++;if(v=I,F=u.tight,E=u.ddIndent,A=u.blkIndent,D=u.tShift[w],M=u.sCount[w],P=u.parentType,u.blkIndent=u.ddIndent=u.sCount[w]+2,u.tShift[w]=v-u.bMarks[w],u.sCount[w]=T,u.tight=!0,u.parentType="deflist",u.md.block.tokenize(u,w,f,!0),u.tight&&!U||($=!1),U=u.line-w>1&&u.isEmpty(u.line-1),u.tShift[w]=D,u.sCount[w]=M,u.tight=F,u.parentType=P,u.blkIndent=A,u.ddIndent=E,z=u.push("dd_close","dd",-1),S[1]=O=u.line,O>=f||u.sCount[O]<u.blkIndent)break e;if((v=c(u,O))<0)break;w=O}if(O>=f||(_=O,u.isEmpty(_))||u.sCount[_]<u.blkIndent||(w=_+1)>=f||(u.isEmpty(w)&&w++,w>=f)||u.sCount[w]<u.blkIndent||(v=c(u,w))<0)break}return z=u.push("dl_close","dl",-1),b[1]=O,u.line=O,$&&function(q,G){var ee,ae,oe=q.level+2;for(ee=G+2,ae=q.tokens.length-2;ee<ae;ee++)q.tokens[ee].level===oe&&q.tokens[ee].type==="paragraph_open"&&(q.tokens[ee+2].hidden=!0,q.tokens[ee].hidden=!0,ee+=2)}(u,k),!0},{alt:["paragraph","reference","blockquote"]})}},function(e,t,r){e.exports=function(i){var a=i.utils.escapeRE,c=i.utils.arrayReplaceAt,u=i.utils.lib.ucmicro.P.source,d=i.utils.lib.ucmicro.Z.source;i.block.ruler.before("reference","abbr_def",function(f,m,y,v){var w,_,S,b,k,C=f.bMarks[m]+f.tShift[m],O=f.eMarks[m];if(C+2>=O||f.src.charCodeAt(C++)!==42||f.src.charCodeAt(C++)!==91)return!1;for(b=C;C<O;C++){if((S=f.src.charCodeAt(C))===91)return!1;if(S===93){k=C;break}S===92&&C++}return!(k<0||f.src.charCodeAt(k+1)!==58)&&(!!v||(w=f.src.slice(b,k).replace(/\\(.)/g,"$1"),_=f.src.slice(k+2,O).trim(),w.length!==0&&_.length!==0&&(f.env.abbreviations||(f.env.abbreviations={}),f.env.abbreviations[":"+w]===void 0&&(f.env.abbreviations[":"+w]=_),f.line=m+1,!0)))},{alt:["paragraph","reference"]}),i.core.ruler.after("linkify","abbr_replace",function(f){var m,y,v,w,_,S,b,k,C,O,T,E,A,P=f.tokens;if(f.env.abbreviations){for(E=new RegExp("(?:"+Object.keys(f.env.abbreviations).map(function(M){return M.substr(1)}).sort(function(M,D){return D.length-M.length}).map(a).join("|")+")"),T="(^|"+u+"|"+d+"|["+" \r\n$+<=>^`|~".split("").map(a).join("")+"])("+Object.keys(f.env.abbreviations).map(function(M){return M.substr(1)}).sort(function(M,D){return D.length-M.length}).map(a).join("|")+")($|"+u+"|"+d+"|["+" \r\n$+<=>^`|~".split("").map(a).join("")+"])",C=new RegExp(T,"g"),y=0,v=P.length;y<v;y++)if(P[y].type==="inline"){for(m=(w=P[y].children).length-1;m>=0;m--)if((A=w[m]).type==="text"&&(k=0,S=A.content,C.lastIndex=0,b=[],E.test(S))){for(;O=C.exec(S);)(O.index>0||O[1].length>0)&&((_=new f.Token("text","",0)).content=S.slice(k,O.index+O[1].length),b.push(_)),(_=new f.Token("abbr_open","abbr",1)).attrs=[["title",f.env.abbreviations[":"+O[2]]]],b.push(_),(_=new f.Token("text","",0)).content=O[2],b.push(_),_=new f.Token("abbr_close","abbr",-1),b.push(_),C.lastIndex-=O[3].length,k=C.lastIndex;b.length&&(k<S.length&&((_=new f.Token("text","",0)).content=S.slice(k),b.push(_)),P[y].children=w=c(w,m,b))}}}})}},function(e,t,r){function i(v,w,_,S){var b=Number(v[w].meta.id+1).toString(),k="";return typeof S.docId=="string"&&(k="-"+S.docId+"-"),k+b}function a(v,w){var _=Number(v[w].meta.id+1).toString();return v[w].meta.subId>0&&(_+=":"+v[w].meta.subId),"["+_+"]"}function c(v,w,_,S,b){var k=b.rules.footnote_anchor_name(v,w,_,S,b),C=b.rules.footnote_caption(v,w,_,S,b),O=k;return v[w].meta.subId>0&&(O+=":"+v[w].meta.subId),'<sup class="footnote-ref"><a href="#fn'+k+'" id="fnref'+O+'">'+C+"</a></sup>"}function u(v,w,_){return(_.xhtmlOut?`<hr class="footnotes-sep" />
`:`<hr class="footnotes-sep">
`)+`<section class="footnotes">
<ol class="footnotes-list">
`}function d(){return`</ol>
</section>
`}function f(v,w,_,S,b){var k=b.rules.footnote_anchor_name(v,w,_,S,b);return v[w].meta.subId>0&&(k+=":"+v[w].meta.subId),'<li id="fn'+k+'" class="footnote-item">'}function m(){return`</li>
`}function y(v,w,_,S,b){var k=b.rules.footnote_anchor_name(v,w,_,S,b);return v[w].meta.subId>0&&(k+=":"+v[w].meta.subId),' <a href="#fnref'+k+'" class="footnote-backref">↩︎</a>'}e.exports=function(v){var w=v.helpers.parseLinkLabel,_=v.utils.isSpace;v.renderer.rules.footnote_ref=c,v.renderer.rules.footnote_block_open=u,v.renderer.rules.footnote_block_close=d,v.renderer.rules.footnote_open=f,v.renderer.rules.footnote_close=m,v.renderer.rules.footnote_anchor=y,v.renderer.rules.footnote_caption=a,v.renderer.rules.footnote_anchor_name=i,v.block.ruler.before("reference","footnote_def",function(S,b,k,C){var O,T,E,A,P,M,D,F,I,U,$,z=S.bMarks[b]+S.tShift[b],q=S.eMarks[b];if(z+4>q||S.src.charCodeAt(z)!==91||S.src.charCodeAt(z+1)!==94)return!1;for(P=z+2;P<q;P++){if(S.src.charCodeAt(P)===32)return!1;if(S.src.charCodeAt(P)===93)break}if(P===z+2||P+1>=q||S.src.charCodeAt(++P)!==58)return!1;if(C)return!0;for(P++,S.env.footnotes||(S.env.footnotes={}),S.env.footnotes.refs||(S.env.footnotes.refs={}),M=S.src.slice(z+2,P-2),S.env.footnotes.refs[":"+M]=-1,(D=new S.Token("footnote_reference_open","",1)).meta={label:M},D.level=S.level++,S.tokens.push(D),O=S.bMarks[b],T=S.tShift[b],E=S.sCount[b],A=S.parentType,$=P,F=I=S.sCount[b]+P-(S.bMarks[b]+S.tShift[b]);P<q&&(U=S.src.charCodeAt(P),_(U));)U===9?I+=4-I%4:I++,P++;return S.tShift[b]=P-$,S.sCount[b]=I-F,S.bMarks[b]=$,S.blkIndent+=4,S.parentType="footnote",S.sCount[b]<S.blkIndent&&(S.sCount[b]+=S.blkIndent),S.md.block.tokenize(S,b,k,!0),S.parentType=A,S.blkIndent-=4,S.tShift[b]=T,S.sCount[b]=E,S.bMarks[b]=O,(D=new S.Token("footnote_reference_close","",-1)).level=--S.level,S.tokens.push(D),!0},{alt:["paragraph","reference"]}),v.inline.ruler.after("image","footnote_inline",function(S,b){var k,C,O,T,E=S.posMax,A=S.pos;return!(A+2>=E)&&S.src.charCodeAt(A)===94&&S.src.charCodeAt(A+1)===91&&(k=A+2,!((C=w(S,A+1))<0)&&(b||(S.env.footnotes||(S.env.footnotes={}),S.env.footnotes.list||(S.env.footnotes.list=[]),O=S.env.footnotes.list.length,S.md.inline.parse(S.src.slice(k,C),S.md,S.env,T=[]),S.push("footnote_ref","",0).meta={id:O},S.env.footnotes.list[O]={content:S.src.slice(k,C),tokens:T}),S.pos=C+1,S.posMax=E,!0))}),v.inline.ruler.after("footnote_inline","footnote_ref",function(S,b){var k,C,O,T,E=S.posMax,A=S.pos;if(A+3>E||!S.env.footnotes||!S.env.footnotes.refs||S.src.charCodeAt(A)!==91||S.src.charCodeAt(A+1)!==94)return!1;for(C=A+2;C<E;C++){if(S.src.charCodeAt(C)===32||S.src.charCodeAt(C)===10)return!1;if(S.src.charCodeAt(C)===93)break}return C!==A+2&&!(C>=E)&&(C++,k=S.src.slice(A+2,C-1),S.env.footnotes.refs[":"+k]!==void 0&&(b||(S.env.footnotes.list||(S.env.footnotes.list=[]),S.env.footnotes.refs[":"+k]<0?(O=S.env.footnotes.list.length,S.env.footnotes.list[O]={label:k,count:0},S.env.footnotes.refs[":"+k]=O):O=S.env.footnotes.refs[":"+k],T=S.env.footnotes.list[O].count,S.env.footnotes.list[O].count++,S.push("footnote_ref","",0).meta={id:O,subId:T,label:k}),S.pos=C,S.posMax=E,!0))}),v.core.ruler.after("inline","footnote_tail",function(S){var b,k,C,O,T,E,A,P,M,D,F=!1,I={};if(S.env.footnotes&&(S.tokens=S.tokens.filter(function(U){return U.type==="footnote_reference_open"?(F=!0,M=[],D=U.meta.label,!1):U.type==="footnote_reference_close"?(F=!1,I[":"+D]=M,!1):(F&&M.push(U),!F)}),S.env.footnotes.list)){for(E=S.env.footnotes.list,A=new S.Token("footnote_block_open","",1),S.tokens.push(A),b=0,k=E.length;b<k;b++){for((A=new S.Token("footnote_open","",1)).meta={id:b,label:E[b].label},S.tokens.push(A),E[b].tokens?(P=[],(A=new S.Token("paragraph_open","p",1)).block=!0,P.push(A),(A=new S.Token("inline","",0)).children=E[b].tokens,A.content=E[b].content,P.push(A),(A=new S.Token("paragraph_close","p",-1)).block=!0,P.push(A)):E[b].label&&(P=I[":"+E[b].label]),P&&(S.tokens=S.tokens.concat(P)),T=S.tokens[S.tokens.length-1].type==="paragraph_close"?S.tokens.pop():null,O=E[b].count>0?E[b].count:1,C=0;C<O;C++)(A=new S.Token("footnote_anchor","",0)).meta={id:b,subId:C,label:E[b].label},S.tokens.push(A);T&&S.tokens.push(T),A=new S.Token("footnote_close","",-1),S.tokens.push(A)}A=new S.Token("footnote_block_close","",-1),S.tokens.push(A)}})}},function(e,t,r){e.exports=function(i){i.inline.ruler.before("emphasis","ins",function(a,c){var u,d,f,m,y=a.pos,v=a.src.charCodeAt(y);if(c||v!==43||(f=(d=a.scanDelims(a.pos,!0)).length,m=String.fromCharCode(v),f<2))return!1;for(f%2&&(a.push("text","",0).content=m,f--),u=0;u<f;u+=2)a.push("text","",0).content=m+m,a.delimiters.push({marker:v,jump:u,token:a.tokens.length-1,level:a.level,end:-1,open:d.can_open,close:d.can_close});return a.pos+=d.length,!0}),i.inline.ruler2.before("emphasis","ins",function(a){var c,u,d,f,m,y=[],v=a.delimiters,w=a.delimiters.length;for(c=0;c<w;c++)(d=v[c]).marker===43&&d.end!==-1&&(f=v[d.end],(m=a.tokens[d.token]).type="ins_open",m.tag="ins",m.nesting=1,m.markup="++",m.content="",(m=a.tokens[f.token]).type="ins_close",m.tag="ins",m.nesting=-1,m.markup="++",m.content="",a.tokens[f.token-1].type==="text"&&a.tokens[f.token-1].content==="+"&&y.push(f.token-1));for(;y.length;){for(u=(c=y.pop())+1;u<a.tokens.length&&a.tokens[u].type==="ins_close";)u++;c!==--u&&(m=a.tokens[u],a.tokens[u]=a.tokens[c],a.tokens[c]=m)}})}},function(e,t,r){e.exports=function(i){i.inline.ruler.before("emphasis","mark",function(a,c){var u,d,f,m,y=a.pos,v=a.src.charCodeAt(y);if(c||v!==61||(f=(d=a.scanDelims(a.pos,!0)).length,m=String.fromCharCode(v),f<2))return!1;for(f%2&&(a.push("text","",0).content=m,f--),u=0;u<f;u+=2)a.push("text","",0).content=m+m,a.delimiters.push({marker:v,jump:u,token:a.tokens.length-1,level:a.level,end:-1,open:d.can_open,close:d.can_close});return a.pos+=d.length,!0}),i.inline.ruler2.before("emphasis","mark",function(a){var c,u,d,f,m,y=[],v=a.delimiters,w=a.delimiters.length;for(c=0;c<w;c++)(d=v[c]).marker===61&&d.end!==-1&&(f=v[d.end],(m=a.tokens[d.token]).type="mark_open",m.tag="mark",m.nesting=1,m.markup="==",m.content="",(m=a.tokens[f.token]).type="mark_close",m.tag="mark",m.nesting=-1,m.markup="==",m.content="",a.tokens[f.token-1].type==="text"&&a.tokens[f.token-1].content==="="&&y.push(f.token-1));for(;y.length;){for(u=(c=y.pop())+1;u<a.tokens.length&&a.tokens[u].type==="mark_close";)u++;c!==--u&&(m=a.tokens[u],a.tokens[u]=a.tokens[c],a.tokens[c]=m)}})}},function(e,t){var r=!0,i=!1,a=!1;function c(m,y,v){var w=m.attrIndex(y),_=[y,v];w<0?m.attrPush(_):m.attrs[w]=_}function u(m,y){for(var v=m[y].level-1,w=y-1;w>=0;w--)if(m[w].level===v)return w;return-1}function d(m,y){return m[y].type==="inline"&&function(v){return v.type==="paragraph_open"}(m[y-1])&&function(v){return v.type==="list_item_open"}(m[y-2])&&function(v){return v.content.indexOf("[ ] ")===0||v.content.indexOf("[x] ")===0||v.content.indexOf("[X] ")===0}(m[y])}function f(m,y){if(m.children.unshift(function(w,_){var S=new _("html_inline","",0),b=r?' disabled="" ':"";return w.content.indexOf("[ ] ")===0?S.content='<input class="task-list-item-checkbox"'+b+'type="checkbox">':w.content.indexOf("[x] ")!==0&&w.content.indexOf("[X] ")!==0||(S.content='<input class="task-list-item-checkbox" checked=""'+b+'type="checkbox">'),S}(m,y)),m.children[1].content=m.children[1].content.slice(3),m.content=m.content.slice(3),i)if(a){m.children.pop();var v="task-item-"+Math.ceil(1e7*Math.random()-1e3);m.children[0].content=m.children[0].content.slice(0,-1)+' id="'+v+'">',m.children.push(function(w,_,S){var b=new S("html_inline","",0);return b.content='<label class="task-list-item-label" for="'+_+'">'+w+"</label>",b.attrs=[{for:_}],b}(m.content,v,y))}else m.children.unshift(function(w){var _=new w("html_inline","",0);return _.content="<label>",_}(y)),m.children.push(function(w){var _=new w("html_inline","",0);return _.content="</label>",_}(y))}e.exports=function(m,y){y&&(r=!y.enabled,i=!!y.label,a=!!y.labelAfter),m.core.ruler.after("inline","github-task-lists",function(v){for(var w=v.tokens,_=2;_<w.length;_++)d(w,_)&&(f(w[_],v.Token),c(w[_-2],"class","task-list-item"+(r?"":" enabled")),c(w[u(w,_-2)],"class","contains-task-list"))})}},function(e,t,r){e.exports=function(i,a,c){var u=(c=c||{}).marker||":",d=u.charCodeAt(0),f=u.length,m=c.validate||function(v){return v.trim().split(" ",2)[0]===a},y=c.render||function(v,w,_,S,b){return v[w].nesting===1&&v[w].attrPush(["class",a]),b.renderToken(v,w,_,S,b)};i.block.ruler.before("fence","container_"+a,function(v,w,_,S){var b,k,C,O,T,E,A,P,M=!1,D=v.bMarks[w]+v.tShift[w],F=v.eMarks[w];if(d!==v.src.charCodeAt(D))return!1;for(b=D+1;b<=F&&u[(b-D)%f]===v.src[b];b++);if((C=Math.floor((b-D)/f))<3||(b-=(b-D)%f,O=v.src.slice(D,b),T=v.src.slice(b,F),!m(T)))return!1;if(S)return!0;for(k=w;!(++k>=_)&&!((D=v.bMarks[k]+v.tShift[k])<(F=v.eMarks[k])&&v.sCount[k]<v.blkIndent);)if(d===v.src.charCodeAt(D)&&!(v.sCount[k]-v.blkIndent>=4)){for(b=D+1;b<=F&&u[(b-D)%f]===v.src[b];b++);if(!(Math.floor((b-D)/f)<C||(b-=(b-D)%f,(b=v.skipSpaces(b))<F))){M=!0;break}}return A=v.parentType,P=v.lineMax,v.parentType="container",v.lineMax=k,(E=v.push("container_"+a+"_open","div",1)).markup=O,E.block=!0,E.info=T,E.map=[w,k],v.md.block.tokenize(v,w+1,k),(E=v.push("container_"+a+"_close","div",-1)).markup=v.src.slice(D,b),E.block=!0,v.parentType=A,v.lineMax=P,v.line=k+(M?1:0),!0},{alt:["paragraph","reference","blockquote","list"]}),i.renderer.rules["container_"+a+"_open"]=y,i.renderer.rules["container_"+a+"_close"]=y}},function(e,t,r){e.exports=function(i){var a,c=/^@\[toc\](?:\((?:\s+)?([^\)]+)(?:\s+)?\)?)?(?:\s+?)?$/im,u=function(d){return d.replace(/[^\w\s]/gi,"").split(" ").join("_")};i.renderer.rules.heading_open=function(d,f){var m=d[f].tag,y=d[f+1];return y.type==="inline"?"<"+m+'><a id="'+(u(y.content)+"_"+y.map[0])+'"></a>':"</h1>"},i.renderer.rules.toc_open=function(d,f){return""},i.renderer.rules.toc_close=function(d,f){return""},i.renderer.rules.toc_body=function(d,f){for(var m=[],y=a.tokens,v=y.length,w=0;w<v;w++)if(y[w].type==="heading_close"){var _=y[w],S=y[w-1];S.type==="inline"&&m.push({level:+_.tag.substr(1,1),anchor:u(S.content)+"_"+S.map[0],content:S.content})}var b=0,k=m.map(function(C){var O=[];if(C.level>b)for(var T=C.level-b,E=0;E<T;E++)O.push("<ul>"),b++;else if(C.level<b)for(T=b-C.level,E=0;E<T;E++)O.push("</ul>"),b--;return(O=O.concat(['<li><a href="#',C.anchor,'">',C.content,"</a></li>"])).join("")});return"<h3>"+d[f].content+"</h3>"+k.join("")+new Array(b+1).join("</ul>")},i.core.ruler.push("grab_state",function(d){a=d}),i.inline.ruler.after("emphasis","toc",function(d,f){for(;d.src.indexOf(`
`)>=0&&d.src.indexOf(`
`)<d.src.indexOf("@[toc]");)d.tokens.slice(-1)[0].type==="softbreak"&&(d.src=d.src.split(`
`).slice(1).join(`
`),d.pos=0);var m;if(d.src.charCodeAt(d.pos)!==64||d.src.charCodeAt(d.pos+1)!==91)return!1;var y=c.exec(d.src);if(!y||(y=y.filter(function(S){return S})).length<1||f)return!1;(m=d.push("toc_open","toc",1)).markup="@[toc]",m=d.push("toc_body","",0);var v="Table of Contents";y.length>1&&(v=y.pop()),m.content=v,m=d.push("toc_close","toc",-1);var w=0,_=d.src.indexOf(`
`);return w=_!==-1?d.pos+_:d.pos+d.posMax+1,d.pos=w,!0})}},function(e,t){e.exports=function(r,i){(i=i||{}).highlighted===void 0&&(i.highlighted=!0),i.hljs===void 0&&(i.hljs="auto"),typeof i.langCheck!="function"&&(i.langCheck=function(){}),r.options.highlight=function(a,c){var u=i.hljs;if(i.hljs==="auto"&&(u=window.hljs),i.highlighted&&c&&u){if(u.getLanguage(c))return'<pre><div class="hljs"><code class="'+r.options.langPrefix+c+'">'+u.highlight(c,a,!0).value+"</code></div></pre>";typeof i.langCheck=="function"&&i.langCheck(c)}return'<pre><code class="'+r.options.langPrefix+c+'">'+r.utils.escapeHtml(a)+"</code></pre>"}}},function(e,t,r){var i=null;function a(d,f){var m,y,v=d.posMax,w=!0,_=!0;return m=f>0?d.src.charCodeAt(f-1):-1,y=f+1<=v?d.src.charCodeAt(f+1):-1,(m===32||m===9||y>=48&&y<=57)&&(_=!1),y!==32&&y!==9||(w=!1),{can_open:w,can_close:_}}function c(d,f){if(!i&&window.katex&&(i=window.katex),!i)return!1;var m,y,v,w;if(d.src[d.pos]!=="$")return!1;if(!a(d,d.pos).can_open)return f||(d.pending+="$"),d.pos+=1,!0;for(y=m=d.pos+1;(y=d.src.indexOf("$",y))!==-1;){for(w=y-1;d.src[w]==="\\";)w-=1;if((y-w)%2==1)break;y+=1}return y===-1?(f||(d.pending+="$"),d.pos=m,!0):y-m==0?(f||(d.pending+="$$"),d.pos=m+1,!0):a(d,y).can_close?(f||((v=d.push("math_inline","math",0)).markup="$",v.content=d.src.slice(m,y)),d.pos=y+1,!0):(f||(d.pending+="$"),d.pos=m,!0)}function u(d,f,m,y){if(!i&&window.katex&&(i=window.katex),!i)return!1;var v,w,_,S,b,k=!1,C=d.bMarks[f]+d.tShift[f],O=d.eMarks[f];if(C+2>O||d.src.slice(C,C+2)!=="$$")return!1;if(C+=2,v=d.src.slice(C,O),y)return!0;for(v.trim().slice(-2)==="$$"&&(v=v.trim().slice(0,-2),k=!0),_=f;!k&&!(++_>=m)&&!((C=d.bMarks[_]+d.tShift[_])<(O=d.eMarks[_])&&d.tShift[_]<d.blkIndent);)d.src.slice(C,O).trim().slice(-2)==="$$"&&(S=d.src.slice(0,O).lastIndexOf("$$"),w=d.src.slice(C,S),k=!0);return d.line=_+1,(b=d.push("math_block","math",0)).block=!0,b.content=(v&&v.trim()?v+`
`:"")+d.getLines(f+1,_,d.tShift[f],!0)+(w&&w.trim()?w:""),b.map=[f,d.line],b.markup="$$",!0}e.exports=function(d,f){f=f||{},d.inline.ruler.after("escape","math_inline",c),d.block.ruler.after("blockquote","math_block",u,{alt:["paragraph","reference","blockquote","list"]}),d.renderer.rules.math_inline=function(m,y){return function(v){!i&&window.katex&&(i=window.katex),f.displayMode=!1;try{return i.renderToString(v,f)}catch(w){return f.throwOnError&&console.log(w),v}}(m[y].content)},d.renderer.rules.math_block=function(m,y){return function(v){!i&&window.katex&&(i=window.katex),f.displayMode=!0;try{return"<p>"+i.renderToString(v,f)+"</p>"}catch(w){return f.throwOnError&&console.log(w),v}}(m[y].content)+`
`}}},function(e,t){e.exports=function(r,i){r.image_add=function(c,u){r.__image instanceof Object||(r.__image={}),r.__image[c]=u},r.image_del=function(c){r.__image instanceof Object||(r.__image={}),delete r.__image[c]};var a=r.renderer.rules.image;r.renderer.rules.image=function(c,u,d,f,m){var y=c[u].attrs;if(r.__image instanceof Object){for(var v=0;v<y.length;v++)if(y[v][0]=="src"&&r.__image.hasOwnProperty(c[u].attrs[v][1])){y.push(["rel",y[v][1]]),y[v][1]=r.__image[c[u].attrs[v][1]];break}}return a(c,u,d,f,m)}}},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 i=r(78),a=r(24);for(var c in a)["default"].indexOf(c)<0&&function(f){r.d(t,f,function(){return a[f]})}(c);r(219);var u=r(3);const d=r.n(u)()(a.default,[["render",i.a]]);t.default=d},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(235)},function(e,t){},,,,,,,,,function(e,t){},,function(e,t){}])})}(mavonEditor$1)),mavonEditor$1.exports}var mavonEditorExports=requireMavonEditor();const mavonEditor=getDefaultExportFromCjs(mavonEditorExports);(function e(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))i(a);new MutationObserver(a=>{for(const c of a)if(c.type==="childList")for(const u of c.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&i(u)}).observe(document,{childList:!0,subtree:!0});function r(a){const c={};return a.integrity&&(c.integrity=a.integrity),a.referrerPolicy&&(c.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?c.credentials="include":a.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function i(a){if(a.ep)return;a.ep=!0;const c=r(a);fetch(a.href,c)}})();const __variableDynamicImportRuntimeHelper=(e,t,r)=>{const i=e[t];return i?typeof i=="function"?i():Promise.resolve(i):new Promise((a,c)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(c.bind(null,new Error("Unknown variable dynamic import: "+t+(t.split("/").length!==r?". Note that variables only represent file names one level deep.":""))))})},AI="AI",AIImportSubtitle="Use AI to import images of recipes.",AISettingsHostedHelp="You can enable AI features or change available credits by managing your subscription.",API="API",APIKey="API key",API_Browser="API Browser",API_Documentation="API Docs",AboutTandoor="Tandoor is an Open Source platform to manage recipes, meal plans, shopping lists and more.",AccessTokenHelp="Access keys for the REST API.",Access_Token="Access Token",Account="Account",Actions="Actions",Active="Active",Activity="Activity",Add="Add",AddAll="Add all",AddChild="Add child",AddFilter="Add Filter",AddFoodToShopping="Add {food} to your shopping list",AddMany="Add Many",AddToShopping="Add to shopping list",Add_Servings_to_Shopping="Add {servings} Servings to Shopping",Add_Step="Add Step",Add_nutrition_recipe="Add nutrition to recipe",Add_to_Plan="Add to Plan",Add_to_Shopping="Add to Shopping",Added_To_Shopping_List="Added to shopping list",Added_by="Added By",Added_on="Added On",Admin="Admin",Advanced="Advanced",AiCreditsBalance="Credit Balance",AiLog="AI Log",AiLogHelp="Overview of your spaces AI requests. ",AiModelHelp="The list contains model that are offically tested and supported. You can add additional models if you want.",AiProvider="AI Provider",AiProviderHelp="You can configure multiple AI providers according to your preferences. They can even be configured to work across multiple spaces.",Alignment="Alignment",AllRecipes="All Recipes",Amount="Amount",App="App",AppImportSubtitle="Import your existing recipe database.",Apply="Apply",Are_You_Sure="Are you sure?",Auto_Planner="Auto-Planner",Auto_Sort="Auto Sort",Auto_Sort_Help="Move all ingredients to the best fitting step.",Automate="Automate",Automation="Automation",AutomationHelp="Automations allow you to, depending on the type, apply some automatic changes to recipes, ingredients, ... for example during recipe imports. ",Available="Available",AvailableCategories="Available Categories",Back="Back",BaseUnit="Base Unit",BaseUnitHelp="Standard unit for automatic unit conversion",Basics="Basics",BatchDeleteConfirm="Do you want to delete all shown items? This cannot be undone! WARNING: It is possible that this deletes objects that are used elsewhere. ",BatchDeleteHelp="If an item cannot be deleted it is used somewhere. ",BatchEdit="Batch Edit",BatchEditUpdatingItemsCount="Editing {count} {type}",Blocking="Blocking",BlockingHelp="The following objects are preventing you from deleting the selected {type}.",Book="Book",Bookmarklet="Bookmarklet",BookmarkletHelp1="Drag the following button to your bookmarks bar",BookmarkletHelp2="Open the page you want to import from",BookmarkletHelp3="Click on the bookmark to perform the import.",BookmarkletImportSubtitle="Use a bookmarklet to import from non public pages.",Books="Books",CREATE_ERROR="Error while creating",Calculator="Calculator",Calories="Calories",Cancel="Cancel",Cannot_Add_Notes_To_Shopping="Notes cannot be added to the shopping list",Carbohydrates="Carbohydrates",Cards="Cards",Cascading="Cascading",CascadingHelp="The following objects will be deleted when you delete the selected {type}",Categories="Categories",Category="Category",CategoryInstruction="Drag categories to change the order categories appear in shopping list.",CategoryName="Category Name",Change_Password="Change Password",Changing="Changing",ChildInheritFields="Children Inherit Fields",ChildInheritFields_help="Children will inherit these fields by default.",Choose_Category="Choose Category",Clear="Clear",Click_To_Edit="Click to edit",Clone="Clone",Close="Close",Color="Color",Combine_All_Steps="Combine all steps into a single field.",Coming_Soon="Coming-Soon",Comment="Comment",Comments_setting="Show Comments",Completed="Completed",Confirm="Confirm",ConnectorConfig="Connectors",ConnectorConfigHelp="With connectors you can automatically sync data from Tandoor with external services. ",Continue="Continue",Conversion="Conversion",ConversionsHelp="With conversions you can calculate the amount of a food in different units. Currently this is only used for property calculation, later it might also be used in other parts of tandoor. ",ConvertUsingAI="Convert using AI",CookLog="Cook Log",CookLogHelp="Entries in the cook log for recipes. ",Cooked="Cooked",Copied="Copied",Copy="Copy",Copy_template_reference="Copy template reference",Cosmetic="Cosmetic",CountMore="...+{count} more",Create="Create",CreateAccount="Create Account",CreateFirstRecipe="Create your first recipe using the recipe editor.",CreateInvitation="Create invitation",Create_Meal_Plan_Entry="Create meal plan entry",Create_New_Food="Add New Food",Create_New_Keyword="Add New Keyword",Create_New_Meal_Type="Add New Meal Type",Create_New_Shopping_Category="Add New Shopping Category",Create_New_Unit="Add New Unit",Created="Created",CreatedBy="Created by",Credits="Credits",Current_Period="Current Period",CustomImageHelp="Upload an image to show in the space overview.",CustomLogoHelp="Upload square images in different sizes to change to logo in the browser tab and installed web app.",CustomLogos="Custom Logos",CustomNavLogoHelp="Upload an image to use as the navigation bar logo. (140x56px)",CustomTheme="Custom Theme",CustomThemeHelp="Override styles of the selected theme by uploading a custom CSS file.",DELETE_ERROR="Error while deleting",Data_Import_Info="Enhance your Space by importing a community curated list of foods, units and more to improve your recipe collection.",Database="Database",DatabaseHelp="Tandoor uses many different things in order for you to create recipes, shopping list, meal plans and more. Here you can manage all of these models.",Datatype="Datatype",Day="Day",Days="Days",Decimals="Decimals",Default="Default",DefaultPage="Default Page",Default_Unit="Default Unit",DelayFor="Delay for {hours} hours",DelayUntil="Delay Until",Delete="Delete",DeleteConfirmQuestion="Are you sure you want to delete this object?",DeleteShoppingConfirm="Are you sure that you want to remove all {food} from the shopping list?",DeleteSomething="Delete {item}",Delete_All="Delete all",Delete_Food="Delete Food",Delete_Keyword="Delete Keyword",Deleted="Deleted",Description="Description",Description_Replace="Description Replace",DeviceSettings="Device Settings",DeviceSettingsHelp="In order for Tandoor to look good wherever you use it, these settings are only stored on this device.",Disable="Disable",Disable_Amount="Disable Amount",Disabled="Disabled",Documentation="Documentation",DontChange="Don't change",Down="Down",Download="Download",DragToUpload="Drag and Drop or click to select",Drag_Here_To_Delete="Drag here to delete",Duplicate="Duplicate",DuplicateFoundInfo="A recipe with this URL was already found in your space. Continue anyway?",Edit="Edit",Edit_Food="Edit Food",Edit_Keyword="Edit Keyword",Edit_Meal_Plan_Entry="Edit meal plan entry",Edit_Recipe="Edit Recipe",Email="Email",Empty="Empty",Enable="Enable",Enable_Amount="Enable Amount",Enabled="Enabled",EndDate="End Date",Energy="Energy",Entries="Entries",ErrorUrlListImport="An error occured during import of the first URL in the list. All URLs no longer shown have been imported successfully. ",Events="Events",Export="Export",Export_As_ICal="Export current period to iCal format",Export_Not_Yet_Supported="Export not yet supported",Export_Supported="Export supported",Export_To_ICal="Export .ics",External="External",ExternalRecipe="External Recipe",ExternalRecipeImport="External recipe import",ExternalRecipeImportHelp="Files in synced folders on external storages are not imported directly but temporarily saved as external import recipes. Here you can quickly view and edit newly found files before they are moved to the main collection. ",ExternalStorage="External storage",External_Recipe_Image="External Recipe Image",FDC_ID="FDC ID",FDC_ID_help="FDC database ID",FDC_Search="FDC Search",FETCH_ERROR="Error while fetching",Failure="Failure",Fats="Fats",File="File",Files="Files",Finish="Finish",FinishedAt="Finished at",First="First",First_name="First Name",Food="Food",FoodHelp="Foods are the most important foundation of Tandoor. Together with units and their repective amounts they make about recipe ingredients. They can also be used for shopping, properties and much more. ",FoodInherit="Food Inheritable Fields",FoodNotOnHand="You do not have {food} on hand.",FoodOnHand="You have {food} on hand.",Food_Alias="Food Alias",Food_Replace="Food Replace",Foods="Foods",Friday="Friday",FromBalance="From Balance",Fulltext="Fulltext",FulltextHelp="Fields to full text search. Note: 'web', 'phrase', and 'raw' search methods only function with fulltext fields.",Fuzzy="Fuzzy",FuzzySearchHelp="Use fuzzy search to find entries even when there are differences in how the word is written.",GettingStarted="Getting Started",Global="Global",GlobalHelp="Global AI Providers can be used by users of all spaces. They can only be created and edited by superusers. ",Group="Group",GroupBy="Group By",HeaderWarning="Warning: Changing to a Heading deletes the Amount/Unit/Food",Headline="Headline",Help="Help",Hide_External="Hide External",Hide_Food="Hide Food",Hide_Keyword="Hide keywords",Hide_Keywords="Hide Keyword",Hide_Recipes="Hide Recipes",Hide_as_header="Hide as header",Hierarchy="Hierarchy",History="History",HostedFreeVersion="You are using the free version of Tandoor",Hour="Hour",Hours="Hours",Icon="Icon",IgnoreAccents="Ignore Accents",IgnoreAccentsHelp="Ignore accents when searching on the given fields. ",IgnoreThis="Never auto-add {food} to shopping",Ignore_Shopping="Ignore Shopping",IgnoredFood="{food} is set to ignore shopping.",Image$1="Image",Import="Import",ImportAll="Import all",ImportFirstRecipe="Import your first recipe from one of thousands of websites or use one of the other importers to import your existing collection, documents or URL lists.",ImportIntoTandoor="Import into Tandoor",ImportIntoTandoorHelp="To import this recipe into your own Tandoor collection follow the following steps.",ImportMealPlans="Import mealplans",ImportShoppingList="Import shoppinglists",Import_Error="An Error occurred during your import. Please expand the Details at the bottom of the page to view it.",Import_Not_Yet_Supported="Import not yet supported",Import_Result_Info="{imported} of {total} recipes were imported",Import_Supported="Import supported",Import_finished="Import finished",Imported="Imported",Imported_From="Imported from",Importer_Help="More information and help on this importer:",Information="Information",Ingredient="Ingredient",IngredientEditorHelp="With the ingredient editor you can edit all Ingredients that use a certain Food and/or Unit at once. This can be used to easily correct errors or change multiple recipes at once.",IngredientHelp="Ingredients usually consist of a quantity, unit and food, with quantity and unit being optional. It can also contain a note or be used as a header. ",IngredientInShopping="This ingredient is in your shopping list.",Ingredients="Ingredients",Inherit="Inherit",InheritFields="Inherit Fields Values",InheritFields_help="The values of these fields will be inherited from parent (Exception: blank shopping categories are not inherited)",InheritWarning="{food} is set to inherit, changes may not persist.",Input="Input",Instruction_Replace="Instruction Replace",Instructions="Instructions",InstructionsEditHelp="Click here to add instructions. ",Internal="Internal",InviteLinkHelp="Links to invite new people to your space. ",Invite_Link="Invite Link",Invites="Invites",Key_Ctrl="Ctrl",Key_Shift="Shift",Keyword="Keyword",KeywordHelp="Keywords can be used to organize you recipe collection.",Keyword_Alias="Keyword Alias",Keywords="Keywords",Language="Language",Last="Last",Last_name="Last Name",Learn_More="Learn More",LeaveSpace="Leave Space",Link="Link",Load="Load",Load_More="Load More",LogCredits="Log Credits.",LogCreditsHelp="Log credit cost of AI requests. Without this users can perform as many AI requests as they want. ",Log_Cooking="Log Cooking",Log_Recipe_Cooking="Log Recipe Cooking",Logo="Logo",Logout="Logout",Make_Header="Make Header",Make_Ingredient="Make Ingredient",ManageSubscription="Manage subscription",Manage_Books="Manage Books",Manage_Emails="Manage Emails",MealPlanHelp="A Mealplan is a calendar entry used to plan meals. It must contain a recipe or title and can be linked to shopping lists. ",MealPlanShoppingHelp="Entries on you Shopping List can be related to a Mealplan to sort your list or update/delete them all at once. When creating a Mealplan with a Recipe Shopping List entries for that recipe can be created automatically (setting). ",MealTypeHelp="Mealtypes allow you to sort your meal plans. ",Meal_Plan="Meal Plan",Meal_Plan_Days="Future meal plans",Meal_Type="Meal type",Meal_Type_Required="Meal type is required",Meal_Types="Meal types",Merge="Merge",MergeAutomateHelp="Create an automation that replaces future objects of this type with the selected object.",MergeInsteadOfDelete="Instead of deleting this {type}, you can merge it into another existing {type}.",Merge_Keyword="Merge Keyword",Message="Message",Messages="Messages",Miscellaneous="Miscellaneous",MissingConversion="Missing Conversion",MissingProperties="Missing Properties",Model="Model",ModelSelectResultsHelp="Search for more results",Monday="Monday",Month="Month",MonthlyCredits="Monthly Credits",MonthlyCreditsUsed="Monthly credits used",More="More",Move="Move",MoveCategory="Move To: ",MoveToStep="Move to Step",Move_Down="Move down",Move_Food="Move Food",Move_Keyword="Move Keyword",Move_Up="Move up",Multiple="Multiple",Name="Name",Name_Replace="Name Replace",Nav_Color="Navigation Color",Nav_Color_Help="Change navigation color.",Nav_Text_Mode="Navigation Text Mode",Nav_Text_Mode_Help="Behaves differently for every theme.",Never_Unit="Never Unit",New="New",New_Cookbook="New cookbook",New_Entry="New Entry",New_Food="New Food",New_Keyword="New Keyword",New_Meal_Type="New Meal type",New_Recipe="New Recipe",New_Supermarket="Create new supermarket",New_Supermarket_Category="Create new supermarket category",New_Unit="New Unit",Next="Next",Next_Day="Next Day",Next_Period="Next Period",No="No",NoCategory="No Category",NoMoreUndo="No changes to be undone.",NoUnit="No Unit",No_ID="ID not found, cannot delete.",No_Results="No Results",NotFound="Not found",NotFoundHelp="The page or object you are looking for could not be found.",NotInShopping="{food} is not in your shopping list.",Note="Note",NullingHelp="The selected {type} will be removed from the following objects when it is deleted.",Nutrition="Nutrition",NutritionsPerServing="Nutritions per Serving",NutritionsPerServingHelp="Some applications do not specify if nutritions are per recipe or per serving. By default Tandoor treats them as per recipe. Check this box to treat them as per serving. ",OfflineAlert="You are offline, shopping list may not syncronize.",Ok="Ok",OnHand="Currently On Hand",OnHand_help="Food is in inventory and will not be automatically added to a shopping list. Onhand status is shared with shopping users.",Open="Open",Open_Data_Import="Open Data Import",Open_Data_Slug="Open Data Slug",Options="Options",Order="Order",OrderInformation="Objects are ordered from small to large numbers.",Original_Text="Original Text",Owner="Owner",Page="Page",Parameter="Parameter",Parent="Parent",PartialMatch="Partial Match",PartialMatchHelp="Fields to search for partial matches. (e.g. searching for 'Pie' will return 'pie' and 'piece' and 'soapie')",Password="Password",Path="Path",PerPage="Per Page",Period="Period",Periods="Periods",Pin="Pin",Pinned="Pinned",PinnedConfirmation="{recipe} has been pinned.",Plan_Period_To_Show="Show weeks, months or years",Plan_Show_How_Many_Periods="How many periods to show",Planned="Planned",Planner="Planner",Planner_Settings="Planner settings",Plural="Plural",Postpone="Postpone",PostponedUntil="Postponed until",PrecisionSearchHelp="Preset that only returns entries with accurate spelling. ",Preferences="Preferences",Preparation="Preparation",Preview="Preview",Previous_Day="Previous Day",Previous_Period="Previous Period",Print="Print",Private="Private",Private_Recipe="Private Recipe",Private_Recipe_Help="Private recipes are only shown to you and people they are shared with.",Profile="Profile",Properties="Properties",PropertiesFoodHelp="Properties can be added to Recipes and Foods. Properties on Foods are automatically calculated based on their amount in the recipe.",Properties_Food_Amount="Properties Food Amount",Properties_Food_Unit="Properties Food Unit",Property="Property",PropertyHelp="Combination of property type, food/recipe and amount",PropertyType="Property Type",PropertyTypeHelp="Properties allow you to track different values (nutrition, prices, ...) for individual foods or complete recipes. ",Property_Editor="Property Editor",Protected="Protected",Proteins="Proteins",QuickEntry="Quick Entry",RandomOrder="Random order",RateLimit="Rate limit",RateLimitHelp="You have reached the limit of requests in a certain time.",Rating="Rating",Ratings="Ratings",Recently_Viewed="Recently Viewed",Recipe="Recipe",RecipeBookEntryHelp="Recipe book entries link recipes to specific locations in books. ",RecipeBookHelp="Recipebooks contain recipe book entries or can be automatically populated by using saved search filters. ",RecipeHelp="Recipes are the foundation of Tandoor and consist of general information and steps, made up of ingredients, instructions and more. ",RecipeStepsHelp="Ingredients, Instructions and more can be edited in the tab Steps.",Recipe_Book="Recipe Book",Recipe_Image="Recipe Image",Recipes="Recipes",Recipes_In_Import="Recipes in your import file",Recipes_per_page="Recipes per Page",Refresh="Refresh",Remove="Remove",RemoveAllType="Remove all {type}",RemoveFoodFromShopping="Remove {food} from your shopping list",RemoveParent="Remove parent",Remove_nutrition_recipe="Delete nutrition from recipe",Reset="Reset",ResetHelp="Reset Help",Reset_Search="Reset Search",Reusable="Reusable",Role="Role",Root="Root",Saturday="Saturday",Save="Save",Save_and_View="Save & View",SavedSearch="Saved Search",SavedSearchHelp="Saved searches can be used to save search filters to easily retrieve them later or automatically populate recipe books. ",ScalableNumber="Scalable Number",Search="Search",SearchMethod="Search method",SearchSettingsOverview="Choose one of the recommended presets or adjust the settings below yourself.",SearchSettingsWarning="Chaning any search settings is usually not required. These settings exist only for experts with special needs. ",Second="Second",Seconds="Seconds",Select="Select",SelectAll="Select all",SelectNone="Select none",Select_App_To_Import="Please select an App to Import from",Select_Book="Select Book",Select_File="Select File",Selected="Selected",SelectedCategories="Selected Categories",SelfHosted="Selfhosted",Serving="Serving",Servings="Servings",ServingsText="Servings Text",Settings="Settings",SettingsOnlySuperuser="Some Settings can only be changed by the Server Administrator.",Share="Share",ShopLater="Shop later",ShopNow="Shop now",ShoppingBackgroundSyncWarning="Bad network, waiting to sync ...",ShoppingListEntry="Shoppinglist Entry",ShoppingListEntryHelp="Shopping list entries can be created manually or trough recipes and meal plans.",ShoppingListRecipe="Shoppinglist Recipe",Shopping_Categories="Shopping Categories",Shopping_Category="Shopping Category",Shopping_List_Empty="Your shopping list is currently empty, you can add items via the context menu of a meal plan entry (right click on the card or left click the menu icon)",Shopping_input_placeholder="e.g. Potato/100 Potatoes/100 g Potatoes",Shopping_list="Shopping List",ShowDelayed="Show delayed items",ShowIngredients="Show Ingredients",ShowMealPlanOnStartPage="Show Mealplans on start page.",ShowRecentlyCompleted="Show recently completed items",ShowUncategorizedFood="Show Undefined",Show_Logo="Show Logo",Show_Logo_Help="Show Tandoor or space logo in navigation bar.",Show_Week_Numbers="Show week numbers ?",Show_as_header="Show as header",Single="Single",Size="Size",Skip="Skip",Social_Authentication="Social Authentication",Sort_by_new="Sort by new",Source="Source",SourceImportHelp="Import JSON in schema.org/recipe format or html pages with json+ld recipe or microdata.",SourceImportSubtitle="Import JSON or HTML manually.",Space="Space",SpaceHelp="All your data is part of your space and can only be acccessed by space members. ",SpaceLimitExceeded="Your space has surpassed one of its limits, some functions might be restricted.",SpaceLimitReached="This Space has reached a limit. No more objects of this type can be created.",SpaceMemberHelp="Add users to your space by creating an Invite Link and sending it to the person you want to add.",SpaceMembers="Space Members",SpaceMembersHelp="Users and their permissions in a space. Add additional users using invite links.",SpaceName="Space Name",SpacePrivateObjectsHelp=" Some things are private by default an can be shared with members of your space.",SpaceSettings="Space Settings",Space_Cosmetic_Settings="Some cosmetic settings can be changed by space administrators and will override client settings for that space.",Split="Split",Split_All_Steps="Split all rows into separate steps.",StartDate="Start Date",Starting_Day="Starting day of the week",StartsWith="Starts with",StartsWithHelp="lds to search for beginning of word matches. (e.g. searching for 'sa' will return 'salad' and 'sandwich')",Step="Step",StepHelp="Steps contain ingredients (made up of quantity/unit/food), instructions, images and more information about that step in a recipe. ",Step_Name="Step Name",Step_Type="Step Type",Step_start_time="Step start time",Steps="Steps",StepsOverview="Steps Overview",Sticky_Nav="Sticky Navigation",Sticky_Nav_Help="Always show the navigation menu at the top of the screen.",Storage$1="External Storage",StorageHelp="External storage locations where recipe files (image/pdf) can be stored and synced with Tandoor.",StoragePasswordTokenHelp="The stored password/token will never be displayed. It is only changed if something new is entered into the field. ",Structured="Structured",SubstituteOnHand="You have a substitute on hand.",Substitutes="Substitutes",Success="Success",SuccessClipboard="Shopping list copied to clipboard",Summary="Summary",Sunday="Sunday",Supermarket="Supermarket",SupermarketCategoriesOnly="Supermarket Categories Only",SupermarketCategoryHelp="Categories describe areas in supermarkets (e.g. Fruits, Deli, ...). They can be linked to foods and supermarkets for automatic sorting/filtering.",SupermarketHelp="With supermarkets you can link categories to automatically sort and filter shopping lists. ",SupermarketName="Supermarket Name",Supermarkets="Supermarkets",SupportsDescriptionField="Supports description field",SyncLog="Syncronization Log",SyncLogHelp="Protocol for external recipe sync.",SyncedPath="Synced folder",SyncedPathHelp="Folders on external storage locations that are monitored. ",System="System",Table="Table",Table_of_Contents="Table of Contents",Text="Text",ThankYou="Thank you",ThanksTextHosted="For supporting open source by using the official Tandoor server.",ThanksTextSelfhosted="For using Tandoor. If you want to support future development consider sponsoring the project using GitHub sponsors.",Theme="Theme",Thursday="Thursday",Time="Time",Title="Title",Title_or_Recipe_Required="Title or recipe selection required",Today="Today",Toggle="Toggle",Transpose_Words="Transpose Words",TrigramThreshold="Trigram threshold",TrigramThresholdHelp="Controls how many spelling mistakes are ignored when using fuzzy search. Lower values ignore more differences/yield more results.",Tuesday="Tuesday",Type="Type",UPDATE_ERROR="Error while updating",Unchanged="Unchanged",Undefined="Undefined",Undo="Undo",Unit="Unit",UnitConversion="Unit Conversion",UnitConversionHelp="Unit conversion allow you to convert individual units in general or only for a certain food. You can for example convert 1 cup of flour into 125 grams. Tandoor can then automatically convert within the different weight or volume units, if the units have the correct base units. Unit conversions are used for property calculations.",UnitHelp="Units, together with foods and quantities make up ingredients. They can be named according to your personal preference and linked to standardized units for automatic conversion. Additionally, they give context to quantities in many places like shopping lists, conversions and properties. ",Unit_Alias="Unit Alias",Unit_Replace="Unit Replace",Units="Units",Unpin="Unpin",UnpinnedConfirmation="{recipe} has been unpinned.",Unrated="Unrated",Up="Up",Update="Update",Update_Existing_Data="Update Existing Data",Updated="Updated",UpgradeNow="Upgrade now",Url="Url",UrlImportSubtitle="Import recipes from thousands of suppported pages.",UrlList="URL List",UrlListSubtitle="Automatically import a list of urls.",Url_Import="Url Import",Use_Fractions="Use Fractions",Use_Fractions_Help="Automatically convert decimals to fractions when viewing a recipe.",Use_Kj="Use kJ instead of kcal",Use_Metric="Use Metric Units",Use_Plural_Food_Always="Use plural form for food always",Use_Plural_Food_Simple="Use plural form for food dynamically",Use_Plural_Unit_Always="Use plural form for unit always",Use_Plural_Unit_Simple="Use plural form for unit dynamically",User="User",UserFileHelp="Files uploaded to the space. ",UserHelp="Users are the members of your space. ",Username="Username",Users="Users",View="View",ViewLogHelp="History of viewed recipes. ",View_Recipes="View Recipes",Viewed="Viewed",Visibility="Visibility",Waiting="Waiting",WaitingTime="Waiting Time",WarnPageLeave="There are unsaved changes that will get lost. Leave page anyway?",Warning="Warning",WarningRecipeBookEntryDuplicate="A recipe can only be added once to a book.",Warning_Delete_Supermarket_Category="Deleting a supermarket category will also delete all relations to foods. Are you sure?",Website="Website",Wednesday="Wednesday",Week="Week",Week_Numbers="Week numbers",Welcome="Welcome",WelcomeSettingsHelp="Please choose the basic settings for your Tandoor space. You can change all of these later trough the settings.",WelcometoTandoor="Welcome to Tandoor",WorkingTime="Working time",Year="Year",Yes="Yes",YourSpaces="Your Spaces",active="active",add_keyword="Add Keyword",additional_options="Additional Options",advanced="Advanced",advanced_search_settings="Advanced Search Settings",after="after",all="all",all_fields_optional="All fields are optional and can be left empty.",and="and",and_down="& Down",and_up="& Up",any="any",asc="Ascending",base_amount="Base Amount",base_unit="Base Unit",before="before",book_filter_help="Include recipes from recipe filter in addition to manually assigned ones.",click_image_import="Click the image you want to import for this recipe",confirm_delete="Are you sure you want to delete this {object}?",convert_internal="Convert to internal recipe",converted_amount="Converted Amount",converted_unit="Converted Unit",copy_markdown_table="Copy as Markdown Table",copy_to_clipboard="Copy to Clipboard",copy_to_new="Copy To New Recipe",create_food_desc="Create a food and link it to this recipe.",create_rule="and create automation",create_title="New {type}",created_by="Created by",created_on="Created On",csv_delim_help="Delimiter to use for CSV exports.",csv_delim_label="CSV Delimiter",csv_prefix_help="Prefix to add when copying list to the clipboard.",csv_prefix_label="List Prefix",date_created="Date Created",date_viewed="Last Viewed",default_delay="Default Delay Hours",default_delay_desc="Default number of hours to delay a shopping list entry.",del_confirmation_tree="Are you sure that you want to delete {source} and all of it's children?",delete_confirmation="Are you sure that you want to delete {source}?",delete_title="Delete {type}",desc="Descending",download_csv="Download CSV",download_pdf="Download PDF",edit_title="Edit {type}",empty_list="List is empty.",enable_expert="Enable Expert Mode",err_creating_resource="There was an error creating a resource!",err_deleting_protected_resource="The object you are trying to delete is still used and can't be deleted.",err_deleting_resource="There was an error deleting a resource!",err_fetching_resource="There was an error fetching a resource!",err_importing_recipe="There was an error importing the recipe!",err_merge_self="Cannot merge item with itself",err_merging_resource="There was an error merging a resource!",err_move_self="Cannot move item to itself",err_moving_resource="There was an error moving a resource!",err_updating_resource="There was an error updating a resource!",exact="exact",exclude="exclude",expert_mode="Expert Mode",explain="Explain",fields="Fields",file_upload_disabled="File upload is not enabled for your space.",filter="Filter",filter_name="Filter Name",filter_to_supermarket="Filter to Supermarket",filter_to_supermarket_desc="By default, filter shopping list to only include categories for selected supermarket.",fluid_ounce="fluid ounce [fl oz] (US, volume)",food_inherit_info="Fields on food that should be inherited by default.",food_recipe_help="Linking a recipe here will include the linked recipe in any other recipe that use this food",g="gram [g] (metric, weight)",gallon="gallon [gal] (US, volume)",hide_step_ingredients="Hide Step Ingredients",hours="hours",ignore_shopping_help="Never add food to the shopping list (e.g. water)",imperial_fluid_ounce="imperial fluid ounce [imp fl oz] (UK, volume)",imperial_gallon="imperial gal [imp gal] (UK, volume)",imperial_pint="imperial pint [imp pt] (UK, volume)",imperial_quart="imperial quart [imp qt] (UK, volume)",imperial_tbsp="imperial tablespoon [imp tbsp] (UK, volume)",imperial_tsp="imperial teaspoon [imp tsp] (UK, volume)",import_duplicates="To prevent duplicates recipes with the same name as existing ones are ignored. Check this box to import everything.",import_running="Import running, please wait!",in_shopping="In Shopping List",ingredient_list="Ingredient List",kg="kilogram [kg] (metric, weight)",l="litre [l] (metric, volume)",last_cooked="Last Cooked",last_viewed="Last Viewed",left_handed="Left-handed mode",left_handed_help="Will optimize the UI for use with your left hand.",make_now="Make Now",make_now_count="At most missing ingredients",mark_complete="Mark Complete",mealplan_autoadd_shopping="Auto Add Meal Plan",mealplan_autoadd_shopping_desc="Automatically add meal plan ingredients to shopping list.",mealplan_autoexclude_onhand="Exclude Food On Hand",mealplan_autoexclude_onhand_desc="When adding a meal plan to the shopping list (manually or automatically), exclude ingredients that are currently on hand.",mealplan_autoinclude_related="Add Related Recipes",mealplan_autoinclude_related_desc="When adding a meal plan to the shopping list (manually or automatically), include all related recipes.",merge_confirmation="Replace <i>{source}</i> with <i>{target}</i>",merge_selection="Replace all occurrences of {source} with the selected {type}.",merge_title="Merge {type}",min="min",ml="millilitre [ml] (metric, volume)",move_confirmation="Move <i>{child}</i> to parent <i>{parent}</i>",move_selection="Select a parent {type} to move {source} to.",move_title="Move {type}",no_more_images_found="No additional images found on Website.",no_pinned_recipes="You have no pinned recipes!",not="not",nothing="Nothing to do",nothing_planned_today="You have nothing planned for today!",on="on",one_url_per_line="One URL per line",open_data_help_text="The Tandoor Open Data project provides community contributed data for Tandoor. This field is filled automatically when importing it and allows updates in the future.",or="or",ounce="ounce [oz] (weight)",parameter_count="Parameter {count}",paste_ingredients="Paste Ingredients",paste_ingredients_placeholder="Paste ingredient list here...",paste_json="Paste json or html source here to load recipe.",per_serving="per servings",pint="pint [pt] (US, volume)",plan_share_desc="New Meal Plan entries will automatically be shared with selected users.",plural_short="plural",plural_usage_info="Use the plural form for units and food inside this space.",pound="pound (weight)",property_type_fdc_hint="Only property types with an FDC ID can automatically pull data from the FDC database",quart="quart [qt] (US, volume)",recipe_filter="Recipe Filter",recipe_name="Recipe Name",recipe_property_info="You can also add properties to foods to calculate them automatically based on your recipe!",related_recipes="Related Recipes",remember_hours="Hours to Remember",remember_search="Remember Search",remove_selection="Deselect",reset_children="Reset Child Inheritance",reset_children_help="Overwrite all children with values from inherited fields. Inherited fields of children will be set to Inherit Fields unless Children Inherit Fields is set.",reset_food_inheritance="Reset Inheritance",reset_food_inheritance_info="Reset all foods to default inherited fields and their parent values.",reusable_help_text="Should the invite link be usable for more than one user.",review_shopping="Review shopping entries before saving",save_filter="Save Filter",searchFilterCreatedByHelp="Recipes that were created by the selected user.",searchFilterObjectsAndHelp="Recipes with all of the selected {type}",searchFilterObjectsAndNotHelp="Exclude recipes with all of the selected {type}",searchFilterObjectsHelp="Recipes with any of the selected {type}",searchFilterObjectsOrNotHelp="Only recipes were all foods (or its substitutes) are marked as on hand.",search_create_help_text="Create a new recipe directly in Tandoor.",search_import_help_text="Import a recipe from an external website or application.",search_no_recipes="Could not find any recipes!",search_rank="Search Rank",seconds="seconds",select_file="Select File",select_food="Select Food",select_keyword="Select Keyword",select_recipe="Select Recipe",select_unit="Select Unit",shared_with="Shared With",shopping_add_onhand="Auto On Hand",shopping_add_onhand_desc="Mark food 'On Hand' when checked off shopping list.",shopping_auto_sync="Autosync",shopping_auto_sync_desc="Setting to 0 will disable auto sync. When viewing a shopping list the list is updated every set seconds to sync changes someone else might have made. Useful when shopping with multiple people but will use mobile data.",shopping_category_help="Supermarkets can be ordered and filtered by Shopping Category according to the layout of the aisles.",shopping_recent_days="Recent Days",shopping_recent_days_desc="Number of days for which already checked entries should be loaded in the background. ",shopping_share="Share Shopping List",shopping_share_desc="Users will see all items you add to your shopping list. They must add you to see items on their list.",show_books="Show Books",show_filters="Show Filters",show_foods="Show Foods",show_ingredient_overview="Display a list of all ingredients at the start of the recipe.",show_ingredients_table="Display a table of the ingredients next to the step's text",show_keywords="Show Keywords",show_only_internal="Show only internal recipes",show_rating="Show Rating",show_sortby="Show Sort By",show_split_screen="Split View",show_sql="Show SQL",show_step_ingredients="Show Step Ingredients",show_step_ingredients_setting="Show Ingredients Next To Recipe Steps",show_step_ingredients_setting_help="Show ingredients table next to recipe steps. Applies at creation time. Can be changed for each recipe step.",show_units="Show Units",simple_mode="Simple Mode",sort_by="Sort By",sql_debug="SQL Debug",step_time_minutes="Step time in minutes",substitute_children="Substitute Children",substitute_children_help="All food that are children of this food are considered substitutes.",substitute_help="Substitutes are considered when searching for recipes that can be made with onhand ingredients.",substitute_siblings="Substitute Siblings",substitute_siblings_help="All food that share a parent of this food are considered substitutes.",success_creating_resource="Successfully created a resource!",success_deleting_resource="Successfully deleted a resource!",success_fetching_resource="Successfully fetched a resource!",success_merging_resource="Successfully merged a resource!",success_moving_resource="Successfully moved a resource!",success_updating_resource="Successfully updated a resource!",tbsp="tablespoon [tbsp] (US, volume)",theUsernameCannotBeChanged="The username cannot be changed.",times_cooked="Times Cooked",to_close="to close",to_navigate="to navigate",to_select="to select",today_recipes="Today's Recipes",total="total",tree_root="Root of Tree",tree_select="Use Tree Selection",tsp="teaspoon [tsp] (US, volume)",unsaved="unsaved",updatedon="Updated On",view_recipe="View Recipe",warning_duplicate_filter="Warning: Due to technical limitations having multiple filters of the same combination (and/or/not) might yield unexpected results.",warning_feature_beta="This feature is currently in a BETA (testing) state. Please expect bugs and possibly breaking changes in the future (possibly losing feature-related data) when using this feature.",warning_space_delete="You can delete your space including all recipes, shopping lists, meal plans and whatever else you have created. This cannot be undone! Are you sure you want to do this ?",en={AI,AIImportSubtitle,AISettingsHostedHelp,API,APIKey,API_Browser,API_Documentation,AboutTandoor,AccessTokenHelp,Access_Token,Account,Actions,Active,Activity,Add,AddAll,AddChild,AddFilter,AddFoodToShopping,AddMany,AddToShopping,Add_Servings_to_Shopping,Add_Step,Add_nutrition_recipe,Add_to_Plan,Add_to_Shopping,Added_To_Shopping_List,Added_by,Added_on,Admin,Advanced,AiCreditsBalance,AiLog,AiLogHelp,AiModelHelp,AiProvider,AiProviderHelp,Alignment,AllRecipes,Amount,App,AppImportSubtitle,Apply,Are_You_Sure,Auto_Planner,Auto_Sort,Auto_Sort_Help,Automate,Automation,AutomationHelp,Available,AvailableCategories,Back,BaseUnit,BaseUnitHelp,Basics,BatchDeleteConfirm,BatchDeleteHelp,BatchEdit,BatchEditUpdatingItemsCount,Blocking,BlockingHelp,Book,Bookmarklet,BookmarkletHelp1,BookmarkletHelp2,BookmarkletHelp3,BookmarkletImportSubtitle,Books,CREATE_ERROR,Calculator,Calories,Cancel,Cannot_Add_Notes_To_Shopping,Carbohydrates,Cards,Cascading,CascadingHelp,Categories,Category,CategoryInstruction,CategoryName,Change_Password,Changing,ChildInheritFields,ChildInheritFields_help,Choose_Category,Clear,Click_To_Edit,Clone,Close,Color,Combine_All_Steps,Coming_Soon,Comment,Comments_setting,Completed,Confirm,ConnectorConfig,ConnectorConfigHelp,Continue,Conversion,ConversionsHelp,ConvertUsingAI,CookLog,CookLogHelp,Cooked,Copied,Copy,"Copy Link":"Copy Link","Copy Token":"Copy Token",Copy_template_reference,Cosmetic,CountMore,Create,"Create Food":"Create Food","Create Recipe":"Create Recipe",CreateAccount,CreateFirstRecipe,CreateInvitation,Create_Meal_Plan_Entry,Create_New_Food,Create_New_Keyword,Create_New_Meal_Type,"Create_New_Shopping Category":"Create New Shopping Category",Create_New_Shopping_Category,Create_New_Unit,Created,CreatedBy,Credits,"Ctrl+K":"Ctrl+K",Current_Period,"Custom Filter":"Custom Filter",CustomImageHelp,CustomLogoHelp,CustomLogos,CustomNavLogoHelp,CustomTheme,CustomThemeHelp,DELETE_ERROR,Data_Import_Info,Database,DatabaseHelp,Datatype,Date:"Date",Day,Days,Decimals,Default,DefaultPage,Default_Unit,DelayFor,DelayUntil,Delete,DeleteConfirmQuestion,DeleteShoppingConfirm,DeleteSomething,Delete_All,Delete_Food,Delete_Keyword,Deleted,Description,Description_Replace,DeviceSettings,DeviceSettingsHelp,Disable,Disable_Amount,Disabled,Documentation,DontChange,Down,Download,DragToUpload,Drag_Here_To_Delete,Duplicate,DuplicateFoundInfo,Edit,Edit_Food,Edit_Keyword,Edit_Meal_Plan_Entry,Edit_Recipe,Email,Empty,Enable,Enable_Amount,Enabled,EndDate,Energy,Entries,Error:"Error",ErrorUrlListImport,Events,Export,Export_As_ICal,Export_Not_Yet_Supported,Export_Supported,Export_To_ICal,External,ExternalRecipe,ExternalRecipeImport,ExternalRecipeImportHelp,ExternalStorage,External_Recipe_Image,FDC_ID,FDC_ID_help,FDC_Search,FETCH_ERROR,Failure,Fats,File,Files,Finish,FinishedAt,First,First_name,Food,FoodHelp,FoodInherit,FoodNotOnHand,FoodOnHand,Food_Alias,Food_Replace,Foods,Friday,FromBalance,Fulltext,FulltextHelp,Fuzzy,FuzzySearchHelp,GettingStarted,Global,GlobalHelp,Group,GroupBy,HeaderWarning,Headline,Help,Hide_External,Hide_Food,Hide_Keyword,Hide_Keywords,Hide_Recipes,Hide_as_header,Hierarchy,History,HostedFreeVersion,Hour,Hours,Icon,IgnoreAccents,IgnoreAccentsHelp,IgnoreThis,Ignore_Shopping,IgnoredFood,Image:Image$1,Import,"Import Recipe":"Import Recipe",ImportAll,ImportFirstRecipe,ImportIntoTandoor,ImportIntoTandoorHelp,ImportMealPlans,ImportShoppingList,Import_Error,Import_Not_Yet_Supported,Import_Result_Info,Import_Supported,Import_finished,Imported,Imported_From,Importer_Help,Information,Ingredient,"Ingredient Editor":"Ingredient Editor","Ingredient Overview":"Ingredient Overview",IngredientEditorHelp,IngredientHelp,IngredientInShopping,Ingredients,Inherit,InheritFields,InheritFields_help,InheritWarning,Input,Instruction_Replace,Instructions,InstructionsEditHelp,Internal,InviteLinkHelp,Invite_Link,Invites,Key_Ctrl,Key_Shift,Keyword,KeywordHelp,Keyword_Alias,Keywords,Language,Last,Last_name,Learn_More,LeaveSpace,Link,Load,Load_More,LogCredits,LogCreditsHelp,Log_Cooking,Log_Recipe_Cooking,Logo,Logout,Make_Header,Make_Ingredient,ManageSubscription,Manage_Books,Manage_Emails,MealPlanHelp,MealPlanShoppingHelp,MealTypeHelp,Meal_Plan,Meal_Plan_Days,Meal_Type,Meal_Type_Required,Meal_Types,Merge,MergeAutomateHelp,MergeInsteadOfDelete,Merge_Keyword,Message,Messages,Miscellaneous,MissingConversion,MissingProperties,Model,ModelSelectResultsHelp,Monday,Month,MonthlyCredits,MonthlyCreditsUsed,More,Move,MoveCategory,MoveToStep,Move_Down,Move_Food,Move_Keyword,Move_Up,Multiple,Name,Name_Replace,Nav_Color,Nav_Color_Help,Nav_Text_Mode,Nav_Text_Mode_Help,Never_Unit,New,New_Cookbook,New_Entry,New_Food,New_Keyword,New_Meal_Type,New_Recipe,New_Supermarket,New_Supermarket_Category,New_Unit,Next,Next_Day,Next_Period,No,NoCategory,NoMoreUndo,NoUnit,No_ID,No_Results,NotFound,NotFoundHelp,NotInShopping,Note,NullingHelp,"Number of Objects":"Number of Objects",Nutrition,NutritionsPerServing,NutritionsPerServingHelp,OfflineAlert,Ok,OnHand,OnHand_help,Open,Open_Data_Import,Open_Data_Slug,Options,Order,OrderInformation,Original_Text,Owner,Page,Parameter,Parent,PartialMatch,PartialMatchHelp,Password,Path,PerPage,Period,Periods,Pin,Pinned,PinnedConfirmation,Plan_Period_To_Show,Plan_Show_How_Many_Periods,Planned,Planner,Planner_Settings,"Planning&Shopping":"Planning & Shopping",Plural,Postpone,PostponedUntil,PrecisionSearchHelp,Preferences,Preparation,Preview,Previous_Day,Previous_Period,Print,Private,Private_Recipe,Private_Recipe_Help,Profile,Properties,PropertiesFoodHelp,Properties_Food_Amount,Properties_Food_Unit,Property,PropertyHelp,PropertyType,PropertyTypeHelp,Property_Editor,Protected,Proteins,"Quick actions":"Quick actions",QuickEntry,"Random Recipes":"Random Recipes",RandomOrder,RateLimit,RateLimitHelp,Rating,Ratings,Recently_Viewed,Recipe,RecipeBookEntryHelp,RecipeBookHelp,RecipeHelp,RecipeStepsHelp,Recipe_Book,Recipe_Image,Recipes,Recipes_In_Import,Recipes_per_page,Refresh,Remove,RemoveAllType,RemoveFoodFromShopping,RemoveParent,Remove_nutrition_recipe,Reset,ResetHelp,Reset_Search,Reusable,Role,Root,Saturday,Save,"Save/Load":"Save/Load",Save_and_View,SavedSearch,SavedSearchHelp,ScalableNumber,Search,"Search Settings":"Search Settings",SearchMethod,SearchSettingsOverview,SearchSettingsWarning,Second,Seconds,Select,SelectAll,SelectNone,Select_App_To_Import,Select_Book,Select_File,Selected,SelectedCategories,SelfHosted,Serving,Servings,ServingsText,Settings,SettingsOnlySuperuser,Share,ShopLater,ShopNow,ShoppingBackgroundSyncWarning,ShoppingListEntry,ShoppingListEntryHelp,ShoppingListRecipe,Shopping_Categories,Shopping_Category,Shopping_List_Empty,Shopping_input_placeholder,Shopping_list,ShowDelayed,ShowIngredients,ShowMealPlanOnStartPage,ShowRecentlyCompleted,ShowUncategorizedFood,Show_Logo,Show_Logo_Help,Show_Week_Numbers,Show_as_header,Single,Size,Skip,Social_Authentication,Sort_by_new,Source,SourceImportHelp,SourceImportSubtitle,Space,SpaceHelp,SpaceLimitExceeded,SpaceLimitReached,SpaceMemberHelp,SpaceMembers,SpaceMembersHelp,SpaceName,SpacePrivateObjectsHelp,SpaceSettings,Space_Cosmetic_Settings,Split,Split_All_Steps,StartDate,Starting_Day,StartsWith,StartsWithHelp,Step,StepHelp,Step_Name,Step_Type,Step_start_time,Steps,StepsOverview,Sticky_Nav,Sticky_Nav_Help,Storage:Storage$1,StorageHelp,StoragePasswordTokenHelp,Structured,SubstituteOnHand,Substitutes,Success,SuccessClipboard,Summary,Sunday,Supermarket,SupermarketCategoriesOnly,SupermarketCategoryHelp,SupermarketHelp,SupermarketName,Supermarkets,SupportsDescriptionField,SyncLog,SyncLogHelp,SyncedPath,SyncedPathHelp,System,Table,Table_of_Contents,Text,ThankYou,ThanksTextHosted,ThanksTextSelfhosted,Theme,Thursday,Time,Title,Title_or_Recipe_Required,Today,Toggle,Transpose_Words,TrigramThreshold,TrigramThresholdHelp,Tuesday,Type,UPDATE_ERROR,Unchanged,Undefined,Undo,Unit,UnitConversion,UnitConversionHelp,UnitHelp,Unit_Alias,Unit_Replace,Units,Unpin,UnpinnedConfirmation,Unrated,Up,Update,Update_Existing_Data,Updated,UpgradeNow,Url,UrlImportSubtitle,UrlList,UrlListSubtitle,Url_Import,Use_Fractions,Use_Fractions_Help,Use_Kj,Use_Metric,Use_Plural_Food_Always,Use_Plural_Food_Simple,Use_Plural_Unit_Always,Use_Plural_Unit_Simple,User,UserFileHelp,UserHelp,Username,Users,"Valid Until":"Valid Until",View,ViewLogHelp,View_Recipes,Viewed,Visibility,Waiting,WaitingTime,WarnPageLeave,Warning,WarningRecipeBookEntryDuplicate,Warning_Delete_Supermarket_Category,Website,Wednesday,Week,Week_Numbers,Welcome,WelcomeSettingsHelp,WelcometoTandoor,WorkingTime,Year,Yes,YourSpaces,active,add_keyword,additional_options,advanced,advanced_search_settings,after,all,all_fields_optional,and,and_down,and_up,any,asc,base_amount,base_unit,before,book_filter_help,click_image_import,confirm_delete,convert_internal,converted_amount,converted_unit,copy_markdown_table,copy_to_clipboard,copy_to_new,create_food_desc,create_rule,create_title,created_by,created_on,csv_delim_help,csv_delim_label,csv_prefix_help,csv_prefix_label,date_created,date_viewed,default_delay,default_delay_desc,del_confirmation_tree,delete_confirmation,delete_title,desc,download_csv,download_pdf,edit_title,empty_list,enable_expert,err_creating_resource,err_deleting_protected_resource,err_deleting_resource,err_fetching_resource,err_importing_recipe,err_merge_self,err_merging_resource,err_move_self,err_moving_resource,err_updating_resource,exact,exclude,expert_mode,explain,fields,file_upload_disabled,filter,filter_name,filter_to_supermarket,filter_to_supermarket_desc,fluid_ounce,food_inherit_info,food_recipe_help,g,gallon,hide_step_ingredients,hours,ignore_shopping_help,imperial_fluid_ounce,imperial_gallon,imperial_pint,imperial_quart,imperial_tbsp,imperial_tsp,import_duplicates,import_running,in_shopping,ingredient_list,kg,l,last_cooked,last_viewed,left_handed,left_handed_help,make_now,make_now_count,mark_complete,mealplan_autoadd_shopping,mealplan_autoadd_shopping_desc,mealplan_autoexclude_onhand,mealplan_autoexclude_onhand_desc,mealplan_autoinclude_related,mealplan_autoinclude_related_desc,merge_confirmation,merge_selection,merge_title,min,ml,move_confirmation,move_selection,move_title,no_more_images_found,no_pinned_recipes,not,nothing,nothing_planned_today,on,one_url_per_line,open_data_help_text,or,ounce,parameter_count,paste_ingredients,paste_ingredients_placeholder,paste_json,per_serving,pint,plan_share_desc,plural_short,plural_usage_info,pound,property_type_fdc_hint,quart,recipe_filter,recipe_name,recipe_property_info,related_recipes,remember_hours,remember_search,remove_selection,reset_children,reset_children_help,reset_food_inheritance,reset_food_inheritance_info,reusable_help_text,review_shopping,save_filter,searchFilterCreatedByHelp,searchFilterObjectsAndHelp,searchFilterObjectsAndNotHelp,searchFilterObjectsHelp,searchFilterObjectsOrNotHelp,search_create_help_text,search_import_help_text,search_no_recipes,search_rank,seconds,select_file,select_food,select_keyword,select_recipe,select_unit,shared_with,shopping_add_onhand,shopping_add_onhand_desc,shopping_auto_sync,shopping_auto_sync_desc,shopping_category_help,shopping_recent_days,shopping_recent_days_desc,shopping_share,shopping_share_desc,show_books,show_filters,show_foods,show_ingredient_overview,show_ingredients_table,show_keywords,show_only_internal,show_rating,show_sortby,show_split_screen,show_sql,show_step_ingredients,show_step_ingredients_setting,show_step_ingredients_setting_help,show_units,simple_mode,sort_by,sql_debug,step_time_minutes,substitute_children,substitute_children_help,substitute_help,substitute_siblings,substitute_siblings_help,success_creating_resource,success_deleting_resource,success_fetching_resource,success_merging_resource,success_moving_resource,success_updating_resource,tbsp,theUsernameCannotBeChanged,times_cooked,to_close,to_navigate,to_select,today_recipes,total,tree_root,tree_select,tsp,unsaved,updatedon,view_recipe,warning_duplicate_filter,warning_feature_beta,warning_space_delete},en$1=Object.freeze(Object.defineProperty({__proto__:null,AI,AIImportSubtitle,AISettingsHostedHelp,API,APIKey,API_Browser,API_Documentation,AboutTandoor,AccessTokenHelp,Access_Token,Account,Actions,Active,Activity,Add,AddAll,AddChild,AddFilter,AddFoodToShopping,AddMany,AddToShopping,Add_Servings_to_Shopping,Add_Step,Add_nutrition_recipe,Add_to_Plan,Add_to_Shopping,Added_To_Shopping_List,Added_by,Added_on,Admin,Advanced,AiCreditsBalance,AiLog,AiLogHelp,AiModelHelp,AiProvider,AiProviderHelp,Alignment,AllRecipes,Amount,App,AppImportSubtitle,Apply,Are_You_Sure,Auto_Planner,Auto_Sort,Auto_Sort_Help,Automate,Automation,AutomationHelp,Available,AvailableCategories,Back,BaseUnit,BaseUnitHelp,Basics,BatchDeleteConfirm,BatchDeleteHelp,BatchEdit,BatchEditUpdatingItemsCount,Blocking,BlockingHelp,Book,Bookmarklet,BookmarkletHelp1,BookmarkletHelp2,BookmarkletHelp3,BookmarkletImportSubtitle,Books,CREATE_ERROR,Calculator,Calories,Cancel,Cannot_Add_Notes_To_Shopping,Carbohydrates,Cards,Cascading,CascadingHelp,Categories,Category,CategoryInstruction,CategoryName,Change_Password,Changing,ChildInheritFields,ChildInheritFields_help,Choose_Category,Clear,Click_To_Edit,Clone,Close,Color,Combine_All_Steps,Coming_Soon,Comment,Comments_setting,Completed,Confirm,ConnectorConfig,ConnectorConfigHelp,Continue,Conversion,ConversionsHelp,ConvertUsingAI,CookLog,CookLogHelp,Cooked,Copied,Copy,Copy_template_reference,Cosmetic,CountMore,Create,CreateAccount,CreateFirstRecipe,CreateInvitation,Create_Meal_Plan_Entry,Create_New_Food,Create_New_Keyword,Create_New_Meal_Type,Create_New_Shopping_Category,Create_New_Unit,Created,CreatedBy,Credits,Current_Period,CustomImageHelp,CustomLogoHelp,CustomLogos,CustomNavLogoHelp,CustomTheme,CustomThemeHelp,DELETE_ERROR,Data_Import_Info,Database,DatabaseHelp,Datatype,Day,Days,Decimals,Default,DefaultPage,Default_Unit,DelayFor,DelayUntil,Delete,DeleteConfirmQuestion,DeleteShoppingConfirm,DeleteSomething,Delete_All,Delete_Food,Delete_Keyword,Deleted,Description,Description_Replace,DeviceSettings,DeviceSettingsHelp,Disable,Disable_Amount,Disabled,Documentation,DontChange,Down,Download,DragToUpload,Drag_Here_To_Delete,Duplicate,DuplicateFoundInfo,Edit,Edit_Food,Edit_Keyword,Edit_Meal_Plan_Entry,Edit_Recipe,Email,Empty,Enable,Enable_Amount,Enabled,EndDate,Energy,Entries,ErrorUrlListImport,Events,Export,Export_As_ICal,Export_Not_Yet_Supported,Export_Supported,Export_To_ICal,External,ExternalRecipe,ExternalRecipeImport,ExternalRecipeImportHelp,ExternalStorage,External_Recipe_Image,FDC_ID,FDC_ID_help,FDC_Search,FETCH_ERROR,Failure,Fats,File,Files,Finish,FinishedAt,First,First_name,Food,FoodHelp,FoodInherit,FoodNotOnHand,FoodOnHand,Food_Alias,Food_Replace,Foods,Friday,FromBalance,Fulltext,FulltextHelp,Fuzzy,FuzzySearchHelp,GettingStarted,Global,GlobalHelp,Group,GroupBy,HeaderWarning,Headline,Help,Hide_External,Hide_Food,Hide_Keyword,Hide_Keywords,Hide_Recipes,Hide_as_header,Hierarchy,History,HostedFreeVersion,Hour,Hours,Icon,IgnoreAccents,IgnoreAccentsHelp,IgnoreThis,Ignore_Shopping,IgnoredFood,Image:Image$1,Import,ImportAll,ImportFirstRecipe,ImportIntoTandoor,ImportIntoTandoorHelp,ImportMealPlans,ImportShoppingList,Import_Error,Import_Not_Yet_Supported,Import_Result_Info,Import_Supported,Import_finished,Imported,Imported_From,Importer_Help,Information,Ingredient,IngredientEditorHelp,IngredientHelp,IngredientInShopping,Ingredients,Inherit,InheritFields,InheritFields_help,InheritWarning,Input,Instruction_Replace,Instructions,InstructionsEditHelp,Internal,InviteLinkHelp,Invite_Link,Invites,Key_Ctrl,Key_Shift,Keyword,KeywordHelp,Keyword_Alias,Keywords,Language,Last,Last_name,Learn_More,LeaveSpace,Link,Load,Load_More,LogCredits,LogCreditsHelp,Log_Cooking,Log_Recipe_Cooking,Logo,Logout,Make_Header,Make_Ingredient,ManageSubscription,Manage_Books,Manage_Emails,MealPlanHelp,MealPlanShoppingHelp,MealTypeHelp,Meal_Plan,Meal_Plan_Days,Meal_Type,Meal_Type_Required,Meal_Types,Merge,MergeAutomateHelp,MergeInsteadOfDelete,Merge_Keyword,Message,Messages,Miscellaneous,MissingConversion,MissingProperties,Model,ModelSelectResultsHelp,Monday,Month,MonthlyCredits,MonthlyCreditsUsed,More,Move,MoveCategory,MoveToStep,Move_Down,Move_Food,Move_Keyword,Move_Up,Multiple,Name,Name_Replace,Nav_Color,Nav_Color_Help,Nav_Text_Mode,Nav_Text_Mode_Help,Never_Unit,New,New_Cookbook,New_Entry,New_Food,New_Keyword,New_Meal_Type,New_Recipe,New_Supermarket,New_Supermarket_Category,New_Unit,Next,Next_Day,Next_Period,No,NoCategory,NoMoreUndo,NoUnit,No_ID,No_Results,NotFound,NotFoundHelp,NotInShopping,Note,NullingHelp,Nutrition,NutritionsPerServing,NutritionsPerServingHelp,OfflineAlert,Ok,OnHand,OnHand_help,Open,Open_Data_Import,Open_Data_Slug,Options,Order,OrderInformation,Original_Text,Owner,Page,Parameter,Parent,PartialMatch,PartialMatchHelp,Password,Path,PerPage,Period,Periods,Pin,Pinned,PinnedConfirmation,Plan_Period_To_Show,Plan_Show_How_Many_Periods,Planned,Planner,Planner_Settings,Plural,Postpone,PostponedUntil,PrecisionSearchHelp,Preferences,Preparation,Preview,Previous_Day,Previous_Period,Print,Private,Private_Recipe,Private_Recipe_Help,Profile,Properties,PropertiesFoodHelp,Properties_Food_Amount,Properties_Food_Unit,Property,PropertyHelp,PropertyType,PropertyTypeHelp,Property_Editor,Protected,Proteins,QuickEntry,RandomOrder,RateLimit,RateLimitHelp,Rating,Ratings,Recently_Viewed,Recipe,RecipeBookEntryHelp,RecipeBookHelp,RecipeHelp,RecipeStepsHelp,Recipe_Book,Recipe_Image,Recipes,Recipes_In_Import,Recipes_per_page,Refresh,Remove,RemoveAllType,RemoveFoodFromShopping,RemoveParent,Remove_nutrition_recipe,Reset,ResetHelp,Reset_Search,Reusable,Role,Root,Saturday,Save,Save_and_View,SavedSearch,SavedSearchHelp,ScalableNumber,Search,SearchMethod,SearchSettingsOverview,SearchSettingsWarning,Second,Seconds,Select,SelectAll,SelectNone,Select_App_To_Import,Select_Book,Select_File,Selected,SelectedCategories,SelfHosted,Serving,Servings,ServingsText,Settings,SettingsOnlySuperuser,Share,ShopLater,ShopNow,ShoppingBackgroundSyncWarning,ShoppingListEntry,ShoppingListEntryHelp,ShoppingListRecipe,Shopping_Categories,Shopping_Category,Shopping_List_Empty,Shopping_input_placeholder,Shopping_list,ShowDelayed,ShowIngredients,ShowMealPlanOnStartPage,ShowRecentlyCompleted,ShowUncategorizedFood,Show_Logo,Show_Logo_Help,Show_Week_Numbers,Show_as_header,Single,Size,Skip,Social_Authentication,Sort_by_new,Source,SourceImportHelp,SourceImportSubtitle,Space,SpaceHelp,SpaceLimitExceeded,SpaceLimitReached,SpaceMemberHelp,SpaceMembers,SpaceMembersHelp,SpaceName,SpacePrivateObjectsHelp,SpaceSettings,Space_Cosmetic_Settings,Split,Split_All_Steps,StartDate,Starting_Day,StartsWith,StartsWithHelp,Step,StepHelp,Step_Name,Step_Type,Step_start_time,Steps,StepsOverview,Sticky_Nav,Sticky_Nav_Help,Storage:Storage$1,StorageHelp,StoragePasswordTokenHelp,Structured,SubstituteOnHand,Substitutes,Success,SuccessClipboard,Summary,Sunday,Supermarket,SupermarketCategoriesOnly,SupermarketCategoryHelp,SupermarketHelp,SupermarketName,Supermarkets,SupportsDescriptionField,SyncLog,SyncLogHelp,SyncedPath,SyncedPathHelp,System,Table,Table_of_Contents,Text,ThankYou,ThanksTextHosted,ThanksTextSelfhosted,Theme,Thursday,Time,Title,Title_or_Recipe_Required,Today,Toggle,Transpose_Words,TrigramThreshold,TrigramThresholdHelp,Tuesday,Type,UPDATE_ERROR,Unchanged,Undefined,Undo,Unit,UnitConversion,UnitConversionHelp,UnitHelp,Unit_Alias,Unit_Replace,Units,Unpin,UnpinnedConfirmation,Unrated,Up,Update,Update_Existing_Data,Updated,UpgradeNow,Url,UrlImportSubtitle,UrlList,UrlListSubtitle,Url_Import,Use_Fractions,Use_Fractions_Help,Use_Kj,Use_Metric,Use_Plural_Food_Always,Use_Plural_Food_Simple,Use_Plural_Unit_Always,Use_Plural_Unit_Simple,User,UserFileHelp,UserHelp,Username,Users,View,ViewLogHelp,View_Recipes,Viewed,Visibility,Waiting,WaitingTime,WarnPageLeave,Warning,WarningRecipeBookEntryDuplicate,Warning_Delete_Supermarket_Category,Website,Wednesday,Week,Week_Numbers,Welcome,WelcomeSettingsHelp,WelcometoTandoor,WorkingTime,Year,Yes,YourSpaces,active,add_keyword,additional_options,advanced,advanced_search_settings,after,all,all_fields_optional,and,and_down,and_up,any,asc,base_amount,base_unit,before,book_filter_help,click_image_import,confirm_delete,convert_internal,converted_amount,converted_unit,copy_markdown_table,copy_to_clipboard,copy_to_new,create_food_desc,create_rule,create_title,created_by,created_on,csv_delim_help,csv_delim_label,csv_prefix_help,csv_prefix_label,date_created,date_viewed,default:en,default_delay,default_delay_desc,del_confirmation_tree,delete_confirmation,delete_title,desc,download_csv,download_pdf,edit_title,empty_list,enable_expert,err_creating_resource,err_deleting_protected_resource,err_deleting_resource,err_fetching_resource,err_importing_recipe,err_merge_self,err_merging_resource,err_move_self,err_moving_resource,err_updating_resource,exact,exclude,expert_mode,explain,fields,file_upload_disabled,filter,filter_name,filter_to_supermarket,filter_to_supermarket_desc,fluid_ounce,food_inherit_info,food_recipe_help,g,gallon,hide_step_ingredients,hours,ignore_shopping_help,imperial_fluid_ounce,imperial_gallon,imperial_pint,imperial_quart,imperial_tbsp,imperial_tsp,import_duplicates,import_running,in_shopping,ingredient_list,kg,l,last_cooked,last_viewed,left_handed,left_handed_help,make_now,make_now_count,mark_complete,mealplan_autoadd_shopping,mealplan_autoadd_shopping_desc,mealplan_autoexclude_onhand,mealplan_autoexclude_onhand_desc,mealplan_autoinclude_related,mealplan_autoinclude_related_desc,merge_confirmation,merge_selection,merge_title,min,ml,move_confirmation,move_selection,move_title,no_more_images_found,no_pinned_recipes,not,nothing,nothing_planned_today,on,one_url_per_line,open_data_help_text,or,ounce,parameter_count,paste_ingredients,paste_ingredients_placeholder,paste_json,per_serving,pint,plan_share_desc,plural_short,plural_usage_info,pound,property_type_fdc_hint,quart,recipe_filter,recipe_name,recipe_property_info,related_recipes,remember_hours,remember_search,remove_selection,reset_children,reset_children_help,reset_food_inheritance,reset_food_inheritance_info,reusable_help_text,review_shopping,save_filter,searchFilterCreatedByHelp,searchFilterObjectsAndHelp,searchFilterObjectsAndNotHelp,searchFilterObjectsHelp,searchFilterObjectsOrNotHelp,search_create_help_text,search_import_help_text,search_no_recipes,search_rank,seconds,select_file,select_food,select_keyword,select_recipe,select_unit,shared_with,shopping_add_onhand,shopping_add_onhand_desc,shopping_auto_sync,shopping_auto_sync_desc,shopping_category_help,shopping_recent_days,shopping_recent_days_desc,shopping_share,shopping_share_desc,show_books,show_filters,show_foods,show_ingredient_overview,show_ingredients_table,show_keywords,show_only_internal,show_rating,show_sortby,show_split_screen,show_sql,show_step_ingredients,show_step_ingredients_setting,show_step_ingredients_setting_help,show_units,simple_mode,sort_by,sql_debug,step_time_minutes,substitute_children,substitute_children_help,substitute_help,substitute_siblings,substitute_siblings_help,success_creating_resource,success_deleting_resource,success_fetching_resource,success_merging_resource,success_moving_resource,success_updating_resource,tbsp,theUsernameCannotBeChanged,times_cooked,to_close,to_navigate,to_select,today_recipes,total,tree_root,tree_select,tsp,unsaved,updatedon,view_recipe,warning_duplicate_filter,warning_feature_beta,warning_space_delete},Symbol.toStringTag,{value:"Module"})),SUPPORT_LOCALES=getSupportedLocales();function setupI18n(){let e=document.querySelector("html").getAttribute("lang");(e==null||!SUPPORT_LOCALES.includes(e))&&(console.warn("Falling back to locale en because ",e," is not supported as a locale."),e="en");const t=createI18n({locale:"en",fallbackLocale:"en",messages:{en}});return TANDOOR_PLUGINS.forEach(r=>{r.defaultLocale.then(i=>{t.global.mergeLocaleMessage("en",i)})}),loadLocaleMessages(t,e).then(),t}async function loadLocaleMessages(e,t){let r=en;t!="en"&&(r=await __variableDynamicImportRuntimeHelper(Object.assign({"./locales/ar.json":()=>__vitePreload(()=>import("./ar-BDXh-_3C.js"),[],import.meta.url),"./locales/bg.json":()=>__vitePreload(()=>import("./bg-DDDDzuan.js"),[],import.meta.url),"./locales/ca.json":()=>__vitePreload(()=>import("./ca-CEBLhZOQ.js"),[],import.meta.url),"./locales/cs.json":()=>__vitePreload(()=>import("./cs-DFyd9c9k.js"),[],import.meta.url),"./locales/da.json":()=>__vitePreload(()=>import("./da-DrdOkoKH.js"),[],import.meta.url),"./locales/de.json":()=>__vitePreload(()=>import("./de-Q6I-zzSV.js"),[],import.meta.url),"./locales/el.json":()=>__vitePreload(()=>import("./el-CXFvhoSx.js"),[],import.meta.url),"./locales/en.json":()=>__vitePreload(()=>Promise.resolve().then(()=>en$1),void 0,import.meta.url),"./locales/es.json":()=>__vitePreload(()=>import("./es-ClzzUe4s.js"),[],import.meta.url),"./locales/fi.json":()=>__vitePreload(()=>import("./fi-DW6Il2MS.js"),[],import.meta.url),"./locales/fr.json":()=>__vitePreload(()=>import("./fr-uXhop3AL.js"),[],import.meta.url),"./locales/he.json":()=>__vitePreload(()=>import("./he-Bh0dztVQ.js"),[],import.meta.url),"./locales/hr.json":()=>__vitePreload(()=>import("./hr-CmQ59hjm.js"),[],import.meta.url),"./locales/hu.json":()=>__vitePreload(()=>import("./hu-BRmV9lyl.js"),[],import.meta.url),"./locales/hy.json":()=>__vitePreload(()=>import("./hy-i83WSdtt.js"),[],import.meta.url),"./locales/id.json":()=>__vitePreload(()=>import("./id-_g7fzN6n.js"),[],import.meta.url),"./locales/is.json":()=>__vitePreload(()=>import("./is-BupYkle_.js"),[],import.meta.url),"./locales/it.json":()=>__vitePreload(()=>import("./it-3Km58jic.js"),[],import.meta.url),"./locales/lt.json":()=>__vitePreload(()=>import("./lt-DI6-8Opr.js"),[],import.meta.url),"./locales/lv.json":()=>__vitePreload(()=>import("./lv-8fcXHcg-.js"),[],import.meta.url),"./locales/nb_NO.json":()=>__vitePreload(()=>import("./nb_NO-DGleYvLk.js"),[],import.meta.url),"./locales/nl.json":()=>__vitePreload(()=>import("./nl-CACKGPAl.js"),[],import.meta.url),"./locales/pl.json":()=>__vitePreload(()=>import("./pl-Bw1QwrJF.js"),[],import.meta.url),"./locales/pt.json":()=>__vitePreload(()=>import("./pt-BQYvA8U5.js"),[],import.meta.url),"./locales/pt_BR.json":()=>__vitePreload(()=>import("./pt_BR-CmypOiSZ.js"),[],import.meta.url),"./locales/ro.json":()=>__vitePreload(()=>import("./ro-hKXgEgct.js"),[],import.meta.url),"./locales/ru.json":()=>__vitePreload(()=>import("./ru-D8rOoH45.js"),[],import.meta.url),"./locales/sl.json":()=>__vitePreload(()=>import("./sl-B3Ayx07P.js"),[],import.meta.url),"./locales/sv.json":()=>__vitePreload(()=>import("./sv-DTzfOfRk.js"),[],import.meta.url),"./locales/tr.json":()=>__vitePreload(()=>import("./tr-BDuxtq3u.js"),[],import.meta.url),"./locales/uk.json":()=>__vitePreload(()=>import("./uk-DvAHrEDJ.js"),[],import.meta.url),"./locales/zh_Hans.json":()=>__vitePreload(()=>import("./zh_Hans-PGOfrnqh.js"),[],import.meta.url),"./locales/zh_Hant.json":()=>__vitePreload(()=>import("./zh_Hant-cAZlEyrm.js"),[],import.meta.url)}),`./locales/${t}.json`,3).then(i=>i.default||i)),Object.entries(r).forEach(([i,a])=>{a===""&&delete r[i]}),e.global.setLocaleMessage(t,r),TANDOOR_PLUGINS.forEach(i=>{getSupportedLocales(i.localeFiles).includes(t)&&__variableDynamicImportRuntimeHelper(Object.assign({}),`./plugins/${i.basePath}/locales/${t}.json`,5).then(c=>{let u=c.default||c;Object.entries(u).forEach(([d,f])=>{f===""&&delete u[d]}),e.global.mergeLocaleMessage(t,u)})}),setLocale(e,t)}function getSupportedLocales(e=Object.assign({"/src/locales/ar.json":()=>__vitePreload(()=>import("./ar-BDXh-_3C.js"),[],import.meta.url),"/src/locales/bg.json":()=>__vitePreload(()=>import("./bg-DDDDzuan.js"),[],import.meta.url),"/src/locales/ca.json":()=>__vitePreload(()=>import("./ca-CEBLhZOQ.js"),[],import.meta.url),"/src/locales/cs.json":()=>__vitePreload(()=>import("./cs-DFyd9c9k.js"),[],import.meta.url),"/src/locales/da.json":()=>__vitePreload(()=>import("./da-DrdOkoKH.js"),[],import.meta.url),"/src/locales/de.json":()=>__vitePreload(()=>import("./de-Q6I-zzSV.js"),[],import.meta.url),"/src/locales/el.json":()=>__vitePreload(()=>import("./el-CXFvhoSx.js"),[],import.meta.url),"/src/locales/en.json":()=>__vitePreload(()=>Promise.resolve().then(()=>en$1),void 0,import.meta.url),"/src/locales/es.json":()=>__vitePreload(()=>import("./es-ClzzUe4s.js"),[],import.meta.url),"/src/locales/fi.json":()=>__vitePreload(()=>import("./fi-DW6Il2MS.js"),[],import.meta.url),"/src/locales/fr.json":()=>__vitePreload(()=>import("./fr-uXhop3AL.js"),[],import.meta.url),"/src/locales/he.json":()=>__vitePreload(()=>import("./he-Bh0dztVQ.js"),[],import.meta.url),"/src/locales/hr.json":()=>__vitePreload(()=>import("./hr-CmQ59hjm.js"),[],import.meta.url),"/src/locales/hu.json":()=>__vitePreload(()=>import("./hu-BRmV9lyl.js"),[],import.meta.url),"/src/locales/hy.json":()=>__vitePreload(()=>import("./hy-i83WSdtt.js"),[],import.meta.url),"/src/locales/id.json":()=>__vitePreload(()=>import("./id-_g7fzN6n.js"),[],import.meta.url),"/src/locales/is.json":()=>__vitePreload(()=>import("./is-BupYkle_.js"),[],import.meta.url),"/src/locales/it.json":()=>__vitePreload(()=>import("./it-3Km58jic.js"),[],import.meta.url),"/src/locales/lt.json":()=>__vitePreload(()=>import("./lt-DI6-8Opr.js"),[],import.meta.url),"/src/locales/lv.json":()=>__vitePreload(()=>import("./lv-8fcXHcg-.js"),[],import.meta.url),"/src/locales/nb_NO.json":()=>__vitePreload(()=>import("./nb_NO-DGleYvLk.js"),[],import.meta.url),"/src/locales/nl.json":()=>__vitePreload(()=>import("./nl-CACKGPAl.js"),[],import.meta.url),"/src/locales/pl.json":()=>__vitePreload(()=>import("./pl-Bw1QwrJF.js"),[],import.meta.url),"/src/locales/pt.json":()=>__vitePreload(()=>import("./pt-BQYvA8U5.js"),[],import.meta.url),"/src/locales/pt_BR.json":()=>__vitePreload(()=>import("./pt_BR-CmypOiSZ.js"),[],import.meta.url),"/src/locales/ro.json":()=>__vitePreload(()=>import("./ro-hKXgEgct.js"),[],import.meta.url),"/src/locales/ru.json":()=>__vitePreload(()=>import("./ru-D8rOoH45.js"),[],import.meta.url),"/src/locales/sl.json":()=>__vitePreload(()=>import("./sl-B3Ayx07P.js"),[],import.meta.url),"/src/locales/sv.json":()=>__vitePreload(()=>import("./sv-DTzfOfRk.js"),[],import.meta.url),"/src/locales/tr.json":()=>__vitePreload(()=>import("./tr-BDuxtq3u.js"),[],import.meta.url),"/src/locales/uk.json":()=>__vitePreload(()=>import("./uk-DvAHrEDJ.js"),[],import.meta.url),"/src/locales/zh_Hans.json":()=>__vitePreload(()=>import("./zh_Hans-PGOfrnqh.js"),[],import.meta.url),"/src/locales/zh_Hant.json":()=>__vitePreload(()=>import("./zh_Hant-cAZlEyrm.js"),[],import.meta.url)})){let t=[];for(const r in e){let i=r.split("/").slice(-1)[0].split(".")[0].replace("_","-");t.push(i)}return t}function setLocale(e,t){e.global.locale=t}var we=Object.defineProperty,Ae=(e,t,r)=>t in e?we(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Y=(e,t,r)=>(Ae(e,typeof t!="symbol"?t+"":t,r),r);const N=()=>R(new Date),He=(e,t,r)=>{switch(t){case"year":return new Date(e.getFullYear(),0);case"month":return new Date(e.getFullYear(),e.getMonth());case"week":return X(e,r);default:return e}},Be=e=>[...Array(7)].map((t,r)=>L(e,r)),L=(e,t)=>new Date(e.getFullYear(),e.getMonth(),e.getDate()+t,e.getHours(),e.getMinutes(),e.getSeconds()),X=(e,t)=>L(e,(t-e.getDay()-7)%-7),Ee=(e,t)=>L(X(e,t),7),W=e=>new Date(e.getFullYear(),e.getMonth()),Ue=e=>Math.ceil(e.getDate()/7),Re=(e,t,r)=>new Date(e.getFullYear()+(t=="year"?r:0),e.getMonth()+(t=="month"?r:0),e.getDate()+(t=="week"?r*7:0)),Z=e=>("0"+String(e.getMonth()+1)).slice(-2),x=e=>("0"+String(e.getDate())).slice(-2),ce=e=>e.getFullYear()+"-"+Z(e),Ve=e=>ce(e)+"-"+x(e),ze=e=>Z(e)+"-"+x(e),je=(e,t,r)=>{if(e.getHours()===0&&e.getMinutes()===0&&e.getSeconds()===0)return"";if(!V()){var i=new Date().getTimezoneOffset()*6e4;return new Date(e.getTime()-i).toISOString().slice(11,16)}return e.toLocaleTimeString(t,r)},qe=(e,t,r,i)=>{const a=e.getFullYear()===t.getFullYear(),c=me(e,t),u=r!=="year"&&r!=="month";let d=[];return d.push(i[e.getMonth()]),u&&(d.push(" "),d.push(e.getDate())),a||(d.push(u?", ":" "),d.push(e.getFullYear())),!c||!a?(d.push(" "),c||d.push(i[t.getMonth()]),u&&d.push(" ")):u&&d.push(" "),u?(d.push(t.getDate()),d.push(", ")):d.push(" "),d.push(t.getFullYear()),d.join("")},ge=(e,t)=>{const r=Date.UTC(t.getFullYear(),t.getMonth(),t.getDate()),i=Date.UTC(e.getFullYear(),e.getMonth(),e.getDate());return(r-i)/864e5},Ge=(e,t)=>!!e&&!!t&&ge(e,t)===0,Qe=(e,t)=>!!e&&!!t&&e.getTime()===t.getTime(),me=(e,t)=>!!e&&!!t&&e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth(),Je=e=>W(e)<W(N()),Ke=e=>W(e)>W(N()),Xe=e=>R(e)>N(),Ze=e=>R(e)<N(),xe=e=>e.getMonth()!==L(e,7).getMonth(),_e=e=>e.getMonth()!==L(e,1).getMonth(),fe=e=>{let t=[...Array(7)].map(r=>0);return e.split(/\D/,7).forEach((r,i)=>t[i]=Number(r)),t[1]--,new Date(t[0],t[1],t[2],t[3],t[4],t[5],t[6])},K=e=>typeof e=="string"?fe(e):new Date(e),R=e=>{const t=new Date(e);return t.setHours(0,0,0,0),t},et=e=>e.substring(0,2),V=()=>typeof Intl<"u",tt=(e,t)=>{if(!V())return[...Array(12)].map(i=>"");const r=new Intl.DateTimeFormat(e,{month:t});return[...Array(12)].map((i,a)=>r.format(new Date(2017,a,1)))},at=(e,t,r)=>{if(!V())return[...Array(7)].map(a=>"");const i=new Intl.DateTimeFormat(e,{weekday:t});return[...Array(7)].map((a,c)=>i.format(new Date(2017,0,(c+1+r)%7)))},rt=()=>typeof navigator>"u"?"unk":(navigator.languages&&navigator.languages.length?navigator.languages[0]:navigator.language).toLowerCase(),nt=(e,t)=>{const r=e.classes?[...e.classes]:[];return t&&r.push("isHovered"),{originalItem:e,startDate:K(e.startDate),endDate:K(e.endDate||e.startDate),classes:r,title:e.title||"Untitled",id:e.id,url:e.url,tooltip:e.tooltip??e.title}},o={addDays:L,beginningOfMonth:W,beginningOfPeriod:He,beginningOfWeek:X,dateOnly:R,dayDiff:ge,daysOfWeek:Be,endOfWeek:Ee,formattedPeriod:qe,formattedTime:je,fromIsoStringToLocalDate:fe,getDefaultBrowserLocale:rt,getFormattedMonthNames:tt,getFormattedWeekdayNames:at,incrementPeriod:Re,instanceOfMonth:Ue,isFutureMonth:Ke,isInFuture:Xe,isInPast:Ze,isLastDayOfMonth:_e,isLastInstanceOfMonth:xe,isoMonthDay:ze,isoYearMonth:ce,isoYearMonthDay:Ve,isPastMonth:Je,isSameDate:Ge,isSameDateTime:Qe,isSameMonth:me,languageCode:et,normalizeItem:nt,paddedDay:x,paddedMonth:Z,supportsIntl:V,today:N,toLocalDate:K};class ot{constructor(){Y(this,"currentDragItem"),Y(this,"dateSelectionOrigin"),Y(this,"currentHoveredItemId",""),Y(this,"CalendarMath",o)}}const st={class:"cv-header-days"},it={key:0,class:"cv-weeknumber"},lt=["aria-multiselectable"],dt={key:0,class:"cv-weeknumber"},ut={class:"cv-weekdays"},ct=["draggable","aria-grabbed","aria-label","aria-selected","aria-dropeffect","onClick","onDragstart","onDrop","onDragover","onDragenter","onDragleave"],gt={class:"cv-day-number"},mt={key:0,class:"cv-fom-name"},ft=["draggable","aria-grabbed","title","onDragstart","onMouseenter","onMouseleave","onClick","innerHTML"],pt=["draggable","aria-grabbed","title","onDragstart","onMouseenter","onMouseleave","onClick"],Ot=defineComponent$1({__name:"CalendarView",props:{showDate:{default:void 0},displayPeriodUom:{default:"month"},displayPeriodCount:{default:1},displayWeekNumbers:{type:Boolean,default:!1},locale:{default:void 0},monthNameFormat:{default:"long"},weekdayNameFormat:{default:"short"},showTimes:{type:Boolean,default:!1},timeFormatOptions:{default:()=>({})},disablePast:{type:Boolean,default:!1},disableFuture:{type:Boolean,default:!1},enableDateSelection:{type:Boolean,default:!1},selectionStart:{default:void 0},selectionEnd:{default:void 0},enableDragDrop:{type:Boolean,default:!1},startingDayOfWeek:{default:0},items:{default:()=>[]},dateClasses:{default:()=>({})},itemTop:{default:"1.4em"},itemContentHeight:{default:"1.4em"},itemBorderHeight:{default:"2px"},periodChangedCallback:{type:Function,default:void 0},currentPeriodLabel:{default:""},currentPeriodLabelIcons:{default:"⇤-⇥"},doEmitItemMouseEvents:{type:Boolean,default:!1},enableHtmlTitles:{type:Boolean,default:!0},monthNameOn1st:{type:Boolean,default:!0}},emits:["period-changed","click-date","click-item","item-mouseenter","item-mouseleave","drag-start","drag-over-date","drag-enter-date","drag-leave-date","drop-on-date","date-selection","date-selection-start","date-selection-finish"],setup(e,{emit:t}){const r=e,i=t,a=reactive(new ot),c=computed(()=>r.locale||o.getDefaultBrowserLocale()),u=computed(()=>r.showDate?o.dateOnly(r.showDate):o.today()),d=computed(()=>o.beginningOfPeriod(u.value,r.displayPeriodUom,r.startingDayOfWeek)),f=computed(()=>o.addDays(o.incrementPeriod(d.value,r.displayPeriodUom,r.displayPeriodCount),-1)),m=computed(()=>{const pe=new Date(d.value.getFullYear(),0,1),Te=o.addDays(pe,(11-pe.getDay())%7),Pe=o.beginningOfPeriod(Te,"week",r.startingDayOfWeek),B=o.beginningOfWeek(d.value,r.startingDayOfWeek);return 1+Math.floor(o.dayDiff(Pe,B)/7)}),y=computed(()=>o.beginningOfWeek(d.value,r.startingDayOfWeek)),v=computed(()=>o.endOfWeek(f.value,r.startingDayOfWeek)),w=computed(()=>{const pe=Math.floor((o.dayDiff(y.value,v.value)+1)/7);return[...Array(pe)].map((Te,Pe)=>o.addDays(y.value,Pe*7))}),_=computed(()=>o.getFormattedMonthNames(c.value,r.monthNameFormat)),S=computed(()=>o.getFormattedWeekdayNames(c.value,r.weekdayNameFormat,r.startingDayOfWeek)),b=computed(()=>r.items?r.items.map(pe=>o.normalizeItem(pe,pe.id===a.currentHoveredItemId)):[]),k=computed(()=>o.beginningOfPeriod(o.today(),r.displayPeriodUom,r.startingDayOfWeek)),C=computed(()=>o.addDays(o.incrementPeriod(k.value,r.displayPeriodUom,r.displayPeriodCount),-1)),O=computed(()=>o.formattedPeriod(d.value,f.value,r.displayPeriodUom,_.value)),T=computed(()=>{const pe=k.value,Te=d.value;return r.currentPeriodLabel?r.currentPeriodLabel==="icons"?r.currentPeriodLabelIcons[Math.sign(pe.getTime()-Te.getTime())+1]:r.currentPeriodLabel:o.formattedPeriod(pe,C.value,r.displayPeriodUom,_.value)}),E=computed(()=>r.monthNameOn1st&&(r.displayPeriodUom!=="month"||r.displayPeriodCount>1)),A=pe=>E.value&&pe.getDate()==1?_.value[pe.getMonth()]:"",P=computed(()=>({previousYear:U(-12),previousPeriod:U(-1),nextPeriod:U(1),previousFullPeriod:U(-r.displayPeriodCount),nextFullPeriod:U(r.displayPeriodCount),nextYear:U(12),currentPeriod:k.value,currentPeriodLabel:T.value,periodStart:d.value,periodEnd:f.value,displayLocale:c.value,displayFirstDate:y.value,displayLastDate:v.value,monthNames:_.value,fixedItems:b.value,periodLabel:O.value})),M=computed(()=>({periodStart:d,periodEnd:f,displayFirstDate:y,displayLastDate:v}));watch(()=>M,pe=>{r.periodChangedCallback&&(i("period-changed"),r.periodChangedCallback(pe,"watch"))},{immediate:!0,deep:!0});const D=(pe,Te)=>{r.disablePast&&o.isInPast(pe)||r.disableFuture&&o.isInFuture(pe)||i("click-date",pe,le(pe,pe),Te)},F=(pe,Te)=>i("click-item",pe,Te),I=pe=>"dow"+(pe+r.startingDayOfWeek)%7,U=pe=>{const Te=o.incrementPeriod(d.value,r.displayPeriodUom,pe),Pe=o.incrementPeriod(Te,r.displayPeriodUom,r.displayPeriodCount);return r.disablePast&&Pe<=o.today()||r.disableFuture&&Te>o.today()?null:Te},$=(pe,Te)=>{a.currentHoveredItemId=pe.id,r.doEmitItemMouseEvents&&i("item-mouseenter",pe,Te)},z=(pe,Te)=>{a.currentHoveredItemId="",r.doEmitItemMouseEvents&&i("item-mouseleave",pe,Te)},q=(pe,Te)=>{var Pe,B;if(!r.enableDateSelection)return!1;(Pe=Te.dataTransfer)==null||Pe.setData("text",pe.toString());let H=new Image;return H.src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",(B=Te.dataTransfer)==null||B.setDragImage(H,10,10),a.dateSelectionOrigin=pe,i("date-selection-start",ee(pe),Te),!0},G=(pe,Te)=>{var Pe;return r.enableDragDrop?((Pe=Te.dataTransfer)==null||Pe.setData("text",pe.id),a.currentDragItem=pe,a.dateSelectionOrigin=void 0,i("drag-start",pe,Te),!0):!1},ee=pe=>pe<=a.dateSelectionOrigin?[pe,a.dateSelectionOrigin]:[a.dateSelectionOrigin,pe],ae=(pe,Te)=>{r.enableDragDrop&&i("drag-over-date",a.currentDragItem,pe,Te)},oe=(pe,Te)=>{r.enableDateSelection&&a.dateSelectionOrigin&&i("date-selection",ee(pe),Te),r.enableDragDrop&&(i("drag-enter-date",a.currentDragItem,pe,Te),Te.target.classList.add("draghover"))},Se=(pe,Te)=>{r.enableDateSelection&&r.selectionStart||!r.enableDragDrop||(i("drag-leave-date",a.currentDragItem,pe,Te),Te.target.classList.remove("draghover"))},te=(pe,Te)=>{if(r.enableDateSelection&&a.dateSelectionOrigin){i("date-selection-finish",ee(pe),Te);return}r.enableDragDrop&&(i("drop-on-date",a.currentDragItem,pe,Te),Te.target.classList.remove("draghover"))},se=(pe,Te)=>pe.startDate<Te.startDate?-1:Te.startDate<pe.startDate?1:pe.endDate>Te.endDate?-1:Te.endDate>pe.endDate?1:pe.id<Te.id?-1:1,ne=pe=>le(pe,o.addDays(pe,6)),le=(pe,Te)=>b.value.filter(Pe=>Pe.endDate>=pe&&o.dateOnly(Pe.startDate)<=Te,this).sort(se),Oe=pe=>!!b.value.find(Te=>Te.endDate>=pe&&o.dateOnly(Te.startDate)<=pe),ke=pe=>!(!r.selectionStart||!r.selectionEnd||pe<o.dateOnly(r.selectionStart)||pe>o.dateOnly(r.selectionEnd)),ye=pe=>{const Te=ne(pe),Pe=[],B=[[],[],[],[],[],[],[]];if(!Te)return Pe;for(let H=0;H<Te.length;H++){const he=Object.assign({},Te[H],{classes:[...Te[H].classes],itemRow:0}),De=he.startDate<pe,Ne=De?0:o.dayDiff(pe,he.startDate),J=Math.max(1,Math.min(7-Ne,o.dayDiff(o.addDays(pe,Ne),he.endDate)+1));De&&he.classes.push("continued"),o.dayDiff(pe,he.endDate)>6&&he.classes.push("toBeContinued"),o.isInPast(he.endDate)&&he.classes.push("past"),he.originalItem.url&&he.classes.push("hasUrl");for(let j=0;j<7;j++)if(j===Ne){let ve=0;for(;B[j][ve];)ve++;he.itemRow=ve,B[j][ve]=!0}else j<Ne+J&&(B[j][he.itemRow]=!0);he.classes.push(`offset${Ne}`),he.classes.push(`span${J}`),Pe.push(he)}return Pe},re=pe=>{const Te='<span class="startTime">'+o.formattedTime(pe.startDate,c.value,r.timeFormatOptions)+"</span>";let Pe="";return o.isSameDateTime(pe.startDate,pe.endDate)||(Pe='<span class="endTime">'+o.formattedTime(pe.endDate,c.value,r.timeFormatOptions)+"</span>"),Te+Pe},ue=pe=>r.showTimes?re(pe)+" "+pe.title:pe.title,ie=pe=>{const Te=pe.itemRow,Pe=r.itemContentHeight,B=r.itemBorderHeight;return`calc(${r.itemTop} + ${Te}*${Pe} + ${Te}*${B})`};return(pe,Te)=>(openBlock(),createElementBlock("div",{"aria-label":"Calendar",class:normalizeClass(["cv-wrapper",`locale-${unref(o).languageCode(c.value)}`,`locale-${c.value}`,`y${d.value.getFullYear()}`,`m${unref(o).paddedMonth(d.value)}`,`period-${pe.displayPeriodUom}`,`periodCount-${pe.displayPeriodCount}`,{past:unref(o).isPastMonth(d.value),future:unref(o).isFutureMonth(d.value),noIntl:!unref(o).supportsIntl}])},[renderSlot$1(pe.$slots,"header",{headerProps:P.value}),createBaseVNode("div",st,[pe.displayWeekNumbers?(openBlock(),createElementBlock("div",it)):createCommentVNode("",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(S.value,(Pe,B)=>renderSlot$1(pe.$slots,"day-header",{index:I(B),label:Pe},()=>[(openBlock(),createElementBlock("div",{key:I(B),class:normalizeClass([I(B),"cv-header-day"])},toDisplayString$1(Pe),3))])),256))]),createBaseVNode("div",{"aria-multiselectable":pe.enableDateSelection,class:"cv-weeks"},[(openBlock(!0),createElementBlock(Fragment,null,renderList(w.value,(Pe,B)=>(openBlock(),createElementBlock("div",{key:`${B}-week`,class:normalizeClass(["cv-week",`week${B+1}`,`ws${unref(o).isoYearMonthDay(Pe)}`])},[pe.displayWeekNumbers?(openBlock(),createElementBlock("div",dt,[renderSlot$1(pe.$slots,"week-number",{date:Pe,numberInYear:m.value+B,numberInPeriod:B+1},()=>[createBaseVNode("span",null,toDisplayString$1(m.value+B),1)])])):createCommentVNode("",!0),createBaseVNode("div",ut,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(o).daysOfWeek(Pe),(H,he)=>(openBlock(),createElementBlock("div",{key:I(he),draggable:pe.enableDateSelection,class:normalizeClass(["cv-day",I(he),`d${unref(o).isoYearMonthDay(H)}`,`d${unref(o).isoMonthDay(H)}`,`d${unref(o).paddedDay(H)}`,`instance${unref(o).instanceOfMonth(H)}`,{today:unref(o).isSameDate(H,unref(o).today()),outsideOfMonth:!unref(o).isSameMonth(H,u.value),past:unref(o).isInPast(H),future:unref(o).isInFuture(H),last:unref(o).isLastDayOfMonth(H),lastInstance:unref(o).isLastInstanceOfMonth(H),hasItems:Oe(H),selectionStart:unref(o).isSameDate(H,pe.selectionStart),selectionEnd:unref(o).isSameDate(H,pe.selectionEnd)},...pe.dateClasses&&pe.dateClasses[unref(o).isoYearMonthDay(H)]||[]]),"aria-grabbed":pe.enableDateSelection?ke(H):void 0,"aria-label":H.getDate().toString(),"aria-selected":ke(H),"aria-dropeffect":pe.enableDragDrop&&a.currentDragItem?"move":pe.enableDateSelection&&a.dateSelectionOrigin?"execute":"none",onClick:De=>D(H,De),onDragstart:De=>q(H,De),onDrop:withModifiers(De=>te(H,De),["prevent"]),onDragover:withModifiers(De=>ae(H,De),["prevent"]),onDragenter:withModifiers(De=>oe(H,De),["prevent"]),onDragleave:withModifiers(De=>Se(H,De),["prevent"])},[createBaseVNode("div",gt,[A(H)?(openBlock(),createElementBlock("span",mt,toDisplayString$1(A(H)),1)):createCommentVNode("",!0),createTextVNode(" "+toDisplayString$1(H.getDate()),1)]),renderSlot$1(pe.$slots,"day-content",{day:H})],42,ct))),128)),r.enableHtmlTitles?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(ye(Pe),H=>renderSlot$1(pe.$slots,"item",{value:H,weekStartDate:Pe,top:ie(H)},()=>[(openBlock(),createElementBlock("div",{key:H.id,draggable:pe.enableDragDrop,"aria-grabbed":pe.enableDragDrop?H==a.currentDragItem:void 0,class:normalizeClass([H.classes,"cv-item"]),title:H.tooltip||H.title,style:normalizeStyle(`top:${ie(H)};${H.originalItem.style}`),onDragstart:he=>G(H,he),onMouseenter:he=>$(H,he),onMouseleave:he=>z(H,he),onClick:withModifiers(he=>F(H,he),["stop"]),innerHTML:ue(H)},null,46,ft))])),256)):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(ye(Pe),H=>renderSlot$1(pe.$slots,"item",{value:H,weekStartDate:Pe,top:ie(H)},()=>[(openBlock(),createElementBlock("div",{key:H.id,draggable:pe.enableDragDrop,"aria-grabbed":pe.enableDragDrop?H==a.currentDragItem:void 0,class:normalizeClass([H.classes,"cv-item"]),title:H.tooltip||H.title,style:normalizeStyle(`top:${ie(H)};${H.originalItem.style}`),onDragstart:he=>G(H,he),onMouseenter:he=>$(H,he),onMouseleave:he=>z(H,he),onClick:withModifiers(he=>F(H,he),["stop"])},toDisplayString$1(ue(H)),47,pt)),createTextVNode(" div> ")])),256))])],2))),128))],8,lt)],2))}}),Dt={class:"cv-header"},vt={class:"cv-header-nav"},ht=["disabled"],bt=["disabled","innerHTML"],yt=["disabled"],Pt=["disabled"],Mt={class:"periodLabel"},Ct=defineComponent$1({__name:"CalendarViewHeader",props:{headerProps:{type:Object,required:!0},previousYearLabel:{type:String,default:"<<"},previousPeriodLabel:{type:String,default:"<"},nextPeriodLabel:{type:String,default:">"},nextYearLabel:{type:String,default:">>"}},emits:["input"],setup(e,{emit:t}){const r=t,i=a=>r("input",a);return(a,c)=>(openBlock(),createElementBlock("div",Dt,[createBaseVNode("div",vt,[createBaseVNode("button",{disabled:!e.headerProps.previousYear,class:"previousYear","aria-label":"Previous Year",onClick:c[0]||(c[0]=withModifiers(u=>i(e.headerProps.previousYear),["prevent"]))},toDisplayString$1(e.previousYearLabel),9,ht),createBaseVNode("button",{disabled:!e.headerProps.previousPeriod,class:"previousPeriod","aria-label":"Previous Period",onClick:c[1]||(c[1]=withModifiers(u=>i(e.headerProps.previousPeriod),["prevent"])),innerHTML:e.previousPeriodLabel},null,8,bt),createBaseVNode("button",{class:"currentPeriod","aria-label":"Current Period",onClick:c[2]||(c[2]=withModifiers(u=>i(e.headerProps.currentPeriod),["prevent"]))},toDisplayString$1(e.headerProps.currentPeriodLabel),1),createBaseVNode("button",{disabled:!e.headerProps.nextPeriod,class:"nextPeriod","aria-label":"Next Period",onClick:c[3]||(c[3]=withModifiers(u=>i(e.headerProps.nextPeriod),["prevent"]))},toDisplayString$1(e.nextPeriodLabel),9,yt),createBaseVNode("button",{disabled:!e.headerProps.nextYear,class:"nextYear","aria-label":"Next Year",onClick:c[4]||(c[4]=withModifiers(u=>i(e.headerProps.nextYear),["prevent"]))},toDisplayString$1(e.nextYearLabel),9,Pt)]),createBaseVNode("div",Mt,[renderSlot$1(a.$slots,"label",{},()=>[createTextVNode(toDisplayString$1(e.headerProps.periodLabel),1)])])]))}}),_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$4=defineComponent$1({__name:"RecipeImage",props:{recipe:{type:{},required:!1,default:void 0},height:{type:String},width:{type:String},cover:{type:Boolean,default:!0},rounded:{type:[Boolean,String],default:!1}},setup(e){const t=e,r=computed(()=>t.recipe!=null&&t.recipe.image!=null?t.recipe.image:_imports_0);return(i,a)=>(openBlock(),createBlock(VImg,{cover:e.cover,style:normalizeStyle({height:e.height,width:e.width}),color:"recipeImagePlaceholderBg",src:r.value,alt:i.$t("Recipe_Image"),rounded:t.rounded},{default:withCtx(()=>[renderSlot$1(i.$slots,"overlay")]),_:3},8,["cover","style","src","alt","rounded"]))}}),_sfc_main$3=defineComponent$1({__name:"ModelEditDialog",props:mergeModels({model:{type:String,required:!0},activator:{default:"parent"},item:{default:null},itemId:{type:[Number,String],required:!1,default:void 0},itemDefaults:{required:!1},disabledFields:{default:[]},closeAfterCreate:{default:!0},closeAfterSave:{default:!0},closeAfterDelete:{default:!0}},{modelValue:{default:void 0},modelModifiers:{}}),emits:mergeModels(["create","save","delete"],["update:modelValue"]),setup(e,{emit:t}){const{t:r}=useI18n$1(),i=t,a=e,c=shallowRef(getGenericModelFromString(a.model,r).model.editorComponent),u=useModel(e,"modelValue"),d=u.value!==void 0?void 0:a.activator,f=ref(!1);watch(()=>a.model,()=>{c.value=getGenericModelFromString(a.model,r).model.editorComponent}),watch(u,(w,_,S)=>{u.value=!!w});function m(w){i("create",w),u.value=u.value&&!a.closeAfterCreate}function y(w){i("save",w),u.value=u.value&&!a.closeAfterSave}function v(w){i("delete",w),u.value=u.value&&!a.closeAfterDelete}return(w,_)=>(openBlock(),createBlock(VDialog,{"max-width":"1400",activator:unref(d),modelValue:u.value,"onUpdate:modelValue":_[2]||(_[2]=S=>u.value=S),persistent:f.value},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(c.value),{item:a.item,"item-id":a.itemId,onCreate:m,onSave:y,onDelete:v,dialog:"",onClose:_[0]||(_[0]=S=>{u.value=!1}),onChangedState:_[1]||(_[1]=S=>{f.value=S}),itemDefaults:a.itemDefaults},null,40,["item","item-id","itemDefaults"]))]),_:1},8,["activator","modelValue","persistent"]))}}),_hoisted_1={class:"d-flex flex-row align-items-center"},_hoisted_2={key:0,class:"flex-column"},_hoisted_3={class:"flex-column flex-grow-0 pa-1"},_hoisted_4={key:0,class:"fas fa-shopping-cart fa-xs float-left"},_sfc_main$2=defineComponent$1({__name:"MealPlanCalendarItem",props:{value:{type:{},required:!0},itemHeight:{type:String},itemTop:{type:String},detailedItems:{type:Boolean,default:!0}},emits:{onDragStart:(e,t)=>!0,delete:e=>!0},setup(e,{emit:t}){const r=t;let i=e;const a=computed(()=>i.value.originalItem.mealPlan),c=computed(()=>a.value.recipe!=null?a.value.recipe.name:a.value.title!=null&&a.value.title!==""?a.value.title:"ERROR");return(u,d)=>(openBlock(),createBlock(VCard,{class:normalizeClass(["card cv-item pa-0",e.value.classes]),hover:"",style:normalizeStyle({top:e.itemTop,height:e.itemHeight,"border-color":a.value.mealType.color}),draggable:!0,key:e.value.id,onDragstart:d[1]||(d[1]=f=>r("onDragStart",e.value,f))},{default:withCtx(()=>[createVNode(VCardText,{class:"pa-0"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1,[e.detailedItems?(openBlock(),createElementBlock("div",_hoisted_2,[createVNode(_sfc_main$4,{height:e.itemHeight,width:e.itemHeight,recipe:a.value.recipe},null,8,["height","width","recipe"])])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_3,[createBaseVNode("span",{class:normalizeClass(["font-light",{"three-line-text":e.detailedItems,"one-line-text":!e.detailedItems}])},[a.value.shopping?(openBlock(),createElementBlock("i",_hoisted_4)):createCommentVNode("",!0),createTextVNode(" "+toDisplayString$1(c.value),1)],2)])]),createVNode(_sfc_main$3,{model:"MealPlan",item:a.value,onDelete:d[0]||(d[0]=f=>r("delete",f))},null,8,["item"])]),_:1})]),_:1},8,["style","class"]))}}),_export_sfc=(e,t)=>{const r=e.__vccOpts||e;for(const[i,a]of t)r[i]=a;return r},MealPlanCalendarItem=_export_sfc(_sfc_main$2,[["__scopeId","data-v-74d6cd27"]]),_sfc_main$1=defineComponent$1({__name:"MealPlanView",setup(e){const{lgAndUp:t}=useDisplay(),r=ref(new Date),i=ref({}),a=ref(!1),c=ref({}),u=computed(()=>{let y=[];return useMealPlanStore().planList.forEach(v=>{let w=v.fromDate,_=v.toDate?v.toDate:v.fromDate;if(v.mealType.time){let S=parseInt(v.mealType.time.split(":")[0]),b=parseInt(v.mealType.time.split(":")[1]),k=parseInt(v.mealType.time.split(":")[2]);w.setHours(S,b,k),_.setHours(S,b,k)}y.push({startDate:w,endDate:_,id:v.id,mealPlan:v})}),y}),d=computed(()=>t.value&&useUserPreferenceStore().deviceSettings.mealplan_displayPeriod=="week"?"3.5rem":"1.6rem");watch(r,()=>{f(!1)}),onMounted(()=>{f(!0)});function f(y){let v=7;useUserPreferenceStore().deviceSettings.mealplan_displayPeriod=="month"?v=31:useUserPreferenceStore().deviceSettings.mealplan_displayPeriod=="year"&&(v=365);let w=useUserPreferenceStore().deviceSettings.mealplan_displayPeriodCount*v;y?useMealPlanStore().refreshFromAPI(DateTime.fromJSDate(r.value).minus({days:w}).toJSDate(),DateTime.fromJSDate(r.value).plus({days:w}).toJSDate()):useMealPlanStore().refreshFromAPI(r.value,DateTime.fromJSDate(r.value).plus({days:w}).toJSDate())}function m(y,v,w){if(i.value.originalItem.mealPlan.id!=null){let _=useMealPlanStore().plans.get(i.value.originalItem.mealPlan.id);if(_!=null){let S={days:0};if(_.toDate&&_.toDate>_.fromDate&&(S=DateTime.fromJSDate(_.toDate).diff(DateTime.fromJSDate(_.fromDate),"days")),w.ctrlKey){let b=Object.assign({},_);b.fromDate=v,b.toDate=DateTime.fromJSDate(v).plus(S).toJSDate(),useMealPlanStore().createObject(b)}else _.fromDate=v,_.toDate=DateTime.fromJSDate(v).plus(S).toJSDate(),useMealPlanStore().updateObject(_)}}}return(y,v)=>(openBlock(),createBlock(VRow,{class:"h-100"},{default:withCtx(()=>[createVNode(VCol,{class:"pb-0"},{default:withCtx(()=>[createVNode(VCard,{class:"h-100",loading:unref(useMealPlanStore)().loading},{default:withCtx(()=>[createVNode(unref(Ot),{"show-date":r.value,items:u.value,class:"theme-default","item-content-height":d.value,"enable-drag-drop":!0,onDropOnDate:m,"display-period-uom":unref(useUserPreferenceStore)().deviceSettings.mealplan_displayPeriod,"display-period-count":unref(useUserPreferenceStore)().deviceSettings.mealplan_displayPeriodCount,"starting-day-of-week":unref(useUserPreferenceStore)().deviceSettings.mealplan_startingDayOfWeek,"display-week-numbers":unref(useUserPreferenceStore)().deviceSettings.mealplan_displayWeekNumbers,"current-period-label":y.$t("Today"),onClickDate:v[2]||(v[2]=(w,_,S)=>{c.value.fromDate=w,c.value.toDate=w,a.value=!0})},{header:withCtx(({headerProps:w})=>[createVNode(unref(Ct),{"header-props":w,onInput:v[0]||(v[0]=_=>r.value=_)},null,8,["header-props"])]),item:withCtx(({value:w,weekStartDate:_,top:S})=>[createVNode(MealPlanCalendarItem,{"item-height":d.value,value:w,"item-top":S,onOnDragStart:b=>i.value=w,onDelete:v[1]||(v[1]=b=>{unref(useMealPlanStore)().plans.delete(b.id)}),"detailed-items":unref(t)},null,8,["item-height","value","item-top","onOnDragStart","detailed-items"])]),_:1},8,["show-date","items","item-content-height","display-period-uom","display-period-count","starting-day-of-week","display-week-numbers","current-period-label"])]),_:1},8,["loading"]),createVNode(_sfc_main$3,{model:"MealPlan",modelValue:a.value,"onUpdate:modelValue":v[3]||(v[3]=w=>a.value=w),itemDefaults:c.value,"close-after-create":!1,onCreate:v[4]||(v[4]=w=>unref(useMealPlanStore)().plans.set(w.id,w))},null,8,["modelValue","itemDefaults"])]),_:1})]),_:1}))}}),MealPlanView=_export_sfc(_sfc_main$1,[["__scopeId","data-v-ba8ad5a8"]]),_sfc_main=defineComponent$1({__name:"MealPlanPage",setup(e){return(t,r)=>(openBlock(),createBlock(VContainer,{class:"h-100 pt-0 pl-0 pb-0",style:{"max-width":"100%"},fluid:""},{default:withCtx(()=>[createVNode(MealPlanView)]),_:1}))}});let routes=[{path:"/",component:()=>__vitePreload(()=>import("./StartPage-CQln-PMM.js"),__vite__mapDeps([72,31,32,33,34,35,36,37,38,39,17,40,20,41]),import.meta.url),name:"StartPage"},{path:"/search",redirect:{name:"StartPage"}},{path:"/test",component:()=>__vitePreload(()=>import("./TestPage-C_oxH9Tf.js"),[],import.meta.url),name:"view_test"},{path:"/welcome",component:()=>__vitePreload(()=>import("./WelcomePage-DtDFi2zH.js"),__vite__mapDeps([73,74,75,76]),import.meta.url),name:"WelcomePage",meta:{title:"Welcome"}},{path:"/help",component:()=>__vitePreload(()=>import("./HelpPage-2fX8Gbzu.js"),[],import.meta.url),name:"HelpPage",meta:{title:"Help"}},{path:"/settings",component:()=>__vitePreload(()=>import("./SettingsPage-BOXp8G3y.js"),[],import.meta.url),name:"SettingsPage",redirect:"/settings/account",children:[{path:"account",component:()=>__vitePreload(()=>import("./AccountSettings-ZDlmay-5.js"),__vite__mapDeps([77,78]),import.meta.url),name:"AccountSettings",meta:{title:"Settings"}},{path:"cosmetic",component:()=>__vitePreload(()=>import("./CosmeticSettings-CLYHAOXx.js"),__vite__mapDeps([79,27,28]),import.meta.url),name:"CosmeticSettings",meta:{title:"Settings"}},{path:"shopping",component:()=>__vitePreload(()=>import("./ShoppingSettings-BX-lg7k4.js"),[],import.meta.url),name:"ShoppingSettings",meta:{title:"Settings"}},{path:"meal-plan",component:()=>__vitePreload(()=>import("./MealPlanSettings-9gU5vdbh.js"),[],import.meta.url),name:"MealPlanSettings",meta:{title:"Settings"}},{path:"search",component:()=>__vitePreload(()=>import("./SearchSettings-Bh4iR-uS.js"),[],import.meta.url),name:"SearchSettings",meta:{title:"Settings"}},{path:"space",component:()=>__vitePreload(()=>import("./SpaceSettings-sHmxWilN.js"),__vite__mapDeps([80,65,1,2,9,10,23,11,12,27,28,66]),import.meta.url),name:"SpaceSettings",meta:{title:"Settings"}},{path:"open-data-import",component:()=>__vitePreload(()=>import("./OpenDataImportSettings-CAAW1WFm.js"),__vite__mapDeps([81,74]),import.meta.url),name:"OpenDataImportSettings",meta:{title:"Settings"}},{path:"export",component:()=>__vitePreload(()=>import("./ExportDataSettings-DvEaRn4n.js"),__vite__mapDeps([82,83,11,12]),import.meta.url),name:"ExportDataSettings",meta:{title:"Settings"}},{path:"api",component:()=>__vitePreload(()=>import("./ApiSettings-Ne4Z0qVl.js"),__vite__mapDeps([84,85]),import.meta.url),name:"ApiSettings",meta:{title:"Settings"}}],meta:{title:"Settings"}},{path:"/advanced-search",component:()=>__vitePreload(()=>import("./SearchPage-DRMC5092.js"),__vite__mapDeps([86,33,34,35,36,37,38,39,17,40,20,32,31,41,87,59,60,52,53,45,88]),import.meta.url),name:"SearchPage",meta:{title:"Search"}},{path:"/shopping",component:()=>__vitePreload(()=>import("./ShoppingListPage-B_cxskGt.js"),__vite__mapDeps([89,42,17,43,90,48,1,2,9,10,11,12,34,35,36,37,38,39,40,18,19]),import.meta.url),name:"ShoppingListPage",meta:{title:"Shopping_list"}},{path:"/mealplan",component:_sfc_main,name:"MealPlanPage",meta:{title:"Meal_Plan"}},{path:"/books",component:()=>__vitePreload(()=>import("./BooksPage-DdovBkHb.js"),[],import.meta.url),name:"BooksPage",meta:{title:"Books"}},{path:"/book/:bookId",component:()=>__vitePreload(()=>import("./BookViewPage-B02kp2SW.js"),__vite__mapDeps([91,92,38,39,17,35,36,32]),import.meta.url),name:"BookViewPage",props:!0,meta:{title:"Book"}},{path:"/recipe/import",component:()=>__vitePreload(()=>import("./RecipeImportPage-DvlxImUu.js"),__vite__mapDeps([93,16,17,20,83,11,12,75,76,22,23,24]),import.meta.url),name:"RecipeImportPage",meta:{title:"Import"}},{path:"/recipe/:id",component:()=>__vitePreload(()=>import("./RecipeViewPage-CDj_dH5L.js"),__vite__mapDeps([94,90,92,38,39,17,35,36,11,12,59,60,7,33,34,37,40,20,32,78,9,10,95]),import.meta.url),name:"RecipeViewPage",props:!0,meta:{title:"Recipe"}},{path:"/view/recipe/:id",redirect:{name:"RecipeViewPage"}},{path:"/list/:model?",component:()=>__vitePreload(()=>import("./ModelListPage-kwiBvRmX.js"),__vite__mapDeps([96,97,11,12,87,45]),import.meta.url),props:!0,name:"ModelListPage"},{path:"/edit/:model/:id?",component:()=>__vitePreload(()=>import("./ModelEditPage-BDgAqMDH.js"),[],import.meta.url),props:!0,name:"ModelEditPage",meta:{title:"Edit"}},{path:"/delete/:model/:id?",component:()=>__vitePreload(()=>import("./ModelDeletePage-C4erPWw9.js"),__vite__mapDeps([98,97,2,9,10,45]),import.meta.url),props:!0,name:"ModelDeletePage",meta:{title:"Delete"}},{path:"/database",component:()=>__vitePreload(()=>import("./DatabasePage-WBAB7B7z.js"),__vite__mapDeps([99,85]),import.meta.url),props:!0,name:"DatabasePage",meta:{title:"Database"}},{path:"/ingredient-editor",component:()=>__vitePreload(()=>import("./IngredientEditorPage-C6Hu5jvm.js"),__vite__mapDeps([100,21,2,97,45]),import.meta.url),name:"IngredientEditorPage",meta:{title:"Ingredient Editor"}},{path:"/property-editor",component:()=>__vitePreload(()=>import("./PropertyEditorPage-DFfeym2k.js"),__vite__mapDeps([101,34,35,36,4,5]),import.meta.url),name:"PropertyEditorPage",meta:{title:"Property_Editor"}},{path:"/space-setup",component:()=>__vitePreload(()=>import("./SpaceSetupPage-1bx6rG8x.js"),[],import.meta.url),name:"SpaceSetupPage"},{path:"/:pathMatch(.*)*",component:()=>__vitePreload(()=>import("./404Page-D8Iz8kbs.js"),[],import.meta.url),name:"404Page",meta:{title:"NotFound"}}];TANDOOR_PLUGINS.forEach(e=>{routes=routes.concat(e.routes)});const basePath=localStorage.getItem("BASE_PATH"),pathname=basePath?.startsWith("http")?new URL(basePath).pathname:void 0,base=pathname==="/"?void 0:pathname,router=createRouter({history:createWebHistory(base),routes});let i18n=setupI18n();const app=createApp(_sfc_main$5);app.use(createPinia());app.use(vuetify);app.use(createRulesPlugin({},vuetify.locale));app.use(router);app.use(i18n);app.use(mavonEditor);app.mount("#app");export{TFood as $,ApiApi as A,VDivider as B,VListItemTitle as C,DateTime as D,VListItemSubtitle as E,Fragment as F,VIcon as G,VMenu as H,VAvatar as I,_imports_0 as J,VContainer as K,useUserPreferenceStore as L,VCard as M,VCardTitle as N,VCardText as O,_export_sfc as P,useMessageStore as Q,ErrorMessageType as R,VTextField as S,VSelect as T,VCheckbox as U,VCol as V,VSpacer as W,VCardSubtitle as X,MessageType as Y,TRecipe as Z,_sfc_main$3 as _,useDisplay as a,isShoppingListFoodVisible as a$,TUnit as a0,TSupermarket as a1,TKeyword as a2,TMealPlan as a3,TShoppingListEntry as a4,TRecipeBook as a5,_sfc_main$7 as a6,useDjangoUrls as a7,VListSubheader as a8,resolveComponent as a9,makeRoundedProps as aA,makeLocationProps as aB,makeComponentProps as aC,IconValue as aD,MaybeTransition as aE,withDirectives as aF,vShow as aG,useModel as aH,createSlots as aI,renderSlot$1 as aJ,VInput as aK,mergeModels as aL,watch as aM,VDialog as aN,_sfc_main$f as aO,VCardActions as aP,toRaw as aQ,withKeys as aR,isRef as aS,nextTick as aT,VPagination as aU,routeQueryDateTransformer as aV,toNumberArray as aW,resolveDynamicComponent as aX,VDateInput as aY,useClipboard as aZ,isShoppingCategoryVisible as a_,VAlert as aa,VAlertTitle as ab,VForm as ac,PreparedMessage as ad,VLabel as ae,VNumberInput as af,_sfc_main$a as ag,_sfc_main$b as ah,VChip as ai,VTable as aj,genericComponent as ak,propsFactory as al,useBackgroundColor as am,useRounded as an,useLocale as ao,useTextColor as ap,useTheme as aq,useLocation as ar,useDimension as as,useRender as at,pickWithRest as au,mergeProps as av,makeDimensionProps as aw,makeTransitionProps$1 as ax,makeThemeProps as ay,makeTagProps as az,createElementBlock as b,useScopeId as b$,isEntryVisible as b0,VBtnToggle as b1,ShoppingGroupingOptions as b2,ResponseError as b3,onBeforeRouteLeave as b4,VChipGroup as b5,_sfc_main$4 as b6,VProgressLinear as b7,useUrlSearchParams as b8,VImg as b9,onBeforeUnmount as bA,useTitle as bB,getGenericModelFromString as bC,onBeforeMount as bD,TInviteLink as bE,useRoute$1 as bF,tryOnScopeDispose as bG,customRef as bH,toValue as bI,shallowRef as bJ,TANDOOR_PLUGINS as bK,normalizeStyle as bL,useElevation as bM,provideTheme as bN,wrapInArray as bO,makeElevationProps as bP,withModifiers as bQ,getCookie as bR,RecipeFromSourceResponseFromJSON as bS,RecipeImageFromJSON as bT,UserFileFromJSON as bU,useTemplateRef as bV,useLazy as bW,VExpandTransition as bX,makeLazyProps as bY,toRef$2 as bZ,provide as b_,VBtnGroup as ba,VCheckboxBtn as bb,VDefaultsProvider as bc,createSimpleFunctional as bd,Ripple as be,useGroupItem as bf,genOverlays as bg,makeGroupItemProps as bh,inject$1 as bi,useProxiedModel as bj,omit as bk,makeVWindowProps as bl,makeVWindowItemProps as bm,useGroup as bn,toRefs as bo,getPropertyFromItem as bp,provideDefaults as bq,VSheet as br,pick$1 as bs,makeVSheetProps as bt,makeGroupProps as bu,makeDisplayProps as bv,markRaw as bw,Duration as bx,VProgressCircular as by,useWakeLock as bz,computed as c,makeSelectProps as c$,useId as c0,VOverlay as c1,forwardRefs as c2,makeVOverlayProps as c3,defineComponent as c4,clamp as c5,convertToUnit as c6,useResizeObserver as c7,getEventCoordinates as c8,HexToHSV as c9,filterInputAttrs as cA,VField as cB,makeVFieldProps as cC,VCounter as cD,callEvent as cE,VDataTable as cF,isSpaceAboveRecipeLimit as cG,isSpaceAboveUserLimit as cH,isSpaceAboveStorageLimit as cI,GenericModel as cJ,makeVBtnProps as cK,animate as cL,standardEasing as cM,useDensity as cN,VSlideGroup as cO,makeDensityProps as cP,makeVSlideGroupProps as cQ,isObject$3 as cR,Intersect as cS,watchEffect as cT,useAutofocus as cU,vModelText as cV,useItems as cW,useForm as cX,useFilter as cY,useScrolling as cZ,IN_BROWSER as c_,HSVtoHex as ca,HSLtoHSV as cb,HSVtoHSL as cc,RGBtoHSV as cd,HSVtoRGB as ce,has as cf,normalizeProps as cg,guardReactiveProps as ch,getDecimals as ci,useRtl as cj,createRange as ck,keyValues as cl,VScaleTransition as cm,useFocus as cn,makeVInputProps as co,makeFocusProps as cp,onUnmounted as cq,SUPPORTS_EYE_DROPPER as cr,HSVtoCSS as cs,parseColor as ct,RGBtoCSS as cu,deepEqual as cv,getContrast as cw,VPicker as cx,makeVPickerProps as cy,humanReadableFileSize as cz,defineComponent$1 as d,makeFilterProps as d0,makeVTextFieldProps as d1,checkPrintable as d2,matchesSelector as d3,noop$1 as d4,VVirtualScroll as d5,highlightResult as d6,ensureValidVNode as d7,createGroupBy as d8,createSort as d9,VSelectionControl as dA,makeVSelectionControlProps as dB,LoaderSlot as dC,reactive as dD,h as dE,getCurrentInstance$1 as dF,makeVListItemProps as dG,makeDelayProps as dH,makeVDividerProps as dI,VListGroup as dJ,makeVListGroupProps as dK,renderSlot as dL,useListItems as dM,makeVListProps as dN,VBottomSheet as dO,isSpaceAtRecipeLimit as dP,debounce$1 as dQ,transformItem$2 as dR,escapeForRegex as dS,isComposingIgnoreKey as dT,createPagination as da,createHeaders as db,useDataTableItems as dc,provideSort as dd,provideGroupBy as de,providePagination as df,useGroupedItems as dg,provideSelection as dh,provideExpanded as di,useOptions$1 as dj,VDataTableFooter as dk,VDataTableHeaders as dl,VDataTableRows as dm,makeVDataTableFooterProps as dn,makeDataTableProps as dp,makeDataTablePaginateProps as dq,makeSizeProps as dr,defineStore as ds,isDelayed as dt,isShoppingListFoodDelayed as du,script as dv,getAugmentedNamespace as dw,require$$0 as dx,getDefaultExportFromCjs as dy,useLoader as dz,createCommentVNode as e,openBlock as f,createVNode as g,createBlock as h,createBaseVNode as i,createTextVNode as j,VRow as k,unref as l,VWindow as m,normalizeClass as n,onMounted as o,renderList as p,VWindowItem as q,ref as r,useRouter$1 as s,toDisplayString$1 as t,useI18n$1 as u,useMealPlanStore as v,withCtx as w,VList as x,VListItem as y,VBtn as z};