From b8e5dd0ff110357a288de1ebab6197bef85e4aff Mon Sep 17 00:00:00 2001 From: WOSHIZHAZHA120 Date: Mon, 4 Dec 2023 14:14:33 +0000 Subject: [PATCH] deploy: 5acb7fda55de850b873d23a5ee89b927e272386a --- .../{index-b7be301a.js => index-358dd680.js} | 106 +++++++++--------- index.html | 2 +- 2 files changed, 54 insertions(+), 54 deletions(-) rename assets/{index-b7be301a.js => index-358dd680.js} (85%) diff --git a/assets/index-b7be301a.js b/assets/index-358dd680.js similarity index 85% rename from assets/index-b7be301a.js rename to assets/index-358dd680.js index c259194..0481db8 100644 --- a/assets/index-b7be301a.js +++ b/assets/index-358dd680.js @@ -1,30 +1,30 @@ -var _1=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var GM=_1((tn,nn)=>{(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))o(i);new MutationObserver(i=>{for(const r of i)if(r.type==="childList")for(const a of r.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&o(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const r={};return i.integrity&&(r.integrity=i.integrity),i.referrerPolicy&&(r.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?r.credentials="include":i.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function o(i){if(i.ep)return;i.ep=!0;const r=n(i);fetch(i.href,r)}})();function tc(e,t){const n=Object.create(null),o=e.split(",");for(let i=0;i!!n[i.toLowerCase()]:i=>!!n[i]}const nt={},pi=[],Tn=()=>{},P1=()=>!1,A1=/^on[^a-z]/,Ga=e=>A1.test(e),nc=e=>e.startsWith("onUpdate:"),pt=Object.assign,oc=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},I1=Object.prototype.hasOwnProperty,Ne=(e,t)=>I1.call(e,t),Ce=Array.isArray,bi=e=>Ka(e)==="[object Map]",uf=e=>Ka(e)==="[object Set]",Re=e=>typeof e=="function",gt=e=>typeof e=="string",Va=e=>typeof e=="symbol",Ye=e=>e!==null&&typeof e=="object",hf=e=>(Ye(e)||Re(e))&&Re(e.then)&&Re(e.catch),ff=Object.prototype.toString,Ka=e=>ff.call(e),E1=e=>Ka(e).slice(8,-1),gf=e=>Ka(e)==="[object Object]",ic=e=>gt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ya=tc(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ua=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},R1=/-(\w)/g,ki=Ua(e=>e.replace(R1,(t,n)=>n?n.toUpperCase():"")),M1=/\B([A-Z])/g,Mi=Ua(e=>e.replace(M1,"-$1").toLowerCase()),mf=Ua(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ls=Ua(e=>e?`on${mf(e)}`:""),Uo=(e,t)=>!Object.is(e,t),$s=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},D1=e=>{const t=parseFloat(e);return isNaN(t)?e:t},L1=e=>{const t=gt(e)?Number(e):NaN;return isNaN(t)?e:t};let pd;const cl=()=>pd||(pd=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function qa(e){if(Ce(e)){const t={};for(let n=0;n{if(n){const o=n.split(O1);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function rc(e){let t="";if(gt(e))t=e;else if(Ce(e))for(let n=0;ngt(e)?e:e==null?"":Ce(e)||Ye(e)&&(e.toString===ff||!Re(e.toString))?JSON.stringify(e,bf,2):String(e),bf=(e,t)=>t&&t.__v_isRef?bf(e,t.value):bi(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,i])=>(n[`${o} =>`]=i,n),{})}:uf(t)?{[`Set(${t.size})`]:[...t.values()]}:Ye(t)&&!Ce(t)&&!gf(t)?String(t):t;let en;class vf{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=en,!t&&en&&(this.index=(en.scopes||(en.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=en;try{return en=this,t()}finally{en=n}}}on(){en=this}off(){en=this.parent}stop(t){if(this._active){let n,o;for(n=0,o=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},xf=e=>(e.w&uo)>0,kf=e=>(e.n&uo)>0,W1=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o{(d==="length"||!Va(d)&&d>=l)&&s.push(c)})}else switch(n!==void 0&&s.push(a.get(n)),t){case"add":Ce(e)?ic(n)&&s.push(a.get("length")):(s.push(a.get(Fo)),bi(e)&&s.push(a.get(ul)));break;case"delete":Ce(e)||(s.push(a.get(Fo)),bi(e)&&s.push(a.get(ul)));break;case"set":bi(e)&&s.push(a.get(Fo));break}if(s.length===1)s[0]&&hl(s[0]);else{const l=[];for(const c of s)c&&l.push(...c);hl(lc(l))}}function hl(e,t){const n=Ce(e)?e:[...e];for(const o of n)o.computed&&vd(o);for(const o of n)o.computed||vd(o)}function vd(e,t){(e!==xn||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function G1(e,t){var n;return(n=Pa.get(e))==null?void 0:n.get(t)}const V1=tc("__proto__,__v_isRef,__isVue"),wf=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Va)),yd=K1();function K1(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const o=Oe(this);for(let r=0,a=this.length;r{e[t]=function(...n){Di();const o=Oe(this)[t].apply(this,n);return Li(),o}}),e}function U1(e){const t=Oe(this);return Yt(t,"has",e),t.hasOwnProperty(e)}class Sf{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,o){const i=this._isReadonly,r=this._shallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return r;if(n==="__v_raw"&&o===(i?r?av:If:r?Af:Pf).get(t))return t;const a=Ce(t);if(!i){if(a&&Ne(yd,n))return Reflect.get(yd,n,o);if(n==="hasOwnProperty")return U1}const s=Reflect.get(t,n,o);return(Va(n)?wf.has(n):V1(n))||(i||Yt(t,"get",n),r)?s:at(s)?a&&ic(n)?s:s.value:Ye(s)?i?on(s):vo(s):s}}class _f extends Sf{constructor(t=!1){super(!1,t)}set(t,n,o,i){let r=t[n];if(Ci(r)&&at(r)&&!at(o))return!1;if(!this._shallow&&(!Aa(o)&&!Ci(o)&&(r=Oe(r),o=Oe(o)),!Ce(t)&&at(r)&&!at(o)))return r.value=o,!0;const a=Ce(t)&&ic(n)?Number(n)e,Xa=e=>Reflect.getPrototypeOf(e);function qr(e,t,n=!1,o=!1){e=e.__v_raw;const i=Oe(e),r=Oe(t);n||(Uo(t,r)&&Yt(i,"get",t),Yt(i,"get",r));const{has:a}=Xa(i),s=o?dc:n?fc:mr;if(a.call(i,t))return s(e.get(t));if(a.call(i,r))return s(e.get(r));e!==i&&e.get(t)}function Xr(e,t=!1){const n=this.__v_raw,o=Oe(n),i=Oe(e);return t||(Uo(e,i)&&Yt(o,"has",e),Yt(o,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function Zr(e,t=!1){return e=e.__v_raw,!t&&Yt(Oe(e),"iterate",Fo),Reflect.get(e,"size",e)}function xd(e){e=Oe(e);const t=Oe(this);return Xa(t).has.call(t,e)||(t.add(e),jn(t,"add",e,e)),this}function kd(e,t){t=Oe(t);const n=Oe(this),{has:o,get:i}=Xa(n);let r=o.call(n,e);r||(e=Oe(e),r=o.call(n,e));const a=i.call(n,e);return n.set(e,t),r?Uo(t,a)&&jn(n,"set",e,t):jn(n,"add",e,t),this}function Cd(e){const t=Oe(this),{has:n,get:o}=Xa(t);let i=n.call(t,e);i||(e=Oe(e),i=n.call(t,e)),o&&o.call(t,e);const r=t.delete(e);return i&&jn(t,"delete",e,void 0),r}function Td(){const e=Oe(this),t=e.size!==0,n=e.clear();return t&&jn(e,"clear",void 0,void 0),n}function Yr(e,t){return function(o,i){const r=this,a=r.__v_raw,s=Oe(a),l=t?dc:e?fc:mr;return!e&&Yt(s,"iterate",Fo),a.forEach((c,d)=>o.call(i,l(c),l(d),r))}}function Jr(e,t,n){return function(...o){const i=this.__v_raw,r=Oe(i),a=bi(r),s=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,c=i[e](...o),d=n?dc:t?fc:mr;return!t&&Yt(r,"iterate",l?ul:Fo),{next(){const{value:u,done:h}=c.next();return h?{value:u,done:h}:{value:s?[d(u[0]),d(u[1])]:d(u),done:h}},[Symbol.iterator](){return this}}}}function Yn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function J1(){const e={get(r){return qr(this,r)},get size(){return Zr(this)},has:Xr,add:xd,set:kd,delete:Cd,clear:Td,forEach:Yr(!1,!1)},t={get(r){return qr(this,r,!1,!0)},get size(){return Zr(this)},has:Xr,add:xd,set:kd,delete:Cd,clear:Td,forEach:Yr(!1,!0)},n={get(r){return qr(this,r,!0)},get size(){return Zr(this,!0)},has(r){return Xr.call(this,r,!0)},add:Yn("add"),set:Yn("set"),delete:Yn("delete"),clear:Yn("clear"),forEach:Yr(!0,!1)},o={get(r){return qr(this,r,!0,!0)},get size(){return Zr(this,!0)},has(r){return Xr.call(this,r,!0)},add:Yn("add"),set:Yn("set"),delete:Yn("delete"),clear:Yn("clear"),forEach:Yr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=Jr(r,!1,!1),n[r]=Jr(r,!0,!1),t[r]=Jr(r,!1,!0),o[r]=Jr(r,!0,!0)}),[e,n,t,o]}const[Q1,ev,tv,nv]=J1();function uc(e,t){const n=t?e?nv:tv:e?ev:Q1;return(o,i,r)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?o:Reflect.get(Ne(n,i)&&i in o?n:o,i,r)}const ov={get:uc(!1,!1)},iv={get:uc(!1,!0)},rv={get:uc(!0,!1)},Pf=new WeakMap,Af=new WeakMap,If=new WeakMap,av=new WeakMap;function sv(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function lv(e){return e.__v_skip||!Object.isExtensible(e)?0:sv(E1(e))}function vo(e){return Ci(e)?e:hc(e,!1,X1,ov,Pf)}function cv(e){return hc(e,!1,Y1,iv,Af)}function on(e){return hc(e,!0,Z1,rv,If)}function hc(e,t,n,o,i){if(!Ye(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=i.get(e);if(r)return r;const a=lv(e);if(a===0)return e;const s=new Proxy(e,a===2?o:n);return i.set(e,s),s}function lo(e){return Ci(e)?lo(e.__v_raw):!!(e&&e.__v_isReactive)}function Ci(e){return!!(e&&e.__v_isReadonly)}function Aa(e){return!!(e&&e.__v_isShallow)}function Ef(e){return lo(e)||Ci(e)}function Oe(e){const t=e&&e.__v_raw;return t?Oe(t):e}function Ti(e){return _a(e,"__v_skip",!0),e}const mr=e=>Ye(e)?vo(e):e,fc=e=>Ye(e)?on(e):e;function Rf(e){so&&xn&&(e=Oe(e),Tf(e.dep||(e.dep=lc())))}function Mf(e,t){e=Oe(e);const n=e.dep;n&&hl(n)}function at(e){return!!(e&&e.__v_isRef===!0)}function j(e){return Df(e,!1)}function gc(e){return Df(e,!0)}function Df(e,t){return at(e)?e:new dv(e,t)}class dv{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Oe(t),this._value=n?t:mr(t)}get value(){return Rf(this),this._value}set value(t){const n=this.__v_isShallow||Aa(t)||Ci(t);t=n?t:Oe(t),Uo(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:mr(t),Mf(this))}}function ze(e){return at(e)?e.value:e}const uv={get:(e,t,n)=>ze(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const i=e[t];return at(i)&&!at(n)?(i.value=n,!0):Reflect.set(e,t,n,o)}};function Lf(e){return lo(e)?e:new Proxy(e,uv)}function hv(e){const t=Ce(e)?new Array(e.length):{};for(const n in e)t[n]=$f(e,n);return t}class fv{constructor(t,n,o){this._object=t,this._key=n,this._defaultValue=o,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return G1(Oe(this._object),this._key)}}class gv{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Ke(e,t,n){return at(e)?e:Re(e)?new gv(e):Ye(e)&&arguments.length>1?$f(e,t,n):j(e)}function $f(e,t,n){const o=e[t];return at(o)?o:new fv(e,t,n)}class mv{constructor(t,n,o,i){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new cc(t,()=>{this._dirty||(this._dirty=!0,Mf(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=o}get value(){const t=Oe(this);return Rf(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function pv(e,t,n=!1){let o,i;const r=Re(e);return r?(o=e,i=Tn):(o=e.get,i=e.set),new mv(o,i,r||!i,n)}function co(e,t,n,o){let i;try{i=o?e(...o):e()}catch(r){Za(r,t,n)}return i}function un(e,t,n,o){if(Re(e)){const r=co(e,t,n,o);return r&&hf(r)&&r.catch(a=>{Za(a,t,n)}),r}const i=[];for(let r=0;r>>1,i=Nt[o],r=br(i);rRn&&Nt.splice(t,1)}function xv(e){Ce(e)?vi.push(...e):(!Fn||!Fn.includes(e,e.allowRecurse?Do+1:Do))&&vi.push(e),Hf()}function wd(e,t=pr?Rn+1:0){for(;tbr(n)-br(o)),Do=0;Doe.id==null?1/0:e.id,kv=(e,t)=>{const n=br(e)-br(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Nf(e){fl=!1,pr=!0,Nt.sort(kv);const t=Tn;try{for(Rn=0;Rngt(m)?m.trim():m)),u&&(i=n.map(D1))}let s,l=o[s=Ls(t)]||o[s=Ls(ki(t))];!l&&r&&(l=o[s=Ls(Mi(t))]),l&&un(l,e,6,i);const c=o[s+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,un(c,e,6,i)}}function zf(e,t,n=!1){const o=t.emitsCache,i=o.get(e);if(i!==void 0)return i;const r=e.emits;let a={},s=!1;if(!Re(e)){const l=c=>{const d=zf(c,t,!0);d&&(s=!0,pt(a,d))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!r&&!s?(Ye(e)&&o.set(e,null),null):(Ce(r)?r.forEach(l=>a[l]=null):pt(a,r),Ye(e)&&o.set(e,a),a)}function Ya(e,t){return!e||!Ga(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ne(e,t[0].toLowerCase()+t.slice(1))||Ne(e,Mi(t))||Ne(e,t))}let Mt=null,Ff=null;function Ia(e){const t=Mt;return Mt=e,Ff=e&&e.type.__scopeId||null,t}function xe(e,t=Mt,n){if(!t||e._n)return e;const o=(...i)=>{o._d&&Od(-1);const r=Ia(t);let a;try{a=e(...i)}finally{Ia(r),o._d&&Od(1)}return a};return o._n=!0,o._c=!0,o._d=!0,o}function Os(e){const{type:t,vnode:n,proxy:o,withProxy:i,props:r,propsOptions:[a],slots:s,attrs:l,emit:c,render:d,renderCache:u,data:h,setupState:m,ctx:g,inheritAttrs:v}=e;let p,f;const x=Ia(e);try{if(n.shapeFlag&4){const k=i||o,w=k;p=In(d.call(w,k,u,r,m,h,g)),f=l}else{const k=t;p=In(k.length>1?k(r,{attrs:l,slots:s,emit:c}):k(r,null)),f=t.props?l:Tv(l)}}catch(k){lr.length=0,Za(k,e,1),p=pe(Gt)}let A=p;if(f&&v!==!1){const k=Object.keys(f),{shapeFlag:w}=A;k.length&&w&7&&(a&&k.some(nc)&&(f=wv(f,a)),A=fn(A,f))}return n.dirs&&(A=fn(A),A.dirs=A.dirs?A.dirs.concat(n.dirs):n.dirs),n.transition&&(A.transition=n.transition),p=A,Ia(x),p}const Tv=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ga(n))&&((t||(t={}))[n]=e[n]);return t},wv=(e,t)=>{const n={};for(const o in e)(!nc(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function Sv(e,t,n){const{props:o,children:i,component:r}=e,{props:a,children:s,patchFlag:l}=t,c=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return o?Sd(o,a,c):!!a;if(l&8){const d=t.dynamicProps;for(let u=0;ue.__isSuspense;function Iv(e,t){t&&t.pendingBranch?Ce(e)?t.effects.push(...e):t.effects.push(e):xv(e)}function ho(e,t){return bc(e,null,t)}const Qr={};function Ze(e,t,n){return bc(e,t,n)}function bc(e,t,{immediate:n,deep:o,flush:i,onTrack:r,onTrigger:a}=nt){var s;const l=sc()===((s=Tt)==null?void 0:s.scope)?Tt:null;let c,d=!1,u=!1;if(at(e)?(c=()=>e.value,d=Aa(e)):lo(e)?(c=()=>e,o=!0):Ce(e)?(u=!0,d=e.some(k=>lo(k)||Aa(k)),c=()=>e.map(k=>{if(at(k))return k.value;if(lo(k))return Oo(k);if(Re(k))return co(k,l,2)})):Re(e)?t?c=()=>co(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return h&&h(),un(e,l,3,[m])}:c=Tn,t&&o){const k=c;c=()=>Oo(k())}let h,m=k=>{h=x.onStop=()=>{co(k,l,4),h=x.onStop=void 0}},g;if(Tr)if(m=Tn,t?n&&un(t,l,3,[c(),u?[]:void 0,m]):c(),i==="sync"){const k=yy();g=k.__watcherHandles||(k.__watcherHandles=[])}else return Tn;let v=u?new Array(e.length).fill(Qr):Qr;const p=()=>{if(x.active)if(t){const k=x.run();(o||d||(u?k.some((w,I)=>Uo(w,v[I])):Uo(k,v)))&&(h&&h(),un(t,l,3,[k,v===Qr?void 0:u&&v[0]===Qr?[]:v,m]),v=k)}else x.run()};p.allowRecurse=!!t;let f;i==="sync"?f=p:i==="post"?f=()=>Zt(p,l&&l.suspense):(p.pre=!0,l&&(p.id=l.uid),f=()=>pc(p));const x=new cc(c,f);t?n?p():v=x.run():i==="post"?Zt(x.run.bind(x),l&&l.suspense):x.run();const A=()=>{x.stop(),l&&l.scope&&oc(l.scope.effects,x)};return g&&g.push(A),A}function Ev(e,t,n){const o=this.proxy,i=gt(e)?e.includes(".")?Wf(o,e):()=>o[e]:e.bind(o,o);let r;Re(t)?r=t:(r=t.handler,n=t);const a=Tt;wi(this);const s=bc(i,r.bind(o),n);return a?wi(a):Wo(),s}function Wf(e,t){const n=t.split(".");return()=>{let o=e;for(let i=0;i{Oo(n,t)});else if(gf(e))for(const n in e)Oo(e[n],t);return e}function fo(e,t){const n=Mt;if(n===null)return e;const o=ns(n)||n.proxy,i=e.dirs||(e.dirs=[]);for(let r=0;r{e.isMounted=!0}),kt(()=>{e.isUnmounting=!0}),e}const ln=[Function,Array],Gf={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ln,onEnter:ln,onAfterEnter:ln,onEnterCancelled:ln,onBeforeLeave:ln,onLeave:ln,onAfterLeave:ln,onLeaveCancelled:ln,onBeforeAppear:ln,onAppear:ln,onAfterAppear:ln,onAppearCancelled:ln},Rv={name:"BaseTransition",props:Gf,setup(e,{slots:t}){const n=rn(),o=jf();let i;return()=>{const r=t.default&&vc(t.default(),!0);if(!r||!r.length)return;let a=r[0];if(r.length>1){for(const v of r)if(v.type!==Gt){a=v;break}}const s=Oe(e),{mode:l}=s;if(o.isLeaving)return Hs(a);const c=_d(a);if(!c)return Hs(a);const d=vr(c,s,o,n);yr(c,d);const u=n.subTree,h=u&&_d(u);let m=!1;const{getTransitionKey:g}=c.type;if(g){const v=g();i===void 0?i=v:v!==i&&(i=v,m=!0)}if(h&&h.type!==Gt&&(!Lo(c,h)||m)){const v=vr(h,s,o,n);if(yr(h,v),l==="out-in")return o.isLeaving=!0,v.afterLeave=()=>{o.isLeaving=!1,n.update.active!==!1&&n.update()},Hs(a);l==="in-out"&&c.type!==Gt&&(v.delayLeave=(p,f,x)=>{const A=Vf(o,h);A[String(h.key)]=h,p[ro]=()=>{f(),p[ro]=void 0,delete d.delayedLeave},d.delayedLeave=x})}return a}}},Mv=Rv;function Vf(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function vr(e,t,n,o){const{appear:i,mode:r,persisted:a=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:c,onEnterCancelled:d,onBeforeLeave:u,onLeave:h,onAfterLeave:m,onLeaveCancelled:g,onBeforeAppear:v,onAppear:p,onAfterAppear:f,onAppearCancelled:x}=t,A=String(e.key),k=Vf(n,e),w=(S,E)=>{S&&un(S,o,9,E)},I=(S,E)=>{const R=E[1];w(S,E),Ce(S)?S.every(G=>G.length<=1)&&R():S.length<=1&&R()},C={mode:r,persisted:a,beforeEnter(S){let E=s;if(!n.isMounted)if(i)E=v||s;else return;S[ro]&&S[ro](!0);const R=k[A];R&&Lo(e,R)&&R.el[ro]&&R.el[ro](),w(E,[S])},enter(S){let E=l,R=c,G=d;if(!n.isMounted)if(i)E=p||l,R=f||c,G=x||d;else return;let M=!1;const q=S[ea]=ee=>{M||(M=!0,ee?w(G,[S]):w(R,[S]),C.delayedLeave&&C.delayedLeave(),S[ea]=void 0)};E?I(E,[S,q]):q()},leave(S,E){const R=String(e.key);if(S[ea]&&S[ea](!0),n.isUnmounting)return E();w(u,[S]);let G=!1;const M=S[ro]=q=>{G||(G=!0,E(),q?w(g,[S]):w(m,[S]),S[ro]=void 0,k[R]===e&&delete k[R])};k[R]=e,h?I(h,[S,M]):M()},clone(S){return vr(S,t,n,o)}};return C}function Hs(e){if(Ja(e))return e=fn(e),e.children=null,e}function _d(e){return Ja(e)?e.children?e.children[0]:void 0:e}function yr(e,t){e.shapeFlag&6&&e.component?yr(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 vc(e,t=!1,n){let o=[],i=0;for(let r=0;r1)for(let r=0;rpt({name:e.name},t,{setup:e}))():e}const rr=e=>!!e.type.__asyncLoader,Ja=e=>e.type.__isKeepAlive;function Kf(e,t){Uf(e,"a",t)}function yc(e,t){Uf(e,"da",t)}function Uf(e,t,n=Tt){const o=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Qa(t,o,n),n){let i=n.parent;for(;i&&i.parent;)Ja(i.parent.vnode)&&Dv(o,t,n,i),i=i.parent}}function Dv(e,t,n,o){const i=Qa(t,e,o,!0);xc(()=>{oc(o[t],i)},n)}function Qa(e,t,n=Tt,o=!1){if(n){const i=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...a)=>{if(n.isUnmounted)return;Di(),wi(n);const s=un(t,n,e,a);return Wo(),Li(),s});return o?i.unshift(r):i.push(r),r}}const Kn=e=>(t,n=Tt)=>(!Tr||e==="sp")&&Qa(e,(...o)=>t(...o),n),On=Kn("bm"),Lt=Kn("m"),Lv=Kn("bu"),qf=Kn("u"),kt=Kn("bum"),xc=Kn("um"),$v=Kn("sp"),Ov=Kn("rtg"),Hv=Kn("rtc");function Bv(e,t=Tt){Qa("ec",e,t)}function xa(e,t,n,o){let i;const r=n&&n[o];if(Ce(e)||gt(e)){i=new Array(e.length);for(let a=0,s=e.length;at(a,s,void 0,r&&r[s]));else{const a=Object.keys(e);i=new Array(a.length);for(let s=0,l=a.length;sCr(t)?!(t.type===Gt||t.type===He&&!Zf(t.children)):!0)?e:null}const gl=e=>e?sg(e)?ns(e)||e.proxy:gl(e.parent):null,ar=pt(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=>gl(e.parent),$root:e=>gl(e.root),$emit:e=>e.emit,$options:e=>kc(e),$forceUpdate:e=>e.f||(e.f=()=>pc(e.update)),$nextTick:e=>e.n||(e.n=jt.bind(e.proxy)),$watch:e=>Ev.bind(e)}),Bs=(e,t)=>e!==nt&&!e.__isScriptSetup&&Ne(e,t),Nv={get({_:e},t){const{ctx:n,setupState:o,data:i,props:r,accessCache:a,type:s,appContext:l}=e;let c;if(t[0]!=="$"){const m=a[t];if(m!==void 0)switch(m){case 1:return o[t];case 2:return i[t];case 4:return n[t];case 3:return r[t]}else{if(Bs(o,t))return a[t]=1,o[t];if(i!==nt&&Ne(i,t))return a[t]=2,i[t];if((c=e.propsOptions[0])&&Ne(c,t))return a[t]=3,r[t];if(n!==nt&&Ne(n,t))return a[t]=4,n[t];ml&&(a[t]=0)}}const d=ar[t];let u,h;if(d)return t==="$attrs"&&Yt(e,"get",t),d(e);if((u=s.__cssModules)&&(u=u[t]))return u;if(n!==nt&&Ne(n,t))return a[t]=4,n[t];if(h=l.config.globalProperties,Ne(h,t))return h[t]},set({_:e},t,n){const{data:o,setupState:i,ctx:r}=e;return Bs(i,t)?(i[t]=n,!0):o!==nt&&Ne(o,t)?(o[t]=n,!0):Ne(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:i,propsOptions:r}},a){let s;return!!n[a]||e!==nt&&Ne(e,a)||Bs(t,a)||(s=r[0])&&Ne(s,a)||Ne(o,a)||Ne(ar,a)||Ne(i.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Ne(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Pd(e){return Ce(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ml=!0;function zv(e){const t=kc(e),n=e.proxy,o=e.ctx;ml=!1,t.beforeCreate&&Ad(t.beforeCreate,e,"bc");const{data:i,computed:r,methods:a,watch:s,provide:l,inject:c,created:d,beforeMount:u,mounted:h,beforeUpdate:m,updated:g,activated:v,deactivated:p,beforeDestroy:f,beforeUnmount:x,destroyed:A,unmounted:k,render:w,renderTracked:I,renderTriggered:C,errorCaptured:S,serverPrefetch:E,expose:R,inheritAttrs:G,components:M,directives:q,filters:ee}=t;if(c&&Fv(c,o,null),a)for(const W in a){const oe=a[W];Re(oe)&&(o[W]=oe.bind(n))}if(i){const W=i.call(n,n);Ye(W)&&(e.data=vo(W))}if(ml=!0,r)for(const W in r){const oe=r[W],fe=Re(oe)?oe.bind(n,n):Re(oe.get)?oe.get.bind(n,n):Tn,we=!Re(oe)&&Re(oe.set)?oe.set.bind(n):Tn,De=z({get:fe,set:we});Object.defineProperty(o,W,{enumerable:!0,configurable:!0,get:()=>De.value,set:Le=>De.value=Le})}if(s)for(const W in s)Yf(s[W],o,n,W);if(l){const W=Re(l)?l.call(n):l;Reflect.ownKeys(W).forEach(oe=>{We(oe,W[oe])})}d&&Ad(d,e,"c");function V(W,oe){Ce(oe)?oe.forEach(fe=>W(fe.bind(n))):oe&&W(oe.bind(n))}if(V(On,u),V(Lt,h),V(Lv,m),V(qf,g),V(Kf,v),V(yc,p),V(Bv,S),V(Hv,I),V(Ov,C),V(kt,x),V(xc,k),V($v,E),Ce(R))if(R.length){const W=e.exposed||(e.exposed={});R.forEach(oe=>{Object.defineProperty(W,oe,{get:()=>n[oe],set:fe=>n[oe]=fe})})}else e.exposed||(e.exposed={});w&&e.render===Tn&&(e.render=w),G!=null&&(e.inheritAttrs=G),M&&(e.components=M),q&&(e.directives=q)}function Fv(e,t,n=Tn){Ce(e)&&(e=pl(e));for(const o in e){const i=e[o];let r;Ye(i)?"default"in i?r=Ie(i.from||o,i.default,!0):r=Ie(i.from||o):r=Ie(i),at(r)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>r.value,set:a=>r.value=a}):t[o]=r}}function Ad(e,t,n){un(Ce(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function Yf(e,t,n,o){const i=o.includes(".")?Wf(n,o):()=>n[o];if(gt(e)){const r=t[e];Re(r)&&Ze(i,r)}else if(Re(e))Ze(i,e.bind(n));else if(Ye(e))if(Ce(e))e.forEach(r=>Yf(r,t,n,o));else{const r=Re(e.handler)?e.handler.bind(n):t[e.handler];Re(r)&&Ze(i,r,e)}}function kc(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:a}}=e.appContext,s=r.get(t);let l;return s?l=s:!i.length&&!n&&!o?l=t:(l={},i.length&&i.forEach(c=>Ea(l,c,a,!0)),Ea(l,t,a)),Ye(t)&&r.set(t,l),l}function Ea(e,t,n,o=!1){const{mixins:i,extends:r}=t;r&&Ea(e,r,n,!0),i&&i.forEach(a=>Ea(e,a,n,!0));for(const a in t)if(!(o&&a==="expose")){const s=Wv[a]||n&&n[a];e[a]=s?s(e[a],t[a]):t[a]}return e}const Wv={data:Id,props:Ed,emits:Ed,methods:nr,computed:nr,beforeCreate:Ft,created:Ft,beforeMount:Ft,mounted:Ft,beforeUpdate:Ft,updated:Ft,beforeDestroy:Ft,beforeUnmount:Ft,destroyed:Ft,unmounted:Ft,activated:Ft,deactivated:Ft,errorCaptured:Ft,serverPrefetch:Ft,components:nr,directives:nr,watch:Gv,provide:Id,inject:jv};function Id(e,t){return t?e?function(){return pt(Re(e)?e.call(this,this):e,Re(t)?t.call(this,this):t)}:t:e}function jv(e,t){return nr(pl(e),pl(t))}function pl(e){if(Ce(e)){const t={};for(let n=0;n1)return n&&Re(t)?t.call(o&&o.proxy):t}}function Uv(){return!!(Tt||Mt||xr)}function qv(e,t,n,o=!1){const i={},r={};_a(r,ts,1),e.propsDefaults=Object.create(null),Qf(e,t,i,r);for(const a in e.propsOptions[0])a in i||(i[a]=void 0);n?e.props=o?i:cv(i):e.type.props?e.props=i:e.props=r,e.attrs=r}function Xv(e,t,n,o){const{props:i,attrs:r,vnode:{patchFlag:a}}=e,s=Oe(i),[l]=e.propsOptions;let c=!1;if((o||a>0)&&!(a&16)){if(a&8){const d=e.vnode.dynamicProps;for(let u=0;u{l=!0;const[h,m]=eg(u,t,!0);pt(a,h),m&&s.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!r&&!l)return Ye(e)&&o.set(e,pi),pi;if(Ce(r))for(let d=0;d-1,m[1]=v<0||g-1||Ne(m,"default"))&&s.push(u)}}}const c=[a,s];return Ye(e)&&o.set(e,c),c}function Rd(e){return e[0]!=="$"}function Md(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Dd(e,t){return Md(e)===Md(t)}function Ld(e,t){return Ce(t)?t.findIndex(n=>Dd(n,e)):Re(t)&&Dd(t,e)?0:-1}const tg=e=>e[0]==="_"||e==="$stable",Cc=e=>Ce(e)?e.map(In):[In(e)],Zv=(e,t,n)=>{if(t._n)return t;const o=xe((...i)=>Cc(t(...i)),n);return o._c=!1,o},ng=(e,t,n)=>{const o=e._ctx;for(const i in e){if(tg(i))continue;const r=e[i];if(Re(r))t[i]=Zv(i,r,o);else if(r!=null){const a=Cc(r);t[i]=()=>a}}},og=(e,t)=>{const n=Cc(t);e.slots.default=()=>n},Yv=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Oe(t),_a(t,"_",n)):ng(t,e.slots={})}else e.slots={},t&&og(e,t);_a(e.slots,ts,1)},Jv=(e,t,n)=>{const{vnode:o,slots:i}=e;let r=!0,a=nt;if(o.shapeFlag&32){const s=t._;s?n&&s===1?r=!1:(pt(i,t),!n&&s===1&&delete i._):(r=!t.$stable,ng(t,i)),a=t}else t&&(og(e,t),a={default:1});if(r)for(const s in i)!tg(s)&&a[s]==null&&delete i[s]};function vl(e,t,n,o,i=!1){if(Ce(e)){e.forEach((h,m)=>vl(h,t&&(Ce(t)?t[m]:t),n,o,i));return}if(rr(o)&&!i)return;const r=o.shapeFlag&4?ns(o.component)||o.component.proxy:o.el,a=i?null:r,{i:s,r:l}=e,c=t&&t.r,d=s.refs===nt?s.refs={}:s.refs,u=s.setupState;if(c!=null&&c!==l&&(gt(c)?(d[c]=null,Ne(u,c)&&(u[c]=null)):at(c)&&(c.value=null)),Re(l))co(l,s,12,[a,d]);else{const h=gt(l),m=at(l);if(h||m){const g=()=>{if(e.f){const v=h?Ne(u,l)?u[l]:d[l]:l.value;i?Ce(v)&&oc(v,r):Ce(v)?v.includes(r)||v.push(r):h?(d[l]=[r],Ne(u,l)&&(u[l]=d[l])):(l.value=[r],e.k&&(d[e.k]=l.value))}else h?(d[l]=a,Ne(u,l)&&(u[l]=a)):m&&(l.value=a,e.k&&(d[e.k]=a))};a?(g.id=-1,Zt(g,n)):g()}}}const Zt=Iv;function Qv(e){return ey(e)}function ey(e,t){const n=cl();n.__VUE__=!0;const{insert:o,remove:i,patchProp:r,createElement:a,createText:s,createComment:l,setText:c,setElementText:d,parentNode:u,nextSibling:h,setScopeId:m=Tn,insertStaticContent:g}=e,v=(P,b,y,_=null,$=null,B=null,Z=!1,ne=null,X=!!b.dynamicChildren)=>{if(P===b)return;P&&!Lo(P,b)&&(_=Ee(P),Le(P,$,B,!0),P=null),b.patchFlag===-2&&(X=!1,b.dynamicChildren=null);const{type:K,ref:ge,shapeFlag:ie}=b;switch(K){case $i:p(P,b,y,_);break;case Gt:f(P,b,y,_);break;case Ns:P==null&&x(b,y,_,Z);break;case He:M(P,b,y,_,$,B,Z,ne,X);break;default:ie&1?w(P,b,y,_,$,B,Z,ne,X):ie&6?q(P,b,y,_,$,B,Z,ne,X):(ie&64||ie&128)&&K.process(P,b,y,_,$,B,Z,ne,X,Te)}ge!=null&&$&&vl(ge,P&&P.ref,B,b||P,!b)},p=(P,b,y,_)=>{if(P==null)o(b.el=s(b.children),y,_);else{const $=b.el=P.el;b.children!==P.children&&c($,b.children)}},f=(P,b,y,_)=>{P==null?o(b.el=l(b.children||""),y,_):b.el=P.el},x=(P,b,y,_)=>{[P.el,P.anchor]=g(P.children,b,y,_,P.el,P.anchor)},A=({el:P,anchor:b},y,_)=>{let $;for(;P&&P!==b;)$=h(P),o(P,y,_),P=$;o(b,y,_)},k=({el:P,anchor:b})=>{let y;for(;P&&P!==b;)y=h(P),i(P),P=y;i(b)},w=(P,b,y,_,$,B,Z,ne,X)=>{Z=Z||b.type==="svg",P==null?I(b,y,_,$,B,Z,ne,X):E(P,b,$,B,Z,ne,X)},I=(P,b,y,_,$,B,Z,ne)=>{let X,K;const{type:ge,props:ie,shapeFlag:D,transition:H,dirs:de}=P;if(X=P.el=a(P.type,B,ie&&ie.is,ie),D&8?d(X,P.children):D&16&&S(P.children,X,null,_,$,B&&ge!=="foreignObject",Z,ne),de&&Po(P,null,_,"created"),C(X,P,P.scopeId,Z,_),ie){for(const Me in ie)Me!=="value"&&!ya(Me)&&r(X,Me,null,ie[Me],B,P.children,_,$,Ae);"value"in ie&&r(X,"value",null,ie.value),(K=ie.onVnodeBeforeMount)&&Sn(K,_,P)}de&&Po(P,null,_,"beforeMount");const be=ty($,H);be&&H.beforeEnter(X),o(X,b,y),((K=ie&&ie.onVnodeMounted)||be||de)&&Zt(()=>{K&&Sn(K,_,P),be&&H.enter(X),de&&Po(P,null,_,"mounted")},$)},C=(P,b,y,_,$)=>{if(y&&m(P,y),_)for(let B=0;B<_.length;B++)m(P,_[B]);if($){let B=$.subTree;if(b===B){const Z=$.vnode;C(P,Z,Z.scopeId,Z.slotScopeIds,$.parent)}}},S=(P,b,y,_,$,B,Z,ne,X=0)=>{for(let K=X;K{const ne=b.el=P.el;let{patchFlag:X,dynamicChildren:K,dirs:ge}=b;X|=P.patchFlag&16;const ie=P.props||nt,D=b.props||nt;let H;y&&Ao(y,!1),(H=D.onVnodeBeforeUpdate)&&Sn(H,y,b,P),ge&&Po(b,P,y,"beforeUpdate"),y&&Ao(y,!0);const de=$&&b.type!=="foreignObject";if(K?R(P.dynamicChildren,K,ne,y,_,de,B):Z||oe(P,b,ne,null,y,_,de,B,!1),X>0){if(X&16)G(ne,b,ie,D,y,_,$);else if(X&2&&ie.class!==D.class&&r(ne,"class",null,D.class,$),X&4&&r(ne,"style",ie.style,D.style,$),X&8){const be=b.dynamicProps;for(let Me=0;Me{H&&Sn(H,y,b,P),ge&&Po(b,P,y,"updated")},_)},R=(P,b,y,_,$,B,Z)=>{for(let ne=0;ne{if(y!==_){if(y!==nt)for(const ne in y)!ya(ne)&&!(ne in _)&&r(P,ne,y[ne],null,Z,b.children,$,B,Ae);for(const ne in _){if(ya(ne))continue;const X=_[ne],K=y[ne];X!==K&&ne!=="value"&&r(P,ne,K,X,Z,b.children,$,B,Ae)}"value"in _&&r(P,"value",y.value,_.value)}},M=(P,b,y,_,$,B,Z,ne,X)=>{const K=b.el=P?P.el:s(""),ge=b.anchor=P?P.anchor:s("");let{patchFlag:ie,dynamicChildren:D,slotScopeIds:H}=b;H&&(ne=ne?ne.concat(H):H),P==null?(o(K,y,_),o(ge,y,_),S(b.children,y,ge,$,B,Z,ne,X)):ie>0&&ie&64&&D&&P.dynamicChildren?(R(P.dynamicChildren,D,y,$,B,Z,ne),(b.key!=null||$&&b===$.subTree)&&Tc(P,b,!0)):oe(P,b,y,ge,$,B,Z,ne,X)},q=(P,b,y,_,$,B,Z,ne,X)=>{b.slotScopeIds=ne,P==null?b.shapeFlag&512?$.ctx.activate(b,y,_,Z,X):ee(b,y,_,$,B,Z,X):O(P,b,X)},ee=(P,b,y,_,$,B,Z)=>{const ne=P.component=hy(P,_,$);if(Ja(P)&&(ne.ctx.renderer=Te),fy(ne),ne.asyncDep){if($&&$.registerDep(ne,V),!P.el){const X=ne.subTree=pe(Gt);f(null,X,b,y)}return}V(ne,P,b,y,$,B,Z)},O=(P,b,y)=>{const _=b.component=P.component;if(Sv(P,b,y))if(_.asyncDep&&!_.asyncResolved){W(_,b,y);return}else _.next=b,yv(_.update),_.update();else b.el=P.el,_.vnode=b},V=(P,b,y,_,$,B,Z)=>{const ne=()=>{if(P.isMounted){let{next:ge,bu:ie,u:D,parent:H,vnode:de}=P,be=ge,Me;Ao(P,!1),ge?(ge.el=de.el,W(P,ge,Z)):ge=de,ie&&$s(ie),(Me=ge.props&&ge.props.onVnodeBeforeUpdate)&&Sn(Me,H,ge,de),Ao(P,!0);const Ge=Os(P),it=P.subTree;P.subTree=Ge,v(it,Ge,u(it.el),Ee(it),P,$,B),ge.el=Ge.el,be===null&&_v(P,Ge.el),D&&Zt(D,$),(Me=ge.props&&ge.props.onVnodeUpdated)&&Zt(()=>Sn(Me,H,ge,de),$)}else{let ge;const{el:ie,props:D}=b,{bm:H,m:de,parent:be}=P,Me=rr(b);if(Ao(P,!1),H&&$s(H),!Me&&(ge=D&&D.onVnodeBeforeMount)&&Sn(ge,be,b),Ao(P,!0),ie&&bt){const Ge=()=>{P.subTree=Os(P),bt(ie,P.subTree,P,$,null)};Me?b.type.__asyncLoader().then(()=>!P.isUnmounted&&Ge()):Ge()}else{const Ge=P.subTree=Os(P);v(null,Ge,y,_,P,$,B),b.el=Ge.el}if(de&&Zt(de,$),!Me&&(ge=D&&D.onVnodeMounted)){const Ge=b;Zt(()=>Sn(ge,be,Ge),$)}(b.shapeFlag&256||be&&rr(be.vnode)&&be.vnode.shapeFlag&256)&&P.a&&Zt(P.a,$),P.isMounted=!0,b=y=_=null}},X=P.effect=new cc(ne,()=>pc(K),P.scope),K=P.update=()=>X.run();K.id=P.uid,Ao(P,!0),K()},W=(P,b,y)=>{b.component=P;const _=P.vnode.props;P.vnode=b,P.next=null,Xv(P,b.props,_,y),Jv(P,b.children,y),Di(),wd(),Li()},oe=(P,b,y,_,$,B,Z,ne,X=!1)=>{const K=P&&P.children,ge=P?P.shapeFlag:0,ie=b.children,{patchFlag:D,shapeFlag:H}=b;if(D>0){if(D&128){we(K,ie,y,_,$,B,Z,ne,X);return}else if(D&256){fe(K,ie,y,_,$,B,Z,ne,X);return}}H&8?(ge&16&&Ae(K,$,B),ie!==K&&d(y,ie)):ge&16?H&16?we(K,ie,y,_,$,B,Z,ne,X):Ae(K,$,B,!0):(ge&8&&d(y,""),H&16&&S(ie,y,_,$,B,Z,ne,X))},fe=(P,b,y,_,$,B,Z,ne,X)=>{P=P||pi,b=b||pi;const K=P.length,ge=b.length,ie=Math.min(K,ge);let D;for(D=0;Dge?Ae(P,$,B,!0,!1,ie):S(b,y,_,$,B,Z,ne,X,ie)},we=(P,b,y,_,$,B,Z,ne,X)=>{let K=0;const ge=b.length;let ie=P.length-1,D=ge-1;for(;K<=ie&&K<=D;){const H=P[K],de=b[K]=X?ao(b[K]):In(b[K]);if(Lo(H,de))v(H,de,y,null,$,B,Z,ne,X);else break;K++}for(;K<=ie&&K<=D;){const H=P[ie],de=b[D]=X?ao(b[D]):In(b[D]);if(Lo(H,de))v(H,de,y,null,$,B,Z,ne,X);else break;ie--,D--}if(K>ie){if(K<=D){const H=D+1,de=HD)for(;K<=ie;)Le(P[K],$,B,!0),K++;else{const H=K,de=K,be=new Map;for(K=de;K<=D;K++){const $t=b[K]=X?ao(b[K]):In(b[K]);$t.key!=null&&be.set($t.key,K)}let Me,Ge=0;const it=D-de+1;let Ut=!1,To=0;const wn=new Array(it);for(K=0;K=it){Le($t,$,B,!0);continue}let te;if($t.key!=null)te=be.get($t.key);else for(Me=de;Me<=D;Me++)if(wn[Me-de]===0&&Lo($t,b[Me])){te=Me;break}te===void 0?Le($t,$,B,!0):(wn[te-de]=K+1,te>=To?To=te:Ut=!0,v($t,b[te],y,null,$,B,Z,ne,X),Ge++)}const pn=Ut?ny(wn):pi;for(Me=pn.length-1,K=it-1;K>=0;K--){const $t=de+K,te=b[$t],me=$t+1{const{el:B,type:Z,transition:ne,children:X,shapeFlag:K}=P;if(K&6){De(P.component.subTree,b,y,_);return}if(K&128){P.suspense.move(b,y,_);return}if(K&64){Z.move(P,b,y,Te);return}if(Z===He){o(B,b,y);for(let ie=0;iene.enter(B),$);else{const{leave:ie,delayLeave:D,afterLeave:H}=ne,de=()=>o(B,b,y),be=()=>{ie(B,()=>{de(),H&&H()})};D?D(B,de,be):be()}else o(B,b,y)},Le=(P,b,y,_=!1,$=!1)=>{const{type:B,props:Z,ref:ne,children:X,dynamicChildren:K,shapeFlag:ge,patchFlag:ie,dirs:D}=P;if(ne!=null&&vl(ne,null,y,P,!0),ge&256){b.ctx.deactivate(P);return}const H=ge&1&&D,de=!rr(P);let be;if(de&&(be=Z&&Z.onVnodeBeforeUnmount)&&Sn(be,b,P),ge&6)Je(P.component,y,_);else{if(ge&128){P.suspense.unmount(y,_);return}H&&Po(P,null,b,"beforeUnmount"),ge&64?P.type.remove(P,b,y,$,Te,_):K&&(B!==He||ie>0&&ie&64)?Ae(K,b,y,!1,!0):(B===He&&ie&384||!$&&ge&16)&&Ae(X,b,y),_&&mt(P)}(de&&(be=Z&&Z.onVnodeUnmounted)||H)&&Zt(()=>{be&&Sn(be,b,P),H&&Po(P,null,b,"unmounted")},y)},mt=P=>{const{type:b,el:y,anchor:_,transition:$}=P;if(b===He){ct(y,_);return}if(b===Ns){k(P);return}const B=()=>{i(y),$&&!$.persisted&&$.afterLeave&&$.afterLeave()};if(P.shapeFlag&1&&$&&!$.persisted){const{leave:Z,delayLeave:ne}=$,X=()=>Z(y,B);ne?ne(P.el,B,X):X()}else B()},ct=(P,b)=>{let y;for(;P!==b;)y=h(P),i(P),P=y;i(b)},Je=(P,b,y)=>{const{bum:_,scope:$,update:B,subTree:Z,um:ne}=P;_&&$s(_),$.stop(),B&&(B.active=!1,Le(Z,P,b,y)),ne&&Zt(ne,b),Zt(()=>{P.isUnmounted=!0},b),b&&b.pendingBranch&&!b.isUnmounted&&P.asyncDep&&!P.asyncResolved&&P.suspenseId===b.pendingId&&(b.deps--,b.deps===0&&b.resolve())},Ae=(P,b,y,_=!1,$=!1,B=0)=>{for(let Z=B;ZP.shapeFlag&6?Ee(P.component.subTree):P.shapeFlag&128?P.suspense.next():h(P.anchor||P.el),Pt=(P,b,y)=>{P==null?b._vnode&&Le(b._vnode,null,null,!0):v(b._vnode||null,P,b,null,null,null,y),wd(),Bf(),b._vnode=P},Te={p:v,um:Le,m:De,r:mt,mt:ee,mc:S,pc:oe,pbc:R,n:Ee,o:e};let dt,bt;return t&&([dt,bt]=t(Te)),{render:Pt,hydrate:dt,createApp:Kv(Pt,dt)}}function Ao({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function ty(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Tc(e,t,n=!1){const o=e.children,i=t.children;if(Ce(o)&&Ce(i))for(let r=0;r>1,e[n[s]]0&&(t[o]=n[r-1]),n[r]=o)}}for(r=n.length,a=n[r-1];r-- >0;)n[r]=a,a=t[a];return n}const oy=e=>e.__isTeleport,sr=e=>e&&(e.disabled||e.disabled===""),$d=e=>typeof SVGElement<"u"&&e instanceof SVGElement,yl=(e,t)=>{const n=e&&e.to;return gt(n)?t?t(n):null:n},iy={name:"Teleport",__isTeleport:!0,process(e,t,n,o,i,r,a,s,l,c){const{mc:d,pc:u,pbc:h,o:{insert:m,querySelector:g,createText:v,createComment:p}}=c,f=sr(t.props);let{shapeFlag:x,children:A,dynamicChildren:k}=t;if(e==null){const w=t.el=v(""),I=t.anchor=v("");m(w,n,o),m(I,n,o);const C=t.target=yl(t.props,g),S=t.targetAnchor=v("");C&&(m(S,C),a=a||$d(C));const E=(R,G)=>{x&16&&d(A,R,G,i,r,a,s,l)};f?E(n,I):C&&E(C,S)}else{t.el=e.el;const w=t.anchor=e.anchor,I=t.target=e.target,C=t.targetAnchor=e.targetAnchor,S=sr(e.props),E=S?n:I,R=S?w:C;if(a=a||$d(I),k?(h(e.dynamicChildren,k,E,i,r,a,s),Tc(e,t,!0)):l||u(e,t,E,R,i,r,a,s,!1),f)S?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):ta(t,n,w,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const G=t.target=yl(t.props,g);G&&ta(t,G,null,c,0)}else S&&ta(t,I,C,c,1)}ig(t)},remove(e,t,n,o,{um:i,o:{remove:r}},a){const{shapeFlag:s,children:l,anchor:c,targetAnchor:d,target:u,props:h}=e;if(u&&r(d),a&&r(c),s&16){const m=a||!sr(h);for(let g=0;g0?kn||pi:null,ay(),kr>0&&kn&&kn.push(e),e}function hn(e,t,n,o,i,r){return rg(zt(e,t,n,o,i,r,!0))}function At(e,t,n,o,i){return rg(pe(e,t,n,o,i,!0))}function Cr(e){return e?e.__v_isVNode===!0:!1}function Lo(e,t){return e.type===t.type&&e.key===t.key}const ts="__vInternal",ag=({key:e})=>e??null,ka=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?gt(e)||at(e)||Re(e)?{i:Mt,r:e,k:t,f:!!n}:e:null);function zt(e,t=null,n=null,o=0,i=null,r=e===He?0:1,a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ag(t),ref:t&&ka(t),scopeId:Ff,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:o,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Mt};return s?(wc(l,n),r&128&&e.normalize(l)):n&&(l.shapeFlag|=gt(n)?8:16),kr>0&&!a&&kn&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&kn.push(l),l}const pe=sy;function sy(e,t=null,n=null,o=0,i=null,r=!1){if((!e||e===Pv)&&(e=Gt),Cr(e)){const s=fn(e,t,!0);return n&&wc(s,n),kr>0&&!r&&kn&&(s.shapeFlag&6?kn[kn.indexOf(e)]=s:kn.push(s)),s.patchFlag|=-2,s}if(by(e)&&(e=e.__vccOpts),t){t=ly(t);let{class:s,style:l}=t;s&&!gt(s)&&(t.class=rc(s)),Ye(l)&&(Ef(l)&&!Ce(l)&&(l=pt({},l)),t.style=qa(l))}const a=gt(e)?1:Av(e)?128:oy(e)?64:Ye(e)?4:Re(e)?2:0;return zt(e,t,n,o,i,a,r,!0)}function ly(e){return e?Ef(e)||ts in e?pt({},e):e:null}function fn(e,t,n=!1){const{props:o,ref:i,patchFlag:r,children:a}=e,s=t?Ln(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&ag(s),ref:t&&t.ref?n&&i?Ce(i)?i.concat(ka(t)):[i,ka(t)]:ka(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==He?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&&fn(e.ssContent),ssFallback:e.ssFallback&&fn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Ct(e=" ",t=0){return pe($i,null,e,t)}function cy(e="",t=!1){return t?(Ve(),At(Gt,null,e)):pe(Gt,null,e)}function In(e){return e==null||typeof e=="boolean"?pe(Gt):Ce(e)?pe(He,null,e.slice()):typeof e=="object"?ao(e):pe($i,null,String(e))}function ao(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:fn(e)}function wc(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(Ce(t))n=16;else if(typeof t=="object")if(o&65){const i=t.default;i&&(i._c&&(i._d=!1),wc(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!(ts in t)?t._ctx=Mt:i===3&&Mt&&(Mt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Re(t)?(t={default:t,_ctx:Mt},n=32):(t=String(t),o&64?(n=16,t=[Ct(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ln(...e){const t={};for(let n=0;nTt||Mt;let Sc,ri,Hd="__VUE_INSTANCE_SETTERS__";(ri=cl()[Hd])||(ri=cl()[Hd]=[]),ri.push(e=>Tt=e),Sc=e=>{ri.length>1?ri.forEach(t=>t(e)):ri[0](e)};const wi=e=>{Sc(e),e.scope.on()},Wo=()=>{Tt&&Tt.scope.off(),Sc(null)};function sg(e){return e.vnode.shapeFlag&4}let Tr=!1;function fy(e,t=!1){Tr=t;const{props:n,children:o}=e.vnode,i=sg(e);qv(e,n,i,t),Yv(e,o);const r=i?gy(e,t):void 0;return Tr=!1,r}function gy(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Ti(new Proxy(e.ctx,Nv));const{setup:o}=n;if(o){const i=e.setupContext=o.length>1?py(e):null;wi(e),Di();const r=co(o,e,0,[e.props,i]);if(Li(),Wo(),hf(r)){if(r.then(Wo,Wo),t)return r.then(a=>{Bd(e,a,t)}).catch(a=>{Za(a,e,0)});e.asyncDep=r}else Bd(e,r,t)}else lg(e,t)}function Bd(e,t,n){Re(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ye(t)&&(e.setupState=Lf(t)),lg(e,n)}let Nd;function lg(e,t,n){const o=e.type;if(!e.render){if(!t&&Nd&&!o.render){const i=o.template||kc(e).template;if(i){const{isCustomElement:r,compilerOptions:a}=e.appContext.config,{delimiters:s,compilerOptions:l}=o,c=pt(pt({isCustomElement:r,delimiters:s},a),l);o.render=Nd(i,c)}}e.render=o.render||Tn}{wi(e),Di();try{zv(e)}finally{Li(),Wo()}}}function my(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Yt(e,"get","$attrs"),t[n]}}))}function py(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return my(e)},slots:e.slots,emit:e.emit,expose:t}}function ns(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Lf(Ti(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ar)return ar[n](e)},has(t,n){return n in t||n in ar}}))}function by(e){return Re(e)&&"__vccOpts"in e}const z=(e,t)=>pv(e,t,Tr);function T(e,t,n){const o=arguments.length;return o===2?Ye(t)&&!Ce(t)?Cr(t)?pe(e,null,[t]):pe(e,t):pe(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&Cr(n)&&(n=[n]),pe(e,t,n))}const vy=Symbol.for("v-scx"),yy=()=>Ie(vy),xy="3.3.9",ky="http://www.w3.org/2000/svg",$o=typeof document<"u"?document:null,zd=$o&&$o.createElement("template"),Cy={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const i=t?$o.createElementNS(ky,e):$o.createElement(e,n?{is:n}:void 0);return e==="select"&&o&&o.multiple!=null&&i.setAttribute("multiple",o.multiple),i},createText:e=>$o.createTextNode(e),createComment:e=>$o.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>$o.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,i,r){const a=n?n.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===r||!(i=i.nextSibling)););else{zd.innerHTML=o?`${e}`:e;const s=zd.content;if(o){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Jn="transition",Ki="animation",Si=Symbol("_vtc"),gn=(e,{slots:t})=>T(Mv,dg(e),t);gn.displayName="Transition";const cg={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},Ty=gn.props=pt({},Gf,cg),Io=(e,t=[])=>{Ce(e)?e.forEach(n=>n(...t)):e&&e(...t)},Fd=e=>e?Ce(e)?e.some(t=>t.length>1):e.length>1:!1;function dg(e){const t={};for(const M in e)M in cg||(t[M]=e[M]);if(e.css===!1)return t;const{name:n="v",type:o,duration:i,enterFromClass:r=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=r,appearActiveClass:c=a,appearToClass:d=s,leaveFromClass:u=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,g=wy(i),v=g&&g[0],p=g&&g[1],{onBeforeEnter:f,onEnter:x,onEnterCancelled:A,onLeave:k,onLeaveCancelled:w,onBeforeAppear:I=f,onAppear:C=x,onAppearCancelled:S=A}=t,E=(M,q,ee)=>{oo(M,q?d:s),oo(M,q?c:a),ee&&ee()},R=(M,q)=>{M._isLeaving=!1,oo(M,u),oo(M,m),oo(M,h),q&&q()},G=M=>(q,ee)=>{const O=M?C:x,V=()=>E(q,M,ee);Io(O,[q,V]),Wd(()=>{oo(q,M?l:r),zn(q,M?d:s),Fd(O)||jd(q,o,v,V)})};return pt(t,{onBeforeEnter(M){Io(f,[M]),zn(M,r),zn(M,a)},onBeforeAppear(M){Io(I,[M]),zn(M,l),zn(M,c)},onEnter:G(!1),onAppear:G(!0),onLeave(M,q){M._isLeaving=!0;const ee=()=>R(M,q);zn(M,u),hg(),zn(M,h),Wd(()=>{M._isLeaving&&(oo(M,u),zn(M,m),Fd(k)||jd(M,o,p,ee))}),Io(k,[M,ee])},onEnterCancelled(M){E(M,!1),Io(A,[M])},onAppearCancelled(M){E(M,!0),Io(S,[M])},onLeaveCancelled(M){R(M),Io(w,[M])}})}function wy(e){if(e==null)return null;if(Ye(e))return[zs(e.enter),zs(e.leave)];{const t=zs(e);return[t,t]}}function zs(e){return L1(e)}function zn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Si]||(e[Si]=new Set)).add(t)}function oo(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[Si];n&&(n.delete(t),n.size||(e[Si]=void 0))}function Wd(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Sy=0;function jd(e,t,n,o){const i=e._endId=++Sy,r=()=>{i===e._endId&&o()};if(n)return setTimeout(r,n);const{type:a,timeout:s,propCount:l}=ug(e,t);if(!a)return o();const c=a+"end";let d=0;const u=()=>{e.removeEventListener(c,h),r()},h=m=>{m.target===e&&++d>=l&&u()};setTimeout(()=>{d(n[g]||"").split(", "),i=o(`${Jn}Delay`),r=o(`${Jn}Duration`),a=Gd(i,r),s=o(`${Ki}Delay`),l=o(`${Ki}Duration`),c=Gd(s,l);let d=null,u=0,h=0;t===Jn?a>0&&(d=Jn,u=a,h=r.length):t===Ki?c>0&&(d=Ki,u=c,h=l.length):(u=Math.max(a,c),d=u>0?a>c?Jn:Ki:null,h=d?d===Jn?r.length:l.length:0);const m=d===Jn&&/\b(transform|all)(,|$)/.test(o(`${Jn}Property`).toString());return{type:d,timeout:u,propCount:h,hasTransform:m}}function Gd(e,t){for(;e.lengthVd(n)+Vd(e[o])))}function Vd(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function hg(){return document.body.offsetHeight}function _y(e,t,n){const o=e[Si];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const _c=Symbol("_vod"),_i={beforeMount(e,{value:t},{transition:n}){e[_c]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Ui(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Ui(e,!0),o.enter(e)):o.leave(e,()=>{Ui(e,!1)}):Ui(e,t))},beforeUnmount(e,{value:t}){Ui(e,t)}};function Ui(e,t){e.style.display=t?e[_c]:"none"}function Py(e,t,n){const o=e.style,i=gt(n);if(n&&!i){if(t&&!gt(t))for(const r in t)n[r]==null&&xl(o,r,"");for(const r in n)xl(o,r,n[r])}else{const r=o.display;i?t!==n&&(o.cssText=n):t&&e.removeAttribute("style"),_c in e&&(o.display=r)}}const Kd=/\s*!important$/;function xl(e,t,n){if(Ce(n))n.forEach(o=>xl(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=Ay(e,t);Kd.test(n)?e.setProperty(Mi(o),n.replace(Kd,""),"important"):e[o]=n}}const Ud=["Webkit","Moz","ms"],Fs={};function Ay(e,t){const n=Fs[t];if(n)return n;let o=ki(t);if(o!=="filter"&&o in e)return Fs[t]=o;o=mf(o);for(let i=0;iWs||($y.then(()=>Ws=0),Ws=Date.now());function Hy(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;un(By(o,n.value),t,5,[o])};return n.value=e,n.attached=Oy(),n}function By(e,t){if(Ce(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>i=>!i._stopped&&o&&o(i))}else return t}const Yd=/^on[a-z]/,Ny=(e,t,n,o,i=!1,r,a,s,l)=>{t==="class"?_y(e,o,i):t==="style"?Py(e,n,o):Ga(t)?nc(t)||Dy(e,t,n,o,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):zy(e,t,o,i))?Ey(e,t,o,r,a,s,l):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),Iy(e,t,o,i))};function zy(e,t,n,o){return o?!!(t==="innerHTML"||t==="textContent"||t in e&&Yd.test(t)&&Re(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Yd.test(t)&>(n)?!1:t in e}const fg=new WeakMap,gg=new WeakMap,Ra=Symbol("_moveCb"),Jd=Symbol("_enterCb"),mg={name:"TransitionGroup",props:pt({},Ty,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=rn(),o=jf();let i,r;return qf(()=>{if(!i.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!Ky(i[0].el,n.vnode.el,a))return;i.forEach(jy),i.forEach(Gy);const s=i.filter(Vy);hg(),s.forEach(l=>{const c=l.el,d=c.style;zn(c,a),d.transform=d.webkitTransform=d.transitionDuration="";const u=c[Ra]=h=>{h&&h.target!==c||(!h||/transform$/.test(h.propertyName))&&(c.removeEventListener("transitionend",u),c[Ra]=null,oo(c,a))};c.addEventListener("transitionend",u)})}),()=>{const a=Oe(e),s=dg(a);let l=a.tag||He;i=r,r=t.default?vc(t.default()):[];for(let c=0;cdelete e.mode;mg.props;const Wy=mg;function jy(e){const t=e.el;t[Ra]&&t[Ra](),t[Jd]&&t[Jd]()}function Gy(e){gg.set(e,e.el.getBoundingClientRect())}function Vy(e){const t=fg.get(e),n=gg.get(e),o=t.left-n.left,i=t.top-n.top;if(o||i){const r=e.el.style;return r.transform=r.webkitTransform=`translate(${o}px,${i}px)`,r.transitionDuration="0s",e}}function Ky(e,t,n){const o=e.cloneNode(),i=e[Si];i&&i.forEach(s=>{s.split(/\s+/).forEach(l=>l&&o.classList.remove(l))}),n.split(/\s+/).forEach(s=>s&&o.classList.add(s)),o.style.display="none";const r=t.nodeType===1?t:t.parentNode;r.appendChild(o);const{hasTransform:a}=ug(o);return r.removeChild(o),a}const Uy=pt({patchProp:Ny},Cy);let Qd;function qy(){return Qd||(Qd=Qv(Uy))}const Xy=(...e)=>{const t=qy().createApp(...e),{mount:n}=t;return t.mount=o=>{const i=Zy(o);if(!i)return;const r=t._component;!Re(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.innerHTML="";const a=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),a},t};function Zy(e){return gt(e)?document.querySelector(e):e}let Ma=[];const pg=new WeakMap;function Yy(){Ma.forEach(e=>e(...pg.get(e))),Ma=[]}function bg(e,...t){pg.set(e,t),!Ma.includes(e)&&Ma.push(e)===1&&requestAnimationFrame(Yy)}function eu(e,t){let n=e.currentTarget||e.target;for(;n;){if(n.dataset&&n.dataset[t]!==void 0)return!0;n=n.parentElement}return!1}function wr(e){return e.composedPath()[0]||null}function Jy(e){if(typeof e=="number")return{"":e.toString()};const t={};return e.split(/ +/).forEach(n=>{if(n==="")return;const[o,i]=n.split(":");i===void 0?t[""]=o:t[o]=i}),t}function ai(e,t){var n;if(e==null)return;const o=Jy(e);if(t===void 0)return o[""];if(typeof t=="string")return(n=o[t])!==null&&n!==void 0?n:o[""];if(Array.isArray(t)){for(let i=t.length-1;i>=0;--i){const r=t[i];if(r in o)return o[r]}return o[""]}else{let i,r=-1;return Object.keys(o).forEach(a=>{const s=Number(a);!Number.isNaN(s)&&t>=s&&s>=r&&(r=s,i=o[a])}),i}}function tu(e){return typeof e=="string"?e.endsWith("px")?Number(e.slice(0,e.length-2)):Number(e):e}function gi(e){if(e!=null)return typeof e=="number"?`${e}px`:e.endsWith("px")?e:`${e}px`}function Pc(e,t){const n=e.trim().split(/\s+/g),o={top:n[0]};switch(n.length){case 1:o.right=n[0],o.bottom=n[0],o.left=n[0];break;case 2:o.right=n[1],o.left=n[1],o.bottom=n[0];break;case 3:o.right=n[1],o.bottom=n[2],o.left=n[1];break;case 4:o.right=n[1],o.bottom=n[2],o.left=n[3];break;default:throw new Error("[seemly/getMargin]:"+e+" is not a valid value.")}return t===void 0?o:o[t]}function Qy(e,t){const[n,o]=e.split(" ");return t?t==="row"?n:o:{row:n,col:o||n}}const nu={black:"#000",silver:"#C0C0C0",gray:"#808080",white:"#FFF",maroon:"#800000",red:"#F00",purple:"#800080",fuchsia:"#F0F",green:"#008000",lime:"#0F0",olive:"#808000",yellow:"#FF0",navy:"#000080",blue:"#00F",teal:"#008080",aqua:"#0FF",transparent:"#0000"},Oi="^\\s*",Hi="\\s*$",Ho="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*",Bo="([0-9A-Fa-f])",No="([0-9A-Fa-f]{2})",e2=new RegExp(`${Oi}rgb\\s*\\(${Ho},${Ho},${Ho}\\)${Hi}`),t2=new RegExp(`${Oi}rgba\\s*\\(${Ho},${Ho},${Ho},${Ho}\\)${Hi}`),n2=new RegExp(`${Oi}#${Bo}${Bo}${Bo}${Hi}`),o2=new RegExp(`${Oi}#${No}${No}${No}${Hi}`),i2=new RegExp(`${Oi}#${Bo}${Bo}${Bo}${Bo}${Hi}`),r2=new RegExp(`${Oi}#${No}${No}${No}${No}${Hi}`);function qt(e){return parseInt(e,16)}function Gn(e){try{let t;if(t=o2.exec(e))return[qt(t[1]),qt(t[2]),qt(t[3]),1];if(t=e2.exec(e))return[Bt(t[1]),Bt(t[5]),Bt(t[9]),1];if(t=t2.exec(e))return[Bt(t[1]),Bt(t[5]),Bt(t[9]),cr(t[13])];if(t=n2.exec(e))return[qt(t[1]+t[1]),qt(t[2]+t[2]),qt(t[3]+t[3]),1];if(t=r2.exec(e))return[qt(t[1]),qt(t[2]),qt(t[3]),cr(qt(t[4])/255)];if(t=i2.exec(e))return[qt(t[1]+t[1]),qt(t[2]+t[2]),qt(t[3]+t[3]),cr(qt(t[4]+t[4])/255)];if(e in nu)return Gn(nu[e]);throw new Error(`[seemly/rgba]: Invalid color value ${e}.`)}catch(t){throw t}}function a2(e){return e>1?1:e<0?0:e}function kl(e,t,n,o){return`rgba(${Bt(e)}, ${Bt(t)}, ${Bt(n)}, ${a2(o)})`}function js(e,t,n,o,i){return Bt((e*t*(1-o)+n*o)/i)}function he(e,t){Array.isArray(e)||(e=Gn(e)),Array.isArray(t)||(t=Gn(t));const n=e[3],o=t[3],i=cr(n+o-n*o);return kl(js(e[0],n,t[0],o,i),js(e[1],n,t[1],o,i),js(e[2],n,t[2],o,i),i)}function U(e,t){const[n,o,i,r=1]=Array.isArray(e)?e:Gn(e);return t.alpha?kl(n,o,i,t.alpha):kl(n,o,i,r)}function ft(e,t){const[n,o,i,r=1]=Array.isArray(e)?e:Gn(e),{lightness:a=1,alpha:s=1}=t;return s2([n*a,o*a,i*a,r*s])}function cr(e){const t=Math.round(Number(e)*100)/100;return t>1?1:t<0?0:t}function Bt(e){const t=Math.round(Number(e));return t>255?255:t<0?0:t}function s2(e){const[t,n,o]=e;return 3 in e?`rgba(${Bt(t)}, ${Bt(n)}, ${Bt(o)}, ${cr(e[3])})`:`rgba(${Bt(t)}, ${Bt(n)}, ${Bt(o)}, 1)`}function os(e=8){return Math.random().toString(16).slice(2,2+e)}function vg(e,t="default",n=[]){const i=e.$slots[t];return i===void 0?n:i()}function qo(e,t=[],n){const o={};return t.forEach(i=>{o[i]=e[i]}),Object.assign(o,n)}function Ac(e,t=[],n){const o={};return Object.getOwnPropertyNames(e).forEach(r=>{t.includes(r)||(o[r]=e[r])}),Object.assign(o,n)}function Sr(e,t=!0,n=[]){return e.forEach(o=>{if(o!==null){if(typeof o!="object"){(typeof o=="string"||typeof o=="number")&&n.push(Ct(String(o)));return}if(Array.isArray(o)){Sr(o,t,n);return}if(o.type===He){if(o.children===null)return;Array.isArray(o.children)&&Sr(o.children,t,n)}else o.type!==Gt&&n.push(o)}}),n}function Fe(e,...t){if(Array.isArray(e))e.forEach(n=>Fe(n,...t));else return e(...t)}function is(e){return Object.keys(e)}const It=(e,...t)=>typeof e=="function"?e(...t):typeof e=="string"?Ct(e):typeof e=="number"?Ct(String(e)):null;function Pi(e,t){console.error(`[naive/${e}]: ${t}`)}function yg(e,t){throw new Error(`[naive/${e}]: ${t}`)}function Cl(e,t="default",n=void 0){const o=e[t];if(!o)return Pi("getFirstSlotVNode",`slot[${t}] is empty`),null;const i=Sr(o(n));return i.length===1?i[0]:(Pi("getFirstSlotVNode",`slot[${t}] should have exactly one child`),null)}function l2(e){return t=>{t?e.value=t.$el:e.value=null}}function Hr(e){return e.some(t=>Cr(t)?!(t.type===Gt||t.type===He&&!Hr(t.children)):!0)?e:null}function jo(e,t){return e&&Hr(e())||t()}function c2(e,t,n){return e&&Hr(e(t))||n(t)}function Et(e,t){const n=e&&Hr(e());return t(n||null)}function Tl(e){return!(e&&Hr(e()))}function d2(e){var t;const n=(t=e.dirs)===null||t===void 0?void 0:t.find(({dir:o})=>o===_i);return!!(n&&n.value===!1)}const ou=se({render(){var e,t;return(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)}}),u2=/^(\d|\.)+$/,iu=/(\d|\.)+/;function Ca(e,{c:t=1,offset:n=0,attachPx:o=!0}={}){if(typeof e=="number"){const i=(e+n)*t;return i===0?"0":`${i}px`}else if(typeof e=="string")if(u2.test(e)){const i=(Number(e)+n)*t;return o?i===0?"0":`${i}px`:`${i}`}else{const i=iu.exec(e);return i?e.replace(iu,String((Number(i[0])+n)*t)):e}return e}function ru(e){return e.replace(/#|\(|\)|,|\s/g,"_")}function h2(e){let t=0;for(let n=0;n{let i=h2(o);if(i){if(i===1){e.forEach(a=>{n.push(o.replace("&",a))});return}}else{e.forEach(a=>{n.push((a&&a+" ")+o)});return}let r=[o];for(;i--;){const a=[];r.forEach(s=>{e.forEach(l=>{a.push(s.replace("&",l))})}),r=a}r.forEach(a=>n.push(a))}),n}function m2(e,t){const n=[];return t.split(xg).forEach(o=>{e.forEach(i=>{n.push((i&&i+" ")+o)})}),n}function p2(e){let t=[""];return e.forEach(n=>{n=n&&n.trim(),n&&(n.includes("&")?t=g2(t,n):t=m2(t,n))}),t.join(", ").replace(f2," ")}function au(e){if(!e)return;const t=e.parentElement;t&&t.removeChild(e)}function rs(e){return document.querySelector(`style[cssr-id="${e}"]`)}function b2(e){const t=document.createElement("style");return t.setAttribute("cssr-id",e),t}function na(e){return e?/^\s*@(s|m)/.test(e):!1}const v2=/[A-Z]/g;function kg(e){return e.replace(v2,t=>"-"+t.toLowerCase())}function y2(e,t=" "){return typeof e=="object"&&e!==null?` { +var _1=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var jM=_1((tn,nn)=>{(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))o(i);new MutationObserver(i=>{for(const r of i)if(r.type==="childList")for(const a of r.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&o(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const r={};return i.integrity&&(r.integrity=i.integrity),i.referrerPolicy&&(r.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?r.credentials="include":i.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function o(i){if(i.ep)return;i.ep=!0;const r=n(i);fetch(i.href,r)}})();function tc(e,t){const n=Object.create(null),o=e.split(",");for(let i=0;i!!n[i.toLowerCase()]:i=>!!n[i]}const nt={},pi=[],Tn=()=>{},P1=()=>!1,Ga=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),nc=e=>e.startsWith("onUpdate:"),pt=Object.assign,oc=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},A1=Object.prototype.hasOwnProperty,Ne=(e,t)=>A1.call(e,t),Ce=Array.isArray,bi=e=>Ka(e)==="[object Map]",uf=e=>Ka(e)==="[object Set]",Re=e=>typeof e=="function",gt=e=>typeof e=="string",Va=e=>typeof e=="symbol",Ye=e=>e!==null&&typeof e=="object",hf=e=>(Ye(e)||Re(e))&&Re(e.then)&&Re(e.catch),ff=Object.prototype.toString,Ka=e=>ff.call(e),I1=e=>Ka(e).slice(8,-1),gf=e=>Ka(e)==="[object Object]",ic=e=>gt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ya=tc(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ua=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},E1=/-(\w)/g,ki=Ua(e=>e.replace(E1,(t,n)=>n?n.toUpperCase():"")),R1=/\B([A-Z])/g,Mi=Ua(e=>e.replace(R1,"-$1").toLowerCase()),mf=Ua(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ls=Ua(e=>e?`on${mf(e)}`:""),Uo=(e,t)=>!Object.is(e,t),$s=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},M1=e=>{const t=parseFloat(e);return isNaN(t)?e:t},D1=e=>{const t=gt(e)?Number(e):NaN;return isNaN(t)?e:t};let pd;const cl=()=>pd||(pd=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function qa(e){if(Ce(e)){const t={};for(let n=0;n{if(n){const o=n.split($1);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function rc(e){let t="";if(gt(e))t=e;else if(Ce(e))for(let n=0;ngt(e)?e:e==null?"":Ce(e)||Ye(e)&&(e.toString===ff||!Re(e.toString))?JSON.stringify(e,bf,2):String(e),bf=(e,t)=>t&&t.__v_isRef?bf(e,t.value):bi(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,i])=>(n[`${o} =>`]=i,n),{})}:uf(t)?{[`Set(${t.size})`]:[...t.values()]}:Ye(t)&&!Ce(t)&&!gf(t)?String(t):t;let en;class vf{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=en,!t&&en&&(this.index=(en.scopes||(en.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=en;try{return en=this,t()}finally{en=n}}}on(){en=this}off(){en=this.parent}stop(t){if(this._active){let n,o;for(n=0,o=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},xf=e=>(e.w&uo)>0,kf=e=>(e.n&uo)>0,F1=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o{(d==="length"||!Va(d)&&d>=l)&&s.push(c)})}else switch(n!==void 0&&s.push(a.get(n)),t){case"add":Ce(e)?ic(n)&&s.push(a.get("length")):(s.push(a.get(Fo)),bi(e)&&s.push(a.get(ul)));break;case"delete":Ce(e)||(s.push(a.get(Fo)),bi(e)&&s.push(a.get(ul)));break;case"set":bi(e)&&s.push(a.get(Fo));break}if(s.length===1)s[0]&&hl(s[0]);else{const l=[];for(const c of s)c&&l.push(...c);hl(lc(l))}}function hl(e,t){const n=Ce(e)?e:[...e];for(const o of n)o.computed&&vd(o);for(const o of n)o.computed||vd(o)}function vd(e,t){(e!==xn||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function j1(e,t){var n;return(n=Pa.get(e))==null?void 0:n.get(t)}const G1=tc("__proto__,__v_isRef,__isVue"),wf=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Va)),yd=V1();function V1(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const o=Oe(this);for(let r=0,a=this.length;r{e[t]=function(...n){Di();const o=Oe(this)[t].apply(this,n);return Li(),o}}),e}function K1(e){const t=Oe(this);return Yt(t,"has",e),t.hasOwnProperty(e)}class Sf{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,o){const i=this._isReadonly,r=this._shallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return r;if(n==="__v_raw"&&o===(i?r?rv:If:r?Af:Pf).get(t))return t;const a=Ce(t);if(!i){if(a&&Ne(yd,n))return Reflect.get(yd,n,o);if(n==="hasOwnProperty")return K1}const s=Reflect.get(t,n,o);return(Va(n)?wf.has(n):G1(n))||(i||Yt(t,"get",n),r)?s:at(s)?a&&ic(n)?s:s.value:Ye(s)?i?on(s):vo(s):s}}class _f extends Sf{constructor(t=!1){super(!1,t)}set(t,n,o,i){let r=t[n];if(Ci(r)&&at(r)&&!at(o))return!1;if(!this._shallow&&(!Aa(o)&&!Ci(o)&&(r=Oe(r),o=Oe(o)),!Ce(t)&&at(r)&&!at(o)))return r.value=o,!0;const a=Ce(t)&&ic(n)?Number(n)e,Xa=e=>Reflect.getPrototypeOf(e);function qr(e,t,n=!1,o=!1){e=e.__v_raw;const i=Oe(e),r=Oe(t);n||(Uo(t,r)&&Yt(i,"get",t),Yt(i,"get",r));const{has:a}=Xa(i),s=o?dc:n?fc:mr;if(a.call(i,t))return s(e.get(t));if(a.call(i,r))return s(e.get(r));e!==i&&e.get(t)}function Xr(e,t=!1){const n=this.__v_raw,o=Oe(n),i=Oe(e);return t||(Uo(e,i)&&Yt(o,"has",e),Yt(o,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function Zr(e,t=!1){return e=e.__v_raw,!t&&Yt(Oe(e),"iterate",Fo),Reflect.get(e,"size",e)}function xd(e){e=Oe(e);const t=Oe(this);return Xa(t).has.call(t,e)||(t.add(e),jn(t,"add",e,e)),this}function kd(e,t){t=Oe(t);const n=Oe(this),{has:o,get:i}=Xa(n);let r=o.call(n,e);r||(e=Oe(e),r=o.call(n,e));const a=i.call(n,e);return n.set(e,t),r?Uo(t,a)&&jn(n,"set",e,t):jn(n,"add",e,t),this}function Cd(e){const t=Oe(this),{has:n,get:o}=Xa(t);let i=n.call(t,e);i||(e=Oe(e),i=n.call(t,e)),o&&o.call(t,e);const r=t.delete(e);return i&&jn(t,"delete",e,void 0),r}function Td(){const e=Oe(this),t=e.size!==0,n=e.clear();return t&&jn(e,"clear",void 0,void 0),n}function Yr(e,t){return function(o,i){const r=this,a=r.__v_raw,s=Oe(a),l=t?dc:e?fc:mr;return!e&&Yt(s,"iterate",Fo),a.forEach((c,d)=>o.call(i,l(c),l(d),r))}}function Jr(e,t,n){return function(...o){const i=this.__v_raw,r=Oe(i),a=bi(r),s=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,c=i[e](...o),d=n?dc:t?fc:mr;return!t&&Yt(r,"iterate",l?ul:Fo),{next(){const{value:u,done:h}=c.next();return h?{value:u,done:h}:{value:s?[d(u[0]),d(u[1])]:d(u),done:h}},[Symbol.iterator](){return this}}}}function Yn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Y1(){const e={get(r){return qr(this,r)},get size(){return Zr(this)},has:Xr,add:xd,set:kd,delete:Cd,clear:Td,forEach:Yr(!1,!1)},t={get(r){return qr(this,r,!1,!0)},get size(){return Zr(this)},has:Xr,add:xd,set:kd,delete:Cd,clear:Td,forEach:Yr(!1,!0)},n={get(r){return qr(this,r,!0)},get size(){return Zr(this,!0)},has(r){return Xr.call(this,r,!0)},add:Yn("add"),set:Yn("set"),delete:Yn("delete"),clear:Yn("clear"),forEach:Yr(!0,!1)},o={get(r){return qr(this,r,!0,!0)},get size(){return Zr(this,!0)},has(r){return Xr.call(this,r,!0)},add:Yn("add"),set:Yn("set"),delete:Yn("delete"),clear:Yn("clear"),forEach:Yr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=Jr(r,!1,!1),n[r]=Jr(r,!0,!1),t[r]=Jr(r,!1,!0),o[r]=Jr(r,!0,!0)}),[e,n,t,o]}const[J1,Q1,ev,tv]=Y1();function uc(e,t){const n=t?e?tv:ev:e?Q1:J1;return(o,i,r)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?o:Reflect.get(Ne(n,i)&&i in o?n:o,i,r)}const nv={get:uc(!1,!1)},ov={get:uc(!1,!0)},iv={get:uc(!0,!1)},Pf=new WeakMap,Af=new WeakMap,If=new WeakMap,rv=new WeakMap;function av(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function sv(e){return e.__v_skip||!Object.isExtensible(e)?0:av(I1(e))}function vo(e){return Ci(e)?e:hc(e,!1,q1,nv,Pf)}function lv(e){return hc(e,!1,Z1,ov,Af)}function on(e){return hc(e,!0,X1,iv,If)}function hc(e,t,n,o,i){if(!Ye(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=i.get(e);if(r)return r;const a=sv(e);if(a===0)return e;const s=new Proxy(e,a===2?o:n);return i.set(e,s),s}function lo(e){return Ci(e)?lo(e.__v_raw):!!(e&&e.__v_isReactive)}function Ci(e){return!!(e&&e.__v_isReadonly)}function Aa(e){return!!(e&&e.__v_isShallow)}function Ef(e){return lo(e)||Ci(e)}function Oe(e){const t=e&&e.__v_raw;return t?Oe(t):e}function Ti(e){return _a(e,"__v_skip",!0),e}const mr=e=>Ye(e)?vo(e):e,fc=e=>Ye(e)?on(e):e;function Rf(e){so&&xn&&(e=Oe(e),Tf(e.dep||(e.dep=lc())))}function Mf(e,t){e=Oe(e);const n=e.dep;n&&hl(n)}function at(e){return!!(e&&e.__v_isRef===!0)}function j(e){return Df(e,!1)}function gc(e){return Df(e,!0)}function Df(e,t){return at(e)?e:new cv(e,t)}class cv{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Oe(t),this._value=n?t:mr(t)}get value(){return Rf(this),this._value}set value(t){const n=this.__v_isShallow||Aa(t)||Ci(t);t=n?t:Oe(t),Uo(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:mr(t),Mf(this))}}function ze(e){return at(e)?e.value:e}const dv={get:(e,t,n)=>ze(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const i=e[t];return at(i)&&!at(n)?(i.value=n,!0):Reflect.set(e,t,n,o)}};function Lf(e){return lo(e)?e:new Proxy(e,dv)}function uv(e){const t=Ce(e)?new Array(e.length):{};for(const n in e)t[n]=$f(e,n);return t}class hv{constructor(t,n,o){this._object=t,this._key=n,this._defaultValue=o,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return j1(Oe(this._object),this._key)}}class fv{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Ke(e,t,n){return at(e)?e:Re(e)?new fv(e):Ye(e)&&arguments.length>1?$f(e,t,n):j(e)}function $f(e,t,n){const o=e[t];return at(o)?o:new hv(e,t,n)}class gv{constructor(t,n,o,i){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new cc(t,()=>{this._dirty||(this._dirty=!0,Mf(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=o}get value(){const t=Oe(this);return Rf(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function mv(e,t,n=!1){let o,i;const r=Re(e);return r?(o=e,i=Tn):(o=e.get,i=e.set),new gv(o,i,r||!i,n)}function co(e,t,n,o){let i;try{i=o?e(...o):e()}catch(r){Za(r,t,n)}return i}function un(e,t,n,o){if(Re(e)){const r=co(e,t,n,o);return r&&hf(r)&&r.catch(a=>{Za(a,t,n)}),r}const i=[];for(let r=0;r>>1,i=Nt[o],r=br(i);rRn&&Nt.splice(t,1)}function yv(e){Ce(e)?vi.push(...e):(!Fn||!Fn.includes(e,e.allowRecurse?Do+1:Do))&&vi.push(e),Hf()}function wd(e,t=pr?Rn+1:0){for(;tbr(n)-br(o)),Do=0;Doe.id==null?1/0:e.id,xv=(e,t)=>{const n=br(e)-br(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Nf(e){fl=!1,pr=!0,Nt.sort(xv);const t=Tn;try{for(Rn=0;Rngt(m)?m.trim():m)),u&&(i=n.map(M1))}let s,l=o[s=Ls(t)]||o[s=Ls(ki(t))];!l&&r&&(l=o[s=Ls(Mi(t))]),l&&un(l,e,6,i);const c=o[s+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,un(c,e,6,i)}}function zf(e,t,n=!1){const o=t.emitsCache,i=o.get(e);if(i!==void 0)return i;const r=e.emits;let a={},s=!1;if(!Re(e)){const l=c=>{const d=zf(c,t,!0);d&&(s=!0,pt(a,d))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!r&&!s?(Ye(e)&&o.set(e,null),null):(Ce(r)?r.forEach(l=>a[l]=null):pt(a,r),Ye(e)&&o.set(e,a),a)}function Ya(e,t){return!e||!Ga(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ne(e,t[0].toLowerCase()+t.slice(1))||Ne(e,Mi(t))||Ne(e,t))}let Mt=null,Ff=null;function Ia(e){const t=Mt;return Mt=e,Ff=e&&e.type.__scopeId||null,t}function xe(e,t=Mt,n){if(!t||e._n)return e;const o=(...i)=>{o._d&&Od(-1);const r=Ia(t);let a;try{a=e(...i)}finally{Ia(r),o._d&&Od(1)}return a};return o._n=!0,o._c=!0,o._d=!0,o}function Os(e){const{type:t,vnode:n,proxy:o,withProxy:i,props:r,propsOptions:[a],slots:s,attrs:l,emit:c,render:d,renderCache:u,data:h,setupState:m,ctx:g,inheritAttrs:v}=e;let p,f;const x=Ia(e);try{if(n.shapeFlag&4){const k=i||o,w=k;p=In(d.call(w,k,u,r,m,h,g)),f=l}else{const k=t;p=In(k.length>1?k(r,{attrs:l,slots:s,emit:c}):k(r,null)),f=t.props?l:Cv(l)}}catch(k){lr.length=0,Za(k,e,1),p=pe(Gt)}let A=p;if(f&&v!==!1){const k=Object.keys(f),{shapeFlag:w}=A;k.length&&w&7&&(a&&k.some(nc)&&(f=Tv(f,a)),A=fn(A,f))}return n.dirs&&(A=fn(A),A.dirs=A.dirs?A.dirs.concat(n.dirs):n.dirs),n.transition&&(A.transition=n.transition),p=A,Ia(x),p}const Cv=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ga(n))&&((t||(t={}))[n]=e[n]);return t},Tv=(e,t)=>{const n={};for(const o in e)(!nc(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function wv(e,t,n){const{props:o,children:i,component:r}=e,{props:a,children:s,patchFlag:l}=t,c=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return o?Sd(o,a,c):!!a;if(l&8){const d=t.dynamicProps;for(let u=0;ue.__isSuspense;function Av(e,t){t&&t.pendingBranch?Ce(e)?t.effects.push(...e):t.effects.push(e):yv(e)}function ho(e,t){return bc(e,null,t)}const Qr={};function Ze(e,t,n){return bc(e,t,n)}function bc(e,t,{immediate:n,deep:o,flush:i,onTrack:r,onTrigger:a}=nt){var s;const l=sc()===((s=Tt)==null?void 0:s.scope)?Tt:null;let c,d=!1,u=!1;if(at(e)?(c=()=>e.value,d=Aa(e)):lo(e)?(c=()=>e,o=!0):Ce(e)?(u=!0,d=e.some(k=>lo(k)||Aa(k)),c=()=>e.map(k=>{if(at(k))return k.value;if(lo(k))return Oo(k);if(Re(k))return co(k,l,2)})):Re(e)?t?c=()=>co(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return h&&h(),un(e,l,3,[m])}:c=Tn,t&&o){const k=c;c=()=>Oo(k())}let h,m=k=>{h=x.onStop=()=>{co(k,l,4),h=x.onStop=void 0}},g;if(Tr)if(m=Tn,t?n&&un(t,l,3,[c(),u?[]:void 0,m]):c(),i==="sync"){const k=vy();g=k.__watcherHandles||(k.__watcherHandles=[])}else return Tn;let v=u?new Array(e.length).fill(Qr):Qr;const p=()=>{if(x.active)if(t){const k=x.run();(o||d||(u?k.some((w,I)=>Uo(w,v[I])):Uo(k,v)))&&(h&&h(),un(t,l,3,[k,v===Qr?void 0:u&&v[0]===Qr?[]:v,m]),v=k)}else x.run()};p.allowRecurse=!!t;let f;i==="sync"?f=p:i==="post"?f=()=>Zt(p,l&&l.suspense):(p.pre=!0,l&&(p.id=l.uid),f=()=>pc(p));const x=new cc(c,f);t?n?p():v=x.run():i==="post"?Zt(x.run.bind(x),l&&l.suspense):x.run();const A=()=>{x.stop(),l&&l.scope&&oc(l.scope.effects,x)};return g&&g.push(A),A}function Iv(e,t,n){const o=this.proxy,i=gt(e)?e.includes(".")?Wf(o,e):()=>o[e]:e.bind(o,o);let r;Re(t)?r=t:(r=t.handler,n=t);const a=Tt;wi(this);const s=bc(i,r.bind(o),n);return a?wi(a):Wo(),s}function Wf(e,t){const n=t.split(".");return()=>{let o=e;for(let i=0;i{Oo(n,t)});else if(gf(e))for(const n in e)Oo(e[n],t);return e}function fo(e,t){const n=Mt;if(n===null)return e;const o=ns(n)||n.proxy,i=e.dirs||(e.dirs=[]);for(let r=0;r{e.isMounted=!0}),kt(()=>{e.isUnmounting=!0}),e}const ln=[Function,Array],Gf={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ln,onEnter:ln,onAfterEnter:ln,onEnterCancelled:ln,onBeforeLeave:ln,onLeave:ln,onAfterLeave:ln,onLeaveCancelled:ln,onBeforeAppear:ln,onAppear:ln,onAfterAppear:ln,onAppearCancelled:ln},Ev={name:"BaseTransition",props:Gf,setup(e,{slots:t}){const n=rn(),o=jf();let i;return()=>{const r=t.default&&vc(t.default(),!0);if(!r||!r.length)return;let a=r[0];if(r.length>1){for(const v of r)if(v.type!==Gt){a=v;break}}const s=Oe(e),{mode:l}=s;if(o.isLeaving)return Hs(a);const c=_d(a);if(!c)return Hs(a);const d=vr(c,s,o,n);yr(c,d);const u=n.subTree,h=u&&_d(u);let m=!1;const{getTransitionKey:g}=c.type;if(g){const v=g();i===void 0?i=v:v!==i&&(i=v,m=!0)}if(h&&h.type!==Gt&&(!Lo(c,h)||m)){const v=vr(h,s,o,n);if(yr(h,v),l==="out-in")return o.isLeaving=!0,v.afterLeave=()=>{o.isLeaving=!1,n.update.active!==!1&&n.update()},Hs(a);l==="in-out"&&c.type!==Gt&&(v.delayLeave=(p,f,x)=>{const A=Vf(o,h);A[String(h.key)]=h,p[ro]=()=>{f(),p[ro]=void 0,delete d.delayedLeave},d.delayedLeave=x})}return a}}},Rv=Ev;function Vf(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function vr(e,t,n,o){const{appear:i,mode:r,persisted:a=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:c,onEnterCancelled:d,onBeforeLeave:u,onLeave:h,onAfterLeave:m,onLeaveCancelled:g,onBeforeAppear:v,onAppear:p,onAfterAppear:f,onAppearCancelled:x}=t,A=String(e.key),k=Vf(n,e),w=(S,E)=>{S&&un(S,o,9,E)},I=(S,E)=>{const R=E[1];w(S,E),Ce(S)?S.every(G=>G.length<=1)&&R():S.length<=1&&R()},C={mode:r,persisted:a,beforeEnter(S){let E=s;if(!n.isMounted)if(i)E=v||s;else return;S[ro]&&S[ro](!0);const R=k[A];R&&Lo(e,R)&&R.el[ro]&&R.el[ro](),w(E,[S])},enter(S){let E=l,R=c,G=d;if(!n.isMounted)if(i)E=p||l,R=f||c,G=x||d;else return;let M=!1;const q=S[ea]=ee=>{M||(M=!0,ee?w(G,[S]):w(R,[S]),C.delayedLeave&&C.delayedLeave(),S[ea]=void 0)};E?I(E,[S,q]):q()},leave(S,E){const R=String(e.key);if(S[ea]&&S[ea](!0),n.isUnmounting)return E();w(u,[S]);let G=!1;const M=S[ro]=q=>{G||(G=!0,E(),q?w(g,[S]):w(m,[S]),S[ro]=void 0,k[R]===e&&delete k[R])};k[R]=e,h?I(h,[S,M]):M()},clone(S){return vr(S,t,n,o)}};return C}function Hs(e){if(Ja(e))return e=fn(e),e.children=null,e}function _d(e){return Ja(e)?e.children?e.children[0]:void 0:e}function yr(e,t){e.shapeFlag&6&&e.component?yr(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 vc(e,t=!1,n){let o=[],i=0;for(let r=0;r1)for(let r=0;rpt({name:e.name},t,{setup:e}))():e}const rr=e=>!!e.type.__asyncLoader,Ja=e=>e.type.__isKeepAlive;function Kf(e,t){Uf(e,"a",t)}function yc(e,t){Uf(e,"da",t)}function Uf(e,t,n=Tt){const o=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Qa(t,o,n),n){let i=n.parent;for(;i&&i.parent;)Ja(i.parent.vnode)&&Mv(o,t,n,i),i=i.parent}}function Mv(e,t,n,o){const i=Qa(t,e,o,!0);xc(()=>{oc(o[t],i)},n)}function Qa(e,t,n=Tt,o=!1){if(n){const i=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...a)=>{if(n.isUnmounted)return;Di(),wi(n);const s=un(t,n,e,a);return Wo(),Li(),s});return o?i.unshift(r):i.push(r),r}}const Kn=e=>(t,n=Tt)=>(!Tr||e==="sp")&&Qa(e,(...o)=>t(...o),n),On=Kn("bm"),Lt=Kn("m"),Dv=Kn("bu"),qf=Kn("u"),kt=Kn("bum"),xc=Kn("um"),Lv=Kn("sp"),$v=Kn("rtg"),Ov=Kn("rtc");function Hv(e,t=Tt){Qa("ec",e,t)}function xa(e,t,n,o){let i;const r=n&&n[o];if(Ce(e)||gt(e)){i=new Array(e.length);for(let a=0,s=e.length;at(a,s,void 0,r&&r[s]));else{const a=Object.keys(e);i=new Array(a.length);for(let s=0,l=a.length;sCr(t)?!(t.type===Gt||t.type===He&&!Zf(t.children)):!0)?e:null}const gl=e=>e?sg(e)?ns(e)||e.proxy:gl(e.parent):null,ar=pt(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=>gl(e.parent),$root:e=>gl(e.root),$emit:e=>e.emit,$options:e=>kc(e),$forceUpdate:e=>e.f||(e.f=()=>pc(e.update)),$nextTick:e=>e.n||(e.n=jt.bind(e.proxy)),$watch:e=>Iv.bind(e)}),Bs=(e,t)=>e!==nt&&!e.__isScriptSetup&&Ne(e,t),Bv={get({_:e},t){const{ctx:n,setupState:o,data:i,props:r,accessCache:a,type:s,appContext:l}=e;let c;if(t[0]!=="$"){const m=a[t];if(m!==void 0)switch(m){case 1:return o[t];case 2:return i[t];case 4:return n[t];case 3:return r[t]}else{if(Bs(o,t))return a[t]=1,o[t];if(i!==nt&&Ne(i,t))return a[t]=2,i[t];if((c=e.propsOptions[0])&&Ne(c,t))return a[t]=3,r[t];if(n!==nt&&Ne(n,t))return a[t]=4,n[t];ml&&(a[t]=0)}}const d=ar[t];let u,h;if(d)return t==="$attrs"&&Yt(e,"get",t),d(e);if((u=s.__cssModules)&&(u=u[t]))return u;if(n!==nt&&Ne(n,t))return a[t]=4,n[t];if(h=l.config.globalProperties,Ne(h,t))return h[t]},set({_:e},t,n){const{data:o,setupState:i,ctx:r}=e;return Bs(i,t)?(i[t]=n,!0):o!==nt&&Ne(o,t)?(o[t]=n,!0):Ne(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:i,propsOptions:r}},a){let s;return!!n[a]||e!==nt&&Ne(e,a)||Bs(t,a)||(s=r[0])&&Ne(s,a)||Ne(o,a)||Ne(ar,a)||Ne(i.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Ne(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Pd(e){return Ce(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ml=!0;function Nv(e){const t=kc(e),n=e.proxy,o=e.ctx;ml=!1,t.beforeCreate&&Ad(t.beforeCreate,e,"bc");const{data:i,computed:r,methods:a,watch:s,provide:l,inject:c,created:d,beforeMount:u,mounted:h,beforeUpdate:m,updated:g,activated:v,deactivated:p,beforeDestroy:f,beforeUnmount:x,destroyed:A,unmounted:k,render:w,renderTracked:I,renderTriggered:C,errorCaptured:S,serverPrefetch:E,expose:R,inheritAttrs:G,components:M,directives:q,filters:ee}=t;if(c&&zv(c,o,null),a)for(const W in a){const oe=a[W];Re(oe)&&(o[W]=oe.bind(n))}if(i){const W=i.call(n,n);Ye(W)&&(e.data=vo(W))}if(ml=!0,r)for(const W in r){const oe=r[W],fe=Re(oe)?oe.bind(n,n):Re(oe.get)?oe.get.bind(n,n):Tn,we=!Re(oe)&&Re(oe.set)?oe.set.bind(n):Tn,De=z({get:fe,set:we});Object.defineProperty(o,W,{enumerable:!0,configurable:!0,get:()=>De.value,set:Le=>De.value=Le})}if(s)for(const W in s)Yf(s[W],o,n,W);if(l){const W=Re(l)?l.call(n):l;Reflect.ownKeys(W).forEach(oe=>{We(oe,W[oe])})}d&&Ad(d,e,"c");function V(W,oe){Ce(oe)?oe.forEach(fe=>W(fe.bind(n))):oe&&W(oe.bind(n))}if(V(On,u),V(Lt,h),V(Dv,m),V(qf,g),V(Kf,v),V(yc,p),V(Hv,S),V(Ov,I),V($v,C),V(kt,x),V(xc,k),V(Lv,E),Ce(R))if(R.length){const W=e.exposed||(e.exposed={});R.forEach(oe=>{Object.defineProperty(W,oe,{get:()=>n[oe],set:fe=>n[oe]=fe})})}else e.exposed||(e.exposed={});w&&e.render===Tn&&(e.render=w),G!=null&&(e.inheritAttrs=G),M&&(e.components=M),q&&(e.directives=q)}function zv(e,t,n=Tn){Ce(e)&&(e=pl(e));for(const o in e){const i=e[o];let r;Ye(i)?"default"in i?r=Ie(i.from||o,i.default,!0):r=Ie(i.from||o):r=Ie(i),at(r)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>r.value,set:a=>r.value=a}):t[o]=r}}function Ad(e,t,n){un(Ce(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function Yf(e,t,n,o){const i=o.includes(".")?Wf(n,o):()=>n[o];if(gt(e)){const r=t[e];Re(r)&&Ze(i,r)}else if(Re(e))Ze(i,e.bind(n));else if(Ye(e))if(Ce(e))e.forEach(r=>Yf(r,t,n,o));else{const r=Re(e.handler)?e.handler.bind(n):t[e.handler];Re(r)&&Ze(i,r,e)}}function kc(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:a}}=e.appContext,s=r.get(t);let l;return s?l=s:!i.length&&!n&&!o?l=t:(l={},i.length&&i.forEach(c=>Ea(l,c,a,!0)),Ea(l,t,a)),Ye(t)&&r.set(t,l),l}function Ea(e,t,n,o=!1){const{mixins:i,extends:r}=t;r&&Ea(e,r,n,!0),i&&i.forEach(a=>Ea(e,a,n,!0));for(const a in t)if(!(o&&a==="expose")){const s=Fv[a]||n&&n[a];e[a]=s?s(e[a],t[a]):t[a]}return e}const Fv={data:Id,props:Ed,emits:Ed,methods:nr,computed:nr,beforeCreate:Ft,created:Ft,beforeMount:Ft,mounted:Ft,beforeUpdate:Ft,updated:Ft,beforeDestroy:Ft,beforeUnmount:Ft,destroyed:Ft,unmounted:Ft,activated:Ft,deactivated:Ft,errorCaptured:Ft,serverPrefetch:Ft,components:nr,directives:nr,watch:jv,provide:Id,inject:Wv};function Id(e,t){return t?e?function(){return pt(Re(e)?e.call(this,this):e,Re(t)?t.call(this,this):t)}:t:e}function Wv(e,t){return nr(pl(e),pl(t))}function pl(e){if(Ce(e)){const t={};for(let n=0;n1)return n&&Re(t)?t.call(o&&o.proxy):t}}function Kv(){return!!(Tt||Mt||xr)}function Uv(e,t,n,o=!1){const i={},r={};_a(r,ts,1),e.propsDefaults=Object.create(null),Qf(e,t,i,r);for(const a in e.propsOptions[0])a in i||(i[a]=void 0);n?e.props=o?i:lv(i):e.type.props?e.props=i:e.props=r,e.attrs=r}function qv(e,t,n,o){const{props:i,attrs:r,vnode:{patchFlag:a}}=e,s=Oe(i),[l]=e.propsOptions;let c=!1;if((o||a>0)&&!(a&16)){if(a&8){const d=e.vnode.dynamicProps;for(let u=0;u{l=!0;const[h,m]=eg(u,t,!0);pt(a,h),m&&s.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!r&&!l)return Ye(e)&&o.set(e,pi),pi;if(Ce(r))for(let d=0;d-1,m[1]=v<0||g-1||Ne(m,"default"))&&s.push(u)}}}const c=[a,s];return Ye(e)&&o.set(e,c),c}function Rd(e){return e[0]!=="$"}function Md(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Dd(e,t){return Md(e)===Md(t)}function Ld(e,t){return Ce(t)?t.findIndex(n=>Dd(n,e)):Re(t)&&Dd(t,e)?0:-1}const tg=e=>e[0]==="_"||e==="$stable",Cc=e=>Ce(e)?e.map(In):[In(e)],Xv=(e,t,n)=>{if(t._n)return t;const o=xe((...i)=>Cc(t(...i)),n);return o._c=!1,o},ng=(e,t,n)=>{const o=e._ctx;for(const i in e){if(tg(i))continue;const r=e[i];if(Re(r))t[i]=Xv(i,r,o);else if(r!=null){const a=Cc(r);t[i]=()=>a}}},og=(e,t)=>{const n=Cc(t);e.slots.default=()=>n},Zv=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Oe(t),_a(t,"_",n)):ng(t,e.slots={})}else e.slots={},t&&og(e,t);_a(e.slots,ts,1)},Yv=(e,t,n)=>{const{vnode:o,slots:i}=e;let r=!0,a=nt;if(o.shapeFlag&32){const s=t._;s?n&&s===1?r=!1:(pt(i,t),!n&&s===1&&delete i._):(r=!t.$stable,ng(t,i)),a=t}else t&&(og(e,t),a={default:1});if(r)for(const s in i)!tg(s)&&a[s]==null&&delete i[s]};function vl(e,t,n,o,i=!1){if(Ce(e)){e.forEach((h,m)=>vl(h,t&&(Ce(t)?t[m]:t),n,o,i));return}if(rr(o)&&!i)return;const r=o.shapeFlag&4?ns(o.component)||o.component.proxy:o.el,a=i?null:r,{i:s,r:l}=e,c=t&&t.r,d=s.refs===nt?s.refs={}:s.refs,u=s.setupState;if(c!=null&&c!==l&&(gt(c)?(d[c]=null,Ne(u,c)&&(u[c]=null)):at(c)&&(c.value=null)),Re(l))co(l,s,12,[a,d]);else{const h=gt(l),m=at(l);if(h||m){const g=()=>{if(e.f){const v=h?Ne(u,l)?u[l]:d[l]:l.value;i?Ce(v)&&oc(v,r):Ce(v)?v.includes(r)||v.push(r):h?(d[l]=[r],Ne(u,l)&&(u[l]=d[l])):(l.value=[r],e.k&&(d[e.k]=l.value))}else h?(d[l]=a,Ne(u,l)&&(u[l]=a)):m&&(l.value=a,e.k&&(d[e.k]=a))};a?(g.id=-1,Zt(g,n)):g()}}}const Zt=Av;function Jv(e){return Qv(e)}function Qv(e,t){const n=cl();n.__VUE__=!0;const{insert:o,remove:i,patchProp:r,createElement:a,createText:s,createComment:l,setText:c,setElementText:d,parentNode:u,nextSibling:h,setScopeId:m=Tn,insertStaticContent:g}=e,v=(P,b,y,_=null,$=null,B=null,Z=!1,ne=null,X=!!b.dynamicChildren)=>{if(P===b)return;P&&!Lo(P,b)&&(_=Ee(P),Le(P,$,B,!0),P=null),b.patchFlag===-2&&(X=!1,b.dynamicChildren=null);const{type:K,ref:ge,shapeFlag:ie}=b;switch(K){case $i:p(P,b,y,_);break;case Gt:f(P,b,y,_);break;case Ns:P==null&&x(b,y,_,Z);break;case He:M(P,b,y,_,$,B,Z,ne,X);break;default:ie&1?w(P,b,y,_,$,B,Z,ne,X):ie&6?q(P,b,y,_,$,B,Z,ne,X):(ie&64||ie&128)&&K.process(P,b,y,_,$,B,Z,ne,X,Te)}ge!=null&&$&&vl(ge,P&&P.ref,B,b||P,!b)},p=(P,b,y,_)=>{if(P==null)o(b.el=s(b.children),y,_);else{const $=b.el=P.el;b.children!==P.children&&c($,b.children)}},f=(P,b,y,_)=>{P==null?o(b.el=l(b.children||""),y,_):b.el=P.el},x=(P,b,y,_)=>{[P.el,P.anchor]=g(P.children,b,y,_,P.el,P.anchor)},A=({el:P,anchor:b},y,_)=>{let $;for(;P&&P!==b;)$=h(P),o(P,y,_),P=$;o(b,y,_)},k=({el:P,anchor:b})=>{let y;for(;P&&P!==b;)y=h(P),i(P),P=y;i(b)},w=(P,b,y,_,$,B,Z,ne,X)=>{Z=Z||b.type==="svg",P==null?I(b,y,_,$,B,Z,ne,X):E(P,b,$,B,Z,ne,X)},I=(P,b,y,_,$,B,Z,ne)=>{let X,K;const{type:ge,props:ie,shapeFlag:D,transition:H,dirs:de}=P;if(X=P.el=a(P.type,B,ie&&ie.is,ie),D&8?d(X,P.children):D&16&&S(P.children,X,null,_,$,B&&ge!=="foreignObject",Z,ne),de&&Po(P,null,_,"created"),C(X,P,P.scopeId,Z,_),ie){for(const Me in ie)Me!=="value"&&!ya(Me)&&r(X,Me,null,ie[Me],B,P.children,_,$,Ae);"value"in ie&&r(X,"value",null,ie.value),(K=ie.onVnodeBeforeMount)&&Sn(K,_,P)}de&&Po(P,null,_,"beforeMount");const be=ey($,H);be&&H.beforeEnter(X),o(X,b,y),((K=ie&&ie.onVnodeMounted)||be||de)&&Zt(()=>{K&&Sn(K,_,P),be&&H.enter(X),de&&Po(P,null,_,"mounted")},$)},C=(P,b,y,_,$)=>{if(y&&m(P,y),_)for(let B=0;B<_.length;B++)m(P,_[B]);if($){let B=$.subTree;if(b===B){const Z=$.vnode;C(P,Z,Z.scopeId,Z.slotScopeIds,$.parent)}}},S=(P,b,y,_,$,B,Z,ne,X=0)=>{for(let K=X;K{const ne=b.el=P.el;let{patchFlag:X,dynamicChildren:K,dirs:ge}=b;X|=P.patchFlag&16;const ie=P.props||nt,D=b.props||nt;let H;y&&Ao(y,!1),(H=D.onVnodeBeforeUpdate)&&Sn(H,y,b,P),ge&&Po(b,P,y,"beforeUpdate"),y&&Ao(y,!0);const de=$&&b.type!=="foreignObject";if(K?R(P.dynamicChildren,K,ne,y,_,de,B):Z||oe(P,b,ne,null,y,_,de,B,!1),X>0){if(X&16)G(ne,b,ie,D,y,_,$);else if(X&2&&ie.class!==D.class&&r(ne,"class",null,D.class,$),X&4&&r(ne,"style",ie.style,D.style,$),X&8){const be=b.dynamicProps;for(let Me=0;Me{H&&Sn(H,y,b,P),ge&&Po(b,P,y,"updated")},_)},R=(P,b,y,_,$,B,Z)=>{for(let ne=0;ne{if(y!==_){if(y!==nt)for(const ne in y)!ya(ne)&&!(ne in _)&&r(P,ne,y[ne],null,Z,b.children,$,B,Ae);for(const ne in _){if(ya(ne))continue;const X=_[ne],K=y[ne];X!==K&&ne!=="value"&&r(P,ne,K,X,Z,b.children,$,B,Ae)}"value"in _&&r(P,"value",y.value,_.value)}},M=(P,b,y,_,$,B,Z,ne,X)=>{const K=b.el=P?P.el:s(""),ge=b.anchor=P?P.anchor:s("");let{patchFlag:ie,dynamicChildren:D,slotScopeIds:H}=b;H&&(ne=ne?ne.concat(H):H),P==null?(o(K,y,_),o(ge,y,_),S(b.children,y,ge,$,B,Z,ne,X)):ie>0&&ie&64&&D&&P.dynamicChildren?(R(P.dynamicChildren,D,y,$,B,Z,ne),(b.key!=null||$&&b===$.subTree)&&Tc(P,b,!0)):oe(P,b,y,ge,$,B,Z,ne,X)},q=(P,b,y,_,$,B,Z,ne,X)=>{b.slotScopeIds=ne,P==null?b.shapeFlag&512?$.ctx.activate(b,y,_,Z,X):ee(b,y,_,$,B,Z,X):O(P,b,X)},ee=(P,b,y,_,$,B,Z)=>{const ne=P.component=uy(P,_,$);if(Ja(P)&&(ne.ctx.renderer=Te),hy(ne),ne.asyncDep){if($&&$.registerDep(ne,V),!P.el){const X=ne.subTree=pe(Gt);f(null,X,b,y)}return}V(ne,P,b,y,$,B,Z)},O=(P,b,y)=>{const _=b.component=P.component;if(wv(P,b,y))if(_.asyncDep&&!_.asyncResolved){W(_,b,y);return}else _.next=b,vv(_.update),_.update();else b.el=P.el,_.vnode=b},V=(P,b,y,_,$,B,Z)=>{const ne=()=>{if(P.isMounted){let{next:ge,bu:ie,u:D,parent:H,vnode:de}=P,be=ge,Me;Ao(P,!1),ge?(ge.el=de.el,W(P,ge,Z)):ge=de,ie&&$s(ie),(Me=ge.props&&ge.props.onVnodeBeforeUpdate)&&Sn(Me,H,ge,de),Ao(P,!0);const Ge=Os(P),it=P.subTree;P.subTree=Ge,v(it,Ge,u(it.el),Ee(it),P,$,B),ge.el=Ge.el,be===null&&Sv(P,Ge.el),D&&Zt(D,$),(Me=ge.props&&ge.props.onVnodeUpdated)&&Zt(()=>Sn(Me,H,ge,de),$)}else{let ge;const{el:ie,props:D}=b,{bm:H,m:de,parent:be}=P,Me=rr(b);if(Ao(P,!1),H&&$s(H),!Me&&(ge=D&&D.onVnodeBeforeMount)&&Sn(ge,be,b),Ao(P,!0),ie&&bt){const Ge=()=>{P.subTree=Os(P),bt(ie,P.subTree,P,$,null)};Me?b.type.__asyncLoader().then(()=>!P.isUnmounted&&Ge()):Ge()}else{const Ge=P.subTree=Os(P);v(null,Ge,y,_,P,$,B),b.el=Ge.el}if(de&&Zt(de,$),!Me&&(ge=D&&D.onVnodeMounted)){const Ge=b;Zt(()=>Sn(ge,be,Ge),$)}(b.shapeFlag&256||be&&rr(be.vnode)&&be.vnode.shapeFlag&256)&&P.a&&Zt(P.a,$),P.isMounted=!0,b=y=_=null}},X=P.effect=new cc(ne,()=>pc(K),P.scope),K=P.update=()=>X.run();K.id=P.uid,Ao(P,!0),K()},W=(P,b,y)=>{b.component=P;const _=P.vnode.props;P.vnode=b,P.next=null,qv(P,b.props,_,y),Yv(P,b.children,y),Di(),wd(),Li()},oe=(P,b,y,_,$,B,Z,ne,X=!1)=>{const K=P&&P.children,ge=P?P.shapeFlag:0,ie=b.children,{patchFlag:D,shapeFlag:H}=b;if(D>0){if(D&128){we(K,ie,y,_,$,B,Z,ne,X);return}else if(D&256){fe(K,ie,y,_,$,B,Z,ne,X);return}}H&8?(ge&16&&Ae(K,$,B),ie!==K&&d(y,ie)):ge&16?H&16?we(K,ie,y,_,$,B,Z,ne,X):Ae(K,$,B,!0):(ge&8&&d(y,""),H&16&&S(ie,y,_,$,B,Z,ne,X))},fe=(P,b,y,_,$,B,Z,ne,X)=>{P=P||pi,b=b||pi;const K=P.length,ge=b.length,ie=Math.min(K,ge);let D;for(D=0;Dge?Ae(P,$,B,!0,!1,ie):S(b,y,_,$,B,Z,ne,X,ie)},we=(P,b,y,_,$,B,Z,ne,X)=>{let K=0;const ge=b.length;let ie=P.length-1,D=ge-1;for(;K<=ie&&K<=D;){const H=P[K],de=b[K]=X?ao(b[K]):In(b[K]);if(Lo(H,de))v(H,de,y,null,$,B,Z,ne,X);else break;K++}for(;K<=ie&&K<=D;){const H=P[ie],de=b[D]=X?ao(b[D]):In(b[D]);if(Lo(H,de))v(H,de,y,null,$,B,Z,ne,X);else break;ie--,D--}if(K>ie){if(K<=D){const H=D+1,de=HD)for(;K<=ie;)Le(P[K],$,B,!0),K++;else{const H=K,de=K,be=new Map;for(K=de;K<=D;K++){const $t=b[K]=X?ao(b[K]):In(b[K]);$t.key!=null&&be.set($t.key,K)}let Me,Ge=0;const it=D-de+1;let Ut=!1,To=0;const wn=new Array(it);for(K=0;K=it){Le($t,$,B,!0);continue}let te;if($t.key!=null)te=be.get($t.key);else for(Me=de;Me<=D;Me++)if(wn[Me-de]===0&&Lo($t,b[Me])){te=Me;break}te===void 0?Le($t,$,B,!0):(wn[te-de]=K+1,te>=To?To=te:Ut=!0,v($t,b[te],y,null,$,B,Z,ne,X),Ge++)}const pn=Ut?ty(wn):pi;for(Me=pn.length-1,K=it-1;K>=0;K--){const $t=de+K,te=b[$t],me=$t+1{const{el:B,type:Z,transition:ne,children:X,shapeFlag:K}=P;if(K&6){De(P.component.subTree,b,y,_);return}if(K&128){P.suspense.move(b,y,_);return}if(K&64){Z.move(P,b,y,Te);return}if(Z===He){o(B,b,y);for(let ie=0;iene.enter(B),$);else{const{leave:ie,delayLeave:D,afterLeave:H}=ne,de=()=>o(B,b,y),be=()=>{ie(B,()=>{de(),H&&H()})};D?D(B,de,be):be()}else o(B,b,y)},Le=(P,b,y,_=!1,$=!1)=>{const{type:B,props:Z,ref:ne,children:X,dynamicChildren:K,shapeFlag:ge,patchFlag:ie,dirs:D}=P;if(ne!=null&&vl(ne,null,y,P,!0),ge&256){b.ctx.deactivate(P);return}const H=ge&1&&D,de=!rr(P);let be;if(de&&(be=Z&&Z.onVnodeBeforeUnmount)&&Sn(be,b,P),ge&6)Je(P.component,y,_);else{if(ge&128){P.suspense.unmount(y,_);return}H&&Po(P,null,b,"beforeUnmount"),ge&64?P.type.remove(P,b,y,$,Te,_):K&&(B!==He||ie>0&&ie&64)?Ae(K,b,y,!1,!0):(B===He&&ie&384||!$&&ge&16)&&Ae(X,b,y),_&&mt(P)}(de&&(be=Z&&Z.onVnodeUnmounted)||H)&&Zt(()=>{be&&Sn(be,b,P),H&&Po(P,null,b,"unmounted")},y)},mt=P=>{const{type:b,el:y,anchor:_,transition:$}=P;if(b===He){ct(y,_);return}if(b===Ns){k(P);return}const B=()=>{i(y),$&&!$.persisted&&$.afterLeave&&$.afterLeave()};if(P.shapeFlag&1&&$&&!$.persisted){const{leave:Z,delayLeave:ne}=$,X=()=>Z(y,B);ne?ne(P.el,B,X):X()}else B()},ct=(P,b)=>{let y;for(;P!==b;)y=h(P),i(P),P=y;i(b)},Je=(P,b,y)=>{const{bum:_,scope:$,update:B,subTree:Z,um:ne}=P;_&&$s(_),$.stop(),B&&(B.active=!1,Le(Z,P,b,y)),ne&&Zt(ne,b),Zt(()=>{P.isUnmounted=!0},b),b&&b.pendingBranch&&!b.isUnmounted&&P.asyncDep&&!P.asyncResolved&&P.suspenseId===b.pendingId&&(b.deps--,b.deps===0&&b.resolve())},Ae=(P,b,y,_=!1,$=!1,B=0)=>{for(let Z=B;ZP.shapeFlag&6?Ee(P.component.subTree):P.shapeFlag&128?P.suspense.next():h(P.anchor||P.el),Pt=(P,b,y)=>{P==null?b._vnode&&Le(b._vnode,null,null,!0):v(b._vnode||null,P,b,null,null,null,y),wd(),Bf(),b._vnode=P},Te={p:v,um:Le,m:De,r:mt,mt:ee,mc:S,pc:oe,pbc:R,n:Ee,o:e};let dt,bt;return t&&([dt,bt]=t(Te)),{render:Pt,hydrate:dt,createApp:Vv(Pt,dt)}}function Ao({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function ey(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Tc(e,t,n=!1){const o=e.children,i=t.children;if(Ce(o)&&Ce(i))for(let r=0;r>1,e[n[s]]0&&(t[o]=n[r-1]),n[r]=o)}}for(r=n.length,a=n[r-1];r-- >0;)n[r]=a,a=t[a];return n}const ny=e=>e.__isTeleport,sr=e=>e&&(e.disabled||e.disabled===""),$d=e=>typeof SVGElement<"u"&&e instanceof SVGElement,yl=(e,t)=>{const n=e&&e.to;return gt(n)?t?t(n):null:n},oy={name:"Teleport",__isTeleport:!0,process(e,t,n,o,i,r,a,s,l,c){const{mc:d,pc:u,pbc:h,o:{insert:m,querySelector:g,createText:v,createComment:p}}=c,f=sr(t.props);let{shapeFlag:x,children:A,dynamicChildren:k}=t;if(e==null){const w=t.el=v(""),I=t.anchor=v("");m(w,n,o),m(I,n,o);const C=t.target=yl(t.props,g),S=t.targetAnchor=v("");C&&(m(S,C),a=a||$d(C));const E=(R,G)=>{x&16&&d(A,R,G,i,r,a,s,l)};f?E(n,I):C&&E(C,S)}else{t.el=e.el;const w=t.anchor=e.anchor,I=t.target=e.target,C=t.targetAnchor=e.targetAnchor,S=sr(e.props),E=S?n:I,R=S?w:C;if(a=a||$d(I),k?(h(e.dynamicChildren,k,E,i,r,a,s),Tc(e,t,!0)):l||u(e,t,E,R,i,r,a,s,!1),f)S?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):ta(t,n,w,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const G=t.target=yl(t.props,g);G&&ta(t,G,null,c,0)}else S&&ta(t,I,C,c,1)}ig(t)},remove(e,t,n,o,{um:i,o:{remove:r}},a){const{shapeFlag:s,children:l,anchor:c,targetAnchor:d,target:u,props:h}=e;if(u&&r(d),a&&r(c),s&16){const m=a||!sr(h);for(let g=0;g0?kn||pi:null,ry(),kr>0&&kn&&kn.push(e),e}function hn(e,t,n,o,i,r){return rg(zt(e,t,n,o,i,r,!0))}function At(e,t,n,o,i){return rg(pe(e,t,n,o,i,!0))}function Cr(e){return e?e.__v_isVNode===!0:!1}function Lo(e,t){return e.type===t.type&&e.key===t.key}const ts="__vInternal",ag=({key:e})=>e??null,ka=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?gt(e)||at(e)||Re(e)?{i:Mt,r:e,k:t,f:!!n}:e:null);function zt(e,t=null,n=null,o=0,i=null,r=e===He?0:1,a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ag(t),ref:t&&ka(t),scopeId:Ff,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:o,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Mt};return s?(wc(l,n),r&128&&e.normalize(l)):n&&(l.shapeFlag|=gt(n)?8:16),kr>0&&!a&&kn&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&kn.push(l),l}const pe=ay;function ay(e,t=null,n=null,o=0,i=null,r=!1){if((!e||e===_v)&&(e=Gt),Cr(e)){const s=fn(e,t,!0);return n&&wc(s,n),kr>0&&!r&&kn&&(s.shapeFlag&6?kn[kn.indexOf(e)]=s:kn.push(s)),s.patchFlag|=-2,s}if(py(e)&&(e=e.__vccOpts),t){t=sy(t);let{class:s,style:l}=t;s&&!gt(s)&&(t.class=rc(s)),Ye(l)&&(Ef(l)&&!Ce(l)&&(l=pt({},l)),t.style=qa(l))}const a=gt(e)?1:Pv(e)?128:ny(e)?64:Ye(e)?4:Re(e)?2:0;return zt(e,t,n,o,i,a,r,!0)}function sy(e){return e?Ef(e)||ts in e?pt({},e):e:null}function fn(e,t,n=!1){const{props:o,ref:i,patchFlag:r,children:a}=e,s=t?Ln(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&ag(s),ref:t&&t.ref?n&&i?Ce(i)?i.concat(ka(t)):[i,ka(t)]:ka(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==He?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&&fn(e.ssContent),ssFallback:e.ssFallback&&fn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Ct(e=" ",t=0){return pe($i,null,e,t)}function ly(e="",t=!1){return t?(Ve(),At(Gt,null,e)):pe(Gt,null,e)}function In(e){return e==null||typeof e=="boolean"?pe(Gt):Ce(e)?pe(He,null,e.slice()):typeof e=="object"?ao(e):pe($i,null,String(e))}function ao(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:fn(e)}function wc(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(Ce(t))n=16;else if(typeof t=="object")if(o&65){const i=t.default;i&&(i._c&&(i._d=!1),wc(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!(ts in t)?t._ctx=Mt:i===3&&Mt&&(Mt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Re(t)?(t={default:t,_ctx:Mt},n=32):(t=String(t),o&64?(n=16,t=[Ct(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ln(...e){const t={};for(let n=0;nTt||Mt;let Sc,ri,Hd="__VUE_INSTANCE_SETTERS__";(ri=cl()[Hd])||(ri=cl()[Hd]=[]),ri.push(e=>Tt=e),Sc=e=>{ri.length>1?ri.forEach(t=>t(e)):ri[0](e)};const wi=e=>{Sc(e),e.scope.on()},Wo=()=>{Tt&&Tt.scope.off(),Sc(null)};function sg(e){return e.vnode.shapeFlag&4}let Tr=!1;function hy(e,t=!1){Tr=t;const{props:n,children:o}=e.vnode,i=sg(e);Uv(e,n,i,t),Zv(e,o);const r=i?fy(e,t):void 0;return Tr=!1,r}function fy(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Ti(new Proxy(e.ctx,Bv));const{setup:o}=n;if(o){const i=e.setupContext=o.length>1?my(e):null;wi(e),Di();const r=co(o,e,0,[e.props,i]);if(Li(),Wo(),hf(r)){if(r.then(Wo,Wo),t)return r.then(a=>{Bd(e,a,t)}).catch(a=>{Za(a,e,0)});e.asyncDep=r}else Bd(e,r,t)}else lg(e,t)}function Bd(e,t,n){Re(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ye(t)&&(e.setupState=Lf(t)),lg(e,n)}let Nd;function lg(e,t,n){const o=e.type;if(!e.render){if(!t&&Nd&&!o.render){const i=o.template||kc(e).template;if(i){const{isCustomElement:r,compilerOptions:a}=e.appContext.config,{delimiters:s,compilerOptions:l}=o,c=pt(pt({isCustomElement:r,delimiters:s},a),l);o.render=Nd(i,c)}}e.render=o.render||Tn}{wi(e),Di();try{Nv(e)}finally{Li(),Wo()}}}function gy(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Yt(e,"get","$attrs"),t[n]}}))}function my(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return gy(e)},slots:e.slots,emit:e.emit,expose:t}}function ns(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Lf(Ti(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ar)return ar[n](e)},has(t,n){return n in t||n in ar}}))}function py(e){return Re(e)&&"__vccOpts"in e}const z=(e,t)=>mv(e,t,Tr);function T(e,t,n){const o=arguments.length;return o===2?Ye(t)&&!Ce(t)?Cr(t)?pe(e,null,[t]):pe(e,t):pe(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&Cr(n)&&(n=[n]),pe(e,t,n))}const by=Symbol.for("v-scx"),vy=()=>Ie(by),yy="3.3.10",xy="http://www.w3.org/2000/svg",$o=typeof document<"u"?document:null,zd=$o&&$o.createElement("template"),ky={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const i=t?$o.createElementNS(xy,e):$o.createElement(e,n?{is:n}:void 0);return e==="select"&&o&&o.multiple!=null&&i.setAttribute("multiple",o.multiple),i},createText:e=>$o.createTextNode(e),createComment:e=>$o.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>$o.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,i,r){const a=n?n.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===r||!(i=i.nextSibling)););else{zd.innerHTML=o?`${e}`:e;const s=zd.content;if(o){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Jn="transition",Ki="animation",Si=Symbol("_vtc"),gn=(e,{slots:t})=>T(Rv,dg(e),t);gn.displayName="Transition";const cg={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},Cy=gn.props=pt({},Gf,cg),Io=(e,t=[])=>{Ce(e)?e.forEach(n=>n(...t)):e&&e(...t)},Fd=e=>e?Ce(e)?e.some(t=>t.length>1):e.length>1:!1;function dg(e){const t={};for(const M in e)M in cg||(t[M]=e[M]);if(e.css===!1)return t;const{name:n="v",type:o,duration:i,enterFromClass:r=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=r,appearActiveClass:c=a,appearToClass:d=s,leaveFromClass:u=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,g=Ty(i),v=g&&g[0],p=g&&g[1],{onBeforeEnter:f,onEnter:x,onEnterCancelled:A,onLeave:k,onLeaveCancelled:w,onBeforeAppear:I=f,onAppear:C=x,onAppearCancelled:S=A}=t,E=(M,q,ee)=>{oo(M,q?d:s),oo(M,q?c:a),ee&&ee()},R=(M,q)=>{M._isLeaving=!1,oo(M,u),oo(M,m),oo(M,h),q&&q()},G=M=>(q,ee)=>{const O=M?C:x,V=()=>E(q,M,ee);Io(O,[q,V]),Wd(()=>{oo(q,M?l:r),zn(q,M?d:s),Fd(O)||jd(q,o,v,V)})};return pt(t,{onBeforeEnter(M){Io(f,[M]),zn(M,r),zn(M,a)},onBeforeAppear(M){Io(I,[M]),zn(M,l),zn(M,c)},onEnter:G(!1),onAppear:G(!0),onLeave(M,q){M._isLeaving=!0;const ee=()=>R(M,q);zn(M,u),hg(),zn(M,h),Wd(()=>{M._isLeaving&&(oo(M,u),zn(M,m),Fd(k)||jd(M,o,p,ee))}),Io(k,[M,ee])},onEnterCancelled(M){E(M,!1),Io(A,[M])},onAppearCancelled(M){E(M,!0),Io(S,[M])},onLeaveCancelled(M){R(M),Io(w,[M])}})}function Ty(e){if(e==null)return null;if(Ye(e))return[zs(e.enter),zs(e.leave)];{const t=zs(e);return[t,t]}}function zs(e){return D1(e)}function zn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Si]||(e[Si]=new Set)).add(t)}function oo(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[Si];n&&(n.delete(t),n.size||(e[Si]=void 0))}function Wd(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let wy=0;function jd(e,t,n,o){const i=e._endId=++wy,r=()=>{i===e._endId&&o()};if(n)return setTimeout(r,n);const{type:a,timeout:s,propCount:l}=ug(e,t);if(!a)return o();const c=a+"end";let d=0;const u=()=>{e.removeEventListener(c,h),r()},h=m=>{m.target===e&&++d>=l&&u()};setTimeout(()=>{d(n[g]||"").split(", "),i=o(`${Jn}Delay`),r=o(`${Jn}Duration`),a=Gd(i,r),s=o(`${Ki}Delay`),l=o(`${Ki}Duration`),c=Gd(s,l);let d=null,u=0,h=0;t===Jn?a>0&&(d=Jn,u=a,h=r.length):t===Ki?c>0&&(d=Ki,u=c,h=l.length):(u=Math.max(a,c),d=u>0?a>c?Jn:Ki:null,h=d?d===Jn?r.length:l.length:0);const m=d===Jn&&/\b(transform|all)(,|$)/.test(o(`${Jn}Property`).toString());return{type:d,timeout:u,propCount:h,hasTransform:m}}function Gd(e,t){for(;e.lengthVd(n)+Vd(e[o])))}function Vd(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function hg(){return document.body.offsetHeight}function Sy(e,t,n){const o=e[Si];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const _c=Symbol("_vod"),_i={beforeMount(e,{value:t},{transition:n}){e[_c]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Ui(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Ui(e,!0),o.enter(e)):o.leave(e,()=>{Ui(e,!1)}):Ui(e,t))},beforeUnmount(e,{value:t}){Ui(e,t)}};function Ui(e,t){e.style.display=t?e[_c]:"none"}function _y(e,t,n){const o=e.style,i=gt(n);if(n&&!i){if(t&&!gt(t))for(const r in t)n[r]==null&&xl(o,r,"");for(const r in n)xl(o,r,n[r])}else{const r=o.display;i?t!==n&&(o.cssText=n):t&&e.removeAttribute("style"),_c in e&&(o.display=r)}}const Kd=/\s*!important$/;function xl(e,t,n){if(Ce(n))n.forEach(o=>xl(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=Py(e,t);Kd.test(n)?e.setProperty(Mi(o),n.replace(Kd,""),"important"):e[o]=n}}const Ud=["Webkit","Moz","ms"],Fs={};function Py(e,t){const n=Fs[t];if(n)return n;let o=ki(t);if(o!=="filter"&&o in e)return Fs[t]=o;o=mf(o);for(let i=0;iWs||(Ly.then(()=>Ws=0),Ws=Date.now());function Oy(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;un(Hy(o,n.value),t,5,[o])};return n.value=e,n.attached=$y(),n}function Hy(e,t){if(Ce(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>i=>!i._stopped&&o&&o(i))}else return t}const Yd=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,By=(e,t,n,o,i=!1,r,a,s,l)=>{t==="class"?Sy(e,o,i):t==="style"?_y(e,n,o):Ga(t)?nc(t)||My(e,t,n,o,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ny(e,t,o,i))?Iy(e,t,o,r,a,s,l):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),Ay(e,t,o,i))};function Ny(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&Yd(t)&&Re(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;return!(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")}return Yd(t)&>(n)?!1:t in e}const fg=new WeakMap,gg=new WeakMap,Ra=Symbol("_moveCb"),Jd=Symbol("_enterCb"),mg={name:"TransitionGroup",props:pt({},Cy,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=rn(),o=jf();let i,r;return qf(()=>{if(!i.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!Vy(i[0].el,n.vnode.el,a))return;i.forEach(Wy),i.forEach(jy);const s=i.filter(Gy);hg(),s.forEach(l=>{const c=l.el,d=c.style;zn(c,a),d.transform=d.webkitTransform=d.transitionDuration="";const u=c[Ra]=h=>{h&&h.target!==c||(!h||/transform$/.test(h.propertyName))&&(c.removeEventListener("transitionend",u),c[Ra]=null,oo(c,a))};c.addEventListener("transitionend",u)})}),()=>{const a=Oe(e),s=dg(a);let l=a.tag||He;i=r,r=t.default?vc(t.default()):[];for(let c=0;cdelete e.mode;mg.props;const Fy=mg;function Wy(e){const t=e.el;t[Ra]&&t[Ra](),t[Jd]&&t[Jd]()}function jy(e){gg.set(e,e.el.getBoundingClientRect())}function Gy(e){const t=fg.get(e),n=gg.get(e),o=t.left-n.left,i=t.top-n.top;if(o||i){const r=e.el.style;return r.transform=r.webkitTransform=`translate(${o}px,${i}px)`,r.transitionDuration="0s",e}}function Vy(e,t,n){const o=e.cloneNode(),i=e[Si];i&&i.forEach(s=>{s.split(/\s+/).forEach(l=>l&&o.classList.remove(l))}),n.split(/\s+/).forEach(s=>s&&o.classList.add(s)),o.style.display="none";const r=t.nodeType===1?t:t.parentNode;r.appendChild(o);const{hasTransform:a}=ug(o);return r.removeChild(o),a}const Ky=pt({patchProp:By},ky);let Qd;function Uy(){return Qd||(Qd=Jv(Ky))}const qy=(...e)=>{const t=Uy().createApp(...e),{mount:n}=t;return t.mount=o=>{const i=Xy(o);if(!i)return;const r=t._component;!Re(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.innerHTML="";const a=n(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),a},t};function Xy(e){return gt(e)?document.querySelector(e):e}let Ma=[];const pg=new WeakMap;function Zy(){Ma.forEach(e=>e(...pg.get(e))),Ma=[]}function bg(e,...t){pg.set(e,t),!Ma.includes(e)&&Ma.push(e)===1&&requestAnimationFrame(Zy)}function eu(e,t){let n=e.currentTarget||e.target;for(;n;){if(n.dataset&&n.dataset[t]!==void 0)return!0;n=n.parentElement}return!1}function wr(e){return e.composedPath()[0]||null}function Yy(e){if(typeof e=="number")return{"":e.toString()};const t={};return e.split(/ +/).forEach(n=>{if(n==="")return;const[o,i]=n.split(":");i===void 0?t[""]=o:t[o]=i}),t}function ai(e,t){var n;if(e==null)return;const o=Yy(e);if(t===void 0)return o[""];if(typeof t=="string")return(n=o[t])!==null&&n!==void 0?n:o[""];if(Array.isArray(t)){for(let i=t.length-1;i>=0;--i){const r=t[i];if(r in o)return o[r]}return o[""]}else{let i,r=-1;return Object.keys(o).forEach(a=>{const s=Number(a);!Number.isNaN(s)&&t>=s&&s>=r&&(r=s,i=o[a])}),i}}function tu(e){return typeof e=="string"?e.endsWith("px")?Number(e.slice(0,e.length-2)):Number(e):e}function gi(e){if(e!=null)return typeof e=="number"?`${e}px`:e.endsWith("px")?e:`${e}px`}function Pc(e,t){const n=e.trim().split(/\s+/g),o={top:n[0]};switch(n.length){case 1:o.right=n[0],o.bottom=n[0],o.left=n[0];break;case 2:o.right=n[1],o.left=n[1],o.bottom=n[0];break;case 3:o.right=n[1],o.bottom=n[2],o.left=n[1];break;case 4:o.right=n[1],o.bottom=n[2],o.left=n[3];break;default:throw new Error("[seemly/getMargin]:"+e+" is not a valid value.")}return t===void 0?o:o[t]}function Jy(e,t){const[n,o]=e.split(" ");return t?t==="row"?n:o:{row:n,col:o||n}}const nu={black:"#000",silver:"#C0C0C0",gray:"#808080",white:"#FFF",maroon:"#800000",red:"#F00",purple:"#800080",fuchsia:"#F0F",green:"#008000",lime:"#0F0",olive:"#808000",yellow:"#FF0",navy:"#000080",blue:"#00F",teal:"#008080",aqua:"#0FF",transparent:"#0000"},Oi="^\\s*",Hi="\\s*$",Ho="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*",Bo="([0-9A-Fa-f])",No="([0-9A-Fa-f]{2})",Qy=new RegExp(`${Oi}rgb\\s*\\(${Ho},${Ho},${Ho}\\)${Hi}`),e2=new RegExp(`${Oi}rgba\\s*\\(${Ho},${Ho},${Ho},${Ho}\\)${Hi}`),t2=new RegExp(`${Oi}#${Bo}${Bo}${Bo}${Hi}`),n2=new RegExp(`${Oi}#${No}${No}${No}${Hi}`),o2=new RegExp(`${Oi}#${Bo}${Bo}${Bo}${Bo}${Hi}`),i2=new RegExp(`${Oi}#${No}${No}${No}${No}${Hi}`);function qt(e){return parseInt(e,16)}function Gn(e){try{let t;if(t=n2.exec(e))return[qt(t[1]),qt(t[2]),qt(t[3]),1];if(t=Qy.exec(e))return[Bt(t[1]),Bt(t[5]),Bt(t[9]),1];if(t=e2.exec(e))return[Bt(t[1]),Bt(t[5]),Bt(t[9]),cr(t[13])];if(t=t2.exec(e))return[qt(t[1]+t[1]),qt(t[2]+t[2]),qt(t[3]+t[3]),1];if(t=i2.exec(e))return[qt(t[1]),qt(t[2]),qt(t[3]),cr(qt(t[4])/255)];if(t=o2.exec(e))return[qt(t[1]+t[1]),qt(t[2]+t[2]),qt(t[3]+t[3]),cr(qt(t[4]+t[4])/255)];if(e in nu)return Gn(nu[e]);throw new Error(`[seemly/rgba]: Invalid color value ${e}.`)}catch(t){throw t}}function r2(e){return e>1?1:e<0?0:e}function kl(e,t,n,o){return`rgba(${Bt(e)}, ${Bt(t)}, ${Bt(n)}, ${r2(o)})`}function js(e,t,n,o,i){return Bt((e*t*(1-o)+n*o)/i)}function he(e,t){Array.isArray(e)||(e=Gn(e)),Array.isArray(t)||(t=Gn(t));const n=e[3],o=t[3],i=cr(n+o-n*o);return kl(js(e[0],n,t[0],o,i),js(e[1],n,t[1],o,i),js(e[2],n,t[2],o,i),i)}function U(e,t){const[n,o,i,r=1]=Array.isArray(e)?e:Gn(e);return t.alpha?kl(n,o,i,t.alpha):kl(n,o,i,r)}function ft(e,t){const[n,o,i,r=1]=Array.isArray(e)?e:Gn(e),{lightness:a=1,alpha:s=1}=t;return a2([n*a,o*a,i*a,r*s])}function cr(e){const t=Math.round(Number(e)*100)/100;return t>1?1:t<0?0:t}function Bt(e){const t=Math.round(Number(e));return t>255?255:t<0?0:t}function a2(e){const[t,n,o]=e;return 3 in e?`rgba(${Bt(t)}, ${Bt(n)}, ${Bt(o)}, ${cr(e[3])})`:`rgba(${Bt(t)}, ${Bt(n)}, ${Bt(o)}, 1)`}function os(e=8){return Math.random().toString(16).slice(2,2+e)}function vg(e,t="default",n=[]){const i=e.$slots[t];return i===void 0?n:i()}function qo(e,t=[],n){const o={};return t.forEach(i=>{o[i]=e[i]}),Object.assign(o,n)}function Ac(e,t=[],n){const o={};return Object.getOwnPropertyNames(e).forEach(r=>{t.includes(r)||(o[r]=e[r])}),Object.assign(o,n)}function Sr(e,t=!0,n=[]){return e.forEach(o=>{if(o!==null){if(typeof o!="object"){(typeof o=="string"||typeof o=="number")&&n.push(Ct(String(o)));return}if(Array.isArray(o)){Sr(o,t,n);return}if(o.type===He){if(o.children===null)return;Array.isArray(o.children)&&Sr(o.children,t,n)}else o.type!==Gt&&n.push(o)}}),n}function Fe(e,...t){if(Array.isArray(e))e.forEach(n=>Fe(n,...t));else return e(...t)}function is(e){return Object.keys(e)}const It=(e,...t)=>typeof e=="function"?e(...t):typeof e=="string"?Ct(e):typeof e=="number"?Ct(String(e)):null;function Pi(e,t){console.error(`[naive/${e}]: ${t}`)}function yg(e,t){throw new Error(`[naive/${e}]: ${t}`)}function Cl(e,t="default",n=void 0){const o=e[t];if(!o)return Pi("getFirstSlotVNode",`slot[${t}] is empty`),null;const i=Sr(o(n));return i.length===1?i[0]:(Pi("getFirstSlotVNode",`slot[${t}] should have exactly one child`),null)}function s2(e){return t=>{t?e.value=t.$el:e.value=null}}function Hr(e){return e.some(t=>Cr(t)?!(t.type===Gt||t.type===He&&!Hr(t.children)):!0)?e:null}function jo(e,t){return e&&Hr(e())||t()}function l2(e,t,n){return e&&Hr(e(t))||n(t)}function Et(e,t){const n=e&&Hr(e());return t(n||null)}function Tl(e){return!(e&&Hr(e()))}function c2(e){var t;const n=(t=e.dirs)===null||t===void 0?void 0:t.find(({dir:o})=>o===_i);return!!(n&&n.value===!1)}const ou=se({render(){var e,t;return(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)}}),d2=/^(\d|\.)+$/,iu=/(\d|\.)+/;function Ca(e,{c:t=1,offset:n=0,attachPx:o=!0}={}){if(typeof e=="number"){const i=(e+n)*t;return i===0?"0":`${i}px`}else if(typeof e=="string")if(d2.test(e)){const i=(Number(e)+n)*t;return o?i===0?"0":`${i}px`:`${i}`}else{const i=iu.exec(e);return i?e.replace(iu,String((Number(i[0])+n)*t)):e}return e}function ru(e){return e.replace(/#|\(|\)|,|\s/g,"_")}function u2(e){let t=0;for(let n=0;n{let i=u2(o);if(i){if(i===1){e.forEach(a=>{n.push(o.replace("&",a))});return}}else{e.forEach(a=>{n.push((a&&a+" ")+o)});return}let r=[o];for(;i--;){const a=[];r.forEach(s=>{e.forEach(l=>{a.push(s.replace("&",l))})}),r=a}r.forEach(a=>n.push(a))}),n}function g2(e,t){const n=[];return t.split(xg).forEach(o=>{e.forEach(i=>{n.push((i&&i+" ")+o)})}),n}function m2(e){let t=[""];return e.forEach(n=>{n=n&&n.trim(),n&&(n.includes("&")?t=f2(t,n):t=g2(t,n))}),t.join(", ").replace(h2," ")}function au(e){if(!e)return;const t=e.parentElement;t&&t.removeChild(e)}function rs(e){return document.querySelector(`style[cssr-id="${e}"]`)}function p2(e){const t=document.createElement("style");return t.setAttribute("cssr-id",e),t}function na(e){return e?/^\s*@(s|m)/.test(e):!1}const b2=/[A-Z]/g;function kg(e){return e.replace(b2,t=>"-"+t.toLowerCase())}function v2(e,t=" "){return typeof e=="object"&&e!==null?` { `+Object.entries(e).map(n=>t+` ${kg(n[0])}: ${n[1]};`).join(` `)+` -`+t+"}":`: ${e};`}function x2(e,t,n){return typeof e=="function"?e({context:t.context,props:n}):e}function su(e,t,n,o){if(!t)return"";const i=x2(t,n,o);if(!i)return"";if(typeof i=="string")return`${e} { +`+t+"}":`: ${e};`}function y2(e,t,n){return typeof e=="function"?e({context:t.context,props:n}):e}function su(e,t,n,o){if(!t)return"";const i=y2(t,n,o);if(!i)return"";if(typeof i=="string")return`${e} { ${i} }`;const r=Object.keys(i);if(r.length===0)return n.config.keepEmptyBlock?e+` { }`:"";const a=e?[e+" {"]:[];return r.forEach(s=>{const l=i[s];if(s==="raw"){a.push(` `+l+` -`);return}s=kg(s),l!=null&&a.push(` ${s}${y2(l)}`)}),e&&a.push("}"),a.join(` -`)}function wl(e,t,n){e&&e.forEach(o=>{if(Array.isArray(o))wl(o,t,n);else if(typeof o=="function"){const i=o(t);Array.isArray(i)?wl(i,t,n):i&&n(i)}else o&&n(o)})}function Cg(e,t,n,o,i,r){const a=e.$;let s="";if(!a||typeof a=="string")na(a)?s=a:t.push(a);else if(typeof a=="function"){const d=a({context:o.context,props:i});na(d)?s=d:t.push(d)}else if(a.before&&a.before(o.context),!a.$||typeof a.$=="string")na(a.$)?s=a.$:t.push(a.$);else if(a.$){const d=a.$({context:o.context,props:i});na(d)?s=d:t.push(d)}const l=p2(t),c=su(l,e.props,o,i);s?(n.push(`${s} {`),r&&c&&r.insertRule(`${s} { +`);return}s=kg(s),l!=null&&a.push(` ${s}${v2(l)}`)}),e&&a.push("}"),a.join(` +`)}function wl(e,t,n){e&&e.forEach(o=>{if(Array.isArray(o))wl(o,t,n);else if(typeof o=="function"){const i=o(t);Array.isArray(i)?wl(i,t,n):i&&n(i)}else o&&n(o)})}function Cg(e,t,n,o,i,r){const a=e.$;let s="";if(!a||typeof a=="string")na(a)?s=a:t.push(a);else if(typeof a=="function"){const d=a({context:o.context,props:i});na(d)?s=d:t.push(d)}else if(a.before&&a.before(o.context),!a.$||typeof a.$=="string")na(a.$)?s=a.$:t.push(a.$);else if(a.$){const d=a.$({context:o.context,props:i});na(d)?s=d:t.push(d)}const l=m2(t),c=su(l,e.props,o,i);s?(n.push(`${s} {`),r&&c&&r.insertRule(`${s} { ${c} } `)):(r&&c&&r.insertRule(c),!r&&c.length&&n.push(c)),e.children&&wl(e.children,{context:o.context,props:i},d=>{if(typeof d=="string"){const u=su(l,{raw:d},o,i);r?r.insertRule(u):n.push(u)}else Cg(d,t,n,o,i,r)}),t.pop(),s&&n.push("}"),a&&a.after&&a.after(o.context)}function Tg(e,t,n,o=!1){const i=[];return Cg(e,[],i,t,n,o?e.instance.__styleSheet:void 0),o?"":i.join(` -`)}function _r(e){for(var t=0,n,o=0,i=e.length;i>=4;++o,i-=4)n=e.charCodeAt(o)&255|(e.charCodeAt(++o)&255)<<8|(e.charCodeAt(++o)&255)<<16|(e.charCodeAt(++o)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(o+2)&255)<<16;case 2:t^=(e.charCodeAt(o+1)&255)<<8;case 1:t^=e.charCodeAt(o)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}typeof window<"u"&&(window.__cssrContext={});function k2(e,t,n){const{els:o}=t;if(n===void 0)o.forEach(au),t.els=[];else{const i=rs(n);i&&o.includes(i)&&(au(i),t.els=o.filter(r=>r!==i))}}function lu(e,t){e.push(t)}function C2(e,t,n,o,i,r,a,s,l){if(r&&!l){if(n===void 0){console.error("[css-render/mount]: `id` is required in `silent` mode.");return}const h=window.__cssrContext;h[n]||(h[n]=!0,Tg(t,e,o,r));return}let c;if(n===void 0&&(c=t.render(o),n=_r(c)),l){l.adapter(n,c??t.render(o));return}const d=rs(n);if(d!==null&&!a)return d;const u=d??b2(n);if(c===void 0&&(c=t.render(o)),u.textContent=c,d!==null)return d;if(s){const h=document.head.querySelector(`meta[name="${s}"]`);if(h)return document.head.insertBefore(u,h),lu(t.els,u),u}return i?document.head.insertBefore(u,document.head.querySelector("style, link")):document.head.appendChild(u),lu(t.els,u),u}function T2(e){return Tg(this,this.instance,e)}function w2(e={}){const{id:t,ssr:n,props:o,head:i=!1,silent:r=!1,force:a=!1,anchorMetaName:s}=e;return C2(this.instance,this,t,o,i,r,a,s,n)}function S2(e={}){const{id:t}=e;k2(this.instance,this,t)}const oa=function(e,t,n,o){return{instance:e,$:t,props:n,children:o,els:[],render:T2,mount:w2,unmount:S2}},_2=function(e,t,n,o){return Array.isArray(t)?oa(e,{$:null},null,t):Array.isArray(n)?oa(e,t,null,n):Array.isArray(o)?oa(e,t,n,o):oa(e,t,n,null)};function wg(e={}){let t=null;const n={c:(...o)=>_2(n,...o),use:(o,...i)=>o.install(n,...i),find:rs,context:{},config:e,get __styleSheet(){if(!t){const o=document.createElement("style");return document.head.appendChild(o),t=document.styleSheets[document.styleSheets.length-1],t}return t}};return n}function P2(e,t){if(e===void 0)return!1;if(t){const{context:{ids:n}}=t;return n.has(e)}return rs(e)!==null}function A2(e){let t=".",n="__",o="--",i;if(e){let g=e.blockPrefix;g&&(t=g),g=e.elementPrefix,g&&(n=g),g=e.modifierPrefix,g&&(o=g)}const r={install(g){i=g.c;const v=g.context;v.bem={},v.bem.b=null,v.bem.els=null}};function a(g){let v,p;return{before(f){v=f.bem.b,p=f.bem.els,f.bem.els=null},after(f){f.bem.b=v,f.bem.els=p},$({context:f,props:x}){return g=typeof g=="string"?g:g({context:f,props:x}),f.bem.b=g,`${(x==null?void 0:x.bPrefix)||t}${f.bem.b}`}}}function s(g){let v;return{before(p){v=p.bem.els},after(p){p.bem.els=v},$({context:p,props:f}){return g=typeof g=="string"?g:g({context:p,props:f}),p.bem.els=g.split(",").map(x=>x.trim()),p.bem.els.map(x=>`${(f==null?void 0:f.bPrefix)||t}${p.bem.b}${n}${x}`).join(", ")}}}function l(g){return{$({context:v,props:p}){g=typeof g=="string"?g:g({context:v,props:p});const f=g.split(",").map(k=>k.trim());function x(k){return f.map(w=>`&${(p==null?void 0:p.bPrefix)||t}${v.bem.b}${k!==void 0?`${n}${k}`:""}${o}${w}`).join(", ")}const A=v.bem.els;return A!==null?x(A[0]):x()}}}function c(g){return{$({context:v,props:p}){g=typeof g=="string"?g:g({context:v,props:p});const f=v.bem.els;return`&:not(${(p==null?void 0:p.bPrefix)||t}${v.bem.b}${f!==null&&f.length>0?`${n}${f[0]}`:""}${o}${g})`}}}return Object.assign(r,{cB:(...g)=>i(a(g[0]),g[1],g[2]),cE:(...g)=>i(s(g[0]),g[1],g[2]),cM:(...g)=>i(l(g[0]),g[1],g[2]),cNotM:(...g)=>i(c(g[0]),g[1],g[2])}),r}function ue(e,t){return e+(t==="default"?"":t.replace(/^[a-z]/,n=>n.toUpperCase()))}ue("abc","def");const I2="n",Pr=`.${I2}-`,E2="__",R2="--",Sg=wg(),_g=A2({blockPrefix:Pr,elementPrefix:E2,modifierPrefix:R2});Sg.use(_g);const{c:N,find:KM}=Sg,{cB:Q,cE:F,cM:Y,cNotM:Rt}=_g;function Pg(e){return N(({props:{bPrefix:t}})=>`${t||Pr}modal, ${t||Pr}drawer`,[e])}function M2(e){return N(({props:{bPrefix:t}})=>`${t||Pr}popover`,[e])}function Ag(e){return N(({props:{bPrefix:t}})=>`&${t||Pr}modal`,e)}const D2=(...e)=>N(">",[Q(...e)]);let Gs;function L2(){return Gs===void 0&&(Gs=navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),Gs}const Zo=typeof document<"u"&&typeof window<"u",$2=new WeakSet;function O2(e){return!$2.has(e)}function H2(e,t,n){if(!t)return e;const o=j(e.value);let i=null;return Ze(e,r=>{i!==null&&window.clearTimeout(i),r===!0?n&&!n.value?o.value=!0:i=window.setTimeout(()=>{o.value=!0},t):o.value=!1}),o}function B2(e){const t=j(!!e.value);if(t.value)return on(t);const n=Ze(e,o=>{o&&(t.value=!0,n())});return on(t)}function wt(e){const t=z(e),n=j(t.value);return Ze(t,o=>{n.value=o}),typeof e=="function"?n:{__v_isRef:!0,get value(){return n.value},set value(o){e.set(o)}}}function as(){return rn()!==null}const ss=typeof window<"u";let yi,dr;const N2=()=>{var e,t;yi=ss?(t=(e=document)===null||e===void 0?void 0:e.fonts)===null||t===void 0?void 0:t.ready:void 0,dr=!1,yi!==void 0?yi.then(()=>{dr=!0}):dr=!0};N2();function z2(e){if(dr)return;let t=!1;Lt(()=>{dr||yi==null||yi.then(()=>{t||e()})}),kt(()=>{t=!0})}function Ta(e){return e.composedPath()[0]}const F2={mousemoveoutside:new WeakMap,clickoutside:new WeakMap};function W2(e,t,n){if(e==="mousemoveoutside"){const o=i=>{t.contains(Ta(i))||n(i)};return{mousemove:o,touchstart:o}}else if(e==="clickoutside"){let o=!1;const i=a=>{o=!t.contains(Ta(a))},r=a=>{o&&(t.contains(Ta(a))||n(a))};return{mousedown:i,mouseup:r,touchstart:i,touchend:r}}return console.error(`[evtd/create-trap-handler]: name \`${e}\` is invalid. This could be a bug of evtd.`),{}}function Ig(e,t,n){const o=F2[e];let i=o.get(t);i===void 0&&o.set(t,i=new WeakMap);let r=i.get(n);return r===void 0&&i.set(n,r=W2(e,t,n)),r}function j2(e,t,n,o){if(e==="mousemoveoutside"||e==="clickoutside"){const i=Ig(e,t,n);return Object.keys(i).forEach(r=>{st(r,document,i[r],o)}),!0}return!1}function G2(e,t,n,o){if(e==="mousemoveoutside"||e==="clickoutside"){const i=Ig(e,t,n);return Object.keys(i).forEach(r=>{Ue(r,document,i[r],o)}),!0}return!1}function V2(){if(typeof window>"u")return{on:()=>{},off:()=>{}};const e=new WeakMap,t=new WeakMap;function n(){e.set(this,!0)}function o(){e.set(this,!0),t.set(this,!0)}function i(C,S,E){const R=C[S];return C[S]=function(){return E.apply(C,arguments),R.apply(C,arguments)},C}function r(C,S){C[S]=Event.prototype[S]}const a=new WeakMap,s=Object.getOwnPropertyDescriptor(Event.prototype,"currentTarget");function l(){var C;return(C=a.get(this))!==null&&C!==void 0?C:null}function c(C,S){s!==void 0&&Object.defineProperty(C,"currentTarget",{configurable:!0,enumerable:!0,get:S??s.get})}const d={bubble:{},capture:{}},u={};function h(){const C=function(S){const{type:E,eventPhase:R,bubbles:G}=S,M=Ta(S);if(R===2)return;const q=R===1?"capture":"bubble";let ee=M;const O=[];for(;ee===null&&(ee=window),O.push(ee),ee!==window;)ee=ee.parentNode||null;const V=d.capture[E],W=d.bubble[E];if(i(S,"stopPropagation",n),i(S,"stopImmediatePropagation",o),c(S,l),q==="capture"){if(V===void 0)return;for(let oe=O.length-1;oe>=0&&!e.has(S);--oe){const fe=O[oe],we=V.get(fe);if(we!==void 0){a.set(S,fe);for(const De of we){if(t.has(S))break;De(S)}}if(oe===0&&!G&&W!==void 0){const De=W.get(fe);if(De!==void 0)for(const Le of De){if(t.has(S))break;Le(S)}}}}else if(q==="bubble"){if(W===void 0)return;for(let oe=0;oeM(S))};return C.displayName="evtdUnifiedWindowEventHandler",C}const g=h(),v=m();function p(C,S){const E=d[C];return E[S]===void 0&&(E[S]=new Map,window.addEventListener(S,g,C==="capture")),E[S]}function f(C){return u[C]===void 0&&(u[C]=new Set,window.addEventListener(C,v)),u[C]}function x(C,S){let E=C.get(S);return E===void 0&&C.set(S,E=new Set),E}function A(C,S,E,R){const G=d[S][E];if(G!==void 0){const M=G.get(C);if(M!==void 0&&M.has(R))return!0}return!1}function k(C,S){const E=u[C];return!!(E!==void 0&&E.has(S))}function w(C,S,E,R){let G;if(typeof R=="object"&&R.once===!0?G=V=>{I(C,S,G,R),E(V)}:G=E,j2(C,S,G,R))return;const q=R===!0||typeof R=="object"&&R.capture===!0?"capture":"bubble",ee=p(q,C),O=x(ee,S);if(O.has(G)||O.add(G),S===window){const V=f(C);V.has(G)||V.add(G)}}function I(C,S,E,R){if(G2(C,S,E,R))return;const M=R===!0||typeof R=="object"&&R.capture===!0,q=M?"capture":"bubble",ee=p(q,C),O=x(ee,S);if(S===window&&!A(S,M?"bubble":"capture",C,E)&&k(C,E)){const W=u[C];W.delete(E),W.size===0&&(window.removeEventListener(C,v),u[C]=void 0)}O.has(E)&&O.delete(E),O.size===0&&ee.delete(S),ee.size===0&&(window.removeEventListener(C,g,q==="capture"),d[q][C]=void 0)}return{on:w,off:I}}const{on:st,off:Ue}=V2(),or=j(null);function cu(e){if(e.clientX>0||e.clientY>0)or.value={x:e.clientX,y:e.clientY};else{const{target:t}=e;if(t instanceof Element){const{left:n,top:o,width:i,height:r}=t.getBoundingClientRect();n>0||o>0?or.value={x:n+i/2,y:o+r/2}:or.value={x:0,y:0}}else or.value=null}}let ia=0,du=!0;function Eg(){if(!ss)return on(j(null));ia===0&&st("click",document,cu,!0);const e=()=>{ia+=1};return du&&(du=as())?(On(e),kt(()=>{ia-=1,ia===0&&Ue("click",document,cu,!0)})):e(),on(or)}const K2=j(void 0);let ra=0;function uu(){K2.value=Date.now()}let hu=!0;function Rg(e){if(!ss)return on(j(!1));const t=j(!1);let n=null;function o(){n!==null&&window.clearTimeout(n)}function i(){o(),t.value=!0,n=window.setTimeout(()=>{t.value=!1},e)}ra===0&&st("click",window,uu,!0);const r=()=>{ra+=1,st("click",window,i,!0)};return hu&&(hu=as())?(On(r),kt(()=>{ra-=1,ra===0&&Ue("click",window,uu,!0),Ue("click",window,i,!0),o()})):r(),on(t)}let aa=0;const U2=typeof window<"u"&&window.matchMedia!==void 0,Go=j(null);let yn,zo;function Da(e){e.matches&&(Go.value="dark")}function La(e){e.matches&&(Go.value="light")}function q2(){yn=window.matchMedia("(prefers-color-scheme: dark)"),zo=window.matchMedia("(prefers-color-scheme: light)"),yn.matches?Go.value="dark":zo.matches?Go.value="light":Go.value=null,yn.addEventListener?(yn.addEventListener("change",Da),zo.addEventListener("change",La)):yn.addListener&&(yn.addListener(Da),zo.addListener(La))}function X2(){"removeEventListener"in yn?(yn.removeEventListener("change",Da),zo.removeEventListener("change",La)):"removeListener"in yn&&(yn.removeListener(Da),zo.removeListener(La)),yn=void 0,zo=void 0}let fu=!0;function Z2(){return U2&&(aa===0&&q2(),fu&&(fu=as())&&(On(()=>{aa+=1}),kt(()=>{aa-=1,aa===0&&X2()}))),on(Go)}function Ic(e,t){return Ze(e,n=>{n!==void 0&&(t.value=n)}),z(()=>e.value===void 0?t.value:e.value)}function Br(){const e=j(!1);return Lt(()=>{e.value=!0}),on(e)}function Mg(e,t){return z(()=>{for(const n of t)if(e[n]!==void 0)return e[n];return e[t[t.length-1]]})}const Y2=(typeof window>"u"?!1:/iPad|iPhone|iPod/.test(navigator.platform)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1)&&!window.MSStream;function J2(){return Y2}const Q2={xs:0,s:640,m:1024,l:1280,xl:1536,"2xl":1920};function ex(e){return`(min-width: ${e}px)`}const qi={};function tx(e=Q2){if(!ss)return z(()=>[]);if(typeof window.matchMedia!="function")return z(()=>[]);const t=j({}),n=Object.keys(e),o=(i,r)=>{i.matches?t.value[r]=!0:t.value[r]=!1};return n.forEach(i=>{const r=e[i];let a,s;qi[r]===void 0?(a=window.matchMedia(ex(r)),a.addEventListener?a.addEventListener("change",l=>{s.forEach(c=>{c(l,i)})}):a.addListener&&a.addListener(l=>{s.forEach(c=>{c(l,i)})}),s=new Set,qi[r]={mql:a,cbs:s}):(a=qi[r].mql,s=qi[r].cbs),s.add(o),a.matches&&s.forEach(l=>{l(a,i)})}),kt(()=>{n.forEach(i=>{const{cbs:r}=qi[e[i]];r.has(o)&&r.delete(o)})}),z(()=>{const{value:i}=t;return n.filter(r=>i[r])})}function nx(e={},t){const n=vo({ctrl:!1,command:!1,win:!1,shift:!1,tab:!1}),{keydown:o,keyup:i}=e,r=l=>{switch(l.key){case"Control":n.ctrl=!0;break;case"Meta":n.command=!0,n.win=!0;break;case"Shift":n.shift=!0;break;case"Tab":n.tab=!0;break}o!==void 0&&Object.keys(o).forEach(c=>{if(c!==l.key)return;const d=o[c];if(typeof d=="function")d(l);else{const{stop:u=!1,prevent:h=!1}=d;u&&l.stopPropagation(),h&&l.preventDefault(),d.handler(l)}})},a=l=>{switch(l.key){case"Control":n.ctrl=!1;break;case"Meta":n.command=!1,n.win=!1;break;case"Shift":n.shift=!1;break;case"Tab":n.tab=!1;break}i!==void 0&&Object.keys(i).forEach(c=>{if(c!==l.key)return;const d=i[c];if(typeof d=="function")d(l);else{const{stop:u=!1,prevent:h=!1}=d;u&&l.stopPropagation(),h&&l.preventDefault(),d.handler(l)}})},s=()=>{(t===void 0||t.value)&&(st("keydown",document,r),st("keyup",document,a)),t!==void 0&&Ze(t,l=>{l?(st("keydown",document,r),st("keyup",document,a)):(Ue("keydown",document,r),Ue("keyup",document,a))})};return as()?(On(s),kt(()=>{(t===void 0||t.value)&&(Ue("keydown",document,r),Ue("keyup",document,a))})):s(),on(n)}const ox="n-internal-select-menu-body",ls="n-modal-body",Dg="n-modal",cs="n-drawer-body",Nr="n-popover-body",Lg="__disabled__";function Ai(e){const t=Ie(ls,null),n=Ie(cs,null),o=Ie(Nr,null),i=Ie(ox,null),r=j();if(typeof document<"u"){r.value=document.fullscreenElement;const a=()=>{r.value=document.fullscreenElement};Lt(()=>{st("fullscreenchange",document,a)}),kt(()=>{Ue("fullscreenchange",document,a)})}return wt(()=>{var a;const{to:s}=e;return s!==void 0?s===!1?Lg:s===!0?r.value||"body":s:t!=null&&t.value?(a=t.value.$el)!==null&&a!==void 0?a:t.value:n!=null&&n.value?n.value:o!=null&&o.value?o.value:i!=null&&i.value?i.value:s??(r.value||"body")})}Ai.tdkey=Lg;Ai.propTo={type:[String,Object,Boolean],default:void 0};function Sl(e,t,n="default"){const o=t[n];if(o===void 0)throw new Error(`[vueuc/${e}]: slot[${n}] is empty.`);return o()}function _l(e,t=!0,n=[]){return e.forEach(o=>{if(o!==null){if(typeof o!="object"){(typeof o=="string"||typeof o=="number")&&n.push(Ct(String(o)));return}if(Array.isArray(o)){_l(o,t,n);return}if(o.type===He){if(o.children===null)return;Array.isArray(o.children)&&_l(o.children,t,n)}else o.type!==Gt&&n.push(o)}}),n}function gu(e,t,n="default"){const o=t[n];if(o===void 0)throw new Error(`[vueuc/${e}]: slot[${n}] is empty.`);const i=_l(o());if(i.length===1)return i[0];throw new Error(`[vueuc/${e}]: slot[${n}] should have exactly one child.`)}let Qn=null;function $g(){if(Qn===null&&(Qn=document.getElementById("v-binder-view-measurer"),Qn===null)){Qn=document.createElement("div"),Qn.id="v-binder-view-measurer";const{style:e}=Qn;e.position="fixed",e.left="0",e.right="0",e.top="0",e.bottom="0",e.pointerEvents="none",e.visibility="hidden",document.body.appendChild(Qn)}return Qn.getBoundingClientRect()}function ix(e,t){const n=$g();return{top:t,left:e,height:0,width:0,right:n.width-e,bottom:n.height-t}}function Vs(e){const t=e.getBoundingClientRect(),n=$g();return{left:t.left-n.left,top:t.top-n.top,bottom:n.height+n.top-t.bottom,right:n.width+n.left-t.right,width:t.width,height:t.height}}function rx(e){return e.nodeType===9?null:e.parentNode}function Og(e){if(e===null)return null;const t=rx(e);if(t===null)return null;if(t.nodeType===9)return document;if(t.nodeType===1){const{overflow:n,overflowX:o,overflowY:i}=getComputedStyle(t);if(/(auto|scroll|overlay)/.test(n+i+o))return t}return Og(t)}const ax=se({name:"Binder",props:{syncTargetWithParent:Boolean,syncTarget:{type:Boolean,default:!0}},setup(e){var t;We("VBinder",(t=rn())===null||t===void 0?void 0:t.proxy);const n=Ie("VBinder",null),o=j(null),i=f=>{o.value=f,n&&e.syncTargetWithParent&&n.setTargetRef(f)};let r=[];const a=()=>{let f=o.value;for(;f=Og(f),f!==null;)r.push(f);for(const x of r)st("scroll",x,u,!0)},s=()=>{for(const f of r)Ue("scroll",f,u,!0);r=[]},l=new Set,c=f=>{l.size===0&&a(),l.has(f)||l.add(f)},d=f=>{l.has(f)&&l.delete(f),l.size===0&&s()},u=()=>{bg(h)},h=()=>{l.forEach(f=>f())},m=new Set,g=f=>{m.size===0&&st("resize",window,p),m.has(f)||m.add(f)},v=f=>{m.has(f)&&m.delete(f),m.size===0&&Ue("resize",window,p)},p=()=>{m.forEach(f=>f())};return kt(()=>{Ue("resize",window,p),s()}),{targetRef:o,setTargetRef:i,addScrollListener:c,removeScrollListener:d,addResizeListener:g,removeResizeListener:v}},render(){return Sl("binder",this.$slots)}}),Hg=ax,Bg=se({name:"Target",setup(){const{setTargetRef:e,syncTarget:t}=Ie("VBinder");return{syncTarget:t,setTargetDirective:{mounted:e,updated:e}}},render(){const{syncTarget:e,setTargetDirective:t}=this;return e?fo(gu("follower",this.$slots),[[t]]):gu("follower",this.$slots)}}),si="@@mmoContext",sx={mounted(e,{value:t}){e[si]={handler:void 0},typeof t=="function"&&(e[si].handler=t,st("mousemoveoutside",e,t))},updated(e,{value:t}){const n=e[si];typeof t=="function"?n.handler?n.handler!==t&&(Ue("mousemoveoutside",e,n.handler),n.handler=t,st("mousemoveoutside",e,t)):(e[si].handler=t,st("mousemoveoutside",e,t)):n.handler&&(Ue("mousemoveoutside",e,n.handler),n.handler=void 0)},unmounted(e){const{handler:t}=e[si];t&&Ue("mousemoveoutside",e,t),e[si].handler=void 0}},lx=sx,li="@@coContext",cx={mounted(e,{value:t,modifiers:n}){e[li]={handler:void 0},typeof t=="function"&&(e[li].handler=t,st("clickoutside",e,t,{capture:n.capture}))},updated(e,{value:t,modifiers:n}){const o=e[li];typeof t=="function"?o.handler?o.handler!==t&&(Ue("clickoutside",e,o.handler,{capture:n.capture}),o.handler=t,st("clickoutside",e,t,{capture:n.capture})):(e[li].handler=t,st("clickoutside",e,t,{capture:n.capture})):o.handler&&(Ue("clickoutside",e,o.handler,{capture:n.capture}),o.handler=void 0)},unmounted(e,{modifiers:t}){const{handler:n}=e[li];n&&Ue("clickoutside",e,n,{capture:t.capture}),e[li].handler=void 0}},Pl=cx;function dx(e,t){console.error(`[vdirs/${e}]: ${t}`)}class ux{constructor(){this.elementZIndex=new Map,this.nextZIndex=2e3}get elementCount(){return this.elementZIndex.size}ensureZIndex(t,n){const{elementZIndex:o}=this;if(n!==void 0){t.style.zIndex=`${n}`,o.delete(t);return}const{nextZIndex:i}=this;o.has(t)&&o.get(t)+1===this.nextZIndex||(t.style.zIndex=`${i}`,o.set(t,i),this.nextZIndex=i+1,this.squashState())}unregister(t,n){const{elementZIndex:o}=this;o.has(t)?o.delete(t):n===void 0&&dx("z-index-manager/unregister-element","Element not found when unregistering."),this.squashState()}squashState(){const{elementCount:t}=this;t||(this.nextZIndex=2e3),this.nextZIndex-t>2500&&this.rearrange()}rearrange(){const t=Array.from(this.elementZIndex.entries());t.sort((n,o)=>n[1]-o[1]),this.nextZIndex=2e3,t.forEach(n=>{const o=n[0],i=this.nextZIndex++;`${i}`!==o.style.zIndex&&(o.style.zIndex=`${i}`)})}}const Ks=new ux,ci="@@ziContext",hx={mounted(e,t){const{value:n={}}=t,{zIndex:o,enabled:i}=n;e[ci]={enabled:!!i,initialized:!1},i&&(Ks.ensureZIndex(e,o),e[ci].initialized=!0)},updated(e,t){const{value:n={}}=t,{zIndex:o,enabled:i}=n,r=e[ci].enabled;i&&!r&&(Ks.ensureZIndex(e,o),e[ci].initialized=!0),e[ci].enabled=!!i},unmounted(e,t){if(!e[ci].initialized)return;const{value:n={}}=t,{zIndex:o}=n;Ks.unregister(e,o)}},Ec=hx,Ng=Symbol("@css-render/vue3-ssr");function fx(e,t){return``}function gx(e,t){const n=Ie(Ng,null);if(n===null){console.error("[css-render/vue3-ssr]: no ssr context found.");return}const{styles:o,ids:i}=n;i.has(e)||o!==null&&(i.add(e),o.push(fx(e,t)))}const mx=typeof document<"u";function zr(){if(mx)return;const e=Ie(Ng,null);if(e!==null)return{adapter:gx,context:e}}function mu(e,t){console.error(`[vueuc/${e}]: ${t}`)}const{c:sa}=wg(),px="vueuc-style";function pu(e){return typeof e=="string"?document.querySelector(e):e()}const zg=se({name:"LazyTeleport",props:{to:{type:[String,Object],default:void 0},disabled:Boolean,show:{type:Boolean,required:!0}},setup(e){return{showTeleport:B2(Ke(e,"show")),mergedTo:z(()=>{const{to:t}=e;return t??"body"})}},render(){return this.showTeleport?this.disabled?Sl("lazy-teleport",this.$slots):T(es,{disabled:this.disabled,to:this.mergedTo},Sl("lazy-teleport",this.$slots)):null}}),la={top:"bottom",bottom:"top",left:"right",right:"left"},bu={start:"end",center:"center",end:"start"},Us={top:"height",bottom:"height",left:"width",right:"width"},bx={"bottom-start":"top left",bottom:"top center","bottom-end":"top right","top-start":"bottom left",top:"bottom center","top-end":"bottom right","right-start":"top left",right:"center left","right-end":"bottom left","left-start":"top right",left:"center right","left-end":"bottom right"},vx={"bottom-start":"bottom left",bottom:"bottom center","bottom-end":"bottom right","top-start":"top left",top:"top center","top-end":"top right","right-start":"top right",right:"center right","right-end":"bottom right","left-start":"top left",left:"center left","left-end":"bottom left"},yx={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},vu={top:!0,bottom:!1,left:!0,right:!1},yu={top:"end",bottom:"start",left:"end",right:"start"};function xx(e,t,n,o,i,r){if(!i||r)return{placement:e,top:0,left:0};const[a,s]=e.split("-");let l=s??"center",c={top:0,left:0};const d=(m,g,v)=>{let p=0,f=0;const x=n[m]-t[g]-t[m];return x>0&&o&&(v?f=vu[g]?x:-x:p=vu[g]?x:-x),{left:p,top:f}},u=a==="left"||a==="right";if(l!=="center"){const m=yx[e],g=la[m],v=Us[m];if(n[v]>t[v]){if(t[m]+t[v]t[g]&&(l=bu[s])}else{const m=a==="bottom"||a==="top"?"left":"top",g=la[m],v=Us[m],p=(n[v]-t[v])/2;(t[m]t[g]?(l=yu[m],c=d(v,m,u)):(l=yu[g],c=d(v,g,u)))}let h=a;return t[a] *",{pointerEvents:"all"})])]),Fg=se({name:"Follower",inheritAttrs:!1,props:{show:Boolean,enabled:{type:Boolean,default:void 0},placement:{type:String,default:"bottom"},syncTrigger:{type:Array,default:["resize","scroll"]},to:[String,Object],flip:{type:Boolean,default:!0},internalShift:Boolean,x:Number,y:Number,width:String,minWidth:String,containerClass:String,teleportDisabled:Boolean,zindexable:{type:Boolean,default:!0},zIndex:Number,overlap:Boolean},setup(e){const t=Ie("VBinder"),n=wt(()=>e.enabled!==void 0?e.enabled:e.show),o=j(null),i=j(null),r=()=>{const{syncTrigger:h}=e;h.includes("scroll")&&t.addScrollListener(l),h.includes("resize")&&t.addResizeListener(l)},a=()=>{t.removeScrollListener(l),t.removeResizeListener(l)};Lt(()=>{n.value&&(l(),r())});const s=zr();Tx.mount({id:"vueuc/binder",head:!0,anchorMetaName:px,ssr:s}),kt(()=>{a()}),z2(()=>{n.value&&l()});const l=()=>{if(!n.value)return;const h=o.value;if(h===null)return;const m=t.targetRef,{x:g,y:v,overlap:p}=e,f=g!==void 0&&v!==void 0?ix(g,v):Vs(m);h.style.setProperty("--v-target-width",`${Math.round(f.width)}px`),h.style.setProperty("--v-target-height",`${Math.round(f.height)}px`);const{width:x,minWidth:A,placement:k,internalShift:w,flip:I}=e;h.setAttribute("v-placement",k),p?h.setAttribute("v-overlap",""):h.removeAttribute("v-overlap");const{style:C}=h;x==="target"?C.width=`${f.width}px`:x!==void 0?C.width=x:C.width="",A==="target"?C.minWidth=`${f.width}px`:A!==void 0?C.minWidth=A:C.minWidth="";const S=Vs(h),E=Vs(i.value),{left:R,top:G,placement:M}=xx(k,f,S,w,I,p),q=kx(M,p),{left:ee,top:O,transform:V}=Cx(M,E,f,G,R,p);h.setAttribute("v-placement",M),h.style.setProperty("--v-offset-left",`${Math.round(R)}px`),h.style.setProperty("--v-offset-top",`${Math.round(G)}px`),h.style.transform=`translateX(${ee}) translateY(${O}) ${V}`,h.style.setProperty("--v-transform-origin",q),h.style.transformOrigin=q};Ze(n,h=>{h?(r(),c()):a()});const c=()=>{jt().then(l).catch(h=>console.error(h))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach(h=>{Ze(Ke(e,h),l)}),["teleportDisabled"].forEach(h=>{Ze(Ke(e,h),c)}),Ze(Ke(e,"syncTrigger"),h=>{h.includes("resize")?t.addResizeListener(l):t.removeResizeListener(l),h.includes("scroll")?t.addScrollListener(l):t.removeScrollListener(l)});const d=Br(),u=wt(()=>{const{to:h}=e;if(h!==void 0)return h;d.value});return{VBinder:t,mergedEnabled:n,offsetContainerRef:i,followerRef:o,mergedTo:u,syncPosition:l}},render(){return T(zg,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var e,t;const n=T("div",{class:["v-binder-follower-container",this.containerClass],ref:"offsetContainerRef"},[T("div",{class:"v-binder-follower-content",ref:"followerRef"},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))]);return this.zindexable?fo(n,[[Ec,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):n}})}});var Vo=[],wx=function(){return Vo.some(function(e){return e.activeTargets.length>0})},Sx=function(){return Vo.some(function(e){return e.skippedTargets.length>0})},xu="ResizeObserver loop completed with undelivered notifications.",_x=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:xu}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=xu),window.dispatchEvent(e)},Ar;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Ar||(Ar={}));var Ko=function(e){return Object.freeze(e)},Px=function(){function e(t,n){this.inlineSize=t,this.blockSize=n,Ko(this)}return e}(),Wg=function(){function e(t,n,o,i){return this.x=t,this.y=n,this.width=o,this.height=i,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Ko(this)}return e.prototype.toJSON=function(){var t=this,n=t.x,o=t.y,i=t.top,r=t.right,a=t.bottom,s=t.left,l=t.width,c=t.height;return{x:n,y:o,top:i,right:r,bottom:a,left:s,width:l,height:c}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),Rc=function(e){return e instanceof SVGElement&&"getBBox"in e},jg=function(e){if(Rc(e)){var t=e.getBBox(),n=t.width,o=t.height;return!n&&!o}var i=e,r=i.offsetWidth,a=i.offsetHeight;return!(r||a||e.getClientRects().length)},ku=function(e){var t;if(e instanceof Element)return!0;var n=(t=e==null?void 0:e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},Ax=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},ur=typeof window<"u"?window:{},ca=new WeakMap,Cu=/auto|scroll/,Ix=/^tb|vertical/,Ex=/msie|trident/i.test(ur.navigator&&ur.navigator.userAgent),_n=function(e){return parseFloat(e||"0")},xi=function(e,t,n){return e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=!1),new Px((n?t:e)||0,(n?e:t)||0)},Tu=Ko({devicePixelContentBoxSize:xi(),borderBoxSize:xi(),contentBoxSize:xi(),contentRect:new Wg(0,0,0,0)}),Gg=function(e,t){if(t===void 0&&(t=!1),ca.has(e)&&!t)return ca.get(e);if(jg(e))return ca.set(e,Tu),Tu;var n=getComputedStyle(e),o=Rc(e)&&e.ownerSVGElement&&e.getBBox(),i=!Ex&&n.boxSizing==="border-box",r=Ix.test(n.writingMode||""),a=!o&&Cu.test(n.overflowY||""),s=!o&&Cu.test(n.overflowX||""),l=o?0:_n(n.paddingTop),c=o?0:_n(n.paddingRight),d=o?0:_n(n.paddingBottom),u=o?0:_n(n.paddingLeft),h=o?0:_n(n.borderTopWidth),m=o?0:_n(n.borderRightWidth),g=o?0:_n(n.borderBottomWidth),v=o?0:_n(n.borderLeftWidth),p=u+c,f=l+d,x=v+m,A=h+g,k=s?e.offsetHeight-A-e.clientHeight:0,w=a?e.offsetWidth-x-e.clientWidth:0,I=i?p+x:0,C=i?f+A:0,S=o?o.width:_n(n.width)-I-w,E=o?o.height:_n(n.height)-C-k,R=S+p+w+x,G=E+f+k+A,M=Ko({devicePixelContentBoxSize:xi(Math.round(S*devicePixelRatio),Math.round(E*devicePixelRatio),r),borderBoxSize:xi(R,G,r),contentBoxSize:xi(S,E,r),contentRect:new Wg(u,l,S,E)});return ca.set(e,M),M},Vg=function(e,t,n){var o=Gg(e,n),i=o.borderBoxSize,r=o.contentBoxSize,a=o.devicePixelContentBoxSize;switch(t){case Ar.DEVICE_PIXEL_CONTENT_BOX:return a;case Ar.BORDER_BOX:return i;default:return r}},Rx=function(){function e(t){var n=Gg(t);this.target=t,this.contentRect=n.contentRect,this.borderBoxSize=Ko([n.borderBoxSize]),this.contentBoxSize=Ko([n.contentBoxSize]),this.devicePixelContentBoxSize=Ko([n.devicePixelContentBoxSize])}return e}(),Kg=function(e){if(jg(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},Mx=function(){var e=1/0,t=[];Vo.forEach(function(a){if(a.activeTargets.length!==0){var s=[];a.activeTargets.forEach(function(c){var d=new Rx(c.target),u=Kg(c.target);s.push(d),c.lastReportedSize=Vg(c.target,c.observedBox),ue?n.activeTargets.push(i):n.skippedTargets.push(i))})})},Dx=function(){var e=0;for(wu(e);wx();)e=Mx(),wu(e);return Sx()&&_x(),e>0},qs,Ug=[],Lx=function(){return Ug.splice(0).forEach(function(e){return e()})},$x=function(e){if(!qs){var t=0,n=document.createTextNode(""),o={characterData:!0};new MutationObserver(function(){return Lx()}).observe(n,o),qs=function(){n.textContent="".concat(t?t--:t++)}}Ug.push(e),qs()},Ox=function(e){$x(function(){requestAnimationFrame(e)})},wa=0,Hx=function(){return!!wa},Bx=250,Nx={attributes:!0,characterData:!0,childList:!0,subtree:!0},Su=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],_u=function(e){return e===void 0&&(e=0),Date.now()+e},Xs=!1,zx=function(){function e(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return e.prototype.run=function(t){var n=this;if(t===void 0&&(t=Bx),!Xs){Xs=!0;var o=_u(t);Ox(function(){var i=!1;try{i=Dx()}finally{if(Xs=!1,t=o-_u(),!Hx())return;i?n.run(1e3):t>0?n.run(t):n.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var t=this,n=function(){return t.observer&&t.observer.observe(document.body,Nx)};document.body?n():ur.addEventListener("DOMContentLoaded",n)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),Su.forEach(function(n){return ur.addEventListener(n,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),Su.forEach(function(n){return ur.removeEventListener(n,t.listener,!0)}),this.stopped=!0)},e}(),Al=new zx,Pu=function(e){!wa&&e>0&&Al.start(),wa+=e,!wa&&Al.stop()},Fx=function(e){return!Rc(e)&&!Ax(e)&&getComputedStyle(e).display==="inline"},Wx=function(){function e(t,n){this.target=t,this.observedBox=n||Ar.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=Vg(this.target,this.observedBox,!0);return Fx(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),jx=function(){function e(t,n){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=n}return e}(),da=new WeakMap,Au=function(e,t){for(var n=0;n=0&&(r&&Vo.splice(Vo.indexOf(o),1),o.observationTargets.splice(i,1),Pu(-1))},e.disconnect=function(t){var n=this,o=da.get(t);o.observationTargets.slice().forEach(function(i){return n.unobserve(t,i.target)}),o.activeTargets.splice(0,o.activeTargets.length)},e}(),Gx=function(){function e(t){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof t!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");ua.connect(this,t)}return e.prototype.observe=function(t,n){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!ku(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");ua.observe(this,t,n)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!ku(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");ua.unobserve(this,t)},e.prototype.disconnect=function(){ua.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();class Vx{constructor(){this.handleResize=this.handleResize.bind(this),this.observer=new(typeof window<"u"&&window.ResizeObserver||Gx)(this.handleResize),this.elHandlersMap=new Map}handleResize(t){for(const n of t){const o=this.elHandlersMap.get(n.target);o!==void 0&&o(n)}}registerHandler(t,n){this.elHandlersMap.set(t,n),this.observer.observe(t)}unregisterHandler(t){this.elHandlersMap.has(t)&&(this.elHandlersMap.delete(t),this.observer.unobserve(t))}}const Iu=new Vx,$a=se({name:"ResizeObserver",props:{onResize:Function},setup(e){let t=!1;const n=rn().proxy;function o(i){const{onResize:r}=e;r!==void 0&&r(i)}Lt(()=>{const i=n.$el;if(i===void 0){mu("resize-observer","$el does not exist.");return}if(i.nextElementSibling!==i.nextSibling&&i.nodeType===3&&i.nodeValue!==""){mu("resize-observer","$el can not be observed (it may be a text node).");return}i.nextElementSibling!==null&&(Iu.registerHandler(i.nextElementSibling,o),t=!0)}),kt(()=>{t&&Iu.unregisterHandler(n.$el.nextElementSibling)})},render(){return Xf(this.$slots,"default")}});function qg(e){return e instanceof HTMLElement}function Xg(e){for(let t=0;t=0;t--){const n=e.childNodes[t];if(qg(n)&&(Yg(n)||Zg(n)))return!0}return!1}function Yg(e){if(!Kx(e))return!1;try{e.focus({preventScroll:!0})}catch{}return document.activeElement===e}function Kx(e){if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.getAttribute("disabled"))return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return e.type!=="hidden"&&e.type!=="file";case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}let Xi=[];const Jg=se({name:"FocusTrap",props:{disabled:Boolean,active:Boolean,autoFocus:{type:Boolean,default:!0},onEsc:Function,initialFocusTo:String,finalFocusTo:String,returnFocusOnDeactivated:{type:Boolean,default:!0}},setup(e){const t=os(),n=j(null),o=j(null);let i=!1,r=!1;const a=typeof document>"u"?null:document.activeElement;function s(){return Xi[Xi.length-1]===t}function l(p){var f;p.code==="Escape"&&s()&&((f=e.onEsc)===null||f===void 0||f.call(e,p))}Lt(()=>{Ze(()=>e.active,p=>{p?(u(),st("keydown",document,l)):(Ue("keydown",document,l),i&&h())},{immediate:!0})}),kt(()=>{Ue("keydown",document,l),i&&h()});function c(p){if(!r&&s()){const f=d();if(f===null||f.contains(wr(p)))return;m("first")}}function d(){const p=n.value;if(p===null)return null;let f=p;for(;f=f.nextSibling,!(f===null||f instanceof Element&&f.tagName==="DIV"););return f}function u(){var p;if(!e.disabled){if(Xi.push(t),e.autoFocus){const{initialFocusTo:f}=e;f===void 0?m("first"):(p=pu(f))===null||p===void 0||p.focus({preventScroll:!0})}i=!0,document.addEventListener("focus",c,!0)}}function h(){var p;if(e.disabled||(document.removeEventListener("focus",c,!0),Xi=Xi.filter(x=>x!==t),s()))return;const{finalFocusTo:f}=e;f!==void 0?(p=pu(f))===null||p===void 0||p.focus({preventScroll:!0}):e.returnFocusOnDeactivated&&a instanceof HTMLElement&&(r=!0,a.focus({preventScroll:!0}),r=!1)}function m(p){if(s()&&e.active){const f=n.value,x=o.value;if(f!==null&&x!==null){const A=d();if(A==null||A===x){r=!0,f.focus({preventScroll:!0}),r=!1;return}r=!0;const k=p==="first"?Xg(A):Zg(A);r=!1,k||(r=!0,f.focus({preventScroll:!0}),r=!1)}}}function g(p){if(r)return;const f=d();f!==null&&(p.relatedTarget!==null&&f.contains(p.relatedTarget)?m("last"):m("first"))}function v(p){r||(p.relatedTarget!==null&&p.relatedTarget===n.value?m("last"):m("first"))}return{focusableStartRef:n,focusableEndRef:o,focusableStyle:"position: absolute; height: 0; width: 0;",handleStartFocus:g,handleEndFocus:v}},render(){const{default:e}=this.$slots;if(e===void 0)return null;if(this.disabled)return e();const{active:t,focusableStyle:n}=this;return T(He,null,[T("div",{"aria-hidden":"true",tabindex:t?"0":"-1",ref:"focusableStartRef",style:n,onFocus:this.handleStartFocus}),e(),T("div",{"aria-hidden":"true",style:n,ref:"focusableEndRef",tabindex:t?"0":"-1",onFocus:this.handleEndFocus})])}});let di=0,Eu="",Ru="",Mu="",Du="";const Lu=j("0px");function Ux(e){if(typeof document>"u")return;const t=document.documentElement;let n,o=!1;const i=()=>{t.style.marginRight=Eu,t.style.overflow=Ru,t.style.overflowX=Mu,t.style.overflowY=Du,Lu.value="0px"};Lt(()=>{n=Ze(e,r=>{if(r){if(!di){const a=window.innerWidth-t.offsetWidth;a>0&&(Eu=t.style.marginRight,t.style.marginRight=`${a}px`,Lu.value=`${a}px`),Ru=t.style.overflow,Mu=t.style.overflowX,Du=t.style.overflowY,t.style.overflow="hidden",t.style.overflowX="hidden",t.style.overflowY="hidden"}o=!0,di++}else di--,di||i(),o=!1},{immediate:!0})}),kt(()=>{n==null||n(),o&&(di--,di||i(),o=!1)})}const Mc=j(!1),$u=()=>{Mc.value=!0},Ou=()=>{Mc.value=!1};let Zi=0;const qx=()=>(Zo&&(On(()=>{Zi||(window.addEventListener("compositionstart",$u),window.addEventListener("compositionend",Ou)),Zi++}),kt(()=>{Zi<=1?(window.removeEventListener("compositionstart",$u),window.removeEventListener("compositionend",Ou),Zi=0):Zi--})),Mc);function Qg(e){const t={isDeactivated:!1};let n=!1;return Kf(()=>{if(t.isDeactivated=!1,!n){n=!0;return}e()}),yc(()=>{t.isDeactivated=!0,n||(n=!0)}),t}const Hu="n-form-item";function em(e,{defaultSize:t="medium",mergedSize:n,mergedDisabled:o}={}){const i=Ie(Hu,null);We(Hu,null);const r=z(n?()=>n(i):()=>{const{size:l}=e;if(l)return l;if(i){const{mergedSize:c}=i;if(c.value!==void 0)return c.value}return t}),a=z(o?()=>o(i):()=>{const{disabled:l}=e;return l!==void 0?l:i?i.disabled.value:!1}),s=z(()=>{const{status:l}=e;return l||(i==null?void 0:i.mergedValidationStatus.value)});return kt(()=>{i&&i.restoreValidation()}),{mergedSizeRef:r,mergedDisabledRef:a,mergedStatusRef:s,nTriggerFormBlur(){i&&i.handleContentBlur()},nTriggerFormChange(){i&&i.handleContentChange()},nTriggerFormFocus(){i&&i.handleContentFocus()},nTriggerFormInput(){i&&i.handleContentInput()}}}var Xx=typeof global=="object"&&global&&global.Object===Object&&global;const tm=Xx;var Zx=typeof self=="object"&&self&&self.Object===Object&&self,Yx=tm||Zx||Function("return this")();const Hn=Yx;var Jx=Hn.Symbol;const go=Jx;var nm=Object.prototype,Qx=nm.hasOwnProperty,ek=nm.toString,Yi=go?go.toStringTag:void 0;function tk(e){var t=Qx.call(e,Yi),n=e[Yi];try{e[Yi]=void 0;var o=!0}catch{}var i=ek.call(e);return o&&(t?e[Yi]=n:delete e[Yi]),i}var nk=Object.prototype,ok=nk.toString;function ik(e){return ok.call(e)}var rk="[object Null]",ak="[object Undefined]",Bu=go?go.toStringTag:void 0;function Yo(e){return e==null?e===void 0?ak:rk:Bu&&Bu in Object(e)?tk(e):ik(e)}function mo(e){return e!=null&&typeof e=="object"}var sk="[object Symbol]";function ds(e){return typeof e=="symbol"||mo(e)&&Yo(e)==sk}function om(e,t){for(var n=-1,o=e==null?0:e.length,i=Array(o);++n0){if(++t>=Gk)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function qk(e){return function(){return e}}var Xk=function(){try{var e=Qo(Object,"defineProperty");return e({},"",{}),e}catch{}}();const Oa=Xk;var Zk=Oa?function(e,t){return Oa(e,"toString",{configurable:!0,enumerable:!1,value:qk(t),writable:!0})}:Dc;const Yk=Zk;var Jk=Uk(Yk);const Qk=Jk;function eC(e,t,n,o){for(var i=e.length,r=n+(o?1:-1);o?r--:++r-1&&e%1==0&&e-1&&e%1==0&&e<=cC}function ei(e){return e!=null&&Oc(e.length)&&!Lc(e)}function dC(e,t,n){if(!$n(n))return!1;var o=typeof t;return(o=="number"?ei(n)&&$c(t,n.length):o=="string"&&t in n)?Fr(n[t],e):!1}function uC(e){return lC(function(t,n){var o=-1,i=n.length,r=i>1?n[i-1]:void 0,a=i>2?n[2]:void 0;for(r=e.length>3&&typeof r=="function"?(i--,r):void 0,a&&dC(n[0],n[1],a)&&(r=i<3?void 0:r,i=1),t=Object(t);++o-1}function A4(e,t){var n=this.__data__,o=fs(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}function Un(e){var t=-1,n=e==null?0:e.length;for(this.clear();++ti?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var r=Array(i);++o=o?e:Q4(e,t,n)}var t3="\\ud800-\\udfff",n3="\\u0300-\\u036f",o3="\\ufe20-\\ufe2f",i3="\\u20d0-\\u20ff",r3=n3+o3+i3,a3="\\ufe0e\\ufe0f",s3="\\u200d",l3=RegExp("["+s3+t3+r3+a3+"]");function mm(e){return l3.test(e)}function c3(e){return e.split("")}var pm="\\ud800-\\udfff",d3="\\u0300-\\u036f",u3="\\ufe20-\\ufe2f",h3="\\u20d0-\\u20ff",f3=d3+u3+h3,g3="\\ufe0e\\ufe0f",m3="["+pm+"]",El="["+f3+"]",Rl="\\ud83c[\\udffb-\\udfff]",p3="(?:"+El+"|"+Rl+")",bm="[^"+pm+"]",vm="(?:\\ud83c[\\udde6-\\uddff]){2}",ym="[\\ud800-\\udbff][\\udc00-\\udfff]",b3="\\u200d",xm=p3+"?",km="["+g3+"]?",v3="(?:"+b3+"(?:"+[bm,vm,ym].join("|")+")"+km+xm+")*",y3=km+xm+v3,x3="(?:"+[bm+El+"?",El,vm,ym,m3].join("|")+")",k3=RegExp(Rl+"(?="+Rl+")|"+x3+y3,"g");function C3(e){return e.match(k3)||[]}function T3(e){return mm(e)?C3(e):c3(e)}function w3(e){return function(t){t=ms(t);var n=mm(t)?T3(t):void 0,o=n?n[0]:t.charAt(0),i=n?e3(n,1).join(""):t.slice(1);return o[e]()+i}}var S3=w3("toUpperCase");const _3=S3;function P3(e,t,n,o){var i=-1,r=e==null?0:e.length;for(o&&r&&(n=e[++i]);++is))return!1;var c=r.get(e),d=r.get(t);if(c&&d)return c==t&&d==e;var u=-1,h=!0,m=n&Y5?new za:void 0;for(r.set(e,t),r.set(t,e);++u-1?i[r?t[a]:a]:void 0}}var U6=Math.max;function q6(e,t,n){var o=e==null?0:e.length;if(!o)return-1;var i=n==null?0:kk(n);return i<0&&(i=U6(o+i,0)),eC(e,bs(t),i)}var X6=K6(q6);const Z6=X6;function Y6(e,t){var n=-1,o=ei(e)?Array(e.length):[];return zm(e,function(i,r,a){o[++n]=t(i,r,a)}),o}function J6(e,t){var n=an(e)?om:Y6;return n(e,bs(t))}var Q6=Object.prototype,eT=Q6.hasOwnProperty,tT=W6(function(e,t,n){eT.call(e,n)?e[n].push(t):us(e,n,[t])});const nT=tT;var oT=p5(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()});const iT=oT;var rT=uC(function(e,t,n){Fm(e,t,n)});const ir=rT,yo={fontFamily:'v-sans, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',fontFamilyMono:"v-mono, SFMono-Regular, Menlo, Consolas, Courier, monospace",fontWeight:"400",fontWeightStrong:"500",cubicBezierEaseInOut:"cubic-bezier(.4, 0, .2, 1)",cubicBezierEaseOut:"cubic-bezier(0, 0, .2, 1)",cubicBezierEaseIn:"cubic-bezier(.4, 0, 1, 1)",borderRadius:"3px",borderRadiusSmall:"2px",fontSize:"14px",fontSizeMini:"12px",fontSizeTiny:"12px",fontSizeSmall:"14px",fontSizeMedium:"14px",fontSizeLarge:"15px",fontSizeHuge:"16px",lineHeight:"1.6",heightMini:"16px",heightTiny:"22px",heightSmall:"28px",heightMedium:"34px",heightLarge:"40px",heightHuge:"46px"},{fontSize:aT,fontFamily:sT,lineHeight:lT}=yo,Wm=N("body",` +`}function fx(e,t){const n=Ie(Ng,null);if(n===null){console.error("[css-render/vue3-ssr]: no ssr context found.");return}const{styles:o,ids:i}=n;i.has(e)||o!==null&&(i.add(e),o.push(hx(e,t)))}const gx=typeof document<"u";function zr(){if(gx)return;const e=Ie(Ng,null);if(e!==null)return{adapter:fx,context:e}}function mu(e,t){console.error(`[vueuc/${e}]: ${t}`)}const{c:sa}=wg(),mx="vueuc-style";function pu(e){return typeof e=="string"?document.querySelector(e):e()}const zg=se({name:"LazyTeleport",props:{to:{type:[String,Object],default:void 0},disabled:Boolean,show:{type:Boolean,required:!0}},setup(e){return{showTeleport:H2(Ke(e,"show")),mergedTo:z(()=>{const{to:t}=e;return t??"body"})}},render(){return this.showTeleport?this.disabled?Sl("lazy-teleport",this.$slots):T(es,{disabled:this.disabled,to:this.mergedTo},Sl("lazy-teleport",this.$slots)):null}}),la={top:"bottom",bottom:"top",left:"right",right:"left"},bu={start:"end",center:"center",end:"start"},Us={top:"height",bottom:"height",left:"width",right:"width"},px={"bottom-start":"top left",bottom:"top center","bottom-end":"top right","top-start":"bottom left",top:"bottom center","top-end":"bottom right","right-start":"top left",right:"center left","right-end":"bottom left","left-start":"top right",left:"center right","left-end":"bottom right"},bx={"bottom-start":"bottom left",bottom:"bottom center","bottom-end":"bottom right","top-start":"top left",top:"top center","top-end":"top right","right-start":"top right",right:"center right","right-end":"bottom right","left-start":"top left",left:"center left","left-end":"bottom left"},vx={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},vu={top:!0,bottom:!1,left:!0,right:!1},yu={top:"end",bottom:"start",left:"end",right:"start"};function yx(e,t,n,o,i,r){if(!i||r)return{placement:e,top:0,left:0};const[a,s]=e.split("-");let l=s??"center",c={top:0,left:0};const d=(m,g,v)=>{let p=0,f=0;const x=n[m]-t[g]-t[m];return x>0&&o&&(v?f=vu[g]?x:-x:p=vu[g]?x:-x),{left:p,top:f}},u=a==="left"||a==="right";if(l!=="center"){const m=vx[e],g=la[m],v=Us[m];if(n[v]>t[v]){if(t[m]+t[v]t[g]&&(l=bu[s])}else{const m=a==="bottom"||a==="top"?"left":"top",g=la[m],v=Us[m],p=(n[v]-t[v])/2;(t[m]t[g]?(l=yu[m],c=d(v,m,u)):(l=yu[g],c=d(v,g,u)))}let h=a;return t[a] *",{pointerEvents:"all"})])]),Fg=se({name:"Follower",inheritAttrs:!1,props:{show:Boolean,enabled:{type:Boolean,default:void 0},placement:{type:String,default:"bottom"},syncTrigger:{type:Array,default:["resize","scroll"]},to:[String,Object],flip:{type:Boolean,default:!0},internalShift:Boolean,x:Number,y:Number,width:String,minWidth:String,containerClass:String,teleportDisabled:Boolean,zindexable:{type:Boolean,default:!0},zIndex:Number,overlap:Boolean},setup(e){const t=Ie("VBinder"),n=wt(()=>e.enabled!==void 0?e.enabled:e.show),o=j(null),i=j(null),r=()=>{const{syncTrigger:h}=e;h.includes("scroll")&&t.addScrollListener(l),h.includes("resize")&&t.addResizeListener(l)},a=()=>{t.removeScrollListener(l),t.removeResizeListener(l)};Lt(()=>{n.value&&(l(),r())});const s=zr();Cx.mount({id:"vueuc/binder",head:!0,anchorMetaName:mx,ssr:s}),kt(()=>{a()}),N2(()=>{n.value&&l()});const l=()=>{if(!n.value)return;const h=o.value;if(h===null)return;const m=t.targetRef,{x:g,y:v,overlap:p}=e,f=g!==void 0&&v!==void 0?ox(g,v):Vs(m);h.style.setProperty("--v-target-width",`${Math.round(f.width)}px`),h.style.setProperty("--v-target-height",`${Math.round(f.height)}px`);const{width:x,minWidth:A,placement:k,internalShift:w,flip:I}=e;h.setAttribute("v-placement",k),p?h.setAttribute("v-overlap",""):h.removeAttribute("v-overlap");const{style:C}=h;x==="target"?C.width=`${f.width}px`:x!==void 0?C.width=x:C.width="",A==="target"?C.minWidth=`${f.width}px`:A!==void 0?C.minWidth=A:C.minWidth="";const S=Vs(h),E=Vs(i.value),{left:R,top:G,placement:M}=yx(k,f,S,w,I,p),q=xx(M,p),{left:ee,top:O,transform:V}=kx(M,E,f,G,R,p);h.setAttribute("v-placement",M),h.style.setProperty("--v-offset-left",`${Math.round(R)}px`),h.style.setProperty("--v-offset-top",`${Math.round(G)}px`),h.style.transform=`translateX(${ee}) translateY(${O}) ${V}`,h.style.setProperty("--v-transform-origin",q),h.style.transformOrigin=q};Ze(n,h=>{h?(r(),c()):a()});const c=()=>{jt().then(l).catch(h=>console.error(h))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach(h=>{Ze(Ke(e,h),l)}),["teleportDisabled"].forEach(h=>{Ze(Ke(e,h),c)}),Ze(Ke(e,"syncTrigger"),h=>{h.includes("resize")?t.addResizeListener(l):t.removeResizeListener(l),h.includes("scroll")?t.addScrollListener(l):t.removeScrollListener(l)});const d=Br(),u=wt(()=>{const{to:h}=e;if(h!==void 0)return h;d.value});return{VBinder:t,mergedEnabled:n,offsetContainerRef:i,followerRef:o,mergedTo:u,syncPosition:l}},render(){return T(zg,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var e,t;const n=T("div",{class:["v-binder-follower-container",this.containerClass],ref:"offsetContainerRef"},[T("div",{class:"v-binder-follower-content",ref:"followerRef"},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))]);return this.zindexable?fo(n,[[Ec,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):n}})}});var Vo=[],Tx=function(){return Vo.some(function(e){return e.activeTargets.length>0})},wx=function(){return Vo.some(function(e){return e.skippedTargets.length>0})},xu="ResizeObserver loop completed with undelivered notifications.",Sx=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:xu}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=xu),window.dispatchEvent(e)},Ar;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Ar||(Ar={}));var Ko=function(e){return Object.freeze(e)},_x=function(){function e(t,n){this.inlineSize=t,this.blockSize=n,Ko(this)}return e}(),Wg=function(){function e(t,n,o,i){return this.x=t,this.y=n,this.width=o,this.height=i,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Ko(this)}return e.prototype.toJSON=function(){var t=this,n=t.x,o=t.y,i=t.top,r=t.right,a=t.bottom,s=t.left,l=t.width,c=t.height;return{x:n,y:o,top:i,right:r,bottom:a,left:s,width:l,height:c}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),Rc=function(e){return e instanceof SVGElement&&"getBBox"in e},jg=function(e){if(Rc(e)){var t=e.getBBox(),n=t.width,o=t.height;return!n&&!o}var i=e,r=i.offsetWidth,a=i.offsetHeight;return!(r||a||e.getClientRects().length)},ku=function(e){var t;if(e instanceof Element)return!0;var n=(t=e==null?void 0:e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},Px=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},ur=typeof window<"u"?window:{},ca=new WeakMap,Cu=/auto|scroll/,Ax=/^tb|vertical/,Ix=/msie|trident/i.test(ur.navigator&&ur.navigator.userAgent),_n=function(e){return parseFloat(e||"0")},xi=function(e,t,n){return e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=!1),new _x((n?t:e)||0,(n?e:t)||0)},Tu=Ko({devicePixelContentBoxSize:xi(),borderBoxSize:xi(),contentBoxSize:xi(),contentRect:new Wg(0,0,0,0)}),Gg=function(e,t){if(t===void 0&&(t=!1),ca.has(e)&&!t)return ca.get(e);if(jg(e))return ca.set(e,Tu),Tu;var n=getComputedStyle(e),o=Rc(e)&&e.ownerSVGElement&&e.getBBox(),i=!Ix&&n.boxSizing==="border-box",r=Ax.test(n.writingMode||""),a=!o&&Cu.test(n.overflowY||""),s=!o&&Cu.test(n.overflowX||""),l=o?0:_n(n.paddingTop),c=o?0:_n(n.paddingRight),d=o?0:_n(n.paddingBottom),u=o?0:_n(n.paddingLeft),h=o?0:_n(n.borderTopWidth),m=o?0:_n(n.borderRightWidth),g=o?0:_n(n.borderBottomWidth),v=o?0:_n(n.borderLeftWidth),p=u+c,f=l+d,x=v+m,A=h+g,k=s?e.offsetHeight-A-e.clientHeight:0,w=a?e.offsetWidth-x-e.clientWidth:0,I=i?p+x:0,C=i?f+A:0,S=o?o.width:_n(n.width)-I-w,E=o?o.height:_n(n.height)-C-k,R=S+p+w+x,G=E+f+k+A,M=Ko({devicePixelContentBoxSize:xi(Math.round(S*devicePixelRatio),Math.round(E*devicePixelRatio),r),borderBoxSize:xi(R,G,r),contentBoxSize:xi(S,E,r),contentRect:new Wg(u,l,S,E)});return ca.set(e,M),M},Vg=function(e,t,n){var o=Gg(e,n),i=o.borderBoxSize,r=o.contentBoxSize,a=o.devicePixelContentBoxSize;switch(t){case Ar.DEVICE_PIXEL_CONTENT_BOX:return a;case Ar.BORDER_BOX:return i;default:return r}},Ex=function(){function e(t){var n=Gg(t);this.target=t,this.contentRect=n.contentRect,this.borderBoxSize=Ko([n.borderBoxSize]),this.contentBoxSize=Ko([n.contentBoxSize]),this.devicePixelContentBoxSize=Ko([n.devicePixelContentBoxSize])}return e}(),Kg=function(e){if(jg(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},Rx=function(){var e=1/0,t=[];Vo.forEach(function(a){if(a.activeTargets.length!==0){var s=[];a.activeTargets.forEach(function(c){var d=new Ex(c.target),u=Kg(c.target);s.push(d),c.lastReportedSize=Vg(c.target,c.observedBox),ue?n.activeTargets.push(i):n.skippedTargets.push(i))})})},Mx=function(){var e=0;for(wu(e);Tx();)e=Rx(),wu(e);return wx()&&Sx(),e>0},qs,Ug=[],Dx=function(){return Ug.splice(0).forEach(function(e){return e()})},Lx=function(e){if(!qs){var t=0,n=document.createTextNode(""),o={characterData:!0};new MutationObserver(function(){return Dx()}).observe(n,o),qs=function(){n.textContent="".concat(t?t--:t++)}}Ug.push(e),qs()},$x=function(e){Lx(function(){requestAnimationFrame(e)})},wa=0,Ox=function(){return!!wa},Hx=250,Bx={attributes:!0,characterData:!0,childList:!0,subtree:!0},Su=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],_u=function(e){return e===void 0&&(e=0),Date.now()+e},Xs=!1,Nx=function(){function e(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return e.prototype.run=function(t){var n=this;if(t===void 0&&(t=Hx),!Xs){Xs=!0;var o=_u(t);$x(function(){var i=!1;try{i=Mx()}finally{if(Xs=!1,t=o-_u(),!Ox())return;i?n.run(1e3):t>0?n.run(t):n.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var t=this,n=function(){return t.observer&&t.observer.observe(document.body,Bx)};document.body?n():ur.addEventListener("DOMContentLoaded",n)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),Su.forEach(function(n){return ur.addEventListener(n,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),Su.forEach(function(n){return ur.removeEventListener(n,t.listener,!0)}),this.stopped=!0)},e}(),Al=new Nx,Pu=function(e){!wa&&e>0&&Al.start(),wa+=e,!wa&&Al.stop()},zx=function(e){return!Rc(e)&&!Px(e)&&getComputedStyle(e).display==="inline"},Fx=function(){function e(t,n){this.target=t,this.observedBox=n||Ar.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=Vg(this.target,this.observedBox,!0);return zx(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),Wx=function(){function e(t,n){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=n}return e}(),da=new WeakMap,Au=function(e,t){for(var n=0;n=0&&(r&&Vo.splice(Vo.indexOf(o),1),o.observationTargets.splice(i,1),Pu(-1))},e.disconnect=function(t){var n=this,o=da.get(t);o.observationTargets.slice().forEach(function(i){return n.unobserve(t,i.target)}),o.activeTargets.splice(0,o.activeTargets.length)},e}(),jx=function(){function e(t){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof t!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");ua.connect(this,t)}return e.prototype.observe=function(t,n){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!ku(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");ua.observe(this,t,n)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!ku(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");ua.unobserve(this,t)},e.prototype.disconnect=function(){ua.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();class Gx{constructor(){this.handleResize=this.handleResize.bind(this),this.observer=new(typeof window<"u"&&window.ResizeObserver||jx)(this.handleResize),this.elHandlersMap=new Map}handleResize(t){for(const n of t){const o=this.elHandlersMap.get(n.target);o!==void 0&&o(n)}}registerHandler(t,n){this.elHandlersMap.set(t,n),this.observer.observe(t)}unregisterHandler(t){this.elHandlersMap.has(t)&&(this.elHandlersMap.delete(t),this.observer.unobserve(t))}}const Iu=new Gx,$a=se({name:"ResizeObserver",props:{onResize:Function},setup(e){let t=!1;const n=rn().proxy;function o(i){const{onResize:r}=e;r!==void 0&&r(i)}Lt(()=>{const i=n.$el;if(i===void 0){mu("resize-observer","$el does not exist.");return}if(i.nextElementSibling!==i.nextSibling&&i.nodeType===3&&i.nodeValue!==""){mu("resize-observer","$el can not be observed (it may be a text node).");return}i.nextElementSibling!==null&&(Iu.registerHandler(i.nextElementSibling,o),t=!0)}),kt(()=>{t&&Iu.unregisterHandler(n.$el.nextElementSibling)})},render(){return Xf(this.$slots,"default")}});function qg(e){return e instanceof HTMLElement}function Xg(e){for(let t=0;t=0;t--){const n=e.childNodes[t];if(qg(n)&&(Yg(n)||Zg(n)))return!0}return!1}function Yg(e){if(!Vx(e))return!1;try{e.focus({preventScroll:!0})}catch{}return document.activeElement===e}function Vx(e){if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.getAttribute("disabled"))return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return e.type!=="hidden"&&e.type!=="file";case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}let Xi=[];const Jg=se({name:"FocusTrap",props:{disabled:Boolean,active:Boolean,autoFocus:{type:Boolean,default:!0},onEsc:Function,initialFocusTo:String,finalFocusTo:String,returnFocusOnDeactivated:{type:Boolean,default:!0}},setup(e){const t=os(),n=j(null),o=j(null);let i=!1,r=!1;const a=typeof document>"u"?null:document.activeElement;function s(){return Xi[Xi.length-1]===t}function l(p){var f;p.code==="Escape"&&s()&&((f=e.onEsc)===null||f===void 0||f.call(e,p))}Lt(()=>{Ze(()=>e.active,p=>{p?(u(),st("keydown",document,l)):(Ue("keydown",document,l),i&&h())},{immediate:!0})}),kt(()=>{Ue("keydown",document,l),i&&h()});function c(p){if(!r&&s()){const f=d();if(f===null||f.contains(wr(p)))return;m("first")}}function d(){const p=n.value;if(p===null)return null;let f=p;for(;f=f.nextSibling,!(f===null||f instanceof Element&&f.tagName==="DIV"););return f}function u(){var p;if(!e.disabled){if(Xi.push(t),e.autoFocus){const{initialFocusTo:f}=e;f===void 0?m("first"):(p=pu(f))===null||p===void 0||p.focus({preventScroll:!0})}i=!0,document.addEventListener("focus",c,!0)}}function h(){var p;if(e.disabled||(document.removeEventListener("focus",c,!0),Xi=Xi.filter(x=>x!==t),s()))return;const{finalFocusTo:f}=e;f!==void 0?(p=pu(f))===null||p===void 0||p.focus({preventScroll:!0}):e.returnFocusOnDeactivated&&a instanceof HTMLElement&&(r=!0,a.focus({preventScroll:!0}),r=!1)}function m(p){if(s()&&e.active){const f=n.value,x=o.value;if(f!==null&&x!==null){const A=d();if(A==null||A===x){r=!0,f.focus({preventScroll:!0}),r=!1;return}r=!0;const k=p==="first"?Xg(A):Zg(A);r=!1,k||(r=!0,f.focus({preventScroll:!0}),r=!1)}}}function g(p){if(r)return;const f=d();f!==null&&(p.relatedTarget!==null&&f.contains(p.relatedTarget)?m("last"):m("first"))}function v(p){r||(p.relatedTarget!==null&&p.relatedTarget===n.value?m("last"):m("first"))}return{focusableStartRef:n,focusableEndRef:o,focusableStyle:"position: absolute; height: 0; width: 0;",handleStartFocus:g,handleEndFocus:v}},render(){const{default:e}=this.$slots;if(e===void 0)return null;if(this.disabled)return e();const{active:t,focusableStyle:n}=this;return T(He,null,[T("div",{"aria-hidden":"true",tabindex:t?"0":"-1",ref:"focusableStartRef",style:n,onFocus:this.handleStartFocus}),e(),T("div",{"aria-hidden":"true",style:n,ref:"focusableEndRef",tabindex:t?"0":"-1",onFocus:this.handleEndFocus})])}});let di=0,Eu="",Ru="",Mu="",Du="";const Lu=j("0px");function Kx(e){if(typeof document>"u")return;const t=document.documentElement;let n,o=!1;const i=()=>{t.style.marginRight=Eu,t.style.overflow=Ru,t.style.overflowX=Mu,t.style.overflowY=Du,Lu.value="0px"};Lt(()=>{n=Ze(e,r=>{if(r){if(!di){const a=window.innerWidth-t.offsetWidth;a>0&&(Eu=t.style.marginRight,t.style.marginRight=`${a}px`,Lu.value=`${a}px`),Ru=t.style.overflow,Mu=t.style.overflowX,Du=t.style.overflowY,t.style.overflow="hidden",t.style.overflowX="hidden",t.style.overflowY="hidden"}o=!0,di++}else di--,di||i(),o=!1},{immediate:!0})}),kt(()=>{n==null||n(),o&&(di--,di||i(),o=!1)})}const Mc=j(!1),$u=()=>{Mc.value=!0},Ou=()=>{Mc.value=!1};let Zi=0;const Ux=()=>(Zo&&(On(()=>{Zi||(window.addEventListener("compositionstart",$u),window.addEventListener("compositionend",Ou)),Zi++}),kt(()=>{Zi<=1?(window.removeEventListener("compositionstart",$u),window.removeEventListener("compositionend",Ou),Zi=0):Zi--})),Mc);function Qg(e){const t={isDeactivated:!1};let n=!1;return Kf(()=>{if(t.isDeactivated=!1,!n){n=!0;return}e()}),yc(()=>{t.isDeactivated=!0,n||(n=!0)}),t}const Hu="n-form-item";function em(e,{defaultSize:t="medium",mergedSize:n,mergedDisabled:o}={}){const i=Ie(Hu,null);We(Hu,null);const r=z(n?()=>n(i):()=>{const{size:l}=e;if(l)return l;if(i){const{mergedSize:c}=i;if(c.value!==void 0)return c.value}return t}),a=z(o?()=>o(i):()=>{const{disabled:l}=e;return l!==void 0?l:i?i.disabled.value:!1}),s=z(()=>{const{status:l}=e;return l||(i==null?void 0:i.mergedValidationStatus.value)});return kt(()=>{i&&i.restoreValidation()}),{mergedSizeRef:r,mergedDisabledRef:a,mergedStatusRef:s,nTriggerFormBlur(){i&&i.handleContentBlur()},nTriggerFormChange(){i&&i.handleContentChange()},nTriggerFormFocus(){i&&i.handleContentFocus()},nTriggerFormInput(){i&&i.handleContentInput()}}}var qx=typeof global=="object"&&global&&global.Object===Object&&global;const tm=qx;var Xx=typeof self=="object"&&self&&self.Object===Object&&self,Zx=tm||Xx||Function("return this")();const Hn=Zx;var Yx=Hn.Symbol;const go=Yx;var nm=Object.prototype,Jx=nm.hasOwnProperty,Qx=nm.toString,Yi=go?go.toStringTag:void 0;function ek(e){var t=Jx.call(e,Yi),n=e[Yi];try{e[Yi]=void 0;var o=!0}catch{}var i=Qx.call(e);return o&&(t?e[Yi]=n:delete e[Yi]),i}var tk=Object.prototype,nk=tk.toString;function ok(e){return nk.call(e)}var ik="[object Null]",rk="[object Undefined]",Bu=go?go.toStringTag:void 0;function Yo(e){return e==null?e===void 0?rk:ik:Bu&&Bu in Object(e)?ek(e):ok(e)}function mo(e){return e!=null&&typeof e=="object"}var ak="[object Symbol]";function ds(e){return typeof e=="symbol"||mo(e)&&Yo(e)==ak}function om(e,t){for(var n=-1,o=e==null?0:e.length,i=Array(o);++n0){if(++t>=jk)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Uk(e){return function(){return e}}var qk=function(){try{var e=Qo(Object,"defineProperty");return e({},"",{}),e}catch{}}();const Oa=qk;var Xk=Oa?function(e,t){return Oa(e,"toString",{configurable:!0,enumerable:!1,value:Uk(t),writable:!0})}:Dc;const Zk=Xk;var Yk=Kk(Zk);const Jk=Yk;function Qk(e,t,n,o){for(var i=e.length,r=n+(o?1:-1);o?r--:++r-1&&e%1==0&&e-1&&e%1==0&&e<=lC}function ei(e){return e!=null&&Oc(e.length)&&!Lc(e)}function cC(e,t,n){if(!$n(n))return!1;var o=typeof t;return(o=="number"?ei(n)&&$c(t,n.length):o=="string"&&t in n)?Fr(n[t],e):!1}function dC(e){return sC(function(t,n){var o=-1,i=n.length,r=i>1?n[i-1]:void 0,a=i>2?n[2]:void 0;for(r=e.length>3&&typeof r=="function"?(i--,r):void 0,a&&cC(n[0],n[1],a)&&(r=i<3?void 0:r,i=1),t=Object(t);++o-1}function P4(e,t){var n=this.__data__,o=fs(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}function Un(e){var t=-1,n=e==null?0:e.length;for(this.clear();++ti?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var r=Array(i);++o=o?e:J4(e,t,n)}var e3="\\ud800-\\udfff",t3="\\u0300-\\u036f",n3="\\ufe20-\\ufe2f",o3="\\u20d0-\\u20ff",i3=t3+n3+o3,r3="\\ufe0e\\ufe0f",a3="\\u200d",s3=RegExp("["+a3+e3+i3+r3+"]");function mm(e){return s3.test(e)}function l3(e){return e.split("")}var pm="\\ud800-\\udfff",c3="\\u0300-\\u036f",d3="\\ufe20-\\ufe2f",u3="\\u20d0-\\u20ff",h3=c3+d3+u3,f3="\\ufe0e\\ufe0f",g3="["+pm+"]",El="["+h3+"]",Rl="\\ud83c[\\udffb-\\udfff]",m3="(?:"+El+"|"+Rl+")",bm="[^"+pm+"]",vm="(?:\\ud83c[\\udde6-\\uddff]){2}",ym="[\\ud800-\\udbff][\\udc00-\\udfff]",p3="\\u200d",xm=m3+"?",km="["+f3+"]?",b3="(?:"+p3+"(?:"+[bm,vm,ym].join("|")+")"+km+xm+")*",v3=km+xm+b3,y3="(?:"+[bm+El+"?",El,vm,ym,g3].join("|")+")",x3=RegExp(Rl+"(?="+Rl+")|"+y3+v3,"g");function k3(e){return e.match(x3)||[]}function C3(e){return mm(e)?k3(e):l3(e)}function T3(e){return function(t){t=ms(t);var n=mm(t)?C3(t):void 0,o=n?n[0]:t.charAt(0),i=n?Q4(n,1).join(""):t.slice(1);return o[e]()+i}}var w3=T3("toUpperCase");const S3=w3;function _3(e,t,n,o){var i=-1,r=e==null?0:e.length;for(o&&r&&(n=e[++i]);++is))return!1;var c=r.get(e),d=r.get(t);if(c&&d)return c==t&&d==e;var u=-1,h=!0,m=n&Z5?new za:void 0;for(r.set(e,t),r.set(t,e);++u-1?i[r?t[a]:a]:void 0}}var K6=Math.max;function U6(e,t,n){var o=e==null?0:e.length;if(!o)return-1;var i=n==null?0:xk(n);return i<0&&(i=K6(o+i,0)),Qk(e,bs(t),i)}var q6=V6(U6);const X6=q6;function Z6(e,t){var n=-1,o=ei(e)?Array(e.length):[];return zm(e,function(i,r,a){o[++n]=t(i,r,a)}),o}function Y6(e,t){var n=an(e)?om:Z6;return n(e,bs(t))}var J6=Object.prototype,Q6=J6.hasOwnProperty,eT=F6(function(e,t,n){Q6.call(e,n)?e[n].push(t):us(e,n,[t])});const tT=eT;var nT=m5(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()});const oT=nT;var iT=dC(function(e,t,n){Fm(e,t,n)});const ir=iT,yo={fontFamily:'v-sans, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',fontFamilyMono:"v-mono, SFMono-Regular, Menlo, Consolas, Courier, monospace",fontWeight:"400",fontWeightStrong:"500",cubicBezierEaseInOut:"cubic-bezier(.4, 0, .2, 1)",cubicBezierEaseOut:"cubic-bezier(0, 0, .2, 1)",cubicBezierEaseIn:"cubic-bezier(.4, 0, 1, 1)",borderRadius:"3px",borderRadiusSmall:"2px",fontSize:"14px",fontSizeMini:"12px",fontSizeTiny:"12px",fontSizeSmall:"14px",fontSizeMedium:"14px",fontSizeLarge:"15px",fontSizeHuge:"16px",lineHeight:"1.6",heightMini:"16px",heightTiny:"22px",heightSmall:"28px",heightMedium:"34px",heightLarge:"40px",heightHuge:"46px"},{fontSize:rT,fontFamily:aT,lineHeight:sT}=yo,Wm=N("body",` margin: 0; - font-size: ${aT}; - font-family: ${sT}; - line-height: ${lT}; + font-size: ${rT}; + font-family: ${aT}; + line-height: ${sT}; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; `,[N("input",` font-family: inherit; font-size: inherit; - `)]),Vn="n-config-provider",Rr="naive-ui-style";function Pe(e,t,n,o,i,r){const a=zr(),s=Ie(Vn,null);if(n){const c=()=>{const d=r==null?void 0:r.value;n.mount({id:d===void 0?t:d+t,head:!0,props:{bPrefix:d?`.${d}-`:void 0},anchorMetaName:Rr,ssr:a}),s!=null&&s.preflightStyleDisabled||Wm.mount({id:"n-global",head:!0,anchorMetaName:Rr,ssr:a})};a?c():On(c)}return z(()=>{var c;const{theme:{common:d,self:u,peers:h={}}={},themeOverrides:m={},builtinThemeOverrides:g={}}=i,{common:v,peers:p}=m,{common:f=void 0,[e]:{common:x=void 0,self:A=void 0,peers:k={}}={}}=(s==null?void 0:s.mergedThemeRef.value)||{},{common:w=void 0,[e]:I={}}=(s==null?void 0:s.mergedThemeOverridesRef.value)||{},{common:C,peers:S={}}=I,E=ir({},d||x||f||o.common,w,C,v),R=ir((c=u||A||o.self)===null||c===void 0?void 0:c(E),g,I,m);return{common:E,self:R,peers:ir({},o.peers,k,h),peerOverrides:ir({},g.peers,S,p)}})}Pe.props={theme:Object,themeOverrides:Object,builtinThemeOverrides:Object};const Mr="n";function lt(e={},t={defaultBordered:!0}){const n=Ie(Vn,null);return{inlineThemeDisabled:n==null?void 0:n.inlineThemeDisabled,mergedRtlRef:n==null?void 0:n.mergedRtlRef,mergedComponentPropsRef:n==null?void 0:n.mergedComponentPropsRef,mergedBreakpointsRef:n==null?void 0:n.mergedBreakpointsRef,mergedBorderedRef:z(()=>{var o,i;const{bordered:r}=e;return r!==void 0?r:(i=(o=n==null?void 0:n.mergedBorderedRef.value)!==null&&o!==void 0?o:t.defaultBordered)!==null&&i!==void 0?i:!0}),mergedClsPrefixRef:n?n.mergedClsPrefixRef:gc(Mr),namespaceRef:z(()=>n==null?void 0:n.mergedNamespaceRef.value)}}function cT(){const e=Ie(Vn,null);return e?e.mergedClsPrefixRef:gc(Mr)}const dT={name:"en-US",global:{undo:"Undo",redo:"Redo",confirm:"Confirm",clear:"Clear"},Popconfirm:{positiveText:"Confirm",negativeText:"Cancel"},Cascader:{placeholder:"Please Select",loading:"Loading",loadingRequiredMessage:e=>`Please load all ${e}'s descendants before checking it.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",clear:"Clear",now:"Now",confirm:"Confirm",selectTime:"Select Time",selectDate:"Select Date",datePlaceholder:"Select Date",datetimePlaceholder:"Select Date and Time",monthPlaceholder:"Select Month",yearPlaceholder:"Select Year",quarterPlaceholder:"Select Quarter",startDatePlaceholder:"Start Date",endDatePlaceholder:"End Date",startDatetimePlaceholder:"Start Date and Time",endDatetimePlaceholder:"End Date and Time",startMonthPlaceholder:"Start Month",endMonthPlaceholder:"End Month",monthBeforeYear:!0,firstDayOfWeek:6,today:"Today"},DataTable:{checkTableAll:"Select all in the table",uncheckTableAll:"Unselect all in the table",confirm:"Confirm",clear:"Clear"},LegacyTransfer:{sourceTitle:"Source",targetTitle:"Target"},Transfer:{selectAll:"Select all",unselectAll:"Unselect all",clearAll:"Clear",total:e=>`Total ${e} items`,selected:e=>`${e} items selected`},Empty:{description:"No Data"},Select:{placeholder:"Please Select"},TimePicker:{placeholder:"Select Time",positiveText:"OK",negativeText:"Cancel",now:"Now"},Pagination:{goto:"Goto",selectionSuffix:"page"},DynamicTags:{add:"Add"},Log:{loading:"Loading"},Input:{placeholder:"Please Input"},InputNumber:{placeholder:"Please Input"},DynamicInput:{create:"Create"},ThemeEditor:{title:"Theme Editor",clearAllVars:"Clear All Variables",clearSearch:"Clear Search",filterCompName:"Filter Component Name",filterVarName:"Filter Variable Name",import:"Import",export:"Export",restore:"Reset to Default"},Image:{tipPrevious:"Previous picture (←)",tipNext:"Next picture (→)",tipCounterclockwise:"Counterclockwise",tipClockwise:"Clockwise",tipZoomOut:"Zoom out",tipZoomIn:"Zoom in",tipDownload:"Download",tipClose:"Close (Esc)",tipOriginalSize:"Zoom to original size"}},uT=dT;function Qs(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,o=e.formats[n]||e.formats[e.defaultWidth];return o}}function Ji(e){return function(t,n){var o=n!=null&&n.context?String(n.context):"standalone",i;if(o==="formatting"&&e.formattingValues){var r=e.defaultFormattingWidth||e.defaultWidth,a=n!=null&&n.width?String(n.width):r;i=e.formattingValues[a]||e.formattingValues[r]}else{var s=e.defaultWidth,l=n!=null&&n.width?String(n.width):e.defaultWidth;i=e.values[l]||e.values[s]}var c=e.argumentCallback?e.argumentCallback(t):t;return i[c]}}function Qi(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=n.width,i=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],r=t.match(i);if(!r)return null;var a=r[0],s=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?fT(s,function(u){return u.test(a)}):hT(s,function(u){return u.test(a)}),c;c=e.valueCallback?e.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c;var d=t.slice(a.length);return{value:c,rest:d}}}function hT(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function fT(e,t){for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:{},o=t.match(e.matchPattern);if(!o)return null;var i=o[0],r=t.match(e.parsePattern);if(!r)return null;var a=e.valueCallback?e.valueCallback(r[0]):r[0];a=n.valueCallback?n.valueCallback(a):a;var s=t.slice(i.length);return{value:a,rest:s}}}var mT={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},pT=function(t,n,o){var i,r=mT[t];return typeof r=="string"?i=r:n===1?i=r.one:i=r.other.replace("{{count}}",n.toString()),o!=null&&o.addSuffix?o.comparison&&o.comparison>0?"in "+i:i+" ago":i};const bT=pT;var vT={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},yT={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},xT={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},kT={date:Qs({formats:vT,defaultWidth:"full"}),time:Qs({formats:yT,defaultWidth:"full"}),dateTime:Qs({formats:xT,defaultWidth:"full"})};const CT=kT;var TT={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},wT=function(t,n,o,i){return TT[t]};const ST=wT;var _T={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},PT={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},AT={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},IT={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},ET={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},RT={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},MT=function(t,n){var o=Number(t),i=o%100;if(i>20||i<10)switch(i%10){case 1:return o+"st";case 2:return o+"nd";case 3:return o+"rd"}return o+"th"},DT={ordinalNumber:MT,era:Ji({values:_T,defaultWidth:"wide"}),quarter:Ji({values:PT,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Ji({values:AT,defaultWidth:"wide"}),day:Ji({values:IT,defaultWidth:"wide"}),dayPeriod:Ji({values:ET,defaultWidth:"wide",formattingValues:RT,defaultFormattingWidth:"wide"})};const LT=DT;var $T=/^(\d+)(th|st|nd|rd)?/i,OT=/\d+/i,HT={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},BT={any:[/^b/i,/^(a|c)/i]},NT={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},zT={any:[/1/i,/2/i,/3/i,/4/i]},FT={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},WT={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},jT={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},GT={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},VT={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},KT={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},UT={ordinalNumber:gT({matchPattern:$T,parsePattern:OT,valueCallback:function(t){return parseInt(t,10)}}),era:Qi({matchPatterns:HT,defaultMatchWidth:"wide",parsePatterns:BT,defaultParseWidth:"any"}),quarter:Qi({matchPatterns:NT,defaultMatchWidth:"wide",parsePatterns:zT,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Qi({matchPatterns:FT,defaultMatchWidth:"wide",parsePatterns:WT,defaultParseWidth:"any"}),day:Qi({matchPatterns:jT,defaultMatchWidth:"wide",parsePatterns:GT,defaultParseWidth:"any"}),dayPeriod:Qi({matchPatterns:VT,defaultMatchWidth:"any",parsePatterns:KT,defaultParseWidth:"any"})};const qT=UT;var XT={code:"en-US",formatDistance:bT,formatLong:CT,formatRelative:ST,localize:LT,match:qT,options:{weekStartsOn:0,firstWeekContainsDate:1}};const ZT=XT,YT={name:"en-US",locale:ZT},JT=YT;function QT(e){const{mergedLocaleRef:t,mergedDateLocaleRef:n}=Ie(Vn,null)||{},o=z(()=>{var r,a;return(a=(r=t==null?void 0:t.value)===null||r===void 0?void 0:r[e])!==null&&a!==void 0?a:uT[e]});return{dateLocaleRef:z(()=>{var r;return(r=n==null?void 0:n.value)!==null&&r!==void 0?r:JT}),localeRef:o}}function Bi(e,t,n){if(!t)return;const o=zr(),i=Ie(Vn,null),r=()=>{const a=n.value;t.mount({id:a===void 0?e:a+e,head:!0,anchorMetaName:Rr,props:{bPrefix:a?`.${a}-`:void 0},ssr:o}),i!=null&&i.preflightStyleDisabled||Wm.mount({id:"n-global",head:!0,anchorMetaName:Rr,ssr:o})};o?r():On(r)}function _t(e,t,n,o){var i;n||yg("useThemeClass","cssVarsRef is not passed");const r=(i=Ie(Vn,null))===null||i===void 0?void 0:i.mergedThemeHashRef,a=j(""),s=zr();let l;const c=`__${e}`,d=()=>{let u=c;const h=t?t.value:void 0,m=r==null?void 0:r.value;m&&(u+="-"+m),h&&(u+="-"+h);const{themeOverrides:g,builtinThemeOverrides:v}=o;g&&(u+="-"+_r(JSON.stringify(g))),v&&(u+="-"+_r(JSON.stringify(v))),a.value=u,l=()=>{const p=n.value;let f="";for(const x in p)f+=`${x}: ${p[x]};`;N(`.${u}`,f).mount({id:u,ssr:s}),l=void 0}};return ho(()=>{d()}),{themeClass:a,onRender:()=>{l==null||l()}}}function ti(e,t,n){if(!t)return;const o=zr(),i=z(()=>{const{value:a}=t;if(!a)return;const s=a[e];if(s)return s}),r=()=>{ho(()=>{const{value:a}=n,s=`${a}${e}Rtl`;if(P2(s,o))return;const{value:l}=i;l&&l.style.mount({id:s,head:!0,anchorMetaName:Rr,props:{bPrefix:a?`.${a}-`:void 0},ssr:o})})};return o?r():On(r),i}function Ni(e,t){return se({name:_3(e),setup(){var n;const o=(n=Ie(Vn,null))===null||n===void 0?void 0:n.mergedIconsRef;return()=>{var i;const r=(i=o==null?void 0:o.value)===null||i===void 0?void 0:i[e];return r?r():t}}})}const ew=se({name:"ChevronRight",render(){return T("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},T("path",{d:"M5.64645 3.14645C5.45118 3.34171 5.45118 3.65829 5.64645 3.85355L9.79289 8L5.64645 12.1464C5.45118 12.3417 5.45118 12.6583 5.64645 12.8536C5.84171 13.0488 6.15829 13.0488 6.35355 12.8536L10.8536 8.35355C11.0488 8.15829 11.0488 7.84171 10.8536 7.64645L6.35355 3.14645C6.15829 2.95118 5.84171 2.95118 5.64645 3.14645Z",fill:"currentColor"}))}}),tw=Ni("close",T("svg",{viewBox:"0 0 12 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0},T("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},T("g",{fill:"currentColor","fill-rule":"nonzero"},T("path",{d:"M2.08859116,2.2156945 L2.14644661,2.14644661 C2.32001296,1.97288026 2.58943736,1.95359511 2.7843055,2.08859116 L2.85355339,2.14644661 L6,5.293 L9.14644661,2.14644661 C9.34170876,1.95118446 9.65829124,1.95118446 9.85355339,2.14644661 C10.0488155,2.34170876 10.0488155,2.65829124 9.85355339,2.85355339 L6.707,6 L9.85355339,9.14644661 C10.0271197,9.32001296 10.0464049,9.58943736 9.91140884,9.7843055 L9.85355339,9.85355339 C9.67998704,10.0271197 9.41056264,10.0464049 9.2156945,9.91140884 L9.14644661,9.85355339 L6,6.707 L2.85355339,9.85355339 C2.65829124,10.0488155 2.34170876,10.0488155 2.14644661,9.85355339 C1.95118446,9.65829124 1.95118446,9.34170876 2.14644661,9.14644661 L5.293,6 L2.14644661,2.85355339 C1.97288026,2.67998704 1.95359511,2.41056264 2.08859116,2.2156945 L2.14644661,2.14644661 L2.08859116,2.2156945 Z"}))))),nw=se({name:"Eye",render(){return T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},T("path",{d:"M255.66 112c-77.94 0-157.89 45.11-220.83 135.33a16 16 0 0 0-.27 17.77C82.92 340.8 161.8 400 255.66 400c92.84 0 173.34-59.38 221.79-135.25a16.14 16.14 0 0 0 0-17.47C428.89 172.28 347.8 112 255.66 112z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"}),T("circle",{cx:"256",cy:"256",r:"80",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"}))}}),ow=se({name:"EyeOff",render(){return T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},T("path",{d:"M432 448a15.92 15.92 0 0 1-11.31-4.69l-352-352a16 16 0 0 1 22.62-22.62l352 352A16 16 0 0 1 432 448z",fill:"currentColor"}),T("path",{d:"M255.66 384c-41.49 0-81.5-12.28-118.92-36.5c-34.07-22-64.74-53.51-88.7-91v-.08c19.94-28.57 41.78-52.73 65.24-72.21a2 2 0 0 0 .14-2.94L93.5 161.38a2 2 0 0 0-2.71-.12c-24.92 21-48.05 46.76-69.08 76.92a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416a239.13 239.13 0 0 0 75.8-12.58a2 2 0 0 0 .77-3.31l-21.58-21.58a4 4 0 0 0-3.83-1a204.8 204.8 0 0 1-51.16 6.47z",fill:"currentColor"}),T("path",{d:"M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96a227.34 227.34 0 0 0-74.89 12.83a2 2 0 0 0-.75 3.31l21.55 21.55a4 4 0 0 0 3.88 1a192.82 192.82 0 0 1 50.21-6.69c40.69 0 80.58 12.43 118.55 37c34.71 22.4 65.74 53.88 89.76 91a.13.13 0 0 1 0 .16a310.72 310.72 0 0 1-64.12 72.73a2 2 0 0 0-.15 2.95l19.9 19.89a2 2 0 0 0 2.7.13a343.49 343.49 0 0 0 68.64-78.48a32.2 32.2 0 0 0-.1-34.78z",fill:"currentColor"}),T("path",{d:"M256 160a95.88 95.88 0 0 0-21.37 2.4a2 2 0 0 0-1 3.38l112.59 112.56a2 2 0 0 0 3.38-1A96 96 0 0 0 256 160z",fill:"currentColor"}),T("path",{d:"M165.78 233.66a2 2 0 0 0-3.38 1a96 96 0 0 0 115 115a2 2 0 0 0 1-3.38z",fill:"currentColor"}))}}),Wc=Ni("error",T("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},T("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},T("g",{"fill-rule":"nonzero"},T("path",{d:"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M17.8838835,16.1161165 L17.7823881,16.0249942 C17.3266086,15.6583353 16.6733914,15.6583353 16.2176119,16.0249942 L16.1161165,16.1161165 L16.0249942,16.2176119 C15.6583353,16.6733914 15.6583353,17.3266086 16.0249942,17.7823881 L16.1161165,17.8838835 L22.233,24 L16.1161165,30.1161165 L16.0249942,30.2176119 C15.6583353,30.6733914 15.6583353,31.3266086 16.0249942,31.7823881 L16.1161165,31.8838835 L16.2176119,31.9750058 C16.6733914,32.3416647 17.3266086,32.3416647 17.7823881,31.9750058 L17.8838835,31.8838835 L24,25.767 L30.1161165,31.8838835 L30.2176119,31.9750058 C30.6733914,32.3416647 31.3266086,32.3416647 31.7823881,31.9750058 L31.8838835,31.8838835 L31.9750058,31.7823881 C32.3416647,31.3266086 32.3416647,30.6733914 31.9750058,30.2176119 L31.8838835,30.1161165 L25.767,24 L31.8838835,17.8838835 L31.9750058,17.7823881 C32.3416647,17.3266086 32.3416647,16.6733914 31.9750058,16.2176119 L31.8838835,16.1161165 L31.7823881,16.0249942 C31.3266086,15.6583353 30.6733914,15.6583353 30.2176119,16.0249942 L30.1161165,16.1161165 L24,22.233 L17.8838835,16.1161165 L17.7823881,16.0249942 L17.8838835,16.1161165 Z"}))))),Fa=Ni("info",T("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},T("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},T("g",{"fill-rule":"nonzero"},T("path",{d:"M14,2 C20.6274,2 26,7.37258 26,14 C26,20.6274 20.6274,26 14,26 C7.37258,26 2,20.6274 2,14 C2,7.37258 7.37258,2 14,2 Z M14,11 C13.4477,11 13,11.4477 13,12 L13,12 L13,20 C13,20.5523 13.4477,21 14,21 C14.5523,21 15,20.5523 15,20 L15,20 L15,12 C15,11.4477 14.5523,11 14,11 Z M14,6.75 C13.3096,6.75 12.75,7.30964 12.75,8 C12.75,8.69036 13.3096,9.25 14,9.25 C14.6904,9.25 15.25,8.69036 15.25,8 C15.25,7.30964 14.6904,6.75 14,6.75 Z"}))))),jc=Ni("success",T("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},T("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},T("g",{"fill-rule":"nonzero"},T("path",{d:"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M32.6338835,17.6161165 C32.1782718,17.1605048 31.4584514,17.1301307 30.9676119,17.5249942 L30.8661165,17.6161165 L20.75,27.732233 L17.1338835,24.1161165 C16.6457281,23.6279612 15.8542719,23.6279612 15.3661165,24.1161165 C14.9105048,24.5717282 14.8801307,25.2915486 15.2749942,25.7823881 L15.3661165,25.8838835 L19.8661165,30.3838835 C20.3217282,30.8394952 21.0415486,30.8698693 21.5323881,30.4750058 L21.6338835,30.3838835 L32.6338835,19.3838835 C33.1220388,18.8957281 33.1220388,18.1042719 32.6338835,17.6161165 Z"}))))),Gc=Ni("warning",T("svg",{viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},T("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},T("g",{"fill-rule":"nonzero"},T("path",{d:"M12,2 C17.523,2 22,6.478 22,12 C22,17.522 17.523,22 12,22 C6.477,22 2,17.522 2,12 C2,6.478 6.477,2 12,2 Z M12.0018002,15.0037242 C11.450254,15.0037242 11.0031376,15.4508407 11.0031376,16.0023869 C11.0031376,16.553933 11.450254,17.0010495 12.0018002,17.0010495 C12.5533463,17.0010495 13.0004628,16.553933 13.0004628,16.0023869 C13.0004628,15.4508407 12.5533463,15.0037242 12.0018002,15.0037242 Z M11.99964,7 C11.4868042,7.00018474 11.0642719,7.38637706 11.0066858,7.8837365 L11,8.00036004 L11.0018003,13.0012393 L11.00857,13.117858 C11.0665141,13.6151758 11.4893244,14.0010638 12.0021602,14.0008793 C12.514996,14.0006946 12.9375283,13.6145023 12.9951144,13.1171428 L13.0018002,13.0005193 L13,7.99964009 L12.9932303,7.8830214 C12.9352861,7.38570354 12.5124758,6.99981552 11.99964,7 Z"}))))),iw=se({name:"ChevronDown",render(){return T("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},T("path",{d:"M3.14645 5.64645C3.34171 5.45118 3.65829 5.45118 3.85355 5.64645L8 9.79289L12.1464 5.64645C12.3417 5.45118 12.6583 5.45118 12.8536 5.64645C13.0488 5.84171 13.0488 6.15829 12.8536 6.35355L8.35355 10.8536C8.15829 11.0488 7.84171 11.0488 7.64645 10.8536L3.14645 6.35355C2.95118 6.15829 2.95118 5.84171 3.14645 5.64645Z",fill:"currentColor"}))}}),rw=Ni("clear",T("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},T("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},T("g",{fill:"currentColor","fill-rule":"nonzero"},T("path",{d:"M8,2 C11.3137085,2 14,4.6862915 14,8 C14,11.3137085 11.3137085,14 8,14 C4.6862915,14 2,11.3137085 2,8 C2,4.6862915 4.6862915,2 8,2 Z M6.5343055,5.83859116 C6.33943736,5.70359511 6.07001296,5.72288026 5.89644661,5.89644661 L5.89644661,5.89644661 L5.83859116,5.9656945 C5.70359511,6.16056264 5.72288026,6.42998704 5.89644661,6.60355339 L5.89644661,6.60355339 L7.293,8 L5.89644661,9.39644661 L5.83859116,9.4656945 C5.70359511,9.66056264 5.72288026,9.92998704 5.89644661,10.1035534 L5.89644661,10.1035534 L5.9656945,10.1614088 C6.16056264,10.2964049 6.42998704,10.2771197 6.60355339,10.1035534 L6.60355339,10.1035534 L8,8.707 L9.39644661,10.1035534 L9.4656945,10.1614088 C9.66056264,10.2964049 9.92998704,10.2771197 10.1035534,10.1035534 L10.1035534,10.1035534 L10.1614088,10.0343055 C10.2964049,9.83943736 10.2771197,9.57001296 10.1035534,9.39644661 L10.1035534,9.39644661 L8.707,8 L10.1035534,6.60355339 L10.1614088,6.5343055 C10.2964049,6.33943736 10.2771197,6.07001296 10.1035534,5.89644661 L10.1035534,5.89644661 L10.0343055,5.83859116 C9.83943736,5.70359511 9.57001296,5.72288026 9.39644661,5.89644661 L9.39644661,5.89644661 L8,7.293 L6.60355339,5.89644661 Z"}))))),vs=se({name:"BaseIconSwitchTransition",setup(e,{slots:t}){const n=Br();return()=>T(gn,{name:"icon-switch-transition",appear:n.value},t)}}),jm=se({name:"FadeInExpandTransition",props:{appear:Boolean,group:Boolean,mode:String,onLeave:Function,onAfterLeave:Function,onAfterEnter:Function,width:Boolean,reverse:Boolean},setup(e,{slots:t}){function n(s){e.width?s.style.maxWidth=`${s.offsetWidth}px`:s.style.maxHeight=`${s.offsetHeight}px`,s.offsetWidth}function o(s){e.width?s.style.maxWidth="0":s.style.maxHeight="0",s.offsetWidth;const{onLeave:l}=e;l&&l()}function i(s){e.width?s.style.maxWidth="":s.style.maxHeight="";const{onAfterLeave:l}=e;l&&l()}function r(s){if(s.style.transition="none",e.width){const l=s.offsetWidth;s.style.maxWidth="0",s.offsetWidth,s.style.transition="",s.style.maxWidth=`${l}px`}else if(e.reverse)s.style.maxHeight=`${s.offsetHeight}px`,s.offsetHeight,s.style.transition="",s.style.maxHeight="0";else{const l=s.offsetHeight;s.style.maxHeight="0",s.offsetWidth,s.style.transition="",s.style.maxHeight=`${l}px`}s.offsetWidth}function a(s){var l;e.width?s.style.maxWidth="":e.reverse||(s.style.maxHeight=""),(l=e.onAfterEnter)===null||l===void 0||l.call(e)}return()=>{const{group:s,width:l,appear:c,mode:d}=e,u=s?Wy:gn,h={name:l?"fade-in-width-expand-transition":"fade-in-height-expand-transition",appear:c,onEnter:r,onAfterEnter:a,onBeforeLeave:n,onLeave:o,onAfterLeave:i};return s||(h.mode=d),T(u,h,t)}}}),aw=Q("base-icon",` + `)]),Vn="n-config-provider",Rr="naive-ui-style";function Pe(e,t,n,o,i,r){const a=zr(),s=Ie(Vn,null);if(n){const c=()=>{const d=r==null?void 0:r.value;n.mount({id:d===void 0?t:d+t,head:!0,props:{bPrefix:d?`.${d}-`:void 0},anchorMetaName:Rr,ssr:a}),s!=null&&s.preflightStyleDisabled||Wm.mount({id:"n-global",head:!0,anchorMetaName:Rr,ssr:a})};a?c():On(c)}return z(()=>{var c;const{theme:{common:d,self:u,peers:h={}}={},themeOverrides:m={},builtinThemeOverrides:g={}}=i,{common:v,peers:p}=m,{common:f=void 0,[e]:{common:x=void 0,self:A=void 0,peers:k={}}={}}=(s==null?void 0:s.mergedThemeRef.value)||{},{common:w=void 0,[e]:I={}}=(s==null?void 0:s.mergedThemeOverridesRef.value)||{},{common:C,peers:S={}}=I,E=ir({},d||x||f||o.common,w,C,v),R=ir((c=u||A||o.self)===null||c===void 0?void 0:c(E),g,I,m);return{common:E,self:R,peers:ir({},o.peers,k,h),peerOverrides:ir({},g.peers,S,p)}})}Pe.props={theme:Object,themeOverrides:Object,builtinThemeOverrides:Object};const Mr="n";function lt(e={},t={defaultBordered:!0}){const n=Ie(Vn,null);return{inlineThemeDisabled:n==null?void 0:n.inlineThemeDisabled,mergedRtlRef:n==null?void 0:n.mergedRtlRef,mergedComponentPropsRef:n==null?void 0:n.mergedComponentPropsRef,mergedBreakpointsRef:n==null?void 0:n.mergedBreakpointsRef,mergedBorderedRef:z(()=>{var o,i;const{bordered:r}=e;return r!==void 0?r:(i=(o=n==null?void 0:n.mergedBorderedRef.value)!==null&&o!==void 0?o:t.defaultBordered)!==null&&i!==void 0?i:!0}),mergedClsPrefixRef:n?n.mergedClsPrefixRef:gc(Mr),namespaceRef:z(()=>n==null?void 0:n.mergedNamespaceRef.value)}}function lT(){const e=Ie(Vn,null);return e?e.mergedClsPrefixRef:gc(Mr)}const cT={name:"en-US",global:{undo:"Undo",redo:"Redo",confirm:"Confirm",clear:"Clear"},Popconfirm:{positiveText:"Confirm",negativeText:"Cancel"},Cascader:{placeholder:"Please Select",loading:"Loading",loadingRequiredMessage:e=>`Please load all ${e}'s descendants before checking it.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",clear:"Clear",now:"Now",confirm:"Confirm",selectTime:"Select Time",selectDate:"Select Date",datePlaceholder:"Select Date",datetimePlaceholder:"Select Date and Time",monthPlaceholder:"Select Month",yearPlaceholder:"Select Year",quarterPlaceholder:"Select Quarter",startDatePlaceholder:"Start Date",endDatePlaceholder:"End Date",startDatetimePlaceholder:"Start Date and Time",endDatetimePlaceholder:"End Date and Time",startMonthPlaceholder:"Start Month",endMonthPlaceholder:"End Month",monthBeforeYear:!0,firstDayOfWeek:6,today:"Today"},DataTable:{checkTableAll:"Select all in the table",uncheckTableAll:"Unselect all in the table",confirm:"Confirm",clear:"Clear"},LegacyTransfer:{sourceTitle:"Source",targetTitle:"Target"},Transfer:{selectAll:"Select all",unselectAll:"Unselect all",clearAll:"Clear",total:e=>`Total ${e} items`,selected:e=>`${e} items selected`},Empty:{description:"No Data"},Select:{placeholder:"Please Select"},TimePicker:{placeholder:"Select Time",positiveText:"OK",negativeText:"Cancel",now:"Now"},Pagination:{goto:"Goto",selectionSuffix:"page"},DynamicTags:{add:"Add"},Log:{loading:"Loading"},Input:{placeholder:"Please Input"},InputNumber:{placeholder:"Please Input"},DynamicInput:{create:"Create"},ThemeEditor:{title:"Theme Editor",clearAllVars:"Clear All Variables",clearSearch:"Clear Search",filterCompName:"Filter Component Name",filterVarName:"Filter Variable Name",import:"Import",export:"Export",restore:"Reset to Default"},Image:{tipPrevious:"Previous picture (←)",tipNext:"Next picture (→)",tipCounterclockwise:"Counterclockwise",tipClockwise:"Clockwise",tipZoomOut:"Zoom out",tipZoomIn:"Zoom in",tipDownload:"Download",tipClose:"Close (Esc)",tipOriginalSize:"Zoom to original size"}},dT=cT;function Qs(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,o=e.formats[n]||e.formats[e.defaultWidth];return o}}function Ji(e){return function(t,n){var o=n!=null&&n.context?String(n.context):"standalone",i;if(o==="formatting"&&e.formattingValues){var r=e.defaultFormattingWidth||e.defaultWidth,a=n!=null&&n.width?String(n.width):r;i=e.formattingValues[a]||e.formattingValues[r]}else{var s=e.defaultWidth,l=n!=null&&n.width?String(n.width):e.defaultWidth;i=e.values[l]||e.values[s]}var c=e.argumentCallback?e.argumentCallback(t):t;return i[c]}}function Qi(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=n.width,i=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],r=t.match(i);if(!r)return null;var a=r[0],s=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?hT(s,function(u){return u.test(a)}):uT(s,function(u){return u.test(a)}),c;c=e.valueCallback?e.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c;var d=t.slice(a.length);return{value:c,rest:d}}}function uT(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function hT(e,t){for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:{},o=t.match(e.matchPattern);if(!o)return null;var i=o[0],r=t.match(e.parsePattern);if(!r)return null;var a=e.valueCallback?e.valueCallback(r[0]):r[0];a=n.valueCallback?n.valueCallback(a):a;var s=t.slice(i.length);return{value:a,rest:s}}}var gT={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},mT=function(t,n,o){var i,r=gT[t];return typeof r=="string"?i=r:n===1?i=r.one:i=r.other.replace("{{count}}",n.toString()),o!=null&&o.addSuffix?o.comparison&&o.comparison>0?"in "+i:i+" ago":i};const pT=mT;var bT={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},vT={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},yT={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},xT={date:Qs({formats:bT,defaultWidth:"full"}),time:Qs({formats:vT,defaultWidth:"full"}),dateTime:Qs({formats:yT,defaultWidth:"full"})};const kT=xT;var CT={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},TT=function(t,n,o,i){return CT[t]};const wT=TT;var ST={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},_T={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},PT={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},AT={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},IT={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},ET={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},RT=function(t,n){var o=Number(t),i=o%100;if(i>20||i<10)switch(i%10){case 1:return o+"st";case 2:return o+"nd";case 3:return o+"rd"}return o+"th"},MT={ordinalNumber:RT,era:Ji({values:ST,defaultWidth:"wide"}),quarter:Ji({values:_T,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Ji({values:PT,defaultWidth:"wide"}),day:Ji({values:AT,defaultWidth:"wide"}),dayPeriod:Ji({values:IT,defaultWidth:"wide",formattingValues:ET,defaultFormattingWidth:"wide"})};const DT=MT;var LT=/^(\d+)(th|st|nd|rd)?/i,$T=/\d+/i,OT={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},HT={any:[/^b/i,/^(a|c)/i]},BT={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},NT={any:[/1/i,/2/i,/3/i,/4/i]},zT={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},FT={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},WT={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},jT={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},GT={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},VT={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},KT={ordinalNumber:fT({matchPattern:LT,parsePattern:$T,valueCallback:function(t){return parseInt(t,10)}}),era:Qi({matchPatterns:OT,defaultMatchWidth:"wide",parsePatterns:HT,defaultParseWidth:"any"}),quarter:Qi({matchPatterns:BT,defaultMatchWidth:"wide",parsePatterns:NT,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Qi({matchPatterns:zT,defaultMatchWidth:"wide",parsePatterns:FT,defaultParseWidth:"any"}),day:Qi({matchPatterns:WT,defaultMatchWidth:"wide",parsePatterns:jT,defaultParseWidth:"any"}),dayPeriod:Qi({matchPatterns:GT,defaultMatchWidth:"any",parsePatterns:VT,defaultParseWidth:"any"})};const UT=KT;var qT={code:"en-US",formatDistance:pT,formatLong:kT,formatRelative:wT,localize:DT,match:UT,options:{weekStartsOn:0,firstWeekContainsDate:1}};const XT=qT,ZT={name:"en-US",locale:XT},YT=ZT;function JT(e){const{mergedLocaleRef:t,mergedDateLocaleRef:n}=Ie(Vn,null)||{},o=z(()=>{var r,a;return(a=(r=t==null?void 0:t.value)===null||r===void 0?void 0:r[e])!==null&&a!==void 0?a:dT[e]});return{dateLocaleRef:z(()=>{var r;return(r=n==null?void 0:n.value)!==null&&r!==void 0?r:YT}),localeRef:o}}function Bi(e,t,n){if(!t)return;const o=zr(),i=Ie(Vn,null),r=()=>{const a=n.value;t.mount({id:a===void 0?e:a+e,head:!0,anchorMetaName:Rr,props:{bPrefix:a?`.${a}-`:void 0},ssr:o}),i!=null&&i.preflightStyleDisabled||Wm.mount({id:"n-global",head:!0,anchorMetaName:Rr,ssr:o})};o?r():On(r)}function _t(e,t,n,o){var i;n||yg("useThemeClass","cssVarsRef is not passed");const r=(i=Ie(Vn,null))===null||i===void 0?void 0:i.mergedThemeHashRef,a=j(""),s=zr();let l;const c=`__${e}`,d=()=>{let u=c;const h=t?t.value:void 0,m=r==null?void 0:r.value;m&&(u+="-"+m),h&&(u+="-"+h);const{themeOverrides:g,builtinThemeOverrides:v}=o;g&&(u+="-"+_r(JSON.stringify(g))),v&&(u+="-"+_r(JSON.stringify(v))),a.value=u,l=()=>{const p=n.value;let f="";for(const x in p)f+=`${x}: ${p[x]};`;N(`.${u}`,f).mount({id:u,ssr:s}),l=void 0}};return ho(()=>{d()}),{themeClass:a,onRender:()=>{l==null||l()}}}function ti(e,t,n){if(!t)return;const o=zr(),i=z(()=>{const{value:a}=t;if(!a)return;const s=a[e];if(s)return s}),r=()=>{ho(()=>{const{value:a}=n,s=`${a}${e}Rtl`;if(_2(s,o))return;const{value:l}=i;l&&l.style.mount({id:s,head:!0,anchorMetaName:Rr,props:{bPrefix:a?`.${a}-`:void 0},ssr:o})})};return o?r():On(r),i}function Ni(e,t){return se({name:S3(e),setup(){var n;const o=(n=Ie(Vn,null))===null||n===void 0?void 0:n.mergedIconsRef;return()=>{var i;const r=(i=o==null?void 0:o.value)===null||i===void 0?void 0:i[e];return r?r():t}}})}const QT=se({name:"ChevronRight",render(){return T("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},T("path",{d:"M5.64645 3.14645C5.45118 3.34171 5.45118 3.65829 5.64645 3.85355L9.79289 8L5.64645 12.1464C5.45118 12.3417 5.45118 12.6583 5.64645 12.8536C5.84171 13.0488 6.15829 13.0488 6.35355 12.8536L10.8536 8.35355C11.0488 8.15829 11.0488 7.84171 10.8536 7.64645L6.35355 3.14645C6.15829 2.95118 5.84171 2.95118 5.64645 3.14645Z",fill:"currentColor"}))}}),ew=Ni("close",T("svg",{viewBox:"0 0 12 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0},T("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},T("g",{fill:"currentColor","fill-rule":"nonzero"},T("path",{d:"M2.08859116,2.2156945 L2.14644661,2.14644661 C2.32001296,1.97288026 2.58943736,1.95359511 2.7843055,2.08859116 L2.85355339,2.14644661 L6,5.293 L9.14644661,2.14644661 C9.34170876,1.95118446 9.65829124,1.95118446 9.85355339,2.14644661 C10.0488155,2.34170876 10.0488155,2.65829124 9.85355339,2.85355339 L6.707,6 L9.85355339,9.14644661 C10.0271197,9.32001296 10.0464049,9.58943736 9.91140884,9.7843055 L9.85355339,9.85355339 C9.67998704,10.0271197 9.41056264,10.0464049 9.2156945,9.91140884 L9.14644661,9.85355339 L6,6.707 L2.85355339,9.85355339 C2.65829124,10.0488155 2.34170876,10.0488155 2.14644661,9.85355339 C1.95118446,9.65829124 1.95118446,9.34170876 2.14644661,9.14644661 L5.293,6 L2.14644661,2.85355339 C1.97288026,2.67998704 1.95359511,2.41056264 2.08859116,2.2156945 L2.14644661,2.14644661 L2.08859116,2.2156945 Z"}))))),tw=se({name:"Eye",render(){return T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},T("path",{d:"M255.66 112c-77.94 0-157.89 45.11-220.83 135.33a16 16 0 0 0-.27 17.77C82.92 340.8 161.8 400 255.66 400c92.84 0 173.34-59.38 221.79-135.25a16.14 16.14 0 0 0 0-17.47C428.89 172.28 347.8 112 255.66 112z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"}),T("circle",{cx:"256",cy:"256",r:"80",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"}))}}),nw=se({name:"EyeOff",render(){return T("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},T("path",{d:"M432 448a15.92 15.92 0 0 1-11.31-4.69l-352-352a16 16 0 0 1 22.62-22.62l352 352A16 16 0 0 1 432 448z",fill:"currentColor"}),T("path",{d:"M255.66 384c-41.49 0-81.5-12.28-118.92-36.5c-34.07-22-64.74-53.51-88.7-91v-.08c19.94-28.57 41.78-52.73 65.24-72.21a2 2 0 0 0 .14-2.94L93.5 161.38a2 2 0 0 0-2.71-.12c-24.92 21-48.05 46.76-69.08 76.92a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416a239.13 239.13 0 0 0 75.8-12.58a2 2 0 0 0 .77-3.31l-21.58-21.58a4 4 0 0 0-3.83-1a204.8 204.8 0 0 1-51.16 6.47z",fill:"currentColor"}),T("path",{d:"M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96a227.34 227.34 0 0 0-74.89 12.83a2 2 0 0 0-.75 3.31l21.55 21.55a4 4 0 0 0 3.88 1a192.82 192.82 0 0 1 50.21-6.69c40.69 0 80.58 12.43 118.55 37c34.71 22.4 65.74 53.88 89.76 91a.13.13 0 0 1 0 .16a310.72 310.72 0 0 1-64.12 72.73a2 2 0 0 0-.15 2.95l19.9 19.89a2 2 0 0 0 2.7.13a343.49 343.49 0 0 0 68.64-78.48a32.2 32.2 0 0 0-.1-34.78z",fill:"currentColor"}),T("path",{d:"M256 160a95.88 95.88 0 0 0-21.37 2.4a2 2 0 0 0-1 3.38l112.59 112.56a2 2 0 0 0 3.38-1A96 96 0 0 0 256 160z",fill:"currentColor"}),T("path",{d:"M165.78 233.66a2 2 0 0 0-3.38 1a96 96 0 0 0 115 115a2 2 0 0 0 1-3.38z",fill:"currentColor"}))}}),Wc=Ni("error",T("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},T("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},T("g",{"fill-rule":"nonzero"},T("path",{d:"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M17.8838835,16.1161165 L17.7823881,16.0249942 C17.3266086,15.6583353 16.6733914,15.6583353 16.2176119,16.0249942 L16.1161165,16.1161165 L16.0249942,16.2176119 C15.6583353,16.6733914 15.6583353,17.3266086 16.0249942,17.7823881 L16.1161165,17.8838835 L22.233,24 L16.1161165,30.1161165 L16.0249942,30.2176119 C15.6583353,30.6733914 15.6583353,31.3266086 16.0249942,31.7823881 L16.1161165,31.8838835 L16.2176119,31.9750058 C16.6733914,32.3416647 17.3266086,32.3416647 17.7823881,31.9750058 L17.8838835,31.8838835 L24,25.767 L30.1161165,31.8838835 L30.2176119,31.9750058 C30.6733914,32.3416647 31.3266086,32.3416647 31.7823881,31.9750058 L31.8838835,31.8838835 L31.9750058,31.7823881 C32.3416647,31.3266086 32.3416647,30.6733914 31.9750058,30.2176119 L31.8838835,30.1161165 L25.767,24 L31.8838835,17.8838835 L31.9750058,17.7823881 C32.3416647,17.3266086 32.3416647,16.6733914 31.9750058,16.2176119 L31.8838835,16.1161165 L31.7823881,16.0249942 C31.3266086,15.6583353 30.6733914,15.6583353 30.2176119,16.0249942 L30.1161165,16.1161165 L24,22.233 L17.8838835,16.1161165 L17.7823881,16.0249942 L17.8838835,16.1161165 Z"}))))),Fa=Ni("info",T("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},T("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},T("g",{"fill-rule":"nonzero"},T("path",{d:"M14,2 C20.6274,2 26,7.37258 26,14 C26,20.6274 20.6274,26 14,26 C7.37258,26 2,20.6274 2,14 C2,7.37258 7.37258,2 14,2 Z M14,11 C13.4477,11 13,11.4477 13,12 L13,12 L13,20 C13,20.5523 13.4477,21 14,21 C14.5523,21 15,20.5523 15,20 L15,20 L15,12 C15,11.4477 14.5523,11 14,11 Z M14,6.75 C13.3096,6.75 12.75,7.30964 12.75,8 C12.75,8.69036 13.3096,9.25 14,9.25 C14.6904,9.25 15.25,8.69036 15.25,8 C15.25,7.30964 14.6904,6.75 14,6.75 Z"}))))),jc=Ni("success",T("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},T("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},T("g",{"fill-rule":"nonzero"},T("path",{d:"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M32.6338835,17.6161165 C32.1782718,17.1605048 31.4584514,17.1301307 30.9676119,17.5249942 L30.8661165,17.6161165 L20.75,27.732233 L17.1338835,24.1161165 C16.6457281,23.6279612 15.8542719,23.6279612 15.3661165,24.1161165 C14.9105048,24.5717282 14.8801307,25.2915486 15.2749942,25.7823881 L15.3661165,25.8838835 L19.8661165,30.3838835 C20.3217282,30.8394952 21.0415486,30.8698693 21.5323881,30.4750058 L21.6338835,30.3838835 L32.6338835,19.3838835 C33.1220388,18.8957281 33.1220388,18.1042719 32.6338835,17.6161165 Z"}))))),Gc=Ni("warning",T("svg",{viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},T("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},T("g",{"fill-rule":"nonzero"},T("path",{d:"M12,2 C17.523,2 22,6.478 22,12 C22,17.522 17.523,22 12,22 C6.477,22 2,17.522 2,12 C2,6.478 6.477,2 12,2 Z M12.0018002,15.0037242 C11.450254,15.0037242 11.0031376,15.4508407 11.0031376,16.0023869 C11.0031376,16.553933 11.450254,17.0010495 12.0018002,17.0010495 C12.5533463,17.0010495 13.0004628,16.553933 13.0004628,16.0023869 C13.0004628,15.4508407 12.5533463,15.0037242 12.0018002,15.0037242 Z M11.99964,7 C11.4868042,7.00018474 11.0642719,7.38637706 11.0066858,7.8837365 L11,8.00036004 L11.0018003,13.0012393 L11.00857,13.117858 C11.0665141,13.6151758 11.4893244,14.0010638 12.0021602,14.0008793 C12.514996,14.0006946 12.9375283,13.6145023 12.9951144,13.1171428 L13.0018002,13.0005193 L13,7.99964009 L12.9932303,7.8830214 C12.9352861,7.38570354 12.5124758,6.99981552 11.99964,7 Z"}))))),ow=se({name:"ChevronDown",render(){return T("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},T("path",{d:"M3.14645 5.64645C3.34171 5.45118 3.65829 5.45118 3.85355 5.64645L8 9.79289L12.1464 5.64645C12.3417 5.45118 12.6583 5.45118 12.8536 5.64645C13.0488 5.84171 13.0488 6.15829 12.8536 6.35355L8.35355 10.8536C8.15829 11.0488 7.84171 11.0488 7.64645 10.8536L3.14645 6.35355C2.95118 6.15829 2.95118 5.84171 3.14645 5.64645Z",fill:"currentColor"}))}}),iw=Ni("clear",T("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},T("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},T("g",{fill:"currentColor","fill-rule":"nonzero"},T("path",{d:"M8,2 C11.3137085,2 14,4.6862915 14,8 C14,11.3137085 11.3137085,14 8,14 C4.6862915,14 2,11.3137085 2,8 C2,4.6862915 4.6862915,2 8,2 Z M6.5343055,5.83859116 C6.33943736,5.70359511 6.07001296,5.72288026 5.89644661,5.89644661 L5.89644661,5.89644661 L5.83859116,5.9656945 C5.70359511,6.16056264 5.72288026,6.42998704 5.89644661,6.60355339 L5.89644661,6.60355339 L7.293,8 L5.89644661,9.39644661 L5.83859116,9.4656945 C5.70359511,9.66056264 5.72288026,9.92998704 5.89644661,10.1035534 L5.89644661,10.1035534 L5.9656945,10.1614088 C6.16056264,10.2964049 6.42998704,10.2771197 6.60355339,10.1035534 L6.60355339,10.1035534 L8,8.707 L9.39644661,10.1035534 L9.4656945,10.1614088 C9.66056264,10.2964049 9.92998704,10.2771197 10.1035534,10.1035534 L10.1035534,10.1035534 L10.1614088,10.0343055 C10.2964049,9.83943736 10.2771197,9.57001296 10.1035534,9.39644661 L10.1035534,9.39644661 L8.707,8 L10.1035534,6.60355339 L10.1614088,6.5343055 C10.2964049,6.33943736 10.2771197,6.07001296 10.1035534,5.89644661 L10.1035534,5.89644661 L10.0343055,5.83859116 C9.83943736,5.70359511 9.57001296,5.72288026 9.39644661,5.89644661 L9.39644661,5.89644661 L8,7.293 L6.60355339,5.89644661 Z"}))))),vs=se({name:"BaseIconSwitchTransition",setup(e,{slots:t}){const n=Br();return()=>T(gn,{name:"icon-switch-transition",appear:n.value},t)}}),jm=se({name:"FadeInExpandTransition",props:{appear:Boolean,group:Boolean,mode:String,onLeave:Function,onAfterLeave:Function,onAfterEnter:Function,width:Boolean,reverse:Boolean},setup(e,{slots:t}){function n(s){e.width?s.style.maxWidth=`${s.offsetWidth}px`:s.style.maxHeight=`${s.offsetHeight}px`,s.offsetWidth}function o(s){e.width?s.style.maxWidth="0":s.style.maxHeight="0",s.offsetWidth;const{onLeave:l}=e;l&&l()}function i(s){e.width?s.style.maxWidth="":s.style.maxHeight="";const{onAfterLeave:l}=e;l&&l()}function r(s){if(s.style.transition="none",e.width){const l=s.offsetWidth;s.style.maxWidth="0",s.offsetWidth,s.style.transition="",s.style.maxWidth=`${l}px`}else if(e.reverse)s.style.maxHeight=`${s.offsetHeight}px`,s.offsetHeight,s.style.transition="",s.style.maxHeight="0";else{const l=s.offsetHeight;s.style.maxHeight="0",s.offsetWidth,s.style.transition="",s.style.maxHeight=`${l}px`}s.offsetWidth}function a(s){var l;e.width?s.style.maxWidth="":e.reverse||(s.style.maxHeight=""),(l=e.onAfterEnter)===null||l===void 0||l.call(e)}return()=>{const{group:s,width:l,appear:c,mode:d}=e,u=s?Fy:gn,h={name:l?"fade-in-width-expand-transition":"fade-in-height-expand-transition",appear:c,onEnter:r,onAfterEnter:a,onBeforeLeave:n,onLeave:o,onAfterLeave:i};return s||(h.mode=d),T(u,h,t)}}}),rw=Q("base-icon",` height: 1em; width: 1em; line-height: 1em; @@ -36,7 +36,7 @@ ${t} `,[N("svg",` height: 1em; width: 1em; - `)]),po=se({name:"BaseIcon",props:{role:String,ariaLabel:String,ariaDisabled:{type:Boolean,default:void 0},ariaHidden:{type:Boolean,default:void 0},clsPrefix:{type:String,required:!0},onClick:Function,onMousedown:Function,onMouseup:Function},setup(e){Bi("-base-icon",aw,Ke(e,"clsPrefix"))},render(){return T("i",{class:`${this.clsPrefix}-base-icon`,onClick:this.onClick,onMousedown:this.onMousedown,onMouseup:this.onMouseup,role:this.role,"aria-label":this.ariaLabel,"aria-hidden":this.ariaHidden,"aria-disabled":this.ariaDisabled},this.$slots)}}),sw=Q("base-close",` + `)]),po=se({name:"BaseIcon",props:{role:String,ariaLabel:String,ariaDisabled:{type:Boolean,default:void 0},ariaHidden:{type:Boolean,default:void 0},clsPrefix:{type:String,required:!0},onClick:Function,onMousedown:Function,onMouseup:Function},setup(e){Bi("-base-icon",rw,Ke(e,"clsPrefix"))},render(){return T("i",{class:`${this.clsPrefix}-base-icon`,onClick:this.onClick,onMousedown:this.onMousedown,onMouseup:this.onMouseup,role:this.role,"aria-label":this.ariaLabel,"aria-hidden":this.ariaHidden,"aria-disabled":this.ariaDisabled},this.$slots)}}),aw=Q("base-close",` display: flex; align-items: center; justify-content: center; @@ -80,7 +80,7 @@ ${t} background-color: transparent; `),Y("round",[N("&::before",` border-radius: 50%; - `)])]),ys=se({name:"BaseClose",props:{isButtonTag:{type:Boolean,default:!0},clsPrefix:{type:String,required:!0},disabled:{type:Boolean,default:void 0},focusable:{type:Boolean,default:!0},round:Boolean,onClick:Function,absolute:Boolean},setup(e){return Bi("-base-close",sw,Ke(e,"clsPrefix")),()=>{const{clsPrefix:t,disabled:n,absolute:o,round:i,isButtonTag:r}=e;return T(r?"button":"div",{type:r?"button":void 0,tabindex:n||!e.focusable?-1:0,"aria-disabled":n,"aria-label":"close",role:r?void 0:"button",disabled:n,class:[`${t}-base-close`,o&&`${t}-base-close--absolute`,n&&`${t}-base-close--disabled`,i&&`${t}-base-close--round`],onMousedown:s=>{e.focusable||s.preventDefault()},onClick:e.onClick},T(po,{clsPrefix:t},{default:()=>T(tw,null)}))}}}),{cubicBezierEaseInOut:lw}=yo;function Dr({originalTransform:e="",left:t=0,top:n=0,transition:o=`all .3s ${lw} !important`}={}){return[N("&.icon-switch-transition-enter-from, &.icon-switch-transition-leave-to",{transform:e+" scale(0.75)",left:t,top:n,opacity:0}),N("&.icon-switch-transition-enter-to, &.icon-switch-transition-leave-from",{transform:`scale(1) ${e}`,left:t,top:n,opacity:1}),N("&.icon-switch-transition-enter-active, &.icon-switch-transition-leave-active",{transformOrigin:"center",position:"absolute",left:t,top:n,transition:o})]}const cw=N([N("@keyframes loading-container-rotate",` + `)])]),ys=se({name:"BaseClose",props:{isButtonTag:{type:Boolean,default:!0},clsPrefix:{type:String,required:!0},disabled:{type:Boolean,default:void 0},focusable:{type:Boolean,default:!0},round:Boolean,onClick:Function,absolute:Boolean},setup(e){return Bi("-base-close",aw,Ke(e,"clsPrefix")),()=>{const{clsPrefix:t,disabled:n,absolute:o,round:i,isButtonTag:r}=e;return T(r?"button":"div",{type:r?"button":void 0,tabindex:n||!e.focusable?-1:0,"aria-disabled":n,"aria-label":"close",role:r?void 0:"button",disabled:n,class:[`${t}-base-close`,o&&`${t}-base-close--absolute`,n&&`${t}-base-close--disabled`,i&&`${t}-base-close--round`],onMousedown:s=>{e.focusable||s.preventDefault()},onClick:e.onClick},T(po,{clsPrefix:t},{default:()=>T(ew,null)}))}}}),{cubicBezierEaseInOut:sw}=yo;function Dr({originalTransform:e="",left:t=0,top:n=0,transition:o=`all .3s ${sw} !important`}={}){return[N("&.icon-switch-transition-enter-from, &.icon-switch-transition-leave-to",{transform:e+" scale(0.75)",left:t,top:n,opacity:0}),N("&.icon-switch-transition-enter-to, &.icon-switch-transition-leave-from",{transform:`scale(1) ${e}`,left:t,top:n,opacity:1}),N("&.icon-switch-transition-enter-active, &.icon-switch-transition-leave-active",{transformOrigin:"center",position:"absolute",left:t,top:n,transition:o})]}const lw=N([N("@keyframes loading-container-rotate",` to { -webkit-transform: rotate(360deg); transform: rotate(360deg); @@ -212,7 +212,7 @@ ${t} left: 50%; top: 50%; transform: translateX(-50%) translateY(-50%); - `,[Dr({left:"50%",top:"50%",originalTransform:"translateX(-50%) translateY(-50%)"})])])]),dw={strokeWidth:{type:Number,default:28},stroke:{type:String,default:void 0}},Vc=se({name:"BaseLoading",props:Object.assign({clsPrefix:{type:String,required:!0},show:{type:Boolean,default:!0},scale:{type:Number,default:1},radius:{type:Number,default:100}},dw),setup(e){Bi("-base-loading",cw,Ke(e,"clsPrefix"))},render(){const{clsPrefix:e,radius:t,strokeWidth:n,stroke:o,scale:i}=this,r=t/i;return T("div",{class:`${e}-base-loading`,role:"img","aria-label":"loading"},T(vs,null,{default:()=>this.show?T("div",{key:"icon",class:`${e}-base-loading__transition-wrapper`},T("div",{class:`${e}-base-loading__container`},T("div",{class:`${e}-base-loading__container-layer`},T("div",{class:`${e}-base-loading__container-layer-left`},T("svg",{class:`${e}-base-loading__svg`,viewBox:`0 0 ${2*r} ${2*r}`,xmlns:"http://www.w3.org/2000/svg",style:{color:o}},T("circle",{fill:"none",stroke:"currentColor","stroke-width":n,"stroke-linecap":"round",cx:r,cy:r,r:t-n/2,"stroke-dasharray":4.91*t,"stroke-dashoffset":2.46*t}))),T("div",{class:`${e}-base-loading__container-layer-patch`},T("svg",{class:`${e}-base-loading__svg`,viewBox:`0 0 ${2*r} ${2*r}`,xmlns:"http://www.w3.org/2000/svg",style:{color:o}},T("circle",{fill:"none",stroke:"currentColor","stroke-width":n,"stroke-linecap":"round",cx:r,cy:r,r:t-n/2,"stroke-dasharray":4.91*t,"stroke-dashoffset":2.46*t}))),T("div",{class:`${e}-base-loading__container-layer-right`},T("svg",{class:`${e}-base-loading__svg`,viewBox:`0 0 ${2*r} ${2*r}`,xmlns:"http://www.w3.org/2000/svg",style:{color:o}},T("circle",{fill:"none",stroke:"currentColor","stroke-width":n,"stroke-linecap":"round",cx:r,cy:r,r:t-n/2,"stroke-dasharray":4.91*t,"stroke-dashoffset":2.46*t})))))):T("div",{key:"placeholder",class:`${e}-base-loading__placeholder`},this.$slots)}))}});function ph(e){return Array.isArray(e)?e:[e]}const Hl={STOP:"STOP"};function Gm(e,t){const n=t(e);e.children!==void 0&&n!==Hl.STOP&&e.children.forEach(o=>Gm(o,t))}function uw(e,t={}){const{preserveGroup:n=!1}=t,o=[],i=n?a=>{a.isLeaf||(o.push(a.key),r(a.children))}:a=>{a.isLeaf||(a.isGroup||o.push(a.key),r(a.children))};function r(a){a.forEach(i)}return r(e),o}function hw(e,t){const{isLeaf:n}=e;return n!==void 0?n:!t(e)}function fw(e){return e.children}function gw(e){return e.key}function mw(){return!1}function pw(e,t){const{isLeaf:n}=e;return!(n===!1&&!Array.isArray(t(e)))}function bw(e){return e.disabled===!0}function vw(e,t){return e.isLeaf===!1&&!Array.isArray(t(e))}function el(e){var t;return e==null?[]:Array.isArray(e)?e:(t=e.checkedKeys)!==null&&t!==void 0?t:[]}function tl(e){var t;return e==null||Array.isArray(e)?[]:(t=e.indeterminateKeys)!==null&&t!==void 0?t:[]}function yw(e,t){const n=new Set(e);return t.forEach(o=>{n.has(o)||n.add(o)}),Array.from(n)}function xw(e,t){const n=new Set(e);return t.forEach(o=>{n.has(o)&&n.delete(o)}),Array.from(n)}function kw(e){return(e==null?void 0:e.type)==="group"}class Cw extends Error{constructor(){super(),this.message="SubtreeNotLoadedError: checking a subtree whose required nodes are not fully loaded."}}function Tw(e,t,n,o){return Wa(t.concat(e),n,o,!1)}function ww(e,t){const n=new Set;return e.forEach(o=>{const i=t.treeNodeMap.get(o);if(i!==void 0){let r=i.parent;for(;r!==null&&!(r.disabled||n.has(r.key));)n.add(r.key),r=r.parent}}),n}function Sw(e,t,n,o){const i=Wa(t,n,o,!1),r=Wa(e,n,o,!0),a=ww(e,n),s=[];return i.forEach(l=>{(r.has(l)||a.has(l))&&s.push(l)}),s.forEach(l=>i.delete(l)),i}function nl(e,t){const{checkedKeys:n,keysToCheck:o,keysToUncheck:i,indeterminateKeys:r,cascade:a,leafOnly:s,checkStrategy:l,allowNotLoaded:c}=e;if(!a)return o!==void 0?{checkedKeys:yw(n,o),indeterminateKeys:Array.from(r)}:i!==void 0?{checkedKeys:xw(n,i),indeterminateKeys:Array.from(r)}:{checkedKeys:Array.from(n),indeterminateKeys:Array.from(r)};const{levelTreeNodeMap:d}=t;let u;i!==void 0?u=Sw(i,n,t,c):o!==void 0?u=Tw(o,n,t,c):u=Wa(n,t,c,!1);const h=l==="parent",m=l==="child"||s,g=u,v=new Set,p=Math.max.apply(null,Array.from(d.keys()));for(let f=p;f>=0;f-=1){const x=f===0,A=d.get(f);for(const k of A){if(k.isLeaf)continue;const{key:w,shallowLoaded:I}=k;if(m&&I&&k.children.forEach(R=>{!R.disabled&&!R.isLeaf&&R.shallowLoaded&&g.has(R.key)&&g.delete(R.key)}),k.disabled||!I)continue;let C=!0,S=!1,E=!0;for(const R of k.children){const G=R.key;if(!R.disabled){if(E&&(E=!1),g.has(G))S=!0;else if(v.has(G)){S=!0,C=!1;break}else if(C=!1,S)break}}C&&!E?(h&&k.children.forEach(R=>{!R.disabled&&g.has(R.key)&&g.delete(R.key)}),g.add(w)):S&&v.add(w),x&&m&&g.has(w)&&g.delete(w)}}return{checkedKeys:Array.from(g),indeterminateKeys:Array.from(v)}}function Wa(e,t,n,o){const{treeNodeMap:i,getChildren:r}=t,a=new Set,s=new Set(e);return e.forEach(l=>{const c=i.get(l);c!==void 0&&Gm(c,d=>{if(d.disabled)return Hl.STOP;const{key:u}=d;if(!a.has(u)&&(a.add(u),s.add(u),vw(d.rawNode,r))){if(o)return Hl.STOP;if(!n)throw new Cw}})}),s}function _w(e,{includeGroup:t=!1,includeSelf:n=!0},o){var i;const r=o.treeNodeMap;let a=e==null?null:(i=r.get(e))!==null&&i!==void 0?i:null;const s={keyPath:[],treeNodePath:[],treeNode:a};if(a!=null&&a.ignored)return s.treeNode=null,s;for(;a;)!a.ignored&&(t||!a.isGroup)&&s.treeNodePath.push(a),a=a.parent;return s.treeNodePath.reverse(),n||s.treeNodePath.pop(),s.keyPath=s.treeNodePath.map(l=>l.key),s}function Pw(e){if(e.length===0)return null;const t=e[0];return t.isGroup||t.ignored||t.disabled?t.getNext():t}function Aw(e,t){const n=e.siblings,o=n.length,{index:i}=e;return t?n[(i+1)%o]:i===n.length-1?null:n[i+1]}function bh(e,t,{loop:n=!1,includeDisabled:o=!1}={}){const i=t==="prev"?Iw:Aw,r={reverse:t==="prev"};let a=!1,s=null;function l(c){if(c!==null){if(c===e){if(!a)a=!0;else if(!e.disabled&&!e.isGroup){s=e;return}}else if((!c.disabled||o)&&!c.ignored&&!c.isGroup){s=c;return}if(c.isGroup){const d=Kc(c,r);d!==null?s=d:l(i(c,n))}else{const d=i(c,!1);if(d!==null)l(d);else{const u=Ew(c);u!=null&&u.isGroup?l(i(u,n)):n&&l(i(c,!0))}}}}return l(e),s}function Iw(e,t){const n=e.siblings,o=n.length,{index:i}=e;return t?n[(i-1+o)%o]:i===0?null:n[i-1]}function Ew(e){return e.parent}function Kc(e,t={}){const{reverse:n=!1}=t,{children:o}=e;if(o){const{length:i}=o,r=n?i-1:0,a=n?-1:i,s=n?-1:1;for(let l=r;l!==a;l+=s){const c=o[l];if(!c.disabled&&!c.ignored)if(c.isGroup){const d=Kc(c,t);if(d!==null)return d}else return c}}return null}const Rw={getChild(){return this.ignored?null:Kc(this)},getParent(){const{parent:e}=this;return e!=null&&e.isGroup?e.getParent():e},getNext(e={}){return bh(this,"next",e)},getPrev(e={}){return bh(this,"prev",e)}};function Mw(e,t){const n=t?new Set(t):void 0,o=[];function i(r){r.forEach(a=>{o.push(a),!(a.isLeaf||!a.children||a.ignored)&&(a.isGroup||n===void 0||n.has(a.key))&&i(a.children)})}return i(e),o}function Dw(e,t){const n=e.key;for(;t;){if(t.key===n)return!0;t=t.parent}return!1}function Vm(e,t,n,o,i,r=null,a=0){const s=[];return e.forEach((l,c)=>{var d;const u=Object.create(o);if(u.rawNode=l,u.siblings=s,u.level=a,u.index=c,u.isFirstChild=c===0,u.isLastChild=c+1===e.length,u.parent=r,!u.ignored){const h=i(l);Array.isArray(h)&&(u.children=Vm(h,t,n,o,i,u,a+1))}s.push(u),t.set(u.key,u),n.has(a)||n.set(a,[]),(d=n.get(a))===null||d===void 0||d.push(u)}),s}function Lw(e,t={}){var n;const o=new Map,i=new Map,{getDisabled:r=bw,getIgnored:a=mw,getIsGroup:s=kw,getKey:l=gw}=t,c=(n=t.getChildren)!==null&&n!==void 0?n:fw,d=t.ignoreEmptyChildren?k=>{const w=c(k);return Array.isArray(w)?w.length?w:null:w}:c,u=Object.assign({get key(){return l(this.rawNode)},get disabled(){return r(this.rawNode)},get isGroup(){return s(this.rawNode)},get isLeaf(){return hw(this.rawNode,d)},get shallowLoaded(){return pw(this.rawNode,d)},get ignored(){return a(this.rawNode)},contains(k){return Dw(this,k)}},Rw),h=Vm(e,o,i,u,d);function m(k){if(k==null)return null;const w=o.get(k);return w&&!w.isGroup&&!w.ignored?w:null}function g(k){if(k==null)return null;const w=o.get(k);return w&&!w.ignored?w:null}function v(k,w){const I=g(k);return I?I.getPrev(w):null}function p(k,w){const I=g(k);return I?I.getNext(w):null}function f(k){const w=g(k);return w?w.getParent():null}function x(k){const w=g(k);return w?w.getChild():null}const A={treeNodes:h,treeNodeMap:o,levelTreeNodeMap:i,maxLevel:Math.max(...i.keys()),getChildren:d,getFlattenedNodes(k){return Mw(h,k)},getNode:m,getPrev:v,getNext:p,getParent:f,getChild:x,getFirstAvailableNode(){return Pw(h)},getPath(k,w={}){return _w(k,w,A)},getCheckedKeys(k,w={}){const{cascade:I=!0,leafOnly:C=!1,checkStrategy:S="all",allowNotLoaded:E=!1}=w;return nl({checkedKeys:el(k),indeterminateKeys:tl(k),cascade:I,leafOnly:C,checkStrategy:S,allowNotLoaded:E},A)},check(k,w,I={}){const{cascade:C=!0,leafOnly:S=!1,checkStrategy:E="all",allowNotLoaded:R=!1}=I;return nl({checkedKeys:el(w),indeterminateKeys:tl(w),keysToCheck:k==null?[]:ph(k),cascade:C,leafOnly:S,checkStrategy:E,allowNotLoaded:R},A)},uncheck(k,w,I={}){const{cascade:C=!0,leafOnly:S=!1,checkStrategy:E="all",allowNotLoaded:R=!1}=I;return nl({checkedKeys:el(w),indeterminateKeys:tl(w),keysToUncheck:k==null?[]:ph(k),cascade:C,leafOnly:S,checkStrategy:E,allowNotLoaded:R},A)},getNonLeafKeys(k={}){return uw(h,k)}};return A}const ce={neutralBase:"#000",neutralInvertBase:"#fff",neutralTextBase:"#fff",neutralPopover:"rgb(72, 72, 78)",neutralCard:"rgb(24, 24, 28)",neutralModal:"rgb(44, 44, 50)",neutralBody:"rgb(16, 16, 20)",alpha1:"0.9",alpha2:"0.82",alpha3:"0.52",alpha4:"0.38",alpha5:"0.28",alphaClose:"0.52",alphaDisabled:"0.38",alphaDisabledInput:"0.06",alphaPending:"0.09",alphaTablePending:"0.06",alphaTableStriped:"0.05",alphaPressed:"0.05",alphaAvatar:"0.18",alphaRail:"0.2",alphaProgressRail:"0.12",alphaBorder:"0.24",alphaDivider:"0.09",alphaInput:"0.1",alphaAction:"0.06",alphaTab:"0.04",alphaScrollbar:"0.2",alphaScrollbarHover:"0.3",alphaCode:"0.12",alphaTag:"0.2",primaryHover:"#7fe7c4",primaryDefault:"#63e2b7",primaryActive:"#5acea7",primarySuppl:"rgb(42, 148, 125)",infoHover:"#8acbec",infoDefault:"#70c0e8",infoActive:"#66afd3",infoSuppl:"rgb(56, 137, 197)",errorHover:"#e98b8b",errorDefault:"#e88080",errorActive:"#e57272",errorSuppl:"rgb(208, 58, 82)",warningHover:"#f5d599",warningDefault:"#f2c97d",warningActive:"#e6c260",warningSuppl:"rgb(240, 138, 0)",successHover:"#7fe7c4",successDefault:"#63e2b7",successActive:"#5acea7",successSuppl:"rgb(42, 148, 125)"},$w=Gn(ce.neutralBase),Km=Gn(ce.neutralInvertBase),Ow="rgba("+Km.slice(0,3).join(", ")+", ";function Be(e){return Ow+String(e)+")"}function Hw(e){const t=Array.from(Km);return t[3]=Number(e),he($w,t)}const Bw=Object.assign(Object.assign({name:"common"},yo),{baseColor:ce.neutralBase,primaryColor:ce.primaryDefault,primaryColorHover:ce.primaryHover,primaryColorPressed:ce.primaryActive,primaryColorSuppl:ce.primarySuppl,infoColor:ce.infoDefault,infoColorHover:ce.infoHover,infoColorPressed:ce.infoActive,infoColorSuppl:ce.infoSuppl,successColor:ce.successDefault,successColorHover:ce.successHover,successColorPressed:ce.successActive,successColorSuppl:ce.successSuppl,warningColor:ce.warningDefault,warningColorHover:ce.warningHover,warningColorPressed:ce.warningActive,warningColorSuppl:ce.warningSuppl,errorColor:ce.errorDefault,errorColorHover:ce.errorHover,errorColorPressed:ce.errorActive,errorColorSuppl:ce.errorSuppl,textColorBase:ce.neutralTextBase,textColor1:Be(ce.alpha1),textColor2:Be(ce.alpha2),textColor3:Be(ce.alpha3),textColorDisabled:Be(ce.alpha4),placeholderColor:Be(ce.alpha4),placeholderColorDisabled:Be(ce.alpha5),iconColor:Be(ce.alpha4),iconColorDisabled:Be(ce.alpha5),iconColorHover:Be(Number(ce.alpha4)*1.25),iconColorPressed:Be(Number(ce.alpha4)*.8),opacity1:ce.alpha1,opacity2:ce.alpha2,opacity3:ce.alpha3,opacity4:ce.alpha4,opacity5:ce.alpha5,dividerColor:Be(ce.alphaDivider),borderColor:Be(ce.alphaBorder),closeIconColorHover:Be(Number(ce.alphaClose)),closeIconColor:Be(Number(ce.alphaClose)),closeIconColorPressed:Be(Number(ce.alphaClose)),closeColorHover:"rgba(255, 255, 255, .12)",closeColorPressed:"rgba(255, 255, 255, .08)",clearColor:Be(ce.alpha4),clearColorHover:ft(Be(ce.alpha4),{alpha:1.25}),clearColorPressed:ft(Be(ce.alpha4),{alpha:.8}),scrollbarColor:Be(ce.alphaScrollbar),scrollbarColorHover:Be(ce.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:Be(ce.alphaProgressRail),railColor:Be(ce.alphaRail),popoverColor:ce.neutralPopover,tableColor:ce.neutralCard,cardColor:ce.neutralCard,modalColor:ce.neutralModal,bodyColor:ce.neutralBody,tagColor:Hw(ce.alphaTag),avatarColor:Be(ce.alphaAvatar),invertedColor:ce.neutralBase,inputColor:Be(ce.alphaInput),codeColor:Be(ce.alphaCode),tabColor:Be(ce.alphaTab),actionColor:Be(ce.alphaAction),tableHeaderColor:Be(ce.alphaAction),hoverColor:Be(ce.alphaPending),tableColorHover:Be(ce.alphaTablePending),tableColorStriped:Be(ce.alphaTableStriped),pressedColor:Be(ce.alphaPressed),opacityDisabled:ce.alphaDisabled,inputColorDisabled:Be(ce.alphaDisabledInput),buttonColor2:"rgba(255, 255, 255, .08)",buttonColor2Hover:"rgba(255, 255, 255, .12)",buttonColor2Pressed:"rgba(255, 255, 255, .08)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .24), 0 3px 6px 0 rgba(0, 0, 0, .18), 0 5px 12px 4px rgba(0, 0, 0, .12)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .24), 0 6px 12px 0 rgba(0, 0, 0, .16), 0 9px 18px 8px rgba(0, 0, 0, .10)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"}),re=Bw,ve={neutralBase:"#FFF",neutralInvertBase:"#000",neutralTextBase:"#000",neutralPopover:"#fff",neutralCard:"#fff",neutralModal:"#fff",neutralBody:"#fff",alpha1:"0.82",alpha2:"0.72",alpha3:"0.38",alpha4:"0.24",alpha5:"0.18",alphaClose:"0.6",alphaDisabled:"0.5",alphaDisabledInput:"0.02",alphaPending:"0.05",alphaTablePending:"0.02",alphaPressed:"0.07",alphaAvatar:"0.2",alphaRail:"0.14",alphaProgressRail:".08",alphaBorder:"0.12",alphaDivider:"0.06",alphaInput:"0",alphaAction:"0.02",alphaTab:"0.04",alphaScrollbar:"0.25",alphaScrollbarHover:"0.4",alphaCode:"0.05",alphaTag:"0.02",primaryHover:"#36ad6a",primaryDefault:"#18a058",primaryActive:"#0c7a43",primarySuppl:"#36ad6a",infoHover:"#4098fc",infoDefault:"#2080f0",infoActive:"#1060c9",infoSuppl:"#4098fc",errorHover:"#de576d",errorDefault:"#d03050",errorActive:"#ab1f3f",errorSuppl:"#de576d",warningHover:"#fcb040",warningDefault:"#f0a020",warningActive:"#c97c10",warningSuppl:"#fcb040",successHover:"#36ad6a",successDefault:"#18a058",successActive:"#0c7a43",successSuppl:"#36ad6a"},Nw=Gn(ve.neutralBase),Um=Gn(ve.neutralInvertBase),zw="rgba("+Um.slice(0,3).join(", ")+", ";function vh(e){return zw+String(e)+")"}function Ht(e){const t=Array.from(Um);return t[3]=Number(e),he(Nw,t)}const Fw=Object.assign(Object.assign({name:"common"},yo),{baseColor:ve.neutralBase,primaryColor:ve.primaryDefault,primaryColorHover:ve.primaryHover,primaryColorPressed:ve.primaryActive,primaryColorSuppl:ve.primarySuppl,infoColor:ve.infoDefault,infoColorHover:ve.infoHover,infoColorPressed:ve.infoActive,infoColorSuppl:ve.infoSuppl,successColor:ve.successDefault,successColorHover:ve.successHover,successColorPressed:ve.successActive,successColorSuppl:ve.successSuppl,warningColor:ve.warningDefault,warningColorHover:ve.warningHover,warningColorPressed:ve.warningActive,warningColorSuppl:ve.warningSuppl,errorColor:ve.errorDefault,errorColorHover:ve.errorHover,errorColorPressed:ve.errorActive,errorColorSuppl:ve.errorSuppl,textColorBase:ve.neutralTextBase,textColor1:"rgb(31, 34, 37)",textColor2:"rgb(51, 54, 57)",textColor3:"rgb(118, 124, 130)",textColorDisabled:Ht(ve.alpha4),placeholderColor:Ht(ve.alpha4),placeholderColorDisabled:Ht(ve.alpha5),iconColor:Ht(ve.alpha4),iconColorHover:ft(Ht(ve.alpha4),{lightness:.75}),iconColorPressed:ft(Ht(ve.alpha4),{lightness:.9}),iconColorDisabled:Ht(ve.alpha5),opacity1:ve.alpha1,opacity2:ve.alpha2,opacity3:ve.alpha3,opacity4:ve.alpha4,opacity5:ve.alpha5,dividerColor:"rgb(239, 239, 245)",borderColor:"rgb(224, 224, 230)",closeIconColor:Ht(Number(ve.alphaClose)),closeIconColorHover:Ht(Number(ve.alphaClose)),closeIconColorPressed:Ht(Number(ve.alphaClose)),closeColorHover:"rgba(0, 0, 0, .09)",closeColorPressed:"rgba(0, 0, 0, .13)",clearColor:Ht(ve.alpha4),clearColorHover:ft(Ht(ve.alpha4),{lightness:.75}),clearColorPressed:ft(Ht(ve.alpha4),{lightness:.9}),scrollbarColor:vh(ve.alphaScrollbar),scrollbarColorHover:vh(ve.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:Ht(ve.alphaProgressRail),railColor:"rgb(219, 219, 223)",popoverColor:ve.neutralPopover,tableColor:ve.neutralCard,cardColor:ve.neutralCard,modalColor:ve.neutralModal,bodyColor:ve.neutralBody,tagColor:"#eee",avatarColor:Ht(ve.alphaAvatar),invertedColor:"rgb(0, 20, 40)",inputColor:Ht(ve.alphaInput),codeColor:"rgb(244, 244, 248)",tabColor:"rgb(247, 247, 250)",actionColor:"rgb(250, 250, 252)",tableHeaderColor:"rgb(250, 250, 252)",hoverColor:"rgb(243, 243, 245)",tableColorHover:"rgba(0, 0, 100, 0.03)",tableColorStriped:"rgba(0, 0, 100, 0.02)",pressedColor:"rgb(237, 237, 239)",opacityDisabled:ve.alphaDisabled,inputColorDisabled:"rgb(250, 250, 252)",buttonColor2:"rgba(46, 51, 56, .05)",buttonColor2Hover:"rgba(46, 51, 56, .09)",buttonColor2Pressed:"rgba(46, 51, 56, .13)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .08), 0 3px 6px 0 rgba(0, 0, 0, .06), 0 5px 12px 4px rgba(0, 0, 0, .04)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .12), 0 6px 16px 0 rgba(0, 0, 0, .08), 0 9px 28px 8px rgba(0, 0, 0, .05)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"}),ae=Fw,Ww={iconSizeSmall:"34px",iconSizeMedium:"40px",iconSizeLarge:"46px",iconSizeHuge:"52px"},qm=e=>{const{textColorDisabled:t,iconColor:n,textColor2:o,fontSizeSmall:i,fontSizeMedium:r,fontSizeLarge:a,fontSizeHuge:s}=e;return Object.assign(Object.assign({},Ww),{fontSizeSmall:i,fontSizeMedium:r,fontSizeLarge:a,fontSizeHuge:s,textColor:t,iconColor:n,extraTextColor:o})},jw={name:"Empty",common:ae,self:qm},Xn=jw,Gw={name:"Empty",common:re,self:qm},ni=Gw,Xm=e=>{const{scrollbarColor:t,scrollbarColorHover:n}=e;return{color:t,colorHover:n}},Vw={name:"Scrollbar",common:ae,self:Xm},Vt=Vw,Kw={name:"Scrollbar",common:re,self:Xm},Jt=Kw,{cubicBezierEaseInOut:yh}=yo;function Uc({name:e="fade-in",enterDuration:t="0.2s",leaveDuration:n="0.2s",enterCubicBezier:o=yh,leaveCubicBezier:i=yh}={}){return[N(`&.${e}-transition-enter-active`,{transition:`all ${t} ${o}!important`}),N(`&.${e}-transition-leave-active`,{transition:`all ${n} ${i}!important`}),N(`&.${e}-transition-enter-from, &.${e}-transition-leave-to`,{opacity:0}),N(`&.${e}-transition-leave-from, &.${e}-transition-enter-to`,{opacity:1})]}const Uw=Q("scrollbar",` + `,[Dr({left:"50%",top:"50%",originalTransform:"translateX(-50%) translateY(-50%)"})])])]),cw={strokeWidth:{type:Number,default:28},stroke:{type:String,default:void 0}},Vc=se({name:"BaseLoading",props:Object.assign({clsPrefix:{type:String,required:!0},show:{type:Boolean,default:!0},scale:{type:Number,default:1},radius:{type:Number,default:100}},cw),setup(e){Bi("-base-loading",lw,Ke(e,"clsPrefix"))},render(){const{clsPrefix:e,radius:t,strokeWidth:n,stroke:o,scale:i}=this,r=t/i;return T("div",{class:`${e}-base-loading`,role:"img","aria-label":"loading"},T(vs,null,{default:()=>this.show?T("div",{key:"icon",class:`${e}-base-loading__transition-wrapper`},T("div",{class:`${e}-base-loading__container`},T("div",{class:`${e}-base-loading__container-layer`},T("div",{class:`${e}-base-loading__container-layer-left`},T("svg",{class:`${e}-base-loading__svg`,viewBox:`0 0 ${2*r} ${2*r}`,xmlns:"http://www.w3.org/2000/svg",style:{color:o}},T("circle",{fill:"none",stroke:"currentColor","stroke-width":n,"stroke-linecap":"round",cx:r,cy:r,r:t-n/2,"stroke-dasharray":4.91*t,"stroke-dashoffset":2.46*t}))),T("div",{class:`${e}-base-loading__container-layer-patch`},T("svg",{class:`${e}-base-loading__svg`,viewBox:`0 0 ${2*r} ${2*r}`,xmlns:"http://www.w3.org/2000/svg",style:{color:o}},T("circle",{fill:"none",stroke:"currentColor","stroke-width":n,"stroke-linecap":"round",cx:r,cy:r,r:t-n/2,"stroke-dasharray":4.91*t,"stroke-dashoffset":2.46*t}))),T("div",{class:`${e}-base-loading__container-layer-right`},T("svg",{class:`${e}-base-loading__svg`,viewBox:`0 0 ${2*r} ${2*r}`,xmlns:"http://www.w3.org/2000/svg",style:{color:o}},T("circle",{fill:"none",stroke:"currentColor","stroke-width":n,"stroke-linecap":"round",cx:r,cy:r,r:t-n/2,"stroke-dasharray":4.91*t,"stroke-dashoffset":2.46*t})))))):T("div",{key:"placeholder",class:`${e}-base-loading__placeholder`},this.$slots)}))}});function ph(e){return Array.isArray(e)?e:[e]}const Hl={STOP:"STOP"};function Gm(e,t){const n=t(e);e.children!==void 0&&n!==Hl.STOP&&e.children.forEach(o=>Gm(o,t))}function dw(e,t={}){const{preserveGroup:n=!1}=t,o=[],i=n?a=>{a.isLeaf||(o.push(a.key),r(a.children))}:a=>{a.isLeaf||(a.isGroup||o.push(a.key),r(a.children))};function r(a){a.forEach(i)}return r(e),o}function uw(e,t){const{isLeaf:n}=e;return n!==void 0?n:!t(e)}function hw(e){return e.children}function fw(e){return e.key}function gw(){return!1}function mw(e,t){const{isLeaf:n}=e;return!(n===!1&&!Array.isArray(t(e)))}function pw(e){return e.disabled===!0}function bw(e,t){return e.isLeaf===!1&&!Array.isArray(t(e))}function el(e){var t;return e==null?[]:Array.isArray(e)?e:(t=e.checkedKeys)!==null&&t!==void 0?t:[]}function tl(e){var t;return e==null||Array.isArray(e)?[]:(t=e.indeterminateKeys)!==null&&t!==void 0?t:[]}function vw(e,t){const n=new Set(e);return t.forEach(o=>{n.has(o)||n.add(o)}),Array.from(n)}function yw(e,t){const n=new Set(e);return t.forEach(o=>{n.has(o)&&n.delete(o)}),Array.from(n)}function xw(e){return(e==null?void 0:e.type)==="group"}class kw extends Error{constructor(){super(),this.message="SubtreeNotLoadedError: checking a subtree whose required nodes are not fully loaded."}}function Cw(e,t,n,o){return Wa(t.concat(e),n,o,!1)}function Tw(e,t){const n=new Set;return e.forEach(o=>{const i=t.treeNodeMap.get(o);if(i!==void 0){let r=i.parent;for(;r!==null&&!(r.disabled||n.has(r.key));)n.add(r.key),r=r.parent}}),n}function ww(e,t,n,o){const i=Wa(t,n,o,!1),r=Wa(e,n,o,!0),a=Tw(e,n),s=[];return i.forEach(l=>{(r.has(l)||a.has(l))&&s.push(l)}),s.forEach(l=>i.delete(l)),i}function nl(e,t){const{checkedKeys:n,keysToCheck:o,keysToUncheck:i,indeterminateKeys:r,cascade:a,leafOnly:s,checkStrategy:l,allowNotLoaded:c}=e;if(!a)return o!==void 0?{checkedKeys:vw(n,o),indeterminateKeys:Array.from(r)}:i!==void 0?{checkedKeys:yw(n,i),indeterminateKeys:Array.from(r)}:{checkedKeys:Array.from(n),indeterminateKeys:Array.from(r)};const{levelTreeNodeMap:d}=t;let u;i!==void 0?u=ww(i,n,t,c):o!==void 0?u=Cw(o,n,t,c):u=Wa(n,t,c,!1);const h=l==="parent",m=l==="child"||s,g=u,v=new Set,p=Math.max.apply(null,Array.from(d.keys()));for(let f=p;f>=0;f-=1){const x=f===0,A=d.get(f);for(const k of A){if(k.isLeaf)continue;const{key:w,shallowLoaded:I}=k;if(m&&I&&k.children.forEach(R=>{!R.disabled&&!R.isLeaf&&R.shallowLoaded&&g.has(R.key)&&g.delete(R.key)}),k.disabled||!I)continue;let C=!0,S=!1,E=!0;for(const R of k.children){const G=R.key;if(!R.disabled){if(E&&(E=!1),g.has(G))S=!0;else if(v.has(G)){S=!0,C=!1;break}else if(C=!1,S)break}}C&&!E?(h&&k.children.forEach(R=>{!R.disabled&&g.has(R.key)&&g.delete(R.key)}),g.add(w)):S&&v.add(w),x&&m&&g.has(w)&&g.delete(w)}}return{checkedKeys:Array.from(g),indeterminateKeys:Array.from(v)}}function Wa(e,t,n,o){const{treeNodeMap:i,getChildren:r}=t,a=new Set,s=new Set(e);return e.forEach(l=>{const c=i.get(l);c!==void 0&&Gm(c,d=>{if(d.disabled)return Hl.STOP;const{key:u}=d;if(!a.has(u)&&(a.add(u),s.add(u),bw(d.rawNode,r))){if(o)return Hl.STOP;if(!n)throw new kw}})}),s}function Sw(e,{includeGroup:t=!1,includeSelf:n=!0},o){var i;const r=o.treeNodeMap;let a=e==null?null:(i=r.get(e))!==null&&i!==void 0?i:null;const s={keyPath:[],treeNodePath:[],treeNode:a};if(a!=null&&a.ignored)return s.treeNode=null,s;for(;a;)!a.ignored&&(t||!a.isGroup)&&s.treeNodePath.push(a),a=a.parent;return s.treeNodePath.reverse(),n||s.treeNodePath.pop(),s.keyPath=s.treeNodePath.map(l=>l.key),s}function _w(e){if(e.length===0)return null;const t=e[0];return t.isGroup||t.ignored||t.disabled?t.getNext():t}function Pw(e,t){const n=e.siblings,o=n.length,{index:i}=e;return t?n[(i+1)%o]:i===n.length-1?null:n[i+1]}function bh(e,t,{loop:n=!1,includeDisabled:o=!1}={}){const i=t==="prev"?Aw:Pw,r={reverse:t==="prev"};let a=!1,s=null;function l(c){if(c!==null){if(c===e){if(!a)a=!0;else if(!e.disabled&&!e.isGroup){s=e;return}}else if((!c.disabled||o)&&!c.ignored&&!c.isGroup){s=c;return}if(c.isGroup){const d=Kc(c,r);d!==null?s=d:l(i(c,n))}else{const d=i(c,!1);if(d!==null)l(d);else{const u=Iw(c);u!=null&&u.isGroup?l(i(u,n)):n&&l(i(c,!0))}}}}return l(e),s}function Aw(e,t){const n=e.siblings,o=n.length,{index:i}=e;return t?n[(i-1+o)%o]:i===0?null:n[i-1]}function Iw(e){return e.parent}function Kc(e,t={}){const{reverse:n=!1}=t,{children:o}=e;if(o){const{length:i}=o,r=n?i-1:0,a=n?-1:i,s=n?-1:1;for(let l=r;l!==a;l+=s){const c=o[l];if(!c.disabled&&!c.ignored)if(c.isGroup){const d=Kc(c,t);if(d!==null)return d}else return c}}return null}const Ew={getChild(){return this.ignored?null:Kc(this)},getParent(){const{parent:e}=this;return e!=null&&e.isGroup?e.getParent():e},getNext(e={}){return bh(this,"next",e)},getPrev(e={}){return bh(this,"prev",e)}};function Rw(e,t){const n=t?new Set(t):void 0,o=[];function i(r){r.forEach(a=>{o.push(a),!(a.isLeaf||!a.children||a.ignored)&&(a.isGroup||n===void 0||n.has(a.key))&&i(a.children)})}return i(e),o}function Mw(e,t){const n=e.key;for(;t;){if(t.key===n)return!0;t=t.parent}return!1}function Vm(e,t,n,o,i,r=null,a=0){const s=[];return e.forEach((l,c)=>{var d;const u=Object.create(o);if(u.rawNode=l,u.siblings=s,u.level=a,u.index=c,u.isFirstChild=c===0,u.isLastChild=c+1===e.length,u.parent=r,!u.ignored){const h=i(l);Array.isArray(h)&&(u.children=Vm(h,t,n,o,i,u,a+1))}s.push(u),t.set(u.key,u),n.has(a)||n.set(a,[]),(d=n.get(a))===null||d===void 0||d.push(u)}),s}function Dw(e,t={}){var n;const o=new Map,i=new Map,{getDisabled:r=pw,getIgnored:a=gw,getIsGroup:s=xw,getKey:l=fw}=t,c=(n=t.getChildren)!==null&&n!==void 0?n:hw,d=t.ignoreEmptyChildren?k=>{const w=c(k);return Array.isArray(w)?w.length?w:null:w}:c,u=Object.assign({get key(){return l(this.rawNode)},get disabled(){return r(this.rawNode)},get isGroup(){return s(this.rawNode)},get isLeaf(){return uw(this.rawNode,d)},get shallowLoaded(){return mw(this.rawNode,d)},get ignored(){return a(this.rawNode)},contains(k){return Mw(this,k)}},Ew),h=Vm(e,o,i,u,d);function m(k){if(k==null)return null;const w=o.get(k);return w&&!w.isGroup&&!w.ignored?w:null}function g(k){if(k==null)return null;const w=o.get(k);return w&&!w.ignored?w:null}function v(k,w){const I=g(k);return I?I.getPrev(w):null}function p(k,w){const I=g(k);return I?I.getNext(w):null}function f(k){const w=g(k);return w?w.getParent():null}function x(k){const w=g(k);return w?w.getChild():null}const A={treeNodes:h,treeNodeMap:o,levelTreeNodeMap:i,maxLevel:Math.max(...i.keys()),getChildren:d,getFlattenedNodes(k){return Rw(h,k)},getNode:m,getPrev:v,getNext:p,getParent:f,getChild:x,getFirstAvailableNode(){return _w(h)},getPath(k,w={}){return Sw(k,w,A)},getCheckedKeys(k,w={}){const{cascade:I=!0,leafOnly:C=!1,checkStrategy:S="all",allowNotLoaded:E=!1}=w;return nl({checkedKeys:el(k),indeterminateKeys:tl(k),cascade:I,leafOnly:C,checkStrategy:S,allowNotLoaded:E},A)},check(k,w,I={}){const{cascade:C=!0,leafOnly:S=!1,checkStrategy:E="all",allowNotLoaded:R=!1}=I;return nl({checkedKeys:el(w),indeterminateKeys:tl(w),keysToCheck:k==null?[]:ph(k),cascade:C,leafOnly:S,checkStrategy:E,allowNotLoaded:R},A)},uncheck(k,w,I={}){const{cascade:C=!0,leafOnly:S=!1,checkStrategy:E="all",allowNotLoaded:R=!1}=I;return nl({checkedKeys:el(w),indeterminateKeys:tl(w),keysToUncheck:k==null?[]:ph(k),cascade:C,leafOnly:S,checkStrategy:E,allowNotLoaded:R},A)},getNonLeafKeys(k={}){return dw(h,k)}};return A}const ce={neutralBase:"#000",neutralInvertBase:"#fff",neutralTextBase:"#fff",neutralPopover:"rgb(72, 72, 78)",neutralCard:"rgb(24, 24, 28)",neutralModal:"rgb(44, 44, 50)",neutralBody:"rgb(16, 16, 20)",alpha1:"0.9",alpha2:"0.82",alpha3:"0.52",alpha4:"0.38",alpha5:"0.28",alphaClose:"0.52",alphaDisabled:"0.38",alphaDisabledInput:"0.06",alphaPending:"0.09",alphaTablePending:"0.06",alphaTableStriped:"0.05",alphaPressed:"0.05",alphaAvatar:"0.18",alphaRail:"0.2",alphaProgressRail:"0.12",alphaBorder:"0.24",alphaDivider:"0.09",alphaInput:"0.1",alphaAction:"0.06",alphaTab:"0.04",alphaScrollbar:"0.2",alphaScrollbarHover:"0.3",alphaCode:"0.12",alphaTag:"0.2",primaryHover:"#7fe7c4",primaryDefault:"#63e2b7",primaryActive:"#5acea7",primarySuppl:"rgb(42, 148, 125)",infoHover:"#8acbec",infoDefault:"#70c0e8",infoActive:"#66afd3",infoSuppl:"rgb(56, 137, 197)",errorHover:"#e98b8b",errorDefault:"#e88080",errorActive:"#e57272",errorSuppl:"rgb(208, 58, 82)",warningHover:"#f5d599",warningDefault:"#f2c97d",warningActive:"#e6c260",warningSuppl:"rgb(240, 138, 0)",successHover:"#7fe7c4",successDefault:"#63e2b7",successActive:"#5acea7",successSuppl:"rgb(42, 148, 125)"},Lw=Gn(ce.neutralBase),Km=Gn(ce.neutralInvertBase),$w="rgba("+Km.slice(0,3).join(", ")+", ";function Be(e){return $w+String(e)+")"}function Ow(e){const t=Array.from(Km);return t[3]=Number(e),he(Lw,t)}const Hw=Object.assign(Object.assign({name:"common"},yo),{baseColor:ce.neutralBase,primaryColor:ce.primaryDefault,primaryColorHover:ce.primaryHover,primaryColorPressed:ce.primaryActive,primaryColorSuppl:ce.primarySuppl,infoColor:ce.infoDefault,infoColorHover:ce.infoHover,infoColorPressed:ce.infoActive,infoColorSuppl:ce.infoSuppl,successColor:ce.successDefault,successColorHover:ce.successHover,successColorPressed:ce.successActive,successColorSuppl:ce.successSuppl,warningColor:ce.warningDefault,warningColorHover:ce.warningHover,warningColorPressed:ce.warningActive,warningColorSuppl:ce.warningSuppl,errorColor:ce.errorDefault,errorColorHover:ce.errorHover,errorColorPressed:ce.errorActive,errorColorSuppl:ce.errorSuppl,textColorBase:ce.neutralTextBase,textColor1:Be(ce.alpha1),textColor2:Be(ce.alpha2),textColor3:Be(ce.alpha3),textColorDisabled:Be(ce.alpha4),placeholderColor:Be(ce.alpha4),placeholderColorDisabled:Be(ce.alpha5),iconColor:Be(ce.alpha4),iconColorDisabled:Be(ce.alpha5),iconColorHover:Be(Number(ce.alpha4)*1.25),iconColorPressed:Be(Number(ce.alpha4)*.8),opacity1:ce.alpha1,opacity2:ce.alpha2,opacity3:ce.alpha3,opacity4:ce.alpha4,opacity5:ce.alpha5,dividerColor:Be(ce.alphaDivider),borderColor:Be(ce.alphaBorder),closeIconColorHover:Be(Number(ce.alphaClose)),closeIconColor:Be(Number(ce.alphaClose)),closeIconColorPressed:Be(Number(ce.alphaClose)),closeColorHover:"rgba(255, 255, 255, .12)",closeColorPressed:"rgba(255, 255, 255, .08)",clearColor:Be(ce.alpha4),clearColorHover:ft(Be(ce.alpha4),{alpha:1.25}),clearColorPressed:ft(Be(ce.alpha4),{alpha:.8}),scrollbarColor:Be(ce.alphaScrollbar),scrollbarColorHover:Be(ce.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:Be(ce.alphaProgressRail),railColor:Be(ce.alphaRail),popoverColor:ce.neutralPopover,tableColor:ce.neutralCard,cardColor:ce.neutralCard,modalColor:ce.neutralModal,bodyColor:ce.neutralBody,tagColor:Ow(ce.alphaTag),avatarColor:Be(ce.alphaAvatar),invertedColor:ce.neutralBase,inputColor:Be(ce.alphaInput),codeColor:Be(ce.alphaCode),tabColor:Be(ce.alphaTab),actionColor:Be(ce.alphaAction),tableHeaderColor:Be(ce.alphaAction),hoverColor:Be(ce.alphaPending),tableColorHover:Be(ce.alphaTablePending),tableColorStriped:Be(ce.alphaTableStriped),pressedColor:Be(ce.alphaPressed),opacityDisabled:ce.alphaDisabled,inputColorDisabled:Be(ce.alphaDisabledInput),buttonColor2:"rgba(255, 255, 255, .08)",buttonColor2Hover:"rgba(255, 255, 255, .12)",buttonColor2Pressed:"rgba(255, 255, 255, .08)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .24), 0 3px 6px 0 rgba(0, 0, 0, .18), 0 5px 12px 4px rgba(0, 0, 0, .12)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .24), 0 6px 12px 0 rgba(0, 0, 0, .16), 0 9px 18px 8px rgba(0, 0, 0, .10)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"}),re=Hw,ve={neutralBase:"#FFF",neutralInvertBase:"#000",neutralTextBase:"#000",neutralPopover:"#fff",neutralCard:"#fff",neutralModal:"#fff",neutralBody:"#fff",alpha1:"0.82",alpha2:"0.72",alpha3:"0.38",alpha4:"0.24",alpha5:"0.18",alphaClose:"0.6",alphaDisabled:"0.5",alphaDisabledInput:"0.02",alphaPending:"0.05",alphaTablePending:"0.02",alphaPressed:"0.07",alphaAvatar:"0.2",alphaRail:"0.14",alphaProgressRail:".08",alphaBorder:"0.12",alphaDivider:"0.06",alphaInput:"0",alphaAction:"0.02",alphaTab:"0.04",alphaScrollbar:"0.25",alphaScrollbarHover:"0.4",alphaCode:"0.05",alphaTag:"0.02",primaryHover:"#36ad6a",primaryDefault:"#18a058",primaryActive:"#0c7a43",primarySuppl:"#36ad6a",infoHover:"#4098fc",infoDefault:"#2080f0",infoActive:"#1060c9",infoSuppl:"#4098fc",errorHover:"#de576d",errorDefault:"#d03050",errorActive:"#ab1f3f",errorSuppl:"#de576d",warningHover:"#fcb040",warningDefault:"#f0a020",warningActive:"#c97c10",warningSuppl:"#fcb040",successHover:"#36ad6a",successDefault:"#18a058",successActive:"#0c7a43",successSuppl:"#36ad6a"},Bw=Gn(ve.neutralBase),Um=Gn(ve.neutralInvertBase),Nw="rgba("+Um.slice(0,3).join(", ")+", ";function vh(e){return Nw+String(e)+")"}function Ht(e){const t=Array.from(Um);return t[3]=Number(e),he(Bw,t)}const zw=Object.assign(Object.assign({name:"common"},yo),{baseColor:ve.neutralBase,primaryColor:ve.primaryDefault,primaryColorHover:ve.primaryHover,primaryColorPressed:ve.primaryActive,primaryColorSuppl:ve.primarySuppl,infoColor:ve.infoDefault,infoColorHover:ve.infoHover,infoColorPressed:ve.infoActive,infoColorSuppl:ve.infoSuppl,successColor:ve.successDefault,successColorHover:ve.successHover,successColorPressed:ve.successActive,successColorSuppl:ve.successSuppl,warningColor:ve.warningDefault,warningColorHover:ve.warningHover,warningColorPressed:ve.warningActive,warningColorSuppl:ve.warningSuppl,errorColor:ve.errorDefault,errorColorHover:ve.errorHover,errorColorPressed:ve.errorActive,errorColorSuppl:ve.errorSuppl,textColorBase:ve.neutralTextBase,textColor1:"rgb(31, 34, 37)",textColor2:"rgb(51, 54, 57)",textColor3:"rgb(118, 124, 130)",textColorDisabled:Ht(ve.alpha4),placeholderColor:Ht(ve.alpha4),placeholderColorDisabled:Ht(ve.alpha5),iconColor:Ht(ve.alpha4),iconColorHover:ft(Ht(ve.alpha4),{lightness:.75}),iconColorPressed:ft(Ht(ve.alpha4),{lightness:.9}),iconColorDisabled:Ht(ve.alpha5),opacity1:ve.alpha1,opacity2:ve.alpha2,opacity3:ve.alpha3,opacity4:ve.alpha4,opacity5:ve.alpha5,dividerColor:"rgb(239, 239, 245)",borderColor:"rgb(224, 224, 230)",closeIconColor:Ht(Number(ve.alphaClose)),closeIconColorHover:Ht(Number(ve.alphaClose)),closeIconColorPressed:Ht(Number(ve.alphaClose)),closeColorHover:"rgba(0, 0, 0, .09)",closeColorPressed:"rgba(0, 0, 0, .13)",clearColor:Ht(ve.alpha4),clearColorHover:ft(Ht(ve.alpha4),{lightness:.75}),clearColorPressed:ft(Ht(ve.alpha4),{lightness:.9}),scrollbarColor:vh(ve.alphaScrollbar),scrollbarColorHover:vh(ve.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:Ht(ve.alphaProgressRail),railColor:"rgb(219, 219, 223)",popoverColor:ve.neutralPopover,tableColor:ve.neutralCard,cardColor:ve.neutralCard,modalColor:ve.neutralModal,bodyColor:ve.neutralBody,tagColor:"#eee",avatarColor:Ht(ve.alphaAvatar),invertedColor:"rgb(0, 20, 40)",inputColor:Ht(ve.alphaInput),codeColor:"rgb(244, 244, 248)",tabColor:"rgb(247, 247, 250)",actionColor:"rgb(250, 250, 252)",tableHeaderColor:"rgb(250, 250, 252)",hoverColor:"rgb(243, 243, 245)",tableColorHover:"rgba(0, 0, 100, 0.03)",tableColorStriped:"rgba(0, 0, 100, 0.02)",pressedColor:"rgb(237, 237, 239)",opacityDisabled:ve.alphaDisabled,inputColorDisabled:"rgb(250, 250, 252)",buttonColor2:"rgba(46, 51, 56, .05)",buttonColor2Hover:"rgba(46, 51, 56, .09)",buttonColor2Pressed:"rgba(46, 51, 56, .13)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .08), 0 3px 6px 0 rgba(0, 0, 0, .06), 0 5px 12px 4px rgba(0, 0, 0, .04)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .12), 0 6px 16px 0 rgba(0, 0, 0, .08), 0 9px 28px 8px rgba(0, 0, 0, .05)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"}),ae=zw,Fw={iconSizeSmall:"34px",iconSizeMedium:"40px",iconSizeLarge:"46px",iconSizeHuge:"52px"},qm=e=>{const{textColorDisabled:t,iconColor:n,textColor2:o,fontSizeSmall:i,fontSizeMedium:r,fontSizeLarge:a,fontSizeHuge:s}=e;return Object.assign(Object.assign({},Fw),{fontSizeSmall:i,fontSizeMedium:r,fontSizeLarge:a,fontSizeHuge:s,textColor:t,iconColor:n,extraTextColor:o})},Ww={name:"Empty",common:ae,self:qm},Xn=Ww,jw={name:"Empty",common:re,self:qm},ni=jw,Xm=e=>{const{scrollbarColor:t,scrollbarColorHover:n}=e;return{color:t,colorHover:n}},Gw={name:"Scrollbar",common:ae,self:Xm},Vt=Gw,Vw={name:"Scrollbar",common:re,self:Xm},Jt=Vw,{cubicBezierEaseInOut:yh}=yo;function Uc({name:e="fade-in",enterDuration:t="0.2s",leaveDuration:n="0.2s",enterCubicBezier:o=yh,leaveCubicBezier:i=yh}={}){return[N(`&.${e}-transition-enter-active`,{transition:`all ${t} ${o}!important`}),N(`&.${e}-transition-leave-active`,{transition:`all ${n} ${i}!important`}),N(`&.${e}-transition-enter-from, &.${e}-transition-leave-to`,{opacity:0}),N(`&.${e}-transition-leave-from, &.${e}-transition-enter-to`,{opacity:1})]}const Kw=Q("scrollbar",` overflow: hidden; position: relative; z-index: auto; @@ -261,14 +261,14 @@ ${t} pointer-events: all; background-color: var(--n-scrollbar-color); transition: background-color .2s var(--n-scrollbar-bezier); - `,[Uc(),N("&:hover",{backgroundColor:"var(--n-scrollbar-color-hover)"})])])])])]),qw=Object.assign(Object.assign({},Pe.props),{size:{type:Number,default:5},duration:{type:Number,default:0},scrollable:{type:Boolean,default:!0},xScrollable:Boolean,trigger:{type:String,default:"hover"},useUnifiedContainer:Boolean,triggerDisplayManually:Boolean,container:Function,content:Function,containerClass:String,containerStyle:[String,Object],contentClass:String,contentStyle:[String,Object],horizontalRailStyle:[String,Object],verticalRailStyle:[String,Object],onScroll:Function,onWheel:Function,onResize:Function,internalOnUpdateScrollLeft:Function,internalHoistYRail:Boolean}),Zm=se({name:"Scrollbar",props:qw,inheritAttrs:!1,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n,mergedRtlRef:o}=lt(e),i=ti("Scrollbar",o,t),r=j(null),a=j(null),s=j(null),l=j(null),c=j(null),d=j(null),u=j(null),h=j(null),m=j(null),g=j(null),v=j(null),p=j(0),f=j(0),x=j(!1),A=j(!1);let k=!1,w=!1,I,C,S=0,E=0,R=0,G=0;const M=J2(),q=z(()=>{const{value:te}=h,{value:me}=d,{value:Se}=g;return te===null||me===null||Se===null?0:Math.min(te,Se*te/me+e.size*1.5)}),ee=z(()=>`${q.value}px`),O=z(()=>{const{value:te}=m,{value:me}=u,{value:Se}=v;return te===null||me===null||Se===null?0:Se*te/me+e.size*1.5}),V=z(()=>`${O.value}px`),W=z(()=>{const{value:te}=h,{value:me}=p,{value:Se}=d,{value:qe}=g;if(te===null||Se===null||qe===null)return 0;{const ut=Se-te;return ut?me/ut*(qe-q.value):0}}),oe=z(()=>`${W.value}px`),fe=z(()=>{const{value:te}=m,{value:me}=f,{value:Se}=u,{value:qe}=v;if(te===null||Se===null||qe===null)return 0;{const ut=Se-te;return ut?me/ut*(qe-O.value):0}}),we=z(()=>`${fe.value}px`),De=z(()=>{const{value:te}=h,{value:me}=d;return te!==null&&me!==null&&me>te}),Le=z(()=>{const{value:te}=m,{value:me}=u;return te!==null&&me!==null&&me>te}),mt=z(()=>{const{trigger:te}=e;return te==="none"||x.value}),ct=z(()=>{const{trigger:te}=e;return te==="none"||A.value}),Je=z(()=>{const{container:te}=e;return te?te():a.value}),Ae=z(()=>{const{content:te}=e;return te?te():s.value}),Ee=Qg(()=>{e.container||dt({top:p.value,left:f.value})}),Pt=()=>{Ee.isDeactivated||D()},Te=te=>{if(Ee.isDeactivated)return;const{onResize:me}=e;me&&me(te),D()},dt=(te,me)=>{if(!e.scrollable)return;if(typeof te=="number"){P(me??0,te,0,!1,"auto");return}const{left:Se,top:qe,index:ut,elSize:Ot,position:bn,behavior:Qe,el:vn,debounce:Zn=!0}=te;(Se!==void 0||qe!==void 0)&&P(Se??0,qe??0,0,!1,Qe),vn!==void 0?P(0,vn.offsetTop,vn.offsetHeight,Zn,Qe):ut!==void 0&&Ot!==void 0?P(0,ut*Ot,Ot,Zn,Qe):bn==="bottom"?P(0,Number.MAX_SAFE_INTEGER,0,!1,Qe):bn==="top"&&P(0,0,0,!1,Qe)},bt=(te,me)=>{if(!e.scrollable)return;const{value:Se}=Je;Se&&(typeof te=="object"?Se.scrollBy(te):Se.scrollBy(te,me||0))};function P(te,me,Se,qe,ut){const{value:Ot}=Je;if(Ot){if(qe){const{scrollTop:bn,offsetHeight:Qe}=Ot;if(me>bn){me+Se<=bn+Qe||Ot.scrollTo({left:te,top:me+Se-Qe,behavior:ut});return}}Ot.scrollTo({left:te,top:me,behavior:ut})}}function b(){Z(),ne(),D()}function y(){_()}function _(){$(),B()}function $(){C!==void 0&&window.clearTimeout(C),C=window.setTimeout(()=>{A.value=!1},e.duration)}function B(){I!==void 0&&window.clearTimeout(I),I=window.setTimeout(()=>{x.value=!1},e.duration)}function Z(){I!==void 0&&window.clearTimeout(I),x.value=!0}function ne(){C!==void 0&&window.clearTimeout(C),A.value=!0}function X(te){const{onScroll:me}=e;me&&me(te),K()}function K(){const{value:te}=Je;te&&(p.value=te.scrollTop,f.value=te.scrollLeft*(i!=null&&i.value?-1:1))}function ge(){const{value:te}=Ae;te&&(d.value=te.offsetHeight,u.value=te.offsetWidth);const{value:me}=Je;me&&(h.value=me.offsetHeight,m.value=me.offsetWidth);const{value:Se}=c,{value:qe}=l;Se&&(v.value=Se.offsetWidth),qe&&(g.value=qe.offsetHeight)}function ie(){const{value:te}=Je;te&&(p.value=te.scrollTop,f.value=te.scrollLeft*(i!=null&&i.value?-1:1),h.value=te.offsetHeight,m.value=te.offsetWidth,d.value=te.scrollHeight,u.value=te.scrollWidth);const{value:me}=c,{value:Se}=l;me&&(v.value=me.offsetWidth),Se&&(g.value=Se.offsetHeight)}function D(){e.scrollable&&(e.useUnifiedContainer?ie():(ge(),K()))}function H(te){var me;return!(!((me=r.value)===null||me===void 0)&&me.contains(wr(te)))}function de(te){te.preventDefault(),te.stopPropagation(),w=!0,st("mousemove",window,be,!0),st("mouseup",window,Me,!0),E=f.value,R=i!=null&&i.value?window.innerWidth-te.clientX:te.clientX}function be(te){if(!w)return;I!==void 0&&window.clearTimeout(I),C!==void 0&&window.clearTimeout(C);const{value:me}=m,{value:Se}=u,{value:qe}=O;if(me===null||Se===null)return;const Ot=(i!=null&&i.value?window.innerWidth-te.clientX-R:te.clientX-R)*(Se-me)/(me-qe),bn=Se-me;let Qe=E+Ot;Qe=Math.min(bn,Qe),Qe=Math.max(Qe,0);const{value:vn}=Je;if(vn){vn.scrollLeft=Qe*(i!=null&&i.value?-1:1);const{internalOnUpdateScrollLeft:Zn}=e;Zn&&Zn(Qe)}}function Me(te){te.preventDefault(),te.stopPropagation(),Ue("mousemove",window,be,!0),Ue("mouseup",window,Me,!0),w=!1,D(),H(te)&&_()}function Ge(te){te.preventDefault(),te.stopPropagation(),k=!0,st("mousemove",window,it,!0),st("mouseup",window,Ut,!0),S=p.value,G=te.clientY}function it(te){if(!k)return;I!==void 0&&window.clearTimeout(I),C!==void 0&&window.clearTimeout(C);const{value:me}=h,{value:Se}=d,{value:qe}=q;if(me===null||Se===null)return;const Ot=(te.clientY-G)*(Se-me)/(me-qe),bn=Se-me;let Qe=S+Ot;Qe=Math.min(bn,Qe),Qe=Math.max(Qe,0);const{value:vn}=Je;vn&&(vn.scrollTop=Qe)}function Ut(te){te.preventDefault(),te.stopPropagation(),Ue("mousemove",window,it,!0),Ue("mouseup",window,Ut,!0),k=!1,D(),H(te)&&_()}ho(()=>{const{value:te}=Le,{value:me}=De,{value:Se}=t,{value:qe}=c,{value:ut}=l;qe&&(te?qe.classList.remove(`${Se}-scrollbar-rail--disabled`):qe.classList.add(`${Se}-scrollbar-rail--disabled`)),ut&&(me?ut.classList.remove(`${Se}-scrollbar-rail--disabled`):ut.classList.add(`${Se}-scrollbar-rail--disabled`))}),Lt(()=>{e.container||D()}),kt(()=>{I!==void 0&&window.clearTimeout(I),C!==void 0&&window.clearTimeout(C),Ue("mousemove",window,it,!0),Ue("mouseup",window,Ut,!0)});const To=Pe("Scrollbar","-scrollbar",Uw,Vt,e,t),wn=z(()=>{const{common:{cubicBezierEaseInOut:te,scrollbarBorderRadius:me,scrollbarHeight:Se,scrollbarWidth:qe},self:{color:ut,colorHover:Ot}}=To.value;return{"--n-scrollbar-bezier":te,"--n-scrollbar-color":ut,"--n-scrollbar-color-hover":Ot,"--n-scrollbar-border-radius":me,"--n-scrollbar-width":qe,"--n-scrollbar-height":Se}}),pn=n?_t("scrollbar",void 0,wn,e):void 0;return Object.assign(Object.assign({},{scrollTo:dt,scrollBy:bt,sync:D,syncUnifiedContainer:ie,handleMouseEnterWrapper:b,handleMouseLeaveWrapper:y}),{mergedClsPrefix:t,rtlEnabled:i,containerScrollTop:p,wrapperRef:r,containerRef:a,contentRef:s,yRailRef:l,xRailRef:c,needYBar:De,needXBar:Le,yBarSizePx:ee,xBarSizePx:V,yBarTopPx:oe,xBarLeftPx:we,isShowXBar:mt,isShowYBar:ct,isIos:M,handleScroll:X,handleContentResize:Pt,handleContainerResize:Te,handleYScrollMouseDown:Ge,handleXScrollMouseDown:de,cssVars:n?void 0:wn,themeClass:pn==null?void 0:pn.themeClass,onRender:pn==null?void 0:pn.onRender})},render(){var e;const{$slots:t,mergedClsPrefix:n,triggerDisplayManually:o,rtlEnabled:i,internalHoistYRail:r}=this;if(!this.scrollable)return(e=t.default)===null||e===void 0?void 0:e.call(t);const a=this.trigger==="none",s=d=>T("div",{ref:"yRailRef",class:[`${n}-scrollbar-rail`,`${n}-scrollbar-rail--vertical`],"data-scrollbar-rail":!0,style:[d||"",this.verticalRailStyle],"aria-hiddens":!0},T(a?ou:gn,a?null:{name:"fade-in-transition"},{default:()=>this.needYBar&&this.isShowYBar&&!this.isIos?T("div",{class:`${n}-scrollbar-rail__scrollbar`,style:{height:this.yBarSizePx,top:this.yBarTopPx},onMousedown:this.handleYScrollMouseDown}):null})),l=()=>{var d,u;return(d=this.onRender)===null||d===void 0||d.call(this),T("div",Ln(this.$attrs,{role:"none",ref:"wrapperRef",class:[`${n}-scrollbar`,this.themeClass,i&&`${n}-scrollbar--rtl`],style:this.cssVars,onMouseenter:o?void 0:this.handleMouseEnterWrapper,onMouseleave:o?void 0:this.handleMouseLeaveWrapper}),[this.container?(u=t.default)===null||u===void 0?void 0:u.call(t):T("div",{role:"none",ref:"containerRef",class:[`${n}-scrollbar-container`,this.containerClass],style:this.containerStyle,onScroll:this.handleScroll,onWheel:this.onWheel},T($a,{onResize:this.handleContentResize},{default:()=>T("div",{ref:"contentRef",role:"none",style:[{width:this.xScrollable?"fit-content":null},this.contentStyle],class:[`${n}-scrollbar-content`,this.contentClass]},t)})),r?null:s(void 0),this.xScrollable&&T("div",{ref:"xRailRef",class:[`${n}-scrollbar-rail`,`${n}-scrollbar-rail--horizontal`],style:this.horizontalRailStyle,"data-scrollbar-rail":!0,"aria-hidden":!0},T(a?ou:gn,a?null:{name:"fade-in-transition"},{default:()=>this.needXBar&&this.isShowXBar&&!this.isIos?T("div",{class:`${n}-scrollbar-rail__scrollbar`,style:{width:this.xBarSizePx,right:i?this.xBarLeftPx:void 0,left:i?void 0:this.xBarLeftPx},onMousedown:this.handleXScrollMouseDown}):null}))])},c=this.container?l():T($a,{onResize:this.handleContainerResize},{default:l});return r?T(He,null,c,s(this.cssVars)):c}}),xs=Zm,Ym=Zm,Xw={height:"calc(var(--n-option-height) * 7.6)",paddingSmall:"4px 0",paddingMedium:"4px 0",paddingLarge:"4px 0",paddingHuge:"4px 0",optionPaddingSmall:"0 12px",optionPaddingMedium:"0 12px",optionPaddingLarge:"0 12px",optionPaddingHuge:"0 12px",loadingSize:"18px"},Jm=e=>{const{borderRadius:t,popoverColor:n,textColor3:o,dividerColor:i,textColor2:r,primaryColorPressed:a,textColorDisabled:s,primaryColor:l,opacityDisabled:c,hoverColor:d,fontSizeSmall:u,fontSizeMedium:h,fontSizeLarge:m,fontSizeHuge:g,heightSmall:v,heightMedium:p,heightLarge:f,heightHuge:x}=e;return Object.assign(Object.assign({},Xw),{optionFontSizeSmall:u,optionFontSizeMedium:h,optionFontSizeLarge:m,optionFontSizeHuge:g,optionHeightSmall:v,optionHeightMedium:p,optionHeightLarge:f,optionHeightHuge:x,borderRadius:t,color:n,groupHeaderTextColor:o,actionDividerColor:i,optionTextColor:r,optionTextColorPressed:a,optionTextColorDisabled:s,optionTextColorActive:l,optionOpacityDisabled:c,optionCheckColor:l,optionColorPending:d,optionColorActive:"rgba(0, 0, 0, 0)",optionColorActivePending:d,actionTextColor:r,loadingColor:l})},Zw={name:"InternalSelectMenu",common:ae,peers:{Scrollbar:Vt,Empty:Xn},self:Jm},Wr=Zw,Yw={name:"InternalSelectMenu",common:re,peers:{Scrollbar:Jt,Empty:ni},self:Jm},jr=Yw,{cubicBezierEaseIn:xh,cubicBezierEaseOut:kh}=yo;function Qm({transformOrigin:e="inherit",duration:t=".2s",enterScale:n=".9",originalTransform:o="",originalTransition:i=""}={}){return[N("&.fade-in-scale-up-transition-leave-active",{transformOrigin:e,transition:`opacity ${t} ${xh}, transform ${t} ${xh} ${i&&","+i}`}),N("&.fade-in-scale-up-transition-enter-active",{transformOrigin:e,transition:`opacity ${t} ${kh}, transform ${t} ${kh} ${i&&","+i}`}),N("&.fade-in-scale-up-transition-enter-from, &.fade-in-scale-up-transition-leave-to",{opacity:0,transform:`${o} scale(${n})`}),N("&.fade-in-scale-up-transition-leave-from, &.fade-in-scale-up-transition-enter-to",{opacity:1,transform:`${o} scale(1)`})]}const Jw=Q("base-wave",` + `,[Uc(),N("&:hover",{backgroundColor:"var(--n-scrollbar-color-hover)"})])])])])]),Uw=Object.assign(Object.assign({},Pe.props),{size:{type:Number,default:5},duration:{type:Number,default:0},scrollable:{type:Boolean,default:!0},xScrollable:Boolean,trigger:{type:String,default:"hover"},useUnifiedContainer:Boolean,triggerDisplayManually:Boolean,container:Function,content:Function,containerClass:String,containerStyle:[String,Object],contentClass:String,contentStyle:[String,Object],horizontalRailStyle:[String,Object],verticalRailStyle:[String,Object],onScroll:Function,onWheel:Function,onResize:Function,internalOnUpdateScrollLeft:Function,internalHoistYRail:Boolean}),Zm=se({name:"Scrollbar",props:Uw,inheritAttrs:!1,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n,mergedRtlRef:o}=lt(e),i=ti("Scrollbar",o,t),r=j(null),a=j(null),s=j(null),l=j(null),c=j(null),d=j(null),u=j(null),h=j(null),m=j(null),g=j(null),v=j(null),p=j(0),f=j(0),x=j(!1),A=j(!1);let k=!1,w=!1,I,C,S=0,E=0,R=0,G=0;const M=Y2(),q=z(()=>{const{value:te}=h,{value:me}=d,{value:Se}=g;return te===null||me===null||Se===null?0:Math.min(te,Se*te/me+e.size*1.5)}),ee=z(()=>`${q.value}px`),O=z(()=>{const{value:te}=m,{value:me}=u,{value:Se}=v;return te===null||me===null||Se===null?0:Se*te/me+e.size*1.5}),V=z(()=>`${O.value}px`),W=z(()=>{const{value:te}=h,{value:me}=p,{value:Se}=d,{value:qe}=g;if(te===null||Se===null||qe===null)return 0;{const ut=Se-te;return ut?me/ut*(qe-q.value):0}}),oe=z(()=>`${W.value}px`),fe=z(()=>{const{value:te}=m,{value:me}=f,{value:Se}=u,{value:qe}=v;if(te===null||Se===null||qe===null)return 0;{const ut=Se-te;return ut?me/ut*(qe-O.value):0}}),we=z(()=>`${fe.value}px`),De=z(()=>{const{value:te}=h,{value:me}=d;return te!==null&&me!==null&&me>te}),Le=z(()=>{const{value:te}=m,{value:me}=u;return te!==null&&me!==null&&me>te}),mt=z(()=>{const{trigger:te}=e;return te==="none"||x.value}),ct=z(()=>{const{trigger:te}=e;return te==="none"||A.value}),Je=z(()=>{const{container:te}=e;return te?te():a.value}),Ae=z(()=>{const{content:te}=e;return te?te():s.value}),Ee=Qg(()=>{e.container||dt({top:p.value,left:f.value})}),Pt=()=>{Ee.isDeactivated||D()},Te=te=>{if(Ee.isDeactivated)return;const{onResize:me}=e;me&&me(te),D()},dt=(te,me)=>{if(!e.scrollable)return;if(typeof te=="number"){P(me??0,te,0,!1,"auto");return}const{left:Se,top:qe,index:ut,elSize:Ot,position:bn,behavior:Qe,el:vn,debounce:Zn=!0}=te;(Se!==void 0||qe!==void 0)&&P(Se??0,qe??0,0,!1,Qe),vn!==void 0?P(0,vn.offsetTop,vn.offsetHeight,Zn,Qe):ut!==void 0&&Ot!==void 0?P(0,ut*Ot,Ot,Zn,Qe):bn==="bottom"?P(0,Number.MAX_SAFE_INTEGER,0,!1,Qe):bn==="top"&&P(0,0,0,!1,Qe)},bt=(te,me)=>{if(!e.scrollable)return;const{value:Se}=Je;Se&&(typeof te=="object"?Se.scrollBy(te):Se.scrollBy(te,me||0))};function P(te,me,Se,qe,ut){const{value:Ot}=Je;if(Ot){if(qe){const{scrollTop:bn,offsetHeight:Qe}=Ot;if(me>bn){me+Se<=bn+Qe||Ot.scrollTo({left:te,top:me+Se-Qe,behavior:ut});return}}Ot.scrollTo({left:te,top:me,behavior:ut})}}function b(){Z(),ne(),D()}function y(){_()}function _(){$(),B()}function $(){C!==void 0&&window.clearTimeout(C),C=window.setTimeout(()=>{A.value=!1},e.duration)}function B(){I!==void 0&&window.clearTimeout(I),I=window.setTimeout(()=>{x.value=!1},e.duration)}function Z(){I!==void 0&&window.clearTimeout(I),x.value=!0}function ne(){C!==void 0&&window.clearTimeout(C),A.value=!0}function X(te){const{onScroll:me}=e;me&&me(te),K()}function K(){const{value:te}=Je;te&&(p.value=te.scrollTop,f.value=te.scrollLeft*(i!=null&&i.value?-1:1))}function ge(){const{value:te}=Ae;te&&(d.value=te.offsetHeight,u.value=te.offsetWidth);const{value:me}=Je;me&&(h.value=me.offsetHeight,m.value=me.offsetWidth);const{value:Se}=c,{value:qe}=l;Se&&(v.value=Se.offsetWidth),qe&&(g.value=qe.offsetHeight)}function ie(){const{value:te}=Je;te&&(p.value=te.scrollTop,f.value=te.scrollLeft*(i!=null&&i.value?-1:1),h.value=te.offsetHeight,m.value=te.offsetWidth,d.value=te.scrollHeight,u.value=te.scrollWidth);const{value:me}=c,{value:Se}=l;me&&(v.value=me.offsetWidth),Se&&(g.value=Se.offsetHeight)}function D(){e.scrollable&&(e.useUnifiedContainer?ie():(ge(),K()))}function H(te){var me;return!(!((me=r.value)===null||me===void 0)&&me.contains(wr(te)))}function de(te){te.preventDefault(),te.stopPropagation(),w=!0,st("mousemove",window,be,!0),st("mouseup",window,Me,!0),E=f.value,R=i!=null&&i.value?window.innerWidth-te.clientX:te.clientX}function be(te){if(!w)return;I!==void 0&&window.clearTimeout(I),C!==void 0&&window.clearTimeout(C);const{value:me}=m,{value:Se}=u,{value:qe}=O;if(me===null||Se===null)return;const Ot=(i!=null&&i.value?window.innerWidth-te.clientX-R:te.clientX-R)*(Se-me)/(me-qe),bn=Se-me;let Qe=E+Ot;Qe=Math.min(bn,Qe),Qe=Math.max(Qe,0);const{value:vn}=Je;if(vn){vn.scrollLeft=Qe*(i!=null&&i.value?-1:1);const{internalOnUpdateScrollLeft:Zn}=e;Zn&&Zn(Qe)}}function Me(te){te.preventDefault(),te.stopPropagation(),Ue("mousemove",window,be,!0),Ue("mouseup",window,Me,!0),w=!1,D(),H(te)&&_()}function Ge(te){te.preventDefault(),te.stopPropagation(),k=!0,st("mousemove",window,it,!0),st("mouseup",window,Ut,!0),S=p.value,G=te.clientY}function it(te){if(!k)return;I!==void 0&&window.clearTimeout(I),C!==void 0&&window.clearTimeout(C);const{value:me}=h,{value:Se}=d,{value:qe}=q;if(me===null||Se===null)return;const Ot=(te.clientY-G)*(Se-me)/(me-qe),bn=Se-me;let Qe=S+Ot;Qe=Math.min(bn,Qe),Qe=Math.max(Qe,0);const{value:vn}=Je;vn&&(vn.scrollTop=Qe)}function Ut(te){te.preventDefault(),te.stopPropagation(),Ue("mousemove",window,it,!0),Ue("mouseup",window,Ut,!0),k=!1,D(),H(te)&&_()}ho(()=>{const{value:te}=Le,{value:me}=De,{value:Se}=t,{value:qe}=c,{value:ut}=l;qe&&(te?qe.classList.remove(`${Se}-scrollbar-rail--disabled`):qe.classList.add(`${Se}-scrollbar-rail--disabled`)),ut&&(me?ut.classList.remove(`${Se}-scrollbar-rail--disabled`):ut.classList.add(`${Se}-scrollbar-rail--disabled`))}),Lt(()=>{e.container||D()}),kt(()=>{I!==void 0&&window.clearTimeout(I),C!==void 0&&window.clearTimeout(C),Ue("mousemove",window,it,!0),Ue("mouseup",window,Ut,!0)});const To=Pe("Scrollbar","-scrollbar",Kw,Vt,e,t),wn=z(()=>{const{common:{cubicBezierEaseInOut:te,scrollbarBorderRadius:me,scrollbarHeight:Se,scrollbarWidth:qe},self:{color:ut,colorHover:Ot}}=To.value;return{"--n-scrollbar-bezier":te,"--n-scrollbar-color":ut,"--n-scrollbar-color-hover":Ot,"--n-scrollbar-border-radius":me,"--n-scrollbar-width":qe,"--n-scrollbar-height":Se}}),pn=n?_t("scrollbar",void 0,wn,e):void 0;return Object.assign(Object.assign({},{scrollTo:dt,scrollBy:bt,sync:D,syncUnifiedContainer:ie,handleMouseEnterWrapper:b,handleMouseLeaveWrapper:y}),{mergedClsPrefix:t,rtlEnabled:i,containerScrollTop:p,wrapperRef:r,containerRef:a,contentRef:s,yRailRef:l,xRailRef:c,needYBar:De,needXBar:Le,yBarSizePx:ee,xBarSizePx:V,yBarTopPx:oe,xBarLeftPx:we,isShowXBar:mt,isShowYBar:ct,isIos:M,handleScroll:X,handleContentResize:Pt,handleContainerResize:Te,handleYScrollMouseDown:Ge,handleXScrollMouseDown:de,cssVars:n?void 0:wn,themeClass:pn==null?void 0:pn.themeClass,onRender:pn==null?void 0:pn.onRender})},render(){var e;const{$slots:t,mergedClsPrefix:n,triggerDisplayManually:o,rtlEnabled:i,internalHoistYRail:r}=this;if(!this.scrollable)return(e=t.default)===null||e===void 0?void 0:e.call(t);const a=this.trigger==="none",s=d=>T("div",{ref:"yRailRef",class:[`${n}-scrollbar-rail`,`${n}-scrollbar-rail--vertical`],"data-scrollbar-rail":!0,style:[d||"",this.verticalRailStyle],"aria-hiddens":!0},T(a?ou:gn,a?null:{name:"fade-in-transition"},{default:()=>this.needYBar&&this.isShowYBar&&!this.isIos?T("div",{class:`${n}-scrollbar-rail__scrollbar`,style:{height:this.yBarSizePx,top:this.yBarTopPx},onMousedown:this.handleYScrollMouseDown}):null})),l=()=>{var d,u;return(d=this.onRender)===null||d===void 0||d.call(this),T("div",Ln(this.$attrs,{role:"none",ref:"wrapperRef",class:[`${n}-scrollbar`,this.themeClass,i&&`${n}-scrollbar--rtl`],style:this.cssVars,onMouseenter:o?void 0:this.handleMouseEnterWrapper,onMouseleave:o?void 0:this.handleMouseLeaveWrapper}),[this.container?(u=t.default)===null||u===void 0?void 0:u.call(t):T("div",{role:"none",ref:"containerRef",class:[`${n}-scrollbar-container`,this.containerClass],style:this.containerStyle,onScroll:this.handleScroll,onWheel:this.onWheel},T($a,{onResize:this.handleContentResize},{default:()=>T("div",{ref:"contentRef",role:"none",style:[{width:this.xScrollable?"fit-content":null},this.contentStyle],class:[`${n}-scrollbar-content`,this.contentClass]},t)})),r?null:s(void 0),this.xScrollable&&T("div",{ref:"xRailRef",class:[`${n}-scrollbar-rail`,`${n}-scrollbar-rail--horizontal`],style:this.horizontalRailStyle,"data-scrollbar-rail":!0,"aria-hidden":!0},T(a?ou:gn,a?null:{name:"fade-in-transition"},{default:()=>this.needXBar&&this.isShowXBar&&!this.isIos?T("div",{class:`${n}-scrollbar-rail__scrollbar`,style:{width:this.xBarSizePx,right:i?this.xBarLeftPx:void 0,left:i?void 0:this.xBarLeftPx},onMousedown:this.handleXScrollMouseDown}):null}))])},c=this.container?l():T($a,{onResize:this.handleContainerResize},{default:l});return r?T(He,null,c,s(this.cssVars)):c}}),xs=Zm,Ym=Zm,qw={height:"calc(var(--n-option-height) * 7.6)",paddingSmall:"4px 0",paddingMedium:"4px 0",paddingLarge:"4px 0",paddingHuge:"4px 0",optionPaddingSmall:"0 12px",optionPaddingMedium:"0 12px",optionPaddingLarge:"0 12px",optionPaddingHuge:"0 12px",loadingSize:"18px"},Jm=e=>{const{borderRadius:t,popoverColor:n,textColor3:o,dividerColor:i,textColor2:r,primaryColorPressed:a,textColorDisabled:s,primaryColor:l,opacityDisabled:c,hoverColor:d,fontSizeSmall:u,fontSizeMedium:h,fontSizeLarge:m,fontSizeHuge:g,heightSmall:v,heightMedium:p,heightLarge:f,heightHuge:x}=e;return Object.assign(Object.assign({},qw),{optionFontSizeSmall:u,optionFontSizeMedium:h,optionFontSizeLarge:m,optionFontSizeHuge:g,optionHeightSmall:v,optionHeightMedium:p,optionHeightLarge:f,optionHeightHuge:x,borderRadius:t,color:n,groupHeaderTextColor:o,actionDividerColor:i,optionTextColor:r,optionTextColorPressed:a,optionTextColorDisabled:s,optionTextColorActive:l,optionOpacityDisabled:c,optionCheckColor:l,optionColorPending:d,optionColorActive:"rgba(0, 0, 0, 0)",optionColorActivePending:d,actionTextColor:r,loadingColor:l})},Xw={name:"InternalSelectMenu",common:ae,peers:{Scrollbar:Vt,Empty:Xn},self:Jm},Wr=Xw,Zw={name:"InternalSelectMenu",common:re,peers:{Scrollbar:Jt,Empty:ni},self:Jm},jr=Zw,{cubicBezierEaseIn:xh,cubicBezierEaseOut:kh}=yo;function Qm({transformOrigin:e="inherit",duration:t=".2s",enterScale:n=".9",originalTransform:o="",originalTransition:i=""}={}){return[N("&.fade-in-scale-up-transition-leave-active",{transformOrigin:e,transition:`opacity ${t} ${xh}, transform ${t} ${xh} ${i&&","+i}`}),N("&.fade-in-scale-up-transition-enter-active",{transformOrigin:e,transition:`opacity ${t} ${kh}, transform ${t} ${kh} ${i&&","+i}`}),N("&.fade-in-scale-up-transition-enter-from, &.fade-in-scale-up-transition-leave-to",{opacity:0,transform:`${o} scale(${n})`}),N("&.fade-in-scale-up-transition-leave-from, &.fade-in-scale-up-transition-enter-to",{opacity:1,transform:`${o} scale(1)`})]}const Yw=Q("base-wave",` position: absolute; left: 0; right: 0; top: 0; bottom: 0; border-radius: inherit; -`),Qw=se({name:"BaseWave",props:{clsPrefix:{type:String,required:!0}},setup(e){Bi("-base-wave",Jw,Ke(e,"clsPrefix"));const t=j(null),n=j(!1);let o=null;return kt(()=>{o!==null&&window.clearTimeout(o)}),{active:n,selfRef:t,play(){o!==null&&(window.clearTimeout(o),n.value=!1,o=null),jt(()=>{var i;(i=t.value)===null||i===void 0||i.offsetHeight,n.value=!0,o=window.setTimeout(()=>{n.value=!1,o=null},1e3)})}}},render(){const{clsPrefix:e}=this;return T("div",{ref:"selfRef","aria-hidden":!0,class:[`${e}-base-wave`,this.active&&`${e}-base-wave--active`]})}}),e8={space:"6px",spaceArrow:"10px",arrowOffset:"10px",arrowOffsetVertical:"10px",arrowHeight:"6px",padding:"8px 14px"},ep=e=>{const{boxShadow2:t,popoverColor:n,textColor2:o,borderRadius:i,fontSize:r,dividerColor:a}=e;return Object.assign(Object.assign({},e8),{fontSize:r,borderRadius:i,color:n,dividerColor:a,textColor:o,boxShadow:t})},t8={name:"Popover",common:ae,self:ep},xo=t8,n8={name:"Popover",common:re,self:ep},oi=n8,ol={top:"bottom",bottom:"top",left:"right",right:"left"},vt="var(--n-arrow-height) * 1.414",o8=N([Q("popover",` +`),Jw=se({name:"BaseWave",props:{clsPrefix:{type:String,required:!0}},setup(e){Bi("-base-wave",Yw,Ke(e,"clsPrefix"));const t=j(null),n=j(!1);let o=null;return kt(()=>{o!==null&&window.clearTimeout(o)}),{active:n,selfRef:t,play(){o!==null&&(window.clearTimeout(o),n.value=!1,o=null),jt(()=>{var i;(i=t.value)===null||i===void 0||i.offsetHeight,n.value=!0,o=window.setTimeout(()=>{n.value=!1,o=null},1e3)})}}},render(){const{clsPrefix:e}=this;return T("div",{ref:"selfRef","aria-hidden":!0,class:[`${e}-base-wave`,this.active&&`${e}-base-wave--active`]})}}),Qw={space:"6px",spaceArrow:"10px",arrowOffset:"10px",arrowOffsetVertical:"10px",arrowHeight:"6px",padding:"8px 14px"},ep=e=>{const{boxShadow2:t,popoverColor:n,textColor2:o,borderRadius:i,fontSize:r,dividerColor:a}=e;return Object.assign(Object.assign({},Qw),{fontSize:r,borderRadius:i,color:n,dividerColor:a,textColor:o,boxShadow:t})},eS={name:"Popover",common:ae,self:ep},xo=eS,tS={name:"Popover",common:re,self:ep},oi=tS,ol={top:"bottom",bottom:"top",left:"right",right:"left"},vt="var(--n-arrow-height) * 1.414",nS=N([Q("popover",` transition: box-shadow .3s var(--n-bezier), background-color .3s var(--n-bezier), @@ -370,13 +370,13 @@ ${t} `),cn("right-end",` right: calc(${vt} / -2); bottom: calc(${Bn("right-end")} + var(--v-offset-top)); - `),...J6({top:["right-start","left-start"],right:["top-end","bottom-end"],bottom:["right-end","left-end"],left:["top-start","bottom-start"]},(e,t)=>{const n=["right","left"].includes(t),o=n?"width":"height";return e.map(i=>{const r=i.split("-")[1]==="end",s=`calc((${`var(--v-target-${o}, 0px)`} - ${vt}) / 2)`,l=Bn(i);return N(`[v-placement="${i}"] >`,[Q("popover-shared",[Y("center-arrow",[Q("popover-arrow",`${t}: calc(max(${s}, ${l}) ${r?"+":"-"} var(--v-offset-${n?"left":"top"}));`)])])])})})]);function Bn(e){return["top","bottom"].includes(e.split("-")[0])?"var(--n-arrow-offset)":"var(--n-arrow-offset-vertical)"}function cn(e,t){const n=e.split("-")[0],o=["top","bottom"].includes(n)?"height: var(--n-space-arrow);":"width: var(--n-space-arrow);";return N(`[v-placement="${e}"] >`,[Q("popover-shared",` + `),...Y6({top:["right-start","left-start"],right:["top-end","bottom-end"],bottom:["right-end","left-end"],left:["top-start","bottom-start"]},(e,t)=>{const n=["right","left"].includes(t),o=n?"width":"height";return e.map(i=>{const r=i.split("-")[1]==="end",s=`calc((${`var(--v-target-${o}, 0px)`} - ${vt}) / 2)`,l=Bn(i);return N(`[v-placement="${i}"] >`,[Q("popover-shared",[Y("center-arrow",[Q("popover-arrow",`${t}: calc(max(${s}, ${l}) ${r?"+":"-"} var(--v-offset-${n?"left":"top"}));`)])])])})})]);function Bn(e){return["top","bottom"].includes(e.split("-")[0])?"var(--n-arrow-offset)":"var(--n-arrow-offset-vertical)"}function cn(e,t){const n=e.split("-")[0],o=["top","bottom"].includes(n)?"height: var(--n-space-arrow);":"width: var(--n-space-arrow);";return N(`[v-placement="${e}"] >`,[Q("popover-shared",` margin-${ol[n]}: var(--n-space); `,[Y("show-arrow",` margin-${ol[n]}: var(--n-space-arrow); `),Y("overlap",` margin: 0; - `),D2("popover-arrow-wrapper",` + `),M2("popover-arrow-wrapper",` right: 0; left: 0; top: 0; @@ -384,7 +384,7 @@ ${t} ${n}: 100%; ${ol[n]}: auto; ${o} - `,[Q("popover-arrow",t)])])])}const tp=Object.assign(Object.assign({},Pe.props),{to:Ai.propTo,show:Boolean,trigger:String,showArrow:Boolean,delay:Number,duration:Number,raw:Boolean,arrowPointToCenter:Boolean,arrowStyle:[String,Object],displayDirective:String,x:Number,y:Number,flip:Boolean,overlap:Boolean,placement:String,width:[Number,String],keepAliveOnHover:Boolean,scrollable:Boolean,contentStyle:[Object,String],headerStyle:[Object,String],footerStyle:[Object,String],internalDeactivateImmediately:Boolean,animated:Boolean,onClickoutside:Function,internalTrapFocus:Boolean,internalOnAfterLeave:Function,minWidth:Number,maxWidth:Number}),np=({arrowStyle:e,clsPrefix:t})=>T("div",{key:"__popover-arrow__",class:`${t}-popover-arrow-wrapper`},T("div",{class:`${t}-popover-arrow`,style:e})),i8=se({name:"PopoverBody",inheritAttrs:!1,props:tp,setup(e,{slots:t,attrs:n}){const{namespaceRef:o,mergedClsPrefixRef:i,inlineThemeDisabled:r}=lt(e),a=Pe("Popover","-popover",o8,xo,e,i),s=j(null),l=Ie("NPopover"),c=j(null),d=j(e.show),u=j(!1);ho(()=>{const{show:C}=e;C&&!L2()&&!e.internalDeactivateImmediately&&(u.value=!0)});const h=z(()=>{const{trigger:C,onClickoutside:S}=e,E=[],{positionManuallyRef:{value:R}}=l;return R||(C==="click"&&!S&&E.push([Pl,k,void 0,{capture:!0}]),C==="hover"&&E.push([lx,A])),S&&E.push([Pl,k,void 0,{capture:!0}]),(e.displayDirective==="show"||e.animated&&u.value)&&E.push([_i,e.show]),E}),m=z(()=>{const C=e.width==="trigger"?void 0:Ca(e.width),S=[];C&&S.push({width:C});const{maxWidth:E,minWidth:R}=e;return E&&S.push({maxWidth:Ca(E)}),R&&S.push({maxWidth:Ca(R)}),r||S.push(g.value),S}),g=z(()=>{const{common:{cubicBezierEaseInOut:C,cubicBezierEaseIn:S,cubicBezierEaseOut:E},self:{space:R,spaceArrow:G,padding:M,fontSize:q,textColor:ee,dividerColor:O,color:V,boxShadow:W,borderRadius:oe,arrowHeight:fe,arrowOffset:we,arrowOffsetVertical:De}}=a.value;return{"--n-box-shadow":W,"--n-bezier":C,"--n-bezier-ease-in":S,"--n-bezier-ease-out":E,"--n-font-size":q,"--n-text-color":ee,"--n-color":V,"--n-divider-color":O,"--n-border-radius":oe,"--n-arrow-height":fe,"--n-arrow-offset":we,"--n-arrow-offset-vertical":De,"--n-padding":M,"--n-space":R,"--n-space-arrow":G}}),v=r?_t("popover",void 0,g,e):void 0;l.setBodyInstance({syncPosition:p}),kt(()=>{l.setBodyInstance(null)}),Ze(Ke(e,"show"),C=>{e.animated||(C?d.value=!0:d.value=!1)});function p(){var C;(C=s.value)===null||C===void 0||C.syncPosition()}function f(C){e.trigger==="hover"&&e.keepAliveOnHover&&e.show&&l.handleMouseEnter(C)}function x(C){e.trigger==="hover"&&e.keepAliveOnHover&&l.handleMouseLeave(C)}function A(C){e.trigger==="hover"&&!w().contains(wr(C))&&l.handleMouseMoveOutside(C)}function k(C){(e.trigger==="click"&&!w().contains(wr(C))||e.onClickoutside)&&l.handleClickOutside(C)}function w(){return l.getTriggerElement()}We(Nr,c),We(cs,null),We(ls,null);function I(){if(v==null||v.onRender(),!(e.displayDirective==="show"||e.show||e.animated&&u.value))return null;let S;const E=l.internalRenderBodyRef.value,{value:R}=i;if(E)S=E([`${R}-popover-shared`,v==null?void 0:v.themeClass.value,e.overlap&&`${R}-popover-shared--overlap`,e.showArrow&&`${R}-popover-shared--show-arrow`,e.arrowPointToCenter&&`${R}-popover-shared--center-arrow`],c,m.value,f,x);else{const{value:G}=l.extraClassRef,{internalTrapFocus:M}=e,q=!Tl(t.header)||!Tl(t.footer),ee=()=>{var O;const V=q?T(He,null,Et(t.header,fe=>fe?T("div",{class:`${R}-popover__header`,style:e.headerStyle},fe):null),Et(t.default,fe=>fe?T("div",{class:`${R}-popover__content`,style:e.contentStyle},t):null),Et(t.footer,fe=>fe?T("div",{class:`${R}-popover__footer`,style:e.footerStyle},fe):null)):e.scrollable?(O=t.default)===null||O===void 0?void 0:O.call(t):T("div",{class:`${R}-popover__content`,style:e.contentStyle},t),W=e.scrollable?T(Ym,{contentClass:q?void 0:`${R}-popover__content`,contentStyle:q?void 0:e.contentStyle},{default:()=>V}):V,oe=e.showArrow?np({arrowStyle:e.arrowStyle,clsPrefix:R}):null;return[W,oe]};S=T("div",Ln({class:[`${R}-popover`,`${R}-popover-shared`,v==null?void 0:v.themeClass.value,G.map(O=>`${R}-${O}`),{[`${R}-popover--scrollable`]:e.scrollable,[`${R}-popover--show-header-or-footer`]:q,[`${R}-popover--raw`]:e.raw,[`${R}-popover-shared--overlap`]:e.overlap,[`${R}-popover-shared--show-arrow`]:e.showArrow,[`${R}-popover-shared--center-arrow`]:e.arrowPointToCenter}],ref:c,style:m.value,onKeydown:l.handleKeydown,onMouseenter:f,onMouseleave:x},n),M?T(Jg,{active:e.show,autoFocus:!0},{default:ee}):ee())}return fo(S,h.value)}return{displayed:u,namespace:o,isMounted:l.isMountedRef,zIndex:l.zIndexRef,followerRef:s,adjustedTo:Ai(e),followerEnabled:d,renderContentNode:I}},render(){return T(Fg,{ref:"followerRef",zIndex:this.zIndex,show:this.show,enabled:this.followerEnabled,to:this.adjustedTo,x:this.x,y:this.y,flip:this.flip,placement:this.placement,containerClass:this.namespace,overlap:this.overlap,width:this.width==="trigger"?"target":void 0,teleportDisabled:this.adjustedTo===Ai.tdkey},{default:()=>this.animated?T(gn,{name:"popover-transition",appear:this.isMounted,onEnter:()=>{this.followerEnabled=!0},onAfterLeave:()=>{var e;(e=this.internalOnAfterLeave)===null||e===void 0||e.call(this),this.followerEnabled=!1,this.displayed=!1}},{default:this.renderContentNode}):this.renderContentNode()})}}),r8=Object.keys(tp),a8={focus:["onFocus","onBlur"],click:["onClick"],hover:["onMouseenter","onMouseleave"],manual:[],nested:["onFocus","onBlur","onMouseenter","onMouseleave","onClick"]};function s8(e,t,n){a8[t].forEach(o=>{e.props?e.props=Object.assign({},e.props):e.props={};const i=e.props[o],r=n[o];i?e.props[o]=(...a)=>{i(...a),r(...a)}:e.props[o]=r})}const ks={show:{type:Boolean,default:void 0},defaultShow:Boolean,showArrow:{type:Boolean,default:!0},trigger:{type:String,default:"hover"},delay:{type:Number,default:100},duration:{type:Number,default:100},raw:Boolean,placement:{type:String,default:"top"},x:Number,y:Number,arrowPointToCenter:Boolean,disabled:Boolean,getDisabled:Function,displayDirective:{type:String,default:"if"},arrowStyle:[String,Object],flip:{type:Boolean,default:!0},animated:{type:Boolean,default:!0},width:{type:[Number,String],default:void 0},overlap:Boolean,keepAliveOnHover:{type:Boolean,default:!0},zIndex:Number,to:Ai.propTo,scrollable:Boolean,contentStyle:[Object,String],headerStyle:[Object,String],footerStyle:[Object,String],onClickoutside:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],internalDeactivateImmediately:Boolean,internalSyncTargetWithParent:Boolean,internalInheritedEventHandlers:{type:Array,default:()=>[]},internalTrapFocus:Boolean,internalExtraClass:{type:Array,default:()=>[]},onShow:[Function,Array],onHide:[Function,Array],arrow:{type:Boolean,default:void 0},minWidth:Number,maxWidth:Number},l8=Object.assign(Object.assign(Object.assign({},Pe.props),ks),{internalOnAfterLeave:Function,internalRenderBody:Function}),Cs=se({name:"Popover",inheritAttrs:!1,props:l8,__popover__:!0,setup(e){const t=Br(),n=j(null),o=z(()=>e.show),i=j(e.defaultShow),r=Ic(o,i),a=wt(()=>e.disabled?!1:r.value),s=()=>{if(e.disabled)return!0;const{getDisabled:O}=e;return!!(O!=null&&O())},l=()=>s()?!1:r.value,c=Mg(e,["arrow","showArrow"]),d=z(()=>e.overlap?!1:c.value);let u=null;const h=j(null),m=j(null),g=wt(()=>e.x!==void 0&&e.y!==void 0);function v(O){const{"onUpdate:show":V,onUpdateShow:W,onShow:oe,onHide:fe}=e;i.value=O,V&&Fe(V,O),W&&Fe(W,O),O&&oe&&Fe(oe,!0),O&&fe&&Fe(fe,!1)}function p(){u&&u.syncPosition()}function f(){const{value:O}=h;O&&(window.clearTimeout(O),h.value=null)}function x(){const{value:O}=m;O&&(window.clearTimeout(O),m.value=null)}function A(){const O=s();if(e.trigger==="focus"&&!O){if(l())return;v(!0)}}function k(){const O=s();if(e.trigger==="focus"&&!O){if(!l())return;v(!1)}}function w(){const O=s();if(e.trigger==="hover"&&!O){if(x(),h.value!==null||l())return;const V=()=>{v(!0),h.value=null},{delay:W}=e;W===0?V():h.value=window.setTimeout(V,W)}}function I(){const O=s();if(e.trigger==="hover"&&!O){if(f(),m.value!==null||!l())return;const V=()=>{v(!1),m.value=null},{duration:W}=e;W===0?V():m.value=window.setTimeout(V,W)}}function C(){I()}function S(O){var V;l()&&(e.trigger==="click"&&(f(),x(),v(!1)),(V=e.onClickoutside)===null||V===void 0||V.call(e,O))}function E(){if(e.trigger==="click"&&!s()){f(),x();const O=!l();v(O)}}function R(O){e.internalTrapFocus&&O.key==="Escape"&&(f(),x(),v(!1))}function G(O){i.value=O}function M(){var O;return(O=n.value)===null||O===void 0?void 0:O.targetRef}function q(O){u=O}return We("NPopover",{getTriggerElement:M,handleKeydown:R,handleMouseEnter:w,handleMouseLeave:I,handleClickOutside:S,handleMouseMoveOutside:C,setBodyInstance:q,positionManuallyRef:g,isMountedRef:t,zIndexRef:Ke(e,"zIndex"),extraClassRef:Ke(e,"internalExtraClass"),internalRenderBodyRef:Ke(e,"internalRenderBody")}),ho(()=>{r.value&&s()&&v(!1)}),{binderInstRef:n,positionManually:g,mergedShowConsideringDisabledProp:a,uncontrolledShow:i,mergedShowArrow:d,getMergedShow:l,setShow:G,handleClick:E,handleMouseEnter:w,handleMouseLeave:I,handleFocus:A,handleBlur:k,syncPosition:p}},render(){var e;const{positionManually:t,$slots:n}=this;let o,i=!1;if(!t&&(n.activator?o=Cl(n,"activator"):o=Cl(n,"trigger"),o)){o=fn(o),o=o.type===$i?T("span",[o]):o;const r={onClick:this.handleClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onFocus:this.handleFocus,onBlur:this.handleBlur};if(!((e=o.type)===null||e===void 0)&&e.__popover__)i=!0,o.props||(o.props={internalSyncTargetWithParent:!0,internalInheritedEventHandlers:[]}),o.props.internalSyncTargetWithParent=!0,o.props.internalInheritedEventHandlers?o.props.internalInheritedEventHandlers=[r,...o.props.internalInheritedEventHandlers]:o.props.internalInheritedEventHandlers=[r];else{const{internalInheritedEventHandlers:a}=this,s=[r,...a],l={onBlur:c=>{s.forEach(d=>{d.onBlur(c)})},onFocus:c=>{s.forEach(d=>{d.onFocus(c)})},onClick:c=>{s.forEach(d=>{d.onClick(c)})},onMouseenter:c=>{s.forEach(d=>{d.onMouseenter(c)})},onMouseleave:c=>{s.forEach(d=>{d.onMouseleave(c)})}};s8(o,a?"nested":t?"manual":this.trigger,l)}}return T(Hg,{ref:"binderInstRef",syncTarget:!i,syncTargetWithParent:this.internalSyncTargetWithParent},{default:()=>{this.mergedShowConsideringDisabledProp;const r=this.getMergedShow();return[this.internalTrapFocus&&r?fo(T("div",{style:{position:"fixed",inset:0}}),[[Ec,{enabled:r,zIndex:this.zIndex}]]):null,t?null:T(Bg,null,{default:()=>o}),T(i8,qo(this.$props,r8,Object.assign(Object.assign({},this.$attrs),{showArrow:this.mergedShowArrow,show:r})),{default:()=>{var a,s;return(s=(a=this.$slots).default)===null||s===void 0?void 0:s.call(a)},header:()=>{var a,s;return(s=(a=this.$slots).header)===null||s===void 0?void 0:s.call(a)},footer:()=>{var a,s;return(s=(a=this.$slots).footer)===null||s===void 0?void 0:s.call(a)}})]}})}}),op={closeIconSizeTiny:"12px",closeIconSizeSmall:"12px",closeIconSizeMedium:"14px",closeIconSizeLarge:"14px",closeSizeTiny:"16px",closeSizeSmall:"16px",closeSizeMedium:"18px",closeSizeLarge:"18px",padding:"0 7px",closeMargin:"0 0 0 4px",closeMarginRtl:"0 4px 0 0"},c8={name:"Tag",common:re,self(e){const{textColor2:t,primaryColorHover:n,primaryColorPressed:o,primaryColor:i,infoColor:r,successColor:a,warningColor:s,errorColor:l,baseColor:c,borderColor:d,tagColor:u,opacityDisabled:h,closeIconColor:m,closeIconColorHover:g,closeIconColorPressed:v,closeColorHover:p,closeColorPressed:f,borderRadiusSmall:x,fontSizeMini:A,fontSizeTiny:k,fontSizeSmall:w,fontSizeMedium:I,heightMini:C,heightTiny:S,heightSmall:E,heightMedium:R,buttonColor2Hover:G,buttonColor2Pressed:M,fontWeightStrong:q}=e;return Object.assign(Object.assign({},op),{closeBorderRadius:x,heightTiny:C,heightSmall:S,heightMedium:E,heightLarge:R,borderRadius:x,opacityDisabled:h,fontSizeTiny:A,fontSizeSmall:k,fontSizeMedium:w,fontSizeLarge:I,fontWeightStrong:q,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:c,colorCheckable:"#0000",colorHoverCheckable:G,colorPressedCheckable:M,colorChecked:i,colorCheckedHover:n,colorCheckedPressed:o,border:`1px solid ${d}`,textColor:t,color:u,colorBordered:"#0000",closeIconColor:m,closeIconColorHover:g,closeIconColorPressed:v,closeColorHover:p,closeColorPressed:f,borderPrimary:`1px solid ${U(i,{alpha:.3})}`,textColorPrimary:i,colorPrimary:U(i,{alpha:.16}),colorBorderedPrimary:"#0000",closeIconColorPrimary:ft(i,{lightness:.7}),closeIconColorHoverPrimary:ft(i,{lightness:.7}),closeIconColorPressedPrimary:ft(i,{lightness:.7}),closeColorHoverPrimary:U(i,{alpha:.16}),closeColorPressedPrimary:U(i,{alpha:.12}),borderInfo:`1px solid ${U(r,{alpha:.3})}`,textColorInfo:r,colorInfo:U(r,{alpha:.16}),colorBorderedInfo:"#0000",closeIconColorInfo:ft(r,{alpha:.7}),closeIconColorHoverInfo:ft(r,{alpha:.7}),closeIconColorPressedInfo:ft(r,{alpha:.7}),closeColorHoverInfo:U(r,{alpha:.16}),closeColorPressedInfo:U(r,{alpha:.12}),borderSuccess:`1px solid ${U(a,{alpha:.3})}`,textColorSuccess:a,colorSuccess:U(a,{alpha:.16}),colorBorderedSuccess:"#0000",closeIconColorSuccess:ft(a,{alpha:.7}),closeIconColorHoverSuccess:ft(a,{alpha:.7}),closeIconColorPressedSuccess:ft(a,{alpha:.7}),closeColorHoverSuccess:U(a,{alpha:.16}),closeColorPressedSuccess:U(a,{alpha:.12}),borderWarning:`1px solid ${U(s,{alpha:.3})}`,textColorWarning:s,colorWarning:U(s,{alpha:.16}),colorBorderedWarning:"#0000",closeIconColorWarning:ft(s,{alpha:.7}),closeIconColorHoverWarning:ft(s,{alpha:.7}),closeIconColorPressedWarning:ft(s,{alpha:.7}),closeColorHoverWarning:U(s,{alpha:.16}),closeColorPressedWarning:U(s,{alpha:.11}),borderError:`1px solid ${U(l,{alpha:.3})}`,textColorError:l,colorError:U(l,{alpha:.16}),colorBorderedError:"#0000",closeIconColorError:ft(l,{alpha:.7}),closeIconColorHoverError:ft(l,{alpha:.7}),closeIconColorPressedError:ft(l,{alpha:.7}),closeColorHoverError:U(l,{alpha:.16}),closeColorPressedError:U(l,{alpha:.12})})}},ip=c8,d8=e=>{const{textColor2:t,primaryColorHover:n,primaryColorPressed:o,primaryColor:i,infoColor:r,successColor:a,warningColor:s,errorColor:l,baseColor:c,borderColor:d,opacityDisabled:u,tagColor:h,closeIconColor:m,closeIconColorHover:g,closeIconColorPressed:v,borderRadiusSmall:p,fontSizeMini:f,fontSizeTiny:x,fontSizeSmall:A,fontSizeMedium:k,heightMini:w,heightTiny:I,heightSmall:C,heightMedium:S,closeColorHover:E,closeColorPressed:R,buttonColor2Hover:G,buttonColor2Pressed:M,fontWeightStrong:q}=e;return Object.assign(Object.assign({},op),{closeBorderRadius:p,heightTiny:w,heightSmall:I,heightMedium:C,heightLarge:S,borderRadius:p,opacityDisabled:u,fontSizeTiny:f,fontSizeSmall:x,fontSizeMedium:A,fontSizeLarge:k,fontWeightStrong:q,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:c,colorCheckable:"#0000",colorHoverCheckable:G,colorPressedCheckable:M,colorChecked:i,colorCheckedHover:n,colorCheckedPressed:o,border:`1px solid ${d}`,textColor:t,color:h,colorBordered:"rgb(250, 250, 252)",closeIconColor:m,closeIconColorHover:g,closeIconColorPressed:v,closeColorHover:E,closeColorPressed:R,borderPrimary:`1px solid ${U(i,{alpha:.3})}`,textColorPrimary:i,colorPrimary:U(i,{alpha:.12}),colorBorderedPrimary:U(i,{alpha:.1}),closeIconColorPrimary:i,closeIconColorHoverPrimary:i,closeIconColorPressedPrimary:i,closeColorHoverPrimary:U(i,{alpha:.12}),closeColorPressedPrimary:U(i,{alpha:.18}),borderInfo:`1px solid ${U(r,{alpha:.3})}`,textColorInfo:r,colorInfo:U(r,{alpha:.12}),colorBorderedInfo:U(r,{alpha:.1}),closeIconColorInfo:r,closeIconColorHoverInfo:r,closeIconColorPressedInfo:r,closeColorHoverInfo:U(r,{alpha:.12}),closeColorPressedInfo:U(r,{alpha:.18}),borderSuccess:`1px solid ${U(a,{alpha:.3})}`,textColorSuccess:a,colorSuccess:U(a,{alpha:.12}),colorBorderedSuccess:U(a,{alpha:.1}),closeIconColorSuccess:a,closeIconColorHoverSuccess:a,closeIconColorPressedSuccess:a,closeColorHoverSuccess:U(a,{alpha:.12}),closeColorPressedSuccess:U(a,{alpha:.18}),borderWarning:`1px solid ${U(s,{alpha:.35})}`,textColorWarning:s,colorWarning:U(s,{alpha:.15}),colorBorderedWarning:U(s,{alpha:.12}),closeIconColorWarning:s,closeIconColorHoverWarning:s,closeIconColorPressedWarning:s,closeColorHoverWarning:U(s,{alpha:.12}),closeColorPressedWarning:U(s,{alpha:.18}),borderError:`1px solid ${U(l,{alpha:.23})}`,textColorError:l,colorError:U(l,{alpha:.1}),colorBorderedError:U(l,{alpha:.08}),closeIconColorError:l,closeIconColorHoverError:l,closeIconColorPressedError:l,closeColorHoverError:U(l,{alpha:.12}),closeColorPressedError:U(l,{alpha:.18})})},u8={name:"Tag",common:ae,self:d8},rp=u8,h8=Q("base-clear",` + `,[Q("popover-arrow",t)])])])}const tp=Object.assign(Object.assign({},Pe.props),{to:Ai.propTo,show:Boolean,trigger:String,showArrow:Boolean,delay:Number,duration:Number,raw:Boolean,arrowPointToCenter:Boolean,arrowStyle:[String,Object],displayDirective:String,x:Number,y:Number,flip:Boolean,overlap:Boolean,placement:String,width:[Number,String],keepAliveOnHover:Boolean,scrollable:Boolean,contentStyle:[Object,String],headerStyle:[Object,String],footerStyle:[Object,String],internalDeactivateImmediately:Boolean,animated:Boolean,onClickoutside:Function,internalTrapFocus:Boolean,internalOnAfterLeave:Function,minWidth:Number,maxWidth:Number}),np=({arrowStyle:e,clsPrefix:t})=>T("div",{key:"__popover-arrow__",class:`${t}-popover-arrow-wrapper`},T("div",{class:`${t}-popover-arrow`,style:e})),oS=se({name:"PopoverBody",inheritAttrs:!1,props:tp,setup(e,{slots:t,attrs:n}){const{namespaceRef:o,mergedClsPrefixRef:i,inlineThemeDisabled:r}=lt(e),a=Pe("Popover","-popover",nS,xo,e,i),s=j(null),l=Ie("NPopover"),c=j(null),d=j(e.show),u=j(!1);ho(()=>{const{show:C}=e;C&&!D2()&&!e.internalDeactivateImmediately&&(u.value=!0)});const h=z(()=>{const{trigger:C,onClickoutside:S}=e,E=[],{positionManuallyRef:{value:R}}=l;return R||(C==="click"&&!S&&E.push([Pl,k,void 0,{capture:!0}]),C==="hover"&&E.push([sx,A])),S&&E.push([Pl,k,void 0,{capture:!0}]),(e.displayDirective==="show"||e.animated&&u.value)&&E.push([_i,e.show]),E}),m=z(()=>{const C=e.width==="trigger"?void 0:Ca(e.width),S=[];C&&S.push({width:C});const{maxWidth:E,minWidth:R}=e;return E&&S.push({maxWidth:Ca(E)}),R&&S.push({maxWidth:Ca(R)}),r||S.push(g.value),S}),g=z(()=>{const{common:{cubicBezierEaseInOut:C,cubicBezierEaseIn:S,cubicBezierEaseOut:E},self:{space:R,spaceArrow:G,padding:M,fontSize:q,textColor:ee,dividerColor:O,color:V,boxShadow:W,borderRadius:oe,arrowHeight:fe,arrowOffset:we,arrowOffsetVertical:De}}=a.value;return{"--n-box-shadow":W,"--n-bezier":C,"--n-bezier-ease-in":S,"--n-bezier-ease-out":E,"--n-font-size":q,"--n-text-color":ee,"--n-color":V,"--n-divider-color":O,"--n-border-radius":oe,"--n-arrow-height":fe,"--n-arrow-offset":we,"--n-arrow-offset-vertical":De,"--n-padding":M,"--n-space":R,"--n-space-arrow":G}}),v=r?_t("popover",void 0,g,e):void 0;l.setBodyInstance({syncPosition:p}),kt(()=>{l.setBodyInstance(null)}),Ze(Ke(e,"show"),C=>{e.animated||(C?d.value=!0:d.value=!1)});function p(){var C;(C=s.value)===null||C===void 0||C.syncPosition()}function f(C){e.trigger==="hover"&&e.keepAliveOnHover&&e.show&&l.handleMouseEnter(C)}function x(C){e.trigger==="hover"&&e.keepAliveOnHover&&l.handleMouseLeave(C)}function A(C){e.trigger==="hover"&&!w().contains(wr(C))&&l.handleMouseMoveOutside(C)}function k(C){(e.trigger==="click"&&!w().contains(wr(C))||e.onClickoutside)&&l.handleClickOutside(C)}function w(){return l.getTriggerElement()}We(Nr,c),We(cs,null),We(ls,null);function I(){if(v==null||v.onRender(),!(e.displayDirective==="show"||e.show||e.animated&&u.value))return null;let S;const E=l.internalRenderBodyRef.value,{value:R}=i;if(E)S=E([`${R}-popover-shared`,v==null?void 0:v.themeClass.value,e.overlap&&`${R}-popover-shared--overlap`,e.showArrow&&`${R}-popover-shared--show-arrow`,e.arrowPointToCenter&&`${R}-popover-shared--center-arrow`],c,m.value,f,x);else{const{value:G}=l.extraClassRef,{internalTrapFocus:M}=e,q=!Tl(t.header)||!Tl(t.footer),ee=()=>{var O;const V=q?T(He,null,Et(t.header,fe=>fe?T("div",{class:`${R}-popover__header`,style:e.headerStyle},fe):null),Et(t.default,fe=>fe?T("div",{class:`${R}-popover__content`,style:e.contentStyle},t):null),Et(t.footer,fe=>fe?T("div",{class:`${R}-popover__footer`,style:e.footerStyle},fe):null)):e.scrollable?(O=t.default)===null||O===void 0?void 0:O.call(t):T("div",{class:`${R}-popover__content`,style:e.contentStyle},t),W=e.scrollable?T(Ym,{contentClass:q?void 0:`${R}-popover__content`,contentStyle:q?void 0:e.contentStyle},{default:()=>V}):V,oe=e.showArrow?np({arrowStyle:e.arrowStyle,clsPrefix:R}):null;return[W,oe]};S=T("div",Ln({class:[`${R}-popover`,`${R}-popover-shared`,v==null?void 0:v.themeClass.value,G.map(O=>`${R}-${O}`),{[`${R}-popover--scrollable`]:e.scrollable,[`${R}-popover--show-header-or-footer`]:q,[`${R}-popover--raw`]:e.raw,[`${R}-popover-shared--overlap`]:e.overlap,[`${R}-popover-shared--show-arrow`]:e.showArrow,[`${R}-popover-shared--center-arrow`]:e.arrowPointToCenter}],ref:c,style:m.value,onKeydown:l.handleKeydown,onMouseenter:f,onMouseleave:x},n),M?T(Jg,{active:e.show,autoFocus:!0},{default:ee}):ee())}return fo(S,h.value)}return{displayed:u,namespace:o,isMounted:l.isMountedRef,zIndex:l.zIndexRef,followerRef:s,adjustedTo:Ai(e),followerEnabled:d,renderContentNode:I}},render(){return T(Fg,{ref:"followerRef",zIndex:this.zIndex,show:this.show,enabled:this.followerEnabled,to:this.adjustedTo,x:this.x,y:this.y,flip:this.flip,placement:this.placement,containerClass:this.namespace,overlap:this.overlap,width:this.width==="trigger"?"target":void 0,teleportDisabled:this.adjustedTo===Ai.tdkey},{default:()=>this.animated?T(gn,{name:"popover-transition",appear:this.isMounted,onEnter:()=>{this.followerEnabled=!0},onAfterLeave:()=>{var e;(e=this.internalOnAfterLeave)===null||e===void 0||e.call(this),this.followerEnabled=!1,this.displayed=!1}},{default:this.renderContentNode}):this.renderContentNode()})}}),iS=Object.keys(tp),rS={focus:["onFocus","onBlur"],click:["onClick"],hover:["onMouseenter","onMouseleave"],manual:[],nested:["onFocus","onBlur","onMouseenter","onMouseleave","onClick"]};function aS(e,t,n){rS[t].forEach(o=>{e.props?e.props=Object.assign({},e.props):e.props={};const i=e.props[o],r=n[o];i?e.props[o]=(...a)=>{i(...a),r(...a)}:e.props[o]=r})}const ks={show:{type:Boolean,default:void 0},defaultShow:Boolean,showArrow:{type:Boolean,default:!0},trigger:{type:String,default:"hover"},delay:{type:Number,default:100},duration:{type:Number,default:100},raw:Boolean,placement:{type:String,default:"top"},x:Number,y:Number,arrowPointToCenter:Boolean,disabled:Boolean,getDisabled:Function,displayDirective:{type:String,default:"if"},arrowStyle:[String,Object],flip:{type:Boolean,default:!0},animated:{type:Boolean,default:!0},width:{type:[Number,String],default:void 0},overlap:Boolean,keepAliveOnHover:{type:Boolean,default:!0},zIndex:Number,to:Ai.propTo,scrollable:Boolean,contentStyle:[Object,String],headerStyle:[Object,String],footerStyle:[Object,String],onClickoutside:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],internalDeactivateImmediately:Boolean,internalSyncTargetWithParent:Boolean,internalInheritedEventHandlers:{type:Array,default:()=>[]},internalTrapFocus:Boolean,internalExtraClass:{type:Array,default:()=>[]},onShow:[Function,Array],onHide:[Function,Array],arrow:{type:Boolean,default:void 0},minWidth:Number,maxWidth:Number},sS=Object.assign(Object.assign(Object.assign({},Pe.props),ks),{internalOnAfterLeave:Function,internalRenderBody:Function}),Cs=se({name:"Popover",inheritAttrs:!1,props:sS,__popover__:!0,setup(e){const t=Br(),n=j(null),o=z(()=>e.show),i=j(e.defaultShow),r=Ic(o,i),a=wt(()=>e.disabled?!1:r.value),s=()=>{if(e.disabled)return!0;const{getDisabled:O}=e;return!!(O!=null&&O())},l=()=>s()?!1:r.value,c=Mg(e,["arrow","showArrow"]),d=z(()=>e.overlap?!1:c.value);let u=null;const h=j(null),m=j(null),g=wt(()=>e.x!==void 0&&e.y!==void 0);function v(O){const{"onUpdate:show":V,onUpdateShow:W,onShow:oe,onHide:fe}=e;i.value=O,V&&Fe(V,O),W&&Fe(W,O),O&&oe&&Fe(oe,!0),O&&fe&&Fe(fe,!1)}function p(){u&&u.syncPosition()}function f(){const{value:O}=h;O&&(window.clearTimeout(O),h.value=null)}function x(){const{value:O}=m;O&&(window.clearTimeout(O),m.value=null)}function A(){const O=s();if(e.trigger==="focus"&&!O){if(l())return;v(!0)}}function k(){const O=s();if(e.trigger==="focus"&&!O){if(!l())return;v(!1)}}function w(){const O=s();if(e.trigger==="hover"&&!O){if(x(),h.value!==null||l())return;const V=()=>{v(!0),h.value=null},{delay:W}=e;W===0?V():h.value=window.setTimeout(V,W)}}function I(){const O=s();if(e.trigger==="hover"&&!O){if(f(),m.value!==null||!l())return;const V=()=>{v(!1),m.value=null},{duration:W}=e;W===0?V():m.value=window.setTimeout(V,W)}}function C(){I()}function S(O){var V;l()&&(e.trigger==="click"&&(f(),x(),v(!1)),(V=e.onClickoutside)===null||V===void 0||V.call(e,O))}function E(){if(e.trigger==="click"&&!s()){f(),x();const O=!l();v(O)}}function R(O){e.internalTrapFocus&&O.key==="Escape"&&(f(),x(),v(!1))}function G(O){i.value=O}function M(){var O;return(O=n.value)===null||O===void 0?void 0:O.targetRef}function q(O){u=O}return We("NPopover",{getTriggerElement:M,handleKeydown:R,handleMouseEnter:w,handleMouseLeave:I,handleClickOutside:S,handleMouseMoveOutside:C,setBodyInstance:q,positionManuallyRef:g,isMountedRef:t,zIndexRef:Ke(e,"zIndex"),extraClassRef:Ke(e,"internalExtraClass"),internalRenderBodyRef:Ke(e,"internalRenderBody")}),ho(()=>{r.value&&s()&&v(!1)}),{binderInstRef:n,positionManually:g,mergedShowConsideringDisabledProp:a,uncontrolledShow:i,mergedShowArrow:d,getMergedShow:l,setShow:G,handleClick:E,handleMouseEnter:w,handleMouseLeave:I,handleFocus:A,handleBlur:k,syncPosition:p}},render(){var e;const{positionManually:t,$slots:n}=this;let o,i=!1;if(!t&&(n.activator?o=Cl(n,"activator"):o=Cl(n,"trigger"),o)){o=fn(o),o=o.type===$i?T("span",[o]):o;const r={onClick:this.handleClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onFocus:this.handleFocus,onBlur:this.handleBlur};if(!((e=o.type)===null||e===void 0)&&e.__popover__)i=!0,o.props||(o.props={internalSyncTargetWithParent:!0,internalInheritedEventHandlers:[]}),o.props.internalSyncTargetWithParent=!0,o.props.internalInheritedEventHandlers?o.props.internalInheritedEventHandlers=[r,...o.props.internalInheritedEventHandlers]:o.props.internalInheritedEventHandlers=[r];else{const{internalInheritedEventHandlers:a}=this,s=[r,...a],l={onBlur:c=>{s.forEach(d=>{d.onBlur(c)})},onFocus:c=>{s.forEach(d=>{d.onFocus(c)})},onClick:c=>{s.forEach(d=>{d.onClick(c)})},onMouseenter:c=>{s.forEach(d=>{d.onMouseenter(c)})},onMouseleave:c=>{s.forEach(d=>{d.onMouseleave(c)})}};aS(o,a?"nested":t?"manual":this.trigger,l)}}return T(Hg,{ref:"binderInstRef",syncTarget:!i,syncTargetWithParent:this.internalSyncTargetWithParent},{default:()=>{this.mergedShowConsideringDisabledProp;const r=this.getMergedShow();return[this.internalTrapFocus&&r?fo(T("div",{style:{position:"fixed",inset:0}}),[[Ec,{enabled:r,zIndex:this.zIndex}]]):null,t?null:T(Bg,null,{default:()=>o}),T(oS,qo(this.$props,iS,Object.assign(Object.assign({},this.$attrs),{showArrow:this.mergedShowArrow,show:r})),{default:()=>{var a,s;return(s=(a=this.$slots).default)===null||s===void 0?void 0:s.call(a)},header:()=>{var a,s;return(s=(a=this.$slots).header)===null||s===void 0?void 0:s.call(a)},footer:()=>{var a,s;return(s=(a=this.$slots).footer)===null||s===void 0?void 0:s.call(a)}})]}})}}),op={closeIconSizeTiny:"12px",closeIconSizeSmall:"12px",closeIconSizeMedium:"14px",closeIconSizeLarge:"14px",closeSizeTiny:"16px",closeSizeSmall:"16px",closeSizeMedium:"18px",closeSizeLarge:"18px",padding:"0 7px",closeMargin:"0 0 0 4px",closeMarginRtl:"0 4px 0 0"},lS={name:"Tag",common:re,self(e){const{textColor2:t,primaryColorHover:n,primaryColorPressed:o,primaryColor:i,infoColor:r,successColor:a,warningColor:s,errorColor:l,baseColor:c,borderColor:d,tagColor:u,opacityDisabled:h,closeIconColor:m,closeIconColorHover:g,closeIconColorPressed:v,closeColorHover:p,closeColorPressed:f,borderRadiusSmall:x,fontSizeMini:A,fontSizeTiny:k,fontSizeSmall:w,fontSizeMedium:I,heightMini:C,heightTiny:S,heightSmall:E,heightMedium:R,buttonColor2Hover:G,buttonColor2Pressed:M,fontWeightStrong:q}=e;return Object.assign(Object.assign({},op),{closeBorderRadius:x,heightTiny:C,heightSmall:S,heightMedium:E,heightLarge:R,borderRadius:x,opacityDisabled:h,fontSizeTiny:A,fontSizeSmall:k,fontSizeMedium:w,fontSizeLarge:I,fontWeightStrong:q,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:c,colorCheckable:"#0000",colorHoverCheckable:G,colorPressedCheckable:M,colorChecked:i,colorCheckedHover:n,colorCheckedPressed:o,border:`1px solid ${d}`,textColor:t,color:u,colorBordered:"#0000",closeIconColor:m,closeIconColorHover:g,closeIconColorPressed:v,closeColorHover:p,closeColorPressed:f,borderPrimary:`1px solid ${U(i,{alpha:.3})}`,textColorPrimary:i,colorPrimary:U(i,{alpha:.16}),colorBorderedPrimary:"#0000",closeIconColorPrimary:ft(i,{lightness:.7}),closeIconColorHoverPrimary:ft(i,{lightness:.7}),closeIconColorPressedPrimary:ft(i,{lightness:.7}),closeColorHoverPrimary:U(i,{alpha:.16}),closeColorPressedPrimary:U(i,{alpha:.12}),borderInfo:`1px solid ${U(r,{alpha:.3})}`,textColorInfo:r,colorInfo:U(r,{alpha:.16}),colorBorderedInfo:"#0000",closeIconColorInfo:ft(r,{alpha:.7}),closeIconColorHoverInfo:ft(r,{alpha:.7}),closeIconColorPressedInfo:ft(r,{alpha:.7}),closeColorHoverInfo:U(r,{alpha:.16}),closeColorPressedInfo:U(r,{alpha:.12}),borderSuccess:`1px solid ${U(a,{alpha:.3})}`,textColorSuccess:a,colorSuccess:U(a,{alpha:.16}),colorBorderedSuccess:"#0000",closeIconColorSuccess:ft(a,{alpha:.7}),closeIconColorHoverSuccess:ft(a,{alpha:.7}),closeIconColorPressedSuccess:ft(a,{alpha:.7}),closeColorHoverSuccess:U(a,{alpha:.16}),closeColorPressedSuccess:U(a,{alpha:.12}),borderWarning:`1px solid ${U(s,{alpha:.3})}`,textColorWarning:s,colorWarning:U(s,{alpha:.16}),colorBorderedWarning:"#0000",closeIconColorWarning:ft(s,{alpha:.7}),closeIconColorHoverWarning:ft(s,{alpha:.7}),closeIconColorPressedWarning:ft(s,{alpha:.7}),closeColorHoverWarning:U(s,{alpha:.16}),closeColorPressedWarning:U(s,{alpha:.11}),borderError:`1px solid ${U(l,{alpha:.3})}`,textColorError:l,colorError:U(l,{alpha:.16}),colorBorderedError:"#0000",closeIconColorError:ft(l,{alpha:.7}),closeIconColorHoverError:ft(l,{alpha:.7}),closeIconColorPressedError:ft(l,{alpha:.7}),closeColorHoverError:U(l,{alpha:.16}),closeColorPressedError:U(l,{alpha:.12})})}},ip=lS,cS=e=>{const{textColor2:t,primaryColorHover:n,primaryColorPressed:o,primaryColor:i,infoColor:r,successColor:a,warningColor:s,errorColor:l,baseColor:c,borderColor:d,opacityDisabled:u,tagColor:h,closeIconColor:m,closeIconColorHover:g,closeIconColorPressed:v,borderRadiusSmall:p,fontSizeMini:f,fontSizeTiny:x,fontSizeSmall:A,fontSizeMedium:k,heightMini:w,heightTiny:I,heightSmall:C,heightMedium:S,closeColorHover:E,closeColorPressed:R,buttonColor2Hover:G,buttonColor2Pressed:M,fontWeightStrong:q}=e;return Object.assign(Object.assign({},op),{closeBorderRadius:p,heightTiny:w,heightSmall:I,heightMedium:C,heightLarge:S,borderRadius:p,opacityDisabled:u,fontSizeTiny:f,fontSizeSmall:x,fontSizeMedium:A,fontSizeLarge:k,fontWeightStrong:q,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:c,colorCheckable:"#0000",colorHoverCheckable:G,colorPressedCheckable:M,colorChecked:i,colorCheckedHover:n,colorCheckedPressed:o,border:`1px solid ${d}`,textColor:t,color:h,colorBordered:"rgb(250, 250, 252)",closeIconColor:m,closeIconColorHover:g,closeIconColorPressed:v,closeColorHover:E,closeColorPressed:R,borderPrimary:`1px solid ${U(i,{alpha:.3})}`,textColorPrimary:i,colorPrimary:U(i,{alpha:.12}),colorBorderedPrimary:U(i,{alpha:.1}),closeIconColorPrimary:i,closeIconColorHoverPrimary:i,closeIconColorPressedPrimary:i,closeColorHoverPrimary:U(i,{alpha:.12}),closeColorPressedPrimary:U(i,{alpha:.18}),borderInfo:`1px solid ${U(r,{alpha:.3})}`,textColorInfo:r,colorInfo:U(r,{alpha:.12}),colorBorderedInfo:U(r,{alpha:.1}),closeIconColorInfo:r,closeIconColorHoverInfo:r,closeIconColorPressedInfo:r,closeColorHoverInfo:U(r,{alpha:.12}),closeColorPressedInfo:U(r,{alpha:.18}),borderSuccess:`1px solid ${U(a,{alpha:.3})}`,textColorSuccess:a,colorSuccess:U(a,{alpha:.12}),colorBorderedSuccess:U(a,{alpha:.1}),closeIconColorSuccess:a,closeIconColorHoverSuccess:a,closeIconColorPressedSuccess:a,closeColorHoverSuccess:U(a,{alpha:.12}),closeColorPressedSuccess:U(a,{alpha:.18}),borderWarning:`1px solid ${U(s,{alpha:.35})}`,textColorWarning:s,colorWarning:U(s,{alpha:.15}),colorBorderedWarning:U(s,{alpha:.12}),closeIconColorWarning:s,closeIconColorHoverWarning:s,closeIconColorPressedWarning:s,closeColorHoverWarning:U(s,{alpha:.12}),closeColorPressedWarning:U(s,{alpha:.18}),borderError:`1px solid ${U(l,{alpha:.23})}`,textColorError:l,colorError:U(l,{alpha:.1}),colorBorderedError:U(l,{alpha:.08}),closeIconColorError:l,closeIconColorHoverError:l,closeIconColorPressedError:l,closeColorHoverError:U(l,{alpha:.12}),closeColorPressedError:U(l,{alpha:.18})})},dS={name:"Tag",common:ae,self:cS},rp=dS,uS=Q("base-clear",` flex-shrink: 0; height: 1em; width: 1em; @@ -408,7 +408,7 @@ ${t} left: 50%; top: 50%; transform: translateX(-50%) translateY(-50%); - `,[Dr({originalTransform:"translateX(-50%) translateY(-50%)",left:"50%",top:"50%"})])])]),Bl=se({name:"BaseClear",props:{clsPrefix:{type:String,required:!0},show:Boolean,onClear:Function},setup(e){return Bi("-base-clear",h8,Ke(e,"clsPrefix")),{handleMouseDown(t){var n;t.preventDefault(),(n=e.onClear)===null||n===void 0||n.call(e,t)}}},render(){const{clsPrefix:e}=this;return T("div",{class:`${e}-base-clear`},T(vs,null,{default:()=>{var t,n;return this.show?T("div",{key:"dismiss",class:`${e}-base-clear__clear`,onClick:this.onClear,onMousedown:this.handleMouseDown,"data-clear":!0},jo(this.$slots.icon,()=>[T(po,{clsPrefix:e},{default:()=>T(rw,null)})])):T("div",{key:"icon",class:`${e}-base-clear__placeholder`},(n=(t=this.$slots).placeholder)===null||n===void 0?void 0:n.call(t))}}))}}),f8=se({name:"InternalSelectionSuffix",props:{clsPrefix:{type:String,required:!0},showArrow:{type:Boolean,default:void 0},showClear:{type:Boolean,default:void 0},loading:{type:Boolean,default:!1},onClear:Function},setup(e,{slots:t}){return()=>{const{clsPrefix:n}=e;return T(Vc,{clsPrefix:n,class:`${n}-base-suffix`,strokeWidth:24,scale:.85,show:e.loading},{default:()=>e.showArrow?T(Bl,{clsPrefix:n,show:e.showClear,onClear:e.onClear},{placeholder:()=>T(po,{clsPrefix:n,class:`${n}-base-suffix__arrow`},{default:()=>jo(t.default,()=>[T(iw,null)])})}):null})}}}),ap={paddingSingle:"0 26px 0 12px",paddingMultiple:"3px 26px 0 12px",clearSize:"16px",arrowSize:"16px"},g8=e=>{const{borderRadius:t,textColor2:n,textColorDisabled:o,inputColor:i,inputColorDisabled:r,primaryColor:a,primaryColorHover:s,warningColor:l,warningColorHover:c,errorColor:d,errorColorHover:u,borderColor:h,iconColor:m,iconColorDisabled:g,clearColor:v,clearColorHover:p,clearColorPressed:f,placeholderColor:x,placeholderColorDisabled:A,fontSizeTiny:k,fontSizeSmall:w,fontSizeMedium:I,fontSizeLarge:C,heightTiny:S,heightSmall:E,heightMedium:R,heightLarge:G}=e;return Object.assign(Object.assign({},ap),{fontSizeTiny:k,fontSizeSmall:w,fontSizeMedium:I,fontSizeLarge:C,heightTiny:S,heightSmall:E,heightMedium:R,heightLarge:G,borderRadius:t,textColor:n,textColorDisabled:o,placeholderColor:x,placeholderColorDisabled:A,color:i,colorDisabled:r,colorActive:i,border:`1px solid ${h}`,borderHover:`1px solid ${s}`,borderActive:`1px solid ${a}`,borderFocus:`1px solid ${s}`,boxShadowHover:"none",boxShadowActive:`0 0 0 2px ${U(a,{alpha:.2})}`,boxShadowFocus:`0 0 0 2px ${U(a,{alpha:.2})}`,caretColor:a,arrowColor:m,arrowColorDisabled:g,loadingColor:a,borderWarning:`1px solid ${l}`,borderHoverWarning:`1px solid ${c}`,borderActiveWarning:`1px solid ${l}`,borderFocusWarning:`1px solid ${c}`,boxShadowHoverWarning:"none",boxShadowActiveWarning:`0 0 0 2px ${U(l,{alpha:.2})}`,boxShadowFocusWarning:`0 0 0 2px ${U(l,{alpha:.2})}`,colorActiveWarning:i,caretColorWarning:l,borderError:`1px solid ${d}`,borderHoverError:`1px solid ${u}`,borderActiveError:`1px solid ${d}`,borderFocusError:`1px solid ${u}`,boxShadowHoverError:"none",boxShadowActiveError:`0 0 0 2px ${U(d,{alpha:.2})}`,boxShadowFocusError:`0 0 0 2px ${U(d,{alpha:.2})}`,colorActiveError:i,caretColorError:d,clearColor:v,clearColorHover:p,clearColorPressed:f})},m8={name:"InternalSelection",common:ae,peers:{Popover:xo},self:g8},qc=m8,p8={name:"InternalSelection",common:re,peers:{Popover:oi},self(e){const{borderRadius:t,textColor2:n,textColorDisabled:o,inputColor:i,inputColorDisabled:r,primaryColor:a,primaryColorHover:s,warningColor:l,warningColorHover:c,errorColor:d,errorColorHover:u,iconColor:h,iconColorDisabled:m,clearColor:g,clearColorHover:v,clearColorPressed:p,placeholderColor:f,placeholderColorDisabled:x,fontSizeTiny:A,fontSizeSmall:k,fontSizeMedium:w,fontSizeLarge:I,heightTiny:C,heightSmall:S,heightMedium:E,heightLarge:R}=e;return Object.assign(Object.assign({},ap),{fontSizeTiny:A,fontSizeSmall:k,fontSizeMedium:w,fontSizeLarge:I,heightTiny:C,heightSmall:S,heightMedium:E,heightLarge:R,borderRadius:t,textColor:n,textColorDisabled:o,placeholderColor:f,placeholderColorDisabled:x,color:i,colorDisabled:r,colorActive:U(a,{alpha:.1}),border:"1px solid #0000",borderHover:`1px solid ${s}`,borderActive:`1px solid ${a}`,borderFocus:`1px solid ${s}`,boxShadowHover:"none",boxShadowActive:`0 0 8px 0 ${U(a,{alpha:.4})}`,boxShadowFocus:`0 0 8px 0 ${U(a,{alpha:.4})}`,caretColor:a,arrowColor:h,arrowColorDisabled:m,loadingColor:a,borderWarning:`1px solid ${l}`,borderHoverWarning:`1px solid ${c}`,borderActiveWarning:`1px solid ${l}`,borderFocusWarning:`1px solid ${c}`,boxShadowHoverWarning:"none",boxShadowActiveWarning:`0 0 8px 0 ${U(l,{alpha:.4})}`,boxShadowFocusWarning:`0 0 8px 0 ${U(l,{alpha:.4})}`,colorActiveWarning:U(l,{alpha:.1}),caretColorWarning:l,borderError:`1px solid ${d}`,borderHoverError:`1px solid ${u}`,borderActiveError:`1px solid ${d}`,borderFocusError:`1px solid ${u}`,boxShadowHoverError:"none",boxShadowActiveError:`0 0 8px 0 ${U(d,{alpha:.4})}`,boxShadowFocusError:`0 0 8px 0 ${U(d,{alpha:.4})}`,colorActiveError:U(d,{alpha:.1}),caretColorError:d,clearColor:g,clearColorHover:v,clearColorPressed:p})}},Xc=p8,{cubicBezierEaseInOut:eo}=yo;function b8({duration:e=".2s",delay:t=".1s"}={}){return[N("&.fade-in-width-expand-transition-leave-from, &.fade-in-width-expand-transition-enter-to",{opacity:1}),N("&.fade-in-width-expand-transition-leave-to, &.fade-in-width-expand-transition-enter-from",` + `,[Dr({originalTransform:"translateX(-50%) translateY(-50%)",left:"50%",top:"50%"})])])]),Bl=se({name:"BaseClear",props:{clsPrefix:{type:String,required:!0},show:Boolean,onClear:Function},setup(e){return Bi("-base-clear",uS,Ke(e,"clsPrefix")),{handleMouseDown(t){var n;t.preventDefault(),(n=e.onClear)===null||n===void 0||n.call(e,t)}}},render(){const{clsPrefix:e}=this;return T("div",{class:`${e}-base-clear`},T(vs,null,{default:()=>{var t,n;return this.show?T("div",{key:"dismiss",class:`${e}-base-clear__clear`,onClick:this.onClear,onMousedown:this.handleMouseDown,"data-clear":!0},jo(this.$slots.icon,()=>[T(po,{clsPrefix:e},{default:()=>T(iw,null)})])):T("div",{key:"icon",class:`${e}-base-clear__placeholder`},(n=(t=this.$slots).placeholder)===null||n===void 0?void 0:n.call(t))}}))}}),hS=se({name:"InternalSelectionSuffix",props:{clsPrefix:{type:String,required:!0},showArrow:{type:Boolean,default:void 0},showClear:{type:Boolean,default:void 0},loading:{type:Boolean,default:!1},onClear:Function},setup(e,{slots:t}){return()=>{const{clsPrefix:n}=e;return T(Vc,{clsPrefix:n,class:`${n}-base-suffix`,strokeWidth:24,scale:.85,show:e.loading},{default:()=>e.showArrow?T(Bl,{clsPrefix:n,show:e.showClear,onClear:e.onClear},{placeholder:()=>T(po,{clsPrefix:n,class:`${n}-base-suffix__arrow`},{default:()=>jo(t.default,()=>[T(ow,null)])})}):null})}}}),ap={paddingSingle:"0 26px 0 12px",paddingMultiple:"3px 26px 0 12px",clearSize:"16px",arrowSize:"16px"},fS=e=>{const{borderRadius:t,textColor2:n,textColorDisabled:o,inputColor:i,inputColorDisabled:r,primaryColor:a,primaryColorHover:s,warningColor:l,warningColorHover:c,errorColor:d,errorColorHover:u,borderColor:h,iconColor:m,iconColorDisabled:g,clearColor:v,clearColorHover:p,clearColorPressed:f,placeholderColor:x,placeholderColorDisabled:A,fontSizeTiny:k,fontSizeSmall:w,fontSizeMedium:I,fontSizeLarge:C,heightTiny:S,heightSmall:E,heightMedium:R,heightLarge:G}=e;return Object.assign(Object.assign({},ap),{fontSizeTiny:k,fontSizeSmall:w,fontSizeMedium:I,fontSizeLarge:C,heightTiny:S,heightSmall:E,heightMedium:R,heightLarge:G,borderRadius:t,textColor:n,textColorDisabled:o,placeholderColor:x,placeholderColorDisabled:A,color:i,colorDisabled:r,colorActive:i,border:`1px solid ${h}`,borderHover:`1px solid ${s}`,borderActive:`1px solid ${a}`,borderFocus:`1px solid ${s}`,boxShadowHover:"none",boxShadowActive:`0 0 0 2px ${U(a,{alpha:.2})}`,boxShadowFocus:`0 0 0 2px ${U(a,{alpha:.2})}`,caretColor:a,arrowColor:m,arrowColorDisabled:g,loadingColor:a,borderWarning:`1px solid ${l}`,borderHoverWarning:`1px solid ${c}`,borderActiveWarning:`1px solid ${l}`,borderFocusWarning:`1px solid ${c}`,boxShadowHoverWarning:"none",boxShadowActiveWarning:`0 0 0 2px ${U(l,{alpha:.2})}`,boxShadowFocusWarning:`0 0 0 2px ${U(l,{alpha:.2})}`,colorActiveWarning:i,caretColorWarning:l,borderError:`1px solid ${d}`,borderHoverError:`1px solid ${u}`,borderActiveError:`1px solid ${d}`,borderFocusError:`1px solid ${u}`,boxShadowHoverError:"none",boxShadowActiveError:`0 0 0 2px ${U(d,{alpha:.2})}`,boxShadowFocusError:`0 0 0 2px ${U(d,{alpha:.2})}`,colorActiveError:i,caretColorError:d,clearColor:v,clearColorHover:p,clearColorPressed:f})},gS={name:"InternalSelection",common:ae,peers:{Popover:xo},self:fS},qc=gS,mS={name:"InternalSelection",common:re,peers:{Popover:oi},self(e){const{borderRadius:t,textColor2:n,textColorDisabled:o,inputColor:i,inputColorDisabled:r,primaryColor:a,primaryColorHover:s,warningColor:l,warningColorHover:c,errorColor:d,errorColorHover:u,iconColor:h,iconColorDisabled:m,clearColor:g,clearColorHover:v,clearColorPressed:p,placeholderColor:f,placeholderColorDisabled:x,fontSizeTiny:A,fontSizeSmall:k,fontSizeMedium:w,fontSizeLarge:I,heightTiny:C,heightSmall:S,heightMedium:E,heightLarge:R}=e;return Object.assign(Object.assign({},ap),{fontSizeTiny:A,fontSizeSmall:k,fontSizeMedium:w,fontSizeLarge:I,heightTiny:C,heightSmall:S,heightMedium:E,heightLarge:R,borderRadius:t,textColor:n,textColorDisabled:o,placeholderColor:f,placeholderColorDisabled:x,color:i,colorDisabled:r,colorActive:U(a,{alpha:.1}),border:"1px solid #0000",borderHover:`1px solid ${s}`,borderActive:`1px solid ${a}`,borderFocus:`1px solid ${s}`,boxShadowHover:"none",boxShadowActive:`0 0 8px 0 ${U(a,{alpha:.4})}`,boxShadowFocus:`0 0 8px 0 ${U(a,{alpha:.4})}`,caretColor:a,arrowColor:h,arrowColorDisabled:m,loadingColor:a,borderWarning:`1px solid ${l}`,borderHoverWarning:`1px solid ${c}`,borderActiveWarning:`1px solid ${l}`,borderFocusWarning:`1px solid ${c}`,boxShadowHoverWarning:"none",boxShadowActiveWarning:`0 0 8px 0 ${U(l,{alpha:.4})}`,boxShadowFocusWarning:`0 0 8px 0 ${U(l,{alpha:.4})}`,colorActiveWarning:U(l,{alpha:.1}),caretColorWarning:l,borderError:`1px solid ${d}`,borderHoverError:`1px solid ${u}`,borderActiveError:`1px solid ${d}`,borderFocusError:`1px solid ${u}`,boxShadowHoverError:"none",boxShadowActiveError:`0 0 8px 0 ${U(d,{alpha:.4})}`,boxShadowFocusError:`0 0 8px 0 ${U(d,{alpha:.4})}`,colorActiveError:U(d,{alpha:.1}),caretColorError:d,clearColor:g,clearColorHover:v,clearColorPressed:p})}},Xc=mS,{cubicBezierEaseInOut:eo}=yo;function pS({duration:e=".2s",delay:t=".1s"}={}){return[N("&.fade-in-width-expand-transition-leave-from, &.fade-in-width-expand-transition-enter-to",{opacity:1}),N("&.fade-in-width-expand-transition-leave-to, &.fade-in-width-expand-transition-enter-from",` opacity: 0!important; margin-left: 0!important; margin-right: 0!important; @@ -426,13 +426,13 @@ ${t} max-width ${e} ${eo}, margin-left ${e} ${eo}, margin-right ${e} ${eo}; - `)]}const sp={iconMargin:"11px 8px 0 12px",iconMarginRtl:"11px 12px 0 8px",iconSize:"24px",closeIconSize:"16px",closeSize:"20px",closeMargin:"13px 14px 0 0",closeMarginRtl:"13px 0 0 14px",padding:"13px"},v8={name:"Alert",common:re,self(e){const{lineHeight:t,borderRadius:n,fontWeightStrong:o,dividerColor:i,inputColor:r,textColor1:a,textColor2:s,closeColorHover:l,closeColorPressed:c,closeIconColor:d,closeIconColorHover:u,closeIconColorPressed:h,infoColorSuppl:m,successColorSuppl:g,warningColorSuppl:v,errorColorSuppl:p,fontSize:f}=e;return Object.assign(Object.assign({},sp),{fontSize:f,lineHeight:t,titleFontWeight:o,borderRadius:n,border:`1px solid ${i}`,color:r,titleTextColor:a,iconColor:s,contentTextColor:s,closeBorderRadius:n,closeColorHover:l,closeColorPressed:c,closeIconColor:d,closeIconColorHover:u,closeIconColorPressed:h,borderInfo:`1px solid ${U(m,{alpha:.35})}`,colorInfo:U(m,{alpha:.25}),titleTextColorInfo:a,iconColorInfo:m,contentTextColorInfo:s,closeColorHoverInfo:l,closeColorPressedInfo:c,closeIconColorInfo:d,closeIconColorHoverInfo:u,closeIconColorPressedInfo:h,borderSuccess:`1px solid ${U(g,{alpha:.35})}`,colorSuccess:U(g,{alpha:.25}),titleTextColorSuccess:a,iconColorSuccess:g,contentTextColorSuccess:s,closeColorHoverSuccess:l,closeColorPressedSuccess:c,closeIconColorSuccess:d,closeIconColorHoverSuccess:u,closeIconColorPressedSuccess:h,borderWarning:`1px solid ${U(v,{alpha:.35})}`,colorWarning:U(v,{alpha:.25}),titleTextColorWarning:a,iconColorWarning:v,contentTextColorWarning:s,closeColorHoverWarning:l,closeColorPressedWarning:c,closeIconColorWarning:d,closeIconColorHoverWarning:u,closeIconColorPressedWarning:h,borderError:`1px solid ${U(p,{alpha:.35})}`,colorError:U(p,{alpha:.25}),titleTextColorError:a,iconColorError:p,contentTextColorError:s,closeColorHoverError:l,closeColorPressedError:c,closeIconColorError:d,closeIconColorHoverError:u,closeIconColorPressedError:h})}},y8=v8,x8=e=>{const{lineHeight:t,borderRadius:n,fontWeightStrong:o,baseColor:i,dividerColor:r,actionColor:a,textColor1:s,textColor2:l,closeColorHover:c,closeColorPressed:d,closeIconColor:u,closeIconColorHover:h,closeIconColorPressed:m,infoColor:g,successColor:v,warningColor:p,errorColor:f,fontSize:x}=e;return Object.assign(Object.assign({},sp),{fontSize:x,lineHeight:t,titleFontWeight:o,borderRadius:n,border:`1px solid ${r}`,color:a,titleTextColor:s,iconColor:l,contentTextColor:l,closeBorderRadius:n,closeColorHover:c,closeColorPressed:d,closeIconColor:u,closeIconColorHover:h,closeIconColorPressed:m,borderInfo:`1px solid ${he(i,U(g,{alpha:.25}))}`,colorInfo:he(i,U(g,{alpha:.08})),titleTextColorInfo:s,iconColorInfo:g,contentTextColorInfo:l,closeColorHoverInfo:c,closeColorPressedInfo:d,closeIconColorInfo:u,closeIconColorHoverInfo:h,closeIconColorPressedInfo:m,borderSuccess:`1px solid ${he(i,U(v,{alpha:.25}))}`,colorSuccess:he(i,U(v,{alpha:.08})),titleTextColorSuccess:s,iconColorSuccess:v,contentTextColorSuccess:l,closeColorHoverSuccess:c,closeColorPressedSuccess:d,closeIconColorSuccess:u,closeIconColorHoverSuccess:h,closeIconColorPressedSuccess:m,borderWarning:`1px solid ${he(i,U(p,{alpha:.33}))}`,colorWarning:he(i,U(p,{alpha:.08})),titleTextColorWarning:s,iconColorWarning:p,contentTextColorWarning:l,closeColorHoverWarning:c,closeColorPressedWarning:d,closeIconColorWarning:u,closeIconColorHoverWarning:h,closeIconColorPressedWarning:m,borderError:`1px solid ${he(i,U(f,{alpha:.25}))}`,colorError:he(i,U(f,{alpha:.08})),titleTextColorError:s,iconColorError:f,contentTextColorError:l,closeColorHoverError:c,closeColorPressedError:d,closeIconColorError:u,closeIconColorHoverError:h,closeIconColorPressedError:m})},k8={name:"Alert",common:ae,self:x8},C8=k8,{cubicBezierEaseInOut:Pn,cubicBezierEaseOut:T8,cubicBezierEaseIn:w8}=yo;function S8({overflow:e="hidden",duration:t=".3s",originalTransition:n="",leavingDelay:o="0s",foldPadding:i=!1,enterToProps:r=void 0,leaveToProps:a=void 0,reverse:s=!1}={}){const l=s?"leave":"enter",c=s?"enter":"leave";return[N(`&.fade-in-height-expand-transition-${c}-from, + `)]}const sp={iconMargin:"11px 8px 0 12px",iconMarginRtl:"11px 12px 0 8px",iconSize:"24px",closeIconSize:"16px",closeSize:"20px",closeMargin:"13px 14px 0 0",closeMarginRtl:"13px 0 0 14px",padding:"13px"},bS={name:"Alert",common:re,self(e){const{lineHeight:t,borderRadius:n,fontWeightStrong:o,dividerColor:i,inputColor:r,textColor1:a,textColor2:s,closeColorHover:l,closeColorPressed:c,closeIconColor:d,closeIconColorHover:u,closeIconColorPressed:h,infoColorSuppl:m,successColorSuppl:g,warningColorSuppl:v,errorColorSuppl:p,fontSize:f}=e;return Object.assign(Object.assign({},sp),{fontSize:f,lineHeight:t,titleFontWeight:o,borderRadius:n,border:`1px solid ${i}`,color:r,titleTextColor:a,iconColor:s,contentTextColor:s,closeBorderRadius:n,closeColorHover:l,closeColorPressed:c,closeIconColor:d,closeIconColorHover:u,closeIconColorPressed:h,borderInfo:`1px solid ${U(m,{alpha:.35})}`,colorInfo:U(m,{alpha:.25}),titleTextColorInfo:a,iconColorInfo:m,contentTextColorInfo:s,closeColorHoverInfo:l,closeColorPressedInfo:c,closeIconColorInfo:d,closeIconColorHoverInfo:u,closeIconColorPressedInfo:h,borderSuccess:`1px solid ${U(g,{alpha:.35})}`,colorSuccess:U(g,{alpha:.25}),titleTextColorSuccess:a,iconColorSuccess:g,contentTextColorSuccess:s,closeColorHoverSuccess:l,closeColorPressedSuccess:c,closeIconColorSuccess:d,closeIconColorHoverSuccess:u,closeIconColorPressedSuccess:h,borderWarning:`1px solid ${U(v,{alpha:.35})}`,colorWarning:U(v,{alpha:.25}),titleTextColorWarning:a,iconColorWarning:v,contentTextColorWarning:s,closeColorHoverWarning:l,closeColorPressedWarning:c,closeIconColorWarning:d,closeIconColorHoverWarning:u,closeIconColorPressedWarning:h,borderError:`1px solid ${U(p,{alpha:.35})}`,colorError:U(p,{alpha:.25}),titleTextColorError:a,iconColorError:p,contentTextColorError:s,closeColorHoverError:l,closeColorPressedError:c,closeIconColorError:d,closeIconColorHoverError:u,closeIconColorPressedError:h})}},vS=bS,yS=e=>{const{lineHeight:t,borderRadius:n,fontWeightStrong:o,baseColor:i,dividerColor:r,actionColor:a,textColor1:s,textColor2:l,closeColorHover:c,closeColorPressed:d,closeIconColor:u,closeIconColorHover:h,closeIconColorPressed:m,infoColor:g,successColor:v,warningColor:p,errorColor:f,fontSize:x}=e;return Object.assign(Object.assign({},sp),{fontSize:x,lineHeight:t,titleFontWeight:o,borderRadius:n,border:`1px solid ${r}`,color:a,titleTextColor:s,iconColor:l,contentTextColor:l,closeBorderRadius:n,closeColorHover:c,closeColorPressed:d,closeIconColor:u,closeIconColorHover:h,closeIconColorPressed:m,borderInfo:`1px solid ${he(i,U(g,{alpha:.25}))}`,colorInfo:he(i,U(g,{alpha:.08})),titleTextColorInfo:s,iconColorInfo:g,contentTextColorInfo:l,closeColorHoverInfo:c,closeColorPressedInfo:d,closeIconColorInfo:u,closeIconColorHoverInfo:h,closeIconColorPressedInfo:m,borderSuccess:`1px solid ${he(i,U(v,{alpha:.25}))}`,colorSuccess:he(i,U(v,{alpha:.08})),titleTextColorSuccess:s,iconColorSuccess:v,contentTextColorSuccess:l,closeColorHoverSuccess:c,closeColorPressedSuccess:d,closeIconColorSuccess:u,closeIconColorHoverSuccess:h,closeIconColorPressedSuccess:m,borderWarning:`1px solid ${he(i,U(p,{alpha:.33}))}`,colorWarning:he(i,U(p,{alpha:.08})),titleTextColorWarning:s,iconColorWarning:p,contentTextColorWarning:l,closeColorHoverWarning:c,closeColorPressedWarning:d,closeIconColorWarning:u,closeIconColorHoverWarning:h,closeIconColorPressedWarning:m,borderError:`1px solid ${he(i,U(f,{alpha:.25}))}`,colorError:he(i,U(f,{alpha:.08})),titleTextColorError:s,iconColorError:f,contentTextColorError:l,closeColorHoverError:c,closeColorPressedError:d,closeIconColorError:u,closeIconColorHoverError:h,closeIconColorPressedError:m})},xS={name:"Alert",common:ae,self:yS},kS=xS,{cubicBezierEaseInOut:Pn,cubicBezierEaseOut:CS,cubicBezierEaseIn:TS}=yo;function wS({overflow:e="hidden",duration:t=".3s",originalTransition:n="",leavingDelay:o="0s",foldPadding:i=!1,enterToProps:r=void 0,leaveToProps:a=void 0,reverse:s=!1}={}){const l=s?"leave":"enter",c=s?"enter":"leave";return[N(`&.fade-in-height-expand-transition-${c}-from, &.fade-in-height-expand-transition-${l}-to`,Object.assign(Object.assign({},r),{opacity:1})),N(`&.fade-in-height-expand-transition-${c}-to, &.fade-in-height-expand-transition-${l}-from`,Object.assign(Object.assign({},a),{opacity:0,marginTop:"0 !important",marginBottom:"0 !important",paddingTop:i?"0 !important":void 0,paddingBottom:i?"0 !important":void 0})),N(`&.fade-in-height-expand-transition-${c}-active`,` overflow: ${e}; transition: max-height ${t} ${Pn} ${o}, - opacity ${t} ${T8} ${o}, + opacity ${t} ${CS} ${o}, margin-top ${t} ${Pn} ${o}, margin-bottom ${t} ${Pn} ${o}, padding-top ${t} ${Pn} ${o}, @@ -442,13 +442,13 @@ ${t} overflow: ${e}; transition: max-height ${t} ${Pn}, - opacity ${t} ${w8}, + opacity ${t} ${TS}, margin-top ${t} ${Pn}, margin-bottom ${t} ${Pn}, padding-top ${t} ${Pn}, padding-bottom ${t} ${Pn} ${n?","+n:""} - `)]}const _8={linkFontSize:"13px",linkPadding:"0 0 0 16px",railWidth:"4px"},lp=e=>{const{borderRadius:t,railColor:n,primaryColor:o,primaryColorHover:i,primaryColorPressed:r,textColor2:a}=e;return Object.assign(Object.assign({},_8),{borderRadius:t,railColor:n,railColorActive:o,linkColor:U(o,{alpha:.15}),linkTextColor:a,linkTextColorHover:i,linkTextColorPressed:r,linkTextColorActive:o})},P8={name:"Anchor",common:ae,self:lp},A8=P8,I8={name:"Anchor",common:re,self:lp},E8=I8,R8=Zo&&"chrome"in window;Zo&&navigator.userAgent.includes("Firefox");const cp=Zo&&navigator.userAgent.includes("Safari")&&!R8,dp={paddingTiny:"0 8px",paddingSmall:"0 10px",paddingMedium:"0 12px",paddingLarge:"0 14px",clearSize:"16px"},M8={name:"Input",common:re,self(e){const{textColor2:t,textColor3:n,textColorDisabled:o,primaryColor:i,primaryColorHover:r,inputColor:a,inputColorDisabled:s,warningColor:l,warningColorHover:c,errorColor:d,errorColorHover:u,borderRadius:h,lineHeight:m,fontSizeTiny:g,fontSizeSmall:v,fontSizeMedium:p,fontSizeLarge:f,heightTiny:x,heightSmall:A,heightMedium:k,heightLarge:w,clearColor:I,clearColorHover:C,clearColorPressed:S,placeholderColor:E,placeholderColorDisabled:R,iconColor:G,iconColorDisabled:M,iconColorHover:q,iconColorPressed:ee}=e;return Object.assign(Object.assign({},dp),{countTextColorDisabled:o,countTextColor:n,heightTiny:x,heightSmall:A,heightMedium:k,heightLarge:w,fontSizeTiny:g,fontSizeSmall:v,fontSizeMedium:p,fontSizeLarge:f,lineHeight:m,lineHeightTextarea:m,borderRadius:h,iconSize:"16px",groupLabelColor:a,textColor:t,textColorDisabled:o,textDecorationColor:t,groupLabelTextColor:t,caretColor:i,placeholderColor:E,placeholderColorDisabled:R,color:a,colorDisabled:s,colorFocus:U(i,{alpha:.1}),groupLabelBorder:"1px solid #0000",border:"1px solid #0000",borderHover:`1px solid ${r}`,borderDisabled:"1px solid #0000",borderFocus:`1px solid ${r}`,boxShadowFocus:`0 0 8px 0 ${U(i,{alpha:.3})}`,loadingColor:i,loadingColorWarning:l,borderWarning:`1px solid ${l}`,borderHoverWarning:`1px solid ${c}`,colorFocusWarning:U(l,{alpha:.1}),borderFocusWarning:`1px solid ${c}`,boxShadowFocusWarning:`0 0 8px 0 ${U(l,{alpha:.3})}`,caretColorWarning:l,loadingColorError:d,borderError:`1px solid ${d}`,borderHoverError:`1px solid ${u}`,colorFocusError:U(d,{alpha:.1}),borderFocusError:`1px solid ${u}`,boxShadowFocusError:`0 0 8px 0 ${U(d,{alpha:.3})}`,caretColorError:d,clearColor:I,clearColorHover:C,clearColorPressed:S,iconColor:G,iconColorDisabled:M,iconColorHover:q,iconColorPressed:ee,suffixTextColor:t})}},mn=M8,D8=e=>{const{textColor2:t,textColor3:n,textColorDisabled:o,primaryColor:i,primaryColorHover:r,inputColor:a,inputColorDisabled:s,borderColor:l,warningColor:c,warningColorHover:d,errorColor:u,errorColorHover:h,borderRadius:m,lineHeight:g,fontSizeTiny:v,fontSizeSmall:p,fontSizeMedium:f,fontSizeLarge:x,heightTiny:A,heightSmall:k,heightMedium:w,heightLarge:I,actionColor:C,clearColor:S,clearColorHover:E,clearColorPressed:R,placeholderColor:G,placeholderColorDisabled:M,iconColor:q,iconColorDisabled:ee,iconColorHover:O,iconColorPressed:V}=e;return Object.assign(Object.assign({},dp),{countTextColorDisabled:o,countTextColor:n,heightTiny:A,heightSmall:k,heightMedium:w,heightLarge:I,fontSizeTiny:v,fontSizeSmall:p,fontSizeMedium:f,fontSizeLarge:x,lineHeight:g,lineHeightTextarea:g,borderRadius:m,iconSize:"16px",groupLabelColor:C,groupLabelTextColor:t,textColor:t,textColorDisabled:o,textDecorationColor:t,caretColor:i,placeholderColor:G,placeholderColorDisabled:M,color:a,colorDisabled:s,colorFocus:a,groupLabelBorder:`1px solid ${l}`,border:`1px solid ${l}`,borderHover:`1px solid ${r}`,borderDisabled:`1px solid ${l}`,borderFocus:`1px solid ${r}`,boxShadowFocus:`0 0 0 2px ${U(i,{alpha:.2})}`,loadingColor:i,loadingColorWarning:c,borderWarning:`1px solid ${c}`,borderHoverWarning:`1px solid ${d}`,colorFocusWarning:a,borderFocusWarning:`1px solid ${d}`,boxShadowFocusWarning:`0 0 0 2px ${U(c,{alpha:.2})}`,caretColorWarning:c,loadingColorError:u,borderError:`1px solid ${u}`,borderHoverError:`1px solid ${h}`,colorFocusError:a,borderFocusError:`1px solid ${h}`,boxShadowFocusError:`0 0 0 2px ${U(u,{alpha:.2})}`,caretColorError:u,clearColor:S,clearColorHover:E,clearColorPressed:R,iconColor:q,iconColorDisabled:ee,iconColorHover:O,iconColorPressed:V,suffixTextColor:t})},L8={name:"Input",common:ae,self:D8},sn=L8,up="n-input";function $8(e){let t=0;for(const n of e)t++;return t}function fa(e){return e===""||e==null}function O8(e){const t=j(null);function n(){const{value:r}=e;if(!(r!=null&&r.focus)){i();return}const{selectionStart:a,selectionEnd:s,value:l}=r;if(a==null||s==null){i();return}t.value={start:a,end:s,beforeText:l.slice(0,a),afterText:l.slice(s)}}function o(){var r;const{value:a}=t,{value:s}=e;if(!a||!s)return;const{value:l}=s,{start:c,beforeText:d,afterText:u}=a;let h=l.length;if(l.endsWith(u))h=l.length-u.length;else if(l.startsWith(d))h=d.length;else{const m=d[c-1],g=l.indexOf(m,c-1);g!==-1&&(h=g+1)}(r=s.setSelectionRange)===null||r===void 0||r.call(s,h,h)}function i(){t.value=null}return Ze(e,i),{recordCursor:n,restoreCursor:o}}const Ch=se({name:"InputWordCount",setup(e,{slots:t}){const{mergedValueRef:n,maxlengthRef:o,mergedClsPrefixRef:i,countGraphemesRef:r}=Ie(up),a=z(()=>{const{value:s}=n;return s===null||Array.isArray(s)?0:(r.value||$8)(s)});return()=>{const{value:s}=o,{value:l}=n;return T("span",{class:`${i.value}-input-word-count`},c2(t.default,{value:l===null||Array.isArray(l)?"":l},()=>[s===void 0?a.value:`${a.value} / ${s}`]))}}}),H8=Q("input",` + `)]}const SS={linkFontSize:"13px",linkPadding:"0 0 0 16px",railWidth:"4px"},lp=e=>{const{borderRadius:t,railColor:n,primaryColor:o,primaryColorHover:i,primaryColorPressed:r,textColor2:a}=e;return Object.assign(Object.assign({},SS),{borderRadius:t,railColor:n,railColorActive:o,linkColor:U(o,{alpha:.15}),linkTextColor:a,linkTextColorHover:i,linkTextColorPressed:r,linkTextColorActive:o})},_S={name:"Anchor",common:ae,self:lp},PS=_S,AS={name:"Anchor",common:re,self:lp},IS=AS,ES=Zo&&"chrome"in window;Zo&&navigator.userAgent.includes("Firefox");const cp=Zo&&navigator.userAgent.includes("Safari")&&!ES,dp={paddingTiny:"0 8px",paddingSmall:"0 10px",paddingMedium:"0 12px",paddingLarge:"0 14px",clearSize:"16px"},RS={name:"Input",common:re,self(e){const{textColor2:t,textColor3:n,textColorDisabled:o,primaryColor:i,primaryColorHover:r,inputColor:a,inputColorDisabled:s,warningColor:l,warningColorHover:c,errorColor:d,errorColorHover:u,borderRadius:h,lineHeight:m,fontSizeTiny:g,fontSizeSmall:v,fontSizeMedium:p,fontSizeLarge:f,heightTiny:x,heightSmall:A,heightMedium:k,heightLarge:w,clearColor:I,clearColorHover:C,clearColorPressed:S,placeholderColor:E,placeholderColorDisabled:R,iconColor:G,iconColorDisabled:M,iconColorHover:q,iconColorPressed:ee}=e;return Object.assign(Object.assign({},dp),{countTextColorDisabled:o,countTextColor:n,heightTiny:x,heightSmall:A,heightMedium:k,heightLarge:w,fontSizeTiny:g,fontSizeSmall:v,fontSizeMedium:p,fontSizeLarge:f,lineHeight:m,lineHeightTextarea:m,borderRadius:h,iconSize:"16px",groupLabelColor:a,textColor:t,textColorDisabled:o,textDecorationColor:t,groupLabelTextColor:t,caretColor:i,placeholderColor:E,placeholderColorDisabled:R,color:a,colorDisabled:s,colorFocus:U(i,{alpha:.1}),groupLabelBorder:"1px solid #0000",border:"1px solid #0000",borderHover:`1px solid ${r}`,borderDisabled:"1px solid #0000",borderFocus:`1px solid ${r}`,boxShadowFocus:`0 0 8px 0 ${U(i,{alpha:.3})}`,loadingColor:i,loadingColorWarning:l,borderWarning:`1px solid ${l}`,borderHoverWarning:`1px solid ${c}`,colorFocusWarning:U(l,{alpha:.1}),borderFocusWarning:`1px solid ${c}`,boxShadowFocusWarning:`0 0 8px 0 ${U(l,{alpha:.3})}`,caretColorWarning:l,loadingColorError:d,borderError:`1px solid ${d}`,borderHoverError:`1px solid ${u}`,colorFocusError:U(d,{alpha:.1}),borderFocusError:`1px solid ${u}`,boxShadowFocusError:`0 0 8px 0 ${U(d,{alpha:.3})}`,caretColorError:d,clearColor:I,clearColorHover:C,clearColorPressed:S,iconColor:G,iconColorDisabled:M,iconColorHover:q,iconColorPressed:ee,suffixTextColor:t})}},mn=RS,MS=e=>{const{textColor2:t,textColor3:n,textColorDisabled:o,primaryColor:i,primaryColorHover:r,inputColor:a,inputColorDisabled:s,borderColor:l,warningColor:c,warningColorHover:d,errorColor:u,errorColorHover:h,borderRadius:m,lineHeight:g,fontSizeTiny:v,fontSizeSmall:p,fontSizeMedium:f,fontSizeLarge:x,heightTiny:A,heightSmall:k,heightMedium:w,heightLarge:I,actionColor:C,clearColor:S,clearColorHover:E,clearColorPressed:R,placeholderColor:G,placeholderColorDisabled:M,iconColor:q,iconColorDisabled:ee,iconColorHover:O,iconColorPressed:V}=e;return Object.assign(Object.assign({},dp),{countTextColorDisabled:o,countTextColor:n,heightTiny:A,heightSmall:k,heightMedium:w,heightLarge:I,fontSizeTiny:v,fontSizeSmall:p,fontSizeMedium:f,fontSizeLarge:x,lineHeight:g,lineHeightTextarea:g,borderRadius:m,iconSize:"16px",groupLabelColor:C,groupLabelTextColor:t,textColor:t,textColorDisabled:o,textDecorationColor:t,caretColor:i,placeholderColor:G,placeholderColorDisabled:M,color:a,colorDisabled:s,colorFocus:a,groupLabelBorder:`1px solid ${l}`,border:`1px solid ${l}`,borderHover:`1px solid ${r}`,borderDisabled:`1px solid ${l}`,borderFocus:`1px solid ${r}`,boxShadowFocus:`0 0 0 2px ${U(i,{alpha:.2})}`,loadingColor:i,loadingColorWarning:c,borderWarning:`1px solid ${c}`,borderHoverWarning:`1px solid ${d}`,colorFocusWarning:a,borderFocusWarning:`1px solid ${d}`,boxShadowFocusWarning:`0 0 0 2px ${U(c,{alpha:.2})}`,caretColorWarning:c,loadingColorError:u,borderError:`1px solid ${u}`,borderHoverError:`1px solid ${h}`,colorFocusError:a,borderFocusError:`1px solid ${h}`,boxShadowFocusError:`0 0 0 2px ${U(u,{alpha:.2})}`,caretColorError:u,clearColor:S,clearColorHover:E,clearColorPressed:R,iconColor:q,iconColorDisabled:ee,iconColorHover:O,iconColorPressed:V,suffixTextColor:t})},DS={name:"Input",common:ae,self:MS},sn=DS,up="n-input";function LS(e){let t=0;for(const n of e)t++;return t}function fa(e){return e===""||e==null}function $S(e){const t=j(null);function n(){const{value:r}=e;if(!(r!=null&&r.focus)){i();return}const{selectionStart:a,selectionEnd:s,value:l}=r;if(a==null||s==null){i();return}t.value={start:a,end:s,beforeText:l.slice(0,a),afterText:l.slice(s)}}function o(){var r;const{value:a}=t,{value:s}=e;if(!a||!s)return;const{value:l}=s,{start:c,beforeText:d,afterText:u}=a;let h=l.length;if(l.endsWith(u))h=l.length-u.length;else if(l.startsWith(d))h=d.length;else{const m=d[c-1],g=l.indexOf(m,c-1);g!==-1&&(h=g+1)}(r=s.setSelectionRange)===null||r===void 0||r.call(s,h,h)}function i(){t.value=null}return Ze(e,i),{recordCursor:n,restoreCursor:o}}const Ch=se({name:"InputWordCount",setup(e,{slots:t}){const{mergedValueRef:n,maxlengthRef:o,mergedClsPrefixRef:i,countGraphemesRef:r}=Ie(up),a=z(()=>{const{value:s}=n;return s===null||Array.isArray(s)?0:(r.value||LS)(s)});return()=>{const{value:s}=o,{value:l}=n;return T("span",{class:`${i.value}-input-word-count`},l2(t.default,{value:l===null||Array.isArray(l)?"":l},()=>[s===void 0?a.value:`${a.value} / ${s}`]))}}}),OS=Q("input",` max-width: 100%; cursor: text; line-height: 1.5; @@ -678,10 +678,10 @@ ${t} `,[F("state-border",` box-shadow: var(--n-box-shadow-focus-${e}); border: var(--n-border-focus-${e}); - `)])])]))]),B8=Q("input",[Y("disabled",[F("input-el, textarea-el",` + `)])])]))]),HS=Q("input",[Y("disabled",[F("input-el, textarea-el",` -webkit-text-fill-color: var(--n-text-color-disabled); - `)])]),N8=Object.assign(Object.assign({},Pe.props),{bordered:{type:Boolean,default:void 0},type:{type:String,default:"text"},placeholder:[Array,String],defaultValue:{type:[String,Array],default:null},value:[String,Array],disabled:{type:Boolean,default:void 0},size:String,rows:{type:[Number,String],default:3},round:Boolean,minlength:[String,Number],maxlength:[String,Number],clearable:Boolean,autosize:{type:[Boolean,Object],default:!1},pair:Boolean,separator:String,readonly:{type:[String,Boolean],default:!1},passivelyActivated:Boolean,showPasswordOn:String,stateful:{type:Boolean,default:!0},autofocus:Boolean,inputProps:Object,resizable:{type:Boolean,default:!0},showCount:Boolean,loading:{type:Boolean,default:void 0},allowInput:Function,renderCount:Function,onMousedown:Function,onKeydown:Function,onKeyup:[Function,Array],onInput:[Function,Array],onFocus:[Function,Array],onBlur:[Function,Array],onClick:[Function,Array],onChange:[Function,Array],onClear:[Function,Array],countGraphemes:Function,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],textDecoration:[String,Array],attrSize:{type:Number,default:20},onInputBlur:[Function,Array],onInputFocus:[Function,Array],onDeactivate:[Function,Array],onActivate:[Function,Array],onWrapperFocus:[Function,Array],onWrapperBlur:[Function,Array],internalDeactivateOnEnter:Boolean,internalForceFocus:Boolean,internalLoadingBeforeSuffix:{type:Boolean,default:!0},showPasswordToggle:Boolean}),z8=se({name:"Input",props:N8,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:n,inlineThemeDisabled:o,mergedRtlRef:i}=lt(e),r=Pe("Input","-input",H8,sn,e,t);cp&&Bi("-input-safari",B8,t);const a=j(null),s=j(null),l=j(null),c=j(null),d=j(null),u=j(null),h=j(null),m=O8(h),g=j(null),{localeRef:v}=QT("Input"),p=j(e.defaultValue),f=Ke(e,"value"),x=Ic(f,p),A=em(e),{mergedSizeRef:k,mergedDisabledRef:w,mergedStatusRef:I}=A,C=j(!1),S=j(!1),E=j(!1),R=j(!1);let G=null;const M=z(()=>{const{placeholder:L,pair:J}=e;return J?Array.isArray(L)?L:L===void 0?["",""]:[L,L]:L===void 0?[v.value.placeholder]:[L]}),q=z(()=>{const{value:L}=E,{value:J}=x,{value:ye}=M;return!L&&(fa(J)||Array.isArray(J)&&fa(J[0]))&&ye[0]}),ee=z(()=>{const{value:L}=E,{value:J}=x,{value:ye}=M;return!L&&ye[1]&&(fa(J)||Array.isArray(J)&&fa(J[1]))}),O=wt(()=>e.internalForceFocus||C.value),V=wt(()=>{if(w.value||e.readonly||!e.clearable||!O.value&&!S.value)return!1;const{value:L}=x,{value:J}=O;return e.pair?!!(Array.isArray(L)&&(L[0]||L[1]))&&(S.value||J):!!L&&(S.value||J)}),W=z(()=>{const{showPasswordOn:L}=e;if(L)return L;if(e.showPasswordToggle)return"click"}),oe=j(!1),fe=z(()=>{const{textDecoration:L}=e;return L?Array.isArray(L)?L.map(J=>({textDecoration:J})):[{textDecoration:L}]:["",""]}),we=j(void 0),De=()=>{var L,J;if(e.type==="textarea"){const{autosize:ye}=e;if(ye&&(we.value=(J=(L=g.value)===null||L===void 0?void 0:L.$el)===null||J===void 0?void 0:J.offsetWidth),!s.value||typeof ye=="boolean")return;const{paddingTop:rt,paddingBottom:ht,lineHeight:et}=window.getComputedStyle(s.value),wo=Number(rt.slice(0,-2)),So=Number(ht.slice(0,-2)),_o=Number(et.slice(0,-2)),{value:Gi}=l;if(!Gi)return;if(ye.minRows){const Vi=Math.max(ye.minRows,1),Ds=`${wo+So+_o*Vi}px`;Gi.style.minHeight=Ds}if(ye.maxRows){const Vi=`${wo+So+_o*ye.maxRows}px`;Gi.style.maxHeight=Vi}}},Le=z(()=>{const{maxlength:L}=e;return L===void 0?void 0:Number(L)});Lt(()=>{const{value:L}=x;Array.isArray(L)||Qe(L)});const mt=rn().proxy;function ct(L){const{onUpdateValue:J,"onUpdate:value":ye,onInput:rt}=e,{nTriggerFormInput:ht}=A;J&&Fe(J,L),ye&&Fe(ye,L),rt&&Fe(rt,L),p.value=L,ht()}function Je(L){const{onChange:J}=e,{nTriggerFormChange:ye}=A;J&&Fe(J,L),p.value=L,ye()}function Ae(L){const{onBlur:J}=e,{nTriggerFormBlur:ye}=A;J&&Fe(J,L),ye()}function Ee(L){const{onFocus:J}=e,{nTriggerFormFocus:ye}=A;J&&Fe(J,L),ye()}function Pt(L){const{onClear:J}=e;J&&Fe(J,L)}function Te(L){const{onInputBlur:J}=e;J&&Fe(J,L)}function dt(L){const{onInputFocus:J}=e;J&&Fe(J,L)}function bt(){const{onDeactivate:L}=e;L&&Fe(L)}function P(){const{onActivate:L}=e;L&&Fe(L)}function b(L){const{onClick:J}=e;J&&Fe(J,L)}function y(L){const{onWrapperFocus:J}=e;J&&Fe(J,L)}function _(L){const{onWrapperBlur:J}=e;J&&Fe(J,L)}function $(){E.value=!0}function B(L){E.value=!1,L.target===u.value?Z(L,1):Z(L,0)}function Z(L,J=0,ye="input"){const rt=L.target.value;if(Qe(rt),L instanceof InputEvent&&!L.isComposing&&(E.value=!1),e.type==="textarea"){const{value:et}=g;et&&et.syncUnifiedContainer()}if(G=rt,E.value)return;m.recordCursor();const ht=ne(rt);if(ht)if(!e.pair)ye==="input"?ct(rt):Je(rt);else{let{value:et}=x;Array.isArray(et)?et=[et[0],et[1]]:et=["",""],et[J]=rt,ye==="input"?ct(et):Je(et)}mt.$forceUpdate(),ht||jt(m.restoreCursor)}function ne(L){const{countGraphemes:J,maxlength:ye,minlength:rt}=e;if(J){let et;if(ye!==void 0&&(et===void 0&&(et=J(L)),et>Number(ye))||rt!==void 0&&(et===void 0&&(et=J(L)),et{rt.preventDefault(),Ue("mouseup",document,J)};if(st("mouseup",document,J),W.value!=="mousedown")return;oe.value=!0;const ye=()=>{oe.value=!1,Ue("mouseup",document,ye)};st("mouseup",document,ye)}function wn(L){e.onKeyup&&Fe(e.onKeyup,L)}function pn(L){switch(e.onKeydown&&Fe(e.onKeydown,L),L.key){case"Escape":te();break;case"Enter":$t(L);break}}function $t(L){var J,ye;if(e.passivelyActivated){const{value:rt}=R;if(rt){e.internalDeactivateOnEnter&&te();return}L.preventDefault(),e.type==="textarea"?(J=s.value)===null||J===void 0||J.focus():(ye=d.value)===null||ye===void 0||ye.focus()}}function te(){e.passivelyActivated&&(R.value=!1,jt(()=>{var L;(L=a.value)===null||L===void 0||L.focus()}))}function me(){var L,J,ye;w.value||(e.passivelyActivated?(L=a.value)===null||L===void 0||L.focus():((J=s.value)===null||J===void 0||J.focus(),(ye=d.value)===null||ye===void 0||ye.focus()))}function Se(){var L;!((L=a.value)===null||L===void 0)&&L.contains(document.activeElement)&&document.activeElement.blur()}function qe(){var L,J;(L=s.value)===null||L===void 0||L.select(),(J=d.value)===null||J===void 0||J.select()}function ut(){w.value||(s.value?s.value.focus():d.value&&d.value.focus())}function Ot(){const{value:L}=a;L!=null&&L.contains(document.activeElement)&&L!==document.activeElement&&te()}function bn(L){if(e.type==="textarea"){const{value:J}=s;J==null||J.scrollTo(L)}else{const{value:J}=d;J==null||J.scrollTo(L)}}function Qe(L){const{type:J,pair:ye,autosize:rt}=e;if(!ye&&rt)if(J==="textarea"){const{value:ht}=l;ht&&(ht.textContent=(L??"")+`\r -`)}else{const{value:ht}=c;ht&&(L?ht.textContent=L:ht.innerHTML=" ")}}function vn(){De()}const Zn=j({top:"0"});function N0(L){var J;const{scrollTop:ye}=L.target;Zn.value.top=`${-ye}px`,(J=g.value)===null||J===void 0||J.syncUnifiedContainer()}let Kr=null;ho(()=>{const{autosize:L,type:J}=e;L&&J==="textarea"?Kr=Ze(x,ye=>{!Array.isArray(ye)&&ye!==G&&Qe(ye)}):Kr==null||Kr()});let Ur=null;ho(()=>{e.type==="textarea"?Ur=Ze(x,L=>{var J;!Array.isArray(L)&&L!==G&&((J=g.value)===null||J===void 0||J.syncUnifiedContainer())}):Ur==null||Ur()}),We(up,{mergedValueRef:x,maxlengthRef:Le,mergedClsPrefixRef:t,countGraphemesRef:Ke(e,"countGraphemes")});const z0={wrapperElRef:a,inputElRef:d,textareaElRef:s,isCompositing:E,focus:me,blur:Se,select:qe,deactivate:Ot,activate:ut,scrollTo:bn},F0=ti("Input",i,t),md=z(()=>{const{value:L}=k,{common:{cubicBezierEaseInOut:J},self:{color:ye,borderRadius:rt,textColor:ht,caretColor:et,caretColorError:wo,caretColorWarning:So,textDecorationColor:_o,border:Gi,borderDisabled:Vi,borderHover:Ds,borderFocus:W0,placeholderColor:j0,placeholderColorDisabled:G0,lineHeightTextarea:V0,colorDisabled:K0,colorFocus:U0,textColorDisabled:q0,boxShadowFocus:X0,iconSize:Z0,colorFocusWarning:Y0,boxShadowFocusWarning:J0,borderWarning:Q0,borderFocusWarning:e1,borderHoverWarning:t1,colorFocusError:n1,boxShadowFocusError:o1,borderError:i1,borderFocusError:r1,borderHoverError:a1,clearSize:s1,clearColor:l1,clearColorHover:c1,clearColorPressed:d1,iconColor:u1,iconColorDisabled:h1,suffixTextColor:f1,countTextColor:g1,countTextColorDisabled:m1,iconColorHover:p1,iconColorPressed:b1,loadingColor:v1,loadingColorError:y1,loadingColorWarning:x1,[ue("padding",L)]:k1,[ue("fontSize",L)]:C1,[ue("height",L)]:T1}}=r.value,{left:w1,right:S1}=Pc(k1);return{"--n-bezier":J,"--n-count-text-color":g1,"--n-count-text-color-disabled":m1,"--n-color":ye,"--n-font-size":C1,"--n-border-radius":rt,"--n-height":T1,"--n-padding-left":w1,"--n-padding-right":S1,"--n-text-color":ht,"--n-caret-color":et,"--n-text-decoration-color":_o,"--n-border":Gi,"--n-border-disabled":Vi,"--n-border-hover":Ds,"--n-border-focus":W0,"--n-placeholder-color":j0,"--n-placeholder-color-disabled":G0,"--n-icon-size":Z0,"--n-line-height-textarea":V0,"--n-color-disabled":K0,"--n-color-focus":U0,"--n-text-color-disabled":q0,"--n-box-shadow-focus":X0,"--n-loading-color":v1,"--n-caret-color-warning":So,"--n-color-focus-warning":Y0,"--n-box-shadow-focus-warning":J0,"--n-border-warning":Q0,"--n-border-focus-warning":e1,"--n-border-hover-warning":t1,"--n-loading-color-warning":x1,"--n-caret-color-error":wo,"--n-color-focus-error":n1,"--n-box-shadow-focus-error":o1,"--n-border-error":i1,"--n-border-focus-error":r1,"--n-border-hover-error":a1,"--n-loading-color-error":y1,"--n-clear-color":l1,"--n-clear-size":s1,"--n-clear-color-hover":c1,"--n-clear-color-pressed":d1,"--n-icon-color":u1,"--n-icon-color-hover":p1,"--n-icon-color-pressed":b1,"--n-icon-color-disabled":h1,"--n-suffix-text-color":f1}}),ii=o?_t("input",z(()=>{const{value:L}=k;return L[0]}),md,e):void 0;return Object.assign(Object.assign({},z0),{wrapperElRef:a,inputElRef:d,inputMirrorElRef:c,inputEl2Ref:u,textareaElRef:s,textareaMirrorElRef:l,textareaScrollbarInstRef:g,rtlEnabled:F0,uncontrolledValue:p,mergedValue:x,passwordVisible:oe,mergedPlaceholder:M,showPlaceholder1:q,showPlaceholder2:ee,mergedFocus:O,isComposing:E,activated:R,showClearButton:V,mergedSize:k,mergedDisabled:w,textDecorationStyle:fe,mergedClsPrefix:t,mergedBordered:n,mergedShowPasswordOn:W,placeholderStyle:Zn,mergedStatus:I,textAreaScrollContainerWidth:we,handleTextAreaScroll:N0,handleCompositionStart:$,handleCompositionEnd:B,handleInput:Z,handleInputBlur:X,handleInputFocus:K,handleWrapperBlur:ge,handleWrapperFocus:ie,handleMouseEnter:Ge,handleMouseLeave:it,handleMouseDown:Me,handleChange:H,handleClick:de,handleClear:be,handlePasswordToggleClick:Ut,handlePasswordToggleMousedown:To,handleWrapperKeydown:pn,handleWrapperKeyup:wn,handleTextAreaMirrorResize:vn,getTextareaScrollContainer:()=>s.value,mergedTheme:r,cssVars:o?void 0:md,themeClass:ii==null?void 0:ii.themeClass,onRender:ii==null?void 0:ii.onRender})},render(){var e,t;const{mergedClsPrefix:n,mergedStatus:o,themeClass:i,type:r,countGraphemes:a,onRender:s}=this,l=this.$slots;return s==null||s(),T("div",{ref:"wrapperElRef",class:[`${n}-input`,i,o&&`${n}-input--${o}-status`,{[`${n}-input--rtl`]:this.rtlEnabled,[`${n}-input--disabled`]:this.mergedDisabled,[`${n}-input--textarea`]:r==="textarea",[`${n}-input--resizable`]:this.resizable&&!this.autosize,[`${n}-input--autosize`]:this.autosize,[`${n}-input--round`]:this.round&&r!=="textarea",[`${n}-input--pair`]:this.pair,[`${n}-input--focus`]:this.mergedFocus,[`${n}-input--stateful`]:this.stateful}],style:this.cssVars,tabindex:!this.mergedDisabled&&this.passivelyActivated&&!this.activated?0:void 0,onFocus:this.handleWrapperFocus,onBlur:this.handleWrapperBlur,onClick:this.handleClick,onMousedown:this.handleMouseDown,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd,onKeyup:this.handleWrapperKeyup,onKeydown:this.handleWrapperKeydown},T("div",{class:`${n}-input-wrapper`},Et(l.prefix,c=>c&&T("div",{class:`${n}-input__prefix`},c)),r==="textarea"?T(xs,{ref:"textareaScrollbarInstRef",class:`${n}-input__textarea`,container:this.getTextareaScrollContainer,triggerDisplayManually:!0,useUnifiedContainer:!0,internalHoistYRail:!0},{default:()=>{var c,d;const{textAreaScrollContainerWidth:u}=this,h={width:this.autosize&&u&&`${u}px`};return T(He,null,T("textarea",Object.assign({},this.inputProps,{ref:"textareaElRef",class:[`${n}-input__textarea-el`,(c=this.inputProps)===null||c===void 0?void 0:c.class],autofocus:this.autofocus,rows:Number(this.rows),placeholder:this.placeholder,value:this.mergedValue,disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,readonly:this.readonly,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,style:[this.textDecorationStyle[0],(d=this.inputProps)===null||d===void 0?void 0:d.style,h],onBlur:this.handleInputBlur,onFocus:m=>{this.handleInputFocus(m,2)},onInput:this.handleInput,onChange:this.handleChange,onScroll:this.handleTextAreaScroll})),this.showPlaceholder1?T("div",{class:`${n}-input__placeholder`,style:[this.placeholderStyle,h],key:"placeholder"},this.mergedPlaceholder[0]):null,this.autosize?T($a,{onResize:this.handleTextAreaMirrorResize},{default:()=>T("div",{ref:"textareaMirrorElRef",class:`${n}-input__textarea-mirror`,key:"mirror"})}):null)}}):T("div",{class:`${n}-input__input`},T("input",Object.assign({type:r==="password"&&this.mergedShowPasswordOn&&this.passwordVisible?"text":r},this.inputProps,{ref:"inputElRef",class:[`${n}-input__input-el`,(e=this.inputProps)===null||e===void 0?void 0:e.class],style:[this.textDecorationStyle[0],(t=this.inputProps)===null||t===void 0?void 0:t.style],tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[0],disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[0]:this.mergedValue,readonly:this.readonly,autofocus:this.autofocus,size:this.attrSize,onBlur:this.handleInputBlur,onFocus:c=>{this.handleInputFocus(c,0)},onInput:c=>{this.handleInput(c,0)},onChange:c=>{this.handleChange(c,0)}})),this.showPlaceholder1?T("div",{class:`${n}-input__placeholder`},T("span",null,this.mergedPlaceholder[0])):null,this.autosize?T("div",{class:`${n}-input__input-mirror`,key:"mirror",ref:"inputMirrorElRef"}," "):null),!this.pair&&Et(l.suffix,c=>c||this.clearable||this.showCount||this.mergedShowPasswordOn||this.loading!==void 0?T("div",{class:`${n}-input__suffix`},[Et(l["clear-icon-placeholder"],d=>(this.clearable||d)&&T(Bl,{clsPrefix:n,show:this.showClearButton,onClear:this.handleClear},{placeholder:()=>d,icon:()=>{var u,h;return(h=(u=this.$slots)["clear-icon"])===null||h===void 0?void 0:h.call(u)}})),this.internalLoadingBeforeSuffix?null:c,this.loading!==void 0?T(f8,{clsPrefix:n,loading:this.loading,showArrow:!1,showClear:!1,style:this.cssVars}):null,this.internalLoadingBeforeSuffix?c:null,this.showCount&&this.type!=="textarea"?T(Ch,null,{default:d=>{var u;return(u=l.count)===null||u===void 0?void 0:u.call(l,d)}}):null,this.mergedShowPasswordOn&&this.type==="password"?T("div",{class:`${n}-input__eye`,onMousedown:this.handlePasswordToggleMousedown,onClick:this.handlePasswordToggleClick},this.passwordVisible?jo(l["password-visible-icon"],()=>[T(po,{clsPrefix:n},{default:()=>T(nw,null)})]):jo(l["password-invisible-icon"],()=>[T(po,{clsPrefix:n},{default:()=>T(ow,null)})])):null]):null)),this.pair?T("span",{class:`${n}-input__separator`},jo(l.separator,()=>[this.separator])):null,this.pair?T("div",{class:`${n}-input-wrapper`},T("div",{class:`${n}-input__input`},T("input",{ref:"inputEl2Ref",type:this.type,class:`${n}-input__input-el`,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[1],disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[1]:void 0,readonly:this.readonly,style:this.textDecorationStyle[1],onBlur:this.handleInputBlur,onFocus:c=>{this.handleInputFocus(c,1)},onInput:c=>{this.handleInput(c,1)},onChange:c=>{this.handleChange(c,1)}}),this.showPlaceholder2?T("div",{class:`${n}-input__placeholder`},T("span",null,this.mergedPlaceholder[1])):null),Et(l.suffix,c=>(this.clearable||c)&&T("div",{class:`${n}-input__suffix`},[this.clearable&&T(Bl,{clsPrefix:n,show:this.showClearButton,onClear:this.handleClear},{icon:()=>{var d;return(d=l["clear-icon"])===null||d===void 0?void 0:d.call(l)},placeholder:()=>{var d;return(d=l["clear-icon-placeholder"])===null||d===void 0?void 0:d.call(l)}}),c]))):null,this.mergedBordered?T("div",{class:`${n}-input__border`}):null,this.mergedBordered?T("div",{class:`${n}-input__state-border`}):null,this.showCount&&r==="textarea"?T(Ch,null,{default:c=>{var d;const{renderCount:u}=this;return u?u(c):(d=l.count)===null||d===void 0?void 0:d.call(l,c)}}):null)}});function hp(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const F8={name:"AutoComplete",common:ae,peers:{InternalSelectMenu:Wr,Input:sn},self:hp},W8=F8,j8={name:"AutoComplete",common:re,peers:{InternalSelectMenu:jr,Input:mn},self:hp},G8=j8,fp=e=>{const{borderRadius:t,avatarColor:n,cardColor:o,fontSize:i,heightTiny:r,heightSmall:a,heightMedium:s,heightLarge:l,heightHuge:c,modalColor:d,popoverColor:u}=e;return{borderRadius:t,fontSize:i,border:`2px solid ${o}`,heightTiny:r,heightSmall:a,heightMedium:s,heightLarge:l,heightHuge:c,color:he(o,n),colorModal:he(d,n),colorPopover:he(u,n)}},V8={name:"Avatar",common:ae,self:fp},gp=V8,K8={name:"Avatar",common:re,self:fp},mp=K8,pp=()=>({gap:"-12px"}),U8={name:"AvatarGroup",common:ae,peers:{Avatar:gp},self:pp},q8=U8,X8={name:"AvatarGroup",common:re,peers:{Avatar:mp},self:pp},Z8=X8,bp={width:"44px",height:"44px",borderRadius:"22px",iconSize:"26px"},Y8={name:"BackTop",common:re,self(e){const{popoverColor:t,textColor2:n,primaryColorHover:o,primaryColorPressed:i}=e;return Object.assign(Object.assign({},bp),{color:t,textColor:n,iconColor:n,iconColorHover:o,iconColorPressed:i,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)"})}},J8=Y8,Q8=e=>{const{popoverColor:t,textColor2:n,primaryColorHover:o,primaryColorPressed:i}=e;return Object.assign(Object.assign({},bp),{color:t,textColor:n,iconColor:n,iconColorHover:o,iconColorPressed:i,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)"})},eS={name:"BackTop",common:ae,self:Q8},tS=eS,nS={name:"Badge",common:re,self(e){const{errorColorSuppl:t,infoColorSuppl:n,successColorSuppl:o,warningColorSuppl:i,fontFamily:r}=e;return{color:t,colorInfo:n,colorSuccess:o,colorError:t,colorWarning:i,fontSize:"12px",fontFamily:r}}},oS=nS,iS=e=>{const{errorColor:t,infoColor:n,successColor:o,warningColor:i,fontFamily:r}=e;return{color:t,colorInfo:n,colorSuccess:o,colorError:t,colorWarning:i,fontSize:"12px",fontFamily:r}},rS={name:"Badge",common:ae,self:iS},aS=rS,sS={fontWeightActive:"400"},vp=e=>{const{fontSize:t,textColor3:n,textColor2:o,borderRadius:i,buttonColor2Hover:r,buttonColor2Pressed:a}=e;return Object.assign(Object.assign({},sS),{fontSize:t,itemLineHeight:"1.25",itemTextColor:n,itemTextColorHover:o,itemTextColorPressed:o,itemTextColorActive:o,itemBorderRadius:i,itemColorHover:r,itemColorPressed:a,separatorColor:n})},lS={name:"Breadcrumb",common:ae,self:vp},cS=lS,dS={name:"Breadcrumb",common:re,self:vp},uS=dS;function Eo(e){return he(e,[255,255,255,.16])}function ga(e){return he(e,[0,0,0,.12])}const hS="n-button-group",fS={paddingTiny:"0 6px",paddingSmall:"0 10px",paddingMedium:"0 14px",paddingLarge:"0 18px",paddingRoundTiny:"0 10px",paddingRoundSmall:"0 14px",paddingRoundMedium:"0 18px",paddingRoundLarge:"0 22px",iconMarginTiny:"6px",iconMarginSmall:"6px",iconMarginMedium:"6px",iconMarginLarge:"6px",iconSizeTiny:"14px",iconSizeSmall:"18px",iconSizeMedium:"18px",iconSizeLarge:"20px",rippleDuration:".6s"},yp=e=>{const{heightTiny:t,heightSmall:n,heightMedium:o,heightLarge:i,borderRadius:r,fontSizeTiny:a,fontSizeSmall:s,fontSizeMedium:l,fontSizeLarge:c,opacityDisabled:d,textColor2:u,textColor3:h,primaryColorHover:m,primaryColorPressed:g,borderColor:v,primaryColor:p,baseColor:f,infoColor:x,infoColorHover:A,infoColorPressed:k,successColor:w,successColorHover:I,successColorPressed:C,warningColor:S,warningColorHover:E,warningColorPressed:R,errorColor:G,errorColorHover:M,errorColorPressed:q,fontWeight:ee,buttonColor2:O,buttonColor2Hover:V,buttonColor2Pressed:W,fontWeightStrong:oe}=e;return Object.assign(Object.assign({},fS),{heightTiny:t,heightSmall:n,heightMedium:o,heightLarge:i,borderRadiusTiny:r,borderRadiusSmall:r,borderRadiusMedium:r,borderRadiusLarge:r,fontSizeTiny:a,fontSizeSmall:s,fontSizeMedium:l,fontSizeLarge:c,opacityDisabled:d,colorOpacitySecondary:"0.16",colorOpacitySecondaryHover:"0.22",colorOpacitySecondaryPressed:"0.28",colorSecondary:O,colorSecondaryHover:V,colorSecondaryPressed:W,colorTertiary:O,colorTertiaryHover:V,colorTertiaryPressed:W,colorQuaternary:"#0000",colorQuaternaryHover:V,colorQuaternaryPressed:W,color:"#0000",colorHover:"#0000",colorPressed:"#0000",colorFocus:"#0000",colorDisabled:"#0000",textColor:u,textColorTertiary:h,textColorHover:m,textColorPressed:g,textColorFocus:m,textColorDisabled:u,textColorText:u,textColorTextHover:m,textColorTextPressed:g,textColorTextFocus:m,textColorTextDisabled:u,textColorGhost:u,textColorGhostHover:m,textColorGhostPressed:g,textColorGhostFocus:m,textColorGhostDisabled:u,border:`1px solid ${v}`,borderHover:`1px solid ${m}`,borderPressed:`1px solid ${g}`,borderFocus:`1px solid ${m}`,borderDisabled:`1px solid ${v}`,rippleColor:p,colorPrimary:p,colorHoverPrimary:m,colorPressedPrimary:g,colorFocusPrimary:m,colorDisabledPrimary:p,textColorPrimary:f,textColorHoverPrimary:f,textColorPressedPrimary:f,textColorFocusPrimary:f,textColorDisabledPrimary:f,textColorTextPrimary:p,textColorTextHoverPrimary:m,textColorTextPressedPrimary:g,textColorTextFocusPrimary:m,textColorTextDisabledPrimary:u,textColorGhostPrimary:p,textColorGhostHoverPrimary:m,textColorGhostPressedPrimary:g,textColorGhostFocusPrimary:m,textColorGhostDisabledPrimary:p,borderPrimary:`1px solid ${p}`,borderHoverPrimary:`1px solid ${m}`,borderPressedPrimary:`1px solid ${g}`,borderFocusPrimary:`1px solid ${m}`,borderDisabledPrimary:`1px solid ${p}`,rippleColorPrimary:p,colorInfo:x,colorHoverInfo:A,colorPressedInfo:k,colorFocusInfo:A,colorDisabledInfo:x,textColorInfo:f,textColorHoverInfo:f,textColorPressedInfo:f,textColorFocusInfo:f,textColorDisabledInfo:f,textColorTextInfo:x,textColorTextHoverInfo:A,textColorTextPressedInfo:k,textColorTextFocusInfo:A,textColorTextDisabledInfo:u,textColorGhostInfo:x,textColorGhostHoverInfo:A,textColorGhostPressedInfo:k,textColorGhostFocusInfo:A,textColorGhostDisabledInfo:x,borderInfo:`1px solid ${x}`,borderHoverInfo:`1px solid ${A}`,borderPressedInfo:`1px solid ${k}`,borderFocusInfo:`1px solid ${A}`,borderDisabledInfo:`1px solid ${x}`,rippleColorInfo:x,colorSuccess:w,colorHoverSuccess:I,colorPressedSuccess:C,colorFocusSuccess:I,colorDisabledSuccess:w,textColorSuccess:f,textColorHoverSuccess:f,textColorPressedSuccess:f,textColorFocusSuccess:f,textColorDisabledSuccess:f,textColorTextSuccess:w,textColorTextHoverSuccess:I,textColorTextPressedSuccess:C,textColorTextFocusSuccess:I,textColorTextDisabledSuccess:u,textColorGhostSuccess:w,textColorGhostHoverSuccess:I,textColorGhostPressedSuccess:C,textColorGhostFocusSuccess:I,textColorGhostDisabledSuccess:w,borderSuccess:`1px solid ${w}`,borderHoverSuccess:`1px solid ${I}`,borderPressedSuccess:`1px solid ${C}`,borderFocusSuccess:`1px solid ${I}`,borderDisabledSuccess:`1px solid ${w}`,rippleColorSuccess:w,colorWarning:S,colorHoverWarning:E,colorPressedWarning:R,colorFocusWarning:E,colorDisabledWarning:S,textColorWarning:f,textColorHoverWarning:f,textColorPressedWarning:f,textColorFocusWarning:f,textColorDisabledWarning:f,textColorTextWarning:S,textColorTextHoverWarning:E,textColorTextPressedWarning:R,textColorTextFocusWarning:E,textColorTextDisabledWarning:u,textColorGhostWarning:S,textColorGhostHoverWarning:E,textColorGhostPressedWarning:R,textColorGhostFocusWarning:E,textColorGhostDisabledWarning:S,borderWarning:`1px solid ${S}`,borderHoverWarning:`1px solid ${E}`,borderPressedWarning:`1px solid ${R}`,borderFocusWarning:`1px solid ${E}`,borderDisabledWarning:`1px solid ${S}`,rippleColorWarning:S,colorError:G,colorHoverError:M,colorPressedError:q,colorFocusError:M,colorDisabledError:G,textColorError:f,textColorHoverError:f,textColorPressedError:f,textColorFocusError:f,textColorDisabledError:f,textColorTextError:G,textColorTextHoverError:M,textColorTextPressedError:q,textColorTextFocusError:M,textColorTextDisabledError:u,textColorGhostError:G,textColorGhostHoverError:M,textColorGhostPressedError:q,textColorGhostFocusError:M,textColorGhostDisabledError:G,borderError:`1px solid ${G}`,borderHoverError:`1px solid ${M}`,borderPressedError:`1px solid ${q}`,borderFocusError:`1px solid ${M}`,borderDisabledError:`1px solid ${G}`,rippleColorError:G,waveOpacity:"0.6",fontWeight:ee,fontWeightStrong:oe})},gS={name:"Button",common:ae,self:yp},Kt=gS,mS={name:"Button",common:re,self(e){const t=yp(e);return t.waveOpacity="0.8",t.colorOpacitySecondary="0.16",t.colorOpacitySecondaryHover="0.2",t.colorOpacitySecondaryPressed="0.12",t}},Qt=mS,pS=N([Q("button",` + `)])]),BS=Object.assign(Object.assign({},Pe.props),{bordered:{type:Boolean,default:void 0},type:{type:String,default:"text"},placeholder:[Array,String],defaultValue:{type:[String,Array],default:null},value:[String,Array],disabled:{type:Boolean,default:void 0},size:String,rows:{type:[Number,String],default:3},round:Boolean,minlength:[String,Number],maxlength:[String,Number],clearable:Boolean,autosize:{type:[Boolean,Object],default:!1},pair:Boolean,separator:String,readonly:{type:[String,Boolean],default:!1},passivelyActivated:Boolean,showPasswordOn:String,stateful:{type:Boolean,default:!0},autofocus:Boolean,inputProps:Object,resizable:{type:Boolean,default:!0},showCount:Boolean,loading:{type:Boolean,default:void 0},allowInput:Function,renderCount:Function,onMousedown:Function,onKeydown:Function,onKeyup:[Function,Array],onInput:[Function,Array],onFocus:[Function,Array],onBlur:[Function,Array],onClick:[Function,Array],onChange:[Function,Array],onClear:[Function,Array],countGraphemes:Function,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],textDecoration:[String,Array],attrSize:{type:Number,default:20},onInputBlur:[Function,Array],onInputFocus:[Function,Array],onDeactivate:[Function,Array],onActivate:[Function,Array],onWrapperFocus:[Function,Array],onWrapperBlur:[Function,Array],internalDeactivateOnEnter:Boolean,internalForceFocus:Boolean,internalLoadingBeforeSuffix:{type:Boolean,default:!0},showPasswordToggle:Boolean}),NS=se({name:"Input",props:BS,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:n,inlineThemeDisabled:o,mergedRtlRef:i}=lt(e),r=Pe("Input","-input",OS,sn,e,t);cp&&Bi("-input-safari",HS,t);const a=j(null),s=j(null),l=j(null),c=j(null),d=j(null),u=j(null),h=j(null),m=$S(h),g=j(null),{localeRef:v}=JT("Input"),p=j(e.defaultValue),f=Ke(e,"value"),x=Ic(f,p),A=em(e),{mergedSizeRef:k,mergedDisabledRef:w,mergedStatusRef:I}=A,C=j(!1),S=j(!1),E=j(!1),R=j(!1);let G=null;const M=z(()=>{const{placeholder:L,pair:J}=e;return J?Array.isArray(L)?L:L===void 0?["",""]:[L,L]:L===void 0?[v.value.placeholder]:[L]}),q=z(()=>{const{value:L}=E,{value:J}=x,{value:ye}=M;return!L&&(fa(J)||Array.isArray(J)&&fa(J[0]))&&ye[0]}),ee=z(()=>{const{value:L}=E,{value:J}=x,{value:ye}=M;return!L&&ye[1]&&(fa(J)||Array.isArray(J)&&fa(J[1]))}),O=wt(()=>e.internalForceFocus||C.value),V=wt(()=>{if(w.value||e.readonly||!e.clearable||!O.value&&!S.value)return!1;const{value:L}=x,{value:J}=O;return e.pair?!!(Array.isArray(L)&&(L[0]||L[1]))&&(S.value||J):!!L&&(S.value||J)}),W=z(()=>{const{showPasswordOn:L}=e;if(L)return L;if(e.showPasswordToggle)return"click"}),oe=j(!1),fe=z(()=>{const{textDecoration:L}=e;return L?Array.isArray(L)?L.map(J=>({textDecoration:J})):[{textDecoration:L}]:["",""]}),we=j(void 0),De=()=>{var L,J;if(e.type==="textarea"){const{autosize:ye}=e;if(ye&&(we.value=(J=(L=g.value)===null||L===void 0?void 0:L.$el)===null||J===void 0?void 0:J.offsetWidth),!s.value||typeof ye=="boolean")return;const{paddingTop:rt,paddingBottom:ht,lineHeight:et}=window.getComputedStyle(s.value),wo=Number(rt.slice(0,-2)),So=Number(ht.slice(0,-2)),_o=Number(et.slice(0,-2)),{value:Gi}=l;if(!Gi)return;if(ye.minRows){const Vi=Math.max(ye.minRows,1),Ds=`${wo+So+_o*Vi}px`;Gi.style.minHeight=Ds}if(ye.maxRows){const Vi=`${wo+So+_o*ye.maxRows}px`;Gi.style.maxHeight=Vi}}},Le=z(()=>{const{maxlength:L}=e;return L===void 0?void 0:Number(L)});Lt(()=>{const{value:L}=x;Array.isArray(L)||Qe(L)});const mt=rn().proxy;function ct(L){const{onUpdateValue:J,"onUpdate:value":ye,onInput:rt}=e,{nTriggerFormInput:ht}=A;J&&Fe(J,L),ye&&Fe(ye,L),rt&&Fe(rt,L),p.value=L,ht()}function Je(L){const{onChange:J}=e,{nTriggerFormChange:ye}=A;J&&Fe(J,L),p.value=L,ye()}function Ae(L){const{onBlur:J}=e,{nTriggerFormBlur:ye}=A;J&&Fe(J,L),ye()}function Ee(L){const{onFocus:J}=e,{nTriggerFormFocus:ye}=A;J&&Fe(J,L),ye()}function Pt(L){const{onClear:J}=e;J&&Fe(J,L)}function Te(L){const{onInputBlur:J}=e;J&&Fe(J,L)}function dt(L){const{onInputFocus:J}=e;J&&Fe(J,L)}function bt(){const{onDeactivate:L}=e;L&&Fe(L)}function P(){const{onActivate:L}=e;L&&Fe(L)}function b(L){const{onClick:J}=e;J&&Fe(J,L)}function y(L){const{onWrapperFocus:J}=e;J&&Fe(J,L)}function _(L){const{onWrapperBlur:J}=e;J&&Fe(J,L)}function $(){E.value=!0}function B(L){E.value=!1,L.target===u.value?Z(L,1):Z(L,0)}function Z(L,J=0,ye="input"){const rt=L.target.value;if(Qe(rt),L instanceof InputEvent&&!L.isComposing&&(E.value=!1),e.type==="textarea"){const{value:et}=g;et&&et.syncUnifiedContainer()}if(G=rt,E.value)return;m.recordCursor();const ht=ne(rt);if(ht)if(!e.pair)ye==="input"?ct(rt):Je(rt);else{let{value:et}=x;Array.isArray(et)?et=[et[0],et[1]]:et=["",""],et[J]=rt,ye==="input"?ct(et):Je(et)}mt.$forceUpdate(),ht||jt(m.restoreCursor)}function ne(L){const{countGraphemes:J,maxlength:ye,minlength:rt}=e;if(J){let et;if(ye!==void 0&&(et===void 0&&(et=J(L)),et>Number(ye))||rt!==void 0&&(et===void 0&&(et=J(L)),et{rt.preventDefault(),Ue("mouseup",document,J)};if(st("mouseup",document,J),W.value!=="mousedown")return;oe.value=!0;const ye=()=>{oe.value=!1,Ue("mouseup",document,ye)};st("mouseup",document,ye)}function wn(L){e.onKeyup&&Fe(e.onKeyup,L)}function pn(L){switch(e.onKeydown&&Fe(e.onKeydown,L),L.key){case"Escape":te();break;case"Enter":$t(L);break}}function $t(L){var J,ye;if(e.passivelyActivated){const{value:rt}=R;if(rt){e.internalDeactivateOnEnter&&te();return}L.preventDefault(),e.type==="textarea"?(J=s.value)===null||J===void 0||J.focus():(ye=d.value)===null||ye===void 0||ye.focus()}}function te(){e.passivelyActivated&&(R.value=!1,jt(()=>{var L;(L=a.value)===null||L===void 0||L.focus()}))}function me(){var L,J,ye;w.value||(e.passivelyActivated?(L=a.value)===null||L===void 0||L.focus():((J=s.value)===null||J===void 0||J.focus(),(ye=d.value)===null||ye===void 0||ye.focus()))}function Se(){var L;!((L=a.value)===null||L===void 0)&&L.contains(document.activeElement)&&document.activeElement.blur()}function qe(){var L,J;(L=s.value)===null||L===void 0||L.select(),(J=d.value)===null||J===void 0||J.select()}function ut(){w.value||(s.value?s.value.focus():d.value&&d.value.focus())}function Ot(){const{value:L}=a;L!=null&&L.contains(document.activeElement)&&L!==document.activeElement&&te()}function bn(L){if(e.type==="textarea"){const{value:J}=s;J==null||J.scrollTo(L)}else{const{value:J}=d;J==null||J.scrollTo(L)}}function Qe(L){const{type:J,pair:ye,autosize:rt}=e;if(!ye&&rt)if(J==="textarea"){const{value:ht}=l;ht&&(ht.textContent=(L??"")+`\r +`)}else{const{value:ht}=c;ht&&(L?ht.textContent=L:ht.innerHTML=" ")}}function vn(){De()}const Zn=j({top:"0"});function N0(L){var J;const{scrollTop:ye}=L.target;Zn.value.top=`${-ye}px`,(J=g.value)===null||J===void 0||J.syncUnifiedContainer()}let Kr=null;ho(()=>{const{autosize:L,type:J}=e;L&&J==="textarea"?Kr=Ze(x,ye=>{!Array.isArray(ye)&&ye!==G&&Qe(ye)}):Kr==null||Kr()});let Ur=null;ho(()=>{e.type==="textarea"?Ur=Ze(x,L=>{var J;!Array.isArray(L)&&L!==G&&((J=g.value)===null||J===void 0||J.syncUnifiedContainer())}):Ur==null||Ur()}),We(up,{mergedValueRef:x,maxlengthRef:Le,mergedClsPrefixRef:t,countGraphemesRef:Ke(e,"countGraphemes")});const z0={wrapperElRef:a,inputElRef:d,textareaElRef:s,isCompositing:E,focus:me,blur:Se,select:qe,deactivate:Ot,activate:ut,scrollTo:bn},F0=ti("Input",i,t),md=z(()=>{const{value:L}=k,{common:{cubicBezierEaseInOut:J},self:{color:ye,borderRadius:rt,textColor:ht,caretColor:et,caretColorError:wo,caretColorWarning:So,textDecorationColor:_o,border:Gi,borderDisabled:Vi,borderHover:Ds,borderFocus:W0,placeholderColor:j0,placeholderColorDisabled:G0,lineHeightTextarea:V0,colorDisabled:K0,colorFocus:U0,textColorDisabled:q0,boxShadowFocus:X0,iconSize:Z0,colorFocusWarning:Y0,boxShadowFocusWarning:J0,borderWarning:Q0,borderFocusWarning:e1,borderHoverWarning:t1,colorFocusError:n1,boxShadowFocusError:o1,borderError:i1,borderFocusError:r1,borderHoverError:a1,clearSize:s1,clearColor:l1,clearColorHover:c1,clearColorPressed:d1,iconColor:u1,iconColorDisabled:h1,suffixTextColor:f1,countTextColor:g1,countTextColorDisabled:m1,iconColorHover:p1,iconColorPressed:b1,loadingColor:v1,loadingColorError:y1,loadingColorWarning:x1,[ue("padding",L)]:k1,[ue("fontSize",L)]:C1,[ue("height",L)]:T1}}=r.value,{left:w1,right:S1}=Pc(k1);return{"--n-bezier":J,"--n-count-text-color":g1,"--n-count-text-color-disabled":m1,"--n-color":ye,"--n-font-size":C1,"--n-border-radius":rt,"--n-height":T1,"--n-padding-left":w1,"--n-padding-right":S1,"--n-text-color":ht,"--n-caret-color":et,"--n-text-decoration-color":_o,"--n-border":Gi,"--n-border-disabled":Vi,"--n-border-hover":Ds,"--n-border-focus":W0,"--n-placeholder-color":j0,"--n-placeholder-color-disabled":G0,"--n-icon-size":Z0,"--n-line-height-textarea":V0,"--n-color-disabled":K0,"--n-color-focus":U0,"--n-text-color-disabled":q0,"--n-box-shadow-focus":X0,"--n-loading-color":v1,"--n-caret-color-warning":So,"--n-color-focus-warning":Y0,"--n-box-shadow-focus-warning":J0,"--n-border-warning":Q0,"--n-border-focus-warning":e1,"--n-border-hover-warning":t1,"--n-loading-color-warning":x1,"--n-caret-color-error":wo,"--n-color-focus-error":n1,"--n-box-shadow-focus-error":o1,"--n-border-error":i1,"--n-border-focus-error":r1,"--n-border-hover-error":a1,"--n-loading-color-error":y1,"--n-clear-color":l1,"--n-clear-size":s1,"--n-clear-color-hover":c1,"--n-clear-color-pressed":d1,"--n-icon-color":u1,"--n-icon-color-hover":p1,"--n-icon-color-pressed":b1,"--n-icon-color-disabled":h1,"--n-suffix-text-color":f1}}),ii=o?_t("input",z(()=>{const{value:L}=k;return L[0]}),md,e):void 0;return Object.assign(Object.assign({},z0),{wrapperElRef:a,inputElRef:d,inputMirrorElRef:c,inputEl2Ref:u,textareaElRef:s,textareaMirrorElRef:l,textareaScrollbarInstRef:g,rtlEnabled:F0,uncontrolledValue:p,mergedValue:x,passwordVisible:oe,mergedPlaceholder:M,showPlaceholder1:q,showPlaceholder2:ee,mergedFocus:O,isComposing:E,activated:R,showClearButton:V,mergedSize:k,mergedDisabled:w,textDecorationStyle:fe,mergedClsPrefix:t,mergedBordered:n,mergedShowPasswordOn:W,placeholderStyle:Zn,mergedStatus:I,textAreaScrollContainerWidth:we,handleTextAreaScroll:N0,handleCompositionStart:$,handleCompositionEnd:B,handleInput:Z,handleInputBlur:X,handleInputFocus:K,handleWrapperBlur:ge,handleWrapperFocus:ie,handleMouseEnter:Ge,handleMouseLeave:it,handleMouseDown:Me,handleChange:H,handleClick:de,handleClear:be,handlePasswordToggleClick:Ut,handlePasswordToggleMousedown:To,handleWrapperKeydown:pn,handleWrapperKeyup:wn,handleTextAreaMirrorResize:vn,getTextareaScrollContainer:()=>s.value,mergedTheme:r,cssVars:o?void 0:md,themeClass:ii==null?void 0:ii.themeClass,onRender:ii==null?void 0:ii.onRender})},render(){var e,t;const{mergedClsPrefix:n,mergedStatus:o,themeClass:i,type:r,countGraphemes:a,onRender:s}=this,l=this.$slots;return s==null||s(),T("div",{ref:"wrapperElRef",class:[`${n}-input`,i,o&&`${n}-input--${o}-status`,{[`${n}-input--rtl`]:this.rtlEnabled,[`${n}-input--disabled`]:this.mergedDisabled,[`${n}-input--textarea`]:r==="textarea",[`${n}-input--resizable`]:this.resizable&&!this.autosize,[`${n}-input--autosize`]:this.autosize,[`${n}-input--round`]:this.round&&r!=="textarea",[`${n}-input--pair`]:this.pair,[`${n}-input--focus`]:this.mergedFocus,[`${n}-input--stateful`]:this.stateful}],style:this.cssVars,tabindex:!this.mergedDisabled&&this.passivelyActivated&&!this.activated?0:void 0,onFocus:this.handleWrapperFocus,onBlur:this.handleWrapperBlur,onClick:this.handleClick,onMousedown:this.handleMouseDown,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd,onKeyup:this.handleWrapperKeyup,onKeydown:this.handleWrapperKeydown},T("div",{class:`${n}-input-wrapper`},Et(l.prefix,c=>c&&T("div",{class:`${n}-input__prefix`},c)),r==="textarea"?T(xs,{ref:"textareaScrollbarInstRef",class:`${n}-input__textarea`,container:this.getTextareaScrollContainer,triggerDisplayManually:!0,useUnifiedContainer:!0,internalHoistYRail:!0},{default:()=>{var c,d;const{textAreaScrollContainerWidth:u}=this,h={width:this.autosize&&u&&`${u}px`};return T(He,null,T("textarea",Object.assign({},this.inputProps,{ref:"textareaElRef",class:[`${n}-input__textarea-el`,(c=this.inputProps)===null||c===void 0?void 0:c.class],autofocus:this.autofocus,rows:Number(this.rows),placeholder:this.placeholder,value:this.mergedValue,disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,readonly:this.readonly,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,style:[this.textDecorationStyle[0],(d=this.inputProps)===null||d===void 0?void 0:d.style,h],onBlur:this.handleInputBlur,onFocus:m=>{this.handleInputFocus(m,2)},onInput:this.handleInput,onChange:this.handleChange,onScroll:this.handleTextAreaScroll})),this.showPlaceholder1?T("div",{class:`${n}-input__placeholder`,style:[this.placeholderStyle,h],key:"placeholder"},this.mergedPlaceholder[0]):null,this.autosize?T($a,{onResize:this.handleTextAreaMirrorResize},{default:()=>T("div",{ref:"textareaMirrorElRef",class:`${n}-input__textarea-mirror`,key:"mirror"})}):null)}}):T("div",{class:`${n}-input__input`},T("input",Object.assign({type:r==="password"&&this.mergedShowPasswordOn&&this.passwordVisible?"text":r},this.inputProps,{ref:"inputElRef",class:[`${n}-input__input-el`,(e=this.inputProps)===null||e===void 0?void 0:e.class],style:[this.textDecorationStyle[0],(t=this.inputProps)===null||t===void 0?void 0:t.style],tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[0],disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[0]:this.mergedValue,readonly:this.readonly,autofocus:this.autofocus,size:this.attrSize,onBlur:this.handleInputBlur,onFocus:c=>{this.handleInputFocus(c,0)},onInput:c=>{this.handleInput(c,0)},onChange:c=>{this.handleChange(c,0)}})),this.showPlaceholder1?T("div",{class:`${n}-input__placeholder`},T("span",null,this.mergedPlaceholder[0])):null,this.autosize?T("div",{class:`${n}-input__input-mirror`,key:"mirror",ref:"inputMirrorElRef"}," "):null),!this.pair&&Et(l.suffix,c=>c||this.clearable||this.showCount||this.mergedShowPasswordOn||this.loading!==void 0?T("div",{class:`${n}-input__suffix`},[Et(l["clear-icon-placeholder"],d=>(this.clearable||d)&&T(Bl,{clsPrefix:n,show:this.showClearButton,onClear:this.handleClear},{placeholder:()=>d,icon:()=>{var u,h;return(h=(u=this.$slots)["clear-icon"])===null||h===void 0?void 0:h.call(u)}})),this.internalLoadingBeforeSuffix?null:c,this.loading!==void 0?T(hS,{clsPrefix:n,loading:this.loading,showArrow:!1,showClear:!1,style:this.cssVars}):null,this.internalLoadingBeforeSuffix?c:null,this.showCount&&this.type!=="textarea"?T(Ch,null,{default:d=>{var u;return(u=l.count)===null||u===void 0?void 0:u.call(l,d)}}):null,this.mergedShowPasswordOn&&this.type==="password"?T("div",{class:`${n}-input__eye`,onMousedown:this.handlePasswordToggleMousedown,onClick:this.handlePasswordToggleClick},this.passwordVisible?jo(l["password-visible-icon"],()=>[T(po,{clsPrefix:n},{default:()=>T(tw,null)})]):jo(l["password-invisible-icon"],()=>[T(po,{clsPrefix:n},{default:()=>T(nw,null)})])):null]):null)),this.pair?T("span",{class:`${n}-input__separator`},jo(l.separator,()=>[this.separator])):null,this.pair?T("div",{class:`${n}-input-wrapper`},T("div",{class:`${n}-input__input`},T("input",{ref:"inputEl2Ref",type:this.type,class:`${n}-input__input-el`,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[1],disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[1]:void 0,readonly:this.readonly,style:this.textDecorationStyle[1],onBlur:this.handleInputBlur,onFocus:c=>{this.handleInputFocus(c,1)},onInput:c=>{this.handleInput(c,1)},onChange:c=>{this.handleChange(c,1)}}),this.showPlaceholder2?T("div",{class:`${n}-input__placeholder`},T("span",null,this.mergedPlaceholder[1])):null),Et(l.suffix,c=>(this.clearable||c)&&T("div",{class:`${n}-input__suffix`},[this.clearable&&T(Bl,{clsPrefix:n,show:this.showClearButton,onClear:this.handleClear},{icon:()=>{var d;return(d=l["clear-icon"])===null||d===void 0?void 0:d.call(l)},placeholder:()=>{var d;return(d=l["clear-icon-placeholder"])===null||d===void 0?void 0:d.call(l)}}),c]))):null,this.mergedBordered?T("div",{class:`${n}-input__border`}):null,this.mergedBordered?T("div",{class:`${n}-input__state-border`}):null,this.showCount&&r==="textarea"?T(Ch,null,{default:c=>{var d;const{renderCount:u}=this;return u?u(c):(d=l.count)===null||d===void 0?void 0:d.call(l,c)}}):null)}});function hp(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const zS={name:"AutoComplete",common:ae,peers:{InternalSelectMenu:Wr,Input:sn},self:hp},FS=zS,WS={name:"AutoComplete",common:re,peers:{InternalSelectMenu:jr,Input:mn},self:hp},jS=WS,fp=e=>{const{borderRadius:t,avatarColor:n,cardColor:o,fontSize:i,heightTiny:r,heightSmall:a,heightMedium:s,heightLarge:l,heightHuge:c,modalColor:d,popoverColor:u}=e;return{borderRadius:t,fontSize:i,border:`2px solid ${o}`,heightTiny:r,heightSmall:a,heightMedium:s,heightLarge:l,heightHuge:c,color:he(o,n),colorModal:he(d,n),colorPopover:he(u,n)}},GS={name:"Avatar",common:ae,self:fp},gp=GS,VS={name:"Avatar",common:re,self:fp},mp=VS,pp=()=>({gap:"-12px"}),KS={name:"AvatarGroup",common:ae,peers:{Avatar:gp},self:pp},US=KS,qS={name:"AvatarGroup",common:re,peers:{Avatar:mp},self:pp},XS=qS,bp={width:"44px",height:"44px",borderRadius:"22px",iconSize:"26px"},ZS={name:"BackTop",common:re,self(e){const{popoverColor:t,textColor2:n,primaryColorHover:o,primaryColorPressed:i}=e;return Object.assign(Object.assign({},bp),{color:t,textColor:n,iconColor:n,iconColorHover:o,iconColorPressed:i,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)"})}},YS=ZS,JS=e=>{const{popoverColor:t,textColor2:n,primaryColorHover:o,primaryColorPressed:i}=e;return Object.assign(Object.assign({},bp),{color:t,textColor:n,iconColor:n,iconColorHover:o,iconColorPressed:i,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)"})},QS={name:"BackTop",common:ae,self:JS},e8=QS,t8={name:"Badge",common:re,self(e){const{errorColorSuppl:t,infoColorSuppl:n,successColorSuppl:o,warningColorSuppl:i,fontFamily:r}=e;return{color:t,colorInfo:n,colorSuccess:o,colorError:t,colorWarning:i,fontSize:"12px",fontFamily:r}}},n8=t8,o8=e=>{const{errorColor:t,infoColor:n,successColor:o,warningColor:i,fontFamily:r}=e;return{color:t,colorInfo:n,colorSuccess:o,colorError:t,colorWarning:i,fontSize:"12px",fontFamily:r}},i8={name:"Badge",common:ae,self:o8},r8=i8,a8={fontWeightActive:"400"},vp=e=>{const{fontSize:t,textColor3:n,textColor2:o,borderRadius:i,buttonColor2Hover:r,buttonColor2Pressed:a}=e;return Object.assign(Object.assign({},a8),{fontSize:t,itemLineHeight:"1.25",itemTextColor:n,itemTextColorHover:o,itemTextColorPressed:o,itemTextColorActive:o,itemBorderRadius:i,itemColorHover:r,itemColorPressed:a,separatorColor:n})},s8={name:"Breadcrumb",common:ae,self:vp},l8=s8,c8={name:"Breadcrumb",common:re,self:vp},d8=c8;function Eo(e){return he(e,[255,255,255,.16])}function ga(e){return he(e,[0,0,0,.12])}const u8="n-button-group",h8={paddingTiny:"0 6px",paddingSmall:"0 10px",paddingMedium:"0 14px",paddingLarge:"0 18px",paddingRoundTiny:"0 10px",paddingRoundSmall:"0 14px",paddingRoundMedium:"0 18px",paddingRoundLarge:"0 22px",iconMarginTiny:"6px",iconMarginSmall:"6px",iconMarginMedium:"6px",iconMarginLarge:"6px",iconSizeTiny:"14px",iconSizeSmall:"18px",iconSizeMedium:"18px",iconSizeLarge:"20px",rippleDuration:".6s"},yp=e=>{const{heightTiny:t,heightSmall:n,heightMedium:o,heightLarge:i,borderRadius:r,fontSizeTiny:a,fontSizeSmall:s,fontSizeMedium:l,fontSizeLarge:c,opacityDisabled:d,textColor2:u,textColor3:h,primaryColorHover:m,primaryColorPressed:g,borderColor:v,primaryColor:p,baseColor:f,infoColor:x,infoColorHover:A,infoColorPressed:k,successColor:w,successColorHover:I,successColorPressed:C,warningColor:S,warningColorHover:E,warningColorPressed:R,errorColor:G,errorColorHover:M,errorColorPressed:q,fontWeight:ee,buttonColor2:O,buttonColor2Hover:V,buttonColor2Pressed:W,fontWeightStrong:oe}=e;return Object.assign(Object.assign({},h8),{heightTiny:t,heightSmall:n,heightMedium:o,heightLarge:i,borderRadiusTiny:r,borderRadiusSmall:r,borderRadiusMedium:r,borderRadiusLarge:r,fontSizeTiny:a,fontSizeSmall:s,fontSizeMedium:l,fontSizeLarge:c,opacityDisabled:d,colorOpacitySecondary:"0.16",colorOpacitySecondaryHover:"0.22",colorOpacitySecondaryPressed:"0.28",colorSecondary:O,colorSecondaryHover:V,colorSecondaryPressed:W,colorTertiary:O,colorTertiaryHover:V,colorTertiaryPressed:W,colorQuaternary:"#0000",colorQuaternaryHover:V,colorQuaternaryPressed:W,color:"#0000",colorHover:"#0000",colorPressed:"#0000",colorFocus:"#0000",colorDisabled:"#0000",textColor:u,textColorTertiary:h,textColorHover:m,textColorPressed:g,textColorFocus:m,textColorDisabled:u,textColorText:u,textColorTextHover:m,textColorTextPressed:g,textColorTextFocus:m,textColorTextDisabled:u,textColorGhost:u,textColorGhostHover:m,textColorGhostPressed:g,textColorGhostFocus:m,textColorGhostDisabled:u,border:`1px solid ${v}`,borderHover:`1px solid ${m}`,borderPressed:`1px solid ${g}`,borderFocus:`1px solid ${m}`,borderDisabled:`1px solid ${v}`,rippleColor:p,colorPrimary:p,colorHoverPrimary:m,colorPressedPrimary:g,colorFocusPrimary:m,colorDisabledPrimary:p,textColorPrimary:f,textColorHoverPrimary:f,textColorPressedPrimary:f,textColorFocusPrimary:f,textColorDisabledPrimary:f,textColorTextPrimary:p,textColorTextHoverPrimary:m,textColorTextPressedPrimary:g,textColorTextFocusPrimary:m,textColorTextDisabledPrimary:u,textColorGhostPrimary:p,textColorGhostHoverPrimary:m,textColorGhostPressedPrimary:g,textColorGhostFocusPrimary:m,textColorGhostDisabledPrimary:p,borderPrimary:`1px solid ${p}`,borderHoverPrimary:`1px solid ${m}`,borderPressedPrimary:`1px solid ${g}`,borderFocusPrimary:`1px solid ${m}`,borderDisabledPrimary:`1px solid ${p}`,rippleColorPrimary:p,colorInfo:x,colorHoverInfo:A,colorPressedInfo:k,colorFocusInfo:A,colorDisabledInfo:x,textColorInfo:f,textColorHoverInfo:f,textColorPressedInfo:f,textColorFocusInfo:f,textColorDisabledInfo:f,textColorTextInfo:x,textColorTextHoverInfo:A,textColorTextPressedInfo:k,textColorTextFocusInfo:A,textColorTextDisabledInfo:u,textColorGhostInfo:x,textColorGhostHoverInfo:A,textColorGhostPressedInfo:k,textColorGhostFocusInfo:A,textColorGhostDisabledInfo:x,borderInfo:`1px solid ${x}`,borderHoverInfo:`1px solid ${A}`,borderPressedInfo:`1px solid ${k}`,borderFocusInfo:`1px solid ${A}`,borderDisabledInfo:`1px solid ${x}`,rippleColorInfo:x,colorSuccess:w,colorHoverSuccess:I,colorPressedSuccess:C,colorFocusSuccess:I,colorDisabledSuccess:w,textColorSuccess:f,textColorHoverSuccess:f,textColorPressedSuccess:f,textColorFocusSuccess:f,textColorDisabledSuccess:f,textColorTextSuccess:w,textColorTextHoverSuccess:I,textColorTextPressedSuccess:C,textColorTextFocusSuccess:I,textColorTextDisabledSuccess:u,textColorGhostSuccess:w,textColorGhostHoverSuccess:I,textColorGhostPressedSuccess:C,textColorGhostFocusSuccess:I,textColorGhostDisabledSuccess:w,borderSuccess:`1px solid ${w}`,borderHoverSuccess:`1px solid ${I}`,borderPressedSuccess:`1px solid ${C}`,borderFocusSuccess:`1px solid ${I}`,borderDisabledSuccess:`1px solid ${w}`,rippleColorSuccess:w,colorWarning:S,colorHoverWarning:E,colorPressedWarning:R,colorFocusWarning:E,colorDisabledWarning:S,textColorWarning:f,textColorHoverWarning:f,textColorPressedWarning:f,textColorFocusWarning:f,textColorDisabledWarning:f,textColorTextWarning:S,textColorTextHoverWarning:E,textColorTextPressedWarning:R,textColorTextFocusWarning:E,textColorTextDisabledWarning:u,textColorGhostWarning:S,textColorGhostHoverWarning:E,textColorGhostPressedWarning:R,textColorGhostFocusWarning:E,textColorGhostDisabledWarning:S,borderWarning:`1px solid ${S}`,borderHoverWarning:`1px solid ${E}`,borderPressedWarning:`1px solid ${R}`,borderFocusWarning:`1px solid ${E}`,borderDisabledWarning:`1px solid ${S}`,rippleColorWarning:S,colorError:G,colorHoverError:M,colorPressedError:q,colorFocusError:M,colorDisabledError:G,textColorError:f,textColorHoverError:f,textColorPressedError:f,textColorFocusError:f,textColorDisabledError:f,textColorTextError:G,textColorTextHoverError:M,textColorTextPressedError:q,textColorTextFocusError:M,textColorTextDisabledError:u,textColorGhostError:G,textColorGhostHoverError:M,textColorGhostPressedError:q,textColorGhostFocusError:M,textColorGhostDisabledError:G,borderError:`1px solid ${G}`,borderHoverError:`1px solid ${M}`,borderPressedError:`1px solid ${q}`,borderFocusError:`1px solid ${M}`,borderDisabledError:`1px solid ${G}`,rippleColorError:G,waveOpacity:"0.6",fontWeight:ee,fontWeightStrong:oe})},f8={name:"Button",common:ae,self:yp},Kt=f8,g8={name:"Button",common:re,self(e){const t=yp(e);return t.waveOpacity="0.8",t.colorOpacitySecondary="0.16",t.colorOpacitySecondaryHover="0.2",t.colorOpacitySecondaryPressed="0.12",t}},Qt=g8,m8=N([Q("button",` margin: 0; font-weight: var(--n-font-weight); line-height: 1; @@ -750,7 +750,7 @@ ${t} display: flex; align-items: center; justify-content: center; - `,[Dr({top:"50%",originalTransform:"translateY(-50%)"})]),b8()]),F("content",` + `,[Dr({top:"50%",originalTransform:"translateY(-50%)"})]),pS()]),F("content",` display: flex; align-items: center; flex-wrap: nowrap; @@ -758,7 +758,7 @@ ${t} `,[N("~",[F("icon",{margin:"var(--n-icon-margin)",marginRight:0})])]),Y("block",` display: flex; width: 100%; - `),Y("dashed",[F("border, state-border",{borderStyle:"dashed !important"})]),Y("disabled",{cursor:"not-allowed",opacity:"var(--n-opacity-disabled)"})]),N("@keyframes button-wave-spread",{from:{boxShadow:"0 0 0.5px 0 var(--n-ripple-color)"},to:{boxShadow:"0 0 0.5px 4.5px var(--n-ripple-color)"}}),N("@keyframes button-wave-opacity",{from:{opacity:"var(--n-wave-opacity)"},to:{opacity:0}})]),bS=Object.assign(Object.assign({},Pe.props),{color:String,textColor:String,text:Boolean,block:Boolean,loading:Boolean,disabled:Boolean,circle:Boolean,size:String,ghost:Boolean,round:Boolean,secondary:Boolean,tertiary:Boolean,quaternary:Boolean,strong:Boolean,focusable:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},tag:{type:String,default:"button"},type:{type:String,default:"default"},dashed:Boolean,renderIcon:Function,iconPlacement:{type:String,default:"left"},attrType:{type:String,default:"button"},bordered:{type:Boolean,default:!0},onClick:[Function,Array],nativeFocusBehavior:{type:Boolean,default:!cp}}),vS=se({name:"Button",props:bS,setup(e){const t=j(null),n=j(null),o=j(!1),i=wt(()=>!e.quaternary&&!e.tertiary&&!e.secondary&&!e.text&&(!e.color||e.ghost||e.dashed)&&e.bordered),r=Ie(hS,{}),{mergedSizeRef:a}=em({},{defaultSize:"medium",mergedSize:k=>{const{size:w}=e;if(w)return w;const{size:I}=r;if(I)return I;const{mergedSize:C}=k||{};return C?C.value:"medium"}}),s=z(()=>e.focusable&&!e.disabled),l=k=>{var w;s.value||k.preventDefault(),!e.nativeFocusBehavior&&(k.preventDefault(),!e.disabled&&s.value&&((w=t.value)===null||w===void 0||w.focus({preventScroll:!0})))},c=k=>{var w;if(!e.disabled&&!e.loading){const{onClick:I}=e;I&&Fe(I,k),e.text||(w=n.value)===null||w===void 0||w.play()}},d=k=>{switch(k.key){case"Enter":if(!e.keyboard)return;o.value=!1}},u=k=>{switch(k.key){case"Enter":if(!e.keyboard||e.loading){k.preventDefault();return}o.value=!0}},h=()=>{o.value=!1},{inlineThemeDisabled:m,mergedClsPrefixRef:g,mergedRtlRef:v}=lt(e),p=Pe("Button","-button",pS,Kt,e,g),f=ti("Button",v,g),x=z(()=>{const k=p.value,{common:{cubicBezierEaseInOut:w,cubicBezierEaseOut:I},self:C}=k,{rippleDuration:S,opacityDisabled:E,fontWeight:R,fontWeightStrong:G}=C,M=a.value,{dashed:q,type:ee,ghost:O,text:V,color:W,round:oe,circle:fe,textColor:we,secondary:De,tertiary:Le,quaternary:mt,strong:ct}=e,Je={"font-weight":ct?G:R};let Ae={"--n-color":"initial","--n-color-hover":"initial","--n-color-pressed":"initial","--n-color-focus":"initial","--n-color-disabled":"initial","--n-ripple-color":"initial","--n-text-color":"initial","--n-text-color-hover":"initial","--n-text-color-pressed":"initial","--n-text-color-focus":"initial","--n-text-color-disabled":"initial"};const Ee=ee==="tertiary",Pt=ee==="default",Te=Ee?"default":ee;if(V){const X=we||W;Ae={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":"#0000","--n-text-color":X||C[ue("textColorText",Te)],"--n-text-color-hover":X?Eo(X):C[ue("textColorTextHover",Te)],"--n-text-color-pressed":X?ga(X):C[ue("textColorTextPressed",Te)],"--n-text-color-focus":X?Eo(X):C[ue("textColorTextHover",Te)],"--n-text-color-disabled":X||C[ue("textColorTextDisabled",Te)]}}else if(O||q){const X=we||W;Ae={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":W||C[ue("rippleColor",Te)],"--n-text-color":X||C[ue("textColorGhost",Te)],"--n-text-color-hover":X?Eo(X):C[ue("textColorGhostHover",Te)],"--n-text-color-pressed":X?ga(X):C[ue("textColorGhostPressed",Te)],"--n-text-color-focus":X?Eo(X):C[ue("textColorGhostHover",Te)],"--n-text-color-disabled":X||C[ue("textColorGhostDisabled",Te)]}}else if(De){const X=Pt?C.textColor:Ee?C.textColorTertiary:C[ue("color",Te)],K=W||X,ge=ee!=="default"&&ee!=="tertiary";Ae={"--n-color":ge?U(K,{alpha:Number(C.colorOpacitySecondary)}):C.colorSecondary,"--n-color-hover":ge?U(K,{alpha:Number(C.colorOpacitySecondaryHover)}):C.colorSecondaryHover,"--n-color-pressed":ge?U(K,{alpha:Number(C.colorOpacitySecondaryPressed)}):C.colorSecondaryPressed,"--n-color-focus":ge?U(K,{alpha:Number(C.colorOpacitySecondaryHover)}):C.colorSecondaryHover,"--n-color-disabled":C.colorSecondary,"--n-ripple-color":"#0000","--n-text-color":K,"--n-text-color-hover":K,"--n-text-color-pressed":K,"--n-text-color-focus":K,"--n-text-color-disabled":K}}else if(Le||mt){const X=Pt?C.textColor:Ee?C.textColorTertiary:C[ue("color",Te)],K=W||X;Le?(Ae["--n-color"]=C.colorTertiary,Ae["--n-color-hover"]=C.colorTertiaryHover,Ae["--n-color-pressed"]=C.colorTertiaryPressed,Ae["--n-color-focus"]=C.colorSecondaryHover,Ae["--n-color-disabled"]=C.colorTertiary):(Ae["--n-color"]=C.colorQuaternary,Ae["--n-color-hover"]=C.colorQuaternaryHover,Ae["--n-color-pressed"]=C.colorQuaternaryPressed,Ae["--n-color-focus"]=C.colorQuaternaryHover,Ae["--n-color-disabled"]=C.colorQuaternary),Ae["--n-ripple-color"]="#0000",Ae["--n-text-color"]=K,Ae["--n-text-color-hover"]=K,Ae["--n-text-color-pressed"]=K,Ae["--n-text-color-focus"]=K,Ae["--n-text-color-disabled"]=K}else Ae={"--n-color":W||C[ue("color",Te)],"--n-color-hover":W?Eo(W):C[ue("colorHover",Te)],"--n-color-pressed":W?ga(W):C[ue("colorPressed",Te)],"--n-color-focus":W?Eo(W):C[ue("colorFocus",Te)],"--n-color-disabled":W||C[ue("colorDisabled",Te)],"--n-ripple-color":W||C[ue("rippleColor",Te)],"--n-text-color":we||(W?C.textColorPrimary:Ee?C.textColorTertiary:C[ue("textColor",Te)]),"--n-text-color-hover":we||(W?C.textColorHoverPrimary:C[ue("textColorHover",Te)]),"--n-text-color-pressed":we||(W?C.textColorPressedPrimary:C[ue("textColorPressed",Te)]),"--n-text-color-focus":we||(W?C.textColorFocusPrimary:C[ue("textColorFocus",Te)]),"--n-text-color-disabled":we||(W?C.textColorDisabledPrimary:C[ue("textColorDisabled",Te)])};let dt={"--n-border":"initial","--n-border-hover":"initial","--n-border-pressed":"initial","--n-border-focus":"initial","--n-border-disabled":"initial"};V?dt={"--n-border":"none","--n-border-hover":"none","--n-border-pressed":"none","--n-border-focus":"none","--n-border-disabled":"none"}:dt={"--n-border":C[ue("border",Te)],"--n-border-hover":C[ue("borderHover",Te)],"--n-border-pressed":C[ue("borderPressed",Te)],"--n-border-focus":C[ue("borderFocus",Te)],"--n-border-disabled":C[ue("borderDisabled",Te)]};const{[ue("height",M)]:bt,[ue("fontSize",M)]:P,[ue("padding",M)]:b,[ue("paddingRound",M)]:y,[ue("iconSize",M)]:_,[ue("borderRadius",M)]:$,[ue("iconMargin",M)]:B,waveOpacity:Z}=C,ne={"--n-width":fe&&!V?bt:"initial","--n-height":V?"initial":bt,"--n-font-size":P,"--n-padding":fe||V?"initial":oe?y:b,"--n-icon-size":_,"--n-icon-margin":B,"--n-border-radius":V?"initial":fe||oe?bt:$};return Object.assign(Object.assign(Object.assign(Object.assign({"--n-bezier":w,"--n-bezier-ease-out":I,"--n-ripple-duration":S,"--n-opacity-disabled":E,"--n-wave-opacity":Z},Je),Ae),dt),ne)}),A=m?_t("button",z(()=>{let k="";const{dashed:w,type:I,ghost:C,text:S,color:E,round:R,circle:G,textColor:M,secondary:q,tertiary:ee,quaternary:O,strong:V}=e;w&&(k+="a"),C&&(k+="b"),S&&(k+="c"),R&&(k+="d"),G&&(k+="e"),q&&(k+="f"),ee&&(k+="g"),O&&(k+="h"),V&&(k+="i"),E&&(k+="j"+ru(E)),M&&(k+="k"+ru(M));const{value:W}=a;return k+="l"+W[0],k+="m"+I[0],k}),x,e):void 0;return{selfElRef:t,waveElRef:n,mergedClsPrefix:g,mergedFocusable:s,mergedSize:a,showBorder:i,enterPressed:o,rtlEnabled:f,handleMousedown:l,handleKeydown:u,handleBlur:h,handleKeyup:d,handleClick:c,customColorCssVars:z(()=>{const{color:k}=e;if(!k)return null;const w=Eo(k);return{"--n-border-color":k,"--n-border-color-hover":w,"--n-border-color-pressed":ga(k),"--n-border-color-focus":w,"--n-border-color-disabled":k}}),cssVars:m?void 0:x,themeClass:A==null?void 0:A.themeClass,onRender:A==null?void 0:A.onRender}},render(){const{mergedClsPrefix:e,tag:t,onRender:n}=this;n==null||n();const o=Et(this.$slots.default,i=>i&&T("span",{class:`${e}-button__content`},i));return T(t,{ref:"selfElRef",class:[this.themeClass,`${e}-button`,`${e}-button--${this.type}-type`,`${e}-button--${this.mergedSize}-type`,this.rtlEnabled&&`${e}-button--rtl`,this.disabled&&`${e}-button--disabled`,this.block&&`${e}-button--block`,this.enterPressed&&`${e}-button--pressed`,!this.text&&this.dashed&&`${e}-button--dashed`,this.color&&`${e}-button--color`,this.secondary&&`${e}-button--secondary`,this.loading&&`${e}-button--loading`,this.ghost&&`${e}-button--ghost`],tabindex:this.mergedFocusable?0:-1,type:this.attrType,style:this.cssVars,disabled:this.disabled,onClick:this.handleClick,onBlur:this.handleBlur,onMousedown:this.handleMousedown,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},this.iconPlacement==="right"&&o,T(jm,{width:!0},{default:()=>Et(this.$slots.icon,i=>(this.loading||this.renderIcon||i)&&T("span",{class:`${e}-button__icon`,style:{margin:Tl(this.$slots.default)?"0":""}},T(vs,null,{default:()=>this.loading?T(Vc,{clsPrefix:e,key:"loading",class:`${e}-icon-slot`,strokeWidth:20}):T("div",{key:"icon",class:`${e}-icon-slot`,role:"none"},this.renderIcon?this.renderIcon():i)})))}),this.iconPlacement==="left"&&o,this.text?null:T(Qw,{ref:"waveElRef",clsPrefix:e}),this.showBorder?T("div",{"aria-hidden":!0,class:`${e}-button__border`,style:this.customColorCssVars}):null,this.showBorder?T("div",{"aria-hidden":!0,class:`${e}-button__state-border`,style:this.customColorCssVars}):null)}}),ja=vS,yS={titleFontSize:"22px"},xp=e=>{const{borderRadius:t,fontSize:n,lineHeight:o,textColor2:i,textColor1:r,textColorDisabled:a,dividerColor:s,fontWeightStrong:l,primaryColor:c,baseColor:d,hoverColor:u,cardColor:h,modalColor:m,popoverColor:g}=e;return Object.assign(Object.assign({},yS),{borderRadius:t,borderColor:he(h,s),borderColorModal:he(m,s),borderColorPopover:he(g,s),textColor:i,titleFontWeight:l,titleTextColor:r,dayTextColor:a,fontSize:n,lineHeight:o,dateColorCurrent:c,dateTextColorCurrent:d,cellColorHover:he(h,u),cellColorHoverModal:he(m,u),cellColorHoverPopover:he(g,u),cellColor:h,cellColorModal:m,cellColorPopover:g,barColor:c})},xS={name:"Calendar",common:ae,peers:{Button:Kt},self:xp},kS=xS,CS={name:"Calendar",common:re,peers:{Button:Qt},self:xp},TS=CS,kp=e=>{const{fontSize:t,boxShadow2:n,popoverColor:o,textColor2:i,borderRadius:r,borderColor:a,heightSmall:s,heightMedium:l,heightLarge:c,fontSizeSmall:d,fontSizeMedium:u,fontSizeLarge:h,dividerColor:m}=e;return{panelFontSize:t,boxShadow:n,color:o,textColor:i,borderRadius:r,border:`1px solid ${a}`,heightSmall:s,heightMedium:l,heightLarge:c,fontSizeSmall:d,fontSizeMedium:u,fontSizeLarge:h,dividerColor:m}},wS={name:"ColorPicker",common:ae,peers:{Input:sn,Button:Kt},self:kp},SS=wS,_S={name:"ColorPicker",common:re,peers:{Input:mn,Button:Qt},self:kp},PS=_S,AS={paddingSmall:"12px 16px 12px",paddingMedium:"19px 24px 20px",paddingLarge:"23px 32px 24px",paddingHuge:"27px 40px 28px",titleFontSizeSmall:"16px",titleFontSizeMedium:"18px",titleFontSizeLarge:"18px",titleFontSizeHuge:"18px",closeIconSize:"18px",closeSize:"22px"},Cp=e=>{const{primaryColor:t,borderRadius:n,lineHeight:o,fontSize:i,cardColor:r,textColor2:a,textColor1:s,dividerColor:l,fontWeightStrong:c,closeIconColor:d,closeIconColorHover:u,closeIconColorPressed:h,closeColorHover:m,closeColorPressed:g,modalColor:v,boxShadow1:p,popoverColor:f,actionColor:x}=e;return Object.assign(Object.assign({},AS),{lineHeight:o,color:r,colorModal:v,colorPopover:f,colorTarget:t,colorEmbedded:x,colorEmbeddedModal:x,colorEmbeddedPopover:x,textColor:a,titleTextColor:s,borderColor:l,actionColor:x,titleFontWeight:c,closeColorHover:m,closeColorPressed:g,closeBorderRadius:n,closeIconColor:d,closeIconColorHover:u,closeIconColorPressed:h,fontSizeSmall:i,fontSizeMedium:i,fontSizeLarge:i,fontSizeHuge:i,boxShadow:p,borderRadius:n})},IS={name:"Card",common:ae,self:Cp},Zc=IS,ES={name:"Card",common:re,self(e){const t=Cp(e),{cardColor:n,modalColor:o,popoverColor:i}=e;return t.colorEmbedded=n,t.colorEmbeddedModal=o,t.colorEmbeddedPopover=i,t}},Tp=ES,RS=N([Q("card",` + `),Y("dashed",[F("border, state-border",{borderStyle:"dashed !important"})]),Y("disabled",{cursor:"not-allowed",opacity:"var(--n-opacity-disabled)"})]),N("@keyframes button-wave-spread",{from:{boxShadow:"0 0 0.5px 0 var(--n-ripple-color)"},to:{boxShadow:"0 0 0.5px 4.5px var(--n-ripple-color)"}}),N("@keyframes button-wave-opacity",{from:{opacity:"var(--n-wave-opacity)"},to:{opacity:0}})]),p8=Object.assign(Object.assign({},Pe.props),{color:String,textColor:String,text:Boolean,block:Boolean,loading:Boolean,disabled:Boolean,circle:Boolean,size:String,ghost:Boolean,round:Boolean,secondary:Boolean,tertiary:Boolean,quaternary:Boolean,strong:Boolean,focusable:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},tag:{type:String,default:"button"},type:{type:String,default:"default"},dashed:Boolean,renderIcon:Function,iconPlacement:{type:String,default:"left"},attrType:{type:String,default:"button"},bordered:{type:Boolean,default:!0},onClick:[Function,Array],nativeFocusBehavior:{type:Boolean,default:!cp}}),b8=se({name:"Button",props:p8,setup(e){const t=j(null),n=j(null),o=j(!1),i=wt(()=>!e.quaternary&&!e.tertiary&&!e.secondary&&!e.text&&(!e.color||e.ghost||e.dashed)&&e.bordered),r=Ie(u8,{}),{mergedSizeRef:a}=em({},{defaultSize:"medium",mergedSize:k=>{const{size:w}=e;if(w)return w;const{size:I}=r;if(I)return I;const{mergedSize:C}=k||{};return C?C.value:"medium"}}),s=z(()=>e.focusable&&!e.disabled),l=k=>{var w;s.value||k.preventDefault(),!e.nativeFocusBehavior&&(k.preventDefault(),!e.disabled&&s.value&&((w=t.value)===null||w===void 0||w.focus({preventScroll:!0})))},c=k=>{var w;if(!e.disabled&&!e.loading){const{onClick:I}=e;I&&Fe(I,k),e.text||(w=n.value)===null||w===void 0||w.play()}},d=k=>{switch(k.key){case"Enter":if(!e.keyboard)return;o.value=!1}},u=k=>{switch(k.key){case"Enter":if(!e.keyboard||e.loading){k.preventDefault();return}o.value=!0}},h=()=>{o.value=!1},{inlineThemeDisabled:m,mergedClsPrefixRef:g,mergedRtlRef:v}=lt(e),p=Pe("Button","-button",m8,Kt,e,g),f=ti("Button",v,g),x=z(()=>{const k=p.value,{common:{cubicBezierEaseInOut:w,cubicBezierEaseOut:I},self:C}=k,{rippleDuration:S,opacityDisabled:E,fontWeight:R,fontWeightStrong:G}=C,M=a.value,{dashed:q,type:ee,ghost:O,text:V,color:W,round:oe,circle:fe,textColor:we,secondary:De,tertiary:Le,quaternary:mt,strong:ct}=e,Je={"font-weight":ct?G:R};let Ae={"--n-color":"initial","--n-color-hover":"initial","--n-color-pressed":"initial","--n-color-focus":"initial","--n-color-disabled":"initial","--n-ripple-color":"initial","--n-text-color":"initial","--n-text-color-hover":"initial","--n-text-color-pressed":"initial","--n-text-color-focus":"initial","--n-text-color-disabled":"initial"};const Ee=ee==="tertiary",Pt=ee==="default",Te=Ee?"default":ee;if(V){const X=we||W;Ae={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":"#0000","--n-text-color":X||C[ue("textColorText",Te)],"--n-text-color-hover":X?Eo(X):C[ue("textColorTextHover",Te)],"--n-text-color-pressed":X?ga(X):C[ue("textColorTextPressed",Te)],"--n-text-color-focus":X?Eo(X):C[ue("textColorTextHover",Te)],"--n-text-color-disabled":X||C[ue("textColorTextDisabled",Te)]}}else if(O||q){const X=we||W;Ae={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":W||C[ue("rippleColor",Te)],"--n-text-color":X||C[ue("textColorGhost",Te)],"--n-text-color-hover":X?Eo(X):C[ue("textColorGhostHover",Te)],"--n-text-color-pressed":X?ga(X):C[ue("textColorGhostPressed",Te)],"--n-text-color-focus":X?Eo(X):C[ue("textColorGhostHover",Te)],"--n-text-color-disabled":X||C[ue("textColorGhostDisabled",Te)]}}else if(De){const X=Pt?C.textColor:Ee?C.textColorTertiary:C[ue("color",Te)],K=W||X,ge=ee!=="default"&&ee!=="tertiary";Ae={"--n-color":ge?U(K,{alpha:Number(C.colorOpacitySecondary)}):C.colorSecondary,"--n-color-hover":ge?U(K,{alpha:Number(C.colorOpacitySecondaryHover)}):C.colorSecondaryHover,"--n-color-pressed":ge?U(K,{alpha:Number(C.colorOpacitySecondaryPressed)}):C.colorSecondaryPressed,"--n-color-focus":ge?U(K,{alpha:Number(C.colorOpacitySecondaryHover)}):C.colorSecondaryHover,"--n-color-disabled":C.colorSecondary,"--n-ripple-color":"#0000","--n-text-color":K,"--n-text-color-hover":K,"--n-text-color-pressed":K,"--n-text-color-focus":K,"--n-text-color-disabled":K}}else if(Le||mt){const X=Pt?C.textColor:Ee?C.textColorTertiary:C[ue("color",Te)],K=W||X;Le?(Ae["--n-color"]=C.colorTertiary,Ae["--n-color-hover"]=C.colorTertiaryHover,Ae["--n-color-pressed"]=C.colorTertiaryPressed,Ae["--n-color-focus"]=C.colorSecondaryHover,Ae["--n-color-disabled"]=C.colorTertiary):(Ae["--n-color"]=C.colorQuaternary,Ae["--n-color-hover"]=C.colorQuaternaryHover,Ae["--n-color-pressed"]=C.colorQuaternaryPressed,Ae["--n-color-focus"]=C.colorQuaternaryHover,Ae["--n-color-disabled"]=C.colorQuaternary),Ae["--n-ripple-color"]="#0000",Ae["--n-text-color"]=K,Ae["--n-text-color-hover"]=K,Ae["--n-text-color-pressed"]=K,Ae["--n-text-color-focus"]=K,Ae["--n-text-color-disabled"]=K}else Ae={"--n-color":W||C[ue("color",Te)],"--n-color-hover":W?Eo(W):C[ue("colorHover",Te)],"--n-color-pressed":W?ga(W):C[ue("colorPressed",Te)],"--n-color-focus":W?Eo(W):C[ue("colorFocus",Te)],"--n-color-disabled":W||C[ue("colorDisabled",Te)],"--n-ripple-color":W||C[ue("rippleColor",Te)],"--n-text-color":we||(W?C.textColorPrimary:Ee?C.textColorTertiary:C[ue("textColor",Te)]),"--n-text-color-hover":we||(W?C.textColorHoverPrimary:C[ue("textColorHover",Te)]),"--n-text-color-pressed":we||(W?C.textColorPressedPrimary:C[ue("textColorPressed",Te)]),"--n-text-color-focus":we||(W?C.textColorFocusPrimary:C[ue("textColorFocus",Te)]),"--n-text-color-disabled":we||(W?C.textColorDisabledPrimary:C[ue("textColorDisabled",Te)])};let dt={"--n-border":"initial","--n-border-hover":"initial","--n-border-pressed":"initial","--n-border-focus":"initial","--n-border-disabled":"initial"};V?dt={"--n-border":"none","--n-border-hover":"none","--n-border-pressed":"none","--n-border-focus":"none","--n-border-disabled":"none"}:dt={"--n-border":C[ue("border",Te)],"--n-border-hover":C[ue("borderHover",Te)],"--n-border-pressed":C[ue("borderPressed",Te)],"--n-border-focus":C[ue("borderFocus",Te)],"--n-border-disabled":C[ue("borderDisabled",Te)]};const{[ue("height",M)]:bt,[ue("fontSize",M)]:P,[ue("padding",M)]:b,[ue("paddingRound",M)]:y,[ue("iconSize",M)]:_,[ue("borderRadius",M)]:$,[ue("iconMargin",M)]:B,waveOpacity:Z}=C,ne={"--n-width":fe&&!V?bt:"initial","--n-height":V?"initial":bt,"--n-font-size":P,"--n-padding":fe||V?"initial":oe?y:b,"--n-icon-size":_,"--n-icon-margin":B,"--n-border-radius":V?"initial":fe||oe?bt:$};return Object.assign(Object.assign(Object.assign(Object.assign({"--n-bezier":w,"--n-bezier-ease-out":I,"--n-ripple-duration":S,"--n-opacity-disabled":E,"--n-wave-opacity":Z},Je),Ae),dt),ne)}),A=m?_t("button",z(()=>{let k="";const{dashed:w,type:I,ghost:C,text:S,color:E,round:R,circle:G,textColor:M,secondary:q,tertiary:ee,quaternary:O,strong:V}=e;w&&(k+="a"),C&&(k+="b"),S&&(k+="c"),R&&(k+="d"),G&&(k+="e"),q&&(k+="f"),ee&&(k+="g"),O&&(k+="h"),V&&(k+="i"),E&&(k+="j"+ru(E)),M&&(k+="k"+ru(M));const{value:W}=a;return k+="l"+W[0],k+="m"+I[0],k}),x,e):void 0;return{selfElRef:t,waveElRef:n,mergedClsPrefix:g,mergedFocusable:s,mergedSize:a,showBorder:i,enterPressed:o,rtlEnabled:f,handleMousedown:l,handleKeydown:u,handleBlur:h,handleKeyup:d,handleClick:c,customColorCssVars:z(()=>{const{color:k}=e;if(!k)return null;const w=Eo(k);return{"--n-border-color":k,"--n-border-color-hover":w,"--n-border-color-pressed":ga(k),"--n-border-color-focus":w,"--n-border-color-disabled":k}}),cssVars:m?void 0:x,themeClass:A==null?void 0:A.themeClass,onRender:A==null?void 0:A.onRender}},render(){const{mergedClsPrefix:e,tag:t,onRender:n}=this;n==null||n();const o=Et(this.$slots.default,i=>i&&T("span",{class:`${e}-button__content`},i));return T(t,{ref:"selfElRef",class:[this.themeClass,`${e}-button`,`${e}-button--${this.type}-type`,`${e}-button--${this.mergedSize}-type`,this.rtlEnabled&&`${e}-button--rtl`,this.disabled&&`${e}-button--disabled`,this.block&&`${e}-button--block`,this.enterPressed&&`${e}-button--pressed`,!this.text&&this.dashed&&`${e}-button--dashed`,this.color&&`${e}-button--color`,this.secondary&&`${e}-button--secondary`,this.loading&&`${e}-button--loading`,this.ghost&&`${e}-button--ghost`],tabindex:this.mergedFocusable?0:-1,type:this.attrType,style:this.cssVars,disabled:this.disabled,onClick:this.handleClick,onBlur:this.handleBlur,onMousedown:this.handleMousedown,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},this.iconPlacement==="right"&&o,T(jm,{width:!0},{default:()=>Et(this.$slots.icon,i=>(this.loading||this.renderIcon||i)&&T("span",{class:`${e}-button__icon`,style:{margin:Tl(this.$slots.default)?"0":""}},T(vs,null,{default:()=>this.loading?T(Vc,{clsPrefix:e,key:"loading",class:`${e}-icon-slot`,strokeWidth:20}):T("div",{key:"icon",class:`${e}-icon-slot`,role:"none"},this.renderIcon?this.renderIcon():i)})))}),this.iconPlacement==="left"&&o,this.text?null:T(Jw,{ref:"waveElRef",clsPrefix:e}),this.showBorder?T("div",{"aria-hidden":!0,class:`${e}-button__border`,style:this.customColorCssVars}):null,this.showBorder?T("div",{"aria-hidden":!0,class:`${e}-button__state-border`,style:this.customColorCssVars}):null)}}),ja=b8,v8={titleFontSize:"22px"},xp=e=>{const{borderRadius:t,fontSize:n,lineHeight:o,textColor2:i,textColor1:r,textColorDisabled:a,dividerColor:s,fontWeightStrong:l,primaryColor:c,baseColor:d,hoverColor:u,cardColor:h,modalColor:m,popoverColor:g}=e;return Object.assign(Object.assign({},v8),{borderRadius:t,borderColor:he(h,s),borderColorModal:he(m,s),borderColorPopover:he(g,s),textColor:i,titleFontWeight:l,titleTextColor:r,dayTextColor:a,fontSize:n,lineHeight:o,dateColorCurrent:c,dateTextColorCurrent:d,cellColorHover:he(h,u),cellColorHoverModal:he(m,u),cellColorHoverPopover:he(g,u),cellColor:h,cellColorModal:m,cellColorPopover:g,barColor:c})},y8={name:"Calendar",common:ae,peers:{Button:Kt},self:xp},x8=y8,k8={name:"Calendar",common:re,peers:{Button:Qt},self:xp},C8=k8,kp=e=>{const{fontSize:t,boxShadow2:n,popoverColor:o,textColor2:i,borderRadius:r,borderColor:a,heightSmall:s,heightMedium:l,heightLarge:c,fontSizeSmall:d,fontSizeMedium:u,fontSizeLarge:h,dividerColor:m}=e;return{panelFontSize:t,boxShadow:n,color:o,textColor:i,borderRadius:r,border:`1px solid ${a}`,heightSmall:s,heightMedium:l,heightLarge:c,fontSizeSmall:d,fontSizeMedium:u,fontSizeLarge:h,dividerColor:m}},T8={name:"ColorPicker",common:ae,peers:{Input:sn,Button:Kt},self:kp},w8=T8,S8={name:"ColorPicker",common:re,peers:{Input:mn,Button:Qt},self:kp},_8=S8,P8={paddingSmall:"12px 16px 12px",paddingMedium:"19px 24px 20px",paddingLarge:"23px 32px 24px",paddingHuge:"27px 40px 28px",titleFontSizeSmall:"16px",titleFontSizeMedium:"18px",titleFontSizeLarge:"18px",titleFontSizeHuge:"18px",closeIconSize:"18px",closeSize:"22px"},Cp=e=>{const{primaryColor:t,borderRadius:n,lineHeight:o,fontSize:i,cardColor:r,textColor2:a,textColor1:s,dividerColor:l,fontWeightStrong:c,closeIconColor:d,closeIconColorHover:u,closeIconColorPressed:h,closeColorHover:m,closeColorPressed:g,modalColor:v,boxShadow1:p,popoverColor:f,actionColor:x}=e;return Object.assign(Object.assign({},P8),{lineHeight:o,color:r,colorModal:v,colorPopover:f,colorTarget:t,colorEmbedded:x,colorEmbeddedModal:x,colorEmbeddedPopover:x,textColor:a,titleTextColor:s,borderColor:l,actionColor:x,titleFontWeight:c,closeColorHover:m,closeColorPressed:g,closeBorderRadius:n,closeIconColor:d,closeIconColorHover:u,closeIconColorPressed:h,fontSizeSmall:i,fontSizeMedium:i,fontSizeLarge:i,fontSizeHuge:i,boxShadow:p,borderRadius:n})},A8={name:"Card",common:ae,self:Cp},Zc=A8,I8={name:"Card",common:re,self(e){const t=Cp(e),{cardColor:n,modalColor:o,popoverColor:i}=e;return t.colorEmbedded=n,t.colorEmbeddedModal=o,t.colorEmbeddedPopover=i,t}},Tp=I8,E8=N([Q("card",` font-size: var(--n-font-size); line-height: var(--n-line-height); display: flex; @@ -840,11 +840,11 @@ ${t} background: var(--n-color-modal); `,[Y("embedded",` background-color: var(--n-color-embedded-modal); - `)])),M2(Q("card",` + `)])),R2(Q("card",` background: var(--n-color-popover); `,[Y("embedded",` background-color: var(--n-color-embedded-popover); - `)]))]),Yc={title:String,contentStyle:[Object,String],headerStyle:[Object,String],headerExtraStyle:[Object,String],footerStyle:[Object,String],embedded:Boolean,segmented:{type:[Boolean,Object],default:!1},size:{type:String,default:"medium"},bordered:{type:Boolean,default:!0},closable:Boolean,hoverable:Boolean,role:String,onClose:[Function,Array],tag:{type:String,default:"div"}},MS=is(Yc),DS=Object.assign(Object.assign({},Pe.props),Yc),LS=se({name:"Card",props:DS,setup(e){const t=()=>{const{onClose:c}=e;c&&Fe(c)},{inlineThemeDisabled:n,mergedClsPrefixRef:o,mergedRtlRef:i}=lt(e),r=Pe("Card","-card",RS,Zc,e,o),a=ti("Card",i,o),s=z(()=>{const{size:c}=e,{self:{color:d,colorModal:u,colorTarget:h,textColor:m,titleTextColor:g,titleFontWeight:v,borderColor:p,actionColor:f,borderRadius:x,lineHeight:A,closeIconColor:k,closeIconColorHover:w,closeIconColorPressed:I,closeColorHover:C,closeColorPressed:S,closeBorderRadius:E,closeIconSize:R,closeSize:G,boxShadow:M,colorPopover:q,colorEmbedded:ee,colorEmbeddedModal:O,colorEmbeddedPopover:V,[ue("padding",c)]:W,[ue("fontSize",c)]:oe,[ue("titleFontSize",c)]:fe},common:{cubicBezierEaseInOut:we}}=r.value,{top:De,left:Le,bottom:mt}=Pc(W);return{"--n-bezier":we,"--n-border-radius":x,"--n-color":d,"--n-color-modal":u,"--n-color-popover":q,"--n-color-embedded":ee,"--n-color-embedded-modal":O,"--n-color-embedded-popover":V,"--n-color-target":h,"--n-text-color":m,"--n-line-height":A,"--n-action-color":f,"--n-title-text-color":g,"--n-title-font-weight":v,"--n-close-icon-color":k,"--n-close-icon-color-hover":w,"--n-close-icon-color-pressed":I,"--n-close-color-hover":C,"--n-close-color-pressed":S,"--n-border-color":p,"--n-box-shadow":M,"--n-padding-top":De,"--n-padding-bottom":mt,"--n-padding-left":Le,"--n-font-size":oe,"--n-title-font-size":fe,"--n-close-size":G,"--n-close-icon-size":R,"--n-close-border-radius":E}}),l=n?_t("card",z(()=>e.size[0]),s,e):void 0;return{rtlEnabled:a,mergedClsPrefix:o,mergedTheme:r,handleCloseClick:t,cssVars:n?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender}},render(){const{segmented:e,bordered:t,hoverable:n,mergedClsPrefix:o,rtlEnabled:i,onRender:r,embedded:a,tag:s,$slots:l}=this;return r==null||r(),T(s,{class:[`${o}-card`,this.themeClass,a&&`${o}-card--embedded`,{[`${o}-card--rtl`]:i,[`${o}-card--content${typeof e!="boolean"&&e.content==="soft"?"-soft":""}-segmented`]:e===!0||e!==!1&&e.content,[`${o}-card--footer${typeof e!="boolean"&&e.footer==="soft"?"-soft":""}-segmented`]:e===!0||e!==!1&&e.footer,[`${o}-card--action-segmented`]:e===!0||e!==!1&&e.action,[`${o}-card--bordered`]:t,[`${o}-card--hoverable`]:n}],style:this.cssVars,role:this.role},Et(l.cover,c=>c&&T("div",{class:`${o}-card-cover`,role:"none"},c)),Et(l.header,c=>c||this.title||this.closable?T("div",{class:`${o}-card-header`,style:this.headerStyle},T("div",{class:`${o}-card-header__main`,role:"heading"},c||this.title),Et(l["header-extra"],d=>d&&T("div",{class:`${o}-card-header__extra`,style:this.headerExtraStyle},d)),this.closable?T(ys,{clsPrefix:o,class:`${o}-card-header__close`,onClick:this.handleCloseClick,absolute:!0}):null):null),Et(l.default,c=>c&&T("div",{class:`${o}-card__content`,style:this.contentStyle,role:"none"},c)),Et(l.footer,c=>c&&[T("div",{class:`${o}-card__footer`,style:this.footerStyle,role:"none"},c)]),Et(l.action,c=>c&&T("div",{class:`${o}-card__action`,role:"none"},c)))}}),wp=e=>({dotSize:"8px",dotColor:"rgba(255, 255, 255, .3)",dotColorActive:"rgba(255, 255, 255, 1)",dotColorFocus:"rgba(255, 255, 255, .5)",dotLineWidth:"16px",dotLineWidthActive:"24px",arrowColor:"#eee"}),$S={name:"Carousel",common:ae,self:wp},OS=$S,HS={name:"Carousel",common:re,self:wp},BS=HS,NS={sizeSmall:"14px",sizeMedium:"16px",sizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"},Sp=e=>{const{baseColor:t,inputColorDisabled:n,cardColor:o,modalColor:i,popoverColor:r,textColorDisabled:a,borderColor:s,primaryColor:l,textColor2:c,fontSizeSmall:d,fontSizeMedium:u,fontSizeLarge:h,borderRadiusSmall:m,lineHeight:g}=e;return Object.assign(Object.assign({},NS),{labelLineHeight:g,fontSizeSmall:d,fontSizeMedium:u,fontSizeLarge:h,borderRadius:m,color:t,colorChecked:l,colorDisabled:n,colorDisabledChecked:n,colorTableHeader:o,colorTableHeaderModal:i,colorTableHeaderPopover:r,checkMarkColor:t,checkMarkColorDisabled:a,checkMarkColorDisabledChecked:a,border:`1px solid ${s}`,borderDisabled:`1px solid ${s}`,borderDisabledChecked:`1px solid ${s}`,borderChecked:`1px solid ${l}`,borderFocus:`1px solid ${l}`,boxShadowFocus:`0 0 0 2px ${U(l,{alpha:.3})}`,textColor:c,textColorDisabled:a})},zS={name:"Checkbox",common:ae,self:Sp},zi=zS,FS={name:"Checkbox",common:re,self(e){const{cardColor:t}=e,n=Sp(e);return n.color="#0000",n.checkMarkColor=t,n}},Fi=FS,_p=e=>{const{borderRadius:t,boxShadow2:n,popoverColor:o,textColor2:i,textColor3:r,primaryColor:a,textColorDisabled:s,dividerColor:l,hoverColor:c,fontSizeMedium:d,heightMedium:u}=e;return{menuBorderRadius:t,menuColor:o,menuBoxShadow:n,menuDividerColor:l,menuHeight:"calc(var(--n-option-height) * 6.6)",optionArrowColor:r,optionHeight:u,optionFontSize:d,optionColorHover:c,optionTextColor:i,optionTextColorActive:a,optionTextColorDisabled:s,optionCheckMarkColor:a,loadingColor:a,columnWidth:"180px"}},WS={name:"Cascader",common:ae,peers:{InternalSelectMenu:Wr,InternalSelection:qc,Scrollbar:Vt,Checkbox:zi,Empty:Xn},self:_p},jS=WS,GS={name:"Cascader",common:re,peers:{InternalSelectMenu:jr,InternalSelection:Xc,Scrollbar:Jt,Checkbox:Fi,Empty:Xn},self:_p},VS=GS,KS={name:"Code",common:re,self(e){const{textColor2:t,fontSize:n,fontWeightStrong:o,textColor3:i}=e;return{textColor:t,fontSize:n,fontWeightStrong:o,"mono-3":"#5c6370","hue-1":"#56b6c2","hue-2":"#61aeee","hue-3":"#c678dd","hue-4":"#98c379","hue-5":"#e06c75","hue-5-2":"#be5046","hue-6":"#d19a66","hue-6-2":"#e6c07b",lineNumberTextColor:i}}},Pp=KS,US=e=>{const{textColor2:t,fontSize:n,fontWeightStrong:o,textColor3:i}=e;return{textColor:t,fontSize:n,fontWeightStrong:o,"mono-3":"#a0a1a7","hue-1":"#0184bb","hue-2":"#4078f2","hue-3":"#a626a4","hue-4":"#50a14f","hue-5":"#e45649","hue-5-2":"#c91243","hue-6":"#986801","hue-6-2":"#c18401",lineNumberTextColor:i}},qS={name:"Code",common:ae,self:US},Ap=qS,Ip=e=>{const{fontWeight:t,textColor1:n,textColor2:o,textColorDisabled:i,dividerColor:r,fontSize:a}=e;return{titleFontSize:a,titleFontWeight:t,dividerColor:r,titleTextColor:n,titleTextColorDisabled:i,fontSize:a,textColor:o,arrowColor:o,arrowColorDisabled:i,itemMargin:"16px 0 0 0",titlePadding:"16px 0 0 0"}},XS={name:"Collapse",common:ae,self:Ip},ZS=XS,YS={name:"Collapse",common:re,self:Ip},JS=YS,Ep=e=>{const{cubicBezierEaseInOut:t}=e;return{bezier:t}},QS={name:"CollapseTransition",common:ae,self:Ep},e9=QS,t9={name:"CollapseTransition",common:re,self:Ep},n9=t9,o9={abstract:Boolean,bordered:{type:Boolean,default:void 0},clsPrefix:{type:String,default:Mr},locale:Object,dateLocale:Object,namespace:String,rtl:Array,tag:{type:String,default:"div"},hljs:Object,katex:Object,theme:Object,themeOverrides:Object,componentOptions:Object,icons:Object,breakpoints:Object,preflightStyleDisabled:Boolean,inlineThemeDisabled:{type:Boolean,default:void 0},as:{type:String,validator:()=>(Pi("config-provider","`as` is deprecated, please use `tag` instead."),!0),default:void 0}},i9=se({name:"ConfigProvider",alias:["App"],props:o9,setup(e){const t=Ie(Vn,null),n=z(()=>{const{theme:g}=e;if(g===null)return;const v=t==null?void 0:t.mergedThemeRef.value;return g===void 0?v:v===void 0?g:Object.assign({},v,g)}),o=z(()=>{const{themeOverrides:g}=e;if(g!==null){if(g===void 0)return t==null?void 0:t.mergedThemeOverridesRef.value;{const v=t==null?void 0:t.mergedThemeOverridesRef.value;return v===void 0?g:ir({},v,g)}}}),i=wt(()=>{const{namespace:g}=e;return g===void 0?t==null?void 0:t.mergedNamespaceRef.value:g}),r=wt(()=>{const{bordered:g}=e;return g===void 0?t==null?void 0:t.mergedBorderedRef.value:g}),a=z(()=>{const{icons:g}=e;return g===void 0?t==null?void 0:t.mergedIconsRef.value:g}),s=z(()=>{const{componentOptions:g}=e;return g!==void 0?g:t==null?void 0:t.mergedComponentPropsRef.value}),l=z(()=>{const{clsPrefix:g}=e;return g!==void 0?g:t?t.mergedClsPrefixRef.value:Mr}),c=z(()=>{var g;const{rtl:v}=e;if(v===void 0)return t==null?void 0:t.mergedRtlRef.value;const p={};for(const f of v)p[f.name]=Ti(f),(g=f.peers)===null||g===void 0||g.forEach(x=>{x.name in p||(p[x.name]=Ti(x))});return p}),d=z(()=>e.breakpoints||(t==null?void 0:t.mergedBreakpointsRef.value)),u=e.inlineThemeDisabled||(t==null?void 0:t.inlineThemeDisabled),h=e.preflightStyleDisabled||(t==null?void 0:t.preflightStyleDisabled),m=z(()=>{const{value:g}=n,{value:v}=o,p=v&&Object.keys(v).length!==0,f=g==null?void 0:g.name;return f?p?`${f}-${_r(JSON.stringify(o.value))}`:f:p?_r(JSON.stringify(o.value)):""});return We(Vn,{mergedThemeHashRef:m,mergedBreakpointsRef:d,mergedRtlRef:c,mergedIconsRef:a,mergedComponentPropsRef:s,mergedBorderedRef:r,mergedNamespaceRef:i,mergedClsPrefixRef:l,mergedLocaleRef:z(()=>{const{locale:g}=e;if(g!==null)return g===void 0?t==null?void 0:t.mergedLocaleRef.value:g}),mergedDateLocaleRef:z(()=>{const{dateLocale:g}=e;if(g!==null)return g===void 0?t==null?void 0:t.mergedDateLocaleRef.value:g}),mergedHljsRef:z(()=>{const{hljs:g}=e;return g===void 0?t==null?void 0:t.mergedHljsRef.value:g}),mergedKatexRef:z(()=>{const{katex:g}=e;return g===void 0?t==null?void 0:t.mergedKatexRef.value:g}),mergedThemeRef:n,mergedThemeOverridesRef:o,inlineThemeDisabled:u||!1,preflightStyleDisabled:h||!1}),{mergedClsPrefix:l,mergedBordered:r,mergedNamespace:i,mergedTheme:n,mergedThemeOverrides:o}},render(){var e,t,n,o;return this.abstract?(o=(n=this.$slots).default)===null||o===void 0?void 0:o.call(n):T(this.as||this.tag,{class:`${this.mergedClsPrefix||Mr}-config-provider`},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))}}),r9={name:"Popselect",common:re,peers:{Popover:oi,InternalSelectMenu:jr}},Rp=r9;function a9(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const s9={name:"Popselect",common:ae,peers:{Popover:xo,InternalSelectMenu:Wr},self:a9},Mp=s9;function Dp(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const l9={name:"Select",common:ae,peers:{InternalSelection:qc,InternalSelectMenu:Wr},self:Dp},Lp=l9,c9={name:"Select",common:re,peers:{InternalSelection:Xc,InternalSelectMenu:jr},self:Dp},$p=c9,d9={itemPaddingSmall:"0 4px",itemMarginSmall:"0 0 0 8px",itemMarginSmallRtl:"0 8px 0 0",itemPaddingMedium:"0 4px",itemMarginMedium:"0 0 0 8px",itemMarginMediumRtl:"0 8px 0 0",itemPaddingLarge:"0 4px",itemMarginLarge:"0 0 0 8px",itemMarginLargeRtl:"0 8px 0 0",buttonIconSizeSmall:"14px",buttonIconSizeMedium:"16px",buttonIconSizeLarge:"18px",inputWidthSmall:"60px",selectWidthSmall:"unset",inputMarginSmall:"0 0 0 8px",inputMarginSmallRtl:"0 8px 0 0",selectMarginSmall:"0 0 0 8px",prefixMarginSmall:"0 8px 0 0",suffixMarginSmall:"0 0 0 8px",inputWidthMedium:"60px",selectWidthMedium:"unset",inputMarginMedium:"0 0 0 8px",inputMarginMediumRtl:"0 8px 0 0",selectMarginMedium:"0 0 0 8px",prefixMarginMedium:"0 8px 0 0",suffixMarginMedium:"0 0 0 8px",inputWidthLarge:"60px",selectWidthLarge:"unset",inputMarginLarge:"0 0 0 8px",inputMarginLargeRtl:"0 8px 0 0",selectMarginLarge:"0 0 0 8px",prefixMarginLarge:"0 8px 0 0",suffixMarginLarge:"0 0 0 8px"},Op=e=>{const{textColor2:t,primaryColor:n,primaryColorHover:o,primaryColorPressed:i,inputColorDisabled:r,textColorDisabled:a,borderColor:s,borderRadius:l,fontSizeTiny:c,fontSizeSmall:d,fontSizeMedium:u,heightTiny:h,heightSmall:m,heightMedium:g}=e;return Object.assign(Object.assign({},d9),{buttonColor:"#0000",buttonColorHover:"#0000",buttonColorPressed:"#0000",buttonBorder:`1px solid ${s}`,buttonBorderHover:`1px solid ${s}`,buttonBorderPressed:`1px solid ${s}`,buttonIconColor:t,buttonIconColorHover:t,buttonIconColorPressed:t,itemTextColor:t,itemTextColorHover:o,itemTextColorPressed:i,itemTextColorActive:n,itemTextColorDisabled:a,itemColor:"#0000",itemColorHover:"#0000",itemColorPressed:"#0000",itemColorActive:"#0000",itemColorActiveHover:"#0000",itemColorDisabled:r,itemBorder:"1px solid #0000",itemBorderHover:"1px solid #0000",itemBorderPressed:"1px solid #0000",itemBorderActive:`1px solid ${n}`,itemBorderDisabled:`1px solid ${s}`,itemBorderRadius:l,itemSizeSmall:h,itemSizeMedium:m,itemSizeLarge:g,itemFontSizeSmall:c,itemFontSizeMedium:d,itemFontSizeLarge:u,jumperFontSizeSmall:c,jumperFontSizeMedium:d,jumperFontSizeLarge:u,jumperTextColor:t,jumperTextColorDisabled:a})},u9={name:"Pagination",common:ae,peers:{Select:Lp,Input:sn,Popselect:Mp},self:Op},Hp=u9,h9={name:"Pagination",common:re,peers:{Select:$p,Input:mn,Popselect:Rp},self(e){const{primaryColor:t,opacity3:n}=e,o=U(t,{alpha:Number(n)}),i=Op(e);return i.itemBorderActive=`1px solid ${o}`,i.itemBorderDisabled="1px solid #0000",i}},Bp=h9,Np={padding:"8px 14px"},f9={name:"Tooltip",common:re,peers:{Popover:oi},self(e){const{borderRadius:t,boxShadow2:n,popoverColor:o,textColor2:i}=e;return Object.assign(Object.assign({},Np),{borderRadius:t,boxShadow:n,color:o,textColor:i})}},Ts=f9,g9=e=>{const{borderRadius:t,boxShadow2:n,baseColor:o}=e;return Object.assign(Object.assign({},Np),{borderRadius:t,boxShadow:n,color:he(o,"rgba(0, 0, 0, .85)"),textColor:o})},m9={name:"Tooltip",common:ae,peers:{Popover:xo},self:g9},Gr=m9,p9={name:"Ellipsis",common:re,peers:{Tooltip:Ts}},zp=p9,b9={name:"Ellipsis",common:ae,peers:{Tooltip:Gr}},Jc=b9,Fp={radioSizeSmall:"14px",radioSizeMedium:"16px",radioSizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"},v9={name:"Radio",common:re,self(e){const{borderColor:t,primaryColor:n,baseColor:o,textColorDisabled:i,inputColorDisabled:r,textColor2:a,opacityDisabled:s,borderRadius:l,fontSizeSmall:c,fontSizeMedium:d,fontSizeLarge:u,heightSmall:h,heightMedium:m,heightLarge:g,lineHeight:v}=e;return Object.assign(Object.assign({},Fp),{labelLineHeight:v,buttonHeightSmall:h,buttonHeightMedium:m,buttonHeightLarge:g,fontSizeSmall:c,fontSizeMedium:d,fontSizeLarge:u,boxShadow:`inset 0 0 0 1px ${t}`,boxShadowActive:`inset 0 0 0 1px ${n}`,boxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${U(n,{alpha:.3})}`,boxShadowHover:`inset 0 0 0 1px ${n}`,boxShadowDisabled:`inset 0 0 0 1px ${t}`,color:"#0000",colorDisabled:r,colorActive:"#0000",textColor:a,textColorDisabled:i,dotColorActive:n,dotColorDisabled:t,buttonBorderColor:t,buttonBorderColorActive:n,buttonBorderColorHover:n,buttonColor:"#0000",buttonColorActive:n,buttonTextColor:a,buttonTextColorActive:o,buttonTextColorHover:n,opacityDisabled:s,buttonBoxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${U(n,{alpha:.3})}`,buttonBoxShadowHover:`inset 0 0 0 1px ${n}`,buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:l})}},Wp=v9,y9=e=>{const{borderColor:t,primaryColor:n,baseColor:o,textColorDisabled:i,inputColorDisabled:r,textColor2:a,opacityDisabled:s,borderRadius:l,fontSizeSmall:c,fontSizeMedium:d,fontSizeLarge:u,heightSmall:h,heightMedium:m,heightLarge:g,lineHeight:v}=e;return Object.assign(Object.assign({},Fp),{labelLineHeight:v,buttonHeightSmall:h,buttonHeightMedium:m,buttonHeightLarge:g,fontSizeSmall:c,fontSizeMedium:d,fontSizeLarge:u,boxShadow:`inset 0 0 0 1px ${t}`,boxShadowActive:`inset 0 0 0 1px ${n}`,boxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${U(n,{alpha:.2})}`,boxShadowHover:`inset 0 0 0 1px ${n}`,boxShadowDisabled:`inset 0 0 0 1px ${t}`,color:o,colorDisabled:r,colorActive:"#0000",textColor:a,textColorDisabled:i,dotColorActive:n,dotColorDisabled:t,buttonBorderColor:t,buttonBorderColorActive:n,buttonBorderColorHover:t,buttonColor:o,buttonColorActive:o,buttonTextColor:a,buttonTextColorActive:n,buttonTextColorHover:n,opacityDisabled:s,buttonBoxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${U(n,{alpha:.3})}`,buttonBoxShadowHover:"inset 0 0 0 1px #0000",buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:l})},x9={name:"Radio",common:ae,self:y9},jp=x9,k9={padding:"4px 0",optionIconSizeSmall:"14px",optionIconSizeMedium:"16px",optionIconSizeLarge:"16px",optionIconSizeHuge:"18px",optionSuffixWidthSmall:"14px",optionSuffixWidthMedium:"14px",optionSuffixWidthLarge:"16px",optionSuffixWidthHuge:"16px",optionIconSuffixWidthSmall:"32px",optionIconSuffixWidthMedium:"32px",optionIconSuffixWidthLarge:"36px",optionIconSuffixWidthHuge:"36px",optionPrefixWidthSmall:"14px",optionPrefixWidthMedium:"14px",optionPrefixWidthLarge:"16px",optionPrefixWidthHuge:"16px",optionIconPrefixWidthSmall:"36px",optionIconPrefixWidthMedium:"36px",optionIconPrefixWidthLarge:"40px",optionIconPrefixWidthHuge:"40px"},Gp=e=>{const{primaryColor:t,textColor2:n,dividerColor:o,hoverColor:i,popoverColor:r,invertedColor:a,borderRadius:s,fontSizeSmall:l,fontSizeMedium:c,fontSizeLarge:d,fontSizeHuge:u,heightSmall:h,heightMedium:m,heightLarge:g,heightHuge:v,textColor3:p,opacityDisabled:f}=e;return Object.assign(Object.assign({},k9),{optionHeightSmall:h,optionHeightMedium:m,optionHeightLarge:g,optionHeightHuge:v,borderRadius:s,fontSizeSmall:l,fontSizeMedium:c,fontSizeLarge:d,fontSizeHuge:u,optionTextColor:n,optionTextColorHover:n,optionTextColorActive:t,optionTextColorChildActive:t,color:r,dividerColor:o,suffixColor:n,prefixColor:n,optionColorHover:i,optionColorActive:U(t,{alpha:.1}),groupHeaderTextColor:p,optionTextColorInverted:"#BBB",optionTextColorHoverInverted:"#FFF",optionTextColorActiveInverted:"#FFF",optionTextColorChildActiveInverted:"#FFF",colorInverted:a,dividerColorInverted:"#BBB",suffixColorInverted:"#BBB",prefixColorInverted:"#BBB",optionColorHoverInverted:t,optionColorActiveInverted:t,groupHeaderTextColorInverted:"#AAA",optionOpacityDisabled:f})},C9={name:"Dropdown",common:ae,peers:{Popover:xo},self:Gp},ws=C9,T9={name:"Dropdown",common:re,peers:{Popover:oi},self(e){const{primaryColorSuppl:t,primaryColor:n,popoverColor:o}=e,i=Gp(e);return i.colorInverted=o,i.optionColorActive=U(n,{alpha:.15}),i.optionColorActiveInverted=t,i.optionColorHoverInverted=t,i}},Qc=T9,w9={thPaddingSmall:"8px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"8px",tdPaddingMedium:"12px",tdPaddingLarge:"12px",sorterSize:"15px",resizableContainerSize:"8px",resizableSize:"2px",filterSize:"15px",paginationMargin:"12px 0 0 0",emptyPadding:"48px 0",actionPadding:"8px 12px",actionButtonMargin:"0 8px 0 0"},Vp=e=>{const{cardColor:t,modalColor:n,popoverColor:o,textColor2:i,textColor1:r,tableHeaderColor:a,tableColorHover:s,iconColor:l,primaryColor:c,fontWeightStrong:d,borderRadius:u,lineHeight:h,fontSizeSmall:m,fontSizeMedium:g,fontSizeLarge:v,dividerColor:p,heightSmall:f,opacityDisabled:x,tableColorStriped:A}=e;return Object.assign(Object.assign({},w9),{actionDividerColor:p,lineHeight:h,borderRadius:u,fontSizeSmall:m,fontSizeMedium:g,fontSizeLarge:v,borderColor:he(t,p),tdColorHover:he(t,s),tdColorStriped:he(t,A),thColor:he(t,a),thColorHover:he(he(t,a),s),tdColor:t,tdTextColor:i,thTextColor:r,thFontWeight:d,thButtonColorHover:s,thIconColor:l,thIconColorActive:c,borderColorModal:he(n,p),tdColorHoverModal:he(n,s),tdColorStripedModal:he(n,A),thColorModal:he(n,a),thColorHoverModal:he(he(n,a),s),tdColorModal:n,borderColorPopover:he(o,p),tdColorHoverPopover:he(o,s),tdColorStripedPopover:he(o,A),thColorPopover:he(o,a),thColorHoverPopover:he(he(o,a),s),tdColorPopover:o,boxShadowBefore:"inset -12px 0 8px -12px rgba(0, 0, 0, .18)",boxShadowAfter:"inset 12px 0 8px -12px rgba(0, 0, 0, .18)",loadingColor:c,loadingSize:f,opacityLoading:x})},S9={name:"DataTable",common:ae,peers:{Button:Kt,Checkbox:zi,Radio:jp,Pagination:Hp,Scrollbar:Vt,Empty:Xn,Popover:xo,Ellipsis:Jc,Dropdown:ws},self:Vp},_9=S9,P9={name:"DataTable",common:re,peers:{Button:Qt,Checkbox:Fi,Radio:Wp,Pagination:Bp,Scrollbar:Jt,Empty:ni,Popover:oi,Ellipsis:zp,Dropdown:Qc},self(e){const t=Vp(e);return t.boxShadowAfter="inset 12px 0 8px -12px rgba(0, 0, 0, .36)",t.boxShadowBefore="inset -12px 0 8px -12px rgba(0, 0, 0, .36)",t}},A9=P9,I9=Object.assign(Object.assign({},ks),Pe.props),E9=se({name:"Tooltip",props:I9,__popover__:!0,setup(e){const{mergedClsPrefixRef:t}=lt(e),n=Pe("Tooltip","-tooltip",void 0,Gr,e,t),o=j(null);return Object.assign(Object.assign({},{syncPosition(){o.value.syncPosition()},setShow(r){o.value.setShow(r)}}),{popoverRef:o,mergedTheme:n,popoverThemeOverrides:z(()=>n.value.self)})},render(){const{mergedTheme:e,internalExtraClass:t}=this;return T(Cs,Object.assign(Object.assign({},this.$props),{theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,builtinThemeOverrides:this.popoverThemeOverrides,internalExtraClass:t.concat("tooltip"),ref:"popoverRef"}),this.$slots)}}),R9=Q("ellipsis",{overflow:"hidden"},[Rt("line-clamp",` + `)]))]),Yc={title:String,contentStyle:[Object,String],headerStyle:[Object,String],headerExtraStyle:[Object,String],footerStyle:[Object,String],embedded:Boolean,segmented:{type:[Boolean,Object],default:!1},size:{type:String,default:"medium"},bordered:{type:Boolean,default:!0},closable:Boolean,hoverable:Boolean,role:String,onClose:[Function,Array],tag:{type:String,default:"div"}},R8=is(Yc),M8=Object.assign(Object.assign({},Pe.props),Yc),D8=se({name:"Card",props:M8,setup(e){const t=()=>{const{onClose:c}=e;c&&Fe(c)},{inlineThemeDisabled:n,mergedClsPrefixRef:o,mergedRtlRef:i}=lt(e),r=Pe("Card","-card",E8,Zc,e,o),a=ti("Card",i,o),s=z(()=>{const{size:c}=e,{self:{color:d,colorModal:u,colorTarget:h,textColor:m,titleTextColor:g,titleFontWeight:v,borderColor:p,actionColor:f,borderRadius:x,lineHeight:A,closeIconColor:k,closeIconColorHover:w,closeIconColorPressed:I,closeColorHover:C,closeColorPressed:S,closeBorderRadius:E,closeIconSize:R,closeSize:G,boxShadow:M,colorPopover:q,colorEmbedded:ee,colorEmbeddedModal:O,colorEmbeddedPopover:V,[ue("padding",c)]:W,[ue("fontSize",c)]:oe,[ue("titleFontSize",c)]:fe},common:{cubicBezierEaseInOut:we}}=r.value,{top:De,left:Le,bottom:mt}=Pc(W);return{"--n-bezier":we,"--n-border-radius":x,"--n-color":d,"--n-color-modal":u,"--n-color-popover":q,"--n-color-embedded":ee,"--n-color-embedded-modal":O,"--n-color-embedded-popover":V,"--n-color-target":h,"--n-text-color":m,"--n-line-height":A,"--n-action-color":f,"--n-title-text-color":g,"--n-title-font-weight":v,"--n-close-icon-color":k,"--n-close-icon-color-hover":w,"--n-close-icon-color-pressed":I,"--n-close-color-hover":C,"--n-close-color-pressed":S,"--n-border-color":p,"--n-box-shadow":M,"--n-padding-top":De,"--n-padding-bottom":mt,"--n-padding-left":Le,"--n-font-size":oe,"--n-title-font-size":fe,"--n-close-size":G,"--n-close-icon-size":R,"--n-close-border-radius":E}}),l=n?_t("card",z(()=>e.size[0]),s,e):void 0;return{rtlEnabled:a,mergedClsPrefix:o,mergedTheme:r,handleCloseClick:t,cssVars:n?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender}},render(){const{segmented:e,bordered:t,hoverable:n,mergedClsPrefix:o,rtlEnabled:i,onRender:r,embedded:a,tag:s,$slots:l}=this;return r==null||r(),T(s,{class:[`${o}-card`,this.themeClass,a&&`${o}-card--embedded`,{[`${o}-card--rtl`]:i,[`${o}-card--content${typeof e!="boolean"&&e.content==="soft"?"-soft":""}-segmented`]:e===!0||e!==!1&&e.content,[`${o}-card--footer${typeof e!="boolean"&&e.footer==="soft"?"-soft":""}-segmented`]:e===!0||e!==!1&&e.footer,[`${o}-card--action-segmented`]:e===!0||e!==!1&&e.action,[`${o}-card--bordered`]:t,[`${o}-card--hoverable`]:n}],style:this.cssVars,role:this.role},Et(l.cover,c=>c&&T("div",{class:`${o}-card-cover`,role:"none"},c)),Et(l.header,c=>c||this.title||this.closable?T("div",{class:`${o}-card-header`,style:this.headerStyle},T("div",{class:`${o}-card-header__main`,role:"heading"},c||this.title),Et(l["header-extra"],d=>d&&T("div",{class:`${o}-card-header__extra`,style:this.headerExtraStyle},d)),this.closable?T(ys,{clsPrefix:o,class:`${o}-card-header__close`,onClick:this.handleCloseClick,absolute:!0}):null):null),Et(l.default,c=>c&&T("div",{class:`${o}-card__content`,style:this.contentStyle,role:"none"},c)),Et(l.footer,c=>c&&[T("div",{class:`${o}-card__footer`,style:this.footerStyle,role:"none"},c)]),Et(l.action,c=>c&&T("div",{class:`${o}-card__action`,role:"none"},c)))}}),wp=e=>({dotSize:"8px",dotColor:"rgba(255, 255, 255, .3)",dotColorActive:"rgba(255, 255, 255, 1)",dotColorFocus:"rgba(255, 255, 255, .5)",dotLineWidth:"16px",dotLineWidthActive:"24px",arrowColor:"#eee"}),L8={name:"Carousel",common:ae,self:wp},$8=L8,O8={name:"Carousel",common:re,self:wp},H8=O8,B8={sizeSmall:"14px",sizeMedium:"16px",sizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"},Sp=e=>{const{baseColor:t,inputColorDisabled:n,cardColor:o,modalColor:i,popoverColor:r,textColorDisabled:a,borderColor:s,primaryColor:l,textColor2:c,fontSizeSmall:d,fontSizeMedium:u,fontSizeLarge:h,borderRadiusSmall:m,lineHeight:g}=e;return Object.assign(Object.assign({},B8),{labelLineHeight:g,fontSizeSmall:d,fontSizeMedium:u,fontSizeLarge:h,borderRadius:m,color:t,colorChecked:l,colorDisabled:n,colorDisabledChecked:n,colorTableHeader:o,colorTableHeaderModal:i,colorTableHeaderPopover:r,checkMarkColor:t,checkMarkColorDisabled:a,checkMarkColorDisabledChecked:a,border:`1px solid ${s}`,borderDisabled:`1px solid ${s}`,borderDisabledChecked:`1px solid ${s}`,borderChecked:`1px solid ${l}`,borderFocus:`1px solid ${l}`,boxShadowFocus:`0 0 0 2px ${U(l,{alpha:.3})}`,textColor:c,textColorDisabled:a})},N8={name:"Checkbox",common:ae,self:Sp},zi=N8,z8={name:"Checkbox",common:re,self(e){const{cardColor:t}=e,n=Sp(e);return n.color="#0000",n.checkMarkColor=t,n}},Fi=z8,_p=e=>{const{borderRadius:t,boxShadow2:n,popoverColor:o,textColor2:i,textColor3:r,primaryColor:a,textColorDisabled:s,dividerColor:l,hoverColor:c,fontSizeMedium:d,heightMedium:u}=e;return{menuBorderRadius:t,menuColor:o,menuBoxShadow:n,menuDividerColor:l,menuHeight:"calc(var(--n-option-height) * 6.6)",optionArrowColor:r,optionHeight:u,optionFontSize:d,optionColorHover:c,optionTextColor:i,optionTextColorActive:a,optionTextColorDisabled:s,optionCheckMarkColor:a,loadingColor:a,columnWidth:"180px"}},F8={name:"Cascader",common:ae,peers:{InternalSelectMenu:Wr,InternalSelection:qc,Scrollbar:Vt,Checkbox:zi,Empty:Xn},self:_p},W8=F8,j8={name:"Cascader",common:re,peers:{InternalSelectMenu:jr,InternalSelection:Xc,Scrollbar:Jt,Checkbox:Fi,Empty:Xn},self:_p},G8=j8,V8={name:"Code",common:re,self(e){const{textColor2:t,fontSize:n,fontWeightStrong:o,textColor3:i}=e;return{textColor:t,fontSize:n,fontWeightStrong:o,"mono-3":"#5c6370","hue-1":"#56b6c2","hue-2":"#61aeee","hue-3":"#c678dd","hue-4":"#98c379","hue-5":"#e06c75","hue-5-2":"#be5046","hue-6":"#d19a66","hue-6-2":"#e6c07b",lineNumberTextColor:i}}},Pp=V8,K8=e=>{const{textColor2:t,fontSize:n,fontWeightStrong:o,textColor3:i}=e;return{textColor:t,fontSize:n,fontWeightStrong:o,"mono-3":"#a0a1a7","hue-1":"#0184bb","hue-2":"#4078f2","hue-3":"#a626a4","hue-4":"#50a14f","hue-5":"#e45649","hue-5-2":"#c91243","hue-6":"#986801","hue-6-2":"#c18401",lineNumberTextColor:i}},U8={name:"Code",common:ae,self:K8},Ap=U8,Ip=e=>{const{fontWeight:t,textColor1:n,textColor2:o,textColorDisabled:i,dividerColor:r,fontSize:a}=e;return{titleFontSize:a,titleFontWeight:t,dividerColor:r,titleTextColor:n,titleTextColorDisabled:i,fontSize:a,textColor:o,arrowColor:o,arrowColorDisabled:i,itemMargin:"16px 0 0 0",titlePadding:"16px 0 0 0"}},q8={name:"Collapse",common:ae,self:Ip},X8=q8,Z8={name:"Collapse",common:re,self:Ip},Y8=Z8,Ep=e=>{const{cubicBezierEaseInOut:t}=e;return{bezier:t}},J8={name:"CollapseTransition",common:ae,self:Ep},Q8=J8,e9={name:"CollapseTransition",common:re,self:Ep},t9=e9,n9={abstract:Boolean,bordered:{type:Boolean,default:void 0},clsPrefix:{type:String,default:Mr},locale:Object,dateLocale:Object,namespace:String,rtl:Array,tag:{type:String,default:"div"},hljs:Object,katex:Object,theme:Object,themeOverrides:Object,componentOptions:Object,icons:Object,breakpoints:Object,preflightStyleDisabled:Boolean,inlineThemeDisabled:{type:Boolean,default:void 0},as:{type:String,validator:()=>(Pi("config-provider","`as` is deprecated, please use `tag` instead."),!0),default:void 0}},o9=se({name:"ConfigProvider",alias:["App"],props:n9,setup(e){const t=Ie(Vn,null),n=z(()=>{const{theme:g}=e;if(g===null)return;const v=t==null?void 0:t.mergedThemeRef.value;return g===void 0?v:v===void 0?g:Object.assign({},v,g)}),o=z(()=>{const{themeOverrides:g}=e;if(g!==null){if(g===void 0)return t==null?void 0:t.mergedThemeOverridesRef.value;{const v=t==null?void 0:t.mergedThemeOverridesRef.value;return v===void 0?g:ir({},v,g)}}}),i=wt(()=>{const{namespace:g}=e;return g===void 0?t==null?void 0:t.mergedNamespaceRef.value:g}),r=wt(()=>{const{bordered:g}=e;return g===void 0?t==null?void 0:t.mergedBorderedRef.value:g}),a=z(()=>{const{icons:g}=e;return g===void 0?t==null?void 0:t.mergedIconsRef.value:g}),s=z(()=>{const{componentOptions:g}=e;return g!==void 0?g:t==null?void 0:t.mergedComponentPropsRef.value}),l=z(()=>{const{clsPrefix:g}=e;return g!==void 0?g:t?t.mergedClsPrefixRef.value:Mr}),c=z(()=>{var g;const{rtl:v}=e;if(v===void 0)return t==null?void 0:t.mergedRtlRef.value;const p={};for(const f of v)p[f.name]=Ti(f),(g=f.peers)===null||g===void 0||g.forEach(x=>{x.name in p||(p[x.name]=Ti(x))});return p}),d=z(()=>e.breakpoints||(t==null?void 0:t.mergedBreakpointsRef.value)),u=e.inlineThemeDisabled||(t==null?void 0:t.inlineThemeDisabled),h=e.preflightStyleDisabled||(t==null?void 0:t.preflightStyleDisabled),m=z(()=>{const{value:g}=n,{value:v}=o,p=v&&Object.keys(v).length!==0,f=g==null?void 0:g.name;return f?p?`${f}-${_r(JSON.stringify(o.value))}`:f:p?_r(JSON.stringify(o.value)):""});return We(Vn,{mergedThemeHashRef:m,mergedBreakpointsRef:d,mergedRtlRef:c,mergedIconsRef:a,mergedComponentPropsRef:s,mergedBorderedRef:r,mergedNamespaceRef:i,mergedClsPrefixRef:l,mergedLocaleRef:z(()=>{const{locale:g}=e;if(g!==null)return g===void 0?t==null?void 0:t.mergedLocaleRef.value:g}),mergedDateLocaleRef:z(()=>{const{dateLocale:g}=e;if(g!==null)return g===void 0?t==null?void 0:t.mergedDateLocaleRef.value:g}),mergedHljsRef:z(()=>{const{hljs:g}=e;return g===void 0?t==null?void 0:t.mergedHljsRef.value:g}),mergedKatexRef:z(()=>{const{katex:g}=e;return g===void 0?t==null?void 0:t.mergedKatexRef.value:g}),mergedThemeRef:n,mergedThemeOverridesRef:o,inlineThemeDisabled:u||!1,preflightStyleDisabled:h||!1}),{mergedClsPrefix:l,mergedBordered:r,mergedNamespace:i,mergedTheme:n,mergedThemeOverrides:o}},render(){var e,t,n,o;return this.abstract?(o=(n=this.$slots).default)===null||o===void 0?void 0:o.call(n):T(this.as||this.tag,{class:`${this.mergedClsPrefix||Mr}-config-provider`},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))}}),i9={name:"Popselect",common:re,peers:{Popover:oi,InternalSelectMenu:jr}},Rp=i9;function r9(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const a9={name:"Popselect",common:ae,peers:{Popover:xo,InternalSelectMenu:Wr},self:r9},Mp=a9;function Dp(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const s9={name:"Select",common:ae,peers:{InternalSelection:qc,InternalSelectMenu:Wr},self:Dp},Lp=s9,l9={name:"Select",common:re,peers:{InternalSelection:Xc,InternalSelectMenu:jr},self:Dp},$p=l9,c9={itemPaddingSmall:"0 4px",itemMarginSmall:"0 0 0 8px",itemMarginSmallRtl:"0 8px 0 0",itemPaddingMedium:"0 4px",itemMarginMedium:"0 0 0 8px",itemMarginMediumRtl:"0 8px 0 0",itemPaddingLarge:"0 4px",itemMarginLarge:"0 0 0 8px",itemMarginLargeRtl:"0 8px 0 0",buttonIconSizeSmall:"14px",buttonIconSizeMedium:"16px",buttonIconSizeLarge:"18px",inputWidthSmall:"60px",selectWidthSmall:"unset",inputMarginSmall:"0 0 0 8px",inputMarginSmallRtl:"0 8px 0 0",selectMarginSmall:"0 0 0 8px",prefixMarginSmall:"0 8px 0 0",suffixMarginSmall:"0 0 0 8px",inputWidthMedium:"60px",selectWidthMedium:"unset",inputMarginMedium:"0 0 0 8px",inputMarginMediumRtl:"0 8px 0 0",selectMarginMedium:"0 0 0 8px",prefixMarginMedium:"0 8px 0 0",suffixMarginMedium:"0 0 0 8px",inputWidthLarge:"60px",selectWidthLarge:"unset",inputMarginLarge:"0 0 0 8px",inputMarginLargeRtl:"0 8px 0 0",selectMarginLarge:"0 0 0 8px",prefixMarginLarge:"0 8px 0 0",suffixMarginLarge:"0 0 0 8px"},Op=e=>{const{textColor2:t,primaryColor:n,primaryColorHover:o,primaryColorPressed:i,inputColorDisabled:r,textColorDisabled:a,borderColor:s,borderRadius:l,fontSizeTiny:c,fontSizeSmall:d,fontSizeMedium:u,heightTiny:h,heightSmall:m,heightMedium:g}=e;return Object.assign(Object.assign({},c9),{buttonColor:"#0000",buttonColorHover:"#0000",buttonColorPressed:"#0000",buttonBorder:`1px solid ${s}`,buttonBorderHover:`1px solid ${s}`,buttonBorderPressed:`1px solid ${s}`,buttonIconColor:t,buttonIconColorHover:t,buttonIconColorPressed:t,itemTextColor:t,itemTextColorHover:o,itemTextColorPressed:i,itemTextColorActive:n,itemTextColorDisabled:a,itemColor:"#0000",itemColorHover:"#0000",itemColorPressed:"#0000",itemColorActive:"#0000",itemColorActiveHover:"#0000",itemColorDisabled:r,itemBorder:"1px solid #0000",itemBorderHover:"1px solid #0000",itemBorderPressed:"1px solid #0000",itemBorderActive:`1px solid ${n}`,itemBorderDisabled:`1px solid ${s}`,itemBorderRadius:l,itemSizeSmall:h,itemSizeMedium:m,itemSizeLarge:g,itemFontSizeSmall:c,itemFontSizeMedium:d,itemFontSizeLarge:u,jumperFontSizeSmall:c,jumperFontSizeMedium:d,jumperFontSizeLarge:u,jumperTextColor:t,jumperTextColorDisabled:a})},d9={name:"Pagination",common:ae,peers:{Select:Lp,Input:sn,Popselect:Mp},self:Op},Hp=d9,u9={name:"Pagination",common:re,peers:{Select:$p,Input:mn,Popselect:Rp},self(e){const{primaryColor:t,opacity3:n}=e,o=U(t,{alpha:Number(n)}),i=Op(e);return i.itemBorderActive=`1px solid ${o}`,i.itemBorderDisabled="1px solid #0000",i}},Bp=u9,Np={padding:"8px 14px"},h9={name:"Tooltip",common:re,peers:{Popover:oi},self(e){const{borderRadius:t,boxShadow2:n,popoverColor:o,textColor2:i}=e;return Object.assign(Object.assign({},Np),{borderRadius:t,boxShadow:n,color:o,textColor:i})}},Ts=h9,f9=e=>{const{borderRadius:t,boxShadow2:n,baseColor:o}=e;return Object.assign(Object.assign({},Np),{borderRadius:t,boxShadow:n,color:he(o,"rgba(0, 0, 0, .85)"),textColor:o})},g9={name:"Tooltip",common:ae,peers:{Popover:xo},self:f9},Gr=g9,m9={name:"Ellipsis",common:re,peers:{Tooltip:Ts}},zp=m9,p9={name:"Ellipsis",common:ae,peers:{Tooltip:Gr}},Jc=p9,Fp={radioSizeSmall:"14px",radioSizeMedium:"16px",radioSizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"},b9={name:"Radio",common:re,self(e){const{borderColor:t,primaryColor:n,baseColor:o,textColorDisabled:i,inputColorDisabled:r,textColor2:a,opacityDisabled:s,borderRadius:l,fontSizeSmall:c,fontSizeMedium:d,fontSizeLarge:u,heightSmall:h,heightMedium:m,heightLarge:g,lineHeight:v}=e;return Object.assign(Object.assign({},Fp),{labelLineHeight:v,buttonHeightSmall:h,buttonHeightMedium:m,buttonHeightLarge:g,fontSizeSmall:c,fontSizeMedium:d,fontSizeLarge:u,boxShadow:`inset 0 0 0 1px ${t}`,boxShadowActive:`inset 0 0 0 1px ${n}`,boxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${U(n,{alpha:.3})}`,boxShadowHover:`inset 0 0 0 1px ${n}`,boxShadowDisabled:`inset 0 0 0 1px ${t}`,color:"#0000",colorDisabled:r,colorActive:"#0000",textColor:a,textColorDisabled:i,dotColorActive:n,dotColorDisabled:t,buttonBorderColor:t,buttonBorderColorActive:n,buttonBorderColorHover:n,buttonColor:"#0000",buttonColorActive:n,buttonTextColor:a,buttonTextColorActive:o,buttonTextColorHover:n,opacityDisabled:s,buttonBoxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${U(n,{alpha:.3})}`,buttonBoxShadowHover:`inset 0 0 0 1px ${n}`,buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:l})}},Wp=b9,v9=e=>{const{borderColor:t,primaryColor:n,baseColor:o,textColorDisabled:i,inputColorDisabled:r,textColor2:a,opacityDisabled:s,borderRadius:l,fontSizeSmall:c,fontSizeMedium:d,fontSizeLarge:u,heightSmall:h,heightMedium:m,heightLarge:g,lineHeight:v}=e;return Object.assign(Object.assign({},Fp),{labelLineHeight:v,buttonHeightSmall:h,buttonHeightMedium:m,buttonHeightLarge:g,fontSizeSmall:c,fontSizeMedium:d,fontSizeLarge:u,boxShadow:`inset 0 0 0 1px ${t}`,boxShadowActive:`inset 0 0 0 1px ${n}`,boxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${U(n,{alpha:.2})}`,boxShadowHover:`inset 0 0 0 1px ${n}`,boxShadowDisabled:`inset 0 0 0 1px ${t}`,color:o,colorDisabled:r,colorActive:"#0000",textColor:a,textColorDisabled:i,dotColorActive:n,dotColorDisabled:t,buttonBorderColor:t,buttonBorderColorActive:n,buttonBorderColorHover:t,buttonColor:o,buttonColorActive:o,buttonTextColor:a,buttonTextColorActive:n,buttonTextColorHover:n,opacityDisabled:s,buttonBoxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${U(n,{alpha:.3})}`,buttonBoxShadowHover:"inset 0 0 0 1px #0000",buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:l})},y9={name:"Radio",common:ae,self:v9},jp=y9,x9={padding:"4px 0",optionIconSizeSmall:"14px",optionIconSizeMedium:"16px",optionIconSizeLarge:"16px",optionIconSizeHuge:"18px",optionSuffixWidthSmall:"14px",optionSuffixWidthMedium:"14px",optionSuffixWidthLarge:"16px",optionSuffixWidthHuge:"16px",optionIconSuffixWidthSmall:"32px",optionIconSuffixWidthMedium:"32px",optionIconSuffixWidthLarge:"36px",optionIconSuffixWidthHuge:"36px",optionPrefixWidthSmall:"14px",optionPrefixWidthMedium:"14px",optionPrefixWidthLarge:"16px",optionPrefixWidthHuge:"16px",optionIconPrefixWidthSmall:"36px",optionIconPrefixWidthMedium:"36px",optionIconPrefixWidthLarge:"40px",optionIconPrefixWidthHuge:"40px"},Gp=e=>{const{primaryColor:t,textColor2:n,dividerColor:o,hoverColor:i,popoverColor:r,invertedColor:a,borderRadius:s,fontSizeSmall:l,fontSizeMedium:c,fontSizeLarge:d,fontSizeHuge:u,heightSmall:h,heightMedium:m,heightLarge:g,heightHuge:v,textColor3:p,opacityDisabled:f}=e;return Object.assign(Object.assign({},x9),{optionHeightSmall:h,optionHeightMedium:m,optionHeightLarge:g,optionHeightHuge:v,borderRadius:s,fontSizeSmall:l,fontSizeMedium:c,fontSizeLarge:d,fontSizeHuge:u,optionTextColor:n,optionTextColorHover:n,optionTextColorActive:t,optionTextColorChildActive:t,color:r,dividerColor:o,suffixColor:n,prefixColor:n,optionColorHover:i,optionColorActive:U(t,{alpha:.1}),groupHeaderTextColor:p,optionTextColorInverted:"#BBB",optionTextColorHoverInverted:"#FFF",optionTextColorActiveInverted:"#FFF",optionTextColorChildActiveInverted:"#FFF",colorInverted:a,dividerColorInverted:"#BBB",suffixColorInverted:"#BBB",prefixColorInverted:"#BBB",optionColorHoverInverted:t,optionColorActiveInverted:t,groupHeaderTextColorInverted:"#AAA",optionOpacityDisabled:f})},k9={name:"Dropdown",common:ae,peers:{Popover:xo},self:Gp},ws=k9,C9={name:"Dropdown",common:re,peers:{Popover:oi},self(e){const{primaryColorSuppl:t,primaryColor:n,popoverColor:o}=e,i=Gp(e);return i.colorInverted=o,i.optionColorActive=U(n,{alpha:.15}),i.optionColorActiveInverted=t,i.optionColorHoverInverted=t,i}},Qc=C9,T9={thPaddingSmall:"8px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"8px",tdPaddingMedium:"12px",tdPaddingLarge:"12px",sorterSize:"15px",resizableContainerSize:"8px",resizableSize:"2px",filterSize:"15px",paginationMargin:"12px 0 0 0",emptyPadding:"48px 0",actionPadding:"8px 12px",actionButtonMargin:"0 8px 0 0"},Vp=e=>{const{cardColor:t,modalColor:n,popoverColor:o,textColor2:i,textColor1:r,tableHeaderColor:a,tableColorHover:s,iconColor:l,primaryColor:c,fontWeightStrong:d,borderRadius:u,lineHeight:h,fontSizeSmall:m,fontSizeMedium:g,fontSizeLarge:v,dividerColor:p,heightSmall:f,opacityDisabled:x,tableColorStriped:A}=e;return Object.assign(Object.assign({},T9),{actionDividerColor:p,lineHeight:h,borderRadius:u,fontSizeSmall:m,fontSizeMedium:g,fontSizeLarge:v,borderColor:he(t,p),tdColorHover:he(t,s),tdColorStriped:he(t,A),thColor:he(t,a),thColorHover:he(he(t,a),s),tdColor:t,tdTextColor:i,thTextColor:r,thFontWeight:d,thButtonColorHover:s,thIconColor:l,thIconColorActive:c,borderColorModal:he(n,p),tdColorHoverModal:he(n,s),tdColorStripedModal:he(n,A),thColorModal:he(n,a),thColorHoverModal:he(he(n,a),s),tdColorModal:n,borderColorPopover:he(o,p),tdColorHoverPopover:he(o,s),tdColorStripedPopover:he(o,A),thColorPopover:he(o,a),thColorHoverPopover:he(he(o,a),s),tdColorPopover:o,boxShadowBefore:"inset -12px 0 8px -12px rgba(0, 0, 0, .18)",boxShadowAfter:"inset 12px 0 8px -12px rgba(0, 0, 0, .18)",loadingColor:c,loadingSize:f,opacityLoading:x})},w9={name:"DataTable",common:ae,peers:{Button:Kt,Checkbox:zi,Radio:jp,Pagination:Hp,Scrollbar:Vt,Empty:Xn,Popover:xo,Ellipsis:Jc,Dropdown:ws},self:Vp},S9=w9,_9={name:"DataTable",common:re,peers:{Button:Qt,Checkbox:Fi,Radio:Wp,Pagination:Bp,Scrollbar:Jt,Empty:ni,Popover:oi,Ellipsis:zp,Dropdown:Qc},self(e){const t=Vp(e);return t.boxShadowAfter="inset 12px 0 8px -12px rgba(0, 0, 0, .36)",t.boxShadowBefore="inset -12px 0 8px -12px rgba(0, 0, 0, .36)",t}},P9=_9,A9=Object.assign(Object.assign({},ks),Pe.props),I9=se({name:"Tooltip",props:A9,__popover__:!0,setup(e){const{mergedClsPrefixRef:t}=lt(e),n=Pe("Tooltip","-tooltip",void 0,Gr,e,t),o=j(null);return Object.assign(Object.assign({},{syncPosition(){o.value.syncPosition()},setShow(r){o.value.setShow(r)}}),{popoverRef:o,mergedTheme:n,popoverThemeOverrides:z(()=>n.value.self)})},render(){const{mergedTheme:e,internalExtraClass:t}=this;return T(Cs,Object.assign(Object.assign({},this.$props),{theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,builtinThemeOverrides:this.popoverThemeOverrides,internalExtraClass:t.concat("tooltip"),ref:"popoverRef"}),this.$slots)}}),E9=Q("ellipsis",{overflow:"hidden"},[Rt("line-clamp",` white-space: nowrap; display: inline-block; vertical-align: bottom; @@ -854,7 +854,7 @@ ${t} -webkit-box-orient: vertical; `),Y("cursor-pointer",` cursor: pointer; - `)]);function Th(e){return`${e}-ellipsis--line-clamp`}function wh(e,t){return`${e}-ellipsis--cursor-${t}`}const M9=Object.assign(Object.assign({},Pe.props),{expandTrigger:String,lineClamp:[Number,String],tooltip:{type:[Boolean,Object],default:!0}}),D9=se({name:"Ellipsis",inheritAttrs:!1,props:M9,setup(e,{slots:t,attrs:n}){const o=cT(),i=Pe("Ellipsis","-ellipsis",R9,Jc,e,o),r=j(null),a=j(null),s=j(null),l=j(!1),c=z(()=>{const{lineClamp:p}=e,{value:f}=l;return p!==void 0?{textOverflow:"","-webkit-line-clamp":f?"":p}:{textOverflow:f?"":"ellipsis","-webkit-line-clamp":""}});function d(){let p=!1;const{value:f}=l;if(f)return!0;const{value:x}=r;if(x){const{lineClamp:A}=e;if(m(x),A!==void 0)p=x.scrollHeight<=x.offsetHeight;else{const{value:k}=a;k&&(p=k.getBoundingClientRect().width<=x.getBoundingClientRect().width)}g(x,p)}return p}const u=z(()=>e.expandTrigger==="click"?()=>{var p;const{value:f}=l;f&&((p=s.value)===null||p===void 0||p.setShow(!1)),l.value=!f}:void 0);yc(()=>{var p;e.tooltip&&((p=s.value)===null||p===void 0||p.setShow(!1))});const h=()=>T("span",Object.assign({},Ln(n,{class:[`${o.value}-ellipsis`,e.lineClamp!==void 0?Th(o.value):void 0,e.expandTrigger==="click"?wh(o.value,"pointer"):void 0],style:c.value}),{ref:"triggerRef",onClick:u.value,onMouseenter:e.expandTrigger==="click"?d:void 0}),e.lineClamp?t:T("span",{ref:"triggerInnerRef"},t));function m(p){if(!p)return;const f=c.value,x=Th(o.value);e.lineClamp!==void 0?v(p,x,"add"):v(p,x,"remove");for(const A in f)p.style[A]!==f[A]&&(p.style[A]=f[A])}function g(p,f){const x=wh(o.value,"pointer");e.expandTrigger==="click"&&!f?v(p,x,"add"):v(p,x,"remove")}function v(p,f,x){x==="add"?p.classList.contains(f)||p.classList.add(f):p.classList.contains(f)&&p.classList.remove(f)}return{mergedTheme:i,triggerRef:r,triggerInnerRef:a,tooltipRef:s,handleClick:u,renderTrigger:h,getTooltipDisabled:d}},render(){var e;const{tooltip:t,renderTrigger:n,$slots:o}=this;if(t){const{mergedTheme:i}=this;return T(E9,Object.assign({ref:"tooltipRef",placement:"top"},t,{getDisabled:this.getTooltipDisabled,theme:i.peers.Tooltip,themeOverrides:i.peerOverrides.Tooltip}),{trigger:n,default:(e=o.tooltip)!==null&&e!==void 0?e:o.default})}else return n()}}),Kp=se({name:"DropdownDivider",props:{clsPrefix:{type:String,required:!0}},render(){return T("div",{class:`${this.clsPrefix}-dropdown-divider`})}}),Up=e=>{const{textColorBase:t,opacity1:n,opacity2:o,opacity3:i,opacity4:r,opacity5:a}=e;return{color:t,opacity1Depth:n,opacity2Depth:o,opacity3Depth:i,opacity4Depth:r,opacity5Depth:a}},L9={name:"Icon",common:ae,self:Up},qp=L9,$9={name:"Icon",common:re,self:Up},O9=$9,H9=Q("icon",` + `)]);function Th(e){return`${e}-ellipsis--line-clamp`}function wh(e,t){return`${e}-ellipsis--cursor-${t}`}const R9=Object.assign(Object.assign({},Pe.props),{expandTrigger:String,lineClamp:[Number,String],tooltip:{type:[Boolean,Object],default:!0}}),M9=se({name:"Ellipsis",inheritAttrs:!1,props:R9,setup(e,{slots:t,attrs:n}){const o=lT(),i=Pe("Ellipsis","-ellipsis",E9,Jc,e,o),r=j(null),a=j(null),s=j(null),l=j(!1),c=z(()=>{const{lineClamp:p}=e,{value:f}=l;return p!==void 0?{textOverflow:"","-webkit-line-clamp":f?"":p}:{textOverflow:f?"":"ellipsis","-webkit-line-clamp":""}});function d(){let p=!1;const{value:f}=l;if(f)return!0;const{value:x}=r;if(x){const{lineClamp:A}=e;if(m(x),A!==void 0)p=x.scrollHeight<=x.offsetHeight;else{const{value:k}=a;k&&(p=k.getBoundingClientRect().width<=x.getBoundingClientRect().width)}g(x,p)}return p}const u=z(()=>e.expandTrigger==="click"?()=>{var p;const{value:f}=l;f&&((p=s.value)===null||p===void 0||p.setShow(!1)),l.value=!f}:void 0);yc(()=>{var p;e.tooltip&&((p=s.value)===null||p===void 0||p.setShow(!1))});const h=()=>T("span",Object.assign({},Ln(n,{class:[`${o.value}-ellipsis`,e.lineClamp!==void 0?Th(o.value):void 0,e.expandTrigger==="click"?wh(o.value,"pointer"):void 0],style:c.value}),{ref:"triggerRef",onClick:u.value,onMouseenter:e.expandTrigger==="click"?d:void 0}),e.lineClamp?t:T("span",{ref:"triggerInnerRef"},t));function m(p){if(!p)return;const f=c.value,x=Th(o.value);e.lineClamp!==void 0?v(p,x,"add"):v(p,x,"remove");for(const A in f)p.style[A]!==f[A]&&(p.style[A]=f[A])}function g(p,f){const x=wh(o.value,"pointer");e.expandTrigger==="click"&&!f?v(p,x,"add"):v(p,x,"remove")}function v(p,f,x){x==="add"?p.classList.contains(f)||p.classList.add(f):p.classList.contains(f)&&p.classList.remove(f)}return{mergedTheme:i,triggerRef:r,triggerInnerRef:a,tooltipRef:s,handleClick:u,renderTrigger:h,getTooltipDisabled:d}},render(){var e;const{tooltip:t,renderTrigger:n,$slots:o}=this;if(t){const{mergedTheme:i}=this;return T(I9,Object.assign({ref:"tooltipRef",placement:"top"},t,{getDisabled:this.getTooltipDisabled,theme:i.peers.Tooltip,themeOverrides:i.peerOverrides.Tooltip}),{trigger:n,default:(e=o.tooltip)!==null&&e!==void 0?e:o.default})}else return n()}}),Kp=se({name:"DropdownDivider",props:{clsPrefix:{type:String,required:!0}},render(){return T("div",{class:`${this.clsPrefix}-dropdown-divider`})}}),Up=e=>{const{textColorBase:t,opacity1:n,opacity2:o,opacity3:i,opacity4:r,opacity5:a}=e;return{color:t,opacity1Depth:n,opacity2Depth:o,opacity3Depth:i,opacity4Depth:r,opacity5Depth:a}},D9={name:"Icon",common:ae,self:Up},qp=D9,L9={name:"Icon",common:re,self:Up},$9=L9,O9=Q("icon",` height: 1em; width: 1em; line-height: 1em; @@ -863,7 +863,7 @@ ${t} position: relative; fill: currentColor; transform: translateZ(0); -`,[Y("color-transition",{transition:"color .3s var(--n-bezier)"}),Y("depth",{color:"var(--n-color)"},[N("svg",{opacity:"var(--n-opacity)",transition:"opacity .3s var(--n-bezier)"})]),N("svg",{height:"1em",width:"1em"})]),B9=Object.assign(Object.assign({},Pe.props),{depth:[String,Number],size:[Number,String],color:String,component:Object}),ed=se({_n_icon__:!0,name:"Icon",inheritAttrs:!1,props:B9,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=lt(e),o=Pe("Icon","-icon",H9,qp,e,t),i=z(()=>{const{depth:a}=e,{common:{cubicBezierEaseInOut:s},self:l}=o.value;if(a!==void 0){const{color:c,[`opacity${a}Depth`]:d}=l;return{"--n-bezier":s,"--n-color":c,"--n-opacity":d}}return{"--n-bezier":s,"--n-color":"","--n-opacity":""}}),r=n?_t("icon",z(()=>`${e.depth||"d"}`),i,e):void 0;return{mergedClsPrefix:t,mergedStyle:z(()=>{const{size:a,color:s}=e;return{fontSize:Ca(a),color:s}}),cssVars:n?void 0:i,themeClass:r==null?void 0:r.themeClass,onRender:r==null?void 0:r.onRender}},render(){var e;const{$parent:t,depth:n,mergedClsPrefix:o,component:i,onRender:r,themeClass:a}=this;return!((e=t==null?void 0:t.$options)===null||e===void 0)&&e._n_icon__&&Pi("icon","don't wrap `n-icon` inside `n-icon`"),r==null||r(),T("i",Ln(this.$attrs,{role:"img",class:[`${o}-icon`,a,{[`${o}-icon--depth`]:n,[`${o}-icon--color-transition`]:n!==void 0}],style:[this.cssVars,this.mergedStyle]}),i?T(i):this.$slots)}}),td="n-dropdown-menu",Ss="n-dropdown",Sh="n-dropdown-option";function Nl(e,t){return e.type==="submenu"||e.type===void 0&&e[t]!==void 0}function N9(e){return e.type==="group"}function Xp(e){return e.type==="divider"}function z9(e){return e.type==="render"}const Zp=se({name:"DropdownOption",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0},parentKey:{type:[String,Number],default:null},placement:{type:String,default:"right-start"},props:Object,scrollable:Boolean},setup(e){const t=Ie(Ss),{hoverKeyRef:n,keyboardKeyRef:o,lastToggledSubmenuKeyRef:i,pendingKeyPathRef:r,activeKeyPathRef:a,animatedRef:s,mergedShowRef:l,renderLabelRef:c,renderIconRef:d,labelFieldRef:u,childrenFieldRef:h,renderOptionRef:m,nodePropsRef:g,menuPropsRef:v}=t,p=Ie(Sh,null),f=Ie(td),x=Ie(Nr),A=z(()=>e.tmNode.rawNode),k=z(()=>{const{value:W}=h;return Nl(e.tmNode.rawNode,W)}),w=z(()=>{const{disabled:W}=e.tmNode;return W}),I=z(()=>{if(!k.value)return!1;const{key:W,disabled:oe}=e.tmNode;if(oe)return!1;const{value:fe}=n,{value:we}=o,{value:De}=i,{value:Le}=r;return fe!==null?Le.includes(W):we!==null?Le.includes(W)&&Le[Le.length-1]!==W:De!==null?Le.includes(W):!1}),C=z(()=>o.value===null&&!s.value),S=H2(I,300,C),E=z(()=>!!(p!=null&&p.enteringSubmenuRef.value)),R=j(!1);We(Sh,{enteringSubmenuRef:R});function G(){R.value=!0}function M(){R.value=!1}function q(){const{parentKey:W,tmNode:oe}=e;oe.disabled||l.value&&(i.value=W,o.value=null,n.value=oe.key)}function ee(){const{tmNode:W}=e;W.disabled||l.value&&n.value!==W.key&&q()}function O(W){if(e.tmNode.disabled||!l.value)return;const{relatedTarget:oe}=W;oe&&!eu({target:oe},"dropdownOption")&&!eu({target:oe},"scrollbarRail")&&(n.value=null)}function V(){const{value:W}=k,{tmNode:oe}=e;l.value&&!W&&!oe.disabled&&(t.doSelect(oe.key,oe.rawNode),t.doUpdateShow(!1))}return{labelField:u,renderLabel:c,renderIcon:d,siblingHasIcon:f.showIconRef,siblingHasSubmenu:f.hasSubmenuRef,menuProps:v,popoverBody:x,animated:s,mergedShowSubmenu:z(()=>S.value&&!E.value),rawNode:A,hasSubmenu:k,pending:wt(()=>{const{value:W}=r,{key:oe}=e.tmNode;return W.includes(oe)}),childActive:wt(()=>{const{value:W}=a,{key:oe}=e.tmNode,fe=W.findIndex(we=>oe===we);return fe===-1?!1:fe{const{value:W}=a,{key:oe}=e.tmNode,fe=W.findIndex(we=>oe===we);return fe===-1?!1:fe===W.length-1}),mergedDisabled:w,renderOption:m,nodeProps:g,handleClick:V,handleMouseMove:ee,handleMouseEnter:q,handleMouseLeave:O,handleSubmenuBeforeEnter:G,handleSubmenuAfterEnter:M}},render(){var e,t;const{animated:n,rawNode:o,mergedShowSubmenu:i,clsPrefix:r,siblingHasIcon:a,siblingHasSubmenu:s,renderLabel:l,renderIcon:c,renderOption:d,nodeProps:u,props:h,scrollable:m}=this;let g=null;if(i){const x=(e=this.menuProps)===null||e===void 0?void 0:e.call(this,o,o.children);g=T(Yp,Object.assign({},x,{clsPrefix:r,scrollable:this.scrollable,tmNodes:this.tmNode.children,parentKey:this.tmNode.key}))}const v={class:[`${r}-dropdown-option-body`,this.pending&&`${r}-dropdown-option-body--pending`,this.active&&`${r}-dropdown-option-body--active`,this.childActive&&`${r}-dropdown-option-body--child-active`,this.mergedDisabled&&`${r}-dropdown-option-body--disabled`],onMousemove:this.handleMouseMove,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onClick:this.handleClick},p=u==null?void 0:u(o),f=T("div",Object.assign({class:[`${r}-dropdown-option`,p==null?void 0:p.class],"data-dropdown-option":!0},p),T("div",Ln(v,h),[T("div",{class:[`${r}-dropdown-option-body__prefix`,a&&`${r}-dropdown-option-body__prefix--show-icon`]},[c?c(o):It(o.icon)]),T("div",{"data-dropdown-option":!0,class:`${r}-dropdown-option-body__label`},l?l(o):It((t=o[this.labelField])!==null&&t!==void 0?t:o.title)),T("div",{"data-dropdown-option":!0,class:[`${r}-dropdown-option-body__suffix`,s&&`${r}-dropdown-option-body__suffix--has-submenu`]},this.hasSubmenu?T(ed,null,{default:()=>T(ew,null)}):null)]),this.hasSubmenu?T(Hg,null,{default:()=>[T(Bg,null,{default:()=>T("div",{class:`${r}-dropdown-offset-container`},T(Fg,{show:this.mergedShowSubmenu,placement:this.placement,to:m&&this.popoverBody||void 0,teleportDisabled:!m},{default:()=>T("div",{class:`${r}-dropdown-menu-wrapper`},n?T(gn,{onBeforeEnter:this.handleSubmenuBeforeEnter,onAfterEnter:this.handleSubmenuAfterEnter,name:"fade-in-scale-up-transition",appear:!0},{default:()=>g}):g)}))})]}):null);return d?d({node:f,option:o}):f}}),F9=se({name:"DropdownGroupHeader",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(){const{showIconRef:e,hasSubmenuRef:t}=Ie(td),{renderLabelRef:n,labelFieldRef:o,nodePropsRef:i,renderOptionRef:r}=Ie(Ss);return{labelField:o,showIcon:e,hasSubmenu:t,renderLabel:n,nodeProps:i,renderOption:r}},render(){var e;const{clsPrefix:t,hasSubmenu:n,showIcon:o,nodeProps:i,renderLabel:r,renderOption:a}=this,{rawNode:s}=this.tmNode,l=T("div",Object.assign({class:`${t}-dropdown-option`},i==null?void 0:i(s)),T("div",{class:`${t}-dropdown-option-body ${t}-dropdown-option-body--group`},T("div",{"data-dropdown-option":!0,class:[`${t}-dropdown-option-body__prefix`,o&&`${t}-dropdown-option-body__prefix--show-icon`]},It(s.icon)),T("div",{class:`${t}-dropdown-option-body__label`,"data-dropdown-option":!0},r?r(s):It((e=s.title)!==null&&e!==void 0?e:s[this.labelField])),T("div",{class:[`${t}-dropdown-option-body__suffix`,n&&`${t}-dropdown-option-body__suffix--has-submenu`],"data-dropdown-option":!0})));return a?a({node:l,option:s}):l}}),W9=se({name:"NDropdownGroup",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0},parentKey:{type:[String,Number],default:null}},render(){const{tmNode:e,parentKey:t,clsPrefix:n}=this,{children:o}=e;return T(He,null,T(F9,{clsPrefix:n,tmNode:e,key:e.key}),o==null?void 0:o.map(i=>{const{rawNode:r}=i;return r.show===!1?null:Xp(r)?T(Kp,{clsPrefix:n,key:i.key}):i.isGroup?(Pi("dropdown","`group` node is not allowed to be put in `group` node."),null):T(Zp,{clsPrefix:n,tmNode:i,parentKey:t,key:i.key})}))}}),j9=se({name:"DropdownRenderOption",props:{tmNode:{type:Object,required:!0}},render(){const{rawNode:{render:e,props:t}}=this.tmNode;return T("div",t,[e==null?void 0:e()])}}),Yp=se({name:"DropdownMenu",props:{scrollable:Boolean,showArrow:Boolean,arrowStyle:[String,Object],clsPrefix:{type:String,required:!0},tmNodes:{type:Array,default:()=>[]},parentKey:{type:[String,Number],default:null}},setup(e){const{renderIconRef:t,childrenFieldRef:n}=Ie(Ss);We(td,{showIconRef:z(()=>{const i=t.value;return e.tmNodes.some(r=>{var a;if(r.isGroup)return(a=r.children)===null||a===void 0?void 0:a.some(({rawNode:l})=>i?i(l):l.icon);const{rawNode:s}=r;return i?i(s):s.icon})}),hasSubmenuRef:z(()=>{const{value:i}=n;return e.tmNodes.some(r=>{var a;if(r.isGroup)return(a=r.children)===null||a===void 0?void 0:a.some(({rawNode:l})=>Nl(l,i));const{rawNode:s}=r;return Nl(s,i)})})});const o=j(null);return We(ls,null),We(cs,null),We(Nr,o),{bodyRef:o}},render(){const{parentKey:e,clsPrefix:t,scrollable:n}=this,o=this.tmNodes.map(i=>{const{rawNode:r}=i;return r.show===!1?null:z9(r)?T(j9,{tmNode:i,key:i.key}):Xp(r)?T(Kp,{clsPrefix:t,key:i.key}):N9(r)?T(W9,{clsPrefix:t,tmNode:i,parentKey:e,key:i.key}):T(Zp,{clsPrefix:t,tmNode:i,parentKey:e,key:i.key,props:r.props,scrollable:n})});return T("div",{class:[`${t}-dropdown-menu`,n&&`${t}-dropdown-menu--scrollable`],ref:"bodyRef"},n?T(Ym,{contentClass:`${t}-dropdown-menu__content`},{default:()=>o}):o,this.showArrow?np({clsPrefix:t,arrowStyle:this.arrowStyle}):null)}}),G9=Q("dropdown-menu",` +`,[Y("color-transition",{transition:"color .3s var(--n-bezier)"}),Y("depth",{color:"var(--n-color)"},[N("svg",{opacity:"var(--n-opacity)",transition:"opacity .3s var(--n-bezier)"})]),N("svg",{height:"1em",width:"1em"})]),H9=Object.assign(Object.assign({},Pe.props),{depth:[String,Number],size:[Number,String],color:String,component:Object}),ed=se({_n_icon__:!0,name:"Icon",inheritAttrs:!1,props:H9,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=lt(e),o=Pe("Icon","-icon",O9,qp,e,t),i=z(()=>{const{depth:a}=e,{common:{cubicBezierEaseInOut:s},self:l}=o.value;if(a!==void 0){const{color:c,[`opacity${a}Depth`]:d}=l;return{"--n-bezier":s,"--n-color":c,"--n-opacity":d}}return{"--n-bezier":s,"--n-color":"","--n-opacity":""}}),r=n?_t("icon",z(()=>`${e.depth||"d"}`),i,e):void 0;return{mergedClsPrefix:t,mergedStyle:z(()=>{const{size:a,color:s}=e;return{fontSize:Ca(a),color:s}}),cssVars:n?void 0:i,themeClass:r==null?void 0:r.themeClass,onRender:r==null?void 0:r.onRender}},render(){var e;const{$parent:t,depth:n,mergedClsPrefix:o,component:i,onRender:r,themeClass:a}=this;return!((e=t==null?void 0:t.$options)===null||e===void 0)&&e._n_icon__&&Pi("icon","don't wrap `n-icon` inside `n-icon`"),r==null||r(),T("i",Ln(this.$attrs,{role:"img",class:[`${o}-icon`,a,{[`${o}-icon--depth`]:n,[`${o}-icon--color-transition`]:n!==void 0}],style:[this.cssVars,this.mergedStyle]}),i?T(i):this.$slots)}}),td="n-dropdown-menu",Ss="n-dropdown",Sh="n-dropdown-option";function Nl(e,t){return e.type==="submenu"||e.type===void 0&&e[t]!==void 0}function B9(e){return e.type==="group"}function Xp(e){return e.type==="divider"}function N9(e){return e.type==="render"}const Zp=se({name:"DropdownOption",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0},parentKey:{type:[String,Number],default:null},placement:{type:String,default:"right-start"},props:Object,scrollable:Boolean},setup(e){const t=Ie(Ss),{hoverKeyRef:n,keyboardKeyRef:o,lastToggledSubmenuKeyRef:i,pendingKeyPathRef:r,activeKeyPathRef:a,animatedRef:s,mergedShowRef:l,renderLabelRef:c,renderIconRef:d,labelFieldRef:u,childrenFieldRef:h,renderOptionRef:m,nodePropsRef:g,menuPropsRef:v}=t,p=Ie(Sh,null),f=Ie(td),x=Ie(Nr),A=z(()=>e.tmNode.rawNode),k=z(()=>{const{value:W}=h;return Nl(e.tmNode.rawNode,W)}),w=z(()=>{const{disabled:W}=e.tmNode;return W}),I=z(()=>{if(!k.value)return!1;const{key:W,disabled:oe}=e.tmNode;if(oe)return!1;const{value:fe}=n,{value:we}=o,{value:De}=i,{value:Le}=r;return fe!==null?Le.includes(W):we!==null?Le.includes(W)&&Le[Le.length-1]!==W:De!==null?Le.includes(W):!1}),C=z(()=>o.value===null&&!s.value),S=O2(I,300,C),E=z(()=>!!(p!=null&&p.enteringSubmenuRef.value)),R=j(!1);We(Sh,{enteringSubmenuRef:R});function G(){R.value=!0}function M(){R.value=!1}function q(){const{parentKey:W,tmNode:oe}=e;oe.disabled||l.value&&(i.value=W,o.value=null,n.value=oe.key)}function ee(){const{tmNode:W}=e;W.disabled||l.value&&n.value!==W.key&&q()}function O(W){if(e.tmNode.disabled||!l.value)return;const{relatedTarget:oe}=W;oe&&!eu({target:oe},"dropdownOption")&&!eu({target:oe},"scrollbarRail")&&(n.value=null)}function V(){const{value:W}=k,{tmNode:oe}=e;l.value&&!W&&!oe.disabled&&(t.doSelect(oe.key,oe.rawNode),t.doUpdateShow(!1))}return{labelField:u,renderLabel:c,renderIcon:d,siblingHasIcon:f.showIconRef,siblingHasSubmenu:f.hasSubmenuRef,menuProps:v,popoverBody:x,animated:s,mergedShowSubmenu:z(()=>S.value&&!E.value),rawNode:A,hasSubmenu:k,pending:wt(()=>{const{value:W}=r,{key:oe}=e.tmNode;return W.includes(oe)}),childActive:wt(()=>{const{value:W}=a,{key:oe}=e.tmNode,fe=W.findIndex(we=>oe===we);return fe===-1?!1:fe{const{value:W}=a,{key:oe}=e.tmNode,fe=W.findIndex(we=>oe===we);return fe===-1?!1:fe===W.length-1}),mergedDisabled:w,renderOption:m,nodeProps:g,handleClick:V,handleMouseMove:ee,handleMouseEnter:q,handleMouseLeave:O,handleSubmenuBeforeEnter:G,handleSubmenuAfterEnter:M}},render(){var e,t;const{animated:n,rawNode:o,mergedShowSubmenu:i,clsPrefix:r,siblingHasIcon:a,siblingHasSubmenu:s,renderLabel:l,renderIcon:c,renderOption:d,nodeProps:u,props:h,scrollable:m}=this;let g=null;if(i){const x=(e=this.menuProps)===null||e===void 0?void 0:e.call(this,o,o.children);g=T(Yp,Object.assign({},x,{clsPrefix:r,scrollable:this.scrollable,tmNodes:this.tmNode.children,parentKey:this.tmNode.key}))}const v={class:[`${r}-dropdown-option-body`,this.pending&&`${r}-dropdown-option-body--pending`,this.active&&`${r}-dropdown-option-body--active`,this.childActive&&`${r}-dropdown-option-body--child-active`,this.mergedDisabled&&`${r}-dropdown-option-body--disabled`],onMousemove:this.handleMouseMove,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onClick:this.handleClick},p=u==null?void 0:u(o),f=T("div",Object.assign({class:[`${r}-dropdown-option`,p==null?void 0:p.class],"data-dropdown-option":!0},p),T("div",Ln(v,h),[T("div",{class:[`${r}-dropdown-option-body__prefix`,a&&`${r}-dropdown-option-body__prefix--show-icon`]},[c?c(o):It(o.icon)]),T("div",{"data-dropdown-option":!0,class:`${r}-dropdown-option-body__label`},l?l(o):It((t=o[this.labelField])!==null&&t!==void 0?t:o.title)),T("div",{"data-dropdown-option":!0,class:[`${r}-dropdown-option-body__suffix`,s&&`${r}-dropdown-option-body__suffix--has-submenu`]},this.hasSubmenu?T(ed,null,{default:()=>T(QT,null)}):null)]),this.hasSubmenu?T(Hg,null,{default:()=>[T(Bg,null,{default:()=>T("div",{class:`${r}-dropdown-offset-container`},T(Fg,{show:this.mergedShowSubmenu,placement:this.placement,to:m&&this.popoverBody||void 0,teleportDisabled:!m},{default:()=>T("div",{class:`${r}-dropdown-menu-wrapper`},n?T(gn,{onBeforeEnter:this.handleSubmenuBeforeEnter,onAfterEnter:this.handleSubmenuAfterEnter,name:"fade-in-scale-up-transition",appear:!0},{default:()=>g}):g)}))})]}):null);return d?d({node:f,option:o}):f}}),z9=se({name:"DropdownGroupHeader",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(){const{showIconRef:e,hasSubmenuRef:t}=Ie(td),{renderLabelRef:n,labelFieldRef:o,nodePropsRef:i,renderOptionRef:r}=Ie(Ss);return{labelField:o,showIcon:e,hasSubmenu:t,renderLabel:n,nodeProps:i,renderOption:r}},render(){var e;const{clsPrefix:t,hasSubmenu:n,showIcon:o,nodeProps:i,renderLabel:r,renderOption:a}=this,{rawNode:s}=this.tmNode,l=T("div",Object.assign({class:`${t}-dropdown-option`},i==null?void 0:i(s)),T("div",{class:`${t}-dropdown-option-body ${t}-dropdown-option-body--group`},T("div",{"data-dropdown-option":!0,class:[`${t}-dropdown-option-body__prefix`,o&&`${t}-dropdown-option-body__prefix--show-icon`]},It(s.icon)),T("div",{class:`${t}-dropdown-option-body__label`,"data-dropdown-option":!0},r?r(s):It((e=s.title)!==null&&e!==void 0?e:s[this.labelField])),T("div",{class:[`${t}-dropdown-option-body__suffix`,n&&`${t}-dropdown-option-body__suffix--has-submenu`],"data-dropdown-option":!0})));return a?a({node:l,option:s}):l}}),F9=se({name:"NDropdownGroup",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0},parentKey:{type:[String,Number],default:null}},render(){const{tmNode:e,parentKey:t,clsPrefix:n}=this,{children:o}=e;return T(He,null,T(z9,{clsPrefix:n,tmNode:e,key:e.key}),o==null?void 0:o.map(i=>{const{rawNode:r}=i;return r.show===!1?null:Xp(r)?T(Kp,{clsPrefix:n,key:i.key}):i.isGroup?(Pi("dropdown","`group` node is not allowed to be put in `group` node."),null):T(Zp,{clsPrefix:n,tmNode:i,parentKey:t,key:i.key})}))}}),W9=se({name:"DropdownRenderOption",props:{tmNode:{type:Object,required:!0}},render(){const{rawNode:{render:e,props:t}}=this.tmNode;return T("div",t,[e==null?void 0:e()])}}),Yp=se({name:"DropdownMenu",props:{scrollable:Boolean,showArrow:Boolean,arrowStyle:[String,Object],clsPrefix:{type:String,required:!0},tmNodes:{type:Array,default:()=>[]},parentKey:{type:[String,Number],default:null}},setup(e){const{renderIconRef:t,childrenFieldRef:n}=Ie(Ss);We(td,{showIconRef:z(()=>{const i=t.value;return e.tmNodes.some(r=>{var a;if(r.isGroup)return(a=r.children)===null||a===void 0?void 0:a.some(({rawNode:l})=>i?i(l):l.icon);const{rawNode:s}=r;return i?i(s):s.icon})}),hasSubmenuRef:z(()=>{const{value:i}=n;return e.tmNodes.some(r=>{var a;if(r.isGroup)return(a=r.children)===null||a===void 0?void 0:a.some(({rawNode:l})=>Nl(l,i));const{rawNode:s}=r;return Nl(s,i)})})});const o=j(null);return We(ls,null),We(cs,null),We(Nr,o),{bodyRef:o}},render(){const{parentKey:e,clsPrefix:t,scrollable:n}=this,o=this.tmNodes.map(i=>{const{rawNode:r}=i;return r.show===!1?null:N9(r)?T(W9,{tmNode:i,key:i.key}):Xp(r)?T(Kp,{clsPrefix:t,key:i.key}):B9(r)?T(F9,{clsPrefix:t,tmNode:i,parentKey:e,key:i.key}):T(Zp,{clsPrefix:t,tmNode:i,parentKey:e,key:i.key,props:r.props,scrollable:n})});return T("div",{class:[`${t}-dropdown-menu`,n&&`${t}-dropdown-menu--scrollable`],ref:"bodyRef"},n?T(Ym,{contentClass:`${t}-dropdown-menu__content`},{default:()=>o}):o,this.showArrow?np({clsPrefix:t,arrowStyle:this.arrowStyle}):null)}}),j9=Q("dropdown-menu",` transform-origin: var(--v-transform-origin); background-color: var(--n-color); border-radius: var(--n-border-radius); @@ -979,7 +979,7 @@ ${t} padding: var(--n-padding); `),Y("scrollable",[F("content",` padding: var(--n-padding); - `)])]),V9={animated:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},size:{type:String,default:"medium"},inverted:Boolean,placement:{type:String,default:"bottom"},onSelect:[Function,Array],options:{type:Array,default:()=>[]},menuProps:Function,showArrow:Boolean,renderLabel:Function,renderIcon:Function,renderOption:Function,nodeProps:Function,labelField:{type:String,default:"label"},keyField:{type:String,default:"key"},childrenField:{type:String,default:"children"},value:[String,Number]},K9=Object.keys(ks),U9=Object.assign(Object.assign(Object.assign({},ks),V9),Pe.props),q9=se({name:"Dropdown",inheritAttrs:!1,props:U9,setup(e){const t=j(!1),n=Ic(Ke(e,"show"),t),o=z(()=>{const{keyField:M,childrenField:q}=e;return Lw(e.options,{getKey(ee){return ee[M]},getDisabled(ee){return ee.disabled===!0},getIgnored(ee){return ee.type==="divider"||ee.type==="render"},getChildren(ee){return ee[q]}})}),i=z(()=>o.value.treeNodes),r=j(null),a=j(null),s=j(null),l=z(()=>{var M,q,ee;return(ee=(q=(M=r.value)!==null&&M!==void 0?M:a.value)!==null&&q!==void 0?q:s.value)!==null&&ee!==void 0?ee:null}),c=z(()=>o.value.getPath(l.value).keyPath),d=z(()=>o.value.getPath(e.value).keyPath),u=wt(()=>e.keyboard&&n.value);nx({keydown:{ArrowUp:{prevent:!0,handler:w},ArrowRight:{prevent:!0,handler:k},ArrowDown:{prevent:!0,handler:I},ArrowLeft:{prevent:!0,handler:A},Enter:{prevent:!0,handler:C},Escape:x}},u);const{mergedClsPrefixRef:h,inlineThemeDisabled:m}=lt(e),g=Pe("Dropdown","-dropdown",G9,ws,e,h);We(Ss,{labelFieldRef:Ke(e,"labelField"),childrenFieldRef:Ke(e,"childrenField"),renderLabelRef:Ke(e,"renderLabel"),renderIconRef:Ke(e,"renderIcon"),hoverKeyRef:r,keyboardKeyRef:a,lastToggledSubmenuKeyRef:s,pendingKeyPathRef:c,activeKeyPathRef:d,animatedRef:Ke(e,"animated"),mergedShowRef:n,nodePropsRef:Ke(e,"nodeProps"),renderOptionRef:Ke(e,"renderOption"),menuPropsRef:Ke(e,"menuProps"),doSelect:v,doUpdateShow:p}),Ze(n,M=>{!e.animated&&!M&&f()});function v(M,q){const{onSelect:ee}=e;ee&&Fe(ee,M,q)}function p(M){const{"onUpdate:show":q,onUpdateShow:ee}=e;q&&Fe(q,M),ee&&Fe(ee,M),t.value=M}function f(){r.value=null,a.value=null,s.value=null}function x(){p(!1)}function A(){E("left")}function k(){E("right")}function w(){E("up")}function I(){E("down")}function C(){const M=S();M!=null&&M.isLeaf&&n.value&&(v(M.key,M.rawNode),p(!1))}function S(){var M;const{value:q}=o,{value:ee}=l;return!q||ee===null?null:(M=q.getNode(ee))!==null&&M!==void 0?M:null}function E(M){const{value:q}=l,{value:{getFirstAvailableNode:ee}}=o;let O=null;if(q===null){const V=ee();V!==null&&(O=V.key)}else{const V=S();if(V){let W;switch(M){case"down":W=V.getNext();break;case"up":W=V.getPrev();break;case"right":W=V.getChild();break;case"left":W=V.getParent();break}W&&(O=W.key)}}O!==null&&(r.value=null,a.value=O)}const R=z(()=>{const{size:M,inverted:q}=e,{common:{cubicBezierEaseInOut:ee},self:O}=g.value,{padding:V,dividerColor:W,borderRadius:oe,optionOpacityDisabled:fe,[ue("optionIconSuffixWidth",M)]:we,[ue("optionSuffixWidth",M)]:De,[ue("optionIconPrefixWidth",M)]:Le,[ue("optionPrefixWidth",M)]:mt,[ue("fontSize",M)]:ct,[ue("optionHeight",M)]:Je,[ue("optionIconSize",M)]:Ae}=O,Ee={"--n-bezier":ee,"--n-font-size":ct,"--n-padding":V,"--n-border-radius":oe,"--n-option-height":Je,"--n-option-prefix-width":mt,"--n-option-icon-prefix-width":Le,"--n-option-suffix-width":De,"--n-option-icon-suffix-width":we,"--n-option-icon-size":Ae,"--n-divider-color":W,"--n-option-opacity-disabled":fe};return q?(Ee["--n-color"]=O.colorInverted,Ee["--n-option-color-hover"]=O.optionColorHoverInverted,Ee["--n-option-color-active"]=O.optionColorActiveInverted,Ee["--n-option-text-color"]=O.optionTextColorInverted,Ee["--n-option-text-color-hover"]=O.optionTextColorHoverInverted,Ee["--n-option-text-color-active"]=O.optionTextColorActiveInverted,Ee["--n-option-text-color-child-active"]=O.optionTextColorChildActiveInverted,Ee["--n-prefix-color"]=O.prefixColorInverted,Ee["--n-suffix-color"]=O.suffixColorInverted,Ee["--n-group-header-text-color"]=O.groupHeaderTextColorInverted):(Ee["--n-color"]=O.color,Ee["--n-option-color-hover"]=O.optionColorHover,Ee["--n-option-color-active"]=O.optionColorActive,Ee["--n-option-text-color"]=O.optionTextColor,Ee["--n-option-text-color-hover"]=O.optionTextColorHover,Ee["--n-option-text-color-active"]=O.optionTextColorActive,Ee["--n-option-text-color-child-active"]=O.optionTextColorChildActive,Ee["--n-prefix-color"]=O.prefixColor,Ee["--n-suffix-color"]=O.suffixColor,Ee["--n-group-header-text-color"]=O.groupHeaderTextColor),Ee}),G=m?_t("dropdown",z(()=>`${e.size[0]}${e.inverted?"i":""}`),R,e):void 0;return{mergedClsPrefix:h,mergedTheme:g,tmNodes:i,mergedShow:n,handleAfterLeave:()=>{e.animated&&f()},doUpdateShow:p,cssVars:m?void 0:R,themeClass:G==null?void 0:G.themeClass,onRender:G==null?void 0:G.onRender}},render(){const e=(o,i,r,a,s)=>{var l;const{mergedClsPrefix:c,menuProps:d}=this;(l=this.onRender)===null||l===void 0||l.call(this);const u=(d==null?void 0:d(void 0,this.tmNodes.map(m=>m.rawNode)))||{},h={ref:l2(i),class:[o,`${c}-dropdown`,this.themeClass],clsPrefix:c,tmNodes:this.tmNodes,style:[r,this.cssVars],showArrow:this.showArrow,arrowStyle:this.arrowStyle,scrollable:this.scrollable,onMouseenter:a,onMouseleave:s};return T(Yp,Ln(this.$attrs,h,u))},{mergedTheme:t}=this,n={show:this.mergedShow,theme:t.peers.Popover,themeOverrides:t.peerOverrides.Popover,internalOnAfterLeave:this.handleAfterLeave,internalRenderBody:e,onUpdateShow:this.doUpdateShow,"onUpdate:show":void 0};return T(Cs,Object.assign({},qo(this.$props,K9),n),{trigger:()=>{var o,i;return(i=(o=this.$slots).default)===null||i===void 0?void 0:i.call(o)}})}}),X9={itemFontSize:"12px",itemHeight:"36px",itemWidth:"52px",panelActionPadding:"8px 0"},Jp=e=>{const{popoverColor:t,textColor2:n,primaryColor:o,hoverColor:i,dividerColor:r,opacityDisabled:a,boxShadow2:s,borderRadius:l,iconColor:c,iconColorDisabled:d}=e;return Object.assign(Object.assign({},X9),{panelColor:t,panelBoxShadow:s,panelDividerColor:r,itemTextColor:n,itemTextColorActive:o,itemColorHover:i,itemOpacityDisabled:a,itemBorderRadius:l,borderRadius:l,iconColor:c,iconColorDisabled:d})},Z9={name:"TimePicker",common:ae,peers:{Scrollbar:Vt,Button:Kt,Input:sn},self:Jp},Qp=Z9,Y9={name:"TimePicker",common:re,peers:{Scrollbar:Jt,Button:Qt,Input:mn},self:Jp},eb=Y9,J9={itemSize:"24px",itemCellWidth:"38px",itemCellHeight:"32px",scrollItemWidth:"80px",scrollItemHeight:"40px",panelExtraFooterPadding:"8px 12px",panelActionPadding:"8px 12px",calendarTitlePadding:"0",calendarTitleHeight:"28px",arrowSize:"14px",panelHeaderPadding:"8px 12px",calendarDaysHeight:"32px",calendarTitleGridTempateColumns:"28px 28px 1fr 28px 28px",calendarLeftPaddingDate:"6px 12px 4px 12px",calendarLeftPaddingDatetime:"4px 12px",calendarLeftPaddingDaterange:"6px 12px 4px 12px",calendarLeftPaddingDatetimerange:"4px 12px",calendarLeftPaddingMonth:"0",calendarLeftPaddingYear:"0",calendarLeftPaddingQuarter:"0",calendarLeftPaddingMonthrange:"0",calendarLeftPaddingQuarterrange:"0",calendarLeftPaddingYearrange:"0",calendarRightPaddingDate:"6px 12px 4px 12px",calendarRightPaddingDatetime:"4px 12px",calendarRightPaddingDaterange:"6px 12px 4px 12px",calendarRightPaddingDatetimerange:"4px 12px",calendarRightPaddingMonth:"0",calendarRightPaddingYear:"0",calendarRightPaddingQuarter:"0",calendarRightPaddingMonthrange:"0",calendarRightPaddingQuarterrange:"0",calendarRightPaddingYearrange:"0"},tb=e=>{const{hoverColor:t,fontSize:n,textColor2:o,textColorDisabled:i,popoverColor:r,primaryColor:a,borderRadiusSmall:s,iconColor:l,iconColorDisabled:c,textColor1:d,dividerColor:u,boxShadow2:h,borderRadius:m,fontWeightStrong:g}=e;return Object.assign(Object.assign({},J9),{itemFontSize:n,calendarDaysFontSize:n,calendarTitleFontSize:n,itemTextColor:o,itemTextColorDisabled:i,itemTextColorActive:r,itemTextColorCurrent:a,itemColorIncluded:U(a,{alpha:.1}),itemColorHover:t,itemColorDisabled:t,itemColorActive:a,itemBorderRadius:s,panelColor:r,panelTextColor:o,arrowColor:l,calendarTitleTextColor:d,calendarTitleColorHover:t,calendarDaysTextColor:o,panelHeaderDividerColor:u,calendarDaysDividerColor:u,calendarDividerColor:u,panelActionDividerColor:u,panelBoxShadow:h,panelBorderRadius:m,calendarTitleFontWeight:g,scrollItemBorderRadius:m,iconColor:l,iconColorDisabled:c})},Q9={name:"DatePicker",common:ae,peers:{Input:sn,Button:Kt,TimePicker:Qp,Scrollbar:Vt},self:tb},e7=Q9,t7={name:"DatePicker",common:re,peers:{Input:mn,Button:Qt,TimePicker:eb,Scrollbar:Jt},self(e){const{popoverColor:t,hoverColor:n,primaryColor:o}=e,i=tb(e);return i.itemColorDisabled=he(t,n),i.itemColorIncluded=U(o,{alpha:.15}),i.itemColorHover=he(t,n),i}},n7=t7,o7={thPaddingBorderedSmall:"8px 12px",thPaddingBorderedMedium:"12px 16px",thPaddingBorderedLarge:"16px 24px",thPaddingSmall:"0",thPaddingMedium:"0",thPaddingLarge:"0",tdPaddingBorderedSmall:"8px 12px",tdPaddingBorderedMedium:"12px 16px",tdPaddingBorderedLarge:"16px 24px",tdPaddingSmall:"0 0 8px 0",tdPaddingMedium:"0 0 12px 0",tdPaddingLarge:"0 0 16px 0"},nb=e=>{const{tableHeaderColor:t,textColor2:n,textColor1:o,cardColor:i,modalColor:r,popoverColor:a,dividerColor:s,borderRadius:l,fontWeightStrong:c,lineHeight:d,fontSizeSmall:u,fontSizeMedium:h,fontSizeLarge:m}=e;return Object.assign(Object.assign({},o7),{lineHeight:d,fontSizeSmall:u,fontSizeMedium:h,fontSizeLarge:m,titleTextColor:o,thColor:he(i,t),thColorModal:he(r,t),thColorPopover:he(a,t),thTextColor:o,thFontWeight:c,tdTextColor:n,tdColor:i,tdColorModal:r,tdColorPopover:a,borderColor:he(i,s),borderColorModal:he(r,s),borderColorPopover:he(a,s),borderRadius:l})},i7={name:"Descriptions",common:ae,self:nb},r7=i7,a7={name:"Descriptions",common:re,self:nb},s7=a7,l7={titleFontSize:"18px",padding:"16px 28px 20px 28px",iconSize:"28px",actionSpace:"12px",contentMargin:"8px 0 16px 0",iconMargin:"0 4px 0 0",iconMarginIconTop:"4px 0 8px 0",closeSize:"22px",closeIconSize:"18px",closeMargin:"20px 26px 0 0",closeMarginIconTop:"10px 16px 0 0"},ob=e=>{const{textColor1:t,textColor2:n,modalColor:o,closeIconColor:i,closeIconColorHover:r,closeIconColorPressed:a,closeColorHover:s,closeColorPressed:l,infoColor:c,successColor:d,warningColor:u,errorColor:h,primaryColor:m,dividerColor:g,borderRadius:v,fontWeightStrong:p,lineHeight:f,fontSize:x}=e;return Object.assign(Object.assign({},l7),{fontSize:x,lineHeight:f,border:`1px solid ${g}`,titleTextColor:t,textColor:n,color:o,closeColorHover:s,closeColorPressed:l,closeIconColor:i,closeIconColorHover:r,closeIconColorPressed:a,closeBorderRadius:v,iconColor:m,iconColorInfo:c,iconColorSuccess:d,iconColorWarning:u,iconColorError:h,borderRadius:v,titleFontWeight:p})},c7={name:"Dialog",common:ae,peers:{Button:Kt},self:ob},nd=c7,d7={name:"Dialog",common:re,peers:{Button:Qt},self:ob},ib=d7,_s={icon:Function,type:{type:String,default:"default"},title:[String,Function],closable:{type:Boolean,default:!0},negativeText:String,positiveText:String,positiveButtonProps:Object,negativeButtonProps:Object,content:[String,Function],action:Function,showIcon:{type:Boolean,default:!0},loading:Boolean,bordered:Boolean,iconPlacement:String,onPositiveClick:Function,onNegativeClick:Function,onClose:Function},rb=is(_s),u7=N([Q("dialog",` + `)])]),G9={animated:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},size:{type:String,default:"medium"},inverted:Boolean,placement:{type:String,default:"bottom"},onSelect:[Function,Array],options:{type:Array,default:()=>[]},menuProps:Function,showArrow:Boolean,renderLabel:Function,renderIcon:Function,renderOption:Function,nodeProps:Function,labelField:{type:String,default:"label"},keyField:{type:String,default:"key"},childrenField:{type:String,default:"children"},value:[String,Number]},V9=Object.keys(ks),K9=Object.assign(Object.assign(Object.assign({},ks),G9),Pe.props),U9=se({name:"Dropdown",inheritAttrs:!1,props:K9,setup(e){const t=j(!1),n=Ic(Ke(e,"show"),t),o=z(()=>{const{keyField:M,childrenField:q}=e;return Dw(e.options,{getKey(ee){return ee[M]},getDisabled(ee){return ee.disabled===!0},getIgnored(ee){return ee.type==="divider"||ee.type==="render"},getChildren(ee){return ee[q]}})}),i=z(()=>o.value.treeNodes),r=j(null),a=j(null),s=j(null),l=z(()=>{var M,q,ee;return(ee=(q=(M=r.value)!==null&&M!==void 0?M:a.value)!==null&&q!==void 0?q:s.value)!==null&&ee!==void 0?ee:null}),c=z(()=>o.value.getPath(l.value).keyPath),d=z(()=>o.value.getPath(e.value).keyPath),u=wt(()=>e.keyboard&&n.value);tx({keydown:{ArrowUp:{prevent:!0,handler:w},ArrowRight:{prevent:!0,handler:k},ArrowDown:{prevent:!0,handler:I},ArrowLeft:{prevent:!0,handler:A},Enter:{prevent:!0,handler:C},Escape:x}},u);const{mergedClsPrefixRef:h,inlineThemeDisabled:m}=lt(e),g=Pe("Dropdown","-dropdown",j9,ws,e,h);We(Ss,{labelFieldRef:Ke(e,"labelField"),childrenFieldRef:Ke(e,"childrenField"),renderLabelRef:Ke(e,"renderLabel"),renderIconRef:Ke(e,"renderIcon"),hoverKeyRef:r,keyboardKeyRef:a,lastToggledSubmenuKeyRef:s,pendingKeyPathRef:c,activeKeyPathRef:d,animatedRef:Ke(e,"animated"),mergedShowRef:n,nodePropsRef:Ke(e,"nodeProps"),renderOptionRef:Ke(e,"renderOption"),menuPropsRef:Ke(e,"menuProps"),doSelect:v,doUpdateShow:p}),Ze(n,M=>{!e.animated&&!M&&f()});function v(M,q){const{onSelect:ee}=e;ee&&Fe(ee,M,q)}function p(M){const{"onUpdate:show":q,onUpdateShow:ee}=e;q&&Fe(q,M),ee&&Fe(ee,M),t.value=M}function f(){r.value=null,a.value=null,s.value=null}function x(){p(!1)}function A(){E("left")}function k(){E("right")}function w(){E("up")}function I(){E("down")}function C(){const M=S();M!=null&&M.isLeaf&&n.value&&(v(M.key,M.rawNode),p(!1))}function S(){var M;const{value:q}=o,{value:ee}=l;return!q||ee===null?null:(M=q.getNode(ee))!==null&&M!==void 0?M:null}function E(M){const{value:q}=l,{value:{getFirstAvailableNode:ee}}=o;let O=null;if(q===null){const V=ee();V!==null&&(O=V.key)}else{const V=S();if(V){let W;switch(M){case"down":W=V.getNext();break;case"up":W=V.getPrev();break;case"right":W=V.getChild();break;case"left":W=V.getParent();break}W&&(O=W.key)}}O!==null&&(r.value=null,a.value=O)}const R=z(()=>{const{size:M,inverted:q}=e,{common:{cubicBezierEaseInOut:ee},self:O}=g.value,{padding:V,dividerColor:W,borderRadius:oe,optionOpacityDisabled:fe,[ue("optionIconSuffixWidth",M)]:we,[ue("optionSuffixWidth",M)]:De,[ue("optionIconPrefixWidth",M)]:Le,[ue("optionPrefixWidth",M)]:mt,[ue("fontSize",M)]:ct,[ue("optionHeight",M)]:Je,[ue("optionIconSize",M)]:Ae}=O,Ee={"--n-bezier":ee,"--n-font-size":ct,"--n-padding":V,"--n-border-radius":oe,"--n-option-height":Je,"--n-option-prefix-width":mt,"--n-option-icon-prefix-width":Le,"--n-option-suffix-width":De,"--n-option-icon-suffix-width":we,"--n-option-icon-size":Ae,"--n-divider-color":W,"--n-option-opacity-disabled":fe};return q?(Ee["--n-color"]=O.colorInverted,Ee["--n-option-color-hover"]=O.optionColorHoverInverted,Ee["--n-option-color-active"]=O.optionColorActiveInverted,Ee["--n-option-text-color"]=O.optionTextColorInverted,Ee["--n-option-text-color-hover"]=O.optionTextColorHoverInverted,Ee["--n-option-text-color-active"]=O.optionTextColorActiveInverted,Ee["--n-option-text-color-child-active"]=O.optionTextColorChildActiveInverted,Ee["--n-prefix-color"]=O.prefixColorInverted,Ee["--n-suffix-color"]=O.suffixColorInverted,Ee["--n-group-header-text-color"]=O.groupHeaderTextColorInverted):(Ee["--n-color"]=O.color,Ee["--n-option-color-hover"]=O.optionColorHover,Ee["--n-option-color-active"]=O.optionColorActive,Ee["--n-option-text-color"]=O.optionTextColor,Ee["--n-option-text-color-hover"]=O.optionTextColorHover,Ee["--n-option-text-color-active"]=O.optionTextColorActive,Ee["--n-option-text-color-child-active"]=O.optionTextColorChildActive,Ee["--n-prefix-color"]=O.prefixColor,Ee["--n-suffix-color"]=O.suffixColor,Ee["--n-group-header-text-color"]=O.groupHeaderTextColor),Ee}),G=m?_t("dropdown",z(()=>`${e.size[0]}${e.inverted?"i":""}`),R,e):void 0;return{mergedClsPrefix:h,mergedTheme:g,tmNodes:i,mergedShow:n,handleAfterLeave:()=>{e.animated&&f()},doUpdateShow:p,cssVars:m?void 0:R,themeClass:G==null?void 0:G.themeClass,onRender:G==null?void 0:G.onRender}},render(){const e=(o,i,r,a,s)=>{var l;const{mergedClsPrefix:c,menuProps:d}=this;(l=this.onRender)===null||l===void 0||l.call(this);const u=(d==null?void 0:d(void 0,this.tmNodes.map(m=>m.rawNode)))||{},h={ref:s2(i),class:[o,`${c}-dropdown`,this.themeClass],clsPrefix:c,tmNodes:this.tmNodes,style:[r,this.cssVars],showArrow:this.showArrow,arrowStyle:this.arrowStyle,scrollable:this.scrollable,onMouseenter:a,onMouseleave:s};return T(Yp,Ln(this.$attrs,h,u))},{mergedTheme:t}=this,n={show:this.mergedShow,theme:t.peers.Popover,themeOverrides:t.peerOverrides.Popover,internalOnAfterLeave:this.handleAfterLeave,internalRenderBody:e,onUpdateShow:this.doUpdateShow,"onUpdate:show":void 0};return T(Cs,Object.assign({},qo(this.$props,V9),n),{trigger:()=>{var o,i;return(i=(o=this.$slots).default)===null||i===void 0?void 0:i.call(o)}})}}),q9={itemFontSize:"12px",itemHeight:"36px",itemWidth:"52px",panelActionPadding:"8px 0"},Jp=e=>{const{popoverColor:t,textColor2:n,primaryColor:o,hoverColor:i,dividerColor:r,opacityDisabled:a,boxShadow2:s,borderRadius:l,iconColor:c,iconColorDisabled:d}=e;return Object.assign(Object.assign({},q9),{panelColor:t,panelBoxShadow:s,panelDividerColor:r,itemTextColor:n,itemTextColorActive:o,itemColorHover:i,itemOpacityDisabled:a,itemBorderRadius:l,borderRadius:l,iconColor:c,iconColorDisabled:d})},X9={name:"TimePicker",common:ae,peers:{Scrollbar:Vt,Button:Kt,Input:sn},self:Jp},Qp=X9,Z9={name:"TimePicker",common:re,peers:{Scrollbar:Jt,Button:Qt,Input:mn},self:Jp},eb=Z9,Y9={itemSize:"24px",itemCellWidth:"38px",itemCellHeight:"32px",scrollItemWidth:"80px",scrollItemHeight:"40px",panelExtraFooterPadding:"8px 12px",panelActionPadding:"8px 12px",calendarTitlePadding:"0",calendarTitleHeight:"28px",arrowSize:"14px",panelHeaderPadding:"8px 12px",calendarDaysHeight:"32px",calendarTitleGridTempateColumns:"28px 28px 1fr 28px 28px",calendarLeftPaddingDate:"6px 12px 4px 12px",calendarLeftPaddingDatetime:"4px 12px",calendarLeftPaddingDaterange:"6px 12px 4px 12px",calendarLeftPaddingDatetimerange:"4px 12px",calendarLeftPaddingMonth:"0",calendarLeftPaddingYear:"0",calendarLeftPaddingQuarter:"0",calendarLeftPaddingMonthrange:"0",calendarLeftPaddingQuarterrange:"0",calendarLeftPaddingYearrange:"0",calendarRightPaddingDate:"6px 12px 4px 12px",calendarRightPaddingDatetime:"4px 12px",calendarRightPaddingDaterange:"6px 12px 4px 12px",calendarRightPaddingDatetimerange:"4px 12px",calendarRightPaddingMonth:"0",calendarRightPaddingYear:"0",calendarRightPaddingQuarter:"0",calendarRightPaddingMonthrange:"0",calendarRightPaddingQuarterrange:"0",calendarRightPaddingYearrange:"0"},tb=e=>{const{hoverColor:t,fontSize:n,textColor2:o,textColorDisabled:i,popoverColor:r,primaryColor:a,borderRadiusSmall:s,iconColor:l,iconColorDisabled:c,textColor1:d,dividerColor:u,boxShadow2:h,borderRadius:m,fontWeightStrong:g}=e;return Object.assign(Object.assign({},Y9),{itemFontSize:n,calendarDaysFontSize:n,calendarTitleFontSize:n,itemTextColor:o,itemTextColorDisabled:i,itemTextColorActive:r,itemTextColorCurrent:a,itemColorIncluded:U(a,{alpha:.1}),itemColorHover:t,itemColorDisabled:t,itemColorActive:a,itemBorderRadius:s,panelColor:r,panelTextColor:o,arrowColor:l,calendarTitleTextColor:d,calendarTitleColorHover:t,calendarDaysTextColor:o,panelHeaderDividerColor:u,calendarDaysDividerColor:u,calendarDividerColor:u,panelActionDividerColor:u,panelBoxShadow:h,panelBorderRadius:m,calendarTitleFontWeight:g,scrollItemBorderRadius:m,iconColor:l,iconColorDisabled:c})},J9={name:"DatePicker",common:ae,peers:{Input:sn,Button:Kt,TimePicker:Qp,Scrollbar:Vt},self:tb},Q9=J9,e7={name:"DatePicker",common:re,peers:{Input:mn,Button:Qt,TimePicker:eb,Scrollbar:Jt},self(e){const{popoverColor:t,hoverColor:n,primaryColor:o}=e,i=tb(e);return i.itemColorDisabled=he(t,n),i.itemColorIncluded=U(o,{alpha:.15}),i.itemColorHover=he(t,n),i}},t7=e7,n7={thPaddingBorderedSmall:"8px 12px",thPaddingBorderedMedium:"12px 16px",thPaddingBorderedLarge:"16px 24px",thPaddingSmall:"0",thPaddingMedium:"0",thPaddingLarge:"0",tdPaddingBorderedSmall:"8px 12px",tdPaddingBorderedMedium:"12px 16px",tdPaddingBorderedLarge:"16px 24px",tdPaddingSmall:"0 0 8px 0",tdPaddingMedium:"0 0 12px 0",tdPaddingLarge:"0 0 16px 0"},nb=e=>{const{tableHeaderColor:t,textColor2:n,textColor1:o,cardColor:i,modalColor:r,popoverColor:a,dividerColor:s,borderRadius:l,fontWeightStrong:c,lineHeight:d,fontSizeSmall:u,fontSizeMedium:h,fontSizeLarge:m}=e;return Object.assign(Object.assign({},n7),{lineHeight:d,fontSizeSmall:u,fontSizeMedium:h,fontSizeLarge:m,titleTextColor:o,thColor:he(i,t),thColorModal:he(r,t),thColorPopover:he(a,t),thTextColor:o,thFontWeight:c,tdTextColor:n,tdColor:i,tdColorModal:r,tdColorPopover:a,borderColor:he(i,s),borderColorModal:he(r,s),borderColorPopover:he(a,s),borderRadius:l})},o7={name:"Descriptions",common:ae,self:nb},i7=o7,r7={name:"Descriptions",common:re,self:nb},a7=r7,s7={titleFontSize:"18px",padding:"16px 28px 20px 28px",iconSize:"28px",actionSpace:"12px",contentMargin:"8px 0 16px 0",iconMargin:"0 4px 0 0",iconMarginIconTop:"4px 0 8px 0",closeSize:"22px",closeIconSize:"18px",closeMargin:"20px 26px 0 0",closeMarginIconTop:"10px 16px 0 0"},ob=e=>{const{textColor1:t,textColor2:n,modalColor:o,closeIconColor:i,closeIconColorHover:r,closeIconColorPressed:a,closeColorHover:s,closeColorPressed:l,infoColor:c,successColor:d,warningColor:u,errorColor:h,primaryColor:m,dividerColor:g,borderRadius:v,fontWeightStrong:p,lineHeight:f,fontSize:x}=e;return Object.assign(Object.assign({},s7),{fontSize:x,lineHeight:f,border:`1px solid ${g}`,titleTextColor:t,textColor:n,color:o,closeColorHover:s,closeColorPressed:l,closeIconColor:i,closeIconColorHover:r,closeIconColorPressed:a,closeBorderRadius:v,iconColor:m,iconColorInfo:c,iconColorSuccess:d,iconColorWarning:u,iconColorError:h,borderRadius:v,titleFontWeight:p})},l7={name:"Dialog",common:ae,peers:{Button:Kt},self:ob},nd=l7,c7={name:"Dialog",common:re,peers:{Button:Qt},self:ob},ib=c7,_s={icon:Function,type:{type:String,default:"default"},title:[String,Function],closable:{type:Boolean,default:!0},negativeText:String,positiveText:String,positiveButtonProps:Object,negativeButtonProps:Object,content:[String,Function],action:Function,showIcon:{type:Boolean,default:!0},loading:Boolean,bordered:Boolean,iconPlacement:String,onPositiveClick:Function,onNegativeClick:Function,onClose:Function},rb=is(_s),d7=N([Q("dialog",` word-break: break-word; line-height: var(--n-line-height); position: relative; @@ -1025,7 +1025,7 @@ ${t} `)),Q("dialog",[Ag(` width: 446px; max-width: calc(100vw - 32px); - `)])]),h7={default:()=>T(Fa,null),info:()=>T(Fa,null),success:()=>T(jc,null),warning:()=>T(Gc,null),error:()=>T(Wc,null)},ab=se({name:"Dialog",alias:["NimbusConfirmCard","Confirm"],props:Object.assign(Object.assign({},Pe.props),_s),setup(e){const{mergedComponentPropsRef:t,mergedClsPrefixRef:n,inlineThemeDisabled:o}=lt(e),i=z(()=>{var u,h;const{iconPlacement:m}=e;return m||((h=(u=t==null?void 0:t.value)===null||u===void 0?void 0:u.Dialog)===null||h===void 0?void 0:h.iconPlacement)||"left"});function r(u){const{onPositiveClick:h}=e;h&&h(u)}function a(u){const{onNegativeClick:h}=e;h&&h(u)}function s(){const{onClose:u}=e;u&&u()}const l=Pe("Dialog","-dialog",u7,nd,e,n),c=z(()=>{const{type:u}=e,h=i.value,{common:{cubicBezierEaseInOut:m},self:{fontSize:g,lineHeight:v,border:p,titleTextColor:f,textColor:x,color:A,closeBorderRadius:k,closeColorHover:w,closeColorPressed:I,closeIconColor:C,closeIconColorHover:S,closeIconColorPressed:E,closeIconSize:R,borderRadius:G,titleFontWeight:M,titleFontSize:q,padding:ee,iconSize:O,actionSpace:V,contentMargin:W,closeSize:oe,[h==="top"?"iconMarginIconTop":"iconMargin"]:fe,[h==="top"?"closeMarginIconTop":"closeMargin"]:we,[ue("iconColor",u)]:De}}=l.value;return{"--n-font-size":g,"--n-icon-color":De,"--n-bezier":m,"--n-close-margin":we,"--n-icon-margin":fe,"--n-icon-size":O,"--n-close-size":oe,"--n-close-icon-size":R,"--n-close-border-radius":k,"--n-close-color-hover":w,"--n-close-color-pressed":I,"--n-close-icon-color":C,"--n-close-icon-color-hover":S,"--n-close-icon-color-pressed":E,"--n-color":A,"--n-text-color":x,"--n-border-radius":G,"--n-padding":ee,"--n-line-height":v,"--n-border":p,"--n-content-margin":W,"--n-title-font-size":q,"--n-title-font-weight":M,"--n-title-text-color":f,"--n-action-space":V}}),d=o?_t("dialog",z(()=>`${e.type[0]}${i.value[0]}`),c,e):void 0;return{mergedClsPrefix:n,mergedIconPlacement:i,mergedTheme:l,handlePositiveClick:r,handleNegativeClick:a,handleCloseClick:s,cssVars:o?void 0:c,themeClass:d==null?void 0:d.themeClass,onRender:d==null?void 0:d.onRender}},render(){var e;const{bordered:t,mergedIconPlacement:n,cssVars:o,closable:i,showIcon:r,title:a,content:s,action:l,negativeText:c,positiveText:d,positiveButtonProps:u,negativeButtonProps:h,handlePositiveClick:m,handleNegativeClick:g,mergedTheme:v,loading:p,type:f,mergedClsPrefix:x}=this;(e=this.onRender)===null||e===void 0||e.call(this);const A=r?T(po,{clsPrefix:x,class:`${x}-dialog__icon`},{default:()=>Et(this.$slots.icon,w=>w||(this.icon?It(this.icon):h7[this.type]()))}):null,k=Et(this.$slots.action,w=>w||d||c||l?T("div",{class:`${x}-dialog__action`},w||(l?[It(l)]:[this.negativeText&&T(ja,Object.assign({theme:v.peers.Button,themeOverrides:v.peerOverrides.Button,ghost:!0,size:"small",onClick:g},h),{default:()=>It(this.negativeText)}),this.positiveText&&T(ja,Object.assign({theme:v.peers.Button,themeOverrides:v.peerOverrides.Button,size:"small",type:f==="default"?"primary":f,disabled:p,loading:p,onClick:m},u),{default:()=>It(this.positiveText)})])):null);return T("div",{class:[`${x}-dialog`,this.themeClass,this.closable&&`${x}-dialog--closable`,`${x}-dialog--icon-${n}`,t&&`${x}-dialog--bordered`],style:o,role:"dialog"},i?T(ys,{clsPrefix:x,class:`${x}-dialog__close`,onClick:this.handleCloseClick}):null,r&&n==="top"?T("div",{class:`${x}-dialog-icon-container`},A):null,T("div",{class:`${x}-dialog__title`},r&&n==="left"?A:null,jo(this.$slots.header,()=>[It(a)])),T("div",{class:[`${x}-dialog__content`,k?"":`${x}-dialog__content--last`]},jo(this.$slots.default,()=>[It(s)])),k)}}),sb="n-dialog-provider",f7="n-dialog-api",g7="n-dialog-reactive-list",lb=e=>{const{modalColor:t,textColor2:n,boxShadow3:o}=e;return{color:t,textColor:n,boxShadow:o}},m7={name:"Modal",common:ae,peers:{Scrollbar:Vt,Dialog:nd,Card:Zc},self:lb},cb=m7,p7={name:"Modal",common:re,peers:{Scrollbar:Jt,Dialog:ib,Card:Tp},self:lb},b7=p7,od=Object.assign(Object.assign({},Yc),_s),v7=is(od),y7=se({name:"ModalBody",inheritAttrs:!1,props:Object.assign(Object.assign({show:{type:Boolean,required:!0},preset:String,displayDirective:{type:String,required:!0},trapFocus:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0},blockScroll:Boolean},od),{renderMask:Function,onClickoutside:Function,onBeforeLeave:{type:Function,required:!0},onAfterLeave:{type:Function,required:!0},onPositiveClick:{type:Function,required:!0},onNegativeClick:{type:Function,required:!0},onClose:{type:Function,required:!0},onAfterEnter:Function,onEsc:Function}),setup(e){const t=j(null),n=j(null),o=j(e.show),i=j(null),r=j(null);Ze(Ke(e,"show"),p=>{p&&(o.value=!0)}),Ux(z(()=>e.blockScroll&&o.value));const a=Ie(Dg);function s(){if(a.transformOriginRef.value==="center")return"";const{value:p}=i,{value:f}=r;if(p===null||f===null)return"";if(n.value){const x=n.value.containerScrollTop;return`${p}px ${f+x}px`}return""}function l(p){if(a.transformOriginRef.value==="center")return;const f=a.getMousePosition();if(!f||!n.value)return;const x=n.value.containerScrollTop,{offsetLeft:A,offsetTop:k}=p;if(f){const w=f.y,I=f.x;i.value=-(A-I),r.value=-(k-w-x)}p.style.transformOrigin=s()}function c(p){jt(()=>{l(p)})}function d(p){p.style.transformOrigin=s(),e.onBeforeLeave()}function u(){o.value=!1,i.value=null,r.value=null,e.onAfterLeave()}function h(){const{onClose:p}=e;p&&p()}function m(){e.onNegativeClick()}function g(){e.onPositiveClick()}const v=j(null);return Ze(v,p=>{p&&jt(()=>{const f=p.el;f&&t.value!==f&&(t.value=f)})}),We(ls,t),We(cs,null),We(Nr,null),{mergedTheme:a.mergedThemeRef,appear:a.appearRef,isMounted:a.isMountedRef,mergedClsPrefix:a.mergedClsPrefixRef,bodyRef:t,scrollbarRef:n,displayed:o,childNodeRef:v,handlePositiveClick:g,handleNegativeClick:m,handleCloseClick:h,handleAfterLeave:u,handleBeforeLeave:d,handleEnter:c}},render(){const{$slots:e,$attrs:t,handleEnter:n,handleAfterLeave:o,handleBeforeLeave:i,preset:r,mergedClsPrefix:a}=this;let s=null;if(!r){if(s=Cl(e),!s){Pi("modal","default slot is empty");return}s=fn(s),s.props=Ln({class:`${a}-modal`},t,s.props||{})}return this.displayDirective==="show"||this.displayed||this.show?fo(T("div",{role:"none",class:`${a}-modal-body-wrapper`},T(xs,{ref:"scrollbarRef",theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,contentClass:`${a}-modal-scroll-content`},{default:()=>{var l;return[(l=this.renderMask)===null||l===void 0?void 0:l.call(this),T(Jg,{disabled:!this.trapFocus,active:this.show,onEsc:this.onEsc,autoFocus:this.autoFocus},{default:()=>{var c;return T(gn,{name:"fade-in-scale-up-transition",appear:(c=this.appear)!==null&&c!==void 0?c:this.isMounted,onEnter:n,onAfterEnter:this.onAfterEnter,onAfterLeave:o,onBeforeLeave:i},{default:()=>{const d=[[_i,this.show]],{onClickoutside:u}=this;return u&&d.push([Pl,this.onClickoutside,void 0,{capture:!0}]),fo(this.preset==="confirm"||this.preset==="dialog"?T(ab,Object.assign({},this.$attrs,{class:[`${a}-modal`,this.$attrs.class],ref:"bodyRef",theme:this.mergedTheme.peers.Dialog,themeOverrides:this.mergedTheme.peerOverrides.Dialog},qo(this.$props,rb),{"aria-modal":"true"}),e):this.preset==="card"?T(LS,Object.assign({},this.$attrs,{ref:"bodyRef",class:[`${a}-modal`,this.$attrs.class],theme:this.mergedTheme.peers.Card,themeOverrides:this.mergedTheme.peerOverrides.Card},qo(this.$props,MS),{"aria-modal":"true",role:"dialog"}),e):this.childNodeRef=s,d)}})}})]}})),[[_i,this.displayDirective==="if"||this.displayed||this.show]]):null}}),x7=N([Q("modal-container",` + `)])]),u7={default:()=>T(Fa,null),info:()=>T(Fa,null),success:()=>T(jc,null),warning:()=>T(Gc,null),error:()=>T(Wc,null)},ab=se({name:"Dialog",alias:["NimbusConfirmCard","Confirm"],props:Object.assign(Object.assign({},Pe.props),_s),setup(e){const{mergedComponentPropsRef:t,mergedClsPrefixRef:n,inlineThemeDisabled:o}=lt(e),i=z(()=>{var u,h;const{iconPlacement:m}=e;return m||((h=(u=t==null?void 0:t.value)===null||u===void 0?void 0:u.Dialog)===null||h===void 0?void 0:h.iconPlacement)||"left"});function r(u){const{onPositiveClick:h}=e;h&&h(u)}function a(u){const{onNegativeClick:h}=e;h&&h(u)}function s(){const{onClose:u}=e;u&&u()}const l=Pe("Dialog","-dialog",d7,nd,e,n),c=z(()=>{const{type:u}=e,h=i.value,{common:{cubicBezierEaseInOut:m},self:{fontSize:g,lineHeight:v,border:p,titleTextColor:f,textColor:x,color:A,closeBorderRadius:k,closeColorHover:w,closeColorPressed:I,closeIconColor:C,closeIconColorHover:S,closeIconColorPressed:E,closeIconSize:R,borderRadius:G,titleFontWeight:M,titleFontSize:q,padding:ee,iconSize:O,actionSpace:V,contentMargin:W,closeSize:oe,[h==="top"?"iconMarginIconTop":"iconMargin"]:fe,[h==="top"?"closeMarginIconTop":"closeMargin"]:we,[ue("iconColor",u)]:De}}=l.value;return{"--n-font-size":g,"--n-icon-color":De,"--n-bezier":m,"--n-close-margin":we,"--n-icon-margin":fe,"--n-icon-size":O,"--n-close-size":oe,"--n-close-icon-size":R,"--n-close-border-radius":k,"--n-close-color-hover":w,"--n-close-color-pressed":I,"--n-close-icon-color":C,"--n-close-icon-color-hover":S,"--n-close-icon-color-pressed":E,"--n-color":A,"--n-text-color":x,"--n-border-radius":G,"--n-padding":ee,"--n-line-height":v,"--n-border":p,"--n-content-margin":W,"--n-title-font-size":q,"--n-title-font-weight":M,"--n-title-text-color":f,"--n-action-space":V}}),d=o?_t("dialog",z(()=>`${e.type[0]}${i.value[0]}`),c,e):void 0;return{mergedClsPrefix:n,mergedIconPlacement:i,mergedTheme:l,handlePositiveClick:r,handleNegativeClick:a,handleCloseClick:s,cssVars:o?void 0:c,themeClass:d==null?void 0:d.themeClass,onRender:d==null?void 0:d.onRender}},render(){var e;const{bordered:t,mergedIconPlacement:n,cssVars:o,closable:i,showIcon:r,title:a,content:s,action:l,negativeText:c,positiveText:d,positiveButtonProps:u,negativeButtonProps:h,handlePositiveClick:m,handleNegativeClick:g,mergedTheme:v,loading:p,type:f,mergedClsPrefix:x}=this;(e=this.onRender)===null||e===void 0||e.call(this);const A=r?T(po,{clsPrefix:x,class:`${x}-dialog__icon`},{default:()=>Et(this.$slots.icon,w=>w||(this.icon?It(this.icon):u7[this.type]()))}):null,k=Et(this.$slots.action,w=>w||d||c||l?T("div",{class:`${x}-dialog__action`},w||(l?[It(l)]:[this.negativeText&&T(ja,Object.assign({theme:v.peers.Button,themeOverrides:v.peerOverrides.Button,ghost:!0,size:"small",onClick:g},h),{default:()=>It(this.negativeText)}),this.positiveText&&T(ja,Object.assign({theme:v.peers.Button,themeOverrides:v.peerOverrides.Button,size:"small",type:f==="default"?"primary":f,disabled:p,loading:p,onClick:m},u),{default:()=>It(this.positiveText)})])):null);return T("div",{class:[`${x}-dialog`,this.themeClass,this.closable&&`${x}-dialog--closable`,`${x}-dialog--icon-${n}`,t&&`${x}-dialog--bordered`],style:o,role:"dialog"},i?T(ys,{clsPrefix:x,class:`${x}-dialog__close`,onClick:this.handleCloseClick}):null,r&&n==="top"?T("div",{class:`${x}-dialog-icon-container`},A):null,T("div",{class:`${x}-dialog__title`},r&&n==="left"?A:null,jo(this.$slots.header,()=>[It(a)])),T("div",{class:[`${x}-dialog__content`,k?"":`${x}-dialog__content--last`]},jo(this.$slots.default,()=>[It(s)])),k)}}),sb="n-dialog-provider",h7="n-dialog-api",f7="n-dialog-reactive-list",lb=e=>{const{modalColor:t,textColor2:n,boxShadow3:o}=e;return{color:t,textColor:n,boxShadow:o}},g7={name:"Modal",common:ae,peers:{Scrollbar:Vt,Dialog:nd,Card:Zc},self:lb},cb=g7,m7={name:"Modal",common:re,peers:{Scrollbar:Jt,Dialog:ib,Card:Tp},self:lb},p7=m7,od=Object.assign(Object.assign({},Yc),_s),b7=is(od),v7=se({name:"ModalBody",inheritAttrs:!1,props:Object.assign(Object.assign({show:{type:Boolean,required:!0},preset:String,displayDirective:{type:String,required:!0},trapFocus:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0},blockScroll:Boolean},od),{renderMask:Function,onClickoutside:Function,onBeforeLeave:{type:Function,required:!0},onAfterLeave:{type:Function,required:!0},onPositiveClick:{type:Function,required:!0},onNegativeClick:{type:Function,required:!0},onClose:{type:Function,required:!0},onAfterEnter:Function,onEsc:Function}),setup(e){const t=j(null),n=j(null),o=j(e.show),i=j(null),r=j(null);Ze(Ke(e,"show"),p=>{p&&(o.value=!0)}),Kx(z(()=>e.blockScroll&&o.value));const a=Ie(Dg);function s(){if(a.transformOriginRef.value==="center")return"";const{value:p}=i,{value:f}=r;if(p===null||f===null)return"";if(n.value){const x=n.value.containerScrollTop;return`${p}px ${f+x}px`}return""}function l(p){if(a.transformOriginRef.value==="center")return;const f=a.getMousePosition();if(!f||!n.value)return;const x=n.value.containerScrollTop,{offsetLeft:A,offsetTop:k}=p;if(f){const w=f.y,I=f.x;i.value=-(A-I),r.value=-(k-w-x)}p.style.transformOrigin=s()}function c(p){jt(()=>{l(p)})}function d(p){p.style.transformOrigin=s(),e.onBeforeLeave()}function u(){o.value=!1,i.value=null,r.value=null,e.onAfterLeave()}function h(){const{onClose:p}=e;p&&p()}function m(){e.onNegativeClick()}function g(){e.onPositiveClick()}const v=j(null);return Ze(v,p=>{p&&jt(()=>{const f=p.el;f&&t.value!==f&&(t.value=f)})}),We(ls,t),We(cs,null),We(Nr,null),{mergedTheme:a.mergedThemeRef,appear:a.appearRef,isMounted:a.isMountedRef,mergedClsPrefix:a.mergedClsPrefixRef,bodyRef:t,scrollbarRef:n,displayed:o,childNodeRef:v,handlePositiveClick:g,handleNegativeClick:m,handleCloseClick:h,handleAfterLeave:u,handleBeforeLeave:d,handleEnter:c}},render(){const{$slots:e,$attrs:t,handleEnter:n,handleAfterLeave:o,handleBeforeLeave:i,preset:r,mergedClsPrefix:a}=this;let s=null;if(!r){if(s=Cl(e),!s){Pi("modal","default slot is empty");return}s=fn(s),s.props=Ln({class:`${a}-modal`},t,s.props||{})}return this.displayDirective==="show"||this.displayed||this.show?fo(T("div",{role:"none",class:`${a}-modal-body-wrapper`},T(xs,{ref:"scrollbarRef",theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,contentClass:`${a}-modal-scroll-content`},{default:()=>{var l;return[(l=this.renderMask)===null||l===void 0?void 0:l.call(this),T(Jg,{disabled:!this.trapFocus,active:this.show,onEsc:this.onEsc,autoFocus:this.autoFocus},{default:()=>{var c;return T(gn,{name:"fade-in-scale-up-transition",appear:(c=this.appear)!==null&&c!==void 0?c:this.isMounted,onEnter:n,onAfterEnter:this.onAfterEnter,onAfterLeave:o,onBeforeLeave:i},{default:()=>{const d=[[_i,this.show]],{onClickoutside:u}=this;return u&&d.push([Pl,this.onClickoutside,void 0,{capture:!0}]),fo(this.preset==="confirm"||this.preset==="dialog"?T(ab,Object.assign({},this.$attrs,{class:[`${a}-modal`,this.$attrs.class],ref:"bodyRef",theme:this.mergedTheme.peers.Dialog,themeOverrides:this.mergedTheme.peerOverrides.Dialog},qo(this.$props,rb),{"aria-modal":"true"}),e):this.preset==="card"?T(D8,Object.assign({},this.$attrs,{ref:"bodyRef",class:[`${a}-modal`,this.$attrs.class],theme:this.mergedTheme.peers.Card,themeOverrides:this.mergedTheme.peerOverrides.Card},qo(this.$props,R8),{"aria-modal":"true",role:"dialog"}),e):this.childNodeRef=s,d)}})}})]}})),[[_i,this.displayDirective==="if"||this.displayed||this.show]]):null}}),y7=N([Q("modal-container",` position: fixed; left: 0; top: 0; @@ -1056,7 +1056,7 @@ ${t} color: var(--n-text-color); margin: auto; box-shadow: var(--n-box-shadow); - `,[Qm({duration:".25s",enterScale:".5"})])]),k7=Object.assign(Object.assign(Object.assign(Object.assign({},Pe.props),{show:Boolean,unstableShowMask:{type:Boolean,default:!0},maskClosable:{type:Boolean,default:!0},preset:String,to:[String,Object],displayDirective:{type:String,default:"if"},transformOrigin:{type:String,default:"mouse"},zIndex:Number,autoFocus:{type:Boolean,default:!0},trapFocus:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!0}}),od),{onEsc:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],onAfterEnter:Function,onBeforeLeave:Function,onAfterLeave:Function,onClose:Function,onPositiveClick:Function,onNegativeClick:Function,onMaskClick:Function,internalDialog:Boolean,internalAppear:{type:Boolean,default:void 0},overlayStyle:[String,Object],onBeforeHide:Function,onAfterHide:Function,onHide:Function}),C7=se({name:"Modal",inheritAttrs:!1,props:k7,setup(e){const t=j(null),{mergedClsPrefixRef:n,namespaceRef:o,inlineThemeDisabled:i}=lt(e),r=Pe("Modal","-modal",x7,cb,e,n),a=Rg(64),s=Eg(),l=Br(),c=e.internalDialog?Ie(sb,null):null,d=qx();function u(w){const{onUpdateShow:I,"onUpdate:show":C,onHide:S}=e;I&&Fe(I,w),C&&Fe(C,w),S&&!w&&S(w)}function h(){const{onClose:w}=e;w?Promise.resolve(w()).then(I=>{I!==!1&&u(!1)}):u(!1)}function m(){const{onPositiveClick:w}=e;w?Promise.resolve(w()).then(I=>{I!==!1&&u(!1)}):u(!1)}function g(){const{onNegativeClick:w}=e;w?Promise.resolve(w()).then(I=>{I!==!1&&u(!1)}):u(!1)}function v(){const{onBeforeLeave:w,onBeforeHide:I}=e;w&&Fe(w),I&&I()}function p(){const{onAfterLeave:w,onAfterHide:I}=e;w&&Fe(w),I&&I()}function f(w){var I;const{onMaskClick:C}=e;C&&C(w),e.maskClosable&&!((I=t.value)===null||I===void 0)&&I.contains(wr(w))&&u(!1)}function x(w){var I;(I=e.onEsc)===null||I===void 0||I.call(e),e.show&&e.closeOnEsc&&O2(w)&&!d.value&&u(!1)}We(Dg,{getMousePosition:()=>{if(c){const{clickedRef:w,clickPositionRef:I}=c;if(w.value&&I.value)return I.value}return a.value?s.value:null},mergedClsPrefixRef:n,mergedThemeRef:r,isMountedRef:l,appearRef:Ke(e,"internalAppear"),transformOriginRef:Ke(e,"transformOrigin")});const A=z(()=>{const{common:{cubicBezierEaseOut:w},self:{boxShadow:I,color:C,textColor:S}}=r.value;return{"--n-bezier-ease-out":w,"--n-box-shadow":I,"--n-color":C,"--n-text-color":S}}),k=i?_t("theme-class",void 0,A,e):void 0;return{mergedClsPrefix:n,namespace:o,isMounted:l,containerRef:t,presetProps:z(()=>qo(e,v7)),handleEsc:x,handleAfterLeave:p,handleClickoutside:f,handleBeforeLeave:v,doUpdateShow:u,handleNegativeClick:g,handlePositiveClick:m,handleCloseClick:h,cssVars:i?void 0:A,themeClass:k==null?void 0:k.themeClass,onRender:k==null?void 0:k.onRender}},render(){const{mergedClsPrefix:e}=this;return T(zg,{to:this.to,show:this.show},{default:()=>{var t;(t=this.onRender)===null||t===void 0||t.call(this);const{unstableShowMask:n}=this;return fo(T("div",{role:"none",ref:"containerRef",class:[`${e}-modal-container`,this.themeClass,this.namespace],style:this.cssVars},T(y7,Object.assign({style:this.overlayStyle},this.$attrs,{ref:"bodyWrapper",displayDirective:this.displayDirective,show:this.show,preset:this.preset,autoFocus:this.autoFocus,trapFocus:this.trapFocus,blockScroll:this.blockScroll},this.presetProps,{onEsc:this.handleEsc,onClose:this.handleCloseClick,onNegativeClick:this.handleNegativeClick,onPositiveClick:this.handlePositiveClick,onBeforeLeave:this.handleBeforeLeave,onAfterEnter:this.onAfterEnter,onAfterLeave:this.handleAfterLeave,onClickoutside:n?void 0:this.handleClickoutside,renderMask:n?()=>{var o;return T(gn,{name:"fade-in-transition",key:"mask",appear:(o=this.internalAppear)!==null&&o!==void 0?o:this.isMounted},{default:()=>this.show?T("div",{"aria-hidden":!0,ref:"containerRef",class:`${e}-modal-mask`,onClick:this.handleClickoutside}):null})}:void 0}),this.$slots)),[[Ec,{zIndex:this.zIndex,enabled:this.show}]])}})}}),T7=Object.assign(Object.assign({},_s),{onAfterEnter:Function,onAfterLeave:Function,transformOrigin:String,blockScroll:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},onEsc:Function,autoFocus:{type:Boolean,default:!0},internalStyle:[String,Object],maskClosable:{type:Boolean,default:!0},onPositiveClick:Function,onNegativeClick:Function,onClose:Function,onMaskClick:Function}),w7=se({name:"DialogEnvironment",props:Object.assign(Object.assign({},T7),{internalKey:{type:String,required:!0},to:[String,Object],onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const t=j(!0);function n(){const{onInternalAfterLeave:d,internalKey:u,onAfterLeave:h}=e;d&&d(u),h&&h()}function o(d){const{onPositiveClick:u}=e;u?Promise.resolve(u(d)).then(h=>{h!==!1&&l()}):l()}function i(d){const{onNegativeClick:u}=e;u?Promise.resolve(u(d)).then(h=>{h!==!1&&l()}):l()}function r(){const{onClose:d}=e;d?Promise.resolve(d()).then(u=>{u!==!1&&l()}):l()}function a(d){const{onMaskClick:u,maskClosable:h}=e;u&&(u(d),h&&l())}function s(){const{onEsc:d}=e;d&&d()}function l(){t.value=!1}function c(d){t.value=d}return{show:t,hide:l,handleUpdateShow:c,handleAfterLeave:n,handleCloseClick:r,handleNegativeClick:i,handlePositiveClick:o,handleMaskClick:a,handleEsc:s}},render(){const{handlePositiveClick:e,handleUpdateShow:t,handleNegativeClick:n,handleCloseClick:o,handleAfterLeave:i,handleMaskClick:r,handleEsc:a,to:s,maskClosable:l,show:c}=this;return T(C7,{show:c,onUpdateShow:t,onMaskClick:r,onEsc:a,to:s,maskClosable:l,onAfterEnter:this.onAfterEnter,onAfterLeave:i,closeOnEsc:this.closeOnEsc,blockScroll:this.blockScroll,autoFocus:this.autoFocus,transformOrigin:this.transformOrigin,internalAppear:!0,internalDialog:!0},{default:()=>T(ab,Object.assign({},qo(this.$props,rb),{style:this.internalStyle,onClose:o,onNegativeClick:n,onPositiveClick:e}))})}}),S7={injectionKey:String,to:[String,Object]},_7=se({name:"DialogProvider",props:S7,setup(){const e=j([]),t={};function n(s={}){const l=os(),c=vo(Object.assign(Object.assign({},s),{key:l,destroy:()=>{t[`n-dialog-${l}`].hide()}}));return e.value.push(c),c}const o=["info","success","warning","error"].map(s=>l=>n(Object.assign(Object.assign({},l),{type:s})));function i(s){const{value:l}=e;l.splice(l.findIndex(c=>c.key===s),1)}function r(){Object.values(t).forEach(s=>{s.hide()})}const a={create:n,destroyAll:r,info:o[0],success:o[1],warning:o[2],error:o[3]};return We(f7,a),We(sb,{clickedRef:Rg(64),clickPositionRef:Eg()}),We(g7,e),Object.assign(Object.assign({},a),{dialogList:e,dialogInstRefs:t,handleAfterLeave:i})},render(){var e,t;return T(He,null,[this.dialogList.map(n=>T(w7,Ac(n,["destroy","style"],{internalStyle:n.style,to:this.to,ref:o=>{o===null?delete this.dialogInstRefs[`n-dialog-${n.key}`]:this.dialogInstRefs[`n-dialog-${n.key}`]=o},internalKey:n.key,onInternalAfterLeave:this.handleAfterLeave}))),(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)])}}),db=e=>{const{textColor1:t,dividerColor:n,fontWeightStrong:o}=e;return{textColor:t,color:n,fontWeight:o}},P7={name:"Divider",common:ae,self:db},ub=P7,A7={name:"Divider",common:re,self:db},I7=A7,E7=Q("divider",` + `,[Qm({duration:".25s",enterScale:".5"})])]),x7=Object.assign(Object.assign(Object.assign(Object.assign({},Pe.props),{show:Boolean,unstableShowMask:{type:Boolean,default:!0},maskClosable:{type:Boolean,default:!0},preset:String,to:[String,Object],displayDirective:{type:String,default:"if"},transformOrigin:{type:String,default:"mouse"},zIndex:Number,autoFocus:{type:Boolean,default:!0},trapFocus:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!0}}),od),{onEsc:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],onAfterEnter:Function,onBeforeLeave:Function,onAfterLeave:Function,onClose:Function,onPositiveClick:Function,onNegativeClick:Function,onMaskClick:Function,internalDialog:Boolean,internalAppear:{type:Boolean,default:void 0},overlayStyle:[String,Object],onBeforeHide:Function,onAfterHide:Function,onHide:Function}),k7=se({name:"Modal",inheritAttrs:!1,props:x7,setup(e){const t=j(null),{mergedClsPrefixRef:n,namespaceRef:o,inlineThemeDisabled:i}=lt(e),r=Pe("Modal","-modal",y7,cb,e,n),a=Rg(64),s=Eg(),l=Br(),c=e.internalDialog?Ie(sb,null):null,d=Ux();function u(w){const{onUpdateShow:I,"onUpdate:show":C,onHide:S}=e;I&&Fe(I,w),C&&Fe(C,w),S&&!w&&S(w)}function h(){const{onClose:w}=e;w?Promise.resolve(w()).then(I=>{I!==!1&&u(!1)}):u(!1)}function m(){const{onPositiveClick:w}=e;w?Promise.resolve(w()).then(I=>{I!==!1&&u(!1)}):u(!1)}function g(){const{onNegativeClick:w}=e;w?Promise.resolve(w()).then(I=>{I!==!1&&u(!1)}):u(!1)}function v(){const{onBeforeLeave:w,onBeforeHide:I}=e;w&&Fe(w),I&&I()}function p(){const{onAfterLeave:w,onAfterHide:I}=e;w&&Fe(w),I&&I()}function f(w){var I;const{onMaskClick:C}=e;C&&C(w),e.maskClosable&&!((I=t.value)===null||I===void 0)&&I.contains(wr(w))&&u(!1)}function x(w){var I;(I=e.onEsc)===null||I===void 0||I.call(e),e.show&&e.closeOnEsc&&$2(w)&&!d.value&&u(!1)}We(Dg,{getMousePosition:()=>{if(c){const{clickedRef:w,clickPositionRef:I}=c;if(w.value&&I.value)return I.value}return a.value?s.value:null},mergedClsPrefixRef:n,mergedThemeRef:r,isMountedRef:l,appearRef:Ke(e,"internalAppear"),transformOriginRef:Ke(e,"transformOrigin")});const A=z(()=>{const{common:{cubicBezierEaseOut:w},self:{boxShadow:I,color:C,textColor:S}}=r.value;return{"--n-bezier-ease-out":w,"--n-box-shadow":I,"--n-color":C,"--n-text-color":S}}),k=i?_t("theme-class",void 0,A,e):void 0;return{mergedClsPrefix:n,namespace:o,isMounted:l,containerRef:t,presetProps:z(()=>qo(e,b7)),handleEsc:x,handleAfterLeave:p,handleClickoutside:f,handleBeforeLeave:v,doUpdateShow:u,handleNegativeClick:g,handlePositiveClick:m,handleCloseClick:h,cssVars:i?void 0:A,themeClass:k==null?void 0:k.themeClass,onRender:k==null?void 0:k.onRender}},render(){const{mergedClsPrefix:e}=this;return T(zg,{to:this.to,show:this.show},{default:()=>{var t;(t=this.onRender)===null||t===void 0||t.call(this);const{unstableShowMask:n}=this;return fo(T("div",{role:"none",ref:"containerRef",class:[`${e}-modal-container`,this.themeClass,this.namespace],style:this.cssVars},T(v7,Object.assign({style:this.overlayStyle},this.$attrs,{ref:"bodyWrapper",displayDirective:this.displayDirective,show:this.show,preset:this.preset,autoFocus:this.autoFocus,trapFocus:this.trapFocus,blockScroll:this.blockScroll},this.presetProps,{onEsc:this.handleEsc,onClose:this.handleCloseClick,onNegativeClick:this.handleNegativeClick,onPositiveClick:this.handlePositiveClick,onBeforeLeave:this.handleBeforeLeave,onAfterEnter:this.onAfterEnter,onAfterLeave:this.handleAfterLeave,onClickoutside:n?void 0:this.handleClickoutside,renderMask:n?()=>{var o;return T(gn,{name:"fade-in-transition",key:"mask",appear:(o=this.internalAppear)!==null&&o!==void 0?o:this.isMounted},{default:()=>this.show?T("div",{"aria-hidden":!0,ref:"containerRef",class:`${e}-modal-mask`,onClick:this.handleClickoutside}):null})}:void 0}),this.$slots)),[[Ec,{zIndex:this.zIndex,enabled:this.show}]])}})}}),C7=Object.assign(Object.assign({},_s),{onAfterEnter:Function,onAfterLeave:Function,transformOrigin:String,blockScroll:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},onEsc:Function,autoFocus:{type:Boolean,default:!0},internalStyle:[String,Object],maskClosable:{type:Boolean,default:!0},onPositiveClick:Function,onNegativeClick:Function,onClose:Function,onMaskClick:Function}),T7=se({name:"DialogEnvironment",props:Object.assign(Object.assign({},C7),{internalKey:{type:String,required:!0},to:[String,Object],onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const t=j(!0);function n(){const{onInternalAfterLeave:d,internalKey:u,onAfterLeave:h}=e;d&&d(u),h&&h()}function o(d){const{onPositiveClick:u}=e;u?Promise.resolve(u(d)).then(h=>{h!==!1&&l()}):l()}function i(d){const{onNegativeClick:u}=e;u?Promise.resolve(u(d)).then(h=>{h!==!1&&l()}):l()}function r(){const{onClose:d}=e;d?Promise.resolve(d()).then(u=>{u!==!1&&l()}):l()}function a(d){const{onMaskClick:u,maskClosable:h}=e;u&&(u(d),h&&l())}function s(){const{onEsc:d}=e;d&&d()}function l(){t.value=!1}function c(d){t.value=d}return{show:t,hide:l,handleUpdateShow:c,handleAfterLeave:n,handleCloseClick:r,handleNegativeClick:i,handlePositiveClick:o,handleMaskClick:a,handleEsc:s}},render(){const{handlePositiveClick:e,handleUpdateShow:t,handleNegativeClick:n,handleCloseClick:o,handleAfterLeave:i,handleMaskClick:r,handleEsc:a,to:s,maskClosable:l,show:c}=this;return T(k7,{show:c,onUpdateShow:t,onMaskClick:r,onEsc:a,to:s,maskClosable:l,onAfterEnter:this.onAfterEnter,onAfterLeave:i,closeOnEsc:this.closeOnEsc,blockScroll:this.blockScroll,autoFocus:this.autoFocus,transformOrigin:this.transformOrigin,internalAppear:!0,internalDialog:!0},{default:()=>T(ab,Object.assign({},qo(this.$props,rb),{style:this.internalStyle,onClose:o,onNegativeClick:n,onPositiveClick:e}))})}}),w7={injectionKey:String,to:[String,Object]},S7=se({name:"DialogProvider",props:w7,setup(){const e=j([]),t={};function n(s={}){const l=os(),c=vo(Object.assign(Object.assign({},s),{key:l,destroy:()=>{t[`n-dialog-${l}`].hide()}}));return e.value.push(c),c}const o=["info","success","warning","error"].map(s=>l=>n(Object.assign(Object.assign({},l),{type:s})));function i(s){const{value:l}=e;l.splice(l.findIndex(c=>c.key===s),1)}function r(){Object.values(t).forEach(s=>{s.hide()})}const a={create:n,destroyAll:r,info:o[0],success:o[1],warning:o[2],error:o[3]};return We(h7,a),We(sb,{clickedRef:Rg(64),clickPositionRef:Eg()}),We(f7,e),Object.assign(Object.assign({},a),{dialogList:e,dialogInstRefs:t,handleAfterLeave:i})},render(){var e,t;return T(He,null,[this.dialogList.map(n=>T(T7,Ac(n,["destroy","style"],{internalStyle:n.style,to:this.to,ref:o=>{o===null?delete this.dialogInstRefs[`n-dialog-${n.key}`]:this.dialogInstRefs[`n-dialog-${n.key}`]=o},internalKey:n.key,onInternalAfterLeave:this.handleAfterLeave}))),(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)])}}),db=e=>{const{textColor1:t,dividerColor:n,fontWeightStrong:o}=e;return{textColor:t,color:n,fontWeight:o}},_7={name:"Divider",common:ae,self:db},ub=_7,P7={name:"Divider",common:re,self:db},A7=P7,I7=Q("divider",` position: relative; display: flex; width: 100%; @@ -1097,7 +1097,7 @@ ${t} height: 1px; width: 100%; margin: 0; - `),Rt("dashed",[F("line",{backgroundColor:"var(--n-color)"})]),Y("dashed",[F("line",{borderColor:"var(--n-color)"})]),Y("vertical",{backgroundColor:"var(--n-color)"})]),R7=Object.assign(Object.assign({},Pe.props),{titlePlacement:{type:String,default:"center"},dashed:Boolean,vertical:Boolean}),M7=se({name:"Divider",props:R7,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=lt(e),o=Pe("Divider","-divider",E7,ub,e,t),i=z(()=>{const{common:{cubicBezierEaseInOut:a},self:{color:s,textColor:l,fontWeight:c}}=o.value;return{"--n-bezier":a,"--n-color":s,"--n-text-color":l,"--n-font-weight":c}}),r=n?_t("divider",void 0,i,e):void 0;return{mergedClsPrefix:t,cssVars:n?void 0:i,themeClass:r==null?void 0:r.themeClass,onRender:r==null?void 0:r.onRender}},render(){var e;const{$slots:t,titlePlacement:n,vertical:o,dashed:i,cssVars:r,mergedClsPrefix:a}=this;return(e=this.onRender)===null||e===void 0||e.call(this),T("div",{role:"separator",class:[`${a}-divider`,this.themeClass,{[`${a}-divider--vertical`]:o,[`${a}-divider--no-title`]:!t.default,[`${a}-divider--dashed`]:i,[`${a}-divider--title-position-${n}`]:t.default&&n}],style:r},o?null:T("div",{class:`${a}-divider__line ${a}-divider__line--left`}),!o&&t.default?T(He,null,T("div",{class:`${a}-divider__title`},this.$slots),T("div",{class:`${a}-divider__line ${a}-divider__line--right`})):null)}}),hb=e=>{const{modalColor:t,textColor1:n,textColor2:o,boxShadow3:i,lineHeight:r,fontWeightStrong:a,dividerColor:s,closeColorHover:l,closeColorPressed:c,closeIconColor:d,closeIconColorHover:u,closeIconColorPressed:h,borderRadius:m,primaryColorHover:g}=e;return{bodyPadding:"16px 24px",headerPadding:"16px 24px",footerPadding:"16px 24px",color:t,textColor:o,titleTextColor:n,titleFontSize:"18px",titleFontWeight:a,boxShadow:i,lineHeight:r,headerBorderBottom:`1px solid ${s}`,footerBorderTop:`1px solid ${s}`,closeIconColor:d,closeIconColorHover:u,closeIconColorPressed:h,closeSize:"22px",closeIconSize:"18px",closeColorHover:l,closeColorPressed:c,closeBorderRadius:m,resizableTriggerColorHover:g}},D7={name:"Drawer",common:ae,peers:{Scrollbar:Vt},self:hb},L7=D7,$7={name:"Drawer",common:re,peers:{Scrollbar:Jt},self:hb},O7=$7,fb={actionMargin:"0 0 0 20px",actionMarginRtl:"0 20px 0 0"},H7={name:"DynamicInput",common:re,peers:{Input:mn,Button:Qt},self(){return fb}},B7=H7,N7=()=>fb,z7={name:"DynamicInput",common:ae,peers:{Input:sn,Button:Kt},self:N7},F7=z7,gb={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},W7={name:"Space",self(){return gb}},mb=W7,j7=()=>gb,G7={name:"Space",self:j7},id=G7;let il;const V7=()=>{if(!Zo)return!0;if(il===void 0){const e=document.createElement("div");e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e);const t=e.scrollHeight===1;return document.body.removeChild(e),il=t}return il},K7=Object.assign(Object.assign({},Pe.props),{align:String,justify:{type:String,default:"start"},inline:Boolean,vertical:Boolean,size:{type:[String,Number,Array],default:"medium"},wrapItem:{type:Boolean,default:!0},itemStyle:[String,Object],wrap:{type:Boolean,default:!0},internalUseGap:{type:Boolean,default:void 0}}),pb=se({name:"Space",props:K7,setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=lt(e),o=Pe("Space","-space",void 0,id,e,t),i=ti("Space",n,t);return{useGap:V7(),rtlEnabled:i,mergedClsPrefix:t,margin:z(()=>{const{size:r}=e;if(Array.isArray(r))return{horizontal:r[0],vertical:r[1]};if(typeof r=="number")return{horizontal:r,vertical:r};const{self:{[ue("gap",r)]:a}}=o.value,{row:s,col:l}=Qy(a);return{horizontal:tu(l),vertical:tu(s)}})}},render(){const{vertical:e,align:t,inline:n,justify:o,itemStyle:i,margin:r,wrap:a,mergedClsPrefix:s,rtlEnabled:l,useGap:c,wrapItem:d,internalUseGap:u}=this,h=Sr(vg(this));if(!h.length)return null;const m=`${r.horizontal}px`,g=`${r.horizontal/2}px`,v=`${r.vertical}px`,p=`${r.vertical/2}px`,f=h.length-1,x=o.startsWith("space-");return T("div",{role:"none",class:[`${s}-space`,l&&`${s}-space--rtl`],style:{display:n?"inline-flex":"flex",flexDirection:e?"column":"row",justifyContent:["start","end"].includes(o)?"flex-"+o:o,flexWrap:!a||e?"nowrap":"wrap",marginTop:c||e?"":`-${p}`,marginBottom:c||e?"":`-${p}`,alignItems:t,gap:c?`${r.vertical}px ${r.horizontal}px`:""}},!d&&(c||u)?h:h.map((A,k)=>T("div",{role:"none",style:[i,{maxWidth:"100%"},c?"":e?{marginBottom:k!==f?v:""}:l?{marginLeft:x?o==="space-between"&&k===f?"":g:k!==f?m:"",marginRight:x?o==="space-between"&&k===0?"":g:"",paddingTop:p,paddingBottom:p}:{marginRight:x?o==="space-between"&&k===f?"":g:k!==f?m:"",marginLeft:x?o==="space-between"&&k===0?"":g:"",paddingTop:p,paddingBottom:p}]},A)))}}),U7={name:"DynamicTags",common:re,peers:{Input:mn,Button:Qt,Tag:ip,Space:mb},self(){return{inputWidth:"64px"}}},q7=U7,X7={name:"DynamicTags",common:ae,peers:{Input:sn,Button:Kt,Tag:rp,Space:id},self(){return{inputWidth:"64px"}}},Z7=X7,Y7={name:"Element",common:re},J7=Y7,Q7={name:"Element",common:ae},bb=Q7,e_=Object.assign(Object.assign({},Pe.props),{tag:{type:String,default:"div"}}),Sa=se({name:"Element",alias:["El"],props:e_,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=lt(e),o=Pe("Element","-element",void 0,bb,e,t),i=z(()=>{const{common:a}=o.value;return Object.keys(a).reduce((s,l)=>(s[`--${iT(l)}`]=a[l],s),{})}),r=n?_t("element",void 0,i,e):void 0;return{mergedClsPrefix:t,cssVars:n?void 0:i,themeClass:r==null?void 0:r.themeClass,onRender:r==null?void 0:r.onRender}},render(){var e;const{tag:t,mergedClsPrefix:n,cssVars:o,themeClass:i,onRender:r,$slots:a}=this;return r==null||r(),T(t,{role:"none",class:[`${n}-element`,i],style:o},(e=a.default)===null||e===void 0?void 0:e.call(a))}}),t_={feedbackPadding:"4px 0 0 2px",feedbackHeightSmall:"24px",feedbackHeightMedium:"24px",feedbackHeightLarge:"26px",feedbackFontSizeSmall:"13px",feedbackFontSizeMedium:"14px",feedbackFontSizeLarge:"14px",labelFontSizeLeftSmall:"14px",labelFontSizeLeftMedium:"14px",labelFontSizeLeftLarge:"15px",labelFontSizeTopSmall:"13px",labelFontSizeTopMedium:"14px",labelFontSizeTopLarge:"14px",labelHeightSmall:"24px",labelHeightMedium:"26px",labelHeightLarge:"28px",labelPaddingVertical:"0 0 6px 2px",labelPaddingHorizontal:"0 12px 0 0",labelTextAlignVertical:"left",labelTextAlignHorizontal:"right",labelFontWeight:"400"},vb=e=>{const{heightSmall:t,heightMedium:n,heightLarge:o,textColor1:i,errorColor:r,warningColor:a,lineHeight:s,textColor3:l}=e;return Object.assign(Object.assign({},t_),{blankHeightSmall:t,blankHeightMedium:n,blankHeightLarge:o,lineHeight:s,labelTextColor:i,asteriskColor:r,feedbackTextColorError:r,feedbackTextColorWarning:a,feedbackTextColor:l})},n_={name:"Form",common:ae,self:vb},o_=n_,i_={name:"Form",common:re,self:vb},r_=i_,_h=1,yb="n-grid",xb=1,a_={span:{type:[Number,String],default:xb},offset:{type:[Number,String],default:0},suffix:Boolean,privateOffset:Number,privateSpan:Number,privateColStart:Number,privateShow:{type:Boolean,default:!0}},s_=se({__GRID_ITEM__:!0,name:"GridItem",alias:["Gi"],props:a_,setup(){const{isSsrRef:e,xGapRef:t,itemStyleRef:n,overflowRef:o,layoutShiftDisabledRef:i}=Ie(yb),r=rn();return{overflow:o,itemStyle:n,layoutShiftDisabled:i,mergedXGap:z(()=>gi(t.value||0)),deriveStyle:()=>{e.value;const{privateSpan:a=xb,privateShow:s=!0,privateColStart:l=void 0,privateOffset:c=0}=r.vnode.props,{value:d}=t,u=gi(d||0);return{display:s?"":"none",gridColumn:`${l??`span ${a}`} / span ${a}`,marginLeft:c?`calc((100% - (${a} - 1) * ${u}) / ${a} * ${c} + ${u} * ${c})`:""}}}},render(){var e,t;if(this.layoutShiftDisabled){const{span:n,offset:o,mergedXGap:i}=this;return T("div",{style:{gridColumn:`span ${n} / span ${n}`,marginLeft:o?`calc((100% - (${n} - 1) * ${i}) / ${n} * ${o} + ${i} * ${o})`:""}},this.$slots)}return T("div",{style:[this.itemStyle,this.deriveStyle()]},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e,{overflow:this.overflow}))}}),l_={name:"GradientText",common:re,self(e){const{primaryColor:t,successColor:n,warningColor:o,errorColor:i,infoColor:r,primaryColorSuppl:a,successColorSuppl:s,warningColorSuppl:l,errorColorSuppl:c,infoColorSuppl:d,fontWeightStrong:u}=e;return{fontWeight:u,rotate:"252deg",colorStartPrimary:t,colorEndPrimary:a,colorStartInfo:r,colorEndInfo:d,colorStartWarning:o,colorEndWarning:l,colorStartError:i,colorEndError:c,colorStartSuccess:n,colorEndSuccess:s}}},c_=l_,d_=e=>{const{primaryColor:t,successColor:n,warningColor:o,errorColor:i,infoColor:r,fontWeightStrong:a}=e;return{fontWeight:a,rotate:"252deg",colorStartPrimary:U(t,{alpha:.6}),colorEndPrimary:t,colorStartInfo:U(r,{alpha:.6}),colorEndInfo:r,colorStartWarning:U(o,{alpha:.6}),colorEndWarning:o,colorStartError:U(i,{alpha:.6}),colorEndError:i,colorStartSuccess:U(n,{alpha:.6}),colorEndSuccess:n}},u_={name:"GradientText",common:ae,self:d_},h_=u_,f_={xs:0,s:640,m:1024,l:1280,xl:1536,xxl:1920},kb=24,rl="__ssr__",g_={layoutShiftDisabled:Boolean,responsive:{type:[String,Boolean],default:"self"},cols:{type:[Number,String],default:kb},itemResponsive:Boolean,collapsed:Boolean,collapsedRows:{type:Number,default:1},itemStyle:[Object,String],xGap:{type:[Number,String],default:0},yGap:{type:[Number,String],default:0}},m_=se({name:"Grid",inheritAttrs:!1,props:g_,setup(e){const{mergedClsPrefixRef:t,mergedBreakpointsRef:n}=lt(e),o=/^\d+$/,i=j(void 0),r=tx((n==null?void 0:n.value)||f_),a=wt(()=>!!(e.itemResponsive||!o.test(e.cols.toString())||!o.test(e.xGap.toString())||!o.test(e.yGap.toString()))),s=z(()=>{if(a.value)return e.responsive==="self"?i.value:r.value}),l=wt(()=>{var f;return(f=Number(ai(e.cols.toString(),s.value)))!==null&&f!==void 0?f:kb}),c=wt(()=>ai(e.xGap.toString(),s.value)),d=wt(()=>ai(e.yGap.toString(),s.value)),u=f=>{i.value=f.contentRect.width},h=f=>{bg(u,f)},m=j(!1),g=z(()=>{if(e.responsive==="self")return h}),v=j(!1),p=j();return Lt(()=>{const{value:f}=p;f&&f.hasAttribute(rl)&&(f.removeAttribute(rl),v.value=!0)}),We(yb,{layoutShiftDisabledRef:Ke(e,"layoutShiftDisabled"),isSsrRef:v,itemStyleRef:Ke(e,"itemStyle"),xGapRef:c,overflowRef:m}),{isSsr:!Zo,contentEl:p,mergedClsPrefix:t,style:z(()=>e.layoutShiftDisabled?{width:"100%",display:"grid",gridTemplateColumns:`repeat(${e.cols}, minmax(0, 1fr))`,columnGap:gi(e.xGap),rowGap:gi(e.yGap)}:{width:"100%",display:"grid",gridTemplateColumns:`repeat(${l.value}, minmax(0, 1fr))`,columnGap:gi(c.value),rowGap:gi(d.value)}),isResponsive:a,responsiveQuery:s,responsiveCols:l,handleResize:g,overflow:m}},render(){if(this.layoutShiftDisabled)return T("div",Ln({ref:"contentEl",class:`${this.mergedClsPrefix}-grid`,style:this.style},this.$attrs),this.$slots);const e=()=>{var t,n,o,i,r,a,s;this.overflow=!1;const l=Sr(vg(this)),c=[],{collapsed:d,collapsedRows:u,responsiveCols:h,responsiveQuery:m}=this;l.forEach(x=>{var A,k,w,I,C;if(((A=x==null?void 0:x.type)===null||A===void 0?void 0:A.__GRID_ITEM__)!==!0)return;if(d2(x)){const R=fn(x);R.props?R.props.privateShow=!1:R.props={privateShow:!1},c.push({child:R,rawChildSpan:0});return}x.dirs=((k=x.dirs)===null||k===void 0?void 0:k.filter(({dir:R})=>R!==_i))||null,((w=x.dirs)===null||w===void 0?void 0:w.length)===0&&(x.dirs=null);const S=fn(x),E=Number((C=ai((I=S.props)===null||I===void 0?void 0:I.span,m))!==null&&C!==void 0?C:_h);E!==0&&c.push({child:S,rawChildSpan:E})});let g=0;const v=(t=c[c.length-1])===null||t===void 0?void 0:t.child;if(v!=null&&v.props){const x=(n=v.props)===null||n===void 0?void 0:n.suffix;x!==void 0&&x!==!1&&(g=Number((i=ai((o=v.props)===null||o===void 0?void 0:o.span,m))!==null&&i!==void 0?i:_h),v.props.privateSpan=g,v.props.privateColStart=h+1-g,v.props.privateShow=(r=v.props.privateShow)!==null&&r!==void 0?r:!0)}let p=0,f=!1;for(const{child:x,rawChildSpan:A}of c){if(f&&(this.overflow=!0),!f){const k=Number((s=ai((a=x.props)===null||a===void 0?void 0:a.offset,m))!==null&&s!==void 0?s:0),w=Math.min(A+k,h);if(x.props?(x.props.privateSpan=w,x.props.privateOffset=k):x.props={privateSpan:w,privateOffset:k},d){const I=p%h;w+I>h&&(p+=h-I),w+p+g>u*h?f=!0:p+=w}}f&&(x.props?x.props.privateShow!==!0&&(x.props.privateShow=!1):x.props={privateShow:!1})}return T("div",Ln({ref:"contentEl",class:`${this.mergedClsPrefix}-grid`,style:this.style,[rl]:this.isSsr||void 0},this.$attrs),c.map(({child:x})=>x))};return this.isResponsive&&this.responsive==="self"?T($a,{onResize:this.handleResize},{default:e}):e()}}),Cb=e=>{const{primaryColor:t,baseColor:n}=e;return{color:t,iconColor:n}},p_={name:"IconWrapper",common:ae,self:Cb},b_=p_,v_={name:"IconWrapper",common:re,self:Cb},y_=v_;function x_(){return{toolbarIconColor:"rgba(255, 255, 255, .9)",toolbarColor:"rgba(0, 0, 0, .35)",toolbarBoxShadow:"none",toolbarBorderRadius:"24px"}}const k_={name:"Image",common:ae,peers:{Tooltip:Gr},self:x_},C_={closeMargin:"16px 12px",closeSize:"20px",closeIconSize:"16px",width:"365px",padding:"16px",titleFontSize:"16px",metaFontSize:"12px",descriptionFontSize:"12px"},Tb=e=>{const{textColor2:t,successColor:n,infoColor:o,warningColor:i,errorColor:r,popoverColor:a,closeIconColor:s,closeIconColorHover:l,closeIconColorPressed:c,closeColorHover:d,closeColorPressed:u,textColor1:h,textColor3:m,borderRadius:g,fontWeightStrong:v,boxShadow2:p,lineHeight:f,fontSize:x}=e;return Object.assign(Object.assign({},C_),{borderRadius:g,lineHeight:f,fontSize:x,headerFontWeight:v,iconColor:t,iconColorSuccess:n,iconColorInfo:o,iconColorWarning:i,iconColorError:r,color:a,textColor:t,closeIconColor:s,closeIconColorHover:l,closeIconColorPressed:c,closeBorderRadius:g,closeColorHover:d,closeColorPressed:u,headerTextColor:h,descriptionTextColor:m,actionTextColor:t,boxShadow:p})},T_={name:"Notification",common:ae,peers:{Scrollbar:Vt},self:Tb},wb=T_,w_={name:"Notification",common:re,peers:{Scrollbar:Jt},self:Tb},S_=w_,__={margin:"0 0 8px 0",padding:"10px 20px",maxWidth:"720px",minWidth:"420px",iconMargin:"0 10px 0 0",closeMargin:"0 0 0 10px",closeSize:"20px",closeIconSize:"16px",iconSize:"20px",fontSize:"14px"},Sb=e=>{const{textColor2:t,closeIconColor:n,closeIconColorHover:o,closeIconColorPressed:i,infoColor:r,successColor:a,errorColor:s,warningColor:l,popoverColor:c,boxShadow2:d,primaryColor:u,lineHeight:h,borderRadius:m,closeColorHover:g,closeColorPressed:v}=e;return Object.assign(Object.assign({},__),{closeBorderRadius:m,textColor:t,textColorInfo:t,textColorSuccess:t,textColorError:t,textColorWarning:t,textColorLoading:t,color:c,colorInfo:c,colorSuccess:c,colorError:c,colorWarning:c,colorLoading:c,boxShadow:d,boxShadowInfo:d,boxShadowSuccess:d,boxShadowError:d,boxShadowWarning:d,boxShadowLoading:d,iconColor:t,iconColorInfo:r,iconColorSuccess:a,iconColorWarning:l,iconColorError:s,iconColorLoading:u,closeColorHover:g,closeColorPressed:v,closeIconColor:n,closeIconColorHover:o,closeIconColorPressed:i,closeColorHoverInfo:g,closeColorPressedInfo:v,closeIconColorInfo:n,closeIconColorHoverInfo:o,closeIconColorPressedInfo:i,closeColorHoverSuccess:g,closeColorPressedSuccess:v,closeIconColorSuccess:n,closeIconColorHoverSuccess:o,closeIconColorPressedSuccess:i,closeColorHoverError:g,closeColorPressedError:v,closeIconColorError:n,closeIconColorHoverError:o,closeIconColorPressedError:i,closeColorHoverWarning:g,closeColorPressedWarning:v,closeIconColorWarning:n,closeIconColorHoverWarning:o,closeIconColorPressedWarning:i,closeColorHoverLoading:g,closeColorPressedLoading:v,closeIconColorLoading:n,closeIconColorHoverLoading:o,closeIconColorPressedLoading:i,loadingColor:u,lineHeight:h,borderRadius:m})},P_={name:"Message",common:ae,self:Sb},_b=P_,A_={name:"Message",common:re,self:Sb},I_=A_,E_={name:"ButtonGroup",common:re},R_=E_,M_={name:"ButtonGroup",common:ae},D_=M_,L_={name:"InputNumber",common:re,peers:{Button:Qt,Input:mn},self(e){const{textColorDisabled:t}=e;return{iconColorDisabled:t}}},$_=L_,O_=e=>{const{textColorDisabled:t}=e;return{iconColorDisabled:t}},H_={name:"InputNumber",common:ae,peers:{Button:Kt,Input:sn},self:O_},B_=H_,N_={name:"Layout",common:re,peers:{Scrollbar:Jt},self(e){const{textColor2:t,bodyColor:n,popoverColor:o,cardColor:i,dividerColor:r,scrollbarColor:a,scrollbarColorHover:s}=e;return{textColor:t,textColorInverted:t,color:n,colorEmbedded:n,headerColor:i,headerColorInverted:i,footerColor:i,footerColorInverted:i,headerBorderColor:r,headerBorderColorInverted:r,footerBorderColor:r,footerBorderColorInverted:r,siderBorderColor:r,siderBorderColorInverted:r,siderColor:i,siderColorInverted:i,siderToggleButtonBorder:"1px solid transparent",siderToggleButtonColor:o,siderToggleButtonIconColor:t,siderToggleButtonIconColorInverted:t,siderToggleBarColor:he(n,a),siderToggleBarColorHover:he(n,s),__invertScrollbar:"false"}}},z_=N_,F_=e=>{const{baseColor:t,textColor2:n,bodyColor:o,cardColor:i,dividerColor:r,actionColor:a,scrollbarColor:s,scrollbarColorHover:l,invertedColor:c}=e;return{textColor:n,textColorInverted:"#FFF",color:o,colorEmbedded:a,headerColor:i,headerColorInverted:c,footerColor:a,footerColorInverted:c,headerBorderColor:r,headerBorderColorInverted:c,footerBorderColor:r,footerBorderColorInverted:c,siderBorderColor:r,siderBorderColorInverted:c,siderColor:i,siderColorInverted:c,siderToggleButtonBorder:`1px solid ${r}`,siderToggleButtonColor:t,siderToggleButtonIconColor:n,siderToggleButtonIconColorInverted:n,siderToggleBarColor:he(o,s),siderToggleBarColorHover:he(o,l),__invertScrollbar:"true"}},W_={name:"Layout",common:ae,peers:{Scrollbar:Vt},self:F_},rd=W_,Pb=e=>{const{textColor2:t,cardColor:n,modalColor:o,popoverColor:i,dividerColor:r,borderRadius:a,fontSize:s,hoverColor:l}=e;return{textColor:t,color:n,colorHover:l,colorModal:o,colorHoverModal:he(o,l),colorPopover:i,colorHoverPopover:he(i,l),borderColor:r,borderColorModal:he(o,r),borderColorPopover:he(i,r),borderRadius:a,fontSize:s}},j_={name:"List",common:ae,self:Pb},G_=j_,V_={name:"List",common:re,self:Pb},K_=V_,U_={name:"LoadingBar",common:re,self(e){const{primaryColor:t}=e;return{colorError:"red",colorLoading:t,height:"2px"}}},q_=U_,X_=e=>{const{primaryColor:t,errorColor:n}=e;return{colorError:n,colorLoading:t,height:"2px"}},Z_={name:"LoadingBar",common:ae,self:X_},Ab=Z_,Y_={name:"Log",common:re,peers:{Scrollbar:Jt,Code:Pp},self(e){const{textColor2:t,inputColor:n,fontSize:o,primaryColor:i}=e;return{loaderFontSize:o,loaderTextColor:t,loaderColor:n,loaderBorder:"1px solid #0000",loadingColor:i}}},J_=Y_,Q_=e=>{const{textColor2:t,modalColor:n,borderColor:o,fontSize:i,primaryColor:r}=e;return{loaderFontSize:i,loaderTextColor:t,loaderColor:n,loaderBorder:`1px solid ${o}`,loadingColor:r}},eP={name:"Log",common:ae,peers:{Scrollbar:Vt,Code:Ap},self:Q_},tP=eP,nP={name:"Mention",common:re,peers:{InternalSelectMenu:jr,Input:mn},self(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}},oP=nP,iP=e=>{const{boxShadow2:t}=e;return{menuBoxShadow:t}},rP={name:"Mention",common:ae,peers:{InternalSelectMenu:Wr,Input:sn},self:iP},aP=rP;function sP(e,t,n,o){return{itemColorHoverInverted:"#0000",itemColorActiveInverted:t,itemColorActiveHoverInverted:t,itemColorActiveCollapsedInverted:t,itemTextColorInverted:e,itemTextColorHoverInverted:n,itemTextColorChildActiveInverted:n,itemTextColorChildActiveHoverInverted:n,itemTextColorActiveInverted:n,itemTextColorActiveHoverInverted:n,itemTextColorHorizontalInverted:e,itemTextColorHoverHorizontalInverted:n,itemTextColorChildActiveHorizontalInverted:n,itemTextColorChildActiveHoverHorizontalInverted:n,itemTextColorActiveHorizontalInverted:n,itemTextColorActiveHoverHorizontalInverted:n,itemIconColorInverted:e,itemIconColorHoverInverted:n,itemIconColorActiveInverted:n,itemIconColorActiveHoverInverted:n,itemIconColorChildActiveInverted:n,itemIconColorChildActiveHoverInverted:n,itemIconColorCollapsedInverted:e,itemIconColorHorizontalInverted:e,itemIconColorHoverHorizontalInverted:n,itemIconColorActiveHorizontalInverted:n,itemIconColorActiveHoverHorizontalInverted:n,itemIconColorChildActiveHorizontalInverted:n,itemIconColorChildActiveHoverHorizontalInverted:n,arrowColorInverted:e,arrowColorHoverInverted:n,arrowColorActiveInverted:n,arrowColorActiveHoverInverted:n,arrowColorChildActiveInverted:n,arrowColorChildActiveHoverInverted:n,groupTextColorInverted:o}}const Ib=e=>{const{borderRadius:t,textColor3:n,primaryColor:o,textColor2:i,textColor1:r,fontSize:a,dividerColor:s,hoverColor:l,primaryColorHover:c}=e;return Object.assign({borderRadius:t,color:"#0000",groupTextColor:n,itemColorHover:l,itemColorActive:U(o,{alpha:.1}),itemColorActiveHover:U(o,{alpha:.1}),itemColorActiveCollapsed:U(o,{alpha:.1}),itemTextColor:i,itemTextColorHover:i,itemTextColorActive:o,itemTextColorActiveHover:o,itemTextColorChildActive:o,itemTextColorChildActiveHover:o,itemTextColorHorizontal:i,itemTextColorHoverHorizontal:c,itemTextColorActiveHorizontal:o,itemTextColorActiveHoverHorizontal:o,itemTextColorChildActiveHorizontal:o,itemTextColorChildActiveHoverHorizontal:o,itemIconColor:r,itemIconColorHover:r,itemIconColorActive:o,itemIconColorActiveHover:o,itemIconColorChildActive:o,itemIconColorChildActiveHover:o,itemIconColorCollapsed:r,itemIconColorHorizontal:r,itemIconColorHoverHorizontal:c,itemIconColorActiveHorizontal:o,itemIconColorActiveHoverHorizontal:o,itemIconColorChildActiveHorizontal:o,itemIconColorChildActiveHoverHorizontal:o,itemHeight:"42px",arrowColor:i,arrowColorHover:i,arrowColorActive:o,arrowColorActiveHover:o,arrowColorChildActive:o,arrowColorChildActiveHover:o,colorInverted:"#0000",borderColorHorizontal:"#0000",fontSize:a,dividerColor:s},sP("#BBB",o,"#FFF","#AAA"))},lP={name:"Menu",common:ae,peers:{Tooltip:Gr,Dropdown:ws},self:Ib},cP=lP,dP={name:"Menu",common:re,peers:{Tooltip:Ts,Dropdown:Qc},self(e){const{primaryColor:t,primaryColorSuppl:n}=e,o=Ib(e);return o.itemColorActive=U(t,{alpha:.15}),o.itemColorActiveHover=U(t,{alpha:.15}),o.itemColorActiveCollapsed=U(t,{alpha:.15}),o.itemColorActiveInverted=n,o.itemColorActiveHoverInverted=n,o.itemColorActiveCollapsedInverted=n,o}},uP=dP,hP={titleFontSize:"18px",backSize:"22px"};function Eb(e){const{textColor1:t,textColor2:n,textColor3:o,fontSize:i,fontWeightStrong:r,primaryColorHover:a,primaryColorPressed:s}=e;return Object.assign(Object.assign({},hP),{titleFontWeight:r,fontSize:i,titleTextColor:t,backColor:n,backColorHover:a,backColorPressed:s,subtitleTextColor:o})}const fP={name:"PageHeader",common:ae,self:Eb},gP={name:"PageHeader",common:re,self:Eb},mP={iconSize:"22px"},Rb=e=>{const{fontSize:t,warningColor:n}=e;return Object.assign(Object.assign({},mP),{fontSize:t,iconColor:n})},pP={name:"Popconfirm",common:ae,peers:{Button:Kt,Popover:xo},self:Rb},bP=pP,vP={name:"Popconfirm",common:re,peers:{Button:Qt,Popover:oi},self:Rb},yP=vP,Mb=e=>{const{infoColor:t,successColor:n,warningColor:o,errorColor:i,textColor2:r,progressRailColor:a,fontSize:s,fontWeight:l}=e;return{fontSize:s,fontSizeCircle:"28px",fontWeightCircle:l,railColor:a,railHeight:"8px",iconSizeCircle:"36px",iconSizeLine:"18px",iconColor:t,iconColorInfo:t,iconColorSuccess:n,iconColorWarning:o,iconColorError:i,textColorCircle:r,textColorLineInner:"rgb(255, 255, 255)",textColorLineOuter:r,fillColor:t,fillColorInfo:t,fillColorSuccess:n,fillColorWarning:o,fillColorError:i,lineBgProcessing:"linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)"}},xP={name:"Progress",common:ae,self:Mb},Db=xP,kP={name:"Progress",common:re,self(e){const t=Mb(e);return t.textColorLineInner="rgb(0, 0, 0)",t.lineBgProcessing="linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)",t}},Lb=kP,CP={name:"Rate",common:re,self(e){const{railColor:t}=e;return{itemColor:t,itemColorActive:"#CCAA33",itemSize:"20px",sizeSmall:"16px",sizeMedium:"20px",sizeLarge:"24px"}}},TP=CP,wP=e=>{const{railColor:t}=e;return{itemColor:t,itemColorActive:"#FFCC33",sizeSmall:"16px",sizeMedium:"20px",sizeLarge:"24px"}},SP={name:"Rate",common:ae,self:wP},_P=SP,PP={titleFontSizeSmall:"26px",titleFontSizeMedium:"32px",titleFontSizeLarge:"40px",titleFontSizeHuge:"48px",fontSizeSmall:"14px",fontSizeMedium:"14px",fontSizeLarge:"15px",fontSizeHuge:"16px",iconSizeSmall:"64px",iconSizeMedium:"80px",iconSizeLarge:"100px",iconSizeHuge:"125px",iconColor418:void 0,iconColor404:void 0,iconColor403:void 0,iconColor500:void 0},$b=e=>{const{textColor2:t,textColor1:n,errorColor:o,successColor:i,infoColor:r,warningColor:a,lineHeight:s,fontWeightStrong:l}=e;return Object.assign(Object.assign({},PP),{lineHeight:s,titleFontWeight:l,titleTextColor:n,textColor:t,iconColorError:o,iconColorSuccess:i,iconColorInfo:r,iconColorWarning:a})},AP={name:"Result",common:ae,self:$b},IP=AP,EP={name:"Result",common:re,self:$b},RP=EP,Ob={railHeight:"4px",railWidthVertical:"4px",handleSize:"18px",dotHeight:"8px",dotWidth:"8px",dotBorderRadius:"4px"},MP={name:"Slider",common:re,self(e){const t="0 2px 8px 0 rgba(0, 0, 0, 0.12)",{railColor:n,modalColor:o,primaryColorSuppl:i,popoverColor:r,textColor2:a,cardColor:s,borderRadius:l,fontSize:c,opacityDisabled:d}=e;return Object.assign(Object.assign({},Ob),{fontSize:c,markFontSize:c,railColor:n,railColorHover:n,fillColor:i,fillColorHover:i,opacityDisabled:d,handleColor:"#FFF",dotColor:s,dotColorModal:o,dotColorPopover:r,handleBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowHover:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowActive:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowFocus:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",indicatorColor:r,indicatorBoxShadow:t,indicatorTextColor:a,indicatorBorderRadius:l,dotBorder:`2px solid ${n}`,dotBorderActive:`2px solid ${i}`,dotBoxShadow:""})}},DP=MP,LP=e=>{const t="rgba(0, 0, 0, .85)",n="0 2px 8px 0 rgba(0, 0, 0, 0.12)",{railColor:o,primaryColor:i,baseColor:r,cardColor:a,modalColor:s,popoverColor:l,borderRadius:c,fontSize:d,opacityDisabled:u}=e;return Object.assign(Object.assign({},Ob),{fontSize:d,markFontSize:d,railColor:o,railColorHover:o,fillColor:i,fillColorHover:i,opacityDisabled:u,handleColor:"#FFF",dotColor:a,dotColorModal:s,dotColorPopover:l,handleBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowHover:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowActive:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowFocus:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",indicatorColor:t,indicatorBoxShadow:n,indicatorTextColor:r,indicatorBorderRadius:c,dotBorder:`2px solid ${o}`,dotBorderActive:`2px solid ${i}`,dotBoxShadow:""})},$P={name:"Slider",common:ae,self:LP},OP=$P,Hb=e=>{const{opacityDisabled:t,heightTiny:n,heightSmall:o,heightMedium:i,heightLarge:r,heightHuge:a,primaryColor:s,fontSize:l}=e;return{fontSize:l,textColor:s,sizeTiny:n,sizeSmall:o,sizeMedium:i,sizeLarge:r,sizeHuge:a,color:s,opacitySpinning:t}},HP={name:"Spin",common:ae,self:Hb},BP=HP,NP={name:"Spin",common:re,self:Hb},zP=NP,Bb=e=>{const{textColor2:t,textColor3:n,fontSize:o,fontWeight:i}=e;return{labelFontSize:o,labelFontWeight:i,valueFontWeight:i,valueFontSize:"24px",labelTextColor:n,valuePrefixTextColor:t,valueSuffixTextColor:t,valueTextColor:t}},FP={name:"Statistic",common:ae,self:Bb},WP=FP,jP={name:"Statistic",common:re,self:Bb},GP=jP,VP={stepHeaderFontSizeSmall:"14px",stepHeaderFontSizeMedium:"16px",indicatorIndexFontSizeSmall:"14px",indicatorIndexFontSizeMedium:"16px",indicatorSizeSmall:"22px",indicatorSizeMedium:"28px",indicatorIconSizeSmall:"14px",indicatorIconSizeMedium:"18px"},Nb=e=>{const{fontWeightStrong:t,baseColor:n,textColorDisabled:o,primaryColor:i,errorColor:r,textColor1:a,textColor2:s}=e;return Object.assign(Object.assign({},VP),{stepHeaderFontWeight:t,indicatorTextColorProcess:n,indicatorTextColorWait:o,indicatorTextColorFinish:i,indicatorTextColorError:r,indicatorBorderColorProcess:i,indicatorBorderColorWait:o,indicatorBorderColorFinish:i,indicatorBorderColorError:r,indicatorColorProcess:i,indicatorColorWait:"#0000",indicatorColorFinish:"#0000",indicatorColorError:"#0000",splitorColorProcess:o,splitorColorWait:o,splitorColorFinish:i,splitorColorError:o,headerTextColorProcess:a,headerTextColorWait:o,headerTextColorFinish:o,headerTextColorError:r,descriptionTextColorProcess:s,descriptionTextColorWait:o,descriptionTextColorFinish:o,descriptionTextColorError:r})},KP={name:"Steps",common:ae,self:Nb},UP=KP,qP={name:"Steps",common:re,self:Nb},XP=qP,zb={buttonHeightSmall:"14px",buttonHeightMedium:"18px",buttonHeightLarge:"22px",buttonWidthSmall:"14px",buttonWidthMedium:"18px",buttonWidthLarge:"22px",buttonWidthPressedSmall:"20px",buttonWidthPressedMedium:"24px",buttonWidthPressedLarge:"28px",railHeightSmall:"18px",railHeightMedium:"22px",railHeightLarge:"26px",railWidthSmall:"32px",railWidthMedium:"40px",railWidthLarge:"48px"},ZP={name:"Switch",common:re,self(e){const{primaryColorSuppl:t,opacityDisabled:n,borderRadius:o,primaryColor:i,textColor2:r,baseColor:a}=e,s="rgba(255, 255, 255, .20)";return Object.assign(Object.assign({},zb),{iconColor:a,textColor:r,loadingColor:t,opacityDisabled:n,railColor:s,railColorActive:t,buttonBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",buttonColor:"#FFF",railBorderRadiusSmall:o,railBorderRadiusMedium:o,railBorderRadiusLarge:o,buttonBorderRadiusSmall:o,buttonBorderRadiusMedium:o,buttonBorderRadiusLarge:o,boxShadowFocus:`0 0 8px 0 ${U(i,{alpha:.3})}`})}},YP=ZP,JP=e=>{const{primaryColor:t,opacityDisabled:n,borderRadius:o,textColor3:i}=e,r="rgba(0, 0, 0, .14)";return Object.assign(Object.assign({},zb),{iconColor:i,textColor:"white",loadingColor:t,opacityDisabled:n,railColor:r,railColorActive:t,buttonBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",buttonColor:"#FFF",railBorderRadiusSmall:o,railBorderRadiusMedium:o,railBorderRadiusLarge:o,buttonBorderRadiusSmall:o,buttonBorderRadiusMedium:o,buttonBorderRadiusLarge:o,boxShadowFocus:`0 0 0 2px ${U(t,{alpha:.2})}`})},QP={name:"Switch",common:ae,self:JP},eA=QP,tA={thPaddingSmall:"6px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"6px",tdPaddingMedium:"12px",tdPaddingLarge:"12px"},Fb=e=>{const{dividerColor:t,cardColor:n,modalColor:o,popoverColor:i,tableHeaderColor:r,tableColorStriped:a,textColor1:s,textColor2:l,borderRadius:c,fontWeightStrong:d,lineHeight:u,fontSizeSmall:h,fontSizeMedium:m,fontSizeLarge:g}=e;return Object.assign(Object.assign({},tA),{fontSizeSmall:h,fontSizeMedium:m,fontSizeLarge:g,lineHeight:u,borderRadius:c,borderColor:he(n,t),borderColorModal:he(o,t),borderColorPopover:he(i,t),tdColor:n,tdColorModal:o,tdColorPopover:i,tdColorStriped:he(n,a),tdColorStripedModal:he(o,a),tdColorStripedPopover:he(i,a),thColor:he(n,r),thColorModal:he(o,r),thColorPopover:he(i,r),thTextColor:s,tdTextColor:l,thFontWeight:d})},nA={name:"Table",common:ae,self:Fb},oA=nA,iA={name:"Table",common:re,self:Fb},rA=iA,aA={tabFontSizeSmall:"14px",tabFontSizeMedium:"14px",tabFontSizeLarge:"16px",tabGapSmallLine:"36px",tabGapMediumLine:"36px",tabGapLargeLine:"36px",tabGapSmallLineVertical:"8px",tabGapMediumLineVertical:"8px",tabGapLargeLineVertical:"8px",tabPaddingSmallLine:"6px 0",tabPaddingMediumLine:"10px 0",tabPaddingLargeLine:"14px 0",tabPaddingVerticalSmallLine:"6px 12px",tabPaddingVerticalMediumLine:"8px 16px",tabPaddingVerticalLargeLine:"10px 20px",tabGapSmallBar:"36px",tabGapMediumBar:"36px",tabGapLargeBar:"36px",tabGapSmallBarVertical:"8px",tabGapMediumBarVertical:"8px",tabGapLargeBarVertical:"8px",tabPaddingSmallBar:"4px 0",tabPaddingMediumBar:"6px 0",tabPaddingLargeBar:"10px 0",tabPaddingVerticalSmallBar:"6px 12px",tabPaddingVerticalMediumBar:"8px 16px",tabPaddingVerticalLargeBar:"10px 20px",tabGapSmallCard:"4px",tabGapMediumCard:"4px",tabGapLargeCard:"4px",tabGapSmallCardVertical:"4px",tabGapMediumCardVertical:"4px",tabGapLargeCardVertical:"4px",tabPaddingSmallCard:"8px 16px",tabPaddingMediumCard:"10px 20px",tabPaddingLargeCard:"12px 24px",tabPaddingSmallSegment:"4px 0",tabPaddingMediumSegment:"6px 0",tabPaddingLargeSegment:"8px 0",tabPaddingVerticalLargeSegment:"0 8px",tabPaddingVerticalSmallCard:"8px 12px",tabPaddingVerticalMediumCard:"10px 16px",tabPaddingVerticalLargeCard:"12px 20px",tabPaddingVerticalSmallSegment:"0 4px",tabPaddingVerticalMediumSegment:"0 6px",tabGapSmallSegment:"0",tabGapMediumSegment:"0",tabGapLargeSegment:"0",tabGapSmallSegmentVertical:"0",tabGapMediumSegmentVertical:"0",tabGapLargeSegmentVertical:"0",panePaddingSmall:"8px 0 0 0",panePaddingMedium:"12px 0 0 0",panePaddingLarge:"16px 0 0 0",closeSize:"18px",closeIconSize:"14px"},Wb=e=>{const{textColor2:t,primaryColor:n,textColorDisabled:o,closeIconColor:i,closeIconColorHover:r,closeIconColorPressed:a,closeColorHover:s,closeColorPressed:l,tabColor:c,baseColor:d,dividerColor:u,fontWeight:h,textColor1:m,borderRadius:g,fontSize:v,fontWeightStrong:p}=e;return Object.assign(Object.assign({},aA),{colorSegment:c,tabFontSizeCard:v,tabTextColorLine:m,tabTextColorActiveLine:n,tabTextColorHoverLine:n,tabTextColorDisabledLine:o,tabTextColorSegment:m,tabTextColorActiveSegment:t,tabTextColorHoverSegment:t,tabTextColorDisabledSegment:o,tabTextColorBar:m,tabTextColorActiveBar:n,tabTextColorHoverBar:n,tabTextColorDisabledBar:o,tabTextColorCard:m,tabTextColorHoverCard:m,tabTextColorActiveCard:n,tabTextColorDisabledCard:o,barColor:n,closeIconColor:i,closeIconColorHover:r,closeIconColorPressed:a,closeColorHover:s,closeColorPressed:l,closeBorderRadius:g,tabColor:c,tabColorSegment:d,tabBorderColor:u,tabFontWeightActive:h,tabFontWeight:h,tabBorderRadius:g,paneTextColor:t,fontWeightStrong:p})},sA={name:"Tabs",common:ae,self:Wb},lA=sA,cA={name:"Tabs",common:re,self(e){const t=Wb(e),{inputColor:n}=e;return t.colorSegment=n,t.tabColorSegment=n,t}},dA=cA,jb=e=>{const{textColor1:t,textColor2:n,fontWeightStrong:o,fontSize:i}=e;return{fontSize:i,titleTextColor:t,textColor:n,titleFontWeight:o}},uA={name:"Thing",common:ae,self:jb},hA=uA,fA={name:"Thing",common:re,self:jb},gA=fA,Gb={titleMarginMedium:"0 0 6px 0",titleMarginLarge:"-2px 0 6px 0",titleFontSizeMedium:"14px",titleFontSizeLarge:"16px",iconSizeMedium:"14px",iconSizeLarge:"14px"},mA={name:"Timeline",common:re,self(e){const{textColor3:t,infoColorSuppl:n,errorColorSuppl:o,successColorSuppl:i,warningColorSuppl:r,textColor1:a,textColor2:s,railColor:l,fontWeightStrong:c,fontSize:d}=e;return Object.assign(Object.assign({},Gb),{contentFontSize:d,titleFontWeight:c,circleBorder:`2px solid ${t}`,circleBorderInfo:`2px solid ${n}`,circleBorderError:`2px solid ${o}`,circleBorderSuccess:`2px solid ${i}`,circleBorderWarning:`2px solid ${r}`,iconColor:t,iconColorInfo:n,iconColorError:o,iconColorSuccess:i,iconColorWarning:r,titleTextColor:a,contentTextColor:s,metaTextColor:t,lineColor:l})}},pA=mA,bA=e=>{const{textColor3:t,infoColor:n,errorColor:o,successColor:i,warningColor:r,textColor1:a,textColor2:s,railColor:l,fontWeightStrong:c,fontSize:d}=e;return Object.assign(Object.assign({},Gb),{contentFontSize:d,titleFontWeight:c,circleBorder:`2px solid ${t}`,circleBorderInfo:`2px solid ${n}`,circleBorderError:`2px solid ${o}`,circleBorderSuccess:`2px solid ${i}`,circleBorderWarning:`2px solid ${r}`,iconColor:t,iconColorInfo:n,iconColorError:o,iconColorSuccess:i,iconColorWarning:r,titleTextColor:a,contentTextColor:s,metaTextColor:t,lineColor:l})},vA={name:"Timeline",common:ae,self:bA},yA=vA,Vb={extraFontSizeSmall:"12px",extraFontSizeMedium:"12px",extraFontSizeLarge:"14px",titleFontSizeSmall:"14px",titleFontSizeMedium:"16px",titleFontSizeLarge:"16px",closeSize:"20px",closeIconSize:"16px",headerHeightSmall:"44px",headerHeightMedium:"44px",headerHeightLarge:"50px"},xA={name:"Transfer",common:re,peers:{Checkbox:Fi,Scrollbar:Jt,Input:mn,Empty:ni,Button:Qt},self(e){const{fontWeight:t,fontSizeLarge:n,fontSizeMedium:o,fontSizeSmall:i,heightLarge:r,heightMedium:a,borderRadius:s,inputColor:l,tableHeaderColor:c,textColor1:d,textColorDisabled:u,textColor2:h,textColor3:m,hoverColor:g,closeColorHover:v,closeColorPressed:p,closeIconColor:f,closeIconColorHover:x,closeIconColorPressed:A,dividerColor:k}=e;return Object.assign(Object.assign({},Vb),{itemHeightSmall:a,itemHeightMedium:a,itemHeightLarge:r,fontSizeSmall:i,fontSizeMedium:o,fontSizeLarge:n,borderRadius:s,dividerColor:k,borderColor:"#0000",listColor:l,headerColor:c,titleTextColor:d,titleTextColorDisabled:u,extraTextColor:m,extraTextColorDisabled:u,itemTextColor:h,itemTextColorDisabled:u,itemColorPending:g,titleFontWeight:t,closeColorHover:v,closeColorPressed:p,closeIconColor:f,closeIconColorHover:x,closeIconColorPressed:A})}},kA=xA,CA=e=>{const{fontWeight:t,fontSizeLarge:n,fontSizeMedium:o,fontSizeSmall:i,heightLarge:r,heightMedium:a,borderRadius:s,cardColor:l,tableHeaderColor:c,textColor1:d,textColorDisabled:u,textColor2:h,textColor3:m,borderColor:g,hoverColor:v,closeColorHover:p,closeColorPressed:f,closeIconColor:x,closeIconColorHover:A,closeIconColorPressed:k}=e;return Object.assign(Object.assign({},Vb),{itemHeightSmall:a,itemHeightMedium:a,itemHeightLarge:r,fontSizeSmall:i,fontSizeMedium:o,fontSizeLarge:n,borderRadius:s,dividerColor:g,borderColor:g,listColor:l,headerColor:he(l,c),titleTextColor:d,titleTextColorDisabled:u,extraTextColor:m,extraTextColorDisabled:u,itemTextColor:h,itemTextColorDisabled:u,itemColorPending:v,titleFontWeight:t,closeColorHover:p,closeColorPressed:f,closeIconColor:x,closeIconColorHover:A,closeIconColorPressed:k})},TA={name:"Transfer",common:ae,peers:{Checkbox:zi,Scrollbar:Vt,Input:sn,Empty:Xn,Button:Kt},self:CA},wA=TA,Kb=e=>{const{borderRadiusSmall:t,hoverColor:n,pressedColor:o,primaryColor:i,textColor3:r,textColor2:a,textColorDisabled:s,fontSize:l}=e;return{fontSize:l,lineHeight:"1.5",nodeHeight:"30px",nodeWrapperPadding:"3px 0",nodeBorderRadius:t,nodeColorHover:n,nodeColorPressed:o,nodeColorActive:U(i,{alpha:.1}),arrowColor:r,nodeTextColor:a,nodeTextColorDisabled:s,loadingColor:i,dropMarkColor:i}},SA={name:"Tree",common:ae,peers:{Checkbox:zi,Scrollbar:Vt,Empty:Xn},self:Kb},Ub=SA,_A={name:"Tree",common:re,peers:{Checkbox:Fi,Scrollbar:Jt,Empty:ni},self(e){const{primaryColor:t}=e,n=Kb(e);return n.nodeColorActive=U(t,{alpha:.15}),n}},qb=_A,PA={name:"TreeSelect",common:re,peers:{Tree:qb,Empty:ni,InternalSelection:Xc}},AA=PA,IA=e=>{const{popoverColor:t,boxShadow2:n,borderRadius:o,heightMedium:i,dividerColor:r,textColor2:a}=e;return{menuPadding:"4px",menuColor:t,menuBoxShadow:n,menuBorderRadius:o,menuHeight:`calc(${i} * 7.6)`,actionDividerColor:r,actionTextColor:a,actionPadding:"8px 12px"}},EA={name:"TreeSelect",common:ae,peers:{Tree:Ub,Empty:Xn,InternalSelection:qc},self:IA},RA=EA,MA={headerFontSize1:"30px",headerFontSize2:"22px",headerFontSize3:"18px",headerFontSize4:"16px",headerFontSize5:"16px",headerFontSize6:"16px",headerMargin1:"28px 0 20px 0",headerMargin2:"28px 0 20px 0",headerMargin3:"28px 0 20px 0",headerMargin4:"28px 0 18px 0",headerMargin5:"28px 0 18px 0",headerMargin6:"28px 0 18px 0",headerPrefixWidth1:"16px",headerPrefixWidth2:"16px",headerPrefixWidth3:"12px",headerPrefixWidth4:"12px",headerPrefixWidth5:"12px",headerPrefixWidth6:"12px",headerBarWidth1:"4px",headerBarWidth2:"4px",headerBarWidth3:"3px",headerBarWidth4:"3px",headerBarWidth5:"3px",headerBarWidth6:"3px",pMargin:"16px 0 16px 0",liMargin:".25em 0 0 0",olPadding:"0 0 0 2em",ulPadding:"0 0 0 2em"},Xb=e=>{const{primaryColor:t,textColor2:n,borderColor:o,lineHeight:i,fontSize:r,borderRadiusSmall:a,dividerColor:s,fontWeightStrong:l,textColor1:c,textColor3:d,infoColor:u,warningColor:h,errorColor:m,successColor:g,codeColor:v}=e;return Object.assign(Object.assign({},MA),{aTextColor:t,blockquoteTextColor:n,blockquotePrefixColor:o,blockquoteLineHeight:i,blockquoteFontSize:r,codeBorderRadius:a,liTextColor:n,liLineHeight:i,liFontSize:r,hrColor:s,headerFontWeight:l,headerTextColor:c,pTextColor:n,pTextColor1Depth:c,pTextColor2Depth:n,pTextColor3Depth:d,pLineHeight:i,pFontSize:r,headerBarColor:t,headerBarColorPrimary:t,headerBarColorInfo:u,headerBarColorError:m,headerBarColorWarning:h,headerBarColorSuccess:g,textColor:n,textColor1Depth:c,textColor2Depth:n,textColor3Depth:d,textColorPrimary:t,textColorInfo:u,textColorSuccess:g,textColorWarning:h,textColorError:m,codeTextColor:n,codeColor:v,codeBorder:"1px solid #0000"})},DA={name:"Typography",common:ae,self:Xb},ad=DA,LA={name:"Typography",common:re,self:Xb},$A=LA,Zb=e=>{const{iconColor:t,primaryColor:n,errorColor:o,textColor2:i,successColor:r,opacityDisabled:a,actionColor:s,borderColor:l,hoverColor:c,lineHeight:d,borderRadius:u,fontSize:h}=e;return{fontSize:h,lineHeight:d,borderRadius:u,draggerColor:s,draggerBorder:`1px dashed ${l}`,draggerBorderHover:`1px dashed ${n}`,itemColorHover:c,itemColorHoverError:U(o,{alpha:.06}),itemTextColor:i,itemTextColorError:o,itemTextColorSuccess:r,itemIconColor:t,itemDisabledOpacity:a,itemBorderImageCardError:`1px solid ${o}`,itemBorderImageCard:`1px solid ${l}`}},OA={name:"Upload",common:ae,peers:{Button:Kt,Progress:Db},self:Zb},HA=OA,BA={name:"Upload",common:re,peers:{Button:Qt,Progress:Lb},self(e){const{errorColor:t}=e,n=Zb(e);return n.itemColorHoverError=U(t,{alpha:.09}),n}},NA=BA,zA={name:"Watermark",common:re,self(e){const{fontFamily:t}=e;return{fontFamily:t}}},FA=zA,WA={name:"Watermark",common:ae,self(e){const{fontFamily:t}=e;return{fontFamily:t}}},jA=WA,GA={name:"Row",common:ae},VA=GA,KA={name:"Row",common:re},UA=KA,qA={name:"Image",common:re,peers:{Tooltip:Ts},self:e=>{const{textColor2:t}=e;return{toolbarIconColor:t,toolbarColor:"rgba(0, 0, 0, .35)",toolbarBoxShadow:"none",toolbarBorderRadius:"24px"}}},Yb={type:String,default:"static"},XA=Q("layout",` + `),Rt("dashed",[F("line",{backgroundColor:"var(--n-color)"})]),Y("dashed",[F("line",{borderColor:"var(--n-color)"})]),Y("vertical",{backgroundColor:"var(--n-color)"})]),E7=Object.assign(Object.assign({},Pe.props),{titlePlacement:{type:String,default:"center"},dashed:Boolean,vertical:Boolean}),R7=se({name:"Divider",props:E7,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=lt(e),o=Pe("Divider","-divider",I7,ub,e,t),i=z(()=>{const{common:{cubicBezierEaseInOut:a},self:{color:s,textColor:l,fontWeight:c}}=o.value;return{"--n-bezier":a,"--n-color":s,"--n-text-color":l,"--n-font-weight":c}}),r=n?_t("divider",void 0,i,e):void 0;return{mergedClsPrefix:t,cssVars:n?void 0:i,themeClass:r==null?void 0:r.themeClass,onRender:r==null?void 0:r.onRender}},render(){var e;const{$slots:t,titlePlacement:n,vertical:o,dashed:i,cssVars:r,mergedClsPrefix:a}=this;return(e=this.onRender)===null||e===void 0||e.call(this),T("div",{role:"separator",class:[`${a}-divider`,this.themeClass,{[`${a}-divider--vertical`]:o,[`${a}-divider--no-title`]:!t.default,[`${a}-divider--dashed`]:i,[`${a}-divider--title-position-${n}`]:t.default&&n}],style:r},o?null:T("div",{class:`${a}-divider__line ${a}-divider__line--left`}),!o&&t.default?T(He,null,T("div",{class:`${a}-divider__title`},this.$slots),T("div",{class:`${a}-divider__line ${a}-divider__line--right`})):null)}}),hb=e=>{const{modalColor:t,textColor1:n,textColor2:o,boxShadow3:i,lineHeight:r,fontWeightStrong:a,dividerColor:s,closeColorHover:l,closeColorPressed:c,closeIconColor:d,closeIconColorHover:u,closeIconColorPressed:h,borderRadius:m,primaryColorHover:g}=e;return{bodyPadding:"16px 24px",headerPadding:"16px 24px",footerPadding:"16px 24px",color:t,textColor:o,titleTextColor:n,titleFontSize:"18px",titleFontWeight:a,boxShadow:i,lineHeight:r,headerBorderBottom:`1px solid ${s}`,footerBorderTop:`1px solid ${s}`,closeIconColor:d,closeIconColorHover:u,closeIconColorPressed:h,closeSize:"22px",closeIconSize:"18px",closeColorHover:l,closeColorPressed:c,closeBorderRadius:m,resizableTriggerColorHover:g}},M7={name:"Drawer",common:ae,peers:{Scrollbar:Vt},self:hb},D7=M7,L7={name:"Drawer",common:re,peers:{Scrollbar:Jt},self:hb},$7=L7,fb={actionMargin:"0 0 0 20px",actionMarginRtl:"0 20px 0 0"},O7={name:"DynamicInput",common:re,peers:{Input:mn,Button:Qt},self(){return fb}},H7=O7,B7=()=>fb,N7={name:"DynamicInput",common:ae,peers:{Input:sn,Button:Kt},self:B7},z7=N7,gb={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},F7={name:"Space",self(){return gb}},mb=F7,W7=()=>gb,j7={name:"Space",self:W7},id=j7;let il;const G7=()=>{if(!Zo)return!0;if(il===void 0){const e=document.createElement("div");e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e);const t=e.scrollHeight===1;return document.body.removeChild(e),il=t}return il},V7=Object.assign(Object.assign({},Pe.props),{align:String,justify:{type:String,default:"start"},inline:Boolean,vertical:Boolean,size:{type:[String,Number,Array],default:"medium"},wrapItem:{type:Boolean,default:!0},itemStyle:[String,Object],wrap:{type:Boolean,default:!0},internalUseGap:{type:Boolean,default:void 0}}),pb=se({name:"Space",props:V7,setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=lt(e),o=Pe("Space","-space",void 0,id,e,t),i=ti("Space",n,t);return{useGap:G7(),rtlEnabled:i,mergedClsPrefix:t,margin:z(()=>{const{size:r}=e;if(Array.isArray(r))return{horizontal:r[0],vertical:r[1]};if(typeof r=="number")return{horizontal:r,vertical:r};const{self:{[ue("gap",r)]:a}}=o.value,{row:s,col:l}=Jy(a);return{horizontal:tu(l),vertical:tu(s)}})}},render(){const{vertical:e,align:t,inline:n,justify:o,itemStyle:i,margin:r,wrap:a,mergedClsPrefix:s,rtlEnabled:l,useGap:c,wrapItem:d,internalUseGap:u}=this,h=Sr(vg(this));if(!h.length)return null;const m=`${r.horizontal}px`,g=`${r.horizontal/2}px`,v=`${r.vertical}px`,p=`${r.vertical/2}px`,f=h.length-1,x=o.startsWith("space-");return T("div",{role:"none",class:[`${s}-space`,l&&`${s}-space--rtl`],style:{display:n?"inline-flex":"flex",flexDirection:e?"column":"row",justifyContent:["start","end"].includes(o)?"flex-"+o:o,flexWrap:!a||e?"nowrap":"wrap",marginTop:c||e?"":`-${p}`,marginBottom:c||e?"":`-${p}`,alignItems:t,gap:c?`${r.vertical}px ${r.horizontal}px`:""}},!d&&(c||u)?h:h.map((A,k)=>T("div",{role:"none",style:[i,{maxWidth:"100%"},c?"":e?{marginBottom:k!==f?v:""}:l?{marginLeft:x?o==="space-between"&&k===f?"":g:k!==f?m:"",marginRight:x?o==="space-between"&&k===0?"":g:"",paddingTop:p,paddingBottom:p}:{marginRight:x?o==="space-between"&&k===f?"":g:k!==f?m:"",marginLeft:x?o==="space-between"&&k===0?"":g:"",paddingTop:p,paddingBottom:p}]},A)))}}),K7={name:"DynamicTags",common:re,peers:{Input:mn,Button:Qt,Tag:ip,Space:mb},self(){return{inputWidth:"64px"}}},U7=K7,q7={name:"DynamicTags",common:ae,peers:{Input:sn,Button:Kt,Tag:rp,Space:id},self(){return{inputWidth:"64px"}}},X7=q7,Z7={name:"Element",common:re},Y7=Z7,J7={name:"Element",common:ae},bb=J7,Q7=Object.assign(Object.assign({},Pe.props),{tag:{type:String,default:"div"}}),Sa=se({name:"Element",alias:["El"],props:Q7,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=lt(e),o=Pe("Element","-element",void 0,bb,e,t),i=z(()=>{const{common:a}=o.value;return Object.keys(a).reduce((s,l)=>(s[`--${oT(l)}`]=a[l],s),{})}),r=n?_t("element",void 0,i,e):void 0;return{mergedClsPrefix:t,cssVars:n?void 0:i,themeClass:r==null?void 0:r.themeClass,onRender:r==null?void 0:r.onRender}},render(){var e;const{tag:t,mergedClsPrefix:n,cssVars:o,themeClass:i,onRender:r,$slots:a}=this;return r==null||r(),T(t,{role:"none",class:[`${n}-element`,i],style:o},(e=a.default)===null||e===void 0?void 0:e.call(a))}}),e_={feedbackPadding:"4px 0 0 2px",feedbackHeightSmall:"24px",feedbackHeightMedium:"24px",feedbackHeightLarge:"26px",feedbackFontSizeSmall:"13px",feedbackFontSizeMedium:"14px",feedbackFontSizeLarge:"14px",labelFontSizeLeftSmall:"14px",labelFontSizeLeftMedium:"14px",labelFontSizeLeftLarge:"15px",labelFontSizeTopSmall:"13px",labelFontSizeTopMedium:"14px",labelFontSizeTopLarge:"14px",labelHeightSmall:"24px",labelHeightMedium:"26px",labelHeightLarge:"28px",labelPaddingVertical:"0 0 6px 2px",labelPaddingHorizontal:"0 12px 0 0",labelTextAlignVertical:"left",labelTextAlignHorizontal:"right",labelFontWeight:"400"},vb=e=>{const{heightSmall:t,heightMedium:n,heightLarge:o,textColor1:i,errorColor:r,warningColor:a,lineHeight:s,textColor3:l}=e;return Object.assign(Object.assign({},e_),{blankHeightSmall:t,blankHeightMedium:n,blankHeightLarge:o,lineHeight:s,labelTextColor:i,asteriskColor:r,feedbackTextColorError:r,feedbackTextColorWarning:a,feedbackTextColor:l})},t_={name:"Form",common:ae,self:vb},n_=t_,o_={name:"Form",common:re,self:vb},i_=o_,_h=1,yb="n-grid",xb=1,r_={span:{type:[Number,String],default:xb},offset:{type:[Number,String],default:0},suffix:Boolean,privateOffset:Number,privateSpan:Number,privateColStart:Number,privateShow:{type:Boolean,default:!0}},a_=se({__GRID_ITEM__:!0,name:"GridItem",alias:["Gi"],props:r_,setup(){const{isSsrRef:e,xGapRef:t,itemStyleRef:n,overflowRef:o,layoutShiftDisabledRef:i}=Ie(yb),r=rn();return{overflow:o,itemStyle:n,layoutShiftDisabled:i,mergedXGap:z(()=>gi(t.value||0)),deriveStyle:()=>{e.value;const{privateSpan:a=xb,privateShow:s=!0,privateColStart:l=void 0,privateOffset:c=0}=r.vnode.props,{value:d}=t,u=gi(d||0);return{display:s?"":"none",gridColumn:`${l??`span ${a}`} / span ${a}`,marginLeft:c?`calc((100% - (${a} - 1) * ${u}) / ${a} * ${c} + ${u} * ${c})`:""}}}},render(){var e,t;if(this.layoutShiftDisabled){const{span:n,offset:o,mergedXGap:i}=this;return T("div",{style:{gridColumn:`span ${n} / span ${n}`,marginLeft:o?`calc((100% - (${n} - 1) * ${i}) / ${n} * ${o} + ${i} * ${o})`:""}},this.$slots)}return T("div",{style:[this.itemStyle,this.deriveStyle()]},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e,{overflow:this.overflow}))}}),s_={name:"GradientText",common:re,self(e){const{primaryColor:t,successColor:n,warningColor:o,errorColor:i,infoColor:r,primaryColorSuppl:a,successColorSuppl:s,warningColorSuppl:l,errorColorSuppl:c,infoColorSuppl:d,fontWeightStrong:u}=e;return{fontWeight:u,rotate:"252deg",colorStartPrimary:t,colorEndPrimary:a,colorStartInfo:r,colorEndInfo:d,colorStartWarning:o,colorEndWarning:l,colorStartError:i,colorEndError:c,colorStartSuccess:n,colorEndSuccess:s}}},l_=s_,c_=e=>{const{primaryColor:t,successColor:n,warningColor:o,errorColor:i,infoColor:r,fontWeightStrong:a}=e;return{fontWeight:a,rotate:"252deg",colorStartPrimary:U(t,{alpha:.6}),colorEndPrimary:t,colorStartInfo:U(r,{alpha:.6}),colorEndInfo:r,colorStartWarning:U(o,{alpha:.6}),colorEndWarning:o,colorStartError:U(i,{alpha:.6}),colorEndError:i,colorStartSuccess:U(n,{alpha:.6}),colorEndSuccess:n}},d_={name:"GradientText",common:ae,self:c_},u_=d_,h_={xs:0,s:640,m:1024,l:1280,xl:1536,xxl:1920},kb=24,rl="__ssr__",f_={layoutShiftDisabled:Boolean,responsive:{type:[String,Boolean],default:"self"},cols:{type:[Number,String],default:kb},itemResponsive:Boolean,collapsed:Boolean,collapsedRows:{type:Number,default:1},itemStyle:[Object,String],xGap:{type:[Number,String],default:0},yGap:{type:[Number,String],default:0}},g_=se({name:"Grid",inheritAttrs:!1,props:f_,setup(e){const{mergedClsPrefixRef:t,mergedBreakpointsRef:n}=lt(e),o=/^\d+$/,i=j(void 0),r=ex((n==null?void 0:n.value)||h_),a=wt(()=>!!(e.itemResponsive||!o.test(e.cols.toString())||!o.test(e.xGap.toString())||!o.test(e.yGap.toString()))),s=z(()=>{if(a.value)return e.responsive==="self"?i.value:r.value}),l=wt(()=>{var f;return(f=Number(ai(e.cols.toString(),s.value)))!==null&&f!==void 0?f:kb}),c=wt(()=>ai(e.xGap.toString(),s.value)),d=wt(()=>ai(e.yGap.toString(),s.value)),u=f=>{i.value=f.contentRect.width},h=f=>{bg(u,f)},m=j(!1),g=z(()=>{if(e.responsive==="self")return h}),v=j(!1),p=j();return Lt(()=>{const{value:f}=p;f&&f.hasAttribute(rl)&&(f.removeAttribute(rl),v.value=!0)}),We(yb,{layoutShiftDisabledRef:Ke(e,"layoutShiftDisabled"),isSsrRef:v,itemStyleRef:Ke(e,"itemStyle"),xGapRef:c,overflowRef:m}),{isSsr:!Zo,contentEl:p,mergedClsPrefix:t,style:z(()=>e.layoutShiftDisabled?{width:"100%",display:"grid",gridTemplateColumns:`repeat(${e.cols}, minmax(0, 1fr))`,columnGap:gi(e.xGap),rowGap:gi(e.yGap)}:{width:"100%",display:"grid",gridTemplateColumns:`repeat(${l.value}, minmax(0, 1fr))`,columnGap:gi(c.value),rowGap:gi(d.value)}),isResponsive:a,responsiveQuery:s,responsiveCols:l,handleResize:g,overflow:m}},render(){if(this.layoutShiftDisabled)return T("div",Ln({ref:"contentEl",class:`${this.mergedClsPrefix}-grid`,style:this.style},this.$attrs),this.$slots);const e=()=>{var t,n,o,i,r,a,s;this.overflow=!1;const l=Sr(vg(this)),c=[],{collapsed:d,collapsedRows:u,responsiveCols:h,responsiveQuery:m}=this;l.forEach(x=>{var A,k,w,I,C;if(((A=x==null?void 0:x.type)===null||A===void 0?void 0:A.__GRID_ITEM__)!==!0)return;if(c2(x)){const R=fn(x);R.props?R.props.privateShow=!1:R.props={privateShow:!1},c.push({child:R,rawChildSpan:0});return}x.dirs=((k=x.dirs)===null||k===void 0?void 0:k.filter(({dir:R})=>R!==_i))||null,((w=x.dirs)===null||w===void 0?void 0:w.length)===0&&(x.dirs=null);const S=fn(x),E=Number((C=ai((I=S.props)===null||I===void 0?void 0:I.span,m))!==null&&C!==void 0?C:_h);E!==0&&c.push({child:S,rawChildSpan:E})});let g=0;const v=(t=c[c.length-1])===null||t===void 0?void 0:t.child;if(v!=null&&v.props){const x=(n=v.props)===null||n===void 0?void 0:n.suffix;x!==void 0&&x!==!1&&(g=Number((i=ai((o=v.props)===null||o===void 0?void 0:o.span,m))!==null&&i!==void 0?i:_h),v.props.privateSpan=g,v.props.privateColStart=h+1-g,v.props.privateShow=(r=v.props.privateShow)!==null&&r!==void 0?r:!0)}let p=0,f=!1;for(const{child:x,rawChildSpan:A}of c){if(f&&(this.overflow=!0),!f){const k=Number((s=ai((a=x.props)===null||a===void 0?void 0:a.offset,m))!==null&&s!==void 0?s:0),w=Math.min(A+k,h);if(x.props?(x.props.privateSpan=w,x.props.privateOffset=k):x.props={privateSpan:w,privateOffset:k},d){const I=p%h;w+I>h&&(p+=h-I),w+p+g>u*h?f=!0:p+=w}}f&&(x.props?x.props.privateShow!==!0&&(x.props.privateShow=!1):x.props={privateShow:!1})}return T("div",Ln({ref:"contentEl",class:`${this.mergedClsPrefix}-grid`,style:this.style,[rl]:this.isSsr||void 0},this.$attrs),c.map(({child:x})=>x))};return this.isResponsive&&this.responsive==="self"?T($a,{onResize:this.handleResize},{default:e}):e()}}),Cb=e=>{const{primaryColor:t,baseColor:n}=e;return{color:t,iconColor:n}},m_={name:"IconWrapper",common:ae,self:Cb},p_=m_,b_={name:"IconWrapper",common:re,self:Cb},v_=b_;function y_(){return{toolbarIconColor:"rgba(255, 255, 255, .9)",toolbarColor:"rgba(0, 0, 0, .35)",toolbarBoxShadow:"none",toolbarBorderRadius:"24px"}}const x_={name:"Image",common:ae,peers:{Tooltip:Gr},self:y_},k_={closeMargin:"16px 12px",closeSize:"20px",closeIconSize:"16px",width:"365px",padding:"16px",titleFontSize:"16px",metaFontSize:"12px",descriptionFontSize:"12px"},Tb=e=>{const{textColor2:t,successColor:n,infoColor:o,warningColor:i,errorColor:r,popoverColor:a,closeIconColor:s,closeIconColorHover:l,closeIconColorPressed:c,closeColorHover:d,closeColorPressed:u,textColor1:h,textColor3:m,borderRadius:g,fontWeightStrong:v,boxShadow2:p,lineHeight:f,fontSize:x}=e;return Object.assign(Object.assign({},k_),{borderRadius:g,lineHeight:f,fontSize:x,headerFontWeight:v,iconColor:t,iconColorSuccess:n,iconColorInfo:o,iconColorWarning:i,iconColorError:r,color:a,textColor:t,closeIconColor:s,closeIconColorHover:l,closeIconColorPressed:c,closeBorderRadius:g,closeColorHover:d,closeColorPressed:u,headerTextColor:h,descriptionTextColor:m,actionTextColor:t,boxShadow:p})},C_={name:"Notification",common:ae,peers:{Scrollbar:Vt},self:Tb},wb=C_,T_={name:"Notification",common:re,peers:{Scrollbar:Jt},self:Tb},w_=T_,S_={margin:"0 0 8px 0",padding:"10px 20px",maxWidth:"720px",minWidth:"420px",iconMargin:"0 10px 0 0",closeMargin:"0 0 0 10px",closeSize:"20px",closeIconSize:"16px",iconSize:"20px",fontSize:"14px"},Sb=e=>{const{textColor2:t,closeIconColor:n,closeIconColorHover:o,closeIconColorPressed:i,infoColor:r,successColor:a,errorColor:s,warningColor:l,popoverColor:c,boxShadow2:d,primaryColor:u,lineHeight:h,borderRadius:m,closeColorHover:g,closeColorPressed:v}=e;return Object.assign(Object.assign({},S_),{closeBorderRadius:m,textColor:t,textColorInfo:t,textColorSuccess:t,textColorError:t,textColorWarning:t,textColorLoading:t,color:c,colorInfo:c,colorSuccess:c,colorError:c,colorWarning:c,colorLoading:c,boxShadow:d,boxShadowInfo:d,boxShadowSuccess:d,boxShadowError:d,boxShadowWarning:d,boxShadowLoading:d,iconColor:t,iconColorInfo:r,iconColorSuccess:a,iconColorWarning:l,iconColorError:s,iconColorLoading:u,closeColorHover:g,closeColorPressed:v,closeIconColor:n,closeIconColorHover:o,closeIconColorPressed:i,closeColorHoverInfo:g,closeColorPressedInfo:v,closeIconColorInfo:n,closeIconColorHoverInfo:o,closeIconColorPressedInfo:i,closeColorHoverSuccess:g,closeColorPressedSuccess:v,closeIconColorSuccess:n,closeIconColorHoverSuccess:o,closeIconColorPressedSuccess:i,closeColorHoverError:g,closeColorPressedError:v,closeIconColorError:n,closeIconColorHoverError:o,closeIconColorPressedError:i,closeColorHoverWarning:g,closeColorPressedWarning:v,closeIconColorWarning:n,closeIconColorHoverWarning:o,closeIconColorPressedWarning:i,closeColorHoverLoading:g,closeColorPressedLoading:v,closeIconColorLoading:n,closeIconColorHoverLoading:o,closeIconColorPressedLoading:i,loadingColor:u,lineHeight:h,borderRadius:m})},__={name:"Message",common:ae,self:Sb},_b=__,P_={name:"Message",common:re,self:Sb},A_=P_,I_={name:"ButtonGroup",common:re},E_=I_,R_={name:"ButtonGroup",common:ae},M_=R_,D_={name:"InputNumber",common:re,peers:{Button:Qt,Input:mn},self(e){const{textColorDisabled:t}=e;return{iconColorDisabled:t}}},L_=D_,$_=e=>{const{textColorDisabled:t}=e;return{iconColorDisabled:t}},O_={name:"InputNumber",common:ae,peers:{Button:Kt,Input:sn},self:$_},H_=O_,B_={name:"Layout",common:re,peers:{Scrollbar:Jt},self(e){const{textColor2:t,bodyColor:n,popoverColor:o,cardColor:i,dividerColor:r,scrollbarColor:a,scrollbarColorHover:s}=e;return{textColor:t,textColorInverted:t,color:n,colorEmbedded:n,headerColor:i,headerColorInverted:i,footerColor:i,footerColorInverted:i,headerBorderColor:r,headerBorderColorInverted:r,footerBorderColor:r,footerBorderColorInverted:r,siderBorderColor:r,siderBorderColorInverted:r,siderColor:i,siderColorInverted:i,siderToggleButtonBorder:"1px solid transparent",siderToggleButtonColor:o,siderToggleButtonIconColor:t,siderToggleButtonIconColorInverted:t,siderToggleBarColor:he(n,a),siderToggleBarColorHover:he(n,s),__invertScrollbar:"false"}}},N_=B_,z_=e=>{const{baseColor:t,textColor2:n,bodyColor:o,cardColor:i,dividerColor:r,actionColor:a,scrollbarColor:s,scrollbarColorHover:l,invertedColor:c}=e;return{textColor:n,textColorInverted:"#FFF",color:o,colorEmbedded:a,headerColor:i,headerColorInverted:c,footerColor:a,footerColorInverted:c,headerBorderColor:r,headerBorderColorInverted:c,footerBorderColor:r,footerBorderColorInverted:c,siderBorderColor:r,siderBorderColorInverted:c,siderColor:i,siderColorInverted:c,siderToggleButtonBorder:`1px solid ${r}`,siderToggleButtonColor:t,siderToggleButtonIconColor:n,siderToggleButtonIconColorInverted:n,siderToggleBarColor:he(o,s),siderToggleBarColorHover:he(o,l),__invertScrollbar:"true"}},F_={name:"Layout",common:ae,peers:{Scrollbar:Vt},self:z_},rd=F_,Pb=e=>{const{textColor2:t,cardColor:n,modalColor:o,popoverColor:i,dividerColor:r,borderRadius:a,fontSize:s,hoverColor:l}=e;return{textColor:t,color:n,colorHover:l,colorModal:o,colorHoverModal:he(o,l),colorPopover:i,colorHoverPopover:he(i,l),borderColor:r,borderColorModal:he(o,r),borderColorPopover:he(i,r),borderRadius:a,fontSize:s}},W_={name:"List",common:ae,self:Pb},j_=W_,G_={name:"List",common:re,self:Pb},V_=G_,K_={name:"LoadingBar",common:re,self(e){const{primaryColor:t}=e;return{colorError:"red",colorLoading:t,height:"2px"}}},U_=K_,q_=e=>{const{primaryColor:t,errorColor:n}=e;return{colorError:n,colorLoading:t,height:"2px"}},X_={name:"LoadingBar",common:ae,self:q_},Ab=X_,Z_={name:"Log",common:re,peers:{Scrollbar:Jt,Code:Pp},self(e){const{textColor2:t,inputColor:n,fontSize:o,primaryColor:i}=e;return{loaderFontSize:o,loaderTextColor:t,loaderColor:n,loaderBorder:"1px solid #0000",loadingColor:i}}},Y_=Z_,J_=e=>{const{textColor2:t,modalColor:n,borderColor:o,fontSize:i,primaryColor:r}=e;return{loaderFontSize:i,loaderTextColor:t,loaderColor:n,loaderBorder:`1px solid ${o}`,loadingColor:r}},Q_={name:"Log",common:ae,peers:{Scrollbar:Vt,Code:Ap},self:J_},eP=Q_,tP={name:"Mention",common:re,peers:{InternalSelectMenu:jr,Input:mn},self(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}},nP=tP,oP=e=>{const{boxShadow2:t}=e;return{menuBoxShadow:t}},iP={name:"Mention",common:ae,peers:{InternalSelectMenu:Wr,Input:sn},self:oP},rP=iP;function aP(e,t,n,o){return{itemColorHoverInverted:"#0000",itemColorActiveInverted:t,itemColorActiveHoverInverted:t,itemColorActiveCollapsedInverted:t,itemTextColorInverted:e,itemTextColorHoverInverted:n,itemTextColorChildActiveInverted:n,itemTextColorChildActiveHoverInverted:n,itemTextColorActiveInverted:n,itemTextColorActiveHoverInverted:n,itemTextColorHorizontalInverted:e,itemTextColorHoverHorizontalInverted:n,itemTextColorChildActiveHorizontalInverted:n,itemTextColorChildActiveHoverHorizontalInverted:n,itemTextColorActiveHorizontalInverted:n,itemTextColorActiveHoverHorizontalInverted:n,itemIconColorInverted:e,itemIconColorHoverInverted:n,itemIconColorActiveInverted:n,itemIconColorActiveHoverInverted:n,itemIconColorChildActiveInverted:n,itemIconColorChildActiveHoverInverted:n,itemIconColorCollapsedInverted:e,itemIconColorHorizontalInverted:e,itemIconColorHoverHorizontalInverted:n,itemIconColorActiveHorizontalInverted:n,itemIconColorActiveHoverHorizontalInverted:n,itemIconColorChildActiveHorizontalInverted:n,itemIconColorChildActiveHoverHorizontalInverted:n,arrowColorInverted:e,arrowColorHoverInverted:n,arrowColorActiveInverted:n,arrowColorActiveHoverInverted:n,arrowColorChildActiveInverted:n,arrowColorChildActiveHoverInverted:n,groupTextColorInverted:o}}const Ib=e=>{const{borderRadius:t,textColor3:n,primaryColor:o,textColor2:i,textColor1:r,fontSize:a,dividerColor:s,hoverColor:l,primaryColorHover:c}=e;return Object.assign({borderRadius:t,color:"#0000",groupTextColor:n,itemColorHover:l,itemColorActive:U(o,{alpha:.1}),itemColorActiveHover:U(o,{alpha:.1}),itemColorActiveCollapsed:U(o,{alpha:.1}),itemTextColor:i,itemTextColorHover:i,itemTextColorActive:o,itemTextColorActiveHover:o,itemTextColorChildActive:o,itemTextColorChildActiveHover:o,itemTextColorHorizontal:i,itemTextColorHoverHorizontal:c,itemTextColorActiveHorizontal:o,itemTextColorActiveHoverHorizontal:o,itemTextColorChildActiveHorizontal:o,itemTextColorChildActiveHoverHorizontal:o,itemIconColor:r,itemIconColorHover:r,itemIconColorActive:o,itemIconColorActiveHover:o,itemIconColorChildActive:o,itemIconColorChildActiveHover:o,itemIconColorCollapsed:r,itemIconColorHorizontal:r,itemIconColorHoverHorizontal:c,itemIconColorActiveHorizontal:o,itemIconColorActiveHoverHorizontal:o,itemIconColorChildActiveHorizontal:o,itemIconColorChildActiveHoverHorizontal:o,itemHeight:"42px",arrowColor:i,arrowColorHover:i,arrowColorActive:o,arrowColorActiveHover:o,arrowColorChildActive:o,arrowColorChildActiveHover:o,colorInverted:"#0000",borderColorHorizontal:"#0000",fontSize:a,dividerColor:s},aP("#BBB",o,"#FFF","#AAA"))},sP={name:"Menu",common:ae,peers:{Tooltip:Gr,Dropdown:ws},self:Ib},lP=sP,cP={name:"Menu",common:re,peers:{Tooltip:Ts,Dropdown:Qc},self(e){const{primaryColor:t,primaryColorSuppl:n}=e,o=Ib(e);return o.itemColorActive=U(t,{alpha:.15}),o.itemColorActiveHover=U(t,{alpha:.15}),o.itemColorActiveCollapsed=U(t,{alpha:.15}),o.itemColorActiveInverted=n,o.itemColorActiveHoverInverted=n,o.itemColorActiveCollapsedInverted=n,o}},dP=cP,uP={titleFontSize:"18px",backSize:"22px"};function Eb(e){const{textColor1:t,textColor2:n,textColor3:o,fontSize:i,fontWeightStrong:r,primaryColorHover:a,primaryColorPressed:s}=e;return Object.assign(Object.assign({},uP),{titleFontWeight:r,fontSize:i,titleTextColor:t,backColor:n,backColorHover:a,backColorPressed:s,subtitleTextColor:o})}const hP={name:"PageHeader",common:ae,self:Eb},fP={name:"PageHeader",common:re,self:Eb},gP={iconSize:"22px"},Rb=e=>{const{fontSize:t,warningColor:n}=e;return Object.assign(Object.assign({},gP),{fontSize:t,iconColor:n})},mP={name:"Popconfirm",common:ae,peers:{Button:Kt,Popover:xo},self:Rb},pP=mP,bP={name:"Popconfirm",common:re,peers:{Button:Qt,Popover:oi},self:Rb},vP=bP,Mb=e=>{const{infoColor:t,successColor:n,warningColor:o,errorColor:i,textColor2:r,progressRailColor:a,fontSize:s,fontWeight:l}=e;return{fontSize:s,fontSizeCircle:"28px",fontWeightCircle:l,railColor:a,railHeight:"8px",iconSizeCircle:"36px",iconSizeLine:"18px",iconColor:t,iconColorInfo:t,iconColorSuccess:n,iconColorWarning:o,iconColorError:i,textColorCircle:r,textColorLineInner:"rgb(255, 255, 255)",textColorLineOuter:r,fillColor:t,fillColorInfo:t,fillColorSuccess:n,fillColorWarning:o,fillColorError:i,lineBgProcessing:"linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)"}},yP={name:"Progress",common:ae,self:Mb},Db=yP,xP={name:"Progress",common:re,self(e){const t=Mb(e);return t.textColorLineInner="rgb(0, 0, 0)",t.lineBgProcessing="linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)",t}},Lb=xP,kP={name:"Rate",common:re,self(e){const{railColor:t}=e;return{itemColor:t,itemColorActive:"#CCAA33",itemSize:"20px",sizeSmall:"16px",sizeMedium:"20px",sizeLarge:"24px"}}},CP=kP,TP=e=>{const{railColor:t}=e;return{itemColor:t,itemColorActive:"#FFCC33",sizeSmall:"16px",sizeMedium:"20px",sizeLarge:"24px"}},wP={name:"Rate",common:ae,self:TP},SP=wP,_P={titleFontSizeSmall:"26px",titleFontSizeMedium:"32px",titleFontSizeLarge:"40px",titleFontSizeHuge:"48px",fontSizeSmall:"14px",fontSizeMedium:"14px",fontSizeLarge:"15px",fontSizeHuge:"16px",iconSizeSmall:"64px",iconSizeMedium:"80px",iconSizeLarge:"100px",iconSizeHuge:"125px",iconColor418:void 0,iconColor404:void 0,iconColor403:void 0,iconColor500:void 0},$b=e=>{const{textColor2:t,textColor1:n,errorColor:o,successColor:i,infoColor:r,warningColor:a,lineHeight:s,fontWeightStrong:l}=e;return Object.assign(Object.assign({},_P),{lineHeight:s,titleFontWeight:l,titleTextColor:n,textColor:t,iconColorError:o,iconColorSuccess:i,iconColorInfo:r,iconColorWarning:a})},PP={name:"Result",common:ae,self:$b},AP=PP,IP={name:"Result",common:re,self:$b},EP=IP,Ob={railHeight:"4px",railWidthVertical:"4px",handleSize:"18px",dotHeight:"8px",dotWidth:"8px",dotBorderRadius:"4px"},RP={name:"Slider",common:re,self(e){const t="0 2px 8px 0 rgba(0, 0, 0, 0.12)",{railColor:n,modalColor:o,primaryColorSuppl:i,popoverColor:r,textColor2:a,cardColor:s,borderRadius:l,fontSize:c,opacityDisabled:d}=e;return Object.assign(Object.assign({},Ob),{fontSize:c,markFontSize:c,railColor:n,railColorHover:n,fillColor:i,fillColorHover:i,opacityDisabled:d,handleColor:"#FFF",dotColor:s,dotColorModal:o,dotColorPopover:r,handleBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowHover:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowActive:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowFocus:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",indicatorColor:r,indicatorBoxShadow:t,indicatorTextColor:a,indicatorBorderRadius:l,dotBorder:`2px solid ${n}`,dotBorderActive:`2px solid ${i}`,dotBoxShadow:""})}},MP=RP,DP=e=>{const t="rgba(0, 0, 0, .85)",n="0 2px 8px 0 rgba(0, 0, 0, 0.12)",{railColor:o,primaryColor:i,baseColor:r,cardColor:a,modalColor:s,popoverColor:l,borderRadius:c,fontSize:d,opacityDisabled:u}=e;return Object.assign(Object.assign({},Ob),{fontSize:d,markFontSize:d,railColor:o,railColorHover:o,fillColor:i,fillColorHover:i,opacityDisabled:u,handleColor:"#FFF",dotColor:a,dotColorModal:s,dotColorPopover:l,handleBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowHover:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowActive:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowFocus:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",indicatorColor:t,indicatorBoxShadow:n,indicatorTextColor:r,indicatorBorderRadius:c,dotBorder:`2px solid ${o}`,dotBorderActive:`2px solid ${i}`,dotBoxShadow:""})},LP={name:"Slider",common:ae,self:DP},$P=LP,Hb=e=>{const{opacityDisabled:t,heightTiny:n,heightSmall:o,heightMedium:i,heightLarge:r,heightHuge:a,primaryColor:s,fontSize:l}=e;return{fontSize:l,textColor:s,sizeTiny:n,sizeSmall:o,sizeMedium:i,sizeLarge:r,sizeHuge:a,color:s,opacitySpinning:t}},OP={name:"Spin",common:ae,self:Hb},HP=OP,BP={name:"Spin",common:re,self:Hb},NP=BP,Bb=e=>{const{textColor2:t,textColor3:n,fontSize:o,fontWeight:i}=e;return{labelFontSize:o,labelFontWeight:i,valueFontWeight:i,valueFontSize:"24px",labelTextColor:n,valuePrefixTextColor:t,valueSuffixTextColor:t,valueTextColor:t}},zP={name:"Statistic",common:ae,self:Bb},FP=zP,WP={name:"Statistic",common:re,self:Bb},jP=WP,GP={stepHeaderFontSizeSmall:"14px",stepHeaderFontSizeMedium:"16px",indicatorIndexFontSizeSmall:"14px",indicatorIndexFontSizeMedium:"16px",indicatorSizeSmall:"22px",indicatorSizeMedium:"28px",indicatorIconSizeSmall:"14px",indicatorIconSizeMedium:"18px"},Nb=e=>{const{fontWeightStrong:t,baseColor:n,textColorDisabled:o,primaryColor:i,errorColor:r,textColor1:a,textColor2:s}=e;return Object.assign(Object.assign({},GP),{stepHeaderFontWeight:t,indicatorTextColorProcess:n,indicatorTextColorWait:o,indicatorTextColorFinish:i,indicatorTextColorError:r,indicatorBorderColorProcess:i,indicatorBorderColorWait:o,indicatorBorderColorFinish:i,indicatorBorderColorError:r,indicatorColorProcess:i,indicatorColorWait:"#0000",indicatorColorFinish:"#0000",indicatorColorError:"#0000",splitorColorProcess:o,splitorColorWait:o,splitorColorFinish:i,splitorColorError:o,headerTextColorProcess:a,headerTextColorWait:o,headerTextColorFinish:o,headerTextColorError:r,descriptionTextColorProcess:s,descriptionTextColorWait:o,descriptionTextColorFinish:o,descriptionTextColorError:r})},VP={name:"Steps",common:ae,self:Nb},KP=VP,UP={name:"Steps",common:re,self:Nb},qP=UP,zb={buttonHeightSmall:"14px",buttonHeightMedium:"18px",buttonHeightLarge:"22px",buttonWidthSmall:"14px",buttonWidthMedium:"18px",buttonWidthLarge:"22px",buttonWidthPressedSmall:"20px",buttonWidthPressedMedium:"24px",buttonWidthPressedLarge:"28px",railHeightSmall:"18px",railHeightMedium:"22px",railHeightLarge:"26px",railWidthSmall:"32px",railWidthMedium:"40px",railWidthLarge:"48px"},XP={name:"Switch",common:re,self(e){const{primaryColorSuppl:t,opacityDisabled:n,borderRadius:o,primaryColor:i,textColor2:r,baseColor:a}=e,s="rgba(255, 255, 255, .20)";return Object.assign(Object.assign({},zb),{iconColor:a,textColor:r,loadingColor:t,opacityDisabled:n,railColor:s,railColorActive:t,buttonBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",buttonColor:"#FFF",railBorderRadiusSmall:o,railBorderRadiusMedium:o,railBorderRadiusLarge:o,buttonBorderRadiusSmall:o,buttonBorderRadiusMedium:o,buttonBorderRadiusLarge:o,boxShadowFocus:`0 0 8px 0 ${U(i,{alpha:.3})}`})}},ZP=XP,YP=e=>{const{primaryColor:t,opacityDisabled:n,borderRadius:o,textColor3:i}=e,r="rgba(0, 0, 0, .14)";return Object.assign(Object.assign({},zb),{iconColor:i,textColor:"white",loadingColor:t,opacityDisabled:n,railColor:r,railColorActive:t,buttonBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",buttonColor:"#FFF",railBorderRadiusSmall:o,railBorderRadiusMedium:o,railBorderRadiusLarge:o,buttonBorderRadiusSmall:o,buttonBorderRadiusMedium:o,buttonBorderRadiusLarge:o,boxShadowFocus:`0 0 0 2px ${U(t,{alpha:.2})}`})},JP={name:"Switch",common:ae,self:YP},QP=JP,eA={thPaddingSmall:"6px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"6px",tdPaddingMedium:"12px",tdPaddingLarge:"12px"},Fb=e=>{const{dividerColor:t,cardColor:n,modalColor:o,popoverColor:i,tableHeaderColor:r,tableColorStriped:a,textColor1:s,textColor2:l,borderRadius:c,fontWeightStrong:d,lineHeight:u,fontSizeSmall:h,fontSizeMedium:m,fontSizeLarge:g}=e;return Object.assign(Object.assign({},eA),{fontSizeSmall:h,fontSizeMedium:m,fontSizeLarge:g,lineHeight:u,borderRadius:c,borderColor:he(n,t),borderColorModal:he(o,t),borderColorPopover:he(i,t),tdColor:n,tdColorModal:o,tdColorPopover:i,tdColorStriped:he(n,a),tdColorStripedModal:he(o,a),tdColorStripedPopover:he(i,a),thColor:he(n,r),thColorModal:he(o,r),thColorPopover:he(i,r),thTextColor:s,tdTextColor:l,thFontWeight:d})},tA={name:"Table",common:ae,self:Fb},nA=tA,oA={name:"Table",common:re,self:Fb},iA=oA,rA={tabFontSizeSmall:"14px",tabFontSizeMedium:"14px",tabFontSizeLarge:"16px",tabGapSmallLine:"36px",tabGapMediumLine:"36px",tabGapLargeLine:"36px",tabGapSmallLineVertical:"8px",tabGapMediumLineVertical:"8px",tabGapLargeLineVertical:"8px",tabPaddingSmallLine:"6px 0",tabPaddingMediumLine:"10px 0",tabPaddingLargeLine:"14px 0",tabPaddingVerticalSmallLine:"6px 12px",tabPaddingVerticalMediumLine:"8px 16px",tabPaddingVerticalLargeLine:"10px 20px",tabGapSmallBar:"36px",tabGapMediumBar:"36px",tabGapLargeBar:"36px",tabGapSmallBarVertical:"8px",tabGapMediumBarVertical:"8px",tabGapLargeBarVertical:"8px",tabPaddingSmallBar:"4px 0",tabPaddingMediumBar:"6px 0",tabPaddingLargeBar:"10px 0",tabPaddingVerticalSmallBar:"6px 12px",tabPaddingVerticalMediumBar:"8px 16px",tabPaddingVerticalLargeBar:"10px 20px",tabGapSmallCard:"4px",tabGapMediumCard:"4px",tabGapLargeCard:"4px",tabGapSmallCardVertical:"4px",tabGapMediumCardVertical:"4px",tabGapLargeCardVertical:"4px",tabPaddingSmallCard:"8px 16px",tabPaddingMediumCard:"10px 20px",tabPaddingLargeCard:"12px 24px",tabPaddingSmallSegment:"4px 0",tabPaddingMediumSegment:"6px 0",tabPaddingLargeSegment:"8px 0",tabPaddingVerticalLargeSegment:"0 8px",tabPaddingVerticalSmallCard:"8px 12px",tabPaddingVerticalMediumCard:"10px 16px",tabPaddingVerticalLargeCard:"12px 20px",tabPaddingVerticalSmallSegment:"0 4px",tabPaddingVerticalMediumSegment:"0 6px",tabGapSmallSegment:"0",tabGapMediumSegment:"0",tabGapLargeSegment:"0",tabGapSmallSegmentVertical:"0",tabGapMediumSegmentVertical:"0",tabGapLargeSegmentVertical:"0",panePaddingSmall:"8px 0 0 0",panePaddingMedium:"12px 0 0 0",panePaddingLarge:"16px 0 0 0",closeSize:"18px",closeIconSize:"14px"},Wb=e=>{const{textColor2:t,primaryColor:n,textColorDisabled:o,closeIconColor:i,closeIconColorHover:r,closeIconColorPressed:a,closeColorHover:s,closeColorPressed:l,tabColor:c,baseColor:d,dividerColor:u,fontWeight:h,textColor1:m,borderRadius:g,fontSize:v,fontWeightStrong:p}=e;return Object.assign(Object.assign({},rA),{colorSegment:c,tabFontSizeCard:v,tabTextColorLine:m,tabTextColorActiveLine:n,tabTextColorHoverLine:n,tabTextColorDisabledLine:o,tabTextColorSegment:m,tabTextColorActiveSegment:t,tabTextColorHoverSegment:t,tabTextColorDisabledSegment:o,tabTextColorBar:m,tabTextColorActiveBar:n,tabTextColorHoverBar:n,tabTextColorDisabledBar:o,tabTextColorCard:m,tabTextColorHoverCard:m,tabTextColorActiveCard:n,tabTextColorDisabledCard:o,barColor:n,closeIconColor:i,closeIconColorHover:r,closeIconColorPressed:a,closeColorHover:s,closeColorPressed:l,closeBorderRadius:g,tabColor:c,tabColorSegment:d,tabBorderColor:u,tabFontWeightActive:h,tabFontWeight:h,tabBorderRadius:g,paneTextColor:t,fontWeightStrong:p})},aA={name:"Tabs",common:ae,self:Wb},sA=aA,lA={name:"Tabs",common:re,self(e){const t=Wb(e),{inputColor:n}=e;return t.colorSegment=n,t.tabColorSegment=n,t}},cA=lA,jb=e=>{const{textColor1:t,textColor2:n,fontWeightStrong:o,fontSize:i}=e;return{fontSize:i,titleTextColor:t,textColor:n,titleFontWeight:o}},dA={name:"Thing",common:ae,self:jb},uA=dA,hA={name:"Thing",common:re,self:jb},fA=hA,Gb={titleMarginMedium:"0 0 6px 0",titleMarginLarge:"-2px 0 6px 0",titleFontSizeMedium:"14px",titleFontSizeLarge:"16px",iconSizeMedium:"14px",iconSizeLarge:"14px"},gA={name:"Timeline",common:re,self(e){const{textColor3:t,infoColorSuppl:n,errorColorSuppl:o,successColorSuppl:i,warningColorSuppl:r,textColor1:a,textColor2:s,railColor:l,fontWeightStrong:c,fontSize:d}=e;return Object.assign(Object.assign({},Gb),{contentFontSize:d,titleFontWeight:c,circleBorder:`2px solid ${t}`,circleBorderInfo:`2px solid ${n}`,circleBorderError:`2px solid ${o}`,circleBorderSuccess:`2px solid ${i}`,circleBorderWarning:`2px solid ${r}`,iconColor:t,iconColorInfo:n,iconColorError:o,iconColorSuccess:i,iconColorWarning:r,titleTextColor:a,contentTextColor:s,metaTextColor:t,lineColor:l})}},mA=gA,pA=e=>{const{textColor3:t,infoColor:n,errorColor:o,successColor:i,warningColor:r,textColor1:a,textColor2:s,railColor:l,fontWeightStrong:c,fontSize:d}=e;return Object.assign(Object.assign({},Gb),{contentFontSize:d,titleFontWeight:c,circleBorder:`2px solid ${t}`,circleBorderInfo:`2px solid ${n}`,circleBorderError:`2px solid ${o}`,circleBorderSuccess:`2px solid ${i}`,circleBorderWarning:`2px solid ${r}`,iconColor:t,iconColorInfo:n,iconColorError:o,iconColorSuccess:i,iconColorWarning:r,titleTextColor:a,contentTextColor:s,metaTextColor:t,lineColor:l})},bA={name:"Timeline",common:ae,self:pA},vA=bA,Vb={extraFontSizeSmall:"12px",extraFontSizeMedium:"12px",extraFontSizeLarge:"14px",titleFontSizeSmall:"14px",titleFontSizeMedium:"16px",titleFontSizeLarge:"16px",closeSize:"20px",closeIconSize:"16px",headerHeightSmall:"44px",headerHeightMedium:"44px",headerHeightLarge:"50px"},yA={name:"Transfer",common:re,peers:{Checkbox:Fi,Scrollbar:Jt,Input:mn,Empty:ni,Button:Qt},self(e){const{fontWeight:t,fontSizeLarge:n,fontSizeMedium:o,fontSizeSmall:i,heightLarge:r,heightMedium:a,borderRadius:s,inputColor:l,tableHeaderColor:c,textColor1:d,textColorDisabled:u,textColor2:h,textColor3:m,hoverColor:g,closeColorHover:v,closeColorPressed:p,closeIconColor:f,closeIconColorHover:x,closeIconColorPressed:A,dividerColor:k}=e;return Object.assign(Object.assign({},Vb),{itemHeightSmall:a,itemHeightMedium:a,itemHeightLarge:r,fontSizeSmall:i,fontSizeMedium:o,fontSizeLarge:n,borderRadius:s,dividerColor:k,borderColor:"#0000",listColor:l,headerColor:c,titleTextColor:d,titleTextColorDisabled:u,extraTextColor:m,extraTextColorDisabled:u,itemTextColor:h,itemTextColorDisabled:u,itemColorPending:g,titleFontWeight:t,closeColorHover:v,closeColorPressed:p,closeIconColor:f,closeIconColorHover:x,closeIconColorPressed:A})}},xA=yA,kA=e=>{const{fontWeight:t,fontSizeLarge:n,fontSizeMedium:o,fontSizeSmall:i,heightLarge:r,heightMedium:a,borderRadius:s,cardColor:l,tableHeaderColor:c,textColor1:d,textColorDisabled:u,textColor2:h,textColor3:m,borderColor:g,hoverColor:v,closeColorHover:p,closeColorPressed:f,closeIconColor:x,closeIconColorHover:A,closeIconColorPressed:k}=e;return Object.assign(Object.assign({},Vb),{itemHeightSmall:a,itemHeightMedium:a,itemHeightLarge:r,fontSizeSmall:i,fontSizeMedium:o,fontSizeLarge:n,borderRadius:s,dividerColor:g,borderColor:g,listColor:l,headerColor:he(l,c),titleTextColor:d,titleTextColorDisabled:u,extraTextColor:m,extraTextColorDisabled:u,itemTextColor:h,itemTextColorDisabled:u,itemColorPending:v,titleFontWeight:t,closeColorHover:p,closeColorPressed:f,closeIconColor:x,closeIconColorHover:A,closeIconColorPressed:k})},CA={name:"Transfer",common:ae,peers:{Checkbox:zi,Scrollbar:Vt,Input:sn,Empty:Xn,Button:Kt},self:kA},TA=CA,Kb=e=>{const{borderRadiusSmall:t,hoverColor:n,pressedColor:o,primaryColor:i,textColor3:r,textColor2:a,textColorDisabled:s,fontSize:l}=e;return{fontSize:l,lineHeight:"1.5",nodeHeight:"30px",nodeWrapperPadding:"3px 0",nodeBorderRadius:t,nodeColorHover:n,nodeColorPressed:o,nodeColorActive:U(i,{alpha:.1}),arrowColor:r,nodeTextColor:a,nodeTextColorDisabled:s,loadingColor:i,dropMarkColor:i}},wA={name:"Tree",common:ae,peers:{Checkbox:zi,Scrollbar:Vt,Empty:Xn},self:Kb},Ub=wA,SA={name:"Tree",common:re,peers:{Checkbox:Fi,Scrollbar:Jt,Empty:ni},self(e){const{primaryColor:t}=e,n=Kb(e);return n.nodeColorActive=U(t,{alpha:.15}),n}},qb=SA,_A={name:"TreeSelect",common:re,peers:{Tree:qb,Empty:ni,InternalSelection:Xc}},PA=_A,AA=e=>{const{popoverColor:t,boxShadow2:n,borderRadius:o,heightMedium:i,dividerColor:r,textColor2:a}=e;return{menuPadding:"4px",menuColor:t,menuBoxShadow:n,menuBorderRadius:o,menuHeight:`calc(${i} * 7.6)`,actionDividerColor:r,actionTextColor:a,actionPadding:"8px 12px"}},IA={name:"TreeSelect",common:ae,peers:{Tree:Ub,Empty:Xn,InternalSelection:qc},self:AA},EA=IA,RA={headerFontSize1:"30px",headerFontSize2:"22px",headerFontSize3:"18px",headerFontSize4:"16px",headerFontSize5:"16px",headerFontSize6:"16px",headerMargin1:"28px 0 20px 0",headerMargin2:"28px 0 20px 0",headerMargin3:"28px 0 20px 0",headerMargin4:"28px 0 18px 0",headerMargin5:"28px 0 18px 0",headerMargin6:"28px 0 18px 0",headerPrefixWidth1:"16px",headerPrefixWidth2:"16px",headerPrefixWidth3:"12px",headerPrefixWidth4:"12px",headerPrefixWidth5:"12px",headerPrefixWidth6:"12px",headerBarWidth1:"4px",headerBarWidth2:"4px",headerBarWidth3:"3px",headerBarWidth4:"3px",headerBarWidth5:"3px",headerBarWidth6:"3px",pMargin:"16px 0 16px 0",liMargin:".25em 0 0 0",olPadding:"0 0 0 2em",ulPadding:"0 0 0 2em"},Xb=e=>{const{primaryColor:t,textColor2:n,borderColor:o,lineHeight:i,fontSize:r,borderRadiusSmall:a,dividerColor:s,fontWeightStrong:l,textColor1:c,textColor3:d,infoColor:u,warningColor:h,errorColor:m,successColor:g,codeColor:v}=e;return Object.assign(Object.assign({},RA),{aTextColor:t,blockquoteTextColor:n,blockquotePrefixColor:o,blockquoteLineHeight:i,blockquoteFontSize:r,codeBorderRadius:a,liTextColor:n,liLineHeight:i,liFontSize:r,hrColor:s,headerFontWeight:l,headerTextColor:c,pTextColor:n,pTextColor1Depth:c,pTextColor2Depth:n,pTextColor3Depth:d,pLineHeight:i,pFontSize:r,headerBarColor:t,headerBarColorPrimary:t,headerBarColorInfo:u,headerBarColorError:m,headerBarColorWarning:h,headerBarColorSuccess:g,textColor:n,textColor1Depth:c,textColor2Depth:n,textColor3Depth:d,textColorPrimary:t,textColorInfo:u,textColorSuccess:g,textColorWarning:h,textColorError:m,codeTextColor:n,codeColor:v,codeBorder:"1px solid #0000"})},MA={name:"Typography",common:ae,self:Xb},ad=MA,DA={name:"Typography",common:re,self:Xb},LA=DA,Zb=e=>{const{iconColor:t,primaryColor:n,errorColor:o,textColor2:i,successColor:r,opacityDisabled:a,actionColor:s,borderColor:l,hoverColor:c,lineHeight:d,borderRadius:u,fontSize:h}=e;return{fontSize:h,lineHeight:d,borderRadius:u,draggerColor:s,draggerBorder:`1px dashed ${l}`,draggerBorderHover:`1px dashed ${n}`,itemColorHover:c,itemColorHoverError:U(o,{alpha:.06}),itemTextColor:i,itemTextColorError:o,itemTextColorSuccess:r,itemIconColor:t,itemDisabledOpacity:a,itemBorderImageCardError:`1px solid ${o}`,itemBorderImageCard:`1px solid ${l}`}},$A={name:"Upload",common:ae,peers:{Button:Kt,Progress:Db},self:Zb},OA=$A,HA={name:"Upload",common:re,peers:{Button:Qt,Progress:Lb},self(e){const{errorColor:t}=e,n=Zb(e);return n.itemColorHoverError=U(t,{alpha:.09}),n}},BA=HA,NA={name:"Watermark",common:re,self(e){const{fontFamily:t}=e;return{fontFamily:t}}},zA=NA,FA={name:"Watermark",common:ae,self(e){const{fontFamily:t}=e;return{fontFamily:t}}},WA=FA,jA={name:"Row",common:ae},GA=jA,VA={name:"Row",common:re},KA=VA,UA={name:"Image",common:re,peers:{Tooltip:Ts},self:e=>{const{textColor2:t}=e;return{toolbarIconColor:t,toolbarColor:"rgba(0, 0, 0, .35)",toolbarBoxShadow:"none",toolbarBorderRadius:"24px"}}},Yb={type:String,default:"static"},qA=Q("layout",` color: var(--n-text-color); background-color: var(--n-color); box-sizing: border-box; @@ -1119,7 +1119,7 @@ ${t} right: 0; top: 0; bottom: 0; - `)]),ZA={embedded:Boolean,position:Yb,nativeScrollbar:{type:Boolean,default:!0},scrollbarProps:Object,onScroll:Function,contentStyle:{type:[String,Object],default:""},hasSider:Boolean,siderPlacement:{type:String,default:"left"}},YA="n-layout";function Jb(e){return se({name:e?"LayoutContent":"Layout",props:Object.assign(Object.assign({},Pe.props),ZA),setup(t){const n=j(null),o=j(null),{mergedClsPrefixRef:i,inlineThemeDisabled:r}=lt(t),a=Pe("Layout","-layout",XA,rd,t,i);function s(v,p){if(t.nativeScrollbar){const{value:f}=n;f&&(p===void 0?f.scrollTo(v):f.scrollTo(v,p))}else{const{value:f}=o;f&&f.scrollTo(v,p)}}We(YA,t);let l=0,c=0;const d=v=>{var p;const f=v.target;l=f.scrollLeft,c=f.scrollTop,(p=t.onScroll)===null||p===void 0||p.call(t,v)};Qg(()=>{if(t.nativeScrollbar){const v=n.value;v&&(v.scrollTop=c,v.scrollLeft=l)}});const u={display:"flex",flexWrap:"nowrap",width:"100%",flexDirection:"row"},h={scrollTo:s},m=z(()=>{const{common:{cubicBezierEaseInOut:v},self:p}=a.value;return{"--n-bezier":v,"--n-color":t.embedded?p.colorEmbedded:p.color,"--n-text-color":p.textColor}}),g=r?_t("layout",z(()=>t.embedded?"e":""),m,t):void 0;return Object.assign({mergedClsPrefix:i,scrollableElRef:n,scrollbarInstRef:o,hasSiderStyle:u,mergedTheme:a,handleNativeElScroll:d,cssVars:r?void 0:m,themeClass:g==null?void 0:g.themeClass,onRender:g==null?void 0:g.onRender},h)},render(){var t;const{mergedClsPrefix:n,hasSider:o}=this;(t=this.onRender)===null||t===void 0||t.call(this);const i=o?this.hasSiderStyle:void 0,r=[this.themeClass,e&&`${n}-layout-content`,`${n}-layout`,`${n}-layout--${this.position}-positioned`];return T("div",{class:r,style:this.cssVars},this.nativeScrollbar?T("div",{ref:"scrollableElRef",class:`${n}-layout-scroll-container`,style:[this.contentStyle,i],onScroll:this.handleNativeElScroll},this.$slots):T(xs,Object.assign({},this.scrollbarProps,{onScroll:this.onScroll,ref:"scrollbarInstRef",theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,contentStyle:[this.contentStyle,i]}),this.$slots))}})}const JA=Jb(!1),QA=Jb(!0),eI=Q("layout-footer",` + `)]),XA={embedded:Boolean,position:Yb,nativeScrollbar:{type:Boolean,default:!0},scrollbarProps:Object,onScroll:Function,contentStyle:{type:[String,Object],default:""},hasSider:Boolean,siderPlacement:{type:String,default:"left"}},ZA="n-layout";function Jb(e){return se({name:e?"LayoutContent":"Layout",props:Object.assign(Object.assign({},Pe.props),XA),setup(t){const n=j(null),o=j(null),{mergedClsPrefixRef:i,inlineThemeDisabled:r}=lt(t),a=Pe("Layout","-layout",qA,rd,t,i);function s(v,p){if(t.nativeScrollbar){const{value:f}=n;f&&(p===void 0?f.scrollTo(v):f.scrollTo(v,p))}else{const{value:f}=o;f&&f.scrollTo(v,p)}}We(ZA,t);let l=0,c=0;const d=v=>{var p;const f=v.target;l=f.scrollLeft,c=f.scrollTop,(p=t.onScroll)===null||p===void 0||p.call(t,v)};Qg(()=>{if(t.nativeScrollbar){const v=n.value;v&&(v.scrollTop=c,v.scrollLeft=l)}});const u={display:"flex",flexWrap:"nowrap",width:"100%",flexDirection:"row"},h={scrollTo:s},m=z(()=>{const{common:{cubicBezierEaseInOut:v},self:p}=a.value;return{"--n-bezier":v,"--n-color":t.embedded?p.colorEmbedded:p.color,"--n-text-color":p.textColor}}),g=r?_t("layout",z(()=>t.embedded?"e":""),m,t):void 0;return Object.assign({mergedClsPrefix:i,scrollableElRef:n,scrollbarInstRef:o,hasSiderStyle:u,mergedTheme:a,handleNativeElScroll:d,cssVars:r?void 0:m,themeClass:g==null?void 0:g.themeClass,onRender:g==null?void 0:g.onRender},h)},render(){var t;const{mergedClsPrefix:n,hasSider:o}=this;(t=this.onRender)===null||t===void 0||t.call(this);const i=o?this.hasSiderStyle:void 0,r=[this.themeClass,e&&`${n}-layout-content`,`${n}-layout`,`${n}-layout--${this.position}-positioned`];return T("div",{class:r,style:this.cssVars},this.nativeScrollbar?T("div",{ref:"scrollableElRef",class:`${n}-layout-scroll-container`,style:[this.contentStyle,i],onScroll:this.handleNativeElScroll},this.$slots):T(xs,Object.assign({},this.scrollbarProps,{onScroll:this.onScroll,ref:"scrollbarInstRef",theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,contentStyle:[this.contentStyle,i]}),this.$slots))}})}const YA=Jb(!1),JA=Jb(!0),QA=Q("layout-footer",` transition: box-shadow .3s var(--n-bezier), color .3s var(--n-bezier), @@ -1135,7 +1135,7 @@ ${t} bottom: 0; `),Y("bordered",` border-top: solid 1px var(--n-border-color); - `)]),tI=Object.assign(Object.assign({},Pe.props),{inverted:Boolean,position:Yb,bordered:Boolean}),nI=se({name:"LayoutFooter",props:tI,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=lt(e),o=Pe("Layout","-layout-footer",eI,rd,e,t),i=z(()=>{const{common:{cubicBezierEaseInOut:a},self:s}=o.value,l={"--n-bezier":a};return e.inverted?(l["--n-color"]=s.footerColorInverted,l["--n-text-color"]=s.textColorInverted,l["--n-border-color"]=s.footerBorderColorInverted):(l["--n-color"]=s.footerColor,l["--n-text-color"]=s.textColor,l["--n-border-color"]=s.footerBorderColor),l}),r=n?_t("layout-footer",z(()=>e.inverted?"a":"b"),i,e):void 0;return{mergedClsPrefix:t,cssVars:n?void 0:i,themeClass:r==null?void 0:r.themeClass,onRender:r==null?void 0:r.onRender}},render(){var e;const{mergedClsPrefix:t}=this;return(e=this.onRender)===null||e===void 0||e.call(this),T("div",{class:[`${t}-layout-footer`,this.themeClass,this.position&&`${t}-layout-footer--${this.position}-positioned`,this.bordered&&`${t}-layout-footer--bordered`],style:this.cssVars},this.$slots)}}),Qb={extraFontSize:"12px",width:"440px"},oI={name:"Transfer",common:re,peers:{Checkbox:Fi,Scrollbar:Jt,Input:mn,Empty:ni,Button:Qt},self(e){const{iconColorDisabled:t,iconColor:n,fontWeight:o,fontSizeLarge:i,fontSizeMedium:r,fontSizeSmall:a,heightLarge:s,heightMedium:l,heightSmall:c,borderRadius:d,inputColor:u,tableHeaderColor:h,textColor1:m,textColorDisabled:g,textColor2:v,hoverColor:p}=e;return Object.assign(Object.assign({},Qb),{itemHeightSmall:c,itemHeightMedium:l,itemHeightLarge:s,fontSizeSmall:a,fontSizeMedium:r,fontSizeLarge:i,borderRadius:d,borderColor:"#0000",listColor:u,headerColor:h,titleTextColor:m,titleTextColorDisabled:g,extraTextColor:v,filterDividerColor:"#0000",itemTextColor:v,itemTextColorDisabled:g,itemColorPending:p,titleFontWeight:o,iconColor:n,iconColorDisabled:t})}},iI=oI,rI=e=>{const{fontWeight:t,iconColorDisabled:n,iconColor:o,fontSizeLarge:i,fontSizeMedium:r,fontSizeSmall:a,heightLarge:s,heightMedium:l,heightSmall:c,borderRadius:d,cardColor:u,tableHeaderColor:h,textColor1:m,textColorDisabled:g,textColor2:v,borderColor:p,hoverColor:f}=e;return Object.assign(Object.assign({},Qb),{itemHeightSmall:c,itemHeightMedium:l,itemHeightLarge:s,fontSizeSmall:a,fontSizeMedium:r,fontSizeLarge:i,borderRadius:d,borderColor:p,listColor:u,headerColor:he(u,h),titleTextColor:m,titleTextColorDisabled:g,extraTextColor:v,filterDividerColor:p,itemTextColor:v,itemTextColorDisabled:g,itemColorPending:f,titleFontWeight:t,iconColor:o,iconColorDisabled:n})},aI={name:"Transfer",common:ae,peers:{Checkbox:zi,Scrollbar:Vt,Input:sn,Empty:Xn,Button:Kt},self:rI},sI=aI,e0="n-loading-bar",lI="n-loading-bar-api",cI=Q("loading-bar-container",` + `)]),eI=Object.assign(Object.assign({},Pe.props),{inverted:Boolean,position:Yb,bordered:Boolean}),tI=se({name:"LayoutFooter",props:eI,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=lt(e),o=Pe("Layout","-layout-footer",QA,rd,e,t),i=z(()=>{const{common:{cubicBezierEaseInOut:a},self:s}=o.value,l={"--n-bezier":a};return e.inverted?(l["--n-color"]=s.footerColorInverted,l["--n-text-color"]=s.textColorInverted,l["--n-border-color"]=s.footerBorderColorInverted):(l["--n-color"]=s.footerColor,l["--n-text-color"]=s.textColor,l["--n-border-color"]=s.footerBorderColor),l}),r=n?_t("layout-footer",z(()=>e.inverted?"a":"b"),i,e):void 0;return{mergedClsPrefix:t,cssVars:n?void 0:i,themeClass:r==null?void 0:r.themeClass,onRender:r==null?void 0:r.onRender}},render(){var e;const{mergedClsPrefix:t}=this;return(e=this.onRender)===null||e===void 0||e.call(this),T("div",{class:[`${t}-layout-footer`,this.themeClass,this.position&&`${t}-layout-footer--${this.position}-positioned`,this.bordered&&`${t}-layout-footer--bordered`],style:this.cssVars},this.$slots)}}),Qb={extraFontSize:"12px",width:"440px"},nI={name:"Transfer",common:re,peers:{Checkbox:Fi,Scrollbar:Jt,Input:mn,Empty:ni,Button:Qt},self(e){const{iconColorDisabled:t,iconColor:n,fontWeight:o,fontSizeLarge:i,fontSizeMedium:r,fontSizeSmall:a,heightLarge:s,heightMedium:l,heightSmall:c,borderRadius:d,inputColor:u,tableHeaderColor:h,textColor1:m,textColorDisabled:g,textColor2:v,hoverColor:p}=e;return Object.assign(Object.assign({},Qb),{itemHeightSmall:c,itemHeightMedium:l,itemHeightLarge:s,fontSizeSmall:a,fontSizeMedium:r,fontSizeLarge:i,borderRadius:d,borderColor:"#0000",listColor:u,headerColor:h,titleTextColor:m,titleTextColorDisabled:g,extraTextColor:v,filterDividerColor:"#0000",itemTextColor:v,itemTextColorDisabled:g,itemColorPending:p,titleFontWeight:o,iconColor:n,iconColorDisabled:t})}},oI=nI,iI=e=>{const{fontWeight:t,iconColorDisabled:n,iconColor:o,fontSizeLarge:i,fontSizeMedium:r,fontSizeSmall:a,heightLarge:s,heightMedium:l,heightSmall:c,borderRadius:d,cardColor:u,tableHeaderColor:h,textColor1:m,textColorDisabled:g,textColor2:v,borderColor:p,hoverColor:f}=e;return Object.assign(Object.assign({},Qb),{itemHeightSmall:c,itemHeightMedium:l,itemHeightLarge:s,fontSizeSmall:a,fontSizeMedium:r,fontSizeLarge:i,borderRadius:d,borderColor:p,listColor:u,headerColor:he(u,h),titleTextColor:m,titleTextColorDisabled:g,extraTextColor:v,filterDividerColor:p,itemTextColor:v,itemTextColorDisabled:g,itemColorPending:f,titleFontWeight:t,iconColor:o,iconColorDisabled:n})},rI={name:"Transfer",common:ae,peers:{Checkbox:zi,Scrollbar:Vt,Input:sn,Empty:Xn,Button:Kt},self:iI},aI=rI,e0="n-loading-bar",sI="n-loading-bar-api",lI=Q("loading-bar-container",` z-index: 5999; position: fixed; top: 0; @@ -1160,12 +1160,12 @@ ${t} transition: max-width .2s linear, background .2s linear; - `)])]);var ma=globalThis&&globalThis.__awaiter||function(e,t,n,o){function i(r){return r instanceof n?r:new n(function(a){a(r)})}return new(n||(n=Promise))(function(r,a){function s(d){try{c(o.next(d))}catch(u){a(u)}}function l(d){try{c(o.throw(d))}catch(u){a(u)}}function c(d){d.done?r(d.value):i(d.value).then(s,l)}c((o=o.apply(e,t||[])).next())})};function pa(e,t){return`${t}-loading-bar ${t}-loading-bar--${e}`}const dI=se({name:"LoadingBar",props:{containerStyle:[String,Object]},setup(){const{inlineThemeDisabled:e}=lt(),{props:t,mergedClsPrefixRef:n}=Ie(e0),o=j(null),i=j(!1),r=j(!1),a=j(!1),s=j(!1);let l=!1;const c=j(!1),d=z(()=>{const{loadingBarStyle:w}=t;return w?w[c.value?"error":"loading"]:""});function u(){return ma(this,void 0,void 0,function*(){i.value=!1,a.value=!1,l=!1,c.value=!1,s.value=!0,yield jt(),s.value=!1})}function h(w=0,I=80,C="starting"){return ma(this,void 0,void 0,function*(){if(r.value=!0,yield u(),l)return;a.value=!0,yield jt();const S=o.value;S&&(S.style.maxWidth=`${w}%`,S.style.transition="none",S.offsetWidth,S.className=pa(C,n.value),S.style.transition="",S.style.maxWidth=`${I}%`)})}function m(){return ma(this,void 0,void 0,function*(){if(l||c.value)return;r.value&&(yield jt()),l=!0;const w=o.value;w&&(w.className=pa("finishing",n.value),w.style.maxWidth="100%",w.offsetWidth,a.value=!1)})}function g(){if(!(l||c.value))if(!a.value)h(100,100,"error").then(()=>{c.value=!0;const w=o.value;w&&(w.className=pa("error",n.value),w.offsetWidth,a.value=!1)});else{c.value=!0;const w=o.value;if(!w)return;w.className=pa("error",n.value),w.style.maxWidth="100%",w.offsetWidth,a.value=!1}}function v(){i.value=!0}function p(){i.value=!1}function f(){return ma(this,void 0,void 0,function*(){yield u()})}const x=Pe("LoadingBar","-loading-bar",cI,Ab,t,n),A=z(()=>{const{self:{height:w,colorError:I,colorLoading:C}}=x.value;return{"--n-height":w,"--n-color-loading":C,"--n-color-error":I}}),k=e?_t("loading-bar",void 0,A,t):void 0;return{mergedClsPrefix:n,loadingBarRef:o,started:r,loading:a,entering:i,transitionDisabled:s,start:h,error:g,finish:m,handleEnter:v,handleAfterEnter:p,handleAfterLeave:f,mergedLoadingBarStyle:d,cssVars:e?void 0:A,themeClass:k==null?void 0:k.themeClass,onRender:k==null?void 0:k.onRender}},render(){if(!this.started)return null;const{mergedClsPrefix:e}=this;return T(gn,{name:"fade-in-transition",appear:!0,onEnter:this.handleEnter,onAfterEnter:this.handleAfterEnter,onAfterLeave:this.handleAfterLeave,css:!this.transitionDisabled},{default:()=>{var t;return(t=this.onRender)===null||t===void 0||t.call(this),fo(T("div",{class:[`${e}-loading-bar-container`,this.themeClass],style:this.containerStyle},T("div",{ref:"loadingBarRef",class:[`${e}-loading-bar`],style:[this.cssVars,this.mergedLoadingBarStyle]})),[[_i,this.loading||!this.loading&&this.entering]])}})}}),uI=Object.assign(Object.assign({},Pe.props),{to:{type:[String,Object,Boolean],default:void 0},containerStyle:[String,Object],loadingBarStyle:{type:Object}}),hI=se({name:"LoadingBarProvider",props:uI,setup(e){const t=Br(),n=j(null),o={start(){var r;t.value?(r=n.value)===null||r===void 0||r.start():jt(()=>{var a;(a=n.value)===null||a===void 0||a.start()})},error(){var r;t.value?(r=n.value)===null||r===void 0||r.error():jt(()=>{var a;(a=n.value)===null||a===void 0||a.error()})},finish(){var r;t.value?(r=n.value)===null||r===void 0||r.finish():jt(()=>{var a;(a=n.value)===null||a===void 0||a.finish()})}},{mergedClsPrefixRef:i}=lt(e);return We(lI,o),We(e0,{props:e,mergedClsPrefixRef:i}),Object.assign(o,{loadingBarRef:n})},render(){var e,t;return T(He,null,T(es,{disabled:this.to===!1,to:this.to||"body"},T(dI,{ref:"loadingBarRef",containerStyle:this.containerStyle})),(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))}}),t0={icon:Function,type:{type:String,default:"info"},content:[String,Number,Function],showIcon:{type:Boolean,default:!0},closable:Boolean,keepAliveOnHover:Boolean,onClose:Function,onMouseenter:Function,onMouseleave:Function},n0="n-message-api",o0="n-message-provider",fI=N([Q("message-wrapper",` + `)])]);var ma=globalThis&&globalThis.__awaiter||function(e,t,n,o){function i(r){return r instanceof n?r:new n(function(a){a(r)})}return new(n||(n=Promise))(function(r,a){function s(d){try{c(o.next(d))}catch(u){a(u)}}function l(d){try{c(o.throw(d))}catch(u){a(u)}}function c(d){d.done?r(d.value):i(d.value).then(s,l)}c((o=o.apply(e,t||[])).next())})};function pa(e,t){return`${t}-loading-bar ${t}-loading-bar--${e}`}const cI=se({name:"LoadingBar",props:{containerStyle:[String,Object]},setup(){const{inlineThemeDisabled:e}=lt(),{props:t,mergedClsPrefixRef:n}=Ie(e0),o=j(null),i=j(!1),r=j(!1),a=j(!1),s=j(!1);let l=!1;const c=j(!1),d=z(()=>{const{loadingBarStyle:w}=t;return w?w[c.value?"error":"loading"]:""});function u(){return ma(this,void 0,void 0,function*(){i.value=!1,a.value=!1,l=!1,c.value=!1,s.value=!0,yield jt(),s.value=!1})}function h(w=0,I=80,C="starting"){return ma(this,void 0,void 0,function*(){if(r.value=!0,yield u(),l)return;a.value=!0,yield jt();const S=o.value;S&&(S.style.maxWidth=`${w}%`,S.style.transition="none",S.offsetWidth,S.className=pa(C,n.value),S.style.transition="",S.style.maxWidth=`${I}%`)})}function m(){return ma(this,void 0,void 0,function*(){if(l||c.value)return;r.value&&(yield jt()),l=!0;const w=o.value;w&&(w.className=pa("finishing",n.value),w.style.maxWidth="100%",w.offsetWidth,a.value=!1)})}function g(){if(!(l||c.value))if(!a.value)h(100,100,"error").then(()=>{c.value=!0;const w=o.value;w&&(w.className=pa("error",n.value),w.offsetWidth,a.value=!1)});else{c.value=!0;const w=o.value;if(!w)return;w.className=pa("error",n.value),w.style.maxWidth="100%",w.offsetWidth,a.value=!1}}function v(){i.value=!0}function p(){i.value=!1}function f(){return ma(this,void 0,void 0,function*(){yield u()})}const x=Pe("LoadingBar","-loading-bar",lI,Ab,t,n),A=z(()=>{const{self:{height:w,colorError:I,colorLoading:C}}=x.value;return{"--n-height":w,"--n-color-loading":C,"--n-color-error":I}}),k=e?_t("loading-bar",void 0,A,t):void 0;return{mergedClsPrefix:n,loadingBarRef:o,started:r,loading:a,entering:i,transitionDisabled:s,start:h,error:g,finish:m,handleEnter:v,handleAfterEnter:p,handleAfterLeave:f,mergedLoadingBarStyle:d,cssVars:e?void 0:A,themeClass:k==null?void 0:k.themeClass,onRender:k==null?void 0:k.onRender}},render(){if(!this.started)return null;const{mergedClsPrefix:e}=this;return T(gn,{name:"fade-in-transition",appear:!0,onEnter:this.handleEnter,onAfterEnter:this.handleAfterEnter,onAfterLeave:this.handleAfterLeave,css:!this.transitionDisabled},{default:()=>{var t;return(t=this.onRender)===null||t===void 0||t.call(this),fo(T("div",{class:[`${e}-loading-bar-container`,this.themeClass],style:this.containerStyle},T("div",{ref:"loadingBarRef",class:[`${e}-loading-bar`],style:[this.cssVars,this.mergedLoadingBarStyle]})),[[_i,this.loading||!this.loading&&this.entering]])}})}}),dI=Object.assign(Object.assign({},Pe.props),{to:{type:[String,Object,Boolean],default:void 0},containerStyle:[String,Object],loadingBarStyle:{type:Object}}),uI=se({name:"LoadingBarProvider",props:dI,setup(e){const t=Br(),n=j(null),o={start(){var r;t.value?(r=n.value)===null||r===void 0||r.start():jt(()=>{var a;(a=n.value)===null||a===void 0||a.start()})},error(){var r;t.value?(r=n.value)===null||r===void 0||r.error():jt(()=>{var a;(a=n.value)===null||a===void 0||a.error()})},finish(){var r;t.value?(r=n.value)===null||r===void 0||r.finish():jt(()=>{var a;(a=n.value)===null||a===void 0||a.finish()})}},{mergedClsPrefixRef:i}=lt(e);return We(sI,o),We(e0,{props:e,mergedClsPrefixRef:i}),Object.assign(o,{loadingBarRef:n})},render(){var e,t;return T(He,null,T(es,{disabled:this.to===!1,to:this.to||"body"},T(cI,{ref:"loadingBarRef",containerStyle:this.containerStyle})),(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))}}),t0={icon:Function,type:{type:String,default:"info"},content:[String,Number,Function],showIcon:{type:Boolean,default:!0},closable:Boolean,keepAliveOnHover:Boolean,onClose:Function,onMouseenter:Function,onMouseleave:Function},n0="n-message-api",o0="n-message-provider",hI=N([Q("message-wrapper",` margin: var(--n-margin); z-index: 0; transform-origin: top center; display: flex; - `,[S8({overflow:"visible",originalTransition:"transform .3s var(--n-bezier)",enterToProps:{transform:"scale(1)"},leaveToProps:{transform:"scale(0.85)"}})]),Q("message",` + `,[wS({overflow:"visible",originalTransition:"transform .3s var(--n-bezier)",enterToProps:{transform:"scale(1)"},leaveToProps:{transform:"scale(0.85)"}})]),Q("message",` box-sizing: border-box; display: flex; align-items: center; @@ -1253,7 +1253,7 @@ ${t} right: 12px; justify-content: flex-end; align-items: flex-end; - `)])]),gI={info:()=>T(Fa,null),success:()=>T(jc,null),warning:()=>T(Gc,null),error:()=>T(Wc,null),default:()=>null},mI=se({name:"Message",props:Object.assign(Object.assign({},t0),{render:Function}),setup(e){const{inlineThemeDisabled:t,mergedRtlRef:n}=lt(e),{props:o,mergedClsPrefixRef:i}=Ie(o0),r=ti("Message",n,i),a=Pe("Message","-message",fI,_b,o,i),s=z(()=>{const{type:c}=e,{common:{cubicBezierEaseInOut:d},self:{padding:u,margin:h,maxWidth:m,iconMargin:g,closeMargin:v,closeSize:p,iconSize:f,fontSize:x,lineHeight:A,borderRadius:k,iconColorInfo:w,iconColorSuccess:I,iconColorWarning:C,iconColorError:S,iconColorLoading:E,closeIconSize:R,closeBorderRadius:G,[ue("textColor",c)]:M,[ue("boxShadow",c)]:q,[ue("color",c)]:ee,[ue("closeColorHover",c)]:O,[ue("closeColorPressed",c)]:V,[ue("closeIconColor",c)]:W,[ue("closeIconColorPressed",c)]:oe,[ue("closeIconColorHover",c)]:fe}}=a.value;return{"--n-bezier":d,"--n-margin":h,"--n-padding":u,"--n-max-width":m,"--n-font-size":x,"--n-icon-margin":g,"--n-icon-size":f,"--n-close-icon-size":R,"--n-close-border-radius":G,"--n-close-size":p,"--n-close-margin":v,"--n-text-color":M,"--n-color":ee,"--n-box-shadow":q,"--n-icon-color-info":w,"--n-icon-color-success":I,"--n-icon-color-warning":C,"--n-icon-color-error":S,"--n-icon-color-loading":E,"--n-close-color-hover":O,"--n-close-color-pressed":V,"--n-close-icon-color":W,"--n-close-icon-color-pressed":oe,"--n-close-icon-color-hover":fe,"--n-line-height":A,"--n-border-radius":k}}),l=t?_t("message",z(()=>e.type[0]),s,{}):void 0;return{mergedClsPrefix:i,rtlEnabled:r,messageProviderProps:o,handleClose(){var c;(c=e.onClose)===null||c===void 0||c.call(e)},cssVars:t?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender,placement:o.placement}},render(){const{render:e,type:t,closable:n,content:o,mergedClsPrefix:i,cssVars:r,themeClass:a,onRender:s,icon:l,handleClose:c,showIcon:d}=this;s==null||s();let u;return T("div",{class:[`${i}-message-wrapper`,a],onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave,style:[{alignItems:this.placement.startsWith("top")?"flex-start":"flex-end"},r]},e?e(this.$props):T("div",{class:[`${i}-message ${i}-message--${t}-type`,this.rtlEnabled&&`${i}-message--rtl`]},(u=pI(l,t,i))&&d?T("div",{class:`${i}-message__icon ${i}-message__icon--${t}-type`},T(vs,null,{default:()=>u})):null,T("div",{class:`${i}-message__content`},It(o)),n?T(ys,{clsPrefix:i,class:`${i}-message__close`,onClick:c,absolute:!0}):null))}});function pI(e,t,n){if(typeof e=="function")return e();{const o=t==="loading"?T(Vc,{clsPrefix:n,strokeWidth:24,scale:.85}):gI[t]();return o?T(po,{clsPrefix:n,key:t},{default:()=>o}):null}}const bI=se({name:"MessageEnvironment",props:Object.assign(Object.assign({},t0),{duration:{type:Number,default:3e3},onAfterLeave:Function,onLeave:Function,internalKey:{type:String,required:!0},onInternalAfterLeave:Function,onHide:Function,onAfterHide:Function}),setup(e){let t=null;const n=j(!0);Lt(()=>{o()});function o(){const{duration:d}=e;d&&(t=window.setTimeout(a,d))}function i(d){d.currentTarget===d.target&&t!==null&&(window.clearTimeout(t),t=null)}function r(d){d.currentTarget===d.target&&o()}function a(){const{onHide:d}=e;n.value=!1,t&&(window.clearTimeout(t),t=null),d&&d()}function s(){const{onClose:d}=e;d&&d(),a()}function l(){const{onAfterLeave:d,onInternalAfterLeave:u,onAfterHide:h,internalKey:m}=e;d&&d(),u&&u(m),h&&h()}function c(){a()}return{show:n,hide:a,handleClose:s,handleAfterLeave:l,handleMouseleave:r,handleMouseenter:i,deactivate:c}},render(){return T(jm,{appear:!0,onAfterLeave:this.handleAfterLeave,onLeave:this.onLeave},{default:()=>[this.show?T(mI,{content:this.content,type:this.type,icon:this.icon,showIcon:this.showIcon,closable:this.closable,onClose:this.handleClose,onMouseenter:this.keepAliveOnHover?this.handleMouseenter:void 0,onMouseleave:this.keepAliveOnHover?this.handleMouseleave:void 0}):null]})}}),vI=Object.assign(Object.assign({},Pe.props),{to:[String,Object],duration:{type:Number,default:3e3},keepAliveOnHover:Boolean,max:Number,placement:{type:String,default:"top"},closable:Boolean,containerStyle:[String,Object]}),yI=se({name:"MessageProvider",props:vI,setup(e){const{mergedClsPrefixRef:t}=lt(e),n=j([]),o=j({}),i={create(l,c){return r(l,Object.assign({type:"default"},c))},info(l,c){return r(l,Object.assign(Object.assign({},c),{type:"info"}))},success(l,c){return r(l,Object.assign(Object.assign({},c),{type:"success"}))},warning(l,c){return r(l,Object.assign(Object.assign({},c),{type:"warning"}))},error(l,c){return r(l,Object.assign(Object.assign({},c),{type:"error"}))},loading(l,c){return r(l,Object.assign(Object.assign({},c),{type:"loading"}))},destroyAll:s};We(o0,{props:e,mergedClsPrefixRef:t}),We(n0,i);function r(l,c){const d=os(),u=vo(Object.assign(Object.assign({},c),{content:l,key:d,destroy:()=>{var m;(m=o.value[d])===null||m===void 0||m.hide()}})),{max:h}=e;return h&&n.value.length>=h&&n.value.shift(),n.value.push(u),u}function a(l){n.value.splice(n.value.findIndex(c=>c.key===l),1),delete o.value[l]}function s(){Object.values(o.value).forEach(l=>{l.hide()})}return Object.assign({mergedClsPrefix:t,messageRefs:o,messageList:n,handleAfterLeave:a},i)},render(){var e,t,n;return T(He,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),this.messageList.length?T(es,{to:(n=this.to)!==null&&n!==void 0?n:"body"},T("div",{class:[`${this.mergedClsPrefix}-message-container`,`${this.mergedClsPrefix}-message-container--${this.placement}`],key:"message-container",style:this.containerStyle},this.messageList.map(o=>T(bI,Object.assign({ref:i=>{i&&(this.messageRefs[o.key]=i)},internalKey:o.key,onInternalAfterLeave:this.handleAfterLeave},Ac(o,["destroy"],void 0),{duration:o.duration===void 0?this.duration:o.duration,keepAliveOnHover:o.keepAliveOnHover===void 0?this.keepAliveOnHover:o.keepAliveOnHover,closable:o.closable===void 0?this.closable:o.closable}))))):null)}});function xI(){const e=Ie(n0,null);return e===null&&yg("use-message","No outer founded. See prerequisite in https://www.naiveui.com/en-US/os-theme/components/message for more details. If you want to use `useMessage` outside setup, please check https://www.naiveui.com/zh-CN/os-theme/components/message#Q-&-A."),e}const Ps="n-notification-provider",kI=se({name:"NotificationContainer",props:{scrollable:{type:Boolean,required:!0},placement:{type:String,required:!0}},setup(){const{mergedThemeRef:e,mergedClsPrefixRef:t,wipTransitionCountRef:n}=Ie(Ps),o=j(null);return ho(()=>{var i,r;n.value>0?(i=o==null?void 0:o.value)===null||i===void 0||i.classList.add("transitioning"):(r=o==null?void 0:o.value)===null||r===void 0||r.classList.remove("transitioning")}),{selfRef:o,mergedTheme:e,mergedClsPrefix:t,transitioning:n}},render(){const{$slots:e,scrollable:t,mergedClsPrefix:n,mergedTheme:o,placement:i}=this;return T("div",{ref:"selfRef",class:[`${n}-notification-container`,t&&`${n}-notification-container--scrollable`,`${n}-notification-container--${i}`]},t?T(xs,{theme:o.peers.Scrollbar,themeOverrides:o.peerOverrides.Scrollbar,contentStyle:{overflow:"hidden"}},e):e)}}),CI={info:()=>T(Fa,null),success:()=>T(jc,null),warning:()=>T(Gc,null),error:()=>T(Wc,null),default:()=>null},sd={closable:{type:Boolean,default:!0},type:{type:String,default:"default"},avatar:Function,title:[String,Function],description:[String,Function],content:[String,Function],meta:[String,Function],action:[String,Function],onClose:{type:Function,required:!0},keepAliveOnHover:Boolean,onMouseenter:Function,onMouseleave:Function},TI=is(sd),wI=se({name:"Notification",props:sd,setup(e){const{mergedClsPrefixRef:t,mergedThemeRef:n,props:o}=Ie(Ps),{inlineThemeDisabled:i,mergedRtlRef:r}=lt(),a=ti("Notification",r,t),s=z(()=>{const{type:c}=e,{self:{color:d,textColor:u,closeIconColor:h,closeIconColorHover:m,closeIconColorPressed:g,headerTextColor:v,descriptionTextColor:p,actionTextColor:f,borderRadius:x,headerFontWeight:A,boxShadow:k,lineHeight:w,fontSize:I,closeMargin:C,closeSize:S,width:E,padding:R,closeIconSize:G,closeBorderRadius:M,closeColorHover:q,closeColorPressed:ee,titleFontSize:O,metaFontSize:V,descriptionFontSize:W,[ue("iconColor",c)]:oe},common:{cubicBezierEaseOut:fe,cubicBezierEaseIn:we,cubicBezierEaseInOut:De}}=n.value,{left:Le,right:mt,top:ct,bottom:Je}=Pc(R);return{"--n-color":d,"--n-font-size":I,"--n-text-color":u,"--n-description-text-color":p,"--n-action-text-color":f,"--n-title-text-color":v,"--n-title-font-weight":A,"--n-bezier":De,"--n-bezier-ease-out":fe,"--n-bezier-ease-in":we,"--n-border-radius":x,"--n-box-shadow":k,"--n-close-border-radius":M,"--n-close-color-hover":q,"--n-close-color-pressed":ee,"--n-close-icon-color":h,"--n-close-icon-color-hover":m,"--n-close-icon-color-pressed":g,"--n-line-height":w,"--n-icon-color":oe,"--n-close-margin":C,"--n-close-size":S,"--n-close-icon-size":G,"--n-width":E,"--n-padding-left":Le,"--n-padding-right":mt,"--n-padding-top":ct,"--n-padding-bottom":Je,"--n-title-font-size":O,"--n-meta-font-size":V,"--n-description-font-size":W}}),l=i?_t("notification",z(()=>e.type[0]),s,o):void 0;return{mergedClsPrefix:t,showAvatar:z(()=>e.avatar||e.type!=="default"),handleCloseClick(){e.onClose()},rtlEnabled:a,cssVars:i?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender}},render(){var e;const{mergedClsPrefix:t}=this;return(e=this.onRender)===null||e===void 0||e.call(this),T("div",{class:[`${t}-notification-wrapper`,this.themeClass],onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave,style:this.cssVars},T("div",{class:[`${t}-notification`,this.rtlEnabled&&`${t}-notification--rtl`,this.themeClass,{[`${t}-notification--closable`]:this.closable,[`${t}-notification--show-avatar`]:this.showAvatar}],style:this.cssVars},this.showAvatar?T("div",{class:`${t}-notification__avatar`},this.avatar?It(this.avatar):this.type!=="default"?T(po,{clsPrefix:t},{default:()=>CI[this.type]()}):null):null,this.closable?T(ys,{clsPrefix:t,class:`${t}-notification__close`,onClick:this.handleCloseClick}):null,T("div",{ref:"bodyRef",class:`${t}-notification-main`},this.title?T("div",{class:`${t}-notification-main__header`},It(this.title)):null,this.description?T("div",{class:`${t}-notification-main__description`},It(this.description)):null,this.content?T("pre",{class:`${t}-notification-main__content`},It(this.content)):null,this.meta||this.action?T("div",{class:`${t}-notification-main-footer`},this.meta?T("div",{class:`${t}-notification-main-footer__meta`},It(this.meta)):null,this.action?T("div",{class:`${t}-notification-main-footer__action`},It(this.action)):null):null)))}}),SI=Object.assign(Object.assign({},sd),{duration:Number,onClose:Function,onLeave:Function,onAfterEnter:Function,onAfterLeave:Function,onHide:Function,onAfterShow:Function,onAfterHide:Function}),_I=se({name:"NotificationEnvironment",props:Object.assign(Object.assign({},SI),{internalKey:{type:String,required:!0},onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const{wipTransitionCountRef:t}=Ie(Ps),n=j(!0);let o=null;function i(){n.value=!1,o&&window.clearTimeout(o)}function r(g){t.value++,jt(()=>{g.style.height=`${g.offsetHeight}px`,g.style.maxHeight="0",g.style.transition="none",g.offsetHeight,g.style.transition="",g.style.maxHeight=g.style.height})}function a(g){t.value--,g.style.height="",g.style.maxHeight="";const{onAfterEnter:v,onAfterShow:p}=e;v&&v(),p&&p()}function s(g){t.value++,g.style.maxHeight=`${g.offsetHeight}px`,g.style.height=`${g.offsetHeight}px`,g.offsetHeight}function l(g){const{onHide:v}=e;v&&v(),g.style.maxHeight="0",g.offsetHeight}function c(){t.value--;const{onAfterLeave:g,onInternalAfterLeave:v,onAfterHide:p,internalKey:f}=e;g&&g(),v(f),p&&p()}function d(){const{duration:g}=e;g&&(o=window.setTimeout(i,g))}function u(g){g.currentTarget===g.target&&o!==null&&(window.clearTimeout(o),o=null)}function h(g){g.currentTarget===g.target&&d()}function m(){const{onClose:g}=e;g?Promise.resolve(g()).then(v=>{v!==!1&&i()}):i()}return Lt(()=>{e.duration&&(o=window.setTimeout(i,e.duration))}),{show:n,hide:i,handleClose:m,handleAfterLeave:c,handleLeave:l,handleBeforeLeave:s,handleAfterEnter:a,handleBeforeEnter:r,handleMouseenter:u,handleMouseleave:h}},render(){return T(gn,{name:"notification-transition",appear:!0,onBeforeEnter:this.handleBeforeEnter,onAfterEnter:this.handleAfterEnter,onBeforeLeave:this.handleBeforeLeave,onLeave:this.handleLeave,onAfterLeave:this.handleAfterLeave},{default:()=>this.show?T(wI,Object.assign({},qo(this.$props,TI),{onClose:this.handleClose,onMouseenter:this.duration&&this.keepAliveOnHover?this.handleMouseenter:void 0,onMouseleave:this.duration&&this.keepAliveOnHover?this.handleMouseleave:void 0})):null})}}),PI=N([Q("notification-container",` + `)])]),fI={info:()=>T(Fa,null),success:()=>T(jc,null),warning:()=>T(Gc,null),error:()=>T(Wc,null),default:()=>null},gI=se({name:"Message",props:Object.assign(Object.assign({},t0),{render:Function}),setup(e){const{inlineThemeDisabled:t,mergedRtlRef:n}=lt(e),{props:o,mergedClsPrefixRef:i}=Ie(o0),r=ti("Message",n,i),a=Pe("Message","-message",hI,_b,o,i),s=z(()=>{const{type:c}=e,{common:{cubicBezierEaseInOut:d},self:{padding:u,margin:h,maxWidth:m,iconMargin:g,closeMargin:v,closeSize:p,iconSize:f,fontSize:x,lineHeight:A,borderRadius:k,iconColorInfo:w,iconColorSuccess:I,iconColorWarning:C,iconColorError:S,iconColorLoading:E,closeIconSize:R,closeBorderRadius:G,[ue("textColor",c)]:M,[ue("boxShadow",c)]:q,[ue("color",c)]:ee,[ue("closeColorHover",c)]:O,[ue("closeColorPressed",c)]:V,[ue("closeIconColor",c)]:W,[ue("closeIconColorPressed",c)]:oe,[ue("closeIconColorHover",c)]:fe}}=a.value;return{"--n-bezier":d,"--n-margin":h,"--n-padding":u,"--n-max-width":m,"--n-font-size":x,"--n-icon-margin":g,"--n-icon-size":f,"--n-close-icon-size":R,"--n-close-border-radius":G,"--n-close-size":p,"--n-close-margin":v,"--n-text-color":M,"--n-color":ee,"--n-box-shadow":q,"--n-icon-color-info":w,"--n-icon-color-success":I,"--n-icon-color-warning":C,"--n-icon-color-error":S,"--n-icon-color-loading":E,"--n-close-color-hover":O,"--n-close-color-pressed":V,"--n-close-icon-color":W,"--n-close-icon-color-pressed":oe,"--n-close-icon-color-hover":fe,"--n-line-height":A,"--n-border-radius":k}}),l=t?_t("message",z(()=>e.type[0]),s,{}):void 0;return{mergedClsPrefix:i,rtlEnabled:r,messageProviderProps:o,handleClose(){var c;(c=e.onClose)===null||c===void 0||c.call(e)},cssVars:t?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender,placement:o.placement}},render(){const{render:e,type:t,closable:n,content:o,mergedClsPrefix:i,cssVars:r,themeClass:a,onRender:s,icon:l,handleClose:c,showIcon:d}=this;s==null||s();let u;return T("div",{class:[`${i}-message-wrapper`,a],onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave,style:[{alignItems:this.placement.startsWith("top")?"flex-start":"flex-end"},r]},e?e(this.$props):T("div",{class:[`${i}-message ${i}-message--${t}-type`,this.rtlEnabled&&`${i}-message--rtl`]},(u=mI(l,t,i))&&d?T("div",{class:`${i}-message__icon ${i}-message__icon--${t}-type`},T(vs,null,{default:()=>u})):null,T("div",{class:`${i}-message__content`},It(o)),n?T(ys,{clsPrefix:i,class:`${i}-message__close`,onClick:c,absolute:!0}):null))}});function mI(e,t,n){if(typeof e=="function")return e();{const o=t==="loading"?T(Vc,{clsPrefix:n,strokeWidth:24,scale:.85}):fI[t]();return o?T(po,{clsPrefix:n,key:t},{default:()=>o}):null}}const pI=se({name:"MessageEnvironment",props:Object.assign(Object.assign({},t0),{duration:{type:Number,default:3e3},onAfterLeave:Function,onLeave:Function,internalKey:{type:String,required:!0},onInternalAfterLeave:Function,onHide:Function,onAfterHide:Function}),setup(e){let t=null;const n=j(!0);Lt(()=>{o()});function o(){const{duration:d}=e;d&&(t=window.setTimeout(a,d))}function i(d){d.currentTarget===d.target&&t!==null&&(window.clearTimeout(t),t=null)}function r(d){d.currentTarget===d.target&&o()}function a(){const{onHide:d}=e;n.value=!1,t&&(window.clearTimeout(t),t=null),d&&d()}function s(){const{onClose:d}=e;d&&d(),a()}function l(){const{onAfterLeave:d,onInternalAfterLeave:u,onAfterHide:h,internalKey:m}=e;d&&d(),u&&u(m),h&&h()}function c(){a()}return{show:n,hide:a,handleClose:s,handleAfterLeave:l,handleMouseleave:r,handleMouseenter:i,deactivate:c}},render(){return T(jm,{appear:!0,onAfterLeave:this.handleAfterLeave,onLeave:this.onLeave},{default:()=>[this.show?T(gI,{content:this.content,type:this.type,icon:this.icon,showIcon:this.showIcon,closable:this.closable,onClose:this.handleClose,onMouseenter:this.keepAliveOnHover?this.handleMouseenter:void 0,onMouseleave:this.keepAliveOnHover?this.handleMouseleave:void 0}):null]})}}),bI=Object.assign(Object.assign({},Pe.props),{to:[String,Object],duration:{type:Number,default:3e3},keepAliveOnHover:Boolean,max:Number,placement:{type:String,default:"top"},closable:Boolean,containerStyle:[String,Object]}),vI=se({name:"MessageProvider",props:bI,setup(e){const{mergedClsPrefixRef:t}=lt(e),n=j([]),o=j({}),i={create(l,c){return r(l,Object.assign({type:"default"},c))},info(l,c){return r(l,Object.assign(Object.assign({},c),{type:"info"}))},success(l,c){return r(l,Object.assign(Object.assign({},c),{type:"success"}))},warning(l,c){return r(l,Object.assign(Object.assign({},c),{type:"warning"}))},error(l,c){return r(l,Object.assign(Object.assign({},c),{type:"error"}))},loading(l,c){return r(l,Object.assign(Object.assign({},c),{type:"loading"}))},destroyAll:s};We(o0,{props:e,mergedClsPrefixRef:t}),We(n0,i);function r(l,c){const d=os(),u=vo(Object.assign(Object.assign({},c),{content:l,key:d,destroy:()=>{var m;(m=o.value[d])===null||m===void 0||m.hide()}})),{max:h}=e;return h&&n.value.length>=h&&n.value.shift(),n.value.push(u),u}function a(l){n.value.splice(n.value.findIndex(c=>c.key===l),1),delete o.value[l]}function s(){Object.values(o.value).forEach(l=>{l.hide()})}return Object.assign({mergedClsPrefix:t,messageRefs:o,messageList:n,handleAfterLeave:a},i)},render(){var e,t,n;return T(He,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),this.messageList.length?T(es,{to:(n=this.to)!==null&&n!==void 0?n:"body"},T("div",{class:[`${this.mergedClsPrefix}-message-container`,`${this.mergedClsPrefix}-message-container--${this.placement}`],key:"message-container",style:this.containerStyle},this.messageList.map(o=>T(pI,Object.assign({ref:i=>{i&&(this.messageRefs[o.key]=i)},internalKey:o.key,onInternalAfterLeave:this.handleAfterLeave},Ac(o,["destroy"],void 0),{duration:o.duration===void 0?this.duration:o.duration,keepAliveOnHover:o.keepAliveOnHover===void 0?this.keepAliveOnHover:o.keepAliveOnHover,closable:o.closable===void 0?this.closable:o.closable}))))):null)}});function yI(){const e=Ie(n0,null);return e===null&&yg("use-message","No outer founded. See prerequisite in https://www.naiveui.com/en-US/os-theme/components/message for more details. If you want to use `useMessage` outside setup, please check https://www.naiveui.com/zh-CN/os-theme/components/message#Q-&-A."),e}const Ps="n-notification-provider",xI=se({name:"NotificationContainer",props:{scrollable:{type:Boolean,required:!0},placement:{type:String,required:!0}},setup(){const{mergedThemeRef:e,mergedClsPrefixRef:t,wipTransitionCountRef:n}=Ie(Ps),o=j(null);return ho(()=>{var i,r;n.value>0?(i=o==null?void 0:o.value)===null||i===void 0||i.classList.add("transitioning"):(r=o==null?void 0:o.value)===null||r===void 0||r.classList.remove("transitioning")}),{selfRef:o,mergedTheme:e,mergedClsPrefix:t,transitioning:n}},render(){const{$slots:e,scrollable:t,mergedClsPrefix:n,mergedTheme:o,placement:i}=this;return T("div",{ref:"selfRef",class:[`${n}-notification-container`,t&&`${n}-notification-container--scrollable`,`${n}-notification-container--${i}`]},t?T(xs,{theme:o.peers.Scrollbar,themeOverrides:o.peerOverrides.Scrollbar,contentStyle:{overflow:"hidden"}},e):e)}}),kI={info:()=>T(Fa,null),success:()=>T(jc,null),warning:()=>T(Gc,null),error:()=>T(Wc,null),default:()=>null},sd={closable:{type:Boolean,default:!0},type:{type:String,default:"default"},avatar:Function,title:[String,Function],description:[String,Function],content:[String,Function],meta:[String,Function],action:[String,Function],onClose:{type:Function,required:!0},keepAliveOnHover:Boolean,onMouseenter:Function,onMouseleave:Function},CI=is(sd),TI=se({name:"Notification",props:sd,setup(e){const{mergedClsPrefixRef:t,mergedThemeRef:n,props:o}=Ie(Ps),{inlineThemeDisabled:i,mergedRtlRef:r}=lt(),a=ti("Notification",r,t),s=z(()=>{const{type:c}=e,{self:{color:d,textColor:u,closeIconColor:h,closeIconColorHover:m,closeIconColorPressed:g,headerTextColor:v,descriptionTextColor:p,actionTextColor:f,borderRadius:x,headerFontWeight:A,boxShadow:k,lineHeight:w,fontSize:I,closeMargin:C,closeSize:S,width:E,padding:R,closeIconSize:G,closeBorderRadius:M,closeColorHover:q,closeColorPressed:ee,titleFontSize:O,metaFontSize:V,descriptionFontSize:W,[ue("iconColor",c)]:oe},common:{cubicBezierEaseOut:fe,cubicBezierEaseIn:we,cubicBezierEaseInOut:De}}=n.value,{left:Le,right:mt,top:ct,bottom:Je}=Pc(R);return{"--n-color":d,"--n-font-size":I,"--n-text-color":u,"--n-description-text-color":p,"--n-action-text-color":f,"--n-title-text-color":v,"--n-title-font-weight":A,"--n-bezier":De,"--n-bezier-ease-out":fe,"--n-bezier-ease-in":we,"--n-border-radius":x,"--n-box-shadow":k,"--n-close-border-radius":M,"--n-close-color-hover":q,"--n-close-color-pressed":ee,"--n-close-icon-color":h,"--n-close-icon-color-hover":m,"--n-close-icon-color-pressed":g,"--n-line-height":w,"--n-icon-color":oe,"--n-close-margin":C,"--n-close-size":S,"--n-close-icon-size":G,"--n-width":E,"--n-padding-left":Le,"--n-padding-right":mt,"--n-padding-top":ct,"--n-padding-bottom":Je,"--n-title-font-size":O,"--n-meta-font-size":V,"--n-description-font-size":W}}),l=i?_t("notification",z(()=>e.type[0]),s,o):void 0;return{mergedClsPrefix:t,showAvatar:z(()=>e.avatar||e.type!=="default"),handleCloseClick(){e.onClose()},rtlEnabled:a,cssVars:i?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender}},render(){var e;const{mergedClsPrefix:t}=this;return(e=this.onRender)===null||e===void 0||e.call(this),T("div",{class:[`${t}-notification-wrapper`,this.themeClass],onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave,style:this.cssVars},T("div",{class:[`${t}-notification`,this.rtlEnabled&&`${t}-notification--rtl`,this.themeClass,{[`${t}-notification--closable`]:this.closable,[`${t}-notification--show-avatar`]:this.showAvatar}],style:this.cssVars},this.showAvatar?T("div",{class:`${t}-notification__avatar`},this.avatar?It(this.avatar):this.type!=="default"?T(po,{clsPrefix:t},{default:()=>kI[this.type]()}):null):null,this.closable?T(ys,{clsPrefix:t,class:`${t}-notification__close`,onClick:this.handleCloseClick}):null,T("div",{ref:"bodyRef",class:`${t}-notification-main`},this.title?T("div",{class:`${t}-notification-main__header`},It(this.title)):null,this.description?T("div",{class:`${t}-notification-main__description`},It(this.description)):null,this.content?T("pre",{class:`${t}-notification-main__content`},It(this.content)):null,this.meta||this.action?T("div",{class:`${t}-notification-main-footer`},this.meta?T("div",{class:`${t}-notification-main-footer__meta`},It(this.meta)):null,this.action?T("div",{class:`${t}-notification-main-footer__action`},It(this.action)):null):null)))}}),wI=Object.assign(Object.assign({},sd),{duration:Number,onClose:Function,onLeave:Function,onAfterEnter:Function,onAfterLeave:Function,onHide:Function,onAfterShow:Function,onAfterHide:Function}),SI=se({name:"NotificationEnvironment",props:Object.assign(Object.assign({},wI),{internalKey:{type:String,required:!0},onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const{wipTransitionCountRef:t}=Ie(Ps),n=j(!0);let o=null;function i(){n.value=!1,o&&window.clearTimeout(o)}function r(g){t.value++,jt(()=>{g.style.height=`${g.offsetHeight}px`,g.style.maxHeight="0",g.style.transition="none",g.offsetHeight,g.style.transition="",g.style.maxHeight=g.style.height})}function a(g){t.value--,g.style.height="",g.style.maxHeight="";const{onAfterEnter:v,onAfterShow:p}=e;v&&v(),p&&p()}function s(g){t.value++,g.style.maxHeight=`${g.offsetHeight}px`,g.style.height=`${g.offsetHeight}px`,g.offsetHeight}function l(g){const{onHide:v}=e;v&&v(),g.style.maxHeight="0",g.offsetHeight}function c(){t.value--;const{onAfterLeave:g,onInternalAfterLeave:v,onAfterHide:p,internalKey:f}=e;g&&g(),v(f),p&&p()}function d(){const{duration:g}=e;g&&(o=window.setTimeout(i,g))}function u(g){g.currentTarget===g.target&&o!==null&&(window.clearTimeout(o),o=null)}function h(g){g.currentTarget===g.target&&d()}function m(){const{onClose:g}=e;g?Promise.resolve(g()).then(v=>{v!==!1&&i()}):i()}return Lt(()=>{e.duration&&(o=window.setTimeout(i,e.duration))}),{show:n,hide:i,handleClose:m,handleAfterLeave:c,handleLeave:l,handleBeforeLeave:s,handleAfterEnter:a,handleBeforeEnter:r,handleMouseenter:u,handleMouseleave:h}},render(){return T(gn,{name:"notification-transition",appear:!0,onBeforeEnter:this.handleBeforeEnter,onAfterEnter:this.handleAfterEnter,onBeforeLeave:this.handleBeforeLeave,onLeave:this.handleLeave,onAfterLeave:this.handleAfterLeave},{default:()=>this.show?T(TI,Object.assign({},qo(this.$props,CI),{onClose:this.handleClose,onMouseenter:this.duration&&this.keepAliveOnHover?this.handleMouseenter:void 0,onMouseleave:this.duration&&this.keepAliveOnHover?this.handleMouseleave:void 0})):null})}}),_I=N([Q("notification-container",` z-index: 4000; position: fixed; overflow: visible; @@ -1435,7 +1435,7 @@ ${t} transform: translate(${n}, 0); `),N("&.notification-transition-leave-from, &.notification-transition-enter-to",` transform: translate(${o}, 0); - `)])}const AI="n-notification-api",II=Object.assign(Object.assign({},Pe.props),{containerStyle:[String,Object],to:[String,Object],scrollable:{type:Boolean,default:!0},max:Number,placement:{type:String,default:"top-right"},keepAliveOnHover:Boolean}),EI=se({name:"NotificationProvider",props:II,setup(e){const{mergedClsPrefixRef:t}=lt(e),n=j([]),o={},i=new Set;function r(m){const g=os(),v=()=>{i.add(g),o[g]&&o[g].hide()},p=vo(Object.assign(Object.assign({},m),{key:g,destroy:v,hide:v,deactivate:v})),{max:f}=e;if(f&&n.value.length-i.size>=f){let x=!1,A=0;for(const k of n.value){if(!i.has(k.key)){o[k.key]&&(k.destroy(),x=!0);break}A++}x||n.value.splice(A,1)}return n.value.push(p),p}const a=["info","success","warning","error"].map(m=>g=>r(Object.assign(Object.assign({},g),{type:m})));function s(m){i.delete(m),n.value.splice(n.value.findIndex(g=>g.key===m),1)}const l=Pe("Notification","-notification",PI,wb,e,t),c={create:r,info:a[0],success:a[1],warning:a[2],error:a[3],open:u,destroyAll:h},d=j(0);We(AI,c),We(Ps,{props:e,mergedClsPrefixRef:t,mergedThemeRef:l,wipTransitionCountRef:d});function u(m){return r(m)}function h(){Object.values(n.value).forEach(m=>{m.hide()})}return Object.assign({mergedClsPrefix:t,notificationList:n,notificationRefs:o,handleAfterLeave:s},c)},render(){var e,t,n;const{placement:o}=this;return T(He,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),this.notificationList.length?T(es,{to:(n=this.to)!==null&&n!==void 0?n:"body"},T(kI,{style:this.containerStyle,scrollable:this.scrollable&&o!=="top"&&o!=="bottom",placement:o},{default:()=>this.notificationList.map(i=>T(_I,Object.assign({ref:r=>{const a=i.key;r===null?delete this.notificationRefs[a]:this.notificationRefs[a]=r}},Ac(i,["destroy","hide","deactivate"]),{internalKey:i.key,onInternalAfterLeave:this.handleAfterLeave,keepAliveOnHover:i.keepAliveOnHover===void 0?this.keepAliveOnHover:i.keepAliveOnHover})))})):null)}}),RI={name:"Skeleton",common:re,self(e){const{heightSmall:t,heightMedium:n,heightLarge:o,borderRadius:i}=e;return{color:"rgba(255, 255, 255, 0.12)",colorEnd:"rgba(255, 255, 255, 0.18)",borderRadius:i,heightSmall:t,heightMedium:n,heightLarge:o}}},MI=e=>{const{heightSmall:t,heightMedium:n,heightLarge:o,borderRadius:i}=e;return{color:"#eee",colorEnd:"#ddd",borderRadius:i,heightSmall:t,heightMedium:n,heightLarge:o}},DI={name:"Skeleton",common:ae,self:MI},LI=Q("h",` + `)])}const PI="n-notification-api",AI=Object.assign(Object.assign({},Pe.props),{containerStyle:[String,Object],to:[String,Object],scrollable:{type:Boolean,default:!0},max:Number,placement:{type:String,default:"top-right"},keepAliveOnHover:Boolean}),II=se({name:"NotificationProvider",props:AI,setup(e){const{mergedClsPrefixRef:t}=lt(e),n=j([]),o={},i=new Set;function r(m){const g=os(),v=()=>{i.add(g),o[g]&&o[g].hide()},p=vo(Object.assign(Object.assign({},m),{key:g,destroy:v,hide:v,deactivate:v})),{max:f}=e;if(f&&n.value.length-i.size>=f){let x=!1,A=0;for(const k of n.value){if(!i.has(k.key)){o[k.key]&&(k.destroy(),x=!0);break}A++}x||n.value.splice(A,1)}return n.value.push(p),p}const a=["info","success","warning","error"].map(m=>g=>r(Object.assign(Object.assign({},g),{type:m})));function s(m){i.delete(m),n.value.splice(n.value.findIndex(g=>g.key===m),1)}const l=Pe("Notification","-notification",_I,wb,e,t),c={create:r,info:a[0],success:a[1],warning:a[2],error:a[3],open:u,destroyAll:h},d=j(0);We(PI,c),We(Ps,{props:e,mergedClsPrefixRef:t,mergedThemeRef:l,wipTransitionCountRef:d});function u(m){return r(m)}function h(){Object.values(n.value).forEach(m=>{m.hide()})}return Object.assign({mergedClsPrefix:t,notificationList:n,notificationRefs:o,handleAfterLeave:s},c)},render(){var e,t,n;const{placement:o}=this;return T(He,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),this.notificationList.length?T(es,{to:(n=this.to)!==null&&n!==void 0?n:"body"},T(xI,{style:this.containerStyle,scrollable:this.scrollable&&o!=="top"&&o!=="bottom",placement:o},{default:()=>this.notificationList.map(i=>T(SI,Object.assign({ref:r=>{const a=i.key;r===null?delete this.notificationRefs[a]:this.notificationRefs[a]=r}},Ac(i,["destroy","hide","deactivate"]),{internalKey:i.key,onInternalAfterLeave:this.handleAfterLeave,keepAliveOnHover:i.keepAliveOnHover===void 0?this.keepAliveOnHover:i.keepAliveOnHover})))})):null)}}),EI={name:"Skeleton",common:re,self(e){const{heightSmall:t,heightMedium:n,heightLarge:o,borderRadius:i}=e;return{color:"rgba(255, 255, 255, 0.12)",colorEnd:"rgba(255, 255, 255, 0.18)",borderRadius:i,heightSmall:t,heightMedium:n,heightLarge:o}}},RI=e=>{const{heightSmall:t,heightMedium:n,heightLarge:o,borderRadius:i}=e;return{color:"#eee",colorEnd:"#ddd",borderRadius:i,heightSmall:t,heightMedium:n,heightLarge:o}},MI={name:"Skeleton",common:ae,self:RI},DI=Q("h",` font-size: var(--n-font-size); font-weight: var(--n-font-weight); margin: var(--n-margin); @@ -1450,7 +1450,7 @@ ${t} top: 0; bottom: 0; position: absolute; - `),N("&::before",{backgroundColor:"var(--n-bar-color)"})])]),$I=Object.assign(Object.assign({},Pe.props),{type:{type:String,default:"default"},prefix:String,alignText:Boolean}),Wi=e=>se({name:`H${e}`,props:$I,setup(t){const{mergedClsPrefixRef:n,inlineThemeDisabled:o}=lt(t),i=Pe("Typography","-h",LI,ad,t,n),r=z(()=>{const{type:s}=t,{common:{cubicBezierEaseInOut:l},self:{headerFontWeight:c,headerTextColor:d,[ue("headerPrefixWidth",e)]:u,[ue("headerFontSize",e)]:h,[ue("headerMargin",e)]:m,[ue("headerBarWidth",e)]:g,[ue("headerBarColor",s)]:v}}=i.value;return{"--n-bezier":l,"--n-font-size":h,"--n-margin":m,"--n-bar-color":v,"--n-bar-width":g,"--n-font-weight":c,"--n-text-color":d,"--n-prefix-width":u}}),a=o?_t(`h${e}`,z(()=>t.type[0]),r,t):void 0;return{mergedClsPrefix:n,cssVars:o?void 0:r,themeClass:a==null?void 0:a.themeClass,onRender:a==null?void 0:a.onRender}},render(){var t;const{prefix:n,alignText:o,mergedClsPrefix:i,cssVars:r,$slots:a}=this;return(t=this.onRender)===null||t===void 0||t.call(this),T(`h${e}`,{class:[`${i}-h`,`${i}-h${e}`,this.themeClass,{[`${i}-h--prefix-bar`]:n,[`${i}-h--align-text`]:o}],style:r},a)}}),OI=Wi("1"),HI=Wi("2");Wi("3");Wi("4");Wi("5");Wi("6");const BI=Q("text",` + `),N("&::before",{backgroundColor:"var(--n-bar-color)"})])]),LI=Object.assign(Object.assign({},Pe.props),{type:{type:String,default:"default"},prefix:String,alignText:Boolean}),Wi=e=>se({name:`H${e}`,props:LI,setup(t){const{mergedClsPrefixRef:n,inlineThemeDisabled:o}=lt(t),i=Pe("Typography","-h",DI,ad,t,n),r=z(()=>{const{type:s}=t,{common:{cubicBezierEaseInOut:l},self:{headerFontWeight:c,headerTextColor:d,[ue("headerPrefixWidth",e)]:u,[ue("headerFontSize",e)]:h,[ue("headerMargin",e)]:m,[ue("headerBarWidth",e)]:g,[ue("headerBarColor",s)]:v}}=i.value;return{"--n-bezier":l,"--n-font-size":h,"--n-margin":m,"--n-bar-color":v,"--n-bar-width":g,"--n-font-weight":c,"--n-text-color":d,"--n-prefix-width":u}}),a=o?_t(`h${e}`,z(()=>t.type[0]),r,t):void 0;return{mergedClsPrefix:n,cssVars:o?void 0:r,themeClass:a==null?void 0:a.themeClass,onRender:a==null?void 0:a.onRender}},render(){var t;const{prefix:n,alignText:o,mergedClsPrefix:i,cssVars:r,$slots:a}=this;return(t=this.onRender)===null||t===void 0||t.call(this),T(`h${e}`,{class:[`${i}-h`,`${i}-h${e}`,this.themeClass,{[`${i}-h--prefix-bar`]:n,[`${i}-h--align-text`]:o}],style:r},a)}}),$I=Wi("1"),OI=Wi("2");Wi("3");Wi("4");Wi("5");Wi("6");const HI=Q("text",` transition: color .3s var(--n-bezier); color: var(--n-text-color); `,[Y("strong",` @@ -1470,29 +1470,29 @@ ${t} color: var(--n-code-text-color); background-color: var(--n-code-color); border: var(--n-code-border); - `)]),NI=Object.assign(Object.assign({},Pe.props),{code:Boolean,type:{type:String,default:"default"},delete:Boolean,strong:Boolean,italic:Boolean,underline:Boolean,depth:[String,Number],tag:String,as:{type:String,validator:()=>!0,default:void 0}}),zl=se({name:"Text",props:NI,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=lt(e),o=Pe("Typography","-text",BI,ad,e,t),i=z(()=>{const{depth:a,type:s}=e,l=s==="default"?a===void 0?"textColor":`textColor${a}Depth`:ue("textColor",s),{common:{fontWeightStrong:c,fontFamilyMono:d,cubicBezierEaseInOut:u},self:{codeTextColor:h,codeBorderRadius:m,codeColor:g,codeBorder:v,[l]:p}}=o.value;return{"--n-bezier":u,"--n-text-color":p,"--n-font-weight-strong":c,"--n-font-famliy-mono":d,"--n-code-border-radius":m,"--n-code-text-color":h,"--n-code-color":g,"--n-code-border":v}}),r=n?_t("text",z(()=>`${e.type[0]}${e.depth||""}`),i,e):void 0;return{mergedClsPrefix:t,compitableTag:Mg(e,["as","tag"]),cssVars:n?void 0:i,themeClass:r==null?void 0:r.themeClass,onRender:r==null?void 0:r.onRender}},render(){var e,t,n;const{mergedClsPrefix:o}=this;(e=this.onRender)===null||e===void 0||e.call(this);const i=[`${o}-text`,this.themeClass,{[`${o}-text--code`]:this.code,[`${o}-text--delete`]:this.delete,[`${o}-text--strong`]:this.strong,[`${o}-text--italic`]:this.italic,[`${o}-text--underline`]:this.underline}],r=(n=(t=this.$slots).default)===null||n===void 0?void 0:n.call(t);return this.code?T("code",{class:i,style:this.cssVars},this.delete?T("del",null,r):r):this.delete?T("del",{class:i,style:this.cssVars},r):T(this.compitableTag||"span",{class:i,style:this.cssVars},r)}}),i0=()=>({}),zI={name:"Equation",common:ae,self:i0},FI=zI,WI={name:"Equation",common:re,self:i0},jI=WI,GI={name:"dark",common:re,Alert:y8,Anchor:E8,AutoComplete:G8,Avatar:mp,AvatarGroup:Z8,BackTop:J8,Badge:oS,Breadcrumb:uS,Button:Qt,ButtonGroup:R_,Calendar:TS,Card:Tp,Carousel:BS,Cascader:VS,Checkbox:Fi,Code:Pp,Collapse:JS,CollapseTransition:n9,ColorPicker:PS,DataTable:A9,DatePicker:n7,Descriptions:s7,Dialog:ib,Divider:I7,Drawer:O7,Dropdown:Qc,DynamicInput:B7,DynamicTags:q7,Element:J7,Empty:ni,Ellipsis:zp,Equation:jI,Form:r_,GradientText:c_,Icon:O9,IconWrapper:y_,Image:qA,Input:mn,InputNumber:$_,LegacyTransfer:iI,Layout:z_,List:K_,LoadingBar:q_,Log:J_,Menu:uP,Mention:oP,Message:I_,Modal:b7,Notification:S_,PageHeader:gP,Pagination:Bp,Popconfirm:yP,Popover:oi,Popselect:Rp,Progress:Lb,Radio:Wp,Rate:TP,Result:RP,Row:UA,Scrollbar:Jt,Select:$p,Skeleton:RI,Slider:DP,Space:mb,Spin:zP,Statistic:GP,Steps:XP,Switch:YP,Table:rA,Tabs:dA,Tag:ip,Thing:gA,TimePicker:eb,Timeline:pA,Tooltip:Ts,Transfer:kA,Tree:qb,TreeSelect:AA,Typography:$A,Upload:NA,Watermark:FA},VI={name:"light",common:ae,Alert:C8,Anchor:A8,AutoComplete:W8,Avatar:gp,AvatarGroup:q8,BackTop:tS,Badge:aS,Breadcrumb:cS,Button:Kt,ButtonGroup:D_,Calendar:kS,Card:Zc,Carousel:OS,Cascader:jS,Checkbox:zi,Code:Ap,Collapse:ZS,CollapseTransition:e9,ColorPicker:SS,DataTable:_9,DatePicker:e7,Descriptions:r7,Dialog:nd,Divider:ub,Drawer:L7,Dropdown:ws,DynamicInput:F7,DynamicTags:Z7,Element:bb,Empty:Xn,Equation:FI,Ellipsis:Jc,Form:o_,GradientText:h_,Icon:qp,IconWrapper:b_,Image:k_,Input:sn,InputNumber:B_,Layout:rd,LegacyTransfer:sI,List:G_,LoadingBar:Ab,Log:tP,Menu:cP,Mention:aP,Message:_b,Modal:cb,Notification:wb,PageHeader:fP,Pagination:Hp,Popconfirm:bP,Popover:xo,Popselect:Mp,Progress:Db,Radio:jp,Rate:_P,Row:VA,Result:IP,Scrollbar:Vt,Skeleton:DI,Select:Lp,Slider:OP,Space:id,Spin:BP,Statistic:WP,Steps:UP,Switch:eA,Table:oA,Tabs:lA,Tag:rp,Thing:hA,TimePicker:Qp,Timeline:yA,Tooltip:Gr,Transfer:wA,Tree:Ub,TreeSelect:RA,Typography:ad,Upload:HA,Watermark:jA};var KI=!1;/*! + `)]),BI=Object.assign(Object.assign({},Pe.props),{code:Boolean,type:{type:String,default:"default"},delete:Boolean,strong:Boolean,italic:Boolean,underline:Boolean,depth:[String,Number],tag:String,as:{type:String,validator:()=>!0,default:void 0}}),zl=se({name:"Text",props:BI,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=lt(e),o=Pe("Typography","-text",HI,ad,e,t),i=z(()=>{const{depth:a,type:s}=e,l=s==="default"?a===void 0?"textColor":`textColor${a}Depth`:ue("textColor",s),{common:{fontWeightStrong:c,fontFamilyMono:d,cubicBezierEaseInOut:u},self:{codeTextColor:h,codeBorderRadius:m,codeColor:g,codeBorder:v,[l]:p}}=o.value;return{"--n-bezier":u,"--n-text-color":p,"--n-font-weight-strong":c,"--n-font-famliy-mono":d,"--n-code-border-radius":m,"--n-code-text-color":h,"--n-code-color":g,"--n-code-border":v}}),r=n?_t("text",z(()=>`${e.type[0]}${e.depth||""}`),i,e):void 0;return{mergedClsPrefix:t,compitableTag:Mg(e,["as","tag"]),cssVars:n?void 0:i,themeClass:r==null?void 0:r.themeClass,onRender:r==null?void 0:r.onRender}},render(){var e,t,n;const{mergedClsPrefix:o}=this;(e=this.onRender)===null||e===void 0||e.call(this);const i=[`${o}-text`,this.themeClass,{[`${o}-text--code`]:this.code,[`${o}-text--delete`]:this.delete,[`${o}-text--strong`]:this.strong,[`${o}-text--italic`]:this.italic,[`${o}-text--underline`]:this.underline}],r=(n=(t=this.$slots).default)===null||n===void 0?void 0:n.call(t);return this.code?T("code",{class:i,style:this.cssVars},this.delete?T("del",null,r):r):this.delete?T("del",{class:i,style:this.cssVars},r):T(this.compitableTag||"span",{class:i,style:this.cssVars},r)}}),i0=()=>({}),NI={name:"Equation",common:ae,self:i0},zI=NI,FI={name:"Equation",common:re,self:i0},WI=FI,jI={name:"dark",common:re,Alert:vS,Anchor:IS,AutoComplete:jS,Avatar:mp,AvatarGroup:XS,BackTop:YS,Badge:n8,Breadcrumb:d8,Button:Qt,ButtonGroup:E_,Calendar:C8,Card:Tp,Carousel:H8,Cascader:G8,Checkbox:Fi,Code:Pp,Collapse:Y8,CollapseTransition:t9,ColorPicker:_8,DataTable:P9,DatePicker:t7,Descriptions:a7,Dialog:ib,Divider:A7,Drawer:$7,Dropdown:Qc,DynamicInput:H7,DynamicTags:U7,Element:Y7,Empty:ni,Ellipsis:zp,Equation:WI,Form:i_,GradientText:l_,Icon:$9,IconWrapper:v_,Image:UA,Input:mn,InputNumber:L_,LegacyTransfer:oI,Layout:N_,List:V_,LoadingBar:U_,Log:Y_,Menu:dP,Mention:nP,Message:A_,Modal:p7,Notification:w_,PageHeader:fP,Pagination:Bp,Popconfirm:vP,Popover:oi,Popselect:Rp,Progress:Lb,Radio:Wp,Rate:CP,Result:EP,Row:KA,Scrollbar:Jt,Select:$p,Skeleton:EI,Slider:MP,Space:mb,Spin:NP,Statistic:jP,Steps:qP,Switch:ZP,Table:iA,Tabs:cA,Tag:ip,Thing:fA,TimePicker:eb,Timeline:mA,Tooltip:Ts,Transfer:xA,Tree:qb,TreeSelect:PA,Typography:LA,Upload:BA,Watermark:zA},GI={name:"light",common:ae,Alert:kS,Anchor:PS,AutoComplete:FS,Avatar:gp,AvatarGroup:US,BackTop:e8,Badge:r8,Breadcrumb:l8,Button:Kt,ButtonGroup:M_,Calendar:x8,Card:Zc,Carousel:$8,Cascader:W8,Checkbox:zi,Code:Ap,Collapse:X8,CollapseTransition:Q8,ColorPicker:w8,DataTable:S9,DatePicker:Q9,Descriptions:i7,Dialog:nd,Divider:ub,Drawer:D7,Dropdown:ws,DynamicInput:z7,DynamicTags:X7,Element:bb,Empty:Xn,Equation:zI,Ellipsis:Jc,Form:n_,GradientText:u_,Icon:qp,IconWrapper:p_,Image:x_,Input:sn,InputNumber:H_,Layout:rd,LegacyTransfer:aI,List:j_,LoadingBar:Ab,Log:eP,Menu:lP,Mention:rP,Message:_b,Modal:cb,Notification:wb,PageHeader:hP,Pagination:Hp,Popconfirm:pP,Popover:xo,Popselect:Mp,Progress:Db,Radio:jp,Rate:SP,Row:GA,Result:AP,Scrollbar:Vt,Skeleton:MI,Select:Lp,Slider:$P,Space:id,Spin:HP,Statistic:FP,Steps:KP,Switch:QP,Table:nA,Tabs:sA,Tag:rp,Thing:uA,TimePicker:Qp,Timeline:vA,Tooltip:Gr,Transfer:TA,Tree:Ub,TreeSelect:EA,Typography:ad,Upload:OA,Watermark:WA};var VI=!1;/*! * pinia v2.1.7 * (c) 2023 Eduardo San Martin Morote * @license MIT - */let r0;const As=e=>r0=e,a0=Symbol();function Fl(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var fr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(fr||(fr={}));function UI(){const e=ac(!0),t=e.run(()=>j({}));let n=[],o=[];const i=Ti({install(r){As(i),i._a=r,r.provide(a0,i),r.config.globalProperties.$pinia=i,o.forEach(a=>n.push(a)),o=[]},use(r){return!this._a&&!KI?o.push(r):n.push(r),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return i}const s0=()=>{};function Ph(e,t,n,o=s0){e.push(t);const i=()=>{const r=e.indexOf(t);r>-1&&(e.splice(r,1),o())};return!n&&sc()&&yf(i),i}function ui(e,...t){e.slice().forEach(n=>{n(...t)})}const qI=e=>e();function Wl(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,o)=>e.set(o,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],i=e[n];Fl(i)&&Fl(o)&&e.hasOwnProperty(n)&&!at(o)&&!lo(o)?e[n]=Wl(i,o):e[n]=o}return e}const XI=Symbol();function ZI(e){return!Fl(e)||!e.hasOwnProperty(XI)}const{assign:io}=Object;function YI(e){return!!(at(e)&&e.effect)}function JI(e,t,n,o){const{state:i,actions:r,getters:a}=t,s=n.state.value[e];let l;function c(){s||(n.state.value[e]=i?i():{});const d=hv(n.state.value[e]);return io(d,r,Object.keys(a||{}).reduce((u,h)=>(u[h]=Ti(z(()=>{As(n);const m=n._s.get(e);return a[h].call(m,m)})),u),{}))}return l=l0(e,c,t,n,o,!0),l}function l0(e,t,n={},o,i,r){let a;const s=io({actions:{}},n),l={deep:!0};let c,d,u=[],h=[],m;const g=o.state.value[e];!r&&!g&&(o.state.value[e]={}),j({});let v;function p(S){let E;c=d=!1,typeof S=="function"?(S(o.state.value[e]),E={type:fr.patchFunction,storeId:e,events:m}):(Wl(o.state.value[e],S),E={type:fr.patchObject,payload:S,storeId:e,events:m});const R=v=Symbol();jt().then(()=>{v===R&&(c=!0)}),d=!0,ui(u,E,o.state.value[e])}const f=r?function(){const{state:E}=n,R=E?E():{};this.$patch(G=>{io(G,R)})}:s0;function x(){a.stop(),u=[],h=[],o._s.delete(e)}function A(S,E){return function(){As(o);const R=Array.from(arguments),G=[],M=[];function q(V){G.push(V)}function ee(V){M.push(V)}ui(h,{args:R,name:S,store:w,after:q,onError:ee});let O;try{O=E.apply(this&&this.$id===e?this:w,R)}catch(V){throw ui(M,V),V}return O instanceof Promise?O.then(V=>(ui(G,V),V)).catch(V=>(ui(M,V),Promise.reject(V))):(ui(G,O),O)}}const k={_p:o,$id:e,$onAction:Ph.bind(null,h),$patch:p,$reset:f,$subscribe(S,E={}){const R=Ph(u,S,E.detached,()=>G()),G=a.run(()=>Ze(()=>o.state.value[e],M=>{(E.flush==="sync"?d:c)&&S({storeId:e,type:fr.direct,events:m},M)},io({},l,E)));return R},$dispose:x},w=vo(k);o._s.set(e,w);const C=(o._a&&o._a.runWithContext||qI)(()=>o._e.run(()=>(a=ac()).run(t)));for(const S in C){const E=C[S];if(at(E)&&!YI(E)||lo(E))r||(g&&ZI(E)&&(at(E)?E.value=g[S]:Wl(E,g[S])),o.state.value[e][S]=E);else if(typeof E=="function"){const R=A(S,E);C[S]=R,s.actions[S]=E}}return io(w,C),io(Oe(w),C),Object.defineProperty(w,"$state",{get:()=>o.state.value[e],set:S=>{p(E=>{io(E,S)})}}),o._p.forEach(S=>{io(w,a.run(()=>S({store:w,app:o._a,pinia:o,options:s})))}),g&&r&&n.hydrate&&n.hydrate(w.$state,g),c=!0,d=!0,w}function QI(e,t,n){let o,i;const r=typeof t=="function";typeof e=="string"?(o=e,i=r?n:t):(i=e,o=e.id);function a(s,l){const c=Uv();return s=s||(c?Ie(a0,null):null),s&&As(s),s=r0,s._s.has(o)||(r?l0(o,t,i,s):JI(o,i,s)),s._s.get(o)}return a.$id=o,a}const c0=QI("app",{state:()=>({theme:Z2().value}),persist:{enabled:!0}}),eE={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"},tE=zt("path",{opacity:".3",d:"M8 7h11v14H8z",fill:"currentColor"},null,-1),nE=zt("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z",fill:"currentColor"},null,-1),oE=[tE,nE],iE=se({name:"ContentCopyTwotone",render:function(t,n){return Ve(),hn("svg",eE,oE)}}),rE={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"},aE=zt("path",{opacity:".3",d:"M5.08 8h2.95c.32-1.25.78-2.45 1.38-3.56c-1.84.63-3.37 1.9-4.33 3.56zm2.42 4c0-.68.06-1.34.14-2H4.26c-.16.64-.26 1.31-.26 2s.1 1.36.26 2h3.38c-.08-.66-.14-1.32-.14-2zm-2.42 4a7.987 7.987 0 0 0 4.33 3.56A15.65 15.65 0 0 1 8.03 16H5.08zM12 4.04c-.83 1.2-1.48 2.53-1.91 3.96h3.82c-.43-1.43-1.08-2.76-1.91-3.96zM18.92 8a8.03 8.03 0 0 0-4.33-3.56c.6 1.11 1.06 2.31 1.38 3.56h2.95zM12 19.96c.83-1.2 1.48-2.53 1.91-3.96h-3.82c.43 1.43 1.08 2.76 1.91 3.96zm2.59-.4A8.03 8.03 0 0 0 18.92 16h-2.95a15.65 15.65 0 0 1-1.38 3.56zM19.74 10h-3.38c.08.66.14 1.32.14 2s-.06 1.34-.14 2h3.38c.16-.64.26-1.31.26-2s-.1-1.36-.26-2zM9.66 10c-.09.65-.16 1.32-.16 2s.07 1.34.16 2h4.68c.09-.66.16-1.32.16-2s-.07-1.35-.16-2H9.66z",fill:"currentColor"},null,-1),sE=zt("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm6.93 6h-2.95a15.65 15.65 0 0 0-1.38-3.56A8.03 8.03 0 0 1 18.92 8zM12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96zM4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2s.06 1.34.14 2H4.26zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56A7.987 7.987 0 0 1 5.08 16zm2.95-8H5.08a7.987 7.987 0 0 1 4.33-3.56A15.65 15.65 0 0 0 8.03 8zM12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96zM14.34 14H9.66c-.09-.66-.16-1.32-.16-2s.07-1.35.16-2h4.68c.09.65.16 1.32.16 2s-.07 1.34-.16 2zm.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95a8.03 8.03 0 0 1-4.33 3.56zM16.36 14c.08-.66.14-1.32.14-2s-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2h-3.38z",fill:"currentColor"},null,-1),lE=[aE,sE],cE=se({name:"LanguageTwotone",render:function(t,n){return Ve(),hn("svg",rE,lE)}}),dE={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"},uE=zt("circle",{cx:"18",cy:"5",opacity:".3",r:"1",fill:"currentColor"},null,-1),hE=zt("circle",{cx:"6",cy:"12",opacity:".3",r:"1",fill:"currentColor"},null,-1),fE=zt("circle",{cx:"18",cy:"19.02",opacity:".3",r:"1",fill:"currentColor"},null,-1),gE=zt("path",{d:"M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81c1.66 0 3-1.34 3-3s-1.34-3-3-3s-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65c0 1.61 1.31 2.92 2.92 2.92s2.92-1.31 2.92-2.92c0-1.61-1.31-2.92-2.92-2.92zM18 4c.55 0 1 .45 1 1s-.45 1-1 1s-1-.45-1-1s.45-1 1-1zM6 13c-.55 0-1-.45-1-1s.45-1 1-1s1 .45 1 1s-.45 1-1 1zm12 7.02c-.55 0-1-.45-1-1s.45-1 1-1s1 .45 1 1s-.45 1-1 1z",fill:"currentColor"},null,-1),mE=[uE,hE,fE,gE],pE=se({name:"ShareTwotone",render:function(t,n){return Ve(),hn("svg",dE,mE)}}),bE={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"},vE=zt("path",{d:"M12 3h.393a7.5 7.5 0 0 0 7.92 12.446A9 9 0 1 1 12 2.992z",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),yE=[vE],xE=se({name:"Moon",render:function(t,n){return Ve(),hn("svg",bE,yE)}}),kE={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"},CE=zt("g",{fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[zt("circle",{cx:"12",cy:"12",r:"4"}),zt("path",{d:"M3 12h1m8-9v1m8 8h1m-9 8v1M5.6 5.6l.7.7m12.1-.7l-.7.7m0 11.4l.7.7m-12.1-.7l-.7.7"})],-1),TE=[CE],wE=se({name:"Sun",render:function(t,n){return Ve(),hn("svg",kE,TE)}}),Ah=(e,t)=>{const n=e.storage||sessionStorage,o=e.key||t.$id;if(e.paths){const i=e.paths.reduce((r,a)=>(r[a]=t.$state[a],r),{});n.setItem(o,JSON.stringify(i))}else n.setItem(o,JSON.stringify(t.$state))};var SE=({options:e,store:t})=>{var n,o,i,r;if((n=e.persist)!=null&&n.enabled){const a=[{key:t.$id,storage:sessionStorage}],s=(i=(o=e.persist)==null?void 0:o.strategies)!=null&&i.length?(r=e.persist)==null?void 0:r.strategies:a;s.forEach(l=>{const c=l.storage||sessionStorage,d=l.key||t.$id,u=c.getItem(d);u&&(t.$patch(JSON.parse(u)),Ah(l,t))}),t.$subscribe(()=>{s.forEach(l=>{Ah(l,t)})})}};/*! + */let r0;const As=e=>r0=e,a0=Symbol();function Fl(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var fr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(fr||(fr={}));function KI(){const e=ac(!0),t=e.run(()=>j({}));let n=[],o=[];const i=Ti({install(r){As(i),i._a=r,r.provide(a0,i),r.config.globalProperties.$pinia=i,o.forEach(a=>n.push(a)),o=[]},use(r){return!this._a&&!VI?o.push(r):n.push(r),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return i}const s0=()=>{};function Ph(e,t,n,o=s0){e.push(t);const i=()=>{const r=e.indexOf(t);r>-1&&(e.splice(r,1),o())};return!n&&sc()&&yf(i),i}function ui(e,...t){e.slice().forEach(n=>{n(...t)})}const UI=e=>e();function Wl(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,o)=>e.set(o,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],i=e[n];Fl(i)&&Fl(o)&&e.hasOwnProperty(n)&&!at(o)&&!lo(o)?e[n]=Wl(i,o):e[n]=o}return e}const qI=Symbol();function XI(e){return!Fl(e)||!e.hasOwnProperty(qI)}const{assign:io}=Object;function ZI(e){return!!(at(e)&&e.effect)}function YI(e,t,n,o){const{state:i,actions:r,getters:a}=t,s=n.state.value[e];let l;function c(){s||(n.state.value[e]=i?i():{});const d=uv(n.state.value[e]);return io(d,r,Object.keys(a||{}).reduce((u,h)=>(u[h]=Ti(z(()=>{As(n);const m=n._s.get(e);return a[h].call(m,m)})),u),{}))}return l=l0(e,c,t,n,o,!0),l}function l0(e,t,n={},o,i,r){let a;const s=io({actions:{}},n),l={deep:!0};let c,d,u=[],h=[],m;const g=o.state.value[e];!r&&!g&&(o.state.value[e]={}),j({});let v;function p(S){let E;c=d=!1,typeof S=="function"?(S(o.state.value[e]),E={type:fr.patchFunction,storeId:e,events:m}):(Wl(o.state.value[e],S),E={type:fr.patchObject,payload:S,storeId:e,events:m});const R=v=Symbol();jt().then(()=>{v===R&&(c=!0)}),d=!0,ui(u,E,o.state.value[e])}const f=r?function(){const{state:E}=n,R=E?E():{};this.$patch(G=>{io(G,R)})}:s0;function x(){a.stop(),u=[],h=[],o._s.delete(e)}function A(S,E){return function(){As(o);const R=Array.from(arguments),G=[],M=[];function q(V){G.push(V)}function ee(V){M.push(V)}ui(h,{args:R,name:S,store:w,after:q,onError:ee});let O;try{O=E.apply(this&&this.$id===e?this:w,R)}catch(V){throw ui(M,V),V}return O instanceof Promise?O.then(V=>(ui(G,V),V)).catch(V=>(ui(M,V),Promise.reject(V))):(ui(G,O),O)}}const k={_p:o,$id:e,$onAction:Ph.bind(null,h),$patch:p,$reset:f,$subscribe(S,E={}){const R=Ph(u,S,E.detached,()=>G()),G=a.run(()=>Ze(()=>o.state.value[e],M=>{(E.flush==="sync"?d:c)&&S({storeId:e,type:fr.direct,events:m},M)},io({},l,E)));return R},$dispose:x},w=vo(k);o._s.set(e,w);const C=(o._a&&o._a.runWithContext||UI)(()=>o._e.run(()=>(a=ac()).run(t)));for(const S in C){const E=C[S];if(at(E)&&!ZI(E)||lo(E))r||(g&&XI(E)&&(at(E)?E.value=g[S]:Wl(E,g[S])),o.state.value[e][S]=E);else if(typeof E=="function"){const R=A(S,E);C[S]=R,s.actions[S]=E}}return io(w,C),io(Oe(w),C),Object.defineProperty(w,"$state",{get:()=>o.state.value[e],set:S=>{p(E=>{io(E,S)})}}),o._p.forEach(S=>{io(w,a.run(()=>S({store:w,app:o._a,pinia:o,options:s})))}),g&&r&&n.hydrate&&n.hydrate(w.$state,g),c=!0,d=!0,w}function JI(e,t,n){let o,i;const r=typeof t=="function";typeof e=="string"?(o=e,i=r?n:t):(i=e,o=e.id);function a(s,l){const c=Kv();return s=s||(c?Ie(a0,null):null),s&&As(s),s=r0,s._s.has(o)||(r?l0(o,t,i,s):YI(o,i,s)),s._s.get(o)}return a.$id=o,a}const c0=JI("app",{state:()=>({theme:X2().value}),persist:{enabled:!0}}),QI={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"},eE=zt("path",{opacity:".3",d:"M8 7h11v14H8z",fill:"currentColor"},null,-1),tE=zt("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z",fill:"currentColor"},null,-1),nE=[eE,tE],oE=se({name:"ContentCopyTwotone",render:function(t,n){return Ve(),hn("svg",QI,nE)}}),iE={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"},rE=zt("path",{opacity:".3",d:"M5.08 8h2.95c.32-1.25.78-2.45 1.38-3.56c-1.84.63-3.37 1.9-4.33 3.56zm2.42 4c0-.68.06-1.34.14-2H4.26c-.16.64-.26 1.31-.26 2s.1 1.36.26 2h3.38c-.08-.66-.14-1.32-.14-2zm-2.42 4a7.987 7.987 0 0 0 4.33 3.56A15.65 15.65 0 0 1 8.03 16H5.08zM12 4.04c-.83 1.2-1.48 2.53-1.91 3.96h3.82c-.43-1.43-1.08-2.76-1.91-3.96zM18.92 8a8.03 8.03 0 0 0-4.33-3.56c.6 1.11 1.06 2.31 1.38 3.56h2.95zM12 19.96c.83-1.2 1.48-2.53 1.91-3.96h-3.82c.43 1.43 1.08 2.76 1.91 3.96zm2.59-.4A8.03 8.03 0 0 0 18.92 16h-2.95a15.65 15.65 0 0 1-1.38 3.56zM19.74 10h-3.38c.08.66.14 1.32.14 2s-.06 1.34-.14 2h3.38c.16-.64.26-1.31.26-2s-.1-1.36-.26-2zM9.66 10c-.09.65-.16 1.32-.16 2s.07 1.34.16 2h4.68c.09-.66.16-1.32.16-2s-.07-1.35-.16-2H9.66z",fill:"currentColor"},null,-1),aE=zt("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm6.93 6h-2.95a15.65 15.65 0 0 0-1.38-3.56A8.03 8.03 0 0 1 18.92 8zM12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96zM4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2s.06 1.34.14 2H4.26zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56A7.987 7.987 0 0 1 5.08 16zm2.95-8H5.08a7.987 7.987 0 0 1 4.33-3.56A15.65 15.65 0 0 0 8.03 8zM12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96zM14.34 14H9.66c-.09-.66-.16-1.32-.16-2s.07-1.35.16-2h4.68c.09.65.16 1.32.16 2s-.07 1.34-.16 2zm.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95a8.03 8.03 0 0 1-4.33 3.56zM16.36 14c.08-.66.14-1.32.14-2s-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2h-3.38z",fill:"currentColor"},null,-1),sE=[rE,aE],lE=se({name:"LanguageTwotone",render:function(t,n){return Ve(),hn("svg",iE,sE)}}),cE={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"},dE=zt("circle",{cx:"18",cy:"5",opacity:".3",r:"1",fill:"currentColor"},null,-1),uE=zt("circle",{cx:"6",cy:"12",opacity:".3",r:"1",fill:"currentColor"},null,-1),hE=zt("circle",{cx:"18",cy:"19.02",opacity:".3",r:"1",fill:"currentColor"},null,-1),fE=zt("path",{d:"M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81c1.66 0 3-1.34 3-3s-1.34-3-3-3s-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65c0 1.61 1.31 2.92 2.92 2.92s2.92-1.31 2.92-2.92c0-1.61-1.31-2.92-2.92-2.92zM18 4c.55 0 1 .45 1 1s-.45 1-1 1s-1-.45-1-1s.45-1 1-1zM6 13c-.55 0-1-.45-1-1s.45-1 1-1s1 .45 1 1s-.45 1-1 1zm12 7.02c-.55 0-1-.45-1-1s.45-1 1-1s1 .45 1 1s-.45 1-1 1z",fill:"currentColor"},null,-1),gE=[dE,uE,hE,fE],mE=se({name:"ShareTwotone",render:function(t,n){return Ve(),hn("svg",cE,gE)}}),pE={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"},bE=zt("path",{d:"M12 3h.393a7.5 7.5 0 0 0 7.92 12.446A9 9 0 1 1 12 2.992z",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1),vE=[bE],yE=se({name:"Moon",render:function(t,n){return Ve(),hn("svg",pE,vE)}}),xE={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"},kE=zt("g",{fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[zt("circle",{cx:"12",cy:"12",r:"4"}),zt("path",{d:"M3 12h1m8-9v1m8 8h1m-9 8v1M5.6 5.6l.7.7m12.1-.7l-.7.7m0 11.4l.7.7m-12.1-.7l-.7.7"})],-1),CE=[kE],TE=se({name:"Sun",render:function(t,n){return Ve(),hn("svg",xE,CE)}}),Ah=(e,t)=>{const n=e.storage||sessionStorage,o=e.key||t.$id;if(e.paths){const i=e.paths.reduce((r,a)=>(r[a]=t.$state[a],r),{});n.setItem(o,JSON.stringify(i))}else n.setItem(o,JSON.stringify(t.$state))};var wE=({options:e,store:t})=>{var n,o,i,r;if((n=e.persist)!=null&&n.enabled){const a=[{key:t.$id,storage:sessionStorage}],s=(i=(o=e.persist)==null?void 0:o.strategies)!=null&&i.length?(r=e.persist)==null?void 0:r.strategies:a;s.forEach(l=>{const c=l.storage||sessionStorage,d=l.key||t.$id,u=c.getItem(d);u&&(t.$patch(JSON.parse(u)),Ah(l,t))}),t.$subscribe(()=>{s.forEach(l=>{Ah(l,t)})})}};/*! * shared v9.8.0 * (c) 2023 kazuya kawaguchi * Released under the MIT License. - */const jl=typeof window<"u",ko=(e,t=!1)=>t?Symbol.for(e):Symbol(e),_E=(e,t,n)=>PE({l:e,k:t,s:n}),PE=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),yt=e=>typeof e=="number"&&isFinite(e),AE=e=>u0(e)==="[object Date]",bo=e=>u0(e)==="[object RegExp]",Is=e=>_e(e)&&Object.keys(e).length===0,Dt=Object.assign;let Ih;const Wn=()=>Ih||(Ih=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Eh(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const IE=Object.prototype.hasOwnProperty;function Lr(e,t){return IE.call(e,t)}const ot=Array.isArray,Xe=e=>typeof e=="function",le=e=>typeof e=="string",$e=e=>typeof e=="boolean",je=e=>e!==null&&typeof e=="object",EE=e=>je(e)&&Xe(e.then)&&Xe(e.catch),d0=Object.prototype.toString,u0=e=>d0.call(e),_e=e=>{if(!je(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},RE=e=>e==null?"":ot(e)||_e(e)&&e.toString===d0?JSON.stringify(e,null,2):String(e);function ME(e,t=""){return e.reduce((n,o,i)=>i===0?n+o:n+t+o,"")}function ld(e){let t=e;return()=>++t}function DE(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const va=e=>!je(e)||ot(e);function gr(e,t){if(va(e)||va(t))throw new Error("Invalid value");for(const n in e)Lr(e,n)&&(va(e[n])||va(t[n])?t[n]=e[n]:gr(e[n],t[n]))}/*! + */const jl=typeof window<"u",ko=(e,t=!1)=>t?Symbol.for(e):Symbol(e),SE=(e,t,n)=>_E({l:e,k:t,s:n}),_E=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),yt=e=>typeof e=="number"&&isFinite(e),PE=e=>u0(e)==="[object Date]",bo=e=>u0(e)==="[object RegExp]",Is=e=>_e(e)&&Object.keys(e).length===0,Dt=Object.assign;let Ih;const Wn=()=>Ih||(Ih=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Eh(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const AE=Object.prototype.hasOwnProperty;function Lr(e,t){return AE.call(e,t)}const ot=Array.isArray,Xe=e=>typeof e=="function",le=e=>typeof e=="string",$e=e=>typeof e=="boolean",je=e=>e!==null&&typeof e=="object",IE=e=>je(e)&&Xe(e.then)&&Xe(e.catch),d0=Object.prototype.toString,u0=e=>d0.call(e),_e=e=>{if(!je(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},EE=e=>e==null?"":ot(e)||_e(e)&&e.toString===d0?JSON.stringify(e,null,2):String(e);function RE(e,t=""){return e.reduce((n,o,i)=>i===0?n+o:n+t+o,"")}function ld(e){let t=e;return()=>++t}function ME(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const va=e=>!je(e)||ot(e);function gr(e,t){if(va(e)||va(t))throw new Error("Invalid value");for(const n in e)Lr(e,n)&&(va(e[n])||va(t[n])?t[n]=e[n]:gr(e[n],t[n]))}/*! * message-compiler v9.8.0 * (c) 2023 kazuya kawaguchi * Released under the MIT License. - */function LE(e,t,n){return{line:e,column:t,offset:n}}function Gl(e,t,n){const o={start:e,end:t};return n!=null&&(o.source=n),o}const $E=/\{([0-9a-zA-Z]+)\}/g;function OE(e,...t){return t.length===1&&HE(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace($E,(n,o)=>t.hasOwnProperty(o)?t[o]:"")}const h0=Object.assign,Rh=e=>typeof e=="string",HE=e=>e!==null&&typeof e=="object";function f0(e,t=""){return e.reduce((n,o,i)=>i===0?n+o:n+t+o,"")}const ke={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},BE={[ke.EXPECTED_TOKEN]:"Expected token: '{0}'",[ke.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[ke.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[ke.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[ke.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[ke.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[ke.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[ke.EMPTY_PLACEHOLDER]:"Empty placeholder",[ke.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[ke.INVALID_LINKED_FORMAT]:"Invalid linked format",[ke.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[ke.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[ke.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[ke.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[ke.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[ke.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function ji(e,t,n={}){const{domain:o,messages:i,args:r}=n,a=OE((i||BE)[e]||"",...r||[]),s=new SyntaxError(String(a));return s.code=e,t&&(s.location=t),s.domain=o,s}function NE(e){throw e}const Nn=" ",zE="\r",Wt=` -`,FE=String.fromCharCode(8232),WE=String.fromCharCode(8233);function jE(e){const t=e;let n=0,o=1,i=1,r=0;const a=C=>t[C]===zE&&t[C+1]===Wt,s=C=>t[C]===Wt,l=C=>t[C]===WE,c=C=>t[C]===FE,d=C=>a(C)||s(C)||l(C)||c(C),u=()=>n,h=()=>o,m=()=>i,g=()=>r,v=C=>a(C)||l(C)||c(C)?Wt:t[C],p=()=>v(n),f=()=>v(n+r);function x(){return r=0,d(n)&&(o++,i=0),a(n)&&n++,n++,i++,t[n]}function A(){return a(n+r)&&r++,r++,t[n+r]}function k(){n=0,o=1,i=1,r=0}function w(C=0){r=C}function I(){const C=n+r;for(;C!==n;)x();r=0}return{index:u,line:h,column:m,peekOffset:g,charAt:v,currentChar:p,currentPeek:f,next:x,peek:A,reset:k,resetPeek:w,skipToPeek:I}}const to=void 0,GE=".",Mh="'",VE="tokenizer";function KE(e,t={}){const n=t.location!==!1,o=jE(e),i=()=>o.index(),r=()=>LE(o.line(),o.column(),o.index()),a=r(),s=i(),l={currentType:14,offset:s,startLoc:a,endLoc:a,lastType:14,lastOffset:s,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:d}=t;function u(b,y,_,...$){const B=c();if(y.column+=_,y.offset+=_,d){const Z=n?Gl(B.startLoc,y):null,ne=ji(b,Z,{domain:VE,args:$});d(ne)}}function h(b,y,_){b.endLoc=r(),b.currentType=y;const $={type:y};return n&&($.loc=Gl(b.startLoc,b.endLoc)),_!=null&&($.value=_),$}const m=b=>h(b,14);function g(b,y){return b.currentChar()===y?(b.next(),y):(u(ke.EXPECTED_TOKEN,r(),0,y),"")}function v(b){let y="";for(;b.currentPeek()===Nn||b.currentPeek()===Wt;)y+=b.currentPeek(),b.peek();return y}function p(b){const y=v(b);return b.skipToPeek(),y}function f(b){if(b===to)return!1;const y=b.charCodeAt(0);return y>=97&&y<=122||y>=65&&y<=90||y===95}function x(b){if(b===to)return!1;const y=b.charCodeAt(0);return y>=48&&y<=57}function A(b,y){const{currentType:_}=y;if(_!==2)return!1;v(b);const $=f(b.currentPeek());return b.resetPeek(),$}function k(b,y){const{currentType:_}=y;if(_!==2)return!1;v(b);const $=b.currentPeek()==="-"?b.peek():b.currentPeek(),B=x($);return b.resetPeek(),B}function w(b,y){const{currentType:_}=y;if(_!==2)return!1;v(b);const $=b.currentPeek()===Mh;return b.resetPeek(),$}function I(b,y){const{currentType:_}=y;if(_!==8)return!1;v(b);const $=b.currentPeek()===".";return b.resetPeek(),$}function C(b,y){const{currentType:_}=y;if(_!==9)return!1;v(b);const $=f(b.currentPeek());return b.resetPeek(),$}function S(b,y){const{currentType:_}=y;if(!(_===8||_===12))return!1;v(b);const $=b.currentPeek()===":";return b.resetPeek(),$}function E(b,y){const{currentType:_}=y;if(_!==10)return!1;const $=()=>{const Z=b.currentPeek();return Z==="{"?f(b.peek()):Z==="@"||Z==="%"||Z==="|"||Z===":"||Z==="."||Z===Nn||!Z?!1:Z===Wt?(b.peek(),$()):f(Z)},B=$();return b.resetPeek(),B}function R(b){v(b);const y=b.currentPeek()==="|";return b.resetPeek(),y}function G(b){const y=v(b),_=b.currentPeek()==="%"&&b.peek()==="{";return b.resetPeek(),{isModulo:_,hasSpace:y.length>0}}function M(b,y=!0){const _=(B=!1,Z="",ne=!1)=>{const X=b.currentPeek();return X==="{"?Z==="%"?!1:B:X==="@"||!X?Z==="%"?!0:B:X==="%"?(b.peek(),_(B,"%",!0)):X==="|"?Z==="%"||ne?!0:!(Z===Nn||Z===Wt):X===Nn?(b.peek(),_(!0,Nn,ne)):X===Wt?(b.peek(),_(!0,Wt,ne)):!0},$=_();return y&&b.resetPeek(),$}function q(b,y){const _=b.currentChar();return _===to?to:y(_)?(b.next(),_):null}function ee(b){return q(b,_=>{const $=_.charCodeAt(0);return $>=97&&$<=122||$>=65&&$<=90||$>=48&&$<=57||$===95||$===36})}function O(b){return q(b,_=>{const $=_.charCodeAt(0);return $>=48&&$<=57})}function V(b){return q(b,_=>{const $=_.charCodeAt(0);return $>=48&&$<=57||$>=65&&$<=70||$>=97&&$<=102})}function W(b){let y="",_="";for(;y=O(b);)_+=y;return _}function oe(b){p(b);const y=b.currentChar();return y!=="%"&&u(ke.EXPECTED_TOKEN,r(),0,y),b.next(),"%"}function fe(b){let y="";for(;;){const _=b.currentChar();if(_==="{"||_==="}"||_==="@"||_==="|"||!_)break;if(_==="%")if(M(b))y+=_,b.next();else break;else if(_===Nn||_===Wt)if(M(b))y+=_,b.next();else{if(R(b))break;y+=_,b.next()}else y+=_,b.next()}return y}function we(b){p(b);let y="",_="";for(;y=ee(b);)_+=y;return b.currentChar()===to&&u(ke.UNTERMINATED_CLOSING_BRACE,r(),0),_}function De(b){p(b);let y="";return b.currentChar()==="-"?(b.next(),y+=`-${W(b)}`):y+=W(b),b.currentChar()===to&&u(ke.UNTERMINATED_CLOSING_BRACE,r(),0),y}function Le(b){p(b),g(b,"'");let y="",_="";const $=Z=>Z!==Mh&&Z!==Wt;for(;y=q(b,$);)y==="\\"?_+=mt(b):_+=y;const B=b.currentChar();return B===Wt||B===to?(u(ke.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),B===Wt&&(b.next(),g(b,"'")),_):(g(b,"'"),_)}function mt(b){const y=b.currentChar();switch(y){case"\\":case"'":return b.next(),`\\${y}`;case"u":return ct(b,y,4);case"U":return ct(b,y,6);default:return u(ke.UNKNOWN_ESCAPE_SEQUENCE,r(),0,y),""}}function ct(b,y,_){g(b,y);let $="";for(let B=0;B<_;B++){const Z=V(b);if(!Z){u(ke.INVALID_UNICODE_ESCAPE_SEQUENCE,r(),0,`\\${y}${$}${b.currentChar()}`);break}$+=Z}return`\\${y}${$}`}function Je(b){p(b);let y="",_="";const $=B=>B!=="{"&&B!=="}"&&B!==Nn&&B!==Wt;for(;y=q(b,$);)_+=y;return _}function Ae(b){let y="",_="";for(;y=ee(b);)_+=y;return _}function Ee(b){const y=(_=!1,$)=>{const B=b.currentChar();return B==="{"||B==="%"||B==="@"||B==="|"||B==="("||B===")"||!B||B===Nn?$:B===Wt||B===GE?($+=B,b.next(),y(_,$)):($+=B,b.next(),y(!0,$))};return y(!1,"")}function Pt(b){p(b);const y=g(b,"|");return p(b),y}function Te(b,y){let _=null;switch(b.currentChar()){case"{":return y.braceNest>=1&&u(ke.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),b.next(),_=h(y,2,"{"),p(b),y.braceNest++,_;case"}":return y.braceNest>0&&y.currentType===2&&u(ke.EMPTY_PLACEHOLDER,r(),0),b.next(),_=h(y,3,"}"),y.braceNest--,y.braceNest>0&&p(b),y.inLinked&&y.braceNest===0&&(y.inLinked=!1),_;case"@":return y.braceNest>0&&u(ke.UNTERMINATED_CLOSING_BRACE,r(),0),_=dt(b,y)||m(y),y.braceNest=0,_;default:let B=!0,Z=!0,ne=!0;if(R(b))return y.braceNest>0&&u(ke.UNTERMINATED_CLOSING_BRACE,r(),0),_=h(y,1,Pt(b)),y.braceNest=0,y.inLinked=!1,_;if(y.braceNest>0&&(y.currentType===5||y.currentType===6||y.currentType===7))return u(ke.UNTERMINATED_CLOSING_BRACE,r(),0),y.braceNest=0,bt(b,y);if(B=A(b,y))return _=h(y,5,we(b)),p(b),_;if(Z=k(b,y))return _=h(y,6,De(b)),p(b),_;if(ne=w(b,y))return _=h(y,7,Le(b)),p(b),_;if(!B&&!Z&&!ne)return _=h(y,13,Je(b)),u(ke.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,_.value),p(b),_;break}return _}function dt(b,y){const{currentType:_}=y;let $=null;const B=b.currentChar();switch((_===8||_===9||_===12||_===10)&&(B===Wt||B===Nn)&&u(ke.INVALID_LINKED_FORMAT,r(),0),B){case"@":return b.next(),$=h(y,8,"@"),y.inLinked=!0,$;case".":return p(b),b.next(),h(y,9,".");case":":return p(b),b.next(),h(y,10,":");default:return R(b)?($=h(y,1,Pt(b)),y.braceNest=0,y.inLinked=!1,$):I(b,y)||S(b,y)?(p(b),dt(b,y)):C(b,y)?(p(b),h(y,12,Ae(b))):E(b,y)?(p(b),B==="{"?Te(b,y)||$:h(y,11,Ee(b))):(_===8&&u(ke.INVALID_LINKED_FORMAT,r(),0),y.braceNest=0,y.inLinked=!1,bt(b,y))}}function bt(b,y){let _={type:14};if(y.braceNest>0)return Te(b,y)||m(y);if(y.inLinked)return dt(b,y)||m(y);switch(b.currentChar()){case"{":return Te(b,y)||m(y);case"}":return u(ke.UNBALANCED_CLOSING_BRACE,r(),0),b.next(),h(y,3,"}");case"@":return dt(b,y)||m(y);default:if(R(b))return _=h(y,1,Pt(b)),y.braceNest=0,y.inLinked=!1,_;const{isModulo:B,hasSpace:Z}=G(b);if(B)return Z?h(y,0,fe(b)):h(y,4,oe(b));if(M(b))return h(y,0,fe(b));break}return _}function P(){const{currentType:b,offset:y,startLoc:_,endLoc:$}=l;return l.lastType=b,l.lastOffset=y,l.lastStartLoc=_,l.lastEndLoc=$,l.offset=i(),l.startLoc=r(),o.currentChar()===to?h(l,14):bt(o,l)}return{nextToken:P,currentOffset:i,currentPosition:r,context:c}}const UE="parser",qE=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function XE(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const o=parseInt(t||n,16);return o<=55295||o>=57344?String.fromCodePoint(o):"�"}}}function ZE(e={}){const t=e.location!==!1,{onError:n}=e;function o(f,x,A,k,...w){const I=f.currentPosition();if(I.offset+=k,I.column+=k,n){const C=t?Gl(A,I):null,S=ji(x,C,{domain:UE,args:w});n(S)}}function i(f,x,A){const k={type:f};return t&&(k.start=x,k.end=x,k.loc={start:A,end:A}),k}function r(f,x,A,k){k&&(f.type=k),t&&(f.end=x,f.loc&&(f.loc.end=A))}function a(f,x){const A=f.context(),k=i(3,A.offset,A.startLoc);return k.value=x,r(k,f.currentOffset(),f.currentPosition()),k}function s(f,x){const A=f.context(),{lastOffset:k,lastStartLoc:w}=A,I=i(5,k,w);return I.index=parseInt(x,10),f.nextToken(),r(I,f.currentOffset(),f.currentPosition()),I}function l(f,x){const A=f.context(),{lastOffset:k,lastStartLoc:w}=A,I=i(4,k,w);return I.key=x,f.nextToken(),r(I,f.currentOffset(),f.currentPosition()),I}function c(f,x){const A=f.context(),{lastOffset:k,lastStartLoc:w}=A,I=i(9,k,w);return I.value=x.replace(qE,XE),f.nextToken(),r(I,f.currentOffset(),f.currentPosition()),I}function d(f){const x=f.nextToken(),A=f.context(),{lastOffset:k,lastStartLoc:w}=A,I=i(8,k,w);return x.type!==12?(o(f,ke.UNEXPECTED_EMPTY_LINKED_MODIFIER,A.lastStartLoc,0),I.value="",r(I,k,w),{nextConsumeToken:x,node:I}):(x.value==null&&o(f,ke.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,An(x)),I.value=x.value||"",r(I,f.currentOffset(),f.currentPosition()),{node:I})}function u(f,x){const A=f.context(),k=i(7,A.offset,A.startLoc);return k.value=x,r(k,f.currentOffset(),f.currentPosition()),k}function h(f){const x=f.context(),A=i(6,x.offset,x.startLoc);let k=f.nextToken();if(k.type===9){const w=d(f);A.modifier=w.node,k=w.nextConsumeToken||f.nextToken()}switch(k.type!==10&&o(f,ke.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,An(k)),k=f.nextToken(),k.type===2&&(k=f.nextToken()),k.type){case 11:k.value==null&&o(f,ke.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,An(k)),A.key=u(f,k.value||"");break;case 5:k.value==null&&o(f,ke.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,An(k)),A.key=l(f,k.value||"");break;case 6:k.value==null&&o(f,ke.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,An(k)),A.key=s(f,k.value||"");break;case 7:k.value==null&&o(f,ke.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,An(k)),A.key=c(f,k.value||"");break;default:o(f,ke.UNEXPECTED_EMPTY_LINKED_KEY,x.lastStartLoc,0);const w=f.context(),I=i(7,w.offset,w.startLoc);return I.value="",r(I,w.offset,w.startLoc),A.key=I,r(A,w.offset,w.startLoc),{nextConsumeToken:k,node:A}}return r(A,f.currentOffset(),f.currentPosition()),{node:A}}function m(f){const x=f.context(),A=x.currentType===1?f.currentOffset():x.offset,k=x.currentType===1?x.endLoc:x.startLoc,w=i(2,A,k);w.items=[];let I=null;do{const E=I||f.nextToken();switch(I=null,E.type){case 0:E.value==null&&o(f,ke.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,An(E)),w.items.push(a(f,E.value||""));break;case 6:E.value==null&&o(f,ke.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,An(E)),w.items.push(s(f,E.value||""));break;case 5:E.value==null&&o(f,ke.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,An(E)),w.items.push(l(f,E.value||""));break;case 7:E.value==null&&o(f,ke.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,An(E)),w.items.push(c(f,E.value||""));break;case 8:const R=h(f);w.items.push(R.node),I=R.nextConsumeToken||null;break}}while(x.currentType!==14&&x.currentType!==1);const C=x.currentType===1?x.lastOffset:f.currentOffset(),S=x.currentType===1?x.lastEndLoc:f.currentPosition();return r(w,C,S),w}function g(f,x,A,k){const w=f.context();let I=k.items.length===0;const C=i(1,x,A);C.cases=[],C.cases.push(k);do{const S=m(f);I||(I=S.items.length===0),C.cases.push(S)}while(w.currentType!==14);return I&&o(f,ke.MUST_HAVE_MESSAGES_IN_PLURAL,A,0),r(C,f.currentOffset(),f.currentPosition()),C}function v(f){const x=f.context(),{offset:A,startLoc:k}=x,w=m(f);return x.currentType===14?w:g(f,A,k,w)}function p(f){const x=KE(f,h0({},e)),A=x.context(),k=i(0,A.offset,A.startLoc);return t&&k.loc&&(k.loc.source=f),k.body=v(x),e.onCacheKey&&(k.cacheKey=e.onCacheKey(f)),A.currentType!==14&&o(x,ke.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,f[A.offset]||""),r(k,x.currentOffset(),x.currentPosition()),k}return{parse:p}}function An(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 YE(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:r=>(n.helpers.add(r),r)}}function Dh(e,t){for(let n=0;nLh(n)),e}function Lh(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;ns;function c(p,f){s.code+=p}function d(p,f=!0){const x=f?i:"";c(r?x+" ".repeat(p):x)}function u(p=!0){const f=++s.indentLevel;p&&d(f)}function h(p=!0){const f=--s.indentLevel;p&&d(f)}function m(){d(s.indentLevel)}return{context:l,push:c,indent:u,deindent:h,newline:m,helper:p=>`_${p}`,needIndent:()=>s.needIndent}}function oR(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Ii(e,t.key),t.modifier?(e.push(", "),Ii(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function iR(e,t){const{helper:n,needIndent:o}=e;e.push(`${n("normalize")}([`),e.indent(o());const i=t.items.length;for(let r=0;r1){e.push(`${n("plural")}([`),e.indent(o());const i=t.cases.length;for(let r=0;r{const n=Rh(t.mode)?t.mode:"normal",o=Rh(t.filename)?t.filename:"message.intl",i=!!t.sourceMap,r=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` -`,a=t.needIndent?t.needIndent:n!=="arrow",s=e.helpers||[],l=nR(e,{mode:n,filename:o,sourceMap:i,breakLineCode:r,needIndent:a});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(a),s.length>0&&(l.push(`const { ${f0(s.map(u=>`${u}: _${u}`),", ")} } = ctx`),l.newline()),l.push("return "),Ii(l,e),l.deindent(a),l.push("}"),delete e.helpers;const{code:c,map:d}=l.context();return{ast:e,code:c,map:d?d.toJSON():void 0}};function lR(e,t={}){const n=h0({},t),o=!!n.jit,i=!!n.minify,r=n.optimize==null?!0:n.optimize,s=ZE(n).parse(e);return o?(r&&QE(s),i&&fi(s),{ast:s,code:""}):(JE(s,n),sR(s,n))}/*! + */function DE(e,t,n){return{line:e,column:t,offset:n}}function Gl(e,t,n){const o={start:e,end:t};return n!=null&&(o.source=n),o}const LE=/\{([0-9a-zA-Z]+)\}/g;function $E(e,...t){return t.length===1&&OE(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(LE,(n,o)=>t.hasOwnProperty(o)?t[o]:"")}const h0=Object.assign,Rh=e=>typeof e=="string",OE=e=>e!==null&&typeof e=="object";function f0(e,t=""){return e.reduce((n,o,i)=>i===0?n+o:n+t+o,"")}const ke={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},HE={[ke.EXPECTED_TOKEN]:"Expected token: '{0}'",[ke.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[ke.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[ke.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[ke.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[ke.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[ke.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[ke.EMPTY_PLACEHOLDER]:"Empty placeholder",[ke.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[ke.INVALID_LINKED_FORMAT]:"Invalid linked format",[ke.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[ke.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[ke.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[ke.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[ke.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[ke.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function ji(e,t,n={}){const{domain:o,messages:i,args:r}=n,a=$E((i||HE)[e]||"",...r||[]),s=new SyntaxError(String(a));return s.code=e,t&&(s.location=t),s.domain=o,s}function BE(e){throw e}const Nn=" ",NE="\r",Wt=` +`,zE=String.fromCharCode(8232),FE=String.fromCharCode(8233);function WE(e){const t=e;let n=0,o=1,i=1,r=0;const a=C=>t[C]===NE&&t[C+1]===Wt,s=C=>t[C]===Wt,l=C=>t[C]===FE,c=C=>t[C]===zE,d=C=>a(C)||s(C)||l(C)||c(C),u=()=>n,h=()=>o,m=()=>i,g=()=>r,v=C=>a(C)||l(C)||c(C)?Wt:t[C],p=()=>v(n),f=()=>v(n+r);function x(){return r=0,d(n)&&(o++,i=0),a(n)&&n++,n++,i++,t[n]}function A(){return a(n+r)&&r++,r++,t[n+r]}function k(){n=0,o=1,i=1,r=0}function w(C=0){r=C}function I(){const C=n+r;for(;C!==n;)x();r=0}return{index:u,line:h,column:m,peekOffset:g,charAt:v,currentChar:p,currentPeek:f,next:x,peek:A,reset:k,resetPeek:w,skipToPeek:I}}const to=void 0,jE=".",Mh="'",GE="tokenizer";function VE(e,t={}){const n=t.location!==!1,o=WE(e),i=()=>o.index(),r=()=>DE(o.line(),o.column(),o.index()),a=r(),s=i(),l={currentType:14,offset:s,startLoc:a,endLoc:a,lastType:14,lastOffset:s,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:d}=t;function u(b,y,_,...$){const B=c();if(y.column+=_,y.offset+=_,d){const Z=n?Gl(B.startLoc,y):null,ne=ji(b,Z,{domain:GE,args:$});d(ne)}}function h(b,y,_){b.endLoc=r(),b.currentType=y;const $={type:y};return n&&($.loc=Gl(b.startLoc,b.endLoc)),_!=null&&($.value=_),$}const m=b=>h(b,14);function g(b,y){return b.currentChar()===y?(b.next(),y):(u(ke.EXPECTED_TOKEN,r(),0,y),"")}function v(b){let y="";for(;b.currentPeek()===Nn||b.currentPeek()===Wt;)y+=b.currentPeek(),b.peek();return y}function p(b){const y=v(b);return b.skipToPeek(),y}function f(b){if(b===to)return!1;const y=b.charCodeAt(0);return y>=97&&y<=122||y>=65&&y<=90||y===95}function x(b){if(b===to)return!1;const y=b.charCodeAt(0);return y>=48&&y<=57}function A(b,y){const{currentType:_}=y;if(_!==2)return!1;v(b);const $=f(b.currentPeek());return b.resetPeek(),$}function k(b,y){const{currentType:_}=y;if(_!==2)return!1;v(b);const $=b.currentPeek()==="-"?b.peek():b.currentPeek(),B=x($);return b.resetPeek(),B}function w(b,y){const{currentType:_}=y;if(_!==2)return!1;v(b);const $=b.currentPeek()===Mh;return b.resetPeek(),$}function I(b,y){const{currentType:_}=y;if(_!==8)return!1;v(b);const $=b.currentPeek()===".";return b.resetPeek(),$}function C(b,y){const{currentType:_}=y;if(_!==9)return!1;v(b);const $=f(b.currentPeek());return b.resetPeek(),$}function S(b,y){const{currentType:_}=y;if(!(_===8||_===12))return!1;v(b);const $=b.currentPeek()===":";return b.resetPeek(),$}function E(b,y){const{currentType:_}=y;if(_!==10)return!1;const $=()=>{const Z=b.currentPeek();return Z==="{"?f(b.peek()):Z==="@"||Z==="%"||Z==="|"||Z===":"||Z==="."||Z===Nn||!Z?!1:Z===Wt?(b.peek(),$()):f(Z)},B=$();return b.resetPeek(),B}function R(b){v(b);const y=b.currentPeek()==="|";return b.resetPeek(),y}function G(b){const y=v(b),_=b.currentPeek()==="%"&&b.peek()==="{";return b.resetPeek(),{isModulo:_,hasSpace:y.length>0}}function M(b,y=!0){const _=(B=!1,Z="",ne=!1)=>{const X=b.currentPeek();return X==="{"?Z==="%"?!1:B:X==="@"||!X?Z==="%"?!0:B:X==="%"?(b.peek(),_(B,"%",!0)):X==="|"?Z==="%"||ne?!0:!(Z===Nn||Z===Wt):X===Nn?(b.peek(),_(!0,Nn,ne)):X===Wt?(b.peek(),_(!0,Wt,ne)):!0},$=_();return y&&b.resetPeek(),$}function q(b,y){const _=b.currentChar();return _===to?to:y(_)?(b.next(),_):null}function ee(b){return q(b,_=>{const $=_.charCodeAt(0);return $>=97&&$<=122||$>=65&&$<=90||$>=48&&$<=57||$===95||$===36})}function O(b){return q(b,_=>{const $=_.charCodeAt(0);return $>=48&&$<=57})}function V(b){return q(b,_=>{const $=_.charCodeAt(0);return $>=48&&$<=57||$>=65&&$<=70||$>=97&&$<=102})}function W(b){let y="",_="";for(;y=O(b);)_+=y;return _}function oe(b){p(b);const y=b.currentChar();return y!=="%"&&u(ke.EXPECTED_TOKEN,r(),0,y),b.next(),"%"}function fe(b){let y="";for(;;){const _=b.currentChar();if(_==="{"||_==="}"||_==="@"||_==="|"||!_)break;if(_==="%")if(M(b))y+=_,b.next();else break;else if(_===Nn||_===Wt)if(M(b))y+=_,b.next();else{if(R(b))break;y+=_,b.next()}else y+=_,b.next()}return y}function we(b){p(b);let y="",_="";for(;y=ee(b);)_+=y;return b.currentChar()===to&&u(ke.UNTERMINATED_CLOSING_BRACE,r(),0),_}function De(b){p(b);let y="";return b.currentChar()==="-"?(b.next(),y+=`-${W(b)}`):y+=W(b),b.currentChar()===to&&u(ke.UNTERMINATED_CLOSING_BRACE,r(),0),y}function Le(b){p(b),g(b,"'");let y="",_="";const $=Z=>Z!==Mh&&Z!==Wt;for(;y=q(b,$);)y==="\\"?_+=mt(b):_+=y;const B=b.currentChar();return B===Wt||B===to?(u(ke.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),B===Wt&&(b.next(),g(b,"'")),_):(g(b,"'"),_)}function mt(b){const y=b.currentChar();switch(y){case"\\":case"'":return b.next(),`\\${y}`;case"u":return ct(b,y,4);case"U":return ct(b,y,6);default:return u(ke.UNKNOWN_ESCAPE_SEQUENCE,r(),0,y),""}}function ct(b,y,_){g(b,y);let $="";for(let B=0;B<_;B++){const Z=V(b);if(!Z){u(ke.INVALID_UNICODE_ESCAPE_SEQUENCE,r(),0,`\\${y}${$}${b.currentChar()}`);break}$+=Z}return`\\${y}${$}`}function Je(b){p(b);let y="",_="";const $=B=>B!=="{"&&B!=="}"&&B!==Nn&&B!==Wt;for(;y=q(b,$);)_+=y;return _}function Ae(b){let y="",_="";for(;y=ee(b);)_+=y;return _}function Ee(b){const y=(_=!1,$)=>{const B=b.currentChar();return B==="{"||B==="%"||B==="@"||B==="|"||B==="("||B===")"||!B||B===Nn?$:B===Wt||B===jE?($+=B,b.next(),y(_,$)):($+=B,b.next(),y(!0,$))};return y(!1,"")}function Pt(b){p(b);const y=g(b,"|");return p(b),y}function Te(b,y){let _=null;switch(b.currentChar()){case"{":return y.braceNest>=1&&u(ke.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),b.next(),_=h(y,2,"{"),p(b),y.braceNest++,_;case"}":return y.braceNest>0&&y.currentType===2&&u(ke.EMPTY_PLACEHOLDER,r(),0),b.next(),_=h(y,3,"}"),y.braceNest--,y.braceNest>0&&p(b),y.inLinked&&y.braceNest===0&&(y.inLinked=!1),_;case"@":return y.braceNest>0&&u(ke.UNTERMINATED_CLOSING_BRACE,r(),0),_=dt(b,y)||m(y),y.braceNest=0,_;default:let B=!0,Z=!0,ne=!0;if(R(b))return y.braceNest>0&&u(ke.UNTERMINATED_CLOSING_BRACE,r(),0),_=h(y,1,Pt(b)),y.braceNest=0,y.inLinked=!1,_;if(y.braceNest>0&&(y.currentType===5||y.currentType===6||y.currentType===7))return u(ke.UNTERMINATED_CLOSING_BRACE,r(),0),y.braceNest=0,bt(b,y);if(B=A(b,y))return _=h(y,5,we(b)),p(b),_;if(Z=k(b,y))return _=h(y,6,De(b)),p(b),_;if(ne=w(b,y))return _=h(y,7,Le(b)),p(b),_;if(!B&&!Z&&!ne)return _=h(y,13,Je(b)),u(ke.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,_.value),p(b),_;break}return _}function dt(b,y){const{currentType:_}=y;let $=null;const B=b.currentChar();switch((_===8||_===9||_===12||_===10)&&(B===Wt||B===Nn)&&u(ke.INVALID_LINKED_FORMAT,r(),0),B){case"@":return b.next(),$=h(y,8,"@"),y.inLinked=!0,$;case".":return p(b),b.next(),h(y,9,".");case":":return p(b),b.next(),h(y,10,":");default:return R(b)?($=h(y,1,Pt(b)),y.braceNest=0,y.inLinked=!1,$):I(b,y)||S(b,y)?(p(b),dt(b,y)):C(b,y)?(p(b),h(y,12,Ae(b))):E(b,y)?(p(b),B==="{"?Te(b,y)||$:h(y,11,Ee(b))):(_===8&&u(ke.INVALID_LINKED_FORMAT,r(),0),y.braceNest=0,y.inLinked=!1,bt(b,y))}}function bt(b,y){let _={type:14};if(y.braceNest>0)return Te(b,y)||m(y);if(y.inLinked)return dt(b,y)||m(y);switch(b.currentChar()){case"{":return Te(b,y)||m(y);case"}":return u(ke.UNBALANCED_CLOSING_BRACE,r(),0),b.next(),h(y,3,"}");case"@":return dt(b,y)||m(y);default:if(R(b))return _=h(y,1,Pt(b)),y.braceNest=0,y.inLinked=!1,_;const{isModulo:B,hasSpace:Z}=G(b);if(B)return Z?h(y,0,fe(b)):h(y,4,oe(b));if(M(b))return h(y,0,fe(b));break}return _}function P(){const{currentType:b,offset:y,startLoc:_,endLoc:$}=l;return l.lastType=b,l.lastOffset=y,l.lastStartLoc=_,l.lastEndLoc=$,l.offset=i(),l.startLoc=r(),o.currentChar()===to?h(l,14):bt(o,l)}return{nextToken:P,currentOffset:i,currentPosition:r,context:c}}const KE="parser",UE=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function qE(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const o=parseInt(t||n,16);return o<=55295||o>=57344?String.fromCodePoint(o):"�"}}}function XE(e={}){const t=e.location!==!1,{onError:n}=e;function o(f,x,A,k,...w){const I=f.currentPosition();if(I.offset+=k,I.column+=k,n){const C=t?Gl(A,I):null,S=ji(x,C,{domain:KE,args:w});n(S)}}function i(f,x,A){const k={type:f};return t&&(k.start=x,k.end=x,k.loc={start:A,end:A}),k}function r(f,x,A,k){k&&(f.type=k),t&&(f.end=x,f.loc&&(f.loc.end=A))}function a(f,x){const A=f.context(),k=i(3,A.offset,A.startLoc);return k.value=x,r(k,f.currentOffset(),f.currentPosition()),k}function s(f,x){const A=f.context(),{lastOffset:k,lastStartLoc:w}=A,I=i(5,k,w);return I.index=parseInt(x,10),f.nextToken(),r(I,f.currentOffset(),f.currentPosition()),I}function l(f,x){const A=f.context(),{lastOffset:k,lastStartLoc:w}=A,I=i(4,k,w);return I.key=x,f.nextToken(),r(I,f.currentOffset(),f.currentPosition()),I}function c(f,x){const A=f.context(),{lastOffset:k,lastStartLoc:w}=A,I=i(9,k,w);return I.value=x.replace(UE,qE),f.nextToken(),r(I,f.currentOffset(),f.currentPosition()),I}function d(f){const x=f.nextToken(),A=f.context(),{lastOffset:k,lastStartLoc:w}=A,I=i(8,k,w);return x.type!==12?(o(f,ke.UNEXPECTED_EMPTY_LINKED_MODIFIER,A.lastStartLoc,0),I.value="",r(I,k,w),{nextConsumeToken:x,node:I}):(x.value==null&&o(f,ke.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,An(x)),I.value=x.value||"",r(I,f.currentOffset(),f.currentPosition()),{node:I})}function u(f,x){const A=f.context(),k=i(7,A.offset,A.startLoc);return k.value=x,r(k,f.currentOffset(),f.currentPosition()),k}function h(f){const x=f.context(),A=i(6,x.offset,x.startLoc);let k=f.nextToken();if(k.type===9){const w=d(f);A.modifier=w.node,k=w.nextConsumeToken||f.nextToken()}switch(k.type!==10&&o(f,ke.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,An(k)),k=f.nextToken(),k.type===2&&(k=f.nextToken()),k.type){case 11:k.value==null&&o(f,ke.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,An(k)),A.key=u(f,k.value||"");break;case 5:k.value==null&&o(f,ke.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,An(k)),A.key=l(f,k.value||"");break;case 6:k.value==null&&o(f,ke.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,An(k)),A.key=s(f,k.value||"");break;case 7:k.value==null&&o(f,ke.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,An(k)),A.key=c(f,k.value||"");break;default:o(f,ke.UNEXPECTED_EMPTY_LINKED_KEY,x.lastStartLoc,0);const w=f.context(),I=i(7,w.offset,w.startLoc);return I.value="",r(I,w.offset,w.startLoc),A.key=I,r(A,w.offset,w.startLoc),{nextConsumeToken:k,node:A}}return r(A,f.currentOffset(),f.currentPosition()),{node:A}}function m(f){const x=f.context(),A=x.currentType===1?f.currentOffset():x.offset,k=x.currentType===1?x.endLoc:x.startLoc,w=i(2,A,k);w.items=[];let I=null;do{const E=I||f.nextToken();switch(I=null,E.type){case 0:E.value==null&&o(f,ke.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,An(E)),w.items.push(a(f,E.value||""));break;case 6:E.value==null&&o(f,ke.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,An(E)),w.items.push(s(f,E.value||""));break;case 5:E.value==null&&o(f,ke.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,An(E)),w.items.push(l(f,E.value||""));break;case 7:E.value==null&&o(f,ke.UNEXPECTED_LEXICAL_ANALYSIS,x.lastStartLoc,0,An(E)),w.items.push(c(f,E.value||""));break;case 8:const R=h(f);w.items.push(R.node),I=R.nextConsumeToken||null;break}}while(x.currentType!==14&&x.currentType!==1);const C=x.currentType===1?x.lastOffset:f.currentOffset(),S=x.currentType===1?x.lastEndLoc:f.currentPosition();return r(w,C,S),w}function g(f,x,A,k){const w=f.context();let I=k.items.length===0;const C=i(1,x,A);C.cases=[],C.cases.push(k);do{const S=m(f);I||(I=S.items.length===0),C.cases.push(S)}while(w.currentType!==14);return I&&o(f,ke.MUST_HAVE_MESSAGES_IN_PLURAL,A,0),r(C,f.currentOffset(),f.currentPosition()),C}function v(f){const x=f.context(),{offset:A,startLoc:k}=x,w=m(f);return x.currentType===14?w:g(f,A,k,w)}function p(f){const x=VE(f,h0({},e)),A=x.context(),k=i(0,A.offset,A.startLoc);return t&&k.loc&&(k.loc.source=f),k.body=v(x),e.onCacheKey&&(k.cacheKey=e.onCacheKey(f)),A.currentType!==14&&o(x,ke.UNEXPECTED_LEXICAL_ANALYSIS,A.lastStartLoc,0,f[A.offset]||""),r(k,x.currentOffset(),x.currentPosition()),k}return{parse:p}}function An(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 ZE(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:r=>(n.helpers.add(r),r)}}function Dh(e,t){for(let n=0;nLh(n)),e}function Lh(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;ns;function c(p,f){s.code+=p}function d(p,f=!0){const x=f?i:"";c(r?x+" ".repeat(p):x)}function u(p=!0){const f=++s.indentLevel;p&&d(f)}function h(p=!0){const f=--s.indentLevel;p&&d(f)}function m(){d(s.indentLevel)}return{context:l,push:c,indent:u,deindent:h,newline:m,helper:p=>`_${p}`,needIndent:()=>s.needIndent}}function nR(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Ii(e,t.key),t.modifier?(e.push(", "),Ii(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function oR(e,t){const{helper:n,needIndent:o}=e;e.push(`${n("normalize")}([`),e.indent(o());const i=t.items.length;for(let r=0;r1){e.push(`${n("plural")}([`),e.indent(o());const i=t.cases.length;for(let r=0;r{const n=Rh(t.mode)?t.mode:"normal",o=Rh(t.filename)?t.filename:"message.intl",i=!!t.sourceMap,r=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` +`,a=t.needIndent?t.needIndent:n!=="arrow",s=e.helpers||[],l=tR(e,{mode:n,filename:o,sourceMap:i,breakLineCode:r,needIndent:a});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(a),s.length>0&&(l.push(`const { ${f0(s.map(u=>`${u}: _${u}`),", ")} } = ctx`),l.newline()),l.push("return "),Ii(l,e),l.deindent(a),l.push("}"),delete e.helpers;const{code:c,map:d}=l.context();return{ast:e,code:c,map:d?d.toJSON():void 0}};function sR(e,t={}){const n=h0({},t),o=!!n.jit,i=!!n.minify,r=n.optimize==null?!0:n.optimize,s=XE(n).parse(e);return o?(r&&JE(s),i&&fi(s),{ast:s,code:""}):(YE(s,n),aR(s,n))}/*! * core-base v9.8.0 * (c) 2023 kazuya kawaguchi * Released under the MIT License. - */function cR(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Wn().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Wn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Wn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const Co=[];Co[0]={w:[0],i:[3,0],"[":[4],o:[7]};Co[1]={w:[1],".":[2],"[":[4],o:[7]};Co[2]={w:[2],i:[3,0],0:[3,0]};Co[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Co[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Co[5]={"'":[4,0],o:8,l:[5,0]};Co[6]={'"':[4,0],o:8,l:[6,0]};const dR=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function uR(e){return dR.test(e)}function hR(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 fR(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 gR(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:uR(t)?hR(t):"*"+t}function mR(e){const t=[];let n=-1,o=0,i=0,r,a,s,l,c,d,u;const h=[];h[0]=()=>{a===void 0?a=s:a+=s},h[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},h[2]=()=>{h[0](),i++},h[3]=()=>{if(i>0)i--,o=4,h[0]();else{if(i=0,a===void 0||(a=gR(a),a===!1))return!1;h[1]()}};function m(){const g=e[n+1];if(o===5&&g==="'"||o===6&&g==='"')return n++,s="\\"+g,h[0](),!0}for(;o!==null;)if(n++,r=e[n],!(r==="\\"&&m())){if(l=fR(r),u=Co[o],c=u[l]||u.l||8,c===8||(o=c[0],c[1]!==void 0&&(d=h[c[1]],d&&(s=r,d()===!1))))return;if(o===7)return t}}const $h=new Map;function pR(e,t){return je(e)?e[t]:null}function bR(e,t){if(!je(e))return null;let n=$h.get(t);if(n||(n=mR(t),n&&$h.set(t,n)),!n)return null;const o=n.length;let i=e,r=0;for(;re,yR=e=>"",xR="text",kR=e=>e.length===0?"":ME(e),CR=RE;function Oh(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function TR(e){const t=yt(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(yt(e.named.count)||yt(e.named.n))?yt(e.named.count)?e.named.count:yt(e.named.n)?e.named.n:t:t}function wR(e,t){t.count||(t.count=e),t.n||(t.n=e)}function SR(e={}){const t=e.locale,n=TR(e),o=je(e.pluralRules)&&le(t)&&Xe(e.pluralRules[t])?e.pluralRules[t]:Oh,i=je(e.pluralRules)&&le(t)&&Xe(e.pluralRules[t])?Oh:void 0,r=f=>f[o(n,f.length,i)],a=e.list||[],s=f=>a[f],l=e.named||{};yt(e.pluralIndex)&&wR(n,l);const c=f=>l[f];function d(f){const x=Xe(e.messages)?e.messages(f):je(e.messages)?e.messages[f]:!1;return x||(e.parent?e.parent.message(f):yR)}const u=f=>e.modifiers?e.modifiers[f]:vR,h=_e(e.processor)&&Xe(e.processor.normalize)?e.processor.normalize:kR,m=_e(e.processor)&&Xe(e.processor.interpolate)?e.processor.interpolate:CR,g=_e(e.processor)&&le(e.processor.type)?e.processor.type:xR,p={list:s,named:c,plural:r,linked:(f,...x)=>{const[A,k]=x;let w="text",I="";x.length===1?je(A)?(I=A.modifier||I,w=A.type||w):le(A)&&(I=A||I):x.length===2&&(le(A)&&(I=A||I),le(k)&&(w=k||w));const C=d(f)(p),S=w==="vnode"&&ot(C)&&I?C[0]:C;return I?u(I)(S,w):S},message:d,type:g,interpolate:m,normalize:h,values:Dt({},a,l)};return p}let $r=null;function _R(e){$r=e}function PR(e,t,n){$r&&$r.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const AR=IR("function:translate");function IR(e){return t=>$r&&$r.emit(e,t)}const ER={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},g0=ke.__EXTEND_POINT__,Ro=ld(g0),Cn={INVALID_ARGUMENT:g0,INVALID_DATE_ARGUMENT:Ro(),INVALID_ISO_DATE_ARGUMENT:Ro(),NOT_SUPPORT_NON_STRING_MESSAGE:Ro(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Ro(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Ro(),NOT_SUPPORT_LOCALE_TYPE:Ro(),__EXTEND_POINT__:Ro()};function Mn(e){return ji(e,null,void 0)}function dd(e,t){return t.locale!=null?Hh(t.locale):Hh(e.locale)}let al;function Hh(e){if(le(e))return e;if(Xe(e)){if(e.resolvedOnce&&al!=null)return al;if(e.constructor.name==="Function"){const t=e();if(EE(t))throw Mn(Cn.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return al=t}else throw Mn(Cn.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Mn(Cn.NOT_SUPPORT_LOCALE_TYPE)}function RR(e,t,n){return[...new Set([n,...ot(t)?t:je(t)?Object.keys(t):le(t)?[t]:[n]])]}function m0(e,t,n){const o=le(n)?n:Ei,i=e;i.__localeChainCache||(i.__localeChainCache=new Map);let r=i.__localeChainCache.get(o);if(!r){r=[];let a=[n];for(;ot(a);)a=Bh(r,a,t);const s=ot(t)||!_e(t)?t:t.default?t.default:null;a=le(s)?[s]:s,ot(a)&&Bh(r,a,!1),i.__localeChainCache.set(o,r)}return r}function Bh(e,t,n){let o=!0;for(let i=0;i`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function $R(){return{upper:(e,t)=>t==="text"&&le(e)?e.toUpperCase():t==="vnode"&&je(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&le(e)?e.toLowerCase():t==="vnode"&&je(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&le(e)?zh(e):t==="vnode"&&je(e)&&"__v_isVNode"in e?zh(e.children):e}}let p0;function Fh(e){p0=e}let b0;function OR(e){b0=e}let v0;function HR(e){v0=e}let y0=null;const BR=e=>{y0=e},NR=()=>y0;let x0=null;const Wh=e=>{x0=e},zR=()=>x0;let jh=0;function FR(e={}){const t=Xe(e.onWarn)?e.onWarn:DE,n=le(e.version)?e.version:LR,o=le(e.locale)||Xe(e.locale)?e.locale:Ei,i=Xe(o)?Ei:o,r=ot(e.fallbackLocale)||_e(e.fallbackLocale)||le(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i,a=_e(e.messages)?e.messages:{[i]:{}},s=_e(e.datetimeFormats)?e.datetimeFormats:{[i]:{}},l=_e(e.numberFormats)?e.numberFormats:{[i]:{}},c=Dt({},e.modifiers||{},$R()),d=e.pluralRules||{},u=Xe(e.missing)?e.missing:null,h=$e(e.missingWarn)||bo(e.missingWarn)?e.missingWarn:!0,m=$e(e.fallbackWarn)||bo(e.fallbackWarn)?e.fallbackWarn:!0,g=!!e.fallbackFormat,v=!!e.unresolving,p=Xe(e.postTranslation)?e.postTranslation:null,f=_e(e.processor)?e.processor:null,x=$e(e.warnHtmlMessage)?e.warnHtmlMessage:!0,A=!!e.escapeParameter,k=Xe(e.messageCompiler)?e.messageCompiler:p0,w=Xe(e.messageResolver)?e.messageResolver:b0||pR,I=Xe(e.localeFallbacker)?e.localeFallbacker:v0||RR,C=je(e.fallbackContext)?e.fallbackContext:void 0,S=e,E=je(S.__datetimeFormatters)?S.__datetimeFormatters:new Map,R=je(S.__numberFormatters)?S.__numberFormatters:new Map,G=je(S.__meta)?S.__meta:{};jh++;const M={version:n,cid:jh,locale:o,fallbackLocale:r,messages:a,modifiers:c,pluralRules:d,missing:u,missingWarn:h,fallbackWarn:m,fallbackFormat:g,unresolving:v,postTranslation:p,processor:f,warnHtmlMessage:x,escapeParameter:A,messageCompiler:k,messageResolver:w,localeFallbacker:I,fallbackContext:C,onWarn:t,__meta:G};return M.datetimeFormats=s,M.numberFormats=l,M.__datetimeFormatters=E,M.__numberFormatters=R,__INTLIFY_PROD_DEVTOOLS__&&PR(M,n,G),M}function ud(e,t,n,o,i){const{missing:r,onWarn:a}=e;if(r!==null){const s=r(e,n,t,i);return le(s)?s:t}else return t}function er(e,t,n){const o=e;o.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function sl(e){return n=>WR(n,e)}function WR(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const o=n,i=o.c||o.cases;return e.plural(i.reduce((r,a)=>[...r,Gh(e,a)],[]))}else return Gh(e,n)}function Gh(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const o=(t.i||t.items).reduce((i,r)=>[...i,Vl(e,r)],[]);return e.normalize(o)}}function Vl(e,t){const n=t.t||t.type;switch(n){case 3:const o=t;return o.v||o.value;case 9:const i=t;return i.v||i.value;case 4:const r=t;return e.interpolate(e.named(r.k||r.key));case 5:const a=t;return e.interpolate(e.list(a.i!=null?a.i:a.index));case 6:const s=t,l=s.m||s.modifier;return e.linked(Vl(e,s.k||s.key),l?Vl(e,l):void 0,e.type);case 7:const c=t;return c.v||c.value;case 8:const d=t;return d.v||d.value;default:throw new Error(`unhandled node type on format message part: ${n}`)}}const k0=e=>e;let mi=Object.create(null);const Ri=e=>je(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function C0(e,t={}){let n=!1;const o=t.onError||NE;return t.onError=i=>{n=!0,o(i)},{...lR(e,t),detectError:n}}const jR=(e,t)=>{if(!le(e))throw Mn(Cn.NOT_SUPPORT_NON_STRING_MESSAGE);{$e(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||k0)(e),i=mi[o];if(i)return i;const{code:r,detectError:a}=C0(e,t),s=new Function(`return ${r}`)();return a?s:mi[o]=s}};function GR(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&le(e)){$e(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||k0)(e),i=mi[o];if(i)return i;const{ast:r,detectError:a}=C0(e,{...t,location:!1,jit:!0}),s=sl(r);return a?s:mi[o]=s}else{const n=e.cacheKey;if(n){const o=mi[n];return o||(mi[n]=sl(e))}else return sl(e)}}const Vh=()=>"",dn=e=>Xe(e);function Kh(e,...t){const{fallbackFormat:n,postTranslation:o,unresolving:i,messageCompiler:r,fallbackLocale:a,messages:s}=e,[l,c]=Kl(...t),d=$e(c.missingWarn)?c.missingWarn:e.missingWarn,u=$e(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,h=$e(c.escapeParameter)?c.escapeParameter:e.escapeParameter,m=!!c.resolvedMessage,g=le(c.default)||$e(c.default)?$e(c.default)?r?l:()=>l:c.default:n?r?l:()=>l:"",v=n||g!=="",p=dd(e,c);h&&VR(c);let[f,x,A]=m?[l,p,s[p]||{}]:T0(e,l,p,a,u,d),k=f,w=l;if(!m&&!(le(k)||Ri(k)||dn(k))&&v&&(k=g,w=k),!m&&(!(le(k)||Ri(k)||dn(k))||!le(x)))return i?Es:l;let I=!1;const C=()=>{I=!0},S=dn(k)?k:w0(e,l,x,k,w,C);if(I)return k;const E=qR(e,x,A,c),R=SR(E),G=KR(e,S,R),M=o?o(G,l):G;if(__INTLIFY_PROD_DEVTOOLS__){const q={timestamp:Date.now(),key:le(l)?l:dn(k)?k.key:"",locale:x||(dn(k)?k.locale:""),format:le(k)?k:dn(k)?k.source:"",message:M};q.meta=Dt({},e.__meta,NR()||{}),AR(q)}return M}function VR(e){ot(e.list)?e.list=e.list.map(t=>le(t)?Eh(t):t):je(e.named)&&Object.keys(e.named).forEach(t=>{le(e.named[t])&&(e.named[t]=Eh(e.named[t]))})}function T0(e,t,n,o,i,r){const{messages:a,onWarn:s,messageResolver:l,localeFallbacker:c}=e,d=c(e,o,n);let u={},h,m=null;const g="translate";for(let v=0;vo;return c.locale=n,c.key=t,c}const l=a(o,UR(e,n,i,o,s,r));return l.locale=n,l.key=t,l.source=o,l}function KR(e,t,n){return t(n)}function Kl(...e){const[t,n,o]=e,i={};if(!le(t)&&!yt(t)&&!dn(t)&&!Ri(t))throw Mn(Cn.INVALID_ARGUMENT);const r=yt(t)?String(t):(dn(t),t);return yt(n)?i.plural=n:le(n)?i.default=n:_e(n)&&!Is(n)?i.named=n:ot(n)&&(i.list=n),yt(o)?i.plural=o:le(o)?i.default=o:_e(o)&&Dt(i,o),[r,i]}function UR(e,t,n,o,i,r){return{locale:t,key:n,warnHtmlMessage:i,onError:a=>{throw r&&r(a),a},onCacheKey:a=>_E(t,n,a)}}function qR(e,t,n,o){const{modifiers:i,pluralRules:r,messageResolver:a,fallbackLocale:s,fallbackWarn:l,missingWarn:c,fallbackContext:d}=e,h={locale:t,modifiers:i,pluralRules:r,messages:m=>{let g=a(n,m);if(g==null&&d){const[,,v]=T0(d,m,t,s,l,c);g=a(v,m)}if(le(g)||Ri(g)){let v=!1;const f=w0(e,m,t,g,m,()=>{v=!0});return v?Vh:f}else return dn(g)?g:Vh}};return e.processor&&(h.processor=e.processor),o.list&&(h.list=o.list),o.named&&(h.named=o.named),yt(o.plural)&&(h.pluralIndex=o.plural),h}function Uh(e,...t){const{datetimeFormats:n,unresolving:o,fallbackLocale:i,onWarn:r,localeFallbacker:a}=e,{__datetimeFormatters:s}=e,[l,c,d,u]=Ul(...t),h=$e(d.missingWarn)?d.missingWarn:e.missingWarn;$e(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const m=!!d.part,g=dd(e,d),v=a(e,i,g);if(!le(l)||l==="")return new Intl.DateTimeFormat(g,u).format(c);let p={},f,x=null;const A="datetime format";for(let I=0;I{S0.includes(l)?a[l]=n[l]:r[l]=n[l]}),le(o)?r.locale=o:_e(o)&&(a=o),_e(i)&&(a=i),[r.key||"",s,r,a]}function qh(e,t,n){const o=e;for(const i in n){const r=`${t}__${i}`;o.__datetimeFormatters.has(r)&&o.__datetimeFormatters.delete(r)}}function Xh(e,...t){const{numberFormats:n,unresolving:o,fallbackLocale:i,onWarn:r,localeFallbacker:a}=e,{__numberFormatters:s}=e,[l,c,d,u]=ql(...t),h=$e(d.missingWarn)?d.missingWarn:e.missingWarn;$e(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const m=!!d.part,g=dd(e,d),v=a(e,i,g);if(!le(l)||l==="")return new Intl.NumberFormat(g,u).format(c);let p={},f,x=null;const A="number format";for(let I=0;I{_0.includes(l)?a[l]=n[l]:r[l]=n[l]}),le(o)?r.locale=o:_e(o)&&(a=o),_e(i)&&(a=i),[r.key||"",s,r,a]}function Zh(e,t,n){const o=e;for(const i in n){const r=`${t}__${i}`;o.__numberFormatters.has(r)&&o.__numberFormatters.delete(r)}}cR();/*! + */function lR(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Wn().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Wn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Wn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const Co=[];Co[0]={w:[0],i:[3,0],"[":[4],o:[7]};Co[1]={w:[1],".":[2],"[":[4],o:[7]};Co[2]={w:[2],i:[3,0],0:[3,0]};Co[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Co[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Co[5]={"'":[4,0],o:8,l:[5,0]};Co[6]={'"':[4,0],o:8,l:[6,0]};const cR=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function dR(e){return cR.test(e)}function uR(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 hR(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 fR(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:dR(t)?uR(t):"*"+t}function gR(e){const t=[];let n=-1,o=0,i=0,r,a,s,l,c,d,u;const h=[];h[0]=()=>{a===void 0?a=s:a+=s},h[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},h[2]=()=>{h[0](),i++},h[3]=()=>{if(i>0)i--,o=4,h[0]();else{if(i=0,a===void 0||(a=fR(a),a===!1))return!1;h[1]()}};function m(){const g=e[n+1];if(o===5&&g==="'"||o===6&&g==='"')return n++,s="\\"+g,h[0](),!0}for(;o!==null;)if(n++,r=e[n],!(r==="\\"&&m())){if(l=hR(r),u=Co[o],c=u[l]||u.l||8,c===8||(o=c[0],c[1]!==void 0&&(d=h[c[1]],d&&(s=r,d()===!1))))return;if(o===7)return t}}const $h=new Map;function mR(e,t){return je(e)?e[t]:null}function pR(e,t){if(!je(e))return null;let n=$h.get(t);if(n||(n=gR(t),n&&$h.set(t,n)),!n)return null;const o=n.length;let i=e,r=0;for(;re,vR=e=>"",yR="text",xR=e=>e.length===0?"":RE(e),kR=EE;function Oh(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function CR(e){const t=yt(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(yt(e.named.count)||yt(e.named.n))?yt(e.named.count)?e.named.count:yt(e.named.n)?e.named.n:t:t}function TR(e,t){t.count||(t.count=e),t.n||(t.n=e)}function wR(e={}){const t=e.locale,n=CR(e),o=je(e.pluralRules)&&le(t)&&Xe(e.pluralRules[t])?e.pluralRules[t]:Oh,i=je(e.pluralRules)&&le(t)&&Xe(e.pluralRules[t])?Oh:void 0,r=f=>f[o(n,f.length,i)],a=e.list||[],s=f=>a[f],l=e.named||{};yt(e.pluralIndex)&&TR(n,l);const c=f=>l[f];function d(f){const x=Xe(e.messages)?e.messages(f):je(e.messages)?e.messages[f]:!1;return x||(e.parent?e.parent.message(f):vR)}const u=f=>e.modifiers?e.modifiers[f]:bR,h=_e(e.processor)&&Xe(e.processor.normalize)?e.processor.normalize:xR,m=_e(e.processor)&&Xe(e.processor.interpolate)?e.processor.interpolate:kR,g=_e(e.processor)&&le(e.processor.type)?e.processor.type:yR,p={list:s,named:c,plural:r,linked:(f,...x)=>{const[A,k]=x;let w="text",I="";x.length===1?je(A)?(I=A.modifier||I,w=A.type||w):le(A)&&(I=A||I):x.length===2&&(le(A)&&(I=A||I),le(k)&&(w=k||w));const C=d(f)(p),S=w==="vnode"&&ot(C)&&I?C[0]:C;return I?u(I)(S,w):S},message:d,type:g,interpolate:m,normalize:h,values:Dt({},a,l)};return p}let $r=null;function SR(e){$r=e}function _R(e,t,n){$r&&$r.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const PR=AR("function:translate");function AR(e){return t=>$r&&$r.emit(e,t)}const IR={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},g0=ke.__EXTEND_POINT__,Ro=ld(g0),Cn={INVALID_ARGUMENT:g0,INVALID_DATE_ARGUMENT:Ro(),INVALID_ISO_DATE_ARGUMENT:Ro(),NOT_SUPPORT_NON_STRING_MESSAGE:Ro(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Ro(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Ro(),NOT_SUPPORT_LOCALE_TYPE:Ro(),__EXTEND_POINT__:Ro()};function Mn(e){return ji(e,null,void 0)}function dd(e,t){return t.locale!=null?Hh(t.locale):Hh(e.locale)}let al;function Hh(e){if(le(e))return e;if(Xe(e)){if(e.resolvedOnce&&al!=null)return al;if(e.constructor.name==="Function"){const t=e();if(IE(t))throw Mn(Cn.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return al=t}else throw Mn(Cn.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Mn(Cn.NOT_SUPPORT_LOCALE_TYPE)}function ER(e,t,n){return[...new Set([n,...ot(t)?t:je(t)?Object.keys(t):le(t)?[t]:[n]])]}function m0(e,t,n){const o=le(n)?n:Ei,i=e;i.__localeChainCache||(i.__localeChainCache=new Map);let r=i.__localeChainCache.get(o);if(!r){r=[];let a=[n];for(;ot(a);)a=Bh(r,a,t);const s=ot(t)||!_e(t)?t:t.default?t.default:null;a=le(s)?[s]:s,ot(a)&&Bh(r,a,!1),i.__localeChainCache.set(o,r)}return r}function Bh(e,t,n){let o=!0;for(let i=0;i`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function LR(){return{upper:(e,t)=>t==="text"&&le(e)?e.toUpperCase():t==="vnode"&&je(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&le(e)?e.toLowerCase():t==="vnode"&&je(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&le(e)?zh(e):t==="vnode"&&je(e)&&"__v_isVNode"in e?zh(e.children):e}}let p0;function Fh(e){p0=e}let b0;function $R(e){b0=e}let v0;function OR(e){v0=e}let y0=null;const HR=e=>{y0=e},BR=()=>y0;let x0=null;const Wh=e=>{x0=e},NR=()=>x0;let jh=0;function zR(e={}){const t=Xe(e.onWarn)?e.onWarn:ME,n=le(e.version)?e.version:DR,o=le(e.locale)||Xe(e.locale)?e.locale:Ei,i=Xe(o)?Ei:o,r=ot(e.fallbackLocale)||_e(e.fallbackLocale)||le(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i,a=_e(e.messages)?e.messages:{[i]:{}},s=_e(e.datetimeFormats)?e.datetimeFormats:{[i]:{}},l=_e(e.numberFormats)?e.numberFormats:{[i]:{}},c=Dt({},e.modifiers||{},LR()),d=e.pluralRules||{},u=Xe(e.missing)?e.missing:null,h=$e(e.missingWarn)||bo(e.missingWarn)?e.missingWarn:!0,m=$e(e.fallbackWarn)||bo(e.fallbackWarn)?e.fallbackWarn:!0,g=!!e.fallbackFormat,v=!!e.unresolving,p=Xe(e.postTranslation)?e.postTranslation:null,f=_e(e.processor)?e.processor:null,x=$e(e.warnHtmlMessage)?e.warnHtmlMessage:!0,A=!!e.escapeParameter,k=Xe(e.messageCompiler)?e.messageCompiler:p0,w=Xe(e.messageResolver)?e.messageResolver:b0||mR,I=Xe(e.localeFallbacker)?e.localeFallbacker:v0||ER,C=je(e.fallbackContext)?e.fallbackContext:void 0,S=e,E=je(S.__datetimeFormatters)?S.__datetimeFormatters:new Map,R=je(S.__numberFormatters)?S.__numberFormatters:new Map,G=je(S.__meta)?S.__meta:{};jh++;const M={version:n,cid:jh,locale:o,fallbackLocale:r,messages:a,modifiers:c,pluralRules:d,missing:u,missingWarn:h,fallbackWarn:m,fallbackFormat:g,unresolving:v,postTranslation:p,processor:f,warnHtmlMessage:x,escapeParameter:A,messageCompiler:k,messageResolver:w,localeFallbacker:I,fallbackContext:C,onWarn:t,__meta:G};return M.datetimeFormats=s,M.numberFormats=l,M.__datetimeFormatters=E,M.__numberFormatters=R,__INTLIFY_PROD_DEVTOOLS__&&_R(M,n,G),M}function ud(e,t,n,o,i){const{missing:r,onWarn:a}=e;if(r!==null){const s=r(e,n,t,i);return le(s)?s:t}else return t}function er(e,t,n){const o=e;o.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function sl(e){return n=>FR(n,e)}function FR(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const o=n,i=o.c||o.cases;return e.plural(i.reduce((r,a)=>[...r,Gh(e,a)],[]))}else return Gh(e,n)}function Gh(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const o=(t.i||t.items).reduce((i,r)=>[...i,Vl(e,r)],[]);return e.normalize(o)}}function Vl(e,t){const n=t.t||t.type;switch(n){case 3:const o=t;return o.v||o.value;case 9:const i=t;return i.v||i.value;case 4:const r=t;return e.interpolate(e.named(r.k||r.key));case 5:const a=t;return e.interpolate(e.list(a.i!=null?a.i:a.index));case 6:const s=t,l=s.m||s.modifier;return e.linked(Vl(e,s.k||s.key),l?Vl(e,l):void 0,e.type);case 7:const c=t;return c.v||c.value;case 8:const d=t;return d.v||d.value;default:throw new Error(`unhandled node type on format message part: ${n}`)}}const k0=e=>e;let mi=Object.create(null);const Ri=e=>je(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function C0(e,t={}){let n=!1;const o=t.onError||BE;return t.onError=i=>{n=!0,o(i)},{...sR(e,t),detectError:n}}const WR=(e,t)=>{if(!le(e))throw Mn(Cn.NOT_SUPPORT_NON_STRING_MESSAGE);{$e(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||k0)(e),i=mi[o];if(i)return i;const{code:r,detectError:a}=C0(e,t),s=new Function(`return ${r}`)();return a?s:mi[o]=s}};function jR(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&le(e)){$e(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||k0)(e),i=mi[o];if(i)return i;const{ast:r,detectError:a}=C0(e,{...t,location:!1,jit:!0}),s=sl(r);return a?s:mi[o]=s}else{const n=e.cacheKey;if(n){const o=mi[n];return o||(mi[n]=sl(e))}else return sl(e)}}const Vh=()=>"",dn=e=>Xe(e);function Kh(e,...t){const{fallbackFormat:n,postTranslation:o,unresolving:i,messageCompiler:r,fallbackLocale:a,messages:s}=e,[l,c]=Kl(...t),d=$e(c.missingWarn)?c.missingWarn:e.missingWarn,u=$e(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,h=$e(c.escapeParameter)?c.escapeParameter:e.escapeParameter,m=!!c.resolvedMessage,g=le(c.default)||$e(c.default)?$e(c.default)?r?l:()=>l:c.default:n?r?l:()=>l:"",v=n||g!=="",p=dd(e,c);h&&GR(c);let[f,x,A]=m?[l,p,s[p]||{}]:T0(e,l,p,a,u,d),k=f,w=l;if(!m&&!(le(k)||Ri(k)||dn(k))&&v&&(k=g,w=k),!m&&(!(le(k)||Ri(k)||dn(k))||!le(x)))return i?Es:l;let I=!1;const C=()=>{I=!0},S=dn(k)?k:w0(e,l,x,k,w,C);if(I)return k;const E=UR(e,x,A,c),R=wR(E),G=VR(e,S,R),M=o?o(G,l):G;if(__INTLIFY_PROD_DEVTOOLS__){const q={timestamp:Date.now(),key:le(l)?l:dn(k)?k.key:"",locale:x||(dn(k)?k.locale:""),format:le(k)?k:dn(k)?k.source:"",message:M};q.meta=Dt({},e.__meta,BR()||{}),PR(q)}return M}function GR(e){ot(e.list)?e.list=e.list.map(t=>le(t)?Eh(t):t):je(e.named)&&Object.keys(e.named).forEach(t=>{le(e.named[t])&&(e.named[t]=Eh(e.named[t]))})}function T0(e,t,n,o,i,r){const{messages:a,onWarn:s,messageResolver:l,localeFallbacker:c}=e,d=c(e,o,n);let u={},h,m=null;const g="translate";for(let v=0;vo;return c.locale=n,c.key=t,c}const l=a(o,KR(e,n,i,o,s,r));return l.locale=n,l.key=t,l.source=o,l}function VR(e,t,n){return t(n)}function Kl(...e){const[t,n,o]=e,i={};if(!le(t)&&!yt(t)&&!dn(t)&&!Ri(t))throw Mn(Cn.INVALID_ARGUMENT);const r=yt(t)?String(t):(dn(t),t);return yt(n)?i.plural=n:le(n)?i.default=n:_e(n)&&!Is(n)?i.named=n:ot(n)&&(i.list=n),yt(o)?i.plural=o:le(o)?i.default=o:_e(o)&&Dt(i,o),[r,i]}function KR(e,t,n,o,i,r){return{locale:t,key:n,warnHtmlMessage:i,onError:a=>{throw r&&r(a),a},onCacheKey:a=>SE(t,n,a)}}function UR(e,t,n,o){const{modifiers:i,pluralRules:r,messageResolver:a,fallbackLocale:s,fallbackWarn:l,missingWarn:c,fallbackContext:d}=e,h={locale:t,modifiers:i,pluralRules:r,messages:m=>{let g=a(n,m);if(g==null&&d){const[,,v]=T0(d,m,t,s,l,c);g=a(v,m)}if(le(g)||Ri(g)){let v=!1;const f=w0(e,m,t,g,m,()=>{v=!0});return v?Vh:f}else return dn(g)?g:Vh}};return e.processor&&(h.processor=e.processor),o.list&&(h.list=o.list),o.named&&(h.named=o.named),yt(o.plural)&&(h.pluralIndex=o.plural),h}function Uh(e,...t){const{datetimeFormats:n,unresolving:o,fallbackLocale:i,onWarn:r,localeFallbacker:a}=e,{__datetimeFormatters:s}=e,[l,c,d,u]=Ul(...t),h=$e(d.missingWarn)?d.missingWarn:e.missingWarn;$e(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const m=!!d.part,g=dd(e,d),v=a(e,i,g);if(!le(l)||l==="")return new Intl.DateTimeFormat(g,u).format(c);let p={},f,x=null;const A="datetime format";for(let I=0;I{S0.includes(l)?a[l]=n[l]:r[l]=n[l]}),le(o)?r.locale=o:_e(o)&&(a=o),_e(i)&&(a=i),[r.key||"",s,r,a]}function qh(e,t,n){const o=e;for(const i in n){const r=`${t}__${i}`;o.__datetimeFormatters.has(r)&&o.__datetimeFormatters.delete(r)}}function Xh(e,...t){const{numberFormats:n,unresolving:o,fallbackLocale:i,onWarn:r,localeFallbacker:a}=e,{__numberFormatters:s}=e,[l,c,d,u]=ql(...t),h=$e(d.missingWarn)?d.missingWarn:e.missingWarn;$e(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const m=!!d.part,g=dd(e,d),v=a(e,i,g);if(!le(l)||l==="")return new Intl.NumberFormat(g,u).format(c);let p={},f,x=null;const A="number format";for(let I=0;I{_0.includes(l)?a[l]=n[l]:r[l]=n[l]}),le(o)?r.locale=o:_e(o)&&(a=o),_e(i)&&(a=i),[r.key||"",s,r,a]}function Zh(e,t,n){const o=e;for(const i in n){const r=`${t}__${i}`;o.__numberFormatters.has(r)&&o.__numberFormatters.delete(r)}}lR();/*! * vue-i18n v9.8.0 * (c) 2023 kazuya kawaguchi * Released under the MIT License. - */const XR="9.8.0";function ZR(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Wn().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Wn().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Wn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Wn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Wn().__INTLIFY_PROD_DEVTOOLS__=!1)}const P0=ER.__EXTEND_POINT__,no=ld(P0);no(),no(),no(),no(),no(),no(),no(),no();const A0=Cn.__EXTEND_POINT__,Xt=ld(A0),xt={UNEXPECTED_RETURN_TYPE:A0,INVALID_ARGUMENT:Xt(),MUST_BE_CALL_SETUP_TOP:Xt(),NOT_INSTALLED:Xt(),NOT_AVAILABLE_IN_LEGACY_MODE:Xt(),REQUIRED_VALUE:Xt(),INVALID_VALUE:Xt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Xt(),NOT_INSTALLED_WITH_PROVIDE:Xt(),UNEXPECTED_ERROR:Xt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Xt(),BRIDGE_SUPPORT_VUE_2_ONLY:Xt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Xt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Xt(),__EXTEND_POINT__:Xt()};function St(e,...t){return ji(e,null,void 0)}const Xl=ko("__translateVNode"),Zl=ko("__datetimeParts"),Yl=ko("__numberParts"),I0=ko("__setPluralRules"),E0=ko("__injectWithOption"),Jl=ko("__dispose");function Or(e){if(!je(e))return e;for(const t in e)if(Lr(e,t))if(!t.includes("."))je(e[t])&&Or(e[t]);else{const n=t.split("."),o=n.length-1;let i=e,r=!1;for(let a=0;a{if("locale"in s&&"resource"in s){const{locale:l,resource:c}=s;l?(a[l]=a[l]||{},gr(c,a[l])):gr(c,a)}else le(s)&&gr(JSON.parse(s),a)}),i==null&&r)for(const s in a)Lr(a,s)&&Or(a[s]);return a}function R0(e){return e.type}function M0(e,t,n){let o=je(t.messages)?t.messages:{};"__i18nGlobal"in n&&(o=Rs(e.locale.value,{messages:o,__i18n:n.__i18nGlobal}));const i=Object.keys(o);i.length&&i.forEach(r=>{e.mergeLocaleMessage(r,o[r])});{if(je(t.datetimeFormats)){const r=Object.keys(t.datetimeFormats);r.length&&r.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(je(t.numberFormats)){const r=Object.keys(t.numberFormats);r.length&&r.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function Yh(e){return pe($i,null,e,0)}const Jh="__INTLIFY_META__",Qh=()=>[],YR=()=>!1;let ef=0;function tf(e){return(t,n,o,i)=>e(n,o,rn()||void 0,i)}const JR=()=>{const e=rn();let t=null;return e&&(t=R0(e)[Jh])?{[Jh]:t}:null};function hd(e={},t){const{__root:n,__injectWithOption:o}=e,i=n===void 0,r=e.flatJson;let a=$e(e.inheritLocale)?e.inheritLocale:!0;const s=j(n&&a?n.locale.value:le(e.locale)?e.locale:Ei),l=j(n&&a?n.fallbackLocale.value:le(e.fallbackLocale)||ot(e.fallbackLocale)||_e(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),c=j(Rs(s.value,e)),d=j(_e(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),u=j(_e(e.numberFormats)?e.numberFormats:{[s.value]:{}});let h=n?n.missingWarn:$e(e.missingWarn)||bo(e.missingWarn)?e.missingWarn:!0,m=n?n.fallbackWarn:$e(e.fallbackWarn)||bo(e.fallbackWarn)?e.fallbackWarn:!0,g=n?n.fallbackRoot:$e(e.fallbackRoot)?e.fallbackRoot:!0,v=!!e.fallbackFormat,p=Xe(e.missing)?e.missing:null,f=Xe(e.missing)?tf(e.missing):null,x=Xe(e.postTranslation)?e.postTranslation:null,A=n?n.warnHtmlMessage:$e(e.warnHtmlMessage)?e.warnHtmlMessage:!0,k=!!e.escapeParameter;const w=n?n.modifiers:_e(e.modifiers)?e.modifiers:{};let I=e.pluralRules||n&&n.pluralRules,C;C=(()=>{i&&Wh(null);const D={version:XR,locale:s.value,fallbackLocale:l.value,messages:c.value,modifiers:w,pluralRules:I,missing:f===null?void 0:f,missingWarn:h,fallbackWarn:m,fallbackFormat:v,unresolving:!0,postTranslation:x===null?void 0:x,warnHtmlMessage:A,escapeParameter:k,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};D.datetimeFormats=d.value,D.numberFormats=u.value,D.__datetimeFormatters=_e(C)?C.__datetimeFormatters:void 0,D.__numberFormatters=_e(C)?C.__numberFormatters:void 0;const H=FR(D);return i&&Wh(H),H})(),er(C,s.value,l.value);function E(){return[s.value,l.value,c.value,d.value,u.value]}const R=z({get:()=>s.value,set:D=>{s.value=D,C.locale=s.value}}),G=z({get:()=>l.value,set:D=>{l.value=D,C.fallbackLocale=l.value,er(C,s.value,D)}}),M=z(()=>c.value),q=z(()=>d.value),ee=z(()=>u.value);function O(){return Xe(x)?x:null}function V(D){x=D,C.postTranslation=D}function W(){return p}function oe(D){D!==null&&(f=tf(D)),p=D,C.missing=f}const fe=(D,H,de,be,Me,Ge)=>{E();let it;try{__INTLIFY_PROD_DEVTOOLS__,i||(C.fallbackContext=n?zR():void 0),it=D(C)}finally{__INTLIFY_PROD_DEVTOOLS__,i||(C.fallbackContext=void 0)}if(de!=="translate exists"&&yt(it)&&it===Es||de==="translate exists"&&!it){const[Ut,To]=H();return n&&g?be(n):Me(Ut)}else{if(Ge(it))return it;throw St(xt.UNEXPECTED_RETURN_TYPE)}};function we(...D){return fe(H=>Reflect.apply(Kh,null,[H,...D]),()=>Kl(...D),"translate",H=>Reflect.apply(H.t,H,[...D]),H=>H,H=>le(H))}function De(...D){const[H,de,be]=D;if(be&&!je(be))throw St(xt.INVALID_ARGUMENT);return we(H,de,Dt({resolvedMessage:!0},be||{}))}function Le(...D){return fe(H=>Reflect.apply(Uh,null,[H,...D]),()=>Ul(...D),"datetime format",H=>Reflect.apply(H.d,H,[...D]),()=>Nh,H=>le(H))}function mt(...D){return fe(H=>Reflect.apply(Xh,null,[H,...D]),()=>ql(...D),"number format",H=>Reflect.apply(H.n,H,[...D]),()=>Nh,H=>le(H))}function ct(D){return D.map(H=>le(H)||yt(H)||$e(H)?Yh(String(H)):H)}const Ae={normalize:ct,interpolate:D=>D,type:"vnode"};function Ee(...D){return fe(H=>{let de;const be=H;try{be.processor=Ae,de=Reflect.apply(Kh,null,[be,...D])}finally{be.processor=null}return de},()=>Kl(...D),"translate",H=>H[Xl](...D),H=>[Yh(H)],H=>ot(H))}function Pt(...D){return fe(H=>Reflect.apply(Xh,null,[H,...D]),()=>ql(...D),"number format",H=>H[Yl](...D),Qh,H=>le(H)||ot(H))}function Te(...D){return fe(H=>Reflect.apply(Uh,null,[H,...D]),()=>Ul(...D),"datetime format",H=>H[Zl](...D),Qh,H=>le(H)||ot(H))}function dt(D){I=D,C.pluralRules=I}function bt(D,H){return fe(()=>{if(!D)return!1;const de=le(H)?H:s.value,be=y(de),Me=C.messageResolver(be,D);return Ri(Me)||dn(Me)||le(Me)},()=>[D],"translate exists",de=>Reflect.apply(de.te,de,[D,H]),YR,de=>$e(de))}function P(D){let H=null;const de=m0(C,l.value,s.value);for(let be=0;be{a&&(s.value=D,C.locale=D,er(C,s.value,l.value))}),Ze(n.fallbackLocale,D=>{a&&(l.value=D,C.fallbackLocale=D,er(C,s.value,l.value))}));const ie={id:ef,locale:R,fallbackLocale:G,get inheritLocale(){return a},set inheritLocale(D){a=D,D&&n&&(s.value=n.locale.value,l.value=n.fallbackLocale.value,er(C,s.value,l.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:M,get modifiers(){return w},get pluralRules(){return I||{}},get isGlobal(){return i},get missingWarn(){return h},set missingWarn(D){h=D,C.missingWarn=h},get fallbackWarn(){return m},set fallbackWarn(D){m=D,C.fallbackWarn=m},get fallbackRoot(){return g},set fallbackRoot(D){g=D},get fallbackFormat(){return v},set fallbackFormat(D){v=D,C.fallbackFormat=v},get warnHtmlMessage(){return A},set warnHtmlMessage(D){A=D,C.warnHtmlMessage=D},get escapeParameter(){return k},set escapeParameter(D){k=D,C.escapeParameter=D},t:we,getLocaleMessage:y,setLocaleMessage:_,mergeLocaleMessage:$,getPostTranslationHandler:O,setPostTranslationHandler:V,getMissingHandler:W,setMissingHandler:oe,[I0]:dt};return ie.datetimeFormats=q,ie.numberFormats=ee,ie.rt=De,ie.te=bt,ie.tm=b,ie.d=Le,ie.n=mt,ie.getDateTimeFormat=B,ie.setDateTimeFormat=Z,ie.mergeDateTimeFormat=ne,ie.getNumberFormat=X,ie.setNumberFormat=K,ie.mergeNumberFormat=ge,ie[E0]=o,ie[Xl]=Ee,ie[Zl]=Te,ie[Yl]=Pt,ie}function QR(e){const t=le(e.locale)?e.locale:Ei,n=le(e.fallbackLocale)||ot(e.fallbackLocale)||_e(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,o=Xe(e.missing)?e.missing:void 0,i=$e(e.silentTranslationWarn)||bo(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,r=$e(e.silentFallbackWarn)||bo(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=$e(e.fallbackRoot)?e.fallbackRoot:!0,s=!!e.formatFallbackMessages,l=_e(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,d=Xe(e.postTranslation)?e.postTranslation:void 0,u=le(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,h=!!e.escapeParameterHtml,m=$e(e.sync)?e.sync:!0;let g=e.messages;if(_e(e.sharedMessages)){const w=e.sharedMessages;g=Object.keys(w).reduce((C,S)=>{const E=C[S]||(C[S]={});return Dt(E,w[S]),C},g||{})}const{__i18n:v,__root:p,__injectWithOption:f}=e,x=e.datetimeFormats,A=e.numberFormats,k=e.flatJson;return{locale:t,fallbackLocale:n,messages:g,flatJson:k,datetimeFormats:x,numberFormats:A,missing:o,missingWarn:i,fallbackWarn:r,fallbackRoot:a,fallbackFormat:s,modifiers:l,pluralRules:c,postTranslation:d,warnHtmlMessage:u,escapeParameter:h,messageResolver:e.messageResolver,inheritLocale:m,__i18n:v,__root:p,__injectWithOption:f}}function Ql(e={},t){{const n=hd(QR(e)),{__extender:o}=e,i={id:n.id,get locale(){return n.locale.value},set locale(r){n.locale.value=r},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(r){n.fallbackLocale.value=r},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(r){},get missing(){return n.getMissingHandler()},set missing(r){n.setMissingHandler(r)},get silentTranslationWarn(){return $e(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(r){n.missingWarn=$e(r)?!r:r},get silentFallbackWarn(){return $e(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(r){n.fallbackWarn=$e(r)?!r:r},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(r){n.fallbackFormat=r},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(r){n.setPostTranslationHandler(r)},get sync(){return n.inheritLocale},set sync(r){n.inheritLocale=r},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(r){n.warnHtmlMessage=r!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(r){n.escapeParameter=r},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(r){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...r){const[a,s,l]=r,c={};let d=null,u=null;if(!le(a))throw St(xt.INVALID_ARGUMENT);const h=a;return le(s)?c.locale=s:ot(s)?d=s:_e(s)&&(u=s),ot(l)?d=l:_e(l)&&(u=l),Reflect.apply(n.t,n,[h,d||u||{},c])},rt(...r){return Reflect.apply(n.rt,n,[...r])},tc(...r){const[a,s,l]=r,c={plural:1};let d=null,u=null;if(!le(a))throw St(xt.INVALID_ARGUMENT);const h=a;return le(s)?c.locale=s:yt(s)?c.plural=s:ot(s)?d=s:_e(s)&&(u=s),le(l)?c.locale=l:ot(l)?d=l:_e(l)&&(u=l),Reflect.apply(n.t,n,[h,d||u||{},c])},te(r,a){return n.te(r,a)},tm(r){return n.tm(r)},getLocaleMessage(r){return n.getLocaleMessage(r)},setLocaleMessage(r,a){n.setLocaleMessage(r,a)},mergeLocaleMessage(r,a){n.mergeLocaleMessage(r,a)},d(...r){return Reflect.apply(n.d,n,[...r])},getDateTimeFormat(r){return n.getDateTimeFormat(r)},setDateTimeFormat(r,a){n.setDateTimeFormat(r,a)},mergeDateTimeFormat(r,a){n.mergeDateTimeFormat(r,a)},n(...r){return Reflect.apply(n.n,n,[...r])},getNumberFormat(r){return n.getNumberFormat(r)},setNumberFormat(r,a){n.setNumberFormat(r,a)},mergeNumberFormat(r,a){n.mergeNumberFormat(r,a)},getChoiceIndex(r,a){return-1}};return i.__extender=o,i}}const fd={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function eM({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((o,i)=>[...o,...i.type===He?i.children:[i]],[]):t.reduce((n,o)=>{const i=e[o];return i&&(n[o]=i()),n},{})}function D0(e){return He}const tM=se({name:"i18n-t",props:Dt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>yt(e)||!isNaN(e)}},fd),setup(e,t){const{slots:n,attrs:o}=t,i=e.i18n||Vr({useScope:e.scope,__useComponent:!0});return()=>{const r=Object.keys(n).filter(u=>u!=="_"),a={};e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=le(e.plural)?+e.plural:e.plural);const s=eM(t,r),l=i[Xl](e.keypath,s,a),c=Dt({},o),d=le(e.tag)||je(e.tag)?e.tag:D0();return T(d,c,l)}}}),nf=tM;function nM(e){return ot(e)&&!le(e[0])}function L0(e,t,n,o){const{slots:i,attrs:r}=t;return()=>{const a={part:!0};let s={};e.locale&&(a.locale=e.locale),le(e.format)?a.key=e.format:je(e.format)&&(le(e.format.key)&&(a.key=e.format.key),s=Object.keys(e.format).reduce((h,m)=>n.includes(m)?Dt({},h,{[m]:e.format[m]}):h,{}));const l=o(e.value,a,s);let c=[a.key];ot(l)?c=l.map((h,m)=>{const g=i[h.type],v=g?g({[h.type]:h.value,index:m,parts:l}):[h.value];return nM(v)&&(v[0].key=`${h.type}-${m}`),v}):le(l)&&(c=[l]);const d=Dt({},r),u=le(e.tag)||je(e.tag)?e.tag:D0();return T(u,d,c)}}const oM=se({name:"i18n-n",props:Dt({value:{type:Number,required:!0},format:{type:[String,Object]}},fd),setup(e,t){const n=e.i18n||Vr({useScope:"parent",__useComponent:!0});return L0(e,t,_0,(...o)=>n[Yl](...o))}}),of=oM,iM=se({name:"i18n-d",props:Dt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},fd),setup(e,t){const n=e.i18n||Vr({useScope:"parent",__useComponent:!0});return L0(e,t,S0,(...o)=>n[Zl](...o))}}),rf=iM;function rM(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const o=n.__getInstance(t);return o!=null?o.__composer:e.global.__composer}}function aM(e){const t=a=>{const{instance:s,modifiers:l,value:c}=a;if(!s||!s.$)throw St(xt.UNEXPECTED_ERROR);const d=rM(e,s.$),u=af(c);return[Reflect.apply(d.t,d,[...sf(u)]),d]};return{created:(a,s)=>{const[l,c]=t(s);jl&&e.global===c&&(a.__i18nWatcher=Ze(c.locale,()=>{s.instance&&s.instance.$forceUpdate()})),a.__composer=c,a.textContent=l},unmounted:a=>{jl&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:s})=>{if(a.__composer){const l=a.__composer,c=af(s);a.textContent=Reflect.apply(l.t,l,[...sf(c)])}},getSSRProps:a=>{const[s]=t(a);return{textContent:s}}}}function af(e){if(le(e))return{path:e};if(_e(e)){if(!("path"in e))throw St(xt.REQUIRED_VALUE,"path");return e}else throw St(xt.INVALID_VALUE)}function sf(e){const{path:t,locale:n,args:o,choice:i,plural:r}=e,a={},s=o||{};return le(n)&&(a.locale=n),yt(i)&&(a.plural=i),yt(r)&&(a.plural=r),[t,s,a]}function sM(e,t,...n){const o=_e(n[0])?n[0]:{},i=!!o.useI18nComponentName;($e(o.globalInstall)?o.globalInstall:!0)&&([i?"i18n":nf.name,"I18nT"].forEach(a=>e.component(a,nf)),[of.name,"I18nN"].forEach(a=>e.component(a,of)),[rf.name,"I18nD"].forEach(a=>e.component(a,rf))),e.directive("t",aM(t))}function lM(e,t,n){return{beforeCreate(){const o=rn();if(!o)throw St(xt.UNEXPECTED_ERROR);const i=this.$options;if(i.i18n){const r=i.i18n;if(i.__i18n&&(r.__i18n=i.__i18n),r.__root=t,this===this.$root)this.$i18n=lf(e,r);else{r.__injectWithOption=!0,r.__extender=n.__vueI18nExtend,this.$i18n=Ql(r);const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}}else if(i.__i18n)if(this===this.$root)this.$i18n=lf(e,i);else{this.$i18n=Ql({__i18n:i.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}else this.$i18n=e;i.__i18nGlobal&&M0(t,i,i),this.$t=(...r)=>this.$i18n.t(...r),this.$rt=(...r)=>this.$i18n.rt(...r),this.$tc=(...r)=>this.$i18n.tc(...r),this.$te=(r,a)=>this.$i18n.te(r,a),this.$d=(...r)=>this.$i18n.d(...r),this.$n=(...r)=>this.$i18n.n(...r),this.$tm=r=>this.$i18n.tm(r),n.__setInstance(o,this.$i18n)},mounted(){},unmounted(){const o=rn();if(!o)throw St(xt.UNEXPECTED_ERROR);const i=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,i.__disposer&&(i.__disposer(),delete i.__disposer,delete i.__extender),n.__deleteInstance(o),delete this.$i18n}}}function lf(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[I0](t.pluralizationRules||e.pluralizationRules);const n=Rs(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(o=>e.mergeLocaleMessage(o,n[o])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(o=>e.mergeDateTimeFormat(o,t.datetimeFormats[o])),t.numberFormats&&Object.keys(t.numberFormats).forEach(o=>e.mergeNumberFormat(o,t.numberFormats[o])),e}const cM=ko("global-vue-i18n");function dM(e={},t){const n=__VUE_I18N_LEGACY_API__&&$e(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,o=$e(e.globalInjection)?e.globalInjection:!0,i=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,r=new Map,[a,s]=uM(e,n),l=ko("");function c(h){return r.get(h)||null}function d(h,m){r.set(h,m)}function u(h){r.delete(h)}{const h={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return i},async install(m,...g){if(m.__VUE_I18N_SYMBOL__=l,m.provide(m.__VUE_I18N_SYMBOL__,h),_e(g[0])){const f=g[0];h.__composerExtend=f.__composerExtend,h.__vueI18nExtend=f.__vueI18nExtend}let v=null;!n&&o&&(v=xM(m,h.global)),__VUE_I18N_FULL_INSTALL__&&sM(m,h,...g),__VUE_I18N_LEGACY_API__&&n&&m.mixin(lM(s,s.__composer,h));const p=m.unmount;m.unmount=()=>{v&&v(),h.dispose(),p()}},get global(){return s},dispose(){a.stop()},__instances:r,__getInstance:c,__setInstance:d,__deleteInstance:u};return h}}function Vr(e={}){const t=rn();if(t==null)throw St(xt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw St(xt.NOT_INSTALLED);const n=hM(t),o=gM(n),i=R0(t),r=fM(e,i);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw St(xt.NOT_AVAILABLE_IN_LEGACY_MODE);return vM(t,r,o,e)}if(r==="global")return M0(o,e,i),o;if(r==="parent"){let l=mM(n,t,e.__useComponent);return l==null&&(l=o),l}const a=n;let s=a.__getInstance(t);if(s==null){const l=Dt({},e);"__i18n"in i&&(l.__i18n=i.__i18n),o&&(l.__root=o),s=hd(l),a.__composerExtend&&(s[Jl]=a.__composerExtend(s)),bM(a,t,s),a.__setInstance(t,s)}return s}function uM(e,t,n){const o=ac();{const i=__VUE_I18N_LEGACY_API__&&t?o.run(()=>Ql(e)):o.run(()=>hd(e));if(i==null)throw St(xt.UNEXPECTED_ERROR);return[o,i]}}function hM(e){{const t=Ie(e.isCE?cM:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw St(e.isCE?xt.NOT_INSTALLED_WITH_PROVIDE:xt.UNEXPECTED_ERROR);return t}}function fM(e,t){return Is(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function gM(e){return e.mode==="composition"?e.global:e.global.__composer}function mM(e,t,n=!1){let o=null;const i=t.root;let r=pM(t,n);for(;r!=null;){const a=e;if(e.mode==="composition")o=a.__getInstance(r);else if(__VUE_I18N_LEGACY_API__){const s=a.__getInstance(r);s!=null&&(o=s.__composer,n&&o&&!o[E0]&&(o=null))}if(o!=null||i===r)break;r=r.parent}return o}function pM(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function bM(e,t,n){Lt(()=>{},t),xc(()=>{const o=n;e.__deleteInstance(t);const i=o[Jl];i&&(i(),delete o[Jl])},t)}function vM(e,t,n,o={}){const i=t==="local",r=gc(null);if(i&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw St(xt.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const a=$e(o.inheritLocale)?o.inheritLocale:!le(o.locale),s=j(!i||a?n.locale.value:le(o.locale)?o.locale:Ei),l=j(!i||a?n.fallbackLocale.value:le(o.fallbackLocale)||ot(o.fallbackLocale)||_e(o.fallbackLocale)||o.fallbackLocale===!1?o.fallbackLocale:s.value),c=j(Rs(s.value,o)),d=j(_e(o.datetimeFormats)?o.datetimeFormats:{[s.value]:{}}),u=j(_e(o.numberFormats)?o.numberFormats:{[s.value]:{}}),h=i?n.missingWarn:$e(o.missingWarn)||bo(o.missingWarn)?o.missingWarn:!0,m=i?n.fallbackWarn:$e(o.fallbackWarn)||bo(o.fallbackWarn)?o.fallbackWarn:!0,g=i?n.fallbackRoot:$e(o.fallbackRoot)?o.fallbackRoot:!0,v=!!o.fallbackFormat,p=Xe(o.missing)?o.missing:null,f=Xe(o.postTranslation)?o.postTranslation:null,x=i?n.warnHtmlMessage:$e(o.warnHtmlMessage)?o.warnHtmlMessage:!0,A=!!o.escapeParameter,k=i?n.modifiers:_e(o.modifiers)?o.modifiers:{},w=o.pluralRules||i&&n.pluralRules;function I(){return[s.value,l.value,c.value,d.value,u.value]}const C=z({get:()=>r.value?r.value.locale.value:s.value,set:y=>{r.value&&(r.value.locale.value=y),s.value=y}}),S=z({get:()=>r.value?r.value.fallbackLocale.value:l.value,set:y=>{r.value&&(r.value.fallbackLocale.value=y),l.value=y}}),E=z(()=>r.value?r.value.messages.value:c.value),R=z(()=>d.value),G=z(()=>u.value);function M(){return r.value?r.value.getPostTranslationHandler():f}function q(y){r.value&&r.value.setPostTranslationHandler(y)}function ee(){return r.value?r.value.getMissingHandler():p}function O(y){r.value&&r.value.setMissingHandler(y)}function V(y){return I(),y()}function W(...y){return r.value?V(()=>Reflect.apply(r.value.t,null,[...y])):V(()=>"")}function oe(...y){return r.value?Reflect.apply(r.value.rt,null,[...y]):""}function fe(...y){return r.value?V(()=>Reflect.apply(r.value.d,null,[...y])):V(()=>"")}function we(...y){return r.value?V(()=>Reflect.apply(r.value.n,null,[...y])):V(()=>"")}function De(y){return r.value?r.value.tm(y):{}}function Le(y,_){return r.value?r.value.te(y,_):!1}function mt(y){return r.value?r.value.getLocaleMessage(y):{}}function ct(y,_){r.value&&(r.value.setLocaleMessage(y,_),c.value[y]=_)}function Je(y,_){r.value&&r.value.mergeLocaleMessage(y,_)}function Ae(y){return r.value?r.value.getDateTimeFormat(y):{}}function Ee(y,_){r.value&&(r.value.setDateTimeFormat(y,_),d.value[y]=_)}function Pt(y,_){r.value&&r.value.mergeDateTimeFormat(y,_)}function Te(y){return r.value?r.value.getNumberFormat(y):{}}function dt(y,_){r.value&&(r.value.setNumberFormat(y,_),u.value[y]=_)}function bt(y,_){r.value&&r.value.mergeNumberFormat(y,_)}const P={get id(){return r.value?r.value.id:-1},locale:C,fallbackLocale:S,messages:E,datetimeFormats:R,numberFormats:G,get inheritLocale(){return r.value?r.value.inheritLocale:a},set inheritLocale(y){r.value&&(r.value.inheritLocale=y)},get availableLocales(){return r.value?r.value.availableLocales:Object.keys(c.value)},get modifiers(){return r.value?r.value.modifiers:k},get pluralRules(){return r.value?r.value.pluralRules:w},get isGlobal(){return r.value?r.value.isGlobal:!1},get missingWarn(){return r.value?r.value.missingWarn:h},set missingWarn(y){r.value&&(r.value.missingWarn=y)},get fallbackWarn(){return r.value?r.value.fallbackWarn:m},set fallbackWarn(y){r.value&&(r.value.missingWarn=y)},get fallbackRoot(){return r.value?r.value.fallbackRoot:g},set fallbackRoot(y){r.value&&(r.value.fallbackRoot=y)},get fallbackFormat(){return r.value?r.value.fallbackFormat:v},set fallbackFormat(y){r.value&&(r.value.fallbackFormat=y)},get warnHtmlMessage(){return r.value?r.value.warnHtmlMessage:x},set warnHtmlMessage(y){r.value&&(r.value.warnHtmlMessage=y)},get escapeParameter(){return r.value?r.value.escapeParameter:A},set escapeParameter(y){r.value&&(r.value.escapeParameter=y)},t:W,getPostTranslationHandler:M,setPostTranslationHandler:q,getMissingHandler:ee,setMissingHandler:O,rt:oe,d:fe,n:we,tm:De,te:Le,getLocaleMessage:mt,setLocaleMessage:ct,mergeLocaleMessage:Je,getDateTimeFormat:Ae,setDateTimeFormat:Ee,mergeDateTimeFormat:Pt,getNumberFormat:Te,setNumberFormat:dt,mergeNumberFormat:bt};function b(y){y.locale.value=s.value,y.fallbackLocale.value=l.value,Object.keys(c.value).forEach(_=>{y.mergeLocaleMessage(_,c.value[_])}),Object.keys(d.value).forEach(_=>{y.mergeDateTimeFormat(_,d.value[_])}),Object.keys(u.value).forEach(_=>{y.mergeNumberFormat(_,u.value[_])}),y.escapeParameter=A,y.fallbackFormat=v,y.fallbackRoot=g,y.fallbackWarn=m,y.missingWarn=h,y.warnHtmlMessage=x}return On(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw St(xt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const y=r.value=e.proxy.$i18n.__composer;t==="global"?(s.value=y.locale.value,l.value=y.fallbackLocale.value,c.value=y.messages.value,d.value=y.datetimeFormats.value,u.value=y.numberFormats.value):i&&b(y)}),P}const yM=["locale","fallbackLocale","availableLocales"],cf=["t","rt","d","n","tm","te"];function xM(e,t){const n=Object.create(null);return yM.forEach(i=>{const r=Object.getOwnPropertyDescriptor(t,i);if(!r)throw St(xt.UNEXPECTED_ERROR);const a=at(r.value)?{get(){return r.value.value},set(s){r.value.value=s}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,i,a)}),e.config.globalProperties.$i18n=n,cf.forEach(i=>{const r=Object.getOwnPropertyDescriptor(t,i);if(!r||!r.value)throw St(xt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${i}`,r)}),()=>{delete e.config.globalProperties.$i18n,cf.forEach(i=>{delete e.config.globalProperties[`$${i}`]})}}ZR();__INTLIFY_JIT_COMPILATION__?Fh(GR):Fh(jR);OR(bR);HR(m0);if(__INTLIFY_PROD_DEVTOOLS__){const e=Wn();e.__INTLIFY__=!0,_R(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const kM=UI().use(SE),CM=dM({locale:"zh",legacy:!1,messages:{en:{title:"Techmino Online Dictionary",back:"Back",search:"Search",tags:"Tags",copy_from:"Copied from",error:"Error",copied:"Copied successfully!",maker:"Created by"},ja:{title:"Techmino オンライン辞書",back:"戻る",search:"検索",tags:"タグ",copy_from:"コピー元",error:"エラー",copied:"コピーしました!",maker:"作成者"},zh:{title:"Techmino 在线词典",back:"返回",search:"搜点什么",tags:"标签",copy_from:"复制于",error:"出错了",copied:"复制成功!",maker:"制作者"},vi:{title:"Techmino Từ điển trực tuyến",back:"Quay lại",search:"Tìm kiếm",tags:"Thẻ",copy_from:"Sao chép từ",error:"Lỗi",copied:"Sao chép thành công!",maker:"Tạo bởi"}}}),ll={help:"#fdba74",org:"#fbb741",game:"#14a3c7",term:"#ff7f7f",setup:"#94a3b8",pattern:"#bfdfa5",command:"#0284c7",english:"#2563eb",name:"#7a5299"},TM=[{title:"Translator Note 1",tags:[],category:"help",content:'This is an English translation of the Simplified Chinese version of TetroDictionary.\\n\\nThe translation may not accurately reflect the original content in Simplified Chinese.\\n\\nFeel free to visit our GitHub page if you want to view the contributors or make contributions yourself. Click the globe icon in the bottom right corner to open the webpage.\\n\\nNote that this dictionary sometimes uses the terms \\"block\\", \\"piece\\", and \\"minoes\\" interchangeably; the terms \\"field\\" and \\"matrix\\" are also interchangeable.\\n\\nTranslated and corrected by User670 & C₂₉H₂₅N₃O₅ et al.',link:"https://github.com/26F-Studio/Techmino/blob/main/parts/language/dict_en.lua",id:"a4202b034ef51731afbd968c5732612c595c9bbe"},{title:"To New Players",tags:["guides","newbie","noob","readme","recommendations","suggestions","helps"],category:"help",content:'Here are our suggestions for new players of Tetris:\\nThe basics:\\n\\t\\t1. Choose a professional Tetris game with good controls. Games like Techmino, TETR.IO, Jstris, and Tetris Online are some good choices. Low quality games that deviate too much from the guidelines, or those with poor controls, are not good for your training.\\n\\t\\t2. Spend time building basic skills in the beginning. Try to spend more time on skills such as reading the next sequence and performing Tetrises consistently. Master the basics before trying more advanced skills like T-spins.\\nEssential skills:\\n\\t\\t1. Memorizing the spawn positions of the blocks.\\n\\t\\t2. Remembering the maneuvers to move the blocks to the desired locations.\\n\\t\\t3. Thinking ahead about where to place the blocks in the next sequences.\\n\\nThe globe button links to an article called \\"Suggestion for new players to Tetris Online\\" written by Tatianyi, a Chinese Tetris player (translated to English by User670).',link:"https://github.com/user670/temp/blob/master/tips_to_those_new_to_top.md",id:"0687abecb1ea80ef2bb72f117c262bfd761e1fd5"},{title:"Practice Recommendations",tags:["readme","noob","new","guides","recommendations","suggestions","helps"],category:"help",content:`Here are our recommendations for improving your Tetris skills. Having trouble improving your skills? Try relaxing and spending more time playing modes you enjoy. Have fun!\\n\\nHere are three sets of tasks that we feel are essential. Although the tasks within each group are ordered by difficulty, we recommend working on all three sets of tasks simultaneously (rather than one at a time).\\n\\nA. Stacking\\n\\tA1. Think twice before placing the block. If your first choice doesn't seem like a good fit, think again.\\n\\tA2. Keep the terrain flat, as this allows more placement possibilities for different blocks.\\n\\tA3. If you are playing a game mode that has Holds, think about the three blocks you can use — the current piece, the piece in the Hold, and the next piece. Think about the best order to place these blocks so that you can maintain a flat terrain for longer.\\nB. Efficiency & Speed\\n\\tB1. Do not rely too much on ghost pieces. Instead, think about what keys to press to get the piece to where you want it. Start manipulating the block when you have a clear idea in mind.\\n\\tB2. Use both rotation keys. Instead of rotating clockwise three times, try rotating counterclockwise just once.\\n\\tB3. It's okay to go slow when you first start learning Finesse. If you can get your keystrokes right in the beginning, it's not that hard to speed up once you've mastered it.\\nC. Stacking\\n\\tC1. Finish 40L without topping out.\\n\\tC2. Finish 40L with no Hold without topping out.\\n\\tC3. Finish 40L with Techrashes only.\\n\\tC4. Finish 40L with Techrashes only no Hold.\\n\\nSet C is more flexible for individual players, and you can also adjust the pace based on your own conditions (e.g., how stable is \\"stable\\" for you).\\n\\nKeep practicing A1 when you have finished set C. This is the most basic skill in all of Tetris, and it is easy to master everything else when you are a master of reading the Next sequence.`,link:"",id:"c0ac7760294e72a7b97ea6630123db3502b886dd"},{title:"Learning T-spins",tags:["tspins","learning","study","guides","tips","recommendations","suggestions","helps"],category:"help",content:"T-spin is a relatively advanced skill in Tetris. It is very hard to master T-spins by just focusing on the local terrain; good abilities of stacking and next-reading are also required to master this skill.\\n\\nWe strongly recommend that you master the basic skills (like stacking) before attempting to learn T-spins.\\n\\nWe recommend starting with T-Spins if you can meet the following criteria:\\n- Finishing 40L within 60 s (or 40–120s, based on personal conditions)\\n- Finishing 40L with Tetrises only\\n- Finishing 40L with Tetrises only and no Hold (without significantly slowing down)\\n\\nThis ensures that you are good at next-reading and planning.",link:"",id:"5cd6ed2e16a7d5f98ef5bda29dcfcb2d59f7320e"},{title:"Official Website",tags:["homepage","mainpage","websites"],category:"help",content:"The official website of Techmino!\\nYou can download the latest stable build of Techmino and change your profile there.\\nClick on the globe icon to open the website in your browser.",link:"http://studio26f.org",id:"051e31daedd281c3cab5e6128a9aa12d98468fa1"},{title:"Huiji Wiki",tags:["huiji","wiki"],category:"help",content:"(灰机wiki)\\nA Chinese Tetris wiki by Tetris enthusiasts from Chinese Tetris Research Community groups and affiliates. Most pages have been referenced and translated from Hard Drop Wiki and Tetris Wiki for now. Link in Simplified Chinese.",link:"https://tetris.huijiwiki.com",id:"42d751274648ebcdd498ed05651a6c1348916083"},{title:"Hard Drop Wiki",tags:["harddrop","hd","wiki"],category:"help",content:"A Tetris wiki hosted on the Hard Drop community.",link:"https://harddrop.com/wiki/Tetris_Wiki",id:"f1b54180b79dcab2e47154d00b06111768f96ba4"},{title:"Tetris Wiki",tags:["tetris","wiki"],category:"help",content:"A Tetris wiki focusing on Tetris-related content, created by Myndzi in 2015. Over the years, thousands of contributions have been made documenting official and fan Tetris games in the series, uncovering game mechanics, and creating guides to improve the gaming experience.",link:"https://tetris.wiki",id:"391eac4ba9910be23ce6ddc9931480e97dcbf980"},{title:"Tetris Wiki Fandom",tags:["tetris","wiki","fandom"],category:"help",content:"A Tetris wiki.",link:"https://tetris.fandom.com/wiki/Tetris_Wiki",id:"8ea80081c57541940cf70403d3796b066a9814ed"},{title:"Four.lol",tags:["four","wiki"],category:"help",content:"A website containing collections of various openers.",link:"https://four.lol",id:"52b4b9a1c6bedae73122783d9b0f733c6a9ce2ff"},{title:"Tetris Hall",tags:[],category:"help",content:"(テトリス堂)\\nA Japanese website with many setups, tutorials, and minigames. It has detailed descriptions of consecutive PCs. Link in Japanese.",link:"https://shiwehi.com/tetris/",id:"915cd283a16c2d03774e3f15edd78a4625742e57"},{title:"Tetris Template Collections",tags:[],category:"help",content:"(テトリステンプレ集@テト譜)\\nA Japanese website with a variety of setups and detailed categories. Most setups have images, so it is easier to share with others. Link in Japanese.",link:"https://w.atwiki.jp/tetrismaps/",id:"81f238b397514b641ec255c8b9ce578d8f955103"},{title:"tetristemplate.info",tags:[],category:"help",content:"(テトリスブログ - PerfectClear)\\nA Japanese website with some setups. It doesn't contain too many setups, but there are very detailed explanations. Link in Japanese.",link:"https://tetristemplate.info/",id:"d40ad538ee0415ecdc146b11b2e1cd3fd67ae860"},{title:"Fumen",tags:["fumen"],category:"help",content:"A Japanese Tetris field editor. Commonly used to share setups, PC solutions, and more. The linked website is translated into English.",link:"http://fumen.zui.jp/#english.js",id:"d0e3779a4195ae331a24e864388f35215908cabf"},{title:"Fumen for Mobile",tags:["fumenformobile","fm"],category:"help",content:"Fumen with touch screen support.",link:"https://knewjade.github.io/fumen-for-mobile/",id:"513718557f75b71e9df0f10e72c6fe17f472a12f"},{title:"Github Repository",tags:["githubrepository","sourcecode","src"],category:"org",content:"Techmino's official Github repository. Stars are appreciated.",link:"https://github.com/26F-Studio/Techmino",id:"315aeca958c382f06824df3fcbe166c17d612c19"},{title:"Discord Server",tags:["community","communities","discord","server"],category:"org",content:"Join the Techmino server and communicate with other players! Click on the globe icon below to open the link.",link:"https://discord.gg/f9pUvkh",id:"d19baa279f5469c994709939d6f98b82ee6afa18"},{title:"Tetris OL Servers",tags:["tetrisonline","servers","tos"],category:"org",content:'Google \\"Tetris Online Poland\\" for the Poland server.\\nClick on the globe icon for information on the Tetris Online Study server in China (by Teatube).',link:"https://teatube.cn/tos/",id:"aaef4a17ec03250986bc73b06c9a21ec38eebf7e"},{title:"Support 1",tags:["support","wechat","vx","weixin","alipay","zfb","zhifubao"],category:"org",content:"The contents in this entry were hidden due to platform restrictions. Feel free to discuss these contents on our Discord server.",link:"",id:"63e01f6305fd44f5529b9cfae41a6eb4932d1cd2"},{title:"Support 1",tags:["support","wechat","vx","weixin","alipay","zfb","zhifubao"],category:"org",content:'To donate to Techmino via WeChat Pay or Alipay, type \\"support\\" in console and scan the QR code.',link:"",id:"b1a5db8fdd98e57cf63c003917afbfa9732ba22b"},{title:"Support 2",tags:["support","afdian","aidadian"],category:"org",content:"The contents in this entry were hidden due to platform restrictions. Feel free to discuss these contents on our Discord server.",link:"",id:"2360d40332021acea6771ba3f2570ace6a4eec74"},{title:"Support 2",tags:["support","afdian","aidadian"],category:"org",content:"To donate to Techmino via Aifadian, use the globe icon on the bottom right to open the URL. Aifadian charges a 6% commision off your purchase.",link:"https://afdian.net/@MrZ_26",id:"f349c3bfd8cf4dc628ca7345a0045373b6964b36"},{title:"Support 3",tags:["support","patreon"],category:"org",content:"The contents in this entry were hidden due to platform restrictions. Feel free to discuss these contents on our Discord server.",link:"",id:"3439db5d8c4b26e87d5d70db80ba2b80aee146d6"},{title:"Support 3",tags:["support","patreon"],category:"org",content:"To donate to Techmino via Patreon, click on the globe icon on the bottom right to open the URL. Notice that Patreon may charge you a commision for transactions over a certain amount.",link:"https://www.patreon.com/techmino",id:"1d0e790c5035e72b16b550de068bc41e4b613cd1"},{title:"TTT",tags:["tetris","trainer","tres","bien","T.T.T."],category:"game",content:'Tetris Trainer Très-Bien (by こな \\"kona\\"). A hands-on tutorial of advanced techniques in Guideline Tetris (which only supports physical keyboards).\\nRecommended for players who can complete 40L with no Hold and Tetrises only.\\nIt covered topics such as T-Spin, finesse, SRS, and some battle setups.\\nThe link below is the English version of the website, translated by User670 (Originally in Japanese).',link:"https://user670.github.io/tetris-trainer-tres-bien/",id:"06c2f5784f0c2af2028553ceb1c466dfb6fc3cfe"},{title:"TTPC",tags:["tetris","perfect","clear","challenge","T.T.P.C."],category:"game",content:"Tetris Perfect Clear Challenge (by chokotia). A tutorial on Perfect Clear openers using SRS and Bag7 (which only supports physical keyboards). Recommended for players who completed TTT and are familiar with SRS.\\n\\nLink in English, originally in Japanese.",link:"https://teatube.cn/ttpc/ttpc/",id:"bc809a28d5082dd5e91ac2a14bc3d86cd4c91286"},{title:"NAZO",tags:["nazo"],category:"game",content:"(ナゾ)\\n\\nAll kinds of SRS puzzles ranging from easy to extremely hard, including T-spins and All spins. Recommended for players who completed TTT.\\n\\nLink translated to Simplified Chinese, originally in Japanese.",link:"https://teatube.cn/nazo/",id:"b30aa5227877725a049e81f42a5195fa39696a89"},{title:"TPO",tags:["nazo","T.P.O."],category:"game",content:"Tetris Puzzle O. A Chinese website created by TCV100 with some puzzles NAZO included.",link:"http://121.36.2.245:3000/tpo",id:"be1e2fb7f7331968dbabd1812907dcc559e0fa7a"},{title:"Side Note 1",tags:["note","nb","NB","DM","notice"],category:"game",content:"The following content contains brief introductions to some official and fan-made Tetris games with relatively high popularity. We do not guarantee that they cover every Tetris game. The author of Techmino (MrZ) has made some commentaries about some of these games, which are marked in brackets in the entries. They only represent the personal opinions and recommendations of the author and do not necessarily represent the objective qualities of the games.",link:"",id:"fad8777436240f704ff267552e9b2df73d3467e0"},{title:"King of Stackers",tags:["kos","kingofstackers"],category:"game",content:"Browser | Multiplayer | Mobile Support\\nKoS for short. A turn-based browser Tetris game. Players take turns placing blocks on their fields in 7-block cycles. Attacks only enter the field when a block is placed without clearing a line. The game is highly strategic and has several options for attack mechanics.",link:"https://kingofstackers.com/games.php",id:"1a8091911b83ef151ba031256caeedbd9d10c5a8"},{title:"Tetr.js",tags:["tetrjs","tetr.js"],category:"game",content:`Browser | Singleplayer | Mobile Support\\nA browser-based Tetris game with many advanced options and modes.\\nLink to Farter's Dig Mod (which itself is a mod of another Tetris fan game). You can also check another game on Tetris Wiki called \\"Tetr.js enhanced.\\"\\n\\n[MrZ: The visuals are simple with barely any animations. Only a few, fixed virtual key combinations are available for mobile devices.]`,link:"http://farter.cn/t",id:"ea913690c09b61c00baf22bbf5374c57a176bbaa"},{title:"Tetra Legends",tags:["tl","tetralegends"],category:"game",content:"Browser | Singleplayer | No Mobile Support\\nTL for short. A variety of single-player modes and two hidden rhythm modes. It also visualizes mechanisms usually hidden in other Tetris games. Development was halted in December 2020 for various reasons.",link:"https://tetralegends.app",id:"eeaa456499f5da0ca334a9635c2e445244b333ac"},{title:"Ascension",tags:["asc","ASC"],category:"game",content:"Browser | Singleplayer/Multiplayer\\nASC for short. It uses its own rotation system (also called ASC) and has many single-player modes. 1V1 modes are currently in alpha testing (April 16, 2022). The Stack mode in Techmino was also inspired by Ascension.",link:"https://asc.winternebs.com",id:"0d0ab0af000159054877018e257902841ddc8da8"},{title:"Jstris",tags:["js","jstris"],category:"game",content:"Browser | Singleplayer/Multiplayer | Mobile Support\\nJS for short. It has some single-player modes and some options that can be customized by the player. The virtual keys can also be customized to some extent, but this game has little (if any) animations.",link:"https://jstris.jezevec10.com",id:"0cd07f70c31e6afa20934d060e588a5d1c780596"},{title:"TETR.IO",tags:["io","tetrio","tetr.io"],category:"game",content:"Browser | Singleplayer/Multiplayer\\nIO for short. It has a ranking system and a custom game with many adjustable parameters. It also has desktop clients for better performance and no ads.",link:"https://tetr.io",id:"ae87ac388351ef624001512ede5c48e8050bd71f"},{title:"Nuketris",tags:["nuketris"],category:"game",content:"Browser | Singleplayer/Multiplayer\\nA block stacker game with 1V1 ranked matches and basic single-player modes.",link:"https://nuketris.com",id:"0e7650c03ef4d6f49f1c777a0fa6dcc92538e9ea"},{title:"Worldwide Combos",tags:["wwc","worldwidecombos"],category:"game",content:"Browser | Singleplayer/Multiplayer\\nWWC for short. It has worldwide 1V1 battles, recorded battles (which allows you to battle against recorded games), several different rulesets, and bomb-style garbage line battles.",link:"https://worldwidecombos.com",id:"cdad4cda0f2baffec483fe3f4dbb07238fedd5f4"},{title:"Tetris Friends",tags:["tf","tetrisfriends","notrisfoes"],category:"game",content:'Browser | Singleplayer/Multiplayer\\nTF for short. A defunct browser-based Tetris game. The game was very popular before shutting down a few years ago. There is a private server called \\"Notris Foes\\" that still exists. Click on the globe icon to open the webpage.',link:"https://notrisfoes.com",id:"aa93737a715eea7651a81bf577117efa50489d08"},{title:"tetris.com",tags:["tetris","online","official"],category:"game",content:'Browser | Singleplayer\\nThe official Tetris game on tetris.com, with only one mode (marathon). It supports a mouse-based \\"smart\\" control system.',link:"",id:"8dbd1ac0746709b8d9226562198a1c495209a770"},{title:"Tetris Gems",tags:["tetris","online","official","gem"],category:"game",content:"Browser | Singleplayer\\nAnother Tetris game from tetris.com. It has a gravity (cascade) mechanism, and each game lasts 1 minute (which can be extended by clearing lines with special gem blocks). There are three types of gem blocks with different abilities.",link:"",id:"4aded22adef1815f63b41029ee390feda4c36721"},{title:"Tetris Mind Bender",tags:["tetris","online","official","gem"],category:"game",content:'Browser | Singleplayer\\nAnother Tetris game from tetris.com. An endless marathon with special minos called \\"Mind Benders\\". Clearing a line with a Mind Bender gives you a random effect that either helps or hinders the game.',link:"",id:"a1e3ef60a4f7c07f856105d0c439f4463f91cf23"},{title:"Techmino",tags:["techmino"],category:"game",content:"Cross-Platform | Singleplayer/Multiplayer\\nTech for short. A block stacker game developed by MrZ (and other members of 26F Studio) using LÖVE. It has many single-player modes and customizable parameters, and online multiplayer modes are currently being developed.",link:"",id:"e376ddc533df85763061ff4be412a1a60fb83675"},{title:"Falling Lightblocks",tags:["fl","fallinglightblocks"],category:"game",content:"Browser/iOS/Android/Smart TV | Singleplayer/Multiplayer\\nA multiplatform Tetris game that can be played in portrait and landscape mode. It features fixed DAS and line clear ARE, and also customizable controls on mobile. Most modes are based on the classic NES Tetris, but there are also some modern modes. Battles are half turn-based, half real-time, and garbage cannot be buffered or canceled out.",link:"https://golfgl.de/lightblocks/",id:"f7461c3d8efcface25bdfd51efa07369b904a6de"},{title:"Cambridge",tags:["cambridge"],category:"game",content:"Cross-Platform | Singleplayer\\nA Tetris game developed using LÖVE, with the goal of creating a robust, easily customizable platform for creating new, custom game modes. Originally made by Joe Zeng, development of the game was taken over by Milla on October 8, 2020, starting with V0.1.5.\\n —Tetris Wiki",link:"",id:"ce2dcd4c27a8b2d87e463d472e2dacc2f6137643"},{title:"Nanamino",tags:["nanamino"],category:"game",content:"Windows/Android | Singleplayer\\nA fan game under development with an interesting original rotation system.",link:"",id:"9a9aba9a4d09df4bbebbb40a06e5b593a5a950cd"},{title:"TGM",tags:["tetrisgrandmaster","tetristhegrandmaster"],category:"game",content:"Arcade | Singleplayer/Local Multiplayer\\nTetris The Grand Master, an arcade Tetris series. Titles like S13 and GM originate from this series.\\n\\nTGM3 is the most well-known game in this series.",link:"",id:"42bea4123a6ac7cedcbcb48eb06354c3e41f08c9"},{title:"DTET",tags:["dtet"],category:"game",content:"Windows | Singleplayer\\nA game based on TGM's Classic rule with 20G and a powerful rotation system, with decent controls but no customization other than control mappings. The game is a bit hard to find now, and you may have to install the necessary DLL files manually.",link:"https://t-sp.in/dtet",id:"b0f79b3e269c6d5d91e9636a621484f58500d7a9"},{title:"Heboris",tags:["hb","heboris"],category:"game",content:"Windows | Singleplayer\\nA game with Arcade-ish play style, capable of simulating many modes of other Tetris games.",link:"",id:"3fef424a33e6a2c5d834490667adf79c68361070"},{title:"Texmaster",tags:["txm","texmaster"],category:"game",content:"Windows | Singleplayer\\nA game that includes all modes in TGM which can be used to practice TGM. Note that the World rule in the game is slightly different, such as instant-lock soft drops and slightly different kick tables.",link:"",id:"1f66aef719535f95dd293ee4af13783b66ff8552"},{title:"Tetris Effect",tags:["tec","tetriseffectconnected"],category:"game",content:"PS/Oculus Quest/Xbox/NS/Windows | Singleplayer/Multiplayer\\nOr TE(C) for short. An official Tetris game with elaborate graphics and soundtracks that react to the player's input. The basic version (Tetris Effect) has only single player modes. The extended version, Tetris Effect Connected, has four online battle modes: Connected (VS), Zone Battle, Score Attack, and Classic Score Attack.",link:"",id:"77b024d0923fc88a7328c1cd8e58d559714fbea5"},{title:"Tetris 99",tags:["t99","tetris99"],category:"game",content:"Nintendo Switch | Singleplayer/Multiplayer\\nA game famous for its 99-player battle royale mode and novel strategies not found in traditional battle Tetris games. The game's DLC includes limited single-player modes such as Marathon and Bot Matches.",link:"",id:"88fa220383a17af0f8feb7a8970c76d7c6acf600"},{title:"Puyo Puyo Tetris",tags:["ppt","puyopuyotetris"],category:"game",content:"PS/NS/Xbox/Windows | Singleplayer/multiplayer\\nAn official Tetris game featuring a combination of Tetris and Puyo Puyo, as well as battles between the two games. It also includes many single player and online modes.\\n\\n[MrZ: The Steam PC version has worse controls and poor online experience.]",link:"",id:"035496c78d4a01b8846ac74dd4a09746e53091d3"},{title:"Tetris Online",tags:["top","tetrisonline"],category:"game",content:"Windows | Singleplayer/Multiplayer\\nA defunct Japanese Tetris game with both online and single-player modes. Featuring custom DAS and ARR (but neither can be set to zero) and minimal input delays. Private servers are still available, and it's a good choice for new players to get started.",link:"",id:"3e969c11b86072e6af2e0281c1bf2c1538e60d7d"},{title:"Tetra Online",tags:["TO","tetraonline"],category:"game",content:"Windows/macOS/Linux | Singleplayer/Multiplayer\\nTO for short. A Tetris game developed by Dr Ocelot and Mine. Delay AREs are intentionally high; players who are used to zero delays may have trouble adjusting to the game.\\nThe game was removed from Steam on December 9, 2020 due to a DMCA takedown request filed by TTC.\\nAn offline build is still available for download on GitHub.",link:"https://github.com/Juan-Cartes/Tetra-Offline/releases/tag/1.0",id:"6cede01ac0733f3738cf6cd4e6c5983bcf2d8213"},{title:"Cultris II",tags:["c2","cultris2","cultrisii"],category:"game",content:"Windows/OS X | Singleplayer/Multiplayer\\nC2 for short. Based on classic Tetris, Cultris II supports customizable DAS and ARR. Battle mode focuses on time-based combos that challenge players' speed, n-wide setups, and downstacking skills.\\n\\n[MrZ: The Mac version was not being maintained for a long time. Any macOS build newer than macOS 10.15 Catalina cannot run this game at all.]",link:"",id:"20fd4d9af2f4b9bfe23253c0b8eb38916664ad8a"},{title:"Nullpomino",tags:["np","nullpomino"],category:"game",content:"Windows/macOS/Linux | Singleplayer/Multiplayer\\nNP for short. A highly-customizable professional Tetris game. Nearly every parameter in the game can be adjusted.\\n\\n[MrZ: It's UI style is like, retro. You can only control the game using keyboard, and new players may have some problems getting used to it. Also, it seems that macOS Monterey (or later) cannot run this game.]",link:"",id:"7828f9bff6b597b0cccc3d21a41fcb6c5863c969"},{title:"Misamino",tags:["misamino"],category:"game",content:"Windows | Single-player\\nA local 1V1 game with mainly turn-based mode. Supports running custom bots (but you have to learn their API).\\nMisamino is also the name of its built-in bot.",link:"",id:"1f2115b44e609c0ef002b5b57cdd6f77e525ca22"},{title:"Touhoumino",tags:["touhoumino"],category:"game",content:`Windows | Singleplayer\\nA fan-made Tetris game. A modification of Nullpomino with elements from Touhou Project. The Marathon mode features Touhou Project's \\"Spell Cards\\" (special effects added to the field to disrupt the game), which can only be broken by reaching a certain score requirement in a limited time.\\n\\n[MrZ: Recommended for players with at least half-decent skills, otherwise you don't even know how you died.]`,link:"",id:"f40fc44935f7ed9fd4caeeacd18b3d02ef25afd7"},{title:"Tetris Blitz",tags:["blitz","ea","mobile","phone"],category:"game",content:'iOS/Android | Singleplayer\\nA defunct official mobile Tetris game by Electronic Arts (EA), featuring a gravity mechanism. Many Minos fall onto the board at the beginning of the two-minute game, and a \\"Frenzy\\" mode can be entered by continuously clearing lines. The game also features various power-ups and an absent of top-out mechanism. The top rows are automatically cleared when an incoming block overlaps with existing blocks.\\n\\nThis game is no longer available as of April 2020.',link:"",id:"7e7d1f4afdc8adae71b89db8cb84d8d8b6eb01fa"},{title:"Tetris (EA)",tags:["tetris","ea","galaxy","universe","cosmos","mobile","phone"],category:"game",content:"iOS/Android | Singleplayer/Multiplayer?\\nAnother official mobile Tetris game from EA. It has two control modes—swipe and one-touch. It also has a Galaxy mode besides the Marathon mode (with gravity mechanism), and the goal of this mode is to clear all Galaxy minoes before the sequence runs out.\\n\\nThis game is no longer available as of April 2020.",link:"",id:"1e9711297dff349e79dfbe4858847efde9a24003"},{title:"Tetris (N3TWORK)",tags:["tetris","n3twork","mobile","phone"],category:"game",content:"iOS/Android | Singleplayer\\nAn official Tetris game originally developed by N3TWORK, but the development rights were transferred to PlayStudio in late November 2021. It has a Quick Play mode (3-minute Ultra), a Marathon mode, a 100-player Royale mode, and an Adventure mode (where the player must complete a goal in a limited number of moves).\\n\\nAny accounts created after late November/early December 2022 will only have access to Marathon and Adventure modes.\\n[The UI is great, but the controls are not very good.]",link:"",id:"80b2cb1535021b373cd3106c66f25b1b9068ebf8"},{title:"Tetris Beat",tags:["n3twork","rhythm"],category:"game",content:'iOS | Singleplayer\\nA mobile Tetris game by N3TWORK for Apple Arcade. In addition to the classic marathon modes, the game features a \\"beat\\" mode in which the player drops blocks to the rhythm of the BGM.\\n[Too much visual effects with less-than-ideal controls.]',link:"",id:"e29f101c6c0707a7bad170a04c244edd50467613"},{title:"Tetris Journey",tags:["tetrisjourney","mobile","phone","huanyouji"],category:"game",content:"iOS/Android | Singleplayer\\n(俄罗斯方块环游记)\\n\\nA defunct official mobile Tetris game developed by Tencent (available only in China). It had level modes, battle modes, and some single-player modes. It also had customizable virtual keys but lacked the option to adjust DAS or ARR.\\nThe battle mode would last for 2 minutes, and if both players did not top out, the one who sent more attacks would win.\\n\\nThe game was shut down on Feburary 15, 2023.",link:"",id:"1485de38b6720a13ea53d931440cd20835afb9c7"},{title:"JJ Tetris",tags:["jjtetris"],category:"game",content:"Android | Multiplayer\\n(JJ块)\\nA Chinese Tetris game distributed on JJ Card Games (JJ棋牌), a Chinese gamimg platform. It features portrait mode, low input lag, and smooth controls. It also features customizable DAS/ARR and toggleable 20G soft drop and limited virtual key customization. The game has no holds, B2B, garbage buffer, or attack cancellation. The game experience is similar to modern Tetris, except for a 4-line maximum limit on each attack and more powerful combo mechanisms.",link:"",id:"1e4d41ec95e20a17d2b0b7137209c27eff48e7e6"},{title:"Huopin Tetris",tags:["huopin","qq"],category:"game",content:"Windows | Multiplayer\\n(火拼俄罗斯)\\n\\nThe Tetris game on Tencent Game Center, a Chinese gaming platform. It has a 12-wide board, one Next, and no Hold. The DAS and ARR are the same as the keyboard settings for normal typing. Garbage lines can only be sent by Tetrises (3-line attacks) or Triples (2-line attacks). The garbage lines are also checkerboard shaped and almost impossible to dig through.",link:"",id:"4acb20925aace99380ddbda57af730ed00a1f8cc"},{title:"Translator Note 2",tags:[],category:"help",content:"Translator's note on those per-minute and per-second values:\\n\\nNot all of them are commonly used in the global communities, and not all terms mean the same across all contexts. They mainly apply to Techmino.",link:"",id:"a56915125752fd2016014eb983708ebc292649fa"},{title:"LPM",tags:["linesperminute","speed"],category:"term",content:`Lines per minute\\n\\tReflects a player's playing speed.\\n\\tDifferent games may calculate LPM in different ways. For example, Tetris Online calculates its LPM using PPS (see below), where 1 PPS is equal to 24 LPM. This ignores the effect of garbage lines and makes it deviate from the literal meaning. In Techmino, this converted LPM value is written as \\"L′PM.\\`,link:"",id:"73d894554600b983231c107f97397ef097a9e9c8"},{title:"PPS",tags:["piecespersecond","speed"],category:"term",content:"Pieces per second\\n\\tReflects a player's playing speed.",link:"",id:"e86171ebaf8ed816f65e43be6d877de8d4b6df4b"},{title:"BPM",tags:["blocksperminute","piecesperminute","speed"],category:"term",content:"Blocks per minute\\n\\tReflects the playing speed of a player.\\n\\tAlso called PPM (to avoid confusion with the musical term).",link:"",id:"e45f4746cfb8ba67dfddec7efdc4fceb57b05ce9"},{title:"KPM",tags:["keysperminute","keypressesperminute"],category:"term",content:"Keypresses per minute\\n\\tReflects how fast the player presses keys or buttons.",link:"",id:"e1cee2c9c92b4f206a23bc8b78fd2ba45e643324"},{title:"KPP",tags:["keysperpiece","keypressesperpiece"],category:"term",content:"Keypresses per piece\\n\\tThe average number of keypresses a player uses to move a piece into the desired location. This reflects how efficient the player is with the controls. It can be reduced with good finesse skills.",link:"",id:"0c18e93bac2d5c2852553a0f72d501b5a2c6d606"},{title:"APM",tags:["attackperminute"],category:"term",content:"Attack per minute\\n\\tThe average number of attack lines a player can generate per minute, regardless of whether the attacks are used to cancel incoming attacks or not. Reflects the offensive power of a player.",link:"",id:"d1d31e1138c134e9d463c82b58b3e37151b40815"},{title:"SPM",tags:["linessentperminute"],category:"term",content:"[Lines] Sent per minute\\n\\tThe average number of attack lines a player actually sends to the opponent. Reflects the *actual* offensive power of a player",link:"",id:"ef3654f907a66165d12699ab717052a060d2cc9a"},{title:"DPM",tags:["digperminute","defendperminute"],category:"term",content:"Dig/Defend per minute\\n\\tThe average number of garbage lines a player digs through per minute. Can reflect a player's ability to survive incoming garbage lines.\\n\\nSometimes this term refers to Defense (garbage canceled + garbage dug) Per Minute.",link:"",id:"ccc352200ff42c4dc323e2ee4cdb849c6fec093b"},{title:"RPM",tags:["receive","jieshou"],category:"term",content:"[Lines] Received per Minute\\n\\tThe average number of garbage lines a player receives per minute. Reflects the pressure the player is under to some extent.",link:"",id:"43b231b3c47cd64cee3d916bfbe4ba764793d9b9"},{title:"ADPM",tags:["attackdigperminute","vs"],category:"term",content:'Attack & Dig Per Minute\\n\\tReflects the skill differences between the two players within the same match. ADPM is slightly more accurate than APM.\\n\\tThe \\"vs\\" in TETR.IO is actually Atk & Dig per 100 seconds.',link:"",id:"0495aa10da5687b325ad77faa15ab18c4cc1821d"},{title:"APL",tags:["attackperline","efficiency"],category:"term",content:'Attack per line (cleared)\\n\\tAlso known as \\"efficiency.\\" Reflects the per-line efficiency of attacks. For example, Tetrises and T-spins have higher efficiencies than doubles and triples.',link:"",id:"b322d9b0703fcb54f1c315d71cacb4ed568327db"},{title:"Single",tags:["single","1"],category:"term",content:"Clearing one line at a time.",link:"",id:"cf8505ecdf54062f77507d2277018235a73920f9"},{title:"Double",tags:["double","2"],category:"term",content:"Clearing two lines at a time.",link:"",id:"24811454136cb17fb69357520b1ba1f16630ecb2"},{title:"Triple",tags:["triple","3"],category:"term",content:"Clearing three lines at a time.",link:"",id:"c9077749b29d5a57220bcb3d8fc1fdfe18540223"},{title:"Techrash",tags:["techrash","tetris","4"],category:"term",content:"*Techmino-Exclusive*\\nClearing four lines at a time.",link:"",id:"6b8efca840e689c625a7270fc5dbdb723285a769"},{title:"Tetris",tags:["tetris","4"],category:"term",content:'The name of the game (and its trademark). Also the name for clearing four lines at a time in official games.\\nIt is a portmanteau word coined from Tetra (Greek for \\"four\\" <τέτταρες>, \\"téttares\\") and Tennis (favorite sport of the creator of Tetris). Also, the Tetris games developed by Nintendo and SEGA were licensed by TTC. These two companies do not have the copyright of Tetris.',link:"",id:"873dfd5033decc84fc72a70a39b47e1c4e581960"},{title:"All Clear",tags:["pc","perfectclear","ac","allclear"],category:"term",content:"Also known as Perfect Clear (PC, preferred term by the community and used in Techmino). \\nClearing all minoes within the field.",link:"",id:"489b16d39fce243aaf62c6d74f4c197c5acb0d08"},{title:"HPC",tags:["hc","clear","halfperfectclear"],category:"term",content:"Half Perfect Clear\\nAn extension of Perfect Clear (All Clear) in Techmino. A clear is considered an HPC if it clears all minos including and above the line where the clear is performed. If only one line remains on the board after an HPC, that line must not contain any minos placed by the player. An HPC sends a small attack/defense.",link:"",id:"bc1e4b7d147c9d9d95766190f7f5b40185c45989"},{title:"Spin",tags:["spin"],category:"term",content:"(In some games) Rotating a block to an otherwise unreachable location. In certain games, this manipulation can give extra attacks or scores. Different games may have different mechanisms for the specific criteria for a spin.",link:"",id:"5d9daaaadc5360f91dcebcd62ed10b456e779563"},{title:"Mini (Spin)",tags:["mini"],category:"term",content:'A special type of spin that is considered easier than a regular spin (hence the name \\"EZ Spin\\" found in certain games). Compared to regular spins, mini spins usually have reduced attack or score bonuses. Different games may have different mechanisms for the specific criteria for a mini-spin, and the specific criteria may not be intuitive. We recommend that you memorize only a few common mini spins.',link:"",id:"83667c629d251ffdb7a7ea7cd81539a282680e7c"},{title:"All-Spin",tags:["allspin"],category:"term",content:"A ruleset where spins of all pieces are awarded extra attacks/scores, as opposed to T-spins only.",link:"",id:"2657494a801f1ad107b6092b10ce1d4cb895b384"},{title:"T-Spin",tags:["tspin"],category:"term",content:'A spin performed using the T Tetromino.\\nT-spins are usually determined using the \\"3-corner rule\\": A manipulation is considered a T-spin if the last operation applied to the T tetromino is a rotation and at least three of the four diagonal corners of the rotation are not empty. Some games may have additional rules for mini T-spins (or T-spins mini in some games), which may have reduced attacks/scores.',link:"",id:"33700873f7f2afef78198a6e876b059b6879c2a3"},{title:"TSS",tags:["t1","tspinsingle"],category:"term",content:"T-Spin Single\\nClearing one line with a T-spin.",link:"",id:"901ef2970f68b0cc302bb11f967784b1159e5767"},{title:"TSD",tags:["t2","tspindouble"],category:"term",content:"T-Spin Double\\nClearing two lines with a T-spin.",link:"",id:"967e0e2b36dff67c10606d2762ce8a2fae619c1d"},{title:"TST",tags:["t3","tspintriple"],category:"term",content:"T-Spin Triple\\nClearing three lines with a T-spin.",link:"",id:"3d229e9d3df3b0aa86ddc9d366a8613f9fd8c655"},{title:"MTSS",tags:["minitspinsingle","tsms","tspinminisingle"],category:"term",content:"Mini T-Spin Single\\nAlso known as T-Spin Mini Single (TSMS).\\nClearing one line with a Mini T-Spin.\\nDifferent games may have different mechanisms for the specific criteria for a mini T-spin.",link:"",id:"5f704bfb3825aabdffa348225e8f7c9927dbdd21"},{title:"MTSD",tags:["minitspindouble","tsmd","tspinminidouble"],category:"term",content:"Mini T-Spin Double\\nAlso known as T-Spin Mini Double (TSMD).\\nClearing two lines with a Mini T-Spin. MTSD only exists in a limited number of games and may have very different triggers.",link:"",id:"1d1a0531fc40e78e0282ff3600dc7e3206461365"},{title:"O-Spin",tags:["ospin"],category:"term",content:'Since the O tetromino does not change its shape or position after each rotation, it is usually impossible to remove an O tetromino from a \\"pit\\" or \\"hole\\" once it is stuck. Because of this, a meme about O-spins was created in the Tetris community. Someone once made a viral but fake video showing how to do an O-spin in Tetris 99 and Tetris Friend. The XRS in T-ex allows O tetrominoes to be \\"teleported\\" into a pit or hole. In the TRS of Techmino, O tetrominoes can be rotated in a special way to be teleported or transformed into another tetromino to achieve an O-spin.',link:"",id:"f8c9b4832f550d384ac65a4983c8f23b31184e8e"},{title:"Rotation Systems",tags:["wallkick","rotationsystem"],category:"term",content:'Systems that determine how blocks rotate. In most modern Tetris games, the blocks rotate around a specific center of rotation (but some games may not have it). If any of the minoes overlap with either the wall or blocks on the board, the system will try to move the blocks in certain directions to avoid overlapping. This is known as \\"wall-kicking.\\" A rotation may fail if the offset is too large. Wall kicking allows minoes to move into certain holes that would otherwise be unreachable. Different rotation systems may have different wallkick tables and orders.',link:"",id:"48b1d5f3676d7360ee79d94847e7bed571340c31"},{title:"Orientation",tags:["direction","0r2l","02","20","rl","lr"],category:"term",content:'In SRS or SRS-like rotation systems, there is a widely-accepted (though non-standard) notation for describing the orientations of the blocks:\\n\\nThe original orientation of the block (the orientation of the block when the block is spawned) is denoted as \\"0\\";\\nThe orientation of the block after a 90° clockwise (right) rotation is denoted as \\"R\\";\\nThe orientation of the block after a 90° counterclockwise (left) rotation is denoted as \\"L\\";\\nThe orientation of the block after a 180° rotation is denoted as \\"2\\".\\n\\nUnder this system, 0→L means rotating counterclockwise from the original orientation (0) to L; 0→R means rotating clockwise from the original orientation (0) to R; 2→R means rotating counterclockwise from 2 (180°) to R.',link:"",id:"05f03de5dca6dd54f36b66f248865b53b7584e49"},{title:"ARS",tags:["arikrotationsystem","atarirotationsystem"],category:"term",content:"ARS can refer to one of two rotation systems:\\nArika Rotation System, a rotation system used in the TGM series, or\\nAtari Rotation System, a rotation system that aligns pieces to the top left corner when rotating.",link:"",id:"7b82d3437646732dbf4ab0e435e51d79e5e76a97"},{title:"ASC",tags:["ascension"],category:"term",content:"A rotation system used in the Tetris game Ascension (hence the name ASC). All pieces use the two symmetric wall kick tables for the two rotations. The maximum wall kick offset is about 2 blocks in each of the four directions.",link:"",id:"3c62396860b99367fbd37fccce8f6e4a63efaa46"},{title:"ASC+",tags:["ascension","ascplus"],category:"term",content:"A modified version of ASC in Techmino that adds wall kick offsets for 180° rotations.",link:"",id:"b3ff2fa947dba1f978628fa236016f7ef98cd49c"},{title:"BRS",tags:["bulletproofsoftware"],category:"term",content:"BPS rotation system, the rotation system used in Tetris games by Bullet-Proof Software.",link:"",id:"f11a3a05eaf1cfa31978e3e9c281936c8cf8901e"},{title:"BiRS",tags:["biasrs","biasrotationsystem"],category:"term",content:"Bias Rotation System, an original rotation system used in Techmino based on XRS and SRS.\\nIn BiRS, a special offset is triggered when either the left, right, or softdrop key is pressed and the block touches the minoes or walls in that direction. This adds an extra block of offset in that direction, in addition to the normal offsets in the wall kick tables. If the tests fail, BiRS will attempt to remove the offsets and try again, removing the down offsets first, then the left and right offsets if the first fails. \\nThe special offsets also obey these two rules: the distance of the offset must not exceed √5, and the offset must not be in the opposite direction to that indicated by the keypress.\\nCompared to XRS, BiRS uses only a single kick table, making it easier to memorize, while retaining the climb-over-terrain feature of SRS.",link:"",id:"68a802775c0405bd16a4f3749c399d7bb538c4a4"},{title:"C2RS",tags:["c2rs","cultris2"],category:"term",content:"Cultris II rotation system, a rotation system used in the Tetris clone Cultris II. \\nThe priority of the offsets is left 1, right 1, down 1, down left 1, down right 1, left 2, then right 2, which is shared by all rotations and pieces. Note that left has priority over right in this system.",link:"",id:"7f7f54338ec2ddc8433164f845ab6c7fc1255996"},{title:"C2sym",tags:["cultris2"],category:"term",content:"A modification of C2RS in Techmino. In C2sym, the priority of left and right offsets is optimized based on the specific shapes of the different blocks.",link:"",id:"055199177ed198531b56332690b920a08875dc6d"},{title:"DRS",tags:["dtetrotationsystem"],category:"term",content:"DTET Rotation System\\nThe rotation system used in DTET.",link:"",id:"ea6e4fd09eb379c53dd7d5d41ac7d57b96434df8"},{title:"NRS",tags:["nintendorotationsystem"],category:"term",content:"Nintendo Rotation System, the rotation system used in Tetris games on the Nintendo Entertainment System (NES) and Game Boy consoles.\\nIt has two versions that are mirror images of each other. The left-handed version is used on the Game Boy and the right-handed version is used on the NES.",link:"",id:"e37dfff196934ca5167ace859fdc6cbe57cdfbb2"},{title:"SRS",tags:["superrotationsystem"],category:"term",content:"Super Rotation System. SRS is the most widely used rotation system in modern Tetris games and the basis of many fan-made rotation systems.\\nThere are a total of 8 wall kick tables in SRS, corresponding to the two rotations of the four orientations of each tetromino (note that there are no offsets for 180° rotations). Some offsets are checked if anything overlaps with the tetrominoes.\\nDetails about the SRS Wall Kick Tables can be found on the Tetris Wiki.",link:"",id:"5c2e7d5ea1a1a5ca8b2351067a5aa319ba6ae531"},{title:"SRS+",tags:["srsplus","superrotationsystemplus"],category:"term",content:"An extension to SRS that adds supports for 180° wall kicks.",link:"",id:"302346ed1f932a5e9bd32062016483361c84a654"},{title:"TRS",tags:["techminorotationsystem"],category:"term",content:"Techmino Rotation System, a rotation system used in Techmino based on SRS. TRS added some extra useful wall kicks and fixed the problem with S and Z tetrominoes getting stuck on certain terrains. It also added wall kick tables for pentominoes based on the wall kicks for tetrominoes.\\n\\nTRS supports O-spins, where the O tetrominoes can be transformed into other tetrominoes or teleported into holes by pressing certain keys or buttons.",link:"",id:"8ab10ff5c564b655a41ffc12aff48a7239016214"},{title:"XRS",tags:["xrs"],category:"term",content:"X rotation system, a rotation system used in T-ex.\\nIn many other rotation systems, the wall kick table is fixed, so the block can only choose one direction to offset (which the player may not want). XRS solved this dilemma by altering the wall kick table when a direction key (left, right, or soft drop) is pressed to favor that direction. This makes it easier for the player to control where a block would go after a wall kick.",link:"",id:"67a5ce8bb7cc58a67229f578ff3405c35294a4ed"},{title:"Back to Back",tags:["b2b","btb","backtoback"],category:"term",content:"Or B2B for short. A back-to-back is achieved when two or more Tetrises or spins with line clears are completed without other types of line clears in between. Back-to-backs add extra attacks to these moves. Unlike combos, placing pieces that do not clear lines does not affect back-to-backs.\\nIn Techmino, multiple consecutive back-to-backs are counted as back-to-back-to-backs (B2B2B or B3B, see entry for B2B2B). Techmino also counts consecutive PCs and HPCs as B2Bs or B3Bs.",link:"",id:"8d1b5190043e497944d5181c576234b21f499d75"},{title:"B2B2B",tags:["b3b"],category:"term",content:"Back-to-back-to-back, also known as B3B. A B3B is achieved when many consecutive B2Bs are achieved. A B3B offers even more extra attacks than B2Bs. B3Bs are exclusive to Techmino.",link:"",id:"0ffe87ea83997d8c4c14f045b97aad035f41013a"},{title:"Fin, Neo, Iso",tags:["fin","neo","iso"],category:"term",content:"The names of three special types of T-spins that use special wall kicks of the T tetrominoes. Different games may have different attacks for these T-spins; some games may consider some or all of these T-spins to be mini T-spins. These T-Spins have little importance in real-world combat due to their complex setups.",link:"",id:"39ce2acf927bc79a28c143a0b68aa5e81d90183f"},{title:"Modern Tetris",tags:["modern"],category:"term",content:'A \\"modern\\" Tetris game is a Tetris game that generally follows or resembles the Tetris Design Guideline, but there is no consensus on what constitutes a modern Tetris game.\\nHere are some rules that are generally considered essential in modern Tetris games; games that fulfill most of these requirements can be considered \\"modern\\" Tetris games.\\n\\n1. The visible part of the matrix is 10 wide by 20 high. Usually there are also hidden rows above the 20th row, and most games have a hard limit of 40 high.\\n2. Blocks spawn in the center of the top row of the visible matrix. It is possible to have either the top or bottom side of the block aligned with the top row. Blocks with an odd width will spawn to the left of the center. Each piece has a consistent spawn orientation (usually flat side down) and color.\\n3. An appropriate generator (e.g. 7Bag or His) is present to prevent drought (see the entry for drought).\\n4. An appropriate rotation system with at least two rotations is present. SRS or SRS-like rotation systems are strongly preferred.\\n5. An appropriate lockdown delay system is present.\\n6. An appropriate top-out mechanism is present.\\n7. A Next queue with 3-6 previews (though 1 is also acceptable) of upcoming blocks is present, and the orientations of the blocks in the Next queue match the spawn orientation.\\n8. A Hold function is present.\\n9. A DAS system for precise and swift sideways movements is present.\\n10. IRS and IHS (see entries) are present if spawn delays and line clear delays are present. Techmino also has an IMS (see entry).',link:"",id:"d850880e5544701a44dcb347bc0db272512bbd9d"},{title:"Tetrominos' Shapes",tags:["shape","structure","form","tetromino","tetrimino"],category:"term",content:'In most standard Tetris games, all the blocks used are tetrominoes, i.e. blocks formed by connecting four minoes side by side.\\nThere are a total of seven tetrominoes when considering rotation but not flipping: Z, S, J, L, T, O, and I, named after their similarity to the corresponding letters. \\nSee the entry for \\"Shape & Name\\" for more information.',link:"",id:"24b0e2708bebcfff218180af7d7b92505f3927fd"},{title:"Tetrominos' Colors",tags:["colour","hue","tint","tetromino","tetrimino"],category:"term",content:'The same color scheme is used for most modern Tetris games: red for Z, green for S, blue for J, orange for L, purple for T, yellow for O, and cyan for I.\\nTechmino also uses this \\"standard\\" coloring for the tetrominoes.',link:"",id:"9a1f47c8445c890e38aa9d42fc155e6c846013b5"},{title:"IRS",tags:["initialrotationsystem"],category:"term",content:"Initial Rotation System (Not some government agency that collects your taxes). IRS allows the player to rotate a piece before it is spawned (during the spawn delay) to have the piece pre-rotated when it is spawned. This can prevent game over in some situations.",link:"",id:"50fbf0501e856a78382473923ae686a1588272ef"},{title:"IHS",tags:["initialholdsystem"],category:"term",content:"Initial Hold System. IHS allows the player to hold a piece before it is spawned (during the spawn delay) to swap the next piece with the held piece. This can prevent game over in some situations.",link:"",id:"6b291480a03ba31e64b27d50639da8076d91b2aa"},{title:"IMS",tags:["initialmovesystem"],category:"term",content:"Initial Movement System, a system exclusive to Techmino. IMS allows the player to move a piece sideways before it is spawned (during the spawn delay) to add a one-block offset when the block is spawned. This can prevent game over in some situations.\\nNote that DAS must be fully charged when the piece spawns.",link:"",id:"f9788b77e6ea2fd72d26706c8eb9a356ecbd9efb"},{title:"Next",tags:["nextpreview"],category:"term",content:"A preview that displays the upcoming piece(s). Planning ahead where to place the blocks in the Next queue is essential for improving your Tetris skills.\\nThere is no set number for how many pieces you should plan ahead, and the specifics may vary depending on personal conditions, modes, and the situation in the game. Some players may try to measure this by adjusting the number of next pieces visible in 40L, but the result is generally not representative because of the reason mentioned above.",link:"",id:"f1d8f687b50ea8d3e3ff9c90289ab7066334a699"},{title:"Hold",tags:["hold"],category:"term",content:"A function that allows the player to store the current block in a reserve (if there are no blocks in Hold) or swap the current block with the block in the reserve. Normally, Holds can only be used once per block. Holds allow the player to adjust the order of the blocks and make it easier to build the desired setup.\\nIt can be argued that not using Holds allows a player to concentrate more on the sequences at hand, which could reduce the player's workload. It could also reduce the variety of keys or buttons used during the game, which could increase the KPS. In fact, many world records on 40L are set without Holds. However, some people also argue that Holds are useful for adjusting the upcoming sequence and reducing the difficulty in many circumstances (such as high gravity), allowing the player to achieve more complex setups without significantly increasing the workload, which could reduce the total number of key presses.",link:"",id:"f6fc5fc4057365b81e3d3f8c525b2034723abf2f"},{title:"In-Place Hold",tags:["inplacehold","physicalhold","physics"],category:"term",content:"A special form of hold in Techmino where a block in the Hold is spawned at the same location as the current controlling block, as opposed to a normal Hold where the block is spawned in the top row. It can be enabled in custom games.",link:"",id:"9fafb5d9712bce0cbe31a1e1780421ec160221ee"},{title:"Swap",tags:["hold"],category:"term",content:"Another possible form of Hold. Swaps allow the player to swap the current block with the next block. Normally, Swap can only be used once per block (just like Holds).",link:"",id:"ab3fef4bb1af71de94e73d9099a697d474765370"},{title:"Deepdrop",tags:["shenjiang"],category:"term",content:'A special feature in Techmino that allows blocks to \\"teleport\\" through the minoes to enter a hole. A Deepdrop is activated when the current block hits the bottom and the soft drop key/button is pressed again. When this happens, the system would try to move the current block down until it finds a hole that the block could fit into, and teleport the block there if the hole exists.\\nDeepdrops are more commonly used for experiments and AIs, as they allow AIs to move a block into the appropriate hole regardless of the rotation system.',link:"",id:"cd1d87dfd11e120a14824b4c926f43697f5cc3d2"},{title:"Misdrop",tags:["md","misdrop"],category:"term",content:"Or MD for short. Accidentally placing (dropping) a block in an unintended location.",link:"",id:"f60f2ff314867ab42723088e076f99cad48e6d80"},{title:"Mishold",tags:["mh","mishold"],category:"term",content:"Or MH for short. Accidentally pressing the Hold key/button. This could result in the loss of the chance to achieve a PC or game over.",link:"",id:"28f84a85f6e014bdad9521f8a9f55d4d1ecc461c"},{title:"sub",tags:["sub"],category:"term",content:'A sub-[number] time means that the time is below a certain milestone. The unit of time is often omitted and inferred. For example, a \\"sub-30\\" for a 40-line sprint means under 30 seconds, and a \\"sub-15\\" for a 1000-line sprint means under 15 minutes. \\"Sub\\" is generally used with a round number (so expressions like \\"sub-62\\" are rarely used).',link:"",id:"90245bab61be90c8341d6230c0b2efef3d4ad9ac"},{title:"Digging",tags:["downstacking","ds"],category:"term",content:"Clearing garbage lines entered from the bottom of the field. Also known as downstacking (DS).",link:"",id:"0302bb7d296316fb2a37431841983bddf9d0d997"},{title:"Donation",tags:["donate"],category:"term",content:'Converting a hole or well (usually originally intended for Tetrises) into a T-spin setup by \\"plugging\\" it. Donation is an advanced skill for maintaining or increasing attacks. After the T-spin, the hole would open again to allow the continuation of Tetris or another donation. Plugging a hole or well not intended for Tetrises is also sometimes colloquially referred to as \\"donation.\\',link:"",id:"bb02e31b7a7959be0d2d9d7359c35d97dee10187"},{title:"Debt",tags:["qianzhai","debt","owe"],category:"term",content:'A term more commonly used in the Chinese Tetris community. A situation where you can only start making T-spins after the setup is completed (and no T-spins can be made before the setup is completed). It is important to observe the opponent before building a setup that could lead to a \\"debt\\" situation during the building process (or this could lead to a game over).\\n\\nThis term is commonly used to describe setups like TST towers where no real attacks can be made before the build is complete.',link:"",id:"1cb18aafb1a99e95eed99fca5d28f753612df424"},{title:"Attack & Defend",tags:["attacking","defending"],category:"term",content:"Attacking: Sending garbage lines to the opponent by performing special line clears (i.e. not singles).\\nDefending: Canceling the incoming attack by making special line clears.\\nCounterattacking: Sending attacks back to the opponent after canceling all incoming garbage lines.\\nIn most Tetris games, attacking and defending are equivalent.; an outgoing attack cancels an incoming garbage line.",link:"",id:"a5d0a3dfc08f2e79068e5060d9beee33df0f2c43"},{title:"Combo",tags:["ren","combo"],category:"term",content:'Achieving consecutive line clears without dropping a block that does not clear a line in between. Combos are usually counted from the second line clear (1 combo). Different games may have different attacks for combos.\\nAlso called \\"REN\\" in the Japanese Tetris community, from the Japanese kanji <連> (れん, ren).',link:"",id:"a2c1355a2eed3e853bfac2d5de58b8f0c8ebe846"},{title:"Spike",tags:["spike"],category:"term",content:"Sending large attacks in a short period of time. Techmino and TETR.IO all have spike counters that show how many attacks are sent in that time period.\\nAccumulated releases of attacks due to Internet latency are typically not considered spikes.",link:"",id:"4f5a13593d0edd6945f447b0f2a7ac7e2707b2fc"},{title:"Side well",tags:["ren","combo","sidewell"],category:"term",content:'A special stacking method where a \\"well\\" of a certain width (usually 2- to 4-wide) is built on the side of the field. A decent way to get combos for new players to send attacks. \\nHowever, side wells are prone to top-outs when the player is building the stack and the opponent sends a big attack; the efficiency of side wells is also less than ideal. Advanced players usually do not rely on side wells as the only way to send attacks. Instead, they may build side wells after building a T-spin setup and when the opponent is unlikely to send an attack shortly. In this situation, side wells can be used to increase instant attacks.',link:"",id:"8dfd0d8dfb9c98167821355cf3544b278fcd89b5"},{title:"Center well",tags:["ren","combo","centerwell"],category:"term",content:"A special stacking method that leaves a well of a certain width in the center of the field. This allows the player to make combos without the risk of topping out as in side wells if the well is wide enough.",link:"",id:"111a6f5b9755b27b2d79ac15896a337e938b4eea"},{title:"Partial well",tags:["ren","combo","partialwell"],category:"term",content:"A special stacking method that leaves a well of a certain width in a position between the center and the sides of the field.",link:"",id:"3eaba1b96b2d0778c487b6277e6db8b7fdcb3c7b"},{title:"Side 1-wide",tags:["s1w","side1wide","sidewelltetris"],category:"term",content:'Or S1W for short. Leaving a one-block-wide well on the side of the field, a classic way to make Tetris.\\nNew players can use S1Ws to make Tetrises, as they can produce decent attacks in a short time period. However, it is less commonly used by advanced players due to its low efficiency and susceptibility to incoming attacks during setup, which could lead to a game over; these players may only use S1W when the situation is very suitable for the setup.\\n\\nAlso known as \\"side well Tetris.\\',link:"",id:"bc0c0dbed99fd61372bcbb87284ff132f953603d"},{title:"Side 2-wide",tags:["s2w","side2wide"],category:"term",content:"Or S2W for short. Leaving a two-block-wide well on the side of the field, a common combo setup.\\nS2Ws are easy to build and can create relatively long combos when used with Holds. However, it is less commonly used by advanced players due to its long setup time, susceptibility to incoming attacks during that time, and its relatively low efficiency. This can result in fewer combos or even top-outs.",link:"",id:"fb18e93b0a693cbef4609659daf1714d99d3a162"},{title:"Side 3-wide",tags:["s3w","side2wide"],category:"term",content:"Or S3W for short. Leaving a three-block-wide well on the side of the field, a less common combo setup.\\nAlthough it can produce more combos than S2W, S3W is prone to breaking the combo.",link:"",id:"46e7c422a59938f5d9b0b23008df93feadb2c537"},{title:"Side 4-wide",tags:["s4w","side4wide"],category:"term",content:"Or S4W for short. Leaving a four-block-wide well on the side of the field. A common combo setup.\\nIn addition to producing very long combos, S4W requires a shorter setup time compared to other well setups. This allows the player to produce a long combo before the opponent sends attacks. Compared to C4W (see entry), S4W is more balanced because the player can be topped out during setup.",link:"",id:"c5b6dbb14894c93f7fc9c79d2079aafc447c4531"},{title:"Center 1-wide",tags:["c1w","center1wide","centerwelltetris"],category:"term",content:'Or C1W for short. Leaving a one-block-wide well at the center of the field.\\nA useful setup for both Tetrises and T-spin doubles that is not difficult to build.\\n\\nAlso known as \\"center well Tetris.\\',link:"",id:"7465ba018bc6eed61a4449e00cbe6ea208f20623"},{title:"Center 2-wide",tags:["c2w","center2wide"],category:"term",content:"Or C2W for short. Leaving a two-block-wide well at the center of the field.\\nA possible but uncommon combo setup.",link:"",id:"90dab11c89a910239eed4507cc26fddabf223cc6"},{title:"Center 3-wide",tags:["c3w","center3wide"],category:"term",content:"Or C3W for short. Leaving a three-block-wide well at the center of the field.\\nA possible but uncommon combo setup.",link:"",id:"425bb84cf103341dc42b57d13e72fb684115fa48"},{title:"Center 4-wide",tags:["c4w","center4wide"],category:"term",content:"Or C4W for short. Leaving a four-block-wide well at the center of the field.\\nA setup that can produce an obscene amount of combos if used well.\\nThis infamous combo setup is relatively easy to build, has a strong defense against incoming attacks by exploiting the death conditions of many modern Tetris games, and is extremely biased in favor of the player building it. Many players dislike or even despise this technique for these reasons. Use this technique with caution in real world battles.",link:"",id:"89d450dcdb461bd385e2d4bd29110d3ba10ee27e"},{title:"Residual",tags:["c4w","s4w"],category:"term",content:"This term refers to the number of block(s) left in the well in a 4-wide combo setup. Long combos are often achieved using a 3-residual (3-res) or 6-residual (6-res) setup.\\n3-res is easier to learn because it has fewer variations and a good chance of producing long combos.\\n6-Res is more variable and harder to learn but can produce longer combos than 3-Res if executed well.\\n\\nIn general, the order of priority for these setups in combat is 6-Res, then 3- and 5-Res, and then 4-Res.",link:"",id:"d6af6d97859b2612ce5fc2653c9ddf5036fb8c99"},{title:"6–3 Stacking",tags:["6-3stacking","63stacking","six-three","sixthree"],category:"term",content:"A special stacking method where a six-block-wide stack is placed on the left side of the board and a three-block-wide stack is placed on the right side of the board, resulting in a one-block-wide well off-center.\\nThis method could reduce the number of keypresses for a skilled player and is popular in sprint modes to increase speed. The reason for this have to do with the fact that blocks spawn with a bias to the left. Notice that this method may increase keypresses for beginners.",link:"",id:"eb2fcbe49f9d1cc78ad414c33cf2966b8c7ff49a"},{title:"Freestyle",tags:["ziyou"],category:"term",content:"A term commonly used for TSD challenges. This term means completing a certain number of T-spin doubles in a challenge without using a fixed stacking setup. Compared to such setups such as LST, freestyles are more difficult and more representative of a player's T-spin skills in real-world battles.",link:"",id:"8eea92e6c5974836aa4076c88e09f2924d5ded01"},{title:"Topping out",tags:["die","death","topout","toppingout"],category:"term",content:"Many modern Tetris games use three death conditions. Triggering any of them would result in a game over.\\n1. Block out: the newly-spawn block overlaps with existing blocks in the field.\\n2. Lock out: the block locks entirely above the visible portion of the field.\\n3. Top out: the total height of the block stack exceeds a certain amount (usually 40). This is often caused by incoming garbage lines.\\n\\nTechmino does not use the lock out and top out mechanisms by default.",link:"",id:"b60e1815dfc9542bf93d71c17456e82bad369e09"},{title:"Buffer zone",tags:["above","super","invisible","disappear"],category:"term",content:'A zone above the visible part of the field, usually from the 21st to the 40th line.\\nThe buffer zone exists because blocks on the sides may exceed the visible field after a large number of garbage lines enter the field. These blocks would return to the visible field once the garbage lines are cleared.\\nBuffer zones are usually 20 lines high, but some games may have infinite buffer zones.\\n\\nSee also the entry for \\"Vanish Zone.\\',link:"",id:"54625bca607240177cc93583ebbc4139e8448087"},{title:"Vanish zone",tags:["disappear","gone","cut","die"],category:"term",content:"An area above the buffer zone, usually above the 40th line. Blocks usually enter the vanish zone through a combination of C4W and a large influx of garbage lines. When a block reaches the vanish zone, a top-out is usually triggered, ending the game.\\nDifferent games may have different behavior for the vanish zones. In Jstris, the vanish zone is above the 22nd line, and any blocks locked above the 21st line will disappear. Some games that have poorly designed buffer zones may behave unexpectedly or even crash when a block enters the vanish zone (e.g. Tetris Online).\\n\\nClick or tap the globe icon to open a video demonstrating a vanish zone bug in Puyo Puyo Tetris, where blocks reaching the vanish zone are copied infinitely when they return to the visible area.",link:"https://youtu.be/z4WtWISkrdU",id:"5c41dccc057da0f4cfc1301c44f5099f7983bbcc"},{title:"Falling speed",tags:["fallingspeed","gravity"],category:"term",content:'The speed at which blocks move down. It is usually measured in the unit \\"G\\", which is the number of line(s) the block falls down in one frame, usually assuming a frame rate of 60 fps. For example, a block is said to have a falling speed of ¹⁄₆₀ G if it falls down one row per second. The maximum speed of modern Tetris is 20 G (since there are 20 lines in the visible field). \\nIn Techmino, speed is also described as the number of frame(s) it takes for a block to move down one line. A speed of 60 corresponds to one line per second or 1 G in this system.\\nIn practice, the term \\"20G\\" usually refers to \\"infinite speed.\\" See the entry for \\"20G\\" for more information.',link:"",id:"205d98d9b1f82e738601bf0563722d148ce6aef2"},{title:"20G",tags:["gravity","instant"],category:"term",content:'The highest falling speed in modern Tetris. In 20G modes, blocks appear instantly at the bottom of the screen without the process of falling.\\nAlthough the term may suggest a falling speed of 20 blocks per frame, 20G usually implies an infinite speed.\\nAlso, in 20G modes, falling movements have higher priority than any other user input; for example, even if the ARR is set to 0, the block would still fall straight down before moving sideways. This makes it impossible to make a block climb over a \\"hill\\" or jump out of a \\"pit\\" in some situations.',link:"",id:"80ef56f897fd0246756dacbc9b49127fc1f84a80"},{title:"Lockdown Delay",tags:["lockdelay","lockdowndelay","lockdowntimer"],category:"term",content:"Or LD for short. The delay between when the block touches the ground and when it locks (can no longer be controlled). In classic Tetris games, this delay is usually the same as the time it takes for a block to move down a row, and is independent of player input. In modern Tetris games, this delay is usually more variable and is reset after the block moves or rotates. In many games, the resets have an upper limit (usually 15 times).",link:"",id:"7d564fa7375cf771b8f8eaab3b45df1712d328ce"},{title:"ARE",tags:["spawn","appearance","delay"],category:"term",content:'Also called entry delay. This term refers to the delay between when a block locks down and when another block is spawned.\\n\\nThe word \\"ARE\\" is not an acronym or initialism. It derives from the Japanese word <あれ> (a-re), meaning \\"it\\" or \\"that.\\',link:"",id:"349e2a410c1fadbc3bd2b1cf79ce2b06618e2bfe"},{title:"Line ARE",tags:["appearance","delay"],category:"term",content:"The delay between the start of a line clear animation and the spawning of the next block.",link:"",id:"65eaf46ca8a6f0b3cc2c3396cef9c48de0790528"},{title:"Death ARE",tags:["die","delay","dd"],category:"term",content:"A special mechanism that can prevent game over in some cases. A death ARE is triggered when a newly spawned block would overlap with existing blocks (resulting in a block out). When this happens, an additional delay is added to the (spawn) ARE to allow the player to use IRS, IHS, or IMS to prevent a game over.\\nOriginally proposed by @NOT_A_ROBOT.",link:"",id:"f848cce45f49f75e1a0767b36e78dc0737cc90a4"},{title:"Finesse",tags:["finesse"],category:"term",content:`A technique that moves a block to the desired location with the minimum number of keypresses. Finesse usually doesn't consider locations that require soft drops to move into. Finesses save time and reduce the chances of misdropping a block.\\nFinesse is an essential skill in playing Tetris. We recommend that you start learning finesse as soon as possible. You can find videos about finesse on YouTube. Start by learning the basics and then start practicing, keeping accuracy as the first priority before speeding up.\\nNote that in Techmino, finesses are not exactly \\"the theoretically simplest keystroke sequence it takes to move a block to a particular location.\\" Finesses are only detected when a piece locks into a position that does not require soft drops, so the finesses strikes are not reset after a spin or a tuck.\\nIn Techmino, the finesse rate (%) is defined as 100% (Perfect) when the number of keypresses is equal to or less than the standard reference, 50% (Great) when one keypress is above the standard, 25% (Bad) when two keypresses above, and 0% (Miss) when three or more keypresses above. A Bad or Miss breaks the finesse strike.\\nFinesse is usually not considered in conditions such as locations that require soft drops, high gravity, or very high fields. The finesse counter also works the same in Techmino regardless of gravity (even in 20G modes), so the result may not be meaningful in high gravity conditions.`,link:"",id:"4f97b8462d8b08e876e39f6feb92f96975b89a13"},{title:"Researching",tags:["scientificresearching"],category:"term",content:"(<科研>, ké yán) A commonly used term in the Chinese Tetris community, referring to the act of experimenting or practicing advanced techniques (such as new T-spin setups) in a low-stress game mode. Techmino uses this term to refer to modes that require spins almost all the way.",link:"",id:"f733370715a815eb3bfce3ea03b86276eab1f103"},{title:"Keymapping",tags:["feel"],category:"term",content:"Here are our recommendations for configuring your key mappings.\\n\\n1. Avoid assigning a finger or thumb to multiple keys that may be pressed at the same time. We recommend assigning the rotation keys to one finger (since they are not typically pressed together) and one key for each of the other fingers.\\n2. Unless you are very confident, avoid assigning keys to your little fingers (because they are less agile than your other fingers or thumbs).\\n3. It's not necessary to copy someone else's key mapping. Everyone is different, and key mappings shouldn't really affect your skills if you follow rules 1 & 2.",link:"",id:"b9cedaa49f53d1225372a71a43cd8f27f33112fe"},{title:"Handling",tags:["feel","handling"],category:"term",content:"Here are some common factors that can affect handling.\\n\\n1. Input latency, which depends on device conditions and configurations. It can be reduced by rebooting or changing your devices.\\n2. Program stability, which depends on the game's programming and design. It can be alleviated by lowering graphics quality and disabling visual effects.\\n3. Intentional designs by the game.\\n4. Incorrect parameter settings. It can be alleviated by fine-tuning these parameters.\\n5. Physical postures. Try moving to a more comfortable position.\\n6. Recent changes to your devices or keyboard mapping.\\n7. Muscle fatigue, decreased responsiveness, or decreased coordination. Try resting or returning in a few days.",link:"",id:"b9a97b14e2e11e176a511e19049092d54e0f3217"},{title:"DAS & ARR (simple)",tags:["das","arr","delayedautoshift","autorepeatrate"],category:"term",content:`Imagine typing on a keyboard and holding down the \\"O\\" key to get a string of o's on the screen. On a timeline, it would look like o————o-o-o-o-o-o-o-o-o…, where the \\"————\\" part can be considered as DAS, and the \\"-\\" part can be considered as ARR.`,link:"",id:"a682e4737de91d58112414fbb9f9fde206195c7d"},{title:"DAS & ARR",tags:["das","arr","delayedautoshift","autorepeatrate"],category:"term",content:"DAS refers to Delayed Auto-Shift, the delay between when a block moves one block sideways and when the block begins to move automatically.\\nARR refers to Auto-Repeat Rate, the delay between each of the above automatic movements.\\nDAS and ARR are measured in f (frame, ¹⁄₆₀ s at 60 fps) or ms (millisecond). 1 ms is equal to 16²⁄₃ frames.",link:"",id:"7608dd8eac382e68b86388e11dcb45940d8c14a7"},{title:"DAS tuning",tags:["das","tuning"],category:"term",content:"For relatively advanced players who want to increase their speed, we recommend a DAS of 4–6 f (67–100 ms) and an ARR of 0 (blocks move to the wall immediately after DAS). If this is too fast for you, try increasing the DAS a bit, but keep the ARR below 2 f (33 ms). In general, DAS should be kept as low as possible so that taps and holds can be distinguished; ARR should be kept to a minimum (if not zero).",link:"",id:"6d6f643162cb3b8b8ac0cc6cc2fe7a6b2dd0e22d"},{title:"DAS cut",tags:["dascut","dcd"],category:"term",content:"A special delay applied to DAS when a new block is spawned. When this happens, a small delay is added before the DAS starts timing, so that a piece doesn't start moving immediately when a sideways direction key is pressed.\\nOther games may have similar mechanisms, but they may work differently.",link:"",id:"f1572d92a202c3b765675fc16f05387529934e47"},{title:"Auto-lock cut",tags:["autolockcut","mdcut"],category:"term",content:"A feature in Techmino that prevents a block from being misdropped after a new block is spawned. Hard drops will be disabled for a short time after the previous block has been locked.\\nOther games may have similar mechanisms, but they may work differently.",link:"",id:"f4b36fb1760d2f061153e1dcb699c890c5de34bf"},{title:"SDF",tags:["softdropfactor"],category:"term",content:"Soft Drop Factor, a number describing the relative speed of soft drops in some games. In many modern Tetris games, soft drops are realized by speeding up the natural drop by a constant factor (SDF). Guideline Tetris games usually have an SDF of 20, i.e. the soft drop speed is 20 times the natural falling speed.\\nTechmino uses a constant soft drop speed (described by ARR) instead of the SDF to determine soft drop speeds.",link:"",id:"0c1a2da50ac9dcd8ad674794c7981f5c2ee2a405"},{title:"Shape & Names",tags:["mino"],category:"term",content:"Here is a list of the all the blocks used by Techmino and their corresponding names:\\nTetrominos:\\nZ: ``, S: ``, J: ``, L: ``, T: ``, O: ``, I: ``;\\n\\nPentominos:\\nZ5: ``, S5: ``, P: ``, Q: ``, F: ``, E: ``, T5: ``, U: ``, V: ``, W: ``, X: ``, J5: ``, L5: ``, R: ``, Y: ``, N: ``, H: ``, I5: ``;\\n\\nTriminos, Domino, and Monomino:\\nI3: ``, C: ``, I2: ``, O1: `.",link:"",id:"913a43b8dad4d88abf2cecc8978b7021ff6c663d"},{title:"Bag7 generator",tags:["bag7bag","randomgenerator"],category:"term",content:'Also known as \\"7-bag generator,\\" officially known as \\"random generator\\". The algorithm (generator) used by most modern and official Tetris games to generate the sequence of blocks. In Bag7, the sequence of blocks is divided into groups (bags) of 7 blocks. Each bag must contain all seven tetrominoes, but the order is random. This system prevents the uneven spawning of certain blocks in the long run.\\n\\nAn example of a Bag7 block sequence would be ZSJLTOI OTSLZIJ LTISZOJ.',link:"",id:"6d9c71eb6a57501393a43f83f2e0a8e09fa4492f"},{title:"His generator",tags:["history","hisgenerator"],category:"term",content:`An algorithm (generator) used to generate the sequence of blocks, most commonly used in the TGM series. In the HIS generator, each block is first generated (rolled) randomly, and a check is made to see if this block is the same as one of the few previous blocks. If it is, the process is repeated (rerolled) until a different block is generated or an upper limit is reached.\\nThe His generator is usually described using the format\\"His [number] Roll [number],\\" where the first number is the number of previous blocks checked by the generator, and the second number is the upper limit of the number of rerolls. For example, a \\"His 4 Roll 6\\" (or \\"h4r6\\") randomizer rerolls if the block is the same as any of the previous 4 blocks and up to 6 times before moving on to the next block.\\nIn Techmino, the maximum number of rerolls is half the number of blocks checked by the randomizer (rounded up for non-integers). \\n\\nThe His randomizer is an improved version of the simple randomizer and reduces the chances of consecutive S's or Z's.`,link:"",id:"ab36b0721b5150285460f4114632a7ac32dbd641"},{title:"HisPool generator",tags:["hisPool","history","pool"],category:"term",content:`History Pool Randomizer, a derivative of the His generator. It added a \\"pool\\" mechanism from which the new blocks are spawned, as opposed to the simple random generator used by His. HisPool also increases the probability of spawning a block with the lowest presence.\\n\\nThis mechanism stabilizes the sequence and ensures that a drought (see entry) doesn't last forever. The stability of HisPool lies between His and Bag.`,link:"",id:"5bac08ced59bb2ea7e301905331016233d01b5c4"},{title:"bagES generator",tags:["bages","easy","start"],category:"term",content:"Bag Easy-Start, a derivative of the bag generator used in Techmino. The first block in the first bag will not be S, Z, S5, Z5, F, E, W, X, N, or H, which can be difficult to place at the beginning of the game.",link:"",id:"5405416adcd999f523c13847c867bc953a50e348"},{title:"Reverb generator",tags:["reverb"],category:"term",content:"A generator used in Techmino, derived from the Bag generator. The Reverb generator repeats each block several times based on the sequence of the Bag Generator. The probability of repetition decreases with the previous presence of that block. The theoretical number of repetition(s) ranges from 0 to 6.",link:"",id:"e666cf860bf1987ebd5b590694bb2fc5562cfc14"},{title:"C2 Generator",tags:["cultris2generator","cultrisiigenerator","c2generator"],category:"term",content:"The generator in Culturis 2 uses the following algorithm to generate block sequences:\\n1. Set the weight of all tetrominoes to 0 at the beginning of the game.\\n2. Divide all weights by 2, then add a random number (0-1) to all weights.\\n3. Pick the tetromino with the highest weight, then divide that tetromino's weight by 3.5.\\n4. Repeat from step 2.",link:"",id:"0a5ae9089bd85bf9e36c70bc8c67fedaf480d855"},{title:"Hypertapping",tags:["hypertapping"],category:"term",content:`A technique commonly used in classic Tetris. It involves rapidly vibrating your finger on a button to get a faster sideways movement than simply holding down the button. This is because most classic Tetris games have long, non-adjustable DAS, where tapping the button quickly is faster than waiting for the automatic movements. Hypertapping is also used in Tetris games with long, non-adjustable DAS. However, it's not necessary in most modern Tetris games because they have adjustable DASs and ARRs. A person who can use this technique is called a \\"hypertapper.\\`,link:"",id:"7f55567f8365492d7d89e5263bae13ddfd7dd110"},{title:"Rolling",tags:["rolling"],category:"term",content:"Another technique used in classic Tetris to achieve fast sideways movement under high gravity (~1 G).\\nThis technique involves partially resting the controller (or keyboard) on a surface (or your legs) with one finger or thumb on the button, and then rapidly tapping the back of the controller with the fingers of the other hand to achieve very fast key presses. This allows the player to achieve an even faster speed than hypertapping (see entry) with less effort.\\nThis method was first discovered by @Cheez-fish, who once reached a tapping speed of over 20 Hz. ",link:"",id:"381abe335e93ab95004c62e97449800ddf3fb81b"},{title:"Passthrough",tags:["pingthrough"],category:"term",content:"A situation where both players' attacks are sent to the opponent's board without canceling out in combat.\\nIn TETR.IO, if passthrough is enabled in custom games, it will be triggered within a short time after the opponent's attack. During this time, the player's attack is passed to the opponent without canceling the incoming attack. A player can wait for the timeout if that player wants to actually clear the garbage lines.\\nPingthrough, a related term, refers to a situation where an accidental passthrough occurs due to Internet delays. A Tetris game with only basic support for Internet battles may experience pingthroughs.",link:"",id:"df7b059100be419ab627bfadbc922d138496657a"},{title:"Tetris OL attack",tags:["top","tetrisonlineattack"],category:"term",content:"- Singles, doubles, triples, and Tetrises send 0, 1, 2, and 4 attacks respectively.\\n- T-spin singles, doubles, and triples send 2, 4, and 6 attacks respectively; the attack is halved if it is a T-Spin Mini.\\n- Combos add the following number of attacks (starting with 1 combo) 0, 1, 1, 2, 2, 3, 3, 4, 4, 4, 5, etc.\\n- Back-to-backs add 1 extra line of attack (3 if it is a TST).\\n- Perfect Clear adds 6 extra lines of attack. Note that these 6 lines are immediately sent to the opponent without canceling incoming attacks.",link:"",id:"005a7c5f67a30ee4498db0018a8db3c93b9c540b"},{title:"Techmino attack",tags:["techminoattack"],category:"term",content:"See the User Guide in the lower right corner of the home page.",link:"",id:"71e2c71f28dcfc49b7f601bcecb47b50f36ebb55"},{title:"Stacking",tags:["stacking"],category:"term",content:"Stacking the tetrominoes without leaving any holes. An essential skill that requires a good next-reading ability. It can be practiced by playing 40L with only Tetrises and no Hold.",link:"",id:"3e8b953a8419c105e1f64a0d1181d1dea10781dc"},{title:"Rotation buttons",tags:["doublerotation","triplerotation"],category:"term",content:"Using both rotation buttons (clockwise and counterclockwise) would reduce the number of keystrokes, since rotating three times in one direction is the same as rotating once in the opposite direction. This is also a prerequisite for learning finesse.\\nBy using all three rotation buttons (adding 180° rotation), one can use one keypress to rotate any block into its desired orientation (when spins are not considered). \\nHowever, we do not recommend that you spend too much time practicing with all three rotation buttons. This is because not all Tetris games have 180° rotations, and using three rotations would not increase your speed significantly compared to using just two. It is not a necessary skill unless you want to pursue extremely high speed.",link:"",id:"5eb2e8c6610f57b15de914409e168d8678fd525e"},{title:"Drought",tags:["drought"],category:"term",content:"A situation in which a block desired by a player does not spawn for a long time. This usually refers to I tetrominoes (the long bar) in classic Tetris games, since they often use a simple random generator.\\nIn most modern Tetris games, droughts are impossible because of the Bag7 generator (see entry). With the Bag7 generator, the maximum distance between two identical blocks is 13.",link:"",id:"de3322bcc2a57ff2077da77926f37dd42fd7d531"},{title:"Bone block",tags:["bone","tgm"],category:"term",content:'The block skin used by early versions of Tetris.\\nMany early computer systems used command line interfaces as the main way for a user to interact with the computer. This is similar to the Command Prompt in Windows, the Terminal in MacOS, and the Console in Linux. These computer systems can only display text and icons on the screen. Because of this limitation, many early versions of Tetris used a pair of brackets [ ] to represent a single mino. This is called a \\"bone block\\" because of its appearance.\\nIn Techmino and many other modern Tetris games, a bone block is a single but distracting block skin used by all blocks. Different block skins may come with their own bone block designs.',link:"",id:"612ec806b0212de8c33c7849db89cf7921305aca"},{title:"Semi-invisible",tags:["half","invisible","semi"],category:"term",content:"A rule where blocks become invisible after a certain amount of time after locking down. This time interval doesn't have to be a fixed value.",link:"",id:"772fe38d6c7282941520475509279f88d4cd11c8"},{title:"Invisible",tags:["invisible"],category:"term",content:'A rule where blocks disappear immediately after locking down. A disappearing animation can also be present, but it would reduce the difficulty of the game. In Techmino, invisible modes without this animation are called \\"sudden invisible.\\',link:"",id:"ebee4647097ebcde67f7476561b47ef02f16f239"},{title:"MPH mode",tags:["mph"],category:"term",content:"A game mode. MPH is an initialism for Memoryless (the mode uses a simple random generator), Previewless (no next queue), Holdless (no hold). This mode challenges the player's reaction speed.",link:"",id:"867143c6f4fe150954b1c03a3e4f052419ae5f7f"},{title:"Input delay",tags:["input","delay"],category:"term",content:"Regardless of the specific input device, all inputs would take some time to reach the game, usually ranging from a few to a few tens of milliseconds. If the input delay is too large, the controls will become noticeably jerky and interfere with the gaming experience. This effect can be seen in games such as Tetris Online or Tetris Effect.\\nInput delay is usually influenced by hardware performance and usage, which usually cannot be eliminated. Turning off low-power mode and turning on performance or gaming mode on your devices can help alleviate this problem.",link:"",id:"af0b93e9d1405a3d40966d52cf65c6c97a09aeef"},{title:"Secret Grade",tags:["larger","than"],category:"term",content:'An easter egg mode from the TGM series. In a \\"secret grade\\" gameplay, the player tries to make a \\">\\" shape (with a hole in each line) on the board. The goal is to complete the shape with 19 lines.\\nClick on the globe icon to open a web page with techniques to help you achieve the secret grade.',link:"https://harddrop.com/wiki?search=Secret_Grade_Techniques",id:"fa5be3452195cb4c64bc484187d16e3b7ff826e8"},{title:"Cold Clear",tags:["cc","coldclear","ai","bot"],category:"term",content:"A Tetris bot originally developed by MinusKelvin for Puyo Puyo Tetris. The Cold Clear build used in Techmino also supports all spins and TRS.",link:"",id:"82effb328f058f0c9c688fd3bd6efac733ffc2de"},{title:"ZZZbot",tags:["ai","bot","zzztoj"],category:"term",content:"A Tetris bot developed by the Chinese Tetris player Zòu Zhī Zhāng (<奏之章>) and has good performance in many games.",link:"",id:"05333e02ab6b243b185cfe8cabd36f0023bbffe8"},{title:"Openers",tags:["setup","openers"],category:"setup",content:"A fixed setup that can be built at the beginning of a game. Technically, an opener setup can also be built mid-game, but it may require different block placements.\\n\\nA good opener usually meets at least two of the following criteria:\\n- Can adapt to different block sequences.\\n- Has a strong attack and minimal T-block waste.\\n- Does not require too many soft drops; most operations can be accomplished with finesse.\\n- Has clear follow-up strategies with few branches.\\n\\nNote that most openers are designed based on the Bag7 generator because of its predictability. They may not work properly with other generators.",link:"",id:"e7099b61ef50965da5215bcc48163a36951e7971"},{title:"DT Cannon",tags:["dtcannon","doubletriplecannon"],category:"setup",content:"Double-Triple Cannon.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=dt",id:"825f400c22ff321ee14cb6c24bbdec79eb7679ed"},{title:"DTPC",tags:["dtcannon","doubletriplecannon"],category:"setup",content:"A follow up to DT Cannon that ends with a perfect clear.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=dt",id:"00ea1c8b138ca0e94b30eb70514241c954374143"},{title:"BT Cannon",tags:["btcannon","betacannon"],category:"setup",content:"Beta (β) Cannon.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=bt_cannon",id:"32c882a5452d010f3b318eacb459bbd888c570b9"},{title:"BTPC",tags:["btcannon","betacannon"],category:"setup",content:"A follow-up to BT Cannon that ends with a perfect clear.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=bt_cannon",id:"ffc52c269d5306b4abe069c7dfb34ba6058e713e"},{title:"TKI 3 Perfect Clear",tags:["ddpc","tki3perfectclear"],category:"setup",content:"A TSD opener that leads to a sequence of Double–Double–Perfect Clear.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=TKI_3_Perfect_Clear",id:"359c94332c19bc4ae7d3b27e1e8466354b8e468a"},{title:"QT Cannon",tags:["qtcannon"],category:"setup",content:"A DT Cannon-like setup with a higher probability of sending a TSD–TST attack.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=QT_cannon",id:"56a69c656d51244f3988cf1263f22bebaba8842d"},{title:"Mini-Triple",tags:["mt","minitriple"],category:"setup",content:"A Mini T-Spin—TST setup.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=mt",id:"3bd99182008224ed25add58cc10a3e41173134e4"},{title:"Trinity",tags:["trinity"],category:"setup",content:"A TSD + TSD + TSD or TSMS + TST+ TSD setup.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=trinity",id:"8a966740d196e0ba079bb2b47ab68d3e3aace2c5"},{title:"Wolfmoon Cannon",tags:["wolfmooncannon"],category:"setup",content:"An opener.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=wolfmoon_cannon",id:"fddffb96cf2eda7128b93daf4700245840df6a51"},{title:"Sewer",tags:["sewer"],category:"setup",content:"An opener.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=sewer",id:"b79d47b6d03b962bcbd5cc75ace4bc9c6f4190b2"},{title:"TKI",tags:["tki-3","tki3"],category:"setup",content:"TKI-3. It can refer to either a TKI-3 starting with a TSD or a C-spin starting with a TST.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=tki_3_opening",id:"43886079c0f13610faaf00d9ca7dee5f55f76031"},{title:"God Spin",tags:["godspin"],category:"setup",content:"A setup invented by @windkey that looks fancy but has limited real-world combat value.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=godspin",id:"1dbd09ba25834a7281a7758d9e4a90d41afab3bd"},{title:"Albatross",tags:["albatross"],category:"setup",content:"A fancy, fast paced opener with a sequence of TSD-TST-TSD-Perfect Clear that hardly wastes any T blocks.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=Albatross_Special",id:"62e12e5df8c9ee006b58432b4f2a68ed115b31c9"},{title:"Pelican",tags:[],category:"setup",content:"An Albatross-like opener that can be used when the block sequence does not allow the Albatross setup.",link:"https://harddrop.com/wiki?search=Pelican",id:"6a9ca12c5d2ee32bff38b69550ee9e1f1b782bb2"},{title:"Perfect Clear Opener",tags:["7piecepuzzle"],category:"setup",content:"A perfect clear opener that is easy to set up and has a high success rate (~84.6% with an I in the hold and ~61.2% otherwise). This opener is included in the PC training modes of Techmino (the one with the irregular empty space). \\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=Perfect_Clear_Opener",id:"c8a0f5bb27cc9fdd2db40c164c4cb9aedfe1d7a2"},{title:"Grace System",tags:["liuqiaoban","gracesystem","1stpc"],category:"setup",content:"A PC opener with a success rate of ~88.57%. This opener is included in the PC training modes of Techmino (the one with the 4×4 square opening).",link:"https://four.lol/perfect-clears/grace-system",id:"e2bcb9f89bdf4a3ed28dace5f7ab1996762e3abe"},{title:"DPC",tags:["DPC"],category:"setup",content:"A PC opener with an almost 100% success rate in many scenarios when there is one block left in the 7Bag (in the Next queue) and an empty field.\\nFor more information, visit tetristemplate.info by clicking on the globe icon (Link in Japanese).",link:"https://tetristemplate.info/dpc/",id:"e812f63c7d1cebe6ebfc1c0df01d367ce53797f1"},{title:"Gamushiro Stacking",tags:["gamushiro"],category:"setup",content:"(<ガムシロ積み>, Gamushiro Tsumi)\\nA TD-Attack opener.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=Gamushiro_Stacking",id:"3c016f28de7338317c076399e79dccd4df77c895"},{title:"Mid-game Setups",tags:["midgamesetups"],category:"pattern",content:"Setups that can generate strong mid-game attacks. Some of these setups could also be used as openers, although they are unnecessary.",link:"",id:"b4491b3063705e886fcce818e4d43029385c5b51"},{title:"C-spin",tags:["cspin"],category:"pattern",content:"A T-Spin Triple + T-Spin Double setup, known as TKI in Japan.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=c-spin",id:"5efb9c21dbdde3893732c32d2d3a710c622ba606"},{title:"STSD",tags:["stsd"],category:"pattern",content:"Super T-Spin Double, a setup that produces two T-Spin Doubles.\\nA weakness of this setup is that no TSD can be performed if the garbage hole is directly under the setup.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=stsd",id:"6b0e6c980b91de0873674f9b4a7d749d1de40b6d"},{title:"STMB Cave",tags:["stmb"],category:"pattern",content:"A donation setup that uses an S or Z to block a 3-wide well and produce a T-spin double.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=stmb_cave",id:"7a9f93dc4e742ef564a57e71b7967a192c6350c4"},{title:"Fractal",tags:["shuangrenjian","fractal","spider"],category:"pattern",content:"A setup where two TSD setups are stacked on top of each other.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=Fractal",id:"29b12d8030f33a21265f78caaa1d15b7f4129e17"},{title:"LST stacking",tags:["lst"],category:"pattern",content:"An infinite T-Spin Double setup.",link:"https://four.lol/stacking/lst",id:"774b52eaed2c775146516a910a686b517056ed41"},{title:"Hamburger",tags:["hamburger"],category:"pattern",content:"A T-spin single donation setup that opens up for Tetrises after the T-spins.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=hamburger",id:"9aee64c6803871ff0bafc4d4cfd016360ff1c827"},{title:"Imperial Cross",tags:["imperialcross"],category:"pattern",content:"A setup that involves building an overhang on a cross-shaped hole to perform two TSDs.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=imperial_cross",id:"914127e70d29100d7e56a67a9cb8926bc035451f"},{title:"Kaidan",tags:["jieti","kaidan","stairs"],category:"pattern",content:'From the Japanese words for \\"stairs\\" (<階段>, kaidan).\\nA setup that donates a TSD on stair-like terrains.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.',link:"https://harddrop.com/wiki?search=kaidan",id:"979e233899a40823416160d6e8929ba0fce0b4ed"},{title:"Shachiku Train",tags:["shachikutrain","shechu"],category:"pattern",content:"A setup that donates two TSDs on top of a TST setup.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=Shachiku_Train",id:"dfa8128341595f1af9034d5888f601b45446c79b"},{title:"Cut Copy",tags:["qianniao","cutcopy"],category:"pattern",content:"A setup that donates a TSD on a small hole and performs another TSD after the first.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=Cut_copy",id:"d388fd5b2310a85d10c12dc7ffa63a0f1a4491c7"},{title:"King Crimson",tags:["kingcrimson"],category:"pattern",content:"A setup that stacks multiple TST setups on top of an STSD setup.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=King_Crimson",id:"ee4d1363ba8655e185548fe4f11efc14815dcfa1"},{title:"Consecutive PCs (1/2)",tags:["pcloop"],category:"pattern",content:"Four.lol has a tutorial on how to achieve consecutive PCs. After finishing the 7th PC, exactly 70 blocks will be used (10 whole bags), so the situation returns to the setup of the 1st PC.",link:"https://four.lol/",id:"d16bffbe57086583517ae87ca2fd02f118cdeed3"},{title:"Consecutive PCs (2/2)",tags:["pcloop"],category:"pattern",content:"A complete PC-loop tutorial written by NitenTeria (in Simplified Chinese).",link:"https://docs.qq.com/sheet/DRmxvWmt3SWxwS2tV",id:"66dc9dee0001ef27ec25a5eb022eb569fe62d75b"},{title:"Console",tags:["cmd","commamd","minglinghang","kongzhitai","terminal"],category:"command",content:'Techmino has a console for debugging, enabling advanced settings, and more.\\nTo access the Techmino Console, click or tap on the Techmino logo in the main menu, or press the C key on your keyboard several times. Type \\"help\\" in the Console and press Enter/Return to get more information.\\n\\nUse the Console responsibly, as careless actions can cause corruption or loss of game data.',link:"",id:"7ecdaf88bce56cd24ba047b93460435726bd0889"},{title:"Reset all settings",tags:["reset","setting"],category:"command",content:'To reset all the settings, go to the Console, type \\"rm conf/setting\\" and press Enter/Return. Restart Techmino for this operation to take effect.\\nBefore exiting the game, you can cancel this operation by going to Settings and returning to the main menu.',link:"",id:"da1bf555021704d34a46f62d95dd3b55819e1fe3"},{title:"Reset statistics",tags:["reset","statistic","data"],category:"command",content:'To reset all statistics, go to the Console, type \\"rm conf/data\\" and press Enter/Return. Restart Techmino for this operation to take effect.\\nBefore exiting the game, you can cancel this operation by starting a game and winning or losing that game.',link:"",id:"dfd06a63b6e7e22b88dfe5c50b72b9a1640c4381"},{title:"Reset map progress",tags:["reset","unlock"],category:"command",content:'To reset your map progress, go to the Console, type \\"rm conf/unlock\\" and press Enter/Return. Restart Techmino for this operation to take effect.\\nBefore exiting the game, you can cancel this operation by updating the status of any mode on the map. Note that this operation does not affect the existing grades on the map.',link:"",id:"3bad8c77ed030c8bba1cd27134d4e751fdb3c6a9"},{title:"Reset records",tags:["reset","record"],category:"command",content:`To reset your local records (leaderboard), go to the Console, type \\"rm -s record\\" and press Enter/Return. Restart Techmino for this operation to take effect.\\nBefore exiting the game, if you update a mode's leaderboard, the records for that mode will be preserved after you restart the game.`,link:"",id:"9e619f0153c598b23c720a4d3a9e4ba962c3e137"},{title:"Reset key settings",tags:["reset","virtualkey"],category:"command",content:'To reset key settings, go to the Console, type \\"rm conf/[key settings]\\" and press Enter/Return. You can type different commands for [key settings] to delete different settings. Type \\"key\\" to delete key mappings, and type \\"virtualkey\\" to delete virtual key settings. You can also type \\"vkSave1\\" or \\"vkSave2\\" to delete specific virtual key configurations. Restart Techmino for the first two commands to take effect; the last two are effective immediately.\\nBefore exiting the game, you can cancel the operation by entering and exiting their corresponding settings.',link:"",id:"97c36276637b63b77b82d4ba3841b2ac83f107ef"},{title:"Delete replays",tags:["delete","recording"],category:"command",content:'To delete all recordings, go to the Console, type \\"rm -s replay\\" and press Enter/Return. Effective immediately.',link:"",id:"ea68b06044081b0efaeca964c52ed4e36f00735f"},{title:"Delete cache",tags:["delete","cache"],category:"command",content:'To delete all caches, go to the Console, type \\"rm -s cache\\" and press Enter/Return. Effective immediately.',link:"",id:"c7b8ba787d0998486e9439635f2910ccef98e88e"},{title:"SFX",tags:["soundeffects"],category:"english",content:'Initialism for \\"Sound Effects.\\" Also abbreviated as \\"SE\\" in Japan.',link:"",id:"09731a9aea03079ef1e612facc4b927af79d1178"},{title:"BGM",tags:["backgroundmusic"],category:"english",content:'Initialism for \\"Background Music.\\',link:"",id:"a025fe6ea05e932a72f4b1de36f396da30531d3e"},{title:"TAS",tags:["tas"],category:"english",content:`Acronym for \\"Tool-Assisted Speedrun (or Superplay).\\" TAS refers to the act of playing a game with special tools that allow a player to achieve supra-human levels of play without breaking the game's rules. In other words, TAS allows a player to \\"play like a god\\" without breaking or modifying the programming itself. TAS is usually used to reach the theoretical extreme of a game or to achieve a specific goal that may not be practically possible. \\n\\nTechmino has a simple TAS tool built in.`,link:"",id:"ce44e41a48ba32311458e07dd1c34e29bff3a70c"},{title:"AFK",tags:["afk"],category:"english",content:'Initialism for \\"Away From Keyboard.\\" This term refers to a period of time when a player is not actively playing a game in order to rest. Taking regular breaks can help relieve muscle tension and restore stamina and responsiveness when you return to gemeplay.',link:"",id:"f78ce564692852c965794021f5fafdd333a980f0"},{title:"Timing",tags:["timing","shiji","fanji"],category:"term",content:"In Tetris, timing refers to the choice of moments to attack with optimal effort. Good timing can help you to defend yourself while crushing your opponent. However, we recommend new players focus on their own fields and improve their speeds before learning timing.",link:"",id:"94fbe2663990ac1c6d258d319844309905033850"}],wM=[{title:"翻訳者からのメッセージ 1",tags:[],category:"help",content:"この日本語版TetroDictionary(通称:Zictionary)は、英語版を通して翻訳されています\\nそのため中国語版の内容を正確に反映していない可能性があります\\n\\n翻訳者を知りたい、翻訳に協力したい場合は地球儀ボタンをクリックしてGithubのページにアクセスしましょう!",link:"https://github.com/26F-Studio/Techmino/blob/main/parts/language/dict_ja.lua",id:"0e104c0c3fce7bf740f86e7a27e2803ba34bac1f"},{title:"初心者へ",tags:["readme","初心者","下級者","コツ","ガイド","上達"],category:"help",content:"テトリス初心者の方へ\\n\\t2つの大事なこと:\\n\\t\\t1.操作性のいいテトリスを選びましょう(TechminoやTETR.IO, Jstris, Tetr.js)\\nガイドラインから大きく離れ、プログラミング教材に使われているような操作性の悪いものはプレイしないでください\\n\\t\\t2.ネクストを見る、テトリスを安定して行う等の基本的な能力育成に時間を費やしましょう\\nとりあえず今は、Tspinみたいな技は置いときましょう\\nどうせ基礎に費やす時間は変わりません\\n\\t2つの技術:\\n\\t\\t1.ミノの出現位置と操作方法を覚えて、好きな場所に移動できるようになりましょう\\n\\t\\t2.次のミノの置く場所をあらかじめ決められるようになりましょう\\n\\n地球儀ボタンをクリックすると中国のテトリスプレイヤー、Tatianyiさんが書いた「Suggestion for new players to Tetris Online」という記事の英語版(翻訳者:User670)が見れます",link:"https://github.com/user670/temp/blob/master/tips_to_those_new_to_top.md",id:"62513ab00ef43cc8f592b18636aa3e58560fb4dc"},{title:"おすすめの練習法",tags:["readme","初心者","下級者","コツ","ガイド","上達","練習"],category:"help",content:"ここでは、おすすめの練習方法を紹介します\\nもし煮詰まった場合は、リラックスして好きなモードを楽しみましょう!楽しむことが一番大事です!!\\n\\n以下は、達成してほしい目標のリストです\\nA,B,Cとセットがあり、更にその中に複数の目標がありますがセット単位で複数の目標を同時にこなすのがおすすめです\\n\\nA.積み(1)\\n\\tA1.ミノを置く前に次のミノも考慮に入れてください\\nもし次のミノが置きづらい場合には、今持ってるミノの置き場所を考え直してください\\n\\tA2.地形を平らにするよう意識するとどんなミノでも置きやすくなります(一部ではより具体的に横置きを意識するとも言われています)\\n\\tA3.ホールドが使える時は、今持っているミノ、ホールドにあるミノ、ネクストにあるミノの3つを意識するとより長い時間平らな地形を維持できます\\n\\nB.効率と速さ\\n\\tB1.ゴーストを見ながら置かないでください\\nこのミノをここに置くにはこの操作をするというのを頭の中で処理してください\\n\\tB2.回転キーは左右両方使ってください\\n一回の入力で済む操作は一回で処理しましょう\\n\\tB3.最適化を覚え始めてきたら速さはあまり気にしないでください\\n最適化は癖付けるものなので一度身につければ、精度を保ったまま速くなれます\\n\\nC.積み(2)\\n\\tC1.スプリント(40Line)を完走する\\n\\tC2.ホールドなしでスプリント(40Line)を完走する \\n\\tC3.Techrashだけでスプリント(40Line)を完走する\\n\\tC4.ノーホールド、Techrashだけでスプリント(40Line)を完走する\\n\\nCは難易度を調整しやすいので、自身の能力に合わせて難易度を調整してください\\n\\nCが終わった場合は、A1の練習をしてください\\nこれはテトリスの基本技術の一つでネクストの把握量が多ければどんなゲームモードでもすぐに上達できます",link:"",id:"d7c155467bc05a540df6d622489be9938a1a8579"},{title:"Tspinを学ぼう",tags:["t","tspin","t-spin","tスピン","上達法","初心者","下級者","ガイド","tip","おすすめ","練習","helps"],category:"help",content:"Tspinはテトリスの中でも高等技術なのでTspinの地形を見ているだけでは、習得できません\\nまた積みの技術やネクスト把握能力も必要になってきます\\nもし本当にTspin技術を上達させたい場合は、積みの技術などの土台となる技術をしっかり習得しましょう\\n\\nおすすめの習得タイミング:スプリント(40Line)を60秒(条件によっては40~120秒)以内に完走、Techrashだけで完走、ホールドなしで大きく減速せずに完走\\nこれらで十分にネクストを考慮した思考ができるようになってからTspinを学び始めることをおすすめします",link:"",id:"25dcd9af20341683587e6deb864a98599175b37e"},{title:"Techmino公式web",tags:["homepage","web","mainpage","ホームページ ウェブ メインページ","テクミノ","テックミノ","techmino"],category:"help",content:"Techminoの公式ホームページです!\\n最新の安定版Techminoをダウンロードしたり、プロフィールを編集したりできます\\n地球儀ボタンから是非アクセスしてください",link:"http://studio26f.org",id:"37a6ef13ad5deb346ef08a6998213cb61af288a7"},{title:"灰机wiki",tags:["huiji","wiki","ウィキ","うぃき","灰机","フイジ"],category:"help",content:"huiji wiki\\n\\n中国のテトリス研究グループとそのサブグループに所属しているテトリスプレーヤー達が管理している中国のテトリスwikiです\\n現在、大部分のページがHard drop wikiとTetris wikiから参照、翻訳されたページになっています",link:"https://tetris.huijiwiki.com",id:"e884700884d40b3c5a6f4fab018df5f32766754b"},{title:"HardDrop wiki",tags:["harddrop","hd","wiki","ハードドロップ","ハードロ","ウィキ","うぃき"],category:"help",content:"テトリス最大コミュニティ、HardDropが運営している英語テトリスwikiです",link:"https://harddrop.com/wiki/Tetris_Wiki",id:"d5d959f9e39623358927f1cfbbefcdaa9c80b12e"},{title:"Tetris wiki",tags:["tetris","テトリス","てとりす","wiki","ウィキ","うぃき"],category:"help",content:"Tetris wikiはテトリス関連の情報に焦点を当てたwikiです\\nMyndziが2015年に開設しました\\n公式テトリス及びファン製作の落ちものパズルゲームの記録、ゲームの仕様の解析、上達のためのガイドの作成など様々な記事が長年にわたり何千も投稿されています",link:"https://tetris.wiki",id:"a55c3f66f84f44ac33b6a5781b11c1ad9edc6a6d"},{title:"Tetris Wiki Fandom",tags:["tetris","テトリス","てとりす","wiki","ウィキ","うぃき","fandom","ファンダム","ふぁんだむ"],category:"help",content:"英語のテトリスwikiです\\n公式テトリスを重点的にまとめています",link:"https://tetris.fandom.com/wiki/Tetris_Wiki",id:"c5bbbc35a43754e6897f6bac88cfdbae1e239309"},{title:"Four.lol",tags:["four","wiki","lol","fourlol","フォー","ウィキ","うぃき","テンプレ","template"],category:"help",content:"様々な開幕や連パフェが集められたテトリスwikiです",link:"https://four.lol",id:"e5e912965097ab58a0f7fdc15c4e692e8b631f56"},{title:"テトリス堂",tags:["tetris","テトリス","てとりす","hall","はる","日本語","japanese","テンプレ","template"],category:"help",content:"日本語サイトです\\n開幕のチュートリアル、パフェクイズなどのミニゲーム、連パフェの詳細な解説があります",link:"https://shiwehi.com/tetris/",id:"45b625b6d06fa4f5ec41fbce1f168c021ceed3ac"},{title:"テトリステンプレ集@テト譜",tags:["wiki","ウィキ","うぃき","atwiki","テンプレ","template","日本語","japanese"],category:"help",content:"非常に多くのテンプレを保有している日本語atwikiです",link:"https://w.atwiki.jp/tetrismaps/",id:"5189c30ead94b2ec37436bdce26fb310a04239ee"},{title:"テトリスブログ - PerfectClear",tags:["テンプレ","template","日本語","japanese","開幕"],category:"help",content:"数は多くないですが開幕テンプレのセットアップが詳細に解説されている日本語サイトです",link:"https://tetristemplate.info/",id:"9ebbf569478850a1aee48fe3d2d8c85a575c965e"},{title:"ほゐスライド",tags:["上達","練習","ほゐ","スライド"],category:"help",content:"日本のテトリスプレイヤー、whipemerald氏が作ったテトリスを上達させるためのスライド\\nテトリスフレンズの時代に作られたものだが今の時代でも問題なく通じる",link:"https://docs.google.com/presentation/d/1kYU2T6Kb-CVVshOa3BHGIhCoOWbbbKUekQqq-TsZgoY/mobilepresent?slide=id.p",id:"dad34eb1cd4cf2d65ad81bc4f1d9fe103f012f81"},{title:"テト譜",tags:["fumen","テト譜","譜面","研究 解析"],category:"help",content:"Mihys氏が開発したテトリスの地形を描画や共有ができる偉大なサイト\\n他のテトリスツールを使用する際にもよく使われる\\nAdd-onからframe.jsを選択することでさらに拡張した機能が使えます",link:"http://fumen.zui.jp",id:"038fe994b899244fa5411523a29d9cd5b6147a59"},{title:"Fumen for Mobile",tags:["fumenformobile","fm","fumen","テト譜","譜面","モバイル","mobile","もばいる","研究","解析"],category:"help",content:"Newjade氏によってテト譜をスマホ等でより直感的に使えるように開発されたテト譜サイトです\\nフィールドの画像出力や範囲塗りなどの公式のテト譜にはない機能も多数あります",link:"https://knewjade.github.io/fumen-for-mobile/",id:"7797ee759d76872fa714861b22806c84c372b723"},{title:"テト譜ブラウザ",tags:["fm","fumen","テト譜","譜面","研究","解析"],category:"help",content:"主にテト譜を管理するためのソフト\\n大量にテト譜を管理する人は持っていて損はない",link:"https://com.nicovideo.jp/community/co1370000",id:"ee78fefca55ccff685a7285c13c61c5d8dfe5202"},{title:"solution-finder",tags:["fm","fumen","テト譜","譜面","研究","解析"],category:"help",content:"Newjade氏によって開発されたパフェの確率やパターン、最大ren数など様々な解を見つけたり確率を計算できるツール\\n日本ではテンプレ制作、それ以外ではパフェ関連に使われることが多い",link:"https://solution-finder.readthedocs.io/ja/latest/",id:"adc1fd2f9abbf331dd763dc7360160528841dd89"},{title:"path-filter",tags:["fm","fumen","テト譜","譜面","研究","解析","パフェ","perfect","all","最小"],category:"help",content:"Newjade氏によって開発されたパフェ率を維持したまま最小パターンを求めるためのツール\\nただし近似解を出力するので複数回もしくは、長時間使うことが前提である",link:"https://github.com/knewjade/path-filter/releases",id:"63dfd5f3b19fceb530cb5cec6e41464ce651d358"},{title:"Github Repository",tags:["githubrepository","sourcecode","src","ソース","リポジトリ","りぽじとり","github"],category:"org",content:"Techminoの公式Githubです\\n星をお願いします!",link:"https://github.com/26F-Studio/Techmino",id:"67a03558cd33e7ed5417573b963bfb210bc65739"},{title:"Discord コミュニティ",tags:["community","コミュニティ","コミュ","こみゅにてぃ","こみゅ","discord","ディスコード"],category:"org",content:"Techminoコミュニティに参加して、他のプレイヤーと交流しよう!地球儀ボタンからTechminoのdiscordサーバーにアクセスできます",link:"https://discord.gg/f9pUvkh",id:"461bb2bdad0b1d3ee9ee4c1804a0ddeaa4dbcfa3"},{title:"テトリスオンラインポーランド",tags:["tetrisonline","servers","top","toj","toz","poland","japan","zapan"],category:"org",content:"地球儀ボタンをクリックするとTOPクライアントの情報にアクセスできますが2023年4月10日現在、2種類の日本サーバーはダウンしており、TOPサーバーのみ使えます",link:"http://tetrisonline.pl/",id:"ad1dcb4e840578a4c786fdbf31261a71ff0ca0ad"},{title:"Tetris OL Servers",tags:["tetrisonline","servers","tos"],category:"org",content:"地球儀ボタンをクリックするとTeatube氏作成の中国のTetris Online Studyの情報にアクセスできます",link:"https://teatube.cn/tos/",id:"9c8089870ca2a2da08629d0c8e9a2b2c65ee73ff"},{title:"サポート1",tags:["support","サポート","寄付","wechat","vx","weixin","alipay","zfb","zhifubao"],category:"org",content:"こちらの内容はプラットフォームの関係により非表示にされています\\\\n詳しくはTechminoのdiscordサーバーにて聞いてください",link:"",id:"5aa1529044416f9dbd5fd02e3ec4147719b06fe7"},{title:"サポート1",tags:["support","サポート","寄付","wechat","vx","weixin","alipay","zfb","zhifubao"],category:"org",content:"WechatやAlipayを使ってTechminoに寄付してくださる場合は、ゲームメイン画面の「TECHMINO」のTを連打→コンソール画面で「support」と入力→QRコードを読み取って寄付してください",link:"",id:"f7563dd66b79b13ae8f2c9571d64ed5f80ade7b8"},{title:"サポート2",tags:["support","サポート","寄付","afdian","aidadian"],category:"org",content:"こちらの内容はプラットフォームの関係により非表示にされています\\\\n詳しくはTechminoのdiscordサーバーにて聞いてください",link:"",id:"4df40576f4d90fe7ac801a7dd5e51b98b866dc33"},{title:"サポート2",tags:["support","サポート","寄付","afdian","aidadian"],category:"org",content:"Aifadianを使ってTechminoに寄付してくださる場合は、地球儀ボタンからURLを開いてください\\nAifadianの場合、寄付金額から6%の手数料がかかります",link:"https://afdian.net/@MrZ_26",id:"ca3744b5d38de9ec03b563a974075c339f59e254"},{title:"サポート3",tags:["support","サポート","寄付","patreon","patreon"],category:"org",content:"こちらの内容はプラットフォームの関係により非表示にされています\\\\n詳しくはTechminoのdiscordサーバーにて聞いてください",link:"",id:"27530a59f5cf6f4c103b32f41a42c1169075048a"},{title:"サポート3",tags:["support","サポート","寄付","patreon","patreon"],category:"org",content:"Patreonを使ってTechminoに寄付してくださる場合は、地球儀ボタンからURLを開いてください\\nPatreonの場合、一定額以上の寄付に対して手数料がかかります",link:"https://www.patreon.com/techmino",id:"e5a7df6767bb2f79b07ed34e1d111394999e3943"},{title:"テトリス トレーナー トレビアン",tags:["tetris","trainer","tres","bien","上達","練習","テトリス","トレーナー","トレビアン"],category:"game",content:"こな氏によって開発されたチュートリアルサイトです\\nTspinや最適化、SRS等の対戦テトリスで使う技術を学べます\\nノーホールド、Techrashだけでスプリント(40Line)を完走できたプレイヤーにおすすめです",link:"http://taninkona.web.fc2.com/ttt/",id:"2b7d64e58dd8d33caa2ec7e1a4c819a4f07a32ea"},{title:"テトリス パフェチャレンジ",tags:["tetris","perfect","clear","challenge","パフェ","連パフェ","上達","練習"],category:"game",content:"Chokotia氏によって開発された開幕パフェのチュートリアルサイトです\\nテトリス トレーナー トレビアンをクリアし、SRSに慣れたプレイヤーにおすすめです",link:"https://davdav1233.github.io/ttpc/",id:"94e34cbb20b17a5ea194abe22319ace7466e952a"},{title:"ナゾテト",tags:["nazo","なぞ","ナゾ","謎","上達","練習"],category:"game",content:"Tspinやオールスピン、簡単な問題から難しい問題まで様々な謎テトがあります\\nテトリス トレーナー トレビアンをクリアしたプレイヤーにおすすめです",link:"http://klyuchevskayanazoteto.web.fc2.com/",id:"5f60680c17d9d0fb539deba7c6158bb19d3f9e86"},{title:"TPO",tags:["nazo","なぞ","ナゾ","謎","上達","練習"],category:"game",content:"Tetris puzzle O(テトリスパズルオー)はTCV100によって開発された中国の謎テトサイトです\\nナゾテトのパズルをいくつか含んでいます",link:"http://121.36.2.245:3000/tpo",id:"5816c6bc0f913e152ec8fbaf1c4ed288a1aabe6d"},{title:"詰めテトリス",tags:["nazo","なぞ","ナゾ","謎","上達","練習"],category:"game",content:"ナゾテトよりも実践向けの謎テトがまとめられたatwiki\\nテトリスDS時代のものなのでパフェとren火力はなし、TSMはTSS扱い",link:"https://w.atwiki.jp/tetrisds/pages/26.html",id:"c43155ffd23a114b5d16ed226d046909e713156c"},{title:"twowide",tags:["nazo","なぞ","ナゾ","謎","上達","練習"],category:"game",content:"多数の高難易度謎テト、豊富なモードがある謎テトサイトです\\nオンラインランキングもあるので他のプレイヤーと競い合うことができます",link:"https://twowi.de",id:"ab70e042fe947dceead72be2fcc479cfb52822ad"},{title:"downstack-practice",tags:["nazo","なぞ","ナゾ","謎","上達","練習"],category:"game",content:"downstackと書いてあるが掘以外にもTspinや途中パフェ等の謎テトを生成する謎テトサイトです\\n中盤テンプレも練習でき、より実践に近い謎テトを解くことができます",link:"https://himitsuconfidential.github.io/downstack-practice/",id:"f2e5b92f1e6f53391001f260a16d1d9e74055ec5"},{title:"途中メモ 1",tags:["note","memo","ノート","メモ","nb","NB","DM","notice"],category:"game",content:"次からは公式テトリスや落ちものパズルゲームの簡単な紹介です\\n\\nもちろんここにあるゲームがすべてではありません\\nまたTechmino制作者がコメントをしていることがありますが、あくまで主観的な意見でありそのゲームの良し悪しを決めるものではないことに注意してください\\n事実と意見を明確に区別するために意見は大括弧([,])で囲んでいます",link:"",id:"1936f35ddcc61ca5c183e35637929e5f803a3d41"},{title:"King of Stackers",tags:["kos","kingofstackers","こす","コス","キング","スタッカーズ"],category:"game",content:"ブラウザ | マルチプレイ | モバイル端末可\\n略称はkos\\nターン制の非公式テトリスです\\n基本的なルール:\\nプレイヤーは1ターンにつき7つずつミノを設置していきます\\n相手から火力が送られてもLine消去をしている間はせり上がりません\\nこのゲームはppsの概念がないためとても戦略的です\\nまた試合設定で様々な攻撃ルールに設定できます(通常はExclusive+)",link:"https://kingofstackers.com/",id:"03976adc8d56d6b7bfefe31ffcf2f49d40d8ccda"},{title:"Tetr.js",tags:["tetrjs","tetr.js","js"],category:"game",content:"ブラウザ | シングルプレイ | モバイル端末可\\nオリジナルは単純な1人用の非公式テトリスです[見た目もシンプルでアニメーションはほとんどありません]\\nしかし有志により細かいチューニングや多くのモード、仮想キーボードの追加等が行われました\\n地球儀ボタンのリンクはfarter氏によるDig Modへのリンクです",link:"http://farter.cn/t",id:"1e8934e62413a391f35e2c0cb955283834712889"},{title:"Tetra Legends",tags:["tl","tetralegends","レジェンズ","レジェンド","てとら","テトラ"],category:"game",content:"ブラウザ | シングルプレイ | モバイル端末不可\\n略称はTL\\n多くの1人用モードと2つの隠しリズムゲームを持っている1人用の非公式テトリスです\\n通常他のゲームでは隠されている部分まで可視化されています\\nしかし複合的な理由により2020年12月に開発が中止されました",link:"https://tetralegends.app",id:"f29beb5810b660bc321ec5360484123374053a4a"},{title:"Ascension",tags:["asc","ASC","ascension","アズセシオン"],category:"game",content:"ブラウザ | シングル/マルチプレイ\\n略称はASC\\n同じくASCと呼ばれる独自の回転法則があり、多くの一人用モードがあります\\n1vs1モードは2022年11月26日現在、α版です\\nTechminoのstackモードはASCからアイデアを得ています",link:"https://asc.winternebs.com",id:"d00f385b962369aa081c12118d2f2d6b4f08cf06"},{title:"Jstris",tags:["js","jstris","じぇすとりす","ジェストリス"],category:"game",content:"ブラウザ | シングル/マルチプレイ | モバイル端末可\\n略称はjs\\n現在、主流の非公式テトリスの1つであり、様々なシングルモードと豊富な設定、自由に配置できる仮想キーボードを備えています\\nまたjstris+を導入することでさらに拡張されたjstrisを楽しむことができます",link:"https://jstris.jezevec10.com",id:"7b7444e1cecfe3104cbc2f7b50d7be1c39bfb43b"},{title:"TETR.IO",tags:["io","tetrio","tetr.io","てとりお","テトリオ","tetr","てとらいお","テトライオ"],category:"game",content:"ブラウザ | シングル/マルチプレイ\\n略称はテトリオ\\n現在、主流の非公式テトリスの1つであり、レーティングシステムや多くのゲーム設定を変更できるカスタムゲーム、FFAなど様々な要素を備えています\\nまた安定して動作しやすいデスクトップクライアント版が存在します\\nそしてTETR.IO+を導入することでさらに拡張されたテトリオを楽しむことができます\\n[safariじゃテトリオはできないようです]",link:"https://tetr.io",id:"c6f5576019f448b6ddfcfa96c50a623b4505842a"},{title:"Nuketris",tags:["nuketris","nuke","ぬけ","ヌケ","ぬけとりす","ヌケトリス"],category:"game",content:"ブラウザ | シングル/マルチプレイ\\n基本的な1人用モードやレーティングシステムを備えた非公式テトリスです\\n独特なゲームルールをしており、Ospinもできます",link:"https://nuketris.com",id:"83a8c15193c8bc6e8afe48811a3c039042813da7"},{title:"Worldwide Combos",tags:["wwc","worldwidecombos","ワールド","ワイド","コンボ","コンボズ"],category:"game",content:"ブラウザ | シングル/マルチプレイ\\n略称はWWC\\n世界規模の1vs1やリプレイと戦えるモード、豊富なゲーム設定など様々な機能を備えた非公式テトリスです",link:"https://worldwidecombos.com",id:"94081db2455fec7e83df266bc94308d0df55c83a"},{title:"Tetris Friends",tags:["tf","tetrisfriends","notrisfoes テトリス","てとふれ","テトフレ","のとりす","ノトリス","official","公式"],category:"game",content:"ブラウザ | シングル/マルチプレイ\\n略称はテトフレ\\n今は亡き公式テトリス\\n昔はとても人気があったが数年前にサービス終了した\\n現在は「Notris Foes」という非公式プライベートサーバーが存在している",link:"https://notrisfoes.com",id:"ccf010be3f3b7a49dd78cef7d4e5d262bd305761"},{title:"tetris.com",tags:["tetris","テトリス","online","オンライン","official","公式"],category:"game",content:"ブラウザ | シングルプレイ\\ntetris.comにある公式テトリス\\nゲームモードはマラソンのみです\\n公式テトリスでは珍しくマウス操作に対応しています",link:"https://tetris.com/play-tetris/?utm_source=top_nav_link&utm_medium=webnav&utm_campaign=playNow_btm_tst&utm_content=text_play_now",id:"1b03e40d2c4fe9736f5c83f458215856ffcd5493"},{title:"Tetris Gems",tags:["tetris","テトリス","online","オンライン","official","公式","gem","ジェム"],category:"game",content:"ブラウザ | シングルプレイ\\ntetris.comにある公式テトリス\\n横1列を揃えると揃えた部分が重力の影響を受ける特殊なブロックになり、連鎖的にLine消去が可能なゲームである\\nさらに3種類の宝石ブロックが存在し、それぞれ特殊能力を持っています",link:"https://tetris.com/play-tetrisgems",id:"34196d46abd0d04928115af84c89abee3bb2fcc8"},{title:"Tetris Mind Bender",tags:["tetris","テトリス","online","オンライン","official","公式","gem","ジェム"],category:"game",content:"ブラウザ | シングルプレイ\\ntetris.comにある公式テトリス\\nルールはマラソンと同じですが「マインドベンダー」という特殊なブロックが出現します\\nマインドベンダーを消すことで様々なイベントが起こります",link:"https://tetris.com/play-tetrismindbender",id:"ead36dcde213c8a667268eefeee10a713a89db9b"},{title:"Techmino",tags:["techmino","テクミノ","テックミノ"],category:"game",content:"クロスプラットフォーム | シングル/マルチプレイ\\n日本語だとテクミノと呼ばれます\\nMrZを筆頭にLÖVEを使って開発された落ちものパズルゲームです\\n多くの一人用モード、多彩なカスタマイズ性を持ち、オンラインマルチプレイも徐々に開発されています",link:"",id:"06eed6ff342747e1a656db3a15d515d58e48a5b7"},{title:"Falling Lightblocks",tags:["fl","fallinglightblocks","ライト","フォーリング"],category:"game",content:"ブラウザ/iOS/Android | シングル/マルチプレイ\\n縦でも横でも遊べるマルチプラットフォームの非公式テトリス\\nDASやLine消去時間は固定されています\\nまたモバイル端末では操作を一部カスタマイズ可能です\\nFalling Lightblocks内にあるゲームのほとんどはファミコンのクラッシクテトリスがベースになっていますがモダンテトリスも存在します\\nバトルシステムは半分ターン制、半分リアルタイム制になっており、相殺システムはありません",link:"https://golfgl.de/lightblocks/",id:"a81cfbe60982260231080c7c719952f32edb51a4"},{title:"HATETRIS",tags:["hatetris","へいと","ヘイト","はてとりす","ハテトリス"],category:"game",content:"ブラウザ | シングルプレイ\\n常に嫌なブロックが出現する一風変わった非公式テトリス\\nLine消去数がそのままスコアになる\\nテトリス全体で見ても非常に難しいことから人間によるスコア更新よりも機械を使った研究の方が盛んである",link:"https://qntm.org/files/hatetris/hatetris.html",id:"3323487eefb08dba7d967e468152712b876df0ed"},{title:"Cambridge",tags:["cambridge","ケンブリッジ"],category:"game",content:"クロスプラットフォーム | シングルプレイ\\nLÖVEを使って開発された非公式テトリスです\\n簡単かつ高度にカスタマイズできる新しいゲームモードがあります\\n元々はJoe Zeng氏が開発していましたが2020年10月8日のver.0.1.5からMilla氏が引継ぎました\\n-Tetris wikiより",link:"",id:"571f5617b8e5a22421ad17096aca033c621c9cd3"},{title:"Nanamino",tags:["nanamino","ななみの","なな","ナナミノ","ナナ"],category:"game",content:"Windows/Android | シングルプレイ\\n面白い回転システムを持っている開発中の非公式テトリスです",link:"",id:"57e1dba48f0e84a44115c1c1732f6285d50a994a"},{title:"TGM",tags:["tetrisgrandmaster","tetristhegrandmaster","gm","グランド","マスター"],category:"game",content:"アーケード/PS/NS | シングル/ローカルマルチプレイ\\nTetris The Grand Masterはアーケードテトリスです\\nS13やGM等のモードはこのシリーズから始まりました\\nTGM3はシリーズの中で最も有名なタイトルです\\nNintendo SwitchやPlaystation 4に移植されてます",link:"",id:"9b19cb62836cdcf86dde298e8ee43d84db484ac6"},{title:"DTET",tags:["dtet","デテト","でてと","ディテト","でぃてと"],category:"game",content:"Windows | シングルプレイ\\nTGMのクラッシクルールをベースに20Gや強力な回転システムを導入した非公式テトリスです\\n現在、このゲームを見つけ出すのは難しく、見つからないDLLファイルを自分で補う必要があります",link:"",id:"dec506036ab50bd7d57f0a81bbebc91c38bdb04e"},{title:"Heboris",tags:["hb","heboris","へぼ","ヘボリス","へぼりす"],category:"game",content:"Windows | シングルプレイ\\nアーケードのような雰囲気の非公式テトリスです\\n他のテトリスの様々なゲームモードをシミュレーションできます",link:"",id:"2dd2156b95d39cee9e75fc358a447fd28b263a4f"},{title:"Texmaster",tags:["txm","texmaster","テクス","マスター"],category:"game",content:"Windows | シングルプレイ\\nTGMの全モードを収録している非公式テトリスです\\nただしインスタントソフトドロップやキックテーブルの仕様がワールドルールと少し異なります",link:"",id:"e23fd55f36113cce57e439e9807ddffc482d9f6f"},{title:"Tetris Effect",tags:["te","tec","tetriseffectconnected","TE:C","テック","テトエフェ","エフェクト","コネクテッド"],category:"game",content:"PS/Oculus Quest/Xbox/NS/Windows | シングル/マルチプレイ\\n略称はテトエフェ(TEC)\\n入力に反応するド派手なグラフィックとサウンドを備えた現在、主流の公式テトリスの1つ\\n「Connected」の文字がない基本版では1人用モードしかない\\nコネクテッドの方ではコネクテッドバトル、Zoneバトル、スコアアタック、クラッシクスコアアタックの計4つのモードで対戦が可能となっている(ただしフレンドマッチやローカルマッチではZoneなし等のルール設定が可能)",link:"",id:"e07a87fc2fb8f6261c38ab8c9b12659d382d7740"},{title:"Tetris 99",tags:["t99","tetris99","99"],category:"game",content:"Nintendo Switch | シングル/マルチプレイ\\n99人でバトルロイヤルを行う公式テトリス\\n従来の対戦テトリスにはない戦略が多く存在する\\nまたDLCをダウンロードすることでマラソンやcpuとの試合、キャラクタースキンなどが追加される",link:"",id:"c3a206118294bb16dfa68326b5ba44547721bee9"},{title:"ぷよぷよテトリス",tags:["ppt","puyopuyotetris ぷよテト","ぷよぷよ","テトリス","ぷて"],category:"game",content:"PS/NS/Xbox/Windows | シングル/マルチプレイ\\nぷよぷよとテトリスの2つが入ったゲーム\\n異種対戦もでき、多くのゲームモードが存在する\\n\\n[steam版は操作性が悪く、オンライン対戦も酷い]",link:"",id:"e2826ac7cd9388a0415de4af9f48e62b47284f47"},{title:"Tetris online",tags:["top","toj","toz","tetrisonline","poland","japan","zapan","テトオン"],category:"game",content:"Windows | シングル/マルチプレイ\\n今は亡き日本の公式テトリス\\nDASとARRの値を設定できますがどちらも0にはできません\\nプライベートサーバーで稼働していましたが2023年4月10日現在、2種類の日本サーバーはダウンしており、TOPサーバーのみ使えます",link:"",id:"9aa9fc1b2edb0ac3b6e93880666249a82fe50a67"},{title:"Tetra Online",tags:["TO","tetraonline","tetraoffline","offline","テトラ","てとら","オンライン","オフライン"],category:"game",content:"Windows/macOS/Linux | シングル/マルチプレイ\\nDr OceloとMineによって開発された非公式テトリスです\\n操作性は意図的にAREが高い値に設定されているのでぷよテトなどに近い\\nThe tetris companyがDMCA(デジタルミレニアム著作権法)を理由にsteamから削除されました\\nしかしオフライン版は現在もGithubから入手可能です\\n\\nテトラオフライン",link:"https://github.com/Juan-Cartes/Tetra-Offline/releases/tag/1.0",id:"0cbac115bf5d7b331ca6ca308c1632ed88e47748"},{title:"Cultris II",tags:["c2","cultris2","cultrisii","カルトリス"],category:"game",content:"Windows/OS X | シングル/マルチプレイ\\nクラッシクテトリスをベースにデザインされた非公式テトリス\\n対戦モードはコンボ(ren)に重点を置いたものとなっており、コンボ地形を組み立てる速さ、コンボ消化速度、掘のスキルが試されるゲームとなっている\\n\\n[Mac版は長い間メンテナンスされてなく、macOS Catalineよりも新しいビルドのmac OSではこのゲームをプレイできません]",link:"",id:"64fbaeee90c074afcbd634a3f1c63e11d47a072e"},{title:"Nullpomino",tags:["np","nullpomino","ぬるぽ","ヌルポ","ぬるぽみの","ヌルポミノ","ぬる"],category:"game",content:"Windows/macOS/Linux | シングル/マルチプレイ\\nカスタマイズ性の高い非公式テトリス\\nゲーム内のほぼ全ての設定を変更できる\\n\\n[しかしUIが時代遅れでフルキーボードでの操作が必須になります\\nNullpommino初心者は慣れるまで問題がある可能性があります\\nまたmac OS Montereyではこのゲームは動作しません]",link:"",id:"1c72f973378aea11668b493c6510c28f47809ff1"},{title:"Misamino",tags:["misamino","ミサミノ","みさみの","みさかみの","ミサカミノ"],category:"game",content:"Windows | シングルプレイ\\nローカルでMisaminoというbotと対戦できる非公式テトリス\\nAPIを学ぶことで自分でbotを作ることもできる",link:"",id:"b747f78de7ffc395c97fbdef1f9486f76b0535da"},{title:"four-tris",tags:["four","練習","上達","解析","研究"],category:"game",content:"Windows | シングルプレイ\\n主に試合を解析するためのソフト\\n盤面の取り込みは画像解析によって行う(かなり精度が高い)\\n n回目のパフェやren、チーズの練習もできる",link:"https://github.com/fiorescarlatto/four-tris/releases",id:"a7620b74fc36a6fe90c35c1006b192c492c8eb71"},{title:"Touhoumino",tags:["touhoumino","東方","touhou","とうほう","トウホウ"],category:"game",content:"Windows | シングルプレイ\\nNullpominoを改造し、東方projectの要素を追加した非公式テトリス\\nマラソンではスペルカードが存在し、制限時間内に必要なスコアに到達しないといけない\\n\\n[自分の腕に自信がある人におすすめ\\nそうじゃないとどうやって死んだのかすらわからない]",link:"",id:"55261fceb03a3b7bfcc10b6fb4f61589323c739c"},{title:"Tetris Blitz",tags:["blitz","ea","mobile","phone","ブリッツ","イーエー","スマホ","スマートフォン","モバイル"],category:"game",content:"iOS/Android | シングルプレイ\\nEAによって開発されたスマートフォン用の公式テトリス\\nゲーム開始時に多くのミノが落ちて来たり、Line消去を連続で行うことで「Frenzy」モードに入ることができたり、トップアウトが存在しなかったりと様々な特殊な仕様がある\\n\\nこのゲームは2020年4月に配信を終了しています",link:"",id:"2b00bb03ff88085a42156fabd9e118fe1944eb68"},{title:"Tetris (EA)",tags:["tetris","ea","galaxy","universe","cosmos","mobile","phone","テトリス","イーエー","スマホ","スマートフォン","モバイル ギャラクシー","銀河","宇宙","ユニバーサル","コスモス"],category:"game",content:"iOS/Android | シングル/マルチプレイ(?)\\nEAが開発したもう1つのスマートフォン用公式テトリス\\nスワイプとワンタッチの2つの操作方法がある\\nまたマラソンの他にギャラクシーモードというものが存在する\\nこのモードのクリア条件は指定されたミノを使い切る前にギャラクシーミノを消去することです\\n\\nこのゲームは2020年4月に配信を終了しています",link:"",id:"1155aa6fb77bd574703ed5c7e591e6c4abd0e463"},{title:"Tetris (N3TWORK)",tags:["tetris","n3twork","mobile","phone","テトリス","スマホ","スマートフォン","モバイル"],category:"game",content:"iOS/Android |シングルプレイ\\nN3TWORKが開発したスマートフォン用の公式テトリス\\n3分のウルトラ、マラソン、100人(cpu)のバトルロイヤルモードがある\\n\\n[UIは素晴らしいが操作性が良くない]",link:"",id:"e8f98017658c97afea81daac7c4adc0589777a41"},{title:"Tetris Beat",tags:["n3twork","rhythm","リズム","ビート","beat","スマホ","スマートフォン","モバイル","mobile","phone"],category:"game",content:"iOS | シングルプレイ\\nN3TWORKがAppleアーケードで配信しているスマートフォン用の公式テトリス\\nマラソンの他にビートモードがあるがBGMのリズムに合わせてミノを置いて行くだけである\\n\\n[エフェクトが重いし操作性もイマイチ]",link:"",id:"682435396857b8e212bea51bf5da2631027b1266"},{title:"Tetris Journey",tags:["tetrisjourney","mobile","phone","huanyouji","スマホ","スマートフォン","モバイル","ジャーニー"],category:"game",content:"iOS/Android | シングルプレイ\\nTencentによって開発され、中国限定で配信されたスマートフォン用の公式テトリス\\nレベルモードや対戦モード、いくつかの1人用モードがある\\n対戦モードでは2分間の時間制限があり、対戦者がトップアウトしない場合、より多く火力を送った方が勝者となる\\n仮想キーボードの配置や大きさを調整できる",link:"",id:"993ca1647332708fa733c91a0a2cb843b2627a62"},{title:"JJ Tetris",tags:["jjtetris","じぇーじぇー","ジェージェー","じぇじぇ","ジェジェ"],category:"game",content:"Android | マルチプレイ\\n正式名称:JJ块\\nJJ棋牌のカジュアルゲーム\\n縦画面、低入力遅延と操作性が高い\\nDASやARR、20Gソフトドロップなども制限はありますが設定可能です\\nホールドやB2Bシステム、相殺システムはありません\\n他にもそれぞれの攻撃の火力の上限が4、コンボが強いという特徴がありますが、それ以外はモダンテトリスに似ています",link:"",id:"fa9d980dbe25a5c2a2556d20dd0cdcd5814bedb4"},{title:"Huopin Tetris",tags:["huopin","qq","ほうぴん"],category:"game",content:"Windows |マルチプレイ\\n正式名称:火拼俄罗斯\\nTencent Game Centerが開発した公式テトリス\\n幅12の盤面、DASやARRはキーボードのタイピングと同じ、ネクストは1つ、ホールドはない\\n3line消し(火力:2)とテトリス(火力:3)でしか攻撃を送れない\\n下穴が市松模様のようになっているので掘ることはほぼ不可能",link:"",id:"0b0f47c275a7204e506301511a348c113d630809"},{title:"途中メモ 2",tags:["note","memo","ノート","メモ","nb","NB","DM","notice"],category:"term",content:"ここからは用語解説になります\\n\\nこれらの用語は全てのコミュニティで通じるとは限らず、また全ての用語が常に同じ意味になるとは限らないことに注意してください\\nここでは主にTechmino内で使うことを想定しています",link:"",id:"cf8827a90b9fca025a0568606c955c3c53fe5464"},{title:"LPM",tags:["linesperminute","speed","速さ","早さ","はやさ","lpm","l'pm"],category:"term",content:"Lines per minute\\n\\tプレイヤーの速さを計る指標です\\nゲームによってLPMの計算方法が異なります\\n例えばテトリスオンラインの場合、PPSという値からLPMを計算しています(1PPS=24LPM)\\nこの時、下穴消去が無視されているので文字通りのLPMとは異なります\\nTechmino内ではこのLPMを「L'PM」と表記しています",link:"",id:"dfe71d3ef5f74af842acc0ca6833cfe80340e7c0"},{title:"PPS",tags:["piecespersecond","speed","速さ","早さ","はやさ","pps"],category:"term",content:"Pieces per second\\n\\tプレイヤーの速さを計る指標です",link:"",id:"5b7dc17dbae6b67d5223ed36b73bacabeab77a22"},{title:"BPM",tags:["blocksperminute","piecesperminute","speed","速さ","早さ","はやさ","bpm","ppm"],category:"term",content:"Blocks per minute\\n\\tプレイヤーの速さを計る指標です\\n音楽用語との混同を避けるためにPPMと呼ばれることもあります",link:"",id:"473fe1b7aadb624780218f6304bf844f0e84dc2f"},{title:"KPM",tags:["keysperminute","keypressesperminute","速さ","早さ","はやさ","入力","kpm"],category:"term",content:"Keypresses per minute\\n\\tプレイヤーの入力の速さを計る指標です",link:"",id:"a1576db8f140501bfee4cfb414de249cdacf2852"},{title:"KPP",tags:["keysperpiece","keypressesperpiece","速さ","早さ","はやさ","効率","入力"],category:"term",content:"Keypresses per piece\\n\\tミノ操作の効率を計る指標です\\n最適化を習得することでこの値を下げることができます",link:"",id:"ac69f23822921b2b6f08964277ea2fe77a54a800"},{title:"APM",tags:["attackperminute","火力","攻撃"],category:"term",content:"Attack per minute\\n\\tプレイヤーが出した火力を計る指標です",link:"",id:"cec83d48a002ee0f5752fe842f2d3b767b0dee73"},{title:"SPM",tags:["linessentperminute","火力","攻撃"],category:"term",content:"[lines] Sent per minute\\n\\tプレイヤーの攻撃力を計る指標です\\nここでは相殺に使用した火力はカウントされず、相手の火力ゲージに送った火力だけがカウントされます",link:"",id:"f4a4c43d06a70fe2b158f7c5cb4d6aa6fd11d0f3"},{title:"DPM",tags:["digperminute","defendperminute","防御","火力","相殺","サバイバル","生存","掘り"],category:"term",content:"Dig(またはDefend) per minute\\n\\tプレイヤーの掘り、若しくは防御力(相殺火力+掘ったLine数)を計る指標です",link:"",id:"52248f61c1be44c4fe7194ec304854f0db944e1e"},{title:"RPM",tags:["receive","jieshou","受け","外し","相殺外し"],category:"term",content:"[lines] Receive per Minute\\n\\tプレイヤーが受けた攻撃量を計る指標です",link:"",id:"45604b2d6449601e616f86b6f336d2e612f07f9e"},{title:"ADPM",tags:["attackdigperminute","vs"],category:"term",content:"(Attack + Dig) per minute\\n\\tその試合で対戦者間のスキルを比較するための指標です\\nTETR.IOのVSスコアはこれと違い、100(Attack+Dig)/sで計算しています",link:"",id:"2ffd518aa9b41380402c774b4a3c422d214e82ab"},{title:"APL",tags:["attackperline","efficiency","効率","火力","攻撃"],category:"term",content:"Attack per line (cleared)\\n\\tよく「効率」という言葉で置き換えられます\\n1Line単位の火力を算出している値であり、ここではTSSがテトリスやTSDよりも効率が良いとされる",link:"",id:"bbcd87c56cca8b72d58cfb41a18d7ee80637f410"},{title:"Single",tags:["single","1","シングル"],category:"term",content:"1回で1Line消すこと",link:"",id:"37880ca2d93f61a696b5fea6aa6ce5f21d437a24"},{title:"Double",tags:["double","2","ダブル"],category:"term",content:"1回で2Line消すこと",link:"",id:"a53a2529ffaf4fe90f7dcaa3ebcef48896262376"},{title:"Triple",tags:["triple","3","トリプル"],category:"term",content:"1回で3Line消すこと",link:"",id:"6e7c234815285108ed77b7a2cb357091a87bce29"},{title:"Techrash",tags:["techrash","tetris","4","quad","クアッド"],category:"term",content:"*Techmino用語*\\n1回で4Line消すこと",link:"",id:"f54542633cc7c0f657b1950e77ab63abb01484dc"},{title:"Tetris",tags:["tetris","4","quad","クアッド"],category:"term",content:"ゲームの名称(商標)\\nまた公式テトリスにおいて1回に4Line消すことを指す言葉\\n\\nTetra(ギリシャ語で「4」を意味する)とTennis(テトリスの制作者が好きなスポーツ)を組み合わせた造語\\n\\nまた任天堂とセガが開発したテトリスはThe Tetris Companyのライセンス登録を受けていますが、この2社がテトリスそのものの著作権を保有しているわけではありません\\n\\n-- Alexey Pajitnovに感謝を!",link:"",id:"53003ed2f9c60a215e4b78d07b152f9ccae50b53"},{title:"All Clear",tags:["pc","perfectclear","ac","allclear","パフェ","オール","パーフェクト"],category:"term",content:"Perfect Clear(PC、パフェ)とも言われる\\n盤面内にある全てのミノを消去すること\\n明らかにあるのに見逃した場合、「今パ」と言われることがある(逆にこれに言い返すフレーズも存在する)",link:"",id:"951bcb1c86529c4418c41c0a7918a4a8daafb257"},{title:"HPC",tags:["hc","clear","halfperfectclear","ハーフ","セミ"],category:"term",content:"Techmino用語\\nHalf Perfect Clearの略\\n下穴以外のミノを全て消去するとHPCとなり、軽い火力強化が行われる\\n\\n俗に言う実質パフェ",link:"",id:"b57a9021cc5f22e8d1c0afaf771d214ba0faf522"},{title:"Spin(回転入れ)",tags:["spin","回転","スピン"],category:"term",content:"任意のミノを回転システムを使うことにより入れること\\nこれを使うことにより通常では置けない場所にでも置くことが可能になります\\nまたこの操作により火力やスコアに補正がかかることがあります\\nゲームによって回転システムが異なる場合がある",link:"",id:"c81c86bfb792e16d7f85e293759ede4f04c819f1"},{title:"Mini",tags:["mini","ミニ","みに"],category:"term",content:"ゲーム側が簡単すぎると判断したspinに適用されるシステムです\\nそのために昔のゲームでは「EZ T-spin」とも呼ばれていました\\nminiの付いたspinは火力やスコアボーナスが通常のspinよりも少なくなるように設定されています\\n\\n基本は細かい仕様を覚えずにminiになる地形だけ覚えておけば大丈夫です",link:"",id:"d445305f9c8bc06b1447c50fb0a761dba94a81cd"},{title:"All-Spin",tags:["allspin","オール","全"],category:"term",content:"全てのミノのspinに火力、スコア補正がかかるルールのこと(通常ルールはTspinのみ)\\nまた稀にルールではなくAll-spinという回転法則を指すこともある",link:"",id:"e86babd5253f73a9ae28c904ed9e73023e01411a"},{title:"T-Spin",tags:["tspin","ティ","ts","ふんどし"],category:"term",content:"Tミノを回転入れ(spin)すること\\n\\n最近の公式テトリスでは3コーナールールを採用している\\nこれは回転入れをした時にTミノの回転軸を中心として斜め4マスの内3マス以上が埋まっていた場合にTspinとして判断するというものである\\nゲームによっては一部のTspinをmini扱いしている",link:"",id:"79fa79179aabd566fb5794617de3ebe4df508804"},{title:"TSS",tags:["t1","tspinsingle","ティ","シングル"],category:"term",content:"T-Spin Single\\nTspinで1Line消去すること",link:"",id:"3273810a3a0478ea2e9baa8554542aa255ad2c00"},{title:"TSD",tags:["t2","tspindouble","ティ","ダブル"],category:"term",content:"T-Spin Double\\nTspinで2Line消去すること",link:"",id:"3b66d09aeaaa25de906a858f3124345d9ffa7eda"},{title:"TST",tags:["t3","tspintriple","ティ","トリプル"],category:"term",content:"T-Spin Triple\\nTspinで3Line消去すること",link:"",id:"d2b30723c0d620269675f8b486a6c3e69a1be264"},{title:"MTSS",tags:["minitspinsingle","tsms","tspinminisingle","tsm","mini","1","シングル"],category:"term",content:"Mini T-spin Single\\n通称:T-spin Mini Single(TSMS)\\nTSSだがmini判定のもののこと\\n\\nゲームによってどのTSSがminiなのか判定が異なっていたり、そもそもなかったりする",link:"",id:"3323cf30e494b45e52b3052a95021ed85ac92e29"},{title:"MTSD",tags:["minitspindouble","tsmd","tspinminidouble","tsm","mini","2","ダブル"],category:"term",content:"Mini T-Spin Double\\n通称:T-spin Mini Double(TSMD)\\nTSDだがmini判定のもののこと\\nMTSDは一部のゲームにしか存在せず、発生する地形も異なる場合がある\\n\\nさらに一部のテトリスではMTSDを想定しておらず最悪の場合、フリーズや強制終了する",link:"",id:"9c38b240170b244a00e2f2c2981c605d302f6350"},{title:"O-Spin",tags:["ospin","o","オー","2"],category:"term",content:"Oミノはどんなに回転させても形が変化しないため回転入れが不可能でした(一部では毎秒500~600回転させることでOミノが熱膨張したり溶けたり変形したりするという噂があります)\\nそのためテトリスコミュニティ内でミームのように扱われ、フェイクビデオ等も作成されました\\n\\nXRSという回転法則ではOミノを特定の地形で回転させると穴にテレポートするように設計し、それをOspinとしています\\nまたTRSでは同様にすることでテレポートさせるだけでなく、他のミノの形に変形することによってOspinを実現しています",link:"",id:"c2438b38e3d412b7e59d8eb950853ab5ac321f80"},{title:"Rotation Systems(回転システム、回転法則)",tags:["wallkick","rotationsystem","回転","壁","法則"],category:"term",content:"ミノがどのように回転するかを決定しているシステムのこと\\nモダンテトリスの場合、ミノは特定の回転軸を中心に回転している(もちろんそれがないゲームもある)\\nそして回転させたときに壁や既にマスが埋まっている場所にミノが重なると通常「壁蹴り」という処理が行われ、あらかじめ決められた位置にズレ、再び壁蹴りが必要かの判定が行われる\\nこれを繰り返しミノは設置可能な穴に移動する\\nまたこの時、spin判定が出る場合がある",link:"",id:"0375a1b3830488cae13fe02b727d03b73de3eea0"},{title:"方向表記",tags:["direction","0r2l","02","20","rl","lr","表記","ミッション"],category:"term",content:"SRS系統の回転システムではミノの向きを記述する表記法がある\\n「0」や「正の向き」の場合は出現した時と同じ向き、「R」や「右」、「1」という場合は90°右回転(CW)した向き、「L」や「左」、「2」や「逆の向き」の場合は180°回転させた向き、「3」の場合は90°左回転(CCW)した向きを表す\\n\\n例えば0->Lは左回転1回、2->右は逆の向きの状態から左回転1回となる(これは回転方向ではなくミノの向きを表す表記法なので右回転ではない)\\nカスタムモードにあるミッションはこの表記を使っている\\n\\n「->」や数字使った表記は日本であまり使われない",link:"",id:"169218700f77094ee396025d2ca70756fbc0a75a"},{title:"ARS",tags:["arikrotationsystem","atarirotationsystem","あたり","アタリ","ありか","アリカ"],category:"term",content:"これは以下の2つの意味があります\\n\\nTGMにて採用されているArika Rotation Systemのこと\\n\\n回転した時にミノを左上に揃えるように回転方向するAtari Rotation Systemのこと",link:"",id:"b08793e8c88ed97811e6ffc2324504a60a317ced"},{title:"ASC",tags:["ascension","アスセンション","アズセンション"],category:"term",content:"テトリスクローン「Ascension」にて使用されている回転法則\\n全てのミノに同じ2つのキックテーブルが使用されている\\nキック範囲は右回転、左回転両方で±2マスとなっています",link:"",id:"a5387c0b6e4410c66ad1e4c19e2b76b20462ef98"},{title:"ASC+",tags:["ascension","ascplus","アスセンション","アズセンション"],category:"term",content:"ASCをTechminoのために修正したもの\\n180°回転の壁蹴りをサポートしています",link:"",id:"2de14efed2877667050ce125d31c18ddc8fc5015"},{title:"BRS",tags:["bulletproofsoftware","バレット"],category:"term",content:"BPS rotation system\\nBullet-Proof Software社のテトリスで使用されている回転法則",link:"",id:"d0675584ad76a94fffc11a93f45e8b20166d64f7"},{title:"BiRS",tags:["biasrs","biasrotationsystem"],category:"term",content:"*Techmino用語*\\nBias Rotation System\\nXRSとSRSを基に作られたTechmino独自の回転法則\\n回転時に右や左、ソフトドロップを入力しているとその方向にミノがズレるように回転に補正がかけられます\\n下方向に補正がかかっているときに回転に失敗(既存のマスと重なる)と下方向への補正をかけずに再試行します\\nそしてそれにも失敗した場合は右、または左の補正をかけずに再試行します\\nそれにも失敗した場合には回転されません\\n\\nBiRSはXRSに比べてキックテーブルが1つのため覚えやすく、さらにSRSの特徴である地形に沿った壁超え等も備えています\\n\\n追加事項:最後の回転補正を試行する時のルールとして移動するユークリッド距離が√5を超えてはいけない、また右または左に補正がかかっている場合には最後の回転補正はもう一方の方向には行かないという2つのルールがBiRSにあります",link:"",id:"41c0af2646e5815b09a6821fe6e83532239c30de"},{title:"C2RS",tags:["c2rs","cultris","2","カルトリス"],category:"term",content:"Cultris II rotation system\\nCultris IIで使われている回転法則\\n全ての回転、全てのミノのキックテーブルが同じ(ズレ方:左、右、下、左下、右下、左に2、右に2)\\nまた左右は左が優先される\\n\\nTechminoではこの回転法則を改良したC2symという回転法則があり、そちらは左右の優先順位をミノと回転によって決定している",link:"",id:"62a5c7b090a2979b58768504b166332a70a18666"},{title:"C2sym",tags:["cultris2","カルトリス","c2rs"],category:"term",content:"C2RSを改良した回転法則\\nミノと回転によって左右の優先順位を変えています",link:"",id:"cb0059cdcb6a74ca3c363b10f4a34e3fb53ffe1f"},{title:"DRS",tags:["dtetrotationsystem","dtet","デテト","でてと","ディテト","でぃてと"],category:"term",content:"DTET Rotation System\\nDTETで使われている回転法則",link:"",id:"a8ac1bcd736078d77d19f589aeccb48e7356da76"},{title:"NRS",tags:["nintendorotationsystem","任天堂","ニンテンドー"],category:"term",content:"Nintendo Rotation System\\nファミコンやゲームボーイ時代のテトリスに使用された回転法則\\nゲームボーイ用の左手用とファミコン用の右手用の2種類があります",link:"",id:"1fcbba8820c777bc421ac1c2dba445c896eefda5"},{title:"SRS",tags:["superrotationsystem","回転"],category:"term",content:"Super Rotation System\\n最もポピュラーな回転法則であり、多くの自作回転法則の基礎にもなっている\\nそれぞれのミノには上下左右4方向あり、右回転、左回転の2つの方向に回転できる(この回転法則では180°は存在しない)\\nそして回転した時にミノが既に埋められているマスや壁、床に重なった場合、位置ズレが発生し床や壁を蹴ることができます(通称:壁蹴り)\\nキックテーブルの詳細はTetris wikiやHardDropにて調べられます",link:"",id:"fe329572f8c280a48db48996ecf6276166a43283"},{title:"SRS+",tags:["srsplus","superrotationsystemplus","tetr"],category:"term",content:"SRSを180°に対応させ、さらに一部の回転に対称性を持たせた回転法則です",link:"",id:"06663b6165e4f3de5c2634a62fb2be4ae66cff52"},{title:"TRS",tags:["techminorotationsystem","techmino"],category:"term",content:"*Techmino用語*\\nTechmino Rotation System\\nSRSを基にした回転法則\\nSとZが回転しない場合を修正し、いくつかの便利なキックテーブルがあります\\n\\nTRSはOspinをサポートしています",link:"",id:"71dd364fad01829c910f46108bb9f026d7937635"},{title:"XRS",tags:["xrs"],category:"term",content:"X rotation system\\nTetris.grのT-EXで使われている回転法則\\n方向を入力していると別のキックテーブルを使えるという機能を備えておりプレイヤーがミノのズレる先を操作できるようになっている",link:"",id:"2d1d479ea535d60b3120f6ec1523575b004b6920"},{title:"Back to Back",tags:["b2b","btb","backtoback","バック"],category:"term",content:"略称はBtB(B2B)\\n他のLine消去を挟まずにspinやテトリスをすること\\n火力やスコアに補正がかる\\nコンボとは違い、Line消去に関わらないミノを置いてもBtBには影響がない",link:"",id:"e8e071ffb7ef406f92748c1a23e438359f60b2a9"},{title:"B2B2B",tags:["b3b","b2b","btb","backtoback","バック"],category:"term",content:"*Techmino用語*\\nBack to Back to Back、略称はB3B\\nBtBを続けて維持し、BtBゲージを満タンにすることでB3Bになり、火力やスコアに更に強力な補正がかかる",link:"",id:"c433b2e201993e1d301a8ce4aaaa00ccea045f29"},{title:"Fin, Neo, Iso",tags:["fin","neo","iso","特殊","フィン","ネオ","アイエスオー","ふぃん","ねお","あいえすおー"],category:"term",content:"Tspinのキックテーブルと成立条件を利用した特殊なTspinです\\nゲームによってはminiになったりと価値が異なりますが実戦では限られた場面でしか使われません",link:"",id:"44696117b28725326db731e0d17e1f02b3ff6375"},{title:"モダンテトリス",tags:["modern","モダン","現代"],category:"term",content:"“モダン“テトリスや落ちものパズルゲームのコンセプトは曖昧です\\n一般的にテトリスガイドラインに準じて作られたテトリス(公式テトリス)に似ている落ちものパズルゲームはモダン(現代的)ゲームと言われます\\nこれに共通するルールを以下に挙げますがこれは厳密な定義ではありません\\n\\n1.可視部分の盤面は横10×縦20、さらにこの上に見えない盤面があることが多い\\n2.ミノは盤面可視部分の中央上部に生成され、それぞれ一貫した方向と色を持っています\\n3.7-BagやHisのような適当な生成機構がある\\n4.適当な回転システムを持ち、最低でも左右、両回転が可能\\n5.適当な設置システムがある\\n6.適当なトップアウト条件がある\\n7.複数個(通常3~6個)のネクストが表示されており、ネクストに表示されているミノが出現時にの方向と一致している\\n8.ホールドがある\\n9.ミノの出現時間やLine消去時間がある場合、通常IRSやIHSがある\\n10.正確かつ素早い横移動のためのDASシステムがある",link:"",id:"4c50dcb1b2b062e3b11f19942e292b26d37da0b3"},{title:"テトロミノの形",tags:["shape","structure","form","tetromino","tetrimino","ミノ","テトロミノ","テトリミノ","ブロック","ピース","形"],category:"term",content:"通常のテトリスの場合、使用するミノは全てテトロミノ、つまり4つの正方形が最低でも1辺それぞれ共有するように並べたブロックです\\n回転して合同になることは許し、反転で合同になることは許さなかった場合、全部で7種類のテトロミノができます\\nこれらのテトロミノはアルファベットに似ていることからそれぞれZ,S,J,L,T,O,Iと名前が付けられている\\n詳しくは「形と名前」の項目を参照",link:"",id:"ef69d60a3cc8b49ef0b8d6510a14e97517cb2049"},{title:"テトロミノの色",tags:["colour","hue","tint","tetromino","tetrimino","ミノ","テトロミノ","テトリミノ","ブロック","ピース","色"],category:"term",content:"最近のモダンテトリスではそれぞれのテトロミノに同じ配色をしています\\n\\nZ-赤、S-緑、J-青、L-オレンジ、T-紫、O-黄色、I-水色\\n\\nTechminoも例にもれずこの配色を使っています",link:"",id:"dea2749f91e6ddcbde63c93d9c870ae9f78756c3"},{title:"IRS",tags:["initialrotationsystem","先行","操作"],category:"term",content:"Initial Rotation System\\nミノ出現前に回転を入力し続けることでミノが回転した状態で出現するシステム\\nミノの重なりによる死亡判定を回避することが可能",link:"",id:"26a39cddcceef76eec2d0ee3a603f4eeba023756"},{title:"IHS",tags:["initialholdsystem","先行","操作"],category:"term",content:"Initial Hold System\\nミノ出現前にホールドを入力し続けることでホールドを行った後のミノが出現するシステム\\nミノの重なりによる死亡判定を回避することが可能",link:"",id:"2e6c8326dd0ff1debd849bb11d6b29e11a2eed38"},{title:"IMS",tags:["initialmovesystem","先行","操作"],category:"term",content:"*Techmino用語*\\nInitial Movement System\\nミノ出現前に横移動を入力し続けることでミノが1つ横にズレた状態で出現するシステム\\nミノの重なりによる死亡判定を回避することが可能\\n\\n補足:横移動を入力し始めてからミノ出現までの時間がDAS時間よりも長くなければいけません",link:"",id:"bbd943e376c3847e6617fd252acc7e0046eab1d8"},{title:"Next(ネクスト)",tags:["nextpreview","next","ネク","ネクスト","ねく","ねくすと","次","上達","練習"],category:"term",content:"次に来るミノをいくつか表示している部分のこと\\nネクストを処理することによって前もってミノの置く場所を決めることができ、テトリスを上手くなるには必須技術です",link:"",id:"c92cf9183c2e48a86e30f2ef323d04198fa52a5f"},{title:"Hold(ホールド)",tags:["hold","ホールド","一時","保留"],category:"term",content:"その時点で操作しているミノがホールド部分に移動し、代わりに元々ホールド部分にあったミノを取り出します(もしホールド部分にミノがなかった場合、ネクストのミノが操作ミノになります)\\nこの操作は通常繰り返すことはできず、一度ホールド部分に移動したミノは再びホールドすることはできません\\n\\n*Techmino用語*\\nTechminoには「その場ホールド」という機能があります\\nこの機能を有効にしていた場合、ホールドから取り出されるミノは従来の出現位置ではなく、その時ミノがある位置に出現します",link:"",id:"d47a553f2352803ffa500b2637c7d69c3f4f13da"},{title:"Swap",tags:["hold","ホールド","一時","保留","スワップ"],category:"term",content:"ホールドと似た機能ですが、swapはネクストとミノを入れ替えます\\nつまりこの操作をした場合、swapしたミノは次の操作ミノになります\\n\\nこの操作は通常繰り返すことはできず、一度swapしたミノは再びswapすることはできません",link:"",id:"a579efcbdc1313f01ee4052715b31ab8d8764b67"},{title:"Deepdrop(ディープドロップ)",tags:["shenjiang","ディープ","deep"],category:"term",content:"*Techmino用語*\\nこの機能を有効にした場合、床を貫通して回転入れのようにテレポートします\\nミノと同じ形の穴があり、その穴が埋まっている時に下までソフトドロップし、もう一度ソフトドロップを入力することで埋まっている穴にテレポートします\\nこの機能はAIが回転法則の違いを無視できるようになるため特にAIに有効な機能です",link:"",id:"e66932715be581f84b57cd16e806d3e2130f9b64"},{title:"Misdrop(置きミス)",tags:["md","misdrop","ミス","置き"],category:"term",content:"意図しない場所にミノを置いてしまうこと\\n\\n日本では、テトリスするためのIミノが縦のまま1つ横にズレることを「あるぎミス」と言ったりする",link:"",id:"01080f102e9d954f8d2752605e0d6531089c3f95"},{title:"Mishold(ホールドミス)",tags:["mh","mishold","ホールド","ミス"],category:"term",content:"意図しないタイミングでホールドしてしまうこと\\n置きミスにつながったりパフェを逃す原因になります",link:"",id:"ac2aa3ff1c8ee16a4258bf8b331034d285c9da33"},{title:"sub(切り)",tags:["sub","切り","タイム","秒","分"],category:"term",content:"sub<時間>(<時間>切り)はスプリント(40Line)などのタイムが<時間>未満であることを意味する\\nsubの場合は時間の単位が省かれることが多い\\n例えば、スプリント(40Line)の場合はsub30(30秒切り)、1000Lineの場合はsub15(15分切り)と表す",link:"",id:"2e2feb8592af85d898cd4f928c4cb1bb5c31a2d2"},{title:"Digging(掘り)",tags:["downstacking","ds","掘り","堀り","dig","ダウン"],category:"term",content:"盤面の下にある下穴などを消していくこと\\n「堀り」ではなく、「掘り」",link:"",id:"35fb2f3c5c6f9596510318459846f4096df49a8d"},{title:"Downstack",tags:["downstacking","down","ds","掘り","dig","ダウン","upstack","up","ud","積み","stack"],category:"term",content:"大きく見た時に地形を下げる積み方のこと\\n掘りはこれの1種である\\n対義語としてUpstackがある\\n\\n1巡毎に2Line消去をする場合、盤面内は1巡につき8つブロックが増えていく\\nつまり毎巡TSDをすると火力が送れる上にリソースが溜まっていくのである。",link:"",id:"aa5600b84be1854f3439f4aa41c07d9b181001d2"},{title:"削り",tags:["削り","整地"],category:"term",content:"主に整地を目的として1~3Line消去をすること\\n無駄な削りもあるが必要な削りも世の中には存在する",link:"",id:"1a16267b0b7c3f428030e5cb10b1e3e56b3f95ea"},{title:"Donation(ドネイト)",tags:["donate","ドネイト","空中"],category:"term",content:"穴を一旦塞いでTspinの地形を作ること\\n特にTspinの後に塞いだ穴が空く形状となるもの",link:"",id:"eafbc1723a0844d66292009fccfb17dda1728173"},{title:"‘Debt’",tags:["qianzhai","debt","owe"],category:"term",content:"中国のテトリスコミュニティで使われる用語(欠债と呼ばれている)\\n\\n特定の地形を完成させないとまともな攻撃(Tspinやテトリス)ができない状況や地形を表す用語\\n端的に言えばTSTタワーやキングクリムゾンのような大型テンプレを組み終わるまでの隙のことを指す\\n大型テンプレを実践でする場合には凝視等で安全なことを確認してから行わないと不利な状況になります",link:"",id:"494a79a3b7c09476e9b602f0de65d7444af7db6a"},{title:"謎テト",tags:["クイズ","quiz","謎","上達","練習"],category:"term",content:"特定の状況とお題が与えられ、それを満たすような答えを探す詰将棋みたいなもの\\n謎テトがまとめられたサイトもある",link:"",id:"f5d2a8bf4275cae881388c7e38388bddf4872d0a"},{title:"てとぼ",tags:["募集","上達","練習","tetobo"],category:"term",content:"テトリス募集の略\\nTwitterやDiscord上で対戦相手を募る時に使う言葉\\nTwitterではてとぼをRTしてくれるbotが存在する",link:"",id:"372008da2c8cc0a291a67e428a209f5a0d31a978"},{title:"テト譜コード",tags:["開発","テト譜","譜面","コード"],category:"term",content:"テト譜URLの「v115@~」以降の部分のこと\\nこれにはテト譜地形やコメント等の情報が収められている\\n「v115@」の部分は「m115@」だったり「v095@」だったりする\\n詳しくはnewjade氏が作成した「テト譜v115のデータ構造」というスライド参照",link:"https://docs.google.com/presentation/d/1P5xt0vPGuxSb9hbRW6hvQFYKFoIccfNTJkWTdjtyigc/edit#slide=id.p",id:"e777f175dd22978ab4fe72da0032e69e5f7374c7"},{title:"地力",tags:["実力","上達"],category:"term",content:"あらゆる場面に対応できる総合的な能力のこと\\n要はテトリスの実力\\n\\n実際には速さや見える手、凝視等の根本的な能力の総称として使われることが多い",link:"",id:"297a557493aa8dad2ab34028f5cf135ed7390caf"},{title:"パリティ",tags:["開発","テト譜","譜面","研究","練習"],category:"term",content:"地形を特定の法則に従って2色以上で塗り分けた時の性質のこと\\n今までは主に市松パリティや縦パリティでパフェが取れる条件を絞り込みだけだったが、最近では研究が進みアップスタック時に安定して火力が出せる地形を維持する条件などが解明されている",link:"",id:"51a0c20b3b6f8cabcfbebfc77851c74475f5884a"},{title:"Attack & Defend",tags:["attacking","defending","攻撃","防御","攻防","アタック","ディフェンス","火力","相殺"],category:"term",content:"attack:相手の火力ゲージに到達した攻撃のこと\\ndefend:相手から送られてきた火力に自分の火力を当てること(日本では「相殺」と呼ばれる)\\nカウンター:相手からの火力を受ける(相殺外し)、または相手の火力を相殺してから相手に攻撃を送り返すこと\\nほとんどのゲームでは1:1で相殺が計算されます\\nつまり相手が火力4で攻撃してきた時に自分がテトリス等で火力4を出した場合、4-4=0 で完全相殺となります",link:"",id:"631de8b698d9d53d8e8787bceeef14436277349e"},{title:"Combo(コンボ)",tags:["ren","combo","れん","レン","こんぼ","コンボ","連"],category:"term",content:"日本では「ren」とも言う\\n連続してLien消去を行うこと\\n1回目のLine消去を0ren目、2回目を1ren目、3回目を2ren目としてカウントアップしていく\\nもちろんLine消去せずにミノを置いたらren数はリセットになる",link:"",id:"4128f2188446f8b8d722d9a805311a67b2199f74"},{title:"Spike(スパイク)",tags:["spike","スパイク","すぱいく","まとめ"],category:"term",content:"短時間で高火力を出すこと\\nただしネットのラグによって大量の火力が行き来することを「ラグスパイク」と呼ぶことがあるが厳密にはスパイクではない\\nTechminoとTETR.IOにはスパイクカウンターがあり、これによって短時間でどれだけ高火力を出したかがわかる",link:"",id:"0600eadaec48d6c22ec000240a27fe964584e7e8"},{title:"端開け(端空け)",tags:["sidewell","端","開け","空け","ren","combo","レン","れん","コンボ"],category:"term",content:"端を任意の幅開ける積み方\\nつまり端開け1列はテトリス積みになります\\n端開け2~4列はren地形になります\\n\\n端開けは幅を広げる程、短時間で積み上げられますがその分相手からの攻撃が簡単に刺さります\\nそのため上級者が端ren等をする場合は相手に隙があるかを確認してから組み始めます",link:"",id:"32eac94ecf78f188c3274e7d106ea8cffb52e8a7"},{title:"中開け(中空け)",tags:["centerwell","中","開け","空け","ren","combo","レン","れん","コンボ"],category:"term",content:"真ん中を任意の幅開ける積み方\\n基本的に左右から5,6列目を中心に開けることを指す\\nミノを左右に移動させる回数が端開けに比べ多くなるため積み込む速さは遅くなるがそれ以上に選択肢が増えるので好まれる",link:"",id:"cd92890afb1e74dfcd16135ae67aa31ef56e8c6a"},{title:"Partial well",tags:["partialwell","開け","空け","ren","combo","レン","れん","コンボ"],category:"term",content:"日本では使われない用語\\n中でも端でもない左右から2,3,4列目を中心に任意の幅開ける積み方\\n定義的には63積みやヤンキーrenなどがこれにあたる",link:"",id:"ba121cf78df0cbf688ed4cd5881123c443058db6"},{title:"Side 1-wide(端開け1列、端空け1列)",tags:["s1w","side1wide","sidewelltetris","端","1","空け","開け","テトリス"],category:"term",content:"つまり端を開けてテトリス積みをすること\\n最も伝統的な積み方\\n最も簡単に積め、簡単に火力を送れる\\nただし攻撃の幅が狭い(テトリスかドネイトTspinぐらい)ので上に行くほどあまり好まれない",link:"",id:"b48962188262aa932c589c90f2fc7ac2deccb9ab"},{title:"Side 2-wide(端開け2列、端空け2列)",tags:["s2w","side2wide","端","2","空け","開け","ren","combo","レン","れん","コンボ","初心者","下級者"],category:"term",content:"端に2列幅を持たせるrenの積み方\\n積みやすくrenによって簡単に火力が出せるので初心者におすすめ\\n上に行くほどren数を稼ぎづらいことからあまり使われない",link:"",id:"e83445bc508d7f1124b6feca371ed67ddb4c89d3"},{title:"Side 3-wide(端開け3列、端空け3列)",tags:["s3w","side3wide","端","3","空け","開け","ren","combo","レン","れん","コンボ"],category:"term",content:"端に3列幅を持たせるrenの積み方\\n2列開けよりもren数を稼ぎやすいが、2列開けよりもrenが途切れやすい",link:"",id:"7491d2d3b3caf7e53faeb3dc1455b2753dc9eaa9"},{title:"Side 4-wide(端開け4列、端空け4列)",tags:["s4w","side4wide","端","4","空け","開け","ren","combo","レン","れん","コンボ"],category:"term",content:"端に4列幅を持たせるrenの積み方\\nren地形を作る時によく使われる\\n積む幅が狭いので速く積み上げることができ、上手くいった場合にはren数を大きく稼ぐことができる\\nただしrenを繋げるのは少し難しく、また地形が高くなるのが早いので油断していると簡単に刺さる",link:"",id:"71c8467d053ba0a54355f293b5373ffe5c9463f0"},{title:"Center 1-wide(中開け1列、中空け1列)",tags:["c1w","center1wide","centerwelltetris","中","1","空け","開け","テトリス"],category:"term",content:"つまり真ん中を開けてテトリス積みをすること\\n攻撃の幅が広く、また簡単に攻撃を組み立てることができるため対戦で好まれる",link:"",id:"ab48b2a2126432736dafb7ace4e6afdf4cbe773e"},{title:"Center 2-wide(中開け2列、中空け2列)",tags:["c2w","center2wide","中","2","空け","開け","ren","combo","レン","れん","コンボ"],category:"term",content:"真ん中に2列の幅を持たせるrenの積み方\\nTミノが遠い時にTspinを作るとなりやすいが意図的に使われることは少ない",link:"",id:"e1574eb512b691a48938b87003b2eb5e510a066c"},{title:"Center 3-wide(中開け3列、中空け3列)",tags:["c3w","center3wide","中","3","空け","開け","ren","combo","レン","れん","コンボ"],category:"term",content:"真ん中に3列の幅を持たせるrenの積み方\\nSTSDやSTMB-ケイブ、TSTタワー等テンプレを組みやすい幅ではあるが精々10段ぐらいしか積まれない",link:"",id:"184a16cc5afe7488759acf9cdf9a8534f2341e3a"},{title:"Center 4-wide(中開け4列、中空け4列)",tags:["c4w","center4wide","中","4","空け","開け","ren","combo","レン","れん","コンボ"],category:"term",content:"真ん中に4列の幅を持たせるrenの積み方\\nren数を稼ぎやすく、相手から20段以上の攻撃を受けないと出現ミノの位置にブロックが重ならないのでrenを狙う場合によく使われる\\nrenの調整が強いゲームだと嫌われやすい",link:"",id:"1139463af9eb74645054bc7a85c718b52755e583"},{title:"ヤンキーren",tags:["partial","ヤンキー","空け","開け","ren","combo","レン","れん","コンボ"],category:"term",content:"真ん中でも端でもない左右一方から2,3列目を中心に2~3列の幅を持たせるrenの積み方\\n積み込み難易度の高さや最適化のしづらさからあまり使われることはない",link:"",id:"091334e842c6b8c0a73c5ab5e17b853f398eb6e0"},{title:"Residual(種)",tags:["res","種","residual","c4w","s4w","端","中","ren","combo","れん","レン","こんぼ","コンボ"],category:"term",content:"端開けや中開けをした時に幅を持たせた部分にあるブロックの数のこと\\n特に4列renの時に使われる\\nよく使われる種数は種3、または種6だが種3n(n:1以上の整数)なら理論上多くのren数を稼げる\\nまた3nじゃなくても種2などは1ミノLine消去せずに置くことで種6になったりする\\n\\n種3の特徴:消し方の種類が少ないので簡単に習得でき、積みに使うブロック数が多くなるので速く積み上げられるが種6等よりも繋げられないパターンが多い\\n種6の特徴:消し方の種類が多いので難しいですが安定してrenがつなげやすく、途中でTSSを加えられるためゲームによっては非常に強力な攻撃になります",link:"",id:"acbe02a42704d282d8c35f0ab5fcb391488188ce"},{title:"6–3 Stacking(63積み)",tags:["63stacking","six-three","sixthree","6","3","積み","初心者","下級者","40","スプリント"],category:"term",content:"左側に幅6、右側に幅3で積む積み方\\n最適化をある程度習得していれば横2入力が少なくなるのでKPPが少なくなり、積みに使うIミノの割合を下げることができるのでより効率よくテトリスを撃つことができます\\n特にスプリント(40Line)で使われる積み方です\\nしかし端開け(90積み、09積み)と比べ積める幅が狭いので少し練習が必要になります",link:"",id:"b28ddc88b0bbab182034906177510057be37b223"},{title:"Freestyle(フリースタイル)",tags:["ziyou","フリー"],category:"term",content:"主に20TSDで使われる用語\\nLST等のループできるテンプレを使わずに20TSDを完走することを指します\\nLST等のテンプレを使わない分難易度は高いがプレイヤーのTspinスキルを見せることができます",link:"",id:"b6e37d62b1c693ec9ca5923f4d1c84c8af6d790b"},{title:"Topping out(トップアウト)",tags:["die","death","topout","toppingout","トップ","死","刺"],category:"term",content:"モダンテトリスの死亡判定は3つあり、どれか1つを満たすとゲームオーバーとなる\\n\\n1.ブロックアウト:出現したミノが盤面上にあるブロックと重なる\\n2:ロックアウト:致死Lineよりも上にブロックを置く\\n3.トップアウト:せり上がりなどにより地形の高さが40を超える\\n\\nTechminoの場合はブロックアウトの判定しか行っておらず、ロックアウトとトップアウトはない",link:"",id:"59960b31d11165c89d47787c2de99bc38b8264a5"},{title:"Buffer zone",tags:["above","super","invisible","disappear","猶予","盤面","上部"],category:"term",content:"通常、盤面は縦20段だが実際には21段目以上が存在し、21段目から40段前後までをBuffer Zoneという(日本ではあまり使われない)\\n通常は40段までで十分なのだがゲームによっては足りない場合がある\\n詳しくは「Vanish zone」参照",link:"",id:"130c8afeaebcef1c72c7c9571e6c690afc184d3d"},{title:"Vanish zone",tags:["disappear","gone","cut","die","猶予","盤面","上部","死","バグ","無限"],category:"term",content:"Buffer zoneよりも上の領域を指す\\n通常はVanish zoneに到達できないが開発者の設計ミスによって到達できるゲームがいくつかある\\nそしてこの領域に侵入すると一般的には強制終了になるがゲームによっては異なる振る舞いをする\\n例えばぷよぷよテトリスではBuffer zoneが43段必要だが十分に確保されていないためLine消去時に最上段のブロックをコピーし続けるバグがあります(具体的な活用方法は地球儀ボタンのリンクをご覧ください)\\nまたJstrisのVanish zoneは22段以上の領域となっており、21段よりも上のブロックは消滅します",link:"https://youtu.be/z4WtWISkrdU",id:"1451f8bbada0acd2857a81be0e7c9f5471da89b4"},{title:"Falling speed(落下速度)",tags:["fallingspeed","gravity","落下","重力","20","g"],category:"term",content:"1フレーム(通常は60fps)に何段自由落下するかを計る指標\\n単位は「G」\\nGは通常時には大きすぎる単位であり、例えばマラソンのLv.1は1/60Gの落下速度で1GはLv.13相当になります\\nモダンテトリスの最高落下速度は20Gでこれは盤面の高さが20段なことから来ています\\nしかし実際には20Gと表記されていても無限なことが多く、盤面の高さが21段以上でも出現した瞬間にミノが一番下に落ちるようになっている\\n詳しくは「20G」の項目参照\\nTechminoでの落下速度は1ブロック落ちるのに必要なフレーム数で表現されます\\n例えば落下速度60の場合、1秒間に1マス下に落ちます(ゲームがデフォルト60fpsで動作しているため)",link:"",id:"6d8efed7f848a629b55b0b29f5c9968b0f925ad4"},{title:"20G",tags:["gravity","instant","瞬間","落下","重力","20","g"],category:"term",content:"モダンテトリスの最高落下速度\\n20Gモードでは実際に20Gで動いているわけでなく、ミノが一番下に出現するようになっている\\nこれによってミノが段差や壁を登れないことがある\\n単位「G」は「Falling speed(落下速度)」の項目参照",link:"",id:"333426ad906acc63675dfe7cbe18d8e8e4a5a946"},{title:"Lockdown Delay(設置時間)",tags:["lockdelay","lockdowndelay","lockdowntimer","設置","ロック","接着","ディレイ","遅延","時間"],category:"term",content:"ミノが地面に接してから完全に設置するまでの時間のこと\\nモダンテトリスでは設置時間が比較的緩く、さらに移動や回転によって設置時間をリセットできることが多い\\nほとんどのゲームでは最大15回まで設置時間をリセットできるようになっているが、この回数も操作ミノがあった最低高度を更新することでリセットすることができる\\nこれを使うことで時間稼ぎができる\\nクラッシクテトリスでは設置時間が厳しいことが多々あります",link:"",id:"c4f509e16a53c734429ba87ceedb780e2049b895"},{title:"ARE(出現時間)",tags:["spawn","appearance","delay","are","出現","スポーン","遅延","ディレイ","時間"],category:"term",content:"ミノが設置してから次の操作ミノが出現するまでの時間のこと",link:"",id:"032d579b840c30205575f1aca46ca1d9a8e5b4ee"},{title:"Line ARE(Line消去時間)",tags:["appearance","delay","line","ライン","are","消去","遅延","ディレイ","時間"],category:"term",content:"Lineを消去するのにかかる時間",link:"",id:"864a47d70caa0cbb7779cc4fd62ac8e3ba3d6579"},{title:"Death ARE(死後硬直時間)",tags:["die","delay","dd","死","硬直","are","出現","スポーン","残機","復活","遅延","ディレイ","時間"],category:"term",content:"残機制などが有効になっている時に死亡してから復活するまでの時間\\nTechminoの場合はブロックアウトで死亡した時、次のミノの出現時間に死後硬直時間が加算されます\\nまたIHSやIRSなどを使うことによってブロックアウトを回避できる場合があります\\n\\nこのシステムはNOT_A_ROBOT氏によるアイデアです",link:"",id:"72179608811dccdf6be8b38d0c12a13fdd342f3e"},{title:"Finesse(最適化)",tags:["finesse","最適化","効率","操作","初心者","下級者","上達","練習"],category:"term",content:"ミスなく最低限の操作で目的の場所にミノを移動させる技術\\n速さが上がり、ミスも減ります\\nJstrisの「restart on finesse error」やTechminoの最適化失敗音を有効にすることで練習できます\\n厳密にはTechminoの最適化判定は「理論上の最小入力数」ではなく、「ソフトドロップを必要としない位置の時、一定回数以下の入力かどうか」で判定しています\\nそのためソフトドロップが必要なspinなどの時は最適化の判定を行っていません\\nまたTechminoの最適化率は一定回数以下の場合100%、一定回数より入力が1多い場合50%、入力が2多い場合25%、入力が3以上多い場合0%とされています\\nまた0Gと20Gで最適化の算出方法を変えていないため落下速度が速い時は不正確なことに注意してください",link:"",id:"e50e3567a81e2fae61f08dc025de8ce31529fa00"},{title:"‘Doing Research’",tags:["scientificresearch","研究","上達","練習","科研"],category:"term",content:"「科研」という中国のテトリスコミュニティで使われる言葉\\n落下速度の低い1人用モードで技術やテンプレを研究・練習することを言います(日本でもこの練習はありますがその行為のみを指す単語は存在しません)",link:"",id:"9278144ec951e80b757cec593b1d8c7fcd4c1e25"},{title:"Keymapping(キー配置)",tags:["feel","キー","key","操作"],category:"term",content:"ここではキーボードでのキーコンフィグについて言及します\\nキーコンフィグの原則\\n1.同時に押される可能性がある複数のキーを1本の指に割り当てないでください\\n基本的には回転3種類(右、左、180°)と左右移動(右、左)はそれぞれ同時に押されることはありません\\n2.既に他のゲームで小指を鍛えていない限り小指を使わないキー配置にしてください\\n基本的には人差し指と中指を中心に組み立てるといいでしょう\\n3.人によって最適なキー配置は違うので使っている人を理由に変える必要はないです\\n\\n最低限の原則を守っていればキー配置による優劣は非常に薄いと考えられます",link:"",id:"0a7f368c96fef419be637b9c6ab6da06aab5adbc"},{title:"Handling(ハンドリング)",tags:["feel","handling","チューニング","das","arr","ハンドリング","操作"],category:"term",content:"操作に悪影響を与える主な要因を以下に挙げます\\n1.デバイスの設定や状態による遅延\\nゲームを再起動したりデバイスを変えたりすることで改善されます\\n2.ゲームが重い\\n機器の性能不足やプログラムコードが不安定、設計の不具合が原因です\\nエフェクト設定などを軽くすることで緩和される場合があります\\n3.意図的に操作性を悪くされている\\n適応するしかありません\\n4.DASやARR等のチューニング設定が合っていない\\n適当な値に変更しましょう\\n5.姿勢が悪い\\n腰痛めますよ?\\n6.姿勢やキー配置、チューニングを変えて慣れていない\\n慣れるの諦めるか根気強く頑張りましょう\\n7.疲労\\n早急に休んでください",link:"",id:"46fb746364907d6eaac6a1399a6ae5199f90eb6f"},{title:"DAS (横溜め)(簡易な説明)",tags:["das","arr","delayedautoshift","autorepeatrate","ダス","だす","ため","溜め","横"],category:"term",content:"キーボードの「O」を長押しすると長いOの文字列ができます\\nこのときOがどのように出現したかというと「O->(長い溜め時間)->O->(僅かな溜め時間)->O->(僅かな溜め時間)->...」のようになります\\nこの長い溜め時間のことをDAS(delay auto shift、別名:横溜め)、僅かな溜め時間のことをARR(auto repeat rate)と呼びます",link:"",id:"6237720d40b10ea8fd1c5cb959db17d238b4e501"},{title:"DAS & ARR",tags:["das","arr","delayedautoshift","autorepeatrate","ダス","だす","ため","溜め","横"],category:"term",content:"Delay Auto Shiftの略、日本だと「横溜め」とも言われる\\n左右入力をした時に横に移動する仕組みのこと\\nまた長時間左右入力した時に最初の横に1つズレる移動から次の移動までの時間のこと\\n\\nARRはAuto Repeat Rateの略\\n左右入力を長時間すると連続して横に動き始めるがその時の移動周期のこと\\nゲームによってはDASやARRをフレームで計算しています\\n60fpsで動作するゲームの場合、f(フレーム)×16.7でms(ミリ秒)に換算できます",link:"",id:"d79af5ba7f2a4e057d7aeec842d9d8ee8e737c9d"},{title:"DAS tuning(DASチューニング)",tags:["das","tuning","チューニング","操作"],category:"term",content:"より速くプレイしたい人はDASを4~6f(67~100ms)、ARRを0f(0ms)にすることをおすすめします(ARR:0というのはDASより長く入力を続けた瞬間、端にミノが移動する設定です)\\n理想の操作方法としては単時間入力と長時間入力を確実にコントロールできるようにし、ARRを0にDASやそれ以外の設定は可能な限り低くすることです",link:"",id:"323c1b9c140407542738b97fd8e10f3564c39397"},{title:"DAS cut(DASカット)",tags:["dascut","dcd","カット"],category:"term",content:"*Techmino用語*通常、ミノが出現する前にDAS時間以上入力をしているとミノが出現した瞬間に動き出します\\nDASカットはこのような現象を減らすためにDAS時間以上入力していても出現時にDASカット分減算する機能です\\n他のゲームにも似たようなものがありますが恐らく異なるでしょう",link:"",id:"8b5b2ebc0da01b3cd80a4d798703d721c14bf30d"},{title:"Auto-lock cut(自動設置カット)",tags:["autolockcut","mdcut","自動","カット"],category:"term",content:"ミノが自由落下により設置された時にハードドロップを入力してしまうことで暴発するという事故を防ぐ機能です\\n自由落下によって設置した場合、自動設置カット時間の間ハードドロップが無効化されます\\n他のゲームにも似たようなものがありますが恐らく異なるでしょう",link:"",id:"a5d401a9ffa0de7bf066b91005d40cbc6a79d2fc"},{title:"SDF",tags:["softdropfactor","ソフトドロップ"],category:"term",content:"Soft Drop Factor\\n\\nソフトドロップの速さを自由落下の速さの倍数で表現する方法\\nガイドラインテトリスではSDF20、つまりソフトドロップの速さは自由落下の速さの20倍と定められている\\nなおTechminoではSDFを使用してません",link:"",id:"e530adfdb37a1128fe34adb56f1b60622fa67381"},{title:"形と名前",tags:["mino","ミノ","みの"],category:"term",content:"Techminoで使われる全ブロックとその名前のリストです:\\nTetrominos:\\nZ: ``, S: ``, J: ``, L: ``, T: ``, O: ``, I: ``;\\n\\nPentominos:\\nZ5: ``, S5: ``, P: ``, Q: ``, F: ``, E: ``, T5: ``, U: ``, V: ``, W: ``, X: ``, J5: ``, L5: ``, R: ``, Y: ``, N: ``, H: ``, I5: ``;\\n\\nTriminos, Domino, and Mino:\\nI3: ``, C: ``, I2: ``, O1: `.",link:"",id:"fa534d055cbefaaa37429612aeac44aa392fff1d"},{title:"7種1巡",tags:["bag","7bag","randomgenerator","7","種","1","巡","生成","出現","法","則"],category:"term",content:"別名:7-bag、正式名称:Random Generator\\n公式テトリスがミノを生成するのに使うアルゴリズムのこと\\nテトリスには通常7種類のミノがあるが全種類が同じ数出現することが保証されている\\n例:ZSJLOIT OJSIZLT TOILSZJ...",link:"",id:"aa006bc1bae0390132268713ec7aa91e6b923ddd"},{title:"His generator",tags:["history","hisgenerator","tgm","生成","出現","法","則"],category:"term",content:"History generator\\nTGMに使われるミノを生成するときの法則\\n毎回ランダムに7種類の中から選択されるが、もし選択されたものが数個前と同じな場合はまたランダムに7種類の中から選択され最終的に別のミノが選択されるか再選択回数が限界に達して同じミノが選択される\\n例えば「his 4 roll 6」と設定されているジェネレータの場合、選択したミノが前に使った4つのミノの中にある場合、最大6回まで違うミノが出るまで再選択する\\n他に「his 4 roll 6 pool 35」のようにさらにランダム性を減らしたものもある\\nTechminoではrollの値はネクストの長さの半分、小数点以下切り上げになっています",link:"",id:"0b1eb1158396d0061c6b94476c6d87ee72e8b384"},{title:"HisPool generator",tags:["hisPool","history","pool","tgm","生成","出現","法","則"],category:"term",content:"History Pool generator\\nHis generatorを基に「Pool」という機能を導入した生成法則\\nミノを選択する場合にPoolという袋の中から選択されている\\nPoolの中にあるミノは選択された回数に基づいて選択される確率が変動しており、出現頻度が低いものほど確率が高くなっている\\nこの仕組みによってランダム性が大きく減らされ、同じようなミノばかり来るということはなくなった",link:"",id:"1579c44475d98d4fc1e131ddc7fb4144a14f6d84"},{title:"bagES generator",tags:["bages","easy","start","生成","出現","法","則"],category:"term",content:"*Techmino用語*\\nBag Easy-Start\\n7種1巡を更に改良した生成法則\\n最初に置きづらいミノ(S/Z/O/S5/Z5/F/E/W/X/N/H)が選択されません",link:"",id:"62a9f13c56314bb19e8c762b0d98064e7e1fd01d"},{title:"Reverb generator",tags:["reverb","生成","出現","法","則"],category:"term",content:"*Techmino用語*\\n7種1巡から派生した生成法則\\n7種1巡を基にしてそれぞれのミノが数回連続して出ようとします\\n特定のミノが頻繫に連続して出ようとすると連続して出る確率が下がり、逆にあまり連続して出ないミノは連続して出るように確率が上げられます",link:"",id:"27828cfe25f21b50d405a8ae6e6c77458c0ac953"},{title:"C2 Generator",tags:["cultris2generator","cultrisiigenerator","c2generator","カルトリス","生成","出現","法","則"],category:"term",content:"Cultris IIで使われる生成法則\\nミノに重みを付けて計算しています\\n初期は全ミノの重みは0に設定されています\\nそしてミノを選択する時、全てのミノそれぞれに次のような処理を施します:\\n現在の重みを半分にし、そこに0~1の間で生成された乱数を加算する((重み/2)+(0~1の乱数))\\n\\nそして算出された値を新たな重みとし、最も重みが大きいミノを選択します\\nまた選択されたミノの重みは3.5で割られ、それを新たな重みとします\\nつまり選択されたミノの新しい重みは((元の重み/2)+(0~1の乱数))/3.5、選択されなかったミノの新しい重みは(元の重み/2)+(0~1の乱数)となります",link:"",id:"11aed6c53ccae54ddd4a72fffda1e036fd9fbc7e"},{title:"Hypertapping(ハイパータッピング)",tags:["hypertapping","ハイパー","コントローラー","操作"],category:"term",content:"指をコントローラー上で振動させることでARRよりも速い周期で横移動させる技術\\nDASが遅いクラッシクテトリスでよく使われる\\nモダンテトリスのほとんどはDASが十分に短いためこの技術は不要です",link:"",id:"9ab46b9602ef4876d2d3c4135e6d55543cdffcd2"},{title:"Rolling(ローリング)",tags:["rolling","ローリング","ピアノ","コントローラー","操作"],category:"term",content:"DASやARRが遅いクラッシクテトリスの高重力(1G以上)下で安定してプレイするための操作方法\\n片方の手とコントローラーを固定し、もう片方の手でコントローラーの背面を叩くこと高速入力を実現している\\nこの操作方法はハイパータッピングよりも速く、さらに少ない力で行うことができます\\nこの操作方法はCheez-fishが最初に発見し、理論上1fに1回操作できると言われています",link:"",id:"7447bee82c2ebb9d75a06834d0f5fa82af1b99ca"},{title:"Passthrough(貫通)",tags:["pingthrough","ピンスルー","貫通","すり抜け"],category:"term",content:"双方の火力が互いに相殺されず相手の火力ゲージに火力が到達すること\\nまたインターネットのラグにより貫通が発生することを「pingthrough」と言う",link:"",id:"97d0af68b1bdbc346e8a149678b92cbb7469f19f"},{title:"Tetris OL attack",tags:["top","tetrisonlineattack","テトオン","toj","toz","オンライン","テトリス","火力","攻撃","計算"],category:"term",content:"テトリスオンラインの火力計算\\nSingle,double,triple,tetrisの火力はそれぞれ0,1,2,4となっており、TSS,TSD,TSTの場合は2,4,6となる\\nまたTspin mini判定になると火力が半分になります\\nrenの火力は1ren目から+0,+1,+1,+2,+2,+3,+3,+4,+4,+5,+5,+5...と上限5まで上昇し、元の火力に加算されます\\nBtBの火力は+1、ただしTSTの場合は+2で元の火力に加算されます\\nパーフェクトクリアの火力は+6で元の火力に加算されます\\nただしパーフェクトクリア分の火力は相殺が当たらず、直接相手に送られます",link:"",id:"bd2933b1c8eb8beeb91305a7a8f61a07c1f5ad86"},{title:"Techmino attack",tags:["techminoattack","Techmino","てくみの","テクミノ","てっくみの","テックミノ","火力","攻撃","計算"],category:"term",content:"少し複雑なためメイン画面の右下にある「?」を参照",link:"",id:"91ddf25ab71c366ce480fc8ab618df3d85debcc9"},{title:"Stacking(積み)",tags:["stacking","積み","つみ","置く"],category:"term",content:"ミノを置いて行くこと\\n必須技術の1つ",link:"",id:"210b1e4de5cb0e2cbeab5d39429ae822f94ec2e8"},{title:"Rotation buttons(左右回転)",tags:["doublerotation","回転","左","右","2"],category:"term",content:"左右回転両方を使うことで3回転操作がなくなり、入力数が減少します\\n最適化は左右回転のみを使うことを前提に設計されています",link:"",id:"723cb9c2cefa08da4c6288f1554fd591b8a3e981"},{title:"Rotation buttons (左右180°回転)",tags:["triplerotation","回転","左","右","180","3"],category:"term",content:"左右,180°回転の全てを使えばどんな回転方向でも1回の入力で済みます\\nしかし全てのゲームに180°回転があるわけでなく、この技術を習得しても左右回転を習得した時ほどの上達はないでしょう\\n最適化という点では速さを極端に求めない限り必要ありません(ただし180°の回転入れは覚える必要があります)",link:"",id:"4b9a4bce9c37f9a3a454f189c8e4838a480ec6bd"},{title:"ザンギ",tags:["操作","ザンギ","ざんぎ","zangi"],category:"term",content:"左右移動->ソニックドロップ->もう一方の左右移動と行われる操作のこと\\n例えば左ザンギの場合、左端へ一瞬で移動->ソニックドロップ->右へ壁に衝突するまで移動 となる",link:"",id:"31a18dc0e9d6d131fd39f02b0b642e8c32424757"},{title:"Drought(ドラウト)",tags:["drought","ドラウト","干ばつ","連続"],category:"term",content:"欲しいミノが全く来ない状況のこと\\nクラッシクテトリスでよく起こることで地形やプレイが乱れる原因になります\\nモダンテトリスではランダムではなく、ある程度生成されるミノが制御されているのでほとんど起こらず、最大でも13ミノ引けば欲しいミノが1つは出現します",link:"",id:"c132569d13682aef326885b940b503d59c76e98a"},{title:"Bone block(骨ブロック)",tags:["bone","tgm","骨","ボーン","ブロック","スキン"],category:"term",content:"初期のテトリスで使われているミノスキン\\n昔のコンピュータはコマンドラインインターフェイス(WindowsのcmdやMacのterminalなど)を主に使っていたのでテトリスのミノは「[]」の集合で表現されていました\\nこれが骨のように見えるので骨ブロックと呼ばれています\\n\\nTechminoでは骨ブロックを「全てのミノが使用できるミノスキン」と定義されています\\nミノスキンが異なる場合、骨ブロックのスタイルも異なる可能性があります",link:"",id:"7ab2e8eef5d2257d9a5ec3d9dfcae72b89a5ae7c"},{title:"Semi-invisible(セミインビジブル)",tags:["half","invisible","semi","セミ","半","インビジブル","透明"],category:"term",content:"時間が経過すると設置されたミノが透明になるルール\\nこの透明になるまでの時間は明確ではないので「数秒後に消える」と表現しても問題ない",link:"",id:"494bab8fad0a90fbf1dc6d8843843e07f945014d"},{title:"Invisible(インビジブル)",tags:["invisible","透明","インビジブル"],category:"term",content:"瞬時に設置したミノが透明になるルール\\n消えるアニメーションがあるインビジブルルールのことを指すことがあるが、Techminoではそのようなルールは簡単になりすぎると判断し、アニメーションなしのインビジブルルールを「Sudden Invisible」と読んでいます",link:"",id:"8e0158e3951e4788f501f5ff57e7d076008a7b00"},{title:"MPH mode",tags:["mph"],category:"term",content:"生成法則なし(ランダム生成)、ネクストなし、ホールドなし\\nかなりの反応速度が要求される",link:"",id:"d58b1888eea0850399c8fd1599ca980ae84f22dd"},{title:"Input delay(入力遅延)",tags:["input","delay","入力","遅延","硬直","ディレイ","時間"],category:"term",content:"どんなデバイスでも入力してからゲームに反映されるまでに遅延があります(通常、数ms~数十ms)\\n入力遅延が大きすぎると操作に違和感を覚えます\\nこの遅延は使用するハードウェアやソフトウェアの性能が主な原因であり、機器のパフォーマンスモードを有効(または省電力モードを無効)にしたり、モニターのゲーミングモードを有効にすると軽減されるかもしれません",link:"",id:"211d5c4499361cc1310a22c40d675f90a6ff13a0"},{title:"Secret Grade(裏GM)",tags:["larger","than","裏","gm","ジグザグ"],category:"term",content:"TGMシリーズに登場するイースターエッグモード\\n19段使って「>」の形に穴を作ることでクリアとなる\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=Secret_Grade_Techniques",id:"1e1b169684a9570ad29f7d5fb52d0faef4306e72"},{title:"Cold Clear",tags:["cc","coldclear","ai","bot","コールド"],category:"term",content:"テトリスのbot\\n元々はMinus Kelvin氏がぷよぷよテトリス用に開発したbotだがTechminoではAllspinとTRSに対応できるよう改良されている",link:"",id:"990c511aa61eac6e04105edca1735021f986f0e2"},{title:"ZZZbot",tags:["ai","bot","zzztoj","misamino"],category:"term",content:"テトリスのbot\\n中国のテトリスプレイヤー、奏之章 (Zòu Zhī Zhāng)氏が開発し、多くのゲームで動作する",link:"",id:"812877aa04577bb0767f153f62550039dbfd9b51"},{title:"Zetris",tags:["ai","bot","zetris","misamino"],category:"term",content:"テトリスのbot\\nmat氏がぷよぷよテトリス用に開発したbot\\nmisaminoを元に開発された\\n凝視はしてないが受けた後に一定段以下になる攻撃は外すような仕様になっている",link:"",id:"cc72b3c988608a786278634124a67a1886dcd2b1"},{title:"ほいこ",tags:["ai","bot","hoiko","howyiko","ほゐこ"],category:"term",content:"テトリスのbot\\nうかん氏がぷよぷよテトリス用に開発したbot\\n相手から送られる火力を見ており、直列になる確率と待ち時間から相殺外しを判断している",link:"",id:"9718855de3396e159778bfca45f51da47d6bd6da"},{title:"wataame",tags:["ai","bot","わたあめ","watame"],category:"term",content:"テトリスのbot\\n雨安氏がぷよぷよテトリス用に開発したbot\\n多様なモードを搭載している",link:"",id:"445012f5aa4527fae7038257b224397ec874eed1"},{title:"Openers(開幕テンプレ)",tags:["setup","openers","開幕","テンプレ"],category:"setup",content:"ゲーム開始時に組むテンプレのこと\\n中盤でも作れるものがあるが完全に同じになるとは限らない\\n強い開幕テンプレは基本以下の点を満たしている\\n1.強い攻撃を持ち、積みに使っているTの割合が低い\\n2.必要なソフトドロップが少ない\\n3.多くのミノ順で組める\\n4.中盤へ移行しやすく、分岐が少ない\\nほとんどの開幕テンプレは通常7種1巡を利用して作られているために安定して組める",link:"",id:"d69b3b4545e814a8a1df17ba7442947c77f537e4"},{title:"DT Cannon(DT砲)",tags:["dtcannon","doubletriplecannon","dt","砲"],category:"setup",content:"Double-Triple 砲\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=dt",id:"cedc9e6ea84c71f2f7d828d0c2aae5581e65cab7"},{title:"DTパフェ",tags:["dtcannon","doubletriplecannon","パフェ","パーフェクト","dt","砲"],category:"setup",content:"DT砲の後にパフェを取る派生のこと\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=double_triple_cannon_opener",id:"7826dfa7c56f5ad74e4b0123a448b28a0da23487"},{title:"BT砲",tags:["btcannon","betacannon","砲"],category:"setup",content:"β砲, Beta砲\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=bt_cannon",id:"d8b9e8effcd0ea9c8440705b6902abcff9261775"},{title:"BTパフェ",tags:["btcannon","betacannon","ループ","5","パフェ"],category:"setup",content:"BT砲の後にパフェを取る派生のこと\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=bt_cannon",id:"2b5e1b305ef8a160791b11ed9deee4ce4bdc3f79"},{title:"TKI 3 Perfect Clear(DDパフェ)",tags:["ddpc","tki3perfectclear","d","パフェ","tsd","tki"],category:"setup",content:"開幕TSDからもう一度TSDを撃ち、パフェを取るテンプレ\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=TKI_3_Perfect_Clear",id:"de5ec7511c2104bb5288b4fefb14f96a8027bee8"},{title:"MKO積み",tags:["mko","むこうみず"],category:"setup",content:"派生を含めれば大体のことはできる開幕テンプレ\\nHarddropのwikiを載せるがmko全体の内、1割も情報が書かれていない\\n使い方がかなり重要な開幕テンプレなので使う場合は積極的に情報収集することをおすすめする",link:"https://harddrop.com/wiki?search=MKO_Stacking",id:"bda30a7753e93928e38a5e48e70100ee2cd56af5"},{title:"QT砲",tags:["qtcannon","砲"],category:"setup",content:"DT砲より安定してTSDとTSTを撃てるように作られた開幕テンプレ\\nただし下穴が端にあると二巡目が組めない\\nTD派生がしやすい",link:"https://tetrisopener.wicurio.com/index.php?QT%E7%A0%B2",id:"3de3372167a377ead69b0780ea5a918b5bd32325"},{title:"Mini-Triple(MT)",tags:["mt","minitriple","ミニ","トリプル","ts"],category:"setup",content:"TSMからTSTを撃つ形",link:"https://knewjade.github.io/fumen-for-mobile/#?d=v115@tgB8IeA8DeD8AeH8BeH8BeG8CeE8JeAgWJAteEfEXU?b9ARAAAAvhG1bfdmfdrf1vBAAAdrBAAAtgB8IeA8DeD8AeG?8CeG8BeAAAeF8AeB8AeD8JeAAPJAteEfEXUb9ASAAAAvhF1?bfdmf1qfNqBAAAdrB",id:"2f139c99f2863c049a75827dbe04214f683d672d"},{title:"Trinity(トリニティ)",tags:["trinity","トリニティ","tsd"],category:"setup",content:"TSD3回かTSM->TST->TSDを撃つテンプレ",link:"https://harddrop.com/wiki?search=trinity",id:"44c6aa6ec48f5e82469829ca27e72f911bec10bc"},{title:"Wolfmoon Cannon",tags:["wolfmooncannon","砲"],category:"setup",content:"形が特殊な開幕テンプレ\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=wolfmoon_cannon",id:"17ca3a1f4b46085a67798b5b2d651f04015fdf10"},{title:"Sewer(TZT砲)",tags:["sewer"],category:"setup",content:"形が特殊な開幕テンプレ\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=sewer",id:"f974ed3f0712d9d4e0cf4674de8214c41a78a590"},{title:"TKI",tags:["tki-3","tki3","tsd","c","td"],category:"setup",content:"開幕TSD、またはTDの形をしたTKIという開幕テンプレを指す(日本では後者の方が多い)\\nここでは後者のリンクを置いておく\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=C-Spin",id:"3c313d703e4a8340db43e4e702184f92dffba465"},{title:"God Spin",tags:["godspin","神","ゴッド"],category:"setup",content:"派手な開幕テンプレ[しかし実際に使うのは難しい]\\nWindkey氏考案\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=godspin",id:"3cd8c7d5f3275348741b07f56c3a9df69cf2a625"},{title:"AlbatrossSP(アルバトロスSP)",tags:["albatross","アルバトロス","アルバ","sp"],category:"setup",content:"TSD->TST->TSD->パフェを撃つ開幕テンプレ\\nほとんどのTミノをTspinに使う、派手で素早いテンプレです\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=Albatross_Special",id:"28426d77b9b2d3681590fd8543415f4c103df3e3"},{title:"Pelican(無名砲)",tags:["うーみん","ウーミン","無名","むめい"],category:"setup",content:"日本では無名砲(3文字で「うーみん」と読む)と呼ばれる\\nアルバトロスSPに似た流れを持つ開幕テンプレ\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=Pelican",id:"a0ffb2601adf5127b35fe5d8992cc78a55861838"},{title:"Perfect Clear Opener(パフェ積み)",tags:["7piecepuzzle","パフェ","積み"],category:"setup",content:"7ミノ置いた後、パフェを取れる確率が最も高い形\\n通常はパフェ率61.2%だがIミノを置かず残り4ミノからパフェを見抜くことで84.6%までパフェ率が上昇する\\nTechminoのパフェトレーニングでジグザグの形が出たらこのテンプレの形です\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=Perfect_Clear_Opener",id:"053e9a88a14c6916bdda0d4a6d89aa489f1e029d"},{title:"Grace System(グレースシステム)",tags:["liuqiaoban","gracesystem","1stpc","グレース","パフェ"],category:"setup",content:"6ミノ置いた後、パフェが取れる確率が最も高い形\\nパフェ率88.57%\\nパフェチャレンジの4×4の形が出たらこのテンプレの形です",link:"https://four.lol/perfect-clears/grace-system",id:"5723b8d6eb11a1b334300616ac602b468a1e5646"},{title:"DPC",tags:["DPC","3","1"],category:"setup",content:"2連パフェや8段パフェ(TD系テンプレのパフェ、SDパフェ等)を取った後に余った1ミノとその後の2巡を使ってDパフェ、もしくはDDパフェを取るテンプレ\\nまたは開幕TSDのパフェ派生のこと\\n\\n前者でDパフェを取る場合、ほぼ100%パフェが取れる",link:"https://tetristemplate.info/dpc/",id:"2db8d886781e45cfcee1ccd39674af938368e580"},{title:"Gamushiro Stacking(ガムシロ積み)",tags:["gamushiro","ガムシロ","td"],category:"setup",content:"TDパフェ系統のテンプレで最初に作られた開幕TDテンプレ\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=Gamushiro_Stacking",id:"7efbf694f00c69a173d3f54d8eca154b336f5517"},{title:"Mid-game Setups(中盤テンプレ)",tags:["midgamesetups","中盤"],category:"pattern",content:"中盤で使われるテンプレのこと\\n中には開幕テンプレとして使用されるものがある",link:"",id:"4d7b549aafe26a449e2b8022476aaf8848e32879"},{title:"TD",tags:["cspin","tki","td"],category:"pattern",content:"TST->TSDと撃てる形\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=Triple Double_Attack_Setups",id:"06a82f4a956e1f94fa0c7430d6b7247f1e4cd9ca"},{title:"STSD",tags:["stsd"],category:"pattern",content:"Super T-Spin Double\\n2回TSDを撃てる形\\nしかし盤面の底に作った場合、相手からの下穴により1/10の確率で最初のTSDが撃てなくなる\\nこの確率は100%と言う人もいる\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=stsd",id:"6e5f658dc6a43206e6c19edc413a0b306ed60b22"},{title:"STMB Cave(STMBケイブ)",tags:["stmb","ケイブ","ドネイト"],category:"pattern",content:"幅3がある時にS(Z)を壁に引っ掛けてTSDドネイトを作るテンプレ\\nSTMBはテトリスDS時代のプレイヤーの名前\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=stmb_cave",id:"8f963631c25795afa82a8463eb49d8e69bfe1694"},{title:"Fractal(ダブルダガー)",tags:["shuangrenjian","fractal","spider","ダブル","2","ダガー","フラクタル","ダブダ"],category:"pattern",content:"TSDの上にTSDが乗った形\\nS(Z)が引っ掛かってTSDが2つできてる場合はSTMBケイブとなり、引っ掛けておらず1つの屋根で2回TSDを撃てる場合はダブルダガーとなる\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=Fractal",id:"a1d1b007ea622f66dc039b3d15fb0a6cb1605c21"},{title:"LST stacking(LST積み)",tags:["lst","積み"],category:"pattern",content:"半永久的にTSDとテトリスをし続ける積み方",link:"https://four.lol/stacking/lst",id:"3586c5870b5b47acd10dbf3b283095107b602b47"},{title:"Hamburger(ハンバーガー)",tags:["hamburger","ハンバーグ","ハンバーガー"],category:"pattern",content:"S(Z)でTSSをするドネイトテンプレ\\n半永久的にTSSとテトリスができる\\n当初はSを使った場合をハンバーガー、Zを使った場合をハンバーグと言っていたが廃れた\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=hamburger",id:"f078a94fec15dab371d5235998f57be7e1a9183a"},{title:"Imperial Cross(インペリアルクロス)",tags:["imperialcross","インペリ"],category:"pattern",content:"十字上の穴に屋根を付けて2回TSDをする形\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=imperial_cross",id:"29157abc349d599865ddaca4db1350299aab317e"},{title:"Kaidan(階段ドネイト)",tags:["jieti","kaidan","stairs","階段"],category:"pattern",content:"段々になっている地形にS(Z)を置くことでTSD地形を作るドネイトテンプレ\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=kaidan",id:"9ff425533e9b19c5aa5ab1c7ade5b05a19a6e914"},{title:"Shachiku Train(社畜トレイン)",tags:["shachikutrain","shechu","社畜","トレイン"],category:"pattern",content:"2回TSDを撃つテンプレ\\nテンプレ名は制作者が満員電車で思い付いたことに由来する\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=Shachiku_Train",id:"ff36c5a882fd03017ed42fdcc2069f4e4be2cac3"},{title:"Cut Copy",tags:["qianniao","cutcopy","千鳥","カット"],category:"pattern",content:"Tspin地形がある時にさらにTspinできるような地形を作ること\\n千鳥格子はこの技術を使った中盤テンプレ\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=Cut_copy",id:"44c082ce08afeff03790181a113e952962270cce"},{title:"King Crimson(キングクリムゾン)",tags:["kingcrimson","キンクリ","キング","jojo","ジョジョ"],category:"pattern",content:"STSDの上にTSTを足したテンプレ\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=King_Crimson",id:"dc20f54cbaf3c6b0eb0f430680495b34a699be7c"},{title:"連パフェ(1/3)",tags:["pcloop","パフェ","ループ","連"],category:"pattern",content:"テトリス堂にて1~5回目と7回目のパフェについて詳しく知れます\\n7回目のパフェがキレイに終わると丁度70ミノ、つまり10巡終わったことになりゲーム開始時と同じ状態になります",link:"https://shiwehi.com/tetris/template/consecutivepc.php",id:"04afeaf59cc711c2281c7cae8ed12ad31bb25897"},{title:"連パフェ(2/3)",tags:["pcloop","パフェ","ループ","連"],category:"pattern",content:"four.lolに1~7回目のパフェについて詳しく知れます",link:"https://four.lol/perfect-clears/5th",id:"58a9e9b70e64aef8087c4e26f33820dcd05b2e1f"},{title:"連パフェ(3/3)",tags:["pcloop","パフェ","ループ","連"],category:"pattern",content:"ナイテン(NitenTeria)によって作成された連パフェについての情報がまとめられているドキュメント\\nただし情報量の多さ等から自分である程度吟味する必要がある",link:"https://docs.qq.com/sheet/DRmxvWmt3SWxwS2tV",id:"088838a86728371647247dbe6613f4f14f768ef6"},{title:"Console(コンソール)",tags:["cmd","commamd","minglinghang","kongzhitai","terminal","コンソール","ターミナル","コンソール","console"],category:"command",content:"Techminoにはデバッグや高度な機能を実行するためのコンソールがあります\\nコンソールにはメイン画面のTechminoのロゴを連打するかメイン画面で「C」を連打することで移動できます\\nコンソールの使用は自己責任です",link:"",id:"26c4d964b179ac687cdccf369e93e9011078eb20"},{title:"Reset setting",tags:["reset","setting","リセット","設定"],category:"command",content:"コンソールに「rm conf/setting」と入力し、Enterもしくはreturnを押す\\nそしてTechminoを再起動すると有効になります\\n設定をリセットします",link:"",id:"8a6b43bb26bf99c9bad1f05cd83ed45a1f6b998f"},{title:"Reset statistics",tags:["reset","statistic","data","リセット","統計","データ"],category:"command",content:"コンソールに「rm conf/data」と入力し、Enterもしくはreturnを押す\\nそしてTechminoを再起動すると有効になります\\n統計をリセットします",link:"",id:"81893334c9e3e29e0965cb352bbbd5ac3af42962"},{title:"Reset unlock",tags:["reset","unlock","リセット","未開封"],category:"command",content:"コンソールに「rm conf/unlock」と入力し、Enterもしくはreturnを押す\\nそしてTechminoを再起動すると有効になります\\n1人用モードのランクをリセットします",link:"",id:"33cdac7adaca836660b7c4f0d7caba89a1196e66"},{title:"Reset records",tags:["reset","record","リセット","レコード","記録"],category:"command",content:"コンソールに「rm -s record」と入力し、Enterもしくはreturnを押す\\nそしてTechminoを再起動すると有効になります\\n記録をリセットします",link:"",id:"357dff0ef2aa18233d411ce73d1dcb98a7c6f089"},{title:"Reset key",tags:["reset","virtualkey","リセット","キー","仮想"],category:"command",content:"コンソールに「rm conf/[keyFile]」(キーボード:key、仮想キーボード:virtualkey、仮想キーボード設定を保存:vkSave1(2))と入力し、Enterもしくはreturnを押す\\nそしてキーボードと仮想キーボードの場合は再起動すると有効になります\\n仮想キーボード設定保存の場合はEnterもしくはreturnを押した時に1つのファイルを出力します",link:"",id:"985d4b939e2e49a0aaf0228de0ca6a969684084c"},{title:"Delete replays",tags:["delete","recording","削除","消去","リセット","デリート","リプレイ"],category:"command",content:"コンソールに「rm -s replay」と入力し、Enterもしくはreturnを押すと即座に実行されます\\nリプレイデータを消去します",link:"",id:"bab349d70bb116a33e63aeddefd1beee6cb3b572"},{title:"Delete cache",tags:["delete","cache","消去","削除","リセット","デリート","キャッシュ"],category:"command",content:"コンソールに「rm -s cache」と入力し、Enterもしくはreturnを押すと即座に実行されます\\nキャッシュを消去します",link:"",id:"8de9f2442a4b880b608aadfd6d58dd049f93f232"},{title:"SFX",tags:["soundeffects","効果音"],category:"english",content:"日本語で「効果音」や「SE」と言われるもの",link:"",id:"d7ae9e4e443839dee2b712bc094701daf186350a"},{title:"BGM",tags:["backgroundmusic","音楽"],category:"english",content:"ゲーム中に流れている音楽のこと",link:"",id:"a13f52cde8db05647691f27c214480010504d836"},{title:"TAS",tags:["tas"],category:"english",content:"「Tool-Assisted Speedrun (Superplay)」の略\\nゲームのルールを破ることなく特殊なツールを用いてプレイすること\\n途中セーブやゲーム内時間の進みを弄る等して最高得点を出したりユニークな目標を達成している\\n簡単なTASはTechminoに内蔵されている",link:"",id:"fe88da9820ec746210644a7109aefbd97829d56f"},{title:"AFK",tags:["afk"],category:"english",content:"Away From Keyboardの略\\n画面前から離れる時だけじゃなく、休憩するときにも使われる\\n適度に休憩することで身体と頭が休み、より質の高いプレイができる",link:"",id:"39766d41a5cc0a50dc678025627e2f0f1876b2c3"},{title:"BRB",tags:["brb"],category:"english",content:"Be right backの略\\n一旦離れるけどすぐに戻るときに使われる\\n人によっては試合中にbrbというが結局セットが終わるまで戻らない人もいる",link:"",id:"47c78999a8300e45749d8f7f05eb2ff2a6e6dc44"},{title:"sweep",tags:["sweep","ストレート"],category:"english",content:"日本語で言うストレートのこと\\n例えば、7先の試合で1本も取られずに勝利した場合、相手をsweepしたと言う",link:"",id:"da36a1615f31d9d62ca90000721f15f5cf683334"},{title:"Timing",tags:["timing","shiji","fanji","タイミング"],category:"term",content:"主に攻撃をするタイミングのこと\\n攻撃をするタイミングを考えることで相手からの攻撃を相殺したり、逆に相殺を外して自分の攻撃を相手に送れたりできます\\n要は相殺管理の1つです",link:"",id:"2bf4d1f08aeac96a1e54d12679ce99785ddf0c4d"}],SM=[{title:"新人须知",tags:["读我","必读","萌新","xinren","new","noob","readme"],category:"help",content:"致想深入玩下去的新人:\\n\\n\\t两大根本原则:\\n\\t\\t1. 选手感好的版本(Tech/Tetr.io/Jstris/TOP/Tetr.js),别用编程练习渣版本\\n\\t\\t2. 踏实打好基础(预判next稳定消四等),别总想着炫酷T旋,对未来实力提升没好处。\\n\\t两大主要技巧:\\n\\t\\t1. 熟悉初始位置以及到各个位置的初始操作;\\n\\t\\t2. 提前计算好下一块能放哪。\\n\\n推荐阅读专栏《给TOP新人的几点建议》\\n\\n[点击右下角地球按钮打开链接]",link:"https://bilibili.com/read/cv2352939",id:"0a7f60cc442b74f1d47083b3b095ce71e115b516"},{title:"新人学习/练习路线",tags:["读我","必读","萌新","xinren","new","noob","readme"],category:"help",content:"以下是关于提升真正打块能力的指引,如果在以下任何项目练习过程中感到有困难,可以适当回去玩玩自己喜欢的项目。别忘了你是来 “玩” 游戏的,兴趣最重要。\\n以下给出几个新手时期的主线任务树,前期主要就应该练习以下内容,学定式和T-Spin什么的对实力帮助很小(我们不认为靠定式对战秒其他萌新是有效实力):\\n(注意,三段应当同时进行,不是A→B→C)\\nA. 堆叠能力练习方法\\n\\tA1. 手上的块可以放的时候先别急着放,看看下一块有没有地方,如果放不下去就看看手上的能不能换个地方\\n\\tA2. 尝试把地形尽量控制得平整,因为大多数情况比较平的地形来啥块都比较容易放得下去\\n\\tA3. 允许hold的时候可以多想想手里和hold的块和后续几块应该怎么安排顺序,长远地使地形平整\\nB. 操作效率与速度练习方法\\n\\tB1. 不要每一块都拿影子去对形状对位置,要自己想象这个块转一下是什么方向,想好了再开始按按键\\n\\tB2. 学习双旋,能逆时针转一次就不要顺时针转三次,费手\\n\\tB3. 学习极简,刚开始不用管速度,保证正确率最重要,养成良好习惯以后再提速快得很\\nC. 堆叠能力考核\\n\\tC1. 稳定完成40行不死(可以用hold)\\n\\tC2. 稳定完成40行不死(不能用hold)\\n\\tC3. 稳定全消四完成40行(可以用hold)\\n\\tC4. 稳定全消四完成40行(不能用hold)\\n以上都是根据社区和个人经验总结的模糊方法与目标,所以C的考核可以根据自身情况调整严格程度(例如 “稳定” 的具体成功率)。\\n注:完成C的考核后,需要在未来一直注意没有上限的A1,这是方块的根本元素之一,强大的读next能力可以让你快速上手任何变种玩法。",link:"",id:"db48bfb4186f84c0391a54e898c1dcfc705b1f29"},{title:"关于T-spin学习",tags:["T旋","T转","tspins"],category:"help",content:"首先指出:要能熟练做出各种T-spin并不是只看着T-spin的那一小部分地形就可以玩好的,对玩家堆叠能力和计算next能力同样也有较高的要求。\\n\\n如果不只是出于娱乐、随便玩玩的目的,是真的想不断提升T-spin能力变强,请在基础能力达到一定要求前不要刻意去学习太多的T-spin,而先把重点放在堆叠等基本功上。\\n\\n参考学T门槛水平:40L达到60s以内(可以视个人情况调整为40~120s)、能够轻松完成全消四的40L、不使用Hold不降太多速度的前提下比较轻松完成全消四的40L(培养看next的意识和算力)。",link:"",id:"2e684b1296c93ab61fee3ee132448e9a73cf1a71"},{title:"游戏官网",tags:["official","website","homepage","mainpage","guanwang"],category:"help",content:"Techmino的官网!\\n可以在上面下载游戏本体,或者修改头像以及个人信息。\\n\\n游戏作者的一些话:强烈不建议在任何公开场合提及甚至宣传Techmino,更不要随便对外发送我们的官网链接!请务必只在私下里向有基础或真的很有兴趣入坑认真玩的玩家推荐,不然很容易拉低社群质量破坏交流氛围,比较难处理,甚至有可能影响游戏的未来发展。为了保证游戏能够变得越来越好玩,千万慎重考虑您对游戏的推广方式!感谢您对Techmino的大力支持!!",link:"http://studio26f.org",id:"2625248b708d92cdc3012ad29165b45f0b233580"},{title:"灰机Wiki",tags:["huiji"],category:"help",content:"俄罗斯方块中文维基,由一群来自俄罗斯方块研究群及下属群的方块同好建立的关于俄罗斯方块的中文百科全书。\\n\\n目前其大部分页面翻译和参考来自Hard Drop Wiki和Tetris Wiki",link:"https://tetris.huijiwiki.com",id:"5ab1ab58819556c2edb521531547cc697911b7be"},{title:"HardDrop Wiki",tags:["hd"],category:"help",content:"(英文)位于Hard Drop全球俄罗斯方块社区的Wiki百科",link:"https://harddrop.com/wiki/Tetris_Wiki",id:"2e536d6d326cb196c661304142440abf14c924ed"},{title:"Tetris Wiki",tags:[],category:"help",content:"(英文)一个专注于创建俄罗斯方块相关内容的Wiki百科,由Myndzi在 2015创办。年复一年,上千玩家贡献了一系列的官块和自制块的说明,游戏的隐藏机制,和提升游戏体验的教程",link:"https://tetris.wiki",id:"da01b04fbc6a1f85b4fd84732f442c08d7365aab"},{title:"Tetris Wiki Fandom",tags:[],category:"help",content:"(英文)一个俄罗斯方块维基",link:"https://tetris.fandom.com/wiki/Tetris_Wiki",id:"8af06a2a586d93d02a1da92fba6bd1e7e6b03857"},{title:"Four.lol",tags:[],category:"help",content:"(英文,很可能打不开)一个开局定式收集网站",link:"https://four.lol",id:"144ee24e93ce282b01e011edf4b1bb6192f37024"},{title:"テトリス堂",tags:[],category:"help",content:"(日文)包含很多定式、教程和小游戏。内涵2nd、3rd、4th、7th PC的详细说明",link:"https://shiwehi.com/tetris/",id:"0e0315ab5e7bea8a85f720cecfd8b9bff4b7ba85"},{title:"テトリステンプレ集",tags:[],category:"help",content:"(日文)テトリステンプレ集@テト譜,包含非常多定式,有很详细的分类。大部分定式带有图片,可以很方便的分享给别人。",link:"https://w.atwiki.jp/tetrismaps/",id:"d25b66428e157f372d4aca1bb2d021b942ebdfa2"},{title:"tetristemplate.info",tags:[],category:"help",content:"(日文)テトリスブログ - PerfectClear,一个收集了定式的网站,量很少但是内容很精细。",link:"https://tetristemplate.info/",id:"b65e8ab3052ab2215718cf049cbbf8bd53d39d43"},{title:"Fumen",tags:["fumen"],category:"help",content:"(日文)一个方块版面编辑器,可以用于分享定式,PC解法等,用处很多。设置里可以启用英文版。",link:"http://fumen.zui.jp",id:"a227cea79776724a2f4a8095a13b575f55ef8350"},{title:"Fumen for Mobile",tags:["fumenformobile","fm"],category:"help",content:"(英文)一个方块版面编辑器,添加了对触屏的控制,可以用于分享定式,PC解法等,用处很多。",link:"https://knewjade.github.io/fumen-for-mobile/",id:"bc8430a802c402a52dd26af1f6fa40f7629de617"},{title:"GitHub仓库",tags:["源代码","源码","github","git","sourcecode","yuandaima","src"],category:"org",content:"Techmino的GitHub仓库地址,欢迎Star",link:"https://github.com/26F-Studio/Techmino",id:"92d9eb2dd827cfbe656752b86529d51658dc4e10"},{title:"Discord服务器",tags:["不和谐","discord"],category:"org",content:"点击下面的按钮加入Techmino的Discord服务器,和大家一起交流!",link:"https://discord.gg/f9pUvkh",id:"b5a088b565f9942f298729dd9bccc7767aca3d25"},{title:"研究群",tags:["yanjiu","study","research"],category:"org",content:"俄罗斯方块·[研究]群QQ号764916351,“中国俄罗斯方块总群”",link:"",id:"addea241ef4758fb0245900d77bb40ffd3d1f8ba"},{title:"茶服",tags:["tos","tea","study","chafu"],category:"org",content:"TO-S的添加方法、说明等关于茶服的一切",link:"https://teatube.cn/tos/",id:"43af91fdc0b252a62da928cad64072e523346513"},{title:"赞助1",tags:["support","weixin","vx","zhifubao","zfb","zanzhu","daqian"],category:"org",content:"vx/zfb-控制台-support",link:"",id:"45e8b2e11f94f07d444bf5b247c378cec678df4b"},{title:"赞助1",tags:["support","weixin","vx","zhifubao","zfb","zanzhu","daqian"],category:"org",content:"vx/zfb-控制台-support",link:"",id:"45e8b2e11f94f07d444bf5b247c378cec678df4b"},{title:"赞助2",tags:["support","aifadian","afdian","zanzhu","daqian"],category:"org",content:"Afdian",link:"https://afdian.net/@MrZ_26",id:"c2c204a88d358d3568951ccfe8363e25c01122e1"},{title:"赞助3",tags:["support","zanzhu","daqian"],category:"org",content:"Patreon",link:"",id:"3705b429dd183cfd86db61915b1d3b8784bc8c6d"},{title:"赞助3",tags:["support","zanzhu","daqian"],category:"org",content:"Patreon",link:"https://www.patreon.com/techmino",id:"6b979d9c5e5d30383fe76ed00f8336076b4fb662"},{title:"TTT",tags:["教程","trainer","tres","bien"],category:"game",content:"全称Tetris Trainer Très-Bien (by こな)。现代方块特殊操作手把手教程(只能键盘操作)\\n\\t推荐能纯消四完成40L挑战的人学习\\n\\t内含T-spin、极简、SRS、部分对战定式介绍等教程\\n注:提供的链接是翻译后挂在茶服的版本",link:"https://teatube.cn/ttt/index.html",id:"7a6c90de9455659d93e3c4b3db0bef632ec8eb50"},{title:"TTPC",tags:["pc教程"],category:"game",content:"全称TETRIS Perfect Clear Challenge (by chokotia)。SRS+Bag7方块游戏Perfect Clear Opener教程(只能键盘操作)。推荐完成了TTT的人学习(必须先学会SRS)\\n\\n注:提供的链接是翻译后挂在茶服的版本。",link:"https://teatube.cn/ttpc/",id:"bf90e29e221453daf3179302c3b582a84dcaef3c"},{title:"NAZO",tags:["题库"],category:"game",content:"各类SRS试题\\n\\t推荐能通过TTT的玩家尝试。\\n\\t内含各种T-spin/All spin题目,简单到极难题目都有。\\n\\n注:提供的链接是翻译后挂在茶服的版本。",link:"https://teatube.cn/nazo/",id:"cafd691a5666c7faecf410f7a4c974396e3c0db6"},{title:"TPO",tags:["题库","nazo"],category:"game",content:"全称Tetris Puzzle O。由TCV100制作的题库网站,内含nazo的部分题库。",link:"http://121.36.2.245:3000/tpo",id:"75cafcb6649c2daac2d480d33808d90c590680e0"},{title:"注[1]",tags:["备注","notice"],category:"game",content:"以下内容是为部分官方和较高人气同人方块游戏的简介。\\n其中可能包含一些只代表个人观点的主观评价写在方括号里仅供参考,顺便也请不要因为某个方面有欠缺就直接认为 “这个游戏不好”。",link:"",id:"2c54dc7f51ee24e586ae3b7461e24a2854832d8b"},{title:"King of Stackers",tags:["回合制","网页","手机","kos","kingofstackers"],category:"game",content:"网页游戏 | 多人 | 支持移动端\\n简称KoS。网页版回合制对战方块点击即玩(可能很卡),主要规则为:以7块为一个回合,双方轮流在自己场地中放置方块,任何的攻击只在对方回合放一块不消行后生效,策略性很强。有不同的伤害表设置。",link:"https://kingofstackers.com/games.php",id:"2eb87bfa2dc0357481e496d684398e28837d377f"},{title:"Tetr.js",tags:["网页","手机","tetrjs"],category:"game",content:"网页游戏 | 单机 | 支持移动端\\n简称屁块(因为作者网名叫Farter)。设置内容足够专业,模式很多,但画面很简单,几乎没有动画,而且移动端只有几套固定的按键组合(不能自由拖放)。",link:"http://farter.cn/t",id:"69161929631d21aa66d338cc3ff228a0a9375529"},{title:"Tetra Legends",tags:["网页","tl","tetralegends"],category:"game",content:"网页游戏 | 单机 | [服务器在国外可能卡]\\n简称TL。单机模式比较丰富,有两个隐藏的节奏模式,并且将一些其他游戏中不可见的机制进行了可视化,动效也很多。在2020年12月,基本确定由于各种原因不再继续开发。",link:"https://tetralegends.app",id:"f472bf0b72c82192dc749df5f6824baedf634f02"},{title:"Ascension",tags:["网页"],category:"game",content:"网页游戏 | 单机/多人 | [服务器在国外可能卡]\\n简称ASC,使用自己的ASC旋转系统,有不少单机模式(Techmino的堆积模式就来自ASC),对战模式目前处在测试阶段(2022/04/16)",link:"https://asc.winternebs.com",id:"560071698ce28870c4c5fc91fdeca3ff99bf31b5"},{title:"Jstris",tags:["网页","手机"],category:"game",content:"网页游戏 | 单机/多人 | 支持移动端 | [服务器在国外可能卡]\\n简称JS,有常用的科研向单机模式和自定义各种参数的功能,允许拖放固定尺寸的正方形虚拟按键,没有任何动画效果",link:"https://jstris.jezevec10.com",id:"3598a46c34385966fe8d7332fd135ac9d3b93986"},{title:"TETR.IO",tags:["网页","io","tetrio"],category:"game",content:"网页游戏 | 单机/多人 | [服务器在国外可能卡]\\n简称IO,有排位系统和功能全面的自定义模式,单机模式只有三个。有电脑客户端下载(优化性能,无广告)。\\n[Safari浏览器似乎打不开]",link:"https://tetr.io",id:"ee1f029709eab03cdfcd0ef9b4ce848031debaa6"},{title:"Nuketris",tags:["网页","核","he"],category:"game",content:"网页游戏 | 单机/多人 | [服务器在国外可能卡]\\n有几个基础单机模式和1V1排位。",link:"https://nuketris.com/",id:"9602f55e119bb6460baf3ae9812e844d89001303"},{title:"Worldwide Combos",tags:["网页","wwc"],category:"game",content:"网页游戏 | 单机/多人 | [服务器在国外可能卡]\\n简称WWC,全世界匹配制1V1。特色:有录像战,匹配的对手可以不是真人;几种不同风格的大规则;炸弹垃圾行对战。",link:"https://worldwidecombos.com",id:"a805fd1fb030f6d8c013e070517d1409ef14f0fc"},{title:"Tetris Friends",tags:["网页","tf"],category:"game",content:"网页游戏 | 单机/多人\\n简称TF,已经关服了的网页版方块。以前人比较多,后来官服倒闭了热度下去了,不过现在有人架了私服还可以体验到。",link:"https://notrisfoes.com",id:"6c1d763488655dec67c218972c1a3082e9c2b608"},{title:"tetris.com",tags:["网页","手机"],category:"game",content:"网页游戏 | 单机 | 支持移动端\\ntetris.com官网上的俄罗斯方块,只有马拉松一种模式,特色是支持基于鼠标指针位置的智能控制。",link:"",id:"85ef9a571e012d79fe95974cb1d245a0c02ffbd8"},{title:"Tetris Gems",tags:["网页","宝石"],category:"game",content:"网页游戏 | 单机\\ntetris.com官网上的俄罗斯方块,限时1分钟挖掘,有重力机制。\\n有三种消除后可以获得不同功能的宝石方块。",link:"",id:"1a93945d8f9e6126847577ab26992468eb3f9e91"},{title:"Tetris Mind Bender",tags:["网页","技能"],category:"game",content:"网页游戏 | 单机\\ntetris.com官网上的俄罗斯方块,在马拉松基础上添加了技能,场地上会随机冒出技能方块,消除后会得到各种各样或好或坏的技能。",link:"",id:"5a82a770b0963ca9e947c70068a96bcac40323d2"},{title:"Techmino",tags:["铁壳米诺","方块研究所","tieke"],category:"game",content:"跨平台 | 单机/多人\\n简称Tech,使用LÖVE引擎开发的一款方块游戏,单机模式和各种设置都很齐全,联机正在逐渐开发中。",link:"",id:"119d49a5aec943440eec35179d71577b475d78d9"},{title:"Falling Lightblocks",tags:["手机","fl"],category:"game",content:"网页游戏/iOS/Android | 单机/多人\\n一个全平台块,横竖屏,有延迟并且不可调。手机支持自定义键位,主要玩法基于NES块设计,也有现代模式。对战为半即时半回合制,无攻击缓冲不可抵消。",link:"",id:"089ac2a359bdfafacaa30b575eb29d0dfb76541d"},{title:"Cambridge",tags:["剑桥"],category:"game",content:"跨平台 | 单机\\n使用LÖVE引擎开发的一款方块游戏,致力于创建一个轻松高度自定义新模式的方块平台。最初由Joe Zeng开发,于2020/10/08的0.1.5版开始Milla接管了开发。 — Tetris Wiki.",link:"",id:"10942d6a5b0e548a032a6b99980908625af9d0db"},{title:"Nanamino",tags:[],category:"game",content:"Windows/Android | 单机\\n块圈玩家自制方块,正在开发中,有一个原创旋转系统。",link:"",id:"ecd35b9b559147cda839697d07292cb0d6ee1689"},{title:"TGM",tags:["俄罗斯方块大师","tetrisgrandmaster"],category:"game",content:"Windows | 单机/本地双人\\n全称Tetris The Grand Master,一个街机方块系列(有修改过的版本可以在大多数Windows电脑运行),S13/GM等称号都出自该作。\\n\\n其中TGM3目前玩得最普遍,部分模式说明:\\n\\nMaster:大师模式,有段位评价,拿到更高段位点的要求:非消一的连击和消四,字幕战中消除和通关,每100的前70小于【标准时间,上一个0~70秒数+2】中小的一个,每100总用时不能超过限定值(不然取消上一个方法的加分并反扣点数);到500若没有进标准时间会强制结束游戏(称为铁门);字幕战有两个难度,半隐和全隐,后者必须拿到几乎全部的段位点才能进,消除奖励的段位点也更多。\\n\\nShirase:死亡模式,类似于techmino中的20G-极限,开局就是高速20G,500和1000有铁门,500开始底下开始涨垃圾行,1000开始出现骨块,1300通关进入大方块字幕战;段位结算:每通100加1段从S1到S13,如果通关了字幕战就会有金色的S13\\n\\n更多内容详见链接",link:"https://teatube.cn/TGMGUIDE/",id:"8ef6dad86868eb6560ac4397850a431f67c84dc7"},{title:"DTET",tags:[],category:"game",content:"Windows | 单机\\n单机方块游戏,基于经典规则加入了20G和一个强大的旋转系统,但是除了键位其他参数都不可自定义。有点难找到,而且找到后可能还要自己补齐缺的DLL文件。",link:"",id:"e8aa386b53a95638b334195c76f3558b9a314044"},{title:"Heboris",tags:["hb"],category:"game",content:"Windows | 单机\\n一个仿街机方块游戏,可以模拟多个方块游戏的部分模式。",link:"",id:"3d450984eb899811c1757c96bde9cb8bc3a7adae"},{title:"Texmaster",tags:["txm"],category:"game",content:"Windows | 单机\\n简称Tex,包含TGM的所有模式,可以用来练习TGM,但World规则不完全一样(如软降到底无锁延,踢墙表有细节不同等)。",link:"",id:"de2d8f090681e37b52dfabd4047d6c4a3b77ad91"},{title:"Tetris Effect",tags:["效应","tec","tetriseffectconnected","xiaoyinglianjie"],category:"game",content:"PS/Oculus Quest/Xbox/NS/Windows | 单机/多人\\n简称TE(C),特效方块游戏。不带Connected的基础版本只有单机模式。\\n拓展版本Tetris Effect: Connected增加了联网对战,包含Boss战、Zone对战、经典块对战和分数对战四个模式。",link:"",id:"0e6ba1cb4dd77fcc051416727b866d200b4bf074"},{title:"Tetris 99",tags:["吃鸡","t99"],category:"game",content:"NS | 单机/多人\\n简称T99,主玩99人混战的吃鸡模式,战术比重比较大,胜率不只由玩家在平时1V1时的水平决定。\\n也有一些常用单机模式如马拉松等。",link:"",id:"1ba05b6596856f9cc0ca2b4b459c4cb52a367249"},{title:"Puyo Puyo Tetris",tags:["噗哟方块","ppt","puyopuyotetris"],category:"game",content:"PS/NS/Xbox/Windows | 单机/多人\\n简称PPT,将方块和 Puyo Puyo 两个下落消除游戏放到一个游戏里,二者可以对战,联机单机模式都很多。另有一拓展版本Puyo Puyo Tetris 2。\\n[Steam PC版相对NS版手感和网络等都不太好]",link:"",id:"085c31a67986e72210f44a2fa0367c9986d312e7"},{title:"Tetris Online",tags:["top","study"],category:"game",content:"Windows | 单机/多人\\n简称TO,主要用来6人内对战/单挑/刷每日40L榜/挖掘模式/打机器人。支持自定义DAS/ARR但都不能到0。\\n现在还开着的服务器有:\\nTO-P(波兰服,服务器在波兰,可能会卡顿)\\nTO-S(研究服,研究群群友自己开的服,很稳定,需要进群注册)",link:"",id:"abc6cf003dae8fd7a5ea24fe449c7f4a520b0c21"},{title:"Tetra Online",tags:["to"],category:"game",content:"Windows/macOS/Linux | 单机/多人\\n简称TO,由Dr Ocelot和Mine两人开发\\n故意设计为延迟较多,平时玩无延迟方块的玩家可能会不习惯。\\n2020年12月9日收到来自TTC的DMCA警告信于是被迫停止开发,在一段时间后关服并下架Steam。\\n现在在GitHub上面还可以下到Windows的Offline Build。\\n[UI部分模仿了PPT,音乐不错,攻击特效好看。]",link:"https://github.com/Juan-Cartes/Tetra-Offline/releases/tag/1.0",id:"eae66386205bf56959209b8569a4ae2ea53ba74d"},{title:"Cultris II",tags:["文艺方块","c2","cultris2"],category:"game",content:"Windows/OS X | 单机/多人\\n简称C2,设计基于经典规则出发,支持自定义DAS/ARR,对战的主要玩法是基于时间的连击,考验玩家速度/Wide打法/挖掘。\\n[游戏作者太久没有更新Mac版导致macOS Catalina以后的系统无法运行]",link:"",id:"146a485103a6d96465f30968a8e98a3e09e0aa7f"},{title:"Nullpomino",tags:["np"],category:"game",content:"Windows/macOS/Linux | 单机/多人\\n简称NP,整个游戏自定义程度极高,几乎任何参数都可以自己设置,是一个专业级方块。\\n[不过UI风格比较老,需要全键盘操作,刚开始可能不习惯。macOS Monterey貌似无法运行。]",link:"",id:"4ca1f726a8d4565d0be64b0fbe18cb94173c63d7"},{title:"Misamino",tags:["回合制"],category:"game",content:"Windows | 单机\\n块圈玩家自制方块,单机1v1,主玩回合制模式,可以自定义AI(自己写的话需要了解接口)。",link:"",id:"15610a0899101f47ff3749b09be8cbb5de829763"},{title:"Touhoumino",tags:["东方","车万","偷猴","chewan","dongfang","th"],category:"game",content:"Windows | 单机\\n块圈玩家自制方块,一个Nullpomino的自带资源包的改版,将东方Project元素与俄罗斯方块结合。马拉松模式结合了东方Project里的 “符卡” 机制,需要在一定时间内达成目标分数才能击破。\\n[难度较大,适合有方块基础并且各项能力都较强的玩家游玩(不然都不知道自己怎么死的)。]",link:"",id:"68be7252aef0911f363e144f548fde38478dfd91"},{title:"Tetris Blitz",tags:["闪电战","ea"],category:"game",content:"iOS/Android | 单机/多人\\n简称闪电战,EA代理的一款移动端方块,有重力连锁机制,限时2分钟,游戏开始会掉下一堆小方块;持续消行会进入Frenzy模式(场地下方会不断冒出垃圾行,帮助玩家制造大连锁,如果多次落块没有消行会强制结束Frenzy)。有非常多的道具。\\n当新出现的方块与场地现有方块重叠时,场地最上方的几行会被自动清除,游戏不结束。已于2020年4月下架。",link:"",id:"a5c738adc280fad07bfbb4dd1476d7b7f904ed19"},{title:"Tetris (EA)",tags:["tetris","ea"],category:"game",content:"iOS/Android | 单机/多人?\\nEA代理的一款宇宙主题的移动端方块。有滑动操控和单点触控两种操作模式;除经典的马拉松外还有一个星系模式(地图挖掘),有重力连锁机制,目标是在限定块数内消除所有地图块。\\n已于2020年4月下架。",link:"",id:"027f9038af9c7e4d791be8f584b668a35a2cc51e"},{title:"Tetris Beat",tags:["节奏","n3twork"],category:"game",content:"iOS | 单机\\nN3TWORK代理的一款移动端方块。除了马拉松以外游戏还有一个 “Beat” 模式,但只需根据BGM的节奏落块就可以得到额外分数。\\n[特效比较瞎眼,不支持自定义键位,而且默认的按钮也很小导致控制也不是很舒服]",link:"",id:"2b5e658415906134fc5c084c815256cd029516b3"},{title:"Tetris (N3TWORK)",tags:["Tetris","n3twork"],category:"game",content:"iOS/Android | 单机/多人\\nN3TWORK代理的一款移动端方块,有马拉松、3分钟限时打分和Royale(最多100人对战)模式。\\n[UI设计比较不错,但不支持自定义键位,而且默认的按钮也很小导致控制也不是很舒服]",link:"",id:"4eca9f2aa25d69d08fd239754108be323894eccb"},{title:"俄罗斯方块环游记",tags:["tetris","journey","huanyouji"],category:"game",content:"iOS/Android | 单机/多人\\n简称环游记,国内第一款正版授权手游方块。有闯关模式、对战模式和几个单机模式。闯关模式有各种各样有趣规则大多数有重力连锁,对战规则同现代方块,可以自定义虚拟按键的大小和位置,但是不能自定义DAS/ARR。已于2023年2月15日停服。",link:"",id:"775c32db1ab6f2e15de9655a6d2c017243dfa554"},{title:"JJ块",tags:["手机","gougou"],category:"game",content:"Android | 单机/多人\\nJJ棋牌平台下一个休闲游戏,Android端百度 “JJ比赛” 官网下载平台后可以找到(找不到的原因是iOS系统或者没在官网下载或者被限制不可直接访问游戏)。竖屏,输入延迟很小,可自定义DAS/ARR/20G软降,简单自定义键位,无Hold,没有B2B,无攻击缓冲不可抵消,每次攻击上限为4,连击较强,其他同现代方块。",link:"",id:"0abb741e07432d757fe5f63dfc049c4abd4371a6"},{title:"火拼俄罗斯",tags:["huopin","qq"],category:"game",content:"Windows | 多人\\n腾讯游戏大厅的方块,场地12列,打字的 DAS 和 ARR,1 Next无 Hold,攻击途径只有消4打3、 消3打2,垃圾行为国际象棋棋盘式,几乎不可能挖掘。",link:"",id:"17f9bdeb539060af71e18f559429b15181f1a095"},{title:"LPM",tags:["速度","sudu"],category:"term",content:"Line Per Minute\\n行每分,体现玩家下块速度。\\n\\n注:不同游戏中显示的LPM算法可能不一样,例如TO中的LPM是用PPS换算的,每1PPS=24LPM,忽略掉了垃圾行的影响,不再是字面意思,Techmino中使用L’PM代表这种换算后的LPM。",link:"",id:"34a29ee483d8263bd7c41d5bfc0276e5e6cfb3f0"},{title:"PPS",tags:["速度","sudu"],category:"term",content:"Piece Per Second\\n块每秒,体现玩家下块速度。",link:"",id:"ffc6860263cb78c06b27cf924b3c23be71d33588"},{title:"BPM",tags:["速度","sudu"],category:"term",content:"Block Per Minute\\n块每分,体现玩家下块速度\\n又称PPM(Piece Per Minute)",link:"",id:"2bb26b9db018e582adf2ab859ab7f0beafa803d7"},{title:"KPM",tags:["速度","sudu"],category:"term",content:"Key Per Minute\\n按键每分,体现玩家按键速度。",link:"",id:"21e8b4fdd11dd2e25184216e21d37c0584ee1861"},{title:"KPP",tags:["按键","anjian"],category:"term",content:"Key Per Piece\\n按键每块,体现玩家操作是否繁琐。\\n学会极简提升操作效率以减少此数字。",link:"",id:"0dbca35263a0ac4bf7ef07824164d688b5837b11"},{title:"APM",tags:["攻击","attack","gongji"],category:"term",content:"Attack Per Minute\\n攻击每分,即玩家每分钟能打出的垃圾行数。\\n一定程度体现玩家攻击力。",link:"",id:"3b43c123b81f067da1fa99361828f2693142cd6a"},{title:"SPM",tags:["发送","送出","发出","send","gongji"],category:"term",content:"[lines] Sent per minute\\n送出每分,即玩家每分钟实际打出去给对手的垃圾行数。\\n一定程度体现玩家给对手实际造成的攻击力。",link:"",id:"076e116c297ac25392f513c03caad89bbae272db"},{title:"DPM",tags:["挖掘","防御","防守","dig","defend"],category:"term",content:"Dig/Defend Per Minute\\n挖掘每分,即玩家每分钟向下挖掘的垃圾行数。\\n某些时候可以体现玩家生存能力。\\n\\n或:防御(抵消+挖掘)每分。",link:"",id:"48ef5bdcf1fbd21b65c2f0282d3e94e7ab4a6878"},{title:"RPM",tags:["接收","接受","receive","jieshou"],category:"term",content:"Receive Per Minute\\n接收每分,即玩家每分钟收到来自对手的垃圾行数。\\n一定程度体现玩家被对手施加的压力。",link:"",id:"3ccaaf97407f07bc42542ec866e3bc4d52ef8cce"},{title:"ADPM",tags:["攻击","防御","防守","attack","defend","vs"],category:"term",content:"Atk & Dig Per Minute\\n攻击+挖掘每分,用于在同一局游戏内对比玩家间水平差距,比APM更准确一些。在TETR.IO中叫 “VS” 的数据就是ADPM(调整过比例,具体是Atk & Dig per 100s)",link:"",id:"8237c467e748e3db42d92d104b965e627b51fe22"},{title:"APL",tags:["效率","xiaolv","xiaolyu"],category:"term",content:"Attack Per Line\\n攻击每行,也叫效率,体现玩家攻击的行利用率。例如消四和T旋的效率就比消二和消三高。",link:"",id:"d9eda030b7074aedca43c15dddb4740c494f031a"},{title:"Single",tags:["1","xiaoyi"],category:"term",content:"一次消除一行。",link:"",id:"ede51272f574cbc9179024de514922e880faa573"},{title:"Double",tags:["2","xiaoer"],category:"term",content:"一次消除两行。",link:"",id:"4f80c5857d262da97bf9b0c6c06f3af811a426af"},{title:"Triple",tags:["3","xiaosan"],category:"term",content:"一次消除三行。",link:"",id:"fb5c4efc591d1b3c612c45e1f7de99ffd8f20cd8"},{title:"Techrash",tags:["4","tetris","xiaosi"],category:"term",content:"一次消除四行(Techmino限定)。",link:"",id:"d035e86d6bdff444a54e62e1e43c233e94d7bf89"},{title:"Tetris",tags:["4","xiaosi"],category:"term",content:"商标,Tetris游戏名,同时也是别的方块游戏里消四行的名字。\\n含义是Tetra(古希腊语, 四 <τέτταρες>)+ Tennis(网球 游戏原作者喜欢的运动)。\\n现在版权在TTC(The Tetris Company)手上,任天堂和世嘉开发游戏是 TTC 授权的, 它们自己并没有Tetris的版权。",link:"",id:"d62b4326976a335c6e1e5739e07fceb8c78e80bc"},{title:"PC",tags:["全消","全清","perfectclear","ac","allclear","quanxiao","quanqing"],category:"term",content:"Perfect Clear(也叫All Clear,全消,或全清)。\\n消除场地上所有的方块。",link:"",id:"3cc484e4922fa08d3cdcb4ce642ff241cfa2d527"},{title:"HPC",tags:["hc","clear","banqing","banquanqing","banquanxiao"],category:"term",content:"Half PC\\nPC(全消)的外延,“下方有剩余方块” 的全消(特别地,如果只消1行则必须不剩余玩家放置的方块),能打出一些攻击和防御(Techmino限定)。",link:"",id:"3a3e7e310a0a82040d6c4e70abd1d7c8048a4b30"},{title:"Spin",tags:["转","xuanzhuan","zuandong"],category:"term",content:"(部分游戏中)使用旋转将方块卡进不能直接移动进入的位置,具体判定规则不同游戏不一样,可能会有攻击加成。",link:"",id:"dc33dec4942ac1f43c0e1edb5ccb6b9e30f571b1"},{title:"Mini",tags:["迷你"],category:"term",content:"Spin附加Mini后攻击会弱化,用于平衡不同难易度的T-spin攻击,判定在不同游戏都不一样,而且大多数很不好理解,建议只记住常见形状即可。",link:"",id:"fb751efa013e9078a2af3d576946af0bad65e89b"},{title:"All Spin",tags:["allspin"],category:"term",content:"一种规则,指所有方块的Spin都有攻击力,而不止是T-spin才有攻击(即T-Spin Only)。",link:"",id:"76934acf334799e0ad76194c34b1ddee98dc5b67"},{title:"T-Spin",tags:["T转","T旋","旋转","tspin","txuan"],category:"term",content:"在官方规则中,当T方块在锁定前的最后一个操作是旋转,并且锁定后旋转中心对应的四个斜角位置有三个不是空气,那么这就是一个T-spin。\\nPS:如果满足一些额外条件会被打上mini标签减少攻击力。",link:"",id:"e811f591780c7c7ee0d7abd134e5a67c25289154"},{title:"TSS",tags:["t1","tspin"],category:"term",content:"T-Spin Single\\n指使用T方块Spin并一次消除1行。简称T1。",link:"",id:"a260a00814f9b634c252dc26e855206380a7e305"},{title:"TSD",tags:["t2","tspin"],category:"term",content:"T-spin Double\\n指使用T方块Spin并一次消除2行。简称T2。",link:"",id:"af05e0d65e32bca9b7c80a7da2c3e7f25f105090"},{title:"TST",tags:["t3","tspin"],category:"term",content:"T-spin Triple\\n指使用T方块Spin并一次消除3行。简称T3。",link:"",id:"513fe5fb6e3c7f3f286253eac090967f68b8597b"},{title:"MTSS",tags:["mini","tspin","minitspinsingle","tsms","tspinminisingle"],category:"term",content:"Mini T-spin Single\\n指T方块Mini Spin消1行(不同游戏判定不一样)。\\n部分游戏中可能叫做 “T-Spin Mini”。",link:"",id:"eabb16e756dd8b65ec3dc5f816b937c0d1e4f8ee"},{title:"MTSD",tags:["mini","tspin","minitspindouble","tsmd","tspinminidouble"],category:"term",content:"Mini T-spin Double\\n指T方块Mini Spin消2行(仅部分游戏内存在且判定不一样)。",link:"",id:"a1a53ac67d39e9ac378561223bdd1332f2ed615c"},{title:"O-spin",tags:["o转","o旋","ospin","oxuan","ozhuan"],category:"term",content:"由于O方块旋转后形状不变,只能左右移动,所以经常被卡住,于是方块圈就有了O-spin的梗:\\n有人做过T99/TF中的O变形的特效视频且广为流传;\\nT-ex设计的旋转系统可以用spin使O传送进坑;\\nTech设计的变形系统中可以旋转O来变形/传送进入一些特定形状的洞。",link:"",id:"e8dc50817739b8a0330f8b39f2cef5dda6440eba"},{title:"旋转系统 (踢墙)",tags:["旋转系统","踢墙","xuanzhuanxitong","wallkick","tiqiang"],category:"term",content:"现代方块游戏中,方块可以绕着旋转中心(Techmino中可见)旋转(部分游戏没有固定中心),如果旋转后和场地或墙壁有重合,会根据<从哪个方向转到哪个方向>进行一些偏移测试(这个偏移称为踢墙),不会卡住转不动,同时也可以让方块钻进入一些特定形状的洞。不同的旋转系统偏移位置顺序都不一样,具体数据去各大Wiki上查,一堆数字这里就不放了",link:"",id:"05b13c428c8769505583fde30a481558c935ab2c"},{title:"方块朝向",tags:["旋转","朝向","xuanzhuan","chaoxiang","orientation","direction","0r2l","02","20","rl","lr"],category:"term",content:"在SRS或者类SRS的旋转系统中需要说明方块朝向的时候,“朝下” “竖着” 等词描述太模糊。\\nSRS中每种方块的初始状态固定,所以我们使用0(原位)、R(右,即顺时针转一次)、2(转两下,即180°)、L(左,即逆时针转一次)四个字符表示方块的四种状态,从原位(0)开始顺时针转一圈四个状态是0R2L。\\n最早见于SRS踢墙表的行首,0→L表示原位逆时针转一次到L状态,0→R表示原位顺时针转一次到R状态,2→R代表从180°状态逆时针转一次到R状态。",link:"",id:"573a634040e4e2b48f3a6f63d3ffef40e48ca2f1"},{title:"ARS",tags:["旋转系统","rotate"],category:"term",content:"Arika Rotation System,TGM系列使用的旋转系统(3代中的C模式)\\n或者\\nAtari Rotation System,一个左上对齐旋转系统。",link:"",id:"9e89bb00c1d2aa2fd01276461d2e6948b6a94e2b"},{title:"ASC RS",tags:["旋转系统","ascrs","rotate"],category:"term",content:"ASC Rotation System\\nASC块使用的旋转系统,所有块所有形状只根据旋转方向(顺时针和逆时针)使用两个对称的表,踢墙范围大概是±2, ±2。",link:"",id:"564007c0f886861ba0794982d64ee13a5c91c773"},{title:"ASC+ RS",tags:["旋转系统","asc+rs","ascplusrs","rotate"],category:"term",content:"Techmino中ASC的修改版本,添加了180°转的踢墙表。",link:"",id:"ce0ec58b494b2db6c68836d072215d1ce6f8f87c"},{title:"BRS",tags:["旋转系统","rotate"],category:"term",content:"BPS Rotation System\\nBPS块使用的旋转系统。",link:"",id:"94e15bca792e79f612af7db8a19039689c09d210"},{title:"BiRS",tags:["旋转系统","rotate"],category:"term",content:"Bias Rotation System\\nTechmino原创旋转系统,基于XRS和SRS设计。\\n当左/右/下(软降)被按下并且那个方向顶住了墙,按旋转后会先设定一个偏移(三个键朝各自方向加1格),在偏移的基础上试踢墙表里的位移(全都失败了会先取消向下的偏移再把踢墙重新试一遍,再都不行就取消左右,再不行就失败)。\\nBiRS相比XRS只使用一个踢墙表更容易记忆,并且保留了SRS翻越地形的功能。\\n\\n细节补充:在测试踢墙时要满足两个条件,最终位移欧氏距离不能超过√5,并且存在水平偏移时最终水平位移必须和它不反向。",link:"",id:"c43d480a62beefb77cad904e31fff896eb940993"},{title:"C2RS",tags:["旋转系统","rotate","cultris2"],category:"term",content:"Cultris II Rotation System\\nCultris II原创的旋转系统,所有旋转共用一个表,顺序是:\\n左1→右1→下1→左下→右下→左2→右2\\n注意,左优先于右。",link:"",id:"220cefe0dc94d636dedc322b4318795ed34837a3"},{title:"C2sym",tags:["旋转系统","rotate","cultris2"],category:"term",content:"Techmino中C2RS的修改版本,根据不同的方块形状和状态,各自选择优先测试左还是右。",link:"",id:"a556f52f54e6fbc01a552e13d5e457226db9f1ab"},{title:"DRS",tags:["旋转系统","rotate"],category:"term",content:"DTET Rotation System.",link:"",id:"c5643df577b8666a346e1ec09c2b93ed22b333d6"},{title:"NRS",tags:["旋转系统","rotate"],category:"term",content:"Nintendo Rotation System,NES和GB块使用的旋转系统。NRS有两个互为镜像的版本,左旋版用于GB,右旋版用于NES。",link:"",id:"c21f8a4f8ad7208a795a57ded5d060919649cef4"},{title:"SRS",tags:["超级旋转系统","rotate"],category:"term",content:"Super Rotation System\\n现代方块最常用的旋转系统,也是不少自制旋转系统的设计模板。\\n对于SRS,每个方块有四个方向,可以朝两边转(180°不算,最开始没有这个设计),所以总共8种,对应8个偏移表,具体数据去Wiki上查,这里就不放了。",link:"https://tetris.wiki/Super_Rotation_System",id:"6ee42d75e1000923b204826b1b13f846209a5481"},{title:"SRS+",tags:["超级旋转系统","srsplus","rotate"],category:"term",content:"SRS的拓展版,添加了180°转的踢墙表。",link:"",id:"fcc36d4cbebb42c03eff3307b06c46c6ed8379a4"},{title:"TRS",tags:["旋转系统","rotate"],category:"term",content:"Techmino Rotation System\\nTechmino原创旋转系统,基于SRS设计,修补了一些常见SZ卡死的地形,增加了不少实用踢墙。\\n每个五连块也基本按照SRS的Spin逻辑单独设计了踢墙表。\\n更有神奇O-spin等你探索!",link:"",id:"704dcda3c49ae4bbec88bf09f155c0b7fcfe1387"},{title:"XRS",tags:["旋转系统","rotate"],category:"term",content:"X Rotation System\\nT-ex原创旋转系统,引入了 “按住方向键换一套踢墙表” 的设定(在对应的方向需要顶住墙),让 “想去哪” 能被游戏捕获从而转到玩家希望到达的位置。\\n\\n其他旋转系统无论踢墙表怎么设计,块处在某个位置时旋转后最终只能按固定顺序测试,这导致不同的踢墙是竞争的,若存在两个可能想去的位置就只能二选一,XRS解决了这个问题。",link:"",id:"9dcd64344bfe1b26c2a4d1128e23fa8e215b6b68"},{title:"B2B",tags:["大满贯","btb","backtoback"],category:"term",content:"Back to Back\\n连续打出两次特殊消行(Spin或消四),中间不夹杂普通消行,可以提供额外的攻击(在Techmino中B2B为满贯,大满贯是B3B)。连续PC/HPC在Techmino中也算B2B/B3B。",link:"",id:"25c9c3013a9ba18daf3a397dfa0127da915ecdd0"},{title:"B2B2B",tags:["大满贯","b3b","backtobacktoback"],category:"term",content:"Back to Back to Back\\nB2B的加强版,缩写B3B,大量B2B后连续B2B会变成B2B2B,提供更强的攻击(仅Techmino中有)。",link:"",id:"93abe814c9a4acbd50d6c2ee3b81704c36acae69"},{title:"Fin/Neo/Iso",tags:["特殊","fin","neo","iso"],category:"term",content:"三类特殊T2的名字,不同的游戏内的攻击可能不一样,实战中基本没有特殊价值,可以不详细了解。",link:"",id:"49a9dddd3e75b7be40c59555e26b82cd895be3bd"},{title:"现代方块",tags:["modern","xiandaikuai","tetris"],category:"term",content:"现代方块是一个模糊的概念,这里列出一部分 “标准” 规则,满足大部分的都可以认为是现代方块:\\n1.可见场地大小是10×20,不过上方空间也是存在的,上限可以自己定,一些游戏用的是40;\\n2.七种方块从顶部正中间出现(奇数宽方块偏左,高度可以是方块底部或顶部贴着场地顶),同一种方块的朝向(一般是平的面朝下)和颜色都一致;\\n3.一个合适的随机出块机制(常见的详见Bag7词条和His词条);\\n4.一个合适的的旋转系统(至少有双旋,详见双旋词条)(最好是SRS或类SRS,详见SRS词条);\\n5.一个合适的锁定延迟系统,详见锁定延迟词条;\\n6.一个合适的死亡判定,详见死亡判定词条;\\n7.有Next功能(一般是3~6个,也有1个的),详见Next词条,并且方向和出现时候的方向一致;\\n8.有Hold功能,详见Hold词条;\\n9.有DAS系统负责精密并且快速的左右移动,详见DAS词条;\\n10.如果有出块延迟和消行延迟,那么需要有提前旋转/Hold系统,详见IRS和IHS词条,IMS是Techmino特有。",link:"",id:"3b374d011cae4bbd4f76daabce342beef755c6b0"},{title:"方块形状",tags:["xingzhuang","shape","tetromino","tetrimino"],category:"term",content:"在标准的方块游戏中,用到的方块是所有的 “四连块”,即四个正方形共用边连接成的形状。\\n在不允许翻转,只允许旋转的情况下,四连块一共有七种,根据它们的形状一般分别叫做Z、S、J、L、T、O、I。\\n\\n详见下方 “方块名称”。",link:"",id:"4f07a542caea12ff764123563fe86c36fcf50e07"},{title:"方块颜色",tags:["yanse","color","colour","tetromino","tetrimino"],category:"term",content:"主流方块游戏中七种块的颜色会使用同一套彩虹配色:\\nZ:红 S:绿 J:蓝 L:橙 T:紫 O:黄 I:青\\n\\nTechmino默认也使用这一套 “标准” 配色。",link:"",id:"eaf19687d159758acc974e4c87723dae786ad13f"},{title:"提前旋转(IRS)",tags:["irs","initialrotatesystem"],category:"term",content:"Initial Rotation System 提前旋转系统\\n方块出现前提前按下旋转后,出现时就是转好的形状,有时可以避免死亡。",link:"",id:"df56dc17c1c71d88f776c8989f44e46bd373fe91"},{title:"提前暂存(IHS)",tags:["ihs","initialholdsystem"],category:"term",content:"Initial Hold System 提前Hold系统\\n方块出现前提前按下hold后,直接出现hold里的方块,有时可以避免死亡。",link:"",id:"dfa0fb067ad7de4e9f078f3b0122943af0f79b74"},{title:"提前移动(IMS)",tags:["ims","initialmovesystem"],category:"term",content:"Initial Move System 提前移动系统\\n方块出现前提前按住移动后,出现时会朝移动方向偏一格,有时可以避免死亡(Techmino限定)。\\n注:需要块出现时das已充满",link:"",id:"dbb98c2013dd63489d4f23a39828862643abc70c"},{title:"预览(Next)",tags:["下一个","next","yulan","xiayige"],category:"term",content:"指示后边几个块的顺序。\\n提前思考手上这块怎么摆可以让后面轻松是玩家提升的必需技能。\\n\\n关于玩家玩的时候到底看了几个Next:这个数字并不固定,不同玩家、不同模式、不同局面,计算next的数量都不一样,通过调整可见Next数量打40L比较时间等方式测得的数据并不准确。\\n\\n具体例如,一个比较熟练的玩家几乎永远会提前算好一个Next,不然不会锁定手里的块;场地上将要出现或可以构造消四洞(T坑)的时候会找最近的I(T)什么时候来,如果太远了就会直接挖掉放弃本次攻击以防被对手偷袭。这两种情况并不独立,有很多介于中间的情况。所以,一个玩家看的Next数量是时刻在变的,“某人看几个Next” 没有精确答案,必须在指明情况的时候数字才能作为参考。",link:"",id:"5ede2f721df7f80f287a68fcd175ee1db254e642"},{title:"暂存(Hold)",tags:["交换","hold","zancun"],category:"term",content:"将手里的方块和Hold槽中的交换,一般不能连续使用。\\n用来调整块序,更容易摆出你想要的形状。\\nTechmino中有一个 “物理Hold” 机制,开启后Hold换出的方块会直接出现在当前方块所在的位置\\n\\n用不用Hold各有好处,不用的话看到序列是什么就是什么,减少了思考量;并且减少了按键的种类,操作简单容易提升KPS,有些人的40L记录就是不用Hold打出的。用Hold可以灵活地调整序列,减少高重力等规则带来的难度,算力足够的情况下可以达成更复杂的目标,甚至反过来显著减少总按键数。",link:"",id:"af7a53d05fef8964e93ddc5e922fe7ead80c663e"},{title:"置换(Swap)",tags:["交换","swap","hold","jiaohuan","zancun"],category:"term",content:"Hold的另一种表现形式,将手里的方块和Next槽中的第一个交换,一般同样不能连续使用。",link:"",id:"007c6a9f7ce2fc7064cbcbaeeed1089ffa985356"},{title:"深降",tags:["深降","deepdrop","shenjiang"],category:"term",content:"开启后当方块触底时,再次按下软降会让方块尝试向下穿墙寻找放得下的地方,如果有就会直接瞬移到那\\n该功能更偏向用于技术研究,对于AI来说有了它可以完全不用再考虑旋转系统,形状能容得下的地方一定都能到达",link:"",id:"78894c860ead15409ce3eb1c30c535ebb2433c69"},{title:"Misdrop",tags:["误","md"],category:"term",content:"误放,就是不小心放错了地方。简称MD。",link:"",id:"1f8a0276433dcc22d354aaceee5a13d193037691"},{title:"Mishold",tags:["误hold","mh"],category:"term",content:"误hold,就是不小心按到Hold导致死亡或失去PC机会等。简称MH。",link:"",id:"c5ca3c00e538070148fb09a03ab68339d90d64f9"},{title:"sub",tags:[],category:"term",content:"在……之下\\n用于表示成绩,单位一般可不写,比如40L成绩Sub 30是秒,1000行Sub 15是分钟,不写项目默认是40L\\n\\n例:39.95s是Sub 40,40.###s不是Sub 40。\\n请不要使用Sub 62之类的词,因为sub本身就是表示大约, 一分钟左右的成绩精确到5~10s就可以了,一般30s以内的成绩用sub## 的时候才会精确到1s。",link:"",id:"fac0180b895f2a661421f4e7dad325e8f3feb12d"},{title:"挖掘(Dig)",tags:["挖掘","downstack","ds","wajue"],category:"term",content:"指消除从场地底部进入的垃圾行(对手攻击打过来或者模式中自动生成)。也叫downstack(DS)。",link:"",id:"795ab336844cf40d0b587e03f6c8ce391fe0f67f"},{title:"捐赠(Donate)",tags:["捐献","juanzeng"],category:"term",content:"指刻意临时堵住(可以消四的)洞做T-spin,打出T-spin后就会解开,是比较进阶的保持/提升火力的技巧。\\n不标准用法:有时候只要堵住了个坑,即使不是消四洞也会用这个词。",link:"",id:"094cb87b474108286d1b050eb94b7034582d9123"},{title:"欠债",tags:["qianzhai","debt"],category:"term",content:"欠债\\n指必须完全堆好才能开始转下T旋打出攻击,堆完之前T下不去的形状。对战实战中如果要做此类(中局)定式时一定要观察对手情况确保自己安全,不然可能被半途打死\\n\\n一般只用来描述类似双T3/T3塔的大型组合炮,堆完之前完全不能打出攻击。",link:"",id:"2c9c9d2a29d452bdcc50f89b9efcb32e5ef824f7"},{title:"攻防",tags:["gongfang","gongshou"],category:"term",content:"攻击指通过消除给对手发送垃圾行;\\n防御(相杀)指别人打过来攻击之后用攻击抵消;\\n反击指抵消/吃下所有攻击后打出攻击。\\n\\n注:大多数方块游戏的攻防是1:1的,4行攻击抵消对手的4行攻击。",link:"",id:"c5cc86404df3ec167323a6dd389f658d3619dda2"},{title:"连击(Combo)",tags:["ren","lianji"],category:"term",content:"从第二次消除起叫1 REN/Combo,打出的攻击根据游戏设计的不同也不同。“REN” 这个名称来源于日语中的 “連”(れん)。",link:"",id:"9f87a8b08381af9fac76021f4af2f897895834b4"},{title:"Spike",tags:["baofa","xingbao"],category:"term",content:"爆发攻击\\n指短时间内打出大量的攻击,Techmino和TETR.IO中有Spike计数器,可以看到自己短时间内打出了多少攻击。\\n注意,网络卡顿导致的累计攻击瞬间释放不算Spike。",link:"",id:"c463c53088e461253bcbda48795858024b3c49ce"},{title:"Side",tags:["连击","sidewell"],category:"term",content:"在场地旁边空出几列的堆叠法\\n用来制造连击,对于新人是一个不错的进攻方法。但由于起楼的时候可能会被顶死而且总效率不高,导致高端玩家不会单独做Wide,更可能会在中局堆好炮并且观察到对手短时间内不会打出伤害的时候可以造,用来大幅加强瞬时火力。",link:"",id:"6a78522114f9684c67c66a49bf79f64da244e117"},{title:"Center",tags:["连击","centerwell"],category:"term",content:"在场地正中间空出几列的堆叠法",link:"",id:"437c97420ef53ab10e30f2805a9d1e2d9a0965fd"},{title:"Partial",tags:["连击","partialwell"],category:"term",content:"在场地边和正中之间的位置空出几列的堆叠法",link:"",id:"4067a95f88506ff7bf801b43f45dcdaaa4c45600"},{title:"S1W",tags:["side1wide","tetrisstacking"],category:"term",content:"Side 1 Wide\\n旁边空1列,是传统方块游戏里常见的消四打法。\\n在现代方块对战中新手可以使用,短时间能打出大量攻击,但在高手场出场率不高,因为效率低,容易被对面一波打死,故只在极少数情况合适的时候用。",link:"",id:"895231397015bfce6167338f919a8248e9671edc"},{title:"S2W",tags:["连击","lianji","ren","side2wide"],category:"term",content:"Side 2 Wide\\n旁边空2列,是常见的连击打法。\\n难度很低,现代方块对战中新手可以使用,结合Hold可以很轻松地打出大连击。高手场使用不多,因为准备时间太长,会被对面提前打进垃圾行,导致连击数减少或者直接Top Out,效率也没有特别高,故一套打完也不一定能杀人。",link:"",id:"07f6a6ae39c6f305f69df7429220ff63a6071cfa"},{title:"S3W",tags:["连击","lianji","ren","side2wide"],category:"term",content:"Side 3 Wide\\n旁边空3列,不如2w常见的连击打法。能打出的连击数比2w多,但是难度偏大很容易断连。",link:"",id:"2cca6c01af79e69e759f86f4570f6ad664ff8cbc"},{title:"S4W",tags:["连击","lianji","ren","side4wide"],category:"term",content:"Side 4 Wide\\n旁边空4列,一种连击打法,能打出很高的连击,并且准备时间比别的Wide打法短,故动作快的话可以抢在对手打进垃圾之前堆很高然后打出超大连击。\\n(因为可能会被提前打死,风险挺大,所以没有c4w那么不平衡)。",link:"",id:"7a14de9326959417e5c811ebd340880f56332283"},{title:"C1W",tags:["center1wide","centre1wide"],category:"term",content:"Center 1 Wide\\n中间空1列,一种实战里消4同时辅助打TSD的打法,需要玩家理解<平衡法>,熟练之后可以轻松消四+T2输出,难度也不是特别大。",link:"",id:"b4ce63d567c37c06f097c45d017ffb70605e1713"},{title:"C2W",tags:["连击","lianji","ren","center2wide","centre2wide"],category:"term",content:"Center 2 Wide\\n中间空2列,一种可能的连击打法(不常见)。",link:"",id:"aa0d1a282bb055ddc26a7ba114734e046bb22a91"},{title:"C3W",tags:["连击","lianji","ren","center3wide","centre3wide"],category:"term",content:"Center 3 Wide\\n中间空3列,一种可能的连击打法(不常见)。",link:"",id:"80f81c662953d26694fd224ea11744c527f23145"},{title:"C4W",tags:["连击","lianji","ren","center4wide","centre4wide"],category:"term",content:"Center 4 Wide\\n中间空四列,一种连击打法,能打出很高的连击,利用了大多数专业对战方块游戏的死亡判定机制,可以放心堆高不担心被顶死,然后开始连击。是一种利用游戏机制的不平衡策略(尤其在开局时),观赏性不是很强还可以以弱胜强,成本太低所以成为了部分游戏中约定的类似 “禁招” 的东西,请在了解情况后再使用,不然可能会被别人骂。\\nTechmino中虑到了平衡问题,所以c4w的强度没有别的游戏那么夸张。",link:"",id:"d950d193130534afc1172812686626925d48fa7c"},{title:"N-Res",tags:["连击","lianji","ren","residual","c4w","s4w"],category:"term",content:"N-Residual\\nN-剩余,指4w连击楼底部留几个方格,常用的是3-Res和6-Res。\\n3-Res路线少比较好学,成功率也很高,实战完全够用\\n6-Res路线多更难用,但是计算力很强的话比3-Res更稳,也可以用来完成特殊挑战(比如Techmino的c4w练习要求100连击通关)。\\n\\n注:优先使用6-Res,然后是3-res和5-Res,最后是4-Res",link:"",id:"ae65d17fba55bc34655d7d2fccdce8c28b567f1a"},{title:"6–3堆叠法",tags:["六三","63"],category:"term",content:"指左边6列右边3列的堆叠方式。在玩家有足够的计算能力后可以减少堆叠所用的按键数(反之可能甚至会增加),是主流的用于减少操作数的高端40L堆叠方式,原理跟出块位置是中间偏左有关。",link:"",id:"abe1c123e7488798c10a4d4f860486ed30291164"},{title:"Freestyle",tags:["ziyou"],category:"term",content:"自由发挥的意思,常用于freestyle TSD(T2),指不用固定的堆叠方式而是随机应变完成20TSD。比用LST或者垃圾分类完成的20 TSD的难度要大,成绩也更能代表实战水平。",link:"",id:"73f52db58a03c13e29d26f80d0699c11ba402a3e"},{title:"死亡判定",tags:["die","death","siwang"],category:"term",content:"现代方块普遍使用的死亡判定:\\n1. 新出现的方块和场地方块有重叠(窒息,Block Out)(c4w比s4w强的原因,因为被打进18行都不会窒息);\\n2. 方块锁定时完全在场地的外面(Lock Out);\\n3. 场地内现存方块总高度大于40。(超高,Top Out)\\n\\n注:Techmino使用的死亡判定默认不开启第二、三条。",link:"",id:"77ed2d81178ee7f847cd269f297deeaa69478138"},{title:"缓冲区",tags:["buffer","zone","huanchongqu"],category:"term",content:"(不是所有游戏都有这个概念)指10×20可见场地之上的21~40行。因为垃圾行顶起后两边堆高的方块可能会超出屏幕,消行后这些方块要重新回到场地内所以需要保存下来,由于程序上要求场地尺寸有限(部分游戏可以无限),故设定为40,一般都够用。\\n\\n另见 “消失区” 词条。",link:"",id:"6e9167b52a766606983edbf678f3989105a69fea"},{title:"消失区",tags:["vanish","zone","xiaoshiqu"],category:"term",content:"在缓冲区的基础上,指比40行缓冲区还高的区域。\\n标准的死亡判定涉及了这个概念,在垃圾行升起后如果场地上有任何方块超出了40高的缓冲区(也就是达到了消失区)时游戏直接结束。\\n但事实上这块区域在不同游戏中表现不同,甚至有设计者考虑不周导致方块挪到40行以上,但是程序没考虑导致方块接触消失区直接报错闪退的游戏。通常出现在玩家堆了c4w然后被打入大量垃圾行时才会考虑这个概念。其他游戏中方块进入消失区可能直接导致游戏结束,也有可能会出现一些奇怪的bug(附带链接是ppt的复制40行无限Ren视频)。\\n\\n另,Jstris中22行及以上可以理解为消失区,锁定在21行之外的格子会消失。",link:"https://www.bilibili.com/video/BV1ZE411Y7GD",id:"813f5047623daa972c4156c40645df95566a6c65"},{title:"下落速度",tags:["重力","drop","speed","zhongli","gravity"],category:"term",content:"一般用*G表示方块的下落速度,意思是每一帧方块往下移动多少格,一秒下落一格就是1/60G(默认60fps),可以看出G是一个很大的单位。因为场地就20格,所以一般认为20G即为上限,详见20G词条。\\n在Techmino中描述重力的方式是 “每过多少帧下落一格”,例如一秒落一格就对应60(默认60fps)",link:"",id:"fd716418d5981636329309c09701f86a6c62ac3a"},{title:"20G",tags:["高重力"],category:"term",content:"现代方块的最高下落速度,表观就是方块瞬间到底,不存在中间的下落过程,可能会让方块无法跨越壕沟/从山谷爬出。\\n20G一般指的其实是 “无限下落速度” ,就算场地不止20格,“20G” 也会让方块瞬间到底。\\nTechmino(和部分其他游戏,推荐这么设计)中20G的优先级比其他玩家操作都高,即使是0arr的水平方向 “瞬间移动” 中途也会受到20G的影响。",link:"",id:"593ac92b3bffd69d630b1f3578abe4a46c009245"},{title:"锁定延迟(LD)",tags:["重力","lock","delay","lockdown","delay","suoyan","zhongli","gravity"],category:"term",content:"方块<碰到地面到锁定>之间的时间。经典块仅方块下落一格时刷新倒计时,而现代方块中往往任何操作都将重置该倒计时(但是方块本身必须可以移动/旋转),所以连续移动和操作可以让方块不马上锁定,拖一会时间(Techmino和部分游戏重置次数有限,一般是15)。",link:"",id:"cba42b52458bcc1cd1a22af04860ea8ca314cfc5"},{title:"出块延迟(ARE)",tags:["delay","chukuaiyanchi"],category:"term",content:"ARE。方块<锁定完成到下一个方块出现>之间的时间。",link:"",id:"db2eeaa21340ea8a0fe30088d44c2367d2a745d2"},{title:"消行延迟(ARE)",tags:["line","delay","xiaohangyanchi"],category:"term",content:"Line ARE。方块<锁定完成能消行时的消行动画>占据的时间。",link:"",id:"6b6ca1350f6b8147c19409da013707376353660a"},{title:"窒息延迟(DD)",tags:["choke","are","delay","zhixiyanchi"],category:"term",content:"当前方块锁定后如果下一块的生成位置被阻挡,那么下一块的出块延迟会被再额外加上这个延迟的值,方便使用提前系统来避免死亡\\n想法来自NOT_A_ROBOT",link:"",id:"ec00c3637ea72a7bc6ad2fcbf8048c6c3d56176c"},{title:"极简(Finesse)",tags:["极简操作","最简操作","finesse","jijiancaozuo","zuijiancaozuo"],category:"term",content:"用最少的按键数将方块移到想去的位置的技术(大多数时候只考虑纯硬降的落点),节约时间和减少Misdrop。\\n\\n该技能学习越早越好,建议先去找教程视频,看懂了然后自己多练习,开始以准确率第一,速度快慢不重要,熟练后自然就快了。\\n\\n注意,Techmino使用的极简判定系统不是说完全和理论最少操作数一样,而是不需要软降就能达到的位置才会按照标准出块方向和你的按键次数执行极简检测,故在此不像js存在软降后误杀。但是多了一些新的条件,比如已经按了超过3次按键后再hold后按键次数不重置(让下一块极简失误)。\\n极简率计算:\\n没有超过标准极简法操作数的为Perfect计100%,超出一步为Great计50%,超出两步为Bad计25%,两步以上为Miss计0%,其中Bad和Miss会断连\\n\\n注1:一般说的极简不考虑带软降/高重力/场地很高的情况,仅研究空中移动/旋转后硬降。绝对理想的“极简”建议使用“最少按键数/操作数”表达。\\n注2:20G下极简系统和0G一样工作,所以得到的数值不准确,参考价值偏低。",link:"",id:"9f0916c40b130f851a7d9ede8d7c0974eec449c9"},{title:"科研",tags:["keyan"],category:"term",content:"常用语,指在低重力的单人模式里减速研究怎么做各种T-spin,Techmino中拓展了含义,用于称呼几乎需要全程Spin的游戏模式。",link:"",id:"0828e6d1cd44af7467e73713ade3b25590fcc121"},{title:"键位",tags:["keyboard","mapping","jianwei"],category:"term",content:"键位设置原则参考:\\n1.不要让一个手指管两个可能同时按的键,通常只有几个旋转键不需要同时按,其他功能推荐都单独给一个手指\\n2.除非已经在别的游戏里锻炼过小拇指,最好不要用,一般食指和中指最灵活,自己觉得舒服为准\\n3.没必要参考别人的键位设置,每个人都不一样,只要不违反前几条规则,就几乎不会对成绩产生影响。",link:"",id:"b6d25ace7abeac07b7182bbae8c3ae0d9c3a0388"},{title:"手感(Handling)",tags:["手感","feel","shougan"],category:"term",content:"决定手感的几个主要因素:\\n1. 输入延迟受设备配置或者设备状况影响。可以重启/换设备解决;\\n2. 程序运行稳定性程序设计或.实现)得不好,时不时会卡一下。把设置画面效果拉低可能可以缓解;\\n3. 游戏设计故意的。自己适应;\\n4. 参数设置设置不当。去改设置;\\n5. 游玩姿势姿势不当。不便用力,换个姿势;\\n6. 换键位或者换设备后不适应,操作不习惯。多习惯习惯,改改设置;\\n7. 肌肉疲劳反应和协调能力下降。睡一觉或者做点体育运动,过段时间(也可能要几天)再来玩。",link:"",id:"ba1f5e400e9e260fcb22478326e450b1374bc4de"},{title:"DAS通俗",tags:["das","arr","simple","tongsu"],category:"term",content:"打字时按住o,你会看到:ooooooooooo…\\n在时间轴上:o—————o-o-o-o-o-o-o-o-o…\\n—————就是das长度,-就是arr长度。\\n详见 DAS & ARR 词条。",link:"",id:"0d9a27fed35a633c199478e89b4877e22c091be6"},{title:"DAS & ARR",tags:["灵敏度","arr"],category:"term",content:"DAS(Delay-auto-shift,自动加(延迟)具体指从<按下移动键时动了一格>到<开始自动移动>之间的时间。\\nARR(Auto-repeat-rate),自动重复速率,指<每次自动移动>之间的时间\\n单位都是f(帧,1帧=1/60秒)\\n别的游戏里用的单位可能是ms(毫秒),乘16.7就可得出大约的对应数值,例如4f≈67ms。",link:"",id:"8d76369c3989fdbad47f194a6721a15745c5215a"},{title:"DAS调节",tags:["调节","arr","tuning","tiaojie"],category:"term",content:"对于不是刚入门的并且了解极简操作的玩家来说推荐ARR=0,DAS=4~6(具体看个人手部协调性,只要能控制区别就不大)。\\n新人如果实在觉得太快可以适当增加一点DAS,ARR要改的话强烈建议不要超过2\\n\\n最佳调整方法:DAS越小越好,小到依然能准确区分单点/长按为止;ARR能0就0,游戏不允许的话就能拉多小拉多小。",link:"",id:"714a9aa32a049c16cdc992faa8ea0bf6d9e31bd8"},{title:"DAS打断(DCD)",tags:["dascut","dcd","daduan"],category:"term",content:"Techmino中指玩家的操作焦点转移到新方块的瞬间,此时减小(重置)DAS计时器,让自动移动不会立刻生效,减少 “移动键松开晚了导致下一块一出来就立即开始移动” 的情况\\n注:其他游戏中的DAS打断机制可能和Techmino的有区别,仅供参考。",link:"",id:"2724d9482ca6cf5f7780bf4adb94080661c784bd"},{title:"误硬降打断(HCD)",tags:["autolockcut","mdcut","daduan"],category:"term",content:"为了防止玩家硬降时当前方块已经锁定,下一块出现就被立刻硬降导致严重md,所以设计了此打断参数。\\n方块自然锁定之后几帧内硬降键是无效的,具体看设置了多久。\\n注:其他游戏中的防误硬降机制可能和Techmino的有区别,仅供参考。",link:"",id:"02327feae6a40b0064139219288c54efccffe95b"},{title:"软降倍率(SDF)",tags:["软降速度","sdf","softdropfactor"],category:"term",content:"Soft Drop Factor,软降速度因子(倍率)\\n部分游戏中的软降机制就是在按住软降键时方块受到的重力变为原来的若干倍,SDF就是这个变大的倍数。\\n基本所有官块和TETR.IO使用这个机制,但Techmino不使用。",link:"",id:"ed0dcb1d6b8c94f29128c763c43bcba65efb23c9"},{title:"方块名称",tags:["mino","name"],category:"term",content:"这是一个Techmino使用的所有方块的名称和其对应的形状:\\n四连块:\\nZ: ``, S: ``, J: ``, L: ``, T: ``, O: ``, I: ``;\\n\\n五连块:\\nZ5: ``, S5: ``, P: ``, Q: ``, F: ``, E: ``, T5: ``, U: ``, V: ``, W: ``, X: ``, J5: ``, L5: ``, R: ``, Y: ``, N: ``, H: ``, I5: ``;\\n\\n一至三连块:\\nI3: ``, C: ``, I2: ``, O1: `.",link:"",id:"c3256382b96370d2673b14e8dc7111dfa24650c4"},{title:"Bag7出块",tags:["sequence","bag出块","bag7bag"],category:"term",content:"一种出块方式,现代方块普遍使用该规则,开局起每7个块是7种形状各出现一次,避免了很久不出某个块和某个块来得特别多,是一些现代方块战术的基础。\\n\\n例如:\\nZSJLTOI OTSLZIJ LTISZOJ",link:"",id:"92406cc044213853fc3bd31c024d68b4b20c1e46"},{title:"His出块",tags:["sequence","His出块","history","h4r6"],category:"term",content:"一种的出块方式,例如His4 Roll6 (h4r6)就是在随机生成新的 Next 的时候,随机一个跟最后4次生成的Next中有一样的,就重新随机,直到已经尝试6次或和那4个都不一样。\\nTechmino的His序列模式中最大Roll次数为序列长度的一半(向上取整)\\n\\n是纯随机出块的一大改进,大大减小了连续出几个SZ(洪水)的概率。",link:"",id:"423effd78b3021cc3b55cd952f3cc4d6680a65fb"},{title:"HisPool出块",tags:["sequence","HisPool出块","history","h4r6","pool","hispool"],category:"term",content:"一种出块方式,History Pool,his算法的分支,比较复杂,这里只提供大概的说明:\\n在His的基础上添加了一个Pool(池),在取块的时候his是直接随机和历史序列(最后4次生成的next)比较,而HisPool是从Pool里面随机取(然后补充一个最旱的块增加他的概率)然后和历史序列比较。\\n\\n这个算法让序列更稳定,介于His和Bag之间,在理论上保证了干旱时间不会无限长。",link:"",id:"2e5deaf94db4d556279b0858fa1d812a14c75fb0"},{title:"bagES出块",tags:["sequence","bages出块","easystart"],category:"term",content:"(该词仅在Techmino内使用)Bag Easy-Start(Bag简单开局),Bag算法的分支,开局第一包的第一块不会是S/Z/O/S5/Z5/F/E/W/X/N/H。",link:"",id:"b4388de53409c80e4752ec3630b7eaf179c23fa1"},{title:"Reverb出块",tags:["sequence","reverb出块"],category:"term",content:"(该词仅在Techmino内使用)回声出块,Bag算法的分支,把Bag的每一块重复随机次数(重复越多概率越小,理论范围是0~6,具体比较复杂这里不展开)",link:"",id:"e0e9047ea536cae2e9bde52ac2abb519f57bcabd"},{title:"C2出块",tags:["sequence","C2出块","cultris2"],category:"term",content:"(七个块初始权重设为0)把七个块的权重都除以2然后加上0~1的随机数,哪个权重最大就出哪个块,然后将其权重除以3.5\\n循环。",link:"",id:"c39a6f5bc5e49f3ee15690e18428f5e73b70d31a"},{title:"超连点(Hypertap)",tags:["chaoliandian"],category:"term",content:"快速震动手指,实现比长按更快速+灵活的高速单点移动,主要在经典块的高难度下(因为DAS不可调而且特别慢,高速下很容易md导致失败,此时手动连点就比自动移动更快)或者受特殊情况限制不适合用自动移动时使用。会使用这个技术的人称为 “Hypertapper”。",link:"",id:"c1498de2cb7e50a3d271293b10d0f4c1fce52958"},{title:"轮指(Rolling)",tags:["lunzhi","liandian"],category:"term",content:"另一种快速连点方法,用于DAS/ARR设置非常慢时的高重力(1G左右)模式。\\n先把手柄(键盘……可能也行吧)悬空摆好,比如架在腿上,要连点某个键的时候一只手虚按按键,另外一只手的几根手指轮流敲打手柄背面, “反向按键” 实现连点。这种控制方法可以让玩家更轻松地获得比直接抖动手指的Hypertap(详见超连点词条)更快的控制速度。\\n此方法最先由Cheez-fish发明,他本人则使用Rolling达到过超过20Hz的点击频率。",link:"",id:"14f9e9ad51eb3c6b0b82a8b06434a6c8b4bf02c9"},{title:"穿透(Passthrough)",tags:["pingthrough","chuantou"],category:"term",content:"(攻击)穿透,指双方的攻击打出后没有抵消,互相都收到的现象。\\nTETR.IO中自定义房间如果开启Passthrough规则(曾经天梯默认开启),那么对手消行攻击的瞬间能看到自己的红条出现但其处于 “无敌时间” 内,不会触发也不能抵消,此时你的攻击会直接打给对手。(应该是给攻击的飞行动画预留时间,同时也让玩家能反应过来并主动选择要不要抵消,要的话就再等一会)\\n另有pingthrough的说法,只是原因是由于不可避免的网络传输延迟,效果同passthrough,设计比较简单的联网对战块没有特殊考虑的话可能自然就会带有这个机制。",link:"",id:"b1b57177465e540c5d10340a25ceac66587d9548"},{title:"TOP攻击表",tags:["攻击表","top","attack"],category:"term",content:"消1/2/3/4打0/1/2/4\\nTspin攻击为消行数×2,如果符合Mini条件则÷2\\n连击攻击:001122334445+\\nb2b攻击+1(如果是T3则+2)\\nPC攻击+6(该部分攻击AOE直接打出到所有对手,不抵消缓冲槽中的攻击)。",link:"",id:"4daf8d019b2eb498b905f00ea3815c997957a3c1"},{title:"Techmino攻击表",tags:["攻击表","tech","attack"],category:"term",content:"详见主菜单右下角的说明书页面。",link:"",id:"f88d073399916d52e4576228ab74680da960ce86"},{title:"堆叠(Stack)",tags:["duidie","stacking"],category:"term",content:"将方块无缝隙地堆起来,需要玩家有预读Next的能力,可以通过不使用Hold并且用十个消四完成40L模式进行练习。\\n这项能力从入坑到封神都是非常重要的。",link:"",id:"e1111237dcf2dedead39b5ad821680fd3e54968c"},{title:"双旋",tags:["shuangxuan"],category:"term",content:"指能够使用顺时针+逆时针两个旋转键的技术,原来要转三下的情况可以反向转一下就够,减少烦琐操作。\\n同时双旋也是学习Finesse的必要前提。\\n\\n另见 三旋。",link:"",id:"75fbfc8a44f1c4e7ad7442c8d2bf3bbeee964f84"},{title:"三旋",tags:["sanxuan"],category:"term",content:"指能够使用顺+逆时针+180°旋转三个旋转键的技术,任何方块放哪只需要旋转一次即可(Spin不算)。\\n但由于只有部分游戏有180°旋转所以改操作并不通用,而且对速度提升的效果不如从单旋转双旋显著,不追求极限速度的玩家可不学。",link:"",id:"2b9fb0b0a34906a3e0661bfc42cdd4f5d22d1bdc"},{title:"干旱(Drought)",tags:["ganhan"],category:"term",content:"经典块术语,指长时间不来I方块(长条)。现代方块使用的Bag7出块规则下干旱几乎不可能,平均7块就会有一个I,理论极限两个I最远中间隔12块。",link:"",id:"a7354647df19e4542dd2c518a87cc5a34dc07c3d"},{title:"骨块(Bone)",tags:["gukuai","bone","tgm"],category:"term",content:"最早的方块游戏使用的方块样式。\\n很久以前的电脑没有可以显示复杂图案的屏幕,只能往上打字,所以一格方块用两个方括号[ ]表示,长得像骨头所以叫骨块。\\n基于骨块的特点,Techmino把骨块重新定义为, “所有形状使用的同一个比较花眼的贴图”,不同的皮肤有不同的骨块样式。",link:"",id:"fa88022dae3dd8d347497269989b0c970fb331e8"},{title:"半隐",tags:["banyin","half","semi","invisible"],category:"term",content:"指方块锁定经过一段时间后会变隐形的规则\\n注:从锁定开始到消失的具体时长不定,可以描述为 “过几秒种后消失”。",link:"",id:"47bab3efe4a80330b0e3296dd5cefa2ef5947479"},{title:"全隐",tags:["quanyin","invisible"],category:"term",content:"指方块锁定后会马上完全隐藏\\n注:锁定时有消失动画的话也可以叫全隐,但其实难度会小一点,故Techmino中没有动画的隐形模式叫瞬隐。",link:"",id:"7fde031fd2c446dcc6febc1460e7a176aea0f76f"},{title:"场地重力",tags:["重力","zhongli","liansuo","cascade","chain"],category:"term",content:"(由于 “重力” 有歧义所以本词典里称为场地重力,也有重力连锁等叫法。)\\n部分游戏的部分模式可能包含此规则。此规则下玩家的四格方块四个方向有连接关系,连起来的几个格整体会受到重力影响,悬空了会往下落。在这个规则下可以构造复杂的连锁消除,一个主打连锁消除对战的游戏是Qudra(老游戏,现在基本没人玩)。",link:"",id:"5c34f773590a91d1ead56e3ee96f72ac256becf0"},{title:"MPH模式",tags:[],category:"term",content:"一个游戏模式:\\nMemoryless,Previewless,Holdless\\n纯随机块序+无Next+无Hold完成40L,一个非常考验玩家反应速度的模式。",link:"",id:"eee83ba245a28aa022fef3efc11326147659b7ff"},{title:"输入延迟",tags:["input","delay","yanchi"],category:"term",content:"用任何设备玩任何游戏时,所有的操作(按键盘,点鼠标等)都会晚一点点(很短,几毫秒到几十毫秒)才到达游戏,如果过长就会很影响游戏手感,作用效果类似于你拿QQ远程控制打FPS游戏\\nTOP、TE等游戏比较明显\\n这个延迟一般由硬件性能,硬件状态影响,通常来说不可设置,开启性能模式(或者关闭节能模式)可能会好一点。",link:"",id:"4b8c50985cdd542e3c94c9a2b79395c49418d15e"},{title:"秘密段位",tags:["大于号","secret","grade","dayuhao"],category:"term",content:"出自TGM系列的彩蛋玩法。不按照TGM的一般目标去玩,而是去拼图拼出 “每行仅有一个洞的大于号” 图形(不能是小于号),拼得越多获得的秘密段位越高(没特殊功能,只是好玩),最高目标是完成19行并封顶\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=Secret_Grade_Techniques",id:"b263f6c990a57a26633cc7bd003908670ee7f646"},{title:"Cold Clear",tags:["机器人","电脑","cc","coldclear","ai","bot","jiqiren"],category:"term",content:"一个AI的名字(就跟AlphaGo一样)\\n由MinusKelvin开发,本来是用于PPT的。在Techmino中经过调整后支持all-spin和TRS旋转系统",link:"",id:"aa68bfd12693bbbe20dff6ffd916a3dac4a6e3c9"},{title:"ZZZbot",tags:["机器人","电脑","ai","bot","jiqiren","zzztoj"],category:"term",content:"一个AI的名字(就跟AlphaGo一样)\\n由研究群群友奏之章开发,重新调参后在各个游戏平台上的表现都很不错。",link:"",id:"9af34345ce55a382489268c7758029aafa1a9163"},{title:"开局定式(Setup)",tags:["opening","kaijudingshi","opener"],category:"setup",content:"开局定式,定式一般指开局定式这个概念。\\n指开局后可以使用的套路摆法。局中情况合适的时候也可以摆出同样的形状,但是和摆法开局一般都不一样。\\n\\n能称为定式的摆法要尽量满足以下至少2~3条:\\n能适应大多数块序\\n输出高,尽量不浪费T块\\n很多方块无需软降,极简操作数少\\n有明确后续,分支尽量少。\\n\\n注:绝大多数定式基于bag7,序列规律性强才有发明定式的可能。",link:"",id:"df652018abcf82abc6dbe1a339e8e6a376a20c35"},{title:"DT炮",tags:["dt","cannon"],category:"setup",content:"Double-Triple Cannon。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=dt",id:"c84eb90518d81cc527fbe8233887f47772125423"},{title:"DTPC",tags:["dtpc"],category:"setup",content:"DT炮一个能接PC的分支。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=dt",id:"a5d683b4cf6ae65cb6633c7f0d69b62c5d1c58d5"},{title:"BT炮",tags:["bt","cannon"],category:"setup",content:"β炮(Beta炮)。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=bt_cannon",id:"854c5cc7f35829e88a6eccf9fbbb6fa89edaa8ab"},{title:"BTPC",tags:["btpc"],category:"setup",content:"BT炮一个能接PC的分支。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=bt_cannon",id:"d758cb387934a6b3d01fbd987a7aafc0b97de136"},{title:"DDPC",tags:["ddpc"],category:"setup",content:"开局TSD的一个能接Double-Double-PC的分支。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=TKI_3_Perfect_Clear",id:"eb6ac16e737090768cffadbf9d024d232d3ff7af"},{title:"QT炮",tags:["qt","cannon"],category:"setup",content:"一种能以更高的概率搭出开局DT Attack的类似DT炮的定式。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=dt",id:"608966e445c2fdd79a54e70ebc9fedeb7d1d7122"},{title:"MT",tags:["mt"],category:"setup",content:"Mini-Triple\\n一个TSM+TST的结构。",link:"https://harddrop.com/wiki?search=mt",id:"6fed69798ff5f0e5689ae087f81e5cefd51d95a2"},{title:"Trinity",tags:["trinity"],category:"setup",content:"Trinity\\n一个TSD+TSD+TSD或TSM+TST+TSD的结构。",link:"https://harddrop.com/wiki?search=trinity",id:"23311c901e3148d98252db6bfcb25186c997d400"},{title:"狼月炮",tags:["wolfmoon"],category:"setup",content:"狼月炮。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=wolfmoon_cannon",id:"1cb20b42ac498a3b3ae7032b112e66984a9cfed1"},{title:"Sewer",tags:["sewer"],category:"setup",content:"Sewer开局。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=sewer",id:"2dc57fa414902fa0d8b754ed37593d60ef925fb0"},{title:"TKI",tags:["tki-3"],category:"setup",content:"TKI-3开局\\n有两种解释,一个是TSD开局的TKI-3,另一个是TST开局的TKI堆积(C-Spin)。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=TKI_3_Opening",id:"a0ddc8f6275de58166709571717aa865521fff23"},{title:"God Spin",tags:["god"],category:"setup",content:"God Spin\\nwindkey发明的一个观赏性很强但实战没啥用的炫酷特殊T2+T3开局定式。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=godspin",id:"861f1341d8cf426b7482a71a3dd9a10efa1c7318"},{title:"信天翁",tags:["xintianweng","albatrosssp","albatrossspecial"],category:"setup",content:"一种高观赏性几乎不浪费T的快节奏强力T2-T3-T2-PC开局。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=Albatross_Special",id:"ffb2e6595a86705f093e21e6db7b9ae0188f04b6"},{title:"鹈鹕",tags:["tihu","pelican"],category:"setup",content:"一种类似信天翁的定式,在块序不能信天翁的时候可以用。",link:"https://harddrop.com/wiki?search=Pelican",id:"016a737dc0e2d0cd07623cef2e04b365f7bb6175"},{title:"全清开局",tags:["qiqiaoban","tangram","pco","1stpc"],category:"setup",content:"Perfect Clear Opener,一种极大概率能摆出来,有概率(hold I约84.6%,不hold I约61.2%)能做到PC的定式,Techmino中的pc练习中空出不规则区域的那个就是PCO。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=Perfect_Clear_Opener",id:"6a8be4405e98915f6655789010f64ea014202aa9"},{title:"六巧板",tags:["liuqiaoban","gracesystem","1stpc"],category:"setup",content:"Grace System,大约有88.57%概率能做到PC的定式,Techmino中的PC练习中空出4×4方形区域就是六巧板。",link:"",id:"bf995e4847e5cd95771228fcf7bd6fe129b6615e"},{title:"DPC",tags:["DPC"],category:"setup",content:"在场地空白,7bag还剩一块的情况下,能在很多情况下达到100%搭建率的TSD+PC的定式。更多信息见tetristemplate.info",link:"https://tetristemplate.info/dpc/",id:"5f2e2f1cc0015f54f03388e081451126c9294593"},{title:"Gamushiro堆叠",tags:["gamushiro"],category:"setup",content:"ガムシロ積み(Gamushiro堆叠),一种开局TD-Attack的定式。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=Gamushiro_Stacking",id:"9ea080e44e71da0764fb3bf657b608d9877ea469"},{title:"中局定式",tags:["setup","dingshi"],category:"pattern",content:"指一些特定的能打出较高伤害的常见典型形状,是中局输出的途径之一,部分也可以在开局做不过不是很有必要,主要见于中局\\n另见开局定式,只说定式两个字一般指开局定式而非中局。",link:"",id:"b8a0ea574618943723ad374fd32c184ee33555f6"},{title:"C-Spin",tags:["cspin","tki","tdattack"],category:"pattern",content:"也被称为TKI堆积,TD-Attack。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=c-spin",id:"80bd39535beca0977d6ef4b4e1da7f1dd78e8666"},{title:"STSD",tags:["stsd"],category:"pattern",content:"Super T-spin Double\\n一种能做两个T2的形状。\\n如果垃圾行正好空在STSD正下方会暴毙。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=stsd",id:"4c2dddaa7f9e3e890715087dfa785b71988d0fab"},{title:"STMB",tags:["stmb"],category:"pattern",content:"STMB cave\\n在3宽坑架SZ捐一个T2的形状。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=stmb_cave",id:"7d7819f74cdba0e2ba8956c291e372334897409f"},{title:"双刃剑",tags:["shuangrenjian","fractal","spider"],category:"pattern",content:"两个T2形状叠在一起。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=Fractal",id:"3fe3869cbb75d97edff943068639e1a0dd56cb77"},{title:"LST堆叠",tags:["lst"],category:"pattern",content:"一种不断b2b一直做T2的堆叠方法。",link:"https://www.bilibili.com/read/cv7946210",id:"eae9d6dffafeeac8a7683d47fa35bf1387b161e1"},{title:"汉堡包",tags:["hamburger","hanbaobao"],category:"pattern",content:"一种边缘捐T不影响消四的堆叠法。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=hamburger",id:"8e717c458a3b14f828d5b3829abe39109fb9e7ba"},{title:"皇家十字",tags:["皇十","imperial","cross","huangjiashizi","huangshi"],category:"pattern",content:"在一个十字形洞口盖屋檐后可以做两个T2的形状。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=imperial_cross",id:"cf30af122ab4aad55cb2d90d17c2d22f77d677e6"},{title:"阶梯捐",tags:["jieti","kaidan","stairs"],category:"pattern",content:"一种在看起来像阶梯的洞口捐一个T2的形状。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=kaidan",id:"035364df33e068fd79e878d2303b70187bee5f4a"},{title:"社畜train",tags:["shachikutrain","shechu"],category:"pattern",content:"一种在常见T3屋檐上捐两个T2的形状。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=Shachiku_Train",id:"e015095785d0949e6898d105da1a796bbe580de9"},{title:"千鸟格子",tags:["qianniaoge","cutcopy"],category:"pattern",content:"一种在小洞上捐一个T2后还能做一个T2的形状。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=Cut_copy",id:"6a0f2dbe037b8fb75aabb6240edf036b4ea2d47e"},{title:"绯红之王",tags:["feihongzhiwang","king","crimson"],category:"pattern",content:"在STSD上叠若干个T3的形状。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=King_Crimson",id:"bf80c9c23c1f3b4f479cdc131ee85967ed70903a"},{title:"连续PC",tags:["lianxuquanxiao","lianxupc","pcloop"],category:"pattern",content:"研究群群友加加编写的一份连续PC教程",link:"https://docs.qq.com/sheet/DRmxvWmt3SWxwS2tV",id:"e52690d229e9ebba6cdbc9c6a3a16f4a144ad223"},{title:"控制台",tags:["console","cmd","commamd","minglinghang","kongzhitai"],category:"command",content:"目前进入控制台的方式是在主菜单 点特定位置/按键盘某个键 数次。\\n\\n进入之后输入help并回车获取更多信息。\\n来探索Techmino的隐藏内容和计算机更底层的操作吧!",link:"",id:"58bfbde2b073f0a77bb297ea9cf87bb9e69a7ddd"},{title:"重置设置",tags:["reset","setting","chongzhi","qingkong","shezhi"],category:"command",content:"前往控制台输入 “rm conf/setting” 并回车\\n需要重启游戏生效,若反悔,进入设置菜单再退出即可恢复文件。",link:"",id:"5cf66cac5ce8974668c71eaf7447618388f55dfd"},{title:"重置统计数据",tags:["reset","statistic","data","chongzhi","tongji","shuju"],category:"command",content:"前往控制台输入 “rm conf/data” 并回车\\n需要重启游戏生效,若反悔,玩一局并触发结算即可恢复文件。",link:"",id:"fe34cb829dd263aae56f93719b6da410047b17c6"},{title:"重置解锁状态",tags:["reset","unlock","chongzhi","qingkong","jiesuo"],category:"command",content:"前往控制台输入 “rm conf/unlock” 并回车\\n需要重启游戏生效,若反悔,刷新任意一个模式在地图上的状态即可恢复文件。",link:"",id:"8d5f7b81b58cbe28222bef8dbf42b07f8567c1bc"},{title:"重置本地排行榜",tags:["reset","chongzhi","paihangbang"],category:"command",content:"前往控制台输入 “rm -s record” 并回车\\n需要重启游戏生效,若反悔,玩一局并更新模式排行榜即可恢复对应模式的单个排行榜文件。",link:"",id:"e4dc5fc185f02353923de956ac63bd744d936941"},{title:"删除键位",tags:["reset","virtualkey"],category:"command",content:"前往控制台输入 “rm conf/键位文件” 并回车\\n键盘是key,虚拟按键是virtualkey,虚拟按键预设是vkSave1(2)\\n前两者重启生效,若反悔,进入对应的设置菜单再返回即可恢复文件。",link:"",id:"437023db6d0bee3d8e0c81f8c2f301475e93eec0"},{title:"删除录像",tags:["reset","replay","luxiang"],category:"command",content:"前往控制台输入 “rm -s replay” 并回车。\\n立即生效。",link:"",id:"c9905d35c87bcb02cb6576609738534e93ee738e"},{title:"删除缓存",tags:["reset","cache","huancun","touxiang"],category:"command",content:"前往控制台输入 “rm -s cache” 并回车。\\n立即生效。",link:"",id:"870fc3b86c4332d84a0e9291d1b0cda4e6e9d74b"},{title:"SFX",tags:[],category:"english",content:"Sound Effects\\n音效(也叫SE)。",link:"",id:"b0c8b2616fcf55db02517b967976e5aef6ba218b"},{title:"BGM",tags:[],category:"english",content:"Background Music\\n背景音乐。",link:"",id:"3a8fc0e11631d265ee0184469d7f69816f5f50ec"},{title:"TAS",tags:[],category:"english",content:"Tool-Assisted Speedrun(Supergaming)\\n使用特殊工具在不破坏游戏规则(允许超越人类操作,只是在程序层面不作弊)进行的游戏。\\n一般用于冲击理论值或者达成各种有趣的目标用来观赏。\\nTechmino中内置了非常简单的TAS工具。",link:"",id:"140296e9534655c0627b934e13cbc2ee04786f64"},{title:"AFK",tags:[],category:"english",content:"Away from keyboard\\n一段时间不接触键盘,就是不玩一段时间,可以缓解手部疲劳,休息好之后马上破纪录也是可能的。",link:"",id:"62acb2a49a166fd8b2db6a593c4d07c4f7b6cfca"},{title:"Timing",tags:["timing","shiji","fanji"],category:"term",content:"Time作动词时的动名词形式,意为抓时机。在方块中往往指根据双方形势选择打出攻击的时机,和要不要故意吃下对手的攻击防止抵消,然后再把自己的攻击打过去。可以一定程度上提高对战的优势,但对于新人来说连自己场地都看不明白还看啥对面,有时间分析形势不如提速提效来得更好。",link:"",id:"4c1cfa04c2082a6eaeccc2526824dfb211e2ca27"}],_M=[{title:"=[NHÓM 01]=",tags:["nhom01","giới","thiệu","bản","dịch"],category:"",content:`[[ + */const qR="9.8.0";function XR(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Wn().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Wn().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Wn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Wn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Wn().__INTLIFY_PROD_DEVTOOLS__=!1)}const P0=IR.__EXTEND_POINT__,no=ld(P0);no(),no(),no(),no(),no(),no(),no(),no();const A0=Cn.__EXTEND_POINT__,Xt=ld(A0),xt={UNEXPECTED_RETURN_TYPE:A0,INVALID_ARGUMENT:Xt(),MUST_BE_CALL_SETUP_TOP:Xt(),NOT_INSTALLED:Xt(),NOT_AVAILABLE_IN_LEGACY_MODE:Xt(),REQUIRED_VALUE:Xt(),INVALID_VALUE:Xt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Xt(),NOT_INSTALLED_WITH_PROVIDE:Xt(),UNEXPECTED_ERROR:Xt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Xt(),BRIDGE_SUPPORT_VUE_2_ONLY:Xt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Xt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Xt(),__EXTEND_POINT__:Xt()};function St(e,...t){return ji(e,null,void 0)}const Xl=ko("__translateVNode"),Zl=ko("__datetimeParts"),Yl=ko("__numberParts"),I0=ko("__setPluralRules"),E0=ko("__injectWithOption"),Jl=ko("__dispose");function Or(e){if(!je(e))return e;for(const t in e)if(Lr(e,t))if(!t.includes("."))je(e[t])&&Or(e[t]);else{const n=t.split("."),o=n.length-1;let i=e,r=!1;for(let a=0;a{if("locale"in s&&"resource"in s){const{locale:l,resource:c}=s;l?(a[l]=a[l]||{},gr(c,a[l])):gr(c,a)}else le(s)&&gr(JSON.parse(s),a)}),i==null&&r)for(const s in a)Lr(a,s)&&Or(a[s]);return a}function R0(e){return e.type}function M0(e,t,n){let o=je(t.messages)?t.messages:{};"__i18nGlobal"in n&&(o=Rs(e.locale.value,{messages:o,__i18n:n.__i18nGlobal}));const i=Object.keys(o);i.length&&i.forEach(r=>{e.mergeLocaleMessage(r,o[r])});{if(je(t.datetimeFormats)){const r=Object.keys(t.datetimeFormats);r.length&&r.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(je(t.numberFormats)){const r=Object.keys(t.numberFormats);r.length&&r.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function Yh(e){return pe($i,null,e,0)}const Jh="__INTLIFY_META__",Qh=()=>[],ZR=()=>!1;let ef=0;function tf(e){return(t,n,o,i)=>e(n,o,rn()||void 0,i)}const YR=()=>{const e=rn();let t=null;return e&&(t=R0(e)[Jh])?{[Jh]:t}:null};function hd(e={},t){const{__root:n,__injectWithOption:o}=e,i=n===void 0,r=e.flatJson;let a=$e(e.inheritLocale)?e.inheritLocale:!0;const s=j(n&&a?n.locale.value:le(e.locale)?e.locale:Ei),l=j(n&&a?n.fallbackLocale.value:le(e.fallbackLocale)||ot(e.fallbackLocale)||_e(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),c=j(Rs(s.value,e)),d=j(_e(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),u=j(_e(e.numberFormats)?e.numberFormats:{[s.value]:{}});let h=n?n.missingWarn:$e(e.missingWarn)||bo(e.missingWarn)?e.missingWarn:!0,m=n?n.fallbackWarn:$e(e.fallbackWarn)||bo(e.fallbackWarn)?e.fallbackWarn:!0,g=n?n.fallbackRoot:$e(e.fallbackRoot)?e.fallbackRoot:!0,v=!!e.fallbackFormat,p=Xe(e.missing)?e.missing:null,f=Xe(e.missing)?tf(e.missing):null,x=Xe(e.postTranslation)?e.postTranslation:null,A=n?n.warnHtmlMessage:$e(e.warnHtmlMessage)?e.warnHtmlMessage:!0,k=!!e.escapeParameter;const w=n?n.modifiers:_e(e.modifiers)?e.modifiers:{};let I=e.pluralRules||n&&n.pluralRules,C;C=(()=>{i&&Wh(null);const D={version:qR,locale:s.value,fallbackLocale:l.value,messages:c.value,modifiers:w,pluralRules:I,missing:f===null?void 0:f,missingWarn:h,fallbackWarn:m,fallbackFormat:v,unresolving:!0,postTranslation:x===null?void 0:x,warnHtmlMessage:A,escapeParameter:k,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};D.datetimeFormats=d.value,D.numberFormats=u.value,D.__datetimeFormatters=_e(C)?C.__datetimeFormatters:void 0,D.__numberFormatters=_e(C)?C.__numberFormatters:void 0;const H=zR(D);return i&&Wh(H),H})(),er(C,s.value,l.value);function E(){return[s.value,l.value,c.value,d.value,u.value]}const R=z({get:()=>s.value,set:D=>{s.value=D,C.locale=s.value}}),G=z({get:()=>l.value,set:D=>{l.value=D,C.fallbackLocale=l.value,er(C,s.value,D)}}),M=z(()=>c.value),q=z(()=>d.value),ee=z(()=>u.value);function O(){return Xe(x)?x:null}function V(D){x=D,C.postTranslation=D}function W(){return p}function oe(D){D!==null&&(f=tf(D)),p=D,C.missing=f}const fe=(D,H,de,be,Me,Ge)=>{E();let it;try{__INTLIFY_PROD_DEVTOOLS__,i||(C.fallbackContext=n?NR():void 0),it=D(C)}finally{__INTLIFY_PROD_DEVTOOLS__,i||(C.fallbackContext=void 0)}if(de!=="translate exists"&&yt(it)&&it===Es||de==="translate exists"&&!it){const[Ut,To]=H();return n&&g?be(n):Me(Ut)}else{if(Ge(it))return it;throw St(xt.UNEXPECTED_RETURN_TYPE)}};function we(...D){return fe(H=>Reflect.apply(Kh,null,[H,...D]),()=>Kl(...D),"translate",H=>Reflect.apply(H.t,H,[...D]),H=>H,H=>le(H))}function De(...D){const[H,de,be]=D;if(be&&!je(be))throw St(xt.INVALID_ARGUMENT);return we(H,de,Dt({resolvedMessage:!0},be||{}))}function Le(...D){return fe(H=>Reflect.apply(Uh,null,[H,...D]),()=>Ul(...D),"datetime format",H=>Reflect.apply(H.d,H,[...D]),()=>Nh,H=>le(H))}function mt(...D){return fe(H=>Reflect.apply(Xh,null,[H,...D]),()=>ql(...D),"number format",H=>Reflect.apply(H.n,H,[...D]),()=>Nh,H=>le(H))}function ct(D){return D.map(H=>le(H)||yt(H)||$e(H)?Yh(String(H)):H)}const Ae={normalize:ct,interpolate:D=>D,type:"vnode"};function Ee(...D){return fe(H=>{let de;const be=H;try{be.processor=Ae,de=Reflect.apply(Kh,null,[be,...D])}finally{be.processor=null}return de},()=>Kl(...D),"translate",H=>H[Xl](...D),H=>[Yh(H)],H=>ot(H))}function Pt(...D){return fe(H=>Reflect.apply(Xh,null,[H,...D]),()=>ql(...D),"number format",H=>H[Yl](...D),Qh,H=>le(H)||ot(H))}function Te(...D){return fe(H=>Reflect.apply(Uh,null,[H,...D]),()=>Ul(...D),"datetime format",H=>H[Zl](...D),Qh,H=>le(H)||ot(H))}function dt(D){I=D,C.pluralRules=I}function bt(D,H){return fe(()=>{if(!D)return!1;const de=le(H)?H:s.value,be=y(de),Me=C.messageResolver(be,D);return Ri(Me)||dn(Me)||le(Me)},()=>[D],"translate exists",de=>Reflect.apply(de.te,de,[D,H]),ZR,de=>$e(de))}function P(D){let H=null;const de=m0(C,l.value,s.value);for(let be=0;be{a&&(s.value=D,C.locale=D,er(C,s.value,l.value))}),Ze(n.fallbackLocale,D=>{a&&(l.value=D,C.fallbackLocale=D,er(C,s.value,l.value))}));const ie={id:ef,locale:R,fallbackLocale:G,get inheritLocale(){return a},set inheritLocale(D){a=D,D&&n&&(s.value=n.locale.value,l.value=n.fallbackLocale.value,er(C,s.value,l.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:M,get modifiers(){return w},get pluralRules(){return I||{}},get isGlobal(){return i},get missingWarn(){return h},set missingWarn(D){h=D,C.missingWarn=h},get fallbackWarn(){return m},set fallbackWarn(D){m=D,C.fallbackWarn=m},get fallbackRoot(){return g},set fallbackRoot(D){g=D},get fallbackFormat(){return v},set fallbackFormat(D){v=D,C.fallbackFormat=v},get warnHtmlMessage(){return A},set warnHtmlMessage(D){A=D,C.warnHtmlMessage=D},get escapeParameter(){return k},set escapeParameter(D){k=D,C.escapeParameter=D},t:we,getLocaleMessage:y,setLocaleMessage:_,mergeLocaleMessage:$,getPostTranslationHandler:O,setPostTranslationHandler:V,getMissingHandler:W,setMissingHandler:oe,[I0]:dt};return ie.datetimeFormats=q,ie.numberFormats=ee,ie.rt=De,ie.te=bt,ie.tm=b,ie.d=Le,ie.n=mt,ie.getDateTimeFormat=B,ie.setDateTimeFormat=Z,ie.mergeDateTimeFormat=ne,ie.getNumberFormat=X,ie.setNumberFormat=K,ie.mergeNumberFormat=ge,ie[E0]=o,ie[Xl]=Ee,ie[Zl]=Te,ie[Yl]=Pt,ie}function JR(e){const t=le(e.locale)?e.locale:Ei,n=le(e.fallbackLocale)||ot(e.fallbackLocale)||_e(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,o=Xe(e.missing)?e.missing:void 0,i=$e(e.silentTranslationWarn)||bo(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,r=$e(e.silentFallbackWarn)||bo(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=$e(e.fallbackRoot)?e.fallbackRoot:!0,s=!!e.formatFallbackMessages,l=_e(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,d=Xe(e.postTranslation)?e.postTranslation:void 0,u=le(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,h=!!e.escapeParameterHtml,m=$e(e.sync)?e.sync:!0;let g=e.messages;if(_e(e.sharedMessages)){const w=e.sharedMessages;g=Object.keys(w).reduce((C,S)=>{const E=C[S]||(C[S]={});return Dt(E,w[S]),C},g||{})}const{__i18n:v,__root:p,__injectWithOption:f}=e,x=e.datetimeFormats,A=e.numberFormats,k=e.flatJson;return{locale:t,fallbackLocale:n,messages:g,flatJson:k,datetimeFormats:x,numberFormats:A,missing:o,missingWarn:i,fallbackWarn:r,fallbackRoot:a,fallbackFormat:s,modifiers:l,pluralRules:c,postTranslation:d,warnHtmlMessage:u,escapeParameter:h,messageResolver:e.messageResolver,inheritLocale:m,__i18n:v,__root:p,__injectWithOption:f}}function Ql(e={},t){{const n=hd(JR(e)),{__extender:o}=e,i={id:n.id,get locale(){return n.locale.value},set locale(r){n.locale.value=r},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(r){n.fallbackLocale.value=r},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(r){},get missing(){return n.getMissingHandler()},set missing(r){n.setMissingHandler(r)},get silentTranslationWarn(){return $e(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(r){n.missingWarn=$e(r)?!r:r},get silentFallbackWarn(){return $e(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(r){n.fallbackWarn=$e(r)?!r:r},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(r){n.fallbackFormat=r},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(r){n.setPostTranslationHandler(r)},get sync(){return n.inheritLocale},set sync(r){n.inheritLocale=r},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(r){n.warnHtmlMessage=r!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(r){n.escapeParameter=r},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(r){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...r){const[a,s,l]=r,c={};let d=null,u=null;if(!le(a))throw St(xt.INVALID_ARGUMENT);const h=a;return le(s)?c.locale=s:ot(s)?d=s:_e(s)&&(u=s),ot(l)?d=l:_e(l)&&(u=l),Reflect.apply(n.t,n,[h,d||u||{},c])},rt(...r){return Reflect.apply(n.rt,n,[...r])},tc(...r){const[a,s,l]=r,c={plural:1};let d=null,u=null;if(!le(a))throw St(xt.INVALID_ARGUMENT);const h=a;return le(s)?c.locale=s:yt(s)?c.plural=s:ot(s)?d=s:_e(s)&&(u=s),le(l)?c.locale=l:ot(l)?d=l:_e(l)&&(u=l),Reflect.apply(n.t,n,[h,d||u||{},c])},te(r,a){return n.te(r,a)},tm(r){return n.tm(r)},getLocaleMessage(r){return n.getLocaleMessage(r)},setLocaleMessage(r,a){n.setLocaleMessage(r,a)},mergeLocaleMessage(r,a){n.mergeLocaleMessage(r,a)},d(...r){return Reflect.apply(n.d,n,[...r])},getDateTimeFormat(r){return n.getDateTimeFormat(r)},setDateTimeFormat(r,a){n.setDateTimeFormat(r,a)},mergeDateTimeFormat(r,a){n.mergeDateTimeFormat(r,a)},n(...r){return Reflect.apply(n.n,n,[...r])},getNumberFormat(r){return n.getNumberFormat(r)},setNumberFormat(r,a){n.setNumberFormat(r,a)},mergeNumberFormat(r,a){n.mergeNumberFormat(r,a)},getChoiceIndex(r,a){return-1}};return i.__extender=o,i}}const fd={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function QR({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((o,i)=>[...o,...i.type===He?i.children:[i]],[]):t.reduce((n,o)=>{const i=e[o];return i&&(n[o]=i()),n},{})}function D0(e){return He}const eM=se({name:"i18n-t",props:Dt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>yt(e)||!isNaN(e)}},fd),setup(e,t){const{slots:n,attrs:o}=t,i=e.i18n||Vr({useScope:e.scope,__useComponent:!0});return()=>{const r=Object.keys(n).filter(u=>u!=="_"),a={};e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=le(e.plural)?+e.plural:e.plural);const s=QR(t,r),l=i[Xl](e.keypath,s,a),c=Dt({},o),d=le(e.tag)||je(e.tag)?e.tag:D0();return T(d,c,l)}}}),nf=eM;function tM(e){return ot(e)&&!le(e[0])}function L0(e,t,n,o){const{slots:i,attrs:r}=t;return()=>{const a={part:!0};let s={};e.locale&&(a.locale=e.locale),le(e.format)?a.key=e.format:je(e.format)&&(le(e.format.key)&&(a.key=e.format.key),s=Object.keys(e.format).reduce((h,m)=>n.includes(m)?Dt({},h,{[m]:e.format[m]}):h,{}));const l=o(e.value,a,s);let c=[a.key];ot(l)?c=l.map((h,m)=>{const g=i[h.type],v=g?g({[h.type]:h.value,index:m,parts:l}):[h.value];return tM(v)&&(v[0].key=`${h.type}-${m}`),v}):le(l)&&(c=[l]);const d=Dt({},r),u=le(e.tag)||je(e.tag)?e.tag:D0();return T(u,d,c)}}const nM=se({name:"i18n-n",props:Dt({value:{type:Number,required:!0},format:{type:[String,Object]}},fd),setup(e,t){const n=e.i18n||Vr({useScope:"parent",__useComponent:!0});return L0(e,t,_0,(...o)=>n[Yl](...o))}}),of=nM,oM=se({name:"i18n-d",props:Dt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},fd),setup(e,t){const n=e.i18n||Vr({useScope:"parent",__useComponent:!0});return L0(e,t,S0,(...o)=>n[Zl](...o))}}),rf=oM;function iM(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const o=n.__getInstance(t);return o!=null?o.__composer:e.global.__composer}}function rM(e){const t=a=>{const{instance:s,modifiers:l,value:c}=a;if(!s||!s.$)throw St(xt.UNEXPECTED_ERROR);const d=iM(e,s.$),u=af(c);return[Reflect.apply(d.t,d,[...sf(u)]),d]};return{created:(a,s)=>{const[l,c]=t(s);jl&&e.global===c&&(a.__i18nWatcher=Ze(c.locale,()=>{s.instance&&s.instance.$forceUpdate()})),a.__composer=c,a.textContent=l},unmounted:a=>{jl&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:s})=>{if(a.__composer){const l=a.__composer,c=af(s);a.textContent=Reflect.apply(l.t,l,[...sf(c)])}},getSSRProps:a=>{const[s]=t(a);return{textContent:s}}}}function af(e){if(le(e))return{path:e};if(_e(e)){if(!("path"in e))throw St(xt.REQUIRED_VALUE,"path");return e}else throw St(xt.INVALID_VALUE)}function sf(e){const{path:t,locale:n,args:o,choice:i,plural:r}=e,a={},s=o||{};return le(n)&&(a.locale=n),yt(i)&&(a.plural=i),yt(r)&&(a.plural=r),[t,s,a]}function aM(e,t,...n){const o=_e(n[0])?n[0]:{},i=!!o.useI18nComponentName;($e(o.globalInstall)?o.globalInstall:!0)&&([i?"i18n":nf.name,"I18nT"].forEach(a=>e.component(a,nf)),[of.name,"I18nN"].forEach(a=>e.component(a,of)),[rf.name,"I18nD"].forEach(a=>e.component(a,rf))),e.directive("t",rM(t))}function sM(e,t,n){return{beforeCreate(){const o=rn();if(!o)throw St(xt.UNEXPECTED_ERROR);const i=this.$options;if(i.i18n){const r=i.i18n;if(i.__i18n&&(r.__i18n=i.__i18n),r.__root=t,this===this.$root)this.$i18n=lf(e,r);else{r.__injectWithOption=!0,r.__extender=n.__vueI18nExtend,this.$i18n=Ql(r);const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}}else if(i.__i18n)if(this===this.$root)this.$i18n=lf(e,i);else{this.$i18n=Ql({__i18n:i.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}else this.$i18n=e;i.__i18nGlobal&&M0(t,i,i),this.$t=(...r)=>this.$i18n.t(...r),this.$rt=(...r)=>this.$i18n.rt(...r),this.$tc=(...r)=>this.$i18n.tc(...r),this.$te=(r,a)=>this.$i18n.te(r,a),this.$d=(...r)=>this.$i18n.d(...r),this.$n=(...r)=>this.$i18n.n(...r),this.$tm=r=>this.$i18n.tm(r),n.__setInstance(o,this.$i18n)},mounted(){},unmounted(){const o=rn();if(!o)throw St(xt.UNEXPECTED_ERROR);const i=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,i.__disposer&&(i.__disposer(),delete i.__disposer,delete i.__extender),n.__deleteInstance(o),delete this.$i18n}}}function lf(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[I0](t.pluralizationRules||e.pluralizationRules);const n=Rs(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(o=>e.mergeLocaleMessage(o,n[o])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(o=>e.mergeDateTimeFormat(o,t.datetimeFormats[o])),t.numberFormats&&Object.keys(t.numberFormats).forEach(o=>e.mergeNumberFormat(o,t.numberFormats[o])),e}const lM=ko("global-vue-i18n");function cM(e={},t){const n=__VUE_I18N_LEGACY_API__&&$e(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,o=$e(e.globalInjection)?e.globalInjection:!0,i=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,r=new Map,[a,s]=dM(e,n),l=ko("");function c(h){return r.get(h)||null}function d(h,m){r.set(h,m)}function u(h){r.delete(h)}{const h={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return i},async install(m,...g){if(m.__VUE_I18N_SYMBOL__=l,m.provide(m.__VUE_I18N_SYMBOL__,h),_e(g[0])){const f=g[0];h.__composerExtend=f.__composerExtend,h.__vueI18nExtend=f.__vueI18nExtend}let v=null;!n&&o&&(v=yM(m,h.global)),__VUE_I18N_FULL_INSTALL__&&aM(m,h,...g),__VUE_I18N_LEGACY_API__&&n&&m.mixin(sM(s,s.__composer,h));const p=m.unmount;m.unmount=()=>{v&&v(),h.dispose(),p()}},get global(){return s},dispose(){a.stop()},__instances:r,__getInstance:c,__setInstance:d,__deleteInstance:u};return h}}function Vr(e={}){const t=rn();if(t==null)throw St(xt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw St(xt.NOT_INSTALLED);const n=uM(t),o=fM(n),i=R0(t),r=hM(e,i);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw St(xt.NOT_AVAILABLE_IN_LEGACY_MODE);return bM(t,r,o,e)}if(r==="global")return M0(o,e,i),o;if(r==="parent"){let l=gM(n,t,e.__useComponent);return l==null&&(l=o),l}const a=n;let s=a.__getInstance(t);if(s==null){const l=Dt({},e);"__i18n"in i&&(l.__i18n=i.__i18n),o&&(l.__root=o),s=hd(l),a.__composerExtend&&(s[Jl]=a.__composerExtend(s)),pM(a,t,s),a.__setInstance(t,s)}return s}function dM(e,t,n){const o=ac();{const i=__VUE_I18N_LEGACY_API__&&t?o.run(()=>Ql(e)):o.run(()=>hd(e));if(i==null)throw St(xt.UNEXPECTED_ERROR);return[o,i]}}function uM(e){{const t=Ie(e.isCE?lM:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw St(e.isCE?xt.NOT_INSTALLED_WITH_PROVIDE:xt.UNEXPECTED_ERROR);return t}}function hM(e,t){return Is(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function fM(e){return e.mode==="composition"?e.global:e.global.__composer}function gM(e,t,n=!1){let o=null;const i=t.root;let r=mM(t,n);for(;r!=null;){const a=e;if(e.mode==="composition")o=a.__getInstance(r);else if(__VUE_I18N_LEGACY_API__){const s=a.__getInstance(r);s!=null&&(o=s.__composer,n&&o&&!o[E0]&&(o=null))}if(o!=null||i===r)break;r=r.parent}return o}function mM(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function pM(e,t,n){Lt(()=>{},t),xc(()=>{const o=n;e.__deleteInstance(t);const i=o[Jl];i&&(i(),delete o[Jl])},t)}function bM(e,t,n,o={}){const i=t==="local",r=gc(null);if(i&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw St(xt.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const a=$e(o.inheritLocale)?o.inheritLocale:!le(o.locale),s=j(!i||a?n.locale.value:le(o.locale)?o.locale:Ei),l=j(!i||a?n.fallbackLocale.value:le(o.fallbackLocale)||ot(o.fallbackLocale)||_e(o.fallbackLocale)||o.fallbackLocale===!1?o.fallbackLocale:s.value),c=j(Rs(s.value,o)),d=j(_e(o.datetimeFormats)?o.datetimeFormats:{[s.value]:{}}),u=j(_e(o.numberFormats)?o.numberFormats:{[s.value]:{}}),h=i?n.missingWarn:$e(o.missingWarn)||bo(o.missingWarn)?o.missingWarn:!0,m=i?n.fallbackWarn:$e(o.fallbackWarn)||bo(o.fallbackWarn)?o.fallbackWarn:!0,g=i?n.fallbackRoot:$e(o.fallbackRoot)?o.fallbackRoot:!0,v=!!o.fallbackFormat,p=Xe(o.missing)?o.missing:null,f=Xe(o.postTranslation)?o.postTranslation:null,x=i?n.warnHtmlMessage:$e(o.warnHtmlMessage)?o.warnHtmlMessage:!0,A=!!o.escapeParameter,k=i?n.modifiers:_e(o.modifiers)?o.modifiers:{},w=o.pluralRules||i&&n.pluralRules;function I(){return[s.value,l.value,c.value,d.value,u.value]}const C=z({get:()=>r.value?r.value.locale.value:s.value,set:y=>{r.value&&(r.value.locale.value=y),s.value=y}}),S=z({get:()=>r.value?r.value.fallbackLocale.value:l.value,set:y=>{r.value&&(r.value.fallbackLocale.value=y),l.value=y}}),E=z(()=>r.value?r.value.messages.value:c.value),R=z(()=>d.value),G=z(()=>u.value);function M(){return r.value?r.value.getPostTranslationHandler():f}function q(y){r.value&&r.value.setPostTranslationHandler(y)}function ee(){return r.value?r.value.getMissingHandler():p}function O(y){r.value&&r.value.setMissingHandler(y)}function V(y){return I(),y()}function W(...y){return r.value?V(()=>Reflect.apply(r.value.t,null,[...y])):V(()=>"")}function oe(...y){return r.value?Reflect.apply(r.value.rt,null,[...y]):""}function fe(...y){return r.value?V(()=>Reflect.apply(r.value.d,null,[...y])):V(()=>"")}function we(...y){return r.value?V(()=>Reflect.apply(r.value.n,null,[...y])):V(()=>"")}function De(y){return r.value?r.value.tm(y):{}}function Le(y,_){return r.value?r.value.te(y,_):!1}function mt(y){return r.value?r.value.getLocaleMessage(y):{}}function ct(y,_){r.value&&(r.value.setLocaleMessage(y,_),c.value[y]=_)}function Je(y,_){r.value&&r.value.mergeLocaleMessage(y,_)}function Ae(y){return r.value?r.value.getDateTimeFormat(y):{}}function Ee(y,_){r.value&&(r.value.setDateTimeFormat(y,_),d.value[y]=_)}function Pt(y,_){r.value&&r.value.mergeDateTimeFormat(y,_)}function Te(y){return r.value?r.value.getNumberFormat(y):{}}function dt(y,_){r.value&&(r.value.setNumberFormat(y,_),u.value[y]=_)}function bt(y,_){r.value&&r.value.mergeNumberFormat(y,_)}const P={get id(){return r.value?r.value.id:-1},locale:C,fallbackLocale:S,messages:E,datetimeFormats:R,numberFormats:G,get inheritLocale(){return r.value?r.value.inheritLocale:a},set inheritLocale(y){r.value&&(r.value.inheritLocale=y)},get availableLocales(){return r.value?r.value.availableLocales:Object.keys(c.value)},get modifiers(){return r.value?r.value.modifiers:k},get pluralRules(){return r.value?r.value.pluralRules:w},get isGlobal(){return r.value?r.value.isGlobal:!1},get missingWarn(){return r.value?r.value.missingWarn:h},set missingWarn(y){r.value&&(r.value.missingWarn=y)},get fallbackWarn(){return r.value?r.value.fallbackWarn:m},set fallbackWarn(y){r.value&&(r.value.missingWarn=y)},get fallbackRoot(){return r.value?r.value.fallbackRoot:g},set fallbackRoot(y){r.value&&(r.value.fallbackRoot=y)},get fallbackFormat(){return r.value?r.value.fallbackFormat:v},set fallbackFormat(y){r.value&&(r.value.fallbackFormat=y)},get warnHtmlMessage(){return r.value?r.value.warnHtmlMessage:x},set warnHtmlMessage(y){r.value&&(r.value.warnHtmlMessage=y)},get escapeParameter(){return r.value?r.value.escapeParameter:A},set escapeParameter(y){r.value&&(r.value.escapeParameter=y)},t:W,getPostTranslationHandler:M,setPostTranslationHandler:q,getMissingHandler:ee,setMissingHandler:O,rt:oe,d:fe,n:we,tm:De,te:Le,getLocaleMessage:mt,setLocaleMessage:ct,mergeLocaleMessage:Je,getDateTimeFormat:Ae,setDateTimeFormat:Ee,mergeDateTimeFormat:Pt,getNumberFormat:Te,setNumberFormat:dt,mergeNumberFormat:bt};function b(y){y.locale.value=s.value,y.fallbackLocale.value=l.value,Object.keys(c.value).forEach(_=>{y.mergeLocaleMessage(_,c.value[_])}),Object.keys(d.value).forEach(_=>{y.mergeDateTimeFormat(_,d.value[_])}),Object.keys(u.value).forEach(_=>{y.mergeNumberFormat(_,u.value[_])}),y.escapeParameter=A,y.fallbackFormat=v,y.fallbackRoot=g,y.fallbackWarn=m,y.missingWarn=h,y.warnHtmlMessage=x}return On(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw St(xt.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const y=r.value=e.proxy.$i18n.__composer;t==="global"?(s.value=y.locale.value,l.value=y.fallbackLocale.value,c.value=y.messages.value,d.value=y.datetimeFormats.value,u.value=y.numberFormats.value):i&&b(y)}),P}const vM=["locale","fallbackLocale","availableLocales"],cf=["t","rt","d","n","tm","te"];function yM(e,t){const n=Object.create(null);return vM.forEach(i=>{const r=Object.getOwnPropertyDescriptor(t,i);if(!r)throw St(xt.UNEXPECTED_ERROR);const a=at(r.value)?{get(){return r.value.value},set(s){r.value.value=s}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,i,a)}),e.config.globalProperties.$i18n=n,cf.forEach(i=>{const r=Object.getOwnPropertyDescriptor(t,i);if(!r||!r.value)throw St(xt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${i}`,r)}),()=>{delete e.config.globalProperties.$i18n,cf.forEach(i=>{delete e.config.globalProperties[`$${i}`]})}}XR();__INTLIFY_JIT_COMPILATION__?Fh(jR):Fh(WR);$R(pR);OR(m0);if(__INTLIFY_PROD_DEVTOOLS__){const e=Wn();e.__INTLIFY__=!0,SR(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const xM=KI().use(wE),kM=cM({locale:"zh",legacy:!1,messages:{en:{title:"Techmino Online Dictionary",back:"Back",search:"Search",tags:"Tags",copy_from:"Copied from",error:"Error",copied:"Copied successfully!",maker:"Created by"},ja:{title:"Techmino オンライン辞書",back:"戻る",search:"検索",tags:"タグ",copy_from:"コピー元",error:"エラー",copied:"コピーしました!",maker:"作成者"},zh:{title:"Techmino 在线词典",back:"返回",search:"搜点什么",tags:"标签",copy_from:"复制于",error:"出错了",copied:"复制成功!",maker:"制作者"},vi:{title:"Techmino Từ điển trực tuyến",back:"Quay lại",search:"Tìm kiếm",tags:"Thẻ",copy_from:"Sao chép từ",error:"Lỗi",copied:"Sao chép thành công!",maker:"Tạo bởi"}}}),ll={help:"#fdba74",org:"#fbb741",game:"#14a3c7",term:"#ff7f7f",setup:"#94a3b8",pattern:"#bfdfa5",command:"#0284c7",english:"#2563eb",name:"#7a5299"},CM=[{title:"Translator Note 1",tags:[],category:"help",content:'This is an English translation of the Simplified Chinese version of TetroDictionary.\\n\\nThe translation may not accurately reflect the original content in Simplified Chinese.\\n\\nFeel free to visit our GitHub page if you want to view the contributors or make contributions yourself. Click the globe icon in the bottom right corner to open the webpage.\\n\\nNote that this dictionary sometimes uses the terms \\"block\\", \\"piece\\", and \\"minoes\\" interchangeably; the terms \\"field\\" and \\"matrix\\" are also interchangeable.\\n\\nTranslated and corrected by User670 & C₂₉H₂₅N₃O₅ et al.',link:"https://github.com/26F-Studio/Techmino/blob/main/parts/language/dict_en.lua",id:"a4202b034ef51731afbd968c5732612c595c9bbe"},{title:"To New Players",tags:["guides","newbie","noob","readme","recommendations","suggestions","helps"],category:"help",content:'Here are our suggestions for new players of Tetris:\\nThe basics:\\n\\t\\t1. Choose a professional Tetris game with good controls. Games like Techmino, TETR.IO, Jstris, and Tetris Online are some good choices. Low quality games that deviate too much from the guidelines, or those with poor controls, are not good for your training.\\n\\t\\t2. Spend time building basic skills in the beginning. Try to spend more time on skills such as reading the next sequence and performing Tetrises consistently. Master the basics before trying more advanced skills like T-spins.\\nEssential skills:\\n\\t\\t1. Memorizing the spawn positions of the blocks.\\n\\t\\t2. Remembering the maneuvers to move the blocks to the desired locations.\\n\\t\\t3. Thinking ahead about where to place the blocks in the next sequences.\\n\\nThe globe button links to an article called \\"Suggestion for new players to Tetris Online\\" written by Tatianyi, a Chinese Tetris player (translated to English by User670).',link:"https://github.com/user670/temp/blob/master/tips_to_those_new_to_top.md",id:"0687abecb1ea80ef2bb72f117c262bfd761e1fd5"},{title:"Practice Recommendations",tags:["readme","noob","new","guides","recommendations","suggestions","helps"],category:"help",content:`Here are our recommendations for improving your Tetris skills. Having trouble improving your skills? Try relaxing and spending more time playing modes you enjoy. Have fun!\\n\\nHere are three sets of tasks that we feel are essential. Although the tasks within each group are ordered by difficulty, we recommend working on all three sets of tasks simultaneously (rather than one at a time).\\n\\nA. Stacking\\n\\tA1. Think twice before placing the block. If your first choice doesn't seem like a good fit, think again.\\n\\tA2. Keep the terrain flat, as this allows more placement possibilities for different blocks.\\n\\tA3. If you are playing a game mode that has Holds, think about the three blocks you can use — the current piece, the piece in the Hold, and the next piece. Think about the best order to place these blocks so that you can maintain a flat terrain for longer.\\nB. Efficiency & Speed\\n\\tB1. Do not rely too much on ghost pieces. Instead, think about what keys to press to get the piece to where you want it. Start manipulating the block when you have a clear idea in mind.\\n\\tB2. Use both rotation keys. Instead of rotating clockwise three times, try rotating counterclockwise just once.\\n\\tB3. It's okay to go slow when you first start learning Finesse. If you can get your keystrokes right in the beginning, it's not that hard to speed up once you've mastered it.\\nC. Stacking\\n\\tC1. Finish 40L without topping out.\\n\\tC2. Finish 40L with no Hold without topping out.\\n\\tC3. Finish 40L with Techrashes only.\\n\\tC4. Finish 40L with Techrashes only no Hold.\\n\\nSet C is more flexible for individual players, and you can also adjust the pace based on your own conditions (e.g., how stable is \\"stable\\" for you).\\n\\nKeep practicing A1 when you have finished set C. This is the most basic skill in all of Tetris, and it is easy to master everything else when you are a master of reading the Next sequence.`,link:"",id:"c0ac7760294e72a7b97ea6630123db3502b886dd"},{title:"Learning T-spins",tags:["tspins","learning","study","guides","tips","recommendations","suggestions","helps"],category:"help",content:"T-spin is a relatively advanced skill in Tetris. It is very hard to master T-spins by just focusing on the local terrain; good abilities of stacking and next-reading are also required to master this skill.\\n\\nWe strongly recommend that you master the basic skills (like stacking) before attempting to learn T-spins.\\n\\nWe recommend starting with T-Spins if you can meet the following criteria:\\n- Finishing 40L within 60 s (or 40–120s, based on personal conditions)\\n- Finishing 40L with Tetrises only\\n- Finishing 40L with Tetrises only and no Hold (without significantly slowing down)\\n\\nThis ensures that you are good at next-reading and planning.",link:"",id:"5cd6ed2e16a7d5f98ef5bda29dcfcb2d59f7320e"},{title:"Official Website",tags:["homepage","mainpage","websites"],category:"help",content:"The official website of Techmino!\\nYou can download the latest stable build of Techmino and change your profile there.\\nClick on the globe icon to open the website in your browser.",link:"http://studio26f.org",id:"051e31daedd281c3cab5e6128a9aa12d98468fa1"},{title:"Huiji Wiki",tags:["huiji","wiki"],category:"help",content:"(灰机wiki)\\nA Chinese Tetris wiki by Tetris enthusiasts from Chinese Tetris Research Community groups and affiliates. Most pages have been referenced and translated from Hard Drop Wiki and Tetris Wiki for now. Link in Simplified Chinese.",link:"https://tetris.huijiwiki.com",id:"42d751274648ebcdd498ed05651a6c1348916083"},{title:"Hard Drop Wiki",tags:["harddrop","hd","wiki"],category:"help",content:"A Tetris wiki hosted on the Hard Drop community.",link:"https://harddrop.com/wiki/Tetris_Wiki",id:"f1b54180b79dcab2e47154d00b06111768f96ba4"},{title:"Tetris Wiki",tags:["tetris","wiki"],category:"help",content:"A Tetris wiki focusing on Tetris-related content, created by Myndzi in 2015. Over the years, thousands of contributions have been made documenting official and fan Tetris games in the series, uncovering game mechanics, and creating guides to improve the gaming experience.",link:"https://tetris.wiki",id:"391eac4ba9910be23ce6ddc9931480e97dcbf980"},{title:"Tetris Wiki Fandom",tags:["tetris","wiki","fandom"],category:"help",content:"A Tetris wiki.",link:"https://tetris.fandom.com/wiki/Tetris_Wiki",id:"8ea80081c57541940cf70403d3796b066a9814ed"},{title:"Four.lol",tags:["four","wiki"],category:"help",content:"A website containing collections of various openers.",link:"https://four.lol",id:"52b4b9a1c6bedae73122783d9b0f733c6a9ce2ff"},{title:"Tetris Hall",tags:[],category:"help",content:"(テトリス堂)\\nA Japanese website with many setups, tutorials, and minigames. It has detailed descriptions of consecutive PCs. Link in Japanese.",link:"https://shiwehi.com/tetris/",id:"915cd283a16c2d03774e3f15edd78a4625742e57"},{title:"Tetris Template Collections",tags:[],category:"help",content:"(テトリステンプレ集@テト譜)\\nA Japanese website with a variety of setups and detailed categories. Most setups have images, so it is easier to share with others. Link in Japanese.",link:"https://w.atwiki.jp/tetrismaps/",id:"81f238b397514b641ec255c8b9ce578d8f955103"},{title:"tetristemplate.info",tags:[],category:"help",content:"(テトリスブログ - PerfectClear)\\nA Japanese website with some setups. It doesn't contain too many setups, but there are very detailed explanations. Link in Japanese.",link:"https://tetristemplate.info/",id:"d40ad538ee0415ecdc146b11b2e1cd3fd67ae860"},{title:"Fumen",tags:["fumen"],category:"help",content:"A Japanese Tetris field editor. Commonly used to share setups, PC solutions, and more. The linked website is translated into English.",link:"http://fumen.zui.jp/#english.js",id:"d0e3779a4195ae331a24e864388f35215908cabf"},{title:"Fumen for Mobile",tags:["fumenformobile","fm"],category:"help",content:"Fumen with touch screen support.",link:"https://knewjade.github.io/fumen-for-mobile/",id:"513718557f75b71e9df0f10e72c6fe17f472a12f"},{title:"Github Repository",tags:["githubrepository","sourcecode","src"],category:"org",content:"Techmino's official Github repository. Stars are appreciated.",link:"https://github.com/26F-Studio/Techmino",id:"315aeca958c382f06824df3fcbe166c17d612c19"},{title:"Discord Server",tags:["community","communities","discord","server"],category:"org",content:"Join the Techmino server and communicate with other players! Click on the globe icon below to open the link.",link:"https://discord.gg/f9pUvkh",id:"d19baa279f5469c994709939d6f98b82ee6afa18"},{title:"Tetris OL Servers",tags:["tetrisonline","servers","tos"],category:"org",content:'Google \\"Tetris Online Poland\\" for the Poland server.\\nClick on the globe icon for information on the Tetris Online Study server in China (by Teatube).',link:"https://teatube.cn/tos/",id:"aaef4a17ec03250986bc73b06c9a21ec38eebf7e"},{title:"Support 1",tags:["support","wechat","vx","weixin","alipay","zfb","zhifubao"],category:"org",content:"The contents in this entry were hidden due to platform restrictions. Feel free to discuss these contents on our Discord server.",link:"",id:"63e01f6305fd44f5529b9cfae41a6eb4932d1cd2"},{title:"Support 1",tags:["support","wechat","vx","weixin","alipay","zfb","zhifubao"],category:"org",content:'To donate to Techmino via WeChat Pay or Alipay, type \\"support\\" in console and scan the QR code.',link:"",id:"b1a5db8fdd98e57cf63c003917afbfa9732ba22b"},{title:"Support 2",tags:["support","afdian","aidadian"],category:"org",content:"The contents in this entry were hidden due to platform restrictions. Feel free to discuss these contents on our Discord server.",link:"",id:"2360d40332021acea6771ba3f2570ace6a4eec74"},{title:"Support 2",tags:["support","afdian","aidadian"],category:"org",content:"To donate to Techmino via Aifadian, use the globe icon on the bottom right to open the URL. Aifadian charges a 6% commision off your purchase.",link:"https://afdian.net/@MrZ_26",id:"f349c3bfd8cf4dc628ca7345a0045373b6964b36"},{title:"Support 3",tags:["support","patreon"],category:"org",content:"The contents in this entry were hidden due to platform restrictions. Feel free to discuss these contents on our Discord server.",link:"",id:"3439db5d8c4b26e87d5d70db80ba2b80aee146d6"},{title:"Support 3",tags:["support","patreon"],category:"org",content:"To donate to Techmino via Patreon, click on the globe icon on the bottom right to open the URL. Notice that Patreon may charge you a commision for transactions over a certain amount.",link:"https://www.patreon.com/techmino",id:"1d0e790c5035e72b16b550de068bc41e4b613cd1"},{title:"TTT",tags:["tetris","trainer","tres","bien","T.T.T."],category:"game",content:'Tetris Trainer Très-Bien (by こな \\"kona\\"). A hands-on tutorial of advanced techniques in Guideline Tetris (which only supports physical keyboards).\\nRecommended for players who can complete 40L with no Hold and Tetrises only.\\nIt covered topics such as T-Spin, finesse, SRS, and some battle setups.\\nThe link below is the English version of the website, translated by User670 (Originally in Japanese).',link:"https://user670.github.io/tetris-trainer-tres-bien/",id:"06c2f5784f0c2af2028553ceb1c466dfb6fc3cfe"},{title:"TTPC",tags:["tetris","perfect","clear","challenge","T.T.P.C."],category:"game",content:"Tetris Perfect Clear Challenge (by chokotia). A tutorial on Perfect Clear openers using SRS and Bag7 (which only supports physical keyboards). Recommended for players who completed TTT and are familiar with SRS.\\n\\nLink in English, originally in Japanese.",link:"https://teatube.cn/ttpc/ttpc/",id:"bc809a28d5082dd5e91ac2a14bc3d86cd4c91286"},{title:"NAZO",tags:["nazo"],category:"game",content:"(ナゾ)\\n\\nAll kinds of SRS puzzles ranging from easy to extremely hard, including T-spins and All spins. Recommended for players who completed TTT.\\n\\nLink translated to Simplified Chinese, originally in Japanese.",link:"https://teatube.cn/nazo/",id:"b30aa5227877725a049e81f42a5195fa39696a89"},{title:"TPO",tags:["nazo","T.P.O."],category:"game",content:"Tetris Puzzle O. A Chinese website created by TCV100 with some puzzles NAZO included.",link:"http://121.36.2.245:3000/tpo",id:"be1e2fb7f7331968dbabd1812907dcc559e0fa7a"},{title:"Side Note 1",tags:["note","nb","NB","DM","notice"],category:"game",content:"The following content contains brief introductions to some official and fan-made Tetris games with relatively high popularity. We do not guarantee that they cover every Tetris game. The author of Techmino (MrZ) has made some commentaries about some of these games, which are marked in brackets in the entries. They only represent the personal opinions and recommendations of the author and do not necessarily represent the objective qualities of the games.",link:"",id:"fad8777436240f704ff267552e9b2df73d3467e0"},{title:"King of Stackers",tags:["kos","kingofstackers"],category:"game",content:"Browser | Multiplayer | Mobile Support\\nKoS for short. A turn-based browser Tetris game. Players take turns placing blocks on their fields in 7-block cycles. Attacks only enter the field when a block is placed without clearing a line. The game is highly strategic and has several options for attack mechanics.",link:"https://kingofstackers.com/games.php",id:"1a8091911b83ef151ba031256caeedbd9d10c5a8"},{title:"Tetr.js",tags:["tetrjs","tetr.js"],category:"game",content:`Browser | Singleplayer | Mobile Support\\nA browser-based Tetris game with many advanced options and modes.\\nLink to Farter's Dig Mod (which itself is a mod of another Tetris fan game). You can also check another game on Tetris Wiki called \\"Tetr.js enhanced.\\"\\n\\n[MrZ: The visuals are simple with barely any animations. Only a few, fixed virtual key combinations are available for mobile devices.]`,link:"http://farter.cn/t",id:"ea913690c09b61c00baf22bbf5374c57a176bbaa"},{title:"Tetra Legends",tags:["tl","tetralegends"],category:"game",content:"Browser | Singleplayer | No Mobile Support\\nTL for short. A variety of single-player modes and two hidden rhythm modes. It also visualizes mechanisms usually hidden in other Tetris games. Development was halted in December 2020 for various reasons.",link:"https://tetralegends.app",id:"eeaa456499f5da0ca334a9635c2e445244b333ac"},{title:"Ascension",tags:["asc","ASC"],category:"game",content:"Browser | Singleplayer/Multiplayer\\nASC for short. It uses its own rotation system (also called ASC) and has many single-player modes. 1V1 modes are currently in alpha testing (April 16, 2022). The Stack mode in Techmino was also inspired by Ascension.",link:"https://asc.winternebs.com",id:"0d0ab0af000159054877018e257902841ddc8da8"},{title:"Jstris",tags:["js","jstris"],category:"game",content:"Browser | Singleplayer/Multiplayer | Mobile Support\\nJS for short. It has some single-player modes and some options that can be customized by the player. The virtual keys can also be customized to some extent, but this game has little (if any) animations.",link:"https://jstris.jezevec10.com",id:"0cd07f70c31e6afa20934d060e588a5d1c780596"},{title:"TETR.IO",tags:["io","tetrio","tetr.io"],category:"game",content:"Browser | Singleplayer/Multiplayer\\nIO for short. It has a ranking system and a custom game with many adjustable parameters. It also has desktop clients for better performance and no ads.",link:"https://tetr.io",id:"ae87ac388351ef624001512ede5c48e8050bd71f"},{title:"Nuketris",tags:["nuketris"],category:"game",content:"Browser | Singleplayer/Multiplayer\\nA block stacker game with 1V1 ranked matches and basic single-player modes.",link:"https://nuketris.com",id:"0e7650c03ef4d6f49f1c777a0fa6dcc92538e9ea"},{title:"Worldwide Combos",tags:["wwc","worldwidecombos"],category:"game",content:"Browser | Singleplayer/Multiplayer\\nWWC for short. It has worldwide 1V1 battles, recorded battles (which allows you to battle against recorded games), several different rulesets, and bomb-style garbage line battles.",link:"https://worldwidecombos.com",id:"cdad4cda0f2baffec483fe3f4dbb07238fedd5f4"},{title:"Tetris Friends",tags:["tf","tetrisfriends","notrisfoes"],category:"game",content:'Browser | Singleplayer/Multiplayer\\nTF for short. A defunct browser-based Tetris game. The game was very popular before shutting down a few years ago. There is a private server called \\"Notris Foes\\" that still exists. Click on the globe icon to open the webpage.',link:"https://notrisfoes.com",id:"aa93737a715eea7651a81bf577117efa50489d08"},{title:"tetris.com",tags:["tetris","online","official"],category:"game",content:'Browser | Singleplayer\\nThe official Tetris game on tetris.com, with only one mode (marathon). It supports a mouse-based \\"smart\\" control system.',link:"",id:"8dbd1ac0746709b8d9226562198a1c495209a770"},{title:"Tetris Gems",tags:["tetris","online","official","gem"],category:"game",content:"Browser | Singleplayer\\nAnother Tetris game from tetris.com. It has a gravity (cascade) mechanism, and each game lasts 1 minute (which can be extended by clearing lines with special gem blocks). There are three types of gem blocks with different abilities.",link:"",id:"4aded22adef1815f63b41029ee390feda4c36721"},{title:"Tetris Mind Bender",tags:["tetris","online","official","gem"],category:"game",content:'Browser | Singleplayer\\nAnother Tetris game from tetris.com. An endless marathon with special minos called \\"Mind Benders\\". Clearing a line with a Mind Bender gives you a random effect that either helps or hinders the game.',link:"",id:"a1e3ef60a4f7c07f856105d0c439f4463f91cf23"},{title:"Techmino",tags:["techmino"],category:"game",content:"Cross-Platform | Singleplayer/Multiplayer\\nTech for short. A block stacker game developed by MrZ (and other members of 26F Studio) using LÖVE. It has many single-player modes and customizable parameters, and online multiplayer modes are currently being developed.",link:"",id:"e376ddc533df85763061ff4be412a1a60fb83675"},{title:"Falling Lightblocks",tags:["fl","fallinglightblocks"],category:"game",content:"Browser/iOS/Android/Smart TV | Singleplayer/Multiplayer\\nA multiplatform Tetris game that can be played in portrait and landscape mode. It features fixed DAS and line clear ARE, and also customizable controls on mobile. Most modes are based on the classic NES Tetris, but there are also some modern modes. Battles are half turn-based, half real-time, and garbage cannot be buffered or canceled out.",link:"https://golfgl.de/lightblocks/",id:"f7461c3d8efcface25bdfd51efa07369b904a6de"},{title:"Cambridge",tags:["cambridge"],category:"game",content:"Cross-Platform | Singleplayer\\nA Tetris game developed using LÖVE, with the goal of creating a robust, easily customizable platform for creating new, custom game modes. Originally made by Joe Zeng, development of the game was taken over by Milla on October 8, 2020, starting with V0.1.5.\\n —Tetris Wiki",link:"",id:"ce2dcd4c27a8b2d87e463d472e2dacc2f6137643"},{title:"Nanamino",tags:["nanamino"],category:"game",content:"Windows/Android | Singleplayer\\nA fan game under development with an interesting original rotation system.",link:"",id:"9a9aba9a4d09df4bbebbb40a06e5b593a5a950cd"},{title:"TGM",tags:["tetrisgrandmaster","tetristhegrandmaster"],category:"game",content:"Arcade | Singleplayer/Local Multiplayer\\nTetris The Grand Master, an arcade Tetris series. Titles like S13 and GM originate from this series.\\n\\nTGM3 is the most well-known game in this series.",link:"",id:"42bea4123a6ac7cedcbcb48eb06354c3e41f08c9"},{title:"DTET",tags:["dtet"],category:"game",content:"Windows | Singleplayer\\nA game based on TGM's Classic rule with 20G and a powerful rotation system, with decent controls but no customization other than control mappings. The game is a bit hard to find now, and you may have to install the necessary DLL files manually.",link:"https://t-sp.in/dtet",id:"b0f79b3e269c6d5d91e9636a621484f58500d7a9"},{title:"Heboris",tags:["hb","heboris"],category:"game",content:"Windows | Singleplayer\\nA game with Arcade-ish play style, capable of simulating many modes of other Tetris games.",link:"",id:"3fef424a33e6a2c5d834490667adf79c68361070"},{title:"Texmaster",tags:["txm","texmaster"],category:"game",content:"Windows | Singleplayer\\nA game that includes all modes in TGM which can be used to practice TGM. Note that the World rule in the game is slightly different, such as instant-lock soft drops and slightly different kick tables.",link:"",id:"1f66aef719535f95dd293ee4af13783b66ff8552"},{title:"Tetris Effect",tags:["tec","tetriseffectconnected"],category:"game",content:"PS/Oculus Quest/Xbox/NS/Windows | Singleplayer/Multiplayer\\nOr TE(C) for short. An official Tetris game with elaborate graphics and soundtracks that react to the player's input. The basic version (Tetris Effect) has only single player modes. The extended version, Tetris Effect Connected, has four online battle modes: Connected (VS), Zone Battle, Score Attack, and Classic Score Attack.",link:"",id:"77b024d0923fc88a7328c1cd8e58d559714fbea5"},{title:"Tetris 99",tags:["t99","tetris99"],category:"game",content:"Nintendo Switch | Singleplayer/Multiplayer\\nA game famous for its 99-player battle royale mode and novel strategies not found in traditional battle Tetris games. The game's DLC includes limited single-player modes such as Marathon and Bot Matches.",link:"",id:"88fa220383a17af0f8feb7a8970c76d7c6acf600"},{title:"Puyo Puyo Tetris",tags:["ppt","puyopuyotetris"],category:"game",content:"PS/NS/Xbox/Windows | Singleplayer/multiplayer\\nAn official Tetris game featuring a combination of Tetris and Puyo Puyo, as well as battles between the two games. It also includes many single player and online modes.\\n\\n[MrZ: The Steam PC version has worse controls and poor online experience.]",link:"",id:"035496c78d4a01b8846ac74dd4a09746e53091d3"},{title:"Tetris Online",tags:["top","tetrisonline"],category:"game",content:"Windows | Singleplayer/Multiplayer\\nA defunct Japanese Tetris game with both online and single-player modes. Featuring custom DAS and ARR (but neither can be set to zero) and minimal input delays. Private servers are still available, and it's a good choice for new players to get started.",link:"",id:"3e969c11b86072e6af2e0281c1bf2c1538e60d7d"},{title:"Tetra Online",tags:["TO","tetraonline"],category:"game",content:"Windows/macOS/Linux | Singleplayer/Multiplayer\\nTO for short. A Tetris game developed by Dr Ocelot and Mine. Delay AREs are intentionally high; players who are used to zero delays may have trouble adjusting to the game.\\nThe game was removed from Steam on December 9, 2020 due to a DMCA takedown request filed by TTC.\\nAn offline build is still available for download on GitHub.",link:"https://github.com/Juan-Cartes/Tetra-Offline/releases/tag/1.0",id:"6cede01ac0733f3738cf6cd4e6c5983bcf2d8213"},{title:"Cultris II",tags:["c2","cultris2","cultrisii"],category:"game",content:"Windows/OS X | Singleplayer/Multiplayer\\nC2 for short. Based on classic Tetris, Cultris II supports customizable DAS and ARR. Battle mode focuses on time-based combos that challenge players' speed, n-wide setups, and downstacking skills.\\n\\n[MrZ: The Mac version was not being maintained for a long time. Any macOS build newer than macOS 10.15 Catalina cannot run this game at all.]",link:"",id:"20fd4d9af2f4b9bfe23253c0b8eb38916664ad8a"},{title:"Nullpomino",tags:["np","nullpomino"],category:"game",content:"Windows/macOS/Linux | Singleplayer/Multiplayer\\nNP for short. A highly-customizable professional Tetris game. Nearly every parameter in the game can be adjusted.\\n\\n[MrZ: It's UI style is like, retro. You can only control the game using keyboard, and new players may have some problems getting used to it. Also, it seems that macOS Monterey (or later) cannot run this game.]",link:"",id:"7828f9bff6b597b0cccc3d21a41fcb6c5863c969"},{title:"Misamino",tags:["misamino"],category:"game",content:"Windows | Single-player\\nA local 1V1 game with mainly turn-based mode. Supports running custom bots (but you have to learn their API).\\nMisamino is also the name of its built-in bot.",link:"",id:"1f2115b44e609c0ef002b5b57cdd6f77e525ca22"},{title:"Touhoumino",tags:["touhoumino"],category:"game",content:`Windows | Singleplayer\\nA fan-made Tetris game. A modification of Nullpomino with elements from Touhou Project. The Marathon mode features Touhou Project's \\"Spell Cards\\" (special effects added to the field to disrupt the game), which can only be broken by reaching a certain score requirement in a limited time.\\n\\n[MrZ: Recommended for players with at least half-decent skills, otherwise you don't even know how you died.]`,link:"",id:"f40fc44935f7ed9fd4caeeacd18b3d02ef25afd7"},{title:"Tetris Blitz",tags:["blitz","ea","mobile","phone"],category:"game",content:'iOS/Android | Singleplayer\\nA defunct official mobile Tetris game by Electronic Arts (EA), featuring a gravity mechanism. Many Minos fall onto the board at the beginning of the two-minute game, and a \\"Frenzy\\" mode can be entered by continuously clearing lines. The game also features various power-ups and an absent of top-out mechanism. The top rows are automatically cleared when an incoming block overlaps with existing blocks.\\n\\nThis game is no longer available as of April 2020.',link:"",id:"7e7d1f4afdc8adae71b89db8cb84d8d8b6eb01fa"},{title:"Tetris (EA)",tags:["tetris","ea","galaxy","universe","cosmos","mobile","phone"],category:"game",content:"iOS/Android | Singleplayer/Multiplayer?\\nAnother official mobile Tetris game from EA. It has two control modes—swipe and one-touch. It also has a Galaxy mode besides the Marathon mode (with gravity mechanism), and the goal of this mode is to clear all Galaxy minoes before the sequence runs out.\\n\\nThis game is no longer available as of April 2020.",link:"",id:"1e9711297dff349e79dfbe4858847efde9a24003"},{title:"Tetris (N3TWORK)",tags:["tetris","n3twork","mobile","phone"],category:"game",content:"iOS/Android | Singleplayer\\nAn official Tetris game originally developed by N3TWORK, but the development rights were transferred to PlayStudio in late November 2021. It has a Quick Play mode (3-minute Ultra), a Marathon mode, a 100-player Royale mode, and an Adventure mode (where the player must complete a goal in a limited number of moves).\\n\\nAny accounts created after late November/early December 2022 will only have access to Marathon and Adventure modes.\\n[The UI is great, but the controls are not very good.]",link:"",id:"80b2cb1535021b373cd3106c66f25b1b9068ebf8"},{title:"Tetris Beat",tags:["n3twork","rhythm"],category:"game",content:'iOS | Singleplayer\\nA mobile Tetris game by N3TWORK for Apple Arcade. In addition to the classic marathon modes, the game features a \\"beat\\" mode in which the player drops blocks to the rhythm of the BGM.\\n[Too much visual effects with less-than-ideal controls.]',link:"",id:"e29f101c6c0707a7bad170a04c244edd50467613"},{title:"Tetris Journey",tags:["tetrisjourney","mobile","phone","huanyouji"],category:"game",content:"iOS/Android | Singleplayer\\n(俄罗斯方块环游记)\\n\\nA defunct official mobile Tetris game developed by Tencent (available only in China). It had level modes, battle modes, and some single-player modes. It also had customizable virtual keys but lacked the option to adjust DAS or ARR.\\nThe battle mode would last for 2 minutes, and if both players did not top out, the one who sent more attacks would win.\\n\\nThe game was shut down on Feburary 15, 2023.",link:"",id:"1485de38b6720a13ea53d931440cd20835afb9c7"},{title:"JJ Tetris",tags:["jjtetris"],category:"game",content:"Android | Multiplayer\\n(JJ块)\\nA Chinese Tetris game distributed on JJ Card Games (JJ棋牌), a Chinese gamimg platform. It features portrait mode, low input lag, and smooth controls. It also features customizable DAS/ARR and toggleable 20G soft drop and limited virtual key customization. The game has no holds, B2B, garbage buffer, or attack cancellation. The game experience is similar to modern Tetris, except for a 4-line maximum limit on each attack and more powerful combo mechanisms.",link:"",id:"1e4d41ec95e20a17d2b0b7137209c27eff48e7e6"},{title:"Huopin Tetris",tags:["huopin","qq"],category:"game",content:"Windows | Multiplayer\\n(火拼俄罗斯)\\n\\nThe Tetris game on Tencent Game Center, a Chinese gaming platform. It has a 12-wide board, one Next, and no Hold. The DAS and ARR are the same as the keyboard settings for normal typing. Garbage lines can only be sent by Tetrises (3-line attacks) or Triples (2-line attacks). The garbage lines are also checkerboard shaped and almost impossible to dig through.",link:"",id:"4acb20925aace99380ddbda57af730ed00a1f8cc"},{title:"Translator Note 2",tags:[],category:"help",content:"Translator's note on those per-minute and per-second values:\\n\\nNot all of them are commonly used in the global communities, and not all terms mean the same across all contexts. They mainly apply to Techmino.",link:"",id:"a56915125752fd2016014eb983708ebc292649fa"},{title:"LPM",tags:["linesperminute","speed"],category:"term",content:`Lines per minute\\n\\tReflects a player's playing speed.\\n\\tDifferent games may calculate LPM in different ways. For example, Tetris Online calculates its LPM using PPS (see below), where 1 PPS is equal to 24 LPM. This ignores the effect of garbage lines and makes it deviate from the literal meaning. In Techmino, this converted LPM value is written as \\"L′PM.\\`,link:"",id:"73d894554600b983231c107f97397ef097a9e9c8"},{title:"PPS",tags:["piecespersecond","speed"],category:"term",content:"Pieces per second\\n\\tReflects a player's playing speed.",link:"",id:"e86171ebaf8ed816f65e43be6d877de8d4b6df4b"},{title:"BPM",tags:["blocksperminute","piecesperminute","speed"],category:"term",content:"Blocks per minute\\n\\tReflects the playing speed of a player.\\n\\tAlso called PPM (to avoid confusion with the musical term).",link:"",id:"e45f4746cfb8ba67dfddec7efdc4fceb57b05ce9"},{title:"KPM",tags:["keysperminute","keypressesperminute"],category:"term",content:"Keypresses per minute\\n\\tReflects how fast the player presses keys or buttons.",link:"",id:"e1cee2c9c92b4f206a23bc8b78fd2ba45e643324"},{title:"KPP",tags:["keysperpiece","keypressesperpiece"],category:"term",content:"Keypresses per piece\\n\\tThe average number of keypresses a player uses to move a piece into the desired location. This reflects how efficient the player is with the controls. It can be reduced with good finesse skills.",link:"",id:"0c18e93bac2d5c2852553a0f72d501b5a2c6d606"},{title:"APM",tags:["attackperminute"],category:"term",content:"Attack per minute\\n\\tThe average number of attack lines a player can generate per minute, regardless of whether the attacks are used to cancel incoming attacks or not. Reflects the offensive power of a player.",link:"",id:"d1d31e1138c134e9d463c82b58b3e37151b40815"},{title:"SPM",tags:["linessentperminute"],category:"term",content:"[Lines] Sent per minute\\n\\tThe average number of attack lines a player actually sends to the opponent. Reflects the *actual* offensive power of a player",link:"",id:"ef3654f907a66165d12699ab717052a060d2cc9a"},{title:"DPM",tags:["digperminute","defendperminute"],category:"term",content:"Dig/Defend per minute\\n\\tThe average number of garbage lines a player digs through per minute. Can reflect a player's ability to survive incoming garbage lines.\\n\\nSometimes this term refers to Defense (garbage canceled + garbage dug) Per Minute.",link:"",id:"ccc352200ff42c4dc323e2ee4cdb849c6fec093b"},{title:"RPM",tags:["receive","jieshou"],category:"term",content:"[Lines] Received per Minute\\n\\tThe average number of garbage lines a player receives per minute. Reflects the pressure the player is under to some extent.",link:"",id:"43b231b3c47cd64cee3d916bfbe4ba764793d9b9"},{title:"ADPM",tags:["attackdigperminute","vs"],category:"term",content:'Attack & Dig Per Minute\\n\\tReflects the skill differences between the two players within the same match. ADPM is slightly more accurate than APM.\\n\\tThe \\"vs\\" in TETR.IO is actually Atk & Dig per 100 seconds.',link:"",id:"0495aa10da5687b325ad77faa15ab18c4cc1821d"},{title:"APL",tags:["attackperline","efficiency"],category:"term",content:'Attack per line (cleared)\\n\\tAlso known as \\"efficiency.\\" Reflects the per-line efficiency of attacks. For example, Tetrises and T-spins have higher efficiencies than doubles and triples.',link:"",id:"b322d9b0703fcb54f1c315d71cacb4ed568327db"},{title:"Single",tags:["single","1"],category:"term",content:"Clearing one line at a time.",link:"",id:"cf8505ecdf54062f77507d2277018235a73920f9"},{title:"Double",tags:["double","2"],category:"term",content:"Clearing two lines at a time.",link:"",id:"24811454136cb17fb69357520b1ba1f16630ecb2"},{title:"Triple",tags:["triple","3"],category:"term",content:"Clearing three lines at a time.",link:"",id:"c9077749b29d5a57220bcb3d8fc1fdfe18540223"},{title:"Techrash",tags:["techrash","tetris","4"],category:"term",content:"*Techmino-Exclusive*\\nClearing four lines at a time.",link:"",id:"6b8efca840e689c625a7270fc5dbdb723285a769"},{title:"Tetris",tags:["tetris","4"],category:"term",content:'The name of the game (and its trademark). Also the name for clearing four lines at a time in official games.\\nIt is a portmanteau word coined from Tetra (Greek for \\"four\\" <τέτταρες>, \\"téttares\\") and Tennis (favorite sport of the creator of Tetris). Also, the Tetris games developed by Nintendo and SEGA were licensed by TTC. These two companies do not have the copyright of Tetris.',link:"",id:"873dfd5033decc84fc72a70a39b47e1c4e581960"},{title:"All Clear",tags:["pc","perfectclear","ac","allclear"],category:"term",content:"Also known as Perfect Clear (PC, preferred term by the community and used in Techmino). \\nClearing all minoes within the field.",link:"",id:"489b16d39fce243aaf62c6d74f4c197c5acb0d08"},{title:"HPC",tags:["hc","clear","halfperfectclear"],category:"term",content:"Half Perfect Clear\\nAn extension of Perfect Clear (All Clear) in Techmino. A clear is considered an HPC if it clears all minos including and above the line where the clear is performed. If only one line remains on the board after an HPC, that line must not contain any minos placed by the player. An HPC sends a small attack/defense.",link:"",id:"bc1e4b7d147c9d9d95766190f7f5b40185c45989"},{title:"Spin",tags:["spin"],category:"term",content:"(In some games) Rotating a block to an otherwise unreachable location. In certain games, this manipulation can give extra attacks or scores. Different games may have different mechanisms for the specific criteria for a spin.",link:"",id:"5d9daaaadc5360f91dcebcd62ed10b456e779563"},{title:"Mini (Spin)",tags:["mini"],category:"term",content:'A special type of spin that is considered easier than a regular spin (hence the name \\"EZ Spin\\" found in certain games). Compared to regular spins, mini spins usually have reduced attack or score bonuses. Different games may have different mechanisms for the specific criteria for a mini-spin, and the specific criteria may not be intuitive. We recommend that you memorize only a few common mini spins.',link:"",id:"83667c629d251ffdb7a7ea7cd81539a282680e7c"},{title:"All-Spin",tags:["allspin"],category:"term",content:"A ruleset where spins of all pieces are awarded extra attacks/scores, as opposed to T-spins only.",link:"",id:"2657494a801f1ad107b6092b10ce1d4cb895b384"},{title:"T-Spin",tags:["tspin"],category:"term",content:'A spin performed using the T Tetromino.\\nT-spins are usually determined using the \\"3-corner rule\\": A manipulation is considered a T-spin if the last operation applied to the T tetromino is a rotation and at least three of the four diagonal corners of the rotation are not empty. Some games may have additional rules for mini T-spins (or T-spins mini in some games), which may have reduced attacks/scores.',link:"",id:"33700873f7f2afef78198a6e876b059b6879c2a3"},{title:"TSS",tags:["t1","tspinsingle"],category:"term",content:"T-Spin Single\\nClearing one line with a T-spin.",link:"",id:"901ef2970f68b0cc302bb11f967784b1159e5767"},{title:"TSD",tags:["t2","tspindouble"],category:"term",content:"T-Spin Double\\nClearing two lines with a T-spin.",link:"",id:"967e0e2b36dff67c10606d2762ce8a2fae619c1d"},{title:"TST",tags:["t3","tspintriple"],category:"term",content:"T-Spin Triple\\nClearing three lines with a T-spin.",link:"",id:"3d229e9d3df3b0aa86ddc9d366a8613f9fd8c655"},{title:"MTSS",tags:["minitspinsingle","tsms","tspinminisingle"],category:"term",content:"Mini T-Spin Single\\nAlso known as T-Spin Mini Single (TSMS).\\nClearing one line with a Mini T-Spin.\\nDifferent games may have different mechanisms for the specific criteria for a mini T-spin.",link:"",id:"5f704bfb3825aabdffa348225e8f7c9927dbdd21"},{title:"MTSD",tags:["minitspindouble","tsmd","tspinminidouble"],category:"term",content:"Mini T-Spin Double\\nAlso known as T-Spin Mini Double (TSMD).\\nClearing two lines with a Mini T-Spin. MTSD only exists in a limited number of games and may have very different triggers.",link:"",id:"1d1a0531fc40e78e0282ff3600dc7e3206461365"},{title:"O-Spin",tags:["ospin"],category:"term",content:'Since the O tetromino does not change its shape or position after each rotation, it is usually impossible to remove an O tetromino from a \\"pit\\" or \\"hole\\" once it is stuck. Because of this, a meme about O-spins was created in the Tetris community. Someone once made a viral but fake video showing how to do an O-spin in Tetris 99 and Tetris Friend. The XRS in T-ex allows O tetrominoes to be \\"teleported\\" into a pit or hole. In the TRS of Techmino, O tetrominoes can be rotated in a special way to be teleported or transformed into another tetromino to achieve an O-spin.',link:"",id:"f8c9b4832f550d384ac65a4983c8f23b31184e8e"},{title:"Rotation Systems",tags:["wallkick","rotationsystem"],category:"term",content:'Systems that determine how blocks rotate. In most modern Tetris games, the blocks rotate around a specific center of rotation (but some games may not have it). If any of the minoes overlap with either the wall or blocks on the board, the system will try to move the blocks in certain directions to avoid overlapping. This is known as \\"wall-kicking.\\" A rotation may fail if the offset is too large. Wall kicking allows minoes to move into certain holes that would otherwise be unreachable. Different rotation systems may have different wallkick tables and orders.',link:"",id:"48b1d5f3676d7360ee79d94847e7bed571340c31"},{title:"Orientation",tags:["direction","0r2l","02","20","rl","lr"],category:"term",content:'In SRS or SRS-like rotation systems, there is a widely-accepted (though non-standard) notation for describing the orientations of the blocks:\\n\\nThe original orientation of the block (the orientation of the block when the block is spawned) is denoted as \\"0\\";\\nThe orientation of the block after a 90° clockwise (right) rotation is denoted as \\"R\\";\\nThe orientation of the block after a 90° counterclockwise (left) rotation is denoted as \\"L\\";\\nThe orientation of the block after a 180° rotation is denoted as \\"2\\".\\n\\nUnder this system, 0→L means rotating counterclockwise from the original orientation (0) to L; 0→R means rotating clockwise from the original orientation (0) to R; 2→R means rotating counterclockwise from 2 (180°) to R.',link:"",id:"05f03de5dca6dd54f36b66f248865b53b7584e49"},{title:"ARS",tags:["arikrotationsystem","atarirotationsystem"],category:"term",content:"ARS can refer to one of two rotation systems:\\nArika Rotation System, a rotation system used in the TGM series, or\\nAtari Rotation System, a rotation system that aligns pieces to the top left corner when rotating.",link:"",id:"7b82d3437646732dbf4ab0e435e51d79e5e76a97"},{title:"ASC",tags:["ascension"],category:"term",content:"A rotation system used in the Tetris game Ascension (hence the name ASC). All pieces use the two symmetric wall kick tables for the two rotations. The maximum wall kick offset is about 2 blocks in each of the four directions.",link:"",id:"3c62396860b99367fbd37fccce8f6e4a63efaa46"},{title:"ASC+",tags:["ascension","ascplus"],category:"term",content:"A modified version of ASC in Techmino that adds wall kick offsets for 180° rotations.",link:"",id:"b3ff2fa947dba1f978628fa236016f7ef98cd49c"},{title:"BRS",tags:["bulletproofsoftware"],category:"term",content:"BPS rotation system, the rotation system used in Tetris games by Bullet-Proof Software.",link:"",id:"f11a3a05eaf1cfa31978e3e9c281936c8cf8901e"},{title:"BiRS",tags:["biasrs","biasrotationsystem"],category:"term",content:"Bias Rotation System, an original rotation system used in Techmino based on XRS and SRS.\\nIn BiRS, a special offset is triggered when either the left, right, or softdrop key is pressed and the block touches the minoes or walls in that direction. This adds an extra block of offset in that direction, in addition to the normal offsets in the wall kick tables. If the tests fail, BiRS will attempt to remove the offsets and try again, removing the down offsets first, then the left and right offsets if the first fails. \\nThe special offsets also obey these two rules: the distance of the offset must not exceed √5, and the offset must not be in the opposite direction to that indicated by the keypress.\\nCompared to XRS, BiRS uses only a single kick table, making it easier to memorize, while retaining the climb-over-terrain feature of SRS.",link:"",id:"68a802775c0405bd16a4f3749c399d7bb538c4a4"},{title:"C2RS",tags:["c2rs","cultris2"],category:"term",content:"Cultris II rotation system, a rotation system used in the Tetris clone Cultris II. \\nThe priority of the offsets is left 1, right 1, down 1, down left 1, down right 1, left 2, then right 2, which is shared by all rotations and pieces. Note that left has priority over right in this system.",link:"",id:"7f7f54338ec2ddc8433164f845ab6c7fc1255996"},{title:"C2sym",tags:["cultris2"],category:"term",content:"A modification of C2RS in Techmino. In C2sym, the priority of left and right offsets is optimized based on the specific shapes of the different blocks.",link:"",id:"055199177ed198531b56332690b920a08875dc6d"},{title:"DRS",tags:["dtetrotationsystem"],category:"term",content:"DTET Rotation System\\nThe rotation system used in DTET.",link:"",id:"ea6e4fd09eb379c53dd7d5d41ac7d57b96434df8"},{title:"NRS",tags:["nintendorotationsystem"],category:"term",content:"Nintendo Rotation System, the rotation system used in Tetris games on the Nintendo Entertainment System (NES) and Game Boy consoles.\\nIt has two versions that are mirror images of each other. The left-handed version is used on the Game Boy and the right-handed version is used on the NES.",link:"",id:"e37dfff196934ca5167ace859fdc6cbe57cdfbb2"},{title:"SRS",tags:["superrotationsystem"],category:"term",content:"Super Rotation System. SRS is the most widely used rotation system in modern Tetris games and the basis of many fan-made rotation systems.\\nThere are a total of 8 wall kick tables in SRS, corresponding to the two rotations of the four orientations of each tetromino (note that there are no offsets for 180° rotations). Some offsets are checked if anything overlaps with the tetrominoes.\\nDetails about the SRS Wall Kick Tables can be found on the Tetris Wiki.",link:"",id:"5c2e7d5ea1a1a5ca8b2351067a5aa319ba6ae531"},{title:"SRS+",tags:["srsplus","superrotationsystemplus"],category:"term",content:"An extension to SRS that adds supports for 180° wall kicks.",link:"",id:"302346ed1f932a5e9bd32062016483361c84a654"},{title:"TRS",tags:["techminorotationsystem"],category:"term",content:"Techmino Rotation System, a rotation system used in Techmino based on SRS. TRS added some extra useful wall kicks and fixed the problem with S and Z tetrominoes getting stuck on certain terrains. It also added wall kick tables for pentominoes based on the wall kicks for tetrominoes.\\n\\nTRS supports O-spins, where the O tetrominoes can be transformed into other tetrominoes or teleported into holes by pressing certain keys or buttons.",link:"",id:"8ab10ff5c564b655a41ffc12aff48a7239016214"},{title:"XRS",tags:["xrs"],category:"term",content:"X rotation system, a rotation system used in T-ex.\\nIn many other rotation systems, the wall kick table is fixed, so the block can only choose one direction to offset (which the player may not want). XRS solved this dilemma by altering the wall kick table when a direction key (left, right, or soft drop) is pressed to favor that direction. This makes it easier for the player to control where a block would go after a wall kick.",link:"",id:"67a5ce8bb7cc58a67229f578ff3405c35294a4ed"},{title:"Back to Back",tags:["b2b","btb","backtoback"],category:"term",content:"Or B2B for short. A back-to-back is achieved when two or more Tetrises or spins with line clears are completed without other types of line clears in between. Back-to-backs add extra attacks to these moves. Unlike combos, placing pieces that do not clear lines does not affect back-to-backs.\\nIn Techmino, multiple consecutive back-to-backs are counted as back-to-back-to-backs (B2B2B or B3B, see entry for B2B2B). Techmino also counts consecutive PCs and HPCs as B2Bs or B3Bs.",link:"",id:"8d1b5190043e497944d5181c576234b21f499d75"},{title:"B2B2B",tags:["b3b"],category:"term",content:"Back-to-back-to-back, also known as B3B. A B3B is achieved when many consecutive B2Bs are achieved. A B3B offers even more extra attacks than B2Bs. B3Bs are exclusive to Techmino.",link:"",id:"0ffe87ea83997d8c4c14f045b97aad035f41013a"},{title:"Fin, Neo, Iso",tags:["fin","neo","iso"],category:"term",content:"The names of three special types of T-spins that use special wall kicks of the T tetrominoes. Different games may have different attacks for these T-spins; some games may consider some or all of these T-spins to be mini T-spins. These T-Spins have little importance in real-world combat due to their complex setups.",link:"",id:"39ce2acf927bc79a28c143a0b68aa5e81d90183f"},{title:"Modern Tetris",tags:["modern"],category:"term",content:'A \\"modern\\" Tetris game is a Tetris game that generally follows or resembles the Tetris Design Guideline, but there is no consensus on what constitutes a modern Tetris game.\\nHere are some rules that are generally considered essential in modern Tetris games; games that fulfill most of these requirements can be considered \\"modern\\" Tetris games.\\n\\n1. The visible part of the matrix is 10 wide by 20 high. Usually there are also hidden rows above the 20th row, and most games have a hard limit of 40 high.\\n2. Blocks spawn in the center of the top row of the visible matrix. It is possible to have either the top or bottom side of the block aligned with the top row. Blocks with an odd width will spawn to the left of the center. Each piece has a consistent spawn orientation (usually flat side down) and color.\\n3. An appropriate generator (e.g. 7Bag or His) is present to prevent drought (see the entry for drought).\\n4. An appropriate rotation system with at least two rotations is present. SRS or SRS-like rotation systems are strongly preferred.\\n5. An appropriate lockdown delay system is present.\\n6. An appropriate top-out mechanism is present.\\n7. A Next queue with 3-6 previews (though 1 is also acceptable) of upcoming blocks is present, and the orientations of the blocks in the Next queue match the spawn orientation.\\n8. A Hold function is present.\\n9. A DAS system for precise and swift sideways movements is present.\\n10. IRS and IHS (see entries) are present if spawn delays and line clear delays are present. Techmino also has an IMS (see entry).',link:"",id:"d850880e5544701a44dcb347bc0db272512bbd9d"},{title:"Tetrominos' Shapes",tags:["shape","structure","form","tetromino","tetrimino"],category:"term",content:'In most standard Tetris games, all the blocks used are tetrominoes, i.e. blocks formed by connecting four minoes side by side.\\nThere are a total of seven tetrominoes when considering rotation but not flipping: Z, S, J, L, T, O, and I, named after their similarity to the corresponding letters. \\nSee the entry for \\"Shape & Name\\" for more information.',link:"",id:"24b0e2708bebcfff218180af7d7b92505f3927fd"},{title:"Tetrominos' Colors",tags:["colour","hue","tint","tetromino","tetrimino"],category:"term",content:'The same color scheme is used for most modern Tetris games: red for Z, green for S, blue for J, orange for L, purple for T, yellow for O, and cyan for I.\\nTechmino also uses this \\"standard\\" coloring for the tetrominoes.',link:"",id:"9a1f47c8445c890e38aa9d42fc155e6c846013b5"},{title:"IRS",tags:["initialrotationsystem"],category:"term",content:"Initial Rotation System (Not some government agency that collects your taxes). IRS allows the player to rotate a piece before it is spawned (during the spawn delay) to have the piece pre-rotated when it is spawned. This can prevent game over in some situations.",link:"",id:"50fbf0501e856a78382473923ae686a1588272ef"},{title:"IHS",tags:["initialholdsystem"],category:"term",content:"Initial Hold System. IHS allows the player to hold a piece before it is spawned (during the spawn delay) to swap the next piece with the held piece. This can prevent game over in some situations.",link:"",id:"6b291480a03ba31e64b27d50639da8076d91b2aa"},{title:"IMS",tags:["initialmovesystem"],category:"term",content:"Initial Movement System, a system exclusive to Techmino. IMS allows the player to move a piece sideways before it is spawned (during the spawn delay) to add a one-block offset when the block is spawned. This can prevent game over in some situations.\\nNote that DAS must be fully charged when the piece spawns.",link:"",id:"f9788b77e6ea2fd72d26706c8eb9a356ecbd9efb"},{title:"Next",tags:["nextpreview"],category:"term",content:"A preview that displays the upcoming piece(s). Planning ahead where to place the blocks in the Next queue is essential for improving your Tetris skills.\\nThere is no set number for how many pieces you should plan ahead, and the specifics may vary depending on personal conditions, modes, and the situation in the game. Some players may try to measure this by adjusting the number of next pieces visible in 40L, but the result is generally not representative because of the reason mentioned above.",link:"",id:"f1d8f687b50ea8d3e3ff9c90289ab7066334a699"},{title:"Hold",tags:["hold"],category:"term",content:"A function that allows the player to store the current block in a reserve (if there are no blocks in Hold) or swap the current block with the block in the reserve. Normally, Holds can only be used once per block. Holds allow the player to adjust the order of the blocks and make it easier to build the desired setup.\\nIt can be argued that not using Holds allows a player to concentrate more on the sequences at hand, which could reduce the player's workload. It could also reduce the variety of keys or buttons used during the game, which could increase the KPS. In fact, many world records on 40L are set without Holds. However, some people also argue that Holds are useful for adjusting the upcoming sequence and reducing the difficulty in many circumstances (such as high gravity), allowing the player to achieve more complex setups without significantly increasing the workload, which could reduce the total number of key presses.",link:"",id:"f6fc5fc4057365b81e3d3f8c525b2034723abf2f"},{title:"In-Place Hold",tags:["inplacehold","physicalhold","physics"],category:"term",content:"A special form of hold in Techmino where a block in the Hold is spawned at the same location as the current controlling block, as opposed to a normal Hold where the block is spawned in the top row. It can be enabled in custom games.",link:"",id:"9fafb5d9712bce0cbe31a1e1780421ec160221ee"},{title:"Swap",tags:["hold"],category:"term",content:"Another possible form of Hold. Swaps allow the player to swap the current block with the next block. Normally, Swap can only be used once per block (just like Holds).",link:"",id:"ab3fef4bb1af71de94e73d9099a697d474765370"},{title:"Deepdrop",tags:["shenjiang"],category:"term",content:'A special feature in Techmino that allows blocks to \\"teleport\\" through the minoes to enter a hole. A Deepdrop is activated when the current block hits the bottom and the soft drop key/button is pressed again. When this happens, the system would try to move the current block down until it finds a hole that the block could fit into, and teleport the block there if the hole exists.\\nDeepdrops are more commonly used for experiments and AIs, as they allow AIs to move a block into the appropriate hole regardless of the rotation system.',link:"",id:"cd1d87dfd11e120a14824b4c926f43697f5cc3d2"},{title:"Misdrop",tags:["md","misdrop"],category:"term",content:"Or MD for short. Accidentally placing (dropping) a block in an unintended location.",link:"",id:"f60f2ff314867ab42723088e076f99cad48e6d80"},{title:"Mishold",tags:["mh","mishold"],category:"term",content:"Or MH for short. Accidentally pressing the Hold key/button. This could result in the loss of the chance to achieve a PC or game over.",link:"",id:"28f84a85f6e014bdad9521f8a9f55d4d1ecc461c"},{title:"sub",tags:["sub"],category:"term",content:'A sub-[number] time means that the time is below a certain milestone. The unit of time is often omitted and inferred. For example, a \\"sub-30\\" for a 40-line sprint means under 30 seconds, and a \\"sub-15\\" for a 1000-line sprint means under 15 minutes. \\"Sub\\" is generally used with a round number (so expressions like \\"sub-62\\" are rarely used).',link:"",id:"90245bab61be90c8341d6230c0b2efef3d4ad9ac"},{title:"Digging",tags:["downstacking","ds"],category:"term",content:"Clearing garbage lines entered from the bottom of the field. Also known as downstacking (DS).",link:"",id:"0302bb7d296316fb2a37431841983bddf9d0d997"},{title:"Donation",tags:["donate"],category:"term",content:'Converting a hole or well (usually originally intended for Tetrises) into a T-spin setup by \\"plugging\\" it. Donation is an advanced skill for maintaining or increasing attacks. After the T-spin, the hole would open again to allow the continuation of Tetris or another donation. Plugging a hole or well not intended for Tetrises is also sometimes colloquially referred to as \\"donation.\\',link:"",id:"bb02e31b7a7959be0d2d9d7359c35d97dee10187"},{title:"Debt",tags:["qianzhai","debt","owe"],category:"term",content:'A term more commonly used in the Chinese Tetris community. A situation where you can only start making T-spins after the setup is completed (and no T-spins can be made before the setup is completed). It is important to observe the opponent before building a setup that could lead to a \\"debt\\" situation during the building process (or this could lead to a game over).\\n\\nThis term is commonly used to describe setups like TST towers where no real attacks can be made before the build is complete.',link:"",id:"1cb18aafb1a99e95eed99fca5d28f753612df424"},{title:"Attack & Defend",tags:["attacking","defending"],category:"term",content:"Attacking: Sending garbage lines to the opponent by performing special line clears (i.e. not singles).\\nDefending: Canceling the incoming attack by making special line clears.\\nCounterattacking: Sending attacks back to the opponent after canceling all incoming garbage lines.\\nIn most Tetris games, attacking and defending are equivalent.; an outgoing attack cancels an incoming garbage line.",link:"",id:"a5d0a3dfc08f2e79068e5060d9beee33df0f2c43"},{title:"Combo",tags:["ren","combo"],category:"term",content:'Achieving consecutive line clears without dropping a block that does not clear a line in between. Combos are usually counted from the second line clear (1 combo). Different games may have different attacks for combos.\\nAlso called \\"REN\\" in the Japanese Tetris community, from the Japanese kanji <連> (れん, ren).',link:"",id:"a2c1355a2eed3e853bfac2d5de58b8f0c8ebe846"},{title:"Spike",tags:["spike"],category:"term",content:"Sending large attacks in a short period of time. Techmino and TETR.IO all have spike counters that show how many attacks are sent in that time period.\\nAccumulated releases of attacks due to Internet latency are typically not considered spikes.",link:"",id:"4f5a13593d0edd6945f447b0f2a7ac7e2707b2fc"},{title:"Side well",tags:["ren","combo","sidewell"],category:"term",content:'A special stacking method where a \\"well\\" of a certain width (usually 2- to 4-wide) is built on the side of the field. A decent way to get combos for new players to send attacks. \\nHowever, side wells are prone to top-outs when the player is building the stack and the opponent sends a big attack; the efficiency of side wells is also less than ideal. Advanced players usually do not rely on side wells as the only way to send attacks. Instead, they may build side wells after building a T-spin setup and when the opponent is unlikely to send an attack shortly. In this situation, side wells can be used to increase instant attacks.',link:"",id:"8dfd0d8dfb9c98167821355cf3544b278fcd89b5"},{title:"Center well",tags:["ren","combo","centerwell"],category:"term",content:"A special stacking method that leaves a well of a certain width in the center of the field. This allows the player to make combos without the risk of topping out as in side wells if the well is wide enough.",link:"",id:"111a6f5b9755b27b2d79ac15896a337e938b4eea"},{title:"Partial well",tags:["ren","combo","partialwell"],category:"term",content:"A special stacking method that leaves a well of a certain width in a position between the center and the sides of the field.",link:"",id:"3eaba1b96b2d0778c487b6277e6db8b7fdcb3c7b"},{title:"Side 1-wide",tags:["s1w","side1wide","sidewelltetris"],category:"term",content:'Or S1W for short. Leaving a one-block-wide well on the side of the field, a classic way to make Tetris.\\nNew players can use S1Ws to make Tetrises, as they can produce decent attacks in a short time period. However, it is less commonly used by advanced players due to its low efficiency and susceptibility to incoming attacks during setup, which could lead to a game over; these players may only use S1W when the situation is very suitable for the setup.\\n\\nAlso known as \\"side well Tetris.\\',link:"",id:"bc0c0dbed99fd61372bcbb87284ff132f953603d"},{title:"Side 2-wide",tags:["s2w","side2wide"],category:"term",content:"Or S2W for short. Leaving a two-block-wide well on the side of the field, a common combo setup.\\nS2Ws are easy to build and can create relatively long combos when used with Holds. However, it is less commonly used by advanced players due to its long setup time, susceptibility to incoming attacks during that time, and its relatively low efficiency. This can result in fewer combos or even top-outs.",link:"",id:"fb18e93b0a693cbef4609659daf1714d99d3a162"},{title:"Side 3-wide",tags:["s3w","side2wide"],category:"term",content:"Or S3W for short. Leaving a three-block-wide well on the side of the field, a less common combo setup.\\nAlthough it can produce more combos than S2W, S3W is prone to breaking the combo.",link:"",id:"46e7c422a59938f5d9b0b23008df93feadb2c537"},{title:"Side 4-wide",tags:["s4w","side4wide"],category:"term",content:"Or S4W for short. Leaving a four-block-wide well on the side of the field. A common combo setup.\\nIn addition to producing very long combos, S4W requires a shorter setup time compared to other well setups. This allows the player to produce a long combo before the opponent sends attacks. Compared to C4W (see entry), S4W is more balanced because the player can be topped out during setup.",link:"",id:"c5b6dbb14894c93f7fc9c79d2079aafc447c4531"},{title:"Center 1-wide",tags:["c1w","center1wide","centerwelltetris"],category:"term",content:'Or C1W for short. Leaving a one-block-wide well at the center of the field.\\nA useful setup for both Tetrises and T-spin doubles that is not difficult to build.\\n\\nAlso known as \\"center well Tetris.\\',link:"",id:"7465ba018bc6eed61a4449e00cbe6ea208f20623"},{title:"Center 2-wide",tags:["c2w","center2wide"],category:"term",content:"Or C2W for short. Leaving a two-block-wide well at the center of the field.\\nA possible but uncommon combo setup.",link:"",id:"90dab11c89a910239eed4507cc26fddabf223cc6"},{title:"Center 3-wide",tags:["c3w","center3wide"],category:"term",content:"Or C3W for short. Leaving a three-block-wide well at the center of the field.\\nA possible but uncommon combo setup.",link:"",id:"425bb84cf103341dc42b57d13e72fb684115fa48"},{title:"Center 4-wide",tags:["c4w","center4wide"],category:"term",content:"Or C4W for short. Leaving a four-block-wide well at the center of the field.\\nA setup that can produce an obscene amount of combos if used well.\\nThis infamous combo setup is relatively easy to build, has a strong defense against incoming attacks by exploiting the death conditions of many modern Tetris games, and is extremely biased in favor of the player building it. Many players dislike or even despise this technique for these reasons. Use this technique with caution in real world battles.",link:"",id:"89d450dcdb461bd385e2d4bd29110d3ba10ee27e"},{title:"Residual",tags:["c4w","s4w"],category:"term",content:"This term refers to the number of block(s) left in the well in a 4-wide combo setup. Long combos are often achieved using a 3-residual (3-res) or 6-residual (6-res) setup.\\n3-res is easier to learn because it has fewer variations and a good chance of producing long combos.\\n6-Res is more variable and harder to learn but can produce longer combos than 3-Res if executed well.\\n\\nIn general, the order of priority for these setups in combat is 6-Res, then 3- and 5-Res, and then 4-Res.",link:"",id:"d6af6d97859b2612ce5fc2653c9ddf5036fb8c99"},{title:"6–3 Stacking",tags:["6-3stacking","63stacking","six-three","sixthree"],category:"term",content:"A special stacking method where a six-block-wide stack is placed on the left side of the board and a three-block-wide stack is placed on the right side of the board, resulting in a one-block-wide well off-center.\\nThis method could reduce the number of keypresses for a skilled player and is popular in sprint modes to increase speed. The reason for this have to do with the fact that blocks spawn with a bias to the left. Notice that this method may increase keypresses for beginners.",link:"",id:"eb2fcbe49f9d1cc78ad414c33cf2966b8c7ff49a"},{title:"Freestyle",tags:["ziyou"],category:"term",content:"A term commonly used for TSD challenges. This term means completing a certain number of T-spin doubles in a challenge without using a fixed stacking setup. Compared to such setups such as LST, freestyles are more difficult and more representative of a player's T-spin skills in real-world battles.",link:"",id:"8eea92e6c5974836aa4076c88e09f2924d5ded01"},{title:"Topping out",tags:["die","death","topout","toppingout"],category:"term",content:"Many modern Tetris games use three death conditions. Triggering any of them would result in a game over.\\n1. Block out: the newly-spawn block overlaps with existing blocks in the field.\\n2. Lock out: the block locks entirely above the visible portion of the field.\\n3. Top out: the total height of the block stack exceeds a certain amount (usually 40). This is often caused by incoming garbage lines.\\n\\nTechmino does not use the lock out and top out mechanisms by default.",link:"",id:"b60e1815dfc9542bf93d71c17456e82bad369e09"},{title:"Buffer zone",tags:["above","super","invisible","disappear"],category:"term",content:'A zone above the visible part of the field, usually from the 21st to the 40th line.\\nThe buffer zone exists because blocks on the sides may exceed the visible field after a large number of garbage lines enter the field. These blocks would return to the visible field once the garbage lines are cleared.\\nBuffer zones are usually 20 lines high, but some games may have infinite buffer zones.\\n\\nSee also the entry for \\"Vanish Zone.\\',link:"",id:"54625bca607240177cc93583ebbc4139e8448087"},{title:"Vanish zone",tags:["disappear","gone","cut","die"],category:"term",content:"An area above the buffer zone, usually above the 40th line. Blocks usually enter the vanish zone through a combination of C4W and a large influx of garbage lines. When a block reaches the vanish zone, a top-out is usually triggered, ending the game.\\nDifferent games may have different behavior for the vanish zones. In Jstris, the vanish zone is above the 22nd line, and any blocks locked above the 21st line will disappear. Some games that have poorly designed buffer zones may behave unexpectedly or even crash when a block enters the vanish zone (e.g. Tetris Online).\\n\\nClick or tap the globe icon to open a video demonstrating a vanish zone bug in Puyo Puyo Tetris, where blocks reaching the vanish zone are copied infinitely when they return to the visible area.",link:"https://youtu.be/z4WtWISkrdU",id:"5c41dccc057da0f4cfc1301c44f5099f7983bbcc"},{title:"Falling speed",tags:["fallingspeed","gravity"],category:"term",content:'The speed at which blocks move down. It is usually measured in the unit \\"G\\", which is the number of line(s) the block falls down in one frame, usually assuming a frame rate of 60 fps. For example, a block is said to have a falling speed of ¹⁄₆₀ G if it falls down one row per second. The maximum speed of modern Tetris is 20 G (since there are 20 lines in the visible field). \\nIn Techmino, speed is also described as the number of frame(s) it takes for a block to move down one line. A speed of 60 corresponds to one line per second or 1 G in this system.\\nIn practice, the term \\"20G\\" usually refers to \\"infinite speed.\\" See the entry for \\"20G\\" for more information.',link:"",id:"205d98d9b1f82e738601bf0563722d148ce6aef2"},{title:"20G",tags:["gravity","instant"],category:"term",content:'The highest falling speed in modern Tetris. In 20G modes, blocks appear instantly at the bottom of the screen without the process of falling.\\nAlthough the term may suggest a falling speed of 20 blocks per frame, 20G usually implies an infinite speed.\\nAlso, in 20G modes, falling movements have higher priority than any other user input; for example, even if the ARR is set to 0, the block would still fall straight down before moving sideways. This makes it impossible to make a block climb over a \\"hill\\" or jump out of a \\"pit\\" in some situations.',link:"",id:"80ef56f897fd0246756dacbc9b49127fc1f84a80"},{title:"Lockdown Delay",tags:["lockdelay","lockdowndelay","lockdowntimer"],category:"term",content:"Or LD for short. The delay between when the block touches the ground and when it locks (can no longer be controlled). In classic Tetris games, this delay is usually the same as the time it takes for a block to move down a row, and is independent of player input. In modern Tetris games, this delay is usually more variable and is reset after the block moves or rotates. In many games, the resets have an upper limit (usually 15 times).",link:"",id:"7d564fa7375cf771b8f8eaab3b45df1712d328ce"},{title:"ARE",tags:["spawn","appearance","delay"],category:"term",content:'Also called entry delay. This term refers to the delay between when a block locks down and when another block is spawned.\\n\\nThe word \\"ARE\\" is not an acronym or initialism. It derives from the Japanese word <あれ> (a-re), meaning \\"it\\" or \\"that.\\',link:"",id:"349e2a410c1fadbc3bd2b1cf79ce2b06618e2bfe"},{title:"Line ARE",tags:["appearance","delay"],category:"term",content:"The delay between the start of a line clear animation and the spawning of the next block.",link:"",id:"65eaf46ca8a6f0b3cc2c3396cef9c48de0790528"},{title:"Death ARE",tags:["die","delay","dd"],category:"term",content:"A special mechanism that can prevent game over in some cases. A death ARE is triggered when a newly spawned block would overlap with existing blocks (resulting in a block out). When this happens, an additional delay is added to the (spawn) ARE to allow the player to use IRS, IHS, or IMS to prevent a game over.\\nOriginally proposed by @NOT_A_ROBOT.",link:"",id:"f848cce45f49f75e1a0767b36e78dc0737cc90a4"},{title:"Finesse",tags:["finesse"],category:"term",content:`A technique that moves a block to the desired location with the minimum number of keypresses. Finesse usually doesn't consider locations that require soft drops to move into. Finesses save time and reduce the chances of misdropping a block.\\nFinesse is an essential skill in playing Tetris. We recommend that you start learning finesse as soon as possible. You can find videos about finesse on YouTube. Start by learning the basics and then start practicing, keeping accuracy as the first priority before speeding up.\\nNote that in Techmino, finesses are not exactly \\"the theoretically simplest keystroke sequence it takes to move a block to a particular location.\\" Finesses are only detected when a piece locks into a position that does not require soft drops, so the finesses strikes are not reset after a spin or a tuck.\\nIn Techmino, the finesse rate (%) is defined as 100% (Perfect) when the number of keypresses is equal to or less than the standard reference, 50% (Great) when one keypress is above the standard, 25% (Bad) when two keypresses above, and 0% (Miss) when three or more keypresses above. A Bad or Miss breaks the finesse strike.\\nFinesse is usually not considered in conditions such as locations that require soft drops, high gravity, or very high fields. The finesse counter also works the same in Techmino regardless of gravity (even in 20G modes), so the result may not be meaningful in high gravity conditions.`,link:"",id:"4f97b8462d8b08e876e39f6feb92f96975b89a13"},{title:"Researching",tags:["scientificresearching"],category:"term",content:"(<科研>, ké yán) A commonly used term in the Chinese Tetris community, referring to the act of experimenting or practicing advanced techniques (such as new T-spin setups) in a low-stress game mode. Techmino uses this term to refer to modes that require spins almost all the way.",link:"",id:"f733370715a815eb3bfce3ea03b86276eab1f103"},{title:"Keymapping",tags:["feel"],category:"term",content:"Here are our recommendations for configuring your key mappings.\\n\\n1. Avoid assigning a finger or thumb to multiple keys that may be pressed at the same time. We recommend assigning the rotation keys to one finger (since they are not typically pressed together) and one key for each of the other fingers.\\n2. Unless you are very confident, avoid assigning keys to your little fingers (because they are less agile than your other fingers or thumbs).\\n3. It's not necessary to copy someone else's key mapping. Everyone is different, and key mappings shouldn't really affect your skills if you follow rules 1 & 2.",link:"",id:"b9cedaa49f53d1225372a71a43cd8f27f33112fe"},{title:"Handling",tags:["feel","handling"],category:"term",content:"Here are some common factors that can affect handling.\\n\\n1. Input latency, which depends on device conditions and configurations. It can be reduced by rebooting or changing your devices.\\n2. Program stability, which depends on the game's programming and design. It can be alleviated by lowering graphics quality and disabling visual effects.\\n3. Intentional designs by the game.\\n4. Incorrect parameter settings. It can be alleviated by fine-tuning these parameters.\\n5. Physical postures. Try moving to a more comfortable position.\\n6. Recent changes to your devices or keyboard mapping.\\n7. Muscle fatigue, decreased responsiveness, or decreased coordination. Try resting or returning in a few days.",link:"",id:"b9a97b14e2e11e176a511e19049092d54e0f3217"},{title:"DAS & ARR (simple)",tags:["das","arr","delayedautoshift","autorepeatrate"],category:"term",content:`Imagine typing on a keyboard and holding down the \\"O\\" key to get a string of o's on the screen. On a timeline, it would look like o————o-o-o-o-o-o-o-o-o…, where the \\"————\\" part can be considered as DAS, and the \\"-\\" part can be considered as ARR.`,link:"",id:"a682e4737de91d58112414fbb9f9fde206195c7d"},{title:"DAS & ARR",tags:["das","arr","delayedautoshift","autorepeatrate"],category:"term",content:"DAS refers to Delayed Auto-Shift, the delay between when a block moves one block sideways and when the block begins to move automatically.\\nARR refers to Auto-Repeat Rate, the delay between each of the above automatic movements.\\nDAS and ARR are measured in f (frame, ¹⁄₆₀ s at 60 fps) or ms (millisecond). 1 ms is equal to 16²⁄₃ frames.",link:"",id:"7608dd8eac382e68b86388e11dcb45940d8c14a7"},{title:"DAS tuning",tags:["das","tuning"],category:"term",content:"For relatively advanced players who want to increase their speed, we recommend a DAS of 4–6 f (67–100 ms) and an ARR of 0 (blocks move to the wall immediately after DAS). If this is too fast for you, try increasing the DAS a bit, but keep the ARR below 2 f (33 ms). In general, DAS should be kept as low as possible so that taps and holds can be distinguished; ARR should be kept to a minimum (if not zero).",link:"",id:"6d6f643162cb3b8b8ac0cc6cc2fe7a6b2dd0e22d"},{title:"DAS cut",tags:["dascut","dcd"],category:"term",content:"A special delay applied to DAS when a new block is spawned. When this happens, a small delay is added before the DAS starts timing, so that a piece doesn't start moving immediately when a sideways direction key is pressed.\\nOther games may have similar mechanisms, but they may work differently.",link:"",id:"f1572d92a202c3b765675fc16f05387529934e47"},{title:"Auto-lock cut",tags:["autolockcut","mdcut"],category:"term",content:"A feature in Techmino that prevents a block from being misdropped after a new block is spawned. Hard drops will be disabled for a short time after the previous block has been locked.\\nOther games may have similar mechanisms, but they may work differently.",link:"",id:"f4b36fb1760d2f061153e1dcb699c890c5de34bf"},{title:"SDF",tags:["softdropfactor"],category:"term",content:"Soft Drop Factor, a number describing the relative speed of soft drops in some games. In many modern Tetris games, soft drops are realized by speeding up the natural drop by a constant factor (SDF). Guideline Tetris games usually have an SDF of 20, i.e. the soft drop speed is 20 times the natural falling speed.\\nTechmino uses a constant soft drop speed (described by ARR) instead of the SDF to determine soft drop speeds.",link:"",id:"0c1a2da50ac9dcd8ad674794c7981f5c2ee2a405"},{title:"Shape & Names",tags:["mino"],category:"term",content:"Here is a list of the all the blocks used by Techmino and their corresponding names:\\nTetrominos:\\nZ: ``, S: ``, J: ``, L: ``, T: ``, O: ``, I: ``;\\n\\nPentominos:\\nZ5: ``, S5: ``, P: ``, Q: ``, F: ``, E: ``, T5: ``, U: ``, V: ``, W: ``, X: ``, J5: ``, L5: ``, R: ``, Y: ``, N: ``, H: ``, I5: ``;\\n\\nTriminos, Domino, and Monomino:\\nI3: ``, C: ``, I2: ``, O1: `.",link:"",id:"913a43b8dad4d88abf2cecc8978b7021ff6c663d"},{title:"Bag7 generator",tags:["bag7bag","randomgenerator"],category:"term",content:'Also known as \\"7-bag generator,\\" officially known as \\"random generator\\". The algorithm (generator) used by most modern and official Tetris games to generate the sequence of blocks. In Bag7, the sequence of blocks is divided into groups (bags) of 7 blocks. Each bag must contain all seven tetrominoes, but the order is random. This system prevents the uneven spawning of certain blocks in the long run.\\n\\nAn example of a Bag7 block sequence would be ZSJLTOI OTSLZIJ LTISZOJ.',link:"",id:"6d9c71eb6a57501393a43f83f2e0a8e09fa4492f"},{title:"His generator",tags:["history","hisgenerator"],category:"term",content:`An algorithm (generator) used to generate the sequence of blocks, most commonly used in the TGM series. In the HIS generator, each block is first generated (rolled) randomly, and a check is made to see if this block is the same as one of the few previous blocks. If it is, the process is repeated (rerolled) until a different block is generated or an upper limit is reached.\\nThe His generator is usually described using the format\\"His [number] Roll [number],\\" where the first number is the number of previous blocks checked by the generator, and the second number is the upper limit of the number of rerolls. For example, a \\"His 4 Roll 6\\" (or \\"h4r6\\") randomizer rerolls if the block is the same as any of the previous 4 blocks and up to 6 times before moving on to the next block.\\nIn Techmino, the maximum number of rerolls is half the number of blocks checked by the randomizer (rounded up for non-integers). \\n\\nThe His randomizer is an improved version of the simple randomizer and reduces the chances of consecutive S's or Z's.`,link:"",id:"ab36b0721b5150285460f4114632a7ac32dbd641"},{title:"HisPool generator",tags:["hisPool","history","pool"],category:"term",content:`History Pool Randomizer, a derivative of the His generator. It added a \\"pool\\" mechanism from which the new blocks are spawned, as opposed to the simple random generator used by His. HisPool also increases the probability of spawning a block with the lowest presence.\\n\\nThis mechanism stabilizes the sequence and ensures that a drought (see entry) doesn't last forever. The stability of HisPool lies between His and Bag.`,link:"",id:"5bac08ced59bb2ea7e301905331016233d01b5c4"},{title:"bagES generator",tags:["bages","easy","start"],category:"term",content:"Bag Easy-Start, a derivative of the bag generator used in Techmino. The first block in the first bag will not be S, Z, S5, Z5, F, E, W, X, N, or H, which can be difficult to place at the beginning of the game.",link:"",id:"5405416adcd999f523c13847c867bc953a50e348"},{title:"Reverb generator",tags:["reverb"],category:"term",content:"A generator used in Techmino, derived from the Bag generator. The Reverb generator repeats each block several times based on the sequence of the Bag Generator. The probability of repetition decreases with the previous presence of that block. The theoretical number of repetition(s) ranges from 0 to 6.",link:"",id:"e666cf860bf1987ebd5b590694bb2fc5562cfc14"},{title:"C2 Generator",tags:["cultris2generator","cultrisiigenerator","c2generator"],category:"term",content:"The generator in Culturis 2 uses the following algorithm to generate block sequences:\\n1. Set the weight of all tetrominoes to 0 at the beginning of the game.\\n2. Divide all weights by 2, then add a random number (0-1) to all weights.\\n3. Pick the tetromino with the highest weight, then divide that tetromino's weight by 3.5.\\n4. Repeat from step 2.",link:"",id:"0a5ae9089bd85bf9e36c70bc8c67fedaf480d855"},{title:"Hypertapping",tags:["hypertapping"],category:"term",content:`A technique commonly used in classic Tetris. It involves rapidly vibrating your finger on a button to get a faster sideways movement than simply holding down the button. This is because most classic Tetris games have long, non-adjustable DAS, where tapping the button quickly is faster than waiting for the automatic movements. Hypertapping is also used in Tetris games with long, non-adjustable DAS. However, it's not necessary in most modern Tetris games because they have adjustable DASs and ARRs. A person who can use this technique is called a \\"hypertapper.\\`,link:"",id:"7f55567f8365492d7d89e5263bae13ddfd7dd110"},{title:"Rolling",tags:["rolling"],category:"term",content:"Another technique used in classic Tetris to achieve fast sideways movement under high gravity (~1 G).\\nThis technique involves partially resting the controller (or keyboard) on a surface (or your legs) with one finger or thumb on the button, and then rapidly tapping the back of the controller with the fingers of the other hand to achieve very fast key presses. This allows the player to achieve an even faster speed than hypertapping (see entry) with less effort.\\nThis method was first discovered by @Cheez-fish, who once reached a tapping speed of over 20 Hz. ",link:"",id:"381abe335e93ab95004c62e97449800ddf3fb81b"},{title:"Passthrough",tags:["pingthrough"],category:"term",content:"A situation where both players' attacks are sent to the opponent's board without canceling out in combat.\\nIn TETR.IO, if passthrough is enabled in custom games, it will be triggered within a short time after the opponent's attack. During this time, the player's attack is passed to the opponent without canceling the incoming attack. A player can wait for the timeout if that player wants to actually clear the garbage lines.\\nPingthrough, a related term, refers to a situation where an accidental passthrough occurs due to Internet delays. A Tetris game with only basic support for Internet battles may experience pingthroughs.",link:"",id:"df7b059100be419ab627bfadbc922d138496657a"},{title:"Tetris OL attack",tags:["top","tetrisonlineattack"],category:"term",content:"- Singles, doubles, triples, and Tetrises send 0, 1, 2, and 4 attacks respectively.\\n- T-spin singles, doubles, and triples send 2, 4, and 6 attacks respectively; the attack is halved if it is a T-Spin Mini.\\n- Combos add the following number of attacks (starting with 1 combo) 0, 1, 1, 2, 2, 3, 3, 4, 4, 4, 5, etc.\\n- Back-to-backs add 1 extra line of attack (3 if it is a TST).\\n- Perfect Clear adds 6 extra lines of attack. Note that these 6 lines are immediately sent to the opponent without canceling incoming attacks.",link:"",id:"005a7c5f67a30ee4498db0018a8db3c93b9c540b"},{title:"Techmino attack",tags:["techminoattack"],category:"term",content:"See the User Guide in the lower right corner of the home page.",link:"",id:"71e2c71f28dcfc49b7f601bcecb47b50f36ebb55"},{title:"Stacking",tags:["stacking"],category:"term",content:"Stacking the tetrominoes without leaving any holes. An essential skill that requires a good next-reading ability. It can be practiced by playing 40L with only Tetrises and no Hold.",link:"",id:"3e8b953a8419c105e1f64a0d1181d1dea10781dc"},{title:"Rotation buttons",tags:["doublerotation","triplerotation"],category:"term",content:"Using both rotation buttons (clockwise and counterclockwise) would reduce the number of keystrokes, since rotating three times in one direction is the same as rotating once in the opposite direction. This is also a prerequisite for learning finesse.\\nBy using all three rotation buttons (adding 180° rotation), one can use one keypress to rotate any block into its desired orientation (when spins are not considered). \\nHowever, we do not recommend that you spend too much time practicing with all three rotation buttons. This is because not all Tetris games have 180° rotations, and using three rotations would not increase your speed significantly compared to using just two. It is not a necessary skill unless you want to pursue extremely high speed.",link:"",id:"5eb2e8c6610f57b15de914409e168d8678fd525e"},{title:"Drought",tags:["drought"],category:"term",content:"A situation in which a block desired by a player does not spawn for a long time. This usually refers to I tetrominoes (the long bar) in classic Tetris games, since they often use a simple random generator.\\nIn most modern Tetris games, droughts are impossible because of the Bag7 generator (see entry). With the Bag7 generator, the maximum distance between two identical blocks is 13.",link:"",id:"de3322bcc2a57ff2077da77926f37dd42fd7d531"},{title:"Bone block",tags:["bone","tgm"],category:"term",content:'The block skin used by early versions of Tetris.\\nMany early computer systems used command line interfaces as the main way for a user to interact with the computer. This is similar to the Command Prompt in Windows, the Terminal in MacOS, and the Console in Linux. These computer systems can only display text and icons on the screen. Because of this limitation, many early versions of Tetris used a pair of brackets [ ] to represent a single mino. This is called a \\"bone block\\" because of its appearance.\\nIn Techmino and many other modern Tetris games, a bone block is a single but distracting block skin used by all blocks. Different block skins may come with their own bone block designs.',link:"",id:"612ec806b0212de8c33c7849db89cf7921305aca"},{title:"Semi-invisible",tags:["half","invisible","semi"],category:"term",content:"A rule where blocks become invisible after a certain amount of time after locking down. This time interval doesn't have to be a fixed value.",link:"",id:"772fe38d6c7282941520475509279f88d4cd11c8"},{title:"Invisible",tags:["invisible"],category:"term",content:'A rule where blocks disappear immediately after locking down. A disappearing animation can also be present, but it would reduce the difficulty of the game. In Techmino, invisible modes without this animation are called \\"sudden invisible.\\',link:"",id:"ebee4647097ebcde67f7476561b47ef02f16f239"},{title:"MPH mode",tags:["mph"],category:"term",content:"A game mode. MPH is an initialism for Memoryless (the mode uses a simple random generator), Previewless (no next queue), Holdless (no hold). This mode challenges the player's reaction speed.",link:"",id:"867143c6f4fe150954b1c03a3e4f052419ae5f7f"},{title:"Input delay",tags:["input","delay"],category:"term",content:"Regardless of the specific input device, all inputs would take some time to reach the game, usually ranging from a few to a few tens of milliseconds. If the input delay is too large, the controls will become noticeably jerky and interfere with the gaming experience. This effect can be seen in games such as Tetris Online or Tetris Effect.\\nInput delay is usually influenced by hardware performance and usage, which usually cannot be eliminated. Turning off low-power mode and turning on performance or gaming mode on your devices can help alleviate this problem.",link:"",id:"af0b93e9d1405a3d40966d52cf65c6c97a09aeef"},{title:"Secret Grade",tags:["larger","than"],category:"term",content:'An easter egg mode from the TGM series. In a \\"secret grade\\" gameplay, the player tries to make a \\">\\" shape (with a hole in each line) on the board. The goal is to complete the shape with 19 lines.\\nClick on the globe icon to open a web page with techniques to help you achieve the secret grade.',link:"https://harddrop.com/wiki?search=Secret_Grade_Techniques",id:"fa5be3452195cb4c64bc484187d16e3b7ff826e8"},{title:"Cold Clear",tags:["cc","coldclear","ai","bot"],category:"term",content:"A Tetris bot originally developed by MinusKelvin for Puyo Puyo Tetris. The Cold Clear build used in Techmino also supports all spins and TRS.",link:"",id:"82effb328f058f0c9c688fd3bd6efac733ffc2de"},{title:"ZZZbot",tags:["ai","bot","zzztoj"],category:"term",content:"A Tetris bot developed by the Chinese Tetris player Zòu Zhī Zhāng (<奏之章>) and has good performance in many games.",link:"",id:"05333e02ab6b243b185cfe8cabd36f0023bbffe8"},{title:"Openers",tags:["setup","openers"],category:"setup",content:"A fixed setup that can be built at the beginning of a game. Technically, an opener setup can also be built mid-game, but it may require different block placements.\\n\\nA good opener usually meets at least two of the following criteria:\\n- Can adapt to different block sequences.\\n- Has a strong attack and minimal T-block waste.\\n- Does not require too many soft drops; most operations can be accomplished with finesse.\\n- Has clear follow-up strategies with few branches.\\n\\nNote that most openers are designed based on the Bag7 generator because of its predictability. They may not work properly with other generators.",link:"",id:"e7099b61ef50965da5215bcc48163a36951e7971"},{title:"DT Cannon",tags:["dtcannon","doubletriplecannon"],category:"setup",content:"Double-Triple Cannon.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=dt",id:"825f400c22ff321ee14cb6c24bbdec79eb7679ed"},{title:"DTPC",tags:["dtcannon","doubletriplecannon"],category:"setup",content:"A follow up to DT Cannon that ends with a perfect clear.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=dt",id:"00ea1c8b138ca0e94b30eb70514241c954374143"},{title:"BT Cannon",tags:["btcannon","betacannon"],category:"setup",content:"Beta (β) Cannon.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=bt_cannon",id:"32c882a5452d010f3b318eacb459bbd888c570b9"},{title:"BTPC",tags:["btcannon","betacannon"],category:"setup",content:"A follow-up to BT Cannon that ends with a perfect clear.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=bt_cannon",id:"ffc52c269d5306b4abe069c7dfb34ba6058e713e"},{title:"TKI 3 Perfect Clear",tags:["ddpc","tki3perfectclear"],category:"setup",content:"A TSD opener that leads to a sequence of Double–Double–Perfect Clear.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=TKI_3_Perfect_Clear",id:"359c94332c19bc4ae7d3b27e1e8466354b8e468a"},{title:"QT Cannon",tags:["qtcannon"],category:"setup",content:"A DT Cannon-like setup with a higher probability of sending a TSD–TST attack.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=QT_cannon",id:"56a69c656d51244f3988cf1263f22bebaba8842d"},{title:"Mini-Triple",tags:["mt","minitriple"],category:"setup",content:"A Mini T-Spin—TST setup.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=mt",id:"3bd99182008224ed25add58cc10a3e41173134e4"},{title:"Trinity",tags:["trinity"],category:"setup",content:"A TSD + TSD + TSD or TSMS + TST+ TSD setup.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=trinity",id:"8a966740d196e0ba079bb2b47ab68d3e3aace2c5"},{title:"Wolfmoon Cannon",tags:["wolfmooncannon"],category:"setup",content:"An opener.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=wolfmoon_cannon",id:"fddffb96cf2eda7128b93daf4700245840df6a51"},{title:"Sewer",tags:["sewer"],category:"setup",content:"An opener.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=sewer",id:"b79d47b6d03b962bcbd5cc75ace4bc9c6f4190b2"},{title:"TKI",tags:["tki-3","tki3"],category:"setup",content:"TKI-3. It can refer to either a TKI-3 starting with a TSD or a C-spin starting with a TST.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=tki_3_opening",id:"43886079c0f13610faaf00d9ca7dee5f55f76031"},{title:"God Spin",tags:["godspin"],category:"setup",content:"A setup invented by @windkey that looks fancy but has limited real-world combat value.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=godspin",id:"1dbd09ba25834a7281a7758d9e4a90d41afab3bd"},{title:"Albatross",tags:["albatross"],category:"setup",content:"A fancy, fast paced opener with a sequence of TSD-TST-TSD-Perfect Clear that hardly wastes any T blocks.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=Albatross_Special",id:"62e12e5df8c9ee006b58432b4f2a68ed115b31c9"},{title:"Pelican",tags:[],category:"setup",content:"An Albatross-like opener that can be used when the block sequence does not allow the Albatross setup.",link:"https://harddrop.com/wiki?search=Pelican",id:"6a9ca12c5d2ee32bff38b69550ee9e1f1b782bb2"},{title:"Perfect Clear Opener",tags:["7piecepuzzle"],category:"setup",content:"A perfect clear opener that is easy to set up and has a high success rate (~84.6% with an I in the hold and ~61.2% otherwise). This opener is included in the PC training modes of Techmino (the one with the irregular empty space). \\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=Perfect_Clear_Opener",id:"c8a0f5bb27cc9fdd2db40c164c4cb9aedfe1d7a2"},{title:"Grace System",tags:["liuqiaoban","gracesystem","1stpc"],category:"setup",content:"A PC opener with a success rate of ~88.57%. This opener is included in the PC training modes of Techmino (the one with the 4×4 square opening).",link:"https://four.lol/perfect-clears/grace-system",id:"e2bcb9f89bdf4a3ed28dace5f7ab1996762e3abe"},{title:"DPC",tags:["DPC"],category:"setup",content:"A PC opener with an almost 100% success rate in many scenarios when there is one block left in the 7Bag (in the Next queue) and an empty field.\\nFor more information, visit tetristemplate.info by clicking on the globe icon (Link in Japanese).",link:"https://tetristemplate.info/dpc/",id:"e812f63c7d1cebe6ebfc1c0df01d367ce53797f1"},{title:"Gamushiro Stacking",tags:["gamushiro"],category:"setup",content:"(<ガムシロ積み>, Gamushiro Tsumi)\\nA TD-Attack opener.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=Gamushiro_Stacking",id:"3c016f28de7338317c076399e79dccd4df77c895"},{title:"Mid-game Setups",tags:["midgamesetups"],category:"pattern",content:"Setups that can generate strong mid-game attacks. Some of these setups could also be used as openers, although they are unnecessary.",link:"",id:"b4491b3063705e886fcce818e4d43029385c5b51"},{title:"C-spin",tags:["cspin"],category:"pattern",content:"A T-Spin Triple + T-Spin Double setup, known as TKI in Japan.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=c-spin",id:"5efb9c21dbdde3893732c32d2d3a710c622ba606"},{title:"STSD",tags:["stsd"],category:"pattern",content:"Super T-Spin Double, a setup that produces two T-Spin Doubles.\\nA weakness of this setup is that no TSD can be performed if the garbage hole is directly under the setup.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=stsd",id:"6b0e6c980b91de0873674f9b4a7d749d1de40b6d"},{title:"STMB Cave",tags:["stmb"],category:"pattern",content:"A donation setup that uses an S or Z to block a 3-wide well and produce a T-spin double.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=stmb_cave",id:"7a9f93dc4e742ef564a57e71b7967a192c6350c4"},{title:"Fractal",tags:["shuangrenjian","fractal","spider"],category:"pattern",content:"A setup where two TSD setups are stacked on top of each other.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=Fractal",id:"29b12d8030f33a21265f78caaa1d15b7f4129e17"},{title:"LST stacking",tags:["lst"],category:"pattern",content:"An infinite T-Spin Double setup.",link:"https://four.lol/stacking/lst",id:"774b52eaed2c775146516a910a686b517056ed41"},{title:"Hamburger",tags:["hamburger"],category:"pattern",content:"A T-spin single donation setup that opens up for Tetrises after the T-spins.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=hamburger",id:"9aee64c6803871ff0bafc4d4cfd016360ff1c827"},{title:"Imperial Cross",tags:["imperialcross"],category:"pattern",content:"A setup that involves building an overhang on a cross-shaped hole to perform two TSDs.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=imperial_cross",id:"914127e70d29100d7e56a67a9cb8926bc035451f"},{title:"Kaidan",tags:["jieti","kaidan","stairs"],category:"pattern",content:'From the Japanese words for \\"stairs\\" (<階段>, kaidan).\\nA setup that donates a TSD on stair-like terrains.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.',link:"https://harddrop.com/wiki?search=kaidan",id:"979e233899a40823416160d6e8929ba0fce0b4ed"},{title:"Shachiku Train",tags:["shachikutrain","shechu"],category:"pattern",content:"A setup that donates two TSDs on top of a TST setup.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=Shachiku_Train",id:"dfa8128341595f1af9034d5888f601b45446c79b"},{title:"Cut Copy",tags:["qianniao","cutcopy"],category:"pattern",content:"A setup that donates a TSD on a small hole and performs another TSD after the first.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=Cut_copy",id:"d388fd5b2310a85d10c12dc7ffa63a0f1a4491c7"},{title:"King Crimson",tags:["kingcrimson"],category:"pattern",content:"A setup that stacks multiple TST setups on top of an STSD setup.\\nFor more information, visit the Hard Drop Wiki by clicking on the globe icon.",link:"https://harddrop.com/wiki?search=King_Crimson",id:"ee4d1363ba8655e185548fe4f11efc14815dcfa1"},{title:"Consecutive PCs (1/2)",tags:["pcloop"],category:"pattern",content:"Four.lol has a tutorial on how to achieve consecutive PCs. After finishing the 7th PC, exactly 70 blocks will be used (10 whole bags), so the situation returns to the setup of the 1st PC.",link:"https://four.lol/",id:"d16bffbe57086583517ae87ca2fd02f118cdeed3"},{title:"Consecutive PCs (2/2)",tags:["pcloop"],category:"pattern",content:"A complete PC-loop tutorial written by NitenTeria (in Simplified Chinese).",link:"https://docs.qq.com/sheet/DRmxvWmt3SWxwS2tV",id:"66dc9dee0001ef27ec25a5eb022eb569fe62d75b"},{title:"Console",tags:["cmd","commamd","minglinghang","kongzhitai","terminal"],category:"command",content:'Techmino has a console for debugging, enabling advanced settings, and more.\\nTo access the Techmino Console, click or tap on the Techmino logo in the main menu, or press the C key on your keyboard several times. Type \\"help\\" in the Console and press Enter/Return to get more information.\\n\\nUse the Console responsibly, as careless actions can cause corruption or loss of game data.',link:"",id:"7ecdaf88bce56cd24ba047b93460435726bd0889"},{title:"Reset all settings",tags:["reset","setting"],category:"command",content:'To reset all the settings, go to the Console, type \\"rm conf/setting\\" and press Enter/Return. Restart Techmino for this operation to take effect.\\nBefore exiting the game, you can cancel this operation by going to Settings and returning to the main menu.',link:"",id:"da1bf555021704d34a46f62d95dd3b55819e1fe3"},{title:"Reset statistics",tags:["reset","statistic","data"],category:"command",content:'To reset all statistics, go to the Console, type \\"rm conf/data\\" and press Enter/Return. Restart Techmino for this operation to take effect.\\nBefore exiting the game, you can cancel this operation by starting a game and winning or losing that game.',link:"",id:"dfd06a63b6e7e22b88dfe5c50b72b9a1640c4381"},{title:"Reset map progress",tags:["reset","unlock"],category:"command",content:'To reset your map progress, go to the Console, type \\"rm conf/unlock\\" and press Enter/Return. Restart Techmino for this operation to take effect.\\nBefore exiting the game, you can cancel this operation by updating the status of any mode on the map. Note that this operation does not affect the existing grades on the map.',link:"",id:"3bad8c77ed030c8bba1cd27134d4e751fdb3c6a9"},{title:"Reset records",tags:["reset","record"],category:"command",content:`To reset your local records (leaderboard), go to the Console, type \\"rm -s record\\" and press Enter/Return. Restart Techmino for this operation to take effect.\\nBefore exiting the game, if you update a mode's leaderboard, the records for that mode will be preserved after you restart the game.`,link:"",id:"9e619f0153c598b23c720a4d3a9e4ba962c3e137"},{title:"Reset key settings",tags:["reset","virtualkey"],category:"command",content:'To reset key settings, go to the Console, type \\"rm conf/[key settings]\\" and press Enter/Return. You can type different commands for [key settings] to delete different settings. Type \\"key\\" to delete key mappings, and type \\"virtualkey\\" to delete virtual key settings. You can also type \\"vkSave1\\" or \\"vkSave2\\" to delete specific virtual key configurations. Restart Techmino for the first two commands to take effect; the last two are effective immediately.\\nBefore exiting the game, you can cancel the operation by entering and exiting their corresponding settings.',link:"",id:"97c36276637b63b77b82d4ba3841b2ac83f107ef"},{title:"Delete replays",tags:["delete","recording"],category:"command",content:'To delete all recordings, go to the Console, type \\"rm -s replay\\" and press Enter/Return. Effective immediately.',link:"",id:"ea68b06044081b0efaeca964c52ed4e36f00735f"},{title:"Delete cache",tags:["delete","cache"],category:"command",content:'To delete all caches, go to the Console, type \\"rm -s cache\\" and press Enter/Return. Effective immediately.',link:"",id:"c7b8ba787d0998486e9439635f2910ccef98e88e"},{title:"SFX",tags:["soundeffects"],category:"english",content:'Initialism for \\"Sound Effects.\\" Also abbreviated as \\"SE\\" in Japan.',link:"",id:"09731a9aea03079ef1e612facc4b927af79d1178"},{title:"BGM",tags:["backgroundmusic"],category:"english",content:'Initialism for \\"Background Music.\\',link:"",id:"a025fe6ea05e932a72f4b1de36f396da30531d3e"},{title:"TAS",tags:["tas"],category:"english",content:`Acronym for \\"Tool-Assisted Speedrun (or Superplay).\\" TAS refers to the act of playing a game with special tools that allow a player to achieve supra-human levels of play without breaking the game's rules. In other words, TAS allows a player to \\"play like a god\\" without breaking or modifying the programming itself. TAS is usually used to reach the theoretical extreme of a game or to achieve a specific goal that may not be practically possible. \\n\\nTechmino has a simple TAS tool built in.`,link:"",id:"ce44e41a48ba32311458e07dd1c34e29bff3a70c"},{title:"AFK",tags:["afk"],category:"english",content:'Initialism for \\"Away From Keyboard.\\" This term refers to a period of time when a player is not actively playing a game in order to rest. Taking regular breaks can help relieve muscle tension and restore stamina and responsiveness when you return to gemeplay.',link:"",id:"f78ce564692852c965794021f5fafdd333a980f0"},{title:"Timing",tags:["timing","shiji","fanji"],category:"term",content:"In Tetris, timing refers to the choice of moments to attack with optimal effort. Good timing can help you to defend yourself while crushing your opponent. However, we recommend new players focus on their own fields and improve their speeds before learning timing.",link:"",id:"94fbe2663990ac1c6d258d319844309905033850"}],TM=[{title:"翻訳者からのメッセージ 1",tags:[],category:"help",content:"この日本語版TetroDictionary(通称:Zictionary)は、英語版を通して翻訳されています\\nそのため中国語版の内容を正確に反映していない可能性があります\\n\\n翻訳者を知りたい、翻訳に協力したい場合は地球儀ボタンをクリックしてGithubのページにアクセスしましょう!",link:"https://github.com/26F-Studio/Techmino/blob/main/parts/language/dict_ja.lua",id:"0e104c0c3fce7bf740f86e7a27e2803ba34bac1f"},{title:"初心者へ",tags:["readme","初心者","下級者","コツ","ガイド","上達"],category:"help",content:"テトリス初心者の方へ\\n\\t2つの大事なこと:\\n\\t\\t1.操作性のいいテトリスを選びましょう(TechminoやTETR.IO, Jstris, Tetr.js)\\nガイドラインから大きく離れ、プログラミング教材に使われているような操作性の悪いものはプレイしないでください\\n\\t\\t2.ネクストを見る、テトリスを安定して行う等の基本的な能力育成に時間を費やしましょう\\nとりあえず今は、Tspinみたいな技は置いときましょう\\nどうせ基礎に費やす時間は変わりません\\n\\t2つの技術:\\n\\t\\t1.ミノの出現位置と操作方法を覚えて、好きな場所に移動できるようになりましょう\\n\\t\\t2.次のミノの置く場所をあらかじめ決められるようになりましょう\\n\\n地球儀ボタンをクリックすると中国のテトリスプレイヤー、Tatianyiさんが書いた「Suggestion for new players to Tetris Online」という記事の英語版(翻訳者:User670)が見れます",link:"https://github.com/user670/temp/blob/master/tips_to_those_new_to_top.md",id:"62513ab00ef43cc8f592b18636aa3e58560fb4dc"},{title:"おすすめの練習法",tags:["readme","初心者","下級者","コツ","ガイド","上達","練習"],category:"help",content:"ここでは、おすすめの練習方法を紹介します\\nもし煮詰まった場合は、リラックスして好きなモードを楽しみましょう!楽しむことが一番大事です!!\\n\\n以下は、達成してほしい目標のリストです\\nA,B,Cとセットがあり、更にその中に複数の目標がありますがセット単位で複数の目標を同時にこなすのがおすすめです\\n\\nA.積み(1)\\n\\tA1.ミノを置く前に次のミノも考慮に入れてください\\nもし次のミノが置きづらい場合には、今持ってるミノの置き場所を考え直してください\\n\\tA2.地形を平らにするよう意識するとどんなミノでも置きやすくなります(一部ではより具体的に横置きを意識するとも言われています)\\n\\tA3.ホールドが使える時は、今持っているミノ、ホールドにあるミノ、ネクストにあるミノの3つを意識するとより長い時間平らな地形を維持できます\\n\\nB.効率と速さ\\n\\tB1.ゴーストを見ながら置かないでください\\nこのミノをここに置くにはこの操作をするというのを頭の中で処理してください\\n\\tB2.回転キーは左右両方使ってください\\n一回の入力で済む操作は一回で処理しましょう\\n\\tB3.最適化を覚え始めてきたら速さはあまり気にしないでください\\n最適化は癖付けるものなので一度身につければ、精度を保ったまま速くなれます\\n\\nC.積み(2)\\n\\tC1.スプリント(40Line)を完走する\\n\\tC2.ホールドなしでスプリント(40Line)を完走する \\n\\tC3.Techrashだけでスプリント(40Line)を完走する\\n\\tC4.ノーホールド、Techrashだけでスプリント(40Line)を完走する\\n\\nCは難易度を調整しやすいので、自身の能力に合わせて難易度を調整してください\\n\\nCが終わった場合は、A1の練習をしてください\\nこれはテトリスの基本技術の一つでネクストの把握量が多ければどんなゲームモードでもすぐに上達できます",link:"",id:"d7c155467bc05a540df6d622489be9938a1a8579"},{title:"Tspinを学ぼう",tags:["t","tspin","t-spin","tスピン","上達法","初心者","下級者","ガイド","tip","おすすめ","練習","helps"],category:"help",content:"Tspinはテトリスの中でも高等技術なのでTspinの地形を見ているだけでは、習得できません\\nまた積みの技術やネクスト把握能力も必要になってきます\\nもし本当にTspin技術を上達させたい場合は、積みの技術などの土台となる技術をしっかり習得しましょう\\n\\nおすすめの習得タイミング:スプリント(40Line)を60秒(条件によっては40~120秒)以内に完走、Techrashだけで完走、ホールドなしで大きく減速せずに完走\\nこれらで十分にネクストを考慮した思考ができるようになってからTspinを学び始めることをおすすめします",link:"",id:"25dcd9af20341683587e6deb864a98599175b37e"},{title:"Techmino公式web",tags:["homepage","web","mainpage","ホームページ ウェブ メインページ","テクミノ","テックミノ","techmino"],category:"help",content:"Techminoの公式ホームページです!\\n最新の安定版Techminoをダウンロードしたり、プロフィールを編集したりできます\\n地球儀ボタンから是非アクセスしてください",link:"http://studio26f.org",id:"37a6ef13ad5deb346ef08a6998213cb61af288a7"},{title:"灰机wiki",tags:["huiji","wiki","ウィキ","うぃき","灰机","フイジ"],category:"help",content:"huiji wiki\\n\\n中国のテトリス研究グループとそのサブグループに所属しているテトリスプレーヤー達が管理している中国のテトリスwikiです\\n現在、大部分のページがHard drop wikiとTetris wikiから参照、翻訳されたページになっています",link:"https://tetris.huijiwiki.com",id:"e884700884d40b3c5a6f4fab018df5f32766754b"},{title:"HardDrop wiki",tags:["harddrop","hd","wiki","ハードドロップ","ハードロ","ウィキ","うぃき"],category:"help",content:"テトリス最大コミュニティ、HardDropが運営している英語テトリスwikiです",link:"https://harddrop.com/wiki/Tetris_Wiki",id:"d5d959f9e39623358927f1cfbbefcdaa9c80b12e"},{title:"Tetris wiki",tags:["tetris","テトリス","てとりす","wiki","ウィキ","うぃき"],category:"help",content:"Tetris wikiはテトリス関連の情報に焦点を当てたwikiです\\nMyndziが2015年に開設しました\\n公式テトリス及びファン製作の落ちものパズルゲームの記録、ゲームの仕様の解析、上達のためのガイドの作成など様々な記事が長年にわたり何千も投稿されています",link:"https://tetris.wiki",id:"a55c3f66f84f44ac33b6a5781b11c1ad9edc6a6d"},{title:"Tetris Wiki Fandom",tags:["tetris","テトリス","てとりす","wiki","ウィキ","うぃき","fandom","ファンダム","ふぁんだむ"],category:"help",content:"英語のテトリスwikiです\\n公式テトリスを重点的にまとめています",link:"https://tetris.fandom.com/wiki/Tetris_Wiki",id:"c5bbbc35a43754e6897f6bac88cfdbae1e239309"},{title:"Four.lol",tags:["four","wiki","lol","fourlol","フォー","ウィキ","うぃき","テンプレ","template"],category:"help",content:"様々な開幕や連パフェが集められたテトリスwikiです",link:"https://four.lol",id:"e5e912965097ab58a0f7fdc15c4e692e8b631f56"},{title:"テトリス堂",tags:["tetris","テトリス","てとりす","hall","はる","日本語","japanese","テンプレ","template"],category:"help",content:"日本語サイトです\\n開幕のチュートリアル、パフェクイズなどのミニゲーム、連パフェの詳細な解説があります",link:"https://shiwehi.com/tetris/",id:"45b625b6d06fa4f5ec41fbce1f168c021ceed3ac"},{title:"テトリステンプレ集@テト譜",tags:["wiki","ウィキ","うぃき","atwiki","テンプレ","template","日本語","japanese"],category:"help",content:"非常に多くのテンプレを保有している日本語atwikiです",link:"https://w.atwiki.jp/tetrismaps/",id:"5189c30ead94b2ec37436bdce26fb310a04239ee"},{title:"テトリスブログ - PerfectClear",tags:["テンプレ","template","日本語","japanese","開幕"],category:"help",content:"数は多くないですが開幕テンプレのセットアップが詳細に解説されている日本語サイトです",link:"https://tetristemplate.info/",id:"9ebbf569478850a1aee48fe3d2d8c85a575c965e"},{title:"ほゐスライド",tags:["上達","練習","ほゐ","スライド"],category:"help",content:"日本のテトリスプレイヤー、whipemerald氏が作ったテトリスを上達させるためのスライド\\nテトリスフレンズの時代に作られたものだが今の時代でも問題なく通じる",link:"https://docs.google.com/presentation/d/1kYU2T6Kb-CVVshOa3BHGIhCoOWbbbKUekQqq-TsZgoY/mobilepresent?slide=id.p",id:"dad34eb1cd4cf2d65ad81bc4f1d9fe103f012f81"},{title:"テト譜",tags:["fumen","テト譜","譜面","研究 解析"],category:"help",content:"Mihys氏が開発したテトリスの地形を描画や共有ができる偉大なサイト\\n他のテトリスツールを使用する際にもよく使われる\\nAdd-onからframe.jsを選択することでさらに拡張した機能が使えます",link:"http://fumen.zui.jp",id:"038fe994b899244fa5411523a29d9cd5b6147a59"},{title:"Fumen for Mobile",tags:["fumenformobile","fm","fumen","テト譜","譜面","モバイル","mobile","もばいる","研究","解析"],category:"help",content:"Newjade氏によってテト譜をスマホ等でより直感的に使えるように開発されたテト譜サイトです\\nフィールドの画像出力や範囲塗りなどの公式のテト譜にはない機能も多数あります",link:"https://knewjade.github.io/fumen-for-mobile/",id:"7797ee759d76872fa714861b22806c84c372b723"},{title:"テト譜ブラウザ",tags:["fm","fumen","テト譜","譜面","研究","解析"],category:"help",content:"主にテト譜を管理するためのソフト\\n大量にテト譜を管理する人は持っていて損はない",link:"https://com.nicovideo.jp/community/co1370000",id:"ee78fefca55ccff685a7285c13c61c5d8dfe5202"},{title:"solution-finder",tags:["fm","fumen","テト譜","譜面","研究","解析"],category:"help",content:"Newjade氏によって開発されたパフェの確率やパターン、最大ren数など様々な解を見つけたり確率を計算できるツール\\n日本ではテンプレ制作、それ以外ではパフェ関連に使われることが多い",link:"https://solution-finder.readthedocs.io/ja/latest/",id:"adc1fd2f9abbf331dd763dc7360160528841dd89"},{title:"path-filter",tags:["fm","fumen","テト譜","譜面","研究","解析","パフェ","perfect","all","最小"],category:"help",content:"Newjade氏によって開発されたパフェ率を維持したまま最小パターンを求めるためのツール\\nただし近似解を出力するので複数回もしくは、長時間使うことが前提である",link:"https://github.com/knewjade/path-filter/releases",id:"63dfd5f3b19fceb530cb5cec6e41464ce651d358"},{title:"Github Repository",tags:["githubrepository","sourcecode","src","ソース","リポジトリ","りぽじとり","github"],category:"org",content:"Techminoの公式Githubです\\n星をお願いします!",link:"https://github.com/26F-Studio/Techmino",id:"67a03558cd33e7ed5417573b963bfb210bc65739"},{title:"Discord コミュニティ",tags:["community","コミュニティ","コミュ","こみゅにてぃ","こみゅ","discord","ディスコード"],category:"org",content:"Techminoコミュニティに参加して、他のプレイヤーと交流しよう!地球儀ボタンからTechminoのdiscordサーバーにアクセスできます",link:"https://discord.gg/f9pUvkh",id:"461bb2bdad0b1d3ee9ee4c1804a0ddeaa4dbcfa3"},{title:"テトリスオンラインポーランド",tags:["tetrisonline","servers","top","toj","toz","poland","japan","zapan"],category:"org",content:"地球儀ボタンをクリックするとTOPクライアントの情報にアクセスできますが2023年4月10日現在、2種類の日本サーバーはダウンしており、TOPサーバーのみ使えます",link:"http://tetrisonline.pl/",id:"ad1dcb4e840578a4c786fdbf31261a71ff0ca0ad"},{title:"Tetris OL Servers",tags:["tetrisonline","servers","tos"],category:"org",content:"地球儀ボタンをクリックするとTeatube氏作成の中国のTetris Online Studyの情報にアクセスできます",link:"https://teatube.cn/tos/",id:"9c8089870ca2a2da08629d0c8e9a2b2c65ee73ff"},{title:"サポート1",tags:["support","サポート","寄付","wechat","vx","weixin","alipay","zfb","zhifubao"],category:"org",content:"こちらの内容はプラットフォームの関係により非表示にされています\\\\n詳しくはTechminoのdiscordサーバーにて聞いてください",link:"",id:"5aa1529044416f9dbd5fd02e3ec4147719b06fe7"},{title:"サポート1",tags:["support","サポート","寄付","wechat","vx","weixin","alipay","zfb","zhifubao"],category:"org",content:"WechatやAlipayを使ってTechminoに寄付してくださる場合は、ゲームメイン画面の「TECHMINO」のTを連打→コンソール画面で「support」と入力→QRコードを読み取って寄付してください",link:"",id:"f7563dd66b79b13ae8f2c9571d64ed5f80ade7b8"},{title:"サポート2",tags:["support","サポート","寄付","afdian","aidadian"],category:"org",content:"こちらの内容はプラットフォームの関係により非表示にされています\\\\n詳しくはTechminoのdiscordサーバーにて聞いてください",link:"",id:"4df40576f4d90fe7ac801a7dd5e51b98b866dc33"},{title:"サポート2",tags:["support","サポート","寄付","afdian","aidadian"],category:"org",content:"Aifadianを使ってTechminoに寄付してくださる場合は、地球儀ボタンからURLを開いてください\\nAifadianの場合、寄付金額から6%の手数料がかかります",link:"https://afdian.net/@MrZ_26",id:"ca3744b5d38de9ec03b563a974075c339f59e254"},{title:"サポート3",tags:["support","サポート","寄付","patreon","patreon"],category:"org",content:"こちらの内容はプラットフォームの関係により非表示にされています\\\\n詳しくはTechminoのdiscordサーバーにて聞いてください",link:"",id:"27530a59f5cf6f4c103b32f41a42c1169075048a"},{title:"サポート3",tags:["support","サポート","寄付","patreon","patreon"],category:"org",content:"Patreonを使ってTechminoに寄付してくださる場合は、地球儀ボタンからURLを開いてください\\nPatreonの場合、一定額以上の寄付に対して手数料がかかります",link:"https://www.patreon.com/techmino",id:"e5a7df6767bb2f79b07ed34e1d111394999e3943"},{title:"テトリス トレーナー トレビアン",tags:["tetris","trainer","tres","bien","上達","練習","テトリス","トレーナー","トレビアン"],category:"game",content:"こな氏によって開発されたチュートリアルサイトです\\nTspinや最適化、SRS等の対戦テトリスで使う技術を学べます\\nノーホールド、Techrashだけでスプリント(40Line)を完走できたプレイヤーにおすすめです",link:"http://taninkona.web.fc2.com/ttt/",id:"2b7d64e58dd8d33caa2ec7e1a4c819a4f07a32ea"},{title:"テトリス パフェチャレンジ",tags:["tetris","perfect","clear","challenge","パフェ","連パフェ","上達","練習"],category:"game",content:"Chokotia氏によって開発された開幕パフェのチュートリアルサイトです\\nテトリス トレーナー トレビアンをクリアし、SRSに慣れたプレイヤーにおすすめです",link:"https://davdav1233.github.io/ttpc/",id:"94e34cbb20b17a5ea194abe22319ace7466e952a"},{title:"ナゾテト",tags:["nazo","なぞ","ナゾ","謎","上達","練習"],category:"game",content:"Tspinやオールスピン、簡単な問題から難しい問題まで様々な謎テトがあります\\nテトリス トレーナー トレビアンをクリアしたプレイヤーにおすすめです",link:"http://klyuchevskayanazoteto.web.fc2.com/",id:"5f60680c17d9d0fb539deba7c6158bb19d3f9e86"},{title:"TPO",tags:["nazo","なぞ","ナゾ","謎","上達","練習"],category:"game",content:"Tetris puzzle O(テトリスパズルオー)はTCV100によって開発された中国の謎テトサイトです\\nナゾテトのパズルをいくつか含んでいます",link:"http://121.36.2.245:3000/tpo",id:"5816c6bc0f913e152ec8fbaf1c4ed288a1aabe6d"},{title:"詰めテトリス",tags:["nazo","なぞ","ナゾ","謎","上達","練習"],category:"game",content:"ナゾテトよりも実践向けの謎テトがまとめられたatwiki\\nテトリスDS時代のものなのでパフェとren火力はなし、TSMはTSS扱い",link:"https://w.atwiki.jp/tetrisds/pages/26.html",id:"c43155ffd23a114b5d16ed226d046909e713156c"},{title:"twowide",tags:["nazo","なぞ","ナゾ","謎","上達","練習"],category:"game",content:"多数の高難易度謎テト、豊富なモードがある謎テトサイトです\\nオンラインランキングもあるので他のプレイヤーと競い合うことができます",link:"https://twowi.de",id:"ab70e042fe947dceead72be2fcc479cfb52822ad"},{title:"downstack-practice",tags:["nazo","なぞ","ナゾ","謎","上達","練習"],category:"game",content:"downstackと書いてあるが掘以外にもTspinや途中パフェ等の謎テトを生成する謎テトサイトです\\n中盤テンプレも練習でき、より実践に近い謎テトを解くことができます",link:"https://himitsuconfidential.github.io/downstack-practice/",id:"f2e5b92f1e6f53391001f260a16d1d9e74055ec5"},{title:"途中メモ 1",tags:["note","memo","ノート","メモ","nb","NB","DM","notice"],category:"game",content:"次からは公式テトリスや落ちものパズルゲームの簡単な紹介です\\n\\nもちろんここにあるゲームがすべてではありません\\nまたTechmino制作者がコメントをしていることがありますが、あくまで主観的な意見でありそのゲームの良し悪しを決めるものではないことに注意してください\\n事実と意見を明確に区別するために意見は大括弧([,])で囲んでいます",link:"",id:"1936f35ddcc61ca5c183e35637929e5f803a3d41"},{title:"King of Stackers",tags:["kos","kingofstackers","こす","コス","キング","スタッカーズ"],category:"game",content:"ブラウザ | マルチプレイ | モバイル端末可\\n略称はkos\\nターン制の非公式テトリスです\\n基本的なルール:\\nプレイヤーは1ターンにつき7つずつミノを設置していきます\\n相手から火力が送られてもLine消去をしている間はせり上がりません\\nこのゲームはppsの概念がないためとても戦略的です\\nまた試合設定で様々な攻撃ルールに設定できます(通常はExclusive+)",link:"https://kingofstackers.com/",id:"03976adc8d56d6b7bfefe31ffcf2f49d40d8ccda"},{title:"Tetr.js",tags:["tetrjs","tetr.js","js"],category:"game",content:"ブラウザ | シングルプレイ | モバイル端末可\\nオリジナルは単純な1人用の非公式テトリスです[見た目もシンプルでアニメーションはほとんどありません]\\nしかし有志により細かいチューニングや多くのモード、仮想キーボードの追加等が行われました\\n地球儀ボタンのリンクはfarter氏によるDig Modへのリンクです",link:"http://farter.cn/t",id:"1e8934e62413a391f35e2c0cb955283834712889"},{title:"Tetra Legends",tags:["tl","tetralegends","レジェンズ","レジェンド","てとら","テトラ"],category:"game",content:"ブラウザ | シングルプレイ | モバイル端末不可\\n略称はTL\\n多くの1人用モードと2つの隠しリズムゲームを持っている1人用の非公式テトリスです\\n通常他のゲームでは隠されている部分まで可視化されています\\nしかし複合的な理由により2020年12月に開発が中止されました",link:"https://tetralegends.app",id:"f29beb5810b660bc321ec5360484123374053a4a"},{title:"Ascension",tags:["asc","ASC","ascension","アズセシオン"],category:"game",content:"ブラウザ | シングル/マルチプレイ\\n略称はASC\\n同じくASCと呼ばれる独自の回転法則があり、多くの一人用モードがあります\\n1vs1モードは2022年11月26日現在、α版です\\nTechminoのstackモードはASCからアイデアを得ています",link:"https://asc.winternebs.com",id:"d00f385b962369aa081c12118d2f2d6b4f08cf06"},{title:"Jstris",tags:["js","jstris","じぇすとりす","ジェストリス"],category:"game",content:"ブラウザ | シングル/マルチプレイ | モバイル端末可\\n略称はjs\\n現在、主流の非公式テトリスの1つであり、様々なシングルモードと豊富な設定、自由に配置できる仮想キーボードを備えています\\nまたjstris+を導入することでさらに拡張されたjstrisを楽しむことができます",link:"https://jstris.jezevec10.com",id:"7b7444e1cecfe3104cbc2f7b50d7be1c39bfb43b"},{title:"TETR.IO",tags:["io","tetrio","tetr.io","てとりお","テトリオ","tetr","てとらいお","テトライオ"],category:"game",content:"ブラウザ | シングル/マルチプレイ\\n略称はテトリオ\\n現在、主流の非公式テトリスの1つであり、レーティングシステムや多くのゲーム設定を変更できるカスタムゲーム、FFAなど様々な要素を備えています\\nまた安定して動作しやすいデスクトップクライアント版が存在します\\nそしてTETR.IO+を導入することでさらに拡張されたテトリオを楽しむことができます\\n[safariじゃテトリオはできないようです]",link:"https://tetr.io",id:"c6f5576019f448b6ddfcfa96c50a623b4505842a"},{title:"Nuketris",tags:["nuketris","nuke","ぬけ","ヌケ","ぬけとりす","ヌケトリス"],category:"game",content:"ブラウザ | シングル/マルチプレイ\\n基本的な1人用モードやレーティングシステムを備えた非公式テトリスです\\n独特なゲームルールをしており、Ospinもできます",link:"https://nuketris.com",id:"83a8c15193c8bc6e8afe48811a3c039042813da7"},{title:"Worldwide Combos",tags:["wwc","worldwidecombos","ワールド","ワイド","コンボ","コンボズ"],category:"game",content:"ブラウザ | シングル/マルチプレイ\\n略称はWWC\\n世界規模の1vs1やリプレイと戦えるモード、豊富なゲーム設定など様々な機能を備えた非公式テトリスです",link:"https://worldwidecombos.com",id:"94081db2455fec7e83df266bc94308d0df55c83a"},{title:"Tetris Friends",tags:["tf","tetrisfriends","notrisfoes テトリス","てとふれ","テトフレ","のとりす","ノトリス","official","公式"],category:"game",content:"ブラウザ | シングル/マルチプレイ\\n略称はテトフレ\\n今は亡き公式テトリス\\n昔はとても人気があったが数年前にサービス終了した\\n現在は「Notris Foes」という非公式プライベートサーバーが存在している",link:"https://notrisfoes.com",id:"ccf010be3f3b7a49dd78cef7d4e5d262bd305761"},{title:"tetris.com",tags:["tetris","テトリス","online","オンライン","official","公式"],category:"game",content:"ブラウザ | シングルプレイ\\ntetris.comにある公式テトリス\\nゲームモードはマラソンのみです\\n公式テトリスでは珍しくマウス操作に対応しています",link:"https://tetris.com/play-tetris/?utm_source=top_nav_link&utm_medium=webnav&utm_campaign=playNow_btm_tst&utm_content=text_play_now",id:"1b03e40d2c4fe9736f5c83f458215856ffcd5493"},{title:"Tetris Gems",tags:["tetris","テトリス","online","オンライン","official","公式","gem","ジェム"],category:"game",content:"ブラウザ | シングルプレイ\\ntetris.comにある公式テトリス\\n横1列を揃えると揃えた部分が重力の影響を受ける特殊なブロックになり、連鎖的にLine消去が可能なゲームである\\nさらに3種類の宝石ブロックが存在し、それぞれ特殊能力を持っています",link:"https://tetris.com/play-tetrisgems",id:"34196d46abd0d04928115af84c89abee3bb2fcc8"},{title:"Tetris Mind Bender",tags:["tetris","テトリス","online","オンライン","official","公式","gem","ジェム"],category:"game",content:"ブラウザ | シングルプレイ\\ntetris.comにある公式テトリス\\nルールはマラソンと同じですが「マインドベンダー」という特殊なブロックが出現します\\nマインドベンダーを消すことで様々なイベントが起こります",link:"https://tetris.com/play-tetrismindbender",id:"ead36dcde213c8a667268eefeee10a713a89db9b"},{title:"Techmino",tags:["techmino","テクミノ","テックミノ"],category:"game",content:"クロスプラットフォーム | シングル/マルチプレイ\\n日本語だとテクミノと呼ばれます\\nMrZを筆頭にLÖVEを使って開発された落ちものパズルゲームです\\n多くの一人用モード、多彩なカスタマイズ性を持ち、オンラインマルチプレイも徐々に開発されています",link:"",id:"06eed6ff342747e1a656db3a15d515d58e48a5b7"},{title:"Falling Lightblocks",tags:["fl","fallinglightblocks","ライト","フォーリング"],category:"game",content:"ブラウザ/iOS/Android | シングル/マルチプレイ\\n縦でも横でも遊べるマルチプラットフォームの非公式テトリス\\nDASやLine消去時間は固定されています\\nまたモバイル端末では操作を一部カスタマイズ可能です\\nFalling Lightblocks内にあるゲームのほとんどはファミコンのクラッシクテトリスがベースになっていますがモダンテトリスも存在します\\nバトルシステムは半分ターン制、半分リアルタイム制になっており、相殺システムはありません",link:"https://golfgl.de/lightblocks/",id:"a81cfbe60982260231080c7c719952f32edb51a4"},{title:"HATETRIS",tags:["hatetris","へいと","ヘイト","はてとりす","ハテトリス"],category:"game",content:"ブラウザ | シングルプレイ\\n常に嫌なブロックが出現する一風変わった非公式テトリス\\nLine消去数がそのままスコアになる\\nテトリス全体で見ても非常に難しいことから人間によるスコア更新よりも機械を使った研究の方が盛んである",link:"https://qntm.org/files/hatetris/hatetris.html",id:"3323487eefb08dba7d967e468152712b876df0ed"},{title:"Cambridge",tags:["cambridge","ケンブリッジ"],category:"game",content:"クロスプラットフォーム | シングルプレイ\\nLÖVEを使って開発された非公式テトリスです\\n簡単かつ高度にカスタマイズできる新しいゲームモードがあります\\n元々はJoe Zeng氏が開発していましたが2020年10月8日のver.0.1.5からMilla氏が引継ぎました\\n-Tetris wikiより",link:"",id:"571f5617b8e5a22421ad17096aca033c621c9cd3"},{title:"Nanamino",tags:["nanamino","ななみの","なな","ナナミノ","ナナ"],category:"game",content:"Windows/Android | シングルプレイ\\n面白い回転システムを持っている開発中の非公式テトリスです",link:"",id:"57e1dba48f0e84a44115c1c1732f6285d50a994a"},{title:"TGM",tags:["tetrisgrandmaster","tetristhegrandmaster","gm","グランド","マスター"],category:"game",content:"アーケード/PS/NS | シングル/ローカルマルチプレイ\\nTetris The Grand Masterはアーケードテトリスです\\nS13やGM等のモードはこのシリーズから始まりました\\nTGM3はシリーズの中で最も有名なタイトルです\\nNintendo SwitchやPlaystation 4に移植されてます",link:"",id:"9b19cb62836cdcf86dde298e8ee43d84db484ac6"},{title:"DTET",tags:["dtet","デテト","でてと","ディテト","でぃてと"],category:"game",content:"Windows | シングルプレイ\\nTGMのクラッシクルールをベースに20Gや強力な回転システムを導入した非公式テトリスです\\n現在、このゲームを見つけ出すのは難しく、見つからないDLLファイルを自分で補う必要があります",link:"",id:"dec506036ab50bd7d57f0a81bbebc91c38bdb04e"},{title:"Heboris",tags:["hb","heboris","へぼ","ヘボリス","へぼりす"],category:"game",content:"Windows | シングルプレイ\\nアーケードのような雰囲気の非公式テトリスです\\n他のテトリスの様々なゲームモードをシミュレーションできます",link:"",id:"2dd2156b95d39cee9e75fc358a447fd28b263a4f"},{title:"Texmaster",tags:["txm","texmaster","テクス","マスター"],category:"game",content:"Windows | シングルプレイ\\nTGMの全モードを収録している非公式テトリスです\\nただしインスタントソフトドロップやキックテーブルの仕様がワールドルールと少し異なります",link:"",id:"e23fd55f36113cce57e439e9807ddffc482d9f6f"},{title:"Tetris Effect",tags:["te","tec","tetriseffectconnected","TE:C","テック","テトエフェ","エフェクト","コネクテッド"],category:"game",content:"PS/Oculus Quest/Xbox/NS/Windows | シングル/マルチプレイ\\n略称はテトエフェ(TEC)\\n入力に反応するド派手なグラフィックとサウンドを備えた現在、主流の公式テトリスの1つ\\n「Connected」の文字がない基本版では1人用モードしかない\\nコネクテッドの方ではコネクテッドバトル、Zoneバトル、スコアアタック、クラッシクスコアアタックの計4つのモードで対戦が可能となっている(ただしフレンドマッチやローカルマッチではZoneなし等のルール設定が可能)",link:"",id:"e07a87fc2fb8f6261c38ab8c9b12659d382d7740"},{title:"Tetris 99",tags:["t99","tetris99","99"],category:"game",content:"Nintendo Switch | シングル/マルチプレイ\\n99人でバトルロイヤルを行う公式テトリス\\n従来の対戦テトリスにはない戦略が多く存在する\\nまたDLCをダウンロードすることでマラソンやcpuとの試合、キャラクタースキンなどが追加される",link:"",id:"c3a206118294bb16dfa68326b5ba44547721bee9"},{title:"ぷよぷよテトリス",tags:["ppt","puyopuyotetris ぷよテト","ぷよぷよ","テトリス","ぷて"],category:"game",content:"PS/NS/Xbox/Windows | シングル/マルチプレイ\\nぷよぷよとテトリスの2つが入ったゲーム\\n異種対戦もでき、多くのゲームモードが存在する\\n\\n[steam版は操作性が悪く、オンライン対戦も酷い]",link:"",id:"e2826ac7cd9388a0415de4af9f48e62b47284f47"},{title:"Tetris online",tags:["top","toj","toz","tetrisonline","poland","japan","zapan","テトオン"],category:"game",content:"Windows | シングル/マルチプレイ\\n今は亡き日本の公式テトリス\\nDASとARRの値を設定できますがどちらも0にはできません\\nプライベートサーバーで稼働していましたが2023年4月10日現在、2種類の日本サーバーはダウンしており、TOPサーバーのみ使えます",link:"",id:"9aa9fc1b2edb0ac3b6e93880666249a82fe50a67"},{title:"Tetra Online",tags:["TO","tetraonline","tetraoffline","offline","テトラ","てとら","オンライン","オフライン"],category:"game",content:"Windows/macOS/Linux | シングル/マルチプレイ\\nDr OceloとMineによって開発された非公式テトリスです\\n操作性は意図的にAREが高い値に設定されているのでぷよテトなどに近い\\nThe tetris companyがDMCA(デジタルミレニアム著作権法)を理由にsteamから削除されました\\nしかしオフライン版は現在もGithubから入手可能です\\n\\nテトラオフライン",link:"https://github.com/Juan-Cartes/Tetra-Offline/releases/tag/1.0",id:"0cbac115bf5d7b331ca6ca308c1632ed88e47748"},{title:"Cultris II",tags:["c2","cultris2","cultrisii","カルトリス"],category:"game",content:"Windows/OS X | シングル/マルチプレイ\\nクラッシクテトリスをベースにデザインされた非公式テトリス\\n対戦モードはコンボ(ren)に重点を置いたものとなっており、コンボ地形を組み立てる速さ、コンボ消化速度、掘のスキルが試されるゲームとなっている\\n\\n[Mac版は長い間メンテナンスされてなく、macOS Catalineよりも新しいビルドのmac OSではこのゲームをプレイできません]",link:"",id:"64fbaeee90c074afcbd634a3f1c63e11d47a072e"},{title:"Nullpomino",tags:["np","nullpomino","ぬるぽ","ヌルポ","ぬるぽみの","ヌルポミノ","ぬる"],category:"game",content:"Windows/macOS/Linux | シングル/マルチプレイ\\nカスタマイズ性の高い非公式テトリス\\nゲーム内のほぼ全ての設定を変更できる\\n\\n[しかしUIが時代遅れでフルキーボードでの操作が必須になります\\nNullpommino初心者は慣れるまで問題がある可能性があります\\nまたmac OS Montereyではこのゲームは動作しません]",link:"",id:"1c72f973378aea11668b493c6510c28f47809ff1"},{title:"Misamino",tags:["misamino","ミサミノ","みさみの","みさかみの","ミサカミノ"],category:"game",content:"Windows | シングルプレイ\\nローカルでMisaminoというbotと対戦できる非公式テトリス\\nAPIを学ぶことで自分でbotを作ることもできる",link:"",id:"b747f78de7ffc395c97fbdef1f9486f76b0535da"},{title:"four-tris",tags:["four","練習","上達","解析","研究"],category:"game",content:"Windows | シングルプレイ\\n主に試合を解析するためのソフト\\n盤面の取り込みは画像解析によって行う(かなり精度が高い)\\n n回目のパフェやren、チーズの練習もできる",link:"https://github.com/fiorescarlatto/four-tris/releases",id:"a7620b74fc36a6fe90c35c1006b192c492c8eb71"},{title:"Touhoumino",tags:["touhoumino","東方","touhou","とうほう","トウホウ"],category:"game",content:"Windows | シングルプレイ\\nNullpominoを改造し、東方projectの要素を追加した非公式テトリス\\nマラソンではスペルカードが存在し、制限時間内に必要なスコアに到達しないといけない\\n\\n[自分の腕に自信がある人におすすめ\\nそうじゃないとどうやって死んだのかすらわからない]",link:"",id:"55261fceb03a3b7bfcc10b6fb4f61589323c739c"},{title:"Tetris Blitz",tags:["blitz","ea","mobile","phone","ブリッツ","イーエー","スマホ","スマートフォン","モバイル"],category:"game",content:"iOS/Android | シングルプレイ\\nEAによって開発されたスマートフォン用の公式テトリス\\nゲーム開始時に多くのミノが落ちて来たり、Line消去を連続で行うことで「Frenzy」モードに入ることができたり、トップアウトが存在しなかったりと様々な特殊な仕様がある\\n\\nこのゲームは2020年4月に配信を終了しています",link:"",id:"2b00bb03ff88085a42156fabd9e118fe1944eb68"},{title:"Tetris (EA)",tags:["tetris","ea","galaxy","universe","cosmos","mobile","phone","テトリス","イーエー","スマホ","スマートフォン","モバイル ギャラクシー","銀河","宇宙","ユニバーサル","コスモス"],category:"game",content:"iOS/Android | シングル/マルチプレイ(?)\\nEAが開発したもう1つのスマートフォン用公式テトリス\\nスワイプとワンタッチの2つの操作方法がある\\nまたマラソンの他にギャラクシーモードというものが存在する\\nこのモードのクリア条件は指定されたミノを使い切る前にギャラクシーミノを消去することです\\n\\nこのゲームは2020年4月に配信を終了しています",link:"",id:"1155aa6fb77bd574703ed5c7e591e6c4abd0e463"},{title:"Tetris (N3TWORK)",tags:["tetris","n3twork","mobile","phone","テトリス","スマホ","スマートフォン","モバイル"],category:"game",content:"iOS/Android |シングルプレイ\\nN3TWORKが開発したスマートフォン用の公式テトリス\\n3分のウルトラ、マラソン、100人(cpu)のバトルロイヤルモードがある\\n\\n[UIは素晴らしいが操作性が良くない]",link:"",id:"e8f98017658c97afea81daac7c4adc0589777a41"},{title:"Tetris Beat",tags:["n3twork","rhythm","リズム","ビート","beat","スマホ","スマートフォン","モバイル","mobile","phone"],category:"game",content:"iOS | シングルプレイ\\nN3TWORKがAppleアーケードで配信しているスマートフォン用の公式テトリス\\nマラソンの他にビートモードがあるがBGMのリズムに合わせてミノを置いて行くだけである\\n\\n[エフェクトが重いし操作性もイマイチ]",link:"",id:"682435396857b8e212bea51bf5da2631027b1266"},{title:"Tetris Journey",tags:["tetrisjourney","mobile","phone","huanyouji","スマホ","スマートフォン","モバイル","ジャーニー"],category:"game",content:"iOS/Android | シングルプレイ\\nTencentによって開発され、中国限定で配信されたスマートフォン用の公式テトリス\\nレベルモードや対戦モード、いくつかの1人用モードがある\\n対戦モードでは2分間の時間制限があり、対戦者がトップアウトしない場合、より多く火力を送った方が勝者となる\\n仮想キーボードの配置や大きさを調整できる",link:"",id:"993ca1647332708fa733c91a0a2cb843b2627a62"},{title:"JJ Tetris",tags:["jjtetris","じぇーじぇー","ジェージェー","じぇじぇ","ジェジェ"],category:"game",content:"Android | マルチプレイ\\n正式名称:JJ块\\nJJ棋牌のカジュアルゲーム\\n縦画面、低入力遅延と操作性が高い\\nDASやARR、20Gソフトドロップなども制限はありますが設定可能です\\nホールドやB2Bシステム、相殺システムはありません\\n他にもそれぞれの攻撃の火力の上限が4、コンボが強いという特徴がありますが、それ以外はモダンテトリスに似ています",link:"",id:"fa9d980dbe25a5c2a2556d20dd0cdcd5814bedb4"},{title:"Huopin Tetris",tags:["huopin","qq","ほうぴん"],category:"game",content:"Windows |マルチプレイ\\n正式名称:火拼俄罗斯\\nTencent Game Centerが開発した公式テトリス\\n幅12の盤面、DASやARRはキーボードのタイピングと同じ、ネクストは1つ、ホールドはない\\n3line消し(火力:2)とテトリス(火力:3)でしか攻撃を送れない\\n下穴が市松模様のようになっているので掘ることはほぼ不可能",link:"",id:"0b0f47c275a7204e506301511a348c113d630809"},{title:"途中メモ 2",tags:["note","memo","ノート","メモ","nb","NB","DM","notice"],category:"term",content:"ここからは用語解説になります\\n\\nこれらの用語は全てのコミュニティで通じるとは限らず、また全ての用語が常に同じ意味になるとは限らないことに注意してください\\nここでは主にTechmino内で使うことを想定しています",link:"",id:"cf8827a90b9fca025a0568606c955c3c53fe5464"},{title:"LPM",tags:["linesperminute","speed","速さ","早さ","はやさ","lpm","l'pm"],category:"term",content:"Lines per minute\\n\\tプレイヤーの速さを計る指標です\\nゲームによってLPMの計算方法が異なります\\n例えばテトリスオンラインの場合、PPSという値からLPMを計算しています(1PPS=24LPM)\\nこの時、下穴消去が無視されているので文字通りのLPMとは異なります\\nTechmino内ではこのLPMを「L'PM」と表記しています",link:"",id:"dfe71d3ef5f74af842acc0ca6833cfe80340e7c0"},{title:"PPS",tags:["piecespersecond","speed","速さ","早さ","はやさ","pps"],category:"term",content:"Pieces per second\\n\\tプレイヤーの速さを計る指標です",link:"",id:"5b7dc17dbae6b67d5223ed36b73bacabeab77a22"},{title:"BPM",tags:["blocksperminute","piecesperminute","speed","速さ","早さ","はやさ","bpm","ppm"],category:"term",content:"Blocks per minute\\n\\tプレイヤーの速さを計る指標です\\n音楽用語との混同を避けるためにPPMと呼ばれることもあります",link:"",id:"473fe1b7aadb624780218f6304bf844f0e84dc2f"},{title:"KPM",tags:["keysperminute","keypressesperminute","速さ","早さ","はやさ","入力","kpm"],category:"term",content:"Keypresses per minute\\n\\tプレイヤーの入力の速さを計る指標です",link:"",id:"a1576db8f140501bfee4cfb414de249cdacf2852"},{title:"KPP",tags:["keysperpiece","keypressesperpiece","速さ","早さ","はやさ","効率","入力"],category:"term",content:"Keypresses per piece\\n\\tミノ操作の効率を計る指標です\\n最適化を習得することでこの値を下げることができます",link:"",id:"ac69f23822921b2b6f08964277ea2fe77a54a800"},{title:"APM",tags:["attackperminute","火力","攻撃"],category:"term",content:"Attack per minute\\n\\tプレイヤーが出した火力を計る指標です",link:"",id:"cec83d48a002ee0f5752fe842f2d3b767b0dee73"},{title:"SPM",tags:["linessentperminute","火力","攻撃"],category:"term",content:"[lines] Sent per minute\\n\\tプレイヤーの攻撃力を計る指標です\\nここでは相殺に使用した火力はカウントされず、相手の火力ゲージに送った火力だけがカウントされます",link:"",id:"f4a4c43d06a70fe2b158f7c5cb4d6aa6fd11d0f3"},{title:"DPM",tags:["digperminute","defendperminute","防御","火力","相殺","サバイバル","生存","掘り"],category:"term",content:"Dig(またはDefend) per minute\\n\\tプレイヤーの掘り、若しくは防御力(相殺火力+掘ったLine数)を計る指標です",link:"",id:"52248f61c1be44c4fe7194ec304854f0db944e1e"},{title:"RPM",tags:["receive","jieshou","受け","外し","相殺外し"],category:"term",content:"[lines] Receive per Minute\\n\\tプレイヤーが受けた攻撃量を計る指標です",link:"",id:"45604b2d6449601e616f86b6f336d2e612f07f9e"},{title:"ADPM",tags:["attackdigperminute","vs"],category:"term",content:"(Attack + Dig) per minute\\n\\tその試合で対戦者間のスキルを比較するための指標です\\nTETR.IOのVSスコアはこれと違い、100(Attack+Dig)/sで計算しています",link:"",id:"2ffd518aa9b41380402c774b4a3c422d214e82ab"},{title:"APL",tags:["attackperline","efficiency","効率","火力","攻撃"],category:"term",content:"Attack per line (cleared)\\n\\tよく「効率」という言葉で置き換えられます\\n1Line単位の火力を算出している値であり、ここではTSSがテトリスやTSDよりも効率が良いとされる",link:"",id:"bbcd87c56cca8b72d58cfb41a18d7ee80637f410"},{title:"Single",tags:["single","1","シングル"],category:"term",content:"1回で1Line消すこと",link:"",id:"37880ca2d93f61a696b5fea6aa6ce5f21d437a24"},{title:"Double",tags:["double","2","ダブル"],category:"term",content:"1回で2Line消すこと",link:"",id:"a53a2529ffaf4fe90f7dcaa3ebcef48896262376"},{title:"Triple",tags:["triple","3","トリプル"],category:"term",content:"1回で3Line消すこと",link:"",id:"6e7c234815285108ed77b7a2cb357091a87bce29"},{title:"Techrash",tags:["techrash","tetris","4","quad","クアッド"],category:"term",content:"*Techmino用語*\\n1回で4Line消すこと",link:"",id:"f54542633cc7c0f657b1950e77ab63abb01484dc"},{title:"Tetris",tags:["tetris","4","quad","クアッド"],category:"term",content:"ゲームの名称(商標)\\nまた公式テトリスにおいて1回に4Line消すことを指す言葉\\n\\nTetra(ギリシャ語で「4」を意味する)とTennis(テトリスの制作者が好きなスポーツ)を組み合わせた造語\\n\\nまた任天堂とセガが開発したテトリスはThe Tetris Companyのライセンス登録を受けていますが、この2社がテトリスそのものの著作権を保有しているわけではありません\\n\\n-- Alexey Pajitnovに感謝を!",link:"",id:"53003ed2f9c60a215e4b78d07b152f9ccae50b53"},{title:"All Clear",tags:["pc","perfectclear","ac","allclear","パフェ","オール","パーフェクト"],category:"term",content:"Perfect Clear(PC、パフェ)とも言われる\\n盤面内にある全てのミノを消去すること\\n明らかにあるのに見逃した場合、「今パ」と言われることがある(逆にこれに言い返すフレーズも存在する)",link:"",id:"951bcb1c86529c4418c41c0a7918a4a8daafb257"},{title:"HPC",tags:["hc","clear","halfperfectclear","ハーフ","セミ"],category:"term",content:"Techmino用語\\nHalf Perfect Clearの略\\n下穴以外のミノを全て消去するとHPCとなり、軽い火力強化が行われる\\n\\n俗に言う実質パフェ",link:"",id:"b57a9021cc5f22e8d1c0afaf771d214ba0faf522"},{title:"Spin(回転入れ)",tags:["spin","回転","スピン"],category:"term",content:"任意のミノを回転システムを使うことにより入れること\\nこれを使うことにより通常では置けない場所にでも置くことが可能になります\\nまたこの操作により火力やスコアに補正がかかることがあります\\nゲームによって回転システムが異なる場合がある",link:"",id:"c81c86bfb792e16d7f85e293759ede4f04c819f1"},{title:"Mini",tags:["mini","ミニ","みに"],category:"term",content:"ゲーム側が簡単すぎると判断したspinに適用されるシステムです\\nそのために昔のゲームでは「EZ T-spin」とも呼ばれていました\\nminiの付いたspinは火力やスコアボーナスが通常のspinよりも少なくなるように設定されています\\n\\n基本は細かい仕様を覚えずにminiになる地形だけ覚えておけば大丈夫です",link:"",id:"d445305f9c8bc06b1447c50fb0a761dba94a81cd"},{title:"All-Spin",tags:["allspin","オール","全"],category:"term",content:"全てのミノのspinに火力、スコア補正がかかるルールのこと(通常ルールはTspinのみ)\\nまた稀にルールではなくAll-spinという回転法則を指すこともある",link:"",id:"e86babd5253f73a9ae28c904ed9e73023e01411a"},{title:"T-Spin",tags:["tspin","ティ","ts","ふんどし"],category:"term",content:"Tミノを回転入れ(spin)すること\\n\\n最近の公式テトリスでは3コーナールールを採用している\\nこれは回転入れをした時にTミノの回転軸を中心として斜め4マスの内3マス以上が埋まっていた場合にTspinとして判断するというものである\\nゲームによっては一部のTspinをmini扱いしている",link:"",id:"79fa79179aabd566fb5794617de3ebe4df508804"},{title:"TSS",tags:["t1","tspinsingle","ティ","シングル"],category:"term",content:"T-Spin Single\\nTspinで1Line消去すること",link:"",id:"3273810a3a0478ea2e9baa8554542aa255ad2c00"},{title:"TSD",tags:["t2","tspindouble","ティ","ダブル"],category:"term",content:"T-Spin Double\\nTspinで2Line消去すること",link:"",id:"3b66d09aeaaa25de906a858f3124345d9ffa7eda"},{title:"TST",tags:["t3","tspintriple","ティ","トリプル"],category:"term",content:"T-Spin Triple\\nTspinで3Line消去すること",link:"",id:"d2b30723c0d620269675f8b486a6c3e69a1be264"},{title:"MTSS",tags:["minitspinsingle","tsms","tspinminisingle","tsm","mini","1","シングル"],category:"term",content:"Mini T-spin Single\\n通称:T-spin Mini Single(TSMS)\\nTSSだがmini判定のもののこと\\n\\nゲームによってどのTSSがminiなのか判定が異なっていたり、そもそもなかったりする",link:"",id:"3323cf30e494b45e52b3052a95021ed85ac92e29"},{title:"MTSD",tags:["minitspindouble","tsmd","tspinminidouble","tsm","mini","2","ダブル"],category:"term",content:"Mini T-Spin Double\\n通称:T-spin Mini Double(TSMD)\\nTSDだがmini判定のもののこと\\nMTSDは一部のゲームにしか存在せず、発生する地形も異なる場合がある\\n\\nさらに一部のテトリスではMTSDを想定しておらず最悪の場合、フリーズや強制終了する",link:"",id:"9c38b240170b244a00e2f2c2981c605d302f6350"},{title:"O-Spin",tags:["ospin","o","オー","2"],category:"term",content:"Oミノはどんなに回転させても形が変化しないため回転入れが不可能でした(一部では毎秒500~600回転させることでOミノが熱膨張したり溶けたり変形したりするという噂があります)\\nそのためテトリスコミュニティ内でミームのように扱われ、フェイクビデオ等も作成されました\\n\\nXRSという回転法則ではOミノを特定の地形で回転させると穴にテレポートするように設計し、それをOspinとしています\\nまたTRSでは同様にすることでテレポートさせるだけでなく、他のミノの形に変形することによってOspinを実現しています",link:"",id:"c2438b38e3d412b7e59d8eb950853ab5ac321f80"},{title:"Rotation Systems(回転システム、回転法則)",tags:["wallkick","rotationsystem","回転","壁","法則"],category:"term",content:"ミノがどのように回転するかを決定しているシステムのこと\\nモダンテトリスの場合、ミノは特定の回転軸を中心に回転している(もちろんそれがないゲームもある)\\nそして回転させたときに壁や既にマスが埋まっている場所にミノが重なると通常「壁蹴り」という処理が行われ、あらかじめ決められた位置にズレ、再び壁蹴りが必要かの判定が行われる\\nこれを繰り返しミノは設置可能な穴に移動する\\nまたこの時、spin判定が出る場合がある",link:"",id:"0375a1b3830488cae13fe02b727d03b73de3eea0"},{title:"方向表記",tags:["direction","0r2l","02","20","rl","lr","表記","ミッション"],category:"term",content:"SRS系統の回転システムではミノの向きを記述する表記法がある\\n「0」や「正の向き」の場合は出現した時と同じ向き、「R」や「右」、「1」という場合は90°右回転(CW)した向き、「L」や「左」、「2」や「逆の向き」の場合は180°回転させた向き、「3」の場合は90°左回転(CCW)した向きを表す\\n\\n例えば0->Lは左回転1回、2->右は逆の向きの状態から左回転1回となる(これは回転方向ではなくミノの向きを表す表記法なので右回転ではない)\\nカスタムモードにあるミッションはこの表記を使っている\\n\\n「->」や数字使った表記は日本であまり使われない",link:"",id:"169218700f77094ee396025d2ca70756fbc0a75a"},{title:"ARS",tags:["arikrotationsystem","atarirotationsystem","あたり","アタリ","ありか","アリカ"],category:"term",content:"これは以下の2つの意味があります\\n\\nTGMにて採用されているArika Rotation Systemのこと\\n\\n回転した時にミノを左上に揃えるように回転方向するAtari Rotation Systemのこと",link:"",id:"b08793e8c88ed97811e6ffc2324504a60a317ced"},{title:"ASC",tags:["ascension","アスセンション","アズセンション"],category:"term",content:"テトリスクローン「Ascension」にて使用されている回転法則\\n全てのミノに同じ2つのキックテーブルが使用されている\\nキック範囲は右回転、左回転両方で±2マスとなっています",link:"",id:"a5387c0b6e4410c66ad1e4c19e2b76b20462ef98"},{title:"ASC+",tags:["ascension","ascplus","アスセンション","アズセンション"],category:"term",content:"ASCをTechminoのために修正したもの\\n180°回転の壁蹴りをサポートしています",link:"",id:"2de14efed2877667050ce125d31c18ddc8fc5015"},{title:"BRS",tags:["bulletproofsoftware","バレット"],category:"term",content:"BPS rotation system\\nBullet-Proof Software社のテトリスで使用されている回転法則",link:"",id:"d0675584ad76a94fffc11a93f45e8b20166d64f7"},{title:"BiRS",tags:["biasrs","biasrotationsystem"],category:"term",content:"*Techmino用語*\\nBias Rotation System\\nXRSとSRSを基に作られたTechmino独自の回転法則\\n回転時に右や左、ソフトドロップを入力しているとその方向にミノがズレるように回転に補正がかけられます\\n下方向に補正がかかっているときに回転に失敗(既存のマスと重なる)と下方向への補正をかけずに再試行します\\nそしてそれにも失敗した場合は右、または左の補正をかけずに再試行します\\nそれにも失敗した場合には回転されません\\n\\nBiRSはXRSに比べてキックテーブルが1つのため覚えやすく、さらにSRSの特徴である地形に沿った壁超え等も備えています\\n\\n追加事項:最後の回転補正を試行する時のルールとして移動するユークリッド距離が√5を超えてはいけない、また右または左に補正がかかっている場合には最後の回転補正はもう一方の方向には行かないという2つのルールがBiRSにあります",link:"",id:"41c0af2646e5815b09a6821fe6e83532239c30de"},{title:"C2RS",tags:["c2rs","cultris","2","カルトリス"],category:"term",content:"Cultris II rotation system\\nCultris IIで使われている回転法則\\n全ての回転、全てのミノのキックテーブルが同じ(ズレ方:左、右、下、左下、右下、左に2、右に2)\\nまた左右は左が優先される\\n\\nTechminoではこの回転法則を改良したC2symという回転法則があり、そちらは左右の優先順位をミノと回転によって決定している",link:"",id:"62a5c7b090a2979b58768504b166332a70a18666"},{title:"C2sym",tags:["cultris2","カルトリス","c2rs"],category:"term",content:"C2RSを改良した回転法則\\nミノと回転によって左右の優先順位を変えています",link:"",id:"cb0059cdcb6a74ca3c363b10f4a34e3fb53ffe1f"},{title:"DRS",tags:["dtetrotationsystem","dtet","デテト","でてと","ディテト","でぃてと"],category:"term",content:"DTET Rotation System\\nDTETで使われている回転法則",link:"",id:"a8ac1bcd736078d77d19f589aeccb48e7356da76"},{title:"NRS",tags:["nintendorotationsystem","任天堂","ニンテンドー"],category:"term",content:"Nintendo Rotation System\\nファミコンやゲームボーイ時代のテトリスに使用された回転法則\\nゲームボーイ用の左手用とファミコン用の右手用の2種類があります",link:"",id:"1fcbba8820c777bc421ac1c2dba445c896eefda5"},{title:"SRS",tags:["superrotationsystem","回転"],category:"term",content:"Super Rotation System\\n最もポピュラーな回転法則であり、多くの自作回転法則の基礎にもなっている\\nそれぞれのミノには上下左右4方向あり、右回転、左回転の2つの方向に回転できる(この回転法則では180°は存在しない)\\nそして回転した時にミノが既に埋められているマスや壁、床に重なった場合、位置ズレが発生し床や壁を蹴ることができます(通称:壁蹴り)\\nキックテーブルの詳細はTetris wikiやHardDropにて調べられます",link:"",id:"fe329572f8c280a48db48996ecf6276166a43283"},{title:"SRS+",tags:["srsplus","superrotationsystemplus","tetr"],category:"term",content:"SRSを180°に対応させ、さらに一部の回転に対称性を持たせた回転法則です",link:"",id:"06663b6165e4f3de5c2634a62fb2be4ae66cff52"},{title:"TRS",tags:["techminorotationsystem","techmino"],category:"term",content:"*Techmino用語*\\nTechmino Rotation System\\nSRSを基にした回転法則\\nSとZが回転しない場合を修正し、いくつかの便利なキックテーブルがあります\\n\\nTRSはOspinをサポートしています",link:"",id:"71dd364fad01829c910f46108bb9f026d7937635"},{title:"XRS",tags:["xrs"],category:"term",content:"X rotation system\\nTetris.grのT-EXで使われている回転法則\\n方向を入力していると別のキックテーブルを使えるという機能を備えておりプレイヤーがミノのズレる先を操作できるようになっている",link:"",id:"2d1d479ea535d60b3120f6ec1523575b004b6920"},{title:"Back to Back",tags:["b2b","btb","backtoback","バック"],category:"term",content:"略称はBtB(B2B)\\n他のLine消去を挟まずにspinやテトリスをすること\\n火力やスコアに補正がかる\\nコンボとは違い、Line消去に関わらないミノを置いてもBtBには影響がない",link:"",id:"e8e071ffb7ef406f92748c1a23e438359f60b2a9"},{title:"B2B2B",tags:["b3b","b2b","btb","backtoback","バック"],category:"term",content:"*Techmino用語*\\nBack to Back to Back、略称はB3B\\nBtBを続けて維持し、BtBゲージを満タンにすることでB3Bになり、火力やスコアに更に強力な補正がかかる",link:"",id:"c433b2e201993e1d301a8ce4aaaa00ccea045f29"},{title:"Fin, Neo, Iso",tags:["fin","neo","iso","特殊","フィン","ネオ","アイエスオー","ふぃん","ねお","あいえすおー"],category:"term",content:"Tspinのキックテーブルと成立条件を利用した特殊なTspinです\\nゲームによってはminiになったりと価値が異なりますが実戦では限られた場面でしか使われません",link:"",id:"44696117b28725326db731e0d17e1f02b3ff6375"},{title:"モダンテトリス",tags:["modern","モダン","現代"],category:"term",content:"“モダン“テトリスや落ちものパズルゲームのコンセプトは曖昧です\\n一般的にテトリスガイドラインに準じて作られたテトリス(公式テトリス)に似ている落ちものパズルゲームはモダン(現代的)ゲームと言われます\\nこれに共通するルールを以下に挙げますがこれは厳密な定義ではありません\\n\\n1.可視部分の盤面は横10×縦20、さらにこの上に見えない盤面があることが多い\\n2.ミノは盤面可視部分の中央上部に生成され、それぞれ一貫した方向と色を持っています\\n3.7-BagやHisのような適当な生成機構がある\\n4.適当な回転システムを持ち、最低でも左右、両回転が可能\\n5.適当な設置システムがある\\n6.適当なトップアウト条件がある\\n7.複数個(通常3~6個)のネクストが表示されており、ネクストに表示されているミノが出現時にの方向と一致している\\n8.ホールドがある\\n9.ミノの出現時間やLine消去時間がある場合、通常IRSやIHSがある\\n10.正確かつ素早い横移動のためのDASシステムがある",link:"",id:"4c50dcb1b2b062e3b11f19942e292b26d37da0b3"},{title:"テトロミノの形",tags:["shape","structure","form","tetromino","tetrimino","ミノ","テトロミノ","テトリミノ","ブロック","ピース","形"],category:"term",content:"通常のテトリスの場合、使用するミノは全てテトロミノ、つまり4つの正方形が最低でも1辺それぞれ共有するように並べたブロックです\\n回転して合同になることは許し、反転で合同になることは許さなかった場合、全部で7種類のテトロミノができます\\nこれらのテトロミノはアルファベットに似ていることからそれぞれZ,S,J,L,T,O,Iと名前が付けられている\\n詳しくは「形と名前」の項目を参照",link:"",id:"ef69d60a3cc8b49ef0b8d6510a14e97517cb2049"},{title:"テトロミノの色",tags:["colour","hue","tint","tetromino","tetrimino","ミノ","テトロミノ","テトリミノ","ブロック","ピース","色"],category:"term",content:"最近のモダンテトリスではそれぞれのテトロミノに同じ配色をしています\\n\\nZ-赤、S-緑、J-青、L-オレンジ、T-紫、O-黄色、I-水色\\n\\nTechminoも例にもれずこの配色を使っています",link:"",id:"dea2749f91e6ddcbde63c93d9c870ae9f78756c3"},{title:"IRS",tags:["initialrotationsystem","先行","操作"],category:"term",content:"Initial Rotation System\\nミノ出現前に回転を入力し続けることでミノが回転した状態で出現するシステム\\nミノの重なりによる死亡判定を回避することが可能",link:"",id:"26a39cddcceef76eec2d0ee3a603f4eeba023756"},{title:"IHS",tags:["initialholdsystem","先行","操作"],category:"term",content:"Initial Hold System\\nミノ出現前にホールドを入力し続けることでホールドを行った後のミノが出現するシステム\\nミノの重なりによる死亡判定を回避することが可能",link:"",id:"2e6c8326dd0ff1debd849bb11d6b29e11a2eed38"},{title:"IMS",tags:["initialmovesystem","先行","操作"],category:"term",content:"*Techmino用語*\\nInitial Movement System\\nミノ出現前に横移動を入力し続けることでミノが1つ横にズレた状態で出現するシステム\\nミノの重なりによる死亡判定を回避することが可能\\n\\n補足:横移動を入力し始めてからミノ出現までの時間がDAS時間よりも長くなければいけません",link:"",id:"bbd943e376c3847e6617fd252acc7e0046eab1d8"},{title:"Next(ネクスト)",tags:["nextpreview","next","ネク","ネクスト","ねく","ねくすと","次","上達","練習"],category:"term",content:"次に来るミノをいくつか表示している部分のこと\\nネクストを処理することによって前もってミノの置く場所を決めることができ、テトリスを上手くなるには必須技術です",link:"",id:"c92cf9183c2e48a86e30f2ef323d04198fa52a5f"},{title:"Hold(ホールド)",tags:["hold","ホールド","一時","保留"],category:"term",content:"その時点で操作しているミノがホールド部分に移動し、代わりに元々ホールド部分にあったミノを取り出します(もしホールド部分にミノがなかった場合、ネクストのミノが操作ミノになります)\\nこの操作は通常繰り返すことはできず、一度ホールド部分に移動したミノは再びホールドすることはできません\\n\\n*Techmino用語*\\nTechminoには「その場ホールド」という機能があります\\nこの機能を有効にしていた場合、ホールドから取り出されるミノは従来の出現位置ではなく、その時ミノがある位置に出現します",link:"",id:"d47a553f2352803ffa500b2637c7d69c3f4f13da"},{title:"Swap",tags:["hold","ホールド","一時","保留","スワップ"],category:"term",content:"ホールドと似た機能ですが、swapはネクストとミノを入れ替えます\\nつまりこの操作をした場合、swapしたミノは次の操作ミノになります\\n\\nこの操作は通常繰り返すことはできず、一度swapしたミノは再びswapすることはできません",link:"",id:"a579efcbdc1313f01ee4052715b31ab8d8764b67"},{title:"Deepdrop(ディープドロップ)",tags:["shenjiang","ディープ","deep"],category:"term",content:"*Techmino用語*\\nこの機能を有効にした場合、床を貫通して回転入れのようにテレポートします\\nミノと同じ形の穴があり、その穴が埋まっている時に下までソフトドロップし、もう一度ソフトドロップを入力することで埋まっている穴にテレポートします\\nこの機能はAIが回転法則の違いを無視できるようになるため特にAIに有効な機能です",link:"",id:"e66932715be581f84b57cd16e806d3e2130f9b64"},{title:"Misdrop(置きミス)",tags:["md","misdrop","ミス","置き"],category:"term",content:"意図しない場所にミノを置いてしまうこと\\n\\n日本では、テトリスするためのIミノが縦のまま1つ横にズレることを「あるぎミス」と言ったりする",link:"",id:"01080f102e9d954f8d2752605e0d6531089c3f95"},{title:"Mishold(ホールドミス)",tags:["mh","mishold","ホールド","ミス"],category:"term",content:"意図しないタイミングでホールドしてしまうこと\\n置きミスにつながったりパフェを逃す原因になります",link:"",id:"ac2aa3ff1c8ee16a4258bf8b331034d285c9da33"},{title:"sub(切り)",tags:["sub","切り","タイム","秒","分"],category:"term",content:"sub<時間>(<時間>切り)はスプリント(40Line)などのタイムが<時間>未満であることを意味する\\nsubの場合は時間の単位が省かれることが多い\\n例えば、スプリント(40Line)の場合はsub30(30秒切り)、1000Lineの場合はsub15(15分切り)と表す",link:"",id:"2e2feb8592af85d898cd4f928c4cb1bb5c31a2d2"},{title:"Digging(掘り)",tags:["downstacking","ds","掘り","堀り","dig","ダウン"],category:"term",content:"盤面の下にある下穴などを消していくこと\\n「堀り」ではなく、「掘り」",link:"",id:"35fb2f3c5c6f9596510318459846f4096df49a8d"},{title:"Downstack",tags:["downstacking","down","ds","掘り","dig","ダウン","upstack","up","ud","積み","stack"],category:"term",content:"大きく見た時に地形を下げる積み方のこと\\n掘りはこれの1種である\\n対義語としてUpstackがある\\n\\n1巡毎に2Line消去をする場合、盤面内は1巡につき8つブロックが増えていく\\nつまり毎巡TSDをすると火力が送れる上にリソースが溜まっていくのである。",link:"",id:"aa5600b84be1854f3439f4aa41c07d9b181001d2"},{title:"削り",tags:["削り","整地"],category:"term",content:"主に整地を目的として1~3Line消去をすること\\n無駄な削りもあるが必要な削りも世の中には存在する",link:"",id:"1a16267b0b7c3f428030e5cb10b1e3e56b3f95ea"},{title:"Donation(ドネイト)",tags:["donate","ドネイト","空中"],category:"term",content:"穴を一旦塞いでTspinの地形を作ること\\n特にTspinの後に塞いだ穴が空く形状となるもの",link:"",id:"eafbc1723a0844d66292009fccfb17dda1728173"},{title:"‘Debt’",tags:["qianzhai","debt","owe"],category:"term",content:"中国のテトリスコミュニティで使われる用語(欠债と呼ばれている)\\n\\n特定の地形を完成させないとまともな攻撃(Tspinやテトリス)ができない状況や地形を表す用語\\n端的に言えばTSTタワーやキングクリムゾンのような大型テンプレを組み終わるまでの隙のことを指す\\n大型テンプレを実践でする場合には凝視等で安全なことを確認してから行わないと不利な状況になります",link:"",id:"494a79a3b7c09476e9b602f0de65d7444af7db6a"},{title:"謎テト",tags:["クイズ","quiz","謎","上達","練習"],category:"term",content:"特定の状況とお題が与えられ、それを満たすような答えを探す詰将棋みたいなもの\\n謎テトがまとめられたサイトもある",link:"",id:"f5d2a8bf4275cae881388c7e38388bddf4872d0a"},{title:"てとぼ",tags:["募集","上達","練習","tetobo"],category:"term",content:"テトリス募集の略\\nTwitterやDiscord上で対戦相手を募る時に使う言葉\\nTwitterではてとぼをRTしてくれるbotが存在する",link:"",id:"372008da2c8cc0a291a67e428a209f5a0d31a978"},{title:"テト譜コード",tags:["開発","テト譜","譜面","コード"],category:"term",content:"テト譜URLの「v115@~」以降の部分のこと\\nこれにはテト譜地形やコメント等の情報が収められている\\n「v115@」の部分は「m115@」だったり「v095@」だったりする\\n詳しくはnewjade氏が作成した「テト譜v115のデータ構造」というスライド参照",link:"https://docs.google.com/presentation/d/1P5xt0vPGuxSb9hbRW6hvQFYKFoIccfNTJkWTdjtyigc/edit#slide=id.p",id:"e777f175dd22978ab4fe72da0032e69e5f7374c7"},{title:"地力",tags:["実力","上達"],category:"term",content:"あらゆる場面に対応できる総合的な能力のこと\\n要はテトリスの実力\\n\\n実際には速さや見える手、凝視等の根本的な能力の総称として使われることが多い",link:"",id:"297a557493aa8dad2ab34028f5cf135ed7390caf"},{title:"パリティ",tags:["開発","テト譜","譜面","研究","練習"],category:"term",content:"地形を特定の法則に従って2色以上で塗り分けた時の性質のこと\\n今までは主に市松パリティや縦パリティでパフェが取れる条件を絞り込みだけだったが、最近では研究が進みアップスタック時に安定して火力が出せる地形を維持する条件などが解明されている",link:"",id:"51a0c20b3b6f8cabcfbebfc77851c74475f5884a"},{title:"Attack & Defend",tags:["attacking","defending","攻撃","防御","攻防","アタック","ディフェンス","火力","相殺"],category:"term",content:"attack:相手の火力ゲージに到達した攻撃のこと\\ndefend:相手から送られてきた火力に自分の火力を当てること(日本では「相殺」と呼ばれる)\\nカウンター:相手からの火力を受ける(相殺外し)、または相手の火力を相殺してから相手に攻撃を送り返すこと\\nほとんどのゲームでは1:1で相殺が計算されます\\nつまり相手が火力4で攻撃してきた時に自分がテトリス等で火力4を出した場合、4-4=0 で完全相殺となります",link:"",id:"631de8b698d9d53d8e8787bceeef14436277349e"},{title:"Combo(コンボ)",tags:["ren","combo","れん","レン","こんぼ","コンボ","連"],category:"term",content:"日本では「ren」とも言う\\n連続してLien消去を行うこと\\n1回目のLine消去を0ren目、2回目を1ren目、3回目を2ren目としてカウントアップしていく\\nもちろんLine消去せずにミノを置いたらren数はリセットになる",link:"",id:"4128f2188446f8b8d722d9a805311a67b2199f74"},{title:"Spike(スパイク)",tags:["spike","スパイク","すぱいく","まとめ"],category:"term",content:"短時間で高火力を出すこと\\nただしネットのラグによって大量の火力が行き来することを「ラグスパイク」と呼ぶことがあるが厳密にはスパイクではない\\nTechminoとTETR.IOにはスパイクカウンターがあり、これによって短時間でどれだけ高火力を出したかがわかる",link:"",id:"0600eadaec48d6c22ec000240a27fe964584e7e8"},{title:"端開け(端空け)",tags:["sidewell","端","開け","空け","ren","combo","レン","れん","コンボ"],category:"term",content:"端を任意の幅開ける積み方\\nつまり端開け1列はテトリス積みになります\\n端開け2~4列はren地形になります\\n\\n端開けは幅を広げる程、短時間で積み上げられますがその分相手からの攻撃が簡単に刺さります\\nそのため上級者が端ren等をする場合は相手に隙があるかを確認してから組み始めます",link:"",id:"32eac94ecf78f188c3274e7d106ea8cffb52e8a7"},{title:"中開け(中空け)",tags:["centerwell","中","開け","空け","ren","combo","レン","れん","コンボ"],category:"term",content:"真ん中を任意の幅開ける積み方\\n基本的に左右から5,6列目を中心に開けることを指す\\nミノを左右に移動させる回数が端開けに比べ多くなるため積み込む速さは遅くなるがそれ以上に選択肢が増えるので好まれる",link:"",id:"cd92890afb1e74dfcd16135ae67aa31ef56e8c6a"},{title:"Partial well",tags:["partialwell","開け","空け","ren","combo","レン","れん","コンボ"],category:"term",content:"日本では使われない用語\\n中でも端でもない左右から2,3,4列目を中心に任意の幅開ける積み方\\n定義的には63積みやヤンキーrenなどがこれにあたる",link:"",id:"ba121cf78df0cbf688ed4cd5881123c443058db6"},{title:"Side 1-wide(端開け1列、端空け1列)",tags:["s1w","side1wide","sidewelltetris","端","1","空け","開け","テトリス"],category:"term",content:"つまり端を開けてテトリス積みをすること\\n最も伝統的な積み方\\n最も簡単に積め、簡単に火力を送れる\\nただし攻撃の幅が狭い(テトリスかドネイトTspinぐらい)ので上に行くほどあまり好まれない",link:"",id:"b48962188262aa932c589c90f2fc7ac2deccb9ab"},{title:"Side 2-wide(端開け2列、端空け2列)",tags:["s2w","side2wide","端","2","空け","開け","ren","combo","レン","れん","コンボ","初心者","下級者"],category:"term",content:"端に2列幅を持たせるrenの積み方\\n積みやすくrenによって簡単に火力が出せるので初心者におすすめ\\n上に行くほどren数を稼ぎづらいことからあまり使われない",link:"",id:"e83445bc508d7f1124b6feca371ed67ddb4c89d3"},{title:"Side 3-wide(端開け3列、端空け3列)",tags:["s3w","side3wide","端","3","空け","開け","ren","combo","レン","れん","コンボ"],category:"term",content:"端に3列幅を持たせるrenの積み方\\n2列開けよりもren数を稼ぎやすいが、2列開けよりもrenが途切れやすい",link:"",id:"7491d2d3b3caf7e53faeb3dc1455b2753dc9eaa9"},{title:"Side 4-wide(端開け4列、端空け4列)",tags:["s4w","side4wide","端","4","空け","開け","ren","combo","レン","れん","コンボ"],category:"term",content:"端に4列幅を持たせるrenの積み方\\nren地形を作る時によく使われる\\n積む幅が狭いので速く積み上げることができ、上手くいった場合にはren数を大きく稼ぐことができる\\nただしrenを繋げるのは少し難しく、また地形が高くなるのが早いので油断していると簡単に刺さる",link:"",id:"71c8467d053ba0a54355f293b5373ffe5c9463f0"},{title:"Center 1-wide(中開け1列、中空け1列)",tags:["c1w","center1wide","centerwelltetris","中","1","空け","開け","テトリス"],category:"term",content:"つまり真ん中を開けてテトリス積みをすること\\n攻撃の幅が広く、また簡単に攻撃を組み立てることができるため対戦で好まれる",link:"",id:"ab48b2a2126432736dafb7ace4e6afdf4cbe773e"},{title:"Center 2-wide(中開け2列、中空け2列)",tags:["c2w","center2wide","中","2","空け","開け","ren","combo","レン","れん","コンボ"],category:"term",content:"真ん中に2列の幅を持たせるrenの積み方\\nTミノが遠い時にTspinを作るとなりやすいが意図的に使われることは少ない",link:"",id:"e1574eb512b691a48938b87003b2eb5e510a066c"},{title:"Center 3-wide(中開け3列、中空け3列)",tags:["c3w","center3wide","中","3","空け","開け","ren","combo","レン","れん","コンボ"],category:"term",content:"真ん中に3列の幅を持たせるrenの積み方\\nSTSDやSTMB-ケイブ、TSTタワー等テンプレを組みやすい幅ではあるが精々10段ぐらいしか積まれない",link:"",id:"184a16cc5afe7488759acf9cdf9a8534f2341e3a"},{title:"Center 4-wide(中開け4列、中空け4列)",tags:["c4w","center4wide","中","4","空け","開け","ren","combo","レン","れん","コンボ"],category:"term",content:"真ん中に4列の幅を持たせるrenの積み方\\nren数を稼ぎやすく、相手から20段以上の攻撃を受けないと出現ミノの位置にブロックが重ならないのでrenを狙う場合によく使われる\\nrenの調整が強いゲームだと嫌われやすい",link:"",id:"1139463af9eb74645054bc7a85c718b52755e583"},{title:"ヤンキーren",tags:["partial","ヤンキー","空け","開け","ren","combo","レン","れん","コンボ"],category:"term",content:"真ん中でも端でもない左右一方から2,3列目を中心に2~3列の幅を持たせるrenの積み方\\n積み込み難易度の高さや最適化のしづらさからあまり使われることはない",link:"",id:"091334e842c6b8c0a73c5ab5e17b853f398eb6e0"},{title:"Residual(種)",tags:["res","種","residual","c4w","s4w","端","中","ren","combo","れん","レン","こんぼ","コンボ"],category:"term",content:"端開けや中開けをした時に幅を持たせた部分にあるブロックの数のこと\\n特に4列renの時に使われる\\nよく使われる種数は種3、または種6だが種3n(n:1以上の整数)なら理論上多くのren数を稼げる\\nまた3nじゃなくても種2などは1ミノLine消去せずに置くことで種6になったりする\\n\\n種3の特徴:消し方の種類が少ないので簡単に習得でき、積みに使うブロック数が多くなるので速く積み上げられるが種6等よりも繋げられないパターンが多い\\n種6の特徴:消し方の種類が多いので難しいですが安定してrenがつなげやすく、途中でTSSを加えられるためゲームによっては非常に強力な攻撃になります",link:"",id:"acbe02a42704d282d8c35f0ab5fcb391488188ce"},{title:"6–3 Stacking(63積み)",tags:["63stacking","six-three","sixthree","6","3","積み","初心者","下級者","40","スプリント"],category:"term",content:"左側に幅6、右側に幅3で積む積み方\\n最適化をある程度習得していれば横2入力が少なくなるのでKPPが少なくなり、積みに使うIミノの割合を下げることができるのでより効率よくテトリスを撃つことができます\\n特にスプリント(40Line)で使われる積み方です\\nしかし端開け(90積み、09積み)と比べ積める幅が狭いので少し練習が必要になります",link:"",id:"b28ddc88b0bbab182034906177510057be37b223"},{title:"Freestyle(フリースタイル)",tags:["ziyou","フリー"],category:"term",content:"主に20TSDで使われる用語\\nLST等のループできるテンプレを使わずに20TSDを完走することを指します\\nLST等のテンプレを使わない分難易度は高いがプレイヤーのTspinスキルを見せることができます",link:"",id:"b6e37d62b1c693ec9ca5923f4d1c84c8af6d790b"},{title:"Topping out(トップアウト)",tags:["die","death","topout","toppingout","トップ","死","刺"],category:"term",content:"モダンテトリスの死亡判定は3つあり、どれか1つを満たすとゲームオーバーとなる\\n\\n1.ブロックアウト:出現したミノが盤面上にあるブロックと重なる\\n2:ロックアウト:致死Lineよりも上にブロックを置く\\n3.トップアウト:せり上がりなどにより地形の高さが40を超える\\n\\nTechminoの場合はブロックアウトの判定しか行っておらず、ロックアウトとトップアウトはない",link:"",id:"59960b31d11165c89d47787c2de99bc38b8264a5"},{title:"Buffer zone",tags:["above","super","invisible","disappear","猶予","盤面","上部"],category:"term",content:"通常、盤面は縦20段だが実際には21段目以上が存在し、21段目から40段前後までをBuffer Zoneという(日本ではあまり使われない)\\n通常は40段までで十分なのだがゲームによっては足りない場合がある\\n詳しくは「Vanish zone」参照",link:"",id:"130c8afeaebcef1c72c7c9571e6c690afc184d3d"},{title:"Vanish zone",tags:["disappear","gone","cut","die","猶予","盤面","上部","死","バグ","無限"],category:"term",content:"Buffer zoneよりも上の領域を指す\\n通常はVanish zoneに到達できないが開発者の設計ミスによって到達できるゲームがいくつかある\\nそしてこの領域に侵入すると一般的には強制終了になるがゲームによっては異なる振る舞いをする\\n例えばぷよぷよテトリスではBuffer zoneが43段必要だが十分に確保されていないためLine消去時に最上段のブロックをコピーし続けるバグがあります(具体的な活用方法は地球儀ボタンのリンクをご覧ください)\\nまたJstrisのVanish zoneは22段以上の領域となっており、21段よりも上のブロックは消滅します",link:"https://youtu.be/z4WtWISkrdU",id:"1451f8bbada0acd2857a81be0e7c9f5471da89b4"},{title:"Falling speed(落下速度)",tags:["fallingspeed","gravity","落下","重力","20","g"],category:"term",content:"1フレーム(通常は60fps)に何段自由落下するかを計る指標\\n単位は「G」\\nGは通常時には大きすぎる単位であり、例えばマラソンのLv.1は1/60Gの落下速度で1GはLv.13相当になります\\nモダンテトリスの最高落下速度は20Gでこれは盤面の高さが20段なことから来ています\\nしかし実際には20Gと表記されていても無限なことが多く、盤面の高さが21段以上でも出現した瞬間にミノが一番下に落ちるようになっている\\n詳しくは「20G」の項目参照\\nTechminoでの落下速度は1ブロック落ちるのに必要なフレーム数で表現されます\\n例えば落下速度60の場合、1秒間に1マス下に落ちます(ゲームがデフォルト60fpsで動作しているため)",link:"",id:"6d8efed7f848a629b55b0b29f5c9968b0f925ad4"},{title:"20G",tags:["gravity","instant","瞬間","落下","重力","20","g"],category:"term",content:"モダンテトリスの最高落下速度\\n20Gモードでは実際に20Gで動いているわけでなく、ミノが一番下に出現するようになっている\\nこれによってミノが段差や壁を登れないことがある\\n単位「G」は「Falling speed(落下速度)」の項目参照",link:"",id:"333426ad906acc63675dfe7cbe18d8e8e4a5a946"},{title:"Lockdown Delay(設置時間)",tags:["lockdelay","lockdowndelay","lockdowntimer","設置","ロック","接着","ディレイ","遅延","時間"],category:"term",content:"ミノが地面に接してから完全に設置するまでの時間のこと\\nモダンテトリスでは設置時間が比較的緩く、さらに移動や回転によって設置時間をリセットできることが多い\\nほとんどのゲームでは最大15回まで設置時間をリセットできるようになっているが、この回数も操作ミノがあった最低高度を更新することでリセットすることができる\\nこれを使うことで時間稼ぎができる\\nクラッシクテトリスでは設置時間が厳しいことが多々あります",link:"",id:"c4f509e16a53c734429ba87ceedb780e2049b895"},{title:"ARE(出現時間)",tags:["spawn","appearance","delay","are","出現","スポーン","遅延","ディレイ","時間"],category:"term",content:"ミノが設置してから次の操作ミノが出現するまでの時間のこと",link:"",id:"032d579b840c30205575f1aca46ca1d9a8e5b4ee"},{title:"Line ARE(Line消去時間)",tags:["appearance","delay","line","ライン","are","消去","遅延","ディレイ","時間"],category:"term",content:"Lineを消去するのにかかる時間",link:"",id:"864a47d70caa0cbb7779cc4fd62ac8e3ba3d6579"},{title:"Death ARE(死後硬直時間)",tags:["die","delay","dd","死","硬直","are","出現","スポーン","残機","復活","遅延","ディレイ","時間"],category:"term",content:"残機制などが有効になっている時に死亡してから復活するまでの時間\\nTechminoの場合はブロックアウトで死亡した時、次のミノの出現時間に死後硬直時間が加算されます\\nまたIHSやIRSなどを使うことによってブロックアウトを回避できる場合があります\\n\\nこのシステムはNOT_A_ROBOT氏によるアイデアです",link:"",id:"72179608811dccdf6be8b38d0c12a13fdd342f3e"},{title:"Finesse(最適化)",tags:["finesse","最適化","効率","操作","初心者","下級者","上達","練習"],category:"term",content:"ミスなく最低限の操作で目的の場所にミノを移動させる技術\\n速さが上がり、ミスも減ります\\nJstrisの「restart on finesse error」やTechminoの最適化失敗音を有効にすることで練習できます\\n厳密にはTechminoの最適化判定は「理論上の最小入力数」ではなく、「ソフトドロップを必要としない位置の時、一定回数以下の入力かどうか」で判定しています\\nそのためソフトドロップが必要なspinなどの時は最適化の判定を行っていません\\nまたTechminoの最適化率は一定回数以下の場合100%、一定回数より入力が1多い場合50%、入力が2多い場合25%、入力が3以上多い場合0%とされています\\nまた0Gと20Gで最適化の算出方法を変えていないため落下速度が速い時は不正確なことに注意してください",link:"",id:"e50e3567a81e2fae61f08dc025de8ce31529fa00"},{title:"‘Doing Research’",tags:["scientificresearch","研究","上達","練習","科研"],category:"term",content:"「科研」という中国のテトリスコミュニティで使われる言葉\\n落下速度の低い1人用モードで技術やテンプレを研究・練習することを言います(日本でもこの練習はありますがその行為のみを指す単語は存在しません)",link:"",id:"9278144ec951e80b757cec593b1d8c7fcd4c1e25"},{title:"Keymapping(キー配置)",tags:["feel","キー","key","操作"],category:"term",content:"ここではキーボードでのキーコンフィグについて言及します\\nキーコンフィグの原則\\n1.同時に押される可能性がある複数のキーを1本の指に割り当てないでください\\n基本的には回転3種類(右、左、180°)と左右移動(右、左)はそれぞれ同時に押されることはありません\\n2.既に他のゲームで小指を鍛えていない限り小指を使わないキー配置にしてください\\n基本的には人差し指と中指を中心に組み立てるといいでしょう\\n3.人によって最適なキー配置は違うので使っている人を理由に変える必要はないです\\n\\n最低限の原則を守っていればキー配置による優劣は非常に薄いと考えられます",link:"",id:"0a7f368c96fef419be637b9c6ab6da06aab5adbc"},{title:"Handling(ハンドリング)",tags:["feel","handling","チューニング","das","arr","ハンドリング","操作"],category:"term",content:"操作に悪影響を与える主な要因を以下に挙げます\\n1.デバイスの設定や状態による遅延\\nゲームを再起動したりデバイスを変えたりすることで改善されます\\n2.ゲームが重い\\n機器の性能不足やプログラムコードが不安定、設計の不具合が原因です\\nエフェクト設定などを軽くすることで緩和される場合があります\\n3.意図的に操作性を悪くされている\\n適応するしかありません\\n4.DASやARR等のチューニング設定が合っていない\\n適当な値に変更しましょう\\n5.姿勢が悪い\\n腰痛めますよ?\\n6.姿勢やキー配置、チューニングを変えて慣れていない\\n慣れるの諦めるか根気強く頑張りましょう\\n7.疲労\\n早急に休んでください",link:"",id:"46fb746364907d6eaac6a1399a6ae5199f90eb6f"},{title:"DAS (横溜め)(簡易な説明)",tags:["das","arr","delayedautoshift","autorepeatrate","ダス","だす","ため","溜め","横"],category:"term",content:"キーボードの「O」を長押しすると長いOの文字列ができます\\nこのときOがどのように出現したかというと「O->(長い溜め時間)->O->(僅かな溜め時間)->O->(僅かな溜め時間)->...」のようになります\\nこの長い溜め時間のことをDAS(delay auto shift、別名:横溜め)、僅かな溜め時間のことをARR(auto repeat rate)と呼びます",link:"",id:"6237720d40b10ea8fd1c5cb959db17d238b4e501"},{title:"DAS & ARR",tags:["das","arr","delayedautoshift","autorepeatrate","ダス","だす","ため","溜め","横"],category:"term",content:"Delay Auto Shiftの略、日本だと「横溜め」とも言われる\\n左右入力をした時に横に移動する仕組みのこと\\nまた長時間左右入力した時に最初の横に1つズレる移動から次の移動までの時間のこと\\n\\nARRはAuto Repeat Rateの略\\n左右入力を長時間すると連続して横に動き始めるがその時の移動周期のこと\\nゲームによってはDASやARRをフレームで計算しています\\n60fpsで動作するゲームの場合、f(フレーム)×16.7でms(ミリ秒)に換算できます",link:"",id:"d79af5ba7f2a4e057d7aeec842d9d8ee8e737c9d"},{title:"DAS tuning(DASチューニング)",tags:["das","tuning","チューニング","操作"],category:"term",content:"より速くプレイしたい人はDASを4~6f(67~100ms)、ARRを0f(0ms)にすることをおすすめします(ARR:0というのはDASより長く入力を続けた瞬間、端にミノが移動する設定です)\\n理想の操作方法としては単時間入力と長時間入力を確実にコントロールできるようにし、ARRを0にDASやそれ以外の設定は可能な限り低くすることです",link:"",id:"323c1b9c140407542738b97fd8e10f3564c39397"},{title:"DAS cut(DASカット)",tags:["dascut","dcd","カット"],category:"term",content:"*Techmino用語*通常、ミノが出現する前にDAS時間以上入力をしているとミノが出現した瞬間に動き出します\\nDASカットはこのような現象を減らすためにDAS時間以上入力していても出現時にDASカット分減算する機能です\\n他のゲームにも似たようなものがありますが恐らく異なるでしょう",link:"",id:"8b5b2ebc0da01b3cd80a4d798703d721c14bf30d"},{title:"Auto-lock cut(自動設置カット)",tags:["autolockcut","mdcut","自動","カット"],category:"term",content:"ミノが自由落下により設置された時にハードドロップを入力してしまうことで暴発するという事故を防ぐ機能です\\n自由落下によって設置した場合、自動設置カット時間の間ハードドロップが無効化されます\\n他のゲームにも似たようなものがありますが恐らく異なるでしょう",link:"",id:"a5d401a9ffa0de7bf066b91005d40cbc6a79d2fc"},{title:"SDF",tags:["softdropfactor","ソフトドロップ"],category:"term",content:"Soft Drop Factor\\n\\nソフトドロップの速さを自由落下の速さの倍数で表現する方法\\nガイドラインテトリスではSDF20、つまりソフトドロップの速さは自由落下の速さの20倍と定められている\\nなおTechminoではSDFを使用してません",link:"",id:"e530adfdb37a1128fe34adb56f1b60622fa67381"},{title:"形と名前",tags:["mino","ミノ","みの"],category:"term",content:"Techminoで使われる全ブロックとその名前のリストです:\\nTetrominos:\\nZ: ``, S: ``, J: ``, L: ``, T: ``, O: ``, I: ``;\\n\\nPentominos:\\nZ5: ``, S5: ``, P: ``, Q: ``, F: ``, E: ``, T5: ``, U: ``, V: ``, W: ``, X: ``, J5: ``, L5: ``, R: ``, Y: ``, N: ``, H: ``, I5: ``;\\n\\nTriminos, Domino, and Mino:\\nI3: ``, C: ``, I2: ``, O1: `.",link:"",id:"fa534d055cbefaaa37429612aeac44aa392fff1d"},{title:"7種1巡",tags:["bag","7bag","randomgenerator","7","種","1","巡","生成","出現","法","則"],category:"term",content:"別名:7-bag、正式名称:Random Generator\\n公式テトリスがミノを生成するのに使うアルゴリズムのこと\\nテトリスには通常7種類のミノがあるが全種類が同じ数出現することが保証されている\\n例:ZSJLOIT OJSIZLT TOILSZJ...",link:"",id:"aa006bc1bae0390132268713ec7aa91e6b923ddd"},{title:"His generator",tags:["history","hisgenerator","tgm","生成","出現","法","則"],category:"term",content:"History generator\\nTGMに使われるミノを生成するときの法則\\n毎回ランダムに7種類の中から選択されるが、もし選択されたものが数個前と同じな場合はまたランダムに7種類の中から選択され最終的に別のミノが選択されるか再選択回数が限界に達して同じミノが選択される\\n例えば「his 4 roll 6」と設定されているジェネレータの場合、選択したミノが前に使った4つのミノの中にある場合、最大6回まで違うミノが出るまで再選択する\\n他に「his 4 roll 6 pool 35」のようにさらにランダム性を減らしたものもある\\nTechminoではrollの値はネクストの長さの半分、小数点以下切り上げになっています",link:"",id:"0b1eb1158396d0061c6b94476c6d87ee72e8b384"},{title:"HisPool generator",tags:["hisPool","history","pool","tgm","生成","出現","法","則"],category:"term",content:"History Pool generator\\nHis generatorを基に「Pool」という機能を導入した生成法則\\nミノを選択する場合にPoolという袋の中から選択されている\\nPoolの中にあるミノは選択された回数に基づいて選択される確率が変動しており、出現頻度が低いものほど確率が高くなっている\\nこの仕組みによってランダム性が大きく減らされ、同じようなミノばかり来るということはなくなった",link:"",id:"1579c44475d98d4fc1e131ddc7fb4144a14f6d84"},{title:"bagES generator",tags:["bages","easy","start","生成","出現","法","則"],category:"term",content:"*Techmino用語*\\nBag Easy-Start\\n7種1巡を更に改良した生成法則\\n最初に置きづらいミノ(S/Z/O/S5/Z5/F/E/W/X/N/H)が選択されません",link:"",id:"62a9f13c56314bb19e8c762b0d98064e7e1fd01d"},{title:"Reverb generator",tags:["reverb","生成","出現","法","則"],category:"term",content:"*Techmino用語*\\n7種1巡から派生した生成法則\\n7種1巡を基にしてそれぞれのミノが数回連続して出ようとします\\n特定のミノが頻繫に連続して出ようとすると連続して出る確率が下がり、逆にあまり連続して出ないミノは連続して出るように確率が上げられます",link:"",id:"27828cfe25f21b50d405a8ae6e6c77458c0ac953"},{title:"C2 Generator",tags:["cultris2generator","cultrisiigenerator","c2generator","カルトリス","生成","出現","法","則"],category:"term",content:"Cultris IIで使われる生成法則\\nミノに重みを付けて計算しています\\n初期は全ミノの重みは0に設定されています\\nそしてミノを選択する時、全てのミノそれぞれに次のような処理を施します:\\n現在の重みを半分にし、そこに0~1の間で生成された乱数を加算する((重み/2)+(0~1の乱数))\\n\\nそして算出された値を新たな重みとし、最も重みが大きいミノを選択します\\nまた選択されたミノの重みは3.5で割られ、それを新たな重みとします\\nつまり選択されたミノの新しい重みは((元の重み/2)+(0~1の乱数))/3.5、選択されなかったミノの新しい重みは(元の重み/2)+(0~1の乱数)となります",link:"",id:"11aed6c53ccae54ddd4a72fffda1e036fd9fbc7e"},{title:"Hypertapping(ハイパータッピング)",tags:["hypertapping","ハイパー","コントローラー","操作"],category:"term",content:"指をコントローラー上で振動させることでARRよりも速い周期で横移動させる技術\\nDASが遅いクラッシクテトリスでよく使われる\\nモダンテトリスのほとんどはDASが十分に短いためこの技術は不要です",link:"",id:"9ab46b9602ef4876d2d3c4135e6d55543cdffcd2"},{title:"Rolling(ローリング)",tags:["rolling","ローリング","ピアノ","コントローラー","操作"],category:"term",content:"DASやARRが遅いクラッシクテトリスの高重力(1G以上)下で安定してプレイするための操作方法\\n片方の手とコントローラーを固定し、もう片方の手でコントローラーの背面を叩くこと高速入力を実現している\\nこの操作方法はハイパータッピングよりも速く、さらに少ない力で行うことができます\\nこの操作方法はCheez-fishが最初に発見し、理論上1fに1回操作できると言われています",link:"",id:"7447bee82c2ebb9d75a06834d0f5fa82af1b99ca"},{title:"Passthrough(貫通)",tags:["pingthrough","ピンスルー","貫通","すり抜け"],category:"term",content:"双方の火力が互いに相殺されず相手の火力ゲージに火力が到達すること\\nまたインターネットのラグにより貫通が発生することを「pingthrough」と言う",link:"",id:"97d0af68b1bdbc346e8a149678b92cbb7469f19f"},{title:"Tetris OL attack",tags:["top","tetrisonlineattack","テトオン","toj","toz","オンライン","テトリス","火力","攻撃","計算"],category:"term",content:"テトリスオンラインの火力計算\\nSingle,double,triple,tetrisの火力はそれぞれ0,1,2,4となっており、TSS,TSD,TSTの場合は2,4,6となる\\nまたTspin mini判定になると火力が半分になります\\nrenの火力は1ren目から+0,+1,+1,+2,+2,+3,+3,+4,+4,+5,+5,+5...と上限5まで上昇し、元の火力に加算されます\\nBtBの火力は+1、ただしTSTの場合は+2で元の火力に加算されます\\nパーフェクトクリアの火力は+6で元の火力に加算されます\\nただしパーフェクトクリア分の火力は相殺が当たらず、直接相手に送られます",link:"",id:"bd2933b1c8eb8beeb91305a7a8f61a07c1f5ad86"},{title:"Techmino attack",tags:["techminoattack","Techmino","てくみの","テクミノ","てっくみの","テックミノ","火力","攻撃","計算"],category:"term",content:"少し複雑なためメイン画面の右下にある「?」を参照",link:"",id:"91ddf25ab71c366ce480fc8ab618df3d85debcc9"},{title:"Stacking(積み)",tags:["stacking","積み","つみ","置く"],category:"term",content:"ミノを置いて行くこと\\n必須技術の1つ",link:"",id:"210b1e4de5cb0e2cbeab5d39429ae822f94ec2e8"},{title:"Rotation buttons(左右回転)",tags:["doublerotation","回転","左","右","2"],category:"term",content:"左右回転両方を使うことで3回転操作がなくなり、入力数が減少します\\n最適化は左右回転のみを使うことを前提に設計されています",link:"",id:"723cb9c2cefa08da4c6288f1554fd591b8a3e981"},{title:"Rotation buttons (左右180°回転)",tags:["triplerotation","回転","左","右","180","3"],category:"term",content:"左右,180°回転の全てを使えばどんな回転方向でも1回の入力で済みます\\nしかし全てのゲームに180°回転があるわけでなく、この技術を習得しても左右回転を習得した時ほどの上達はないでしょう\\n最適化という点では速さを極端に求めない限り必要ありません(ただし180°の回転入れは覚える必要があります)",link:"",id:"4b9a4bce9c37f9a3a454f189c8e4838a480ec6bd"},{title:"ザンギ",tags:["操作","ザンギ","ざんぎ","zangi"],category:"term",content:"左右移動->ソニックドロップ->もう一方の左右移動と行われる操作のこと\\n例えば左ザンギの場合、左端へ一瞬で移動->ソニックドロップ->右へ壁に衝突するまで移動 となる",link:"",id:"31a18dc0e9d6d131fd39f02b0b642e8c32424757"},{title:"Drought(ドラウト)",tags:["drought","ドラウト","干ばつ","連続"],category:"term",content:"欲しいミノが全く来ない状況のこと\\nクラッシクテトリスでよく起こることで地形やプレイが乱れる原因になります\\nモダンテトリスではランダムではなく、ある程度生成されるミノが制御されているのでほとんど起こらず、最大でも13ミノ引けば欲しいミノが1つは出現します",link:"",id:"c132569d13682aef326885b940b503d59c76e98a"},{title:"Bone block(骨ブロック)",tags:["bone","tgm","骨","ボーン","ブロック","スキン"],category:"term",content:"初期のテトリスで使われているミノスキン\\n昔のコンピュータはコマンドラインインターフェイス(WindowsのcmdやMacのterminalなど)を主に使っていたのでテトリスのミノは「[]」の集合で表現されていました\\nこれが骨のように見えるので骨ブロックと呼ばれています\\n\\nTechminoでは骨ブロックを「全てのミノが使用できるミノスキン」と定義されています\\nミノスキンが異なる場合、骨ブロックのスタイルも異なる可能性があります",link:"",id:"7ab2e8eef5d2257d9a5ec3d9dfcae72b89a5ae7c"},{title:"Semi-invisible(セミインビジブル)",tags:["half","invisible","semi","セミ","半","インビジブル","透明"],category:"term",content:"時間が経過すると設置されたミノが透明になるルール\\nこの透明になるまでの時間は明確ではないので「数秒後に消える」と表現しても問題ない",link:"",id:"494bab8fad0a90fbf1dc6d8843843e07f945014d"},{title:"Invisible(インビジブル)",tags:["invisible","透明","インビジブル"],category:"term",content:"瞬時に設置したミノが透明になるルール\\n消えるアニメーションがあるインビジブルルールのことを指すことがあるが、Techminoではそのようなルールは簡単になりすぎると判断し、アニメーションなしのインビジブルルールを「Sudden Invisible」と読んでいます",link:"",id:"8e0158e3951e4788f501f5ff57e7d076008a7b00"},{title:"MPH mode",tags:["mph"],category:"term",content:"生成法則なし(ランダム生成)、ネクストなし、ホールドなし\\nかなりの反応速度が要求される",link:"",id:"d58b1888eea0850399c8fd1599ca980ae84f22dd"},{title:"Input delay(入力遅延)",tags:["input","delay","入力","遅延","硬直","ディレイ","時間"],category:"term",content:"どんなデバイスでも入力してからゲームに反映されるまでに遅延があります(通常、数ms~数十ms)\\n入力遅延が大きすぎると操作に違和感を覚えます\\nこの遅延は使用するハードウェアやソフトウェアの性能が主な原因であり、機器のパフォーマンスモードを有効(または省電力モードを無効)にしたり、モニターのゲーミングモードを有効にすると軽減されるかもしれません",link:"",id:"211d5c4499361cc1310a22c40d675f90a6ff13a0"},{title:"Secret Grade(裏GM)",tags:["larger","than","裏","gm","ジグザグ"],category:"term",content:"TGMシリーズに登場するイースターエッグモード\\n19段使って「>」の形に穴を作ることでクリアとなる\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=Secret_Grade_Techniques",id:"1e1b169684a9570ad29f7d5fb52d0faef4306e72"},{title:"Cold Clear",tags:["cc","coldclear","ai","bot","コールド"],category:"term",content:"テトリスのbot\\n元々はMinus Kelvin氏がぷよぷよテトリス用に開発したbotだがTechminoではAllspinとTRSに対応できるよう改良されている",link:"",id:"990c511aa61eac6e04105edca1735021f986f0e2"},{title:"ZZZbot",tags:["ai","bot","zzztoj","misamino"],category:"term",content:"テトリスのbot\\n中国のテトリスプレイヤー、奏之章 (Zòu Zhī Zhāng)氏が開発し、多くのゲームで動作する",link:"",id:"812877aa04577bb0767f153f62550039dbfd9b51"},{title:"Zetris",tags:["ai","bot","zetris","misamino"],category:"term",content:"テトリスのbot\\nmat氏がぷよぷよテトリス用に開発したbot\\nmisaminoを元に開発された\\n凝視はしてないが受けた後に一定段以下になる攻撃は外すような仕様になっている",link:"",id:"cc72b3c988608a786278634124a67a1886dcd2b1"},{title:"ほいこ",tags:["ai","bot","hoiko","howyiko","ほゐこ"],category:"term",content:"テトリスのbot\\nうかん氏がぷよぷよテトリス用に開発したbot\\n相手から送られる火力を見ており、直列になる確率と待ち時間から相殺外しを判断している",link:"",id:"9718855de3396e159778bfca45f51da47d6bd6da"},{title:"wataame",tags:["ai","bot","わたあめ","watame"],category:"term",content:"テトリスのbot\\n雨安氏がぷよぷよテトリス用に開発したbot\\n多様なモードを搭載している",link:"",id:"445012f5aa4527fae7038257b224397ec874eed1"},{title:"Openers(開幕テンプレ)",tags:["setup","openers","開幕","テンプレ"],category:"setup",content:"ゲーム開始時に組むテンプレのこと\\n中盤でも作れるものがあるが完全に同じになるとは限らない\\n強い開幕テンプレは基本以下の点を満たしている\\n1.強い攻撃を持ち、積みに使っているTの割合が低い\\n2.必要なソフトドロップが少ない\\n3.多くのミノ順で組める\\n4.中盤へ移行しやすく、分岐が少ない\\nほとんどの開幕テンプレは通常7種1巡を利用して作られているために安定して組める",link:"",id:"d69b3b4545e814a8a1df17ba7442947c77f537e4"},{title:"DT Cannon(DT砲)",tags:["dtcannon","doubletriplecannon","dt","砲"],category:"setup",content:"Double-Triple 砲\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=dt",id:"cedc9e6ea84c71f2f7d828d0c2aae5581e65cab7"},{title:"DTパフェ",tags:["dtcannon","doubletriplecannon","パフェ","パーフェクト","dt","砲"],category:"setup",content:"DT砲の後にパフェを取る派生のこと\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=double_triple_cannon_opener",id:"7826dfa7c56f5ad74e4b0123a448b28a0da23487"},{title:"BT砲",tags:["btcannon","betacannon","砲"],category:"setup",content:"β砲, Beta砲\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=bt_cannon",id:"d8b9e8effcd0ea9c8440705b6902abcff9261775"},{title:"BTパフェ",tags:["btcannon","betacannon","ループ","5","パフェ"],category:"setup",content:"BT砲の後にパフェを取る派生のこと\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=bt_cannon",id:"2b5e1b305ef8a160791b11ed9deee4ce4bdc3f79"},{title:"TKI 3 Perfect Clear(DDパフェ)",tags:["ddpc","tki3perfectclear","d","パフェ","tsd","tki"],category:"setup",content:"開幕TSDからもう一度TSDを撃ち、パフェを取るテンプレ\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=TKI_3_Perfect_Clear",id:"de5ec7511c2104bb5288b4fefb14f96a8027bee8"},{title:"MKO積み",tags:["mko","むこうみず"],category:"setup",content:"派生を含めれば大体のことはできる開幕テンプレ\\nHarddropのwikiを載せるがmko全体の内、1割も情報が書かれていない\\n使い方がかなり重要な開幕テンプレなので使う場合は積極的に情報収集することをおすすめする",link:"https://harddrop.com/wiki?search=MKO_Stacking",id:"bda30a7753e93928e38a5e48e70100ee2cd56af5"},{title:"QT砲",tags:["qtcannon","砲"],category:"setup",content:"DT砲より安定してTSDとTSTを撃てるように作られた開幕テンプレ\\nただし下穴が端にあると二巡目が組めない\\nTD派生がしやすい",link:"https://tetrisopener.wicurio.com/index.php?QT%E7%A0%B2",id:"3de3372167a377ead69b0780ea5a918b5bd32325"},{title:"Mini-Triple(MT)",tags:["mt","minitriple","ミニ","トリプル","ts"],category:"setup",content:"TSMからTSTを撃つ形",link:"https://knewjade.github.io/fumen-for-mobile/#?d=v115@tgB8IeA8DeD8AeH8BeH8BeG8CeE8JeAgWJAteEfEXU?b9ARAAAAvhG1bfdmfdrf1vBAAAdrBAAAtgB8IeA8DeD8AeG?8CeG8BeAAAeF8AeB8AeD8JeAAPJAteEfEXUb9ASAAAAvhF1?bfdmf1qfNqBAAAdrB",id:"2f139c99f2863c049a75827dbe04214f683d672d"},{title:"Trinity(トリニティ)",tags:["trinity","トリニティ","tsd"],category:"setup",content:"TSD3回かTSM->TST->TSDを撃つテンプレ",link:"https://harddrop.com/wiki?search=trinity",id:"44c6aa6ec48f5e82469829ca27e72f911bec10bc"},{title:"Wolfmoon Cannon",tags:["wolfmooncannon","砲"],category:"setup",content:"形が特殊な開幕テンプレ\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=wolfmoon_cannon",id:"17ca3a1f4b46085a67798b5b2d651f04015fdf10"},{title:"Sewer(TZT砲)",tags:["sewer"],category:"setup",content:"形が特殊な開幕テンプレ\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=sewer",id:"f974ed3f0712d9d4e0cf4674de8214c41a78a590"},{title:"TKI",tags:["tki-3","tki3","tsd","c","td"],category:"setup",content:"開幕TSD、またはTDの形をしたTKIという開幕テンプレを指す(日本では後者の方が多い)\\nここでは後者のリンクを置いておく\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=C-Spin",id:"3c313d703e4a8340db43e4e702184f92dffba465"},{title:"God Spin",tags:["godspin","神","ゴッド"],category:"setup",content:"派手な開幕テンプレ[しかし実際に使うのは難しい]\\nWindkey氏考案\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=godspin",id:"3cd8c7d5f3275348741b07f56c3a9df69cf2a625"},{title:"AlbatrossSP(アルバトロスSP)",tags:["albatross","アルバトロス","アルバ","sp"],category:"setup",content:"TSD->TST->TSD->パフェを撃つ開幕テンプレ\\nほとんどのTミノをTspinに使う、派手で素早いテンプレです\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=Albatross_Special",id:"28426d77b9b2d3681590fd8543415f4c103df3e3"},{title:"Pelican(無名砲)",tags:["うーみん","ウーミン","無名","むめい"],category:"setup",content:"日本では無名砲(3文字で「うーみん」と読む)と呼ばれる\\nアルバトロスSPに似た流れを持つ開幕テンプレ\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=Pelican",id:"a0ffb2601adf5127b35fe5d8992cc78a55861838"},{title:"Perfect Clear Opener(パフェ積み)",tags:["7piecepuzzle","パフェ","積み"],category:"setup",content:"7ミノ置いた後、パフェを取れる確率が最も高い形\\n通常はパフェ率61.2%だがIミノを置かず残り4ミノからパフェを見抜くことで84.6%までパフェ率が上昇する\\nTechminoのパフェトレーニングでジグザグの形が出たらこのテンプレの形です\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=Perfect_Clear_Opener",id:"053e9a88a14c6916bdda0d4a6d89aa489f1e029d"},{title:"Grace System(グレースシステム)",tags:["liuqiaoban","gracesystem","1stpc","グレース","パフェ"],category:"setup",content:"6ミノ置いた後、パフェが取れる確率が最も高い形\\nパフェ率88.57%\\nパフェチャレンジの4×4の形が出たらこのテンプレの形です",link:"https://four.lol/perfect-clears/grace-system",id:"5723b8d6eb11a1b334300616ac602b468a1e5646"},{title:"DPC",tags:["DPC","3","1"],category:"setup",content:"2連パフェや8段パフェ(TD系テンプレのパフェ、SDパフェ等)を取った後に余った1ミノとその後の2巡を使ってDパフェ、もしくはDDパフェを取るテンプレ\\nまたは開幕TSDのパフェ派生のこと\\n\\n前者でDパフェを取る場合、ほぼ100%パフェが取れる",link:"https://tetristemplate.info/dpc/",id:"2db8d886781e45cfcee1ccd39674af938368e580"},{title:"Gamushiro Stacking(ガムシロ積み)",tags:["gamushiro","ガムシロ","td"],category:"setup",content:"TDパフェ系統のテンプレで最初に作られた開幕TDテンプレ\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=Gamushiro_Stacking",id:"7efbf694f00c69a173d3f54d8eca154b336f5517"},{title:"Mid-game Setups(中盤テンプレ)",tags:["midgamesetups","中盤"],category:"pattern",content:"中盤で使われるテンプレのこと\\n中には開幕テンプレとして使用されるものがある",link:"",id:"4d7b549aafe26a449e2b8022476aaf8848e32879"},{title:"TD",tags:["cspin","tki","td"],category:"pattern",content:"TST->TSDと撃てる形\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=Triple Double_Attack_Setups",id:"06a82f4a956e1f94fa0c7430d6b7247f1e4cd9ca"},{title:"STSD",tags:["stsd"],category:"pattern",content:"Super T-Spin Double\\n2回TSDを撃てる形\\nしかし盤面の底に作った場合、相手からの下穴により1/10の確率で最初のTSDが撃てなくなる\\nこの確率は100%と言う人もいる\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=stsd",id:"6e5f658dc6a43206e6c19edc413a0b306ed60b22"},{title:"STMB Cave(STMBケイブ)",tags:["stmb","ケイブ","ドネイト"],category:"pattern",content:"幅3がある時にS(Z)を壁に引っ掛けてTSDドネイトを作るテンプレ\\nSTMBはテトリスDS時代のプレイヤーの名前\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=stmb_cave",id:"8f963631c25795afa82a8463eb49d8e69bfe1694"},{title:"Fractal(ダブルダガー)",tags:["shuangrenjian","fractal","spider","ダブル","2","ダガー","フラクタル","ダブダ"],category:"pattern",content:"TSDの上にTSDが乗った形\\nS(Z)が引っ掛かってTSDが2つできてる場合はSTMBケイブとなり、引っ掛けておらず1つの屋根で2回TSDを撃てる場合はダブルダガーとなる\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=Fractal",id:"a1d1b007ea622f66dc039b3d15fb0a6cb1605c21"},{title:"LST stacking(LST積み)",tags:["lst","積み"],category:"pattern",content:"半永久的にTSDとテトリスをし続ける積み方",link:"https://four.lol/stacking/lst",id:"3586c5870b5b47acd10dbf3b283095107b602b47"},{title:"Hamburger(ハンバーガー)",tags:["hamburger","ハンバーグ","ハンバーガー"],category:"pattern",content:"S(Z)でTSSをするドネイトテンプレ\\n半永久的にTSSとテトリスができる\\n当初はSを使った場合をハンバーガー、Zを使った場合をハンバーグと言っていたが廃れた\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=hamburger",id:"f078a94fec15dab371d5235998f57be7e1a9183a"},{title:"Imperial Cross(インペリアルクロス)",tags:["imperialcross","インペリ"],category:"pattern",content:"十字上の穴に屋根を付けて2回TSDをする形\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=imperial_cross",id:"29157abc349d599865ddaca4db1350299aab317e"},{title:"Kaidan(階段ドネイト)",tags:["jieti","kaidan","stairs","階段"],category:"pattern",content:"段々になっている地形にS(Z)を置くことでTSD地形を作るドネイトテンプレ\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=kaidan",id:"9ff425533e9b19c5aa5ab1c7ade5b05a19a6e914"},{title:"Shachiku Train(社畜トレイン)",tags:["shachikutrain","shechu","社畜","トレイン"],category:"pattern",content:"2回TSDを撃つテンプレ\\nテンプレ名は制作者が満員電車で思い付いたことに由来する\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=Shachiku_Train",id:"ff36c5a882fd03017ed42fdcc2069f4e4be2cac3"},{title:"Cut Copy",tags:["qianniao","cutcopy","千鳥","カット"],category:"pattern",content:"Tspin地形がある時にさらにTspinできるような地形を作ること\\n千鳥格子はこの技術を使った中盤テンプレ\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=Cut_copy",id:"44c082ce08afeff03790181a113e952962270cce"},{title:"King Crimson(キングクリムゾン)",tags:["kingcrimson","キンクリ","キング","jojo","ジョジョ"],category:"pattern",content:"STSDの上にTSTを足したテンプレ\\n詳しい情報は、地球儀ボタンをクリックしてHarddrop wikiにあります!",link:"https://harddrop.com/wiki?search=King_Crimson",id:"dc20f54cbaf3c6b0eb0f430680495b34a699be7c"},{title:"連パフェ(1/3)",tags:["pcloop","パフェ","ループ","連"],category:"pattern",content:"テトリス堂にて1~5回目と7回目のパフェについて詳しく知れます\\n7回目のパフェがキレイに終わると丁度70ミノ、つまり10巡終わったことになりゲーム開始時と同じ状態になります",link:"https://shiwehi.com/tetris/template/consecutivepc.php",id:"04afeaf59cc711c2281c7cae8ed12ad31bb25897"},{title:"連パフェ(2/3)",tags:["pcloop","パフェ","ループ","連"],category:"pattern",content:"four.lolに1~7回目のパフェについて詳しく知れます",link:"https://four.lol/perfect-clears/5th",id:"58a9e9b70e64aef8087c4e26f33820dcd05b2e1f"},{title:"連パフェ(3/3)",tags:["pcloop","パフェ","ループ","連"],category:"pattern",content:"ナイテン(NitenTeria)によって作成された連パフェについての情報がまとめられているドキュメント\\nただし情報量の多さ等から自分である程度吟味する必要がある",link:"https://docs.qq.com/sheet/DRmxvWmt3SWxwS2tV",id:"088838a86728371647247dbe6613f4f14f768ef6"},{title:"Console(コンソール)",tags:["cmd","commamd","minglinghang","kongzhitai","terminal","コンソール","ターミナル","コンソール","console"],category:"command",content:"Techminoにはデバッグや高度な機能を実行するためのコンソールがあります\\nコンソールにはメイン画面のTechminoのロゴを連打するかメイン画面で「C」を連打することで移動できます\\nコンソールの使用は自己責任です",link:"",id:"26c4d964b179ac687cdccf369e93e9011078eb20"},{title:"Reset setting",tags:["reset","setting","リセット","設定"],category:"command",content:"コンソールに「rm conf/setting」と入力し、Enterもしくはreturnを押す\\nそしてTechminoを再起動すると有効になります\\n設定をリセットします",link:"",id:"8a6b43bb26bf99c9bad1f05cd83ed45a1f6b998f"},{title:"Reset statistics",tags:["reset","statistic","data","リセット","統計","データ"],category:"command",content:"コンソールに「rm conf/data」と入力し、Enterもしくはreturnを押す\\nそしてTechminoを再起動すると有効になります\\n統計をリセットします",link:"",id:"81893334c9e3e29e0965cb352bbbd5ac3af42962"},{title:"Reset unlock",tags:["reset","unlock","リセット","未開封"],category:"command",content:"コンソールに「rm conf/unlock」と入力し、Enterもしくはreturnを押す\\nそしてTechminoを再起動すると有効になります\\n1人用モードのランクをリセットします",link:"",id:"33cdac7adaca836660b7c4f0d7caba89a1196e66"},{title:"Reset records",tags:["reset","record","リセット","レコード","記録"],category:"command",content:"コンソールに「rm -s record」と入力し、Enterもしくはreturnを押す\\nそしてTechminoを再起動すると有効になります\\n記録をリセットします",link:"",id:"357dff0ef2aa18233d411ce73d1dcb98a7c6f089"},{title:"Reset key",tags:["reset","virtualkey","リセット","キー","仮想"],category:"command",content:"コンソールに「rm conf/[keyFile]」(キーボード:key、仮想キーボード:virtualkey、仮想キーボード設定を保存:vkSave1(2))と入力し、Enterもしくはreturnを押す\\nそしてキーボードと仮想キーボードの場合は再起動すると有効になります\\n仮想キーボード設定保存の場合はEnterもしくはreturnを押した時に1つのファイルを出力します",link:"",id:"985d4b939e2e49a0aaf0228de0ca6a969684084c"},{title:"Delete replays",tags:["delete","recording","削除","消去","リセット","デリート","リプレイ"],category:"command",content:"コンソールに「rm -s replay」と入力し、Enterもしくはreturnを押すと即座に実行されます\\nリプレイデータを消去します",link:"",id:"bab349d70bb116a33e63aeddefd1beee6cb3b572"},{title:"Delete cache",tags:["delete","cache","消去","削除","リセット","デリート","キャッシュ"],category:"command",content:"コンソールに「rm -s cache」と入力し、Enterもしくはreturnを押すと即座に実行されます\\nキャッシュを消去します",link:"",id:"8de9f2442a4b880b608aadfd6d58dd049f93f232"},{title:"SFX",tags:["soundeffects","効果音"],category:"english",content:"日本語で「効果音」や「SE」と言われるもの",link:"",id:"d7ae9e4e443839dee2b712bc094701daf186350a"},{title:"BGM",tags:["backgroundmusic","音楽"],category:"english",content:"ゲーム中に流れている音楽のこと",link:"",id:"a13f52cde8db05647691f27c214480010504d836"},{title:"TAS",tags:["tas"],category:"english",content:"「Tool-Assisted Speedrun (Superplay)」の略\\nゲームのルールを破ることなく特殊なツールを用いてプレイすること\\n途中セーブやゲーム内時間の進みを弄る等して最高得点を出したりユニークな目標を達成している\\n簡単なTASはTechminoに内蔵されている",link:"",id:"fe88da9820ec746210644a7109aefbd97829d56f"},{title:"AFK",tags:["afk"],category:"english",content:"Away From Keyboardの略\\n画面前から離れる時だけじゃなく、休憩するときにも使われる\\n適度に休憩することで身体と頭が休み、より質の高いプレイができる",link:"",id:"39766d41a5cc0a50dc678025627e2f0f1876b2c3"},{title:"BRB",tags:["brb"],category:"english",content:"Be right backの略\\n一旦離れるけどすぐに戻るときに使われる\\n人によっては試合中にbrbというが結局セットが終わるまで戻らない人もいる",link:"",id:"47c78999a8300e45749d8f7f05eb2ff2a6e6dc44"},{title:"sweep",tags:["sweep","ストレート"],category:"english",content:"日本語で言うストレートのこと\\n例えば、7先の試合で1本も取られずに勝利した場合、相手をsweepしたと言う",link:"",id:"da36a1615f31d9d62ca90000721f15f5cf683334"},{title:"Timing",tags:["timing","shiji","fanji","タイミング"],category:"term",content:"主に攻撃をするタイミングのこと\\n攻撃をするタイミングを考えることで相手からの攻撃を相殺したり、逆に相殺を外して自分の攻撃を相手に送れたりできます\\n要は相殺管理の1つです",link:"",id:"2bf4d1f08aeac96a1e54d12679ce99785ddf0c4d"}],wM=[{title:"新人须知",tags:["读我","必读","萌新","xinren","new","noob","readme"],category:"help",content:"致想深入玩下去的新人:\\n\\n\\t两大根本原则:\\n\\t\\t1. 选手感好的版本(Tech/Tetr.io/Jstris/TOP/Tetr.js),别用编程练习渣版本\\n\\t\\t2. 踏实打好基础(预判next稳定消四等),别总想着炫酷T旋,对未来实力提升没好处。\\n\\t两大主要技巧:\\n\\t\\t1. 熟悉初始位置以及到各个位置的初始操作;\\n\\t\\t2. 提前计算好下一块能放哪。\\n\\n推荐阅读专栏《给TOP新人的几点建议》\\n\\n[点击右下角地球按钮打开链接]",link:"https://bilibili.com/read/cv2352939",id:"0a7f60cc442b74f1d47083b3b095ce71e115b516"},{title:"新人学习/练习路线",tags:["读我","必读","萌新","xinren","new","noob","readme"],category:"help",content:"以下是关于提升真正打块能力的指引,如果在以下任何项目练习过程中感到有困难,可以适当回去玩玩自己喜欢的项目。别忘了你是来 “玩” 游戏的,兴趣最重要。\\n以下给出几个新手时期的主线任务树,前期主要就应该练习以下内容,学定式和T-Spin什么的对实力帮助很小(我们不认为靠定式对战秒其他萌新是有效实力):\\n(注意,三段应当同时进行,不是A→B→C)\\nA. 堆叠能力练习方法\\n\\tA1. 手上的块可以放的时候先别急着放,看看下一块有没有地方,如果放不下去就看看手上的能不能换个地方\\n\\tA2. 尝试把地形尽量控制得平整,因为大多数情况比较平的地形来啥块都比较容易放得下去\\n\\tA3. 允许hold的时候可以多想想手里和hold的块和后续几块应该怎么安排顺序,长远地使地形平整\\nB. 操作效率与速度练习方法\\n\\tB1. 不要每一块都拿影子去对形状对位置,要自己想象这个块转一下是什么方向,想好了再开始按按键\\n\\tB2. 学习双旋,能逆时针转一次就不要顺时针转三次,费手\\n\\tB3. 学习极简,刚开始不用管速度,保证正确率最重要,养成良好习惯以后再提速快得很\\nC. 堆叠能力考核\\n\\tC1. 稳定完成40行不死(可以用hold)\\n\\tC2. 稳定完成40行不死(不能用hold)\\n\\tC3. 稳定全消四完成40行(可以用hold)\\n\\tC4. 稳定全消四完成40行(不能用hold)\\n以上都是根据社区和个人经验总结的模糊方法与目标,所以C的考核可以根据自身情况调整严格程度(例如 “稳定” 的具体成功率)。\\n注:完成C的考核后,需要在未来一直注意没有上限的A1,这是方块的根本元素之一,强大的读next能力可以让你快速上手任何变种玩法。",link:"",id:"db48bfb4186f84c0391a54e898c1dcfc705b1f29"},{title:"关于T-spin学习",tags:["T旋","T转","tspins"],category:"help",content:"首先指出:要能熟练做出各种T-spin并不是只看着T-spin的那一小部分地形就可以玩好的,对玩家堆叠能力和计算next能力同样也有较高的要求。\\n\\n如果不只是出于娱乐、随便玩玩的目的,是真的想不断提升T-spin能力变强,请在基础能力达到一定要求前不要刻意去学习太多的T-spin,而先把重点放在堆叠等基本功上。\\n\\n参考学T门槛水平:40L达到60s以内(可以视个人情况调整为40~120s)、能够轻松完成全消四的40L、不使用Hold不降太多速度的前提下比较轻松完成全消四的40L(培养看next的意识和算力)。",link:"",id:"2e684b1296c93ab61fee3ee132448e9a73cf1a71"},{title:"游戏官网",tags:["official","website","homepage","mainpage","guanwang"],category:"help",content:"Techmino的官网!\\n可以在上面下载游戏本体,或者修改头像以及个人信息。\\n\\n游戏作者的一些话:强烈不建议在任何公开场合提及甚至宣传Techmino,更不要随便对外发送我们的官网链接!请务必只在私下里向有基础或真的很有兴趣入坑认真玩的玩家推荐,不然很容易拉低社群质量破坏交流氛围,比较难处理,甚至有可能影响游戏的未来发展。为了保证游戏能够变得越来越好玩,千万慎重考虑您对游戏的推广方式!感谢您对Techmino的大力支持!!",link:"http://studio26f.org",id:"2625248b708d92cdc3012ad29165b45f0b233580"},{title:"灰机Wiki",tags:["huiji"],category:"help",content:"俄罗斯方块中文维基,由一群来自俄罗斯方块研究群及下属群的方块同好建立的关于俄罗斯方块的中文百科全书。\\n\\n目前其大部分页面翻译和参考来自Hard Drop Wiki和Tetris Wiki",link:"https://tetris.huijiwiki.com",id:"5ab1ab58819556c2edb521531547cc697911b7be"},{title:"HardDrop Wiki",tags:["hd"],category:"help",content:"(英文)位于Hard Drop全球俄罗斯方块社区的Wiki百科",link:"https://harddrop.com/wiki/Tetris_Wiki",id:"2e536d6d326cb196c661304142440abf14c924ed"},{title:"Tetris Wiki",tags:[],category:"help",content:"(英文)一个专注于创建俄罗斯方块相关内容的Wiki百科,由Myndzi在 2015创办。年复一年,上千玩家贡献了一系列的官块和自制块的说明,游戏的隐藏机制,和提升游戏体验的教程",link:"https://tetris.wiki",id:"da01b04fbc6a1f85b4fd84732f442c08d7365aab"},{title:"Tetris Wiki Fandom",tags:[],category:"help",content:"(英文)一个俄罗斯方块维基",link:"https://tetris.fandom.com/wiki/Tetris_Wiki",id:"8af06a2a586d93d02a1da92fba6bd1e7e6b03857"},{title:"Four.lol",tags:[],category:"help",content:"(英文,很可能打不开)一个开局定式收集网站",link:"https://four.lol",id:"144ee24e93ce282b01e011edf4b1bb6192f37024"},{title:"テトリス堂",tags:[],category:"help",content:"(日文)包含很多定式、教程和小游戏。内涵2nd、3rd、4th、7th PC的详细说明",link:"https://shiwehi.com/tetris/",id:"0e0315ab5e7bea8a85f720cecfd8b9bff4b7ba85"},{title:"テトリステンプレ集",tags:[],category:"help",content:"(日文)テトリステンプレ集@テト譜,包含非常多定式,有很详细的分类。大部分定式带有图片,可以很方便的分享给别人。",link:"https://w.atwiki.jp/tetrismaps/",id:"d25b66428e157f372d4aca1bb2d021b942ebdfa2"},{title:"tetristemplate.info",tags:[],category:"help",content:"(日文)テトリスブログ - PerfectClear,一个收集了定式的网站,量很少但是内容很精细。",link:"https://tetristemplate.info/",id:"b65e8ab3052ab2215718cf049cbbf8bd53d39d43"},{title:"Fumen",tags:["fumen"],category:"help",content:"(日文)一个方块版面编辑器,可以用于分享定式,PC解法等,用处很多。设置里可以启用英文版。",link:"http://fumen.zui.jp",id:"a227cea79776724a2f4a8095a13b575f55ef8350"},{title:"Fumen for Mobile",tags:["fumenformobile","fm"],category:"help",content:"(英文)一个方块版面编辑器,添加了对触屏的控制,可以用于分享定式,PC解法等,用处很多。",link:"https://knewjade.github.io/fumen-for-mobile/",id:"bc8430a802c402a52dd26af1f6fa40f7629de617"},{title:"GitHub仓库",tags:["源代码","源码","github","git","sourcecode","yuandaima","src"],category:"org",content:"Techmino的GitHub仓库地址,欢迎Star",link:"https://github.com/26F-Studio/Techmino",id:"92d9eb2dd827cfbe656752b86529d51658dc4e10"},{title:"Discord服务器",tags:["不和谐","discord"],category:"org",content:"点击下面的按钮加入Techmino的Discord服务器,和大家一起交流!",link:"https://discord.gg/f9pUvkh",id:"b5a088b565f9942f298729dd9bccc7767aca3d25"},{title:"研究群",tags:["yanjiu","study","research"],category:"org",content:"俄罗斯方块·[研究]群QQ号764916351,“中国俄罗斯方块总群”",link:"",id:"addea241ef4758fb0245900d77bb40ffd3d1f8ba"},{title:"茶服",tags:["tos","tea","study","chafu"],category:"org",content:"TO-S的添加方法、说明等关于茶服的一切",link:"https://teatube.cn/tos/",id:"43af91fdc0b252a62da928cad64072e523346513"},{title:"赞助1",tags:["support","weixin","vx","zhifubao","zfb","zanzhu","daqian"],category:"org",content:"vx/zfb-控制台-support",link:"",id:"45e8b2e11f94f07d444bf5b247c378cec678df4b"},{title:"赞助1",tags:["support","weixin","vx","zhifubao","zfb","zanzhu","daqian"],category:"org",content:"vx/zfb-控制台-support",link:"",id:"45e8b2e11f94f07d444bf5b247c378cec678df4b"},{title:"赞助2",tags:["support","aifadian","afdian","zanzhu","daqian"],category:"org",content:"Afdian",link:"https://afdian.net/@MrZ_26",id:"c2c204a88d358d3568951ccfe8363e25c01122e1"},{title:"赞助3",tags:["support","zanzhu","daqian"],category:"org",content:"Patreon",link:"",id:"3705b429dd183cfd86db61915b1d3b8784bc8c6d"},{title:"赞助3",tags:["support","zanzhu","daqian"],category:"org",content:"Patreon",link:"https://www.patreon.com/techmino",id:"6b979d9c5e5d30383fe76ed00f8336076b4fb662"},{title:"TTT",tags:["教程","trainer","tres","bien"],category:"game",content:"全称Tetris Trainer Très-Bien (by こな)。现代方块特殊操作手把手教程(只能键盘操作)\\n\\t推荐能纯消四完成40L挑战的人学习\\n\\t内含T-spin、极简、SRS、部分对战定式介绍等教程\\n注:提供的链接是翻译后挂在茶服的版本",link:"https://teatube.cn/ttt/index.html",id:"7a6c90de9455659d93e3c4b3db0bef632ec8eb50"},{title:"TTPC",tags:["pc教程"],category:"game",content:"全称TETRIS Perfect Clear Challenge (by chokotia)。SRS+Bag7方块游戏Perfect Clear Opener教程(只能键盘操作)。推荐完成了TTT的人学习(必须先学会SRS)\\n\\n注:提供的链接是翻译后挂在茶服的版本。",link:"https://teatube.cn/ttpc/",id:"bf90e29e221453daf3179302c3b582a84dcaef3c"},{title:"NAZO",tags:["题库"],category:"game",content:"各类SRS试题\\n\\t推荐能通过TTT的玩家尝试。\\n\\t内含各种T-spin/All spin题目,简单到极难题目都有。\\n\\n注:提供的链接是翻译后挂在茶服的版本。",link:"https://teatube.cn/nazo/",id:"cafd691a5666c7faecf410f7a4c974396e3c0db6"},{title:"TPO",tags:["题库","nazo"],category:"game",content:"全称Tetris Puzzle O。由TCV100制作的题库网站,内含nazo的部分题库。",link:"http://121.36.2.245:3000/tpo",id:"75cafcb6649c2daac2d480d33808d90c590680e0"},{title:"注[1]",tags:["备注","notice"],category:"game",content:"以下内容是为部分官方和较高人气同人方块游戏的简介。\\n其中可能包含一些只代表个人观点的主观评价写在方括号里仅供参考,顺便也请不要因为某个方面有欠缺就直接认为 “这个游戏不好”。",link:"",id:"2c54dc7f51ee24e586ae3b7461e24a2854832d8b"},{title:"King of Stackers",tags:["回合制","网页","手机","kos","kingofstackers"],category:"game",content:"网页游戏 | 多人 | 支持移动端\\n简称KoS。网页版回合制对战方块点击即玩(可能很卡),主要规则为:以7块为一个回合,双方轮流在自己场地中放置方块,任何的攻击只在对方回合放一块不消行后生效,策略性很强。有不同的伤害表设置。",link:"https://kingofstackers.com/games.php",id:"2eb87bfa2dc0357481e496d684398e28837d377f"},{title:"Tetr.js",tags:["网页","手机","tetrjs"],category:"game",content:"网页游戏 | 单机 | 支持移动端\\n简称屁块(因为作者网名叫Farter)。设置内容足够专业,模式很多,但画面很简单,几乎没有动画,而且移动端只有几套固定的按键组合(不能自由拖放)。",link:"http://farter.cn/t",id:"69161929631d21aa66d338cc3ff228a0a9375529"},{title:"Tetra Legends",tags:["网页","tl","tetralegends"],category:"game",content:"网页游戏 | 单机 | [服务器在国外可能卡]\\n简称TL。单机模式比较丰富,有两个隐藏的节奏模式,并且将一些其他游戏中不可见的机制进行了可视化,动效也很多。在2020年12月,基本确定由于各种原因不再继续开发。",link:"https://tetralegends.app",id:"f472bf0b72c82192dc749df5f6824baedf634f02"},{title:"Ascension",tags:["网页"],category:"game",content:"网页游戏 | 单机/多人 | [服务器在国外可能卡]\\n简称ASC,使用自己的ASC旋转系统,有不少单机模式(Techmino的堆积模式就来自ASC),对战模式目前处在测试阶段(2022/04/16)",link:"https://asc.winternebs.com",id:"560071698ce28870c4c5fc91fdeca3ff99bf31b5"},{title:"Jstris",tags:["网页","手机"],category:"game",content:"网页游戏 | 单机/多人 | 支持移动端 | [服务器在国外可能卡]\\n简称JS,有常用的科研向单机模式和自定义各种参数的功能,允许拖放固定尺寸的正方形虚拟按键,没有任何动画效果",link:"https://jstris.jezevec10.com",id:"3598a46c34385966fe8d7332fd135ac9d3b93986"},{title:"TETR.IO",tags:["网页","io","tetrio"],category:"game",content:"网页游戏 | 单机/多人 | [服务器在国外可能卡]\\n简称IO,有排位系统和功能全面的自定义模式,单机模式只有三个。有电脑客户端下载(优化性能,无广告)。\\n[Safari浏览器似乎打不开]",link:"https://tetr.io",id:"ee1f029709eab03cdfcd0ef9b4ce848031debaa6"},{title:"Nuketris",tags:["网页","核","he"],category:"game",content:"网页游戏 | 单机/多人 | [服务器在国外可能卡]\\n有几个基础单机模式和1V1排位。",link:"https://nuketris.com/",id:"9602f55e119bb6460baf3ae9812e844d89001303"},{title:"Worldwide Combos",tags:["网页","wwc"],category:"game",content:"网页游戏 | 单机/多人 | [服务器在国外可能卡]\\n简称WWC,全世界匹配制1V1。特色:有录像战,匹配的对手可以不是真人;几种不同风格的大规则;炸弹垃圾行对战。",link:"https://worldwidecombos.com",id:"a805fd1fb030f6d8c013e070517d1409ef14f0fc"},{title:"Tetris Friends",tags:["网页","tf"],category:"game",content:"网页游戏 | 单机/多人\\n简称TF,已经关服了的网页版方块。以前人比较多,后来官服倒闭了热度下去了,不过现在有人架了私服还可以体验到。",link:"https://notrisfoes.com",id:"6c1d763488655dec67c218972c1a3082e9c2b608"},{title:"tetris.com",tags:["网页","手机"],category:"game",content:"网页游戏 | 单机 | 支持移动端\\ntetris.com官网上的俄罗斯方块,只有马拉松一种模式,特色是支持基于鼠标指针位置的智能控制。",link:"",id:"85ef9a571e012d79fe95974cb1d245a0c02ffbd8"},{title:"Tetris Gems",tags:["网页","宝石"],category:"game",content:"网页游戏 | 单机\\ntetris.com官网上的俄罗斯方块,限时1分钟挖掘,有重力机制。\\n有三种消除后可以获得不同功能的宝石方块。",link:"",id:"1a93945d8f9e6126847577ab26992468eb3f9e91"},{title:"Tetris Mind Bender",tags:["网页","技能"],category:"game",content:"网页游戏 | 单机\\ntetris.com官网上的俄罗斯方块,在马拉松基础上添加了技能,场地上会随机冒出技能方块,消除后会得到各种各样或好或坏的技能。",link:"",id:"5a82a770b0963ca9e947c70068a96bcac40323d2"},{title:"Techmino",tags:["铁壳米诺","方块研究所","tieke"],category:"game",content:"跨平台 | 单机/多人\\n简称Tech,使用LÖVE引擎开发的一款方块游戏,单机模式和各种设置都很齐全,联机正在逐渐开发中。",link:"",id:"119d49a5aec943440eec35179d71577b475d78d9"},{title:"Falling Lightblocks",tags:["手机","fl"],category:"game",content:"网页游戏/iOS/Android | 单机/多人\\n一个全平台块,横竖屏,有延迟并且不可调。手机支持自定义键位,主要玩法基于NES块设计,也有现代模式。对战为半即时半回合制,无攻击缓冲不可抵消。",link:"",id:"089ac2a359bdfafacaa30b575eb29d0dfb76541d"},{title:"Cambridge",tags:["剑桥"],category:"game",content:"跨平台 | 单机\\n使用LÖVE引擎开发的一款方块游戏,致力于创建一个轻松高度自定义新模式的方块平台。最初由Joe Zeng开发,于2020/10/08的0.1.5版开始Milla接管了开发。 — Tetris Wiki.",link:"",id:"10942d6a5b0e548a032a6b99980908625af9d0db"},{title:"Nanamino",tags:[],category:"game",content:"Windows/Android | 单机\\n块圈玩家自制方块,正在开发中,有一个原创旋转系统。",link:"",id:"ecd35b9b559147cda839697d07292cb0d6ee1689"},{title:"TGM",tags:["俄罗斯方块大师","tetrisgrandmaster"],category:"game",content:"Windows | 单机/本地双人\\n全称Tetris The Grand Master,一个街机方块系列(有修改过的版本可以在大多数Windows电脑运行),S13/GM等称号都出自该作。\\n\\n其中TGM3目前玩得最普遍,部分模式说明:\\n\\nMaster:大师模式,有段位评价,拿到更高段位点的要求:非消一的连击和消四,字幕战中消除和通关,每100的前70小于【标准时间,上一个0~70秒数+2】中小的一个,每100总用时不能超过限定值(不然取消上一个方法的加分并反扣点数);到500若没有进标准时间会强制结束游戏(称为铁门);字幕战有两个难度,半隐和全隐,后者必须拿到几乎全部的段位点才能进,消除奖励的段位点也更多。\\n\\nShirase:死亡模式,类似于techmino中的20G-极限,开局就是高速20G,500和1000有铁门,500开始底下开始涨垃圾行,1000开始出现骨块,1300通关进入大方块字幕战;段位结算:每通100加1段从S1到S13,如果通关了字幕战就会有金色的S13\\n\\n更多内容详见链接",link:"https://teatube.cn/TGMGUIDE/",id:"8ef6dad86868eb6560ac4397850a431f67c84dc7"},{title:"DTET",tags:[],category:"game",content:"Windows | 单机\\n单机方块游戏,基于经典规则加入了20G和一个强大的旋转系统,但是除了键位其他参数都不可自定义。有点难找到,而且找到后可能还要自己补齐缺的DLL文件。",link:"",id:"e8aa386b53a95638b334195c76f3558b9a314044"},{title:"Heboris",tags:["hb"],category:"game",content:"Windows | 单机\\n一个仿街机方块游戏,可以模拟多个方块游戏的部分模式。",link:"",id:"3d450984eb899811c1757c96bde9cb8bc3a7adae"},{title:"Texmaster",tags:["txm"],category:"game",content:"Windows | 单机\\n简称Tex,包含TGM的所有模式,可以用来练习TGM,但World规则不完全一样(如软降到底无锁延,踢墙表有细节不同等)。",link:"",id:"de2d8f090681e37b52dfabd4047d6c4a3b77ad91"},{title:"Tetris Effect",tags:["效应","tec","tetriseffectconnected","xiaoyinglianjie"],category:"game",content:"PS/Oculus Quest/Xbox/NS/Windows | 单机/多人\\n简称TE(C),特效方块游戏。不带Connected的基础版本只有单机模式。\\n拓展版本Tetris Effect: Connected增加了联网对战,包含Boss战、Zone对战、经典块对战和分数对战四个模式。",link:"",id:"0e6ba1cb4dd77fcc051416727b866d200b4bf074"},{title:"Tetris 99",tags:["吃鸡","t99"],category:"game",content:"NS | 单机/多人\\n简称T99,主玩99人混战的吃鸡模式,战术比重比较大,胜率不只由玩家在平时1V1时的水平决定。\\n也有一些常用单机模式如马拉松等。",link:"",id:"1ba05b6596856f9cc0ca2b4b459c4cb52a367249"},{title:"Puyo Puyo Tetris",tags:["噗哟方块","ppt","puyopuyotetris"],category:"game",content:"PS/NS/Xbox/Windows | 单机/多人\\n简称PPT,将方块和 Puyo Puyo 两个下落消除游戏放到一个游戏里,二者可以对战,联机单机模式都很多。另有一拓展版本Puyo Puyo Tetris 2。\\n[Steam PC版相对NS版手感和网络等都不太好]",link:"",id:"085c31a67986e72210f44a2fa0367c9986d312e7"},{title:"Tetris Online",tags:["top","study"],category:"game",content:"Windows | 单机/多人\\n简称TO,主要用来6人内对战/单挑/刷每日40L榜/挖掘模式/打机器人。支持自定义DAS/ARR但都不能到0。\\n现在还开着的服务器有:\\nTO-P(波兰服,服务器在波兰,可能会卡顿)\\nTO-S(研究服,研究群群友自己开的服,很稳定,需要进群注册)",link:"",id:"abc6cf003dae8fd7a5ea24fe449c7f4a520b0c21"},{title:"Tetra Online",tags:["to"],category:"game",content:"Windows/macOS/Linux | 单机/多人\\n简称TO,由Dr Ocelot和Mine两人开发\\n故意设计为延迟较多,平时玩无延迟方块的玩家可能会不习惯。\\n2020年12月9日收到来自TTC的DMCA警告信于是被迫停止开发,在一段时间后关服并下架Steam。\\n现在在GitHub上面还可以下到Windows的Offline Build。\\n[UI部分模仿了PPT,音乐不错,攻击特效好看。]",link:"https://github.com/Juan-Cartes/Tetra-Offline/releases/tag/1.0",id:"eae66386205bf56959209b8569a4ae2ea53ba74d"},{title:"Cultris II",tags:["文艺方块","c2","cultris2"],category:"game",content:"Windows/OS X | 单机/多人\\n简称C2,设计基于经典规则出发,支持自定义DAS/ARR,对战的主要玩法是基于时间的连击,考验玩家速度/Wide打法/挖掘。\\n[游戏作者太久没有更新Mac版导致macOS Catalina以后的系统无法运行]",link:"",id:"146a485103a6d96465f30968a8e98a3e09e0aa7f"},{title:"Nullpomino",tags:["np"],category:"game",content:"Windows/macOS/Linux | 单机/多人\\n简称NP,整个游戏自定义程度极高,几乎任何参数都可以自己设置,是一个专业级方块。\\n[不过UI风格比较老,需要全键盘操作,刚开始可能不习惯。macOS Monterey貌似无法运行。]",link:"",id:"4ca1f726a8d4565d0be64b0fbe18cb94173c63d7"},{title:"Misamino",tags:["回合制"],category:"game",content:"Windows | 单机\\n块圈玩家自制方块,单机1v1,主玩回合制模式,可以自定义AI(自己写的话需要了解接口)。",link:"",id:"15610a0899101f47ff3749b09be8cbb5de829763"},{title:"Touhoumino",tags:["东方","车万","偷猴","chewan","dongfang","th"],category:"game",content:"Windows | 单机\\n块圈玩家自制方块,一个Nullpomino的自带资源包的改版,将东方Project元素与俄罗斯方块结合。马拉松模式结合了东方Project里的 “符卡” 机制,需要在一定时间内达成目标分数才能击破。\\n[难度较大,适合有方块基础并且各项能力都较强的玩家游玩(不然都不知道自己怎么死的)。]",link:"",id:"68be7252aef0911f363e144f548fde38478dfd91"},{title:"Tetris Blitz",tags:["闪电战","ea"],category:"game",content:"iOS/Android | 单机/多人\\n简称闪电战,EA代理的一款移动端方块,有重力连锁机制,限时2分钟,游戏开始会掉下一堆小方块;持续消行会进入Frenzy模式(场地下方会不断冒出垃圾行,帮助玩家制造大连锁,如果多次落块没有消行会强制结束Frenzy)。有非常多的道具。\\n当新出现的方块与场地现有方块重叠时,场地最上方的几行会被自动清除,游戏不结束。已于2020年4月下架。",link:"",id:"a5c738adc280fad07bfbb4dd1476d7b7f904ed19"},{title:"Tetris (EA)",tags:["tetris","ea"],category:"game",content:"iOS/Android | 单机/多人?\\nEA代理的一款宇宙主题的移动端方块。有滑动操控和单点触控两种操作模式;除经典的马拉松外还有一个星系模式(地图挖掘),有重力连锁机制,目标是在限定块数内消除所有地图块。\\n已于2020年4月下架。",link:"",id:"027f9038af9c7e4d791be8f584b668a35a2cc51e"},{title:"Tetris Beat",tags:["节奏","n3twork"],category:"game",content:"iOS | 单机\\nN3TWORK代理的一款移动端方块。除了马拉松以外游戏还有一个 “Beat” 模式,但只需根据BGM的节奏落块就可以得到额外分数。\\n[特效比较瞎眼,不支持自定义键位,而且默认的按钮也很小导致控制也不是很舒服]",link:"",id:"2b5e658415906134fc5c084c815256cd029516b3"},{title:"Tetris (N3TWORK)",tags:["Tetris","n3twork"],category:"game",content:"iOS/Android | 单机/多人\\nN3TWORK代理的一款移动端方块,有马拉松、3分钟限时打分和Royale(最多100人对战)模式。\\n[UI设计比较不错,但不支持自定义键位,而且默认的按钮也很小导致控制也不是很舒服]",link:"",id:"4eca9f2aa25d69d08fd239754108be323894eccb"},{title:"俄罗斯方块环游记",tags:["tetris","journey","huanyouji"],category:"game",content:"iOS/Android | 单机/多人\\n简称环游记,国内第一款正版授权手游方块。有闯关模式、对战模式和几个单机模式。闯关模式有各种各样有趣规则大多数有重力连锁,对战规则同现代方块,可以自定义虚拟按键的大小和位置,但是不能自定义DAS/ARR。已于2023年2月15日停服。",link:"",id:"775c32db1ab6f2e15de9655a6d2c017243dfa554"},{title:"JJ块",tags:["手机","gougou"],category:"game",content:"Android | 单机/多人\\nJJ棋牌平台下一个休闲游戏,Android端百度 “JJ比赛” 官网下载平台后可以找到(找不到的原因是iOS系统或者没在官网下载或者被限制不可直接访问游戏)。竖屏,输入延迟很小,可自定义DAS/ARR/20G软降,简单自定义键位,无Hold,没有B2B,无攻击缓冲不可抵消,每次攻击上限为4,连击较强,其他同现代方块。",link:"",id:"0abb741e07432d757fe5f63dfc049c4abd4371a6"},{title:"火拼俄罗斯",tags:["huopin","qq"],category:"game",content:"Windows | 多人\\n腾讯游戏大厅的方块,场地12列,打字的 DAS 和 ARR,1 Next无 Hold,攻击途径只有消4打3、 消3打2,垃圾行为国际象棋棋盘式,几乎不可能挖掘。",link:"",id:"17f9bdeb539060af71e18f559429b15181f1a095"},{title:"LPM",tags:["速度","sudu"],category:"term",content:"Line Per Minute\\n行每分,体现玩家下块速度。\\n\\n注:不同游戏中显示的LPM算法可能不一样,例如TO中的LPM是用PPS换算的,每1PPS=24LPM,忽略掉了垃圾行的影响,不再是字面意思,Techmino中使用L’PM代表这种换算后的LPM。",link:"",id:"34a29ee483d8263bd7c41d5bfc0276e5e6cfb3f0"},{title:"PPS",tags:["速度","sudu"],category:"term",content:"Piece Per Second\\n块每秒,体现玩家下块速度。",link:"",id:"ffc6860263cb78c06b27cf924b3c23be71d33588"},{title:"BPM",tags:["速度","sudu"],category:"term",content:"Block Per Minute\\n块每分,体现玩家下块速度\\n又称PPM(Piece Per Minute)",link:"",id:"2bb26b9db018e582adf2ab859ab7f0beafa803d7"},{title:"KPM",tags:["速度","sudu"],category:"term",content:"Key Per Minute\\n按键每分,体现玩家按键速度。",link:"",id:"21e8b4fdd11dd2e25184216e21d37c0584ee1861"},{title:"KPP",tags:["按键","anjian"],category:"term",content:"Key Per Piece\\n按键每块,体现玩家操作是否繁琐。\\n学会极简提升操作效率以减少此数字。",link:"",id:"0dbca35263a0ac4bf7ef07824164d688b5837b11"},{title:"APM",tags:["攻击","attack","gongji"],category:"term",content:"Attack Per Minute\\n攻击每分,即玩家每分钟能打出的垃圾行数。\\n一定程度体现玩家攻击力。",link:"",id:"3b43c123b81f067da1fa99361828f2693142cd6a"},{title:"SPM",tags:["发送","送出","发出","send","gongji"],category:"term",content:"[lines] Sent per minute\\n送出每分,即玩家每分钟实际打出去给对手的垃圾行数。\\n一定程度体现玩家给对手实际造成的攻击力。",link:"",id:"076e116c297ac25392f513c03caad89bbae272db"},{title:"DPM",tags:["挖掘","防御","防守","dig","defend"],category:"term",content:"Dig/Defend Per Minute\\n挖掘每分,即玩家每分钟向下挖掘的垃圾行数。\\n某些时候可以体现玩家生存能力。\\n\\n或:防御(抵消+挖掘)每分。",link:"",id:"48ef5bdcf1fbd21b65c2f0282d3e94e7ab4a6878"},{title:"RPM",tags:["接收","接受","receive","jieshou"],category:"term",content:"Receive Per Minute\\n接收每分,即玩家每分钟收到来自对手的垃圾行数。\\n一定程度体现玩家被对手施加的压力。",link:"",id:"3ccaaf97407f07bc42542ec866e3bc4d52ef8cce"},{title:"ADPM",tags:["攻击","防御","防守","attack","defend","vs"],category:"term",content:"Atk & Dig Per Minute\\n攻击+挖掘每分,用于在同一局游戏内对比玩家间水平差距,比APM更准确一些。在TETR.IO中叫 “VS” 的数据就是ADPM(调整过比例,具体是Atk & Dig per 100s)",link:"",id:"8237c467e748e3db42d92d104b965e627b51fe22"},{title:"APL",tags:["效率","xiaolv","xiaolyu"],category:"term",content:"Attack Per Line\\n攻击每行,也叫效率,体现玩家攻击的行利用率。例如消四和T旋的效率就比消二和消三高。",link:"",id:"d9eda030b7074aedca43c15dddb4740c494f031a"},{title:"Single",tags:["1","xiaoyi"],category:"term",content:"一次消除一行。",link:"",id:"ede51272f574cbc9179024de514922e880faa573"},{title:"Double",tags:["2","xiaoer"],category:"term",content:"一次消除两行。",link:"",id:"4f80c5857d262da97bf9b0c6c06f3af811a426af"},{title:"Triple",tags:["3","xiaosan"],category:"term",content:"一次消除三行。",link:"",id:"fb5c4efc591d1b3c612c45e1f7de99ffd8f20cd8"},{title:"Techrash",tags:["4","tetris","xiaosi"],category:"term",content:"一次消除四行(Techmino限定)。",link:"",id:"d035e86d6bdff444a54e62e1e43c233e94d7bf89"},{title:"Tetris",tags:["4","xiaosi"],category:"term",content:"商标,Tetris游戏名,同时也是别的方块游戏里消四行的名字。\\n含义是Tetra(古希腊语, 四 <τέτταρες>)+ Tennis(网球 游戏原作者喜欢的运动)。\\n现在版权在TTC(The Tetris Company)手上,任天堂和世嘉开发游戏是 TTC 授权的, 它们自己并没有Tetris的版权。",link:"",id:"d62b4326976a335c6e1e5739e07fceb8c78e80bc"},{title:"PC",tags:["全消","全清","perfectclear","ac","allclear","quanxiao","quanqing"],category:"term",content:"Perfect Clear(也叫All Clear,全消,或全清)。\\n消除场地上所有的方块。",link:"",id:"3cc484e4922fa08d3cdcb4ce642ff241cfa2d527"},{title:"HPC",tags:["hc","clear","banqing","banquanqing","banquanxiao"],category:"term",content:"Half PC\\nPC(全消)的外延,“下方有剩余方块” 的全消(特别地,如果只消1行则必须不剩余玩家放置的方块),能打出一些攻击和防御(Techmino限定)。",link:"",id:"3a3e7e310a0a82040d6c4e70abd1d7c8048a4b30"},{title:"Spin",tags:["转","xuanzhuan","zuandong"],category:"term",content:"(部分游戏中)使用旋转将方块卡进不能直接移动进入的位置,具体判定规则不同游戏不一样,可能会有攻击加成。",link:"",id:"dc33dec4942ac1f43c0e1edb5ccb6b9e30f571b1"},{title:"Mini",tags:["迷你"],category:"term",content:"Spin附加Mini后攻击会弱化,用于平衡不同难易度的T-spin攻击,判定在不同游戏都不一样,而且大多数很不好理解,建议只记住常见形状即可。",link:"",id:"fb751efa013e9078a2af3d576946af0bad65e89b"},{title:"All Spin",tags:["allspin"],category:"term",content:"一种规则,指所有方块的Spin都有攻击力,而不止是T-spin才有攻击(即T-Spin Only)。",link:"",id:"76934acf334799e0ad76194c34b1ddee98dc5b67"},{title:"T-Spin",tags:["T转","T旋","旋转","tspin","txuan"],category:"term",content:"在官方规则中,当T方块在锁定前的最后一个操作是旋转,并且锁定后旋转中心对应的四个斜角位置有三个不是空气,那么这就是一个T-spin。\\nPS:如果满足一些额外条件会被打上mini标签减少攻击力。",link:"",id:"e811f591780c7c7ee0d7abd134e5a67c25289154"},{title:"TSS",tags:["t1","tspin"],category:"term",content:"T-Spin Single\\n指使用T方块Spin并一次消除1行。简称T1。",link:"",id:"a260a00814f9b634c252dc26e855206380a7e305"},{title:"TSD",tags:["t2","tspin"],category:"term",content:"T-spin Double\\n指使用T方块Spin并一次消除2行。简称T2。",link:"",id:"af05e0d65e32bca9b7c80a7da2c3e7f25f105090"},{title:"TST",tags:["t3","tspin"],category:"term",content:"T-spin Triple\\n指使用T方块Spin并一次消除3行。简称T3。",link:"",id:"513fe5fb6e3c7f3f286253eac090967f68b8597b"},{title:"MTSS",tags:["mini","tspin","minitspinsingle","tsms","tspinminisingle"],category:"term",content:"Mini T-spin Single\\n指T方块Mini Spin消1行(不同游戏判定不一样)。\\n部分游戏中可能叫做 “T-Spin Mini”。",link:"",id:"eabb16e756dd8b65ec3dc5f816b937c0d1e4f8ee"},{title:"MTSD",tags:["mini","tspin","minitspindouble","tsmd","tspinminidouble"],category:"term",content:"Mini T-spin Double\\n指T方块Mini Spin消2行(仅部分游戏内存在且判定不一样)。",link:"",id:"a1a53ac67d39e9ac378561223bdd1332f2ed615c"},{title:"O-spin",tags:["o转","o旋","ospin","oxuan","ozhuan"],category:"term",content:"由于O方块旋转后形状不变,只能左右移动,所以经常被卡住,于是方块圈就有了O-spin的梗:\\n有人做过T99/TF中的O变形的特效视频且广为流传;\\nT-ex设计的旋转系统可以用spin使O传送进坑;\\nTech设计的变形系统中可以旋转O来变形/传送进入一些特定形状的洞。",link:"",id:"e8dc50817739b8a0330f8b39f2cef5dda6440eba"},{title:"旋转系统 (踢墙)",tags:["旋转系统","踢墙","xuanzhuanxitong","wallkick","tiqiang"],category:"term",content:"现代方块游戏中,方块可以绕着旋转中心(Techmino中可见)旋转(部分游戏没有固定中心),如果旋转后和场地或墙壁有重合,会根据<从哪个方向转到哪个方向>进行一些偏移测试(这个偏移称为踢墙),不会卡住转不动,同时也可以让方块钻进入一些特定形状的洞。不同的旋转系统偏移位置顺序都不一样,具体数据去各大Wiki上查,一堆数字这里就不放了",link:"",id:"05b13c428c8769505583fde30a481558c935ab2c"},{title:"方块朝向",tags:["旋转","朝向","xuanzhuan","chaoxiang","orientation","direction","0r2l","02","20","rl","lr"],category:"term",content:"在SRS或者类SRS的旋转系统中需要说明方块朝向的时候,“朝下” “竖着” 等词描述太模糊。\\nSRS中每种方块的初始状态固定,所以我们使用0(原位)、R(右,即顺时针转一次)、2(转两下,即180°)、L(左,即逆时针转一次)四个字符表示方块的四种状态,从原位(0)开始顺时针转一圈四个状态是0R2L。\\n最早见于SRS踢墙表的行首,0→L表示原位逆时针转一次到L状态,0→R表示原位顺时针转一次到R状态,2→R代表从180°状态逆时针转一次到R状态。",link:"",id:"573a634040e4e2b48f3a6f63d3ffef40e48ca2f1"},{title:"ARS",tags:["旋转系统","rotate"],category:"term",content:"Arika Rotation System,TGM系列使用的旋转系统(3代中的C模式)\\n或者\\nAtari Rotation System,一个左上对齐旋转系统。",link:"",id:"9e89bb00c1d2aa2fd01276461d2e6948b6a94e2b"},{title:"ASC RS",tags:["旋转系统","ascrs","rotate"],category:"term",content:"ASC Rotation System\\nASC块使用的旋转系统,所有块所有形状只根据旋转方向(顺时针和逆时针)使用两个对称的表,踢墙范围大概是±2, ±2。",link:"",id:"564007c0f886861ba0794982d64ee13a5c91c773"},{title:"ASC+ RS",tags:["旋转系统","asc+rs","ascplusrs","rotate"],category:"term",content:"Techmino中ASC的修改版本,添加了180°转的踢墙表。",link:"",id:"ce0ec58b494b2db6c68836d072215d1ce6f8f87c"},{title:"BRS",tags:["旋转系统","rotate"],category:"term",content:"BPS Rotation System\\nBPS块使用的旋转系统。",link:"",id:"94e15bca792e79f612af7db8a19039689c09d210"},{title:"BiRS",tags:["旋转系统","rotate"],category:"term",content:"Bias Rotation System\\nTechmino原创旋转系统,基于XRS和SRS设计。\\n当左/右/下(软降)被按下并且那个方向顶住了墙,按旋转后会先设定一个偏移(三个键朝各自方向加1格),在偏移的基础上试踢墙表里的位移(全都失败了会先取消向下的偏移再把踢墙重新试一遍,再都不行就取消左右,再不行就失败)。\\nBiRS相比XRS只使用一个踢墙表更容易记忆,并且保留了SRS翻越地形的功能。\\n\\n细节补充:在测试踢墙时要满足两个条件,最终位移欧氏距离不能超过√5,并且存在水平偏移时最终水平位移必须和它不反向。",link:"",id:"c43d480a62beefb77cad904e31fff896eb940993"},{title:"C2RS",tags:["旋转系统","rotate","cultris2"],category:"term",content:"Cultris II Rotation System\\nCultris II原创的旋转系统,所有旋转共用一个表,顺序是:\\n左1→右1→下1→左下→右下→左2→右2\\n注意,左优先于右。",link:"",id:"220cefe0dc94d636dedc322b4318795ed34837a3"},{title:"C2sym",tags:["旋转系统","rotate","cultris2"],category:"term",content:"Techmino中C2RS的修改版本,根据不同的方块形状和状态,各自选择优先测试左还是右。",link:"",id:"a556f52f54e6fbc01a552e13d5e457226db9f1ab"},{title:"DRS",tags:["旋转系统","rotate"],category:"term",content:"DTET Rotation System.",link:"",id:"c5643df577b8666a346e1ec09c2b93ed22b333d6"},{title:"NRS",tags:["旋转系统","rotate"],category:"term",content:"Nintendo Rotation System,NES和GB块使用的旋转系统。NRS有两个互为镜像的版本,左旋版用于GB,右旋版用于NES。",link:"",id:"c21f8a4f8ad7208a795a57ded5d060919649cef4"},{title:"SRS",tags:["超级旋转系统","rotate"],category:"term",content:"Super Rotation System\\n现代方块最常用的旋转系统,也是不少自制旋转系统的设计模板。\\n对于SRS,每个方块有四个方向,可以朝两边转(180°不算,最开始没有这个设计),所以总共8种,对应8个偏移表,具体数据去Wiki上查,这里就不放了。",link:"https://tetris.wiki/Super_Rotation_System",id:"6ee42d75e1000923b204826b1b13f846209a5481"},{title:"SRS+",tags:["超级旋转系统","srsplus","rotate"],category:"term",content:"SRS的拓展版,添加了180°转的踢墙表。",link:"",id:"fcc36d4cbebb42c03eff3307b06c46c6ed8379a4"},{title:"TRS",tags:["旋转系统","rotate"],category:"term",content:"Techmino Rotation System\\nTechmino原创旋转系统,基于SRS设计,修补了一些常见SZ卡死的地形,增加了不少实用踢墙。\\n每个五连块也基本按照SRS的Spin逻辑单独设计了踢墙表。\\n更有神奇O-spin等你探索!",link:"",id:"704dcda3c49ae4bbec88bf09f155c0b7fcfe1387"},{title:"XRS",tags:["旋转系统","rotate"],category:"term",content:"X Rotation System\\nT-ex原创旋转系统,引入了 “按住方向键换一套踢墙表” 的设定(在对应的方向需要顶住墙),让 “想去哪” 能被游戏捕获从而转到玩家希望到达的位置。\\n\\n其他旋转系统无论踢墙表怎么设计,块处在某个位置时旋转后最终只能按固定顺序测试,这导致不同的踢墙是竞争的,若存在两个可能想去的位置就只能二选一,XRS解决了这个问题。",link:"",id:"9dcd64344bfe1b26c2a4d1128e23fa8e215b6b68"},{title:"B2B",tags:["大满贯","btb","backtoback"],category:"term",content:"Back to Back\\n连续打出两次特殊消行(Spin或消四),中间不夹杂普通消行,可以提供额外的攻击(在Techmino中B2B为满贯,大满贯是B3B)。连续PC/HPC在Techmino中也算B2B/B3B。",link:"",id:"25c9c3013a9ba18daf3a397dfa0127da915ecdd0"},{title:"B2B2B",tags:["大满贯","b3b","backtobacktoback"],category:"term",content:"Back to Back to Back\\nB2B的加强版,缩写B3B,大量B2B后连续B2B会变成B2B2B,提供更强的攻击(仅Techmino中有)。",link:"",id:"93abe814c9a4acbd50d6c2ee3b81704c36acae69"},{title:"Fin/Neo/Iso",tags:["特殊","fin","neo","iso"],category:"term",content:"三类特殊T2的名字,不同的游戏内的攻击可能不一样,实战中基本没有特殊价值,可以不详细了解。",link:"",id:"49a9dddd3e75b7be40c59555e26b82cd895be3bd"},{title:"现代方块",tags:["modern","xiandaikuai","tetris"],category:"term",content:"现代方块是一个模糊的概念,这里列出一部分 “标准” 规则,满足大部分的都可以认为是现代方块:\\n1.可见场地大小是10×20,不过上方空间也是存在的,上限可以自己定,一些游戏用的是40;\\n2.七种方块从顶部正中间出现(奇数宽方块偏左,高度可以是方块底部或顶部贴着场地顶),同一种方块的朝向(一般是平的面朝下)和颜色都一致;\\n3.一个合适的随机出块机制(常见的详见Bag7词条和His词条);\\n4.一个合适的的旋转系统(至少有双旋,详见双旋词条)(最好是SRS或类SRS,详见SRS词条);\\n5.一个合适的锁定延迟系统,详见锁定延迟词条;\\n6.一个合适的死亡判定,详见死亡判定词条;\\n7.有Next功能(一般是3~6个,也有1个的),详见Next词条,并且方向和出现时候的方向一致;\\n8.有Hold功能,详见Hold词条;\\n9.有DAS系统负责精密并且快速的左右移动,详见DAS词条;\\n10.如果有出块延迟和消行延迟,那么需要有提前旋转/Hold系统,详见IRS和IHS词条,IMS是Techmino特有。",link:"",id:"3b374d011cae4bbd4f76daabce342beef755c6b0"},{title:"方块形状",tags:["xingzhuang","shape","tetromino","tetrimino"],category:"term",content:"在标准的方块游戏中,用到的方块是所有的 “四连块”,即四个正方形共用边连接成的形状。\\n在不允许翻转,只允许旋转的情况下,四连块一共有七种,根据它们的形状一般分别叫做Z、S、J、L、T、O、I。\\n\\n详见下方 “方块名称”。",link:"",id:"4f07a542caea12ff764123563fe86c36fcf50e07"},{title:"方块颜色",tags:["yanse","color","colour","tetromino","tetrimino"],category:"term",content:"主流方块游戏中七种块的颜色会使用同一套彩虹配色:\\nZ:红 S:绿 J:蓝 L:橙 T:紫 O:黄 I:青\\n\\nTechmino默认也使用这一套 “标准” 配色。",link:"",id:"eaf19687d159758acc974e4c87723dae786ad13f"},{title:"提前旋转(IRS)",tags:["irs","initialrotatesystem"],category:"term",content:"Initial Rotation System 提前旋转系统\\n方块出现前提前按下旋转后,出现时就是转好的形状,有时可以避免死亡。",link:"",id:"df56dc17c1c71d88f776c8989f44e46bd373fe91"},{title:"提前暂存(IHS)",tags:["ihs","initialholdsystem"],category:"term",content:"Initial Hold System 提前Hold系统\\n方块出现前提前按下hold后,直接出现hold里的方块,有时可以避免死亡。",link:"",id:"dfa0fb067ad7de4e9f078f3b0122943af0f79b74"},{title:"提前移动(IMS)",tags:["ims","initialmovesystem"],category:"term",content:"Initial Move System 提前移动系统\\n方块出现前提前按住移动后,出现时会朝移动方向偏一格,有时可以避免死亡(Techmino限定)。\\n注:需要块出现时das已充满",link:"",id:"dbb98c2013dd63489d4f23a39828862643abc70c"},{title:"预览(Next)",tags:["下一个","next","yulan","xiayige"],category:"term",content:"指示后边几个块的顺序。\\n提前思考手上这块怎么摆可以让后面轻松是玩家提升的必需技能。\\n\\n关于玩家玩的时候到底看了几个Next:这个数字并不固定,不同玩家、不同模式、不同局面,计算next的数量都不一样,通过调整可见Next数量打40L比较时间等方式测得的数据并不准确。\\n\\n具体例如,一个比较熟练的玩家几乎永远会提前算好一个Next,不然不会锁定手里的块;场地上将要出现或可以构造消四洞(T坑)的时候会找最近的I(T)什么时候来,如果太远了就会直接挖掉放弃本次攻击以防被对手偷袭。这两种情况并不独立,有很多介于中间的情况。所以,一个玩家看的Next数量是时刻在变的,“某人看几个Next” 没有精确答案,必须在指明情况的时候数字才能作为参考。",link:"",id:"5ede2f721df7f80f287a68fcd175ee1db254e642"},{title:"暂存(Hold)",tags:["交换","hold","zancun"],category:"term",content:"将手里的方块和Hold槽中的交换,一般不能连续使用。\\n用来调整块序,更容易摆出你想要的形状。\\nTechmino中有一个 “物理Hold” 机制,开启后Hold换出的方块会直接出现在当前方块所在的位置\\n\\n用不用Hold各有好处,不用的话看到序列是什么就是什么,减少了思考量;并且减少了按键的种类,操作简单容易提升KPS,有些人的40L记录就是不用Hold打出的。用Hold可以灵活地调整序列,减少高重力等规则带来的难度,算力足够的情况下可以达成更复杂的目标,甚至反过来显著减少总按键数。",link:"",id:"af7a53d05fef8964e93ddc5e922fe7ead80c663e"},{title:"置换(Swap)",tags:["交换","swap","hold","jiaohuan","zancun"],category:"term",content:"Hold的另一种表现形式,将手里的方块和Next槽中的第一个交换,一般同样不能连续使用。",link:"",id:"007c6a9f7ce2fc7064cbcbaeeed1089ffa985356"},{title:"深降",tags:["深降","deepdrop","shenjiang"],category:"term",content:"开启后当方块触底时,再次按下软降会让方块尝试向下穿墙寻找放得下的地方,如果有就会直接瞬移到那\\n该功能更偏向用于技术研究,对于AI来说有了它可以完全不用再考虑旋转系统,形状能容得下的地方一定都能到达",link:"",id:"78894c860ead15409ce3eb1c30c535ebb2433c69"},{title:"Misdrop",tags:["误","md"],category:"term",content:"误放,就是不小心放错了地方。简称MD。",link:"",id:"1f8a0276433dcc22d354aaceee5a13d193037691"},{title:"Mishold",tags:["误hold","mh"],category:"term",content:"误hold,就是不小心按到Hold导致死亡或失去PC机会等。简称MH。",link:"",id:"c5ca3c00e538070148fb09a03ab68339d90d64f9"},{title:"sub",tags:[],category:"term",content:"在……之下\\n用于表示成绩,单位一般可不写,比如40L成绩Sub 30是秒,1000行Sub 15是分钟,不写项目默认是40L\\n\\n例:39.95s是Sub 40,40.###s不是Sub 40。\\n请不要使用Sub 62之类的词,因为sub本身就是表示大约, 一分钟左右的成绩精确到5~10s就可以了,一般30s以内的成绩用sub## 的时候才会精确到1s。",link:"",id:"fac0180b895f2a661421f4e7dad325e8f3feb12d"},{title:"挖掘(Dig)",tags:["挖掘","downstack","ds","wajue"],category:"term",content:"指消除从场地底部进入的垃圾行(对手攻击打过来或者模式中自动生成)。也叫downstack(DS)。",link:"",id:"795ab336844cf40d0b587e03f6c8ce391fe0f67f"},{title:"捐赠(Donate)",tags:["捐献","juanzeng"],category:"term",content:"指刻意临时堵住(可以消四的)洞做T-spin,打出T-spin后就会解开,是比较进阶的保持/提升火力的技巧。\\n不标准用法:有时候只要堵住了个坑,即使不是消四洞也会用这个词。",link:"",id:"094cb87b474108286d1b050eb94b7034582d9123"},{title:"欠债",tags:["qianzhai","debt"],category:"term",content:"欠债\\n指必须完全堆好才能开始转下T旋打出攻击,堆完之前T下不去的形状。对战实战中如果要做此类(中局)定式时一定要观察对手情况确保自己安全,不然可能被半途打死\\n\\n一般只用来描述类似双T3/T3塔的大型组合炮,堆完之前完全不能打出攻击。",link:"",id:"2c9c9d2a29d452bdcc50f89b9efcb32e5ef824f7"},{title:"攻防",tags:["gongfang","gongshou"],category:"term",content:"攻击指通过消除给对手发送垃圾行;\\n防御(相杀)指别人打过来攻击之后用攻击抵消;\\n反击指抵消/吃下所有攻击后打出攻击。\\n\\n注:大多数方块游戏的攻防是1:1的,4行攻击抵消对手的4行攻击。",link:"",id:"c5cc86404df3ec167323a6dd389f658d3619dda2"},{title:"连击(Combo)",tags:["ren","lianji"],category:"term",content:"从第二次消除起叫1 REN/Combo,打出的攻击根据游戏设计的不同也不同。“REN” 这个名称来源于日语中的 “連”(れん)。",link:"",id:"9f87a8b08381af9fac76021f4af2f897895834b4"},{title:"Spike",tags:["baofa","xingbao"],category:"term",content:"爆发攻击\\n指短时间内打出大量的攻击,Techmino和TETR.IO中有Spike计数器,可以看到自己短时间内打出了多少攻击。\\n注意,网络卡顿导致的累计攻击瞬间释放不算Spike。",link:"",id:"c463c53088e461253bcbda48795858024b3c49ce"},{title:"Side",tags:["连击","sidewell"],category:"term",content:"在场地旁边空出几列的堆叠法\\n用来制造连击,对于新人是一个不错的进攻方法。但由于起楼的时候可能会被顶死而且总效率不高,导致高端玩家不会单独做Wide,更可能会在中局堆好炮并且观察到对手短时间内不会打出伤害的时候可以造,用来大幅加强瞬时火力。",link:"",id:"6a78522114f9684c67c66a49bf79f64da244e117"},{title:"Center",tags:["连击","centerwell"],category:"term",content:"在场地正中间空出几列的堆叠法",link:"",id:"437c97420ef53ab10e30f2805a9d1e2d9a0965fd"},{title:"Partial",tags:["连击","partialwell"],category:"term",content:"在场地边和正中之间的位置空出几列的堆叠法",link:"",id:"4067a95f88506ff7bf801b43f45dcdaaa4c45600"},{title:"S1W",tags:["side1wide","tetrisstacking"],category:"term",content:"Side 1 Wide\\n旁边空1列,是传统方块游戏里常见的消四打法。\\n在现代方块对战中新手可以使用,短时间能打出大量攻击,但在高手场出场率不高,因为效率低,容易被对面一波打死,故只在极少数情况合适的时候用。",link:"",id:"895231397015bfce6167338f919a8248e9671edc"},{title:"S2W",tags:["连击","lianji","ren","side2wide"],category:"term",content:"Side 2 Wide\\n旁边空2列,是常见的连击打法。\\n难度很低,现代方块对战中新手可以使用,结合Hold可以很轻松地打出大连击。高手场使用不多,因为准备时间太长,会被对面提前打进垃圾行,导致连击数减少或者直接Top Out,效率也没有特别高,故一套打完也不一定能杀人。",link:"",id:"07f6a6ae39c6f305f69df7429220ff63a6071cfa"},{title:"S3W",tags:["连击","lianji","ren","side2wide"],category:"term",content:"Side 3 Wide\\n旁边空3列,不如2w常见的连击打法。能打出的连击数比2w多,但是难度偏大很容易断连。",link:"",id:"2cca6c01af79e69e759f86f4570f6ad664ff8cbc"},{title:"S4W",tags:["连击","lianji","ren","side4wide"],category:"term",content:"Side 4 Wide\\n旁边空4列,一种连击打法,能打出很高的连击,并且准备时间比别的Wide打法短,故动作快的话可以抢在对手打进垃圾之前堆很高然后打出超大连击。\\n(因为可能会被提前打死,风险挺大,所以没有c4w那么不平衡)。",link:"",id:"7a14de9326959417e5c811ebd340880f56332283"},{title:"C1W",tags:["center1wide","centre1wide"],category:"term",content:"Center 1 Wide\\n中间空1列,一种实战里消4同时辅助打TSD的打法,需要玩家理解<平衡法>,熟练之后可以轻松消四+T2输出,难度也不是特别大。",link:"",id:"b4ce63d567c37c06f097c45d017ffb70605e1713"},{title:"C2W",tags:["连击","lianji","ren","center2wide","centre2wide"],category:"term",content:"Center 2 Wide\\n中间空2列,一种可能的连击打法(不常见)。",link:"",id:"aa0d1a282bb055ddc26a7ba114734e046bb22a91"},{title:"C3W",tags:["连击","lianji","ren","center3wide","centre3wide"],category:"term",content:"Center 3 Wide\\n中间空3列,一种可能的连击打法(不常见)。",link:"",id:"80f81c662953d26694fd224ea11744c527f23145"},{title:"C4W",tags:["连击","lianji","ren","center4wide","centre4wide"],category:"term",content:"Center 4 Wide\\n中间空四列,一种连击打法,能打出很高的连击,利用了大多数专业对战方块游戏的死亡判定机制,可以放心堆高不担心被顶死,然后开始连击。是一种利用游戏机制的不平衡策略(尤其在开局时),观赏性不是很强还可以以弱胜强,成本太低所以成为了部分游戏中约定的类似 “禁招” 的东西,请在了解情况后再使用,不然可能会被别人骂。\\nTechmino中虑到了平衡问题,所以c4w的强度没有别的游戏那么夸张。",link:"",id:"d950d193130534afc1172812686626925d48fa7c"},{title:"N-Res",tags:["连击","lianji","ren","residual","c4w","s4w"],category:"term",content:"N-Residual\\nN-剩余,指4w连击楼底部留几个方格,常用的是3-Res和6-Res。\\n3-Res路线少比较好学,成功率也很高,实战完全够用\\n6-Res路线多更难用,但是计算力很强的话比3-Res更稳,也可以用来完成特殊挑战(比如Techmino的c4w练习要求100连击通关)。\\n\\n注:优先使用6-Res,然后是3-res和5-Res,最后是4-Res",link:"",id:"ae65d17fba55bc34655d7d2fccdce8c28b567f1a"},{title:"6–3堆叠法",tags:["六三","63"],category:"term",content:"指左边6列右边3列的堆叠方式。在玩家有足够的计算能力后可以减少堆叠所用的按键数(反之可能甚至会增加),是主流的用于减少操作数的高端40L堆叠方式,原理跟出块位置是中间偏左有关。",link:"",id:"abe1c123e7488798c10a4d4f860486ed30291164"},{title:"Freestyle",tags:["ziyou"],category:"term",content:"自由发挥的意思,常用于freestyle TSD(T2),指不用固定的堆叠方式而是随机应变完成20TSD。比用LST或者垃圾分类完成的20 TSD的难度要大,成绩也更能代表实战水平。",link:"",id:"73f52db58a03c13e29d26f80d0699c11ba402a3e"},{title:"死亡判定",tags:["die","death","siwang"],category:"term",content:"现代方块普遍使用的死亡判定:\\n1. 新出现的方块和场地方块有重叠(窒息,Block Out)(c4w比s4w强的原因,因为被打进18行都不会窒息);\\n2. 方块锁定时完全在场地的外面(Lock Out);\\n3. 场地内现存方块总高度大于40。(超高,Top Out)\\n\\n注:Techmino使用的死亡判定默认不开启第二、三条。",link:"",id:"77ed2d81178ee7f847cd269f297deeaa69478138"},{title:"缓冲区",tags:["buffer","zone","huanchongqu"],category:"term",content:"(不是所有游戏都有这个概念)指10×20可见场地之上的21~40行。因为垃圾行顶起后两边堆高的方块可能会超出屏幕,消行后这些方块要重新回到场地内所以需要保存下来,由于程序上要求场地尺寸有限(部分游戏可以无限),故设定为40,一般都够用。\\n\\n另见 “消失区” 词条。",link:"",id:"6e9167b52a766606983edbf678f3989105a69fea"},{title:"消失区",tags:["vanish","zone","xiaoshiqu"],category:"term",content:"在缓冲区的基础上,指比40行缓冲区还高的区域。\\n标准的死亡判定涉及了这个概念,在垃圾行升起后如果场地上有任何方块超出了40高的缓冲区(也就是达到了消失区)时游戏直接结束。\\n但事实上这块区域在不同游戏中表现不同,甚至有设计者考虑不周导致方块挪到40行以上,但是程序没考虑导致方块接触消失区直接报错闪退的游戏。通常出现在玩家堆了c4w然后被打入大量垃圾行时才会考虑这个概念。其他游戏中方块进入消失区可能直接导致游戏结束,也有可能会出现一些奇怪的bug(附带链接是ppt的复制40行无限Ren视频)。\\n\\n另,Jstris中22行及以上可以理解为消失区,锁定在21行之外的格子会消失。",link:"https://www.bilibili.com/video/BV1ZE411Y7GD",id:"813f5047623daa972c4156c40645df95566a6c65"},{title:"下落速度",tags:["重力","drop","speed","zhongli","gravity"],category:"term",content:"一般用*G表示方块的下落速度,意思是每一帧方块往下移动多少格,一秒下落一格就是1/60G(默认60fps),可以看出G是一个很大的单位。因为场地就20格,所以一般认为20G即为上限,详见20G词条。\\n在Techmino中描述重力的方式是 “每过多少帧下落一格”,例如一秒落一格就对应60(默认60fps)",link:"",id:"fd716418d5981636329309c09701f86a6c62ac3a"},{title:"20G",tags:["高重力"],category:"term",content:"现代方块的最高下落速度,表观就是方块瞬间到底,不存在中间的下落过程,可能会让方块无法跨越壕沟/从山谷爬出。\\n20G一般指的其实是 “无限下落速度” ,就算场地不止20格,“20G” 也会让方块瞬间到底。\\nTechmino(和部分其他游戏,推荐这么设计)中20G的优先级比其他玩家操作都高,即使是0arr的水平方向 “瞬间移动” 中途也会受到20G的影响。",link:"",id:"593ac92b3bffd69d630b1f3578abe4a46c009245"},{title:"锁定延迟(LD)",tags:["重力","lock","delay","lockdown","delay","suoyan","zhongli","gravity"],category:"term",content:"方块<碰到地面到锁定>之间的时间。经典块仅方块下落一格时刷新倒计时,而现代方块中往往任何操作都将重置该倒计时(但是方块本身必须可以移动/旋转),所以连续移动和操作可以让方块不马上锁定,拖一会时间(Techmino和部分游戏重置次数有限,一般是15)。",link:"",id:"cba42b52458bcc1cd1a22af04860ea8ca314cfc5"},{title:"出块延迟(ARE)",tags:["delay","chukuaiyanchi"],category:"term",content:"ARE。方块<锁定完成到下一个方块出现>之间的时间。",link:"",id:"db2eeaa21340ea8a0fe30088d44c2367d2a745d2"},{title:"消行延迟(ARE)",tags:["line","delay","xiaohangyanchi"],category:"term",content:"Line ARE。方块<锁定完成能消行时的消行动画>占据的时间。",link:"",id:"6b6ca1350f6b8147c19409da013707376353660a"},{title:"窒息延迟(DD)",tags:["choke","are","delay","zhixiyanchi"],category:"term",content:"当前方块锁定后如果下一块的生成位置被阻挡,那么下一块的出块延迟会被再额外加上这个延迟的值,方便使用提前系统来避免死亡\\n想法来自NOT_A_ROBOT",link:"",id:"ec00c3637ea72a7bc6ad2fcbf8048c6c3d56176c"},{title:"极简(Finesse)",tags:["极简操作","最简操作","finesse","jijiancaozuo","zuijiancaozuo"],category:"term",content:"用最少的按键数将方块移到想去的位置的技术(大多数时候只考虑纯硬降的落点),节约时间和减少Misdrop。\\n\\n该技能学习越早越好,建议先去找教程视频,看懂了然后自己多练习,开始以准确率第一,速度快慢不重要,熟练后自然就快了。\\n\\n注意,Techmino使用的极简判定系统不是说完全和理论最少操作数一样,而是不需要软降就能达到的位置才会按照标准出块方向和你的按键次数执行极简检测,故在此不像js存在软降后误杀。但是多了一些新的条件,比如已经按了超过3次按键后再hold后按键次数不重置(让下一块极简失误)。\\n极简率计算:\\n没有超过标准极简法操作数的为Perfect计100%,超出一步为Great计50%,超出两步为Bad计25%,两步以上为Miss计0%,其中Bad和Miss会断连\\n\\n注1:一般说的极简不考虑带软降/高重力/场地很高的情况,仅研究空中移动/旋转后硬降。绝对理想的“极简”建议使用“最少按键数/操作数”表达。\\n注2:20G下极简系统和0G一样工作,所以得到的数值不准确,参考价值偏低。",link:"",id:"9f0916c40b130f851a7d9ede8d7c0974eec449c9"},{title:"科研",tags:["keyan"],category:"term",content:"常用语,指在低重力的单人模式里减速研究怎么做各种T-spin,Techmino中拓展了含义,用于称呼几乎需要全程Spin的游戏模式。",link:"",id:"0828e6d1cd44af7467e73713ade3b25590fcc121"},{title:"键位",tags:["keyboard","mapping","jianwei"],category:"term",content:"键位设置原则参考:\\n1.不要让一个手指管两个可能同时按的键,通常只有几个旋转键不需要同时按,其他功能推荐都单独给一个手指\\n2.除非已经在别的游戏里锻炼过小拇指,最好不要用,一般食指和中指最灵活,自己觉得舒服为准\\n3.没必要参考别人的键位设置,每个人都不一样,只要不违反前几条规则,就几乎不会对成绩产生影响。",link:"",id:"b6d25ace7abeac07b7182bbae8c3ae0d9c3a0388"},{title:"手感(Handling)",tags:["手感","feel","shougan"],category:"term",content:"决定手感的几个主要因素:\\n1. 输入延迟受设备配置或者设备状况影响。可以重启/换设备解决;\\n2. 程序运行稳定性程序设计或.实现)得不好,时不时会卡一下。把设置画面效果拉低可能可以缓解;\\n3. 游戏设计故意的。自己适应;\\n4. 参数设置设置不当。去改设置;\\n5. 游玩姿势姿势不当。不便用力,换个姿势;\\n6. 换键位或者换设备后不适应,操作不习惯。多习惯习惯,改改设置;\\n7. 肌肉疲劳反应和协调能力下降。睡一觉或者做点体育运动,过段时间(也可能要几天)再来玩。",link:"",id:"ba1f5e400e9e260fcb22478326e450b1374bc4de"},{title:"DAS通俗",tags:["das","arr","simple","tongsu"],category:"term",content:"打字时按住o,你会看到:ooooooooooo…\\n在时间轴上:o—————o-o-o-o-o-o-o-o-o…\\n—————就是das长度,-就是arr长度。\\n详见 DAS & ARR 词条。",link:"",id:"0d9a27fed35a633c199478e89b4877e22c091be6"},{title:"DAS & ARR",tags:["灵敏度","arr"],category:"term",content:"DAS(Delay-auto-shift,自动加(延迟)具体指从<按下移动键时动了一格>到<开始自动移动>之间的时间。\\nARR(Auto-repeat-rate),自动重复速率,指<每次自动移动>之间的时间\\n单位都是f(帧,1帧=1/60秒)\\n别的游戏里用的单位可能是ms(毫秒),乘16.7就可得出大约的对应数值,例如4f≈67ms。",link:"",id:"8d76369c3989fdbad47f194a6721a15745c5215a"},{title:"DAS调节",tags:["调节","arr","tuning","tiaojie"],category:"term",content:"对于不是刚入门的并且了解极简操作的玩家来说推荐ARR=0,DAS=4~6(具体看个人手部协调性,只要能控制区别就不大)。\\n新人如果实在觉得太快可以适当增加一点DAS,ARR要改的话强烈建议不要超过2\\n\\n最佳调整方法:DAS越小越好,小到依然能准确区分单点/长按为止;ARR能0就0,游戏不允许的话就能拉多小拉多小。",link:"",id:"714a9aa32a049c16cdc992faa8ea0bf6d9e31bd8"},{title:"DAS打断(DCD)",tags:["dascut","dcd","daduan"],category:"term",content:"Techmino中指玩家的操作焦点转移到新方块的瞬间,此时减小(重置)DAS计时器,让自动移动不会立刻生效,减少 “移动键松开晚了导致下一块一出来就立即开始移动” 的情况\\n注:其他游戏中的DAS打断机制可能和Techmino的有区别,仅供参考。",link:"",id:"2724d9482ca6cf5f7780bf4adb94080661c784bd"},{title:"误硬降打断(HCD)",tags:["autolockcut","mdcut","daduan"],category:"term",content:"为了防止玩家硬降时当前方块已经锁定,下一块出现就被立刻硬降导致严重md,所以设计了此打断参数。\\n方块自然锁定之后几帧内硬降键是无效的,具体看设置了多久。\\n注:其他游戏中的防误硬降机制可能和Techmino的有区别,仅供参考。",link:"",id:"02327feae6a40b0064139219288c54efccffe95b"},{title:"软降倍率(SDF)",tags:["软降速度","sdf","softdropfactor"],category:"term",content:"Soft Drop Factor,软降速度因子(倍率)\\n部分游戏中的软降机制就是在按住软降键时方块受到的重力变为原来的若干倍,SDF就是这个变大的倍数。\\n基本所有官块和TETR.IO使用这个机制,但Techmino不使用。",link:"",id:"ed0dcb1d6b8c94f29128c763c43bcba65efb23c9"},{title:"方块名称",tags:["mino","name"],category:"term",content:"这是一个Techmino使用的所有方块的名称和其对应的形状:\\n四连块:\\nZ: ``, S: ``, J: ``, L: ``, T: ``, O: ``, I: ``;\\n\\n五连块:\\nZ5: ``, S5: ``, P: ``, Q: ``, F: ``, E: ``, T5: ``, U: ``, V: ``, W: ``, X: ``, J5: ``, L5: ``, R: ``, Y: ``, N: ``, H: ``, I5: ``;\\n\\n一至三连块:\\nI3: ``, C: ``, I2: ``, O1: `.",link:"",id:"c3256382b96370d2673b14e8dc7111dfa24650c4"},{title:"Bag7出块",tags:["sequence","bag出块","bag7bag"],category:"term",content:"一种出块方式,现代方块普遍使用该规则,开局起每7个块是7种形状各出现一次,避免了很久不出某个块和某个块来得特别多,是一些现代方块战术的基础。\\n\\n例如:\\nZSJLTOI OTSLZIJ LTISZOJ",link:"",id:"92406cc044213853fc3bd31c024d68b4b20c1e46"},{title:"His出块",tags:["sequence","His出块","history","h4r6"],category:"term",content:"一种的出块方式,例如His4 Roll6 (h4r6)就是在随机生成新的 Next 的时候,随机一个跟最后4次生成的Next中有一样的,就重新随机,直到已经尝试6次或和那4个都不一样。\\nTechmino的His序列模式中最大Roll次数为序列长度的一半(向上取整)\\n\\n是纯随机出块的一大改进,大大减小了连续出几个SZ(洪水)的概率。",link:"",id:"423effd78b3021cc3b55cd952f3cc4d6680a65fb"},{title:"HisPool出块",tags:["sequence","HisPool出块","history","h4r6","pool","hispool"],category:"term",content:"一种出块方式,History Pool,his算法的分支,比较复杂,这里只提供大概的说明:\\n在His的基础上添加了一个Pool(池),在取块的时候his是直接随机和历史序列(最后4次生成的next)比较,而HisPool是从Pool里面随机取(然后补充一个最旱的块增加他的概率)然后和历史序列比较。\\n\\n这个算法让序列更稳定,介于His和Bag之间,在理论上保证了干旱时间不会无限长。",link:"",id:"2e5deaf94db4d556279b0858fa1d812a14c75fb0"},{title:"bagES出块",tags:["sequence","bages出块","easystart"],category:"term",content:"(该词仅在Techmino内使用)Bag Easy-Start(Bag简单开局),Bag算法的分支,开局第一包的第一块不会是S/Z/O/S5/Z5/F/E/W/X/N/H。",link:"",id:"b4388de53409c80e4752ec3630b7eaf179c23fa1"},{title:"Reverb出块",tags:["sequence","reverb出块"],category:"term",content:"(该词仅在Techmino内使用)回声出块,Bag算法的分支,把Bag的每一块重复随机次数(重复越多概率越小,理论范围是0~6,具体比较复杂这里不展开)",link:"",id:"e0e9047ea536cae2e9bde52ac2abb519f57bcabd"},{title:"C2出块",tags:["sequence","C2出块","cultris2"],category:"term",content:"(七个块初始权重设为0)把七个块的权重都除以2然后加上0~1的随机数,哪个权重最大就出哪个块,然后将其权重除以3.5\\n循环。",link:"",id:"c39a6f5bc5e49f3ee15690e18428f5e73b70d31a"},{title:"超连点(Hypertap)",tags:["chaoliandian"],category:"term",content:"快速震动手指,实现比长按更快速+灵活的高速单点移动,主要在经典块的高难度下(因为DAS不可调而且特别慢,高速下很容易md导致失败,此时手动连点就比自动移动更快)或者受特殊情况限制不适合用自动移动时使用。会使用这个技术的人称为 “Hypertapper”。",link:"",id:"c1498de2cb7e50a3d271293b10d0f4c1fce52958"},{title:"轮指(Rolling)",tags:["lunzhi","liandian"],category:"term",content:"另一种快速连点方法,用于DAS/ARR设置非常慢时的高重力(1G左右)模式。\\n先把手柄(键盘……可能也行吧)悬空摆好,比如架在腿上,要连点某个键的时候一只手虚按按键,另外一只手的几根手指轮流敲打手柄背面, “反向按键” 实现连点。这种控制方法可以让玩家更轻松地获得比直接抖动手指的Hypertap(详见超连点词条)更快的控制速度。\\n此方法最先由Cheez-fish发明,他本人则使用Rolling达到过超过20Hz的点击频率。",link:"",id:"14f9e9ad51eb3c6b0b82a8b06434a6c8b4bf02c9"},{title:"穿透(Passthrough)",tags:["pingthrough","chuantou"],category:"term",content:"(攻击)穿透,指双方的攻击打出后没有抵消,互相都收到的现象。\\nTETR.IO中自定义房间如果开启Passthrough规则(曾经天梯默认开启),那么对手消行攻击的瞬间能看到自己的红条出现但其处于 “无敌时间” 内,不会触发也不能抵消,此时你的攻击会直接打给对手。(应该是给攻击的飞行动画预留时间,同时也让玩家能反应过来并主动选择要不要抵消,要的话就再等一会)\\n另有pingthrough的说法,只是原因是由于不可避免的网络传输延迟,效果同passthrough,设计比较简单的联网对战块没有特殊考虑的话可能自然就会带有这个机制。",link:"",id:"b1b57177465e540c5d10340a25ceac66587d9548"},{title:"TOP攻击表",tags:["攻击表","top","attack"],category:"term",content:"消1/2/3/4打0/1/2/4\\nTspin攻击为消行数×2,如果符合Mini条件则÷2\\n连击攻击:001122334445+\\nb2b攻击+1(如果是T3则+2)\\nPC攻击+6(该部分攻击AOE直接打出到所有对手,不抵消缓冲槽中的攻击)。",link:"",id:"4daf8d019b2eb498b905f00ea3815c997957a3c1"},{title:"Techmino攻击表",tags:["攻击表","tech","attack"],category:"term",content:"详见主菜单右下角的说明书页面。",link:"",id:"f88d073399916d52e4576228ab74680da960ce86"},{title:"堆叠(Stack)",tags:["duidie","stacking"],category:"term",content:"将方块无缝隙地堆起来,需要玩家有预读Next的能力,可以通过不使用Hold并且用十个消四完成40L模式进行练习。\\n这项能力从入坑到封神都是非常重要的。",link:"",id:"e1111237dcf2dedead39b5ad821680fd3e54968c"},{title:"双旋",tags:["shuangxuan"],category:"term",content:"指能够使用顺时针+逆时针两个旋转键的技术,原来要转三下的情况可以反向转一下就够,减少烦琐操作。\\n同时双旋也是学习Finesse的必要前提。\\n\\n另见 三旋。",link:"",id:"75fbfc8a44f1c4e7ad7442c8d2bf3bbeee964f84"},{title:"三旋",tags:["sanxuan"],category:"term",content:"指能够使用顺+逆时针+180°旋转三个旋转键的技术,任何方块放哪只需要旋转一次即可(Spin不算)。\\n但由于只有部分游戏有180°旋转所以改操作并不通用,而且对速度提升的效果不如从单旋转双旋显著,不追求极限速度的玩家可不学。",link:"",id:"2b9fb0b0a34906a3e0661bfc42cdd4f5d22d1bdc"},{title:"干旱(Drought)",tags:["ganhan"],category:"term",content:"经典块术语,指长时间不来I方块(长条)。现代方块使用的Bag7出块规则下干旱几乎不可能,平均7块就会有一个I,理论极限两个I最远中间隔12块。",link:"",id:"a7354647df19e4542dd2c518a87cc5a34dc07c3d"},{title:"骨块(Bone)",tags:["gukuai","bone","tgm"],category:"term",content:"最早的方块游戏使用的方块样式。\\n很久以前的电脑没有可以显示复杂图案的屏幕,只能往上打字,所以一格方块用两个方括号[ ]表示,长得像骨头所以叫骨块。\\n基于骨块的特点,Techmino把骨块重新定义为, “所有形状使用的同一个比较花眼的贴图”,不同的皮肤有不同的骨块样式。",link:"",id:"fa88022dae3dd8d347497269989b0c970fb331e8"},{title:"半隐",tags:["banyin","half","semi","invisible"],category:"term",content:"指方块锁定经过一段时间后会变隐形的规则\\n注:从锁定开始到消失的具体时长不定,可以描述为 “过几秒种后消失”。",link:"",id:"47bab3efe4a80330b0e3296dd5cefa2ef5947479"},{title:"全隐",tags:["quanyin","invisible"],category:"term",content:"指方块锁定后会马上完全隐藏\\n注:锁定时有消失动画的话也可以叫全隐,但其实难度会小一点,故Techmino中没有动画的隐形模式叫瞬隐。",link:"",id:"7fde031fd2c446dcc6febc1460e7a176aea0f76f"},{title:"场地重力",tags:["重力","zhongli","liansuo","cascade","chain"],category:"term",content:"(由于 “重力” 有歧义所以本词典里称为场地重力,也有重力连锁等叫法。)\\n部分游戏的部分模式可能包含此规则。此规则下玩家的四格方块四个方向有连接关系,连起来的几个格整体会受到重力影响,悬空了会往下落。在这个规则下可以构造复杂的连锁消除,一个主打连锁消除对战的游戏是Qudra(老游戏,现在基本没人玩)。",link:"",id:"5c34f773590a91d1ead56e3ee96f72ac256becf0"},{title:"MPH模式",tags:[],category:"term",content:"一个游戏模式:\\nMemoryless,Previewless,Holdless\\n纯随机块序+无Next+无Hold完成40L,一个非常考验玩家反应速度的模式。",link:"",id:"eee83ba245a28aa022fef3efc11326147659b7ff"},{title:"输入延迟",tags:["input","delay","yanchi"],category:"term",content:"用任何设备玩任何游戏时,所有的操作(按键盘,点鼠标等)都会晚一点点(很短,几毫秒到几十毫秒)才到达游戏,如果过长就会很影响游戏手感,作用效果类似于你拿QQ远程控制打FPS游戏\\nTOP、TE等游戏比较明显\\n这个延迟一般由硬件性能,硬件状态影响,通常来说不可设置,开启性能模式(或者关闭节能模式)可能会好一点。",link:"",id:"4b8c50985cdd542e3c94c9a2b79395c49418d15e"},{title:"秘密段位",tags:["大于号","secret","grade","dayuhao"],category:"term",content:"出自TGM系列的彩蛋玩法。不按照TGM的一般目标去玩,而是去拼图拼出 “每行仅有一个洞的大于号” 图形(不能是小于号),拼得越多获得的秘密段位越高(没特殊功能,只是好玩),最高目标是完成19行并封顶\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=Secret_Grade_Techniques",id:"b263f6c990a57a26633cc7bd003908670ee7f646"},{title:"Cold Clear",tags:["机器人","电脑","cc","coldclear","ai","bot","jiqiren"],category:"term",content:"一个AI的名字(就跟AlphaGo一样)\\n由MinusKelvin开发,本来是用于PPT的。在Techmino中经过调整后支持all-spin和TRS旋转系统",link:"",id:"aa68bfd12693bbbe20dff6ffd916a3dac4a6e3c9"},{title:"ZZZbot",tags:["机器人","电脑","ai","bot","jiqiren","zzztoj"],category:"term",content:"一个AI的名字(就跟AlphaGo一样)\\n由研究群群友奏之章开发,重新调参后在各个游戏平台上的表现都很不错。",link:"",id:"9af34345ce55a382489268c7758029aafa1a9163"},{title:"开局定式(Setup)",tags:["opening","kaijudingshi","opener"],category:"setup",content:"开局定式,定式一般指开局定式这个概念。\\n指开局后可以使用的套路摆法。局中情况合适的时候也可以摆出同样的形状,但是和摆法开局一般都不一样。\\n\\n能称为定式的摆法要尽量满足以下至少2~3条:\\n能适应大多数块序\\n输出高,尽量不浪费T块\\n很多方块无需软降,极简操作数少\\n有明确后续,分支尽量少。\\n\\n注:绝大多数定式基于bag7,序列规律性强才有发明定式的可能。",link:"",id:"df652018abcf82abc6dbe1a339e8e6a376a20c35"},{title:"DT炮",tags:["dt","cannon"],category:"setup",content:"Double-Triple Cannon。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=dt",id:"c84eb90518d81cc527fbe8233887f47772125423"},{title:"DTPC",tags:["dtpc"],category:"setup",content:"DT炮一个能接PC的分支。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=dt",id:"a5d683b4cf6ae65cb6633c7f0d69b62c5d1c58d5"},{title:"BT炮",tags:["bt","cannon"],category:"setup",content:"β炮(Beta炮)。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=bt_cannon",id:"854c5cc7f35829e88a6eccf9fbbb6fa89edaa8ab"},{title:"BTPC",tags:["btpc"],category:"setup",content:"BT炮一个能接PC的分支。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=bt_cannon",id:"d758cb387934a6b3d01fbd987a7aafc0b97de136"},{title:"DDPC",tags:["ddpc"],category:"setup",content:"开局TSD的一个能接Double-Double-PC的分支。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=TKI_3_Perfect_Clear",id:"eb6ac16e737090768cffadbf9d024d232d3ff7af"},{title:"QT炮",tags:["qt","cannon"],category:"setup",content:"一种能以更高的概率搭出开局DT Attack的类似DT炮的定式。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=dt",id:"608966e445c2fdd79a54e70ebc9fedeb7d1d7122"},{title:"MT",tags:["mt"],category:"setup",content:"Mini-Triple\\n一个TSM+TST的结构。",link:"https://harddrop.com/wiki?search=mt",id:"6fed69798ff5f0e5689ae087f81e5cefd51d95a2"},{title:"Trinity",tags:["trinity"],category:"setup",content:"Trinity\\n一个TSD+TSD+TSD或TSM+TST+TSD的结构。",link:"https://harddrop.com/wiki?search=trinity",id:"23311c901e3148d98252db6bfcb25186c997d400"},{title:"狼月炮",tags:["wolfmoon"],category:"setup",content:"狼月炮。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=wolfmoon_cannon",id:"1cb20b42ac498a3b3ae7032b112e66984a9cfed1"},{title:"Sewer",tags:["sewer"],category:"setup",content:"Sewer开局。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=sewer",id:"2dc57fa414902fa0d8b754ed37593d60ef925fb0"},{title:"TKI",tags:["tki-3"],category:"setup",content:"TKI-3开局\\n有两种解释,一个是TSD开局的TKI-3,另一个是TST开局的TKI堆积(C-Spin)。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=TKI_3_Opening",id:"a0ddc8f6275de58166709571717aa865521fff23"},{title:"God Spin",tags:["god"],category:"setup",content:"God Spin\\nwindkey发明的一个观赏性很强但实战没啥用的炫酷特殊T2+T3开局定式。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=godspin",id:"861f1341d8cf426b7482a71a3dd9a10efa1c7318"},{title:"信天翁",tags:["xintianweng","albatrosssp","albatrossspecial"],category:"setup",content:"一种高观赏性几乎不浪费T的快节奏强力T2-T3-T2-PC开局。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=Albatross_Special",id:"ffb2e6595a86705f093e21e6db7b9ae0188f04b6"},{title:"鹈鹕",tags:["tihu","pelican"],category:"setup",content:"一种类似信天翁的定式,在块序不能信天翁的时候可以用。",link:"https://harddrop.com/wiki?search=Pelican",id:"016a737dc0e2d0cd07623cef2e04b365f7bb6175"},{title:"全清开局",tags:["qiqiaoban","tangram","pco","1stpc"],category:"setup",content:"Perfect Clear Opener,一种极大概率能摆出来,有概率(hold I约84.6%,不hold I约61.2%)能做到PC的定式,Techmino中的pc练习中空出不规则区域的那个就是PCO。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=Perfect_Clear_Opener",id:"6a8be4405e98915f6655789010f64ea014202aa9"},{title:"六巧板",tags:["liuqiaoban","gracesystem","1stpc"],category:"setup",content:"Grace System,大约有88.57%概率能做到PC的定式,Techmino中的PC练习中空出4×4方形区域就是六巧板。",link:"",id:"bf995e4847e5cd95771228fcf7bd6fe129b6615e"},{title:"DPC",tags:["DPC"],category:"setup",content:"在场地空白,7bag还剩一块的情况下,能在很多情况下达到100%搭建率的TSD+PC的定式。更多信息见tetristemplate.info",link:"https://tetristemplate.info/dpc/",id:"5f2e2f1cc0015f54f03388e081451126c9294593"},{title:"Gamushiro堆叠",tags:["gamushiro"],category:"setup",content:"ガムシロ積み(Gamushiro堆叠),一种开局TD-Attack的定式。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=Gamushiro_Stacking",id:"9ea080e44e71da0764fb3bf657b608d9877ea469"},{title:"中局定式",tags:["setup","dingshi"],category:"pattern",content:"指一些特定的能打出较高伤害的常见典型形状,是中局输出的途径之一,部分也可以在开局做不过不是很有必要,主要见于中局\\n另见开局定式,只说定式两个字一般指开局定式而非中局。",link:"",id:"b8a0ea574618943723ad374fd32c184ee33555f6"},{title:"C-Spin",tags:["cspin","tki","tdattack"],category:"pattern",content:"也被称为TKI堆积,TD-Attack。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=c-spin",id:"80bd39535beca0977d6ef4b4e1da7f1dd78e8666"},{title:"STSD",tags:["stsd"],category:"pattern",content:"Super T-spin Double\\n一种能做两个T2的形状。\\n如果垃圾行正好空在STSD正下方会暴毙。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=stsd",id:"4c2dddaa7f9e3e890715087dfa785b71988d0fab"},{title:"STMB",tags:["stmb"],category:"pattern",content:"STMB cave\\n在3宽坑架SZ捐一个T2的形状。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=stmb_cave",id:"7d7819f74cdba0e2ba8956c291e372334897409f"},{title:"双刃剑",tags:["shuangrenjian","fractal","spider"],category:"pattern",content:"两个T2形状叠在一起。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=Fractal",id:"3fe3869cbb75d97edff943068639e1a0dd56cb77"},{title:"LST堆叠",tags:["lst"],category:"pattern",content:"一种不断b2b一直做T2的堆叠方法。",link:"https://www.bilibili.com/read/cv7946210",id:"eae9d6dffafeeac8a7683d47fa35bf1387b161e1"},{title:"汉堡包",tags:["hamburger","hanbaobao"],category:"pattern",content:"一种边缘捐T不影响消四的堆叠法。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=hamburger",id:"8e717c458a3b14f828d5b3829abe39109fb9e7ba"},{title:"皇家十字",tags:["皇十","imperial","cross","huangjiashizi","huangshi"],category:"pattern",content:"在一个十字形洞口盖屋檐后可以做两个T2的形状。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=imperial_cross",id:"cf30af122ab4aad55cb2d90d17c2d22f77d677e6"},{title:"阶梯捐",tags:["jieti","kaidan","stairs"],category:"pattern",content:"一种在看起来像阶梯的洞口捐一个T2的形状。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=kaidan",id:"035364df33e068fd79e878d2303b70187bee5f4a"},{title:"社畜train",tags:["shachikutrain","shechu"],category:"pattern",content:"一种在常见T3屋檐上捐两个T2的形状。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=Shachiku_Train",id:"e015095785d0949e6898d105da1a796bbe580de9"},{title:"千鸟格子",tags:["qianniaoge","cutcopy"],category:"pattern",content:"一种在小洞上捐一个T2后还能做一个T2的形状。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=Cut_copy",id:"6a0f2dbe037b8fb75aabb6240edf036b4ea2d47e"},{title:"绯红之王",tags:["feihongzhiwang","king","crimson"],category:"pattern",content:"在STSD上叠若干个T3的形状。\\n更多内容见Hard Drop Wiki。",link:"https://harddrop.com/wiki?search=King_Crimson",id:"bf80c9c23c1f3b4f479cdc131ee85967ed70903a"},{title:"连续PC",tags:["lianxuquanxiao","lianxupc","pcloop"],category:"pattern",content:"研究群群友加加编写的一份连续PC教程",link:"https://docs.qq.com/sheet/DRmxvWmt3SWxwS2tV",id:"e52690d229e9ebba6cdbc9c6a3a16f4a144ad223"},{title:"控制台",tags:["console","cmd","commamd","minglinghang","kongzhitai"],category:"command",content:"目前进入控制台的方式是在主菜单 点特定位置/按键盘某个键 数次。\\n\\n进入之后输入help并回车获取更多信息。\\n来探索Techmino的隐藏内容和计算机更底层的操作吧!",link:"",id:"58bfbde2b073f0a77bb297ea9cf87bb9e69a7ddd"},{title:"重置设置",tags:["reset","setting","chongzhi","qingkong","shezhi"],category:"command",content:"前往控制台输入 “rm conf/setting” 并回车\\n需要重启游戏生效,若反悔,进入设置菜单再退出即可恢复文件。",link:"",id:"5cf66cac5ce8974668c71eaf7447618388f55dfd"},{title:"重置统计数据",tags:["reset","statistic","data","chongzhi","tongji","shuju"],category:"command",content:"前往控制台输入 “rm conf/data” 并回车\\n需要重启游戏生效,若反悔,玩一局并触发结算即可恢复文件。",link:"",id:"fe34cb829dd263aae56f93719b6da410047b17c6"},{title:"重置解锁状态",tags:["reset","unlock","chongzhi","qingkong","jiesuo"],category:"command",content:"前往控制台输入 “rm conf/unlock” 并回车\\n需要重启游戏生效,若反悔,刷新任意一个模式在地图上的状态即可恢复文件。",link:"",id:"8d5f7b81b58cbe28222bef8dbf42b07f8567c1bc"},{title:"重置本地排行榜",tags:["reset","chongzhi","paihangbang"],category:"command",content:"前往控制台输入 “rm -s record” 并回车\\n需要重启游戏生效,若反悔,玩一局并更新模式排行榜即可恢复对应模式的单个排行榜文件。",link:"",id:"e4dc5fc185f02353923de956ac63bd744d936941"},{title:"删除键位",tags:["reset","virtualkey"],category:"command",content:"前往控制台输入 “rm conf/键位文件” 并回车\\n键盘是key,虚拟按键是virtualkey,虚拟按键预设是vkSave1(2)\\n前两者重启生效,若反悔,进入对应的设置菜单再返回即可恢复文件。",link:"",id:"437023db6d0bee3d8e0c81f8c2f301475e93eec0"},{title:"删除录像",tags:["reset","replay","luxiang"],category:"command",content:"前往控制台输入 “rm -s replay” 并回车。\\n立即生效。",link:"",id:"c9905d35c87bcb02cb6576609738534e93ee738e"},{title:"删除缓存",tags:["reset","cache","huancun","touxiang"],category:"command",content:"前往控制台输入 “rm -s cache” 并回车。\\n立即生效。",link:"",id:"870fc3b86c4332d84a0e9291d1b0cda4e6e9d74b"},{title:"SFX",tags:[],category:"english",content:"Sound Effects\\n音效(也叫SE)。",link:"",id:"b0c8b2616fcf55db02517b967976e5aef6ba218b"},{title:"BGM",tags:[],category:"english",content:"Background Music\\n背景音乐。",link:"",id:"3a8fc0e11631d265ee0184469d7f69816f5f50ec"},{title:"TAS",tags:[],category:"english",content:"Tool-Assisted Speedrun(Supergaming)\\n使用特殊工具在不破坏游戏规则(允许超越人类操作,只是在程序层面不作弊)进行的游戏。\\n一般用于冲击理论值或者达成各种有趣的目标用来观赏。\\nTechmino中内置了非常简单的TAS工具。",link:"",id:"140296e9534655c0627b934e13cbc2ee04786f64"},{title:"AFK",tags:[],category:"english",content:"Away from keyboard\\n一段时间不接触键盘,就是不玩一段时间,可以缓解手部疲劳,休息好之后马上破纪录也是可能的。",link:"",id:"62acb2a49a166fd8b2db6a593c4d07c4f7b6cfca"},{title:"Timing",tags:["timing","shiji","fanji"],category:"term",content:"Time作动词时的动名词形式,意为抓时机。在方块中往往指根据双方形势选择打出攻击的时机,和要不要故意吃下对手的攻击防止抵消,然后再把自己的攻击打过去。可以一定程度上提高对战的优势,但对于新人来说连自己场地都看不明白还看啥对面,有时间分析形势不如提速提效来得更好。",link:"",id:"4c1cfa04c2082a6eaeccc2526824dfb211e2ca27"}],SM=[{title:"=[NHÓM 01]=",tags:["nhom01","giới","thiệu","bản","dịch"],category:"",content:`[[ NHÓM 01: VỀ ZICTIONARY & BẢN DỊCH Zictionary là một bộ từ điển về game xếp gạch cực kì hữu ích. Ở đây, bạn có thể tìm hiểu hầu hết mọi thứ liên quan đến trò chơi này. @@ -2074,5 +2074,5 @@ Back to Back gửi thêm 1 (hoặc 2 nếu T-spin Triple). All Clear gửi thêm 6 hàng rác nhưng gửi thẳng vào bảng đối thủ thay vì không hủy rác tới. - ]]`,link:"",id:"d7bef2174c7269ecbf8f0cbea4e10124845651bb"},{title:"Techmino attack",tags:["nhom13","techminoattack"],category:"term",content:'Cách tính tấn công trong Techmino\\n\\nĐể biết công thức tính, hãy xem \\"hướng dẫn sử dụng\\" bằng cách nhấn nút `CHAR.icon.help ở màn hình chính của game.\\n\\nNhấn nút hình địa cầu sẽ dẫn bạn tới một bảng tấn công đã được tính sẵn và bạn chỉ cần cộng dồn lại các giá trị bạn muốn để biết kết quả.',link:"https://media.discordapp.net/attachments/743861514057941204/1093386431096950815/Untitled.jpg",id:"79b96c49761a8d096dc2d4ff14facb50661df966"},{title:"=[NHÓM 14]=",tags:["nhom14"],category:"",content:"NHÓM 14: CONSOLE VÀ CHUYỆN QUẢN LÝ DỮ LIỆU GAME",link:"",id:"0f625146ccf71925c820a7deea6185e2e327db43"},{title:"Console",tags:["nhom14","cmd","commamd","terminal","console"],category:"command",content:"Techmino có một console cho phép kích hoạt tính năng gỡ lỗi và bật các tính năng nâng cao.\\nĐể truy cập, hãy chạm vào logo Techmino / nhấn phím C 4 lần, tại màn hình chính.\\n\\nCẢNH BÁO! CÓ RỦI RO KHI TIẾN HÀNH\\nHành động bất cẩn trong console có thể dẫn đến HƯ HỎNG\\nhoặc MẤT TOÀN BỘ dữ liệu đã lưu KHÔNG THỂ PHỤC HỒI.",link:"",id:"c4701699df064f6742c450c9f0713b5e8b602584"},{title:"Đặt lại thiết lập",tags:["nhom14","reset","setting"],category:"command",content:'Vào console, gõ \\"rm conf / setting\\" sau đó nhấn Enter / Return.\\nKhởi động lại Techmino để thay đổi có hiệu lực.\\nĐể hoàn tác / hủy bỏ thay đổi đã thực hiện, hãy vào Cài đặt rồi trở ra.',link:"",id:"46bfb4151deb3340b4565c5df3feef7b2e16adbe"},{title:"Xóa t.bộ thành tích",tags:["nhom14","reset","statistic","data"],category:"command",content:'Xóa toàn bộ thành tích\\n\\nVào console, gõ \\"rm conf / data\\" sau đó nhấn Enter / Return.\\nKhởi động lại Techmino để thay đổi có hiệu lực.\\nĐể hoàn tác / hủy bỏ thay đổi đã thực hiện, chơi một chế độ bất kỳ sau đó nhận màn hình Thắng / Thua',link:"",id:"9380af19a9eb44c593811bef033438d35ab745e4"},{title:"Khóa t.bộ map",tags:["nhom14","reset","unlock"],category:"command",content:'Tất cả các mode sẽ bị khóa lại như khi bạn vừa mới vào chơi lần đầu.\\n\\nVào console, gõ \\"rm conf / unlock\\" sau đó nhấn Enter / Return.\\nKhởi động lại Techmino để thay đổi có hiệu lực.\\nĐể hoàn tác / hủy bỏ thay đổi đã thực hiện, cập nhật lại tình trạng của một chế độ bất kỳ.',link:"",id:"7a138f3a53a945c1ebbe1d09e19791b16ab8cb43"},{title:"Xóa t.bộ kỷ lục",tags:["nhom14","reset","record"],category:"command",content:'Xóa toàn bộ kỷ lục\\n\\nVào console, gõ \\"rm -s record\\" sau đó nhấn Enter / Return.\\nKhởi động lại Techmino để thay đổi có hiệu lực.\\nBạn có thể hoàn nguyên hành động này trên cơ sở từng chế độ; chơi một chế độ và cập nhật bảng xếp hạng để khôi phục bảng xếp hạng của chế độ đó.',link:"",id:"e9fa1b2a3f8909dfa1168c6014f6b1e2171ff815"},{title:"Đặt lại bố cục phím",tags:["nhom14","reset","virtualkey"],category:"command",content:'Vào console, gõ \\"rm conf / [File_bố_cục_phím]\\" sau đó nhấn Enter / Return.\\nThay [File_bố_cục_phím] với file cần xóa:\\n\\t- File bố cục bàn phím trên máy tính: key;\\n\\t- File bố cục nút trên màn hình: virtualkey;\\n\\t- File chứa 2 slot bố cục nút trên màn hình: vkSave1, vkSave2\\n\\nKhởi động lại Techmino để hai thay đổi đầu tiên có hiệu lực.\\nVào một trang chỉnh sửa bố cục phím / nút sau đó trở ra để lấy lại file tương ứng.',link:"",id:"9c323e24fbce329e97460310e919a7cb7856986f"},{title:"Xóa t.bộ replay",tags:["nhom14","delete","recording"],category:"command",content:'Xóa toàn bộ bản phát lại\\n\\nVào console, gõ \\"rm -s replay\\" sau đó nhấn Enter / Return.\\nHiệu lực tức thì, KHÔNG THỂ HOÀN TÁC',link:"",id:"4a9bcc267ddba7abc283e0add9f228a23ec2e735"},{title:"Xóa bộ nhớ đệm",tags:["nhom14","delete","cache"],category:"command",content:'Vào console, gõ \\"rm -s cache\\" sau đó nhấn Enter / Return.\\nHiệu lực tức thì, KHÔNG THỂ HOÀN TÁC',link:"",id:"c0bffec2ae22b2b65d8895513ec607aaeff79d36"},{title:"=[NHÓM 15]=",tags:["nhom15"],category:"",content:"NHÓM 15: CÁC THUẬT NGỮ KHÔNG LIÊN QUAN TỚI TETRIS (TIẾNG ANH)",link:"",id:"5aa188a1092b739c02013c789b2c87549ea5f3db"},{title:"SFX",tags:["nhom15","soundeffects"],category:"english",content:'Từ viết tắt của \\"Sound Effects\\" (Hiệu ứng âm thanh). Ở Nhật Bản, từ này được viết tắt là \\"SE\\".',link:"",id:"3716fe2cf35bd0f840b748adb1588c09c7f7daa7"},{title:"BGM",tags:["nhom15","backgroundmusic"],category:"english",content:'Từ viết tắt của \\"Background Music (Nhạc nền).\\',link:"",id:"0e5eb85ca4390fbb0e8f302a9fee918bec29b137"},{title:"TAS",tags:["nhom15"],category:"english",content:'Từ viết tắt của \\"Tool-Assisted Speedrun (Superplay)\\" (Công cụ hỗ trợ Speedrun)\\nChơi một game nào đó mà không cần công cụ đặc biệt để phá vỡ quy tắc của game (ở cấp độ chương trình / phần mềm).\\nNó thường được sử dụng để đạt điểm tối đa theo lý thuyết / đạt được những mục tiêu thú vị\\nMột công cụ TAS như vậy cũng có sẵn, nhưng là bản nhỏ gọn, được đi kèm với Techmino.',link:"",id:"071cfabe02ce9bc29cd5aa03055b6b828ea97e57"},{title:"AFK",tags:["nhom15"],category:"english",content:'Từ viết tắt của \\"Away From Keyboard\\" nghĩa là hiện đang nghỉ ngơi / làm việc khác VÀ không đụng game.\\nNghỉ giải lao thường xuyên giúp bạn giảm căng cơ và giúp bạn chơi tốt hơn khi quay trở lại.',link:"",id:"250f02dc717d92615423049ab28ed843fb748247"}],PM=se({__name:"Wrapper",setup(e){const t=c0(),n=z(()=>t.theme==="light"?VI:GI);return(o,i)=>{const r=hI,a=EI,s=_7,l=yI,c=i9;return Ve(),At(c,{theme:ze(n),class:"h-full"},{default:xe(()=>[pe(l,null,{default:xe(()=>[pe(s,null,{default:xe(()=>[pe(a,null,{default:xe(()=>[pe(r,null,{default:xe(()=>[Xf(o.$slots,"default")]),_:3})]),_:3})]),_:3})]),_:3})]),_:3},8,["theme"])}}}),AM={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 32 32"},IM=zt("path",{d:"M16 2a14 14 0 1 0 14 14A14.016 14.016 0 0 0 16 2zM4.02 16.394l1.338.446L7 19.303v1.283a1 1 0 0 0 .293.707L10 24v2.377a11.994 11.994 0 0 1-5.98-9.983zM16 28a11.968 11.968 0 0 1-2.572-.285L14 26l1.805-4.512a1 1 0 0 0-.097-.926l-1.411-2.117a1 1 0 0 0-.832-.445h-4.93l-1.248-1.873L9.414 14H11v2h2v-2.734l3.868-6.77l-1.736-.992L14.277 7h-2.742L10.45 5.371A11.861 11.861 0 0 1 20 4.7V8a1 1 0 0 0 1 1h1.465a1 1 0 0 0 .832-.445l.877-1.316A12.033 12.033 0 0 1 26.894 11H22.82a1 1 0 0 0-.98.804l-.723 4.47a1 1 0 0 0 .54 1.055L25 19l.685 4.056A11.98 11.98 0 0 1 16 28z",fill:"currentColor"},null,-1),EM=[IM],RM=se({name:"EarthFilled",render:function(t,n){return Ve(),hn("svg",AM,EM)}});function $0(e){return sc()?(yf(e),!0):!1}function Ms(e){return typeof e=="function"?e():ze(e)}const gd=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const MM=Object.prototype.toString,DM=e=>MM.call(e)==="[object Object]",LM=()=>{};function $M(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const o=t;t=void 0,o&&await o},n}function OM(e,t,n={}){const{immediate:o=!0}=n,i=j(!1);let r=null;function a(){r&&(clearTimeout(r),r=null)}function s(){i.value=!1,a()}function l(...c){a(),i.value=!0,r=setTimeout(()=>{i.value=!1,r=null,e(...c)},Ms(t))}return o&&(i.value=!0,gd&&l()),$0(s),{isPending:on(i),start:l,stop:s}}function HM(e){var t;const n=Ms(e);return(t=n==null?void 0:n.$el)!=null?t:n}const BM=gd?window:void 0,O0=gd?window.navigator:void 0;function H0(...e){let t,n,o,i;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,o,i]=e,t=BM):[t,n,o,i]=e,!t)return LM;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const r=[],a=()=>{r.forEach(d=>d()),r.length=0},s=(d,u,h,m)=>(d.addEventListener(u,h,m),()=>d.removeEventListener(u,h,m)),l=Ze(()=>[HM(t),Ms(i)],([d,u])=>{if(a(),!d)return;const h=DM(u)?{...u}:u;r.push(...n.flatMap(m=>o.map(g=>s(d,m,g,h))))},{immediate:!0,flush:"post"}),c=()=>{l(),a()};return $0(c),c}function NM(){const e=j(!1);return rn()&&Lt(()=>{e.value=!0}),e}function B0(e){const t=NM();return z(()=>(t.value,!!e()))}function df(e,t={}){const{controls:n=!1,navigator:o=O0}=t,i=B0(()=>o&&"permissions"in o);let r;const a=typeof e=="string"?{name:e}:e,s=j(),l=()=>{r&&(s.value=r.state)},c=$M(async()=>{if(i.value){if(!r)try{r=await o.permissions.query(a),H0(r,"change",l),l()}catch{s.value="prompt"}return r}});return c(),n?{state:s,isSupported:i,query:c}:s}function zM(e={}){const{navigator:t=O0,read:n=!1,source:o,copiedDuring:i=1500,legacy:r=!1}=e,a=B0(()=>t&&"clipboard"in t),s=df("clipboard-read"),l=df("clipboard-write"),c=z(()=>a.value||r),d=j(""),u=j(!1),h=OM(()=>u.value=!1,i);function m(){a.value&&s.value!=="denied"?t.clipboard.readText().then(f=>{d.value=f}):d.value=p()}c.value&&n&&H0(["copy","cut"],m);async function g(f=Ms(o)){c.value&&f!=null&&(a.value&&l.value!=="denied"?await t.clipboard.writeText(f):v(f),d.value=f,u.value=!0,h.start())}function v(f){const x=document.createElement("textarea");x.value=f??"",x.style.position="absolute",x.style.opacity="0",document.body.appendChild(x),x.select(),document.execCommand("copy"),x.remove()}function p(){var f,x,A;return(A=(x=(f=document==null?void 0:document.getSelection)==null?void 0:f.call(document))==null?void 0:x.toString())!=null?A:""}return{isSupported:c,text:d,copied:u,copy:g}}const FM=zt("i",{class:"zChan thinking not-italic text-xl mr-1"},null,-1),ec=se({__name:"Title",props:{item:{}},setup(e){const t=e,n=z(()=>t.item.title.trim()),o=new RegExp("^tetris","ig"),i=n.value.match(o);return(r,a)=>{const s=Cs,l=Sa;return r.item.title?ze(i)?(Ve(),At(l,{key:1},{default:xe(()=>[pe(s,null,{trigger:xe(()=>[FM]),default:xe(()=>[Ct(" "+En(ze(i)[0]),1)]),_:1}),Ct(" "+En(ze(n).replace(ze(o),"")),1)]),_:1})):(Ve(),hn(He,{key:2},[Ct(En(r.item.title),1)],64)):(Ve(),hn(He,{key:0},[Ct(" ?")],64))}}}),WM=se({__name:"DictViewer",props:{item:{}},emits:["tag-click"],setup(e,{emit:t}){const n=e,o=t,i=Vr(),r=xI(),a=z(()=>n.item.content.replace(/\\t/g," ".repeat(4)).replace(/\\n/g,"
")),s=z(()=>new URL(`#${n.item.id}`,location.href).toString());async function l(u){const{copy:h,isSupported:m}=zM({source:u,legacy:!0});if(!m){r.error(i.t("error"));return}await h(),r.success(i.t("copied"))}function c(u){l(s.value)}function d(u){l([u.title,"",...a.value.split("
"),"",`${i.t("copy_from")}: ${i.t("title")}`].join(`\r -`))}return Lt(()=>{location.replace(s.value)}),(u,h)=>{const m=HI,g=zl,v=ja,p=pb,f=ed;return Ve(),At(p,{vertical:""},{default:xe(()=>[pe(m,null,{default:xe(()=>[pe(ec,{item:u.item},null,8,["item"])]),_:1}),pe(g,{class:"whitespace-pre-wrap",innerHTML:ze(a)},null,8,["innerHTML"]),pe(p,{class:"mt-10 items-end",justify:"space-between"},{default:xe(()=>[pe(p,{size:"small"},{default:xe(()=>[pe(g,null,{default:xe(()=>[Ct(En(u.$t("tags"))+": ",1)]),_:1}),(Ve(!0),hn(He,null,xa(u.item.tags,x=>(Ve(),At(v,{text:"",type:"info",onClick:A=>o("tag-click",x)},{default:xe(()=>[Ct(En(x),1)]),_:2},1032,["onClick"]))),256))]),_:1}),pe(p,null,{default:xe(()=>[u.item.link?(Ve(),At(v,{key:0,href:u.item.link,tag:"a"},{icon:xe(()=>[pe(f,{component:ze(RM)},null,8,["component"])]),_:1},8,["href"])):cy("",!0),pe(v,{onClick:h[0]||(h[0]=x=>d(u.item))},{icon:xe(()=>[pe(f,{component:ze(iE)},null,8,["component"])]),_:1}),pe(v,{onClick:h[1]||(h[1]=x=>c(u.item))},{icon:xe(()=>[pe(f,{component:ze(pE)},null,8,["component"])]),_:1})]),_:1})]),_:1})]),_:1})}}}),jM=se({__name:"App",setup(e){const t=c0(),n=[{label:"English",key:"en"},{label:"日本語",key:"ja"},{label:"简体中文",key:"zh"},{label:"Tiếng Việt",key:"vi"}],o=j(),i=j(""),r=z(()=>screen.width<640),a=Vr(),s={en:TM,ja:wM,zh:SM,vi:_M},l=z(()=>s[a.locale.value]);function c(){location.hash.length>1&&(o.value=Z6([...s.en,...s.ja,...s.zh],{id:location.hash.substring(1)}))}window.addEventListener("hashchange",()=>{c()}),c();const d=z(()=>{const v=l.value.filter(p=>{const f=i.value.toLowerCase();return[!!p.title.toLowerCase().match(f),p.tags.map(x=>x.toLowerCase()).includes(f)].includes(!0)});return nT(v,"category")});function u(){if(t.theme==="light"){t.theme="dark";return}t.theme="light"}function h(){o.value=void 0,location.replace(new URL(location.pathname,location.href).toString())}function m(v){h(),i.value=v}function g(v){a.locale.value=v}return(v,p)=>{const f=ed,x=ja,A=q9,k=pb,w=OI,I=z8,C=M7,S=D9,E=s_,R=m_,G=QA,M=nI,q=JA;return Ve(),At(PM,null,{default:xe(()=>[pe(q,{class:"h-full","native-scrollbar":""},{default:xe(()=>[pe(G,{class:"pb-16 h-full mx-2","native-scrollbar":""},{default:xe(()=>[pe(k,{class:"mt-2",justify:"space-between"},{default:xe(()=>[pe(x,{onClick:u},{icon:xe(()=>[pe(f,{component:ze(t).theme==="light"?ze(xE):ze(wE)},null,8,["component"])]),_:1}),pe(A,{options:n,value:v.$i18n.locale,animated:"",trigger:"click",onSelect:g},{default:xe(()=>[pe(x,null,{icon:xe(()=>[pe(f,{component:ze(cE)},null,8,["component"])]),_:1})]),_:1},8,["value"])]),_:1}),pe(k,{class:"sm:w-1/3 mx-auto mt-20",vertical:""},{default:xe(()=>[pe(ze(Sa),{class:"text-center"},{default:xe(()=>[pe(w,null,{default:xe(()=>[Ct(En(v.$t("title")),1)]),_:1}),ze(o)?(Ve(),At(k,{key:1,justify:"center"},{default:xe(()=>[pe(x,{onClick:h},{default:xe(()=>[Ct(En(v.$t("back")),1)]),_:1})]),_:1})):(Ve(),At(I,{key:0,value:ze(i),"onUpdate:value":p[0]||(p[0]=ee=>at(i)?i.value=ee:null),placeholder:v.$t("search"),clearable:""},null,8,["value","placeholder"]))]),_:1}),pe(C)]),_:1}),pe(k,{size:"large",vertical:""},{default:xe(()=>[ze(o)?(Ve(),At(ze(Sa),{key:1,class:"sm:w-1/3 mx-auto"},{default:xe(()=>[pe(WM,{item:ze(o),onTagClick:m},null,8,["item"])]),_:1})):(Ve(),At(k,{key:0,vertical:""},{default:xe(()=>[(Ve(!0),hn(He,null,xa(ze(d),(ee,O)=>(Ve(),At(k,{class:"text-center",vertical:""},{default:xe(()=>[pe(ze(zl),{style:qa({color:ze(ll)[O]}),class:"font-bold text-2xl",type:"info"},{default:xe(()=>[Ct(En(O),1)]),_:2},1032,["style"]),ze(r)?(Ve(),At(R,{key:1,cols:3,"x-gap":10,"y-gap":10,class:"text-center"},{default:xe(()=>[(Ve(!0),hn(He,null,xa(ee,V=>(Ve(),At(E,null,{default:xe(()=>[pe(x,{color:ze(ll)[O],class:"w-full",onClick:W=>o.value=V},{default:xe(()=>[pe(ze(Cs),null,{trigger:xe(()=>[pe(S,null,{default:xe(()=>[pe(ec,{item:V},null,8,["item"])]),_:2},1024)]),default:xe(()=>[Ct(" "+En(V.title),1)]),_:2},1024)]),_:2},1032,["color","onClick"])]),_:2},1024))),256))]),_:2},1024)):(Ve(),At(k,{key:0,justify:"center"},{default:xe(()=>[(Ve(!0),hn(He,null,xa(ee,V=>(Ve(),At(x,{color:ze(ll)[O],size:"small",onClick:W=>o.value=V},{default:xe(()=>[pe(ec,{item:V},null,8,["item"])]),_:2},1032,["color","onClick"]))),256))]),_:2},1024))]),_:2},1024))),256))]),_:1}))]),_:1})]),_:1}),pe(M,{class:"py-2",position:"absolute"},{default:xe(()=>[pe(k,{size:0,justify:"center"},{default:xe(()=>[pe(ze(Sa),null,{default:xe(()=>[pe(ze(zl),null,{default:xe(()=>[Ct(En(v.$t("maker"))+": ",1)]),_:1}),pe(x,{href:"https://zhazha120.cn",tag:"a",text:"",type:"primary"},{default:xe(()=>[Ct(" WOSHIZHAZHA120")]),_:1})]),_:1}),pe(C,{vertical:""}),pe(x,{href:"https://github.com/26F-Studio/techmino-online-dict",tag:"a",text:"",type:"primary"},{default:xe(()=>[Ct(" Github ")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})}}});window.addEventListener("load",()=>{const e=Xy({render:()=>T(jM)});e.use(kM),e.use(CM),e.mount("#app")})});export default GM(); + ]]`,link:"",id:"d7bef2174c7269ecbf8f0cbea4e10124845651bb"},{title:"Techmino attack",tags:["nhom13","techminoattack"],category:"term",content:'Cách tính tấn công trong Techmino\\n\\nĐể biết công thức tính, hãy xem \\"hướng dẫn sử dụng\\" bằng cách nhấn nút `CHAR.icon.help ở màn hình chính của game.\\n\\nNhấn nút hình địa cầu sẽ dẫn bạn tới một bảng tấn công đã được tính sẵn và bạn chỉ cần cộng dồn lại các giá trị bạn muốn để biết kết quả.',link:"https://media.discordapp.net/attachments/743861514057941204/1093386431096950815/Untitled.jpg",id:"79b96c49761a8d096dc2d4ff14facb50661df966"},{title:"=[NHÓM 14]=",tags:["nhom14"],category:"",content:"NHÓM 14: CONSOLE VÀ CHUYỆN QUẢN LÝ DỮ LIỆU GAME",link:"",id:"0f625146ccf71925c820a7deea6185e2e327db43"},{title:"Console",tags:["nhom14","cmd","commamd","terminal","console"],category:"command",content:"Techmino có một console cho phép kích hoạt tính năng gỡ lỗi và bật các tính năng nâng cao.\\nĐể truy cập, hãy chạm vào logo Techmino / nhấn phím C 4 lần, tại màn hình chính.\\n\\nCẢNH BÁO! CÓ RỦI RO KHI TIẾN HÀNH\\nHành động bất cẩn trong console có thể dẫn đến HƯ HỎNG\\nhoặc MẤT TOÀN BỘ dữ liệu đã lưu KHÔNG THỂ PHỤC HỒI.",link:"",id:"c4701699df064f6742c450c9f0713b5e8b602584"},{title:"Đặt lại thiết lập",tags:["nhom14","reset","setting"],category:"command",content:'Vào console, gõ \\"rm conf / setting\\" sau đó nhấn Enter / Return.\\nKhởi động lại Techmino để thay đổi có hiệu lực.\\nĐể hoàn tác / hủy bỏ thay đổi đã thực hiện, hãy vào Cài đặt rồi trở ra.',link:"",id:"46bfb4151deb3340b4565c5df3feef7b2e16adbe"},{title:"Xóa t.bộ thành tích",tags:["nhom14","reset","statistic","data"],category:"command",content:'Xóa toàn bộ thành tích\\n\\nVào console, gõ \\"rm conf / data\\" sau đó nhấn Enter / Return.\\nKhởi động lại Techmino để thay đổi có hiệu lực.\\nĐể hoàn tác / hủy bỏ thay đổi đã thực hiện, chơi một chế độ bất kỳ sau đó nhận màn hình Thắng / Thua',link:"",id:"9380af19a9eb44c593811bef033438d35ab745e4"},{title:"Khóa t.bộ map",tags:["nhom14","reset","unlock"],category:"command",content:'Tất cả các mode sẽ bị khóa lại như khi bạn vừa mới vào chơi lần đầu.\\n\\nVào console, gõ \\"rm conf / unlock\\" sau đó nhấn Enter / Return.\\nKhởi động lại Techmino để thay đổi có hiệu lực.\\nĐể hoàn tác / hủy bỏ thay đổi đã thực hiện, cập nhật lại tình trạng của một chế độ bất kỳ.',link:"",id:"7a138f3a53a945c1ebbe1d09e19791b16ab8cb43"},{title:"Xóa t.bộ kỷ lục",tags:["nhom14","reset","record"],category:"command",content:'Xóa toàn bộ kỷ lục\\n\\nVào console, gõ \\"rm -s record\\" sau đó nhấn Enter / Return.\\nKhởi động lại Techmino để thay đổi có hiệu lực.\\nBạn có thể hoàn nguyên hành động này trên cơ sở từng chế độ; chơi một chế độ và cập nhật bảng xếp hạng để khôi phục bảng xếp hạng của chế độ đó.',link:"",id:"e9fa1b2a3f8909dfa1168c6014f6b1e2171ff815"},{title:"Đặt lại bố cục phím",tags:["nhom14","reset","virtualkey"],category:"command",content:'Vào console, gõ \\"rm conf / [File_bố_cục_phím]\\" sau đó nhấn Enter / Return.\\nThay [File_bố_cục_phím] với file cần xóa:\\n\\t- File bố cục bàn phím trên máy tính: key;\\n\\t- File bố cục nút trên màn hình: virtualkey;\\n\\t- File chứa 2 slot bố cục nút trên màn hình: vkSave1, vkSave2\\n\\nKhởi động lại Techmino để hai thay đổi đầu tiên có hiệu lực.\\nVào một trang chỉnh sửa bố cục phím / nút sau đó trở ra để lấy lại file tương ứng.',link:"",id:"9c323e24fbce329e97460310e919a7cb7856986f"},{title:"Xóa t.bộ replay",tags:["nhom14","delete","recording"],category:"command",content:'Xóa toàn bộ bản phát lại\\n\\nVào console, gõ \\"rm -s replay\\" sau đó nhấn Enter / Return.\\nHiệu lực tức thì, KHÔNG THỂ HOÀN TÁC',link:"",id:"4a9bcc267ddba7abc283e0add9f228a23ec2e735"},{title:"Xóa bộ nhớ đệm",tags:["nhom14","delete","cache"],category:"command",content:'Vào console, gõ \\"rm -s cache\\" sau đó nhấn Enter / Return.\\nHiệu lực tức thì, KHÔNG THỂ HOÀN TÁC',link:"",id:"c0bffec2ae22b2b65d8895513ec607aaeff79d36"},{title:"=[NHÓM 15]=",tags:["nhom15"],category:"",content:"NHÓM 15: CÁC THUẬT NGỮ KHÔNG LIÊN QUAN TỚI TETRIS (TIẾNG ANH)",link:"",id:"5aa188a1092b739c02013c789b2c87549ea5f3db"},{title:"SFX",tags:["nhom15","soundeffects"],category:"english",content:'Từ viết tắt của \\"Sound Effects\\" (Hiệu ứng âm thanh). Ở Nhật Bản, từ này được viết tắt là \\"SE\\".',link:"",id:"3716fe2cf35bd0f840b748adb1588c09c7f7daa7"},{title:"BGM",tags:["nhom15","backgroundmusic"],category:"english",content:'Từ viết tắt của \\"Background Music (Nhạc nền).\\',link:"",id:"0e5eb85ca4390fbb0e8f302a9fee918bec29b137"},{title:"TAS",tags:["nhom15"],category:"english",content:'Từ viết tắt của \\"Tool-Assisted Speedrun (Superplay)\\" (Công cụ hỗ trợ Speedrun)\\nChơi một game nào đó mà không cần công cụ đặc biệt để phá vỡ quy tắc của game (ở cấp độ chương trình / phần mềm).\\nNó thường được sử dụng để đạt điểm tối đa theo lý thuyết / đạt được những mục tiêu thú vị\\nMột công cụ TAS như vậy cũng có sẵn, nhưng là bản nhỏ gọn, được đi kèm với Techmino.',link:"",id:"071cfabe02ce9bc29cd5aa03055b6b828ea97e57"},{title:"AFK",tags:["nhom15"],category:"english",content:'Từ viết tắt của \\"Away From Keyboard\\" nghĩa là hiện đang nghỉ ngơi / làm việc khác VÀ không đụng game.\\nNghỉ giải lao thường xuyên giúp bạn giảm căng cơ và giúp bạn chơi tốt hơn khi quay trở lại.',link:"",id:"250f02dc717d92615423049ab28ed843fb748247"}],_M=se({__name:"Wrapper",setup(e){const t=c0(),n=z(()=>t.theme==="light"?GI:jI);return(o,i)=>{const r=uI,a=II,s=S7,l=vI,c=o9;return Ve(),At(c,{theme:ze(n),class:"h-full"},{default:xe(()=>[pe(l,null,{default:xe(()=>[pe(s,null,{default:xe(()=>[pe(a,null,{default:xe(()=>[pe(r,null,{default:xe(()=>[Xf(o.$slots,"default")]),_:3})]),_:3})]),_:3})]),_:3})]),_:3},8,["theme"])}}}),PM={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 32 32"},AM=zt("path",{d:"M16 2a14 14 0 1 0 14 14A14.016 14.016 0 0 0 16 2zM4.02 16.394l1.338.446L7 19.303v1.283a1 1 0 0 0 .293.707L10 24v2.377a11.994 11.994 0 0 1-5.98-9.983zM16 28a11.968 11.968 0 0 1-2.572-.285L14 26l1.805-4.512a1 1 0 0 0-.097-.926l-1.411-2.117a1 1 0 0 0-.832-.445h-4.93l-1.248-1.873L9.414 14H11v2h2v-2.734l3.868-6.77l-1.736-.992L14.277 7h-2.742L10.45 5.371A11.861 11.861 0 0 1 20 4.7V8a1 1 0 0 0 1 1h1.465a1 1 0 0 0 .832-.445l.877-1.316A12.033 12.033 0 0 1 26.894 11H22.82a1 1 0 0 0-.98.804l-.723 4.47a1 1 0 0 0 .54 1.055L25 19l.685 4.056A11.98 11.98 0 0 1 16 28z",fill:"currentColor"},null,-1),IM=[AM],EM=se({name:"EarthFilled",render:function(t,n){return Ve(),hn("svg",PM,IM)}});function $0(e){return sc()?(yf(e),!0):!1}function Ms(e){return typeof e=="function"?e():ze(e)}const gd=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const RM=Object.prototype.toString,MM=e=>RM.call(e)==="[object Object]",DM=()=>{};function LM(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const o=t;t=void 0,o&&await o},n}function $M(e,t,n={}){const{immediate:o=!0}=n,i=j(!1);let r=null;function a(){r&&(clearTimeout(r),r=null)}function s(){i.value=!1,a()}function l(...c){a(),i.value=!0,r=setTimeout(()=>{i.value=!1,r=null,e(...c)},Ms(t))}return o&&(i.value=!0,gd&&l()),$0(s),{isPending:on(i),start:l,stop:s}}function OM(e){var t;const n=Ms(e);return(t=n==null?void 0:n.$el)!=null?t:n}const HM=gd?window:void 0,O0=gd?window.navigator:void 0;function H0(...e){let t,n,o,i;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,o,i]=e,t=HM):[t,n,o,i]=e,!t)return DM;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const r=[],a=()=>{r.forEach(d=>d()),r.length=0},s=(d,u,h,m)=>(d.addEventListener(u,h,m),()=>d.removeEventListener(u,h,m)),l=Ze(()=>[OM(t),Ms(i)],([d,u])=>{if(a(),!d)return;const h=MM(u)?{...u}:u;r.push(...n.flatMap(m=>o.map(g=>s(d,m,g,h))))},{immediate:!0,flush:"post"}),c=()=>{l(),a()};return $0(c),c}function BM(){const e=j(!1);return rn()&&Lt(()=>{e.value=!0}),e}function B0(e){const t=BM();return z(()=>(t.value,!!e()))}function df(e,t={}){const{controls:n=!1,navigator:o=O0}=t,i=B0(()=>o&&"permissions"in o);let r;const a=typeof e=="string"?{name:e}:e,s=j(),l=()=>{r&&(s.value=r.state)},c=LM(async()=>{if(i.value){if(!r)try{r=await o.permissions.query(a),H0(r,"change",l),l()}catch{s.value="prompt"}return r}});return c(),n?{state:s,isSupported:i,query:c}:s}function NM(e={}){const{navigator:t=O0,read:n=!1,source:o,copiedDuring:i=1500,legacy:r=!1}=e,a=B0(()=>t&&"clipboard"in t),s=df("clipboard-read"),l=df("clipboard-write"),c=z(()=>a.value||r),d=j(""),u=j(!1),h=$M(()=>u.value=!1,i);function m(){a.value&&s.value!=="denied"?t.clipboard.readText().then(f=>{d.value=f}):d.value=p()}c.value&&n&&H0(["copy","cut"],m);async function g(f=Ms(o)){c.value&&f!=null&&(a.value&&l.value!=="denied"?await t.clipboard.writeText(f):v(f),d.value=f,u.value=!0,h.start())}function v(f){const x=document.createElement("textarea");x.value=f??"",x.style.position="absolute",x.style.opacity="0",document.body.appendChild(x),x.select(),document.execCommand("copy"),x.remove()}function p(){var f,x,A;return(A=(x=(f=document==null?void 0:document.getSelection)==null?void 0:f.call(document))==null?void 0:x.toString())!=null?A:""}return{isSupported:c,text:d,copied:u,copy:g}}const zM=zt("i",{class:"zChan thinking not-italic text-xl mr-1"},null,-1),ec=se({__name:"Title",props:{item:{}},setup(e){const t=e,n=z(()=>t.item.title.trim()),o=new RegExp("^tetris","ig"),i=n.value.match(o);return(r,a)=>{const s=Cs,l=Sa;return r.item.title?ze(i)?(Ve(),At(l,{key:1},{default:xe(()=>[pe(s,null,{trigger:xe(()=>[zM]),default:xe(()=>[Ct(" "+En(ze(i)[0]),1)]),_:1}),Ct(" "+En(ze(n).replace(ze(o),"")),1)]),_:1})):(Ve(),hn(He,{key:2},[Ct(En(r.item.title),1)],64)):(Ve(),hn(He,{key:0},[Ct(" ?")],64))}}}),FM=se({__name:"DictViewer",props:{item:{}},emits:["tag-click"],setup(e,{emit:t}){const n=e,o=t,i=Vr(),r=yI(),a=z(()=>n.item.content.replace(/\\t/g," ".repeat(4)).replace(/\\n/g,"
")),s=z(()=>new URL(`#${n.item.id}`,location.href).toString());async function l(u){const{copy:h,isSupported:m}=NM({source:u,legacy:!0});if(!m){r.error(i.t("error"));return}await h(),r.success(i.t("copied"))}function c(u){l(s.value)}function d(u){l([u.title,"",...a.value.split("
"),"",`${i.t("copy_from")}: ${i.t("title")}`].join(`\r +`))}return Lt(()=>{location.replace(s.value)}),(u,h)=>{const m=OI,g=zl,v=ja,p=pb,f=ed;return Ve(),At(p,{vertical:""},{default:xe(()=>[pe(m,null,{default:xe(()=>[pe(ec,{item:u.item},null,8,["item"])]),_:1}),pe(g,{class:"whitespace-pre-wrap",innerHTML:ze(a)},null,8,["innerHTML"]),pe(p,{class:"mt-10 items-end",justify:"space-between"},{default:xe(()=>[pe(p,{size:"small"},{default:xe(()=>[pe(g,null,{default:xe(()=>[Ct(En(u.$t("tags"))+": ",1)]),_:1}),(Ve(!0),hn(He,null,xa(u.item.tags,x=>(Ve(),At(v,{text:"",type:"info",onClick:A=>o("tag-click",x)},{default:xe(()=>[Ct(En(x),1)]),_:2},1032,["onClick"]))),256))]),_:1}),pe(p,null,{default:xe(()=>[u.item.link?(Ve(),At(v,{key:0,href:u.item.link,tag:"a"},{icon:xe(()=>[pe(f,{component:ze(EM)},null,8,["component"])]),_:1},8,["href"])):ly("",!0),pe(v,{onClick:h[0]||(h[0]=x=>d(u.item))},{icon:xe(()=>[pe(f,{component:ze(oE)},null,8,["component"])]),_:1}),pe(v,{onClick:h[1]||(h[1]=x=>c(u.item))},{icon:xe(()=>[pe(f,{component:ze(mE)},null,8,["component"])]),_:1})]),_:1})]),_:1})]),_:1})}}}),WM=se({__name:"App",setup(e){const t=c0(),n=[{label:"English",key:"en"},{label:"日本語",key:"ja"},{label:"简体中文",key:"zh"},{label:"Tiếng Việt",key:"vi"}],o=j(),i=j(""),r=z(()=>screen.width<640),a=Vr(),s={en:CM,ja:TM,zh:wM,vi:SM},l=z(()=>s[a.locale.value]);function c(){location.hash.length>1&&(o.value=X6([...s.en,...s.ja,...s.zh],{id:location.hash.substring(1)}))}window.addEventListener("hashchange",()=>{c()}),c();const d=z(()=>{const v=l.value.filter(p=>{const f=i.value.toLowerCase();return[!!p.title.toLowerCase().match(f),p.tags.map(x=>x.toLowerCase()).includes(f)].includes(!0)});return tT(v,"category")});function u(){if(t.theme==="light"){t.theme="dark";return}t.theme="light"}function h(){o.value=void 0,location.replace(new URL(location.pathname,location.href).toString())}function m(v){h(),i.value=v}function g(v){a.locale.value=v}return(v,p)=>{const f=ed,x=ja,A=U9,k=pb,w=$I,I=NS,C=R7,S=M9,E=a_,R=g_,G=JA,M=tI,q=YA;return Ve(),At(_M,null,{default:xe(()=>[pe(q,{class:"h-full","native-scrollbar":""},{default:xe(()=>[pe(G,{class:"pb-16 h-full mx-2","native-scrollbar":""},{default:xe(()=>[pe(k,{class:"mt-2",justify:"space-between"},{default:xe(()=>[pe(x,{onClick:u},{icon:xe(()=>[pe(f,{component:ze(t).theme==="light"?ze(yE):ze(TE)},null,8,["component"])]),_:1}),pe(A,{options:n,value:v.$i18n.locale,animated:"",trigger:"click",onSelect:g},{default:xe(()=>[pe(x,null,{icon:xe(()=>[pe(f,{component:ze(lE)},null,8,["component"])]),_:1})]),_:1},8,["value"])]),_:1}),pe(k,{class:"sm:w-1/3 mx-auto mt-20",vertical:""},{default:xe(()=>[pe(ze(Sa),{class:"text-center"},{default:xe(()=>[pe(w,null,{default:xe(()=>[Ct(En(v.$t("title")),1)]),_:1}),ze(o)?(Ve(),At(k,{key:1,justify:"center"},{default:xe(()=>[pe(x,{onClick:h},{default:xe(()=>[Ct(En(v.$t("back")),1)]),_:1})]),_:1})):(Ve(),At(I,{key:0,value:ze(i),"onUpdate:value":p[0]||(p[0]=ee=>at(i)?i.value=ee:null),placeholder:v.$t("search"),clearable:""},null,8,["value","placeholder"]))]),_:1}),pe(C)]),_:1}),pe(k,{size:"large",vertical:""},{default:xe(()=>[ze(o)?(Ve(),At(ze(Sa),{key:1,class:"sm:w-1/3 mx-auto"},{default:xe(()=>[pe(FM,{item:ze(o),onTagClick:m},null,8,["item"])]),_:1})):(Ve(),At(k,{key:0,vertical:""},{default:xe(()=>[(Ve(!0),hn(He,null,xa(ze(d),(ee,O)=>(Ve(),At(k,{class:"text-center",vertical:""},{default:xe(()=>[pe(ze(zl),{style:qa({color:ze(ll)[O]}),class:"font-bold text-2xl",type:"info"},{default:xe(()=>[Ct(En(O),1)]),_:2},1032,["style"]),ze(r)?(Ve(),At(R,{key:1,cols:3,"x-gap":10,"y-gap":10,class:"text-center"},{default:xe(()=>[(Ve(!0),hn(He,null,xa(ee,V=>(Ve(),At(E,null,{default:xe(()=>[pe(x,{color:ze(ll)[O],class:"w-full",onClick:W=>o.value=V},{default:xe(()=>[pe(ze(Cs),null,{trigger:xe(()=>[pe(S,null,{default:xe(()=>[pe(ec,{item:V},null,8,["item"])]),_:2},1024)]),default:xe(()=>[Ct(" "+En(V.title),1)]),_:2},1024)]),_:2},1032,["color","onClick"])]),_:2},1024))),256))]),_:2},1024)):(Ve(),At(k,{key:0,justify:"center"},{default:xe(()=>[(Ve(!0),hn(He,null,xa(ee,V=>(Ve(),At(x,{color:ze(ll)[O],size:"small",onClick:W=>o.value=V},{default:xe(()=>[pe(ec,{item:V},null,8,["item"])]),_:2},1032,["color","onClick"]))),256))]),_:2},1024))]),_:2},1024))),256))]),_:1}))]),_:1})]),_:1}),pe(M,{class:"py-2",position:"absolute"},{default:xe(()=>[pe(k,{size:0,justify:"center"},{default:xe(()=>[pe(ze(Sa),null,{default:xe(()=>[pe(ze(zl),null,{default:xe(()=>[Ct(En(v.$t("maker"))+": ",1)]),_:1}),pe(x,{href:"https://zhazha120.cn",tag:"a",text:"",type:"primary"},{default:xe(()=>[Ct(" WOSHIZHAZHA120")]),_:1})]),_:1}),pe(C,{vertical:""}),pe(x,{href:"https://github.com/26F-Studio/techmino-online-dict",tag:"a",text:"",type:"primary"},{default:xe(()=>[Ct(" Github ")]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})}}});window.addEventListener("load",()=>{const e=qy({render:()=>T(WM)});e.use(xM),e.use(kM),e.mount("#app")})});export default jM(); diff --git a/index.html b/index.html index b46d0c3..0c245fb 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ Techmino 在线词典 - +