UNPKG

kdu

Version:

The progressive JavaScript framework for building modern web UI.

9 lines 149 kB
/** * kdu v3.4.27 * (c) 2021-present NKDuy * @license MIT **/ var Kdu=function(e){"use strict"; /*! #__NO_SIDE_EFFECTS__ */function t(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}const n={},s=[],o=()=>{},r=()=>!1,i=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),l=e=>e.startsWith("onUpdate:"),c=Object.assign,a=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},u=Object.prototype.hasOwnProperty,d=(e,t)=>u.call(e,t),p=Array.isArray,h=e=>"[object Map]"===k(e),f=e=>"[object Set]"===k(e),m=e=>"[object Date]"===k(e),g=e=>"function"==typeof e,y=e=>"string"==typeof e,v=e=>"symbol"==typeof e,b=e=>null!==e&&"object"==typeof e,_=e=>(b(e)||g(e))&&g(e.then)&&g(e.catch),S=Object.prototype.toString,k=e=>S.call(e),x=e=>k(e).slice(8,-1),C=e=>"[object Object]"===k(e),T=e=>y(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,w=t(",key,ref,ref_for,ref_key,onKnodeBeforeMount,onKnodeMounted,onKnodeBeforeUpdate,onKnodeUpdated,onKnodeBeforeUnmount,onKnodeUnmounted"),A=t("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),E=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},N=/-(\w)/g,I=E((e=>e.replace(N,((e,t)=>t?t.toUpperCase():"")))),R=/\B([A-Z])/g,O=E((e=>e.replace(R,"-$1").toLowerCase())),L=E((e=>e.charAt(0).toUpperCase()+e.slice(1))),F=E((e=>e?`on${L(e)}`:"")),M=(e,t)=>!Object.is(e,t),P=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},$=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},B=e=>{const t=parseFloat(e);return isNaN(t)?e:t},D=e=>{const t=y(e)?Number(e):NaN;return isNaN(t)?e:t};let K;const U=()=>K||(K="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}),j=t("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error");function H(e){if(p(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],o=y(s)?z(s):H(s);if(o)for(const e in o)t[e]=o[e]}return t}if(y(e)||b(e))return e}const q=/;(?![^(]*\))/g,V=/:([^]+)/,W=/\/\*[^]*?\*\//g;function z(e){const t={};return e.replace(W,"").split(q).forEach((e=>{if(e){const n=e.split(V);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function G(e){let t="";if(y(e))t=e;else if(p(e))for(let n=0;n<e.length;n++){const s=G(e[n]);s&&(t+=s+" ")}else if(b(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const J=t("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),X=t("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),Q=t("annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics"),Z=t("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),Y=t("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function ee(e){return!!e||""===e}function te(e,t){if(e===t)return!0;let n=m(e),s=m(t);if(n||s)return!(!n||!s)&&e.getTime()===t.getTime();if(n=v(e),s=v(t),n||s)return e===t;if(n=p(e),s=p(t),n||s)return!(!n||!s)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=te(e[s],t[s]);return n}(e,t);if(n=b(e),s=b(t),n||s){if(!n||!s)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const s=e.hasOwnProperty(n),o=t.hasOwnProperty(n);if(s&&!o||!s&&o||!te(e[n],t[n]))return!1}}return String(e)===String(t)}function ne(e,t){return e.findIndex((e=>te(e,t)))}const se=(e,t)=>t&&t.__k_isRef?se(e,t.value):h(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],s)=>(e[oe(t,s)+" =>"]=n,e)),{})}:f(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>oe(e)))}:v(t)?oe(t):!b(t)||p(t)||C(t)?t:String(t),oe=(e,t="")=>{var n;return v(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};var re=Object.defineProperty,ie=(e,t,n)=>(((e,t,n)=>{t in e?re(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);let le;class ce{constructor(e=!1){this.detached=e,ie(this,"_active",!0),ie(this,"effects",[]),ie(this,"cleanups",[]),ie(this,"parent"),ie(this,"scopes"),ie(this,"index"),this.parent=le,!e&&le&&(this.index=(le.scopes||(le.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=le;try{return le=this,e()}finally{le=t}}}on(){le=this}off(){le=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0,this._active=!1}}}function ae(e,t=le){t&&t.active&&t.effects.push(e)}function ue(){return le}var de=Object.defineProperty,pe=(e,t,n)=>(((e,t,n)=>{t in e?de(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);let he;class fe{constructor(e,t,n,s){this.fn=e,this.trigger=t,this.scheduler=n,pe(this,"active",!0),pe(this,"deps",[]),pe(this,"computed"),pe(this,"allowRecurse"),pe(this,"onStop"),pe(this,"onTrack"),pe(this,"onTrigger"),pe(this,"_dirtyLevel",4),pe(this,"_trackId",0),pe(this,"_runnings",0),pe(this,"_shouldSchedule",!1),pe(this,"_depsLength",0),ae(this,s)}get dirty(){if(2===this._dirtyLevel||3===this._dirtyLevel){this._dirtyLevel=1,ke();for(let e=0;e<this._depsLength;e++){const t=this.deps[e];if(t.computed&&(me(t.computed),this._dirtyLevel>=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),xe()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=be,t=he;try{return be=!0,he=this,this._runnings++,ge(this),this.fn()}finally{ye(this),this._runnings--,he=t,be=e}}stop(){this.active&&(ge(this),ye(this),this.onStop&&this.onStop(),this.active=!1)}}function me(e){return e.value}function ge(e){e._trackId++,e._depsLength=0}function ye(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)ve(e.deps[t],e);e.deps.length=e._depsLength}}function ve(e,t){const n=e.get(t);void 0!==n&&t._trackId!==n&&(e.delete(t),0===e.size&&e.cleanup())}let be=!0,_e=0;const Se=[];function ke(){Se.push(be),be=!1}function xe(){const e=Se.pop();be=void 0===e||e}function Ce(){_e++}function Te(){for(_e--;!_e&&Ae.length;)Ae.shift()()}function we(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&ve(n,e),e.deps[e._depsLength++]=t):e._depsLength++}}const Ae=[];function Ee(e,t,n){Ce();for(const s of e.keys()){let n;s._dirtyLevel<t&&(null!=n?n:n=e.get(s)===s._trackId)&&(s._shouldSchedule||(s._shouldSchedule=0===s._dirtyLevel),s._dirtyLevel=t),s._shouldSchedule&&(null!=n?n:n=e.get(s)===s._trackId)&&(s.trigger(),s._runnings&&!s.allowRecurse||2===s._dirtyLevel||(s._shouldSchedule=!1,s.scheduler&&Ae.push(s.scheduler)))}Te()}const Ne=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Ie=new WeakMap,Re=Symbol(""),Oe=Symbol("");function Le(e,t,n){if(be&&he){let t=Ie.get(e);t||Ie.set(e,t=new Map);let s=t.get(n);s||t.set(n,s=Ne((()=>t.delete(n)))),we(he,s)}}function Fe(e,t,n,s,o,r){const i=Ie.get(e);if(!i)return;let l=[];if("clear"===t)l=[...i.values()];else if("length"===n&&p(e)){const e=Number(s);i.forEach(((t,n)=>{("length"===n||!v(n)&&n>=e)&&l.push(t)}))}else switch(void 0!==n&&l.push(i.get(n)),t){case"add":p(e)?T(n)&&l.push(i.get("length")):(l.push(i.get(Re)),h(e)&&l.push(i.get(Oe)));break;case"delete":p(e)||(l.push(i.get(Re)),h(e)&&l.push(i.get(Oe)));break;case"set":h(e)&&l.push(i.get(Re))}Ce();for(const c of l)c&&Ee(c,4);Te()}const Me=t("__proto__,__k_isRef,__isKdu"),Pe=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(v)),$e=Be();function Be(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=At(this);for(let t=0,o=this.length;t<o;t++)Le(n,0,t+"");const s=n[t](...e);return-1===s||!1===s?n[t](...e.map(At)):s}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){ke(),Ce();const n=At(this)[t].apply(this,e);return Te(),xe(),n}})),e}function De(e){v(e)||(e=String(e));const t=At(this);return Le(t,0,e),t.hasOwnProperty(e)}class Ke{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const s=this._isReadonly,o=this._isShallow;if("__k_isReactive"===t)return!s;if("__k_isReadonly"===t)return s;if("__k_isShallow"===t)return o;if("__k_raw"===t)return n===(s?o?vt:yt:o?gt:mt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const r=p(e);if(!s){if(r&&d($e,t))return Reflect.get($e,t,n);if("hasOwnProperty"===t)return De}const i=Reflect.get(e,t,n);return(v(t)?Pe.has(t):Me(t))?i:(s||Le(e,0,t),o?i:Bt(i)?r&&T(t)?i:i.value:b(i)?s?St(i):bt(i):i)}}class Ue extends Ke{constructor(e=!1){super(!1,e)}set(e,t,n,s){let o=e[t];if(!this._isShallow){const t=Ct(o);if(Tt(n)||Ct(n)||(o=At(o),n=At(n)),!p(e)&&Bt(o)&&!Bt(n))return!t&&(o.value=n,!0)}const r=p(e)&&T(t)?Number(t)<e.length:d(e,t),i=Reflect.set(e,t,n,s);return e===At(s)&&(r?M(n,o)&&Fe(e,"set",t,n):Fe(e,"add",t,n)),i}deleteProperty(e,t){const n=d(e,t),s=Reflect.deleteProperty(e,t);return s&&n&&Fe(e,"delete",t,void 0),s}has(e,t){const n=Reflect.has(e,t);return v(t)&&Pe.has(t)||Le(e,0,t),n}ownKeys(e){return Le(e,0,p(e)?"length":Re),Reflect.ownKeys(e)}}class je extends Ke{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}const He=new Ue,qe=new je,Ve=new Ue(!0),We=new je(!0),ze=e=>e,Ge=e=>Reflect.getPrototypeOf(e);function Je(e,t,n=!1,s=!1){const o=At(e=e.__k_raw),r=At(t);n||(M(t,r)&&Le(o,0,t),Le(o,0,r));const{has:i}=Ge(o),l=s?ze:n?It:Nt;return i.call(o,t)?l(e.get(t)):i.call(o,r)?l(e.get(r)):void(e!==o&&e.get(t))}function Xe(e,t=!1){const n=this.__k_raw,s=At(n),o=At(e);return t||(M(e,o)&&Le(s,0,e),Le(s,0,o)),e===o?n.has(e):n.has(e)||n.has(o)}function Qe(e,t=!1){return e=e.__k_raw,!t&&Le(At(e),0,Re),Reflect.get(e,"size",e)}function Ze(e){e=At(e);const t=At(this);return Ge(t).has.call(t,e)||(t.add(e),Fe(t,"add",e,e)),this}function Ye(e,t){t=At(t);const n=At(this),{has:s,get:o}=Ge(n);let r=s.call(n,e);r||(e=At(e),r=s.call(n,e));const i=o.call(n,e);return n.set(e,t),r?M(t,i)&&Fe(n,"set",e,t):Fe(n,"add",e,t),this}function et(e){const t=At(this),{has:n,get:s}=Ge(t);let o=n.call(t,e);o||(e=At(e),o=n.call(t,e)),s&&s.call(t,e);const r=t.delete(e);return o&&Fe(t,"delete",e,void 0),r}function tt(){const e=At(this),t=0!==e.size,n=e.clear();return t&&Fe(e,"clear",void 0,void 0),n}function nt(e,t){return function(n,s){const o=this,r=o.__k_raw,i=At(r),l=t?ze:e?It:Nt;return!e&&Le(i,0,Re),r.forEach(((e,t)=>n.call(s,l(e),l(t),o)))}}function st(e,t,n){return function(...s){const o=this.__k_raw,r=At(o),i=h(r),l="entries"===e||e===Symbol.iterator&&i,c="keys"===e&&i,a=o[e](...s),u=n?ze:t?It:Nt;return!t&&Le(r,0,c?Oe:Re),{next(){const{value:e,done:t}=a.next();return t?{value:e,done:t}:{value:l?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function ot(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function rt(){const e={get(e){return Je(this,e)},get size(){return Qe(this)},has:Xe,add:Ze,set:Ye,delete:et,clear:tt,forEach:nt(!1,!1)},t={get(e){return Je(this,e,!1,!0)},get size(){return Qe(this)},has:Xe,add:Ze,set:Ye,delete:et,clear:tt,forEach:nt(!1,!0)},n={get(e){return Je(this,e,!0)},get size(){return Qe(this,!0)},has(e){return Xe.call(this,e,!0)},add:ot("add"),set:ot("set"),delete:ot("delete"),clear:ot("clear"),forEach:nt(!0,!1)},s={get(e){return Je(this,e,!0,!0)},get size(){return Qe(this,!0)},has(e){return Xe.call(this,e,!0)},add:ot("add"),set:ot("set"),delete:ot("delete"),clear:ot("clear"),forEach:nt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((o=>{e[o]=st(o,!1,!1),n[o]=st(o,!0,!1),t[o]=st(o,!1,!0),s[o]=st(o,!0,!0)})),[e,n,t,s]}const[it,lt,ct,at]=rt();function ut(e,t){const n=t?e?at:ct:e?lt:it;return(t,s,o)=>"__k_isReactive"===s?!e:"__k_isReadonly"===s?e:"__k_raw"===s?t:Reflect.get(d(n,s)&&s in t?n:t,s,o)}const dt={get:ut(!1,!1)},pt={get:ut(!1,!0)},ht={get:ut(!0,!1)},ft={get:ut(!0,!0)},mt=new WeakMap,gt=new WeakMap,yt=new WeakMap,vt=new WeakMap;function bt(e){return Ct(e)?e:kt(e,!1,He,dt,mt)}function _t(e){return kt(e,!1,Ve,pt,gt)}function St(e){return kt(e,!0,qe,ht,yt)}function kt(e,t,n,s,o){if(!b(e))return e;if(e.__k_raw&&(!t||!e.__k_isReactive))return e;const r=o.get(e);if(r)return r;const i=(l=e).__k_skip||!Object.isExtensible(l)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(x(l));var l;if(0===i)return e;const c=new Proxy(e,2===i?s:n);return o.set(e,c),c}function xt(e){return Ct(e)?xt(e.__k_raw):!(!e||!e.__k_isReactive)}function Ct(e){return!(!e||!e.__k_isReadonly)}function Tt(e){return!(!e||!e.__k_isShallow)}function wt(e){return!!e&&!!e.__k_raw}function At(e){const t=e&&e.__k_raw;return t?At(t):e}function Et(e){return Object.isExtensible(e)&&$(e,"__k_skip",!0),e}const Nt=e=>b(e)?bt(e):e,It=e=>b(e)?St(e):e;var Rt=Object.defineProperty,Ot=(e,t,n)=>(((e,t,n)=>{t in e?Rt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);class Lt{constructor(e,t,n,s){this.getter=e,this._setter=t,Ot(this,"dep"),Ot(this,"_value"),Ot(this,"effect"),Ot(this,"__k_isRef",!0),Ot(this,"__k_isReadonly",!1),Ot(this,"_cacheable"),Ot(this,"_warnRecursive"),this.effect=new fe((()=>e(this._value)),(()=>$t(this,2===this.effect._dirtyLevel?2:3))),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__k_isReadonly=n}get value(){const e=At(this);return e._cacheable&&!e.effect.dirty||!M(e._value,e._value=e.effect.run())||$t(e,4),Pt(e),e.effect._dirtyLevel>=2&&$t(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}var Ft=Object.defineProperty,Mt=(e,t,n)=>(((e,t,n)=>{t in e?Ft(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);function Pt(e){var t;be&&he&&(e=At(e),we(he,null!=(t=e.dep)?t:e.dep=Ne((()=>e.dep=void 0),e instanceof Lt?e:void 0)))}function $t(e,t=4,n){const s=(e=At(e)).dep;s&&Ee(s,t)}function Bt(e){return!(!e||!0!==e.__k_isRef)}function Dt(e){return Kt(e,!1)}function Kt(e,t){return Bt(e)?e:new Ut(e,t)}class Ut{constructor(e,t){this.__k_isShallow=t,Mt(this,"_value"),Mt(this,"_rawValue"),Mt(this,"dep"),Mt(this,"__k_isRef",!0),this._rawValue=t?e:At(e),this._value=t?e:Nt(e)}get value(){return Pt(this),this._value}set value(e){const t=this.__k_isShallow||Tt(e)||Ct(e);e=t?e:At(e),M(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:Nt(e),$t(this,4))}}function jt(e){return Bt(e)?e.value:e}const Ht={get:(e,t,n)=>jt(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return Bt(o)&&!Bt(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function qt(e){return xt(e)?e:new Proxy(e,Ht)}class Vt{constructor(e){Mt(this,"dep"),Mt(this,"_get"),Mt(this,"_set"),Mt(this,"__k_isRef",!0);const{get:t,set:n}=e((()=>Pt(this)),(()=>$t(this)));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}function Wt(e){return new Vt(e)}class zt{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,Mt(this,"__k_isRef",!0)}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return function(e,t){const n=Ie.get(e);return n&&n.get(t)}(At(this._object),this._key)}}class Gt{constructor(e){this._getter=e,Mt(this,"__k_isRef",!0),Mt(this,"__k_isReadonly",!0)}get value(){return this._getter()}}function Jt(e,t,n){const s=e[t];return Bt(s)?s:new zt(e,t,n)}function Xt(e,t,n,s){try{return s?e(...s):e()}catch(o){Zt(o,t,n)}}function Qt(e,t,n,s){if(g(e)){const o=Xt(e,t,n,s);return o&&_(o)&&o.catch((e=>{Zt(e,t,n)})),o}if(p(e)){const o=[];for(let r=0;r<e.length;r++)o.push(Qt(e[r],t,n,s));return o}}function Zt(e,t,n,s=!0){if(t){let s=t.parent;const o=t.proxy,r=`https://kdu-js.web.app/error-reference/#runtime-${n}`;for(;s;){const t=s.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,o,r))return;s=s.parent}const i=t.appContext.config.errorHandler;if(i)return ke(),Xt(i,null,10,[e,o,r]),void xe()}!function(e){console.error(e)}(e,0,0,s)}let Yt=!1,en=!1;const tn=[];let nn=0;const sn=[];let on=null,rn=0;const ln=Promise.resolve();let cn=null;function an(e){const t=cn||ln;return e?t.then(this?e.bind(this):e):t}function un(e){tn.length&&tn.includes(e,Yt&&e.allowRecurse?nn+1:nn)||(null==e.id?tn.push(e):tn.splice(function(e){let t=nn+1,n=tn.length;for(;t<n;){const s=t+n>>>1,o=tn[s],r=mn(o);r<e||r===e&&o.pre?t=s+1:n=s}return t}(e.id),0,e),dn())}function dn(){Yt||en||(en=!0,cn=ln.then(yn))}function pn(e){p(e)?sn.push(...e):on&&on.includes(e,e.allowRecurse?rn+1:rn)||sn.push(e),dn()}function hn(e,t,n=(Yt?nn+1:0)){for(;n<tn.length;n++){const t=tn[n];if(t&&t.pre){if(e&&t.id!==e.uid)continue;tn.splice(n,1),n--,t()}}}function fn(e){if(sn.length){const e=[...new Set(sn)].sort(((e,t)=>mn(e)-mn(t)));if(sn.length=0,on)return void on.push(...e);for(on=e,rn=0;rn<on.length;rn++)on[rn]();on=null,rn=0}}const mn=e=>null==e.id?1/0:e.id,gn=(e,t)=>{const n=mn(e)-mn(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function yn(e){en=!1,Yt=!0,tn.sort(gn);try{for(nn=0;nn<tn.length;nn++){const e=tn[nn];e&&!1!==e.active&&Xt(e,null,14)}}finally{nn=0,tn.length=0,fn(),Yt=!1,cn=null,(tn.length||sn.length)&&yn()}}function vn(e,t,...s){if(e.isUnmounted)return;const o=e.knode.props||n;let r=s;const i=t.startsWith("update:"),l=i&&t.slice(7);if(l&&l in o){const e=`${"modelValue"===l?"model":l}Modifiers`,{number:t,trim:i}=o[e]||n;i&&(r=s.map((e=>y(e)?e.trim():e))),t&&(r=s.map(B))}let c,a=o[c=F(t)]||o[c=F(I(t))];!a&&i&&(a=o[c=F(O(t))]),a&&Qt(a,e,6,r);const u=o[c+"Once"];if(u){if(e.emitted){if(e.emitted[c])return}else e.emitted={};e.emitted[c]=!0,Qt(u,e,6,r)}}function bn(e,t,n=!1){const s=t.emitsCache,o=s.get(e);if(void 0!==o)return o;const r=e.emits;let i={},l=!1;if(!g(e)){const s=e=>{const n=bn(e,t,!0);n&&(l=!0,c(i,n))};!n&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}return r||l?(p(r)?r.forEach((e=>i[e]=null)):c(i,r),b(e)&&s.set(e,i),i):(b(e)&&s.set(e,null),null)}function _n(e,t){return!(!e||!i(t))&&(t=t.slice(2).replace(/Once$/,""),d(e,t[0].toLowerCase()+t.slice(1))||d(e,O(t))||d(e,t))}let Sn=null,kn=null;function xn(e){const t=Sn;return Sn=e,kn=e&&e.type.__scopeId||null,t}function Cn(e,t=Sn,n){if(!t)return e;if(e._n)return e;const s=(...n)=>{s._d&&er(-1);const o=xn(t);let r;try{r=e(...n)}finally{xn(o),s._d&&er(1)}return r};return s._n=!0,s._c=!0,s._d=!0,s}function Tn(e){const{type:t,knode:n,proxy:s,withProxy:o,propsOptions:[r],slots:i,attrs:c,emit:a,render:u,renderCache:d,props:p,data:h,setupState:f,ctx:m,inheritAttrs:g}=e,y=xn(e);let v,b;try{if(4&n.shapeFlag){const e=o||s;v=pr(u.call(e,e,d,p,f,h,m)),b=c}else{const e=t;0,v=pr(e(p,e.length>1?{attrs:c,slots:i,emit:a}:null)),b=t.props?c:wn(c)}}catch(S){Jo.length=0,Zt(S,e,1),v=cr(zo)}let _=v;if(b&&!1!==g){const e=Object.keys(b),{shapeFlag:t}=_;e.length&&7&t&&(r&&e.some(l)&&(b=An(b,r)),_=ur(_,b,!1,!0))}return n.dirs&&(_=ur(_,null,!1,!0),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),v=_,xn(y),v}const wn=e=>{let t;for(const n in e)("class"===n||"style"===n||i(n))&&((t||(t={}))[n]=e[n]);return t},An=(e,t)=>{const n={};for(const s in e)l(s)&&s.slice(9)in t||(n[s]=e[s]);return n};function En(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let o=0;o<s.length;o++){const r=s[o];if(t[r]!==e[r]&&!_n(n,r))return!0}return!1}function Nn({knode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s!==e)break;(e=t.knode).el=n,t=t.parent}}const In="components";const Rn=Symbol.for("k-ndc");function On(e,t,n=!0,s=!1){const o=Sn||br;if(o){const n=o.type;if(e===In){const e=Mr(n,!1);if(e&&(e===t||e===I(t)||e===L(I(t))))return n}const r=Ln(o[e]||n[e],t)||Ln(o.appContext[e],t);return!r&&s?n:r}}function Ln(e,t){return e&&(e[t]||e[I(t)]||e[L(I(t))])}const Fn=e=>e.__isSuspense;let Mn=0;const Pn={name:"Suspense",__isSuspense:!0,process(e,t,n,s,o,r,i,l,c,a){if(null==e)!function(e,t,n,s,o,r,i,l,c){const{p:a,o:{createElement:u}}=c,d=u("div"),p=e.suspense=Bn(e,o,s,t,d,n,r,i,l,c);a(null,p.pendingBranch=e.ssContent,d,null,s,p,r,i),p.deps>0?($n(e,"onPending"),$n(e,"onFallback"),a(null,e.ssFallback,t,n,s,null,r,i),Un(p,e.ssFallback)):p.resolve(!1,!0)}(t,n,s,o,r,i,l,c,a);else{if(r&&r.deps>0&&!e.suspense.isInFallback)return t.suspense=e.suspense,t.suspense.knode=t,void(t.el=e.el);!function(e,t,n,s,o,r,i,l,{p:c,um:a,o:{createElement:u}}){const d=t.suspense=e.suspense;d.knode=t,t.el=e.el;const p=t.ssContent,h=t.ssFallback,{activeBranch:f,pendingBranch:m,isInFallback:g,isHydrating:y}=d;if(m)d.pendingBranch=p,or(p,m)?(c(m,p,d.hiddenContainer,null,o,d,r,i,l),d.deps<=0?d.resolve():g&&(y||(c(f,h,n,s,o,null,r,i,l),Un(d,h)))):(d.pendingId=Mn++,y?(d.isHydrating=!1,d.activeBranch=m):a(m,o,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),g?(c(null,p,d.hiddenContainer,null,o,d,r,i,l),d.deps<=0?d.resolve():(c(f,h,n,s,o,null,r,i,l),Un(d,h))):f&&or(p,f)?(c(f,p,n,s,o,d,r,i,l),d.resolve(!0)):(c(null,p,d.hiddenContainer,null,o,d,r,i,l),d.deps<=0&&d.resolve()));else if(f&&or(p,f))c(f,p,n,s,o,d,r,i,l),Un(d,p);else if($n(t,"onPending"),d.pendingBranch=p,d.pendingId=512&p.shapeFlag?p.component.suspenseId:Mn++,c(null,p,d.hiddenContainer,null,o,d,r,i,l),d.deps<=0)d.resolve();else{const{timeout:e,pendingId:t}=d;e>0?setTimeout((()=>{d.pendingId===t&&d.fallback(h)}),e):0===e&&d.fallback(h)}}(e,t,n,s,o,i,l,c,a)}},hydrate:function(e,t,n,s,o,r,i,l,c){const a=t.suspense=Bn(t,s,n,e.parentNode,document.createElement("div"),null,o,r,i,l,!0),u=c(e,a.pendingBranch=t.ssContent,n,a,r,i);0===a.deps&&a.resolve(!1,!0);return u},create:Bn,normalize:function(e){const{shapeFlag:t,children:n}=e,s=32&t;e.ssContent=Dn(s?n.default:n),e.ssFallback=s?Dn(n.fallback):cr(zo)}};function $n(e,t){const n=e.props&&e.props[t];g(n)&&n()}function Bn(e,t,n,s,o,r,i,l,c,a,u=!1){const{p:d,m:p,um:h,n:f,o:{parentNode:m,remove:g}}=a;let y;const v=function(e){const t=e.props&&e.props.suspensible;return null!=t&&!1!==t}(e);v&&t&&t.pendingBranch&&(y=t.pendingId,t.deps++);const b=e.props?D(e.props.timeout):void 0,_=r,S={knode:e,parent:t,parentComponent:n,namespace:i,container:s,hiddenContainer:o,deps:0,pendingId:Mn++,timeout:"number"==typeof b?b:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(e=!1,n=!1){const{knode:s,activeBranch:o,pendingBranch:i,pendingId:l,effects:c,parentComponent:a,container:u}=S;let d=!1;S.isHydrating?S.isHydrating=!1:e||(d=o&&i.transition&&"out-in"===i.transition.mode,d&&(o.transition.afterLeave=()=>{l===S.pendingId&&(p(i,u,r===_?f(o):r,0),pn(c))}),o&&(m(o.el)!==S.hiddenContainer&&(r=f(o)),h(o,a,S,!0)),d||p(i,u,r,0)),Un(S,i),S.pendingBranch=null,S.isInFallback=!1;let g=S.parent,b=!1;for(;g;){if(g.pendingBranch){g.effects.push(...c),b=!0;break}g=g.parent}b||d||pn(c),S.effects=[],v&&t&&t.pendingBranch&&y===t.pendingId&&(t.deps--,0!==t.deps||n||t.resolve()),$n(s,"onResolve")},fallback(e){if(!S.pendingBranch)return;const{knode:t,activeBranch:n,parentComponent:s,container:o,namespace:r}=S;$n(t,"onFallback");const i=f(n),a=()=>{S.isInFallback&&(d(null,e,o,i,s,null,r,l,c),Un(S,e))},u=e.transition&&"out-in"===e.transition.mode;u&&(n.transition.afterLeave=a),S.isInFallback=!0,h(n,s,null,!0),u||a()},move(e,t,n){S.activeBranch&&p(S.activeBranch,e,t,n),S.container=e},next:()=>S.activeBranch&&f(S.activeBranch),registerDep(e,t){const n=!!S.pendingBranch;n&&S.deps++;const s=e.knode.el;e.asyncDep.catch((t=>{Zt(t,e,0)})).then((o=>{if(e.isUnmounted||S.isUnmounted||S.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{knode:r}=e;Nr(e,o,!1),s&&(r.el=s);const l=!s&&e.subTree.el;t(e,r,m(s||e.subTree.el),s?null:f(e.subTree),S,i,c),l&&g(l),Nn(e,r.el),n&&0==--S.deps&&S.resolve()}))},unmount(e,t){S.isUnmounted=!0,S.activeBranch&&h(S.activeBranch,n,e,t),S.pendingBranch&&h(S.pendingBranch,n,e,t)}};return S}function Dn(e){let t;if(g(e)){const n=Yo&&e._c;n&&(e._d=!1,Qo()),e=e(),n&&(e._d=!0,t=Xo,Zo())}if(p(e)){const t=function(e){let t;for(let n=0;n<e.length;n++){const s=e[n];if(!sr(s))return;if(s.type!==zo||"k-if"===s.children){if(t)return;t=s}}return t}(e);e=t}return e=pr(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter((t=>t!==e))),e}function Kn(e,t){t&&t.pendingBranch?p(e)?t.effects.push(...e):t.effects.push(e):pn(e)}function Un(e,t){e.activeBranch=t;const{knode:n,parentComponent:s}=e;let o=t.el;for(;!o&&t.component;)o=(t=t.component.subTree).el;n.el=o,s&&s.subTree===n&&(s.knode.el=o,Nn(s,o))}const jn=Symbol.for("k-scx");function Hn(e,t){return zn(e,null,{flush:"post"})}function qn(e,t){return zn(e,null,{flush:"sync"})}const Vn={};function Wn(e,t,n){return zn(e,t,n)}function zn(e,t,{immediate:s,deep:r,flush:i,once:l}=n){if(t&&l){const e=t;t=(...t)=>{e(...t),x()}}const c=br,u=e=>!0===r?e:Xn(e,!1===r?1:void 0);let d,h,f=!1,m=!1;if(Bt(e)?(d=()=>e.value,f=Tt(e)):xt(e)?(d=()=>u(e),f=!0):p(e)?(m=!0,f=e.some((e=>xt(e)||Tt(e))),d=()=>e.map((e=>Bt(e)?e.value:xt(e)?u(e):g(e)?Xt(e,c,2):void 0))):d=g(e)?t?()=>Xt(e,c,2):()=>(h&&h(),Qt(e,c,3,[y])):o,t&&r){const e=d;d=()=>Xn(e())}let y=e=>{h=S.onStop=()=>{Xt(e,c,4),h=S.onStop=void 0}},v=m?new Array(e.length).fill(Vn):Vn;const b=()=>{if(S.active&&S.dirty)if(t){const e=S.run();(r||f||(m?e.some(((e,t)=>M(e,v[t]))):M(e,v)))&&(h&&h(),Qt(t,c,3,[e,v===Vn?void 0:m&&v[0]===Vn?[]:v,y]),v=e)}else S.run()};let _;b.allowRecurse=!!t,"sync"===i?_=b:"post"===i?_=()=>No(b,c&&c.suspense):(b.pre=!0,c&&(b.id=c.uid),_=()=>un(b));const S=new fe(d,o,_),k=ue(),x=()=>{S.stop(),k&&a(k.effects,S)};return t?s?b():v=S.run():"post"===i?No(S.run.bind(S),c&&c.suspense):S.run(),x}function Gn(e,t,n){const s=this.proxy,o=y(e)?e.includes(".")?Jn(s,e):()=>s[e]:e.bind(s,s);let r;g(t)?r=t:(r=t.handler,n=t);const i=xr(this),l=zn(o,r.bind(s),n);return i(),l}function Jn(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function Xn(e,t=1/0,n){if(t<=0||!b(e)||e.__k_skip)return e;if((n=n||new Set).has(e))return e;if(n.add(e),t--,Bt(e))Xn(e.value,t,n);else if(p(e))for(let s=0;s<e.length;s++)Xn(e[s],t,n);else if(f(e)||h(e))e.forEach((e=>{Xn(e,t,n)}));else if(C(e))for(const s in e)Xn(e[s],t,n);return e}function Qn(e,t,n,s){const o=e.dirs,r=t&&t.dirs;for(let i=0;i<o.length;i++){const l=o[i];r&&(l.oldValue=r[i].value);let c=l.dir[s];c&&(ke(),Qt(c,n,8,[e.el,l,e,t]),xe())}}const Zn=Symbol("_leaveCb"),Yn=Symbol("_enterCb");function es(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingKNodes:new Map};return Ts((()=>{e.isMounted=!0})),Es((()=>{e.isUnmounting=!0})),e}const ts=[Function,Array],ns={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ts,onEnter:ts,onAfterEnter:ts,onEnterCancelled:ts,onBeforeLeave:ts,onLeave:ts,onAfterLeave:ts,onLeaveCancelled:ts,onBeforeAppear:ts,onAppear:ts,onAfterAppear:ts,onAppearCancelled:ts},ss={name:"BaseTransition",props:ns,setup(e,{slots:t}){const n=_r(),s=es();return()=>{const o=t.default&&as(t.default(),!0);if(!o||!o.length)return;let r=o[0];if(o.length>1)for(const e of o)if(e.type!==zo){r=e;break}const i=At(e),{mode:l}=i;if(s.isLeaving)return is(r);const c=ls(r);if(!c)return is(r);const a=rs(c,i,s,n);cs(c,a);const u=n.subTree,d=u&&ls(u);if(d&&d.type!==zo&&!or(c,d)){const e=rs(d,i,s,n);if(cs(d,e),"out-in"===l&&c.type!==zo)return s.isLeaving=!0,e.afterLeave=()=>{s.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},is(r);"in-out"===l&&c.type!==zo&&(e.delayLeave=(e,t,n)=>{os(s,d)[String(d.key)]=d,e[Zn]=()=>{t(),e[Zn]=void 0,delete a.delayedLeave},a.delayedLeave=n})}return r}}};function os(e,t){const{leavingKNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function rs(e,t,n,s){const{appear:o,mode:r,persisted:i=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:a,onEnterCancelled:u,onBeforeLeave:d,onLeave:h,onAfterLeave:f,onLeaveCancelled:m,onBeforeAppear:g,onAppear:y,onAfterAppear:v,onAppearCancelled:b}=t,_=String(e.key),S=os(n,e),k=(e,t)=>{e&&Qt(e,s,9,t)},x=(e,t)=>{const n=t[1];k(e,t),p(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},C={mode:r,persisted:i,beforeEnter(t){let s=l;if(!n.isMounted){if(!o)return;s=g||l}t[Zn]&&t[Zn](!0);const r=S[_];r&&or(e,r)&&r.el[Zn]&&r.el[Zn](),k(s,[t])},enter(e){let t=c,s=a,r=u;if(!n.isMounted){if(!o)return;t=y||c,s=v||a,r=b||u}let i=!1;const l=e[Yn]=t=>{i||(i=!0,k(t?r:s,[e]),C.delayedLeave&&C.delayedLeave(),e[Yn]=void 0)};t?x(t,[e,l]):l()},leave(t,s){const o=String(e.key);if(t[Yn]&&t[Yn](!0),n.isUnmounting)return s();k(d,[t]);let r=!1;const i=t[Zn]=n=>{r||(r=!0,s(),k(n?m:f,[t]),t[Zn]=void 0,S[o]===e&&delete S[o])};S[o]=e,h?x(h,[t,i]):i()},clone:e=>rs(e,t,n,s)};return C}function is(e){if(hs(e))return(e=ur(e)).children=null,e}function ls(e){if(!hs(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(16&t)return n[0];if(32&t&&g(n.default))return n.default()}}function cs(e,t){6&e.shapeFlag&&e.component?cs(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function as(e,t=!1,n){let s=[],o=0;for(let r=0;r<e.length;r++){let i=e[r];const l=null==n?i.key:String(n)+String(null!=i.key?i.key:r);i.type===Vo?(128&i.patchFlag&&o++,s=s.concat(as(i.children,t,l))):(t||i.type!==zo)&&s.push(null!=l?ur(i,{key:l}):i)}if(o>1)for(let r=0;r<s.length;r++)s[r].patchFlag=-2;return s} /*! #__NO_SIDE_EFFECTS__ */function us(e,t){return g(e)?(()=>c({name:e.name},t,{setup:e}))():e}const ds=e=>!!e.type.__asyncLoader /*! #__NO_SIDE_EFFECTS__ */;function ps(e,t){const{ref:n,props:s,children:o,ce:r}=t.knode,i=cr(e,s,o);return i.ref=n,i.ce=r,delete t.knode.ce,i}const hs=e=>e.type.__isKeepAlive,fs={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=_r(),s=n.ctx,o=new Map,r=new Set;let i=null;const l=n.suspense,{renderer:{p:c,m:a,um:u,o:{createElement:d}}}=s,p=d("div");function h(e){_s(e),u(e,n,l,!0)}function f(e){o.forEach(((t,n)=>{const s=Mr(t.type);!s||e&&e(s)||m(n)}))}function m(e){const t=o.get(e);i&&or(t,i)?i&&_s(i):h(t),o.delete(e),r.delete(e)}s.activate=(e,t,n,s,o)=>{const r=e.component;a(e,t,n,0,l),c(r.knode,e,t,n,r,l,s,e.slotScopeIds,o),No((()=>{r.isDeactivated=!1,r.a&&P(r.a);const t=e.props&&e.props.onKnodeMounted;t&&gr(t,r.parent,e)}),l)},s.deactivate=e=>{const t=e.component;a(e,p,null,1,l),No((()=>{t.da&&P(t.da);const n=e.props&&e.props.onKnodeUnmounted;n&&gr(n,t.parent,e),t.isDeactivated=!0}),l)},Wn((()=>[e.include,e.exclude]),(([e,t])=>{e&&f((t=>ms(e,t))),t&&f((e=>!ms(t,e)))}),{flush:"post",deep:!0});let g=null;const y=()=>{null!=g&&o.set(g,Ss(n.subTree))};return Ts(y),As(y),Es((()=>{o.forEach((e=>{const{subTree:t,suspense:s}=n,o=Ss(t);if(e.type!==o.type||e.key!==o.key)h(e);else{_s(o);const e=o.component.da;e&&No(e,s)}}))})),()=>{if(g=null,!t.default)return null;const n=t.default(),s=n[0];if(n.length>1)return i=null,n;if(!(sr(s)&&(4&s.shapeFlag||128&s.shapeFlag)))return i=null,s;let l=Ss(s);const c=l.type,a=Mr(ds(l)?l.type.__asyncResolved||{}:c),{include:u,exclude:d,max:p}=e;if(u&&(!a||!ms(u,a))||d&&a&&ms(d,a))return i=l,s;const h=null==l.key?c:l.key,f=o.get(h);return l.el&&(l=ur(l),128&s.shapeFlag&&(s.ssContent=l)),g=h,f?(l.el=f.el,l.component=f.component,l.transition&&cs(l,l.transition),l.shapeFlag|=512,r.delete(h),r.add(h)):(r.add(h),p&&r.size>parseInt(p,10)&&m(r.values().next().value)),l.shapeFlag|=256,i=l,Fn(s.type)?s:l}}};function ms(e,t){return p(e)?e.some((e=>ms(e,t))):y(e)?e.split(",").includes(t):"[object RegExp]"===k(e)&&e.test(t)}function gs(e,t){vs(e,"a",t)}function ys(e,t){vs(e,"da",t)}function vs(e,t,n=br){const s=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(ks(t,s,n),n){let e=n.parent;for(;e&&e.parent;)hs(e.parent.knode)&&bs(s,t,n,e),e=e.parent}}function bs(e,t,n,s){const o=ks(t,e,s,!0);Ns((()=>{a(s[t],o)}),n)}function _s(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Ss(e){return 128&e.shapeFlag?e.ssContent:e}function ks(e,t,n=br,s=!1){if(n){const o=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...s)=>{if(n.isUnmounted)return;ke();const o=xr(n),r=Qt(t,n,e,s);return o(),xe(),r});return s?o.unshift(r):o.push(r),r}}const xs=e=>(t,n=br)=>(!Er||"sp"===e)&&ks(e,((...e)=>t(...e)),n),Cs=xs("bm"),Ts=xs("m"),ws=xs("bu"),As=xs("u"),Es=xs("bum"),Ns=xs("um"),Is=xs("sp"),Rs=xs("rtg"),Os=xs("rtc");function Ls(e,t=br){ks("ec",e,t)}function Fs(e){return e.some((e=>!sr(e)||e.type!==zo&&!(e.type===Vo&&!Fs(e.children))))?e:null}const Ms=e=>e?Tr(e)?Fr(e)||e.proxy:Ms(e.parent):null,Ps=c(Object.create(null),{$:e=>e,$el:e=>e.knode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ms(e.parent),$root:e=>Ms(e.root),$emit:e=>e.emit,$options:e=>Ws(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,un(e.update)}),$nextTick:e=>e.n||(e.n=an.bind(e.proxy)),$watch:e=>Gn.bind(e)}),$s=(e,t)=>e!==n&&!e.__isScriptSetup&&d(e,t),Bs={get({_:e},t){if("__k_skip"===t)return!0;const{ctx:s,setupState:o,data:r,props:i,accessCache:l,type:c,appContext:a}=e;let u;if("$"!==t[0]){const c=l[t];if(void 0!==c)switch(c){case 1:return o[t];case 2:return r[t];case 4:return s[t];case 3:return i[t]}else{if($s(o,t))return l[t]=1,o[t];if(r!==n&&d(r,t))return l[t]=2,r[t];if((u=e.propsOptions[0])&&d(u,t))return l[t]=3,i[t];if(s!==n&&d(s,t))return l[t]=4,s[t];js&&(l[t]=0)}}const p=Ps[t];let h,f;return p?("$attrs"===t&&Le(e.attrs,0,""),p(e)):(h=c.__cssModules)&&(h=h[t])?h:s!==n&&d(s,t)?(l[t]=4,s[t]):(f=a.config.globalProperties,d(f,t)?f[t]:void 0)},set({_:e},t,s){const{data:o,setupState:r,ctx:i}=e;return $s(r,t)?(r[t]=s,!0):o!==n&&d(o,t)?(o[t]=s,!0):!d(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(i[t]=s,!0))},has({_:{data:e,setupState:t,accessCache:s,ctx:o,appContext:r,propsOptions:i}},l){let c;return!!s[l]||e!==n&&d(e,l)||$s(t,l)||(c=i[0])&&d(c,l)||d(o,l)||d(Ps,l)||d(r.config.globalProperties,l)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:d(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Ds=c({},Bs,{get(e,t){if(t!==Symbol.unscopables)return Bs.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!j(t)});function Ks(){const e=_r();return e.setupContext||(e.setupContext=Lr(e))}function Us(e){return p(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let js=!0;function Hs(e){const t=Ws(e),n=e.proxy,s=e.ctx;js=!1,t.beforeCreate&&qs(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:l,watch:c,provide:a,inject:u,created:d,beforeMount:h,mounted:f,beforeUpdate:m,updated:y,activated:v,deactivated:_,beforeUnmount:S,unmounted:k,render:x,renderTracked:C,renderTriggered:T,errorCaptured:w,serverPrefetch:A,expose:E,inheritAttrs:N,components:I,directives:R}=t;if(u&&function(e,t){p(e)&&(e=Xs(e));for(const n in e){const s=e[n];let o;o=b(s)?"default"in s?ro(s.from||n,s.default,!0):ro(s.from||n):ro(s),Bt(o)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:e=>o.value=e}):t[n]=o}}(u,s,null),l)for(const o in l){const e=l[o];g(e)&&(s[o]=e.bind(n))}if(r){const t=r.call(n,n);b(t)&&(e.data=bt(t))}if(js=!0,i)for(const p in i){const e=i[p],t=g(e)?e.bind(n,n):g(e.get)?e.get.bind(n,n):o,r=!g(e)&&g(e.set)?e.set.bind(n):o,l=Pr({get:t,set:r});Object.defineProperty(s,p,{enumerable:!0,configurable:!0,get:()=>l.value,set:e=>l.value=e})}if(c)for(const o in c)Vs(c[o],s,n,o);if(a){const e=g(a)?a.call(n):a;Reflect.ownKeys(e).forEach((t=>{oo(t,e[t])}))}function O(e,t){p(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(d&&qs(d,e,"c"),O(Cs,h),O(Ts,f),O(ws,m),O(As,y),O(gs,v),O(ys,_),O(Ls,w),O(Os,C),O(Rs,T),O(Es,S),O(Ns,k),O(Is,A),p(E))if(E.length){const t=e.exposed||(e.exposed={});E.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});x&&e.render===o&&(e.render=x),null!=N&&(e.inheritAttrs=N),I&&(e.components=I),R&&(e.directives=R)}function qs(e,t,n){Qt(p(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function Vs(e,t,n,s){const o=s.includes(".")?Jn(n,s):()=>n[s];if(y(e)){const n=t[e];g(n)&&Wn(o,n)}else if(g(e))Wn(o,e.bind(n));else if(b(e))if(p(e))e.forEach((e=>Vs(e,t,n,s)));else{const s=g(e.handler)?e.handler.bind(n):t[e.handler];g(s)&&Wn(o,s,e)}}function Ws(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,l=r.get(t);let c;return l?c=l:o.length||n||s?(c={},o.length&&o.forEach((e=>zs(c,e,i,!0))),zs(c,t,i)):c=t,b(t)&&r.set(t,c),c}function zs(e,t,n,s=!1){const{mixins:o,extends:r}=t;r&&zs(e,r,n,!0),o&&o.forEach((t=>zs(e,t,n,!0)));for(const i in t)if(s&&"expose"===i);else{const s=Gs[i]||n&&n[i];e[i]=s?s(e[i],t[i]):t[i]}return e}const Gs={data:Js,props:Ys,emits:Ys,methods:Zs,computed:Zs,beforeCreate:Qs,created:Qs,beforeMount:Qs,mounted:Qs,beforeUpdate:Qs,updated:Qs,beforeDestroy:Qs,beforeUnmount:Qs,destroyed:Qs,unmounted:Qs,activated:Qs,deactivated:Qs,errorCaptured:Qs,serverPrefetch:Qs,components:Zs,directives:Zs,watch:function(e,t){if(!e)return t;if(!t)return e;const n=c(Object.create(null),e);for(const s in t)n[s]=Qs(e[s],t[s]);return n},provide:Js,inject:function(e,t){return Zs(Xs(e),Xs(t))}};function Js(e,t){return t?e?function(){return c(g(e)?e.call(this,this):e,g(t)?t.call(this,this):t)}:t:e}function Xs(e){if(p(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Qs(e,t){return e?[...new Set([].concat(e,t))]:t}function Zs(e,t){return e?c(Object.create(null),e,t):t}function Ys(e,t){return e?p(e)&&p(t)?[...new Set([...e,...t])]:c(Object.create(null),Us(e),Us(null!=t?t:{})):t}function eo(){return{app:null,config:{isNativeTag:r,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let to=0;function no(e,t){return function(n,s=null){g(n)||(n=c({},n)),null==s||b(s)||(s=null);const o=eo(),r=new WeakSet;let i=!1;const l=o.app={_uid:to++,_component:n,_props:s,_container:null,_context:o,_instance:null,version:Dr,get config(){return o.config},set config(e){},use:(e,...t)=>(r.has(e)||(e&&g(e.install)?(r.add(e),e.install(l,...t)):g(e)&&(r.add(e),e(l,...t))),l),mixin:e=>(o.mixins.includes(e)||o.mixins.push(e),l),component:(e,t)=>t?(o.components[e]=t,l):o.components[e],directive:(e,t)=>t?(o.directives[e]=t,l):o.directives[e],mount(r,c,a){if(!i){const u=cr(n,s);return u.appContext=o,!0===a?a="svg":!1===a&&(a=void 0),c&&t?t(u,r):e(u,r,a),i=!0,l._container=r,r.__kdu_app__=l,Fr(u.component)||u.component.proxy}},unmount(){i&&(e(null,l._container),delete l._container.__kdu_app__)},provide:(e,t)=>(o.provides[e]=t,l),runWithContext(e){const t=so;so=l;try{return e()}finally{so=t}}};return l}}let so=null;function oo(e,t){if(br){let n=br.provides;const s=br.parent&&br.parent.provides;s===n&&(n=br.provides=Object.create(s)),n[e]=t}else;}function ro(e,t,n=!1){const s=br||Sn;if(s||so){const o=s?null==s.parent?s.knode.appContext&&s.knode.appContext.provides:s.parent.provides:so._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&g(t)?t.call(s&&s.proxy):t}}const io={},lo=()=>Object.create(io),co=e=>Object.getPrototypeOf(e)===io;function ao(e,t,s,o){const[r,i]=e.propsOptions;let l,c=!1;if(t)for(let n in t){if(w(n))continue;const a=t[n];let u;r&&d(r,u=I(n))?i&&i.includes(u)?(l||(l={}))[u]=a:s[u]=a:_n(e.emitsOptions,n)||n in o&&a===o[n]||(o[n]=a,c=!0)}if(i){const t=At(s),o=l||n;for(let n=0;n<i.length;n++){const l=i[n];s[l]=uo(r,t,l,o[l],e,!d(o,l))}}return c}function uo(e,t,n,s,o,r){const i=e[n];if(null!=i){const e=d(i,"default");if(e&&void 0===s){const e=i.default;if(i.type!==Function&&!i.skipFactory&&g(e)){const{propsDefaults:r}=o;if(n in r)s=r[n];else{const i=xr(o);s=r[n]=e.call(null,t),i()}}else s=e}i[0]&&(r&&!e?s=!1:!i[1]||""!==s&&s!==O(n)||(s=!0))}return s}function po(e,t,o=!1){const r=t.propsCache,i=r.get(e);if(i)return i;const l=e.props,a={},u=[];let h=!1;if(!g(e)){const n=e=>{h=!0;const[n,s]=po(e,t,!0);c(a,n),s&&u.push(...s)};!o&&t.mixins.length&&t.mixins.forEach(n),e.extends&&n(e.extends),e.mixins&&e.mixins.forEach(n)}if(!l&&!h)return b(e)&&r.set(e,s),s;if(p(l))for(let s=0;s<l.length;s++){const e=I(l[s]);ho(e)&&(a[e]=n)}else if(l)for(const n in l){const e=I(n);if(ho(e)){const t=l[n],s=a[e]=p(t)||g(t)?{type:t}:c({},t);if(s){const t=go(Boolean,s.type),n=go(String,s.type);s[0]=t>-1,s[1]=n<0||t<n,(t>-1||d(s,"default"))&&u.push(e)}}}const f=[a,u];return b(e)&&r.set(e,f),f}function ho(e){return"$"!==e[0]&&!w(e)}function fo(e){if(null===e)return"null";if("function"==typeof e)return e.name||"";if("object"==typeof e){return e.constructor&&e.constructor.name||""}return""}function mo(e,t){return fo(e)===fo(t)}function go(e,t){return p(t)?t.findIndex((t=>mo(t,e))):g(t)&&mo(t,e)?0:-1}const yo=e=>"_"===e[0]||"$stable"===e,vo=e=>p(e)?e.map(pr):[pr(e)],bo=(e,t,n)=>{if(t._n)return t;const s=Cn(((...e)=>vo(t(...e))),n);return s._c=!1,s},_o=(e,t,n)=>{const s=e._ctx;for(const o in e){if(yo(o))continue;const n=e[o];if(g(n))t[o]=bo(0,n,s);else if(null!=n){const e=vo(n);t[o]=()=>e}}},So=(e,t)=>{const n=vo(t);e.slots.default=()=>n},ko=(e,t)=>{const n=e.slots=lo();if(32&e.knode.shapeFlag){const e=t._;e?(c(n,t),$(n,"_",e,!0)):_o(t,n)}else t&&So(e,t)},xo=(e,t,s)=>{const{knode:o,slots:r}=e;let i=!0,l=n;if(32&o.shapeFlag){const e=t._;e?s&&1===e?i=!1:(c(r,t),s||1!==e||delete r._):(i=!t.$stable,_o(t,r)),l=t}else t&&(So(e,t),l={default:1});if(i)for(const n in r)yo(n)||null!=l[n]||delete r[n]};function Co(e,t,s,o,r=!1){if(p(e))return void e.forEach(((e,n)=>Co(e,t&&(p(t)?t[n]:t),s,o,r)));if(ds(o)&&!r)return;const i=4&o.shapeFlag?Fr(o.component)||o.component.proxy:o.el,l=r?null:i,{i:c,r:u}=e,h=t&&t.r,f=c.refs===n?c.refs={}:c.refs,m=c.setupState;if(null!=h&&h!==u&&(y(h)?(f[h]=null,d(m,h)&&(m[h]=null)):Bt(h)&&(h.value=null)),g(u))Xt(u,c,12,[l,f]);else{const t=y(u),n=Bt(u);if(t||n){const o=()=>{if(e.f){const n=t?d(m,u)?m[u]:f[u]:u.value;r?p(n)&&a(n,i):p(n)?n.includes(i)||n.push(i):t?(f[u]=[i],d(m,u)&&(m[u]=f[u])):(u.value=[i],e.k&&(f[e.k]=u.value))}else t?(f[u]=l,d(m,u)&&(m[u]=l)):n&&(u.value=l,e.k&&(f[e.k]=l))};l?(o.id=-1,No(o,s)):o()}}}let To=!1;const wo=e=>(e=>e.namespaceURI.includes("svg")&&"foreignObject"!==e.tagName)(e)?"svg":(e=>e.namespaceURI.includes("MathML"))(e)?"mathml":void 0,Ao=e=>8===e.nodeType;function Eo(e){const{mt:t,p:n,o:{patchProp:s,createText:o,nextSibling:r,parentNode:l,remove:c,insert:a,createComment:u}}=e,d=(n,s,i,c,u,b=!1)=>{b=b||!!s.dynamicChildren;const _=Ao(n)&&"["===n.data,S=()=>m(n,s,i,c,u,_),{type:k,ref:x,shapeFlag:C,patchFlag:T}=s;let w=n.nodeType;s.el=n,-2===T&&(b=!1,s.dynamicChildren=null);let A=null;switch(k){case Wo:3!==w?""===s.children?(a(s.el=o(""),l(n),n),A=n):A=S():(n.data!==s.children&&(To=!0,n.data=s.children),A=r(n));break;case zo:v(n)?(A=r(n),y(s.el=n.content.firstChild,n,i)):A=8!==w||_?S():r(n);break;case Go:if(_&&(w=(n=r(n)).nodeType),1===w||3===w){A=n;const e=!s.children.length;for(let t=0;t<s.staticCount;t++)e&&(s.children+=1===A.nodeType?A.outerHTML:A.data),t===s.staticCount-1&&(s.anchor=A),A=r(A);return _?r(A):A}S();break;case Vo:A=_?f(n,s,i,c,u,b):S();break;default:if(1&C)A=1===w&&s.type.toLowerCase()===n.tagName.toLowerCase()||v(n)?p(n,s,i,c,u,b):S();else if(6&C){s.slotScopeIds=u;const e=l(n);if(A=_?g(n):Ao(n)&&"teleport start"===n.data?g(n,n.data,"teleport end"):r(n),t(s,e,null,i,c,wo(e),b),ds(s)){let t;_?(t=cr(Vo),t.anchor=A?A.previousSibling:e.lastChild):t=3===n.nodeType?dr(""):cr("div"),t.el=n,s.component.subTree=t}}else 64&C?A=8!==w?S():s.type.hydrate(n,s,i,c,u,b,e,h):128&C&&(A=s.type.hydrate(n,s,i,c,wo(l(n)),u,b,e,d))}return null!=x&&Co(x,null,c,s),A},p=(e,t,n,o,r,l)=>{l=l||!!t.dynamicChildren;const{type:a,props:u,patchFlag:d,shapeFlag:p,dirs:f,transition:m}=t,g="input"===a||"option"===a;if(g||-1!==d){f&&Qn(t,null,n,"created");let a,b=!1;if(v(e)){b=Mo(o,m)&&n&&n.knode.props&&n.knode.props.appear;const s=e.content.firstChild;b&&m.beforeEnter(s),y(s,e,n),t.el=e=s}if(16&p&&(!u||!u.innerHTML&&!u.textContent)){let s=h(e.firstChild,t,e,n,o,r,l);for(;s;){To=!0;const e=s;s=s.nextSibling,c(e)}}else 8&p&&e.textContent!==t.children&&(To=!0,e.textContent=t.children);if(u)if(g||!l||48&d)for(const t in u)(g&&(t.endsWith("value")||"indeterminate"===t)||i(t)&&!w(t)||"."===t[0])&&s(e,t,null,u[t],void 0,void 0,n);else u.onClick&&s(e,"onClick",null,u.onClick,void 0,void 0,n);(a=u&&u.onKnodeBeforeMount)&&gr(a,n,t),f&&Qn(t,null,n,"beforeMount"),((a=u&&u.onKnodeMounted)||f||b)&&Kn((()=>{a&&gr(a,n,t),b&&m.enter(e),f&&Qn(t,null,n,"mounted")}),o)}return e.nextSibling},h=(e,t,s,o,r,i,l)=>{l=l||!!t.dynamicChildren;const c=t.children,a=c.length;for(let u=0;u<a;u++){const t=l?c[u]:c[u]=pr(c[u]);if(e)e=d(e,t,o,r,i,l);else{if(t.type===Wo&&!t.children)continue;To=!0,n(null,t,s,null,o,r,wo(s),i)}}return e},f=(e,t,n,s,o,i)=>{const{slotScopeIds:c}=t;c&&(o=o?o.concat(c):c);const d=l(e),p=h(r(e),t,d,n,s,o,i);return p&&Ao(p)&&"]"===p.data?r(t.anchor=p):(To=!0,a(t.anchor=u("]"),d,p),p)},m=(e,t,s,o,i,a)=>{if(To=!0,t.el=null,a){const t=g(e);for(;;){const n=r(e);if(!n||n===t)break;c(n)}}const u=r(e),d=l(e);return c(e),n(null,t,d,u,s,o,wo(d),i),u},g=(e,t="[",n="]")=>{let s=0;for(;e;)if((e=r(e))&&Ao(e)&&(e.data===t&&s++,e.data===n)){if(0===s)return r(e);s--}return e},y=(e,t,n)=>{const s=t.parentNode;s&&s.replaceChild(e,t);let o=n;for(;o;)o.knode.el===t&&(o.knode.el=o.subTree.el=e),o=o.parent},v=e=>1===e.nodeType&&"template"===e.tagName.toLowerCase();return[(e,t)=>{if(!t.hasChildNodes())return n(null,e,t),fn(),void(t._knode=e);To=!1,d(t.firstChild,e,null,null,null),fn(),t._knode=e,To&&console.error("Hydration completed but contains mismatches.")},d]}const No=Kn;function Io(e){return Oo(e)}function Ro(e){return Oo(e,Eo)}function Oo(e,t){U().__KDU__=!0;const{insert:r,remove:i,patchProp:l,createElement:c,createText:a,createComment:u,setText:p,setElementText:h,parentNode:f,nextSibling:m,setScopeId:g=o,insertStaticContent:y}=e,v=(e,t,n,s=null,o=null,r=null,i=void 0,l=null,c=!!t.dynamicChildren)=>{if(e===t)return;e&&!or(e,t)&&(s=X(e),V(e,o,r,!0),e=null),-2===t.patchFlag&&(c=!1,t.dynamicChildren=null);const{type:a,ref:u,shapeFlag:d}=t;switch(a){case Wo:b(e,t,n,s);break;case zo:S(e,t,n,s);break;case Go:null==e&&k(t,n,s,i);break;case Vo:L(e,t,n,s,o,r,i,l,c);break;default:1&d?x(e,t,n,s,o,r,i,l,c):6&d?F(e,t,n,s,o,r,i,l,c):(64&d||128&d)&&a.process(e,t,n,s,o,r,i,l,c,Y)}null!=u&&o&&Co(u,e&&e.ref,r,t||e,!t)},b=(e,t,n,s)=>{if(null==e)r(t.el=a(t.children),n,s);else{const n=t.el=e.el;t.children!==e.children&&p(n,t.children)}},S=(e,t,n,s)=>{null==e?r(t.el=u(t.children||""),n,s):t.el=e.el},k=(e,t,n,s)=>{[e.el,e.anchor]=y(e.children,t,n,s,e.el,e.anchor)},x=(e,t,n,s,o,r,i,l,c)=>{"svg"===t.type?i="svg":"math"===t.type&&(i="mathml"),null==e?C(t,n,s,o,r,i,l,c):E(e,t,o,r,i,l,c)},C=(e,t,n,s,o,i,a,u)=>{let d,p;const{props:f,shapeFlag:m,transition:g,dirs:y}=e;if(d=e.el=c(e.type,i,f&&f.is,f),8&m?h(d,e.children):16&m&&A(e.children,d,null,s,o,Lo(e,i),a,u),y&&Qn(e,null,s,"created"),T(d,e,e.scopeId,a,s),f){for(const t in f)"value"===t||w(t)||l(d,t,null,f[t],i,e.children,s,o,J);"value"in f&&l(d,"value",null,f.value,i),(p=f.onKnodeBeforeMount)&&gr(p,s,e)}y&&Qn(e,null,s,"beforeMount");const v=Mo(o,g);v&&g.beforeEnter(d),r(d,t,n),((p=f&&f.onKnodeMounted)||v||y)&&No((()=>{p&&gr(p,s,e),v&&g.enter(d),y&&Qn(e,null,s,"mounted")}),o)},T=(e,t,n,s,o)=>{if(n&&g(e,n),s)for(let r=0;r<s.length;r++)g(e,s[r]);if(o){if(t===o.subTree){const t=o.knode;T(e,t,t.scopeId,t.slotScopeIds,o.parent)}}},A=(e,t,n,s,o,r,i,l,c=0)=>{for(let a=c;a<e.length;a++){const c=e[a]=l?hr(e[a]):pr(e[a]);v(null,c,t,n,s,o,r,i,l)}},E=(e,t,s,o,r,i,c)=>{const a=t.el=e.el;let{patchFlag:u,dynamicChildren:d,dirs:p}=t;u|=16&e.patchFlag;const f=e.props||n,m=t.props||n;let g;if(s&&Fo(s,!1),(g=m.onKnodeBeforeUpdate)&&gr(g,s,t,e),p&&Qn(t,e,s,"beforeUpdate"),s&&Fo(s,!0),d?N(e.dynamicChildren,d,a,s,o,Lo(t,r),i):c||K(e,t,a,null,s,o,Lo(t,r),i,!1),u>0){if(16&u)R(a,t,f,m,s,o,r);else if(2&u&&f.class!==m.class&&l(a,"class",null,m.class,r),4&u&&l(a,"style",f.style,m.style,r),8&u){const n=t.dynamicProps;for(let t=0;t<n.length;t++){const i=n[t],c=f[i],u=m[i];u===c&&"value"!==i||l(a,i,c,u,r,e.children,s,o,J)}}1&u&&e.children!==t.children&&h(a,t.children)}else c||null!=d||R(a,t,f,m,s,o,r);((g=m.onKnodeUpdated)||p)&&No((()=>{g&&gr(g,s,t,e),p&&Qn(t,e,s,"updated")}),o)},N=(e,t,n,s,o,r,i)=>{for(let l=0;l<t.length;l++){const c=e[l],a