a small relational database with user-editable schema for manual data entry
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

2 lines
107 KiB

!function(){"use strict";function e(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}const t=e("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl"),n=e("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function o(e){if(O(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],i=o($(r)?s(r):r);if(i)for(const e in i)t[e]=i[e]}return t}if(F(e))return e}const r=/;(?![^(]*\))/g,i=/:(.+)/;function s(e){const t={};return e.split(r).forEach((e=>{if(e){const n=e.split(i);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function a(e){let t="";if($(e))t=e;else if(O(e))for(let n=0;n<e.length;n++)t+=a(e[n])+" ";else if(F(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const l=e("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,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,rtc,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"),c=e("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view");function u(e,t){if(e===t)return!0;let n=R(e),o=R(t);if(n||o)return!(!n||!o)&&e.getTime()===t.getTime();if(n=O(e),o=O(t),n||o)return!(!n||!o)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let o=0;n&&o<e.length;o++)n=u(e[o],t[o]);return n}(e,t);if(n=F(e),o=F(t),n||o){if(!n||!o)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const o=e.hasOwnProperty(n),r=t.hasOwnProperty(n);if(o&&!r||!o&&r||!u(e[n],t[n]))return!1}}return String(e)===String(t)}function d(e,t){return e.findIndex((e=>u(e,t)))}const f=e=>null==e?"":F(e)?JSON.stringify(e,p,2):String(e),p=(e,t)=>S(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:C(t)?{[`Set(${t.size})`]:[...t.values()]}:!F(t)||O(t)||I(t)?t:String(t),h=Object.freeze({}),m=Object.freeze([]),v=()=>{},y=()=>!1,g=/^on[^a-z]/,b=e=>g.test(e),_=e=>e.startsWith("onUpdate:"),w=Object.assign,j=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},x=Object.prototype.hasOwnProperty,k=(e,t)=>x.call(e,t),O=Array.isArray,S=e=>"[object Map]"===T(e),C=e=>"[object Set]"===T(e),R=e=>e instanceof Date,E=e=>"function"==typeof e,$=e=>"string"==typeof e,A=e=>"symbol"==typeof e,F=e=>null!==e&&"object"==typeof e,P=e=>F(e)&&E(e.then)&&E(e.catch),V=Object.prototype.toString,T=e=>V.call(e),N=e=>T(e).slice(8,-1),I=e=>"[object Object]"===T(e),U=e=>$(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,M=e(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),L=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},D=/-(\w)/g,B=L((e=>e.replace(D,((e,t)=>t?t.toUpperCase():"")))),z=/\B([A-Z])/g,q=L((e=>e.replace(z,"-$1").toLowerCase())),H=L((e=>e.charAt(0).toUpperCase()+e.slice(1))),J=L((e=>e?`on${H(e)}`:"")),W=(e,t)=>e!==t&&(e==e||t==t),K=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},X=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},G=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Y;const Z=new WeakMap,Q=[];let ee;const te=Symbol("iterate"),ne=Symbol("Map key iterate");function oe(e,t=h){(function(e){return e&&!0===e._isEffect})(e)&&(e=e.raw);const n=function(e,t){const n=function(){if(!n.active)return t.scheduler?void 0:e();if(!Q.includes(n)){se(n);try{return le.push(ae),ae=!0,Q.push(n),ee=n,e()}finally{Q.pop(),ue(),ee=Q[Q.length-1]}}};return n.id=ie++,n.allowRecurse=!!t.allowRecurse,n._isEffect=!0,n.active=!0,n.raw=e,n.deps=[],n.options=t,n}(e,t);return t.lazy||n(),n}function re(e){e.active&&(se(e),e.options.onStop&&e.options.onStop(),e.active=!1)}let ie=0;function se(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let ae=!0;const le=[];function ce(){le.push(ae),ae=!1}function ue(){const e=le.pop();ae=void 0===e||e}function de(e,t,n){if(!ae||void 0===ee)return;let o=Z.get(e);o||Z.set(e,o=new Map);let r=o.get(n);r||o.set(n,r=new Set),r.has(ee)||(r.add(ee),ee.deps.push(r),ee.options.onTrack&&ee.options.onTrack({effect:ee,target:e,type:t,key:n}))}function fe(e,t,n,o,r,i){const s=Z.get(e);if(!s)return;const a=new Set,l=e=>{e&&e.forEach((e=>{(e!==ee||e.allowRecurse)&&a.add(e)}))};if("clear"===t)s.forEach(l);else if("length"===n&&O(e))s.forEach(((e,t)=>{("length"===t||t>=o)&&l(e)}));else switch(void 0!==n&&l(s.get(n)),t){case"add":O(e)?U(n)&&l(s.get("length")):(l(s.get(te)),S(e)&&l(s.get(ne)));break;case"delete":O(e)||(l(s.get(te)),S(e)&&l(s.get(ne)));break;case"set":S(e)&&l(s.get(te))}a.forEach((s=>{s.options.onTrigger&&s.options.onTrigger({effect:s,target:e,key:n,type:t,newValue:o,oldValue:r,oldTarget:i}),s.options.scheduler?s.options.scheduler(s):s()}))}const pe=new Set(Object.getOwnPropertyNames(Symbol).map((e=>Symbol[e])).filter(A)),he=be(),me=be(!1,!0),ve=be(!0),ye=be(!0,!0),ge={};function be(e=!1,t=!1){return function(n,o,r){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_raw"===o&&r===(e?Ke:We).get(n))return n;const i=O(n);if(!e&&i&&k(ge,o))return Reflect.get(ge,o,r);const s=Reflect.get(n,o,r);if(A(o)?pe.has(o):"__proto__"===o||"__v_isRef"===o)return s;if(e||de(n,"get",o),t)return s;if(ot(s)){return!i||!U(o)?s.value:s}return F(s)?e?Ge(s):Xe(s):s}}["includes","indexOf","lastIndexOf"].forEach((e=>{const t=Array.prototype[e];ge[e]=function(...e){const n=nt(this);for(let e=0,t=this.length;e<t;e++)de(n,"get",e+"");const o=t.apply(n,e);return-1===o||!1===o?t.apply(n,e.map(nt)):o}})),["push","pop","shift","unshift","splice"].forEach((e=>{const t=Array.prototype[e];ge[e]=function(...e){ce();const n=t.apply(this,e);return ue(),n}}));function _e(e=!1){return function(t,n,o,r){const i=t[n];if(!e&&(o=nt(o),!O(t)&&ot(i)&&!ot(o)))return i.value=o,!0;const s=O(t)&&U(n)?Number(n)<t.length:k(t,n),a=Reflect.set(t,n,o,r);return t===nt(r)&&(s?W(o,i)&&fe(t,"set",n,o,i):fe(t,"add",n,o)),a}}const we={get:he,set:_e(),deleteProperty:function(e,t){const n=k(e,t),o=e[t],r=Reflect.deleteProperty(e,t);return r&&n&&fe(e,"delete",t,void 0,o),r},has:function(e,t){const n=Reflect.has(e,t);return A(t)&&pe.has(t)||de(e,"has",t),n},ownKeys:function(e){return de(e,"iterate",O(e)?"length":te),Reflect.ownKeys(e)}},je={get:ve,set:(e,t)=>(console.warn(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0),deleteProperty:(e,t)=>(console.warn(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0)},xe=w({},we,{get:me,set:_e(!0)}),ke=w({},je,{get:ye}),Oe=e=>F(e)?Xe(e):e,Se=e=>F(e)?Ge(e):e,Ce=e=>e,Re=e=>Reflect.getPrototypeOf(e);function Ee(e,t,n=!1,o=!1){const r=nt(e=e.__v_raw),i=nt(t);t!==i&&!n&&de(r,"get",t),!n&&de(r,"get",i);const{has:s}=Re(r),a=n?Se:o?Ce:Oe;return s.call(r,t)?a(e.get(t)):s.call(r,i)?a(e.get(i)):void 0}function $e(e,t=!1){const n=this.__v_raw,o=nt(n),r=nt(e);return e!==r&&!t&&de(o,"has",e),!t&&de(o,"has",r),e===r?n.has(e):n.has(e)||n.has(r)}function Ae(e,t=!1){return e=e.__v_raw,!t&&de(nt(e),"iterate",te),Reflect.get(e,"size",e)}function Fe(e){e=nt(e);const t=nt(this),n=Re(t).has.call(t,e);return t.add(e),n||fe(t,"add",e,e),this}function Pe(e,t){t=nt(t);const n=nt(this),{has:o,get:r}=Re(n);let i=o.call(n,e);i?Je(n,o,e):(e=nt(e),i=o.call(n,e));const s=r.call(n,e);return n.set(e,t),i?W(t,s)&&fe(n,"set",e,t,s):fe(n,"add",e,t),this}function Ve(e){const t=nt(this),{has:n,get:o}=Re(t);let r=n.call(t,e);r?Je(t,n,e):(e=nt(e),r=n.call(t,e));const i=o?o.call(t,e):void 0,s=t.delete(e);return r&&fe(t,"delete",e,void 0,i),s}function Te(){const e=nt(this),t=0!==e.size,n=S(e)?new Map(e):new Set(e),o=e.clear();return t&&fe(e,"clear",void 0,void 0,n),o}function Ne(e,t){return function(n,o){const r=this,i=r.__v_raw,s=nt(i),a=e?Se:t?Ce:Oe;return!e&&de(s,"iterate",te),i.forEach(((e,t)=>n.call(o,a(e),a(t),r)))}}function Ie(e,t,n){return function(...o){const r=this.__v_raw,i=nt(r),s=S(i),a="entries"===e||e===Symbol.iterator&&s,l="keys"===e&&s,c=r[e](...o),u=t?Se:n?Ce:Oe;return!t&&de(i,"iterate",l?ne:te),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:a?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function Ue(e){return function(...t){{const n=t[0]?`on key "${t[0]}" `:"";console.warn(`${H(e)} operation ${n}failed: target is readonly.`,nt(this))}return"delete"!==e&&this}}const Me={get(e){return Ee(this,e)},get size(){return Ae(this)},has:$e,add:Fe,set:Pe,delete:Ve,clear:Te,forEach:Ne(!1,!1)},Le={get(e){return Ee(this,e,!1,!0)},get size(){return Ae(this)},has:$e,add:Fe,set:Pe,delete:Ve,clear:Te,forEach:Ne(!1,!0)},De={get(e){return Ee(this,e,!0)},get size(){return Ae(this,!0)},has(e){return $e.call(this,e,!0)},add:Ue("add"),set:Ue("set"),delete:Ue("delete"),clear:Ue("clear"),forEach:Ne(!0,!1)};function Be(e,t){const n=t?Le:e?De:Me;return(t,o,r)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get(k(n,o)&&o in t?n:t,o,r)}["keys","values","entries",Symbol.iterator].forEach((e=>{Me[e]=Ie(e,!1,!1),De[e]=Ie(e,!0,!1),Le[e]=Ie(e,!1,!0)}));const ze={get:Be(!1,!1)},qe={get:Be(!1,!0)},He={get:Be(!0,!1)};function Je(e,t,n){const o=nt(n);if(o!==n&&t.call(e,o)){const t=N(e);console.warn(`Reactive ${t} contains both the raw and reactive versions of the same object${"Map"===t?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const We=new WeakMap,Ke=new WeakMap;function Xe(e){return e&&e.__v_isReadonly?e:Ze(e,!1,we,ze)}function Ge(e){return Ze(e,!0,je,He)}function Ye(e){return Ze(e,!0,ke,He)}function Ze(e,t,n,o){if(!F(e))return console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const r=t?Ke:We,i=r.get(e);if(i)return i;const s=(a=e).__v_skip||!Object.isExtensible(a)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(N(a));var a;if(0===s)return e;const l=new Proxy(e,2===s?o:n);return r.set(e,l),l}function Qe(e){return et(e)?Qe(e.__v_raw):!(!e||!e.__v_isReactive)}function et(e){return!(!e||!e.__v_isReadonly)}function tt(e){return Qe(e)||et(e)}function nt(e){return e&&nt(e.__v_raw)||e}function ot(e){return Boolean(e&&!0===e.__v_isRef)}const rt={get:(e,t,n)=>{return ot(o=Reflect.get(e,t,n))?o.value:o;var o},set:(e,t,n,o)=>{const r=e[t];return ot(r)&&!ot(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function it(e){return Qe(e)?e:new Proxy(e,rt)}class st{constructor(e,t){this._object=e,this._key=t,this.__v_isRef=!0}get value(){return this._object[this._key]}set value(e){this._object[this._key]=e}}class at{constructor(e,t,n){this._setter=t,this._dirty=!0,this.__v_isRef=!0,this.effect=oe(e,{lazy:!0,scheduler:()=>{this._dirty||(this._dirty=!0,fe(nt(this),"set","value"))}}),this.__v_isReadonly=n}get value(){return this._dirty&&(this._value=this.effect(),this._dirty=!1),de(nt(this),"get","value"),this._value}set value(e){this._setter(e)}}const lt=[];function ct(e){lt.push(e)}function ut(){lt.pop()}function dt(e,...t){ce();const n=lt.length?lt[lt.length-1].component:null,o=n&&n.appContext.config.warnHandler,r=function(){let e=lt[lt.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}();if(o)mt(o,n,11,[e+t.join(""),n&&n.proxy,r.map((({vnode:e})=>`at <${wr(n,e.type)}>`)).join("\n"),r]);else{const n=[`[Vue warn]: ${e}`,...t];r.length&&n.push("\n",...function(e){const t=[];return e.forEach(((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=!!e.component&&null==e.component.parent,r=` at <${wr(e.component,e.type,o)}`,i=">"+n;return e.props?[r,...ft(e.props),i]:[r+i]}(e))})),t}(r)),console.warn(...n)}ue()}function ft(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...pt(n,e[n]))})),n.length>3&&t.push(" ..."),t}function pt(e,t,n){return $(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:ot(t)?(t=pt(e,nt(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):E(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=nt(t),n?t:[`${e}=`,t])}const ht={bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/vue-next"};function mt(e,t,n,o){let r;try{r=o?e(...o):e()}catch(e){yt(e,t,n)}return r}function vt(e,t,n,o){if(E(e)){const r=mt(e,t,n,o);return r&&P(r)&&r.catch((e=>{yt(e,t,n)})),r}const r=[];for(let i=0;i<e.length;i++)r.push(vt(e[i],t,n,o));return r}function yt(e,t,n,o=!0){const r=t?t.vnode:null;if(t){let o=t.parent;const r=t.proxy,i=ht[n];for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,r,i))return;o=o.parent}const s=t.appContext.config.errorHandler;if(s)return void mt(s,null,10,[e,r,i])}!function(e,t,n,o=!0){{const r=ht[t];if(n&&ct(n),dt("Unhandled error"+(r?` during execution of ${r}`:"")),n&&ut(),o)throw e;console.error(e)}}(e,n,r,o)}let gt=!1,bt=!1;const _t=[];let wt=0;const jt=[];let xt=null,kt=0;const Ot=[];let St=null,Ct=0;const Rt=Promise.resolve();let Et=null,$t=null;function At(e){const t=Et||Rt;return e?t.then(this?e.bind(this):e):t}function Ft(e){_t.length&&_t.includes(e,gt&&e.allowRecurse?wt+1:wt)||e===$t||(_t.push(e),Pt())}function Pt(){gt||bt||(bt=!0,Et=Rt.then(Mt))}function Vt(e,t,n,o){O(e)?n.push(...e):t&&t.includes(e,e.allowRecurse?o+1:o)||n.push(e),Pt()}function Tt(e){Vt(e,St,Ot,Ct)}function Nt(e,t=null){if(jt.length){for($t=t,xt=[...new Set(jt)],jt.length=0,e=e||new Map,kt=0;kt<xt.length;kt++)Lt(e,xt[kt]),xt[kt]();xt=null,kt=0,$t=null,Nt(e,t)}}function It(e){if(Ot.length){const t=[...new Set(Ot)];if(Ot.length=0,St)return void St.push(...t);for(St=t,e=e||new Map,St.sort(((e,t)=>Ut(e)-Ut(t))),Ct=0;Ct<St.length;Ct++)Lt(e,St[Ct]),St[Ct]();St=null,Ct=0}}const Ut=e=>null==e.id?1/0:e.id;function Mt(e){bt=!1,gt=!0,Nt(e=e||new Map),_t.sort(((e,t)=>Ut(e)-Ut(t)));try{for(wt=0;wt<_t.length;wt++){const t=_t[wt];t&&(Lt(e,t),mt(t,null,14))}}finally{wt=0,_t.length=0,It(e),gt=!1,Et=null,(_t.length||Ot.length)&&Mt(e)}}function Lt(e,t){if(e.has(t)){const n=e.get(t);if(n>100)throw new Error("Maximum recursive updates exceeded. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.");e.set(t,n+1)}else e.set(t,1)}let Dt=!1;const Bt=new Set;("undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{}).__VUE_HMR_RUNTIME__={createRecord:Ht(qt),rerender:Ht((function(e,t){const n=zt.get(e);if(!n)return;t&&(n.component.render=t);Array.from(n.instances).forEach((e=>{t&&(e.render=t),e.renderCache=[],Dt=!0,e.update(),Dt=!1}))})),reload:Ht((function(e,t){const n=zt.get(e);if(!n)return;const{component:o,instances:r}=n;if(!Bt.has(o)){t=jr(t)?t.__vccOpts:t,w(o,t);for(const e in o)e in t||delete o[e];Bt.add(o),Tt((()=>{Bt.delete(o)}))}Array.from(r).forEach((e=>{e.parent?Ft(e.parent.update):e.appContext.reload?e.appContext.reload():"undefined"!=typeof window?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}))}))};const zt=new Map;function qt(e,t){return t||(dt("HMR API usage is out of date.\nPlease upgrade vue-loader/vite/rollup-plugin-vue or other relevant depdendency that handles Vue SFC compilation."),t={}),!zt.has(e)&&(zt.set(e,{component:jr(t)?t.__vccOpts:t,instances:new Set}),!0)}function Ht(e){return(t,n)=>{try{return e(t,n)}catch(e){console.error(e),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let Jt;const Wt=Gt("component:added"),Kt=Gt("component:updated"),Xt=Gt("component:removed");function Gt(e){return t=>{Jt&&Jt.emit(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}function Yt(e,t,...n){const o=e.vnode.props||h;{const{emitsOptions:o,propsOptions:[r]}=e;if(o)if(t in o){const e=o[t];if(E(e)){e(...n)||dt(`Invalid event arguments: event validation failed for event "${t}".`)}}else r&&J(t)in r||dt(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${J(t)}" prop.`)}let r=n;const i=t.startsWith("update:"),s=i&&t.slice(7);if(s&&s in o){const e=`${"modelValue"===s?"model":s}Modifiers`,{number:t,trim:i}=o[e]||h;i?r=n.map((e=>e.trim())):t&&(r=n.map(G))}!function(e,t,n){Jt&&Jt.emit("component:emit",e.appContext.app,e,t,n)}(e,t,r);{const n=t.toLowerCase();n!==t&&o[J(n)]&&dt(`Event "${n}" is emitted in component ${wr(e,e.type)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${q(t)}" instead of "${t}".`)}let a=J(B(t)),l=o[a];!l&&i&&(a=J(q(t)),l=o[a]),l&&vt(l,e,6,r);const c=o[a+"Once"];if(c){if(e.emitted){if(e.emitted[a])return}else(e.emitted={})[a]=!0;vt(c,e,6,r)}}function Zt(e,t,n=!1){if(!t.deopt&&void 0!==e.__emits)return e.__emits;const o=e.emits;let r={},i=!1;if(!E(e)){const o=e=>{i=!0,w(r,Zt(e,t,!0))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return o||i?(O(o)?o.forEach((e=>r[e]=null)):w(r,o),e.__emits=r):e.__emits=null}function Qt(e,t){return!(!e||!b(t))&&(t=t.slice(2).replace(/Once$/,""),k(e,t[0].toLowerCase()+t.slice(1))||k(e,q(t))||k(e,t))}let en=null;function tn(e){en=e}let nn=!1;function on(){nn=!0}function rn(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:i,propsOptions:[s],slots:a,attrs:l,emit:c,render:u,renderCache:d,data:f,setupState:p,ctx:h}=e;let m;en=e,nn=!1;try{let e;if(4&n.shapeFlag){const t=r||o;m=Ho(u.call(t,t,d,i,p,f,h)),e=l}else{const n=t;l===i&&on(),m=Ho(n.length>1?n(i,{get attrs(){return on(),l},slots:a,emit:c}):n(i,null)),e=t.props?l:ln(l)}let v,y=m;if(2048&m.patchFlag&&([y,v]=sn(m)),!1!==t.inheritAttrs&&e){const t=Object.keys(e),{shapeFlag:n}=y;if(t.length)if(1&n||6&n)s&&t.some(_)&&(e=cn(e,s)),y=Bo(y,e);else if(!nn&&y.type!==Eo){const e=Object.keys(l),t=[],n=[];for(let o=0,r=e.length;o<r;o++){const r=e[o];b(r)?_(r)||t.push(r[2].toLowerCase()+r.slice(3)):n.push(r)}n.length&&dt(`Extraneous non-props attributes (${n.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`),t.length&&dt(`Extraneous non-emits event listeners (${t.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`)}}n.dirs&&(un(y)||dt("Runtime directive used on component with non-element root node. The directives will not function as intended."),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(un(y)||dt("Component inside <Transition> renders non-element root node that cannot be animated."),y.transition=n.transition),v?v(y):m=y}catch(t){yt(t,e,1),m=Do(Eo)}return en=null,m}const sn=e=>{const t=e.children,n=e.dynamicChildren,o=an(t);if(!o)return[e,void 0];const r=t.indexOf(o),i=n?n.indexOf(o):-1;return[Ho(o),o=>{t[r]=o,n&&(i>-1?n[i]=o:o.patchFlag>0&&(e.dynamicChildren=[...n,o]))}]};function an(e){let t;for(let n=0;n<e.length;n++){const o=e[n];if(!No(o))return;if(o.type!==Eo||"v-if"===o.children){if(t)return;t=o}}return t}const ln=e=>{let t;for(const n in e)("class"===n||"style"===n||b(n))&&((t||(t={}))[n]=e[n]);return t},cn=(e,t)=>{const n={};for(const o in e)_(o)&&o.slice(9)in t||(n[o]=e[o]);return n},un=e=>6&e.shapeFlag||1&e.shapeFlag||e.type===Eo;function dn(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r<o.length;r++){const i=o[r];if(t[i]!==e[i]&&!Qt(n,i))return!0}return!1}function fn(e){if(E(e)&&(e=e()),O(e)){const t=an(e);t||dt("<Suspense> slots expect a single root node."),e=t}return Ho(e)}let pn=0;const hn=e=>pn+=e;function mn(e,t=en){if(!t)return e;const n=(...n)=>{pn||Po(!0);const o=en;tn(t);const r=e(...n);return tn(o),pn||Vo(),r};return n._c=!0,n}let vn=null;const yn=[];function gn(e){yn.push(vn=e)}function bn(){yn.pop(),vn=yn[yn.length-1]||null}function _n(e){return t=>mn((function(){gn(e);const n=t.apply(this,arguments);return bn(),n}))}function wn(e,t,n,o=!1){const r={},i={};X(i,Uo,1),jn(e,t,r,i),En(r,e),n?e.props=o?r:Ze(r,!1,xe,qe):e.type.props?e.props=r:e.props=i,e.attrs=i}function jn(e,t,n,o){const[r,i]=e.propsOptions;if(t)for(const i in t){const s=t[i];if(M(i))continue;let a;r&&k(r,a=B(i))?n[a]=s:Qt(e.emitsOptions,i)||(o[i]=s)}if(i){const t=nt(n);for(let o=0;o<i.length;o++){const s=i[o];n[s]=xn(r,t,s,t[s],e)}}}function xn(e,t,n,o,r){const i=e[n];if(null!=i){const e=k(i,"default");if(e&&void 0===o){const e=i.default;i.type!==Function&&E(e)?(dr(r),o=e(t),dr(null)):o=e}i[0]&&(k(t,n)||e?!i[1]||""!==o&&o!==q(n)||(o=!0):o=!1)}return o}function kn(e,t,n=!1){if(!t.deopt&&e.__props)return e.__props;const o=e.props,r={},i=[];let s=!1;if(!E(e)){const o=e=>{s=!0;const[n,o]=kn(e,t,!0);w(r,n),o&&i.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!o&&!s)return e.__props=m;if(O(o))for(let e=0;e<o.length;e++){$(o[e])||dt("props must be strings when using array syntax.",o[e]);const t=B(o[e]);On(t)&&(r[t]=h)}else if(o){F(o)||dt("invalid props options",o);for(const e in o){const t=B(e);if(On(t)){const n=o[e],s=r[t]=O(n)||E(n)?{type:n}:n;if(s){const e=Rn(Boolean,s.type),n=Rn(String,s.type);s[0]=e>-1,s[1]=n<0||e<n,(e>-1||k(s,"default"))&&i.push(t)}}}}return e.__props=[r,i]}function On(e){return"$"!==e[0]||(dt(`Invalid prop name: "${e}" is a reserved property.`),!1)}function Sn(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function Cn(e,t){return Sn(e)===Sn(t)}function Rn(e,t){if(O(t)){for(let n=0,o=t.length;n<o;n++)if(Cn(t[n],e))return n}else if(E(t))return Cn(t,e)?0:-1;return-1}function En(e,t){const n=nt(e),o=t.propsOptions[0];for(const e in o){let t=o[e];null!=t&&$n(e,n[e],t,!k(n,e))}}function $n(e,t,n,o){const{type:r,required:i,validator:s}=n;if(i&&o)dt('Missing required prop: "'+e+'"');else if(null!=t||n.required){if(null!=r&&!0!==r){let n=!1;const o=O(r)?r:[r],i=[];for(let e=0;e<o.length&&!n;e++){const{valid:r,expectedType:s}=Fn(t,o[e]);i.push(s||""),n=r}if(!n)return void dt(function(e,t,n){let o=`Invalid prop: type check failed for prop "${e}". Expected ${n.map(H).join(", ")}`;const r=n[0],i=N(t),s=Pn(t,r),a=Pn(t,i);1===n.length&&Vn(r)&&!function(...e){return e.some((e=>"boolean"===e.toLowerCase()))}(r,i)&&(o+=` with value ${s}`);o+=`, got ${i} `,Vn(i)&&(o+=`with value ${a}.`);return o}(e,t,i))}s&&!s(t)&&dt('Invalid prop: custom validator check failed for prop "'+e+'".')}}const An=e("String,Number,Boolean,Function,Symbol");function Fn(e,t){let n;const o=Sn(t);if(An(o)){const r=typeof e;n=r===o.toLowerCase(),n||"object"!==r||(n=e instanceof t)}else n="Object"===o?F(e):"Array"===o?O(e):e instanceof t;return{valid:n,expectedType:o}}function Pn(e,t){return"String"===t?`"${e}"`:"Number"===t?`${Number(e)}`:`${e}`}function Vn(e){return["string","number","boolean"].some((t=>e.toLowerCase()===t))}function Tn(e,t,n=ur,o=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;ce(),dr(n);const r=vt(t,n,e,o);return dr(null),ue(),r});return o?r.unshift(i):r.push(i),i}dt(`${J(ht[e].replace(/ hook$/,""))} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}const Nn=e=>(t,n=ur)=>!hr&&Tn(e,t,n),In=Nn("bm"),Un=Nn("m"),Mn=Nn("bu"),Ln=Nn("u"),Dn=Nn("bum"),Bn=Nn("um"),zn=Nn("rtg"),qn=Nn("rtc"),Hn={};function Jn(e,t,n){return E(t)||dt("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),Wn(e,t,n)}function Wn(e,t,{immediate:n,deep:o,flush:r,onTrack:i,onTrigger:s}=h,a=ur){t||(void 0!==n&&dt('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),void 0!==o&&dt('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const l=e=>{dt("Invalid watch source: ",e,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")};let c,u,d=!1;if(ot(e)?(c=()=>e.value,d=!!e._shallow):Qe(e)?(c=()=>e,o=!0):O(e)?c=()=>e.map((e=>ot(e)?e.value:Qe(e)?Xn(e):E(e)?mt(e,a,2):void l(e))):E(e)?c=t?()=>mt(e,a,2):()=>{if(!a||!a.isUnmounted)return u&&u(),mt(e,a,3,[f])}:(c=v,l(e)),t&&o){const e=c;c=()=>Xn(e())}const f=e=>{u=g.options.onStop=()=>{mt(e,a,4)}};let p=O(e)?[]:Hn;const m=()=>{if(g.active)if(t){const e=g();(o||d||W(e,p))&&(u&&u(),vt(t,a,3,[e,p===Hn?void 0:p,f]),p=e)}else g()};let y;m.allowRecurse=!!t,y="sync"===r?m:"post"===r?()=>yo(m,a&&a.suspense):()=>{!a||a.isMounted?function(e){Vt(e,xt,jt,kt)}(m):m()};const g=oe(c,{lazy:!0,onTrack:i,onTrigger:s,scheduler:y});return gr(g,a),t?n?m():p=g():"post"===r?yo(g,a&&a.suspense):g(),()=>{re(g),a&&j(a.effects,g)}}function Kn(e,t,n){const o=this.proxy;return Wn($(e)?()=>o[e]:e.bind(o),t.bind(o),n,this)}function Xn(e,t=new Set){if(!F(e)||t.has(e))return e;if(t.add(e),ot(e))Xn(e.value,t);else if(O(e))for(let n=0;n<e.length;n++)Xn(e[n],t);else if(C(e)||S(e))e.forEach((e=>{Xn(e,t)}));else for(const n in e)Xn(e[n],t);return e}const Gn=e=>e.type.__isKeepAlive;function Yn(e,t,n=ur){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}e()});if(Tn(t,o,n),n){let e=n.parent;for(;e&&e.parent;)Gn(e.parent.vnode)&&Zn(o,t,n,e),e=e.parent}}function Zn(e,t,n,o){const r=Tn(t,e,o,!0);Bn((()=>{j(o[t],r)}),n)}const Qn=e=>"_"===e[0]||"$stable"===e,eo=e=>O(e)?e.map(Ho):[Ho(e)],to=(e,t,n)=>mn((n=>(ur&&dt(`Slot "${e}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`),eo(t(n)))),n),no=(e,t)=>{const n=e._ctx;for(const o in e){if(Qn(o))continue;const r=e[o];if(E(r))t[o]=to(o,r,n);else if(null!=r){dt(`Non-function value encountered for slot "${o}". Prefer function slots for better performance.`);const e=eo(r);t[o]=()=>e}}},oo=(e,t)=>{Gn(e.vnode)||dt("Non-function value encountered for default slot. Prefer function slots for better performance.");const n=eo(t);e.slots.default=()=>n},ro=e("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text");function io(e){ro(e)&&dt("Do not use built-in directive ids as custom directive id: "+e)}function so(e,t){const n=en;if(null===n)return dt("withDirectives can only be used inside render functions."),e;const o=n.proxy,r=e.dirs||(e.dirs=[]);for(let e=0;e<t.length;e++){let[n,i,s,a=h]=t[e];E(n)&&(n={mounted:n,updated:n}),r.push({dir:n,instance:o,value:i,oldValue:void 0,arg:s,modifiers:a})}return e}function ao(e,t,n,o){const r=e.dirs,i=t&&t.dirs;for(let s=0;s<r.length;s++){const a=r[s];i&&(a.oldValue=i[s].value);const l=a.dir[o];l&&vt(l,n,8,[e.el,a,e,t])}}function lo(){return{app:null,config:{isNativeTag:y,performance:!1,globalProperties:{},optionMergeStrategies:{},isCustomElement:y,errorHandler:void 0,warnHandler:void 0},mixins:[],components:{},directives:{},provides:Object.create(null)}}let co,uo,fo=0;function po(e,t){return function(n,o=null){null==o||F(o)||(dt("root props passed to app.mount() must be an object."),o=null);const r=lo(),i=new Set;let s=!1;const a=r.app={_uid:fo++,_component:n,_props:o,_container:null,_context:r,version:Or,get config(){return r.config},set config(e){dt("app.config cannot be replaced. Modify individual options instead.")},use:(e,...t)=>(i.has(e)?dt("Plugin has already been applied to target app."):e&&E(e.install)?(i.add(e),e.install(a,...t)):E(e)?(i.add(e),e(a,...t)):dt('A plugin must either be a function or an object with an "install" function.'),a),mixin:e=>(r.mixins.includes(e)?dt("Mixin has already been applied to target app"+(e.name?`: ${e.name}`:"")):(r.mixins.push(e),(e.props||e.emits)&&(r.deopt=!0)),a),component:(e,t)=>(pr(e,r.config),t?(r.components[e]&&dt(`Component "${e}" has already been registered in target app.`),r.components[e]=t,a):r.components[e]),directive:(e,t)=>(io(e),t?(r.directives[e]&&dt(`Directive "${e}" has already been registered in target app.`),r.directives[e]=t,a):r.directives[e]),mount(i,l){if(!s){const c=Do(n,o);return c.appContext=r,r.reload=()=>{e(Bo(c),i)},l&&t?t(c,i):e(c,i),s=!0,a._container=i,i.__vue_app__=a,function(e,t){Jt&&Jt.emit("app:init",e,t,{Fragment:Co,Text:Ro,Comment:Eo,Static:$o})}(a,Or),c.component.proxy}dt("App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`")},unmount(){s?(e(null,a._container),function(e){Jt&&Jt.emit("app:unmount",e)}(a)):dt("Cannot unmount an app that is not mounted.")},provide:(e,t)=>(e in r.provides&&dt(`App already provides property with key "${String(e)}". It will be overwritten with the new value.`),r.provides[e]=t,a)};return a}}function ho(e,t){e.appContext.config.performance&&vo()&&uo.mark(`vue-${t}-${e.uid}`)}function mo(e,t){if(e.appContext.config.performance&&vo()){const n=`vue-${t}-${e.uid}`,o=n+":end";uo.mark(o),uo.measure(`<${wr(e,e.type)}> ${t}`,n,o),uo.clearMarks(n),uo.clearMarks(o)}}function vo(){return void 0!==co||("undefined"!=typeof window&&window.performance?(co=!0,uo=window.performance):co=!1),co}const yo=function(e,t){t&&t.pendingBranch?O(e)?t.effects.push(...e):t.effects.push(e):Tt(e)},go=(e,t,n,o)=>{if(O(e))return void e.forEach(((e,r)=>go(e,t&&(O(t)?t[r]:t),n,o)));let r;r=!o||o.type.__asyncLoader?null:4&o.shapeFlag?o.component.exposed||o.component.proxy:o.el;const{i:i,r:s}=e;if(!i)return void dt("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");const a=t&&t.r,l=i.refs===h?i.refs={}:i.refs,c=i.setupState;if(null!=a&&a!==s&&($(a)?(l[a]=null,k(c,a)&&(c[a]=null)):ot(a)&&(a.value=null)),$(s)){const e=()=>{l[s]=r,k(c,s)&&(c[s]=r)};r?(e.id=-1,yo(e,n)):e()}else if(ot(s)){const e=()=>{s.value=r};r?(e.id=-1,yo(e,n)):e()}else E(s)?mt(s,i,12,[r,l]):dt("Invalid template ref type:",r,`(${typeof r})`)};function bo(e){return function(e,t){const{insert:n,remove:o,patchProp:r,forcePatchProp:i,createElement:s,createText:a,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:f,setScopeId:p=v,cloneNode:y,insertStaticContent:g}=e,b=(e,t,n,o=null,r=null,i=null,s=!1,a=!1)=>{e&&!Io(e,t)&&(o=ne(e),Y(e,r,i,!0),e=null),-2===t.patchFlag&&(a=!1,t.dynamicChildren=null);const{type:l,ref:c,shapeFlag:u}=t;switch(l){case Ro:_(e,t,n,o);break;case Eo:j(e,t,n,o);break;case $o:null==e?x(t,n,o,s):O(e,t,n,s);break;case Co:N(e,t,n,o,r,i,s,a);break;default:1&u?R(e,t,n,o,r,i,s,a):6&u?I(e,t,n,o,r,i,s,a):64&u||128&u?l.process(e,t,n,o,r,i,s,a,se):dt("Invalid VNode type:",l,`(${typeof l})`)}null!=c&&r&&go(c,e&&e.ref,i,t)},_=(e,t,o,r)=>{if(null==e)n(t.el=a(t.children),o,r);else{const n=t.el=e.el;t.children!==e.children&&c(n,t.children)}},j=(e,t,o,r)=>{null==e?n(t.el=l(t.children||""),o,r):t.el=e.el},x=(e,t,n,o)=>{[e.el,e.anchor]=g(e.children,t,n,o)},O=(e,t,n,o)=>{if(t.children!==e.children){const r=f(e.anchor);C(e),[t.el,t.anchor]=g(t.children,n,r,o)}else t.el=e.el,t.anchor=e.anchor},S=({el:e,anchor:t},o,r)=>{let i;for(;e&&e!==t;)i=f(e),n(e,o,r),e=i;n(t,o,r)},C=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=f(e),o(e),e=n;o(t)},R=(e,t,n,o,r,i,s,a)=>{s=s||"svg"===t.type,null==e?E(t,n,o,r,i,s,a):F(e,t,r,i,s,a)},E=(e,t,o,i,a,l,c)=>{let d,f;const{type:p,props:h,shapeFlag:m,transition:v,scopeId:y,patchFlag:g,dirs:b}=e;if(d=e.el=s(e.type,l,h&&h.is),8&m?u(d,e.children):16&m&&A(e.children,d,null,i,a,l&&"foreignObject"!==p,c||!!e.dynamicChildren),b&&ao(e,null,i,"created"),h){for(const t in h)M(t)||r(d,t,null,h[t],l,e.children,i,a,te);(f=h.onVnodeBeforeMount)&&_o(f,i,e)}$(d,y,e,i),Object.defineProperty(d,"__vnode",{value:e,enumerable:!1}),Object.defineProperty(d,"__vueParentComponent",{value:i,enumerable:!1}),b&&ao(e,null,i,"beforeMount");const _=(!a||a&&!a.pendingBranch)&&v&&!v.persisted;_&&v.beforeEnter(d),n(d,t,o),((f=h&&h.onVnodeMounted)||_||b)&&yo((()=>{f&&_o(f,i,e),_&&v.enter(d),b&&ao(e,null,i,"mounted")}),a)},$=(e,t,n,o)=>{if(t&&p(e,t),o){const r=o.type.__scopeId;r&&r!==t&&p(e,r+"-s");let i=o.subTree;i.type===Co&&(i=an(i.children)||i),n===i&&$(e,o.vnode.scopeId,o.vnode,o.parent)}},A=(e,t,n,o,r,i,s,a=0)=>{for(let l=a;l<e.length;l++){const a=e[l]=s?Jo(e[l]):Ho(e[l]);b(null,a,t,n,o,r,i,s)}},F=(e,t,n,o,s,a)=>{const l=t.el=e.el;let{patchFlag:c,dynamicChildren:d,dirs:f}=t;c|=16&e.patchFlag;const p=e.props||h,m=t.props||h;let v;if((v=m.onVnodeBeforeUpdate)&&_o(v,n,t,e),f&&ao(t,e,n,"beforeUpdate"),Dt&&(c=0,a=!1,d=null),c>0){if(16&c)T(l,t,p,m,n,o,s);else if(2&c&&p.class!==m.class&&r(l,"class",null,m.class,s),4&c&&r(l,"style",p.style,m.style,s),8&c){const a=t.dynamicProps;for(let t=0;t<a.length;t++){const c=a[t],u=p[c],d=m[c];(d!==u||i&&i(l,c))&&r(l,c,u,d,s,e.children,n,o,te)}}1&c&&e.children!==t.children&&u(l,t.children)}else a||null!=d||T(l,t,p,m,n,o,s);const y=s&&"foreignObject"!==t.type;d?(V(e.dynamicChildren,d,l,n,o,y),n&&n.type.__hmrId&&wo(e,t)):a||H(e,t,l,null,n,o,y),((v=m.onVnodeUpdated)||f)&&yo((()=>{v&&_o(v,n,t,e),f&&ao(t,e,n,"updated")}),o)},V=(e,t,n,o,r,i)=>{for(let s=0;s<t.length;s++){const a=e[s],l=t[s],c=a.type===Co||!Io(a,l)||6&a.shapeFlag||64&a.shapeFlag?d(a.el):n;b(a,l,c,null,o,r,i,!0)}},T=(e,t,n,o,s,a,l)=>{if(n!==o){for(const c in o){if(M(c))continue;const u=o[c],d=n[c];(u!==d||i&&i(e,c))&&r(e,c,d,u,l,t.children,s,a,te)}if(n!==h)for(const i in n)M(i)||i in o||r(e,i,n[i],null,l,t.children,s,a,te)}},N=(e,t,o,r,i,s,l,c)=>{const u=t.el=e?e.el:a(""),d=t.anchor=e?e.anchor:a("");let{patchFlag:f,dynamicChildren:p}=t;f>0&&(c=!0),Dt&&(f=0,c=!1,p=null),null==e?(n(u,o,r),n(d,o,r),A(t.children,o,d,i,s,l,c)):f>0&&64&f&&p&&e.dynamicChildren?(V(e.dynamicChildren,p,o,i,s,l),i&&i.type.__hmrId?wo(e,t):(null!=t.key||i&&t===i.subTree)&&wo(e,t,!0)):H(e,t,o,d,i,s,l,c)},I=(e,t,n,o,r,i,s,a)=>{null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,s,a):U(t,n,o,r,i,s,a):L(e,t,a)},U=(e,t,n,o,r,i,s)=>{const a=e.component=function(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||lr,i={uid:cr++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,update:null,render:null,proxy:null,exposed:null,withProxy:null,effects:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:kn(o,r),emitsOptions:Zt(o,r),emit:null,emitted:null,ctx:h,data:h,props:h,attrs:h,slots:h,refs:h,setupState:h,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null};return i.ctx=function(e){const t={};Object.defineProperty(t,"_",{configurable:!0,enumerable:!1,get:()=>e}),Object.keys(ir).forEach((n=>{Object.defineProperty(t,n,{configurable:!0,enumerable:!1,get:()=>ir[n](e),set:v})}));const{globalProperties:n}=e.appContext.config;return Object.keys(n).forEach((e=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,get:()=>n[e],set:v})})),t}(i),i.root=t?t.root:i,i.emit=Yt.bind(null,i),Wt(i),i}(e,o,r);if(a.type.__hmrId&&function(e){const t=e.type.__hmrId;let n=zt.get(t);n||(qt(t,e.type),n=zt.get(t)),n.instances.add(e)}(a),ct(e),ho(a,"mount"),Gn(e)&&(a.ctx.renderer=se),ho(a,"init"),function(e,t=!1){hr=t;const{props:n,children:o,shapeFlag:r}=e.vnode,i=4&r;wn(e,n,i,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=t,X(t,"_",n)):no(t,e.slots={})}else e.slots={},t&&oo(e,t);X(e.slots,Uo,1)})(e,o);const s=i?function(e,t){const n=e.type;n.name&&pr(n.name,e.appContext.config);if(n.components){const t=Object.keys(n.components);for(let n=0;n<t.length;n++)pr(t[n],e.appContext.config)}if(n.directives){const e=Object.keys(n.directives);for(let t=0;t<e.length;t++)io(e[t])}e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,sr),function(e){const{ctx:t,propsOptions:[n]}=e;n&&Object.keys(n).forEach((n=>{Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>e.props[n],set:v})}))}(e);const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?function(e){const t=t=>{e.exposed&&dt("expose() should be called only once per setup()."),e.exposed=it(t)};return Object.freeze({get props(){return e.props},get attrs(){return new Proxy(e.attrs,yr)},get slots(){return Ye(e.slots)},get emit(){return(t,...n)=>e.emit(t,...n)},expose:t})}(e):null;ur=e,ce();const r=mt(o,e,0,[Ye(e.props),n]);if(ue(),ur=null,P(r)){if(t)return r.then((t=>{mr(e,t)}));e.asyncDep=r}else mr(e,r)}else vr(e)}(e,t):void 0;hr=!1}(a),mo(a,"init"),a.asyncDep){if(r&&r.registerDep(a,D),!e.el){const e=a.subTree=Do(Eo);j(null,e,t,n)}}else D(a,e,t,n,r,i,s),ut(),mo(a,"mount")},L=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:i}=e,{props:s,children:a,patchFlag:l}=t,c=i.emitsOptions;if((r||a)&&Dt)return!0;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!r&&!a||a&&a.$stable)||o!==s&&(o?!s||dn(o,s,c):!!s);if(1024&l)return!0;if(16&l)return o?dn(o,s,c):!!s;if(8&l){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(s[n]!==o[n]&&!Qt(c,n))return!0}}return!1}(e,t,n)){if(o.asyncDep&&!o.asyncResolved)return ct(t),z(o,t,n),void ut();o.next=t,function(e){const t=_t.indexOf(e);t>-1&&_t.splice(t,1)}(o.update),o.update()}else t.component=e.component,t.el=e.el,o.vnode=t},D=(e,t,n,o,r,i,s)=>{e.update=oe((function(){if(e.isMounted){let t,{next:n,bu:o,u:a,parent:l,vnode:c}=e,u=n;ct(n||e.vnode),n?(n.el=c.el,z(e,n,s)):n=c,o&&K(o),(t=n.props&&n.props.onVnodeBeforeUpdate)&&_o(t,l,n,c),ho(e,"render");const f=rn(e);mo(e,"render");const p=e.subTree;e.subTree=f,ho(e,"patch"),b(p,f,d(p.el),ne(p),e,r,i),mo(e,"patch"),n.el=f.el,null===u&&function({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}(e,f.el),a&&yo(a,r),(t=n.props&&n.props.onVnodeUpdated)&&yo((()=>{_o(t,l,n,c)}),r),Kt(e),ut()}else{let s;const{el:a,props:l}=t,{bm:c,m:u,parent:d}=e;c&&K(c),(s=l&&l.onVnodeBeforeMount)&&_o(s,d,t),ho(e,"render");const f=e.subTree=rn(e);if(mo(e,"render"),a&&le?(ho(e,"hydrate"),le(t.el,f,e,r),mo(e,"hydrate")):(ho(e,"patch"),b(null,f,n,o,e,r,i),mo(e,"patch"),t.el=f.el),u&&yo(u,r),s=l&&l.onVnodeMounted){const e=t;yo((()=>{_o(s,d,e)}),r)}const{a:p}=e;p&&256&t.shapeFlag&&yo(p,r),e.isMounted=!0,t=n=o=null}}),function(e){return{scheduler:Ft,allowRecurse:!0,onTrack:e.rtc?t=>K(e.rtc,t):void 0,onTrigger:e.rtg?t=>K(e.rtg,t):void 0}}(e))},z=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:s}}=e,a=nt(r),[l]=e.propsOptions;if(e.type.__hmrId||e.parent&&e.parent.type.__hmrId||!(o||s>0)||16&s){let o;jn(e,t,r,i);for(const i in a)t&&(k(t,i)||(o=q(i))!==i&&k(t,o))||(l?!n||void 0===n[i]&&void 0===n[o]||(r[i]=xn(l,t||h,i,void 0,e)):delete r[i]);if(i!==a)for(const e in i)t&&k(t,e)||delete i[e]}else if(8&s){const n=e.vnode.dynamicProps;for(let o=0;o<n.length;o++){const s=n[o],c=t[s];if(l)if(k(i,s))i[s]=c;else{const t=B(s);r[t]=xn(l,a,t,c,e)}else i[s]=c}}fe(e,"set","$attrs"),t&&En(r,e)}(e,t.props,o,n),((e,t)=>{const{vnode:n,slots:o}=e;let r=!0,i=h;if(32&n.shapeFlag){const e=t._;e?Dt?w(o,t):1===e?r=!1:w(o,t):(r=!t.$stable,no(t,o)),i=t}else t&&(oo(e,t),i={default:1});if(r)for(const e in o)Qn(e)||e in i||delete o[e]})(e,t.children),Nt(void 0,e.update)},H=(e,t,n,o,r,i,s,a=!1)=>{const l=e&&e.children,c=e?e.shapeFlag:0,d=t.children,{patchFlag:f,shapeFlag:p}=t;if(f>0){if(128&f)return void W(l,d,n,o,r,i,s,a);if(256&f)return void J(l,d,n,o,r,i,s,a)}8&p?(16&c&&te(l,r,i),d!==l&&u(n,d)):16&c?16&p?W(l,d,n,o,r,i,s,a):te(l,r,i,!0):(8&c&&u(n,""),16&p&&A(d,n,o,r,i,s,a))},J=(e,t,n,o,r,i,s,a)=>{t=t||m;const l=(e=e||m).length,c=t.length,u=Math.min(l,c);let d;for(d=0;d<u;d++){const o=t[d]=a?Jo(t[d]):Ho(t[d]);b(e[d],o,n,null,r,i,s,a)}l>c?te(e,r,i,!0,!1,u):A(t,n,o,r,i,s,a,u)},W=(e,t,n,o,r,i,s,a)=>{let l=0;const c=t.length;let u=e.length-1,d=c-1;for(;l<=u&&l<=d;){const o=e[l],c=t[l]=a?Jo(t[l]):Ho(t[l]);if(!Io(o,c))break;b(o,c,n,null,r,i,s,a),l++}for(;l<=u&&l<=d;){const o=e[u],l=t[d]=a?Jo(t[d]):Ho(t[d]);if(!Io(o,l))break;b(o,l,n,null,r,i,s,a),u--,d--}if(l>u){if(l<=d){const e=d+1,u=e<c?t[e].el:o;for(;l<=d;)b(null,t[l]=a?Jo(t[l]):Ho(t[l]),n,u,r,i,s),l++}}else if(l>d)for(;l<=u;)Y(e[l],r,i,!0),l++;else{const f=l,p=l,h=new Map;for(l=p;l<=d;l++){const e=t[l]=a?Jo(t[l]):Ho(t[l]);null!=e.key&&(h.has(e.key)&&dt("Duplicate keys found during update:",JSON.stringify(e.key),"Make sure keys are unique."),h.set(e.key,l))}let v,y=0;const g=d-p+1;let _=!1,w=0;const j=new Array(g);for(l=0;l<g;l++)j[l]=0;for(l=f;l<=u;l++){const o=e[l];if(y>=g){Y(o,r,i,!0);continue}let c;if(null!=o.key)c=h.get(o.key);else for(v=p;v<=d;v++)if(0===j[v-p]&&Io(o,t[v])){c=v;break}void 0===c?Y(o,r,i,!0):(j[c-p]=l+1,c>=w?w=c:_=!0,b(o,t[c],n,null,r,i,s,a),y++)}const x=_?function(e){const t=e.slice(),n=[0];let o,r,i,s,a;const l=e.length;for(o=0;o<l;o++){const l=e[o];if(0!==l){if(r=n[n.length-1],e[r]<l){t[o]=r,n.push(o);continue}for(i=0,s=n.length-1;i<s;)a=(i+s)/2|0,e[n[a]]<l?i=a+1:s=a;l<e[n[i]]&&(i>0&&(t[o]=n[i-1]),n[i]=o)}}i=n.length,s=n[i-1];for(;i-- >0;)n[i]=s,s=t[s];return n}(j):m;for(v=x.length-1,l=g-1;l>=0;l--){const e=p+l,a=t[e],u=e+1<c?t[e+1].el:o;0===j[l]?b(null,a,n,u,r,i,s):_&&(v<0||l!==x[v]?G(a,n,u,2):v--)}}},G=(e,t,o,r,i=null)=>{const{el:s,type:a,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void G(e.component.subTree,t,o,r);if(128&u)return void e.suspense.move(t,o,r);if(64&u)return void a.move(e,t,o,se);if(a===Co){n(s,t,o);for(let e=0;e<c.length;e++)G(c[e],t,o,r);return void n(e.anchor,t,o)}if(a===$o)return void S(e,t,o);if(2!==r&&1&u&&l)if(0===r)l.beforeEnter(s),n(s,t,o),yo((()=>l.enter(s)),i);else{const{leave:e,delayLeave:r,afterLeave:i}=l,a=()=>n(s,t,o),c=()=>{e(s,(()=>{a(),i&&i()}))};r?r(s,a,c):c()}else n(s,t,o)},Y=(e,t,n,o=!1,r=!1)=>{const{type:i,props:s,ref:a,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:f}=e;if(null!=a&&go(a,null,n,null),256&u)return void t.ctx.deactivate(e);const p=1&u&&f;let h;if((h=s&&s.onVnodeBeforeUnmount)&&_o(h,t,e),6&u)ee(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);p&&ao(e,null,t,"beforeUnmount"),c&&(i!==Co||d>0&&64&d)?te(c,t,n,!1,!0):(i===Co&&(128&d||256&d)||!r&&16&u)&&te(l,t,n),64&u&&(o||!jo(e.props))&&e.type.remove(e,se),o&&Z(e)}((h=s&&s.onVnodeUnmounted)||p)&&yo((()=>{h&&_o(h,t,e),p&&ao(e,null,t,"unmounted")}),n)},Z=e=>{const{type:t,el:n,anchor:r,transition:i}=e;if(t===Co)return void Q(n,r);if(t===$o)return void C(e);const s=()=>{o(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&e.shapeFlag&&i&&!i.persisted){const{leave:t,delayLeave:o}=i,r=()=>t(n,s);o?o(e.el,s,r):r()}else s()},Q=(e,t)=>{let n;for(;e!==t;)n=f(e),o(e),e=n;o(t)},ee=(e,t,n)=>{e.type.__hmrId&&function(e){zt.get(e.type.__hmrId).instances.delete(e)}(e);const{bum:o,effects:r,update:i,subTree:s,um:a}=e;if(o&&K(o),r)for(let e=0;e<r.length;e++)re(r[e]);i&&(re(i),Y(s,e,t,n)),a&&yo(a,t),yo((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve()),Xt(e)},te=(e,t,n,o=!1,r=!1,i=0)=>{for(let s=i;s<e.length;s++)Y(e[s],t,n,o,r)},ne=e=>6&e.shapeFlag?ne(e.component.subTree):128&e.shapeFlag?e.suspense.next():f(e.anchor||e.el),ie=(e,t)=>{null==e?t._vnode&&Y(t._vnode,null,null,!0):b(t._vnode||null,e,t),It(),t._vnode=e},se={p:b,um:Y,m:G,r:Z,mt:U,mc:A,pc:H,pbc:V,n:ne,o:e};let ae,le;t&&([ae,le]=t(se));return{render:ie,hydrate:ae,createApp:po(ie,ae)}}(e)}function _o(e,t,n,o=null){vt(e,t,7,[n,o])}function wo(e,t,n=!1){const o=e.children,r=t.children;if(O(o)&&O(r))for(let e=0;e<o.length;e++){const t=o[e];let i=r[e];1&i.shapeFlag&&!i.dynamicChildren&&((i.patchFlag<=0||32===i.patchFlag)&&(i=r[e]=Jo(r[e]),i.el=t.el),n||wo(t,i)),i.type!==Eo||i.el||(i.el=t.el)}}const jo=e=>e&&(e.disabled||""===e.disabled),xo="components";function ko(e){return function(e,t,n=!0){const o=en||ur;if(o){const r=o.type;if(e===xo){if("_self"===t)return r;const e=_r(r);if(e&&(e===t||e===B(t)||e===H(B(t))))return r}const i=So(o[e]||r[e],t)||So(o.appContext[e],t);return n&&!i&&dt(`Failed to resolve ${e.slice(0,-1)}: ${t}`),i}dt(`resolve${H(e.slice(0,-1))} can only be used in render() or setup().`)}(xo,e)||e}const Oo=Symbol();function So(e,t){return e&&(e[t]||e[B(t)]||e[H(B(t))])}const Co=Symbol("Fragment"),Ro=Symbol("Text"),Eo=Symbol("Comment"),$o=Symbol("Static"),Ao=[];let Fo=null;function Po(e=!1){Ao.push(Fo=e?null:[])}function Vo(){Ao.pop(),Fo=Ao[Ao.length-1]||null}function To(e,t,n,o,r){const i=Do(e,t,n,o,r,!0);return i.dynamicChildren=Fo||m,Vo(),Fo&&Fo.push(i),i}function No(e){return!!e&&!0===e.__v_isVNode}function Io(e,t){return!(6&t.shapeFlag&&Bt.has(t.type))&&(e.type===t.type&&e.key===t.key)}const Uo="__vInternal",Mo=({key:e})=>null!=e?e:null,Lo=({ref:e})=>null!=e?$(e)||ot(e)||E(e)?{i:en,r:e}:e:null,Do=(...e)=>function(e,t=null,n=null,r=0,i=null,s=!1){e&&e!==Oo||(e||dt(`Invalid vnode type when creating vnode: ${e}.`),e=Eo);if(No(e)){const o=Bo(e,t,!0);return n&&Wo(o,n),o}jr(e)&&(e=e.__vccOpts);if(t){(tt(t)||Uo in t)&&(t=w({},t));let{class:e,style:n}=t;e&&!$(e)&&(t.class=a(e)),F(n)&&(tt(n)&&!O(n)&&(n=w({},n)),t.style=o(n))}const l=$(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:F(e)?4:E(e)?2:0;4&l&&tt(e)&&dt("Vue received a Component which was made a reactive object. This can lead to unnecessary performance overhead, and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.","\nComponent that was made reactive: ",e=nt(e));const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Mo(t),ref:t&&Lo(t),scopeId:vn,children:null,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:l,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null};c.key!=c.key&&dt("VNode created with invalid key (NaN). VNode type:",c.type);if(Wo(c,n),128&l){const{content:e,fallback:t}=function(e){const{shapeFlag:t,children:n}=e;let o,r;return 32&t?(o=fn(n.default),r=fn(n.fallback)):(o=fn(n),r=Ho(null)),{content:o,fallback:r}}(c);c.ssContent=e,c.ssFallback=t}!s&&Fo&&(r>0||6&l)&&32!==r&&Fo.push(c);return c}(...e);function Bo(e,t,n=!1){const{props:r,ref:i,patchFlag:s}=e,l=t?function(...e){const t=w({},e[0]);for(let n=1;n<e.length;n++){const r=e[n];for(const e in r)if("class"===e)t.class!==r.class&&(t.class=a([t.class,r.class]));else if("style"===e)t.style=o([t.style,r.style]);else if(b(e)){const n=t[e],o=r[e];n!==o&&(t[e]=n?[].concat(n,r[e]):o)}else""!==e&&(t[e]=r[e])}return t}(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Mo(l),ref:t&&t.ref?n&&i?O(i)?i.concat(Lo(t)):[i,Lo(t)]:Lo(t):i,scopeId:e.scopeId,children:e.children,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Co?-1===s?16:16|s:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Bo(e.ssContent),ssFallback:e.ssFallback&&Bo(e.ssFallback),el:e.el,anchor:e.anchor}}function zo(e=" ",t=0){return Do(Ro,null,e,t)}function qo(e="",t=!1){return t?(Po(),To(Eo,null,e)):Do(Eo,null,e)}function Ho(e){return null==e||"boolean"==typeof e?Do(Eo):O(e)?Do(Co,null,e):"object"==typeof e?null===e.el?e:Bo(e):Do(Ro,null,String(e))}function Jo(e){return null===e.el?e:Bo(e)}function Wo(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if(O(t))n=16;else if("object"==typeof t){if(1&o||64&o){const n=t.default;return void(n&&(n._c&&hn(1),Wo(e,n()),n._c&&hn(-1)))}{n=32;const o=t._;o||Uo in t?3===o&&en&&(1024&en.vnode.patchFlag?(t._=2,e.patchFlag|=1024):t._=1):t._ctx=en}}else E(t)?(t={default:t,_ctx:en},n=32):(t=String(t),64&o?(n=16,t=[zo(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ko(e,t,n=!1){const o=ur||en;if(o){const r=null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&E(t)?t():t;dt(`injection "${String(e)}" not found.`)}else dt("inject() can only be used inside setup() or functional components.")}let Xo=!1;function Go(e,t,n=[],o=[],r=[],i=!1){const{mixins:s,extends:a,data:l,computed:c,methods:u,watch:d,provide:f,inject:p,components:m,directives:y,beforeMount:g,mounted:b,beforeUpdate:_,updated:j,activated:x,deactivated:k,beforeDestroy:S,beforeUnmount:C,destroyed:R,unmounted:$,render:A,renderTracked:P,renderTriggered:V,errorCaptured:T,expose:N}=t,I=e.proxy,U=e.ctx,M=e.appContext.mixins;i&&A&&e.render===v&&(e.render=A),i||(Xo=!0,Yo("beforeCreate","bc",t,e,M),Xo=!1,er(e,M,n,o,r)),a&&Go(e,a,n,o,r,!0),s&&er(e,s,n,o,r);const L=function(){const e=Object.create(null);return(t,n)=>{e[n]?dt(`${t} property "${n}" is already defined in ${e[n]}.`):e[n]=t}}();{const[t]=e.propsOptions;if(t)for(const e in t)L("Props",e)}if(p)if(O(p))for(let e=0;e<p.length;e++){const t=p[e];U[t]=Ko(t),L("Inject",t)}else for(const e in p){const t=p[e];F(t)?U[e]=Ko(t.from||e,t.default,!0):U[e]=Ko(t),L("Inject",e)}if(u)for(const e in u){const t=u[e];E(t)?(U[e]=t.bind(I),L("Methods",e)):dt(`Method "${e}" has type "${typeof t}" in the component definition. Did you reference the function correctly?`)}if(i)l&&n.push(l);else{n.length&&n.forEach((t=>tr(e,t,I))),l&&tr(e,l,I);{const t=nt(e.data);for(const e in t)L("Data",e),"$"!==e[0]&&"_"!==e[0]&&Object.defineProperty(U,e,{configurable:!0,enumerable:!0,get:()=>t[e],set:v})}}if(c)for(const e in c){const t=c[e],n=E(t)?t.bind(I,I):E(t.get)?t.get.bind(I,I):v;n===v&&dt(`Computed property "${e}" has no getter.`);const o=xr({get:n,set:!E(t)&&E(t.set)?t.set.bind(I):()=>{dt(`Write operation failed: computed property "${e}" is readonly.`)}});Object.defineProperty(U,e,{enumerable:!0,configurable:!0,get:()=>o.value,set:e=>o.value=e}),L("Computed",e)}var D;if(d&&o.push(d),!i&&o.length&&o.forEach((e=>{for(const t in e)nr(e[t],U,I,t)})),f&&r.push(f),!i&&r.length&&r.forEach((e=>{const t=E(e)?e.call(I):e;Reflect.ownKeys(t).forEach((e=>{!function(e,t){if(ur){let n=ur.provides;const o=ur.parent&&ur.parent.provides;o===n&&(n=ur.provides=Object.create(o)),n[e]=t}else dt("provide() can only be used inside setup().")}(e,t[e])}))})),i&&(m&&w(e.components||(e.components=w({},e.type.components)),m),y&&w(e.directives||(e.directives=w({},e.type.directives)),y)),i||Yo("created","c",t,e,M),g&&In(g.bind(I)),b&&Un(b.bind(I)),_&&Mn(_.bind(I)),j&&Ln(j.bind(I)),x&&Yn(x.bind(I),"a",D),k&&function(e,t){Yn(e,"da",t)}(k.bind(I)),T&&((e,t=ur)=>{Tn("ec",e,t)})(T.bind(I)),P&&qn(P.bind(I)),V&&zn(V.bind(I)),S&&dt("`beforeDestroy` has been renamed to `beforeUnmount`."),C&&Dn(C.bind(I)),R&&dt("`destroyed` has been renamed to `unmounted`."),$&&Bn($.bind(I)),O(N))if(i)dt("The `expose` option is ignored when used in mixins.");else if(N.length){const t=e.exposed||(e.exposed=it({}));N.forEach((e=>{t[e]=function(e,t){return ot(e[t])?e[t]:new st(e,t)}(I,e)}))}else e.exposed||(e.exposed=h)}function Yo(e,t,n,o,r){Qo(e,t,r,o);const{extends:i,mixins:s}=n;i&&Zo(e,t,i,o),s&&Qo(e,t,s,o);const a=n[e];a&&vt(a.bind(o.proxy),o,t)}function Zo(e,t,n,o){n.extends&&Zo(e,t,n.extends,o);const r=n[e];r&&vt(r.bind(o.proxy),o,t)}function Qo(e,t,n,o){for(let r=0;r<n.length;r++){const i=n[r].mixins;i&&Qo(e,t,i,o);const s=n[r][e];s&&vt(s.bind(o.proxy),o,t)}}function er(e,t,n,o,r){for(let i=0;i<t.length;i++)Go(e,t[i],n,o,r,!0)}function tr(e,t,n){E(t)||dt("The data option must be a function. Plain object usage is no longer supported.");const o=t.call(n,n);P(o)&&dt("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),F(o)?e.data===h?e.data=Xe(o):w(e.data,o):dt("data() should return an object.")}function nr(e,t,n,o){const r=o.includes(".")?function(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}(n,o):()=>n[o];if($(e)){const n=t[e];E(n)?Jn(r,n):dt(`Invalid watch handler specified by key "${e}"`,n)}else if(E(e))Jn(r,e.bind(n));else if(F(e))if(O(e))e.forEach((e=>nr(e,t,n,o)));else{const o=E(e.handler)?e.handler.bind(n):t[e.handler];E(o)?Jn(r,o,e):dt(`Invalid watch handler specified by key "${e.handler}"`,o)}else dt(`Invalid watch option: "${o}"`,e)}function or(e,t,n){const o=n.appContext.config.optionMergeStrategies,{mixins:r,extends:i}=t;i&&or(e,i,n),r&&r.forEach((t=>or(e,t,n)));for(const r in t)o&&k(o,r)?e[r]=o[r](e[r],t[r],n.proxy,r):e[r]=t[r]}const rr=e=>e&&(e.proxy?e.proxy:rr(e.parent)),ir=w(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>Ye(e.props),$attrs:e=>Ye(e.attrs),$slots:e=>Ye(e.slots),$refs:e=>Ye(e.refs),$parent:e=>rr(e.parent),$root:e=>e.root&&e.root.proxy,$emit:e=>e.emit,$options:e=>function(e){const t=e.type,{__merged:n,mixins:o,extends:r}=t;if(n)return n;const i=e.appContext.mixins;if(!i.length&&!o&&!r)return t;const s={};return i.forEach((t=>or(s,t,e))),or(s,t,e),t.__merged=s}(e),$forceUpdate:e=>()=>Ft(e.update),$nextTick:e=>At.bind(e.proxy),$watch:e=>Kn.bind(e)}),sr={get({_:e},t){const{ctx:n,setupState:o,data:r,props:i,accessCache:s,type:a,appContext:l}=e;if("__v_skip"===t)return!0;if("__isVue"===t)return!0;let c;if("$"!==t[0]){const a=s[t];if(void 0!==a)switch(a){case 0:return o[t];case 1:return r[t];case 3:return n[t];case 2:return i[t]}else{if(o!==h&&k(o,t))return s[t]=0,o[t];if(r!==h&&k(r,t))return s[t]=1,r[t];if((c=e.propsOptions[0])&&k(c,t))return s[t]=2,i[t];if(n!==h&&k(n,t))return s[t]=3,n[t];Xo||(s[t]=4)}}const u=ir[t];let d,f;return u?("$attrs"===t&&(de(e,"get",t),on()),u(e)):(d=a.__cssModules)&&(d=d[t])?d:n!==h&&k(n,t)?(s[t]=3,n[t]):(f=l.config.globalProperties,k(f,t)?f[t]:void(!en||$(t)&&0===t.indexOf("__v")||(r===h||"$"!==t[0]&&"_"!==t[0]||!k(r,t)?dt(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`):dt(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`))))},set({_:e},t,n){const{data:o,setupState:r,ctx:i}=e;if(r!==h&&k(r,t))r[t]=n;else if(o!==h&&k(o,t))o[t]=n;else if(t in e.props)return dt(`Attempting to mutate prop "${t}". Props are readonly.`,e),!1;return"$"===t[0]&&t.slice(1)in e?(dt(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`,e),!1):(t in e.appContext.config.globalProperties?Object.defineProperty(i,t,{enumerable:!0,configurable:!0,value:n}):i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:i}},s){let a;return void 0!==n[s]||e!==h&&k(e,s)||t!==h&&k(t,s)||(a=i[0])&&k(a,s)||k(o,s)||k(ir,s)||k(r.config.globalProperties,s)},ownKeys:e=>(dt("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e))},ar=w({},sr,{get(e,t){if(t!==Symbol.unscopables)return sr.get(e,t,e)},has(e,n){const o="_"!==n[0]&&!t(n);return!o&&sr.has(e,n)&&dt(`Property ${JSON.stringify(n)} should not start with _ which is a reserved prefix for Vue internals.`),o}});const lr=lo();let cr=0;let ur=null;const dr=e=>{ur=e},fr=e("slot,component");function pr(e,t){const n=t.isNativeTag||y;(fr(e)||n(e))&&dt("Do not use built-in or reserved HTML elements as component id: "+e)}let hr=!1;function mr(e,t,n){E(t)?e.render=t:F(t)?(No(t)&&dt("setup() should not return VNodes directly - return a render function instead."),e.devtoolsRawSetupState=t,e.setupState=it(t),function(e){const{ctx:t,setupState:n}=e;Object.keys(nt(n)).forEach((e=>{"$"!==e[0]&&"_"!==e[0]?Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:()=>n[e],set:v}):dt(`setup() return property ${JSON.stringify(e)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`)}))}(e)):void 0!==t&&dt("setup() should return an object. Received: "+(null===t?"null":typeof t)),vr(e)}function vr(e,t){const n=e.type;e.render||(e.render=n.render||v,e.render._rc&&(e.withProxy=new Proxy(e.ctx,ar))),ur=e,ce(),Go(e,n),ue(),ur=null,n.render||e.render!==v||(n.template?dt('Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'):dt("Component is missing template or render function."))}const yr={get:(e,t)=>(on(),e[t]),set:()=>(dt("setupContext.attrs is readonly."),!1),deleteProperty:()=>(dt("setupContext.attrs is readonly."),!1)};function gr(e,t=ur){t&&(t.effects||(t.effects=[])).push(e)}const br=/(?:^|[-_])(\w)/g;function _r(e){return E(e)&&e.displayName||e.name}function wr(e,t,n=!1){let o=_r(t);if(!o&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(o=e[1])}if(!o&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};o=n(e.components||e.parent.type.components)||n(e.appContext.components)}return o?o.replace(br,(e=>e.toUpperCase())).replace(/[-_]/g,""):n?"App":"Anonymous"}function jr(e){return E(e)&&"__vccOpts"in e}function xr(e){const t=function(e){let t,n;return E(e)?(t=e,n=()=>{console.warn("Write operation failed: computed value is readonly")}):(t=e.get,n=e.set),new at(t,n,E(e)||!e.set)}(e);return gr(t.effect),t}function kr(e,t){let n;if(O(e)||$(e)){n=new Array(e.length);for(let o=0,r=e.length;o<r;o++)n[o]=t(e[o],o)}else if("number"==typeof e){if(!Number.isInteger(e))return dt(`The v-for range expect an integer value but got ${e}.`),[];n=new Array(e);for(let o=0;o<e;o++)n[o]=t(o+1,o)}else if(F(e))if(e[Symbol.iterator])n=Array.from(e,t);else{const o=Object.keys(e);n=new Array(o.length);for(let r=0,i=o.length;r<i;r++){const i=o[r];n[r]=t(e[i],i,r)}}else n=[];return n}const Or="3.0.5",Sr="http://www.w3.org/2000/svg",Cr="undefined"!=typeof document?document:null;let Rr,Er;const $r={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n)=>t?Cr.createElementNS(Sr,e):Cr.createElement(e,n?{is:n}:void 0),createText:e=>Cr.createTextNode(e),createComment:e=>Cr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Cr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode:e=>e.cloneNode(!0),insertStaticContent(e,t,n,o){const r=o?Er||(Er=Cr.createElementNS(Sr,"svg")):Rr||(Rr=Cr.createElement("div"));r.innerHTML=e;const i=r.firstChild;let s=i,a=s;for(;s;)a=s,$r.insert(s,t,n),s=r.firstChild;return[i,a]}};const Ar=/\s*!important$/;function Fr(e,t,n){if(O(n))n.forEach((n=>Fr(e,t,n)));else if(t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=Vr[t];if(n)return n;let o=B(t);if("filter"!==o&&o in e)return Vr[t]=o;o=H(o);for(let n=0;n<Pr.length;n++){const r=Pr[n]+o;if(r in e)return Vr[t]=r}return t}(e,t);Ar.test(n)?e.setProperty(q(o),n.replace(Ar,""),"important"):e[o]=n}}const Pr=["Webkit","Moz","ms"],Vr={};const Tr="http://www.w3.org/1999/xlink";let Nr=Date.now;"undefined"!=typeof document&&Nr()>document.createEvent("Event").timeStamp&&(Nr=()=>performance.now());let Ir=0;const Ur=Promise.resolve(),Mr=()=>{Ir=0};function Lr(e,t,n,o){e.addEventListener(t,n,o)}function Dr(e,t,n,o,r=null){const i=e._vei||(e._vei={}),s=i[t];if(o&&s)s.value=o;else{const[n,a]=function(e){let t;if(Br.test(e)){let n;for(t={};n=e.match(Br);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e.slice(2).toLowerCase(),t]}(t);if(o){Lr(e,n,i[t]=function(e,t){const n=e=>{(e.timeStamp||Nr())>=n.attached-1&&vt(function(e,t){if(O(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=(()=>Ir||(Ur.then(Mr),Ir=Nr()))(),n}(o,r),a)}else s&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,s,a),i[t]=void 0)}}const Br=/(?:Once|Passive|Capture)$/;const zr=/^on[a-z]/;const qr=e=>{const t=e.props["onUpdate:modelValue"];return O(t)?e=>K(t,e):t};function Hr(e){e.target.composing=!0}function Jr(e){const t=e.target;t.composing&&(t.composing=!1,function(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}(t,"input"))}const Wr={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e._assign=qr(r);const i=o||"number"===e.type;Lr(e,t?"change":"input",(t=>{if(t.target.composing)return;let o=e.value;n?o=o.trim():i&&(o=G(o)),e._assign(o)})),n&&Lr(e,"change",(()=>{e.value=e.value.trim()})),t||(Lr(e,"compositionstart",Hr),Lr(e,"compositionend",Jr),Lr(e,"change",Jr))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{trim:n,number:o}},r){if(e._assign=qr(r),e.composing)return;if(document.activeElement===e){if(n&&e.value.trim()===t)return;if((o||"number"===e.type)&&G(e.value)===t)return}const i=null==t?"":t;e.value!==i&&(e.value=i)}},Kr={created(e,t,n){e._assign=qr(n),Lr(e,"change",(()=>{const t=e._modelValue,n=Zr(e),o=e.checked,r=e._assign;if(O(t)){const e=d(t,n),i=-1!==e;if(o&&!i)r(t.concat(n));else if(!o&&i){const n=[...t];n.splice(e,1),r(n)}}else if(C(t)){const e=new Set(t);o?e.add(n):e.delete(n),r(e)}else r(Qr(e,o))}))},mounted:Xr,beforeUpdate(e,t,n){e._assign=qr(n),Xr(e,t,n)}};function Xr(e,{value:t,oldValue:n},o){e._modelValue=t,O(t)?e.checked=d(t,o.props.value)>-1:C(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=u(t,Qr(e,!0)))}const Gr={created(e,{value:t,modifiers:{number:n}},o){const r=C(t);Lr(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?G(Zr(e)):Zr(e)));e._assign(e.multiple?r?new Set(t):t:t[0])})),e._assign=qr(o)},mounted(e,{value:t}){Yr(e,t)},beforeUpdate(e,t,n){e._assign=qr(n)},updated(e,{value:t}){Yr(e,t)}};function Yr(e,t){const n=e.multiple;if(!n||O(t)||C(t)){for(let o=0,r=e.options.length;o<r;o++){const r=e.options[o],i=Zr(r);if(n)O(t)?r.selected=d(t,i)>-1:r.selected=t.has(i);else if(u(Zr(r),t))return void(e.selectedIndex=o)}n||(e.selectedIndex=-1)}else dt(`<select multiple v-model> expects an Array or Set value for its binding, but got ${Object.prototype.toString.call(t).slice(8,-1)}.`)}function Zr(e){return"_value"in e?e._value:e.value}function Qr(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const ei=w({patchProp:(e,t,o,r,i=!1,s,a,l,c)=>{switch(t){case"class":!function(e,t,n){if(null==t&&(t=""),n)e.setAttribute("class",t);else{const n=e._vtc;n&&(t=(t?[t,...n]:[...n]).join(" ")),e.className=t}}(e,r,i);break;case"style":!function(e,t,n){const o=e.style;if(n)if($(n))t!==n&&(o.cssText=n);else{for(const e in n)Fr(o,e,n[e]);if(t&&!$(t))for(const e in t)null==n[e]&&Fr(o,e,"")}else e.removeAttribute("style")}(e,o,r);break;default:b(t)?_(t)||Dr(e,t,0,r,a):function(e,t,n,o){if(o)return"innerHTML"===t||!!(t in e&&zr.test(t)&&E(n));if("spellcheck"===t||"draggable"===t)return!1;if("form"===t&&"string"==typeof n)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if(zr.test(t)&&$(n))return!1;return t in e}(e,t,r,i)?function(e,t,n,o,r,i,s){if("innerHTML"===t||"textContent"===t)return o&&s(o,r,i),void(e[t]=null==n?"":n);if("value"!==t||"PROGRESS"===e.tagName){if(""===n||null==n){const o=typeof e[t];if(""===n&&"boolean"===o)return void(e[t]=!0);if(null==n&&"string"===o)return e[t]="",void e.removeAttribute(t);if("number"===o)return e[t]=0,void e.removeAttribute(t)}try{e[t]=n}catch(o){dt(`Failed setting prop "${t}" on <${e.tagName.toLowerCase()}>: value ${n} is invalid.`,o)}}else{e._value=n;const t=null==n?"":n;e.value!==t&&(e.value=t)}}(e,t,r,s,a,l,c):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),function(e,t,o,r){if(r&&t.startsWith("xlink:"))null==o?e.removeAttributeNS(Tr,t.slice(6,t.length)):e.setAttributeNS(Tr,t,o);else{const r=n(t);null==o||r&&!1===o?e.removeAttribute(t):e.setAttribute(t,r?"":o)}}(e,t,r,i))}},forcePatchProp:(e,t)=>"value"===t},$r);let ti;const ni=(...e)=>{const t=(ti||(ti=bo(ei))).createApp(...e);!function(e){Object.defineProperty(e.config,"isNativeTag",{value:e=>l(e)||c(e),writable:!1})}(t);const{mount:n}=t;return t.mount=e=>{const o=function(e){if($(e)){const t=document.querySelector(e);return t||dt(`Failed to mount app: mount target selector "${e}" returned null.`),t}e instanceof ShadowRoot&&"closed"===e.mode&&dt('mounting on a ShadowRoot with `{mode: "closed"}` may lead to unpredictable bugs');return e}(e);if(!o)return;const r=t._component;E(r)||r.render||r.template||(r.template=o.innerHTML),o.innerHTML="";const i=n(o);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t};!function(){const e=Y||(Y="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});var t;e.__VUE__=!0,t=e.__VUE_DEVTOOLS_GLOBAL_HOOK__,Jt=t,function(){if("undefined"==typeof window)return;const e={style:"color:#3ba776"},t={style:"color:#0b1bc9"},n={style:"color:#b62e24"},o={style:"color:#9d288c"},r={header:t=>F(t)?t.__isVue?["div",e,"VueInstance"]:ot(t)?["div",{},["span",e,u(t)],"<",a(t.value),">"]:Qe(t)?["div",{},["span",e,"Reactive"],"<",a(t),">"+(et(t)?" (readonly)":"")]:et(t)?["div",{},["span",e,"Readonly"],"<",a(t),">"]:null:null,hasBody:e=>e&&e.__isVue,body(e){if(e&&e.__isVue)return["div",{},...i(e.$)]}};function i(e){const t=[];e.type.props&&e.props&&t.push(s("props",nt(e.props))),e.setupState!==h&&t.push(s("setup",e.setupState)),e.data!==h&&t.push(s("data",nt(e.data)));const n=l(e,"computed");n&&t.push(s("computed",n));const r=l(e,"inject");return r&&t.push(s("injected",r)),t.push(["div",{},["span",{style:o.style+";opacity:0.66"},"$ (internal): "],["object",{object:e}]]),t}function s(e,t){return t=w({},t),Object.keys(t).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},e],["div",{style:"padding-left:1.25em"},...Object.keys(t).map((e=>["div",{},["span",o,e+": "],a(t[e],!1)]))]]:["span",{}]}function a(e,r=!0){return"number"==typeof e?["span",t,e]:"string"==typeof e?["span",n,JSON.stringify(e)]:"boolean"==typeof e?["span",o,e]:F(e)?["object",{object:r?nt(e):e}]:["span",n,String(e)]}function l(e,t){const n=e.type;if(E(n))return;const o={};for(const r in e.ctx)c(n,r,t)&&(o[r]=e.ctx[r]);return o}function c(e,t,n){const o=e[n];return!!(O(o)&&o.includes(t)||F(o)&&t in o)||!(!e.extends||!c(e.extends,t,n))||!(!e.mixins||!e.mixins.some((e=>c(e,t,n))))||void 0}function u(e){return e._shallow?"ShallowRef":e.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(r):window.devtoolsFormatters=[r]}()}();var oi={name:"StringValue",props:{id:{type:String,default:""},value:Object},methods:{focus(){this.$refs.input.focus()}},computed:{inputValue:{set(e){this.value.String=e},get(){return this.value.String}}}};oi.render=function(e,t,n,o,r,i){return so((Po(),To("input",{ref:"input",type:"text",id:n.id,"onUpdate:modelValue":t[1]||(t[1]=e=>i.inputValue=e)},null,8,["id"])),[[Wr,i.inputValue]])},oi.__file="src/components/StringValue.vue";var ri={name:"DecimalValue",props:{id:{type:String,default:""},value:Object},methods:{focus(){this.$refs.input.focus()}},computed:{inputValue:{set(e){this.value.Decimal=parseFloat(e)},get(){return this.value.Decimal}}}};ri.render=function(e,t,n,o,r,i){return so((Po(),To("input",{ref:"input",type:"number",id:n.id,step:"any","onUpdate:modelValue":t[1]||(t[1]=e=>i.inputValue=e)},null,8,["id"])),[[Wr,i.inputValue]])},ri.__file="src/components/DecimalValue.vue";var ii={name:"BooleanValue",props:{id:{type:String,default:""},value:Object},methods:{focus(){this.$refs.input.focus()}},computed:{inputValue:{set(e){this.value.Boolean=!!e},get(){return this.value.Boolean}}}};ii.render=function(e,t,n,o,r,i){return so((Po(),To("input",{ref:"input",type:"checkbox",id:n.id,value:"true","onUpdate:modelValue":t[1]||(t[1]=e=>i.inputValue=e)},null,8,["id"])),[[Kr,i.inputValue]])},ii.__file="src/components/BooleanValue.vue";var si={name:"IntegerValue",props:{id:{type:String,default:""},value:Object},methods:{focus(){this.$refs.input.focus()}},computed:{inputValue:{set(e){this.value.Integer=parseInt(e)},get(){return this.value.Integer}}}};si.render=function(e,t,n,o,r,i){return so((Po(),To("input",{ref:"input",type:"number",id:n.id,step:"1","onUpdate:modelValue":t[1]||(t[1]=e=>i.inputValue=e)},null,8,["id"])),[[Wr,i.inputValue]])},si.__file="src/components/IntegerValue.vue";var ai=Object.prototype;function li(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||ai)}var ci,ui,di=(ci=Object.keys,ui=Object,function(e){return ci(ui(e))}),fi=Object.prototype.hasOwnProperty;function pi(e){if(!li(e))return di(e);var t=[];for(var n in Object(e))fi.call(e,n)&&"constructor"!=n&&t.push(n);return t}var hi="object"==typeof global&&global&&global.Object===Object&&global,mi="object"==typeof self&&self&&self.Object===Object&&self,vi=hi||mi||Function("return this")(),yi=vi.Symbol,gi=Object.prototype,bi=gi.hasOwnProperty,_i=gi.toString,wi=yi?yi.toStringTag:void 0;var ji=Object.prototype.toString;var xi=yi?yi.toStringTag:void 0;function ki(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":xi&&xi in Object(e)?function(e){var t=bi.call(e,wi),n=e[wi];try{e[wi]=void 0;var o=!0}catch(e){}var r=_i.call(e);return o&&(t?e[wi]=n:delete e[wi]),r}(e):function(e){return ji.call(e)}(e)}function Oi(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Si(e){if(!Oi(e))return!1;var t=ki(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}var Ci=vi["__core-js_shared__"],Ri=function(){var e=/[^.]+$/.exec(Ci&&Ci.keys&&Ci.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();var Ei=Function.prototype.toString;function $i(e){if(null!=e){try{return Ei.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var Ai=/^\[object .+?Constructor\]$/,Fi=Function.prototype,Pi=Object.prototype,Vi=Fi.toString,Ti=Pi.hasOwnProperty,Ni=RegExp("^"+Vi.call(Ti).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Ii(e){return!(!Oi(e)||function(e){return!!Ri&&Ri in e}(e))&&(Si(e)?Ni:Ai).test($i(e))}function Ui(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Ii(n)?n:void 0}var Mi=Ui(vi,"DataView"),Li=Ui(vi,"Map"),Di=Ui(vi,"Promise"),Bi=Ui(vi,"Set"),zi=Ui(vi,"WeakMap"),qi="[object Map]",Hi="[object Promise]",Ji="[object Set]",Wi="[object WeakMap]",Ki="[object DataView]",Xi=$i(Mi),Gi=$i(Li),Yi=$i(Di),Zi=$i(Bi),Qi=$i(zi),es=ki;(Mi&&es(new Mi(new ArrayBuffer(1)))!=Ki||Li&&es(new Li)!=qi||Di&&es(Di.resolve())!=Hi||Bi&&es(new Bi)!=Ji||zi&&es(new zi)!=Wi)&&(es=function(e){var t=ki(e),n="[object Object]"==t?e.constructor:void 0,o=n?$i(n):"";if(o)switch(o){case Xi:return Ki;case Gi:return qi;case Yi:return Hi;case Zi:return Ji;case Qi:return Wi}return t});var ts=es;function ns(e){return null!=e&&"object"==typeof e}function os(e){return ns(e)&&"[object Arguments]"==ki(e)}var rs=Object.prototype,is=rs.hasOwnProperty,ss=rs.propertyIsEnumerable,as=os(function(){return arguments}())?os:function(e){return ns(e)&&is.call(e,"callee")&&!ss.call(e,"callee")},ls=Array.isArray;function cs(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function us(e){return null!=e&&cs(e.length)&&!Si(e)}var ds="object"==typeof exports&&exports&&!exports.nodeType&&exports,fs=ds&&"object"==typeof module&&module&&!module.nodeType&&module,ps=fs&&fs.exports===ds?vi.Buffer:void 0,hs=(ps?ps.isBuffer:void 0)||function(){return!1},ms={};ms["[object Float32Array]"]=ms["[object Float64Array]"]=ms["[object Int8Array]"]=ms["[object Int16Array]"]=ms["[object Int32Array]"]=ms["[object Uint8Array]"]=ms["[object Uint8ClampedArray]"]=ms["[object Uint16Array]"]=ms["[object Uint32Array]"]=!0,ms["[object Arguments]"]=ms["[object Array]"]=ms["[object ArrayBuffer]"]=ms["[object Boolean]"]=ms["[object DataView]"]=ms["[object Date]"]=ms["[object Error]"]=ms["[object Function]"]=ms["[object Map]"]=ms["[object Number]"]=ms["[object Object]"]=ms["[object RegExp]"]=ms["[object Set]"]=ms["[object String]"]=ms["[object WeakMap]"]=!1;var vs="object"==typeof exports&&exports&&!exports.nodeType&&exports,ys=vs&&"object"==typeof module&&module&&!module.nodeType&&module,gs=ys&&ys.exports===vs&&hi.process,bs=function(){try{var e=ys&&ys.require&&ys.require("util").types;return e||gs&&gs.binding&&gs.binding("util")}catch(e){}}(),_s=bs&&bs.isTypedArray,ws=_s?function(e){return function(t){return e(t)}}(_s):function(e){return ns(e)&&cs(e.length)&&!!ms[ki(e)]},js=Object.prototype.hasOwnProperty;function xs(){return"f"+Math.random().toString(16).replace(".","")+(+new Date).toString(16)}function ks(e,t){let n={};for(let o of e)"string"==typeof t?n[o[t]]=o:n[t(o)]=o;return n}function Os(e){return JSON.parse(JSON.stringify(e))}function Ss(e){return+e}function Cs(e){return"number"!=typeof e&&(!0!==e&&("string"==typeof e?0===e.length:function(e){if(null==e)return!0;if(us(e)&&(ls(e)||"string"==typeof e||"function"==typeof e.splice||hs(e)||ws(e)||as(e)))return!e.length;var t=ts(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(li(e))return!pi(e).length;for(var n in e)if(js.call(e,n))return!1;return!0}(e)))}var Rs={name:"PropertyField",props:["model","values"],data:()=>({widget_id:xs(),fieldRefs:[]}),methods:{addValue(e){this.values.push(Os(this.model.default)),At((()=>{this.fieldRefs[this.values.length-1].focus()}))},removeValue(e){this.values.splice(e,1)},setFieldRef(e){e&&this.fieldRefs.push(e)}},beforeUpdate(){this.fieldRefs=[]}};const Es={key:0},$s={key:2};function As(e,t){for(var n=-1,o=null==e?0:e.length;++n<o&&!1!==t(e[n],n,e););return e}Rs.render=function(e,t,n,o,r,i){const s=ko("string-value"),a=ko("integer-value"),l=ko("decimal-value"),c=ko("boolean-value");return Po(),To(Co,null,[0===n.values.length?(Po(),To("tr",Es,[Do("th",{onClick:t[1]||(t[1]=(...e)=>i.addValue&&i.addValue(...e))},f(n.model.name),1),Do("td",null,[Do("a",{href:"#",onClick:t[2]||(t[2]=(...e)=>i.addValue&&i.addValue(...e))},"Add")])])):(Po(!0),To(Co,{key:1},kr(n.values,((e,t)=>(Po(),To("tr",{key:t},[0==t?(Po(),To("th",{key:0,rowspan:n.values.length+n.model.multiple},[Do("label",{for:r.widget_id},f(n.model.name),9,["for"])],8,["rowspan"])):qo("v-if",!0),Do("td",null,["String"===n.model.data_type?(Po(),To(s,{key:0,ref:i.setFieldRef,value:e,id:0===t?r.widget_id:null},null,8,["value","id"])):qo("v-if",!0),"Integer"===n.model.data_type?(Po(),To(a,{key:1,ref:i.setFieldRef,value:e,id:0===t?r.widget_id:null},null,8,["value","id"])):qo("v-if",!0),"Decimal"===n.model.data_type?(Po(),To(l,{key:2,ref:i.setFieldRef,value:e,id:0===t?r.widget_id:null},null,8,["value","id"])):qo("v-if",!0),"Boolean"===n.model.data_type?(Po(),To(c,{key:3,ref:i.setFieldRef,value:e,id:0===t?r.widget_id:null},null,8,["value","id"])):qo("v-if",!0),t>0||n.model.optional?(Po(),To("a",{key:4,href:"#",onClick:e=>i.removeValue(t),style:{"margin-left":"5px"}},"X",8,["onClick"])):qo("v-if",!0)])])))),128)),n.values.length>0&&n.model.multiple?(Po(),To("tr",$s,[Do("td",null,[Do("a",{href:"#",onClick:t[3]||(t[3]=(...e)=>i.addValue&&i.addValue(...e))},"Add")])])):qo("v-if",!0)],64)},Rs.__file="src/components/PropertyField.vue";var Fs,Ps=function(e,t,n){for(var o=-1,r=Object(e),i=n(e),s=i.length;s--;){var a=i[Fs?s:++o];if(!1===t(r[a],a,r))break}return e};var Vs=/^(?:0|[1-9]\d*)$/;function Ts(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&Vs.test(e))&&e>-1&&e%1==0&&e<t}var Ns=Object.prototype.hasOwnProperty;function Is(e,t){var n=ls(e),o=!n&&as(e),r=!n&&!o&&hs(e),i=!n&&!o&&!r&&ws(e),s=n||o||r||i,a=s?function(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}(e.length,String):[],l=a.length;for(var c in e)!t&&!Ns.call(e,c)||s&&("length"==c||r&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Ts(c,l))||a.push(c);return a}function Us(e){return us(e)?Is(e):pi(e)}var Ms=function(e,t){return function(n,o){if(null==n)return n;if(!us(n))return e(n,o);for(var r=n.length,i=t?r:-1,s=Object(n);(t?i--:++i<r)&&!1!==o(s[i],i,s););return n}}((function(e,t){return e&&Ps(e,t,Us)}));function Ls(e){return e}function Ds(e,t){var n;return(ls(e)?As:Ms)(e,"function"==typeof(n=t)?n:Ls)}var Bs=function(e,t){return function(){for(var n=new Array(arguments.length),o=0;o<n.length;o++)n[o]=arguments[o];return e.apply(t,n)}},zs=Object.prototype.toString;function qs(e){return"[object Array]"===zs.call(e)}function Hs(e){return void 0===e}function Js(e){return null!==e&&"object"==typeof e}function Ws(e){if("[object Object]"!==zs.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function Ks(e){return"[object Function]"===zs.call(e)}function Xs(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),qs(e))for(var n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.call(null,e[r],r,e)}var Gs={isArray:qs,isArrayBuffer:function(e){return"[object ArrayBuffer]"===zs.call(e)},isBuffer:function(e){return null!==e&&!Hs(e)&&null!==e.constructor&&!Hs(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:Js,isPlainObject:Ws,isUndefined:Hs,isDate:function(e){return"[object Date]"===zs.call(e)},isFile:function(e){return"[object File]"===zs.call(e)},isBlob:function(e){return"[object Blob]"===zs.call(e)},isFunction:Ks,isStream:function(e){return Js(e)&&Ks(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:Xs,merge:function e(){var t={};function n(n,o){Ws(t[o])&&Ws(n)?t[o]=e(t[o],n):Ws(n)?t[o]=e({},n):qs(n)?t[o]=n.slice():t[o]=n}for(var o=0,r=arguments.length;o<r;o++)Xs(arguments[o],n);return t},extend:function(e,t,n){return Xs(t,(function(t,o){e[o]=n&&"function"==typeof t?Bs(t,n):t})),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}};function Ys(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var Zs=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(Gs.isURLSearchParams(t))o=t.toString();else{var r=[];Gs.forEach(t,(function(e,t){null!=e&&(Gs.isArray(e)?t+="[]":e=[e],Gs.forEach(e,(function(e){Gs.isDate(e)?e=e.toISOString():Gs.isObject(e)&&(e=JSON.stringify(e)),r.push(Ys(t)+"="+Ys(e))})))})),o=r.join("&")}if(o){var i=e.indexOf("#");-1!==i&&(e=e.slice(0,i)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e};function Qs(){this.handlers=[]}Qs.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},Qs.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},Qs.prototype.forEach=function(e){Gs.forEach(this.handlers,(function(t){null!==t&&e(t)}))};var ea=Qs,ta=function(e,t,n){return Gs.forEach(n,(function(n){e=n(e,t)})),e},na=function(e){return!(!e||!e.__CANCEL__)},oa=function(e,t){Gs.forEach(e,(function(n,o){o!==t&&o.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[o])}))},ra=function(e,t,n,o,r){return function(e,t,n,o,r){return e.config=t,n&&(e.code=n),e.request=o,e.response=r,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}(new Error(e),t,n,o,r)},ia=Gs.isStandardBrowserEnv()?{write:function(e,t,n,o,r,i){var s=[];s.push(e+"="+encodeURIComponent(t)),Gs.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),Gs.isString(o)&&s.push("path="+o),Gs.isString(r)&&s.push("domain="+r),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}},sa=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"],aa=Gs.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var o=e;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=Gs.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0},la=function(e){return new Promise((function(t,n){var o=e.data,r=e.headers;Gs.isFormData(o)&&delete r["Content-Type"];var i=new XMLHttpRequest;if(e.auth){var s=e.auth.username||"",a=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";r.Authorization="Basic "+btoa(s+":"+a)}var l,c,u=(l=e.baseURL,c=e.url,l&&!/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(c)?function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}(l,c):c);if(i.open(e.method.toUpperCase(),Zs(u,e.params,e.paramsSerializer),!0),i.timeout=e.timeout,i.onreadystatechange=function(){if(i&&4===i.readyState&&(0!==i.status||i.responseURL&&0===i.responseURL.indexOf("file:"))){var o,r,s,a,l,c="getAllResponseHeaders"in i?(o=i.getAllResponseHeaders(),l={},o?(Gs.forEach(o.split("\n"),(function(e){if(a=e.indexOf(":"),r=Gs.trim(e.substr(0,a)).toLowerCase(),s=Gs.trim(e.substr(a+1)),r){if(l[r]&&sa.indexOf(r)>=0)return;l[r]="set-cookie"===r?(l[r]?l[r]:[]).concat([s]):l[r]?l[r]+", "+s:s}})),l):l):null,u={data:e.responseType&&"text"!==e.responseType?i.response:i.responseText,status:i.status,statusText:i.statusText,headers:c,config:e,request:i};!function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(ra("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}(t,n,u),i=null}},i.onabort=function(){i&&(n(ra("Request aborted",e,"ECONNABORTED",i)),i=null)},i.onerror=function(){n(ra("Network Error",e,null,i)),i=null},i.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(ra(t,e,"ECONNABORTED",i)),i=null},Gs.isStandardBrowserEnv()){var d=(e.withCredentials||aa(u))&&e.xsrfCookieName?ia.read(e.xsrfCookieName):void 0;d&&(r[e.xsrfHeaderName]=d)}if("setRequestHeader"in i&&Gs.forEach(r,(function(e,t){void 0===o&&"content-type"===t.toLowerCase()?delete r[t]:i.setRequestHeader(t,e)})),Gs.isUndefined(e.withCredentials)||(i.withCredentials=!!e.withCredentials),e.responseType)try{i.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&i.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&i.upload&&i.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){i&&(i.abort(),n(e),i=null)})),o||(o=null),i.send(o)}))},ca={"Content-Type":"application/x-www-form-urlencoded"};function ua(e,t){!Gs.isUndefined(e)&&Gs.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var da,fa={adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(da=la),da),transformRequest:[function(e,t){return oa(t,"Accept"),oa(t,"Content-Type"),Gs.isFormData(e)||Gs.isArrayBuffer(e)||Gs.isBuffer(e)||Gs.isStream(e)||Gs.isFile(e)||Gs.isBlob(e)?e:Gs.isArrayBufferView(e)?e.buffer:Gs.isURLSearchParams(e)?(ua(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):Gs.isObject(e)?(ua(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300}};fa.headers={common:{Accept:"application/json, text/plain, */*"}},Gs.forEach(["delete","get","head"],(function(e){fa.headers[e]={}})),Gs.forEach(["post","put","patch"],(function(e){fa.headers[e]=Gs.merge(ca)}));var pa=fa;function ha(e){e.cancelToken&&e.cancelToken.throwIfRequested()}var ma=function(e){return ha(e),e.headers=e.headers||{},e.data=ta(e.data,e.headers,e.transformRequest),e.headers=Gs.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),Gs.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||pa.adapter)(e).then((function(t){return ha(e),t.data=ta(t.data,t.headers,e.transformResponse),t}),(function(t){return na(t)||(ha(e),t&&t.response&&(t.response.data=ta(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))},va=function(e,t){t=t||{};var n={},o=["url","method","data"],r=["headers","auth","proxy","params"],i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function a(e,t){return Gs.isPlainObject(e)&&Gs.isPlainObject(t)?Gs.merge(e,t):Gs.isPlainObject(t)?Gs.merge({},t):Gs.isArray(t)?t.slice():t}function l(o){Gs.isUndefined(t[o])?Gs.isUndefined(e[o])||(n[o]=a(void 0,e[o])):n[o]=a(e[o],t[o])}Gs.forEach(o,(function(e){Gs.isUndefined(t[e])||(n[e]=a(void 0,t[e]))})),Gs.forEach(r,l),Gs.forEach(i,(function(o){Gs.isUndefined(t[o])?Gs.isUndefined(e[o])||(n[o]=a(void 0,e[o])):n[o]=a(void 0,t[o])})),Gs.forEach(s,(function(o){o in t?n[o]=a(e[o],t[o]):o in e&&(n[o]=a(void 0,e[o]))}));var c=o.concat(r).concat(i).concat(s),u=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===c.indexOf(e)}));return Gs.forEach(u,l),n};function ya(e){this.defaults=e,this.interceptors={request:new ea,response:new ea}}ya.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=va(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[ma,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)n=n.then(t.shift(),t.shift());return n},ya.prototype.getUri=function(e){return e=va(this.defaults,e),Zs(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},Gs.forEach(["delete","get","head","options"],(function(e){ya.prototype[e]=function(t,n){return this.request(va(n||{},{method:e,url:t,data:(n||{}).data}))}})),Gs.forEach(["post","put","patch"],(function(e){ya.prototype[e]=function(t,n,o){return this.request(va(o||{},{method:e,url:t,data:n}))}}));var ga=ya;function ba(e){this.message=e}ba.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},ba.prototype.__CANCEL__=!0;var _a=ba;function wa(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new _a(e),t(n.reason))}))}wa.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},wa.source=function(){var e;return{token:new wa((function(t){e=t})),cancel:e}};var ja=wa;function xa(e){var t=new ga(e),n=Bs(ga.prototype.request,t);return Gs.extend(n,ga.prototype,t),Gs.extend(n,t),n}var ka=xa(pa);ka.Axios=ga,ka.create=function(e){return xa(va(ka.defaults,e))},ka.Cancel=_a,ka.CancelToken=ja,ka.isCancel=na,ka.all=function(e){return Promise.all(e)},ka.spread=function(e){return function(t){return e.apply(null,t)}},ka.isAxiosError=function(e){return"object"==typeof e&&!0===e.isAxiosError};var Oa=ka,Sa=ka;Oa.default=Sa;var Ca=Oa;function Ra(e,t){return e===t||e!=e&&t!=t}function Ea(e,t){for(var n=e.length;n--;)if(Ra(e[n][0],t))return n;return-1}var $a=Array.prototype.splice;function Aa(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}Aa.prototype.clear=function(){this.__data__=[],this.size=0},Aa.prototype.delete=function(e){var t=this.__data__,n=Ea(t,e);return!(n<0)&&(n==t.length-1?t.pop():$a.call(t,n,1),--this.size,!0)},Aa.prototype.get=function(e){var t=this.__data__,n=Ea(t,e);return n<0?void 0:t[n][1]},Aa.prototype.has=function(e){return Ea(this.__data__,e)>-1},Aa.prototype.set=function(e,t){var n=this.__data__,o=Ea(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this};var Fa=Ui(Object,"create");var Pa=Object.prototype.hasOwnProperty;var Va=Object.prototype.hasOwnProperty;function Ta(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function Na(e,t){var n,o,r=e.__data__;return("string"==(o=typeof(n=t))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==n:null===n)?r["string"==typeof t?"string":"hash"]:r.map}function Ia(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}Ta.prototype.clear=function(){this.__data__=Fa?Fa(null):{},this.size=0},Ta.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Ta.prototype.get=function(e){var t=this.__data__;if(Fa){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Pa.call(t,e)?t[e]:void 0},Ta.prototype.has=function(e){var t=this.__data__;return Fa?void 0!==t[e]:Va.call(t,e)},Ta.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Fa&&void 0===t?"__lodash_hash_undefined__":t,this},Ia.prototype.clear=function(){this.size=0,this.__data__={hash:new Ta,map:new(Li||Aa),string:new Ta}},Ia.prototype.delete=function(e){var t=Na(this,e).delete(e);return this.size-=t?1:0,t},Ia.prototype.get=function(e){return Na(this,e).get(e)},Ia.prototype.has=function(e){return Na(this,e).has(e)},Ia.prototype.set=function(e,t){var n=Na(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this};function Ua(e){var t=this.__data__=new Aa(e);this.size=t.size}Ua.prototype.clear=function(){this.__data__=new Aa,this.size=0},Ua.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Ua.prototype.get=function(e){return this.__data__.get(e)},Ua.prototype.has=function(e){return this.__data__.has(e)},Ua.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Aa){var o=n.__data__;if(!Li||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new Ia(o)}return n.set(e,t),this.size=n.size,this};function Ma(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Ia;++t<n;)this.add(e[t])}function La(e,t){for(var n=-1,o=null==e?0:e.length;++n<o;)if(t(e[n],n,e))return!0;return!1}Ma.prototype.add=Ma.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Ma.prototype.has=function(e){return this.__data__.has(e)};function Da(e,t,n,o,r,i){var s=1&n,a=e.length,l=t.length;if(a!=l&&!(s&&l>a))return!1;var c=i.get(e),u=i.get(t);if(c&&u)return c==t&&u==e;var d=-1,f=!0,p=2&n?new Ma:void 0;for(i.set(e,t),i.set(t,e);++d<a;){var h=e[d],m=t[d];if(o)var v=s?o(m,h,d,t,e,i):o(h,m,d,e,t,i);if(void 0!==v){if(v)continue;f=!1;break}if(p){if(!La(t,(function(e,t){if(s=t,!p.has(s)&&(h===e||r(h,e,n,o,i)))return p.push(t);var s}))){f=!1;break}}else if(h!==m&&!r(h,m,n,o,i)){f=!1;break}}return i.delete(e),i.delete(t),f}var Ba=vi.Uint8Array;function za(e){var t=-1,n=Array(e.size);return e.forEach((function(e,o){n[++t]=[o,e]})),n}function qa(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var Ha=yi?yi.prototype:void 0,Ja=Ha?Ha.valueOf:void 0;var Wa=Object.prototype.propertyIsEnumerable,Ka=Object.getOwnPropertySymbols,Xa=Ka?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,o=null==e?0:e.length,r=0,i=[];++n<o;){var s=e[n];t(s,n,e)&&(i[r++]=s)}return i}(Ka(e),(function(t){return Wa.call(e,t)})))}:function(){return[]};function Ga(e){return function(e,t,n){var o=t(e);return ls(e)?o:function(e,t){for(var n=-1,o=t.length,r=e.length;++n<o;)e[r+n]=t[n];return e}(o,n(e))}(e,Us,Xa)}var Ya=Object.prototype.hasOwnProperty;var Za="[object Arguments]",Qa="[object Array]",el="[object Object]",tl=Object.prototype.hasOwnProperty;function nl(e,t,n,o,r,i){var s=ls(e),a=ls(t),l=s?Qa:ts(e),c=a?Qa:ts(t),u=(l=l==Za?el:l)==el,d=(c=c==Za?el:c)==el,f=l==c;if(f&&hs(e)){if(!hs(t))return!1;s=!0,u=!1}if(f&&!u)return i||(i=new Ua),s||ws(e)?Da(e,t,n,o,r,i):function(e,t,n,o,r,i,s){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!i(new Ba(e),new Ba(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Ra(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var a=za;case"[object Set]":var l=1&o;if(a||(a=qa),e.size!=t.size&&!l)return!1;var c=s.get(e);if(c)return c==t;o|=2,s.set(e,t);var u=Da(a(e),a(t),o,r,i,s);return s.delete(e),u;case"[object Symbol]":if(Ja)return Ja.call(e)==Ja.call(t)}return!1}(e,t,l,n,o,r,i);if(!(1&n)){var p=u&&tl.call(e,"__wrapped__"),h=d&&tl.call(t,"__wrapped__");if(p||h){var m=p?e.value():e,v=h?t.value():t;return i||(i=new Ua),r(m,v,n,o,i)}}return!!f&&(i||(i=new Ua),function(e,t,n,o,r,i){var s=1&n,a=Ga(e),l=a.length;if(l!=Ga(t).length&&!s)return!1;for(var c=l;c--;){var u=a[c];if(!(s?u in t:Ya.call(t,u)))return!1}var d=i.get(e),f=i.get(t);if(d&&f)return d==t&&f==e;var p=!0;i.set(e,t),i.set(t,e);for(var h=s;++c<l;){var m=e[u=a[c]],v=t[u];if(o)var y=s?o(v,m,u,t,e,i):o(m,v,u,e,t,i);if(!(void 0===y?m===v||r(m,v,n,o,i):y)){p=!1;break}h||(h="constructor"==u)}if(p&&!h){var g=e.constructor,b=t.constructor;g==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof g&&g instanceof g&&"function"==typeof b&&b instanceof b||(p=!1)}return i.delete(e),i.delete(t),p}(e,t,n,o,r,i))}function ol(e,t,n,o,r){return e===t||(null==e||null==t||!ns(e)&&!ns(t)?e!=e&&t!=t:nl(e,t,n,o,ol,r))}function rl(e,t){return ol(e,t)}var il={props:["model_id","schema","objects"],name:"NewObjectForm",data(){const e=this.schema.obj_models.find((e=>e.id===this.model_id));let t=this.schema.prop_models.filter((t=>t.object===e.id)),n=this.schema.rel_models.filter((t=>t.object===e.id));t.sort(((e,t)=>e.name.localeCompare(t.name))),n.sort(((e,t)=>e.name.localeCompare(t.name)));let o={};t.forEach((e=>{e.optional?o[e.id]=[]:o[e.id]=[Os(e.default)]})),t=ks(t,"id"),n=ks(n,"id");let r={};return this.schema.obj_models.forEach((e=>{r[e.id]=e.name})),{model:e,properties:t,relations:n,haveRelations:!Cs(n),model_names:r,values:o,name:"",relationRefs:[]}},methods:{collectData(){if(Cs(this.name))throw new Error("Name is required");let e=[];Ds(Os(this.values),((t,n)=>{for(let o of t)rl(o,{String:""})&&this.properties[n].optional||e.push({model:Ss(n),value:o})}));let t=[];for(let e of this.relationRefs)for(let n of e.collectData())t.push(n);return{model:this.model.id,name:this.name,values:e,relations:t}},trySave(){let e;try{e=this.collectData()}catch(e){return void alert(e.message)}console.log("Try save",e),Ca({method:"post",url:"/object/create",data:e}).then((function(e){location.href="/objects"})).catch((function(e){alert(e.response?e.response.data:e)}))},setRelationRef(e){e&&this.relationRefs.push(e)}},beforeUpdate(){this.relationRefs=[]},mounted(){this.$el.parentNode.classList.add("EditForm")}};const sl=Do("th",null,[Do("label",{for:"field-name"},"Name")],-1),al={key:0},ll=Do("h3",null,"Relations",-1);il.render=function(e,t,n,o,r,i){const s=ko("property"),a=ko("new-relation");return Po(),To(Co,null,[Do("h2",null,"New "+f(r.model.name),1),Do("p",null,[Do("input",{type:"button",value:"Save",onClick:t[1]||(t[1]=(...e)=>i.trySave&&i.trySave(...e))})]),Do("table",null,[Do("tr",null,[sl,Do("td",null,[so(Do("input",{type:"text",id:"field-name","onUpdate:modelValue":t[2]||(t[2]=e=>r.name=e)},null,512),[[Wr,r.name]])])]),(Po(!0),To(Co,null,kr(r.properties,((e,t)=>(Po(),To(s,{model:e,values:r.values[e.id],key:t},null,8,["model","values"])))),128))]),r.haveRelations?(Po(),To("div",al,[ll,(Po(!0),To(Co,null,kr(r.relations,(e=>(Po(),To(a,{ref:i.setRelationRef,model_id:e.id,objects:n.objects,schema:n.schema},null,8,["model_id","objects","schema"])))),256))])):qo("v-if",!0)],64)},il.__file="src/components/NewObjectForm.vue";var cl={props:["model_id","schema","objects"],name:"NewRelationForm",data(){const e=this.schema.rel_models.find((e=>e.id===this.model_id));if(!e)throw Error("Relation model not exist");let t=this.schema.prop_models.filter((t=>t.object===e.id));t.sort(((e,t)=>e.name.localeCompare(t.name))),t=Cs(t)?[]:ks(t,"id");let n=this.schema.obj_models.find((t=>t.id===e.related));if(!n)throw Error("Related model not exist");let o={};this.objects.forEach((t=>{t.model===e.related&&(o[t.id]=t.name)}));let r=[];if(!e.optional){let e={};Ds(this.properties,(t=>{t.optional?e[t.id]=[]:e[t.id]=[Os(t.default)]})),r.push({related:"",values:e})}return{model:e,related_model:n,properties:t,object_names:o,instances:r}},methods:{collectData(){let e=[];return Ds(Os(this.instances),(t=>{if(Cs(t.related)){if(!this.model.optional)throw new Error(`Relation "${this.model.name}" is required`);return}let n=[];Ds(t.values,((e,t)=>{for(let o of e)rl(o,{String:""})&&this.properties[t].optional||n.push({model:Ss(t),value:o})})),e.push({model:this.model.id,related:Ss(t.related),values:n})})),e},addInstance(){let e={};Ds(this.properties,(t=>{t.optional?e[t.id]=[]:e[t.id]=[Os(t.default)]})),this.instances.push({model:this.model.id,related:"",values:e})},removeInstance(e){this.instances.splice(e,1)}}};const ul=_n("data-v-0f98a4a0");gn("data-v-0f98a4a0");const dl={key:1},fl=Do("br",null,null,-1);bn();const pl=ul(((e,t,n,o,r,i)=>{const s=ko("property");return Po(),To(Co,null,[(Po(!0),To(Co,null,kr(r.instances,((e,t)=>(Po(),To("div",{class:"new-relation",key:t},[Do("b",null,[zo(f(r.model.name)+" -> "+f(r.related_model.name)+" ",1),so(Do("select",{"onUpdate:modelValue":t=>e.related=t},[(Po(!0),To(Co,null,kr(r.object_names,((e,t)=>(Po(),To("option",{value:t},f(e),9,["value"])))),256))],8,["onUpdate:modelValue"]),[[Gr,e.related]])]),r.model.multiple||r.model.optional&&r.instances.length>0?(Po(),To("a",{key:0,href:"#",style:{"margin-left":"5px"},onClick:e=>i.removeInstance(t)},"X",8,["onClick"])):qo("v-if",!0),r.properties?(Po(),To("table",dl,[(Po(!0),To(Co,null,kr(r.properties,((t,n)=>(Po(),To(s,{model:t,values:e.values[n],key:n},null,8,["model","values"])))),128))])):qo("v-if",!0)])))),128)),r.model.multiple||r.model.optional&&0==r.instances.length?(Po(),To("a",{key:0,href:"#",onClick:t[1]||(t[1]=(...e)=>i.addInstance&&i.addInstance(...e))},"Add "+f(r.model.name)+" -> "+f(r.related_model.name),1)):qo("v-if",!0),fl],64)}));cl.render=pl,cl.__scopeId="data-v-0f98a4a0",cl.__file="src/components/NewRelationForm.vue";var hl={props:["object","schema","objects"],name:"EditObjectForm",data(){let e=this.object;const t=this.schema.obj_models.find((t=>t.id===e.model));let n=this.schema.prop_models.filter((e=>e.object===t.id)),o=this.schema.rel_models.filter((e=>e.object===t.id));n.sort(((e,t)=>e.name.localeCompare(t.name))),o.sort(((e,t)=>e.name.localeCompare(t.name)));let r={};n.forEach((t=>{let n=e.values[t.id]||[];n.length?r[t.id]=n:t.optional?r[t.id]=[]:r[t.id]=[{value:Os(t.default)}]})),n=ks(n,"id"),o=ks(o,"id");let i={};return this.schema.obj_models.forEach((e=>{i[e.id]=e.name})),{model:t,properties:n,relations:o,haveRelations:!Cs(o),model_names:i,values:r,name:e.name,relationRefs:[]}},methods:{collectData(){if(Cs(this.name))throw new Error("Name is required");let e=[];Ds(Os(this.values),((t,n)=>{for(let o of t)rl(o.value,{String:""})&&this.properties[n].optional||(o.model=Ss(n),e.push(o))}));let t=[];for(let e of this.relationRefs)for(let n of e.collectData())t.push(n);return{model:this.object.model,id:this.object.id,name:this.name,values:e,relations:t}},trySave(){let e;try{e=this.collectData()}catch(e){return void alert(e.message)}console.log("Try save",e),Ca({method:"post",url:`/object/update/${this.object.id}`,data:e}).then((e=>{location.href=`/object/detail/${this.object.id}`})).catch((e=>{alert(e.response?e.response.data:e)}))},setRelationRef(e){e&&this.relationRefs.push(e)}},beforeUpdate(){this.relationRefs=[]},mounted(){this.$el.parentNode.classList.add("EditForm")}};const ml=Do("th",null,[Do("label",{for:"field-name"},"Name")],-1),vl={key:0},yl=Do("h3",null,"Relations",-1);hl.render=function(e,t,n,o,r,i){const s=ko("edit-property"),a=ko("edit-relation");return Po(),To(Co,null,[Do("h2",null,"Edit "+f(r.model.name),1),Do("p",null,[Do("input",{type:"button",value:"Save",onClick:t[1]||(t[1]=(...e)=>i.trySave&&i.trySave(...e))})]),Do("table",null,[Do("tr",null,[ml,Do("td",null,[so(Do("input",{type:"text",id:"field-name","onUpdate:modelValue":t[2]||(t[2]=e=>r.name=e)},null,512),[[Wr,r.name]])])]),(Po(!0),To(Co,null,kr(r.properties,((e,t)=>(Po(),To(s,{model:e,values:r.values[e.id],key:t},null,8,["model","values"])))),128))]),r.haveRelations?(Po(),To("div",vl,[yl,(Po(!0),To(Co,null,kr(r.relations,(e=>(Po(),To(a,{ref:i.setRelationRef,model_id:e.id,objects:n.objects,initialInstances:n.object.relations[e.id],schema:n.schema},null,8,["model_id","objects","initialInstances","schema"])))),256))])):qo("v-if",!0)],64)},hl.__file="src/components/EditObjectForm.vue";var gl={props:["model_id","schema","objects","initialInstances"],name:"EditRelationForm",data(){const e=this.schema.rel_models.find((e=>e.id===this.model_id));if(!e)throw Error("Relation model not exist");let t=this.schema.prop_models.filter((t=>t.object===e.id));t.sort(((e,t)=>e.name.localeCompare(t.name))),t=Cs(t)?[]:ks(t,"id");let n=this.schema.obj_models.find((t=>t.id===e.related));if(!n)throw Error("Related model not exist");let o={};return this.objects.forEach((t=>{t.model===e.related&&(o[t.id]=t.name)})),{model:e,related_model:n,properties:t,object_names:o,instances:Os(this.initialInstances)}},methods:{collectData(){console.log("relation->collect",this.instances);let e=[];return Ds(Os(this.instances),(t=>{if(console.log("a instance",t),Cs(t.related)){if(!this.model.optional)throw new Error(`Relation "${this.model.name}" is required`);return void console.log("empty related",t.related)}let n=[];Ds(t.values,((e,t)=>{for(let o of e)rl(o.value,{String:""})&&this.properties[t].optional||(o.model=Ss(t),n.push(o))})),t.related=Ss(t.related),t.model=this.model.id,t.values=n,e.push(t)})),console.log("collected",e),e},addInstance(){console.log("Add instance");let e={};Ds(this.properties,(t=>{t.optional?e[t.id]=[]:e[t.id]=[{id:null,value:Os(t.default)}]})),this.instances.push({related:"",values:e})},removeInstance(e){this.instances.splice(e,1)}}};const bl=_n("data-v-760e133a");gn("data-v-760e133a");const _l={key:1},wl=Do("br",null,null,-1);bn();const jl=bl(((e,t,n,o,r,i)=>{const s=ko("edit-property");return Po(),To(Co,null,[(Po(!0),To(Co,null,kr(r.instances,((e,t)=>(Po(),To("div",{class:"new-relation",key:t},[Do("b",null,[zo(f(r.model.name)+" -> "+f(r.related_model.name)+" ",1),so(Do("select",{"onUpdate:modelValue":t=>e.related=t},[(Po(!0),To(Co,null,kr(r.object_names,((e,t)=>(Po(),To("option",{value:t},f(e),9,["value"])))),256))],8,["onUpdate:modelValue"]),[[Gr,e.related]])]),r.model.multiple||r.model.optional&&r.instances.length>0?(Po(),To("a",{key:0,href:"#",style:{"margin-left":"5px"},onClick:e=>i.removeInstance(t)},"X",8,["onClick"])):qo("v-if",!0),r.properties?(Po(),To("table",_l,[(Po(!0),To(Co,null,kr(r.properties,((t,n)=>(Po(),To(s,{model:t,values:e.values[n],key:n},null,8,["model","values"])))),128))])):qo("v-if",!0)])))),128)),r.model.multiple||r.model.optional&&0==r.instances.length?(Po(),To("a",{key:0,href:"#",onClick:t[1]||(t[1]=(...e)=>i.addInstance&&i.addInstance(...e))},"Add "+f(r.model.name)+" -> "+f(r.related_model.name),1)):qo("v-if",!0),wl],64)}));gl.render=jl,gl.__scopeId="data-v-760e133a",gl.__file="src/components/EditRelationForm.vue";var xl={name:"EditPropertyField",props:["model","values"],data:()=>({widget_id:xs(),fieldRefs:[]}),methods:{addValue(e){this.values.push({model:this.model.id,value:Os(this.model.default)}),At((()=>{this.fieldRefs[this.values.length-1].focus()}))},removeValue(e){this.values.splice(e,1)},setFieldRef(e){e&&this.fieldRefs.push(e)}},beforeUpdate(){this.fieldRefs=[]}};const kl={key:0},Ol={key:2};function Sl(e){e.component("string-value",oi),e.component("integer-value",si),e.component("decimal-value",ri),e.component("boolean-value",ii)}xl.render=function(e,t,n,o,r,i){const s=ko("string-value"),a=ko("integer-value"),l=ko("decimal-value"),c=ko("boolean-value");return Po(),To(Co,null,[0===n.values.length?(Po(),To("tr",kl,[Do("th",{onClick:t[1]||(t[1]=(...e)=>i.addValue&&i.addValue(...e))},f(n.model.name),1),Do("td",null,[Do("a",{href:"#",onClick:t[2]||(t[2]=(...e)=>i.addValue&&i.addValue(...e))},"Add")])])):(Po(!0),To(Co,{key:1},kr(n.values,((e,t)=>(Po(),To("tr",{key:t},[0==t?(Po(),To("th",{key:0,rowspan:n.values.length+n.model.multiple},[Do("label",{for:r.widget_id},f(n.model.name),9,["for"])],8,["rowspan"])):qo("v-if",!0),Do("td",null,["String"===n.model.data_type?(Po(),To(s,{key:0,ref:i.setFieldRef,value:e.value,id:0===t?r.widget_id:null},null,8,["value","id"])):qo("v-if",!0),"Integer"===n.model.data_type?(Po(),To(a,{key:1,ref:i.setFieldRef,value:e.value,id:0===t?r.widget_id:null},null,8,["value","id"])):qo("v-if",!0),"Decimal"===n.model.data_type?(Po(),To(l,{key:2,ref:i.setFieldRef,value:e.value,id:0===t?r.widget_id:null},null,8,["value","id"])):qo("v-if",!0),"Boolean"===n.model.data_type?(Po(),To(c,{key:3,ref:i.setFieldRef,value:e.value,id:0===t?r.widget_id:null},null,8,["value","id"])):qo("v-if",!0),t>0||n.model.optional?(Po(),To("a",{key:4,href:"#",onClick:e=>i.removeValue(t),style:{"margin-left":"5px"}},"X",8,["onClick"])):qo("v-if",!0)])])))),128)),n.values.length>0&&n.model.multiple?(Po(),To("tr",Ol,[Do("td",null,[Do("a",{href:"#",onClick:t[3]||(t[3]=(...e)=>i.addValue&&i.addValue(...e))},"Add")])])):qo("v-if",!0)],64)},xl.__file="src/components/EditPropertyField.vue",window.onLoad=function(e){document.addEventListener("DOMContentLoaded",e)},window.Yopa={newObjectForm(e){let t=window.app=ni(il,e);return Sl(t),t.component("new-relation",cl),t.component("property",Rs),t.mount("#new-object-form")},editObjectForm(e){let t=window.app=ni(hl,e);return Sl(t),t.component("edit-relation",gl),t.component("edit-property",xl),t.mount("#edit-object-form")}},onLoad((()=>{setTimeout((()=>{let e=document.getElementsByClassName("toast");e.length&&(e[0].style.display="none")}),3e3)}))}();
//# sourceMappingURL=bundle.js.map