diff --git a/dist/cn/jsstp.d.ts b/dist/cn/jsstp.d.ts index c47fbed..e975285 100644 --- a/dist/cn/jsstp.d.ts +++ b/dist/cn/jsstp.d.ts @@ -1033,7 +1033,7 @@ declare class jsstp_t { * @returns {Promise} 返回一个promise * @group 基础送信函数 */ - costom_text_send(sstphead: String, info: Object): Promise; + custom_text_send(sstphead: String, info: Object): Promise; /** * 发送报文 * @param {String} sstphead 报文头 diff --git a/dist/en/jsstp.d.ts b/dist/en/jsstp.d.ts index e6920bd..a268a5f 100644 --- a/dist/en/jsstp.d.ts +++ b/dist/en/jsstp.d.ts @@ -1028,7 +1028,7 @@ declare class jsstp_t { * @returns {Promise} Returns a promise. * @group Basic Send Methods */ - costom_text_send(sstphead: String, info: Object): Promise; + custom_text_send(sstphead: String, info: Object): Promise; /** * Send a custom message * @param {String} sstphead Message header diff --git a/dist/jp/jsstp.d.ts b/dist/jp/jsstp.d.ts index 89ef500..1e5d814 100644 --- a/dist/jp/jsstp.d.ts +++ b/dist/jp/jsstp.d.ts @@ -1028,7 +1028,7 @@ declare class jsstp_t { * @returns {Promise} プロミスを返します。 * @group 基本的なメッセージング関数 */ - costom_text_send(sstphead: String, info: Object): Promise; + custom_text_send(sstphead: String, info: Object): Promise; /** * @returns {Promise} プロミスを返します。 * メッセージの送信 diff --git a/dist/jsstp.cjs b/dist/jsstp.cjs index a6adabf..ecea9fc 100644 --- a/dist/jsstp.cjs +++ b/dist/jsstp.cjs @@ -1 +1 @@ -eval(((p,a,c,k,e,r)=>{for(e=t=>(tr[t]],e=t=>"\\w+",c=1;c--;)k[c]&&(p=p.replace(eval(`/\\b${e(c)}\\b/g`),k[c]));return p})('9 t,e=x.1v,s="\\r\\n",r="",i="X-1w-1Z-",h="1x",k=(t,e)=>{9 s=t.20(e);6[t.18(0,s),t.18(s+e.P)]},o=(t,e)=>x(t)21 e,a=(t,e,s)=>(t[e]=s,1),u=(s,r,n)=>{6 j V(s,e({7:(i=r,(e,s)=>{9 r;22(!i.t?.(e,s))6(r=o(s,23)?i.i?.(e,s):i.h?.(e,s))!==t?r:i.k?i.k(e,s):o(r=e[s],1y)?r.1z(e):r}),19:a},n));9 i};z l I 1y{A(t){6 x.24(t,j.25.1a)}}9 c=t=>{26 t},f=t=>"27://1A:"+(t??28),g=29.2a?2b.2c:f(2d.2e.2f),p=/^\\w+:\\/\\/1A/.1b(g)?"W":"Y",d=t=>e({},t);z v{A(t){x.1v(5,t)}7 Z(){6 x.Z(5)}7 J(){6 x.J(5)}7 E(){6 x.E(5)}7 P(){6 5.Z.P}10(t){5.E.10(([e,s])=>{5[e]=t(s,e)??s})}7 1c(){6 e(b(),5)}1d(t){m e=[];6 5.E.K(([s,r])=>e.11(...o(r,v)?r.1d(t.1z(t,s)):[t(s,r)])),e}K(t){6 5.E.K(([e,s])=>t(s,e))}11(e){6 e.10(e=>e?5[e[0]]=e[1]:t),5}1B(t){6 5.E.1B(([e,s])=>t(s,e))}}9 b=t=>j v(t);z q I v{#t;#e;A(t,e,s){Q(e),5.#t=t,5.#e=s||[]}7 1C(){6 5.#e||[]}7 B(){6 5.#t}7 12(){6[5.#t,...5.#e,...5.E.K(([t,e])=>t+": "+e),r,r].1e(s)}1f(){6{B:5.#t,1C:5.#e,1D:5.1c}}7 2g(){6+5.#t.13(" ").1E(t=>(t=+t)==t)}}2h y(t){6(t=t.13(s)).P-=2,t}z C I q{A(e){m r,[n,...h]=y(e),o={},a=[];1g(m t 1F h){m[e,n]=k(t,": ");/^\\w[^\\s]*$/.1b(e)?o[r=e]=n:r?o[r]+=s+t:a.11(t)}6 Q(n,o,a),u(5,{i:(e,s)=>i+s 1h e&&!x.2i(C.1a).1G(s)?e.1H(s):t})}1H(t){6 5[i+t]}#s;7 2j(){6 5.#s??=b().11(5.K((e,s)=>s.1i(i)?[s.2k(16),e]:t))}7 2l(){6 5}}z L I q{A(t){9[t,,...r]=y(t);Q(t,r)}2m(){6 t=5.J,r+t;9 t}7 12(){6[5.B,r,...5.J,r,r].1e(s)}1f(){6{B:5.B,2n:5.J}}[1I.1J](){6 5.J[1I.1J]()}}z M I q{A(t){9[t,,...r]=y(t);Q(t,{});1g(m t 1F r){m[e,s]=k(t,""),[r,n]=k(e,".");(5[r]||=b())[n]=s}}2o(t,e){6 5.1j.1E(s=>5[s][t]==e)}2p(t){6 5.1j.K(e=>5[e][t])}7 1j(){6 5.Z}7 R(){6!!5.P}7 12(){6[5.B,r,...5.1d((t,e,s)=>t+"."+e+""+s),r,r].1e(s)}1f(){6{B:5.B,2q:5.1c}}}z N I l{#r;#n;#i;#h;#k;A(t){Q((t,e=5.D)=>5.1K(t,e)),5.#r=t,5.D=t.D}1k 1K(t,e=5.D){6 5.#i?5.#h[e].1G(t):!!5.#n&&(5.#k[e][t]??=S 5.#r.14(t))}7 R(){6 5.#n}7 2r(){6 5.#i}2s(){6 5.1L(),5.1l()}1k 1l(){9 t=5.#r;6 5.#n=S t.14("1M"),5.#i=5.#n&&S t.14("1N"),5.#i&&(5.#h=S t.1O()),5}1L(){5.#n=5.#i=!1,5.#k={W:{},Y:{}}}}z F{#o;A(e,s){6 5.15={2t:g},5.G={2u:"2v-8"},5.T=s,5.1m=e,5.U={1x:1.4,2w:1.1,2x:1.1,1P:1.2,2y:1.1},5.D=p,5.1n=u(5,{i:(e,s)=>o(e.U[s],2z)?e.H(s):/^2A/.1b(s)?e.17[(t=>"k"==t[2]?t.18(3):t)(s)]:s.1i("2B")?e.1o[s].1p(L):s.1i("2C")?e.1o[s]:t})}7 1Q(){6 e(j F,{15:d(5.15),G:d(5.G),D:5.D,U:d(5.U),T:5.T,1q:5.1q})}1R(t){9 e=5.1Q;6 e.1q=t,e.G.2D=t.2E,e}1S(t){m e=b();6 5.1r().O(s=>{1g(9 r 1h s)e[r]=t?.(s[r]);6 e})}2F(t){6 5.1S(e=>t?.(5.1R(e)))}19 T(t){5.#o=t||f()+"/2G/2H/2I"}7 T(){6 5.#o}19 1m(t){5.G.1T=t||"1U-2J"}7 1m(){6 5.G.1T}1k 1V(t){6 2K!=(t=S 2L(5.#o,{2M:"2N",2O:5.15,1D:t})).1W&&c(t.1W),t.2P()}1s(t,e){6 5.1V(j q(t,{...5.G,...e}).12)}1X(t,e,s=C){6 5.1s(t,e).O(t=>j s(t))}H(t,s=C,r=t=>t){m n=t+" 1w/"+5.U[t];6 e((...t)=>5.1X(n,r(...t),s),{2Q:(...t)=>5.1s(n,r(...t)),1p:e=>5.H(t,e,r),1Y:e=>5.H(t,s,e)})}1t(t,s,r=5.H(h),n=t=>t){6 j V(r.1Y((...r)=>e({[t]:s},n(...r))),{7:(e,i)=>i 1h e?e[i]:5.1t(t,s+"."+i,r,n)})}1u(t,e,s=5.H(h)){6 5.1t(t,e,s,(...t)=>{m e=0,s={};6 t.10(t=>s["2R"+e++]=t),s})}7 17(){6 j V({},{7:(t,e)=>5.1u("2S",e)})}7 1o(){6 j V({},{7:(t,e)=>5.1u("2T",e,5.H("1P"))})}14(t,e=5.D){6 5.17.1M(t,e).O(({2U:t})=>1==t)}1O(){6 5.17.1N().O(({W:t,Y:e})=>({W:(t||r).13(","),Y:(e||r).13(",")}))}1r(){6 5.1n.2V.1p(M)()}R(){6 5.1r().O(t=>t.R,t=>!1)}2W(t){6 5.R().O(e=>e?t?.(5.1n):c())}2X(){6 j N(5).1l()}}e(F.1a,{2Y:F,q:q,C:C,L:L,M:M,N:N});9 w=j F;e(2Z,{q:q,30:w,M:M,N:N,1U:w,F:F,L:L,C:C,31:!0})',62,188,"|||||this|return|get||var||||||||||new|_||let||||base_sstp_info_t|||||||Object||class|constructor|head|sstp_info_t|default_security_level|entries|jsstp_t|default_info|get_caller_of_method|extends|values|map|list_info_t|fmo_info_t|ghost_events_queryer_t|then|length|super|available|await|host|sstp_version_table|Proxy|local||external|keys|forEach|push|text_content|split|has_event|RequestHeader||event|substring|set|prototype|test|trivial_clone|flat_map|join|toJSON|for|in|startsWith|uuids|async|init|sendername|proxy|command|with_type|ghost_info|get_fmo_infos|costom_text_send|get_caller_of_key|get_simple_caller_of_key|assign|SSTP|SEND|Function|bind|localhost|every|unknown_lines|body|find|of|includes|get_passthrough|Symbol|iterator|check_event|clear|Has_Event|Get_Supported_Events|get_supported_events|EXECUTE|clone|by_fmo_info|for_all_ghost_infos|Sender|jsstp|row_send|status|custom_send|bind_args_processor|PassThru|indexOf|instanceof|if|String|setPrototypeOf|target|throw|http|9801|globalThis|window|location|origin|process|env|PORT|status_code|function|getOwnPropertyNames|passthroughs|slice|raw|toString|data|get_uuid_by|get_list_of|fmo_infos|fast_query_available|reset|Origin|Charset|UTF|NOTIFY|COMMUNICATE|GIVE|Number|On|Get|Set|ReceiverGhostHWnd|hwnd|for_all_ghosts|api|sstp|v1|client|200|fetch|method|POST|headers|text|get_raw|Reference|Event|Command|Result|GetFMO|if_available|new_event_queryer|type|exports|default|__esModule".split("|"),0,{})) +eval(((p,a,c,k,e,r)=>{for(e=t=>(tr[t]],e=t=>"\\w+",c=1;c--;)k[c]&&(p=p.replace(eval(`/\\b${e(c)}\\b/g`),k[c]));return p})('9 t,e=x.1v,s="\\r\\n",r="",i="X-1w-1Z-",h="1x",k=(t,e)=>{9 s=t.20(e);6[t.18(0,s),t.18(s+e.P)]},o=(t,e)=>x(t)21 e,a=(t,e,s)=>(t[e]=s,1),u=(s,r,n)=>{6 j V(s,e({7:(i=r,(e,s)=>{9 r;22(!i.t?.(e,s))6(r=o(s,23)?i.i?.(e,s):i.h?.(e,s))!==t?r:i.k?i.k(e,s):o(r=e[s],1y)?r.1z(e):r}),19:a},n));9 i};z l I 1y{A(t){6 x.24(t,j.25.1a)}}9 c=t=>{26 t},f=t=>"27://1A:"+(t??28),g=29.2a?2b.2c:f(2d.2e.2f),p=/^\\w+:\\/\\/1A/.1b(g)?"W":"Y",d=t=>e({},t);z v{A(t){x.1v(5,t)}7 Z(){6 x.Z(5)}7 J(){6 x.J(5)}7 E(){6 x.E(5)}7 P(){6 5.Z.P}10(t){5.E.10(([e,s])=>{5[e]=t(s,e)??s})}7 1c(){6 e(b(),5)}1d(t){m e=[];6 5.E.K(([s,r])=>e.11(...o(r,v)?r.1d(t.1z(t,s)):[t(s,r)])),e}K(t){6 5.E.K(([e,s])=>t(s,e))}11(e){6 e.10(e=>e?5[e[0]]=e[1]:t),5}1B(t){6 5.E.1B(([e,s])=>t(s,e))}}9 b=t=>j v(t);z q I v{#t;#e;A(t,e,s){Q(e),5.#t=t,5.#e=s||[]}7 1C(){6 5.#e||[]}7 B(){6 5.#t}7 12(){6[5.#t,...5.#e,...5.E.K(([t,e])=>t+": "+e),r,r].1e(s)}1f(){6{B:5.#t,1C:5.#e,1D:5.1c}}7 2g(){6+5.#t.13(" ").1E(t=>(t=+t)==t)}}2h y(t){6(t=t.13(s)).P-=2,t}z C I q{A(e){m r,[n,...h]=y(e),o={},a=[];1g(m t 1F h){m[e,n]=k(t,": ");/^\\w[^\\s]*$/.1b(e)?o[r=e]=n:r?o[r]+=s+t:a.11(t)}6 Q(n,o,a),u(5,{i:(e,s)=>i+s 1h e&&!x.2i(C.1a).1G(s)?e.1H(s):t})}1H(t){6 5[i+t]}#s;7 2j(){6 5.#s??=b().11(5.K((e,s)=>s.1i(i)?[s.2k(16),e]:t))}7 2l(){6 5}}z L I q{A(t){9[t,,...r]=y(t);Q(t,r)}2m(){6 t=5.J,r+t;9 t}7 12(){6[5.B,r,...5.J,r,r].1e(s)}1f(){6{B:5.B,2n:5.J}}[1I.1J](){6 5.J[1I.1J]()}}z M I q{A(t){9[t,,...r]=y(t);Q(t,{});1g(m t 1F r){m[e,s]=k(t,""),[r,n]=k(e,".");(5[r]||=b())[n]=s}}2o(t,e){6 5.1j.1E(s=>5[s][t]==e)}2p(t){6 5.1j.K(e=>5[e][t])}7 1j(){6 5.Z}7 R(){6!!5.P}7 12(){6[5.B,r,...5.1d((t,e,s)=>t+"."+e+""+s),r,r].1e(s)}1f(){6{B:5.B,2q:5.1c}}}z N I l{#r;#n;#i;#h;#k;A(t){Q((t,e=5.D)=>5.1K(t,e)),5.#r=t,5.D=t.D}1k 1K(t,e=5.D){6 5.#i?5.#h[e].1G(t):!!5.#n&&(5.#k[e][t]??=S 5.#r.14(t))}7 R(){6 5.#n}7 2r(){6 5.#i}2s(){6 5.1L(),5.1l()}1k 1l(){9 t=5.#r;6 5.#n=S t.14("1M"),5.#i=5.#n&&S t.14("1N"),5.#i&&(5.#h=S t.1O()),5}1L(){5.#n=5.#i=!1,5.#k={W:{},Y:{}}}}z F{#o;A(e,s){6 5.15={2t:g},5.G={2u:"2v-8"},5.T=s,5.1m=e,5.U={1x:1.4,2w:1.1,2x:1.1,1P:1.2,2y:1.1},5.D=p,5.1n=u(5,{i:(e,s)=>o(e.U[s],2z)?e.H(s):/^2A/.1b(s)?e.17[(t=>"k"==t[2]?t.18(3):t)(s)]:s.1i("2B")?e.1o[s].1p(L):s.1i("2C")?e.1o[s]:t})}7 1Q(){6 e(j F,{15:d(5.15),G:d(5.G),D:5.D,U:d(5.U),T:5.T,1q:5.1q})}1R(t){9 e=5.1Q;6 e.1q=t,e.G.2D=t.2E,e}1S(t){m e=b();6 5.1r().O(s=>{1g(9 r 1h s)e[r]=t?.(s[r]);6 e})}2F(t){6 5.1S(e=>t?.(5.1R(e)))}19 T(t){5.#o=t||f()+"/2G/2H/2I"}7 T(){6 5.#o}19 1m(t){5.G.1T=t||"1U-2J"}7 1m(){6 5.G.1T}1k 1V(t){6 2K!=(t=S 2L(5.#o,{2M:"2N",2O:5.15,1D:t})).1W&&c(t.1W),t.2P()}1s(t,e){6 5.1V(j q(t,{...5.G,...e}).12)}1X(t,e,s=C){6 5.1s(t,e).O(t=>j s(t))}H(t,s=C,r=t=>t){m n=t+" 1w/"+5.U[t];6 e((...t)=>5.1X(n,r(...t),s),{2Q:(...t)=>5.1s(n,r(...t)),1p:e=>5.H(t,e,r),1Y:e=>5.H(t,s,e)})}1t(t,s,r=5.H(h),n=t=>t){6 j V(r.1Y((...r)=>e({[t]:s},n(...r))),{7:(e,i)=>i 1h e?e[i]:5.1t(t,s+"."+i,r,n)})}1u(t,e,s=5.H(h)){6 5.1t(t,e,s,(...t)=>{m e=0,s={};6 t.10(t=>s["2R"+e++]=t),s})}7 17(){6 j V({},{7:(t,e)=>5.1u("2S",e)})}7 1o(){6 j V({},{7:(t,e)=>5.1u("2T",e,5.H("1P"))})}14(t,e=5.D){6 5.17.1M(t,e).O(({2U:t})=>1==t)}1O(){6 5.17.1N().O(({W:t,Y:e})=>({W:(t||r).13(","),Y:(e||r).13(",")}))}1r(){6 5.1n.2V.1p(M)()}R(){6 5.1r().O(t=>t.R,t=>!1)}2W(t){6 5.R().O(e=>e?t?.(5.1n):c())}2X(){6 j N(5).1l()}}e(F.1a,{2Y:F,q:q,C:C,L:L,M:M,N:N});9 w=j F;e(2Z,{q:q,30:w,M:M,N:N,1U:w,F:F,L:L,C:C,31:!0})',62,188,"|||||this|return|get||var||||||||||new|_||let||||base_sstp_info_t|||||||Object||class|constructor|head|sstp_info_t|default_security_level|entries|jsstp_t|default_info|get_caller_of_method|extends|values|map|list_info_t|fmo_info_t|ghost_events_queryer_t|then|length|super|available|await|host|sstp_version_table|Proxy|local||external|keys|forEach|push|text_content|split|has_event|RequestHeader||event|substring|set|prototype|test|trivial_clone|flat_map|join|toJSON|for|in|startsWith|uuids|async|init|sendername|proxy|command|with_type|ghost_info|get_fmo_infos|custom_text_send|get_caller_of_key|get_simple_caller_of_key|assign|SSTP|SEND|Function|bind|localhost|every|unknown_lines|body|find|of|includes|get_passthrough|Symbol|iterator|check_event|clear|Has_Event|Get_Supported_Events|get_supported_events|EXECUTE|clone|by_fmo_info|for_all_ghost_infos|Sender|jsstp|row_send|status|custom_send|bind_args_processor|PassThru|indexOf|instanceof|if|String|setPrototypeOf|target|throw|http|9801|globalThis|window|location|origin|process|env|PORT|status_code|function|getOwnPropertyNames|passthroughs|slice|raw|toString|data|get_uuid_by|get_list_of|fmo_infos|fast_query_available|reset|Origin|Charset|UTF|NOTIFY|COMMUNICATE|GIVE|Number|On|Get|Set|ReceiverGhostHWnd|hwnd|for_all_ghosts|api|sstp|v1|client|200|fetch|method|POST|headers|text|get_raw|Reference|Event|Command|Result|GetFMO|if_available|new_event_queryer|type|exports|default|__esModule".split("|"),0,{})) diff --git a/dist/jsstp.min.js b/dist/jsstp.min.js index 788e247..525d978 100644 --- a/dist/jsstp.min.js +++ b/dist/jsstp.min.js @@ -1 +1 @@ -eval(((p,a,c,k,e,r)=>{for(e=t=>(tr[t]],e=t=>"\\w+",c=1;c--;)k[c]&&(p=p.replace(eval(`/\\b${e(c)}\\b/g`),k[c]));return p})('9 1v=(()=>{9 t,e=q.1w,s="\\r\\n",r="",i="X-1x-1Z-",h="1y",k=(t,e)=>{9 s=t.20(e);6[t.18(0,s),t.18(s+e.L)]},o=(t,e)=>q(t)21 e,a=(t,e,s)=>(t[e]=s,1),u=(s,r,n)=>{6 j S(s,e({7:(i=r,(e,s)=>{9 r;22(!i.t?.(e,s))6(r=o(s,23)?i.i?.(e,s):i.h?.(e,s))!==t?r:i.k?i.k(e,s):o(r=e[s],1z)?r.1A(e):r}),19:a},n));9 i};x l G 1z{z(t){6 q.24(t,j.25.1a)}}9 c=t=>{26 t},g=t=>"27://1B:"+(t??28),f=29.2a?2b.2c:g(2d.2e.2f),p=/^\\w+:\\/\\/1B/.1b(f)?"T":"U",d=t=>e({},t);x v{z(t){q.1w(5,t)}7 V(){6 q.V(5)}7 H(){6 q.H(5)}7 C(){6 q.C(5)}7 L(){6 5.V.L}W(t){5.C.W(([e,s])=>{5[e]=t(s,e)??s})}7 1c(){6 e(b(),5)}1d(t){m e=[];6 5.C.I(([s,r])=>e.Y(...o(r,v)?r.1d(t.1A(t,s)):[t(s,r)])),e}I(t){6 5.C.I(([e,s])=>t(s,e))}Y(e){6 e.W(e=>e?5[e[0]]=e[1]:t),5}1C(t){6 5.C.1C(([e,s])=>t(s,e))}}9 b=t=>j v(t);x D G v{#t;#e;z(t,e,s){M(e),5.#t=t,5.#e=s||[]}7 1D(){6 5.#e||[]}7 A(){6 5.#t}7 Z(){6[5.#t,...5.#e,...5.C.I(([t,e])=>t+": "+e),r,r].1e(s)}1f(){6{A:5.#t,1D:5.#e,1E:5.1c}}7 2g(){6+5.#t.10(" ").1F(t=>+t==t)}}2h y(t){t=t.10(s);6 t.L-=2,t}x J G D{z(e){m r,[n,...h]=y(e),o={},a=[];1g(m t 1G h){m[e,n]=k(t,": ");/^\\w[^\\s]*$/.1b(e)?o[r=e]=n:r?o[r]+=s+t:a.Y(t)}6 M(n,o,a),u(5,{i:(e,s)=>i+s 1h e&&!q.2i(J.1a).1H(s)?e.1I(s):t})}1I(t){6 5[i+t]}#s;7 2j(){6 5.#s??=b().Y(5.I((e,s)=>s.1i(i)?[s.2k(16),e]:t))}7 2l(){6 5}}x 11 G D{z(t){9[t,,...r]=y(t);M(t,r)}2m(){6 t=5.H,r+t;9 t}7 Z(){6[5.A,r,...5.H,r,r].1e(s)}1f(){6{A:5.A,2n:5.H}}[1J.1K](){6 5.H[1J.1K]()}}x 12 G D{z(t){9[t,,...r]=y(t);M(t,{});1g(m t 1G r){m[e,s]=k(t,""),[r,n]=k(e,".");(5[r]||=b())[n]=s}}2o(t,e){6 5.1j.1F(s=>5[s][t]==e)}2p(t){6 5.1j.I(e=>5[e][t])}7 1j(){6 5.V}7 N(){6!!5.L}7 Z(){6[5.A,r,...5.1d((t,e,s)=>t+"."+e+""+s),r,r].1e(s)}1f(){6{A:5.A,2q:5.1c}}}x 13 G l{#r;#n;#i;#h;#k;z(t){M((t,e=5.B)=>5.1L(t,e)),5.#r=t,5.B=t.B}1k 1L(t,e=5.B){6 5.#i?5.#h[e].1H(t):!!5.#n&&(5.#k[e][t]??=O 5.#r.14(t))}7 N(){6 5.#n}7 2r(){6 5.#i}2s(){6 5.1M(),5.1l()}1k 1l(){9 t=5.#r;6 5.#n=O t.14("1N"),5.#i=5.#n&&O t.14("1O"),5.#i&&(5.#h=O t.1P()),5}1M(){5.#n=5.#i=!1,5.#k={T:{},U:{}}}}x P{#o;z(e,s){6 5.15={2t:f},5.E={2u:"2v-8"},5.Q=s,5.1m=e,5.R={1y:1.4,2w:1.1,2x:1.1,1Q:1.2,2y:1.1},5.B=p,5.1n=u(5,{i:(e,s)=>o(e.R[s],2z)?e.F(s):/^2A/.1b(s)?e.17[(t=>"k"==t[2]?t.18(3):t)(s)]:s.1i("2B")?e.1o[s].1p(11):s.1i("2C")?e.1o[s]:t})}7 1R(){6 e(j P,{15:d(5.15),E:d(5.E),B:5.B,R:d(5.R),Q:5.Q,1q:5.1q})}1S(t){9 e=5.1R;6 e.1q=t,e.E.2D=t.2E,e}1T(t){m e=b();6 5.1r().K(s=>{1g(9 r 1h s)e[r]=t?.(s[r]);6 e})}2F(t){6 5.1T(e=>t?.(5.1S(e)))}19 Q(t){5.#o=t||g()+"/2G/2H/2I"}7 Q(){6 5.#o}19 1m(t){5.E.1U=t||"1v-2J"}7 1m(){6 5.E.1U}1k 1V(t){t=O 2K(5.#o,{2L:"2M",2N:5.15,1E:t});6 2O!=t.1W&&c(t.1W),t.2P()}1s(t,e){6 5.1V(j D(t,{...5.E,...e}).Z)}1X(t,e,s=J){6 5.1s(t,e).K(t=>j s(t))}F(t,s=J,r=t=>t){m n=t+" 1x/"+5.R[t];6 e((...t)=>5.1X(n,r(...t),s),{2Q:(...t)=>5.1s(n,r(...t)),1p:e=>5.F(t,e,r),1Y:e=>5.F(t,s,e)})}1t(t,s,r=5.F(h),n=t=>t){6 j S(r.1Y((...r)=>e({[t]:s},n(...r))),{7:(e,i)=>i 1h e?e[i]:5.1t(t,s+"."+i,r,n)})}1u(t,e,s=5.F(h)){6 5.1t(t,e,s,(...t)=>{m e=0,s={};6 t.W(t=>s["2R"+e++]=t),s})}7 17(){6 j S({},{7:(t,e)=>5.1u("2S",e)})}7 1o(){6 j S({},{7:(t,e)=>5.1u("2T",e,5.F("1Q"))})}14(t,e=5.B){6 5.17.1N(t,e).K(({2U:t})=>1==t)}1P(){6 5.17.1O().K(({T:t,U:e})=>({T:(t||r).10(","),U:(e||r).10(",")}))}1r(){6 5.1n.2V.1p(12)()}N(){6 5.1r().K(t=>t.N,t=>!1)}2W(t){6 5.N().K(e=>e?t?.(5.1n):c())}2X(){6 j 13(5).1l()}}6 e(P.1a,{2Y:P,D:D,J:J,11:11,12:12,13:13}),j P})()',62,185,"|||||this|return|get||var||||||||||new|_||let||||Object|||||||class||constructor|head|default_security_level|entries|base_sstp_info_t|default_info|get_caller_of_method|extends|values|map|sstp_info_t|then|length|super|available|await|jsstp_t|host|sstp_version_table|Proxy|local|external|keys|forEach||push|text_content|split|list_info_t|fmo_info_t|ghost_events_queryer_t|has_event|RequestHeader||event|substring|set|prototype|test|trivial_clone|flat_map|join|toJSON|for|in|startsWith|uuids|async|init|sendername|proxy|command|with_type|ghost_info|get_fmo_infos|costom_text_send|get_caller_of_key|get_simple_caller_of_key|jsstp|assign|SSTP|SEND|Function|bind|localhost|every|unknown_lines|body|find|of|includes|get_passthrough|Symbol|iterator|check_event|clear|Has_Event|Get_Supported_Events|get_supported_events|EXECUTE|clone|by_fmo_info|for_all_ghost_infos|Sender|row_send|status|custom_send|bind_args_processor|PassThru|indexOf|instanceof|if|String|setPrototypeOf|target|throw|http|9801|globalThis|window|location|origin|process|env|PORT|status_code|function|getOwnPropertyNames|passthroughs|slice|raw|toString|data|get_uuid_by|get_list_of|fmo_infos|fast_query_available|reset|Origin|Charset|UTF|NOTIFY|COMMUNICATE|GIVE|Number|On|Get|Set|ReceiverGhostHWnd|hwnd|for_all_ghosts|api|sstp|v1|client|fetch|method|POST|headers|200|text|get_raw|Reference|Event|Command|Result|GetFMO|if_available|new_event_queryer|type".split("|"),0,{})) +eval(((p,a,c,k,e,r)=>{for(e=t=>(tr[t]],e=t=>"\\w+",c=1;c--;)k[c]&&(p=p.replace(eval(`/\\b${e(c)}\\b/g`),k[c]));return p})('9 1v=(()=>{9 t,e=q.1w,s="\\r\\n",r="",i="X-1x-1Z-",h="1y",k=(t,e)=>{9 s=t.20(e);6[t.18(0,s),t.18(s+e.L)]},o=(t,e)=>q(t)21 e,a=(t,e,s)=>(t[e]=s,1),u=(s,r,n)=>{6 j S(s,e({7:(i=r,(e,s)=>{9 r;22(!i.t?.(e,s))6(r=o(s,23)?i.i?.(e,s):i.h?.(e,s))!==t?r:i.k?i.k(e,s):o(r=e[s],1z)?r.1A(e):r}),19:a},n));9 i};x l G 1z{z(t){6 q.24(t,j.25.1a)}}9 c=t=>{26 t},g=t=>"27://1B:"+(t??28),f=29.2a?2b.2c:g(2d.2e.2f),p=/^\\w+:\\/\\/1B/.1b(f)?"T":"U",d=t=>e({},t);x v{z(t){q.1w(5,t)}7 V(){6 q.V(5)}7 H(){6 q.H(5)}7 C(){6 q.C(5)}7 L(){6 5.V.L}W(t){5.C.W(([e,s])=>{5[e]=t(s,e)??s})}7 1c(){6 e(b(),5)}1d(t){m e=[];6 5.C.I(([s,r])=>e.Y(...o(r,v)?r.1d(t.1A(t,s)):[t(s,r)])),e}I(t){6 5.C.I(([e,s])=>t(s,e))}Y(e){6 e.W(e=>e?5[e[0]]=e[1]:t),5}1C(t){6 5.C.1C(([e,s])=>t(s,e))}}9 b=t=>j v(t);x D G v{#t;#e;z(t,e,s){M(e),5.#t=t,5.#e=s||[]}7 1D(){6 5.#e||[]}7 A(){6 5.#t}7 Z(){6[5.#t,...5.#e,...5.C.I(([t,e])=>t+": "+e),r,r].1e(s)}1f(){6{A:5.#t,1D:5.#e,1E:5.1c}}7 2g(){6+5.#t.10(" ").1F(t=>+t==t)}}2h y(t){t=t.10(s);6 t.L-=2,t}x J G D{z(e){m r,[n,...h]=y(e),o={},a=[];1g(m t 1G h){m[e,n]=k(t,": ");/^\\w[^\\s]*$/.1b(e)?o[r=e]=n:r?o[r]+=s+t:a.Y(t)}6 M(n,o,a),u(5,{i:(e,s)=>i+s 1h e&&!q.2i(J.1a).1H(s)?e.1I(s):t})}1I(t){6 5[i+t]}#s;7 2j(){6 5.#s??=b().Y(5.I((e,s)=>s.1i(i)?[s.2k(16),e]:t))}7 2l(){6 5}}x 11 G D{z(t){9[t,,...r]=y(t);M(t,r)}2m(){6 t=5.H,r+t;9 t}7 Z(){6[5.A,r,...5.H,r,r].1e(s)}1f(){6{A:5.A,2n:5.H}}[1J.1K](){6 5.H[1J.1K]()}}x 12 G D{z(t){9[t,,...r]=y(t);M(t,{});1g(m t 1G r){m[e,s]=k(t,""),[r,n]=k(e,".");(5[r]||=b())[n]=s}}2o(t,e){6 5.1j.1F(s=>5[s][t]==e)}2p(t){6 5.1j.I(e=>5[e][t])}7 1j(){6 5.V}7 N(){6!!5.L}7 Z(){6[5.A,r,...5.1d((t,e,s)=>t+"."+e+""+s),r,r].1e(s)}1f(){6{A:5.A,2q:5.1c}}}x 13 G l{#r;#n;#i;#h;#k;z(t){M((t,e=5.B)=>5.1L(t,e)),5.#r=t,5.B=t.B}1k 1L(t,e=5.B){6 5.#i?5.#h[e].1H(t):!!5.#n&&(5.#k[e][t]??=O 5.#r.14(t))}7 N(){6 5.#n}7 2r(){6 5.#i}2s(){6 5.1M(),5.1l()}1k 1l(){9 t=5.#r;6 5.#n=O t.14("1N"),5.#i=5.#n&&O t.14("1O"),5.#i&&(5.#h=O t.1P()),5}1M(){5.#n=5.#i=!1,5.#k={T:{},U:{}}}}x P{#o;z(e,s){6 5.15={2t:f},5.E={2u:"2v-8"},5.Q=s,5.1m=e,5.R={1y:1.4,2w:1.1,2x:1.1,1Q:1.2,2y:1.1},5.B=p,5.1n=u(5,{i:(e,s)=>o(e.R[s],2z)?e.F(s):/^2A/.1b(s)?e.17[(t=>"k"==t[2]?t.18(3):t)(s)]:s.1i("2B")?e.1o[s].1p(11):s.1i("2C")?e.1o[s]:t})}7 1R(){6 e(j P,{15:d(5.15),E:d(5.E),B:5.B,R:d(5.R),Q:5.Q,1q:5.1q})}1S(t){9 e=5.1R;6 e.1q=t,e.E.2D=t.2E,e}1T(t){m e=b();6 5.1r().K(s=>{1g(9 r 1h s)e[r]=t?.(s[r]);6 e})}2F(t){6 5.1T(e=>t?.(5.1S(e)))}19 Q(t){5.#o=t||g()+"/2G/2H/2I"}7 Q(){6 5.#o}19 1m(t){5.E.1U=t||"1v-2J"}7 1m(){6 5.E.1U}1k 1V(t){t=O 2K(5.#o,{2L:"2M",2N:5.15,1E:t});6 2O!=t.1W&&c(t.1W),t.2P()}1s(t,e){6 5.1V(j D(t,{...5.E,...e}).Z)}1X(t,e,s=J){6 5.1s(t,e).K(t=>j s(t))}F(t,s=J,r=t=>t){m n=t+" 1x/"+5.R[t];6 e((...t)=>5.1X(n,r(...t),s),{2Q:(...t)=>5.1s(n,r(...t)),1p:e=>5.F(t,e,r),1Y:e=>5.F(t,s,e)})}1t(t,s,r=5.F(h),n=t=>t){6 j S(r.1Y((...r)=>e({[t]:s},n(...r))),{7:(e,i)=>i 1h e?e[i]:5.1t(t,s+"."+i,r,n)})}1u(t,e,s=5.F(h)){6 5.1t(t,e,s,(...t)=>{m e=0,s={};6 t.W(t=>s["2R"+e++]=t),s})}7 17(){6 j S({},{7:(t,e)=>5.1u("2S",e)})}7 1o(){6 j S({},{7:(t,e)=>5.1u("2T",e,5.F("1Q"))})}14(t,e=5.B){6 5.17.1N(t,e).K(({2U:t})=>1==t)}1P(){6 5.17.1O().K(({T:t,U:e})=>({T:(t||r).10(","),U:(e||r).10(",")}))}1r(){6 5.1n.2V.1p(12)()}N(){6 5.1r().K(t=>t.N,t=>!1)}2W(t){6 5.N().K(e=>e?t?.(5.1n):c())}2X(){6 j 13(5).1l()}}6 e(P.1a,{2Y:P,D:D,J:J,11:11,12:12,13:13}),j P})()',62,185,"|||||this|return|get||var||||||||||new|_||let||||Object|||||||class||constructor|head|default_security_level|entries|base_sstp_info_t|default_info|get_caller_of_method|extends|values|map|sstp_info_t|then|length|super|available|await|jsstp_t|host|sstp_version_table|Proxy|local|external|keys|forEach||push|text_content|split|list_info_t|fmo_info_t|ghost_events_queryer_t|has_event|RequestHeader||event|substring|set|prototype|test|trivial_clone|flat_map|join|toJSON|for|in|startsWith|uuids|async|init|sendername|proxy|command|with_type|ghost_info|get_fmo_infos|custom_text_send|get_caller_of_key|get_simple_caller_of_key|jsstp|assign|SSTP|SEND|Function|bind|localhost|every|unknown_lines|body|find|of|includes|get_passthrough|Symbol|iterator|check_event|clear|Has_Event|Get_Supported_Events|get_supported_events|EXECUTE|clone|by_fmo_info|for_all_ghost_infos|Sender|row_send|status|custom_send|bind_args_processor|PassThru|indexOf|instanceof|if|String|setPrototypeOf|target|throw|http|9801|globalThis|window|location|origin|process|env|PORT|status_code|function|getOwnPropertyNames|passthroughs|slice|raw|toString|data|get_uuid_by|get_list_of|fmo_infos|fast_query_available|reset|Origin|Charset|UTF|NOTIFY|COMMUNICATE|GIVE|Number|On|Get|Set|ReceiverGhostHWnd|hwnd|for_all_ghosts|api|sstp|v1|client|fetch|method|POST|headers|200|text|get_raw|Reference|Event|Command|Result|GetFMO|if_available|new_event_queryer|type".split("|"),0,{})) diff --git a/dist/jsstp.mjs b/dist/jsstp.mjs index 8f4b2b5..edf2ba6 100644 --- a/dist/jsstp.mjs +++ b/dist/jsstp.mjs @@ -1 +1 @@ -var[a,b,c,d,e,f,g]=eval(((p,a,c,k,e,r)=>{for(e=t=>(tr[t]],e=t=>"\\w+",c=1;c--;)k[c]&&(p=p.replace(eval(`/\\b${e(c)}\\b/g`),k[c]));return p})('9 t,e=q.1v,s="\\r\\n",r="",i="X-1w-1Y-",h="1x",k=(t,e)=>{9 s=t.1Z(e);6[t.18(0,s),t.18(s+e.M)]},o=(t,e)=>q(t)20 e,a=(t,e,s)=>(t[e]=s,1),u=(s,r,n)=>{6 j V(s,e({7:(i=r,(e,s)=>{9 r;21(!i.t?.(e,s))6(r=o(s,22)?i.i?.(e,s):i.h?.(e,s))!==t?r:i.k?i.k(e,s):o(r=e[s],1y)?r.1z(e):r}),19:a},n));9 i};x l H 1y{z(t){6 q.23(t,j.24.1a)}}9 c=t=>{25 t},g=t=>"26://1A:"+(t??27),f=28.29?2a.2b:g(2c.2d.2e),p=/^\\w+:\\/\\/1A/.1b(f)?"W":"Y",d=t=>e({},t);x v{z(t){q.1v(5,t)}7 Z(){6 q.Z(5)}7 I(){6 q.I(5)}7 D(){6 q.D(5)}7 M(){6 5.Z.M}10(t){5.D.10(([e,s])=>{5[e]=t(s,e)??s})}7 1c(){6 e(b(),5)}1d(t){m e=[];6 5.D.J(([s,r])=>e.11(...o(r,v)?r.1d(t.1z(t,s)):[t(s,r)])),e}J(t){6 5.D.J(([e,s])=>t(s,e))}11(e){6 e.10(e=>e?5[e[0]]=e[1]:t),5}1B(t){6 5.D.1B(([e,s])=>t(s,e))}}9 b=t=>j v(t);x A H v{#t;#e;z(t,e,s){N(e),5.#t=t,5.#e=s||[]}7 1C(){6 5.#e||[]}7 B(){6 5.#t}7 12(){6[5.#t,...5.#e,...5.D.J(([t,e])=>t+": "+e),r,r].1e(s)}1f(){6{B:5.#t,1C:5.#e,1D:5.1c}}7 2f(){6+5.#t.13(" ").1E(t=>+t==t)}}2g y(t){t=t.13(s);6 t.M-=2,t}x E H A{z(e){m r,[n,...h]=y(e),o={},a=[];1g(m t 1F h){m[e,n]=k(t,": ");/^\\w[^\\s]*$/.1b(e)?o[r=e]=n:r?o[r]+=s+t:a.11(t)}6 N(n,o,a),u(5,{i:(e,s)=>i+s 1h e&&!q.2h(E.1a).1G(s)?e.1H(s):t})}1H(t){6 5[i+t]}#s;7 2i(){6 5.#s??=b().11(5.J((e,s)=>s.1i(i)?[s.2j(16),e]:t))}7 2k(){6 5}}x O H A{z(t){9[t,,...r]=y(t);N(t,r)}2l(){6 t=5.I,r+t;9 t}7 12(){6[5.B,r,...5.I,r,r].1e(s)}1f(){6{B:5.B,2m:5.I}}[1I.1J](){6 5.I[1I.1J]()}}x P H A{z(t){9[t,,...r]=y(t);N(t,{});1g(m t 1F r){m[e,s]=k(t,""),[r,n]=k(e,".");(5[r]||=b())[n]=s}}2n(t,e){6 5.1j.1E(s=>5[s][t]==e)}2o(t){6 5.1j.J(e=>5[e][t])}7 1j(){6 5.Z}7 Q(){6!!5.M}7 12(){6[5.B,r,...5.1d((t,e,s)=>t+"."+e+""+s),r,r].1e(s)}1f(){6{B:5.B,2p:5.1c}}}x R H l{#r;#n;#i;#h;#k;z(t){N((t,e=5.C)=>5.1K(t,e)),5.#r=t,5.C=t.C}1k 1K(t,e=5.C){6 5.#i?5.#h[e].1G(t):!!5.#n&&(5.#k[e][t]??=S 5.#r.14(t))}7 Q(){6 5.#n}7 2q(){6 5.#i}2r(){6 5.1L(),5.1l()}1k 1l(){9 t=5.#r;6 5.#n=S t.14("1M"),5.#i=5.#n&&S t.14("1N"),5.#i&&(5.#h=S t.1O()),5}1L(){5.#n=5.#i=!1,5.#k={W:{},Y:{}}}}x K{#o;z(e,s){6 5.15={2s:f},5.F={2t:"2u-8"},5.T=s,5.1m=e,5.U={1x:1.4,2v:1.1,2w:1.1,1P:1.2,2x:1.1},5.C=p,5.1n=u(5,{i:(e,s)=>o(e.U[s],2y)?e.G(s):/^2z/.1b(s)?e.17[(t=>"k"==t[2]?t.18(3):t)(s)]:s.1i("2A")?e.1o[s].1p(O):s.1i("2B")?e.1o[s]:t})}7 1Q(){6 e(j K,{15:d(5.15),F:d(5.F),C:5.C,U:d(5.U),T:5.T,1q:5.1q})}1R(t){9 e=5.1Q;6 e.1q=t,e.F.2C=t.2D,e}1S(t){m e=b();6 5.1r().L(s=>{1g(9 r 1h s)e[r]=t?.(s[r]);6 e})}2E(t){6 5.1S(e=>t?.(5.1R(e)))}19 T(t){5.#o=t||g()+"/2F/2G/2H"}7 T(){6 5.#o}19 1m(t){5.F.1T=t||"2I-2J"}7 1m(){6 5.F.1T}1k 1U(t){t=S 2K(5.#o,{2L:"2M",2N:5.15,1D:t});6 2O!=t.1V&&c(t.1V),t.2P()}1s(t,e){6 5.1U(j A(t,{...5.F,...e}).12)}1W(t,e,s=E){6 5.1s(t,e).L(t=>j s(t))}G(t,s=E,r=t=>t){m n=t+" 1w/"+5.U[t];6 e((...t)=>5.1W(n,r(...t),s),{2Q:(...t)=>5.1s(n,r(...t)),1p:e=>5.G(t,e,r),1X:e=>5.G(t,s,e)})}1t(t,s,r=5.G(h),n=t=>t){6 j V(r.1X((...r)=>e({[t]:s},n(...r))),{7:(e,i)=>i 1h e?e[i]:5.1t(t,s+"."+i,r,n)})}1u(t,e,s=5.G(h)){6 5.1t(t,e,s,(...t)=>{m e=0,s={};6 t.10(t=>s["2R"+e++]=t),s})}7 17(){6 j V({},{7:(t,e)=>5.1u("2S",e)})}7 1o(){6 j V({},{7:(t,e)=>5.1u("2T",e,5.G("1P"))})}14(t,e=5.C){6 5.17.1M(t,e).L(({2U:t})=>1==t)}1O(){6 5.17.1N().L(({W:t,Y:e})=>({W:(t||r).13(","),Y:(e||r).13(",")}))}1r(){6 5.1n.2V.1p(P)()}Q(){6 5.1r().L(t=>t.Q,t=>!1)}2W(t){6 5.Q().L(e=>e?t?.(5.1n):c())}2X(){6 j R(5).1l()}}e(K.1a,{2Y:K,A:A,E:E,O:O,P:P,R:R}),[j K,K,A,E,O,P,R]',62,185,"|||||this|return|get||var||||||||||new|_||let||||Object|||||||class||constructor|base_sstp_info_t|head|default_security_level|entries|sstp_info_t|default_info|get_caller_of_method|extends|values|map|jsstp_t|then|length|super|list_info_t|fmo_info_t|available|ghost_events_queryer_t|await|host|sstp_version_table|Proxy|local||external|keys|forEach|push|text_content|split|has_event|RequestHeader||event|substring|set|prototype|test|trivial_clone|flat_map|join|toJSON|for|in|startsWith|uuids|async|init|sendername|proxy|command|with_type|ghost_info|get_fmo_infos|costom_text_send|get_caller_of_key|get_simple_caller_of_key|assign|SSTP|SEND|Function|bind|localhost|every|unknown_lines|body|find|of|includes|get_passthrough|Symbol|iterator|check_event|clear|Has_Event|Get_Supported_Events|get_supported_events|EXECUTE|clone|by_fmo_info|for_all_ghost_infos|Sender|row_send|status|custom_send|bind_args_processor|PassThru|indexOf|instanceof|if|String|setPrototypeOf|target|throw|http|9801|globalThis|window|location|origin|process|env|PORT|status_code|function|getOwnPropertyNames|passthroughs|slice|raw|toString|data|get_uuid_by|get_list_of|fmo_infos|fast_query_available|reset|Origin|Charset|UTF|NOTIFY|COMMUNICATE|GIVE|Number|On|Get|Set|ReceiverGhostHWnd|hwnd|for_all_ghosts|api|sstp|v1|jsstp|client|fetch|method|POST|headers|200|text|get_raw|Reference|Event|Command|Result|GetFMO|if_available|new_event_queryer|type".split("|"),0,{}));export{a as default,a as jsstp,b as jsstp_t,c as base_sstp_info_t,d as sstp_info_t,e as list_info_t,f as fmo_info_t,g as ghost_events_queryer_t} +var[a,b,c,d,e,f,g]=eval(((p,a,c,k,e,r)=>{for(e=t=>(tr[t]],e=t=>"\\w+",c=1;c--;)k[c]&&(p=p.replace(eval(`/\\b${e(c)}\\b/g`),k[c]));return p})('9 t,e=q.1v,s="\\r\\n",r="",i="X-1w-1Y-",h="1x",k=(t,e)=>{9 s=t.1Z(e);6[t.18(0,s),t.18(s+e.M)]},o=(t,e)=>q(t)20 e,a=(t,e,s)=>(t[e]=s,1),u=(s,r,n)=>{6 j V(s,e({7:(i=r,(e,s)=>{9 r;21(!i.t?.(e,s))6(r=o(s,22)?i.i?.(e,s):i.h?.(e,s))!==t?r:i.k?i.k(e,s):o(r=e[s],1y)?r.1z(e):r}),19:a},n));9 i};x l H 1y{z(t){6 q.23(t,j.24.1a)}}9 c=t=>{25 t},g=t=>"26://1A:"+(t??27),f=28.29?2a.2b:g(2c.2d.2e),p=/^\\w+:\\/\\/1A/.1b(f)?"W":"Y",d=t=>e({},t);x v{z(t){q.1v(5,t)}7 Z(){6 q.Z(5)}7 I(){6 q.I(5)}7 D(){6 q.D(5)}7 M(){6 5.Z.M}10(t){5.D.10(([e,s])=>{5[e]=t(s,e)??s})}7 1c(){6 e(b(),5)}1d(t){m e=[];6 5.D.J(([s,r])=>e.11(...o(r,v)?r.1d(t.1z(t,s)):[t(s,r)])),e}J(t){6 5.D.J(([e,s])=>t(s,e))}11(e){6 e.10(e=>e?5[e[0]]=e[1]:t),5}1B(t){6 5.D.1B(([e,s])=>t(s,e))}}9 b=t=>j v(t);x A H v{#t;#e;z(t,e,s){N(e),5.#t=t,5.#e=s||[]}7 1C(){6 5.#e||[]}7 B(){6 5.#t}7 12(){6[5.#t,...5.#e,...5.D.J(([t,e])=>t+": "+e),r,r].1e(s)}1f(){6{B:5.#t,1C:5.#e,1D:5.1c}}7 2f(){6+5.#t.13(" ").1E(t=>+t==t)}}2g y(t){t=t.13(s);6 t.M-=2,t}x E H A{z(e){m r,[n,...h]=y(e),o={},a=[];1g(m t 1F h){m[e,n]=k(t,": ");/^\\w[^\\s]*$/.1b(e)?o[r=e]=n:r?o[r]+=s+t:a.11(t)}6 N(n,o,a),u(5,{i:(e,s)=>i+s 1h e&&!q.2h(E.1a).1G(s)?e.1H(s):t})}1H(t){6 5[i+t]}#s;7 2i(){6 5.#s??=b().11(5.J((e,s)=>s.1i(i)?[s.2j(16),e]:t))}7 2k(){6 5}}x O H A{z(t){9[t,,...r]=y(t);N(t,r)}2l(){6 t=5.I,r+t;9 t}7 12(){6[5.B,r,...5.I,r,r].1e(s)}1f(){6{B:5.B,2m:5.I}}[1I.1J](){6 5.I[1I.1J]()}}x P H A{z(t){9[t,,...r]=y(t);N(t,{});1g(m t 1F r){m[e,s]=k(t,""),[r,n]=k(e,".");(5[r]||=b())[n]=s}}2n(t,e){6 5.1j.1E(s=>5[s][t]==e)}2o(t){6 5.1j.J(e=>5[e][t])}7 1j(){6 5.Z}7 Q(){6!!5.M}7 12(){6[5.B,r,...5.1d((t,e,s)=>t+"."+e+""+s),r,r].1e(s)}1f(){6{B:5.B,2p:5.1c}}}x R H l{#r;#n;#i;#h;#k;z(t){N((t,e=5.C)=>5.1K(t,e)),5.#r=t,5.C=t.C}1k 1K(t,e=5.C){6 5.#i?5.#h[e].1G(t):!!5.#n&&(5.#k[e][t]??=S 5.#r.14(t))}7 Q(){6 5.#n}7 2q(){6 5.#i}2r(){6 5.1L(),5.1l()}1k 1l(){9 t=5.#r;6 5.#n=S t.14("1M"),5.#i=5.#n&&S t.14("1N"),5.#i&&(5.#h=S t.1O()),5}1L(){5.#n=5.#i=!1,5.#k={W:{},Y:{}}}}x K{#o;z(e,s){6 5.15={2s:f},5.F={2t:"2u-8"},5.T=s,5.1m=e,5.U={1x:1.4,2v:1.1,2w:1.1,1P:1.2,2x:1.1},5.C=p,5.1n=u(5,{i:(e,s)=>o(e.U[s],2y)?e.G(s):/^2z/.1b(s)?e.17[(t=>"k"==t[2]?t.18(3):t)(s)]:s.1i("2A")?e.1o[s].1p(O):s.1i("2B")?e.1o[s]:t})}7 1Q(){6 e(j K,{15:d(5.15),F:d(5.F),C:5.C,U:d(5.U),T:5.T,1q:5.1q})}1R(t){9 e=5.1Q;6 e.1q=t,e.F.2C=t.2D,e}1S(t){m e=b();6 5.1r().L(s=>{1g(9 r 1h s)e[r]=t?.(s[r]);6 e})}2E(t){6 5.1S(e=>t?.(5.1R(e)))}19 T(t){5.#o=t||g()+"/2F/2G/2H"}7 T(){6 5.#o}19 1m(t){5.F.1T=t||"2I-2J"}7 1m(){6 5.F.1T}1k 1U(t){t=S 2K(5.#o,{2L:"2M",2N:5.15,1D:t});6 2O!=t.1V&&c(t.1V),t.2P()}1s(t,e){6 5.1U(j A(t,{...5.F,...e}).12)}1W(t,e,s=E){6 5.1s(t,e).L(t=>j s(t))}G(t,s=E,r=t=>t){m n=t+" 1w/"+5.U[t];6 e((...t)=>5.1W(n,r(...t),s),{2Q:(...t)=>5.1s(n,r(...t)),1p:e=>5.G(t,e,r),1X:e=>5.G(t,s,e)})}1t(t,s,r=5.G(h),n=t=>t){6 j V(r.1X((...r)=>e({[t]:s},n(...r))),{7:(e,i)=>i 1h e?e[i]:5.1t(t,s+"."+i,r,n)})}1u(t,e,s=5.G(h)){6 5.1t(t,e,s,(...t)=>{m e=0,s={};6 t.10(t=>s["2R"+e++]=t),s})}7 17(){6 j V({},{7:(t,e)=>5.1u("2S",e)})}7 1o(){6 j V({},{7:(t,e)=>5.1u("2T",e,5.G("1P"))})}14(t,e=5.C){6 5.17.1M(t,e).L(({2U:t})=>1==t)}1O(){6 5.17.1N().L(({W:t,Y:e})=>({W:(t||r).13(","),Y:(e||r).13(",")}))}1r(){6 5.1n.2V.1p(P)()}Q(){6 5.1r().L(t=>t.Q,t=>!1)}2W(t){6 5.Q().L(e=>e?t?.(5.1n):c())}2X(){6 j R(5).1l()}}e(K.1a,{2Y:K,A:A,E:E,O:O,P:P,R:R}),[j K,K,A,E,O,P,R]',62,185,"|||||this|return|get||var||||||||||new|_||let||||Object|||||||class||constructor|base_sstp_info_t|head|default_security_level|entries|sstp_info_t|default_info|get_caller_of_method|extends|values|map|jsstp_t|then|length|super|list_info_t|fmo_info_t|available|ghost_events_queryer_t|await|host|sstp_version_table|Proxy|local||external|keys|forEach|push|text_content|split|has_event|RequestHeader||event|substring|set|prototype|test|trivial_clone|flat_map|join|toJSON|for|in|startsWith|uuids|async|init|sendername|proxy|command|with_type|ghost_info|get_fmo_infos|custom_text_send|get_caller_of_key|get_simple_caller_of_key|assign|SSTP|SEND|Function|bind|localhost|every|unknown_lines|body|find|of|includes|get_passthrough|Symbol|iterator|check_event|clear|Has_Event|Get_Supported_Events|get_supported_events|EXECUTE|clone|by_fmo_info|for_all_ghost_infos|Sender|row_send|status|custom_send|bind_args_processor|PassThru|indexOf|instanceof|if|String|setPrototypeOf|target|throw|http|9801|globalThis|window|location|origin|process|env|PORT|status_code|function|getOwnPropertyNames|passthroughs|slice|raw|toString|data|get_uuid_by|get_list_of|fmo_infos|fast_query_available|reset|Origin|Charset|UTF|NOTIFY|COMMUNICATE|GIVE|Number|On|Get|Set|ReceiverGhostHWnd|hwnd|for_all_ghosts|api|sstp|v1|jsstp|client|fetch|method|POST|headers|200|text|get_raw|Reference|Event|Command|Result|GetFMO|if_available|new_event_queryer|type".split("|"),0,{}));export{a as default,a as jsstp,b as jsstp_t,c as base_sstp_info_t,d as sstp_info_t,e as list_info_t,f as fmo_info_t,g as ghost_events_queryer_t}