homebridge-config-ui-x 5.2.1-beta.5 → 5.2.1-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -1
- package/dist/bin/hb-service.js +2 -2
- package/dist/core/config/config.service.js +1 -1
- package/dist/index.js +2 -2
- package/package.json +2 -2
- package/public/{chunk-ILLSC2B3.js → chunk-2TT2EL5C.js} +1 -1
- package/public/chunk-3YREOL2T.js +1 -0
- package/public/{chunk-MLO3PC2G.js → chunk-4NTMXN5W.js} +1 -1
- package/public/{chunk-HCJMKWP6.js → chunk-62VDTL5K.js} +1 -1
- package/public/{chunk-UP6HSRHZ.js → chunk-A5TJVETN.js} +1 -1
- package/public/{chunk-SIEMFARC.js → chunk-ADOOROVR.js} +1 -1
- package/public/{chunk-2XS5GHUC.js → chunk-AKYVNWGX.js} +1 -1
- package/public/{chunk-Q46UWNHW.js → chunk-AQFHKZAO.js} +1 -1
- package/public/{chunk-AMWPHHJZ.js → chunk-B5F2RJ4U.js} +1 -1
- package/public/{chunk-QDAG7TGS.js → chunk-BC2NJBDJ.js} +1 -1
- package/public/{chunk-NHEXWCFF.js → chunk-BF6APQQN.js} +1 -1
- package/public/{chunk-6Q6QVN5U.js → chunk-BP4AY6SL.js} +1 -1
- package/public/{chunk-SWVG2VTY.js → chunk-BYL6XNAO.js} +1 -1
- package/public/{chunk-P2QXFAG4.js → chunk-CDF6XR5P.js} +1 -1
- package/public/{chunk-72BQHQOY.js → chunk-DH37RX4H.js} +1 -1
- package/public/{chunk-XHEANXBO.js → chunk-E32HKJ6X.js} +1 -1
- package/public/{chunk-GDFRVAIY.js → chunk-EALKMUCN.js} +1 -1
- package/public/{chunk-OUJZK5WW.js → chunk-EB3KFEZV.js} +1 -1
- package/public/{chunk-RO2SWPTR.js → chunk-FN4K5HWT.js} +1 -1
- package/public/{chunk-K75IVKPX.js → chunk-G5IU36OR.js} +1 -1
- package/public/chunk-GBCHQYME.js +1 -0
- package/public/{chunk-24XP2OZJ.js → chunk-GMLS4QWN.js} +1 -1
- package/public/chunk-GONDXWWH.js +12 -0
- package/public/{chunk-VYFMPNGJ.js → chunk-HMHCCCTK.js} +1 -1
- package/public/{chunk-ADJOAY4Y.js → chunk-HP7D6TY5.js} +1 -1
- package/public/{chunk-7SFJGPWK.js → chunk-HQPD7F5O.js} +1 -1
- package/public/{chunk-GO6TLUX7.js → chunk-IBMR32UU.js} +1 -1
- package/public/{chunk-BX3LIBQF.js → chunk-JZJ2ZMSH.js} +1 -1
- package/public/{chunk-RWIUNOD2.js → chunk-KLCAKS67.js} +1 -1
- package/public/{chunk-CALQBB3D.js → chunk-LLGBNHYD.js} +1 -1
- package/public/{chunk-2JJDOGNA.js → chunk-M7SDPVS7.js} +1 -1
- package/public/{chunk-5UTQLN4Z.js → chunk-MPZHIXD7.js} +1 -1
- package/public/{chunk-JQMIVHGP.js → chunk-OJOA5OFG.js} +2 -2
- package/public/{chunk-PCPXKTTP.js → chunk-QR2FZ3FN.js} +1 -1
- package/public/{chunk-US7LMTIR.js → chunk-RVYLKXPZ.js} +1 -1
- package/public/{chunk-75MA2FIV.js → chunk-S2H3WG4X.js} +1 -1
- package/public/{chunk-GJFQCIKI.js → chunk-SMBUQB5S.js} +1 -1
- package/public/{chunk-P6DDWY2V.js → chunk-SVOCUQXR.js} +1 -1
- package/public/{chunk-WNIH4OI6.js → chunk-TTZW4NLU.js} +1 -1
- package/public/{chunk-AVK4K4AJ.js → chunk-UX5UNMYG.js} +1 -1
- package/public/{chunk-TSMUUC4G.js → chunk-UZVDP7AR.js} +1 -1
- package/public/{chunk-ZIEYG67O.js → chunk-VT5RDZJX.js} +1 -1
- package/public/{chunk-J4KC7LHX.js → chunk-W7MI6OYY.js} +1 -1
- package/public/{chunk-ROVT6BMA.js → chunk-WPNQ7LE6.js} +2 -2
- package/public/{chunk-T5AVMQH3.js → chunk-WSQEHKU3.js} +1 -1
- package/public/{chunk-HJXCKSP2.js → chunk-XKH4OBAY.js} +1 -1
- package/public/{chunk-TA7XDNYT.js → chunk-ZKBQLUW3.js} +1 -1
- package/public/index.html +2 -2
- package/public/{main-WU45UT5G.js → main-BP655MJZ.js} +1 -1
- package/public/{styles-F7TCZAA2.css → styles-IOQZHT3N.css} +1 -1
- package/public/chunk-2XHSX5FE.js +0 -1
- package/public/chunk-GD5EM2RU.js +0 -12
- package/public/chunk-VRQXSFEA.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as kp}from"./chunk-2XS5GHUC.js";import{a as tl,c as $p,d as Ep,e as Vn,f as si,g as Kx}from"./chunk-TA7XDNYT.js";import{a as Cp}from"./chunk-ZT56WXIZ.js";import{a as Sp}from"./chunk-P3TP4J62.js";import{a as Tp}from"./chunk-SIEMFARC.js";import{a as $r}from"./chunk-YFQVSUDS.js";import{a as wp,c as Ip}from"./chunk-BSZ6MHFZ.js";import{a as Pp}from"./chunk-ADNBR4EK.js";import{a as pa,b as ha}from"./chunk-7FO4RGTF.js";import{a as fa,b as ma}from"./chunk-2KOR6LRK.js";import{a as xp}from"./chunk-W6RS6NBX.js";import{a as aa,b as sa,c as la,d as ua,e as ca,f as da,g as qn,m as qe,n as et,o as gp,p as _p,q as yp,r as bp,s as vp,t as jn}from"./chunk-PSSVCFFV.js";import{A as Sr,a as lp,b as Ai,c as Fn,e as bt,f as up,h as cp,i as dp,j as pp,k as fp,l as qi,m as mp,o as ji,r as An,s as cn,t as dn,y as hp,z as Gt}from"./chunk-K2NEWUWG.js";import{a as Bi}from"./chunk-RO2SWPTR.js";import{d as ai}from"./chunk-QRQBCPWO.js";import{b as Ve}from"./chunk-ZIEYG67O.js";import{k as we,m as Vi,n as ve}from"./chunk-2XHSX5FE.js";import{a as xe,b as je}from"./chunk-ZG3HINDJ.js";import{e as sp}from"./chunk-K7QEGT3E.js";import{$a as Yd,Ac as np,Bc as rp,Ca as ki,Cc as Te,D as Wd,Da as Xd,Dc as Kt,Ec as ln,Fa as On,Fc as At,Gc as Nn,Hb as G,Hc as w,Ib as E,Ic as S,Jb as P,Jc as Ue,Lb as dt,M as kn,Mb as pt,Nb as ft,Ob as b,Pb as f,Qb as m,Qc as mt,Rb as $,Rc as z,Sb as ri,Sc as Fi,Tb as oi,Ub as an,Uc as op,Vb as ep,Wb as tp,Xa as he,Z as Ys,_b as H,a as X,aa as Ir,ab as d,b as $e,bc as j,cc as Mi,dc as _,e as g,fa as Kd,fb as ia,g as Le,ga as Tt,gb as hi,h as K,ha as Mn,hc as Qs,ib as rn,ic as Zs,id as qt,ja as Gd,jc as el,jd as un,k as Ld,ka as Jd,kc as Oi,kd as ht,la as k,lc as Di,mb as Q,mc as ip,n as Pt,nb as Dn,nc as Wt,o as Xs,ob as on,oc as Ni,pb as Qd,pc as Y,q as Ud,qc as C,ra as A,rc as L,rd as oa,sa as q,sb as le,sc as B,tc as sn,ub as Zd,uc as ra,v as zd,vb as na,w as ce,x as Hd,xc as Me,yc as Oe,za as ta,zc as De,zd as ap}from"./chunk-V7SOQAC5.js";var Tr=g(be=>{"use strict";Object.defineProperty(be,"__esModule",{value:!0});be.regexpCode=be.getEsmExportName=be.getProperty=be.safeStringify=be.stringify=be.strConcat=be.addCodeArg=be.str=be._=be.nil=be._Code=be.Name=be.IDENTIFIER=be._CodeOrName=void 0;var Er=class{};be._CodeOrName=Er;be.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var pn=class extends Er{constructor(i){if(super(),!be.IDENTIFIER.test(i))throw new Error("CodeGen: name must be a valid identifier");this.str=i}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}};be.Name=pn;var jt=class extends Er{constructor(i){super(),this._items=typeof i=="string"?[i]:i}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;let i=this._items[0];return i===""||i==='""'}get str(){var i;return(i=this._str)!==null&&i!==void 0?i:this._str=this._items.reduce((t,n)=>`${t}${n}`,"")}get names(){var i;return(i=this._names)!==null&&i!==void 0?i:this._names=this._items.reduce((t,n)=>(n instanceof pn&&(t[n.str]=(t[n.str]||0)+1),t),{})}};be._Code=jt;be.nil=new jt("");function Mp(e,...i){let t=[e[0]],n=0;for(;n<i.length;)nl(t,i[n]),t.push(e[++n]);return new jt(t)}be._=Mp;var il=new jt("+");function Op(e,...i){let t=[Pr(e[0])],n=0;for(;n<i.length;)t.push(il),nl(t,i[n]),t.push(il,Pr(e[++n]));return Gx(t),new jt(t)}be.str=Op;function nl(e,i){i instanceof jt?e.push(...i._items):i instanceof pn?e.push(i):e.push(Yx(i))}be.addCodeArg=nl;function Gx(e){let i=1;for(;i<e.length-1;){if(e[i]===il){let t=Jx(e[i-1],e[i+1]);if(t!==void 0){e.splice(i-1,3,t);continue}e[i++]="+"}i++}}function Jx(e,i){if(i==='""')return e;if(e==='""')return i;if(typeof e=="string")return i instanceof pn||e[e.length-1]!=='"'?void 0:typeof i!="string"?`${e.slice(0,-1)}${i}"`:i[0]==='"'?e.slice(0,-1)+i.slice(1):void 0;if(typeof i=="string"&&i[0]==='"'&&!(e instanceof pn))return`"${e}${i.slice(1)}`}function Xx(e,i){return i.emptyStr()?e:e.emptyStr()?i:Op`${e}${i}`}be.strConcat=Xx;function Yx(e){return typeof e=="number"||typeof e=="boolean"||e===null?e:Pr(Array.isArray(e)?e.join(","):e)}function Qx(e){return new jt(Pr(e))}be.stringify=Qx;function Pr(e){return JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}be.safeStringify=Pr;function Zx(e){return typeof e=="string"&&be.IDENTIFIER.test(e)?new jt(`.${e}`):Mp`[${e}]`}be.getProperty=Zx;function ew(e){if(typeof e=="string"&&be.IDENTIFIER.test(e))return new jt(`${e}`);throw new Error(`CodeGen: invalid export name: ${e}, use explicit $id name mapping`)}be.getEsmExportName=ew;function tw(e){return new jt(e.toString())}be.regexpCode=tw});var al=g(Ct=>{"use strict";Object.defineProperty(Ct,"__esModule",{value:!0});Ct.ValueScope=Ct.ValueScopeName=Ct.Scope=Ct.varKinds=Ct.UsedValueState=void 0;var vt=Tr(),rl=class extends Error{constructor(i){super(`CodeGen: "code" for ${i} not defined`),this.value=i.value}},ga=function(e){return e[e.Started=0]="Started",e[e.Completed=1]="Completed",e}(ga||(Ct.UsedValueState=ga={}));Ct.varKinds={const:new vt.Name("const"),let:new vt.Name("let"),var:new vt.Name("var")};var _a=class{constructor({prefixes:i,parent:t}={}){this._names={},this._prefixes=i,this._parent=t}toName(i){return i instanceof vt.Name?i:this.name(i)}name(i){return new vt.Name(this._newName(i))}_newName(i){let t=this._names[i]||this._nameGroup(i);return`${i}${t.index++}`}_nameGroup(i){var t,n;if(!((n=(t=this._parent)===null||t===void 0?void 0:t._prefixes)===null||n===void 0)&&n.has(i)||this._prefixes&&!this._prefixes.has(i))throw new Error(`CodeGen: prefix "${i}" is not allowed in this scope`);return this._names[i]={prefix:i,index:0}}};Ct.Scope=_a;var ya=class extends vt.Name{constructor(i,t){super(t),this.prefix=i}setValue(i,{property:t,itemIndex:n}){this.value=i,this.scopePath=(0,vt._)`.${new vt.Name(t)}[${n}]`}};Ct.ValueScopeName=ya;var iw=(0,vt._)`\n`,ol=class extends _a{constructor(i){super(i),this._values={},this._scope=i.scope,this.opts=$e(X({},i),{_n:i.lines?iw:vt.nil})}get(){return this._scope}name(i){return new ya(i,this._newName(i))}value(i,t){var n;if(t.ref===void 0)throw new Error("CodeGen: ref must be passed in value");let r=this.toName(i),{prefix:o}=r,a=(n=t.key)!==null&&n!==void 0?n:t.ref,s=this._values[o];if(s){let c=s.get(a);if(c)return c}else s=this._values[o]=new Map;s.set(a,r);let l=this._scope[o]||(this._scope[o]=[]),u=l.length;return l[u]=t.ref,r.setValue(t,{property:o,itemIndex:u}),r}getValue(i,t){let n=this._values[i];if(n)return n.get(t)}scopeRefs(i,t=this._values){return this._reduceValues(t,n=>{if(n.scopePath===void 0)throw new Error(`CodeGen: name "${n}" has no value`);return(0,vt._)`${i}${n.scopePath}`})}scopeCode(i=this._values,t,n){return this._reduceValues(i,r=>{if(r.value===void 0)throw new Error(`CodeGen: name "${r}" has no value`);return r.value.code},t,n)}_reduceValues(i,t,n={},r){let o=vt.nil;for(let a in i){let s=i[a];if(!s)continue;let l=n[a]=n[a]||new Map;s.forEach(u=>{if(l.has(u))return;l.set(u,ga.Started);let c=t(u);if(c){let p=this.opts.es5?Ct.varKinds.var:Ct.varKinds.const;o=(0,vt._)`${o}${p} ${u} = ${c};${this.opts._n}`}else if(c=r?.(u))o=(0,vt._)`${o}${c}${this.opts._n}`;else throw new rl(u);l.set(u,ga.Completed)})}return o}};Ct.ValueScope=ol});var ee=g(ue=>{"use strict";Object.defineProperty(ue,"__esModule",{value:!0});ue.or=ue.and=ue.not=ue.CodeGen=ue.operators=ue.varKinds=ue.ValueScopeName=ue.ValueScope=ue.Scope=ue.Name=ue.regexpCode=ue.stringify=ue.getProperty=ue.nil=ue.strConcat=ue.str=ue._=void 0;var ge=Tr(),Jt=al(),Ri=Tr();Object.defineProperty(ue,"_",{enumerable:!0,get:function(){return Ri._}});Object.defineProperty(ue,"str",{enumerable:!0,get:function(){return Ri.str}});Object.defineProperty(ue,"strConcat",{enumerable:!0,get:function(){return Ri.strConcat}});Object.defineProperty(ue,"nil",{enumerable:!0,get:function(){return Ri.nil}});Object.defineProperty(ue,"getProperty",{enumerable:!0,get:function(){return Ri.getProperty}});Object.defineProperty(ue,"stringify",{enumerable:!0,get:function(){return Ri.stringify}});Object.defineProperty(ue,"regexpCode",{enumerable:!0,get:function(){return Ri.regexpCode}});Object.defineProperty(ue,"Name",{enumerable:!0,get:function(){return Ri.Name}});var wa=al();Object.defineProperty(ue,"Scope",{enumerable:!0,get:function(){return wa.Scope}});Object.defineProperty(ue,"ValueScope",{enumerable:!0,get:function(){return wa.ValueScope}});Object.defineProperty(ue,"ValueScopeName",{enumerable:!0,get:function(){return wa.ValueScopeName}});Object.defineProperty(ue,"varKinds",{enumerable:!0,get:function(){return wa.varKinds}});ue.operators={GT:new ge._Code(">"),GTE:new ge._Code(">="),LT:new ge._Code("<"),LTE:new ge._Code("<="),EQ:new ge._Code("==="),NEQ:new ge._Code("!=="),NOT:new ge._Code("!"),OR:new ge._Code("||"),AND:new ge._Code("&&"),ADD:new ge._Code("+")};var gi=class{optimizeNodes(){return this}optimizeNames(i,t){return this}},sl=class extends gi{constructor(i,t,n){super(),this.varKind=i,this.name=t,this.rhs=n}render({es5:i,_n:t}){let n=i?Jt.varKinds.var:this.varKind,r=this.rhs===void 0?"":` = ${this.rhs}`;return`${n} ${this.name}${r};`+t}optimizeNames(i,t){if(i[this.name.str])return this.rhs&&(this.rhs=Bn(this.rhs,i,t)),this}get names(){return this.rhs instanceof ge._CodeOrName?this.rhs.names:{}}},va=class extends gi{constructor(i,t,n){super(),this.lhs=i,this.rhs=t,this.sideEffects=n}render({_n:i}){return`${this.lhs} = ${this.rhs};`+i}optimizeNames(i,t){if(!(this.lhs instanceof ge.Name&&!i[this.lhs.str]&&!this.sideEffects))return this.rhs=Bn(this.rhs,i,t),this}get names(){let i=this.lhs instanceof ge.Name?{}:X({},this.lhs.names);return xa(i,this.rhs)}},ll=class extends va{constructor(i,t,n,r){super(i,n,r),this.op=t}render({_n:i}){return`${this.lhs} ${this.op}= ${this.rhs};`+i}},ul=class extends gi{constructor(i){super(),this.label=i,this.names={}}render({_n:i}){return`${this.label}:`+i}},cl=class extends gi{constructor(i){super(),this.label=i,this.names={}}render({_n:i}){return`break${this.label?` ${this.label}`:""};`+i}},dl=class extends gi{constructor(i){super(),this.error=i}render({_n:i}){return`throw ${this.error};`+i}get names(){return this.error.names}},pl=class extends gi{constructor(i){super(),this.code=i}render({_n:i}){return`${this.code};`+i}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(i,t){return this.code=Bn(this.code,i,t),this}get names(){return this.code instanceof ge._CodeOrName?this.code.names:{}}},kr=class extends gi{constructor(i=[]){super(),this.nodes=i}render(i){return this.nodes.reduce((t,n)=>t+n.render(i),"")}optimizeNodes(){let{nodes:i}=this,t=i.length;for(;t--;){let n=i[t].optimizeNodes();Array.isArray(n)?i.splice(t,1,...n):n?i[t]=n:i.splice(t,1)}return i.length>0?this:void 0}optimizeNames(i,t){let{nodes:n}=this,r=n.length;for(;r--;){let o=n[r];o.optimizeNames(i,t)||(nw(i,o.names),n.splice(r,1))}return n.length>0?this:void 0}get names(){return this.nodes.reduce((i,t)=>fn(i,t.names),{})}},_i=class extends kr{render(i){return"{"+i._n+super.render(i)+"}"+i._n}},fl=class extends kr{},ml=(()=>{class e extends _i{}return e.kind="else",e})(),ba=(()=>{class e extends _i{constructor(t,n){super(n),this.condition=t}render(t){let n=`if(${this.condition})`+super.render(t);return this.else&&(n+="else "+this.else.render(t)),n}optimizeNodes(){super.optimizeNodes();let t=this.condition;if(t===!0)return this.nodes;let n=this.else;if(n){let r=n.optimizeNodes();n=this.else=Array.isArray(r)?new ml(r):r}if(n)return t===!1?n instanceof e?n:n.nodes:this.nodes.length?this:new e(qp(t),n instanceof e?[n]:n.nodes);if(!(t===!1||!this.nodes.length))return this}optimizeNames(t,n){var r;if(this.else=(r=this.else)===null||r===void 0?void 0:r.optimizeNames(t,n),!!(super.optimizeNames(t,n)||this.else))return this.condition=Bn(this.condition,t,n),this}get names(){let t=super.names;return xa(t,this.condition),this.else&&fn(t,this.else.names),t}}return e.kind="if",e})(),Ia=(()=>{class e extends _i{}return e.kind="for",e})(),hl=class extends Ia{constructor(i){super(),this.iteration=i}render(i){return`for(${this.iteration})`+super.render(i)}optimizeNames(i,t){if(super.optimizeNames(i,t))return this.iteration=Bn(this.iteration,i,t),this}get names(){return fn(super.names,this.iteration.names)}},gl=class extends Ia{constructor(i,t,n,r){super(),this.varKind=i,this.name=t,this.from=n,this.to=r}render(i){let t=i.es5?Jt.varKinds.var:this.varKind,{name:n,from:r,to:o}=this;return`for(${t} ${n}=${r}; ${n}<${o}; ${n}++)`+super.render(i)}get names(){let i=xa(super.names,this.from);return xa(i,this.to)}},Ca=class extends Ia{constructor(i,t,n,r){super(),this.loop=i,this.varKind=t,this.name=n,this.iterable=r}render(i){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(i)}optimizeNames(i,t){if(super.optimizeNames(i,t))return this.iterable=Bn(this.iterable,i,t),this}get names(){return fn(super.names,this.iterable.names)}},Dp=(()=>{class e extends _i{constructor(t,n,r){super(),this.name=t,this.args=n,this.async=r}render(t){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(t)}}return e.kind="func",e})(),Np=(()=>{class e extends kr{render(t){return"return "+super.render(t)}}return e.kind="return",e})(),_l=class extends _i{render(i){let t="try"+super.render(i);return this.catch&&(t+=this.catch.render(i)),this.finally&&(t+=this.finally.render(i)),t}optimizeNodes(){var i,t;return super.optimizeNodes(),(i=this.catch)===null||i===void 0||i.optimizeNodes(),(t=this.finally)===null||t===void 0||t.optimizeNodes(),this}optimizeNames(i,t){var n,r;return super.optimizeNames(i,t),(n=this.catch)===null||n===void 0||n.optimizeNames(i,t),(r=this.finally)===null||r===void 0||r.optimizeNames(i,t),this}get names(){let i=super.names;return this.catch&&fn(i,this.catch.names),this.finally&&fn(i,this.finally.names),i}},Fp=(()=>{class e extends _i{constructor(t){super(),this.error=t}render(t){return`catch(${this.error})`+super.render(t)}}return e.kind="catch",e})(),Ap=(()=>{class e extends _i{render(t){return"finally"+super.render(t)}}return e.kind="finally",e})(),yl=class{constructor(i,t={}){this._values={},this._blockStarts=[],this._constants={},this.opts=$e(X({},t),{_n:t.lines?`
|
|
1
|
+
import{a as kp}from"./chunk-AKYVNWGX.js";import{a as tl,c as $p,d as Ep,e as Vn,f as si,g as Kx}from"./chunk-ZKBQLUW3.js";import{a as Cp}from"./chunk-ZT56WXIZ.js";import{a as Sp}from"./chunk-P3TP4J62.js";import{a as Tp}from"./chunk-ADOOROVR.js";import{a as $r}from"./chunk-YFQVSUDS.js";import{a as wp,c as Ip}from"./chunk-BSZ6MHFZ.js";import{a as Pp}from"./chunk-ADNBR4EK.js";import{a as pa,b as ha}from"./chunk-7FO4RGTF.js";import{a as fa,b as ma}from"./chunk-2KOR6LRK.js";import{a as xp}from"./chunk-W6RS6NBX.js";import{a as aa,b as sa,c as la,d as ua,e as ca,f as da,g as qn,m as qe,n as et,o as gp,p as _p,q as yp,r as bp,s as vp,t as jn}from"./chunk-PSSVCFFV.js";import{A as Sr,a as lp,b as Ai,c as Fn,e as bt,f as up,h as cp,i as dp,j as pp,k as fp,l as qi,m as mp,o as ji,r as An,s as cn,t as dn,y as hp,z as Gt}from"./chunk-K2NEWUWG.js";import{a as Bi}from"./chunk-FN4K5HWT.js";import{d as ai}from"./chunk-QRQBCPWO.js";import{b as Ve}from"./chunk-VT5RDZJX.js";import{k as we,m as Vi,n as ve}from"./chunk-GBCHQYME.js";import{a as xe,b as je}from"./chunk-ZG3HINDJ.js";import{e as sp}from"./chunk-K7QEGT3E.js";import{$a as Yd,Ac as np,Bc as rp,Ca as ki,Cc as Te,D as Wd,Da as Xd,Dc as Kt,Ec as ln,Fa as On,Fc as At,Gc as Nn,Hb as G,Hc as w,Ib as E,Ic as S,Jb as P,Jc as Ue,Lb as dt,M as kn,Mb as pt,Nb as ft,Ob as b,Pb as f,Qb as m,Qc as mt,Rb as $,Rc as z,Sb as ri,Sc as Fi,Tb as oi,Ub as an,Uc as op,Vb as ep,Wb as tp,Xa as he,Z as Ys,_b as H,a as X,aa as Ir,ab as d,b as $e,bc as j,cc as Mi,dc as _,e as g,fa as Kd,fb as ia,g as Le,ga as Tt,gb as hi,h as K,ha as Mn,hc as Qs,ib as rn,ic as Zs,id as qt,ja as Gd,jc as el,jd as un,k as Ld,ka as Jd,kc as Oi,kd as ht,la as k,lc as Di,mb as Q,mc as ip,n as Pt,nb as Dn,nc as Wt,o as Xs,ob as on,oc as Ni,pb as Qd,pc as Y,q as Ud,qc as C,ra as A,rc as L,rd as oa,sa as q,sb as le,sc as B,tc as sn,ub as Zd,uc as ra,v as zd,vb as na,w as ce,x as Hd,xc as Me,yc as Oe,za as ta,zc as De,zd as ap}from"./chunk-V7SOQAC5.js";var Tr=g(be=>{"use strict";Object.defineProperty(be,"__esModule",{value:!0});be.regexpCode=be.getEsmExportName=be.getProperty=be.safeStringify=be.stringify=be.strConcat=be.addCodeArg=be.str=be._=be.nil=be._Code=be.Name=be.IDENTIFIER=be._CodeOrName=void 0;var Er=class{};be._CodeOrName=Er;be.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var pn=class extends Er{constructor(i){if(super(),!be.IDENTIFIER.test(i))throw new Error("CodeGen: name must be a valid identifier");this.str=i}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}};be.Name=pn;var jt=class extends Er{constructor(i){super(),this._items=typeof i=="string"?[i]:i}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;let i=this._items[0];return i===""||i==='""'}get str(){var i;return(i=this._str)!==null&&i!==void 0?i:this._str=this._items.reduce((t,n)=>`${t}${n}`,"")}get names(){var i;return(i=this._names)!==null&&i!==void 0?i:this._names=this._items.reduce((t,n)=>(n instanceof pn&&(t[n.str]=(t[n.str]||0)+1),t),{})}};be._Code=jt;be.nil=new jt("");function Mp(e,...i){let t=[e[0]],n=0;for(;n<i.length;)nl(t,i[n]),t.push(e[++n]);return new jt(t)}be._=Mp;var il=new jt("+");function Op(e,...i){let t=[Pr(e[0])],n=0;for(;n<i.length;)t.push(il),nl(t,i[n]),t.push(il,Pr(e[++n]));return Gx(t),new jt(t)}be.str=Op;function nl(e,i){i instanceof jt?e.push(...i._items):i instanceof pn?e.push(i):e.push(Yx(i))}be.addCodeArg=nl;function Gx(e){let i=1;for(;i<e.length-1;){if(e[i]===il){let t=Jx(e[i-1],e[i+1]);if(t!==void 0){e.splice(i-1,3,t);continue}e[i++]="+"}i++}}function Jx(e,i){if(i==='""')return e;if(e==='""')return i;if(typeof e=="string")return i instanceof pn||e[e.length-1]!=='"'?void 0:typeof i!="string"?`${e.slice(0,-1)}${i}"`:i[0]==='"'?e.slice(0,-1)+i.slice(1):void 0;if(typeof i=="string"&&i[0]==='"'&&!(e instanceof pn))return`"${e}${i.slice(1)}`}function Xx(e,i){return i.emptyStr()?e:e.emptyStr()?i:Op`${e}${i}`}be.strConcat=Xx;function Yx(e){return typeof e=="number"||typeof e=="boolean"||e===null?e:Pr(Array.isArray(e)?e.join(","):e)}function Qx(e){return new jt(Pr(e))}be.stringify=Qx;function Pr(e){return JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}be.safeStringify=Pr;function Zx(e){return typeof e=="string"&&be.IDENTIFIER.test(e)?new jt(`.${e}`):Mp`[${e}]`}be.getProperty=Zx;function ew(e){if(typeof e=="string"&&be.IDENTIFIER.test(e))return new jt(`${e}`);throw new Error(`CodeGen: invalid export name: ${e}, use explicit $id name mapping`)}be.getEsmExportName=ew;function tw(e){return new jt(e.toString())}be.regexpCode=tw});var al=g(Ct=>{"use strict";Object.defineProperty(Ct,"__esModule",{value:!0});Ct.ValueScope=Ct.ValueScopeName=Ct.Scope=Ct.varKinds=Ct.UsedValueState=void 0;var vt=Tr(),rl=class extends Error{constructor(i){super(`CodeGen: "code" for ${i} not defined`),this.value=i.value}},ga=function(e){return e[e.Started=0]="Started",e[e.Completed=1]="Completed",e}(ga||(Ct.UsedValueState=ga={}));Ct.varKinds={const:new vt.Name("const"),let:new vt.Name("let"),var:new vt.Name("var")};var _a=class{constructor({prefixes:i,parent:t}={}){this._names={},this._prefixes=i,this._parent=t}toName(i){return i instanceof vt.Name?i:this.name(i)}name(i){return new vt.Name(this._newName(i))}_newName(i){let t=this._names[i]||this._nameGroup(i);return`${i}${t.index++}`}_nameGroup(i){var t,n;if(!((n=(t=this._parent)===null||t===void 0?void 0:t._prefixes)===null||n===void 0)&&n.has(i)||this._prefixes&&!this._prefixes.has(i))throw new Error(`CodeGen: prefix "${i}" is not allowed in this scope`);return this._names[i]={prefix:i,index:0}}};Ct.Scope=_a;var ya=class extends vt.Name{constructor(i,t){super(t),this.prefix=i}setValue(i,{property:t,itemIndex:n}){this.value=i,this.scopePath=(0,vt._)`.${new vt.Name(t)}[${n}]`}};Ct.ValueScopeName=ya;var iw=(0,vt._)`\n`,ol=class extends _a{constructor(i){super(i),this._values={},this._scope=i.scope,this.opts=$e(X({},i),{_n:i.lines?iw:vt.nil})}get(){return this._scope}name(i){return new ya(i,this._newName(i))}value(i,t){var n;if(t.ref===void 0)throw new Error("CodeGen: ref must be passed in value");let r=this.toName(i),{prefix:o}=r,a=(n=t.key)!==null&&n!==void 0?n:t.ref,s=this._values[o];if(s){let c=s.get(a);if(c)return c}else s=this._values[o]=new Map;s.set(a,r);let l=this._scope[o]||(this._scope[o]=[]),u=l.length;return l[u]=t.ref,r.setValue(t,{property:o,itemIndex:u}),r}getValue(i,t){let n=this._values[i];if(n)return n.get(t)}scopeRefs(i,t=this._values){return this._reduceValues(t,n=>{if(n.scopePath===void 0)throw new Error(`CodeGen: name "${n}" has no value`);return(0,vt._)`${i}${n.scopePath}`})}scopeCode(i=this._values,t,n){return this._reduceValues(i,r=>{if(r.value===void 0)throw new Error(`CodeGen: name "${r}" has no value`);return r.value.code},t,n)}_reduceValues(i,t,n={},r){let o=vt.nil;for(let a in i){let s=i[a];if(!s)continue;let l=n[a]=n[a]||new Map;s.forEach(u=>{if(l.has(u))return;l.set(u,ga.Started);let c=t(u);if(c){let p=this.opts.es5?Ct.varKinds.var:Ct.varKinds.const;o=(0,vt._)`${o}${p} ${u} = ${c};${this.opts._n}`}else if(c=r?.(u))o=(0,vt._)`${o}${c}${this.opts._n}`;else throw new rl(u);l.set(u,ga.Completed)})}return o}};Ct.ValueScope=ol});var ee=g(ue=>{"use strict";Object.defineProperty(ue,"__esModule",{value:!0});ue.or=ue.and=ue.not=ue.CodeGen=ue.operators=ue.varKinds=ue.ValueScopeName=ue.ValueScope=ue.Scope=ue.Name=ue.regexpCode=ue.stringify=ue.getProperty=ue.nil=ue.strConcat=ue.str=ue._=void 0;var ge=Tr(),Jt=al(),Ri=Tr();Object.defineProperty(ue,"_",{enumerable:!0,get:function(){return Ri._}});Object.defineProperty(ue,"str",{enumerable:!0,get:function(){return Ri.str}});Object.defineProperty(ue,"strConcat",{enumerable:!0,get:function(){return Ri.strConcat}});Object.defineProperty(ue,"nil",{enumerable:!0,get:function(){return Ri.nil}});Object.defineProperty(ue,"getProperty",{enumerable:!0,get:function(){return Ri.getProperty}});Object.defineProperty(ue,"stringify",{enumerable:!0,get:function(){return Ri.stringify}});Object.defineProperty(ue,"regexpCode",{enumerable:!0,get:function(){return Ri.regexpCode}});Object.defineProperty(ue,"Name",{enumerable:!0,get:function(){return Ri.Name}});var wa=al();Object.defineProperty(ue,"Scope",{enumerable:!0,get:function(){return wa.Scope}});Object.defineProperty(ue,"ValueScope",{enumerable:!0,get:function(){return wa.ValueScope}});Object.defineProperty(ue,"ValueScopeName",{enumerable:!0,get:function(){return wa.ValueScopeName}});Object.defineProperty(ue,"varKinds",{enumerable:!0,get:function(){return wa.varKinds}});ue.operators={GT:new ge._Code(">"),GTE:new ge._Code(">="),LT:new ge._Code("<"),LTE:new ge._Code("<="),EQ:new ge._Code("==="),NEQ:new ge._Code("!=="),NOT:new ge._Code("!"),OR:new ge._Code("||"),AND:new ge._Code("&&"),ADD:new ge._Code("+")};var gi=class{optimizeNodes(){return this}optimizeNames(i,t){return this}},sl=class extends gi{constructor(i,t,n){super(),this.varKind=i,this.name=t,this.rhs=n}render({es5:i,_n:t}){let n=i?Jt.varKinds.var:this.varKind,r=this.rhs===void 0?"":` = ${this.rhs}`;return`${n} ${this.name}${r};`+t}optimizeNames(i,t){if(i[this.name.str])return this.rhs&&(this.rhs=Bn(this.rhs,i,t)),this}get names(){return this.rhs instanceof ge._CodeOrName?this.rhs.names:{}}},va=class extends gi{constructor(i,t,n){super(),this.lhs=i,this.rhs=t,this.sideEffects=n}render({_n:i}){return`${this.lhs} = ${this.rhs};`+i}optimizeNames(i,t){if(!(this.lhs instanceof ge.Name&&!i[this.lhs.str]&&!this.sideEffects))return this.rhs=Bn(this.rhs,i,t),this}get names(){let i=this.lhs instanceof ge.Name?{}:X({},this.lhs.names);return xa(i,this.rhs)}},ll=class extends va{constructor(i,t,n,r){super(i,n,r),this.op=t}render({_n:i}){return`${this.lhs} ${this.op}= ${this.rhs};`+i}},ul=class extends gi{constructor(i){super(),this.label=i,this.names={}}render({_n:i}){return`${this.label}:`+i}},cl=class extends gi{constructor(i){super(),this.label=i,this.names={}}render({_n:i}){return`break${this.label?` ${this.label}`:""};`+i}},dl=class extends gi{constructor(i){super(),this.error=i}render({_n:i}){return`throw ${this.error};`+i}get names(){return this.error.names}},pl=class extends gi{constructor(i){super(),this.code=i}render({_n:i}){return`${this.code};`+i}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(i,t){return this.code=Bn(this.code,i,t),this}get names(){return this.code instanceof ge._CodeOrName?this.code.names:{}}},kr=class extends gi{constructor(i=[]){super(),this.nodes=i}render(i){return this.nodes.reduce((t,n)=>t+n.render(i),"")}optimizeNodes(){let{nodes:i}=this,t=i.length;for(;t--;){let n=i[t].optimizeNodes();Array.isArray(n)?i.splice(t,1,...n):n?i[t]=n:i.splice(t,1)}return i.length>0?this:void 0}optimizeNames(i,t){let{nodes:n}=this,r=n.length;for(;r--;){let o=n[r];o.optimizeNames(i,t)||(nw(i,o.names),n.splice(r,1))}return n.length>0?this:void 0}get names(){return this.nodes.reduce((i,t)=>fn(i,t.names),{})}},_i=class extends kr{render(i){return"{"+i._n+super.render(i)+"}"+i._n}},fl=class extends kr{},ml=(()=>{class e extends _i{}return e.kind="else",e})(),ba=(()=>{class e extends _i{constructor(t,n){super(n),this.condition=t}render(t){let n=`if(${this.condition})`+super.render(t);return this.else&&(n+="else "+this.else.render(t)),n}optimizeNodes(){super.optimizeNodes();let t=this.condition;if(t===!0)return this.nodes;let n=this.else;if(n){let r=n.optimizeNodes();n=this.else=Array.isArray(r)?new ml(r):r}if(n)return t===!1?n instanceof e?n:n.nodes:this.nodes.length?this:new e(qp(t),n instanceof e?[n]:n.nodes);if(!(t===!1||!this.nodes.length))return this}optimizeNames(t,n){var r;if(this.else=(r=this.else)===null||r===void 0?void 0:r.optimizeNames(t,n),!!(super.optimizeNames(t,n)||this.else))return this.condition=Bn(this.condition,t,n),this}get names(){let t=super.names;return xa(t,this.condition),this.else&&fn(t,this.else.names),t}}return e.kind="if",e})(),Ia=(()=>{class e extends _i{}return e.kind="for",e})(),hl=class extends Ia{constructor(i){super(),this.iteration=i}render(i){return`for(${this.iteration})`+super.render(i)}optimizeNames(i,t){if(super.optimizeNames(i,t))return this.iteration=Bn(this.iteration,i,t),this}get names(){return fn(super.names,this.iteration.names)}},gl=class extends Ia{constructor(i,t,n,r){super(),this.varKind=i,this.name=t,this.from=n,this.to=r}render(i){let t=i.es5?Jt.varKinds.var:this.varKind,{name:n,from:r,to:o}=this;return`for(${t} ${n}=${r}; ${n}<${o}; ${n}++)`+super.render(i)}get names(){let i=xa(super.names,this.from);return xa(i,this.to)}},Ca=class extends Ia{constructor(i,t,n,r){super(),this.loop=i,this.varKind=t,this.name=n,this.iterable=r}render(i){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(i)}optimizeNames(i,t){if(super.optimizeNames(i,t))return this.iterable=Bn(this.iterable,i,t),this}get names(){return fn(super.names,this.iterable.names)}},Dp=(()=>{class e extends _i{constructor(t,n,r){super(),this.name=t,this.args=n,this.async=r}render(t){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(t)}}return e.kind="func",e})(),Np=(()=>{class e extends kr{render(t){return"return "+super.render(t)}}return e.kind="return",e})(),_l=class extends _i{render(i){let t="try"+super.render(i);return this.catch&&(t+=this.catch.render(i)),this.finally&&(t+=this.finally.render(i)),t}optimizeNodes(){var i,t;return super.optimizeNodes(),(i=this.catch)===null||i===void 0||i.optimizeNodes(),(t=this.finally)===null||t===void 0||t.optimizeNodes(),this}optimizeNames(i,t){var n,r;return super.optimizeNames(i,t),(n=this.catch)===null||n===void 0||n.optimizeNames(i,t),(r=this.finally)===null||r===void 0||r.optimizeNames(i,t),this}get names(){let i=super.names;return this.catch&&fn(i,this.catch.names),this.finally&&fn(i,this.finally.names),i}},Fp=(()=>{class e extends _i{constructor(t){super(),this.error=t}render(t){return`catch(${this.error})`+super.render(t)}}return e.kind="catch",e})(),Ap=(()=>{class e extends _i{render(t){return"finally"+super.render(t)}}return e.kind="finally",e})(),yl=class{constructor(i,t={}){this._values={},this._blockStarts=[],this._constants={},this.opts=$e(X({},t),{_n:t.lines?`
|
|
2
2
|
`:""}),this._extScope=i,this._scope=new Jt.Scope({parent:i}),this._nodes=[new fl]}toString(){return this._root.render(this.opts)}name(i){return this._scope.name(i)}scopeName(i){return this._extScope.name(i)}scopeValue(i,t){let n=this._extScope.value(i,t);return(this._values[n.prefix]||(this._values[n.prefix]=new Set)).add(n),n}getScopeValue(i,t){return this._extScope.getValue(i,t)}scopeRefs(i){return this._extScope.scopeRefs(i,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(i,t,n,r){let o=this._scope.toName(t);return n!==void 0&&r&&(this._constants[o.str]=n),this._leafNode(new sl(i,o,n)),o}const(i,t,n){return this._def(Jt.varKinds.const,i,t,n)}let(i,t,n){return this._def(Jt.varKinds.let,i,t,n)}var(i,t,n){return this._def(Jt.varKinds.var,i,t,n)}assign(i,t,n){return this._leafNode(new va(i,t,n))}add(i,t){return this._leafNode(new ll(i,ue.operators.ADD,t))}code(i){return typeof i=="function"?i():i!==ge.nil&&this._leafNode(new pl(i)),this}object(...i){let t=["{"];for(let[n,r]of i)t.length>1&&t.push(","),t.push(n),(n!==r||this.opts.es5)&&(t.push(":"),(0,ge.addCodeArg)(t,r));return t.push("}"),new ge._Code(t)}if(i,t,n){if(this._blockNode(new ba(i)),t&&n)this.code(t).else().code(n).endIf();else if(t)this.code(t).endIf();else if(n)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(i){return this._elseNode(new ba(i))}else(){return this._elseNode(new ml)}endIf(){return this._endBlockNode(ba,ml)}_for(i,t){return this._blockNode(i),t&&this.code(t).endFor(),this}for(i,t){return this._for(new hl(i),t)}forRange(i,t,n,r,o=this.opts.es5?Jt.varKinds.var:Jt.varKinds.let){let a=this._scope.toName(i);return this._for(new gl(o,a,t,n),()=>r(a))}forOf(i,t,n,r=Jt.varKinds.const){let o=this._scope.toName(i);if(this.opts.es5){let a=t instanceof ge.Name?t:this.var("_arr",t);return this.forRange("_i",0,(0,ge._)`${a}.length`,s=>{this.var(o,(0,ge._)`${a}[${s}]`),n(o)})}return this._for(new Ca("of",r,o,t),()=>n(o))}forIn(i,t,n,r=this.opts.es5?Jt.varKinds.var:Jt.varKinds.const){if(this.opts.ownProperties)return this.forOf(i,(0,ge._)`Object.keys(${t})`,n);let o=this._scope.toName(i);return this._for(new Ca("in",r,o,t),()=>n(o))}endFor(){return this._endBlockNode(Ia)}label(i){return this._leafNode(new ul(i))}break(i){return this._leafNode(new cl(i))}return(i){let t=new Np;if(this._blockNode(t),this.code(i),t.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(Np)}try(i,t,n){if(!t&&!n)throw new Error('CodeGen: "try" without "catch" and "finally"');let r=new _l;if(this._blockNode(r),this.code(i),t){let o=this.name("e");this._currNode=r.catch=new Fp(o),t(o)}return n&&(this._currNode=r.finally=new Ap,this.code(n)),this._endBlockNode(Fp,Ap)}throw(i){return this._leafNode(new dl(i))}block(i,t){return this._blockStarts.push(this._nodes.length),i&&this.code(i).endBlock(t),this}endBlock(i){let t=this._blockStarts.pop();if(t===void 0)throw new Error("CodeGen: not in self-balancing block");let n=this._nodes.length-t;if(n<0||i!==void 0&&n!==i)throw new Error(`CodeGen: wrong number of nodes: ${n} vs ${i} expected`);return this._nodes.length=t,this}func(i,t=ge.nil,n,r){return this._blockNode(new Dp(i,t,n)),r&&this.code(r).endFunc(),this}endFunc(){return this._endBlockNode(Dp)}optimize(i=1){for(;i-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(i){return this._currNode.nodes.push(i),this}_blockNode(i){this._currNode.nodes.push(i),this._nodes.push(i)}_endBlockNode(i,t){let n=this._currNode;if(n instanceof i||t&&n instanceof t)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${t?`${i.kind}/${t.kind}`:i.kind}"`)}_elseNode(i){let t=this._currNode;if(!(t instanceof ba))throw new Error('CodeGen: "else" without "if"');return this._currNode=t.else=i,this}get _root(){return this._nodes[0]}get _currNode(){let i=this._nodes;return i[i.length-1]}set _currNode(i){let t=this._nodes;t[t.length-1]=i}};ue.CodeGen=yl;function fn(e,i){for(let t in i)e[t]=(e[t]||0)+(i[t]||0);return e}function xa(e,i){return i instanceof ge._CodeOrName?fn(e,i.names):e}function Bn(e,i,t){if(e instanceof ge.Name)return n(e);if(!r(e))return e;return new ge._Code(e._items.reduce((o,a)=>(a instanceof ge.Name&&(a=n(a)),a instanceof ge._Code?o.push(...a._items):o.push(a),o),[]));function n(o){let a=t[o.str];return a===void 0||i[o.str]!==1?o:(delete i[o.str],a)}function r(o){return o instanceof ge._Code&&o._items.some(a=>a instanceof ge.Name&&i[a.str]===1&&t[a.str]!==void 0)}}function nw(e,i){for(let t in i)e[t]=(e[t]||0)-(i[t]||0)}function qp(e){return typeof e=="boolean"||typeof e=="number"||e===null?!e:(0,ge._)`!${bl(e)}`}ue.not=qp;var rw=jp(ue.operators.AND);function ow(...e){return e.reduce(rw)}ue.and=ow;var aw=jp(ue.operators.OR);function sw(...e){return e.reduce(aw)}ue.or=sw;function jp(e){return(i,t)=>i===ge.nil?t:t===ge.nil?i:(0,ge._)`${bl(i)} ${e} ${bl(t)}`}function bl(e){return e instanceof ge.Name?e:(0,ge._)`(${e})`}});var pe=g(de=>{"use strict";Object.defineProperty(de,"__esModule",{value:!0});de.checkStrictMode=de.getErrorPath=de.Type=de.useFunc=de.setEvaluated=de.evaluatedPropsToName=de.mergeEvaluated=de.eachItem=de.unescapeJsonPointer=de.escapeJsonPointer=de.escapeFragment=de.unescapeFragment=de.schemaRefOrVal=de.schemaHasRulesButRef=de.schemaHasRules=de.checkUnknownRules=de.alwaysValidSchema=de.toHash=void 0;var Ee=ee(),lw=Tr();function uw(e){let i={};for(let t of e)i[t]=!0;return i}de.toHash=uw;function cw(e,i){return typeof i=="boolean"?i:Object.keys(i).length===0?!0:(Rp(e,i),!Lp(i,e.self.RULES.all))}de.alwaysValidSchema=cw;function Rp(e,i=e.schema){let{opts:t,self:n}=e;if(!t.strictSchema||typeof i=="boolean")return;let r=n.RULES.keywords;for(let o in i)r[o]||Hp(e,`unknown keyword: "${o}"`)}de.checkUnknownRules=Rp;function Lp(e,i){if(typeof e=="boolean")return!e;for(let t in e)if(i[t])return!0;return!1}de.schemaHasRules=Lp;function dw(e,i){if(typeof e=="boolean")return!e;for(let t in e)if(t!=="$ref"&&i.all[t])return!0;return!1}de.schemaHasRulesButRef=dw;function pw({topSchemaRef:e,schemaPath:i},t,n,r){if(!r){if(typeof t=="number"||typeof t=="boolean")return t;if(typeof t=="string")return(0,Ee._)`${t}`}return(0,Ee._)`${e}${i}${(0,Ee.getProperty)(n)}`}de.schemaRefOrVal=pw;function fw(e){return Up(decodeURIComponent(e))}de.unescapeFragment=fw;function mw(e){return encodeURIComponent(Cl(e))}de.escapeFragment=mw;function Cl(e){return typeof e=="number"?`${e}`:e.replace(/~/g,"~0").replace(/\//g,"~1")}de.escapeJsonPointer=Cl;function Up(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}de.unescapeJsonPointer=Up;function hw(e,i){if(Array.isArray(e))for(let t of e)i(t);else i(e)}de.eachItem=hw;function Vp({mergeNames:e,mergeToName:i,mergeValues:t,resultToName:n}){return(r,o,a,s)=>{let l=a===void 0?o:a instanceof Ee.Name?(o instanceof Ee.Name?e(r,o,a):i(r,o,a),a):o instanceof Ee.Name?(i(r,a,o),o):t(o,a);return s===Ee.Name&&!(l instanceof Ee.Name)?n(r,l):l}}de.mergeEvaluated={props:Vp({mergeNames:(e,i,t)=>e.if((0,Ee._)`${t} !== true && ${i} !== undefined`,()=>{e.if((0,Ee._)`${i} === true`,()=>e.assign(t,!0),()=>e.assign(t,(0,Ee._)`${t} || {}`).code((0,Ee._)`Object.assign(${t}, ${i})`))}),mergeToName:(e,i,t)=>e.if((0,Ee._)`${t} !== true`,()=>{i===!0?e.assign(t,!0):(e.assign(t,(0,Ee._)`${t} || {}`),xl(e,t,i))}),mergeValues:(e,i)=>e===!0?!0:X(X({},e),i),resultToName:zp}),items:Vp({mergeNames:(e,i,t)=>e.if((0,Ee._)`${t} !== true && ${i} !== undefined`,()=>e.assign(t,(0,Ee._)`${i} === true ? true : ${t} > ${i} ? ${t} : ${i}`)),mergeToName:(e,i,t)=>e.if((0,Ee._)`${t} !== true`,()=>e.assign(t,i===!0?!0:(0,Ee._)`${t} > ${i} ? ${t} : ${i}`)),mergeValues:(e,i)=>e===!0?!0:Math.max(e,i),resultToName:(e,i)=>e.var("items",i)})};function zp(e,i){if(i===!0)return e.var("props",!0);let t=e.var("props",(0,Ee._)`{}`);return i!==void 0&&xl(e,t,i),t}de.evaluatedPropsToName=zp;function xl(e,i,t){Object.keys(t).forEach(n=>e.assign((0,Ee._)`${i}${(0,Ee.getProperty)(n)}`,!0))}de.setEvaluated=xl;var Bp={};function gw(e,i){return e.scopeValue("func",{ref:i,code:Bp[i.code]||(Bp[i.code]=new lw._Code(i.code))})}de.useFunc=gw;var vl=function(e){return e[e.Num=0]="Num",e[e.Str=1]="Str",e}(vl||(de.Type=vl={}));function _w(e,i,t){if(e instanceof Ee.Name){let n=i===vl.Num;return t?n?(0,Ee._)`"[" + ${e} + "]"`:(0,Ee._)`"['" + ${e} + "']"`:n?(0,Ee._)`"/" + ${e}`:(0,Ee._)`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return t?(0,Ee.getProperty)(e).toString():"/"+Cl(e)}de.getErrorPath=_w;function Hp(e,i,t=e.opts.strictSchema){if(t){if(i=`strict mode: ${i}`,t===!0)throw new Error(i);e.self.logger.warn(i)}}de.checkStrictMode=Hp});var Vt=g(wl=>{"use strict";Object.defineProperty(wl,"__esModule",{value:!0});var ot=ee(),yw={data:new ot.Name("data"),valCxt:new ot.Name("valCxt"),instancePath:new ot.Name("instancePath"),parentData:new ot.Name("parentData"),parentDataProperty:new ot.Name("parentDataProperty"),rootData:new ot.Name("rootData"),dynamicAnchors:new ot.Name("dynamicAnchors"),vErrors:new ot.Name("vErrors"),errors:new ot.Name("errors"),this:new ot.Name("this"),self:new ot.Name("self"),scope:new ot.Name("scope"),json:new ot.Name("json"),jsonPos:new ot.Name("jsonPos"),jsonLen:new ot.Name("jsonLen"),jsonPart:new ot.Name("jsonPart")};wl.default=yw});var Mr=g(at=>{"use strict";Object.defineProperty(at,"__esModule",{value:!0});at.extendErrors=at.resetErrorsCount=at.reportExtraError=at.reportError=at.keyword$DataError=at.keywordError=void 0;var ye=ee(),Sa=pe(),gt=Vt();at.keywordError={message:({keyword:e})=>(0,ye.str)`must pass "${e}" keyword validation`};at.keyword$DataError={message:({keyword:e,schemaType:i})=>i?(0,ye.str)`"${e}" keyword must be ${i} ($data)`:(0,ye.str)`"${e}" keyword is invalid ($data)`};function bw(e,i=at.keywordError,t,n){let{it:r}=e,{gen:o,compositeRule:a,allErrors:s}=r,l=Gp(e,i,t);n??(a||s)?Wp(o,l):Kp(r,(0,ye._)`[${l}]`)}at.reportError=bw;function vw(e,i=at.keywordError,t){let{it:n}=e,{gen:r,compositeRule:o,allErrors:a}=n,s=Gp(e,i,t);Wp(r,s),o||a||Kp(n,gt.default.vErrors)}at.reportExtraError=vw;function Cw(e,i){e.assign(gt.default.errors,i),e.if((0,ye._)`${gt.default.vErrors} !== null`,()=>e.if(i,()=>e.assign((0,ye._)`${gt.default.vErrors}.length`,i),()=>e.assign(gt.default.vErrors,null)))}at.resetErrorsCount=Cw;function xw({gen:e,keyword:i,schemaValue:t,data:n,errsCount:r,it:o}){if(r===void 0)throw new Error("ajv implementation error");let a=e.name("err");e.forRange("i",r,gt.default.errors,s=>{e.const(a,(0,ye._)`${gt.default.vErrors}[${s}]`),e.if((0,ye._)`${a}.instancePath === undefined`,()=>e.assign((0,ye._)`${a}.instancePath`,(0,ye.strConcat)(gt.default.instancePath,o.errorPath))),e.assign((0,ye._)`${a}.schemaPath`,(0,ye.str)`${o.errSchemaPath}/${i}`),o.opts.verbose&&(e.assign((0,ye._)`${a}.schema`,t),e.assign((0,ye._)`${a}.data`,n))})}at.extendErrors=xw;function Wp(e,i){let t=e.const("err",i);e.if((0,ye._)`${gt.default.vErrors} === null`,()=>e.assign(gt.default.vErrors,(0,ye._)`[${t}]`),(0,ye._)`${gt.default.vErrors}.push(${t})`),e.code((0,ye._)`${gt.default.errors}++`)}function Kp(e,i){let{gen:t,validateName:n,schemaEnv:r}=e;r.$async?t.throw((0,ye._)`new ${e.ValidationError}(${i})`):(t.assign((0,ye._)`${n}.errors`,i),t.return(!1))}var mn={keyword:new ye.Name("keyword"),schemaPath:new ye.Name("schemaPath"),params:new ye.Name("params"),propertyName:new ye.Name("propertyName"),message:new ye.Name("message"),schema:new ye.Name("schema"),parentSchema:new ye.Name("parentSchema")};function Gp(e,i,t){let{createErrors:n}=e.it;return n===!1?(0,ye._)`{}`:ww(e,i,t)}function ww(e,i,t={}){let{gen:n,it:r}=e,o=[Iw(r,t),Sw(e,t)];return $w(e,i,o),n.object(...o)}function Iw({errorPath:e},{instancePath:i}){let t=i?(0,ye.str)`${e}${(0,Sa.getErrorPath)(i,Sa.Type.Str)}`:e;return[gt.default.instancePath,(0,ye.strConcat)(gt.default.instancePath,t)]}function Sw({keyword:e,it:{errSchemaPath:i}},{schemaPath:t,parentSchema:n}){let r=n?i:(0,ye.str)`${i}/${e}`;return t&&(r=(0,ye.str)`${r}${(0,Sa.getErrorPath)(t,Sa.Type.Str)}`),[mn.schemaPath,r]}function $w(e,{params:i,message:t},n){let{keyword:r,data:o,schemaValue:a,it:s}=e,{opts:l,propertyName:u,topSchemaRef:c,schemaPath:p}=s;n.push([mn.keyword,r],[mn.params,typeof i=="function"?i(e):i||(0,ye._)`{}`]),l.messages&&n.push([mn.message,typeof t=="function"?t(e):t]),l.verbose&&n.push([mn.schema,a],[mn.parentSchema,(0,ye._)`${c}${p}`],[gt.default.data,o]),u&&n.push([mn.propertyName,u])}});var Xp=g(Rn=>{"use strict";Object.defineProperty(Rn,"__esModule",{value:!0});Rn.boolOrEmptySchema=Rn.topBoolOrEmptySchema=void 0;var Ew=Mr(),Pw=ee(),Tw=Vt(),kw={message:"boolean schema is false"};function Mw(e){let{gen:i,schema:t,validateName:n}=e;t===!1?Jp(e,!1):typeof t=="object"&&t.$async===!0?i.return(Tw.default.data):(i.assign((0,Pw._)`${n}.errors`,null),i.return(!0))}Rn.topBoolOrEmptySchema=Mw;function Ow(e,i){let{gen:t,schema:n}=e;n===!1?(t.var(i,!1),Jp(e)):t.var(i,!0)}Rn.boolOrEmptySchema=Ow;function Jp(e,i){let{gen:t,data:n}=e,r={gen:t,keyword:"false schema",data:n,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:e};(0,Ew.reportError)(r,kw,void 0,i)}});var Il=g(Ln=>{"use strict";Object.defineProperty(Ln,"__esModule",{value:!0});Ln.getRules=Ln.isJSONType=void 0;var Dw=["string","number","integer","boolean","null","object","array"],Nw=new Set(Dw);function Fw(e){return typeof e=="string"&&Nw.has(e)}Ln.isJSONType=Fw;function Aw(){let e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:$e(X({},e),{integer:!0,boolean:!0,null:!0}),rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}Ln.getRules=Aw});var Sl=g(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});Li.shouldUseRule=Li.shouldUseGroup=Li.schemaHasRulesForType=void 0;function qw({schema:e,self:i},t){let n=i.RULES.types[t];return n&&n!==!0&&Yp(e,n)}Li.schemaHasRulesForType=qw;function Yp(e,i){return i.rules.some(t=>Qp(e,t))}Li.shouldUseGroup=Yp;function Qp(e,i){var t;return e[i.keyword]!==void 0||((t=i.definition.implements)===null||t===void 0?void 0:t.some(n=>e[n]!==void 0))}Li.shouldUseRule=Qp});var Or=g(st=>{"use strict";Object.defineProperty(st,"__esModule",{value:!0});st.reportTypeError=st.checkDataTypes=st.checkDataType=st.coerceAndCheckDataType=st.getJSONTypes=st.getSchemaTypes=st.DataType=void 0;var jw=Il(),Vw=Sl(),Bw=Mr(),ae=ee(),Zp=pe(),Un=function(e){return e[e.Correct=0]="Correct",e[e.Wrong=1]="Wrong",e}(Un||(st.DataType=Un={}));function Rw(e){let i=ef(e.type);if(i.includes("null")){if(e.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!i.length&&e.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');e.nullable===!0&&i.push("null")}return i}st.getSchemaTypes=Rw;function ef(e){let i=Array.isArray(e)?e:e?[e]:[];if(i.every(jw.isJSONType))return i;throw new Error("type must be JSONType or JSONType[]: "+i.join(","))}st.getJSONTypes=ef;function Lw(e,i){let{gen:t,data:n,opts:r}=e,o=Uw(i,r.coerceTypes),a=i.length>0&&!(o.length===0&&i.length===1&&(0,Vw.schemaHasRulesForType)(e,i[0]));if(a){let s=El(i,n,r.strictNumbers,Un.Wrong);t.if(s,()=>{o.length?zw(e,i,o):Pl(e)})}return a}st.coerceAndCheckDataType=Lw;var tf=new Set(["string","number","integer","boolean","null"]);function Uw(e,i){return i?e.filter(t=>tf.has(t)||i==="array"&&t==="array"):[]}function zw(e,i,t){let{gen:n,data:r,opts:o}=e,a=n.let("dataType",(0,ae._)`typeof ${r}`),s=n.let("coerced",(0,ae._)`undefined`);o.coerceTypes==="array"&&n.if((0,ae._)`${a} == 'object' && Array.isArray(${r}) && ${r}.length == 1`,()=>n.assign(r,(0,ae._)`${r}[0]`).assign(a,(0,ae._)`typeof ${r}`).if(El(i,r,o.strictNumbers),()=>n.assign(s,r))),n.if((0,ae._)`${s} !== undefined`);for(let u of t)(tf.has(u)||u==="array"&&o.coerceTypes==="array")&&l(u);n.else(),Pl(e),n.endIf(),n.if((0,ae._)`${s} !== undefined`,()=>{n.assign(r,s),Hw(e,s)});function l(u){switch(u){case"string":n.elseIf((0,ae._)`${a} == "number" || ${a} == "boolean"`).assign(s,(0,ae._)`"" + ${r}`).elseIf((0,ae._)`${r} === null`).assign(s,(0,ae._)`""`);return;case"number":n.elseIf((0,ae._)`${a} == "boolean" || ${r} === null
|
|
3
3
|
|| (${a} == "string" && ${r} && ${r} == +${r})`).assign(s,(0,ae._)`+${r}`);return;case"integer":n.elseIf((0,ae._)`${a} === "boolean" || ${r} === null
|
|
4
4
|
|| (${a} === "string" && ${r} && ${r} == +${r} && !(${r} % 1))`).assign(s,(0,ae._)`+${r}`);return;case"boolean":n.elseIf((0,ae._)`${r} === "false" || ${r} === 0 || ${r} === null`).assign(s,!1).elseIf((0,ae._)`${r} === "true" || ${r} === 1`).assign(s,!0);return;case"null":n.elseIf((0,ae._)`${r} === "" || ${r} === 0 || ${r} === false`),n.assign(s,null);return;case"array":n.elseIf((0,ae._)`${a} === "string" || ${a} === "number"
|
|
@@ -24,5 +24,5 @@ hb-service start`)}}function R4(e,i){if(e&1&&(f(0,"span"),C(1),m()),e&2){let t=_
|
|
|
24
24
|
`),oi())},encapsulation:2})}return e})();var Fx=(()=>{class e{transform(t){return t.replace(/\$\{\{HOSTNAME\}\}/g,location.hostname)}static \u0275fac=function(n){return new(n||e)};static \u0275pipe=Qd({name:"interpolateMd",type:e,pure:!0})}return e})();var Ax=(e,i,t)=>({"fa-circle-check green-text":e,"fa-circle-exclamation red-text":i,"fa-circle-exclamation orange-text":t});function OL(e,i){if(e&1&&($(0,"markdown",5),w(1,"interpolateMd")),e&2){let t=_();b("data",S(1,1,t.schema.headerDisplay))}}function DL(e,i){if(e&1){let t=H();f(0,"button",31),w(1,"translate"),j("click",function(){A(t);let r=_().$implicit,o=_(2);return q(o.removeBlock(r.__uuid__))}),$(2,"i",32),m()}e&2&&b("ngbTooltip",S(1,1,"form.button_delete"))}function NL(e,i){if(e&1){let t=H();f(0,"div",19)(1,"div",20)(2,"div",21)(3,"h5",22),C(4),m(),f(5,"div",23),E(6,DL,3,3,"button",24),f(7,"button",25),w(8,"translate"),$(9,"i",26),m(),$(10,"i",27),w(11,"translate"),m()()(),f(12,"div",28)(13,"div",29)(14,"app-schema-form",30),De("dataChange",function(r){let o=A(t).$implicit;return Oe(o.config,r)||(o.config=r),q(r)}),j("isValid",function(r){let o=A(t).$index,a=_(2);return q(a.onIsValid(r,o))}),m()()()()}if(e&2){let t=i.$implicit,n=i.$index,r=_(2);b("ngbAccordionItem",t.__uuid__)("collapsed",r.show!==t.__uuid__)("id",t.__uuid__),d(4),L(t.name),d(2),P(r.plugin.name!=="homebridge-config-ui-x"&&r.show===t.__uuid__?6:-1),d(),b("ngbTooltip",S(8,10,"form.button_edit")),d(3),b("ngClass",At(14,Ax,r.formBlocksValid[n],r.strictValidation&&!r.formBlocksValid[n],!r.strictValidation&&!r.formBlocksValid[n]))("ngbTooltip",S(11,12,r.formBlocksValid[n]?"form.label_valid":r.strictValidation?"form.label_invalid_strict":"form.label_invalid")),d(4),b("configSchema",r.schema),Me("data",t.config)}}function FL(e,i){if(e&1){let t=H();f(0,"div",18),j("show",function(r){A(t);let o=_();return q(o.blockShown(r))})("hide",function(r){A(t);let o=_();return q(o.blockHidden(r))}),pt(1,NL,15,18,"div",19,dt),m()}if(e&2){let t=_();b("closeOthers",!0),d(),ft(t.pluginConfig)}}function AL(e,i){e&1&&$(0,"app-homebridge-deconz")}function qL(e,i){e&1&&$(0,"app-homebridge-hue")}function jL(e,i){if(e&1){let t=H();f(0,"div",7)(1,"app-schema-form",30),De("dataChange",function(r){A(t);let o=_();return Oe(o.pluginConfig[0].config,r)||(o.pluginConfig[0].config=r),q(r)}),j("isValid",function(r){A(t);let o=_();return q(o.onIsValid(r,0))}),m(),E(2,AL,1,0,"app-homebridge-deconz"),E(3,qL,1,0,"app-homebridge-hue"),m()}if(e&2){let t=_();d(),b("configSchema",t.schema),Me("data",t.pluginConfig[0].config),d(),P(t.plugin.name==="homebridge-deconz"?2:-1),d(),P(t.plugin.name==="homebridge-hue"?3:-1)}}function VL(e,i){if(e&1&&($(0,"markdown",5),w(1,"interpolateMd")),e&2){let t=_();b("data",S(1,1,t.schema.footerDisplay))}}function BL(e,i){if(e&1&&($(0,"i",14),w(1,"translate")),e&2){let t=_();b("ngClass",At(4,Ax,t.formIsValid,t.strictValidation&&!t.formIsValid,!t.strictValidation&&!t.formIsValid))("ngbTooltip",S(1,2,t.formIsValid?"form.label_valid":t.strictValidation?"form.label_invalid_strict":"form.label_invalid"))}}function RL(e,i){if(e&1){let t=H();f(0,"button",33),j("click",function(){A(t);let r=_();return q(r.addBlock())}),$(1,"i",34),m()}}function LL(e,i){e&1&&(f(0,"span"),C(1),w(2,"translate"),m()),e&2&&(d(),L(S(2,1,"form.button_save")))}function UL(e,i){e&1&&$(0,"i",17)}var qx=(()=>{class e{$activeModal=k(qe);$api=k(ve);$plugin=k(nn);$modal=k(et);$settings=k(Ve);$toastr=k(we);$translate=k(xe);plugin;schema;pluginAlias;pluginType;pluginConfig=[];form={};show="";saveInProgress;childBridges=[];isFirstSave=!1;formBlocksValid={};formIsValid=!0;strictValidation=!1;ngOnInit(){this.pluginAlias=this.schema.pluginAlias,this.pluginType=this.schema.pluginType,this.strictValidation=this.schema.strictValidation,this.loadPluginConfig()}save(){return K(this,null,function*(){this.saveInProgress=!0;let t=this.pluginConfig.map(n=>n.config);try{let n=yield ce(this.$api.post(`/config-editor/plugin/${encodeURIComponent(this.plugin.name)}`,t));if(this.saveInProgress=!1,this.plugin.name==="homebridge-config-ui-x")this.$settings.getAppSettings().catch(()=>{});else if(this.isFirstSave&&this.$settings.env.recommendChildBridges&&n[0]?.platform){this.$activeModal.close(),this.$plugin.bridgeSettings(this.plugin,!0);return}if(!["homebridge","homebridge-config-ui-x"].includes(this.plugin.name)&&(yield this.getChildBridges(),this.childBridges.length>0)){this.$activeModal.close();let r=this.$modal.open(Vn,{size:"lg",backdrop:"static"});r.componentInstance.bridges=this.childBridges.map(o=>({name:o.name,username:o.username}));return}this.$activeModal.close(),this.$modal.open(si,{size:"lg",backdrop:"static"})}catch(n){this.saveInProgress=!1,console.error(n),this.$toastr.error(this.$translate.instant("config.failed_to_save_config"),this.$translate.instant("toast.title_error"))}})}blockShown(t){this.show=t;for(let n of this.pluginConfig)n.name=n.config.name||n.name}blockHidden(t){this.show===t&&(this.show="")}addBlock(){let t=Js();this.pluginConfig.push({__uuid__:t,name:this.schema.pluginAlias,config:{[this.pluginType]:this.schema.pluginAlias}}),this.formBlocksValid[this.pluginConfig.length-1]=!1,this.blockShown(t)}removeBlock(t){let n=this.pluginConfig.findIndex(r=>r.__uuid__===t);this.pluginConfig.splice(n,1),delete this.formBlocksValid[n],Object.keys(this.formBlocksValid).length||(this.formIsValid=!0)}onIsValid(t,n){this.formBlocksValid[n]=t,this.formIsValid=Object.values(this.formBlocksValid).every(r=>r)}dismissModal(){this.$activeModal.dismiss("Dismiss")}closeModal(){this.$activeModal.close()}loadPluginConfig(){this.$api.get(`/config-editor/plugin/${encodeURIComponent(this.plugin.name)}`).subscribe({next:t=>{for(let n of t){let r={__uuid__:Js(),name:n.name||this.schema.pluginAlias,config:n};this.pluginConfig.push(r)}this.pluginConfig.length?this.show=this.pluginConfig[0].__uuid__:(this.isFirstSave=!0,this.addBlock()),this.plugin.name==="homebridge-hue"&&this.pluginConfig.length&&this.homebridgeHueFix(this.pluginConfig[0].config)},error:t=>{console.error(t),this.$toastr.error(t.error?.message||this.$translate.instant("plugins.config.load_error"),this.$translate.instant("toast.title_error"))}})}homebridgeHueFix(t){if(this.schema.schema.properties.users={type:"object",properties:{}},!(!t.users||typeof t.users!="object"))for(let n of Object.keys(t.users))this.schema.schema.properties.users.properties[n]={type:"string"}}getChildBridges(){return K(this,null,function*(){try{(yield ce(this.$api.get("/status/homebridge/child-bridges"))).forEach(n=>{this.plugin.name===n.plugin&&this.childBridges.push(n)})}catch(t){console.error(t),this.$toastr.error(t.message,this.$translate.instant("toast.title_error")),this.childBridges=[]}})}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=Q({type:e,selectors:[["ng-component"]],inputs:{plugin:"plugin",schema:"schema"},decls:24,vars:18,consts:[[1,"modal-content"],[1,"modal-header"],[1,"modal-title"],["type","button","data-bs-dismiss","modal",1,"btn-close",3,"click","disabled"],[1,"modal-body","pb-0"],[1,"plugin-md",3,"data"],["ngbAccordion","",3,"closeOthers"],[1,"card","card-body"],[1,"mt-3"],[1,"modal-footer","justify-content-between"],[1,"text-start"],["type","button","data-bs-dismiss","modal",1,"btn","btn-elegant",3,"click","disabled"],[1,"text-center"],[1,"text-end","d-flex","align-items-center","justify-content-end"],["container","modal","placement","top","openDelay","150","triggers","hover",1,"fa","fa-fw","fa-xl","me-2",3,"ngClass","ngbTooltip"],["type","button","data-dismiss","modal",1,"btn","btn-elegant","me-2"],["type","button","data-bs-dismiss","modal",1,"btn","btn-primary",3,"click","disabled"],[1,"fas","fa-fw","fa-spinner","fa-pulse"],["ngbAccordion","",3,"show","hide","closeOthers"],[1,"card",3,"ngbAccordionItem","collapsed","id"],["ngbAccordionHeader","",1,"card-header"],[1,"d-flex","align-items-center","justify-content-between"],[1,"m-0"],[1,"d-flex","align-items-center"],["container","modal","placement","left","openDelay","150","triggers","hover",1,"btn","btn-danger","ms-2",3,"ngbTooltip"],["ngbAccordionToggle","","container","modal","placement","left","openDelay","150","triggers","hover",1,"btn","btn-primary","ms-2","me-2",3,"ngbTooltip"],[1,"fa","fa-fw","fa-edit"],["container","modal","placement","left","openDelay","150","triggers","hover",1,"fa","fa-fw","fa-xl",3,"ngClass","ngbTooltip"],["ngbAccordionCollapse",""],["ngbAccordionBody","",1,"card-body"],[3,"dataChange","isValid","configSchema","data"],["container","modal","placement","left","openDelay","150","triggers","hover",1,"btn","btn-danger","ms-2",3,"click","ngbTooltip"],[1,"fa","fa-fw","fa-trash"],["type","button","data-dismiss","modal",1,"btn","btn-elegant","me-2",3,"click"],[1,"fa","fa-fw","fa-plus"]],template:function(n,r){n&1&&(f(0,"div",0)(1,"div",1)(2,"h5",2),C(3),m(),f(4,"button",3),w(5,"translate"),j("click",function(){return r.dismissModal()}),m()(),f(6,"div",4),E(7,OL,2,3,"markdown",5),E(8,FL,3,1,"div",6),E(9,jL,4,4,"div",7),f(10,"div",8),E(11,VL,2,3,"markdown",5),m()(),f(12,"div",9)(13,"div",10)(14,"button",11),j("click",function(){return r.closeModal()}),C(15),w(16,"translate"),m()(),$(17,"div",12),f(18,"div",13),E(19,BL,2,8,"i",14),E(20,RL,2,0,"button",15),f(21,"button",16),j("click",function(){return r.save()}),E(22,LL,3,3,"span"),E(23,UL,1,0,"i",17),m()()()()),n&2&&(d(3),L(r.plugin.displayName||r.plugin.name),d(),b("disabled",r.saveInProgress),G("aria-label",S(5,14,"form.button_close")),d(3),P(r.schema.headerDisplay?7:-1),d(),P(r.pluginConfig.length&&!r.schema.singular?8:-1),d(),P(r.pluginConfig.length&&r.schema.singular?9:-1),d(2),P(r.schema.footerDisplay?11:-1),d(3),b("disabled",r.saveInProgress),d(),B(" ",S(16,16,"form.button_close")," "),d(4),P(r.schema.singular?19:-1),d(),P(r.schema.singular?-1:20),d(),b("disabled",r.saveInProgress||!r.formIsValid&&r.strictValidation),d(),P(r.saveInProgress?-1:22),d(),P(r.saveInProgress?23:-1))},dependencies:[ma,fa,ha,da,ca,ua,jn,sa,aa,qt,Ks,Ox,Nx,la,je,Fx],styles:[".manage-plugin-config-external-icons[_ngcontent-%COMP%]{font-size:1.5rem;font-weight:700;line-height:1;color:#000;opacity:.5;background-color:transparent;border:0}"]})}return e})();var zL=(e,i)=>({"green-text":e,"grey-text":i}),HL=(e,i)=>({"btn-danger":e,"btn-elegant":i}),WL=(e,i,t)=>({"fa-broom":e,"fa-undo":i,"fa-spinner fa-pulse":t});function KL(e,i){e&1&&(f(0,"div",12),$(1,"i",13),m(),f(2,"p",14),C(3),w(4,"translate"),m()),e&2&&(d(3),L(S(4,1,"reset.bridge_accessories.empty")))}function GL(e,i){if(e&1){let t=H();f(0,"li",18)(1,"span"),C(2),$(3,"br"),f(4,"small",19),$(5,"i",20),C(6),w(7,"translate"),f(8,"span",21),C(9),m()()(),f(10,"button",22),w(11,"translate"),j("click",function(){let r=A(t).$implicit,o=_(2);return q(o.toggleList(r._id))}),$(12,"i",23),m()()}if(e&2){let t=i.$implicit,n=_(2);d(2),B(" ",t.name," "),d(3),b("ngClass",ln(12,zL,t._isPaired,!t._isPaired)),d(),B(" ",S(7,8,t._isPaired?"status.widget.qr_paired":"status.widget.qr_unpaired")," \xB7 "),d(3),L(t._username),d(),b("disabled",n.clicked)("ngClass",ln(15,HL,!n.toDelete.includes(t._id),n.toDelete.includes(t._id))),G("aria-label",S(11,10,"form.button_delete")),d(2),b("ngClass",At(18,WL,!n.toDelete.includes(t._id),n.toDelete.includes(t._id)&&!n.clicked,n.toDelete.includes(t._id)&&n.clicked))}}function JL(e,i){if(e&1&&(f(0,"div",12),$(1,"i",15),m(),f(2,"ul",16)(3,"li"),C(4),w(5,"translate"),m(),f(6,"li"),C(7),w(8,"translate"),m()(),f(9,"ul",17),pt(10,GL,13,22,"li",18,dt),m()),e&2){let t=_();d(4),L(S(5,2,"reset.bridge_accessories.list_1")),d(3),L(S(8,4,"reset.clear_cache_single.list_3")),d(3),ft(t.pairings)}}function XL(e,i){if(e&1){let t=H();f(0,"button",24),j("click",function(){A(t);let r=_();return q(r.dismissModal())}),C(1),w(2,"translate"),m()}if(e&2){let t=_();b("disabled",t.clicked),d(),B(" ",S(2,2,"form.button_close")," ")}}function YL(e,i){if(e&1){let t=H();f(0,"button",25),j("click",function(){A(t);let r=_();return q(r.dismissModal())}),C(1),w(2,"translate"),m()}e&2&&(d(),B(" ",S(2,1,"form.button_close")," "))}function QL(e,i){if(e&1&&C(0),e&2){let t=_(3);B(" (",t.toDelete.length,") ")}}function ZL(e,i){if(e&1&&(C(0),w(1,"translate"),E(2,QL,1,1)),e&2){let t=_(2);B(" ",S(1,2,"form.button_remove")," "),d(2),P(t.toDelete.length>0?2:-1)}}function e9(e,i){e&1&&$(0,"i",27)}function t9(e,i){if(e&1){let t=H();f(0,"button",26),j("click",function(){A(t);let r=_();return q(r.cleanBridges())}),E(1,ZL,3,4),E(2,e9,1,0,"i",27),m()}if(e&2){let t=_();b("disabled",!t.toDelete.length||t.clicked),d(),P(t.clicked?-1:1),d(),P(t.clicked?2:-1)}}var jx=(()=>{class e{$activeModal=k(qe);$api=k(ve);$router=k(ai);$toastr=k(we);$translate=k(xe);childBridges=[];clicked=!1;pairings=[];toDelete=[];ngOnInit(){this.loadPairings()}toggleList(t){this.toDelete.includes(t)?this.toDelete=this.toDelete.filter(n=>n!==t):this.toDelete.push(t)}cleanBridges(){return this.clicked=!0,this.$api.delete("/server/pairings/accessories",{body:this.toDelete.map(t=>({id:t}))}).subscribe({next:()=>{this.$toastr.success(this.$translate.instant("reset.accessory_ind.done"),this.$translate.instant("toast.title_success")),this.$activeModal.close(),this.$router.navigate(["/restart"],{queryParams:{restarting:!0}})},error:t=>{this.clicked=!1,console.error(t),this.$toastr.error(this.$translate.instant("reset.accessory_ind.fail"),this.$translate.instant("toast.title_error"))}})}dismissModal(){this.$activeModal.dismiss("Dismiss")}loadPairings(){return K(this,null,function*(){try{this.pairings=(yield ce(this.$api.get("/server/pairings"))).filter(t=>t._category==="bridge"&&!t._main&&this.childBridges.find(n=>n.username===t._username)).sort((t,n)=>t.name.localeCompare(n.name))}catch(t){console.error(t),this.$toastr.error(this.$translate.instant("settings.unpair_bridge.load_error"),this.$translate.instant("toast.title_error")),this.$activeModal.close()}})}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=Q({type:e,selectors:[["ng-component"]],inputs:{childBridges:"childBridges"},decls:17,vars:12,consts:[[1,"modal-content"],[1,"modal-header"],[1,"modal-title"],["type","button","data-bs-dismiss","modal",1,"btn-close",3,"click","disabled"],[1,"modal-body"],[1,"modal-footer","justify-content-between"],[1,"text-start"],["type","button","data-bs-dismiss","modal",1,"btn","btn-elegant",3,"disabled"],[1,"text-center"],["type","button","data-bs-dismiss","modal",1,"btn","btn-elegant"],[1,"text-end"],["type","button","data-bs-dismiss","modal",1,"btn","btn-danger",3,"disabled"],[1,"text-center","mb-3"],[1,"fas","fa-fw","fa-circle-check","primary-text",2,"font-size","75px"],[1,"mb-0","text-center"],[1,"fas","fa-fw","fa-broom","primary-text",2,"font-size","75px"],[1,"mb-3"],[1,"list-group","list-group-box","mb-0"],[1,"list-group-item","d-flex","justify-content-between","align-items-center"],[1,"grey-text"],[1,"fas","fa-fw","fa-link",3,"ngClass"],[1,"font-monospace"],[1,"btn","btn-danger","m-0","ms-3",3,"click","disabled","ngClass"],[1,"fas","fa-fw",3,"ngClass"],["type","button","data-bs-dismiss","modal",1,"btn","btn-elegant",3,"click","disabled"],["type","button","data-bs-dismiss","modal",1,"btn","btn-elegant",3,"click"],["type","button","data-bs-dismiss","modal",1,"btn","btn-danger",3,"click","disabled"],[1,"fas","fa-fw","fa-spinner","fa-pulse"]],template:function(n,r){n&1&&(f(0,"div",0)(1,"div",1)(2,"h5",2),C(3),w(4,"translate"),m(),f(5,"button",3),w(6,"translate"),j("click",function(){return r.dismissModal()}),m()(),f(7,"div",4),E(8,KL,5,3),E(9,JL,12,6),m(),f(10,"div",5)(11,"div",6),E(12,XL,3,4,"button",7),m(),f(13,"div",8),E(14,YL,3,3,"button",9),m(),f(15,"div",10),E(16,t9,3,3,"button",11),m()()()),n&2&&(d(3),L(S(4,8,"child_bridge.reset_accessories")),d(2),b("disabled",r.clicked),G("aria-label",S(6,10,"form.button_close")),d(3),P(r.pairings.length===0?8:-1),d(),P(r.pairings.length>0?9:-1),d(3),P(r.pairings.length>0?12:-1),d(2),P(r.pairings.length===0?14:-1),d(2),P(r.pairings.length>0?16:-1))},dependencies:[qt,je],encapsulation:2})}return e})();var Bx=Le(wp(),1),Rx=Le(Ip(),1),Lx=Le($r(),1);var i9=e=>({prefix:e}),n9=e=>({link:e}),Vx=(e,i,t,n)=>({"fa-circle-o":e,"fa-spinner fa-pulse":i,"fa-check-circle green-text":t,"fa-times-circle red-text":n}),r9=(e,i,t)=>({"fa-circle-o":e,"fa-spinner fa-pulse":i,"fa-times-circle red-text":t});function o9(e,i){e&1&&(f(0,"li"),C(1),w(2,"translate"),m()),e&2&&(d(),L(S(2,1,"plugins.manage.scoped.process")))}function a9(e,i){e&1&&($(0,"li",8),w(1,"translate"),f(2,"li"),C(3),w(4,"translate"),m()),e&2&&(b("innerHTML",S(1,2,"plugins.manage.scoped.windows"),he),d(3),L(S(4,4,"plugins.manage.manual_update_command")))}function s9(e,i){if(e&1&&(f(0,"pre",9),C(1),m()),e&2){let t=_();d(),ra(`hb-service stop
|
|
25
25
|
npm install -g `,t.plugin.newHbScope.to,"@",t.plugin.newHbScope.switch,`
|
|
26
26
|
npm uninstall -g `,t.plugin.newHbScope.from,`
|
|
27
|
-
hb-service start`)}}function l9(e,i){if(e&1&&(f(0,"div",10)(1,"ul",18)(2,"li"),$(3,"i",19),C(4),w(5,"translate"),f(6,"span",20),C(7),m()(),f(8,"li"),$(9,"i",19),C(10),w(11,"translate"),f(12,"span",20),C(13),m()(),f(14,"li"),$(15,"i",19),C(16),w(17,"translate"),m()()()),e&2){let t=_();d(3),b("ngClass",Nn(14,Vx,!t.installing&&!t.installed&&!t.failure,t.installing,t.installed&&!t.failure,!t.installed&&t.failure)),d(),B(" ",S(5,8,"plugins.manage.install")," "),d(3),L(t.plugin.newHbScope.to),d(2),b("ngClass",Nn(19,Vx,!t.uninstalling&&!t.uninstalled&&!t.failure,t.uninstalling,t.uninstalled&&!t.failure,!t.uninstalled&&t.failure)),d(),B(" ",S(11,10,"plugins.manage.uninstall")," "),d(3),L(t.plugin.newHbScope.from),d(2),b("ngClass",At(24,r9,!t.restarting&&!t.failure,t.restarting,t.failure)),d(),B(" ",S(17,12,"menu.hbrestart.title")," ")}}function u9(e,i){if(e&1){let t=H();f(0,"div",11)(1,"p"),C(2),w(3,"translate"),m(),f(4,"p",20),C(5),m(),f(6,"button",21),j("click",function(){A(t);let r=_();return q(r.downloadLogFile())}),C(7),w(8,"translate"),m()()}if(e&2){let t=_();d(2),L(S(3,3,"plugins.manage.scoped.error")),d(3),L(t.failure),d(2),L(S(8,5,"form.button_download"))}}function c9(e,i){if(e&1){let t=H();f(0,"button",22),w(1,"translate"),j("click",function(){A(t);let r=_();return q(r.dismissModal())}),C(2),w(3,"translate"),m()}if(e&2){let t=_();b("disabled",t.installing||t.uninstalling||t.restarting),G("aria-label",S(1,3,"form.button_close")),d(2),B(" ",S(3,5,"form.button_close")," ")}}function d9(e,i){if(e&1){let t=H();f(0,"button",22),w(1,"translate"),j("click",function(){A(t);let r=_();return q(r.dismissModal())}),C(2),w(3,"translate"),m()}if(e&2){let t=_();b("disabled",t.installing||t.uninstalling||t.restarting),G("aria-label",S(1,3,"form.button_close")),d(2),B(" ",S(3,5,"form.button_close")," ")}}function p9(e,i){e&1&&(f(0,"span"),C(1),w(2,"translate"),m()),e&2&&(d(),B(" ",S(2,1,"form.button_continue")," "))}function f9(e,i){e&1&&$(0,"i",24)}function m9(e,i){if(e&1){let t=H();f(0,"button",23),j("click",function(){A(t);let r=_();return q(r.doSwitch())}),E(1,p9,3,3,"span"),E(2,f9,1,0,"i",24),m()}if(e&2){let t=_();b("disabled",t.installing||t.uninstalling||t.restarting||!t.onlineUpdateOk||t.failure),d(),P(!t.installing&&!t.uninstalling&&!t.restarting?1:-1),d(),P((t.installing||t.uninstalling||t.restarting)&&!t.failure?2:-1)}}var Ux=(()=>{class e{$activeModal=k(qe);$api=k(ve);$router=k(ai);$settings=k(Ve);$toastr=k(we);$translate=k(xe);$ws=k(Bi);io;term;termTarget;fitAddon=new Bx.FitAddon;errorLog="";plugin;installing=!1;installed=!1;uninstalling=!1;uninstalled=!1;restarting=!1;failure="";onlineUpdateOk;moreInfo='<a href="https://github.com/homebridge/plugins/wiki/Scoped-Plugins" target="_blank"><i class="fa fa-fw fa-external-link-alt primary-text"></i></a>';prefix='<span class="font-monospace">@homebridge-plugins/</span>';constructor(){this.term=new Rx.Terminal({theme:{background:"#00000000",foreground:this.$settings.actualLightingMode==="light"?"#333333":"#eeeeee",cursor:"#d2d2d2"},allowTransparency:!0}),this.term.loadAddon(this.fitAddon)}ngOnInit(){this.onlineUpdateOk=this.$settings.env.platform!=="win32",this.io=this.$ws.connectToNamespace("plugins"),this.termTarget=document.getElementById("plugin-output"),this.term.open(this.termTarget),this.fitAddon.fit(),this.io.socket.on("stdout",t=>{this.term.write(t);let n=t.toString().replace(/\x1B\[(\d{1,3}(;\d{1,2})?)?[mGK]/g,"").trimEnd();n&&(this.errorLog+=`${n}\r
|
|
27
|
+
hb-service start`)}}function l9(e,i){if(e&1&&(f(0,"div",10)(1,"ul",18)(2,"li"),$(3,"i",19),C(4),w(5,"translate"),f(6,"span",20),C(7),m()(),f(8,"li"),$(9,"i",19),C(10),w(11,"translate"),f(12,"span",20),C(13),m()(),f(14,"li"),$(15,"i",19),C(16),w(17,"translate"),m()()()),e&2){let t=_();d(3),b("ngClass",Nn(14,Vx,!t.installing&&!t.installed&&!t.failure,t.installing,t.installed&&!t.failure,!t.installed&&t.failure)),d(),B(" ",S(5,8,"plugins.manage.install")," "),d(3),L(t.plugin.newHbScope.to),d(2),b("ngClass",Nn(19,Vx,!t.uninstalling&&!t.uninstalled&&!t.failure,t.uninstalling,t.uninstalled&&!t.failure,!t.uninstalled&&t.failure)),d(),B(" ",S(11,10,"plugins.manage.uninstall")," "),d(3),L(t.plugin.newHbScope.from),d(2),b("ngClass",At(24,r9,!t.restarting&&!t.failure,t.restarting,t.failure)),d(),B(" ",S(17,12,"menu.hbrestart.title")," ")}}function u9(e,i){if(e&1){let t=H();f(0,"div",11)(1,"p"),C(2),w(3,"translate"),m(),f(4,"p",20),C(5),m(),f(6,"button",21),j("click",function(){A(t);let r=_();return q(r.downloadLogFile())}),C(7),w(8,"translate"),m()()}if(e&2){let t=_();d(2),L(S(3,3,"plugins.manage.scoped.error")),d(3),L(t.failure),d(2),L(S(8,5,"form.button_download"))}}function c9(e,i){if(e&1){let t=H();f(0,"button",22),w(1,"translate"),j("click",function(){A(t);let r=_();return q(r.dismissModal())}),C(2),w(3,"translate"),m()}if(e&2){let t=_();b("disabled",t.installing||t.uninstalling||t.restarting),G("aria-label",S(1,3,"form.button_close")),d(2),B(" ",S(3,5,"form.button_close")," ")}}function d9(e,i){if(e&1){let t=H();f(0,"button",22),w(1,"translate"),j("click",function(){A(t);let r=_();return q(r.dismissModal())}),C(2),w(3,"translate"),m()}if(e&2){let t=_();b("disabled",t.installing||t.uninstalling||t.restarting),G("aria-label",S(1,3,"form.button_close")),d(2),B(" ",S(3,5,"form.button_close")," ")}}function p9(e,i){e&1&&(f(0,"span"),C(1),w(2,"translate"),m()),e&2&&(d(),B(" ",S(2,1,"form.button_continue")," "))}function f9(e,i){e&1&&$(0,"i",24)}function m9(e,i){if(e&1){let t=H();f(0,"button",23),j("click",function(){A(t);let r=_();return q(r.doSwitch())}),E(1,p9,3,3,"span"),E(2,f9,1,0,"i",24),m()}if(e&2){let t=_();b("disabled",t.installing||t.uninstalling||t.restarting||!t.onlineUpdateOk||t.failure),d(),P(!t.installing&&!t.uninstalling&&!t.restarting?1:-1),d(),P((t.installing||t.uninstalling||t.restarting)&&!t.failure?2:-1)}}var Ux=(()=>{class e{$activeModal=k(qe);$api=k(ve);$router=k(ai);$settings=k(Ve);$toastr=k(we);$translate=k(xe);$ws=k(Bi);io;term;termTarget;fitAddon=new Bx.FitAddon;errorLog="";plugin;installing=!1;installed=!1;uninstalling=!1;uninstalled=!1;restarting=!1;failure="";onlineUpdateOk;moreInfo='<a href="https://github.com/homebridge/plugins/wiki/Scoped-Plugins" target="_blank"><i class="fa fa-fw fa-external-link-alt primary-text"></i></a>';prefix='<span class="font-monospace">@homebridge-plugins/</span>';constructor(){this.term=new Rx.Terminal({theme:{background:"#00000000",foreground:this.$settings.actualLightingMode==="light"?"#333333":"#eeeeee",cursor:"#d2d2d2",selectionBackground:"#d2d2d2"},allowTransparency:!0,allowProposedApi:!0}),this.term.loadAddon(this.fitAddon)}ngOnInit(){this.onlineUpdateOk=this.$settings.env.platform!=="win32",this.io=this.$ws.connectToNamespace("plugins"),this.termTarget=document.getElementById("plugin-output"),this.term.open(this.termTarget),this.fitAddon.fit(),this.io.socket.on("stdout",t=>{this.term.write(t);let n=t.toString().replace(/\x1B\[(\d{1,3}(;\d{1,2})?)?[mGK]/g,"").trimEnd();n&&(this.errorLog+=`${n}\r
|
|
28
28
|
`)})}doSwitch(){this.installing=!0,this.io.request("install",{name:this.plugin.newHbScope.to,version:this.plugin.newHbScope.switch,termCols:this.term.cols,termRows:this.term.rows}).subscribe({next:()=>{this.installing=!1,this.installed=!0,this.uninstalling=!0,this.io.request("uninstall",{name:this.plugin.newHbScope.from,termCols:this.term.cols,termRows:this.term.rows}).subscribe({next:()=>{this.uninstalling=!1,this.uninstalled=!0,this.restarting=!0,this.$api.put("/platform-tools/hb-service/set-full-service-restart-flag",{}).subscribe({next:()=>{this.$activeModal.close(),this.$router.navigate(["/restart"])},error:t=>{this.restarting=!1,this.failure=t.message,console.error(t),this.$toastr.error(t.message,this.$translate.instant("toast.title_error"))}})},error:t=>{this.uninstalling=!1,this.failure=t.message,console.error(t),this.$toastr.error(t.message,this.$translate.instant("toast.title_error"))}})},error:t=>{this.installing=!1,this.failure=t.message,console.error(t),this.$toastr.error(t.message,this.$translate.instant("toast.title_error"))}})}downloadLogFile(){let t=new Blob([this.errorLog],{type:"text/plain;charset=utf-8"});(0,Lx.saveAs)(t,`${this.plugin.name}-error.log`)}ngOnDestroy(){this.io.end(),this.term.dispose()}dismissModal(){this.$activeModal.dismiss("Dismiss")}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=Q({type:e,selectors:[["ng-component"]],inputs:{plugin:"plugin"},decls:31,vars:31,consts:[[1,"modal-content"],[1,"modal-header"],[1,"modal-title"],["type","button","data-bs-dismiss","modal",1,"btn-close",3,"click","disabled"],[1,"modal-body"],[1,"mb-3","text-center"],[1,"fas","fa-fw","fa-arrow-right-arrow-left","primary-text",2,"font-size","75px"],[1,"mb-0"],[3,"innerHTML"],[1,"mt-3","mb-0"],[1,"text-center"],[1,"alert","alert-error","mb-0"],["id","plugin-output",1,"mb-0",3,"hidden"],[1,"modal-footer","justify-content-between"],[1,"text-start"],["type","button","data-bs-dismiss","modal",1,"btn","btn-elegant",3,"disabled"],[1,"text-end"],["type","button","data-bs-dismiss","modal",1,"btn","btn-primary",3,"disabled"],[1,"d-inline-block","text-start","mt-3","mb-3",2,"list-style-type","none"],[1,"fa","fa-fw",3,"ngClass"],[1,"font-monospace"],[1,"btn","btn-primary","mb-0",3,"click"],["type","button","data-bs-dismiss","modal",1,"btn","btn-elegant",3,"click","disabled"],["type","button","data-bs-dismiss","modal",1,"btn","btn-primary",3,"click","disabled"],[1,"fas","fa-fw","fa-spinner","fa-pulse"]],template:function(n,r){n&1&&(f(0,"div",0)(1,"div",1)(2,"h5",2),C(3),w(4,"translate"),m(),f(5,"button",3),w(6,"translate"),j("click",function(){return r.dismissModal()}),m()(),f(7,"div",4)(8,"div",5),$(9,"i",6),m(),f(10,"ul",7),$(11,"li",8),w(12,"translate"),f(13,"li"),C(14),w(15,"translate"),m(),$(16,"li",8),w(17,"translate"),E(18,o9,3,3,"li"),E(19,a9,5,6),m(),E(20,s9,2,3,"pre",9),E(21,l9,18,28,"div",10),E(22,u9,9,7,"div",11),$(23,"div",12),m(),f(24,"div",13)(25,"div",14),E(26,c9,4,7,"button",15),m(),f(27,"div",10),E(28,d9,4,7,"button",15),m(),f(29,"div",16),E(30,m9,3,3,"button",17),m()()()),n&2&&(d(3),L(S(4,15,"plugins.manage.scoped.switch")),d(2),b("disabled",r.installing||r.uninstalling||r.restarting),G("aria-label",S(6,17,"form.button_close")),d(6),b("innerHTML",Ue(12,19,"plugins.manage.scoped.info_1",Kt(27,i9,r.prefix)),he),d(3),L(S(15,22,"plugins.manage.scoped_message")),d(2),b("innerHTML",Ue(17,24,"plugins.manage.scoped.info_2",Kt(29,n9,r.moreInfo)),he),d(2),P(r.onlineUpdateOk?18:-1),d(),P(r.onlineUpdateOk?-1:19),d(),P(r.onlineUpdateOk?-1:20),d(),P(r.onlineUpdateOk?21:-1),d(),P(r.failure?22:-1),d(),b("hidden",!r.onlineUpdateOk||r.failure),d(3),P(r.onlineUpdateOk?26:-1),d(2),P(r.onlineUpdateOk?-1:28),d(2),P(r.onlineUpdateOk?30:-1))},dependencies:[qt,je],styles:["#plugin-output[_ngcontent-%COMP%]{height:150px;overflow-y:auto;overflow-x:hidden}"]})}return e})();var h9=e=>({pluginName:e}),g9=e=>({count:e});function _9(e,i){e&1&&(f(0,"div",5),$(1,"i",13),m())}function y9(e,i){e&1&&(C(0),w(1,"translate")),e&2&&B(" ",S(1,1,"plugins.uninstall_remove_child_bridge")," ")}function b9(e,i){if(e&1&&(C(0),w(1,"translate")),e&2){let t=_(4);B(" ",Ue(1,1,"plugins.uninstall_remove_child_bridges",Kt(4,g9,t.childBridges.length))," ")}}function v9(e,i){if(e&1){let t=H();f(0,"label",24)(1,"input",25),De("ngModelChange",function(r){A(t);let o=_(3);return Oe(o.removeChildBridges,r)||(o.removeChildBridges=r),q(r)}),m(),E(2,y9,2,3),E(3,b9,2,6),$(4,"span",23),m()}if(e&2){let t=_(3);d(),Me("ngModel",t.removeChildBridges),d(),P(t.childBridges.length===1?2:-1),d(),P(t.childBridges.length>1?3:-1)}}function C9(e,i){if(e&1){let t=H();f(0,"p",16)(1,"label",21)(2,"input",22),De("ngModelChange",function(r){A(t);let o=_(2);return Oe(o.removeConfig,r)||(o.removeConfig=r),q(r)}),m(),C(3),w(4,"translate"),$(5,"span",23),m(),E(6,v9,5,3,"label",24),m()}if(e&2){let t=_(2);d(2),Me("ngModel",t.removeConfig),d(),B(" ",S(4,3,"plugins.uninstall_remove_plugin_config")," "),d(3),P(t.hasChildBridges?6:-1)}}function x9(e,i){e&1&&(f(0,"ul",17)(1,"li"),C(2),w(3,"translate"),m(),f(4,"li"),C(5),w(6,"translate"),m()()),e&2&&(d(2),L(S(3,2,"plugins.uninstall_warn_1")),d(3),L(S(6,4,"plugins.uninstall_warn_2")))}function w9(e,i){e&1&&(f(0,"ngb-alert",18),C(1),w(2,"translate"),m()),e&2&&(b("dismissible",!1),d(),B(" ",S(2,2,"plugins.uninstall_remove_config_required")," "))}function I9(e,i){if(e&1&&(f(0,"div",14),$(1,"i",15),m(),f(2,"div",9),E(3,C9,7,5,"p",16),m(),E(4,x9,7,6,"ul",17),E(5,w9,3,4,"ngb-alert",18),f(6,"ngb-alert",19)(7,"p",20),C(8),w(9,"translate"),m()()),e&2){let t=_();d(3),P(t.isConfigured?3:-1),d(),P(t.hasChildBridges&&t.removeChildBridges?4:-1),d(),P(t.isConfigured&&(!t.pluginAlias||!t.pluginType)?5:-1),d(),b("dismissible",!1),d(2),L(Ue(9,5,"plugins.uninstall_remove_confirmation",Kt(8,h9,t.plugin.displayName)))}}function S9(e,i){e&1&&(C(0),w(1,"translate")),e&2&&B(" ",S(1,1,"plugins.manage.uninstall")," ")}function $9(e,i){e&1&&$(0,"i",12)}var zx=(()=>{class e{$activeModal=k(qe);$api=k(ve);$modal=k(et);$settings=k(Ve);$toastr=k(we);$translate=k(xe);plugin;childBridges;action;loading=!0;uninstalling=!1;removeConfig=!0;removeChildBridges=!0;hasChildBridges=!1;isConfigured=!1;pluginType;pluginAlias;ngOnInit(){return K(this,null,function*(){try{this.childBridges.length&&(this.hasChildBridges=!0);let t=yield this.getAlias();this.pluginType=t.pluginType,this.pluginAlias=t.pluginAlias,(yield ce(this.$api.get(`/config-editor/plugin/${encodeURIComponent(this.plugin.name)}`))).length&&(this.isConfigured=!0)}finally{this.loading=!1}})}doUninstall(){return K(this,null,function*(){if(this.uninstalling=!0,this.removeConfig&&this.isConfigured)try{yield this.removePluginConfig()}catch(n){console.error(n),this.$toastr.error(this.$translate.instant("plugins.config.remove_error"),this.$translate.instant("toast.title_error"))}if(this.hasChildBridges&&this.removeChildBridges)try{yield Promise.all(this.childBridges.map(n=>this.removeChildBridge(n.username.replace(/:/g,""))))}catch(n){console.error(n)}this.$activeModal.dismiss();let t=this.$modal.open(vr,{size:"lg",backdrop:"static"});t.componentInstance.action="Uninstall",t.componentInstance.pluginName=this.plugin.name,t.componentInstance.pluginDisplayName=this.plugin.displayName})}dismissModal(){this.$activeModal.dismiss("Dismiss")}getAlias(){return K(this,null,function*(){return ce(this.$api.get(`/plugins/alias/${encodeURIComponent(this.plugin.name)}`))})}removePluginConfig(){return K(this,null,function*(){yield ce(this.$api.post(`/config-editor/plugin/${encodeURIComponent(this.plugin.name)}`,[])),yield ce(this.$api.put(`/config-editor/plugin/${encodeURIComponent(this.plugin.name)}/enable`,{})),this.$toastr.success(this.$translate.instant("plugins.settings.plugin_config_saved"),this.$translate.instant("toast.title_success"))})}removeChildBridge(t){return K(this,null,function*(){try{yield ce(this.$api.delete(`/server/pairings/${t}`))}catch(n){console.error(n),this.$toastr.error(this.$translate.instant("plugins.uninstall_bridge_error"),this.$translate.instant("toast.title_error"))}})}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=Q({type:e,selectors:[["ng-component"]],inputs:{plugin:"plugin",childBridges:"childBridges",action:"action"},decls:20,vars:17,consts:[[1,"modal-content",2,"min-height","300px"],[1,"modal-header"],[1,"modal-title"],["type","button","data-bs-dismiss","modal",1,"btn-close",3,"click","disabled"],[1,"modal-body"],[1,"text-center","primary-text"],[1,"modal-footer","justify-content-between"],[1,"text-start"],["type","button","data-bs-dismiss","modal",1,"btn","btn-elegant",3,"click","disabled"],[1,"text-center"],[1,"text-end"],["type","button","data-bs-dismiss","modal",1,"btn","btn-danger",3,"click","disabled"],[1,"fas","fa-fw","fa-spinner","fa-pulse"],[1,"fa","fa-fw","fa-cog","fa-spin",2,"font-size","75px"],[1,"text-center","mb-3"],[1,"fas","fa-fw","fa-trash","primary-text",2,"font-size","75px"],[1,"d-inline-block","text-start","mb-1"],[1,"mb-3","text-start"],["type","info",1,"mb-3",3,"dismissible"],["type","warning",1,"mb-0",3,"dismissible"],[1,"mb-0"],["for","remove-plugin-config",1,"hb-uix-switch","d-block"],["id","remove-plugin-config","type","checkbox",3,"ngModelChange","ngModel"],[1,"hb-uix-slider","hb-uix-round"],["for","remove-plugin-child-bridges",1,"hb-uix-switch","d-block"],["id","remove-plugin-child-bridges","type","checkbox",3,"ngModelChange","ngModel"]],template:function(n,r){n&1&&(f(0,"div",0)(1,"div",1)(2,"h5",2),C(3),m(),f(4,"button",3),w(5,"translate"),j("click",function(){return r.dismissModal()}),m()(),f(6,"div",4),E(7,_9,2,0,"div",5),E(8,I9,10,10),m(),f(9,"div",6)(10,"div",7)(11,"button",8),w(12,"translate"),j("click",function(){return r.dismissModal()}),C(13),w(14,"translate"),m()(),$(15,"div",9),f(16,"div",10)(17,"button",11),j("click",function(){return r.doUninstall()}),E(18,S9,2,3),E(19,$9,1,0,"i",12),m()()()()),n&2&&(d(3),L(r.plugin.displayName||r.plugin.name),d(),b("disabled",r.uninstalling),G("aria-label",S(5,11,"form.button_close")),d(3),P(r.loading?7:-1),d(),P(r.loading?-1:8),d(3),b("disabled",r.uninstalling),G("aria-label",S(12,13,"form.button_close")),d(2),B(" ",S(14,15,"form.button_close")," "),d(4),b("disabled",r.loading||r.uninstalling),d(),P(r.uninstalling?-1:18),d(),P(r.uninstalling?19:-1))},dependencies:[Gt,Ai,bt,qi,qn,je],encapsulation:2})}return e})();var nn=(()=>{class e{$api=k(ve);$modal=k(et);$customPluginsService=k(mx);$settings=k(Ve);$toastr=k(we);$translate=k(xe);installPlugin(t,n){let r=this.$modal.open(vr,{size:"lg",backdrop:"static"});r.componentInstance.action="Install",r.componentInstance.pluginName=t.name,r.componentInstance.pluginDisplayName=t.displayName,r.componentInstance.targetVersion=n}uninstallPlugin(t,n){let r=this.$modal.open(zx,{size:"lg",backdrop:"static"});r.componentInstance.action="Uninstall",r.componentInstance.plugin=t,r.componentInstance.childBridges=n}checkAndUpdatePlugin(t,n){return K(this,null,function*(){(yield this.checkHbAndNodeVersion(t,"update"))&&(yield this.updatePlugin(t,n))})}updatePlugin(t,n){return K(this,null,function*(){let r=this.$modal.open(vr,{size:"lg",backdrop:"static"});r.componentInstance.action="Update",r.componentInstance.pluginName=t.name,r.componentInstance.pluginDisplayName=t.displayName,r.componentInstance.targetVersion=n,r.componentInstance.latestVersion=t.latestVersion,r.componentInstance.installedVersion=t.installedVersion,r.componentInstance.isDisabled=t.disabled})}upgradeHomebridge(t,n){return K(this,null,function*(){if(!(yield this.checkHbAndNodeVersion(t,"update")))return;let r=this.$modal.open(vr,{size:"lg",backdrop:"static"});r.componentInstance.action="Update",r.componentInstance.pluginName=t.name,r.componentInstance.pluginDisplayName=t.displayName,r.componentInstance.targetVersion=n,r.componentInstance.latestVersion=t.latestVersion,r.componentInstance.installedVersion=t.installedVersion})}installAlternateVersion(t){return K(this,null,function*(){let n=this.$modal.open(Ix,{size:"lg",backdrop:"static"});n.componentInstance.plugin=t;try{let{action:r,version:o,engines:a}=yield n.result;return(yield this.checkHbAndNodeVersion($e(X({},t),{updateEngines:a}),r))?t.name==="homebridge"?yield this.upgradeHomebridge(t,o):t.installedVersion?yield this.updatePlugin(t,o):this.installPlugin(t,o):void 0}catch{}})}bridgeSettings(t,n=!1){return K(this,null,function*(){let r;if(t.settingsSchema)try{r=yield this.loadConfigSchema(t.name)}catch(a){console.error(a),this.$toastr.error(this.$translate.instant("plugins.toast_failed_to_load_plugin_schema"),this.$translate.instant("toast.title_error"));return}let o=this.$modal.open(Ex,{size:"lg",backdrop:"static"});o.componentInstance.schema=r,o.componentInstance.plugin=t,o.componentInstance.justInstalled=n})}settings(t){return K(this,null,function*(){let n;if(t.settingsSchema)try{n=yield this.loadConfigSchema(t.name)}catch(o){console.error(o),this.$toastr.error(this.$translate.instant("plugins.toast_failed_to_load_plugin_schema"),this.$translate.instant("toast.title_error"));return}if(n&&n.customUi)return this.$customPluginsService.openCustomSettingsUi(t,n);if(this.$customPluginsService.plugins[t.name])return this.$customPluginsService.openSettings(t,n);let r=this.$modal.open(t.settingsSchema?qx:Ad,{size:"lg",backdrop:"static"});return r.componentInstance.schema=n,r.componentInstance.plugin=t,r.result.catch(()=>{})})}jsonEditor(t){return K(this,null,function*(){let n;if(t.settingsSchema)try{n=yield this.loadConfigSchema(t.name)}catch(o){console.error(o)}let r=this.$modal.open(Ad,{size:"lg",backdrop:"static"});return r.componentInstance.schema=n,r.componentInstance.plugin=t,r.result.catch(o=>console.error(o))})}checkHbAndNodeVersion(t,n){return K(this,null,function*(){let r=!0,o=!0;try{t.updateEngines?.node&&(0,Cr.lt)(this.$settings.env.nodeVersion,(0,Cr.minVersion)(t.updateEngines.node))&&(r=!1),t.updateEngines?.homebridge&&(0,Cr.lt)(this.$settings.env.homebridgeVersion,(0,Cr.minVersion)(t.updateEngines.homebridge))&&(o=!1)}catch(a){return console.error(a),this.$toastr.error(a.message,this.$translate.instant("toast.title_error")),!1}if(!r||!o)try{let a=this.$modal.open(Tx,{size:"lg",backdrop:"static"});return a.componentInstance.plugin=t,a.componentInstance.isValidNode=r,a.componentInstance.isValidHb=o,a.componentInstance.action=n,yield a.result}catch{return!1}return!0})}loadConfigSchema(t){return K(this,null,function*(){return ce(this.$api.get(`/plugins/config-schema/${encodeURIComponent(t)}`))})}resetChildBridges(t){return K(this,null,function*(){let n=this.$modal.open(jx,{size:"lg",backdrop:"static"});n.componentInstance.childBridges=t})}switchToScoped(t){return K(this,null,function*(){let n=this.$modal.open(Ux,{size:"lg",backdrop:"static"});n.componentInstance.plugin=t})}static \u0275fac=function(n){return new(n||e)};static \u0275prov=Tt({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();export{Md as a,Ze as b,LH as c,Ke as d,lx as e,cx as f,Td as g,n4 as h,dx as i,mx as j,gx as k,yx as l,nn as m};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as k}from"./chunk-PSSVCFFV.js";import"./chunk-K2NEWUWG.js";import{d as P}from"./chunk-QRQBCPWO.js";import{b as I}from"./chunk-
|
|
1
|
+
import{t as k}from"./chunk-PSSVCFFV.js";import"./chunk-K2NEWUWG.js";import{d as P}from"./chunk-QRQBCPWO.js";import{b as I}from"./chunk-VT5RDZJX.js";import{k as $,n as O}from"./chunk-GBCHQYME.js";import{a as y,b as T}from"./chunk-ZG3HINDJ.js";import"./chunk-K7QEGT3E.js";import{Hc as a,Ib as f,Ic as s,Jb as v,Ob as h,Pb as o,Qb as r,Rb as C,_b as w,ab as i,bc as m,dc as b,la as c,mb as g,qc as l,ra as u,rc as S,sa as _,sc as d}from"./chunk-V7SOQAC5.js";function E(t,x){if(t&1){let n=w();o(0,"p",5)(1,"button",6),m("click",function(){u(n);let e=b();return _(e.restartServer())}),l(2),a(3,"translate"),r()()}t&2&&(i(2),d(" ",s(3,1,"menu.linux.label_restart_server")," "))}function H(t,x){if(t&1){let n=w();o(0,"p",5)(1,"button",6),m("click",function(){u(n);let e=b();return _(e.shutdownServer())}),l(2),a(3,"translate"),r()()}t&2&&(i(2),d(" ",s(3,1,"menu.linux.label_shutdown_server")," "))}function B(t,x){if(t&1){let n=w();o(0,"p",5)(1,"button",6),m("click",function(){u(n);let e=b();return _(e.dockerRestartContainer())}),l(2),a(3,"translate"),r()()}t&2&&(i(2),d(" ",s(3,1,"menu.docker.restart_container")," "))}var G=(()=>{class t{$api=c(O);$router=c(P);$settings=c(I);$toastr=c($);$translate=c(y);canShutdownRestartHost=this.$settings.env.canShutdownRestartHost;runningInDocker=this.$settings.env.runningInDocker;restartHomebridge(){this.$router.navigate(["/restart"])}restartHomebridgeService(){this.$api.put("/platform-tools/hb-service/set-full-service-restart-flag",{}).subscribe({next:()=>{this.$router.navigate(["/restart"])},error:n=>{console.error(n),this.$toastr.error(n.message,this.$translate.instant("toast.title_error"))}})}restartServer(){this.$router.navigate(["/platform-tools/linux/restart-server"])}shutdownServer(){this.$router.navigate(["/platform-tools/linux/shutdown-server"])}dockerRestartContainer(){this.$router.navigate(["/platform-tools/docker/restart-container"])}static \u0275fac=function(p){return new(p||t)};static \u0275cmp=g({type:t,selectors:[["ng-component"]],decls:19,vars:15,consts:[[1,"d-flex","justify-content-between"],[1,"primary-text","m-0"],[1,"my-4","align-items-center",2,"max-width","1000px","margin","auto"],[1,"w-100","text-center","primary-text","mb-5"],[1,"fas","fa-fw","fa-power-off",2,"font-size","75px"],[1,"w-100","text-center","my-5"],["type","button",1,"btn","btn-primary","p-3","my-0",2,"width","85%",3,"click"],["type","button","container","body","openDelay","150","triggers","hover",1,"btn","btn-primary","p-3","my-0",2,"width","85%",3,"click","ngbTooltip"]],template:function(p,e){p&1&&(o(0,"div",0)(1,"h3",1),l(2),a(3,"translate"),r()(),o(4,"div",2)(5,"div",3),C(6,"i",4),r(),o(7,"p",5)(8,"button",6),m("click",function(){return e.restartHomebridge()}),l(9),a(10,"translate"),r()(),o(11,"p",5)(12,"button",7),a(13,"translate"),m("click",function(){return e.restartHomebridgeService()}),l(14),a(15,"translate"),r()(),f(16,E,4,3,"p",5),f(17,H,4,3,"p",5),f(18,B,4,3,"p",5),r()),p&2&&(i(2),S(s(3,7,"menu.restart.title")),i(7),d(" ",s(10,9,"menu.hbrestart.confirm_hb")," "),i(3),h("ngbTooltip",s(13,11,"reset.force_restart_hb_help_text")),i(2),d(" ",s(15,13,"menu.hbrestart.confirm_ui")," "),i(2),v(e.canShutdownRestartHost?16:-1),i(),v(e.canShutdownRestartHost?17:-1),i(),v(e.runningInDocker?18:-1))},dependencies:[k,T],encapsulation:2})}return t})();export{G as PowerOptionsComponent};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as E}from"./chunk-
|
|
1
|
+
import{a as E}from"./chunk-TTZW4NLU.js";import{a as S}from"./chunk-BP4AY6SL.js";import"./chunk-BSZ6MHFZ.js";import"./chunk-W6RS6NBX.js";import"./chunk-PSSVCFFV.js";import"./chunk-K2NEWUWG.js";import"./chunk-FN4K5HWT.js";import"./chunk-AQFHKZAO.js";import{b as C}from"./chunk-VT5RDZJX.js";import"./chunk-GBCHQYME.js";import{b as w}from"./chunk-ZG3HINDJ.js";import"./chunk-K7QEGT3E.js";import{$a as a,Hc as y,Ic as b,Sb as m,Sc as $,Tb as l,Ub as h,ab as c,bc as v,kc as f,la as o,lc as p,mb as u,n as d,qc as g,rc as T}from"./chunk-V7SOQAC5.js";var _=["terminaloutput"],A=(()=>{class r{$terminal=o(S);$settings=o(C);$navigationGuard=o(E);resizeEvent=new d;termTarget=$("terminaloutput");onWindowResize(){this.resizeEvent.next(void 0)}onBeforeUnload(t){return this.$navigationGuard.handleBeforeUnload(t)}onWindowFocus(){this.activateTerminal()}onClick(){this.activateTerminal()}activateTerminal(){this.$terminal.isTerminalReady()&&this.$terminal.term&&this.$terminal.term.focus()}ngOnInit(){window.document.querySelector("body").classList.add("bg-black"),this.$terminal.isTerminalReady()&&this.$terminal.destroyTerminal(),this.$settings.env.terminal?.persistence&&this.$terminal.hasActiveSession()?this.$terminal.reconnectTerminal(this.termTarget(),{},this.resizeEvent):(!this.$settings.env.terminal?.persistence&&this.$terminal.hasActiveSession()&&this.$terminal.destroyPersistentSession(),this.$terminal.startTerminal(this.termTarget(),{},this.resizeEvent)),setTimeout(()=>{this.activateTerminal()},100)}ngAfterViewInit(){document.addEventListener("visibilitychange",this.onVisibilityChange.bind(this))}onVisibilityChange(){!document.hidden&&this.$terminal.isTerminalReady()&&setTimeout(()=>{this.activateTerminal()},100)}canDeactivate(){return this.$navigationGuard.canDeactivate()}ngOnDestroy(){document.removeEventListener("visibilitychange",this.onVisibilityChange.bind(this)),window.document.querySelector("body").classList.remove("bg-black"),this.$settings.env.terminal?.persistence?this.$terminal.detachTerminal():this.$terminal.destroyPersistentSession()}static \u0275fac=function(e){return new(e||r)};static \u0275cmp=u({type:r,selectors:[["ng-component"]],viewQuery:function(e,i){e&1&&f(i.termTarget,_,5),e&2&&p()},hostBindings:function(e,i){e&1&&v("resize",function(n){return i.onWindowResize(n)},a)("beforeunload",function(n){return i.onBeforeUnload(n)},a)("focus",function(n){return i.onWindowFocus(n)},a)("click",function(n){return i.onClick(n)})},decls:8,vars:3,consts:[["terminaloutput",""],[1,"row","mb-3"],[1,"col-12"],[1,"primary-text","m-0"],[1,"flex-column","d-flex","align-items-stretch","adjust-for-mobile"],["id","docker-terminal",1,"align-self-end","w-100","h-100","mb-1"]],template:function(e,i){e&1&&(m(0,"div",1)(1,"div",2)(2,"h3",3),g(3),y(4,"translate"),l()()(),m(5,"div",4),h(6,"div",5,0),l()),e&2&&(c(3),T(b(4,1,"menu.linux.label_terminal")))},dependencies:[w],encapsulation:2})}return r})();export{A as TerminalComponent};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{m as Bt}from"./chunk-PSSVCFFV.js";import{d as hu}from"./chunk-QRQBCPWO.js";import{k as Bu,n as yu}from"./chunk-2XHSX5FE.js";import{a as gu,b as ht}from"./chunk-ZG3HINDJ.js";import{Hb as qe,Hc as Q,Ic as k,Lb as Fu,Mb as Eu,Nb as xu,Sb as H,Tb as X,Ub as Ve,ab as U,cc as ye,e as da,h as Au,la as he,mb as gt,qc as ue,rc as Le,sc as Me,w as Cu}from"./chunk-V7SOQAC5.js";var eD=da((iu,fu)=>{(function(e,t){typeof iu=="object"&&typeof fu<"u"?fu.exports=t():typeof define=="function"&&define.amd?define(t):e.JSON5=t()})(iu,function(){"use strict";function e(r,a){return a={exports:{}},r(a,a.exports),a.exports}var t=e(function(r){var a=r.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=a)}),u=e(function(r){var a=r.exports={version:"2.6.5"};typeof __e=="number"&&(__e=a)}),o=u.version,f=function(r){return typeof r=="object"?r!==null:typeof r=="function"},i=function(r){if(!f(r))throw TypeError(r+" is not an object!");return r},D=function(r){try{return!!r()}catch{return!0}},l=!D(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7}),m=t.document,g=f(m)&&f(m.createElement),B=function(r){return g?m.createElement(r):{}},h=!l&&!D(function(){return Object.defineProperty(B("div"),"a",{get:function(){return 7}}).a!=7}),b=function(r,a){if(!f(r))return r;var p,s;if(a&&typeof(p=r.toString)=="function"&&!f(s=p.call(r))||typeof(p=r.valueOf)=="function"&&!f(s=p.call(r))||!a&&typeof(p=r.toString)=="function"&&!f(s=p.call(r)))return s;throw TypeError("Can't convert object to primitive value")},M=Object.defineProperty,I=l?Object.defineProperty:function(a,p,s){if(i(a),p=b(p,!0),i(s),h)try{return M(a,p,s)}catch{}if("get"in s||"set"in s)throw TypeError("Accessors not supported!");return"value"in s&&(a[p]=s.value),a},$={f:I},j=function(r,a){return{enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:a}},T=l?function(r,a,p){return $.f(r,a,j(1,p))}:function(r,a,p){return r[a]=p,r},pe={}.hasOwnProperty,nt=function(r,a){return pe.call(r,a)},Ge=0,Ue=Math.random(),Ro=function(r){return"Symbol(".concat(r===void 0?"":r,")_",(++Ge+Ue).toString(36))},Go=!1,Uo=e(function(r){var a="__core-js_shared__",p=t[a]||(t[a]={});(r.exports=function(s,d){return p[s]||(p[s]=d!==void 0?d:{})})("versions",[]).push({version:u.version,mode:Go?"pure":"global",copyright:"\xA9 2019 Denis Pushkarev (zloirock.ru)"})}),Yt=Uo("native-function-to-string",Function.toString),Ho=e(function(r){var a=Ro("src"),p="toString",s=(""+Yt).split(p);u.inspectSource=function(d){return Yt.call(d)},(r.exports=function(d,F,x,J){var N=typeof x=="function";N&&(nt(x,"name")||T(x,"name",F)),d[F]!==x&&(N&&(nt(x,a)||T(x,a,d[F]?""+d[F]:s.join(String(F)))),d===t?d[F]=x:J?d[F]?d[F]=x:T(d,F,x):(delete d[F],T(d,F,x)))})(Function.prototype,p,function(){return typeof this=="function"&&this[a]||Yt.call(this)})}),$o=function(r){if(typeof r!="function")throw TypeError(r+" is not a function!");return r},su=function(r,a,p){if($o(r),a===void 0)return r;switch(p){case 1:return function(s){return r.call(a,s)};case 2:return function(s,d){return r.call(a,s,d)};case 3:return function(s,d,F){return r.call(a,s,d,F)}}return function(){return r.apply(a,arguments)}},Xt="prototype",z=function(r,a,p){var s=r&z.F,d=r&z.G,F=r&z.S,x=r&z.P,J=r&z.B,N=d?t:F?t[a]||(t[a]={}):(t[a]||{})[Xt],Ie=d?u:u[a]||(u[a]={}),He=Ie[Xt]||(Ie[Xt]={}),ae,ie,Y,$e;d&&(p=a);for(ae in p)ie=!s&&N&&N[ae]!==void 0,Y=(ie?N:p)[ae],$e=J&&ie?su(Y,t):x&&typeof Y=="function"?su(Function.call,Y):Y,N&&Ho(N,ae,Y,r&z.U),Ie[ae]!=Y&&T(Ie,ae,$e),x&&He[ae]!=Y&&(He[ae]=Y)};t.core=u,z.F=1,z.G=2,z.S=4,z.P=8,z.B=16,z.W=32,z.U=64,z.R=128;var it=z,qo=Math.ceil,Vo=Math.floor,Du=function(r){return isNaN(r=+r)?0:(r>0?Vo:qo)(r)},Wo=function(r){if(r==null)throw TypeError("Can't call method on "+r);return r},zo=function(r){return function(a,p){var s=String(Wo(a)),d=Du(p),F=s.length,x,J;return d<0||d>=F?r?"":void 0:(x=s.charCodeAt(d),x<55296||x>56319||d+1===F||(J=s.charCodeAt(d+1))<56320||J>57343?r?s.charAt(d):x:r?s.slice(d,d+2):(x-55296<<10)+(J-56320)+65536)}},Ko=zo(!1);it(it.P,"String",{codePointAt:function(a){return Ko(this,a)}});var tD=u.String.codePointAt,Jo=Math.max,Yo=Math.min,Xo=function(r,a){return r=Du(r),r<0?Jo(r+a,0):Yo(r,a)},pu=String.fromCharCode,lu=String.fromCodePoint;it(it.S+it.F*(!!lu&&lu.length!=1),"String",{fromCodePoint:function(a){for(var p=arguments,s=[],d=arguments.length,F=0,x;d>F;){if(x=+p[F++],Xo(x,1114111)!==x)throw RangeError(x+" is not a valid code point");s.push(x<65536?pu(x):pu(((x-=65536)>>10)+55296,x%1024+56320))}return s.join("")}});var uD=u.String.fromCodePoint,Zo=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,Qo=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,ko=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/,Zt={Space_Separator:Zo,ID_Start:Qo,ID_Continue:ko},O={isSpaceSeparator:function(a){return typeof a=="string"&&Zt.Space_Separator.test(a)},isIdStartChar:function(a){return typeof a=="string"&&(a>="a"&&a<="z"||a>="A"&&a<="Z"||a==="$"||a==="_"||Zt.ID_Start.test(a))},isIdContinueChar:function(a){return typeof a=="string"&&(a>="a"&&a<="z"||a>="A"&&a<="Z"||a>="0"&&a<="9"||a==="$"||a==="_"||a==="\u200C"||a==="\u200D"||Zt.ID_Continue.test(a))},isDigit:function(a){return typeof a=="string"&&/[0-9]/.test(a)},isHexDigit:function(a){return typeof a=="string"&&/[0-9A-Fa-f]/.test(a)}},Qt,K,le,At,ge,oe,R,kt,ft,ea=function(a,p){Qt=String(a),K="start",le=[],At=0,ge=1,oe=0,R=void 0,kt=void 0,ft=void 0;do R=ta(),oa[K]();while(R.type!=="eof");return typeof p=="function"?eu({"":ft},"",p):ft};function eu(r,a,p){var s=r[a];if(s!=null&&typeof s=="object")if(Array.isArray(s))for(var d=0;d<s.length;d++){var F=String(d),x=eu(s,F,p);x===void 0?delete s[F]:Object.defineProperty(s,F,{value:x,writable:!0,enumerable:!0,configurable:!0})}else for(var J in s){var N=eu(s,J,p);N===void 0?delete s[J]:Object.defineProperty(s,J,{value:N,writable:!0,enumerable:!0,configurable:!0})}return p.call(r,a,s)}var C,c,st,me,E;function ta(){for(C="default",c="",st=!1,me=1;;){E=de();var r=mu[C]();if(r)return r}}function de(){if(Qt[At])return String.fromCodePoint(Qt.codePointAt(At))}function n(){var r=de();return r===`
|
|
1
|
+
import{m as Bt}from"./chunk-PSSVCFFV.js";import{d as hu}from"./chunk-QRQBCPWO.js";import{k as Bu,n as yu}from"./chunk-GBCHQYME.js";import{a as gu,b as ht}from"./chunk-ZG3HINDJ.js";import{Hb as qe,Hc as Q,Ic as k,Lb as Fu,Mb as Eu,Nb as xu,Sb as H,Tb as X,Ub as Ve,ab as U,cc as ye,e as da,h as Au,la as he,mb as gt,qc as ue,rc as Le,sc as Me,w as Cu}from"./chunk-V7SOQAC5.js";var eD=da((iu,fu)=>{(function(e,t){typeof iu=="object"&&typeof fu<"u"?fu.exports=t():typeof define=="function"&&define.amd?define(t):e.JSON5=t()})(iu,function(){"use strict";function e(r,a){return a={exports:{}},r(a,a.exports),a.exports}var t=e(function(r){var a=r.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=a)}),u=e(function(r){var a=r.exports={version:"2.6.5"};typeof __e=="number"&&(__e=a)}),o=u.version,f=function(r){return typeof r=="object"?r!==null:typeof r=="function"},i=function(r){if(!f(r))throw TypeError(r+" is not an object!");return r},D=function(r){try{return!!r()}catch{return!0}},l=!D(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7}),m=t.document,g=f(m)&&f(m.createElement),B=function(r){return g?m.createElement(r):{}},h=!l&&!D(function(){return Object.defineProperty(B("div"),"a",{get:function(){return 7}}).a!=7}),b=function(r,a){if(!f(r))return r;var p,s;if(a&&typeof(p=r.toString)=="function"&&!f(s=p.call(r))||typeof(p=r.valueOf)=="function"&&!f(s=p.call(r))||!a&&typeof(p=r.toString)=="function"&&!f(s=p.call(r)))return s;throw TypeError("Can't convert object to primitive value")},M=Object.defineProperty,I=l?Object.defineProperty:function(a,p,s){if(i(a),p=b(p,!0),i(s),h)try{return M(a,p,s)}catch{}if("get"in s||"set"in s)throw TypeError("Accessors not supported!");return"value"in s&&(a[p]=s.value),a},$={f:I},j=function(r,a){return{enumerable:!(r&1),configurable:!(r&2),writable:!(r&4),value:a}},T=l?function(r,a,p){return $.f(r,a,j(1,p))}:function(r,a,p){return r[a]=p,r},pe={}.hasOwnProperty,nt=function(r,a){return pe.call(r,a)},Ge=0,Ue=Math.random(),Ro=function(r){return"Symbol(".concat(r===void 0?"":r,")_",(++Ge+Ue).toString(36))},Go=!1,Uo=e(function(r){var a="__core-js_shared__",p=t[a]||(t[a]={});(r.exports=function(s,d){return p[s]||(p[s]=d!==void 0?d:{})})("versions",[]).push({version:u.version,mode:Go?"pure":"global",copyright:"\xA9 2019 Denis Pushkarev (zloirock.ru)"})}),Yt=Uo("native-function-to-string",Function.toString),Ho=e(function(r){var a=Ro("src"),p="toString",s=(""+Yt).split(p);u.inspectSource=function(d){return Yt.call(d)},(r.exports=function(d,F,x,J){var N=typeof x=="function";N&&(nt(x,"name")||T(x,"name",F)),d[F]!==x&&(N&&(nt(x,a)||T(x,a,d[F]?""+d[F]:s.join(String(F)))),d===t?d[F]=x:J?d[F]?d[F]=x:T(d,F,x):(delete d[F],T(d,F,x)))})(Function.prototype,p,function(){return typeof this=="function"&&this[a]||Yt.call(this)})}),$o=function(r){if(typeof r!="function")throw TypeError(r+" is not a function!");return r},su=function(r,a,p){if($o(r),a===void 0)return r;switch(p){case 1:return function(s){return r.call(a,s)};case 2:return function(s,d){return r.call(a,s,d)};case 3:return function(s,d,F){return r.call(a,s,d,F)}}return function(){return r.apply(a,arguments)}},Xt="prototype",z=function(r,a,p){var s=r&z.F,d=r&z.G,F=r&z.S,x=r&z.P,J=r&z.B,N=d?t:F?t[a]||(t[a]={}):(t[a]||{})[Xt],Ie=d?u:u[a]||(u[a]={}),He=Ie[Xt]||(Ie[Xt]={}),ae,ie,Y,$e;d&&(p=a);for(ae in p)ie=!s&&N&&N[ae]!==void 0,Y=(ie?N:p)[ae],$e=J&&ie?su(Y,t):x&&typeof Y=="function"?su(Function.call,Y):Y,N&&Ho(N,ae,Y,r&z.U),Ie[ae]!=Y&&T(Ie,ae,$e),x&&He[ae]!=Y&&(He[ae]=Y)};t.core=u,z.F=1,z.G=2,z.S=4,z.P=8,z.B=16,z.W=32,z.U=64,z.R=128;var it=z,qo=Math.ceil,Vo=Math.floor,Du=function(r){return isNaN(r=+r)?0:(r>0?Vo:qo)(r)},Wo=function(r){if(r==null)throw TypeError("Can't call method on "+r);return r},zo=function(r){return function(a,p){var s=String(Wo(a)),d=Du(p),F=s.length,x,J;return d<0||d>=F?r?"":void 0:(x=s.charCodeAt(d),x<55296||x>56319||d+1===F||(J=s.charCodeAt(d+1))<56320||J>57343?r?s.charAt(d):x:r?s.slice(d,d+2):(x-55296<<10)+(J-56320)+65536)}},Ko=zo(!1);it(it.P,"String",{codePointAt:function(a){return Ko(this,a)}});var tD=u.String.codePointAt,Jo=Math.max,Yo=Math.min,Xo=function(r,a){return r=Du(r),r<0?Jo(r+a,0):Yo(r,a)},pu=String.fromCharCode,lu=String.fromCodePoint;it(it.S+it.F*(!!lu&&lu.length!=1),"String",{fromCodePoint:function(a){for(var p=arguments,s=[],d=arguments.length,F=0,x;d>F;){if(x=+p[F++],Xo(x,1114111)!==x)throw RangeError(x+" is not a valid code point");s.push(x<65536?pu(x):pu(((x-=65536)>>10)+55296,x%1024+56320))}return s.join("")}});var uD=u.String.fromCodePoint,Zo=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,Qo=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,ko=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/,Zt={Space_Separator:Zo,ID_Start:Qo,ID_Continue:ko},O={isSpaceSeparator:function(a){return typeof a=="string"&&Zt.Space_Separator.test(a)},isIdStartChar:function(a){return typeof a=="string"&&(a>="a"&&a<="z"||a>="A"&&a<="Z"||a==="$"||a==="_"||Zt.ID_Start.test(a))},isIdContinueChar:function(a){return typeof a=="string"&&(a>="a"&&a<="z"||a>="A"&&a<="Z"||a>="0"&&a<="9"||a==="$"||a==="_"||a==="\u200C"||a==="\u200D"||Zt.ID_Continue.test(a))},isDigit:function(a){return typeof a=="string"&&/[0-9]/.test(a)},isHexDigit:function(a){return typeof a=="string"&&/[0-9A-Fa-f]/.test(a)}},Qt,K,le,At,ge,oe,R,kt,ft,ea=function(a,p){Qt=String(a),K="start",le=[],At=0,ge=1,oe=0,R=void 0,kt=void 0,ft=void 0;do R=ta(),oa[K]();while(R.type!=="eof");return typeof p=="function"?eu({"":ft},"",p):ft};function eu(r,a,p){var s=r[a];if(s!=null&&typeof s=="object")if(Array.isArray(s))for(var d=0;d<s.length;d++){var F=String(d),x=eu(s,F,p);x===void 0?delete s[F]:Object.defineProperty(s,F,{value:x,writable:!0,enumerable:!0,configurable:!0})}else for(var J in s){var N=eu(s,J,p);N===void 0?delete s[J]:Object.defineProperty(s,J,{value:N,writable:!0,enumerable:!0,configurable:!0})}return p.call(r,a,s)}var C,c,st,me,E;function ta(){for(C="default",c="",st=!1,me=1;;){E=de();var r=mu[C]();if(r)return r}}function de(){if(Qt[At])return String.fromCodePoint(Qt.codePointAt(At))}function n(){var r=de();return r===`
|
|
2
2
|
`?(ge++,oe=0):r?oe+=r.length:oe++,r&&(At+=r.length),r}var mu={default:function(){switch(E){case" ":case"\v":case"\f":case" ":case"\xA0":case"\uFEFF":case`
|
|
3
3
|
`:case"\r":case"\u2028":case"\u2029":n();return;case"/":n(),C="comment";return;case void 0:return n(),_("eof")}if(O.isSpaceSeparator(E)){n();return}return mu[K]()},comment:function(){switch(E){case"*":n(),C="multiLineComment";return;case"/":n(),C="singleLineComment";return}throw S(n())},multiLineComment:function(){switch(E){case"*":n(),C="multiLineCommentAsterisk";return;case void 0:throw S(n())}n()},multiLineCommentAsterisk:function(){switch(E){case"*":n();return;case"/":n(),C="default";return;case void 0:throw S(n())}n(),C="multiLineComment"},singleLineComment:function(){switch(E){case`
|
|
4
4
|
`:case"\r":case"\u2028":case"\u2029":n(),C="default";return;case void 0:return n(),_("eof")}n()},value:function(){switch(E){case"{":case"[":return _("punctuator",n());case"n":return n(),Oe("ull"),_("null",null);case"t":return n(),Oe("rue"),_("boolean",!0);case"f":return n(),Oe("alse"),_("boolean",!1);case"-":case"+":n()==="-"&&(me=-1),C="sign";return;case".":c=n(),C="decimalPointLeading";return;case"0":c=n(),C="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":c=n(),C="decimalInteger";return;case"I":return n(),Oe("nfinity"),_("numeric",1/0);case"N":return n(),Oe("aN"),_("numeric",NaN);case'"':case"'":st=n()==='"',c="",C="string";return}throw S(n())},identifierNameStartEscape:function(){if(E!=="u")throw S(n());n();var a=tu();switch(a){case"$":case"_":break;default:if(!O.isIdStartChar(a))throw du();break}c+=a,C="identifierName"},identifierName:function(){switch(E){case"$":case"_":case"\u200C":case"\u200D":c+=n();return;case"\\":n(),C="identifierNameEscape";return}if(O.isIdContinueChar(E)){c+=n();return}return _("identifier",c)},identifierNameEscape:function(){if(E!=="u")throw S(n());n();var a=tu();switch(a){case"$":case"_":case"\u200C":case"\u200D":break;default:if(!O.isIdContinueChar(a))throw du();break}c+=a,C="identifierName"},sign:function(){switch(E){case".":c=n(),C="decimalPointLeading";return;case"0":c=n(),C="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":c=n(),C="decimalInteger";return;case"I":return n(),Oe("nfinity"),_("numeric",me*(1/0));case"N":return n(),Oe("aN"),_("numeric",NaN)}throw S(n())},zero:function(){switch(E){case".":c+=n(),C="decimalPoint";return;case"e":case"E":c+=n(),C="decimalExponent";return;case"x":case"X":c+=n(),C="hexadecimal";return}return _("numeric",me*0)},decimalInteger:function(){switch(E){case".":c+=n(),C="decimalPoint";return;case"e":case"E":c+=n(),C="decimalExponent";return}if(O.isDigit(E)){c+=n();return}return _("numeric",me*Number(c))},decimalPointLeading:function(){if(O.isDigit(E)){c+=n(),C="decimalFraction";return}throw S(n())},decimalPoint:function(){switch(E){case"e":case"E":c+=n(),C="decimalExponent";return}if(O.isDigit(E)){c+=n(),C="decimalFraction";return}return _("numeric",me*Number(c))},decimalFraction:function(){switch(E){case"e":case"E":c+=n(),C="decimalExponent";return}if(O.isDigit(E)){c+=n();return}return _("numeric",me*Number(c))},decimalExponent:function(){switch(E){case"+":case"-":c+=n(),C="decimalExponentSign";return}if(O.isDigit(E)){c+=n(),C="decimalExponentInteger";return}throw S(n())},decimalExponentSign:function(){if(O.isDigit(E)){c+=n(),C="decimalExponentInteger";return}throw S(n())},decimalExponentInteger:function(){if(O.isDigit(E)){c+=n();return}return _("numeric",me*Number(c))},hexadecimal:function(){if(O.isHexDigit(E)){c+=n(),C="hexadecimalInteger";return}throw S(n())},hexadecimalInteger:function(){if(O.isHexDigit(E)){c+=n();return}return _("numeric",me*Number(c))},string:function(){switch(E){case"\\":n(),c+=ua();return;case'"':if(st)return n(),_("string",c);c+=n();return;case"'":if(!st)return n(),_("string",c);c+=n();return;case`
|
package/public/index.html
CHANGED
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
<link rel="manifest" href="/assets/manifest.webmanifest"/>
|
|
17
17
|
<meta name="theme-color" content="#140a33" media="(prefers-color-scheme: light)"/>
|
|
18
18
|
<meta name="theme-color" content="#0f0f0f" media="(prefers-color-scheme: dark)"/>
|
|
19
|
-
<link rel="stylesheet" href="styles-
|
|
19
|
+
<link rel="stylesheet" href="styles-IOQZHT3N.css" crossorigin="use-credentials"></head>
|
|
20
20
|
|
|
21
21
|
<body>
|
|
22
22
|
<app-root></app-root>
|
|
23
|
-
<link rel="modulepreload" href="chunk-
|
|
23
|
+
<link rel="modulepreload" href="chunk-W7MI6OYY.js"><link rel="modulepreload" href="chunk-BYL6XNAO.js"><link rel="modulepreload" href="chunk-WAEIH452.js"><link rel="modulepreload" href="chunk-4NTMXN5W.js"><link rel="modulepreload" href="chunk-HQPD7F5O.js"><link rel="modulepreload" href="chunk-SVOCUQXR.js"><link rel="modulepreload" href="chunk-BYJZ4WBV.js"><link rel="modulepreload" href="chunk-UZVDP7AR.js"><link rel="modulepreload" href="chunk-UX5UNMYG.js"><link rel="modulepreload" href="chunk-WPNQ7LE6.js"><script src="polyfills-WE4HA5DL.js" type="module" crossorigin="use-credentials"></script><script src="main-BP655MJZ.js" type="module" crossorigin="use-credentials"></script></body>
|
|
24
24
|
</html>
|