UNPKG

@waline/client

Version:

client for waline comment system

1 lines 163 kB
!function(e,t){if("function"==typeof define&&define.amd)define("Waline",["exports"],t);else if("undefined"!=typeof exports)t(exports);else{var n={exports:{}};t(n.exports),e.Waline=n.exports}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:this,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.version=e.pageviewCount=e.init=e.defaultLocales=e.commentCount=e.UserList=e.RecentComments=void 0;const t=["nick","mail","link"],n=e=>e.filter((e=>t.includes(e))),r=["//unpkg.com/@waline/emojis@1.1.0/weibo"],l="en-US",i=e=>new Promise(((t,n)=>{if(e.size>128e3)return n(new Error("File too large! File size limit 128KB"));const r=new FileReader;r.readAsDataURL(e),r.onload=()=>{var e;return t((null===(e=r.result)||void 0===e?void 0:e.toString())||"")},r.onerror=n})),o=e=>!0===e?'<p class="wl-tex">Tex is not available in preview</p>':'<span class="wl-tex">Tex is not available in preview</span>',s=e=>{const t=async function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return fetch(`https://api.giphy.com/v1/gifs/${t}?${new URLSearchParams({lang:e,limit:"20",rating:"g",api_key:"6CIMLkNMMOhRcXPoMCPkFy4Ybk2XUiMp",...n}).toString()}`).then((e=>e.json())).then((e=>{let{data:t}=e;return t.map((e=>({title:e.title,src:e.images.downsized_medium.url})))}))};return{search:e=>t("search",{q:e,offset:"0"}),default:()=>t("trending",{}),more:function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t("search",{q:e,offset:n.toString()})}}},a=["//unpkg.com/@waline/emojis/tieba/tieba_agree.png","//unpkg.com/@waline/emojis/tieba/tieba_look_down.png","//unpkg.com/@waline/emojis/tieba/tieba_sunglasses.png","//unpkg.com/@waline/emojis/tieba/tieba_pick_nose.png","//unpkg.com/@waline/emojis/tieba/tieba_awkward.png","//unpkg.com/@waline/emojis/tieba/tieba_sleep.png"],c=new RegExp(`(${/[\u4E00-\u9FFF\u3400-\u4dbf\uf900-\ufaff\u3040-\u309f\uac00-\ud7af\u0400-\u04FF]+|\w+/.source}|${/</.source})|((?:${/(?:^|\s)\/\/(.+?)$/gm.source})|(?:${/\/\*([\S\s]*?)\*\//gm.source}))`,"gmi"),u=["23AC69","91C132","F19726","E8552D","1AAB8E","E1147F","2980C1","1BA1E6","9FA0A0","F19726","E30B20","E30B20","A3338B"],p={},d=e=>{let t=0;return e.replace(c,((e,n,r)=>{if(r)return`<span style="color: slategray">${r}</span>`;if("<"===n)return"&lt;";let l;p[n]?l=p[n]:(l=u[t],p[n]=l);const i=`<span style="color: #${l}">${n}</span>`;return t=++t%u.length,i}))},h=["nick","nickError","mail","mailError","link","optional","placeholder","sofa","submit","like","cancelLike","reply","cancelReply","comment","refresh","more","preview","emoji","uploadImage","seconds","minutes","hours","days","now","uploading","login","logout","admin","sticky","word","wordHint","anonymous","level0","level1","level2","level3","level4","level5","gif","gifSearchPlaceholder","profile","approved","waiting","spam","unsticky","oldest","latest","hottest","reactionTitle"],f=e=>Object.fromEntries(e.map(((e,t)=>[h[t],e])));var g=f(["NickName","NickName cannot be less than 3 bytes.","E-Mail","Please confirm your email address.","Website","Optional","Comment here...","No comment yet.","Submit","Like","Cancel like","Reply","Cancel reply","Comments","Refresh","Load More...","Preview","Emoji","Upload Image","seconds ago","minutes ago","hours ago","days ago","just now","Uploading","Login","logout","Admin","Sticky","Words","Please input comments between $0 and $1 words!\n Current word number: $2","Anonymous","Dwarves","Hobbits","Ents","Wizards","Elves","Maiar","GIF","Search GIF","Profile","Approved","Waiting","Spam","Unsticky","Oldest","Latest","Hottest","What do you think?"]),m=f(["ニックネーム","3バイト以上のニックネームをご入力ください.","メールアドレス","メールアドレスをご確認ください.","サイト","オプション","ここにコメント","コメントしましょう~","提出する","Like","Cancel like","返信する","キャンセル","コメント","更新","さらに読み込む","プレビュー","絵文字","画像をアップロード","秒前","分前","時間前","日前","たっだ今","アップロード","ログインする","ログアウト","管理者","トップに置く","ワード","コメントは $0 から $1 ワードの間でなければなりません!\n 現在の単語番号: $2","匿名","うえにん","なかにん","しもおし","特にしもおし","かげ","なぬし","GIF","探す GIF","個人情報","承認済み","待っている","スパム","べたつかない","逆順","正順","人気順","どう思いますか?"]),v=f(["昵称","昵称不能少于3个字符","邮箱","请填写正确的邮件地址","网址","可选","欢迎评论","来发评论吧~","提交","喜欢","取消喜欢","回复","取消回复","评论","刷新","加载更多...","预览","表情","上传图片","秒前","分钟前","小时前","天前","刚刚","正在上传","登录","退出","博主","置顶","字","评论字数应在 $0 到 $1 字之间!\n当前字数:$2","匿名","潜水","冒泡","吐槽","活跃","话痨","传说","表情包","搜索表情包","个人资料","通过","待审核","垃圾","取消置顶","按倒序","按正序","按热度","你认为这篇文章怎么样?"]),y=f(["暱稱","暱稱不能少於3個字元","郵箱","請填寫正確的郵件地址","網址","可選","歡迎評論","來發評論吧~","提交","喜歡","取消喜歡","回覆","取消回覆","評論","刷新","載入更多...","預覽","表情","上傳圖片","秒前","分鐘前","小時前","天前","剛剛","正在上傳","登錄","退出","博主","置頂","字","評論字數應在 $0 到 $1 字之間!\n當前字數:$2","匿名","潛水","冒泡","吐槽","活躍","話癆","傳說","表情包","搜索表情包","個人資料","通過","待審核","垃圾","取消置頂","按倒序","按正序","按熱度","你認為這篇文章怎麼樣?"]),w=f(["Apelido","Apelido não pode ser menor que 3 bytes.","E-Mail","Por favor, confirme seu endereço de e-mail.","Website","Opcional","Comente aqui...","Nenhum comentário, ainda.","Enviar","Like","Cancel like","Responder","Cancelar resposta","Comentários","Refrescar","Carregar Mais...","Visualizar","Emoji","Enviar Imagem","segundos atrás","minutos atrás","horas atrás","dias atrás","agora mesmo","Enviando","Entrar","Sair","Admin","Sticky","Palavras","Favor enviar comentário com $0 a $1 palavras!\n Número de palavras atuais: $2","Anônimo","Dwarves","Hobbits","Ents","Wizards","Elves","Maiar","GIF","Pesquisar GIF","informação pessoal","Aprovado","Espera","Spam","Unsticky","Mais velho","Mais recentes","Mais quente","O que você acha?"]),b=f(["Псевдоним","Никнейм не может быть меньше 3 байт.","Эл. адрес","Пожалуйста, подтвердите адрес вашей электронной почты.","Веб-сайт","Необязательный","Комментарий здесь...","Пока нет комментариев.","Отправить","Like","Cancel like","Отвечать","Отменить ответ","Комментарии","Обновить","Загрузи больше...","Превью","эмодзи","Загрузить изображение","секунд назад","несколько минут назад","несколько часов назад","дней назад","прямо сейчас","Загрузка","Авторизоваться","Выход из системы","Админ","Липкий","Слова","Пожалуйста, введите комментарии от $0 до $1 слов!\nНомер текущего слова: $2","Анонимный","Dwarves","Hobbits","Ents","Wizards","Elves","Maiar","GIF","Поиск GIF","Персональные данные","Одобренный","Ожидающий","Спам","Нелипкий","самый старый","последний","самый горячий","Что вы думаете?"]);const k={zh:v,"zh-cn":v,"zh-CN":v,"zh-tw":y,"zh-TW":y,en:g,"en-US":g,"en-us":g,jp:m,ja:m,"jp-jp":m,"jp-JP":m,"pt-br":w,"pt-BR":w,ru:b,"ru-ru":b,"ru-RU":b},x={"Content-Type":"application/json"},_=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if("object"==typeof e&&e.errno)throw new TypeError(`${t} failed with ${e.errno}: ${e.errmsg}`);return e},$=e=>{let{serverURL:t,lang:n,paths:r,type:l,signal:i}=e;return fetch(`${t}/article?path=${encodeURIComponent(r.join(","))}&type=${encodeURIComponent(l.join(","))}&lang=${n}`,{signal:i}).then((e=>e.json()))},C=e=>{let{serverURL:t,lang:n,path:r,type:l,action:i}=e;return fetch(`${t}/article?lang=${n}`,{method:"POST",headers:x,body:JSON.stringify({path:r,type:l,action:i})}).then((e=>e.json()))},S=e=>{let{serverURL:t,lang:n,token:r,objectId:l,comment:i}=e;return fetch(`${t}/comment/${l}?lang=${n}`,{method:"PUT",headers:{...x,Authorization:`Bearer ${r}`},body:JSON.stringify(i)}).then((e=>e.json())).then((e=>_(e,"Update comment")))},E=e=>{try{e=decodeURI(e)}catch(e){}return e},R=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.replace(/\/$/u,"")},A=e=>/^(https?:)?\/\//.test(e),I=e=>{const t=R(e);return A(t)?t:`https://${t}`},L=e=>Array.isArray(e)?e:!!e&&[0,e],z=(e,t)=>"function"==typeof e?e:!1!==e&&t,O="{--waline-white:#000;--waline-light-grey:#666;--waline-dark-grey:#999;--waline-color:#888;--waline-bgcolor:#1e1e1e;--waline-bgcolor-light:#272727;--waline-bgcolor-hover: #444;--waline-border-color:#333;--waline-disable-bgcolor:#444;--waline-disable-color:#272727;--waline-bq-color:#272727;--waline-info-bgcolor:#272727;--waline-info-color:#666}",j=(e,t)=>{let n=e.toString();for(;n.length<t;)n="0"+n;return n};function T(e,t){const n=Object.create(null),r=e.split(",");for(let e=0;e<r.length;e++)n[r[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}function U(e){if(ie(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],l=ue(r)?N(r):U(r);if(l)for(const e in l)t[e]=l[e]}return t}return ue(e)||de(e)?e:void 0}e.defaultLocales=k;const P=/;(?![^(]*\))/g,M=/:([^]+)/,F=/\/\*.*?\*\//gs;function N(e){const t={};return e.replace(F,"").split(P).forEach((e=>{if(e){const n=e.split(M);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function V(e){let t="";if(ue(e))t=e;else if(ie(e))for(let n=0;n<e.length;n++){const r=V(e[n]);r&&(t+=r+" ")}else if(de(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const D=T("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function B(e){return!!e||""===e}function H(e,t){if(e===t)return!0;let n=ae(e),r=ae(t);if(n||r)return!(!n||!r)&&e.getTime()===t.getTime();if(n=pe(e),r=pe(t),n||r)return e===t;if(n=ie(e),r=ie(t),n||r)return!(!n||!r)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=H(e[r],t[r]);return n}(e,t);if(n=de(e),r=de(t),n||r){if(!n||!r)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const r=e.hasOwnProperty(n),l=t.hasOwnProperty(n);if(r&&!l||!r&&l||!H(e[n],t[n]))return!1}}return String(e)===String(t)}function W(e,t){return e.findIndex((e=>H(e,t)))}const q=e=>ue(e)?e:null==e?"":ie(e)||de(e)&&(e.toString===fe||!ce(e.toString))?JSON.stringify(e,Z,2):String(e),Z=(e,t)=>t&&t.__v_isRef?Z(e,t.value):oe(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,t)=>{let[n,r]=t;return e[`${n} =>`]=r,e}),{})}:se(t)?{[`Set(${t.size})`]:[...t.values()]}:!de(t)||ie(t)||me(t)?t:String(t),Q={},K=[],G=()=>{},J=()=>!1,X=/^on[^a-z]/,Y=e=>X.test(e),ee=e=>e.startsWith("onUpdate:"),te=Object.assign,ne=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},re=Object.prototype.hasOwnProperty,le=(e,t)=>re.call(e,t),ie=Array.isArray,oe=e=>"[object Map]"===ge(e),se=e=>"[object Set]"===ge(e),ae=e=>"[object Date]"===ge(e),ce=e=>"function"==typeof e,ue=e=>"string"==typeof e,pe=e=>"symbol"==typeof e,de=e=>null!==e&&"object"==typeof e,he=e=>de(e)&&ce(e.then)&&ce(e.catch),fe=Object.prototype.toString,ge=e=>fe.call(e),me=e=>"[object Object]"===ge(e),ve=e=>ue(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,ye=T(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),we=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},be=/-(\w)/g,ke=we((e=>e.replace(be,((e,t)=>t?t.toUpperCase():"")))),xe=/\B([A-Z])/g,_e=we((e=>e.replace(xe,"-$1").toLowerCase())),$e=we((e=>e.charAt(0).toUpperCase()+e.slice(1))),Ce=we((e=>e?`on${$e(e)}`:"")),Se=(e,t)=>!Object.is(e,t),Ee=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Re=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Ae=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Ie,Le;class ze{constructor(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.detached=e,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Le,!e&&Le&&(this.index=(Le.scopes||(Le.scopes=[])).push(this)-1)}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}}}const Oe=e=>{const t=new Set(e);return t.w=0,t.n=0,t},je=e=>(e.w&Fe)>0,Te=e=>(e.n&Fe)>0,Ue=new WeakMap;let Pe,Me=0,Fe=1;const Ne=Symbol(""),Ve=Symbol("");class De{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0;this.fn=e,this.scheduler=t,this.active=!0,this.deps=[],this.parent=void 0,function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Le;t&&t.active&&t.effects.push(e)}(this,n)}run(){if(!this.active)return this.fn();let e=Pe,t=He;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=Pe,Pe=this,He=!0,Fe=1<<++Me,Me<=30?(e=>{let{deps:t}=e;if(t.length)for(let e=0;e<t.length;e++)t[e].w|=Fe})(this):Be(this),this.fn()}finally{Me<=30&&(e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const l=t[r];je(l)&&!Te(l)?l.delete(e):t[n++]=l,l.w&=~Fe,l.n&=~Fe}t.length=n}})(this),Fe=1<<--Me,Pe=this.parent,He=t,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Pe===this?this.deferStop=!0:this.active&&(Be(this),this.onStop&&this.onStop(),this.active=!1)}}function Be(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let He=!0;const We=[];function qe(){We.push(He),He=!1}function Ze(){const e=We.pop();He=void 0===e||e}function Qe(e,t,n){if(He&&Pe){let t=Ue.get(e);t||Ue.set(e,t=new Map);let r=t.get(n);r||t.set(n,r=Oe()),Ke(r)}}function Ke(e,t){let n=!1;Me<=30?Te(e)||(e.n|=Fe,n=!je(e)):n=!e.has(Pe),n&&(e.add(Pe),Pe.deps.push(e))}function Ge(e,t,n,r,l,i){const o=Ue.get(e);if(!o)return;let s=[];if("clear"===t)s=[...o.values()];else if("length"===n&&ie(e)){const e=Ae(r);o.forEach(((t,n)=>{("length"===n||n>=e)&&s.push(t)}))}else switch(void 0!==n&&s.push(o.get(n)),t){case"add":ie(e)?ve(n)&&s.push(o.get("length")):(s.push(o.get(Ne)),oe(e)&&s.push(o.get(Ve)));break;case"delete":ie(e)||(s.push(o.get(Ne)),oe(e)&&s.push(o.get(Ve)));break;case"set":oe(e)&&s.push(o.get(Ne))}if(1===s.length)s[0]&&Je(s[0]);else{const e=[];for(const t of s)t&&e.push(...t);Je(Oe(e))}}function Je(e,t){const n=ie(e)?e:[...e];for(const e of n)e.computed&&Xe(e);for(const e of n)e.computed||Xe(e)}function Xe(e,t){(e!==Pe||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Ye=T("__proto__,__v_isRef,__isVue"),et=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(pe)),tt=it(),nt=it(!1,!0),rt=it(!0),lt=function(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(){const e=Vt(this);for(let t=0,n=this.length;t<n;t++)Qe(e,0,t+"");for(var n=arguments.length,r=new Array(n),l=0;l<n;l++)r[l]=arguments[l];const i=e[t](...r);return-1===i||!1===i?e[t](...r.map(Vt)):i}})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(){qe();for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];const l=Vt(this)[t].apply(this,n);return Ze(),l}})),e}();function it(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,r,l){if("__v_isReactive"===r)return!e;if("__v_isReadonly"===r)return e;if("__v_isShallow"===r)return t;if("__v_raw"===r&&l===(e?t?Ot:zt:t?Lt:It).get(n))return n;const i=ie(n);if(!e&&i&&le(lt,r))return Reflect.get(lt,r,l);const o=Reflect.get(n,r,l);return(pe(r)?et.has(r):Ye(r))?o:(e||Qe(n,0,r),t?o:Zt(o)?i&&ve(r)?o:o.value:de(o)?e?Tt(o):jt(o):o)}}function ot(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(t,n,r,l){let i=t[n];if(Mt(i)&&Zt(i)&&!Zt(r))return!1;if(!e&&(Ft(r)||Mt(r)||(i=Vt(i),r=Vt(r)),!ie(t)&&Zt(i)&&!Zt(r)))return i.value=r,!0;const o=ie(t)&&ve(n)?Number(n)<t.length:le(t,n),s=Reflect.set(t,n,r,l);return t===Vt(l)&&(o?Se(r,i)&&Ge(t,"set",n,r):Ge(t,"add",n,r)),s}}const st={get:tt,set:ot(),deleteProperty:function(e,t){const n=le(e,t),r=Reflect.deleteProperty(e,t);return r&&n&&Ge(e,"delete",t,void 0),r},has:function(e,t){const n=Reflect.has(e,t);return pe(t)&&et.has(t)||Qe(e,0,t),n},ownKeys:function(e){return Qe(e,0,ie(e)?"length":Ne),Reflect.ownKeys(e)}},at={get:rt,set:(e,t)=>!0,deleteProperty:(e,t)=>!0},ct=te({},st,{get:nt,set:ot(!0)}),ut=e=>e,pt=e=>Reflect.getPrototypeOf(e);function dt(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const l=Vt(e=e.__v_raw),i=Vt(t);n||(t!==i&&Qe(l,0,t),Qe(l,0,i));const{has:o}=pt(l),s=r?ut:n?Ht:Bt;return o.call(l,t)?s(e.get(t)):o.call(l,i)?s(e.get(i)):void(e!==l&&e.get(t))}function ht(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=this.__v_raw,r=Vt(n),l=Vt(e);return t||(e!==l&&Qe(r,0,e),Qe(r,0,l)),e===l?n.has(e):n.has(e)||n.has(l)}function ft(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e=e.__v_raw,!t&&Qe(Vt(e),0,Ne),Reflect.get(e,"size",e)}function gt(e){e=Vt(e);const t=Vt(this);return pt(t).has.call(t,e)||(t.add(e),Ge(t,"add",e,e)),this}function mt(e,t){t=Vt(t);const n=Vt(this),{has:r,get:l}=pt(n);let i=r.call(n,e);i||(e=Vt(e),i=r.call(n,e));const o=l.call(n,e);return n.set(e,t),i?Se(t,o)&&Ge(n,"set",e,t):Ge(n,"add",e,t),this}function vt(e){const t=Vt(this),{has:n,get:r}=pt(t);let l=n.call(t,e);l||(e=Vt(e),l=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return l&&Ge(t,"delete",e,void 0),i}function yt(){const e=Vt(this),t=0!==e.size,n=e.clear();return t&&Ge(e,"clear",void 0,void 0),n}function wt(e,t){return function(n,r){const l=this,i=l.__v_raw,o=Vt(i),s=t?ut:e?Ht:Bt;return!e&&Qe(o,0,Ne),i.forEach(((e,t)=>n.call(r,s(e),s(t),l)))}}function bt(e,t,n){return function(){const r=this.__v_raw,l=Vt(r),i=oe(l),o="entries"===e||e===Symbol.iterator&&i,s="keys"===e&&i,a=r[e](...arguments),c=n?ut:t?Ht:Bt;return!t&&Qe(l,0,s?Ve:Ne),{next(){const{value:e,done:t}=a.next();return t?{value:e,done:t}:{value:o?[c(e[0]),c(e[1])]:c(e),done:t}},[Symbol.iterator](){return this}}}}function kt(e){return function(){return"delete"!==e&&this}}const[xt,_t,$t,Ct]=function(){const e={get(e){return dt(this,e)},get size(){return ft(this)},has:ht,add:gt,set:mt,delete:vt,clear:yt,forEach:wt(!1,!1)},t={get(e){return dt(this,e,!1,!0)},get size(){return ft(this)},has:ht,add:gt,set:mt,delete:vt,clear:yt,forEach:wt(!1,!0)},n={get(e){return dt(this,e,!0)},get size(){return ft(this,!0)},has(e){return ht.call(this,e,!0)},add:kt("add"),set:kt("set"),delete:kt("delete"),clear:kt("clear"),forEach:wt(!0,!1)},r={get(e){return dt(this,e,!0,!0)},get size(){return ft(this,!0)},has(e){return ht.call(this,e,!0)},add:kt("add"),set:kt("set"),delete:kt("delete"),clear:kt("clear"),forEach:wt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((l=>{e[l]=bt(l,!1,!1),n[l]=bt(l,!0,!1),t[l]=bt(l,!1,!0),r[l]=bt(l,!0,!0)})),[e,n,t,r]}();function St(e,t){const n=t?e?Ct:$t:e?_t:xt;return(t,r,l)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(le(n,r)&&r in t?n:t,r,l)}const Et={get:St(!1,!1)},Rt={get:St(!1,!0)},At={get:St(!0,!1)},It=new WeakMap,Lt=new WeakMap,zt=new WeakMap,Ot=new WeakMap;function jt(e){return Mt(e)?e:Ut(e,!1,st,Et,It)}function Tt(e){return Ut(e,!0,at,At,zt)}function Ut(e,t,n,r,l){if(!de(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const i=l.get(e);if(i)return i;const o=function(e){return e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((e=>ge(e).slice(8,-1))(e))}(e);if(0===o)return e;const s=new Proxy(e,2===o?r:n);return l.set(e,s),s}function Pt(e){return Mt(e)?Pt(e.__v_raw):!(!e||!e.__v_isReactive)}function Mt(e){return!(!e||!e.__v_isReadonly)}function Ft(e){return!(!e||!e.__v_isShallow)}function Nt(e){return Pt(e)||Mt(e)}function Vt(e){const t=e&&e.__v_raw;return t?Vt(t):e}function Dt(e){return Re(e,"__v_skip",!0),e}const Bt=e=>de(e)?jt(e):e,Ht=e=>de(e)?Tt(e):e;function Wt(e){He&&Pe&&Ke((e=Vt(e)).dep||(e.dep=Oe()))}function qt(e,t){(e=Vt(e)).dep&&Je(e.dep)}function Zt(e){return!(!e||!0!==e.__v_isRef)}function Qt(e){return Gt(e,!1)}function Kt(e){return Gt(e,!0)}function Gt(e,t){return Zt(e)?e:new Jt(e,t)}class Jt{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Vt(e),this._value=t?e:Bt(e)}get value(){return Wt(this),this._value}set value(e){const t=this.__v_isShallow||Ft(e)||Mt(e);e=t?e:Vt(e),Se(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:Bt(e),qt(this))}}function Xt(e){return Zt(e)?e.value:e}const Yt={get:(e,t,n)=>Xt(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const l=e[t];return Zt(l)&&!Zt(n)?(l.value=n,!0):Reflect.set(e,t,n,r)}};function en(e){return Pt(e)?e:new Proxy(e,Yt)}var tn;class nn{constructor(e,t,n,r){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this[tn]=!1,this._dirty=!0,this.effect=new De(e,(()=>{this._dirty||(this._dirty=!0,qt(this))})),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=n}get value(){const e=Vt(this);return Wt(e),!e._dirty&&e._cacheable||(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}function rn(e,t,n,r){let l;try{l=r?e(...r):e()}catch(e){on(e,t,n)}return l}function ln(e,t,n,r){if(ce(e)){const l=rn(e,t,n,r);return l&&he(l)&&l.catch((e=>{on(e,t,n)})),l}const l=[];for(let i=0;i<e.length;i++)l.push(ln(e[i],t,n,r));return l}function on(e,t,n){let r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(t&&t.vnode,t){let r=t.parent;const l=t.proxy,i=n;for(;r;){const t=r.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,l,i))return;r=r.parent}const o=t.appContext.config.errorHandler;if(o)return void rn(o,null,10,[e,l,i])}!function(e,t,n){console.error(e)}(e,0,0,r)}tn="__v_isReadonly";let sn=!1,an=!1;const cn=[];let un=0;const pn=[];let dn=null,hn=0;const fn=Promise.resolve();let gn=null;function mn(e){const t=gn||fn;return e?t.then(this?e.bind(this):e):t}function vn(e){cn.length&&cn.includes(e,sn&&e.allowRecurse?un+1:un)||(null==e.id?cn.push(e):cn.splice(function(e){let t=un+1,n=cn.length;for(;t<n;){const r=t+n>>>1;kn(cn[r])<e?t=r+1:n=r}return t}(e.id),0,e),yn())}function yn(){sn||an||(an=!0,gn=fn.then(_n))}function wn(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:sn?un+1:0;for(;t<cn.length;t++){const e=cn[t];e&&e.pre&&(cn.splice(t,1),t--,e())}}function bn(e){if(pn.length){const e=[...new Set(pn)];if(pn.length=0,dn)return void dn.push(...e);for(dn=e,dn.sort(((e,t)=>kn(e)-kn(t))),hn=0;hn<dn.length;hn++)dn[hn]();dn=null,hn=0}}const kn=e=>null==e.id?1/0:e.id,xn=(e,t)=>{const n=kn(e)-kn(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function _n(e){an=!1,sn=!0,cn.sort(xn);try{for(un=0;un<cn.length;un++){const e=cn[un];e&&!1!==e.active&&rn(e,null,14)}}finally{un=0,cn.length=0,bn(),sn=!1,gn=null,(cn.length||pn.length)&&_n()}}function $n(e,t){if(e.isUnmounted)return;const n=e.vnode.props||Q;for(var r=arguments.length,l=new Array(r>2?r-2:0),i=2;i<r;i++)l[i-2]=arguments[i];let o=l;const s=t.startsWith("update:"),a=s&&t.slice(7);if(a&&a in n){const e=`${"modelValue"===a?"model":a}Modifiers`,{number:t,trim:r}=n[e]||Q;r&&(o=l.map((e=>ue(e)?e.trim():e))),t&&(o=l.map(Ae))}let c,u=n[c=Ce(t)]||n[c=Ce(ke(t))];!u&&s&&(u=n[c=Ce(_e(t))]),u&&ln(u,e,6,o);const p=n[c+"Once"];if(p){if(e.emitted){if(e.emitted[c])return}else e.emitted={};e.emitted[c]=!0,ln(p,e,6,o)}}function Cn(e,t){const n=t.emitsCache,r=n.get(e);if(void 0!==r)return r;const l=e.emits;let i={};return l?(ie(l)?l.forEach((e=>i[e]=null)):te(i,l),de(e)&&n.set(e,i),i):(de(e)&&n.set(e,null),null)}function Sn(e,t){return!(!e||!Y(t))&&(t=t.slice(2).replace(/Once$/,""),le(e,t[0].toLowerCase()+t.slice(1))||le(e,_e(t))||le(e,t))}let En=null,Rn=null;function An(e){const t=En;return En=e,Rn=e&&e.type.__scopeId||null,t}function In(e){const{type:t,vnode:n,proxy:r,withProxy:l,props:i,propsOptions:[o],slots:s,attrs:a,emit:c,render:u,renderCache:p,data:d,setupState:h,ctx:f,inheritAttrs:g}=e;let m,v;const y=An(e);try{if(4&n.shapeFlag){const e=l||r;m=Wr(u.call(e,e,p,i,h,d,f)),v=a}else{const e=t;m=Wr(e.length>1?e(i,{attrs:a,slots:s,emit:c}):e(i,null)),v=t.props?a:Ln(a)}}catch(t){Er.length=0,on(t,e,1),m=Vr(Cr)}let w=m;if(v&&!1!==g){const e=Object.keys(v),{shapeFlag:t}=w;e.length&&7&t&&(o&&e.some(ee)&&(v=zn(v,o)),w=Dr(w,v))}return n.dirs&&(w=Dr(w),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&(w.transition=n.transition),m=w,An(y),m}const Ln=e=>{let t;for(const n in e)("class"===n||"style"===n||Y(n))&&((t||(t={}))[n]=e[n]);return t},zn=(e,t)=>{const n={};for(const r in e)ee(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function On(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let l=0;l<r.length;l++){const i=r[l];if(t[i]!==e[i]&&!Sn(n,i))return!0}return!1}function jn(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=Jr||En;if(r){const l=null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(l&&e in l)return l[e];if(arguments.length>1)return n&&ce(t)?t.call(r.proxy):t}}function Tn(e,t){return Mn(e,null,t)}const Un={};function Pn(e,t,n){return Mn(e,t,n)}function Mn(e,t){let{immediate:n,deep:r,flush:l,onTrack:i,onTrigger:o}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Q;const s=Jr;let a,c,u=!1,p=!1;if(Zt(e)?(a=()=>e.value,u=Ft(e)):Pt(e)?(a=()=>e,r=!0):ie(e)?(p=!0,u=e.some((e=>Pt(e)||Ft(e))),a=()=>e.map((e=>Zt(e)?e.value:Pt(e)?Fn(e):ce(e)?rn(e,s,2):void 0))):a=ce(e)?t?()=>rn(e,s,2):()=>{if(!s||!s.isUnmounted)return c&&c(),ln(e,s,3,[h])}:G,t&&r){const e=a;a=()=>Fn(e())}let d,h=e=>{c=v.onStop=()=>{rn(e,s,4)}};if(tl){if(h=G,t?n&&ln(t,s,3,[a(),p?[]:void 0,h]):a(),"sync"!==l)return G;{const e=al();d=e.__watcherHandles||(e.__watcherHandles=[])}}let f=p?new Array(e.length).fill(Un):Un;const g=()=>{if(v.active)if(t){const e=v.run();(r||u||(p?e.some(((e,t)=>Se(e,f[t]))):Se(e,f)))&&(c&&c(),ln(t,s,3,[e,f===Un?void 0:p&&f[0]===Un?[]:f,h]),f=e)}else v.run()};let m;g.allowRecurse=!!t,"sync"===l?m=g:"post"===l?m=()=>wr(g,s&&s.suspense):(g.pre=!0,s&&(g.id=s.uid),m=()=>vn(g));const v=new De(a,m);t?n?g():f=v.run():"post"===l?wr(v.run.bind(v),s&&s.suspense):v.run();const y=()=>{v.stop(),s&&s.scope&&ne(s.scope.effects,v)};return d&&d.push(y),y}function Fn(e,t){if(!de(e)||e.__v_skip)return e;if((t=t||new Set).has(e))return e;if(t.add(e),Zt(e))Fn(e.value,t);else if(ie(e))for(let n=0;n<e.length;n++)Fn(e[n],t);else if(se(e)||oe(e))e.forEach((e=>{Fn(e,t)}));else if(me(e))for(const n in e)Fn(e[n],t);return e}function Nn(e){return ce(e)?{setup:e,name:e.name}:e}const Vn=e=>!!e.type.__asyncLoader,Dn=e=>function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Jr;return(!tl||"sp"===e)&&function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Jr,r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(n){const l=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=function(){if(n.isUnmounted)return;qe(),Xr(n);for(var r=arguments.length,l=new Array(r),i=0;i<r;i++)l[i]=arguments[i];const o=ln(t,n,e,l);return Yr(),Ze(),o});return r?l.unshift(i):l.push(i),i}}(e,(function(){return t(...arguments)}),n)},Bn=Dn("m"),Hn=Dn("bum"),Wn=Dn("um");function qn(e,t){const n=En;if(null===n)return e;const r=ll(n)||n.proxy,l=e.dirs||(e.dirs=[]);for(let e=0;e<t.length;e++){let[n,i,o,s=Q]=t[e];n&&(ce(n)&&(n={mounted:n,updated:n}),n.deep&&Fn(i),l.push({dir:n,instance:r,value:i,oldValue:void 0,arg:o,modifiers:s}))}return e}function Zn(e,t,n,r){const l=e.dirs,i=t&&t.dirs;for(let o=0;o<l.length;o++){const s=l[o];i&&(s.oldValue=i[o].value);let a=s.dir[r];a&&(qe(),ln(a,n,8,[e.el,s,e,t]),Ze())}}const Qn="components";const Kn=Symbol();function Gn(e,t){return e&&(e[t]||e[ke(t)]||e[$e(ke(t))])}function Jn(e,t,n,r){let l;const i=n&&n[r];if(ie(e)||ue(e)){l=new Array(e.length);for(let n=0,r=e.length;n<r;n++)l[n]=t(e[n],n,void 0,i&&i[n])}else if("number"==typeof e){l=new Array(e);for(let n=0;n<e;n++)l[n]=t(n+1,n,void 0,i&&i[n])}else if(de(e))if(e[Symbol.iterator])l=Array.from(e,((e,n)=>t(e,n,void 0,i&&i[n])));else{const n=Object.keys(e);l=new Array(n.length);for(let r=0,o=n.length;r<o;r++){const o=n[r];l[r]=t(e[o],o,r,i&&i[r])}}else l=[];return n&&(n[r]=l),l}const Xn=e=>e?el(e)?ll(e)||e.proxy:Xn(e.parent):null,Yn=te(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Xn(e.parent),$root:e=>Xn(e.root),$emit:e=>e.emit,$options:e=>e.type,$forceUpdate:e=>e.f||(e.f=()=>vn(e.update)),$nextTick:e=>e.n||(e.n=mn.bind(e.proxy)),$watch:e=>G}),er=(e,t)=>e!==Q&&!e.__isScriptSetup&&le(e,t),tr={get(e,t){let{_:n}=e;const{ctx:r,setupState:l,data:i,props:o,accessCache:s,type:a,appContext:c}=n;let u;if("$"!==t[0]){const e=s[t];if(void 0!==e)switch(e){case 1:return l[t];case 2:return i[t];case 4:return r[t];case 3:return o[t]}else{if(er(l,t))return s[t]=1,l[t];if(i!==Q&&le(i,t))return s[t]=2,i[t];if((u=n.propsOptions[0])&&le(u,t))return s[t]=3,o[t];if(r!==Q&&le(r,t))return s[t]=4,r[t];s[t]=0}}const p=Yn[t];let d,h;return p?("$attrs"===t&&Qe(n,0,t),p(n)):(d=a.__cssModules)&&(d=d[t])?d:r!==Q&&le(r,t)?(s[t]=4,r[t]):(h=c.config.globalProperties,le(h,t)?h[t]:void 0)},set(e,t,n){let{_:r}=e;const{data:l,setupState:i,ctx:o}=r;return er(i,t)?(i[t]=n,!0):l!==Q&&le(l,t)?(l[t]=n,!0):!(le(r.props,t)||"$"===t[0]&&t.slice(1)in r||(o[t]=n,0))},has(e,t){let n,{_:{data:r,setupState:l,accessCache:i,ctx:o,appContext:s,propsOptions:a}}=e;return!!i[t]||r!==Q&&le(r,t)||er(l,t)||(n=a[0])&&le(n,t)||le(o,t)||le(Yn,t)||le(s.config.globalProperties,t)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:le(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function nr(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const l={},i={};Re(i,Pr,1),e.propsDefaults=Object.create(null),rr(e,t,l,i);for(const t in e.propsOptions[0])t in l||(l[t]=void 0);n?e.props=r?l:Ut(l,!1,ct,Rt,Lt):e.type.props?e.props=l:e.props=i,e.attrs=i}function rr(e,t,n,r){const[l,i]=e.propsOptions;let o,s=!1;if(t)for(let a in t){if(ye(a))continue;const c=t[a];let u;l&&le(l,u=ke(a))?i&&i.includes(u)?(o||(o={}))[u]=c:n[u]=c:Sn(e.emitsOptions,a)||a in r&&c===r[a]||(r[a]=c,s=!0)}if(i){const t=Vt(n),r=o||Q;for(let o=0;o<i.length;o++){const s=i[o];n[s]=lr(l,t,s,r[s],e,!le(r,s))}}return s}function lr(e,t,n,r,l,i){const o=e[n];if(null!=o){const e=le(o,"default");if(e&&void 0===r){const e=o.default;if(o.type!==Function&&ce(e)){const{propsDefaults:i}=l;n in i?r=i[n]:(Xr(l),r=i[n]=e.call(null,t),Yr())}else r=e}o[0]&&(i&&!e?r=!1:!o[1]||""!==r&&r!==_e(n)||(r=!0))}return r}function ir(e,t){const n=t.propsCache,r=n.get(e);if(r)return r;const l=e.props,i={},o=[];if(!l)return de(e)&&n.set(e,K),K;if(ie(l))for(let e=0;e<l.length;e++){const t=ke(l[e]);or(t)&&(i[t]=Q)}else if(l)for(const e in l){const t=ke(e);if(or(t)){const n=l[e],r=i[t]=ie(n)||ce(n)?{type:n}:Object.assign({},n);if(r){const e=cr(Boolean,r.type),n=cr(String,r.type);r[0]=e>-1,r[1]=n<0||e<n,(e>-1||le(r,"default"))&&o.push(t)}}}const s=[i,o];return de(e)&&n.set(e,s),s}function or(e){return"$"!==e[0]}function sr(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:null===e?"null":""}function ar(e,t){return sr(e)===sr(t)}function cr(e,t){return ie(t)?t.findIndex((t=>ar(t,e))):ce(t)&&ar(t,e)?0:-1}const ur=e=>"_"===e[0]||"$stable"===e,pr=e=>ie(e)?e.map(Wr):[Wr(e)],dr=(e,t,n)=>{if(t._n)return t;const r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:En;if(!t)return e;if(e._n)return e;const n=function(){n._d&&Lr(-1);const r=An(t);let l;try{l=e(...arguments)}finally{An(r),n._d&&Lr(1)}return l};return n._n=!0,n._c=!0,n._d=!0,n}((function(){return pr(t(...arguments))}),n);return r._c=!1,r},hr=(e,t,n)=>{const r=e._ctx;for(const n in e){if(ur(n))continue;const l=e[n];if(ce(l))t[n]=dr(0,l,r);else if(null!=l){const e=pr(l);t[n]=()=>e}}},fr=(e,t)=>{const n=pr(t);e.slots.default=()=>n};function gr(){return{app:null,config:{isNativeTag:J,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 mr=0;function vr(e,t){return function(n){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;ce(n)||(n=Object.assign({},n)),null==r||de(r)||(r=null);const l=gr(),i=new Set;let o=!1;const s=l.app={_uid:mr++,_component:n,_props:r,_container:null,_context:l,_instance:null,version:cl,get config(){return l.config},set config(e){},use:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return i.has(e)||(e&&ce(e.install)?(i.add(e),e.install(s,...n)):ce(e)&&(i.add(e),e(s,...n))),s},mixin:e=>s,component:(e,t)=>t?(l.components[e]=t,s):l.components[e],directive:(e,t)=>t?(l.directives[e]=t,s):l.directives[e],mount(i,a,c){if(!o){const u=Vr(n,r);return u.appContext=l,a&&t?t(u,i):e(u,i,c),o=!0,s._container=i,i.__vue_app__=s,ll(u.component)||u.component.proxy}},unmount(){o&&(e(null,s._container),delete s._container.__vue_app__)},provide:(e,t)=>(l.provides[e]=t,s)};return s}}function yr(e,t,n,r){let l=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(ie(e))return void e.forEach(((e,i)=>yr(e,t&&(ie(t)?t[i]:t),n,r,l)));if(Vn(r)&&!l)return;const i=4&r.shapeFlag?ll(r.component)||r.component.proxy:r.el,o=l?null:i,{i:s,r:a}=e,c=t&&t.r,u=s.refs===Q?s.refs={}:s.refs,p=s.setupState;if(null!=c&&c!==a&&(ue(c)?(u[c]=null,le(p,c)&&(p[c]=null)):Zt(c)&&(c.value=null)),ce(a))rn(a,s,12,[o,u]);else{const t=ue(a),r=Zt(a);if(t||r){const s=()=>{if(e.f){const n=t?le(p,a)?p[a]:u[a]:a.value;l?ie(n)&&ne(n,i):ie(n)?n.includes(i)||n.push(i):t?(u[a]=[i],le(p,a)&&(p[a]=u[a])):(a.value=[i],e.k&&(u[e.k]=a.value))}else t?(u[a]=o,le(p,a)&&(p[a]=o)):r&&(a.value=o,e.k&&(u[e.k]=o))};o?(s.id=-1,wr(s,n)):s()}}}const wr=function(e,t){var n;t&&t.pendingBranch?ie(e)?t.effects.push(...e):t.effects.push(e):(ie(n=e)?pn.push(...n):dn&&dn.includes(n,n.allowRecurse?hn+1:hn)||pn.push(n),yn())};function br(e){return function(e,t){(Ie||(Ie="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{})).__VUE__=!0;const{insert:n,remove:r,patchProp:l,createElement:i,createText:o,createComment:s,setText:a,setElementText:c,parentNode:u,nextSibling:p,setScopeId:d=G,insertStaticContent:h}=e,f=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,o=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,a=arguments.length>8&&void 0!==arguments[8]?arguments[8]:!!t.dynamicChildren;if(e===t)return;e&&!Ur(e,t)&&(r=V(e),U(e,l,i,!0),e=null),-2===t.patchFlag&&(a=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:p}=t;switch(c){case $r:g(e,t,n,r);break;case Cr:m(e,t,n,r);break;case Sr:null==e&&v(t,n,r,o);break;case _r:S(e,t,n,r,l,i,o,s,a);break;default:1&p?w(e,t,n,r,l,i,o,s,a):6&p?E(e,t,n,r,l,i,o,s,a):(64&p||128&p)&&c.process(e,t,n,r,l,i,o,s,a,B)}null!=u&&l&&yr(u,e&&e.ref,i,t||e,!t)},g=(e,t,r,l)=>{if(null==e)n(t.el=o(t.children),r,l);else{const n=t.el=e.el;t.children!==e.children&&a(n,t.children)}},m=(e,t,r,l)=>{null==e?n(t.el=s(t.children||""),r,l):t.el=e.el},v=(e,t,n,r)=>{[e.el,e.anchor]=h(e.children,t,n,r,e.el,e.anchor)},y=(e,t,r)=>{let l,{el:i,anchor:o}=e;for(;i&&i!==o;)l=p(i),n(i,t,r),i=l;n(o,t,r)},w=(e,t,n,r,l,i,o,s,a)=>{o=o||"svg"===t.type,null==e?b(t,n,r,l,i,o,s,a):_(e,t,l,i,o,s,a)},b=(e,t,r,o,s,a,u,p)=>{let d,h;const{type:f,props:g,shapeFlag:m,transition:v,dirs:y}=e;if(d=e.el=i(e.type,a,g&&g.is,g),8&m?c(d,e.children):16&m&&x(e.children,d,null,o,s,a&&"foreignObject"!==f,u,p),y&&Zn(e,null,o,"created"),g){for(const t in g)"value"===t||ye(t)||l(d,t,null,g[t],a,e.children,o,s,N);"value"in g&&l(d,"value",null,g.value),(h=g.onVnodeBeforeMount)&&Qr(h,o,e)}k(d,e,e.scopeId,u,o),y&&Zn(e,null,o,"beforeMount");const w=(!s||s&&!s.pendingBranch)&&v&&!v.persisted;w&&v.beforeEnter(d),n(d,t,r),((h=g&&g.onVnodeMounted)||w||y)&&wr((()=>{h&&Qr(h,o,e),w&&v.enter(d),y&&Zn(e,null,o,"mounted")}),s)},k=(e,t,n,r,l)=>{if(n&&d(e,n),r)for(let t=0;t<r.length;t++)d(e,r[t]);if(l&&t===l.subTree){const t=l.vnode;k(e,t,t.scopeId,t.slotScopeIds,l.parent)}},x=function(e,t,n,r,l,i,o,s){let a=arguments.length>8&&void 0!==arguments[8]?arguments[8]:0;for(let c=a;c<e.length;c++){const a=e[c]=s?qr(e[c]):Wr(e[c]);f(null,a,t,n,r,l,i,o,s)}},_=(e,t,n,r,i,o,s)=>{const a=t.el=e.el;let{patchFlag:u,dynamicChildren:p,dirs:d}=t;u|=16&e.patchFlag;const h=e.props||Q,f=t.props||Q;let g;n&&kr(n,!1),(g=f.onVnodeBeforeUpdate)&&Qr(g,n,t,e),d&&Zn(t,e,n,"beforeUpdate"),n&&kr(n,!0);const m=i&&"foreignObject"!==t.type;if(p?$(e.dynamicChildren,p,a,n,r,m,o):s||z(e,t,a,null,n,r,m,o,!1),u>0){if(16&u)C(a,t,h,f,n,r,i);else if(2&u&&h.class!==f.class&&l(a,"class",null,f.class,i),4&u&&l(a,"style",h.style,f.style,i),8&u){const o=t.dynamicProps;for(let t=0;t<o.length;t++){const s=o[t],c=h[s],u=f[s];u===c&&"value"!==s||l(a,s,c,u,i,e.children,n,r,N)}}1&u&&e.children!==t.children&&c(a,t.children)}else s||null!=p||C(a,t,h,f,n,r,i);((g=f.onVnodeUpdated)||d)&&wr((()=>{g&&Qr(g,n,t,e),d&&Zn(t,e,n,"updated")}),r)},$=(e,t,n,r,l,i,o)=>{for(let s=0;s<t.length;s++){const a=e[s],c=t[s],p=a.el&&(a.type===_r||!Ur(a,c)||70&a.shapeFlag)?u(a.el):n;f(a,c,p,null,r,l,i,o,!0)}},C=(e,t,n,r,i,o,s)=>{if(n!==r){if(n!==Q)for(const a in n)ye(a)||a in r||l(e,a,n[a],null,s,t.children,i,o,N);for(const a in r){if(ye(a))continue;const c=r[a],u=n[a];c!==u&&"value"!==a&&l(e,a,u,c,s,t.children,i,o,N)}"value"in r&&l(e,"value",n.value,r.value)}},S=(e,t,r,l,i,s,a,c,u)=>{const p=t.el=e?e.el:o(""),d=t.anchor=e?e.anchor:o("");let{patchFlag:h,dynamicChildren:f,slotScopeIds:g}=t;g&&(c=c?c.concat(g):g),null==e?(n(p,r,l),n(d,r,l),x(t.children,r,d,i,s,a,c,u)):h>0&&64&h&&f&&e.dynamicChildren?($(e.dynamicChildren,f,r,i,s,a,c),(null!=t.key||i&&t===i.subTree)&&xr(e,t,!0)):z(e,t,r,d,i,s,a,c,u)},E=(e,t,n,r,l,i,o,s,a)=>{t.slotScopeIds=s,null==e?512&t.shapeFlag?l.ctx.activate(t,n,r,o,a):R(t,n,r,l,i,o,a):A(e,t,a)},R=(e,t,n,r,l,i,o)=>{const s=e.component=function(e,t,n){const r=e.type,l=(t?t.appContext:e.appContext)||Kr,i={uid:Gr++,vnode:e,type:r,parent:t,appContext:l,root:null,next:null,subTree:null,effect:null,update:null,scope:new ze(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(l.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ir(r,l),emitsOptions:Cn(r,l),emit:null,emitted:null,propsDefaults:Q,inheritAttrs:r.inheritAttrs,ctx:Q,data:Q,props:Q,attrs:Q,slots:Q,refs:Q,setupState:Q,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=$n.bind(null,i),e.ce&&e.ce(i),i}(e,r,l);if(e.type.__isKeepAlive&&(s.ctx.renderer=B),function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];tl=t;const{props:n,children:r}=e.vnode,l=el(e);nr(e,n,l,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=Vt(t),Re(t,"_",n)):hr(t,e.slots={})}else e.slots={},t&&fr(e,t);Re(e.slots,Pr,1)})(e,r);l&&function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Dt(new Proxy(e.ctx,tr));const{setup:r}=n;if(r){const n=e.setupContext=r.length>1?function(e){let t;return{get attrs(){return t||(t=function(e){return new Proxy(e.attrs,{get:(t,n)=>(Qe(e,0,"$attrs"),t[n])})}(e))},slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}(e):null;Xr(e),qe();const l=rn(r,e,0,[e.props,n]);if(Ze(),Yr(),he(l)){if(l.then(Yr,Yr),t)return l.then((n=>{nl(e,n,t)})).catch((t=>{on(t,e,0)}));e.asyncDep=l}else nl(e,l,t)}else rl(e,t)}(e,t);tl=!1}(s),s.asyncDep){if(l&&l.registerDep(s,I),!e.el){const e=s.subTree=Vr(Cr);m(null,e,t,n)}}else I(s,e,t,n,l,i,o)},A=(e,t,n)=>{const r=t.component=e.component;if(function(e,t,n){const{props:r,children:l,component:i}=e,{props:o,children:s,patchFlag:a}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&a>=0))return!(!l&&!s||s&&s.$stable)||r!==o&&(r?!o||On(r,o,c):!!o);if(1024&a)return!0;if(16&a)return r?On(r,o,c):!!o;if(8&a){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(o[n]!==r[n]&&!Sn(c,n))return!0}}return!1}(e,t,n)){if(r.asyncDep&&!r.asyncResolved)return void L(r,t,n);r.next=t,function(e){const t=cn.indexOf(e);t>un&&cn.splice(t,1)}(r.update),r.update()}else t.el=e.el,r.vnode=t},I=(e,t,n,r,l,i,o)=>{const s=e.effect=new De((()=>{if(e.isMounted){let t,{next:n,bu:r,u:s,parent:a,vnode:c}=e,p=n;kr(e,!1),n?(n.el=c.el,L(e,n,o)):n=c,r&&Ee(r),(t=n.props&&n.props.onVnodeBeforeUpdate)&&Qr(t,a,n,c),kr(e,!0);const d=In(e),h=e.subTree;e.subTree=d,f(h,d,u(h.el),V(h),e,l,i),n.el=d.el,null===p&&function(e,t){let{vnode:n,parent:r}=e;for(;r&&r.subTree===n;)(n=r.vnode).el=t,r=r.parent}(e,d.el),s&&wr(s,l),(t=n.props&&n.props.onVnodeUpdated)&&wr((()=>Qr(t,a,n,c)),l)}else{let o;const{el:s,props:a}=t,{bm:c,m:u,parent:p}=e,d=Vn(t);if(kr(e,!1),c&&Ee(c),!d&&(o=a&&a.onVnodeBeforeMount)&&Qr(o,p,t),kr(e,!0),s&&W){const n=()=>{e.subTree=In(e),W(s,e.subTree,e,l,null)};d?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{const o=e.subTree=In(e);f(null,o,n,r,e,l,i),t.el=o.el}if(u&&wr(u,l),!d&&(o=a&&a.onVnodeMounted)){const e=t;wr((()=>Qr(o,p,e)),l)}(256&t.shapeFlag||p&&Vn(p.vnode)&&256&p.vnode.shapeFlag)&&e.a&&wr(e.a,l),e.isMounted=!0,t=n=r=null}}),(()=>vn(a)),e.scope),a=e.update=()=>s.run();a.id=e.uid,kr(e,!0),a()},L=(e,t,n)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,r){const{props:l,attrs:i,vnode:{patchFlag:o}}=e,s=Vt(l),[a]=e.propsOptions;let c=!1;if(!(r||o>0)||16&o){let r;rr(e,t,l,i)&&(c=!0);for(const i in s)t&&(le(t,i)||(r=_e(i))!==i&&le(t,r))||(a?!n||void 0===n[i]&&void 0===n[r]||(l[i]=lr(a,s,i,void 0,e,!0)):delete l[i]);if(i!==s)for(const e in i)t&&le(t,e)||(delete i[e],c=!0)}else if(8&o){const n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let o=n[r];if(Sn(e.emitsOptions,o))continue;const u=t[o];if(a)if(le(i,o))u!==i[o]&&(i[o]=u,c=!0);else{const t=ke(o);l[t]=lr(a,s,t,u,e,!1)}else u!==i[o]&&(i[o]=u,c=!0)}}c&&Ge(e,"set","$attrs")}(e,t.props,r,n),((e,t,n)=>{const{vnode:r,slots:l}=e;let i=!0,o=Q;if(32&r.shapeFlag){const e=t._;e?n&&1===e?i=!1:(te(l,t),n||1!==e||delete l._):(i=!t.$stable,hr(t,l)),o=t}else t&&(fr(e,t),o={default:1});if(i)for(const e in l)ur(e)||e in o||delete l[e]})(e,t.children,n),qe(),wn(),Ze()},z=function(e,t,n,r,l,i,o,s){let a=arguments.length>8&&void 0!==arguments[8]&&arguments[8];const u=e&&e.children,p=e?e.shapeFlag:0,d=t.children,{patchFlag:h,shapeFlag:f}=t;if(h>0){if(128&h)return void j(u,d,n,r,l,i,o,s,a);if(256&h)return void O(u,d,n,r,l,i,o,s,a)}8&f?(16&p&&N(u,l,i),d!==u&&c(n,d)):16&p?16&f?j(u,d,n,r,l,i,o,s,a):N(u,l,i,!0):(8&p&&c(n,""),16&f&&x(d,n,r,l,i,o,s,a))},O=(e,t,n,r,l,i,o,s,a)=>{t=t||K;const c=(e=e||K).length,u=t.length,p=Math.min(c,u);let d;for(d=0;d<p;d++){const r=t[d]=a?qr(t[d]):Wr(t[d]);f(e[d],r,n,null,l,i,o,s,a)}c>u?N(e,l,i,!0,!1,p):x(t,n,r,l,i,o,s,a,p)},j=(e,t,n,r,l,i,o,s,a)=>{let c=0;const u=t.length;let p=e.length-1,d=u-1;for(;c<=p&&c<=d;){const r=e[c],u=t[c]=a?qr(t[c]):Wr(t[c]);if(!Ur(r,u))break;f(r,u,n,null,l,i,o,s,a),c++}for(;c<=p&&c<=d;){const r=e[p],c=t[d]=a?qr(t[d]):Wr(t[d]);if(!Ur(r,c))break;f(r,c,n,null,l,i,o,s,a),p--,d--}if(c>p){if(c<=d){const e=d+1,p=e<u?t[e].el:r;for(;c<=d;)f(null,t[c]=a?qr(t[c]):Wr(t[c]),n,p,l,i,o,s,a),c++}}else if(c>d)for(;c<=p;)U(e[c],l,i,!0),c++;else{const h=c,g=c,m=new Map;for(c=g;c<=d;c++){const e=t[c]=a?qr(t[c]):Wr(t[c]);null!=e.key&&m.set(e.key,c)}let v,y=0;const w=d-g+1;let b=!1,k=0;const x=new Array(w);for(c=0;c<w;c++)x[c]=0;for(c=h;c<=p;c++){const r=e[c];if(y>=w){U(r,l,i,!0);continue}let u;if(null!=r.key)u=m.get(r.key);else for(v=g;v<=d;v++)if(0===x[v-g]&&Ur(r,t[v])){u=v;break}void 0===u?U(r,l,i,!0):(x[u-g]=c+1,u>=k?k=u:b=!0,f(r,t[u],n,null,l,i,o,s,a),y++)}const _=b?function(e){const t=e.slice(),n=[0];let r,l,i,o,s;const a=e.length;for(r=0;r<a;r++){const a=e[r];if(0!==a){if(l=n[n.length-1],e[l]<a){t[r]=l,n.push(r);continue}for(i=0,o=n.length-1;i<o;)s=i+o>>1,e[n[s]]<a?i=s+1:o=s;a<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}(x):K;for(v=_.length-1,c=w-1;c>=0;c--){const e=g+c,p=t[e],d=e+1<u?t[e+1].el:r;0===x[c]?f(null,p,n,d,l,i,o,s,a):b&&(v<0||c!==_[v]?T(p,n,d,2):v--)}}},T=function(e,t,r,l){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;const{el:o,type:s,transition:a,children:c,shapeFlag:u}=e;if(6&u)T(e.component.subTree,t,r,l);else if(128&u)e.suspense.move(t,r,l);else if(64&u)s.move(e,t,r,B);else if(s!==_r)if(s!==Sr)if(2!==l&&1&u&&a)if(0===l)a.beforeEnter(o),n(o,t,r),wr((()=>a.enter(o)),i);else{const{leave:e,delayLeave:l,afterLeave:i}=a,s=()=>n(o,t,r),c=()=>{e(o,(()=>{s(),i&&i()}))};l?l(o,s,c):c()}else n(o,t,r);else y(e,t,r);else{n(o,t,r);for(let e=0;e<c.length;e++)T(c[e],t,r,l);n(e.anchor,t,r)}},U=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],l=arguments.length>4&&void 0!==arguments[4]&&arguments[4];const{type:i,props:o,ref:s,children:a,dynamicChildren:c,shapeFlag:u,patchFlag:p,dirs:d}=e;if(null!=s&&yr(s,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const h=1&u&&d,f=!Vn(e);let g;if(f&&(g=o&&o.onVnodeBeforeUnmount)&&Qr(g,t,e),6&u)F(e.component,n,r);else{if(128&u)return void e.suspense.unmount(n,r);h&&Zn(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,l,B,r):c&&(i!==_r||p>0&&64&p)?N(c,t,n,!1,!0):(i===_r&&384&p||!l&&16&u)&&N(a,t,n),r&&P(e)}(f&&(g=o&&o.onVnodeUnmounted)||h)&&wr((()=>{g&&Qr(g,t,e),h&&Zn(e,null,t,"unmounted")}),n)},P=e=>{const{type:t,el:n,anchor:l,transition:i}=e;if(t===_r)return void M(n,l);if(t===Sr)return void(e=>{let t,{el:n,anchor:l}=e;for(;n&&n!==l;)t=p(n),r(n),n=t;r(l)})(e);const o=()=>{r(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&e.shapeFlag&&i&&!i.persisted){const{leave:t,delayLeave:r}=i,l=()=>t(n,o);r?r(e.el,o,l):l()}else o()},M=(e,t)=>{let n;for(;e!==t;)n=p(e),r(e),e=n;r(t)},F=(e,t,n)=>{const{bum:r,scope:l,update:i,subTree:o,um:s}=e;r&&Ee(r),l.stop(),i&&(i.active=!1,U(o,e,t,n)),s&&wr(s,t),wr((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},N=function(e,t,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],l=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;for(let o=i;o<e.length;o++)U(e[o],t,n,r,l)},V=e=>6&e.shapeFlag?V(e.component.subTree):128&e.shapeFlag?e.suspense.next():p(e.anchor||e.el),D=(e,t,n)=>{null==e?t._vnode&&U(t._vnode,null,null,!0):f(t._vnode||null,e,t,null,null,null,n),wn(),bn(),t._vnode=e},B={p:f,um:U,m:T,r:P,mt:R,mc:x,pc:z,pbc:$,n:V,o:e};let H,W;return{render:D,hydrate:H,createApp:vr(D,H)}}(e)}function kr(e,t){let{effect:n,update:r}=e;n.allowRecurse=r.allowRecurse=t}function xr(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const r=e.children,l=t.children;if(ie(r)&&ie(l))for(let e=0;e<r.length;e++){const t=r[e];let i=l[e];1&i.shapeFlag&&!i.dynamicChildren&&((i.patchFlag<=0||32===i.patchFlag)&&(i=l[e]=qr(l[e]),i.el=t.el),n||xr(t,i)),i.type===$r&&(i.el=t.el)}}const _r=Symbol(void 0),$r=Symbol(void 0),Cr=Symbol(void 0),Sr=Symbol(void 0),Er=[];let Rr=null;function Ar(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];Er.push(Rr=e?null:[])}let Ir=1;function Lr(e){Ir+=e}function zr(e){return e.dynamicChildren=Ir>0?Rr||K:null,Er.pop(),Rr=Er[Er.length-1]||null,Ir>0&&Rr&&Rr.push(e),e}function Or(e,t,n,r,l,i){return zr(Nr(e,t,n,r,l,i,!0))}function jr(e,t,n,r,l){return zr(Vr(e,t,n,r,l,!0))}function Tr(e){return!!e&&!0===e.__v_isVNode}function Ur(e,t){return e.type===t.type&&e.key===t.key}const Pr="__vInternal",Mr=e=>{let{key:t}=e;return null!=t?t:null},Fr=e=>{let{ref:t,ref_key:n,ref_for:r}=e;return null!=t?ue(t)||Zt(t)||ce(t)?{i:En,r:t,k:n,f:!!r}:t:null};function Nr(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e===_r?0:1,o=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s=arguments.length>7&&void 0!==arguments[7]&&arguments[7];const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Mr(t),ref:t&&Fr(t),scopeId:Rn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:l,dynamicChildren:null,appContext:null,ctx:En};return s?(Zr(a,n),128&i&&e.normalize(a)):n&&(a.shapeFlag|=ue(n)?8:16),Ir>0&&!o&&Rr&&(a.patchFlag>0||6&i)&&32!==a.patchFlag&&Rr.push(a),a}const Vr=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,i=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(e&&e!==Kn||(e=Cr),Tr(e)){const r=Dr(e,t,!0);return n&&Zr(r,n),Ir>0&&!i&&Rr&&(6&r.shapeFlag?Rr[Rr.indexOf(e)]=r:Rr.push(r)),r.patchFlag|=-2,r}var o;if(ce(o=e)&&"__vccOpts"in o&&(e=e.__vccOpts),t){t=function(e){return e?Nt(e)||Pr in e?te({},e):e:null}(t);let{class:e,style:n}=t;e&&!ue(e)&&(t.class=V(e)),de(n)&&(Nt(n)&&!ie(n)&&(n=te({},n)),t.style=U(n))}const s=ue(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:de(e)?4:ce(e)?2:0;return Nr(e,t,n,r,l,s,i,!0)};function Dr(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];const{props:r,ref:l,patchFlag:i,children:o}=e,s=t?function(){const e={};for(let t=0;t<arguments.length;t++){const n=t<0||arguments.length<=t?void 0:arguments[t];for(const t in n)if("class"===t)e.class!==n.class&&(e.class=V([e.class,n.class]));else if("style"===t)e.style=U([e.style,n.style]);else if(Y(t)){const r=e[t],l=n[t];!l||r===l||ie(r)&&r.includes(l)||(e[t]=r?[].concat(r,l):l)}else""!==t&&(e[t]=n[t])}return e}(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,pro